/* =========================================================
   StreamJr — design tokens
   Netflix-style: near-black backdrop, red accent, clean
   grotesque sans throughout.
   ========================================================= */

:root{
  --bg:            #141414;
  --bg-deep:       #000000;
  --panel:         #181818;
  --panel-2:       #232323;
  --line:          rgba(255,255,255,0.09);
  --line-strong:   rgba(255,255,255,0.18);
  --cream:         #ffffff;
  --cream-dim:     #b3b3b3;
  --cream-faint:   #808080;

  --orange:        #e50914;
  --orange-deep:   #b20710;
  --lime:          #ffffff;
  --lime-deep:     #e5e5e5;
  --pink:          #e50914;
  --yellow:        #f5f5f1;
  --grape:         #831010;
  --blood:         #e50914;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-soft: 0 20px 60px -25px rgba(0,0,0,0.75);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

/* ---------- intro splash (cup drains, then reveals the site) ---------- */
.intro-overlay{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 10%, rgba(229,9,20,0.10), transparent 55%),
    var(--bg-deep);
  transition: clip-path .85s cubic-bezier(.65,0,.35,1) .1s, opacity .4s ease .55s, visibility .95s;
  cursor: pointer;
}
.intro-overlay.hide{
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.intro-glass{ width: min(46vw, 190px); height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.intro-drain{ fill: var(--bg-deep); animation: introDrainCover 2.3s cubic-bezier(.65,0,.35,1) .35s forwards; }
@keyframes introDrainCover{
  0%, 10%{ height: 0; }
  24%{ height: 118; }
  40%{ height: 118; }
  54%{ height: 224; }
  68%{ height: 224; }
  84%{ height: 330; }
  100%{ height: 330; }
}
.intro-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0;
  animation: introWordFade 2.7s ease .3s both;
}
@keyframes introWordFade{
  0%{ opacity: 0; transform: translateY(6px); }
  25%{ opacity: 1; transform: translateY(0); }
  85%{ opacity: 1; }
  100%{ opacity: 0; }
}

@media (prefers-reduced-motion: reduce){
  .intro-overlay{ display: none !important; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- scroll progress bar ---------- */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--lime), var(--yellow), var(--orange));
  z-index: 80;
  transition: width .1s ease-out;
}

/* ---------- back to top ---------- */
.to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease, background .2s ease;
  box-shadow: var(--shadow-soft);
}
.to-top svg{ width: 18px; height: 18px; }
.to-top.show{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.to-top:hover{
  border-color: var(--lime);
  background: color-mix(in srgb, var(--lime) 16%, var(--panel-2));
  transform: translateY(-3px) scale(1);
}

/* ---------- toast ---------- */
.toast{
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 16px);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show{
  opacity: 1;
  transform: translate(-50%, 0);
}

body{
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 10%, rgba(229,9,20,0.14), transparent 55%),
    var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; font-family: var(--font-display); }
p{ margin: 0; }
img,svg{ display: block; max-width: 100%; }
button{ font: inherit; }

:focus-visible{
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before{
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px 2px rgba(255,255,255,0.7);
}

/* ---------- buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 70%);
  transition: opacity .25s ease;
}
.btn:hover::after{ opacity: 1; }
.btn:active{ transform: translateY(1px) scale(0.99); }

.btn-primary{
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 12px 26px -12px rgba(229,9,20,0.6);
}
.btn-primary:hover{
  background: var(--orange-deep);
  box-shadow: 0 16px 32px -10px rgba(229,9,20,0.75);
  transform: translateY(-1px);
}

.btn-ghost{
  background: rgba(255,255,255,0.12);
  border-color: transparent;
  color: var(--cream);
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.2);
  color: var(--cream);
}

.btn-sm{ padding: 9px 18px; font-size: 13.5px; }

/* ---------- nav ---------- */

.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px -20px rgba(0,0,0,0.7);
}
.nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.brand-mark{ width: 36px; height: 36px; flex-shrink: 0; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a:not(.btn){
  padding: 4px 0;
  border-radius: 0;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--cream-dim);
  transition: color .15s ease;
}
.nav-links a:not(.btn):hover{
  color: var(--cream);
  background: none;
}
.nav-links a.active{
  color: var(--cream);
  background: none;
  font-weight: 700;
}
.nav-cta{ margin-left: 8px; }

.nav-icon-link{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  color: var(--cream-dim);
  font-weight: 600;
  font-size: 14.5px;
  flex-shrink: 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.nav-icon-link svg{ width: 18px; height: 18px; }
.nav-icon-link:hover{
  color: var(--cream);
  border-color: var(--cream-dim);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  color: var(--cream);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.nav-toggle svg{ transition: transform .25s ease; }
.nav-toggle.is-open{ border-color: var(--cream); color: var(--cream); }
.nav-toggle.is-open svg{ transform: rotate(90deg); }

/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding: 76px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1{
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  color: var(--cream);
}
.hero-copy h1 .accent{
  background: linear-gradient(100deg, var(--lime), var(--yellow) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p.lede{
  font-size: 17.5px;
  color: var(--cream-dim);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-meta{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cream-faint);
}
.hero-meta span{ color: var(--cream); font-weight: 600; }

.hero-support{
  font-size: 13.5px;
  color: var(--cream-faint);
  margin: -20px 0 34px;
}
.hero-support a{
  color: var(--cream-dim);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.hero-support a:hover{ color: var(--lime); text-decoration-color: var(--lime); }

/* glass illustration */
.glass-wrap{
  position: relative;
  display: flex;
  justify-content: center;
}
.glass-wrap{ perspective: 900px; }
.glass-wrap svg{
  width: min(100%, 360px);
  height: auto;
  transition: transform .25s ease-out;
  transform-style: preserve-3d;
}

.float-slow{
  animation: floaty 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 0%;
  will-change: transform;
}
@keyframes floaty{
  0%, 100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-6px) rotate(-1.5deg); }
}

/* ---------- popcorn easter egg ---------- */
.popcorn-egg{
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  cursor: pointer;
}
.popcorn-egg.show{ opacity: 1; pointer-events: auto; }
.popcorn-egg-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  transform: scale(.82) translateY(14px);
  transition: transform .45s cubic-bezier(.22,1.1,.32,1);
}
.popcorn-egg.show .popcorn-egg-card{ transform: scale(1) translateY(0); }
.popcorn-egg-bucket{
  width: min(48vw, 210px);
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,.55));
  animation: bucketWiggle 1.8s ease-in-out infinite;
}
@keyframes bucketWiggle{
  0%, 100%{ transform: rotate(0deg); }
  50%{ transform: rotate(-2deg); }
}
.popcorn-egg-word{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  color: var(--cream);
  margin-top: 4px;
}
.popcorn-egg-msg{
  color: var(--cream-dim);
  font-size: 14.5px;
  text-align: center;
  max-width: 280px;
}
.popcorn-egg-hint{
  color: var(--cream-faint);
  font-size: 12px;
  letter-spacing: .02em;
}

/* =========================================================
   INGREDIENTS / STATS STRIP
   ========================================================= */

.label-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.label-strip .wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.label-item{
  padding: 26px 24px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.label-item:first-child{ border-left: none; }
.label-item .num{
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--lime);
}
.label-item .cap{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 4px;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section{ padding: 92px 0; }
.section-head{
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2{
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 14px 0 12px;
  letter-spacing: -0.01em;
}
.section-head p{ color: var(--cream-dim); font-size: 16px; }
.section-head.left{ text-align: left; margin: 0 0 44px; }

/* =========================================================
   FLAVOR / FEATURE CARDS
   ========================================================= */

.flavor-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.flavor-card{
  background: linear-gradient(180deg, var(--panel), var(--panel) 60%, color-mix(in srgb, var(--panel) 88%, black));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.16,.8,.3,1), border-color .28s ease, box-shadow .28s ease;
}
.flavor-card::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--flavor, var(--orange));
  opacity: .85;
}
.flavor-card:hover{
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--flavor, var(--line-strong)) 45%, var(--line-strong));
  box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--flavor, #000) 55%, transparent), var(--shadow-soft);
}
.flavor-cap{
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--flavor, var(--orange)) 22%, transparent);
  margin-bottom: 18px;
}
.flavor-cap span{
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--flavor, var(--orange));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--flavor, var(--orange)) 30%, transparent);
}
.flavor-card h3{
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.flavor-card p{
  color: var(--cream-dim);
  font-size: 14.5px;
  margin-bottom: 16px;
}
.flavor-card .tally{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.flavor-card a.card-link{
  position: absolute; inset: 0;
}

/* =========================================================
   STEPS
   ========================================================= */

.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.step .step-num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--bg-deep);
  background: var(--lime);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3{ font-size: 1.05rem; margin-bottom: 8px; }
.step p{ color: var(--cream-dim); font-size: 14.5px; }

/* =========================================================
   FOOTER CTA BANNER
   ========================================================= */

.cta-banner{
  margin: 0 28px 92px;
  max-width: 1124px;
  margin-left: auto; margin-right: auto;
  background:
    radial-gradient(ellipse 500px 260px at 15% 20%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(ellipse 500px 260px at 90% 90%, rgba(229,9,20,0.22), transparent 60%),
    var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
}
.cta-banner h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.cta-banner p{ color: var(--cream-dim); margin-bottom: 30px; }
.cta-actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   ABOUT / MEET THE OWNER
   ========================================================= */

.owner-shell{
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1040px;
}
.owner-card{
  background: linear-gradient(180deg, var(--panel), color-mix(in srgb, var(--panel) 88%, black));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  position: sticky;
  top: 24px;
}
.owner-avatar{
  width: 92px; height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.25), transparent 55%),
    linear-gradient(160deg, var(--orange), var(--grape));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}
.owner-card h2{ font-size: 1.3rem; margin-bottom: 4px; }
.owner-role{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.owner-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.owner-tag{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-dim);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
}
.owner-card .btn{ width: 100%; }

/* ---------- discord-style profile card ---------- */
.discord-card{
  padding: 0 0 22px;
  overflow: hidden;
  text-align: left;
  background: #232428;
  border: 1px solid rgba(0,0,0,0.35);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.discord-banner{
  height: 80px;
  width: 100%;
  background: url('https://i.pinimg.com/1200x/68/46/29/684629e713be0cd4d9f5dbb3e52460d7.jpg') center/cover no-repeat;
}
.discord-avatar-wrap{
  position: relative;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 20px;
}
.discord-avatar{
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 6px solid #232428;
  background: #232428;
}
.discord-status{
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime);
  border: 4px solid #232428;
}
.discord-body{ padding: 14px 20px 0; }
.discord-name{
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}
.discord-username{
  font-size: 13px;
  color: #b8b9bf;
  margin-bottom: 14px;
}
.discord-divider{
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 12px 0;
}
.discord-section-label{
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #b8b9bf;
  margin-bottom: 6px;
}
.discord-bio{
  font-size: 14px;
  line-height: 1.5;
  color: #dcddde;
  margin: 0;
}
.discord-card .owner-tags{ justify-content: flex-start; margin-bottom: 4px; }
.discord-card .btn{ width: calc(100% - 40px); margin: 18px 20px 0; }

.owner-bio p{
  color: var(--cream-dim);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.owner-bio p:first-child{
  color: var(--cream);
  font-size: 17px;
}

@media (max-width: 860px){
  .owner-shell{ grid-template-columns: 1fr; }
  .owner-card{ position: static; }
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
footer .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-brand{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--cream-dim);
}
.foot-brand svg{ width: 22px; height: 22px; }
.foot-links{ display: flex; gap: 22px; }
.foot-links a{
  font-size: 14px;
  color: var(--cream-faint);
  transition: color .15s ease;
}
.foot-links a:hover{ color: var(--lime); }
.foot-note{ font-size: 13px; color: var(--cream-faint); }

/* =========================================================
   COMMANDS PAGE
   ========================================================= */

.menu-header{ padding: 56px 0 36px; text-align: center; }
.menu-header .eyebrow{ justify-content: center; }
.menu-header h1{
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 16px 0 12px;
}
.menu-header p{ color: var(--cream-dim); max-width: 56ch; margin: 0 auto; }

.menu-controls{
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.search-row{
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-box{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.search-box:focus-within{
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}
.search-box svg{ width: 17px; height: 17px; color: var(--cream-faint); flex-shrink: 0; }
.search-box input{
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 14.5px;
}
.search-box input::placeholder{ color: var(--cream-faint); }
.kbd-hint{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-faint);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.search-box:focus-within .kbd-hint{ display: none; }
.search-count{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-faint);
  white-space: nowrap;
}

.chip-row{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--cream-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.chip span.dot{
  font-size: 12px;
  line-height: 1;
}
.chip span.dot:empty{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--flavor, var(--cream-faint));
  display: inline-block;
}
.chip:hover{ border-color: var(--line-strong); color: var(--cream); }
.chip.is-active{
  background: color-mix(in srgb, var(--flavor, var(--lime)) 22%, var(--panel));
  border-color: var(--flavor, var(--lime));
  color: var(--cream);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--flavor, var(--lime)) 18%, transparent);
}
.chip-action{
  border-style: dashed;
  color: var(--cream-faint);
}
.chip-action:hover{ border-color: var(--lime); color: var(--lime); }
.chip-action + .chip:not(.chip-action){ margin-left: 6px; }

.menu-body{ padding: 44px 0 100px; }

.category-block{
  margin-bottom: 46px;
  scroll-margin-top: 190px;
}
.category-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
  cursor: pointer;
  padding: 10px 12px;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: 12px;
  transition: background .18s ease;
}
.category-head:hover{ background: rgba(255,255,255,0.045); }
.category-head .cap{
  width: 36px; height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--flavor, var(--orange)) 24%, transparent);
  border: 1px solid color-mix(in srgb, var(--flavor, var(--orange)) 40%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.category-head h2{
  font-size: 1.3rem;
  flex: 1;
}
.category-head .count{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-faint);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.category-head .chevron{
  width: 18px; height: 18px;
  color: var(--cream-faint);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.category-block.collapsed .chevron{ transform: rotate(-90deg); }
.category-desc{
  color: var(--cream-dim);
  font-size: 14px;
  margin: 2px 0 18px 50px;
  max-width: 60ch;
}

.command-list{
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--line);
  margin-left: 17px;
  padding-left: 30px;
  overflow: hidden;
  max-height: 4000px;
  opacity: 1;
  transition: max-height .38s cubic-bezier(.16,.8,.3,1), opacity .25s ease, margin .38s ease;
}
.category-desc{
  overflow: hidden;
  max-height: 60px;
  opacity: 1;
  transition: max-height .3s ease, opacity .2s ease, margin .3s ease;
}
.category-block.collapsed .command-list{
  max-height: 0;
  opacity: 0;
  margin-top: -10px;
}
.category-block.collapsed .category-desc{
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
}

.command-row{
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid color-mix(in srgb, var(--flavor, var(--line)) 55%, var(--line));
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: 6px 18px;
  align-items: baseline;
  transition: border-color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.command-row:hover{
  border-color: var(--line-strong);
  border-left-color: var(--flavor, var(--line-strong));
  background: var(--panel-2);
  transform: translateX(3px);
  box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--flavor, #000) 60%, transparent);
}
.command-row .cmd-name{
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--yellow);
  white-space: nowrap;
}
button.cmd-name{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s ease;
}
button.cmd-name::after{
  content: "";
  width: 12px; height: 12px;
  flex-shrink: 0;
  opacity: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity .15s ease;
}
button.cmd-name:hover{ color: var(--cream); }
button.cmd-name:hover::after{ opacity: .55; }
button.cmd-name.copied,
button.cmd-name.copied::after{ color: var(--lime); opacity: 1; }
.command-row .cmd-desc{
  font-size: 14px;
  color: var(--cream-dim);
}
.command-row .cmd-sub{
  grid-column: 1 / -1;
  margin-top: 8px;
  display: grid;
  gap: 7px;
}
.sub-row{
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr;
  gap: 6px 18px;
  padding: 9px 12px;
  background: var(--bg-deep);
  border-radius: 8px;
  align-items: baseline;
}
.sub-row .cmd-name{ font-size: 13px; color: var(--lime); }
.sub-row .cmd-desc{ font-size: 13px; }

.command-row.is-hidden,
.category-block.is-hidden{ display: none; }

.no-results{
  text-align: center;
  padding: 60px 20px;
  color: var(--cream-faint);
  display: none;
}
.no-results.show{ display: block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .glass-wrap{ order: -1; margin-bottom: 8px; }
  .glass-wrap svg{ width: min(70%, 280px); }
  .flavor-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .label-strip .wrap{ grid-template-columns: repeat(2, 1fr); }
  .label-item:nth-child(3){ border-left: none; }
}

@media (max-width: 720px){
  .nav-toggle{ display: flex; align-items: center; justify-content: center; }

  .nav-links{
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line-strong);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .32s cubic-bezier(.16,.8,.3,1), opacity .22s ease, padding .32s ease;
  }
  .nav-links a:not(.btn){ display: flex; }
  .nav-links.is-open{
    max-height: 360px;
    opacity: 1;
    padding: 12px 20px 20px;
  }
  .nav-cta{ margin-left: 0; margin-top: 6px; justify-content: center; }

  .nav-icon-link{
    width: auto;
    height: auto;
    border-radius: var(--radius-sm);
    border: none;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 16px;
    color: var(--cream-dim);
    font-weight: 600;
    font-size: 14.5px;
  }
  .nav-icon-link:hover{ background: rgba(255,255,255,0.06); }

  .command-row, .sub-row{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .flavor-grid{ grid-template-columns: 1fr; }
  .label-strip .wrap{ grid-template-columns: 1fr 1fr; }
  .cta-banner{ padding: 42px 24px; margin-left: 16px; margin-right: 16px; }
  .search-row{ flex-wrap: wrap; }
  .search-count{ width: 100%; text-align: right; }
}

/* =========================================================
   LEGAL PAGES (privacy policy, terms of service)
   ========================================================= */

.legal-header{ padding: 56px 0 28px; text-align: center; }
.legal-header .eyebrow{ justify-content: center; }
.legal-header h1{
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 16px 0 10px;
}
.legal-header .legal-updated{
  color: var(--cream-faint);
  font-size: 13.5px;
  font-family: var(--font-mono);
}

.legal-body{ padding: 8px 0 80px; }
.legal-shell{
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap: 48px;
  align-items: start;
}
.legal-toc{
  position: sticky;
  top: 96px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 22px;
}
.legal-toc h2{
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 12px;
}
.legal-toc ul{ display: flex; flex-direction: column; gap: 2px; }
.legal-toc a{
  display: block;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--cream-dim);
  transition: color .15s ease, background .15s ease;
}
.legal-toc a:hover{ color: var(--cream); background: rgba(255,255,255,0.06); }

.legal-content{ max-width: 72ch; }
.legal-content > section{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.legal-content > section:first-child{ border-top: none; padding-top: 0; }
.legal-content h2{
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--cream);
}
.legal-content h3{
  font-size: 1.05rem;
  margin: 18px 0 8px;
  color: var(--cream);
}
.legal-content p{
  color: var(--cream-dim);
  margin-bottom: 12px;
}
.legal-content p:last-child{ margin-bottom: 0; }
.legal-content ul{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 12px 2px;
}
.legal-content li{
  color: var(--cream-dim);
  padding-left: 20px;
  position: relative;
}
.legal-content li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.legal-content a{
  color: var(--lime);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.35);
  text-underline-offset: 3px;
}
.legal-content a:hover{ text-decoration-color: var(--lime); }
.legal-content strong{ color: var(--cream); }
.legal-content code{
  font-family: var(--font-mono);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 13.5px;
  color: var(--cream);
}
.legal-callout{
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--lime);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 14px 0;
  color: var(--cream-dim);
  font-size: 14.5px;
}

@media (max-width: 860px){
  .legal-shell{ grid-template-columns: 1fr; }
  .legal-toc{ position: static; }
}

/* =========================================================
   STREAMJR — MOVIE / TV SPECIFIC COMPONENTS
   ========================================================= */

/* ---------- hero search ---------- */
.hero-search{
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-search .search-box{ padding: 14px 20px; }
.hero-search .btn{ flex-shrink: 0; }

/* ---------- notice banner (e.g. missing API key) ---------- */
.notice-banner{
  background: color-mix(in srgb, var(--blood) 14%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--blood) 40%, var(--line-strong));
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--cream-dim);
  margin-bottom: 22px;
  display: none;
}
.notice-banner.show{ display: block; }
.notice-banner strong{ color: var(--cream); }
.notice-banner code{
  font-family: var(--font-mono);
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12.5px;
}
.notice-banner a{ color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tabs (movies / tv) ---------- */
.tabs{
  display: inline-flex;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  padding: 4px;
  border-radius: var(--radius-sm);
}
.tab{
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--cream-dim);
  cursor: pointer;
  border: none;
  background: none;
  transition: background .18s ease, color .18s ease;
}
.tab.is-active{ background: var(--lime); color: var(--bg-deep); }
.tab:not(.is-active):hover{ color: var(--cream); }

/* ---------- movie / tv grid ---------- */
.movie-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.movie-card{
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .28s cubic-bezier(.16,.8,.3,1), border-color .22s ease, box-shadow .22s ease, z-index 0s;
}
.movie-card:hover{
  transform: scale(1.06);
  z-index: 5;
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8), var(--shadow-soft);
}
.movie-card .poster-wrap{
  position: relative;
  aspect-ratio: 2 / 3;
  background: var(--panel-2);
  overflow: hidden;
}
.movie-card .poster-wrap img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.movie-card:hover .poster-wrap img{ transform: scale(1.05); }
.movie-card .poster-fallback{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-faint);
  font-size: 12.5px;
  text-align: center;
  padding: 14px;
}
.movie-card .rating{
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,0.82);
  border: 1px solid var(--line-strong);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.movie-card .media-badge{
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,0.82);
  border: 1px solid var(--line-strong);
  color: var(--cream-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}
.movie-card .card-info{ padding: 12px 12px 14px; }
.movie-card .card-title{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.movie-card .card-year{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-faint);
}
.movie-grid.is-loading .movie-card{ opacity: 0; }

.skeleton-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.skeleton-card{
  aspect-ratio: 2/3.55;
  border-radius: var(--radius-sm);
  background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
  background-size: 250% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -50% 0; }
}

.load-more-wrap{ display: flex; justify-content: center; margin-top: 36px; }

/* ---------- browse page controls ---------- */
.browse-controls{
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(0,0,0,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

/* ---------- watch / detail page ---------- */
.player-hero{
  position: relative;
  padding: 40px 0 0;
}
.backdrop-fade{
  position: absolute;
  inset: 0;
  height: 440px;
  background-size: cover;
  background-position: center 20%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  opacity: .5;
  z-index: -1;
}
.player-shell{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}
.player-shell iframe{
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.player-wrap{ position: relative; }

.player-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.player-toolbar-hint{
  font-size: 12.5px;
  color: var(--cream-faint);
}
.player-toolbar .btn-sm{ flex-shrink: 0; }

/* ---------- ad-warning gate (must click through before the player loads) ---------- */
.ad-gate{
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-md);
  transition: opacity .3s ease;
}
.ad-gate.is-hidden{
  opacity: 0;
  pointer-events: none;
}
.ad-gate-card{
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.ad-gate-icon{ font-size: 40px; margin-bottom: 6px; }
.ad-gate-card h3{
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  color: var(--cream);
  margin: 2px 0 4px;
}
.ad-gate-card p{
  color: var(--cream-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.ad-gate-card p a{
  color: var(--lime);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--lime) 40%, transparent);
  text-underline-offset: 3px;
}
.ad-gate-card p a:hover{ text-decoration-color: var(--lime); }
.detail-grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  margin-top: 30px;
  align-items: start;
}
.detail-info h1{
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.detail-meta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cream-faint);
  margin-bottom: 18px;
}
.detail-meta .rating{
  position: static;
  color: var(--lime);
}
.genre-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.genre-tag{
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cream-dim);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
}
.detail-overview{ color: var(--cream-dim); font-size: 15px; line-height: 1.7; max-width: 68ch; }

.side-panel{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.side-panel h3{ font-size: 1rem; margin-bottom: 14px; }
.field-row{ margin-bottom: 14px; }
.field-row label{
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cream-faint);
  margin-bottom: 6px;
}
.field-row select{
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  color: var(--cream);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}
.field-row select:focus{ outline: 2px solid var(--lime); outline-offset: 1px; }
.watchlist-toggle{ width: 100%; }
.watchlist-toggle.is-saved{
  background: var(--panel-2);
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: none;
}
.watchlist-toggle.is-saved:hover{ box-shadow: none; }

.related-section{ padding: 60px 0 100px; }

/* ---------- watchlist page ---------- */
.empty-state{
  text-align: center;
  padding: 90px 24px;
  color: var(--cream-faint);
}
.empty-state .glyph{ font-size: 44px; margin-bottom: 16px; }
.empty-state h2{ color: var(--cream); font-size: 1.4rem; margin-bottom: 10px; }
.empty-state p{ margin-bottom: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .detail-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .movie-grid, .skeleton-grid{ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
  .browse-controls{ top: 0; }
}
