@charset "UTF-8";
/* ==========================================================================
   LifeStyle — OTT redesign
   Loaded AFTER style.min.css. app.js re-renders the page into this layout
   using the data lifestyle.js already fetched; no business logic changes.

   LEGACY notes: style.min.css declares .card, .card-img-wrapper, .sidenav,
   .more and .footer with !important / high-specificity rules. Resets marked
   LEGACY are load-bearing.
   ========================================================================== */

:root {
  --bg:        #0A0A0B;
  --bg-2:      #121214;
  --surface:   #17171A;
  --surface-2: #1F1F23;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --fg:        #F4F4F5;
  --fg-dim:    #A1A1AA;
  --fg-faint:  #71717A;

  --amber:     #FFB44D;
  --orange:    #FF8A3D;
  --pink:      #FF5C77;
  --violet:    #A78BFA;
  --teal:      #2DD4BF;
  --yellow:    #FACC15;
  --blue:      #60A5FA;
  --lime:      #BEF264;

  --grad: linear-gradient(135deg, #FFB44D 0%, #FF8A3D 48%, #FF5C77 100%);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-p: 999px;

  --gut: 28px;
  --nav: 68px;
  --max: 1420px;

  --e: cubic-bezier(.2, .7, .3, 1);
  --eo: cubic-bezier(.16, 1, .3, 1);

  --fd: "Bricolage Grotesque", "Archivo", "Segoe UI", system-ui, sans-serif;
  --fb: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4, .ttl {
  font-family: var(--fd);
  font-weight: 700;
  letter-spacing: -.028em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: #1A1200; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

*::-webkit-scrollbar { height: 8px; width: 8px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: var(--r-p); }
*::-webkit-scrollbar-track { background: transparent; }

/* The legacy page skeleton is replaced wholesale by app.js */
#legacy-root { display: none !important; }

/* --------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 800;
  height: var(--nav);
  background: rgba(10, 10, 11, .78);
  backdrop-filter: saturate(170%) blur(20px);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--e), background .25s var(--e);
}
.topbar.solid { border-bottom-color: var(--line); background: rgba(10, 10, 11, .94); }
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand .mk {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
}
.brand .mk::before {
  content: ""; margin-left: 2px;
  border-left: 11px solid #1A1200;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.brand b { font-family: var(--fd); font-size: 17.5px; letter-spacing: -.03em; }

.mainnav { display: flex; gap: 4px; }
.mainnav a {
  padding: 8px 13px; border-radius: var(--r-s);
  font-size: 14px; font-weight: 500; color: var(--fg-dim);
  transition: color .18s var(--e), background .18s var(--e);
}
.mainnav a:hover { color: var(--fg); background: rgba(255, 255, 255, .06); }
.mainnav a.on { color: var(--fg); font-weight: 600; }

.drop-chip {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: var(--r-p);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; color: var(--fg-dim); white-space: nowrap;
}
.drop-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: ping 2.2s var(--e) infinite; }
.drop-chip b { font-variant-numeric: tabular-nums; color: var(--fg); font-weight: 600; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 92, 119, .65); }
  70% { box-shadow: 0 0 0 8px rgba(255, 92, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 119, 0); }
}

.search {
  flex: 0 1 330px;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--r-p);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s var(--e);
}
.search:focus-within { border-color: var(--line-2); }
.search svg { width: 15px; height: 15px; flex: 0 0 15px; stroke: var(--fg-faint); }
.search input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  color: var(--fg); font-size: 13.5px; font-family: var(--fb);
}
.search input::placeholder { color: var(--fg-faint); }

.btn-sub {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-p);
  background: var(--grad); color: #1A1200;
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
  transition: transform .18s var(--e), filter .18s var(--e);
}
.btn-sub:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-sub span { font-weight: 500; opacity: .72; }

.iconbtn {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: none; align-items: center; justify-content: center;
}
.iconbtn svg { width: 16px; height: 16px; stroke: var(--fg-dim); }
.iconbtn:hover { background: var(--surface-2); }

.avatar {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.avatar svg { width: 17px; height: 17px; stroke: var(--fg-dim); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(10, 10, 11, .35) 38%, transparent 70%),
    linear-gradient(to right, rgba(10, 10, 11, .94) 2%, rgba(10, 10, 11, .55) 42%, transparent 76%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__in { max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px; border-radius: var(--r-p);
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); line-height: .98; margin-bottom: 16px; }
.hero h1 .hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: block;
}
.hero p { color: var(--fg-dim); font-size: 15.5px; margin: 0 0 26px; max-width: 42ch; }
.hero__act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r-p);
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: transform .18s var(--e), filter .18s var(--e), background .2s var(--e);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--grad); color: #1A1200; box-shadow: 0 12px 34px -12px rgba(255, 138, 61, .65); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-dark { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line); }
.btn-dark:hover { background: #2A2A30; }
.btn-ico { width: 46px; height: 46px; padding: 0; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); }
.btn-ico:hover { background: #2A2A30; }

/* featured strip */
.featured { position: absolute; right: var(--gut); bottom: 46px; z-index: 3; max-width: 46%; }
.featured__hd { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.featured__hd span { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--fg-dim); }
.featured__hd button { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; }
.featured__row { display: flex; gap: 12px; }
.featured__row button {
  position: relative; width: 112px; height: 66px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; flex: 0 0 auto; padding: 0;
  transition: border-color .2s var(--e), transform .2s var(--e);
}
.featured__row button img { width: 100%; height: 100%; object-fit: cover; }
.featured__row button:hover { transform: translateY(-3px); }
.featured__row button.on { border-color: var(--amber); }
.featured__row button.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amber);
}

/* ----------------------------------------------------------------- chips */
.chiprow { display: flex; gap: 9px; overflow-x: auto; padding: 22px 0 4px; scrollbar-width: none; }
.chiprow::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-p);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--fg-dim); white-space: nowrap;
  transition: color .18s var(--e), background .18s var(--e), border-color .18s var(--e);
}
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip:hover { color: var(--fg); border-color: var(--line-2); }
.chip.on { background: var(--grad); color: #1A1200; border-color: transparent; font-weight: 700; }
.chip.on i { background: #1A1200; }

/* ------------------------------------------------------------ mood mixer */
.mixer {
  margin-top: 26px; padding: 30px;
  border-radius: var(--r-l); border: 1px solid var(--line);
  background: radial-gradient(90% 140% at 86% 0%, rgba(255, 92, 119, .13), transparent 62%), var(--bg-2);
}
.mixer__kick { font-size: 10.5px; font-weight: 700; letter-spacing: .13em; color: var(--pink); margin-bottom: 10px; }
.mixer__hd { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mixer h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); margin-bottom: 8px; }
.mixer__hd p { color: var(--fg-dim); font-size: 14px; margin: 0; max-width: 46ch; }
.mixer__ctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.seg { display: flex; padding: 4px; border-radius: var(--r-p); background: var(--surface); border: 1px solid var(--line); }
.seg button { padding: 7px 15px; border-radius: var(--r-p); font-size: 13px; font-weight: 500; color: var(--fg-dim); }
.seg button.on { background: var(--fg); color: #111; font-weight: 600; }

.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg-dim); }
.toggle .sw { width: 40px; height: 23px; border-radius: var(--r-p); background: var(--surface-2); border: 1px solid var(--line); position: relative; transition: background .2s var(--e); }
.toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--fg-dim); transition: transform .22s var(--eo), background .2s var(--e); }
.toggle.on .sw { background: var(--amber); border-color: transparent; }
.toggle.on .sw::after { transform: translateX(17px); background: #1A1200; }

.moods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.mood {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s var(--e), background .2s var(--e), transform .2s var(--e);
}
.mood:hover { transform: translateY(-2px); border-color: var(--line-2); }
.mood.on { border-color: var(--pink); background: rgba(255, 92, 119, .12); }
.mood .ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.mood b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.mood span { display: block; font-size: 11.5px; color: var(--fg-faint); line-height: 1.3; }

.mix { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 14px; }
.mix__card {
  border-radius: var(--r-m); padding: 22px;
  background: var(--pink); color: #2A0410;
  display: flex; flex-direction: column; justify-content: center;
}
.mix__card small { font-size: 12px; opacity: .78; }
.mix__card b { font-family: var(--fd); font-size: 1.45rem; line-height: 1.1; margin: 4px 0 2px; }
.mix__card em { font-style: normal; font-size: 12.5px; opacity: .8; }
.mix__card .row { display: flex; gap: 10px; margin-top: 18px; }
.mix__card .play { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-p); background: #150208; color: #fff; font-size: 13.5px; font-weight: 600; }
.mix__card .shuf { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(21, 2, 8, .45); display: flex; align-items: center; justify-content: center; }

.mix__item { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--surface); aspect-ratio: 3 / 4; }
.mix__item img, .mix__item video { width: 100%; height: 100%; object-fit: cover; }
.mix__item .n {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--pink); color: #2A0410;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mix__item .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 12px 14px; background: linear-gradient(to top, rgba(0,0,0,.88), transparent); }
.mix__item .meta b { display: block; font-size: 12.5px; font-weight: 600; }
.mix__item .meta span { font-size: 11px; color: var(--fg-dim); }

/* --------------------------------------------------------------- trending */
.trend { display: flex; gap: 0; overflow-x: auto; padding: 8px 0 18px; scrollbar-width: none; }
.trend::-webkit-scrollbar { display: none; }
.trend__i { position: relative; flex: 0 0 auto; display: flex; align-items: flex-end; padding-left: 52px; }
.trend__i .rk {
  position: absolute; left: -10px; bottom: -14px; z-index: 0;
  font-family: var(--fd); font-size: 150px; font-weight: 700; line-height: .76;
  color: transparent; -webkit-text-stroke: 2.5px rgba(255, 255, 255, .22);
  letter-spacing: -.06em; pointer-events: none;
}
.trend__i .pic { position: relative; z-index: 1; width: 206px; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--surface); }
.trend__i .pic img, .trend__i .pic video { width: 100%; height: 100%; object-fit: cover; }
.trend__i .cap { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 10px; border-radius: var(--r-p); background: rgba(0,0,0,.66); font-size: 11px; font-weight: 600; }

/* ------------------------------------------------------------------ rails */
.sec { padding: 22px 0 0; }
.sec__hd { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sec__hd h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); display: flex; align-items: center; gap: 11px; }
.sec__hd h2 i { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: var(--amber); }
.sec__hd .sp { margin-left: auto; }
.sec__hd .all { font-size: 13px; color: var(--fg-dim); padding: 7px 0; }
.sec__hd .all:hover { color: var(--fg); }
.sec__hd .nav { display: flex; gap: 7px; }
.sec__hd .nav button {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s var(--e);
}
.sec__hd .nav button:hover { background: var(--surface-2); }
.sec__hd .nav svg { width: 13px; height: 13px; stroke: var(--fg-dim); }

.rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 2px; scroll-snap-type: x proximity; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }

.tile { flex: 0 0 auto; width: 262px; scroll-snap-align: start; }
.tile__pic {
  position: relative; border-radius: var(--r-m); overflow: hidden;
  background: var(--surface); aspect-ratio: 16 / 10;
  transition: transform .3s var(--eo);
}
.tile:hover .tile__pic { transform: translateY(-4px); }
.tile__pic img, .tile__pic video { width: 100%; height: 100%; object-fit: cover; }
.tile__pic .dur {
  position: absolute; right: 9px; bottom: 9px; z-index: 2;
  padding: 4px 9px; border-radius: 7px;
  background: rgba(0, 0, 0, .78); font-size: 11px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tile__pic .new {
  position: absolute; left: 9px; top: 9px; z-index: 2;
  padding: 4px 10px; border-radius: 7px;
  background: var(--pink); color: #2A0410;
  font-size: 10px; font-weight: 800; letter-spacing: .06em;
}
.tile__pic .pl {
  position: absolute; inset: 0; z-index: 2; margin: auto;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.85);
  transition: opacity .25s var(--e), transform .3s var(--eo);
}
.tile__pic .pl::before { content: ""; margin-left: 3px; border-left: 14px solid #111; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.tile:hover .tile__pic .pl { opacity: 1; transform: scale(1); }
.tile__pic .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); z-index: 3; }
.tile__pic .bar i { display: block; height: 100%; background: var(--amber); }

.tile__ft { display: flex; align-items: flex-start; gap: 8px; padding: 9px 2px 0; }
.tile__ft .tx { min-width: 0; flex: 1; }
.tile__ft b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__ft span { display: block; font-size: 12px; color: var(--fg-faint); }
.dlbtn {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s var(--e), border-color .18s var(--e);
}
.dlbtn:hover { background: var(--amber); border-color: transparent; }
.dlbtn svg { width: 14px; height: 14px; stroke: var(--fg); }
.dlbtn:hover svg { stroke: #1A1200; }
.dlbtn.on { background: var(--amber); border-color: transparent; }
.dlbtn.on svg { stroke: #1A1200; }
.dlbtn.locked { opacity: .45; }
.btn-ico.on { background: var(--amber); }
.btn-ico.on svg { stroke: #1A1200; }

.tile--wall .tile__pic { aspect-ratio: 3 / 4; }

/* -------------------------------------------------------- browse tiles */
.browse { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat {
  position: relative; border-radius: var(--r-m); overflow: hidden;
  min-height: 136px; padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-start;
  color: #10101A;
  transition: transform .25s var(--eo);
}
.cat:hover { transform: translateY(-4px); }
.cat b { font-family: var(--fd); font-size: 1.12rem; position: relative; z-index: 2; }
.cat span { font-size: 12.5px; opacity: .74; position: relative; z-index: 2; }
.cat img, .cat video {
  position: absolute; right: -12%; bottom: -10%; z-index: 1;
  width: 62%; height: 86%; object-fit: cover;
  border-radius: 12px; transform: rotate(-7deg);
  box-shadow: -10px 10px 28px rgba(0, 0, 0, .3);
}

/* ------------------------------------------------------------- promos */
.promo { border-radius: var(--r-l); padding: 30px; margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.promo h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.12; }
.promo p { margin: 8px 0 0; font-size: 13.5px; opacity: .82; }
.promo .sp { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo--drop { background: var(--pink); color: #2A0410; }
.promo--sub { background: var(--amber); color: #2A1A00; }

.cd { display: flex; gap: 8px; }
.cd div { min-width: 62px; padding: 9px 12px; border-radius: 13px; background: #140208; color: #fff; text-align: center; }
.cd b { font-family: var(--fd); font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd span { display: block; font-size: 9.5px; letter-spacing: .1em; color: var(--fg-dim); margin-top: 3px; }
.promo .cta { padding: 13px 22px; border-radius: var(--r-p); background: #140208; color: #fff; font-size: 13.5px; font-weight: 600; }
.promo--sub .cta { background: #1A1200; }

/* ------------------------------------------------------------- footer */
.ft { margin-top: 54px; border-top: 1px solid var(--line); padding: 26px 0 40px; }
.ft .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ft nav { display: flex; gap: 18px; }
.ft a { font-size: 13px; color: var(--fg-dim); }
.ft a:hover { color: var(--fg); }
.ft .cr { margin-left: auto; font-size: 12.5px; color: var(--fg-faint); }

/* ------------------------------------------------------------- tab bar */
.tabs { display: none; }

/* --------------------------------------------------------------- player */
/* LEGACY: style.min.css declares `.player { width:40px;height:40px;position:
   absolute }`, which is why this overlay is NOT called .player. */
.lsp { position: fixed !important; inset: 0; width: auto !important; height: auto !important; z-index: 2000; background: rgba(5, 5, 6, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lsp.on { display: flex; }
.lsp__in { width: min(980px, 100%); }
.lsp video { width: 100%; max-height: 74vh; border-radius: var(--r-m); background: #000; }
.lsp__hd { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.lsp__hd b { font-size: 15px; }
.lsp__hd .x { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.lsp__q { display: flex; gap: 9px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.lsp__q button { flex: 0 0 auto; width: 104px; height: 60px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; padding: 0; }
.lsp__q button.on { border-color: var(--amber); }
.lsp__q img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------- misc */
.empty { text-align: center; padding: 70px 20px; color: var(--fg-dim); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--eo), transform .6s var(--eo); }
body.locked { overflow: hidden; }

.skel { border-radius: var(--r-m); background: linear-gradient(100deg, var(--surface) 20%, var(--surface-2) 42%, var(--surface) 64%); background-size: 260% 100%; animation: sk 1.5s var(--e) infinite; }
@keyframes sk { to { background-position: -160% 0; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) and (min-width: 861px) {
  .moods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mix { grid-template-columns: 1fr 1fr 1fr; }
  .browse { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured { display: none; }
  .search { flex-basis: 220px; }
}

@media (max-width: 860px) {
  :root { --gut: 18px; --nav: 60px; }
  .mainnav, .search, .btn-sub span { display: none; }
  .iconbtn { display: flex; }
  .drop-chip {
    display: inline-flex; margin-left: auto;
    padding: 6px 11px; font-size: 11.5px; gap: 7px;
  }
  .drop-chip .lbl { display: none; }
  .topbar .wrap { gap: 10px; }
  .hero { min-height: auto; padding: 0; display: block; }
  .hero__media { position: relative; height: 62vh; }
  .hero .wrap { margin-top: -130px; padding-bottom: 10px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero p { display: none; }
  .mixer { padding: 20px; }
  .moods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mix { grid-template-columns: 1fr 1fr; }
  .browse { grid-template-columns: 1fr 1fr; }
  .tile { width: 210px; }
  .trend__i .rk { font-size: 108px; }
  .trend__i .pic { width: 168px; }
  .promo { padding: 22px; }

  .tabs {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 10, 11, .94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  }
  .tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; font-size: 10.5px; font-weight: 500; color: var(--fg-faint); }
  .tabs a svg { width: 19px; height: 19px; stroke: currentColor; }
  .tabs a.on { color: var(--amber); }
  body { padding-bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== profile sheet ===================== */
.scrim {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(5, 5, 6, .7);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--e), visibility .3s var(--e);
}
.scrim.on { opacity: 1; visibility: visible; }

.sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1500;
  width: min(92vw, 380px);
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .38s var(--eo);
  overflow-y: auto;
}
.sheet.on { transform: none; }
.sheet__hd { display: flex; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid var(--line); }
.sheet__hd b { font-family: var(--fd); font-size: 16px; }
.sheet__hd .x {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.sheet__bd { padding: 20px; display: flex; flex-direction: column; gap: 18px; }

.who { display: flex; align-items: center; gap: 14px; }
.who .ava {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%;
  background: var(--grad); color: #1A1200;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 19px;
}
.who b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.who span { font-size: 12.5px; color: var(--fg-faint); }

/* Account status. Deliberately NOT pill/button shaped — it is a read-only
   state, and a pill here was being mistaken for a Subscribe button. */
.status {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border-radius: var(--r-m);
  background: var(--surface); border: 1px solid var(--line);
}
.status__ic {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.status__ic svg { width: 15px; height: 15px; }
.status b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.status span { display: block; font-size: 12px; color: var(--fg-faint); }
.status--on .status__ic { background: rgba(45, 212, 191, .16); }
.status--on .status__ic svg { stroke: var(--teal); }
.status--off .status__ic { background: rgba(255, 180, 77, .16); }
.status--off .status__ic svg { stroke: var(--amber); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { padding: 14px 12px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stats b { display: block; font-family: var(--fd); font-size: 1.3rem; line-height: 1; }
.stats span { font-size: 10.5px; color: var(--fg-faint); letter-spacing: .05em; }

.rows { display: flex; flex-direction: column; gap: 2px; }
.rows a, .rows button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 13px 14px; border-radius: var(--r-m); font-size: 14.5px; color: var(--fg);
  transition: background .18s var(--e);
}
.rows a:hover, .rows button:hover { background: var(--surface); }
.rows .danger { color: var(--pink); }
.rows .muted { color: var(--fg-dim); }
.rows svg { width: 17px; height: 17px; stroke: currentColor; flex: 0 0 17px; }

.note { font-size: 12px; color: var(--fg-faint); line-height: 1.5; }

/* ===================== search overlay ===================== */
.spane {
  position: fixed; inset: 0; z-index: 1600;
  background: rgba(10, 10, 11, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: none; flex-direction: column;
}
.spane.on { display: flex; }
.spane__hd { padding: 18px var(--gut); border-bottom: 1px solid var(--line); }
.spane__hd .wrap { display: flex; align-items: center; gap: 14px; padding: 0; }
.spane__in {
  flex: 1; display: flex; align-items: center; gap: 11px;
  padding: 13px 18px; border-radius: var(--r-p);
  background: var(--surface); border: 1px solid var(--line);
}
.spane__in svg { width: 17px; height: 17px; stroke: var(--fg-faint); flex: 0 0 17px; }
.spane__in input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--fg); font-size: 16px; font-family: var(--fb); }
.spane__hd .x { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.spane__bd { flex: 1; overflow-y: auto; padding: 22px var(--gut) 40px; }
.spane__bd .wrap { padding: 0; }
.sugg { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 24px; }
.sres { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.sres .tile { width: auto; }
.scount { font-size: 13px; color: var(--fg-dim); margin-bottom: 14px; }

/* ===================== mixer hint ===================== */
.mixer__note { font-size: 12px; color: var(--fg-faint); margin-top: 10px; }

@media (max-width: 860px) {
  /* keep the hero headline clear of the artwork on phones */
  .hero__media { height: 54vh; }
  .hero .wrap { margin-top: -96px; }
  .hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
  .hero .eyebrow { margin-bottom: 12px; }
  .hero__act .btn { padding: 12px 18px; font-size: 13.5px; }
  .sres { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .stats b { font-size: 1.1rem; }
}

/* ===================== subscribe strip (unsubscribed only) ===================== */
.gatebar { position: relative; z-index: 5; margin-top: -2px; }
.gatebar .wrap {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 18px; padding: 16px 22px;
  border-radius: var(--r-m);
  background: linear-gradient(100deg, rgba(255, 180, 77, .16), rgba(255, 92, 119, .14));
  border: 1px solid rgba(255, 180, 77, .3);
  max-width: var(--max);
}
.gatebar__tx b { display: block; font-family: var(--fd); font-size: 1.02rem; }
.gatebar__tx span { font-size: 12.5px; color: var(--fg-dim); }
.gatebar__cta {
  margin-left: auto; padding: 12px 22px; border-radius: var(--r-p);
  background: var(--grad); color: #1A1200; font-size: 14px; font-weight: 700;
  transition: transform .18s var(--e), filter .18s var(--e);
}
.gatebar__cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* locked tiles read as locked */
.tile__pic .lock {
  position: absolute; top: 9px; right: 9px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0, 0, 0, .66); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.scats { margin-bottom: 26px; }
.scats .browse { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.scats .cat { min-height: 110px; }

@media (max-width: 860px) {
  .gatebar .wrap { margin-top: 12px; padding: 14px 16px; }
  .gatebar__cta { margin-left: 0; width: 100%; }
  .scats .browse { grid-template-columns: 1fr 1fr; }
}

/* ===================== category page ===================== */
.cathead { position: relative; padding: 30px 0 4px; }
.cathead::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 160% at 8% 0%, var(--accent, var(--amber)), transparent 62%);
  opacity: .16; pointer-events: none;
}
.cathead .wrap { position: relative; z-index: 1; }
.cathead .back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--fg-dim); margin-bottom: 14px;
}
.cathead .back svg { width: 13px; height: 13px; stroke: currentColor; }
.cathead .back:hover { color: var(--fg); }
.cathead h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.04; }
.cathead p { color: var(--fg-dim); font-size: 14px; margin: 8px 0 0; }

/* grid of tiles — our own play overlay, never the browser's native controls,
   which cannot fit in a 150px card on a 360px phone */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.grid .tile { width: auto; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cathead { padding: 18px 0 2px; }
  .tile__ft b { font-size: 12.5px; }
  .tile__ft span { font-size: 11px; }
  .dlbtn { width: 28px; height: 28px; flex-basis: 28px; }
  .dlbtn svg { width: 12px; height: 12px; }
}
@media (max-width: 400px) {
  .grid { gap: 11px; }
  .tile__pic .pl { width: 40px; height: 40px; }
  .tile__pic .pl::before { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
}
