:root{color-scheme:dark;--bg:#0d120f;--surface:#151d18;--surface2:#1c2720;--edge:#354438;--text:#f2f4ec;--muted:#acb7a9;--thyme:#a8b78b;--blue:#d4dfb8;--green:#a3d3ae;--red:#f3a6a9}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 65% -18%,#263b2b 0,transparent 42%),var(--bg);color:var(--text);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:3px}header{position:sticky;top:0;z-index:10;background:#0d120feb;border-bottom:1px solid #2b392e;backdrop-filter:blur(14px)}.bar{max-width:1420px;margin:auto;padding:13px 22px;display:flex;align-items:center;gap:26px}.logo{font-size:23px;font-weight:900;letter-spacing:-1.2px;white-space:nowrap}.logo b{color:var(--thyme)}.logo small{font-weight:700;font-size:10px;letter-spacing:1px;margin-left:6px;color:var(--muted)}nav{display:flex;gap:6px;flex:1}nav button{background:transparent;border:0;color:var(--muted);padding:10px 12px;border-radius:11px;white-space:nowrap;font-weight:600}nav button:hover:where(html.ll-mouse-input *),nav button.active{background:#2b3c2f;color:var(--text)}.header-actions{display:flex;gap:8px}.btn{border:1px solid var(--edge);background:#243328;color:var(--text);border-radius:11px;padding:10px 14px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-weight:650}.btn:hover:where(html.ll-mouse-input *){background:#354a39}.btn.primary{border-color:#acbb90;background:#a7b88c;color:#10170e}.btn.primary:hover:where(html.ll-mouse-input *){background:#bfcc9e}.btn.ghost{background:#141d17}.btn.sm{padding:7px 10px;font-size:12px}.btn.danger{border-color:#6c4647;color:#ffc5c6}.wrap{max-width:1420px;margin:auto;padding:24px 22px 65px}.hero{position:relative;overflow:hidden;min-height:320px;border-radius:24px;border:1px solid #3d4c3a;background:linear-gradient(115deg,#2b3b30 0%,#1d2a22 55%,#141f19);padding:45px clamp(24px,4.8vw,65px);display:flex;align-items:center}.hero:before{content:"";position:absolute;right:-100px;top:-230px;width:680px;height:680px;border-radius:50%;background:radial-gradient(circle,#a2b98935,transparent 68%)}.hero:after{content:"✦";position:absolute;right:11%;top:14%;font-size:170px;opacity:.08;transform:rotate(-16deg)}.hero-inner{z-index:1;max-width:760px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:850;color:#c6d4a4}.hero h1{font-size:clamp(34px,5.5vw,66px);letter-spacing:-2.5px;line-height:1.05;margin:12px 0 13px}.hero p{font-size:16px;max-width:610px;color:#cbd7c7;margin:0 0 25px}.search-form{display:flex;gap:9px;max-width:650px}.search-form input{flex:1;min-width:0}.field{background:#101b14;color:var(--text);border:1px solid #445649;padding:11px 13px;border-radius:11px;min-width:0}.field:focus{border-color:var(--thyme);outline:0}.status{font-size:12px;color:var(--muted);margin-top:12px}.status.error{color:var(--red)}.status.good{color:var(--green)}.strip{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.strip .label{font-size:12px;color:var(--muted);font-weight:750;margin-right:4px}.chip{padding:8px 12px;border:1px solid #405443;color:#dce3d6;background:#19251d;border-radius:99px;font-size:12px;font-weight:650;white-space:nowrap}.chip:hover:where(html.ll-mouse-input *),.chip.active{border-color:#b8c69a;background:#354431;color:#fff}.chip img{width:19px;height:19px;object-fit:contain;border-radius:5px;vertical-align:middle;margin-right:4px}.section{margin:38px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}.section-head h2{font-size:25px;letter-spacing:-.7px;margin:0}.sub{font-size:13px;color:var(--muted);margin-top:4px}.controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.controls .field{padding:8px 10px;font-size:13px}.grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:17px}.tile{min-width:0}.art{display:block;position:relative;aspect-ratio:2/3;background:linear-gradient(145deg,#2b3d32,#151e18);border:1px solid #354737;border-radius:13px;overflow:hidden}.art img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.tile:hover:where(html.ll-mouse-input *) .art img{transform:scale(1.04)}.no-art{display:flex;align-items:center;justify-content:center;text-align:center;height:100%;padding:12px;color:var(--muted)}.save{position:absolute;right:8px;top:8px;z-index:1;display:grid;place-items:center;border:1px solid #ffffff55;border-radius:50%;width:34px;height:34px;background:#0f1914de;color:white;font-weight:900;font-size:20px}.save.saved{background:#778b63}.tile h3{font-size:14px;margin:9px 0 3px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile .metadata{display:flex;justify-content:space-between;gap:4px;color:var(--muted);font-size:12px}.rating{color:#e8d39a}.tile-actions{display:flex;gap:7px;margin-top:9px}.tile-actions a,.tile-actions button{border:1px solid var(--edge);border-radius:8px;font-size:12px;background:#1c2a20;padding:7px 8px;text-decoration:none;color:#edf2e8;min-width:0;white-space:nowrap}.tile-actions a:hover:where(html.ll-mouse-input *),.tile-actions button:hover:where(html.ll-mouse-input *){border-color:var(--thyme)}.tile-actions .flex{flex:1}.note{border:1px dashed #455748;border-radius:14px;background:#151f18;padding:23px;color:var(--muted)}.note strong{color:var(--text)}.full{grid-column:1/-1}.hidden{display:none!important}.muted{color:var(--muted)}.tag{font-size:11px;font-weight:800;color:#d7e4bd;background:#344731;padding:5px 8px;border-radius:7px}.modal-shade{position:fixed;inset:0;background:#030704dc;z-index:20;display:none;justify-content:center;align-items:center;padding:18px}.modal-shade.show{display:flex}.modal{position:relative;max-height:92vh;overflow:auto;width:min(750px,100%);background:#18251c;border:1px solid #4b5d4d;border-radius:20px;box-shadow:0 20px 100px #000c;padding:25px}.modal.wide{width:min(820px,100%)}.modal h2{font-size:27px;letter-spacing:-.6px;margin:0 0 8px}.modal h3{font-size:16px;margin:20px 0 8px}.modal p{line-height:1.58}.modal label{display:block;font-size:13px;font-weight:700;color:#e0e9dc;margin:15px 0 7px}.modal .field{width:100%}.close{position:absolute;top:15px;right:16px;background:#2e4133;border:0;border-radius:50%;width:35px;height:35px;color:white;font-size:19px}.modal-footer{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.cols{display:grid;grid-template-columns:160px 1fr;gap:22px}.detail-art{width:100%;border-radius:12px;aspect-ratio:2/3;object-fit:cover;background:#2b3d32}.detail-description{color:#d5dfd0;font-size:14px}.provider-groups{display:grid;gap:11px}.provider-group{padding:11px 12px;border:1px solid var(--edge);border-radius:10px;background:#162219}.provider-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.provider-label{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:800}.service-pill{border:1px solid #3c5240;border-radius:7px;padding:6px 8px;font-size:12px}.links{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0 0}.help{font-size:12px;color:var(--muted)}.choice-grid{display:flex;flex-wrap:wrap;gap:7px}.option{border:1px solid #415944;background:#152219;color:#e3eddf;border-radius:10px;padding:9px 12px;font-size:12px}.option.selected{background:#3b5038;border-color:var(--thyme);color:white}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.divider{height:1px;background:var(--edge);margin:19px 0}.footer{border-top:1px solid #35483a;margin-top:45px;padding-top:20px;font-size:12px;line-height:1.7;color:var(--muted)}.footer a{color:#c4d5a4}.tmdb-logo{width:62px;height:45px;object-fit:contain;vertical-align:middle;margin-right:8px}.toast{position:fixed;z-index:40;bottom:22px;left:50%;transform:translateX(-50%);background:#304534;color:white;border:1px solid #687a65;padding:11px 17px;border-radius:12px;box-shadow:0 10px 40px #0009;display:none;max-width:90vw}.toast.show{display:block}.intro{max-width:780px}.stat-line{display:flex;flex-wrap:wrap;gap:8px}.stat{border:1px solid var(--edge);border-radius:12px;padding:8px 12px;color:#dce7d5;font-size:13px}.stat b{font-size:16px;color:white;margin-right:3px}.load-more{display:flex;justify-content:center;margin-top:25px}
@media(max-width:1080px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bar{gap:13px}}@media(max-width:720px){.bar{flex-wrap:wrap;padding:12px 14px}.logo{font-size:20px}.header-actions{margin-left:auto}nav{order:3;flex:0 0 100%;overflow:auto}.bar nav button{padding:7px 10px}.wrap{padding:15px 14px 50px}.hero{padding:30px 23px;min-height:330px}.hero h1{letter-spacing:-1.5px}.search-form{flex-direction:column}.section-head h2{font-size:21px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cols{grid-template-columns:100px 1fr;gap:12px}.modal{padding:20px 16px}.detail-description{font-size:13px}.header-actions .btn{padding:8px 10px;font-size:12px}.tile-actions a,.tile-actions button{font-size:11px}}
/* ReelScout 2.1: compact, content-first welcome banner */
.wrap{padding-top:16px}
.hero{min-height:0;padding:22px clamp(20px,3vw,40px);border-radius:19px}
.hero:before{right:-120px;top:-315px;width:550px;height:550px}
.hero:after{font-size:105px;right:9%;top:9%}
.hero-inner{max-width:980px;width:100%}
.hero h1{font-size:clamp(29px,3vw,42px);letter-spacing:-1.5px;line-height:1.12;margin:6px 0 7px}
.hero p{font-size:14px;max-width:800px;margin:0 0 13px}
.hero .eyebrow{font-size:10px;letter-spacing:1.6px}
.hero .field{padding:9px 12px}
.hero .btn{padding:9px 14px}
.hero .status{margin-top:8px}
.strip{margin:13px 0}
.section{margin:27px 0}
/* Trailer opens above the title details dialog, without leaving the site. */
.trailer-shade{z-index:35}
.trailer-dialog{width:min(900px,100%);max-height:94vh;padding:22px;overflow:auto}
.trailer-dialog h2{font-size:20px;padding-right:36px;margin:0 0 12px}
.trailer-player{aspect-ratio:16/9;width:100%;background:#060c08;border:1px solid #3b523f;border-radius:12px;overflow:hidden}
.trailer-player iframe{display:block;width:100%;height:100%;border:0}
.trailer-dialog .help{margin:12px 0 0}
.trailer-dialog .links{margin-top:12px}.trailer-help{margin-top:13px;padding:12px 14px;border:1px solid #4b5f44;border-radius:11px;background:#1a291d;color:#dce8d5;font-size:13px}.trailer-help strong{color:#e6efd6}.trailer-help.error{border-color:#946e50;background:#30241e;color:#ffe2ca}.trailer-help.error strong{color:#ffe5bb}
@media(max-width:720px){.wrap{padding-top:11px}.hero{min-height:0;padding:19px 18px;border-radius:16px}.hero h1{font-size:clamp(26px,6vw,33px);letter-spacing:-1px;margin:5px 0 6px}.hero p{font-size:13px;margin-bottom:10px}.hero .search-form{flex-direction:row;gap:7px}.hero .search-form .btn{white-space:nowrap;padding:9px 11px;font-size:12px}.hero .field{width:100%;padding:9px 10px;font-size:13px}.hero .eyebrow{font-size:9px}.hero .status{font-size:11px}.trailer-dialog{padding:17px 13px}.trailer-dialog h2{font-size:18px}}
@media(max-width:400px){.hero .search-form{flex-direction:column}.hero .search-form .btn{width:100%}}

/* Cast photography in the details panel: horizontally browsable on desktop and mobile. */
.cast-section{margin:20px 0 3px}
.cast-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.cast-heading h3{margin:0}
.cast-heading .sub{font-size:12px}
.cast-grid{display:grid;grid-auto-flow:column;grid-auto-columns:118px;gap:13px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:3px 2px 13px;scrollbar-color:#72866e #17251b}
.cast-person{display:block;min-width:0;scroll-snap-align:start;text-decoration:none;color:inherit;border-radius:12px}
.cast-person:hover:where(html.ll-mouse-input *) .cast-photo{border-color:#b7c997;filter:brightness(1.1)}
.cast-photo{width:100%;aspect-ratio:2/3;object-fit:cover;display:flex;justify-content:center;align-items:center;text-align:center;border:1px solid #4a5d49;border-radius:11px;background:linear-gradient(145deg,#344a37,#17241b);color:#b9c5b1;font-size:42px;overflow:hidden}
.cast-name{font-size:13px;font-weight:750;line-height:1.3;margin:7px 0 2px;overflow-wrap:anywhere}
.cast-role{font-size:11px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
.cast-person:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:720px){.cast-grid{grid-auto-columns:100px;gap:10px}.cast-name{font-size:12px}.cast-role{font-size:11px}}

/* ReelScout 2.3: dried thyme — dusty sage, warm olive, and deep forest greens. */
:root{--thyme:#a8b78b;--thyme-strong:#c5d5a7;--forest:#17261c}
::selection{background:#627854;color:#fff}
a:hover:where(html.ll-mouse-input *){color:var(--thyme-strong)}
.btn.primary:hover:where(html.ll-mouse-input *){color:#10170e}
.save.saved{color:#f8fbf2}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.art img{transition:none}}

/* ReelScout 2.6 — Sunlit thyme / 3000K lamplight. Both modes are deliberately LIGHT. */
:root {
  color-scheme:light;
  --bg:#F7F5ED;
  --surface:#FFFEFA;
  --surface2:#EEF0E7;
  --edge:#D8DFCF;
  --text:#263A2D;
  --muted:#59695B;
  --thyme:#64794D;
  --thyme-strong:#4D6539;
  --blue:#64794D;
  --green:#356C49;
  --red:#A04B45;
  --header-bg:rgba(255,253,247,.94);
  --hero-left:#E7EEDB;
  --hero-mid:#F1F0DE;
  --hero-right:#FFF7E8;
  --sunlight:rgba(255,228,160,.67);
  --field-bg:#FFFFFF;
  --chip-bg:#FFFDF7;
  --chip-active:#DFE8D1;
  --chip-selected-text:#2E482F;
  --panel-bg:#FFFEFA;
  --soft-bg:#F4F6EC;
  --poster-blank:#E8EFE3;
  --item-bg:#F9FAF4;
  --item-hover:#EDF2E5;
  --shadow:rgba(54,68,45,.10);
}
html[data-lighting="evening"] {
  color-scheme:light;
  --bg:#F3EBDD;
  --surface:#FFF8EC;
  --surface2:#F3E8D5;
  --edge:#DBD0BD;
  --text:#39392C;
  --muted:#686353;
  --thyme:#687950;
  --thyme-strong:#506339;
  --blue:#687950;
  --green:#446C4B;
  --red:#9D5044;
  --header-bg:rgba(255,248,237,.95);
  --hero-left:#E7E5D1;
  --hero-mid:#F3E7CF;
  --hero-right:#FFECCD;
  --sunlight:rgba(255,205,117,.56);
  --field-bg:#FFFCF5;
  --chip-bg:#FFF7E9;
  --chip-active:#E1E5CD;
  --chip-selected-text:#38472C;
  --panel-bg:#FFF9EF;
  --soft-bg:#F5EEDF;
  --poster-blank:#E9E6D8;
  --item-bg:#FBF3E5;
  --item-hover:#F0E8D5;
  --shadow:rgba(90,69,40,.12);
}
body {
  background:radial-gradient(ellipse 56% 26% at 80% 0%,rgba(253,221,156,.25),transparent),var(--bg);
  color:var(--text);
  transition:background-color .25s ease,color .25s ease;
}
header {
  background:var(--header-bg);
  border-bottom:1px solid var(--edge);
  box-shadow:0 3px 18px var(--shadow);
}
.logo{color:var(--text)}
.logo b{color:var(--thyme-strong)}
.logo small{color:var(--muted)}
nav button{color:var(--muted)}
nav button:hover:where(html.ll-mouse-input *),nav button.active{background:var(--chip-active);color:var(--chip-selected-text)}
.header-actions{align-items:center}
.lighting-switch {
  border:1px solid var(--edge);
  background:var(--surface);
  color:var(--text);
  padding:9px 12px;
  display:inline-flex;
  gap:7px;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  white-space:nowrap;
  box-shadow:0 2px 6px var(--shadow);
}
.lighting-switch:hover:where(html.ll-mouse-input *){background:var(--soft-bg);border-color:var(--thyme)}
.lighting-switch:focus-visible{outline:3px solid var(--thyme);outline-offset:2px}
.lighting-symbol{font-size:16px;line-height:1}
.btn {
  border-color:var(--edge);
  background:var(--surface);
  color:var(--text);
  box-shadow:0 1px 3px var(--shadow);
}
.btn:hover:where(html.ll-mouse-input *){background:var(--item-hover);color:var(--text)}
.btn.ghost{background:transparent}
.btn.primary,.btn.primary:hover:where(html.ll-mouse-input *) {
  color:#FFFFFF;
  border-color:var(--thyme);
}
.btn.primary{background:var(--thyme)}
.btn.primary:hover:where(html.ll-mouse-input *){background:var(--thyme-strong);border-color:var(--thyme-strong)}
.btn.danger{border-color:#CDA69B;color:#944B40;background:var(--surface)}
.hero {
  background:linear-gradient(105deg,var(--hero-left),var(--hero-mid) 62%,var(--hero-right));
  border:1px solid var(--edge);
  color:var(--text);
  box-shadow:0 14px 40px var(--shadow);
}
.hero:before {
  background:radial-gradient(circle,var(--sunlight) 0%,rgba(255,245,216,.24) 43%,transparent 72%);
  right:-145px;
  top:-290px;
  width:640px;
  height:640px;
}
.hero:after {color:var(--thyme);opacity:.15}
.hero h1 {
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(29px,3.2vw,44px);
  letter-spacing:-1.3px;
  color:var(--text);
  font-weight:700;
}
.hero p{color:#4D5F4B}
html[data-lighting="evening"] .hero p{color:#5E5D4F}
.hero .eyebrow{color:var(--thyme-strong)}
.field{
  background:var(--field-bg);
  color:var(--text);
  border:1px solid #C7D1BE;
  box-shadow:0 1px 3px rgba(64,69,46,.035);
}
html[data-lighting="evening"] .field{border-color:#CEBFA5}
.field:focus{border-color:var(--thyme);outline:2px solid rgba(104,121,80,.18)}
.field::placeholder{color:#788476;opacity:1}
.status.good{color:var(--green)}
.status.error{color:var(--red)}
.strip .label{color:var(--muted)}
.chip {
  border:1px solid var(--edge);
  background:var(--chip-bg);
  color:var(--text);
  box-shadow:0 1px 3px var(--shadow);
}
.chip:hover:where(html.ll-mouse-input *),.chip.active {
  background:var(--chip-active);
  color:var(--chip-selected-text);
  border-color:#A9B99A;
}
.section-head h2{color:var(--text);font-size:24px}
.sub,.muted,.help{color:var(--muted)}
.tile {
  background:var(--surface);
  border:1px solid var(--edge);
  padding:8px 8px 11px;
  border-radius:17px;
  box-shadow:0 5px 17px rgba(69,74,51,.055);
  transition:box-shadow .2s ease,transform .2s ease;
}
.tile:hover:where(html.ll-mouse-input *){box-shadow:0 10px 25px var(--shadow);transform:translateY(-2px)}
.art {
  background:linear-gradient(145deg,#EFF2E5,var(--poster-blank));
  border:1px solid var(--edge);
  border-radius:11px;
}
.tile h3{color:var(--text)}
.tile .metadata{color:var(--muted)}
.rating{color:#846222;font-weight:700}
.save{background:rgba(35,52,37,.84);color:#FFFFFF;border-color:rgba(255,255,255,.50)}
.save.saved{background:var(--thyme);color:#FFFFFF}
.tile-actions a,.tile-actions button {
  background:var(--item-bg);
  border:1px solid var(--edge);
  color:var(--text);
  font-weight:650;
}
.tile-actions a:hover:where(html.ll-mouse-input *),.tile-actions button:hover:where(html.ll-mouse-input *){background:var(--item-hover);border-color:var(--thyme);color:var(--text)}
.note{border:1px dashed #B5C3AB;background:var(--soft-bg);color:var(--muted)}
.note strong{color:var(--text)}
.tag{background:var(--chip-active);color:var(--chip-selected-text)}
.modal-shade{background:rgba(34,44,32,.55);backdrop-filter:blur(5px)}
.modal {
  background:var(--panel-bg);
  color:var(--text);
  border:1px solid var(--edge);
  box-shadow:0 25px 85px rgba(29,41,32,.24);
}
.modal label{color:var(--text)}
.close{background:var(--surface2);color:var(--text)}
.close:hover:where(html.ll-mouse-input *){background:var(--chip-active)}
.detail-art{background:var(--poster-blank)}
.detail-description{color:var(--text)}
.provider-group{background:var(--soft-bg);border-color:var(--edge)}
.service-pill{border-color:var(--edge);background:var(--surface);color:var(--text)}
.option{background:var(--surface);color:var(--text);border-color:var(--edge)}
.option:hover:where(html.ll-mouse-input *){background:var(--item-hover)}
.option.selected{background:var(--chip-active);border-color:var(--thyme);color:var(--chip-selected-text)}
.footer{border-color:var(--edge);color:var(--muted)}
.footer a{color:var(--thyme-strong)}
a:hover:where(html.ll-mouse-input *){color:var(--thyme-strong)}
.toast{background:var(--text);color:#FFFFFF;border-color:var(--thyme);box-shadow:0 8px 28px rgba(26,33,25,.22)}
.stat{color:var(--text);background:var(--surface);border-color:var(--edge)}
.stat b{color:var(--text)}
.cast-grid{scrollbar-color:#A8B99A var(--surface2)}
.cast-person:hover:where(html.ll-mouse-input *) .cast-photo{border-color:var(--thyme);filter:brightness(1.03)}
.cast-photo{border-color:var(--edge);background:linear-gradient(145deg,#E5ECDD,var(--poster-blank));color:var(--thyme-strong)}
.trailer-player{background:#151B16;border-color:var(--edge)}
.trailer-help{background:var(--soft-bg);border-color:var(--edge);color:var(--text)}
.trailer-help strong{color:var(--text)}
.trailer-help.error{border-color:#DDB997;background:#FFF2E2;color:#76503B}
.trailer-help.error strong{color:#774730}
::selection{background:#C7D7B6;color:#253B2D}
@media(max-width:1120px){
  .bar{gap:12px}
  .lighting-switch{padding:9px 10px}
}
@media(max-width:820px){
  .lighting-label{display:none}
  .lighting-switch{min-width:37px;padding:9px}
}
@media(max-width:720px){
  .hero h1{font-size:clamp(27px,6vw,35px)}
  .bar{gap:8px}
  .header-actions{gap:5px}
  .tile{padding:6px 6px 9px}
  .section-head h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.tile,body{transition:none}}

/* ReelScout 2.7–2.8: optional sunrise-to-sunset schedule. */
.lighting-control{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px}
select.lighting-switch{appearance:auto;min-width:114px;padding:8px 10px;font-weight:700;color:var(--text);font-family:inherit}
.lighting-hint{font-size:10px;line-height:1.15;max-width:168px;color:var(--muted);text-align:right;min-height:0}
.lighting-hint:empty{display:none}
@media(max-width:820px){select.lighting-switch{min-width:94px;padding:8px 5px;font-size:12px}.lighting-hint{display:none}}

.embed-tips{margin-top:14px;border:1px solid var(--edge);background:var(--soft-bg);border-radius:11px;padding:10px 14px;color:var(--text);font-size:13px}
.embed-tips summary{font-weight:700;cursor:pointer}
.embed-tips p{color:var(--muted);margin:10px 0}
.embed-tips code{word-break:break-word}
/* ReelScout 2.8 — genuinely dark forest / warm lamplight evening. */
html[data-lighting="evening"]{
  color-scheme:dark;
  --bg:#111a14; --surface:#1c2a20; --surface2:#25352a; --edge:#405246;
  --text:#f1eee2; --muted:#c3caba; --thyme:#aac398; --thyme-strong:#cadbad;
  --blue:#d9e2b9; --green:#a5dcb4; --red:#f6aaa1;
  --header-bg:rgba(17,26,20,.96);
  --hero-left:#26392c; --hero-mid:#1e3025; --hero-right:#283324;
  --sunlight:rgba(214,158,91,.17); --field-bg:#152219;
  --chip-bg:#203026; --chip-active:#3b533e; --chip-selected-text:#f1f4e6;
  --panel-bg:#1b2920; --soft-bg:#223328; --poster-blank:#26352b;
  --item-bg:#253629; --item-hover:#334a36; --shadow:rgba(3,9,5,.43);
}
html[data-lighting="evening"] body {
  background:radial-gradient(ellipse 55% 32% at 86% 0%,rgba(170,107,49,.13),transparent 77%),var(--bg);
}
html[data-lighting="evening"] header{box-shadow:0 5px 25px rgba(0,0,0,.27)}
html[data-lighting="evening"] .hero{box-shadow:0 15px 45px rgba(3,9,5,.26)}
html[data-lighting="evening"] .hero:before{background:radial-gradient(circle,rgba(243,183,104,.19),rgba(210,152,66,.06) 46%,transparent 73%)}
html[data-lighting="evening"] .hero p{color:#dedecb}
html[data-lighting="evening"] .hero .eyebrow{color:#d8c88f}
html[data-lighting="evening"] .logo b{color:#bbd0a3}
html[data-lighting="evening"] .btn.primary{background:#a9c090;color:#132017;border-color:#bdd3a2}
html[data-lighting="evening"] .btn.primary:hover:where(html.ll-mouse-input *){background:#c1d5ab;border-color:#d2e1b9;color:#132017}
html[data-lighting="evening"] .field{border-color:#4c6150;box-shadow:none}
html[data-lighting="evening"] .field::placeholder{color:#b1bbac}
html[data-lighting="evening"] .chip:hover:where(html.ll-mouse-input *),html[data-lighting="evening"] .chip.active{border-color:#9cb18a}
html[data-lighting="evening"] .tile{box-shadow:0 7px 20px rgba(0,0,0,.24)}
html[data-lighting="evening"] .tile:hover:where(html.ll-mouse-input *){box-shadow:0 11px 33px rgba(0,0,0,.39)}
html[data-lighting="evening"] .art{background:linear-gradient(145deg,#374b3d,#1b2820)}
html[data-lighting="evening"] .rating{color:#f0cd8b}
html[data-lighting="evening"] .note{background:var(--soft-bg);border-color:#647360}
html[data-lighting="evening"] .modal-shade{background:rgba(4,9,5,.79)}
html[data-lighting="evening"] .modal{box-shadow:0 25px 95px rgba(0,0,0,.72)}
html[data-lighting="evening"] .service-pill{background:#2c3b30}
html[data-lighting="evening"] .option.selected{background:#3b523e;color:#f0f3e8}
html[data-lighting="evening"] .footer a{color:#c5dca9}
html[data-lighting="evening"] a:hover:where(html.ll-mouse-input *){color:#d6e8be}
html[data-lighting="evening"] .toast{background:#dae5ca;color:#142219;border-color:#97ac87}
html[data-lighting="evening"] .cast-photo{background:linear-gradient(145deg,#394c3b,#263629);color:#c4d8aa}
html[data-lighting="evening"] .trailer-help.error{background:#3b2d26;color:#f6d3b4;border-color:#a07b59}
html[data-lighting="evening"] .trailer-help.error strong{color:#ffe0b5}
html[data-lighting="evening"] .trailer-help{background:#253529;color:#e4e8dc;border-color:#405246}
html[data-lighting="evening"] .trailer-help strong{color:#f0f3e9}
html[data-lighting="evening"] .trailer-player{border-color:#4a5c4b}
html[data-lighting="evening"] .tag{background:#385340;color:#ecf4e2}
html[data-lighting="evening"] .save.saved{background:#647f59}
html[data-lighting="evening"] .btn.danger{border-color:#9a7770;color:#ffd5cc}
html[data-lighting="evening"] .lighting-switch{background:#203026;color:#ecf2df;border-color:#47594b}
html[data-lighting="evening"] ::selection{background:#4e7153;color:#f9fff0}


/* Top 10: automatically refreshed, clearly labelled TMDB popularity lists. */
.topten-intro{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:16px 0 20px}
.topten-tag{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;background:var(--surface2);border:1px solid var(--edge);font-size:12px;font-weight:750;color:var(--muted)}
.topten-context{margin:0 0 18px;line-height:1.65;max-width:900px;font-size:13px;color:var(--muted)}
.topten-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:21px 17px}
.ranked-item{position:relative;min-width:0;padding-left:16px}
.ranked-item .tile{position:relative;z-index:1}
.rank-mark{position:absolute;z-index:3;top:10px;left:0;min-width:39px;min-height:43px;display:grid;place-items:center;padding:2px 7px;border:2px solid var(--edge);background:var(--surface);box-shadow:0 5px 16px #0002;border-radius:12px;font-size:23px;line-height:1;font-weight:900;letter-spacing:-1.5px;color:var(--text);font-variant-numeric:tabular-nums}
.topten-status{margin-top:15px;min-height:18px;font-size:12px;color:var(--muted)}
.topten-status.alert{color:var(--red)}
.topten-skeleton{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}
.topten-skeleton>div{aspect-ratio:2/3;background:var(--surface2);border:1px solid var(--edge);border-radius:13px;opacity:.6}
@media(max-width:1080px){.topten-grid,.topten-skeleton{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.topten-grid,.topten-skeleton{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 11px}.ranked-item{padding-left:11px}.rank-mark{min-height:33px;min-width:31px;font-size:17px;border-radius:9px;top:8px}}

/* 2.10 Details refresh — spacious but information-rich, with distinct interactive posters. */
.poster-open{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:inherit;overflow:hidden}
.poster-open:focus-visible{outline:3px solid var(--thyme-strong);outline-offset:-3px;border-radius:11px}
.poster-open img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.tile:hover:where(html.ll-mouse-input *) .poster-open img{transform:scale(1.04)}
.poster-open .no-art{height:100%;width:100%}
.save{z-index:2}
.detail-quick-links{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 13px}
.detail-quick-links .btn{padding:8px 11px;font-size:12px;border-radius:9px;white-space:nowrap}
.detail-top{align-items:start}
.detail-scores{display:flex;flex-wrap:wrap;align-items:center;gap:6px 13px;font-size:13px;color:var(--muted);margin:6px 0 8px}
.imdb-status{display:inline-flex;align-items:center;gap:7px;border-radius:8px;background:var(--soft-bg);border:1px solid var(--edge);padding:4px 9px;min-height:28px;font-size:12px}
.imdb-status a{color:var(--text);font-weight:800;text-decoration:none}
.imdb-status a:hover:where(html.ll-mouse-input *){text-decoration:underline}
.score-service{color:var(--text);font-weight:800}
.imdb-extra{font-size:11px;color:var(--muted)}
.detail-genres{color:var(--muted);font-size:13px;margin:11px 0}
.identity-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:9px 0 12px}
.stream-brand,.origin-brand{display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 8px;border:1px solid var(--edge);border-radius:11px;background:var(--soft-bg);max-width:100%;font-size:12px}
.stream-brand img,.origin-brand img{height:25px;width:25px;object-fit:contain;border-radius:6px;background:#fff;padding:2px;flex-shrink:0}
.stream-brand strong,.origin-brand strong{color:var(--text);font-size:12px}
.stream-label{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.25px;white-space:nowrap}
.other-services{font-size:10px;color:var(--muted);white-space:nowrap}
.stream-unknown{font-size:12px;color:var(--muted)}
.service-pill{display:inline-flex;align-items:center;gap:7px;max-width:100%}
.service-pill img{width:22px;height:22px;object-fit:contain;border-radius:5px;background:white;padding:2px}
.my-rating-block{margin:15px 0 3px}
.my-rating-block label.rating-heading{display:block;margin:0 0 6px;font-weight:800;font-size:13px}
.personal-rating{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.star-row{display:flex;gap:2px;align-items:center}
.personal-star{position:relative;width:37px;height:43px;display:inline-flex;align-items:center;justify-content:center;font-size:38px;line-height:1;flex-shrink:0;user-select:none}
.star-outline{color:var(--edge)}
.star-fill{position:absolute;left:0;top:0;height:100%;display:flex;align-items:center;overflow:hidden;white-space:nowrap;color:#c29343;pointer-events:none}
html[data-lighting="evening"] .star-fill{color:#f1c77f}
.star-half{position:absolute;top:0;bottom:0;width:50%;padding:0;margin:0;background:transparent;border:0;cursor:pointer}
.star-half:hover:where(html.ll-mouse-input *){background:rgba(127,146,91,.11)}
.star-half:focus-visible{outline:2px solid var(--thyme-strong);outline-offset:0;border-radius:5px}
.star-left{left:0}.star-right{right:0}
.your-score{font-size:13px;font-weight:800;color:var(--text);min-width:64px;font-variant-numeric:tabular-nums}
.rating-clear{font-size:12px;background:transparent;border:1px solid var(--edge);color:var(--muted);border-radius:7px;padding:5px 8px}
.rating-clear:hover:where(html.ll-mouse-input *){background:var(--soft-bg);color:var(--text)}
.rating-instruction{font-size:11px;color:var(--muted);margin:2px 0 5px!important}
.trailer-dialog .trailer-help{font-size:11px;padding:5px 10px;background:transparent;border:0;color:var(--muted);margin:4px 0}
.trailer-dialog .embed-tips{padding:8px 12px;margin:8px 0}
.trailer-dialog .embed-tips summary{font-size:12px}
@media(max-width:720px){
 .detail-quick-links .btn{font-size:11px;padding:7px 8px}
 .detail-top{grid-template-columns:100px 1fr;gap:13px}
 .stream-label{white-space:normal}
 .other-services{display:none}
 .stream-brand,.origin-brand{gap:5px}
 .personal-star{width:30px;height:37px;font-size:31px}
 .personal-rating{gap:6px}
}
@media(max-width:445px){
 .detail-top{grid-template-columns:82px 1fr;gap:10px}
 .detail-top h2{font-size:22px}
 .detail-quick-links{gap:5px}
 .detail-scores{gap:6px}
 .identity-row{gap:5px}
}


/* ReelScout 2.11: information-dense, calm Details panel; no oversized empty columns. */
.modal.wide{width:min(790px,100%);padding:20px 21px 18px;max-height:90vh}
.modal.wide>.close{top:12px;right:13px;width:33px;height:33px;z-index:2}
.modal.wide .detail-top{display:grid;grid-template-columns:142px minmax(0,1fr);gap:19px;align-items:start}
.detail-poster-wrap{min-width:0}
.modal.wide .detail-art{display:block;width:100%;max-width:142px;aspect-ratio:2/3;border-radius:11px}
.detail-main{min-width:0;padding-right:17px}
.modal.wide .detail-main h2{font-family:inherit;font-size:clamp(23px,3vw,29px);line-height:1.15;letter-spacing:-.7px;margin:6px 0 7px;padding:0}
.modal.wide .detail-scores{font-size:12px;margin:0 0 6px;gap:5px 10px}
.modal.wide .imdb-status{font-size:11px;min-height:25px;padding:3px 8px}
.modal.wide .detail-quick-links{margin:9px 0 9px;gap:6px}
.modal.wide .detail-quick-links .btn{padding:7px 10px;font-size:11px;min-height:34px;line-height:1.2}
.modal.wide .detail-genres{margin:5px 0;color:var(--muted);font-size:12px}
.modal.wide .identity-row{margin:6px 0 7px;gap:6px}
.modal.wide .stream-brand,.modal.wide .origin-brand{padding:5px 8px 5px 6px;border-radius:9px;gap:6px}
.modal.wide .stream-brand img,.modal.wide .origin-brand img{width:23px;height:23px}
.modal.wide .stream-label{font-size:9px}
.modal.wide .detail-description{font-size:13px;line-height:1.52;margin:8px 0 0;max-width:65ch}
.detail-bottom-bar{display:flex;align-items:center;justify-content:space-between;gap:9px 14px;flex-wrap:wrap;padding:10px 12px;margin:15px 0 0;border-radius:12px;background:var(--soft-bg);border:1px solid var(--edge)}
.detail-bottom-bar .my-rating-block{margin:0;min-width:0}
.detail-bottom-bar .rating-heading{font-size:12px;font-weight:750;margin:0 0 2px;color:var(--text)}
.detail-bottom-bar .rating-hint{font-weight:500;font-size:10px;color:var(--muted)}
.detail-bottom-bar .personal-rating{gap:5px 10px;flex-wrap:wrap}
.detail-bottom-bar .star-row{gap:0}
.detail-bottom-bar .personal-star{width:29px;height:33px;font-size:29px}
.detail-bottom-bar .star-fill{line-height:1}
.detail-bottom-bar .star-half{z-index:1;touch-action:manipulation}
.detail-bottom-bar .your-score{font-size:12px;min-width:56px}
.detail-bottom-bar .rating-clear{font-size:11px;padding:3px 6px}
.detail-bottom-bar .detail-watchlist{margin-left:auto;white-space:nowrap}
.modal.wide .cast-section{margin:14px 0 5px}
.modal.wide .cast-heading{margin-bottom:9px}
.modal.wide .cast-heading h3{font-size:15px;margin:0}
.modal.wide .cast-grid{grid-auto-columns:95px;gap:11px;padding-bottom:8px}
.modal.wide .cast-name{font-size:12px;margin:5px 0 1px}
.modal.wide .cast-role{font-size:10px}
.availability-details{margin:11px 0 0;border-top:1px solid var(--edge);padding-top:9px}
.availability-details summary{cursor:pointer;font-size:12px;color:var(--text);font-weight:750;padding:6px 2px;list-style:disclosure-closed}
.availability-details[open] summary{list-style:disclosure-open;margin-bottom:8px}
.availability-details summary::marker{color:var(--thyme)}
.availability-count{font-weight:500;color:var(--muted);padding-left:7px}
.availability-details .provider-groups{gap:6px}
.availability-details .provider-group{padding:8px 10px}
.availability-details .help{margin:8px 0 1px;font-size:11px}
@media(max-width:720px){
 .modal.wide{width:100%;padding:18px 15px 15px;max-height:93vh}
 .modal.wide .detail-top{grid-template-columns:94px minmax(0,1fr);gap:12px}
 .modal.wide .detail-main h2{font-size:22px;padding:0;margin-top:5px}
 .modal.wide .detail-main{padding-right:9px}
 .modal.wide .detail-quick-links .btn{font-size:10px;padding:6px 8px;min-height:30px}
 .modal.wide .detail-description{font-size:12px}
 .modal.wide .cast-grid{grid-auto-columns:83px;gap:9px}
 .detail-bottom-bar{padding:9px 10px}
}
@media(max-width:440px){
 .modal.wide .detail-top{grid-template-columns:78px minmax(0,1fr);gap:10px}
 .modal.wide .detail-main h2{font-size:20px}
 .modal.wide .detail-art{max-width:78px}
 .modal.wide .detail-main{padding-right:0}
 .detail-bottom-bar .personal-star{width:26px;height:30px;font-size:26px}
 .detail-bottom-bar .detail-watchlist{margin-left:0}
}

/* L&L Flix shared accounts & PWA. Preserves original warm daylight / forest evening modes. */
.logo-amp{color:var(--thyme)}
.auth-screen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px;overflow:auto;background:radial-gradient(circle at 18% 0%,#dde9ce,transparent 48%),#eef0e8;color:#2b3d2e}
.auth-screen.hidden{display:none!important}
.auth-panel{width:min(455px,100%);padding:34px;background:#fffefa;border:1px solid #d9dfd1;border-radius:23px;box-shadow:0 20px 85px #18291724}
.auth-wordmark{font-size:32px;font-weight:850;letter-spacing:-1.3px}.auth-wordmark span{color:#7e956d}
.auth-kicker{text-transform:uppercase;letter-spacing:1.4px;font-size:11px;font-weight:800;color:#6c8365;margin:5px 0 15px}
.auth-panel h1{font-size:29px;letter-spacing:-.7px;margin:0 0 8px}.auth-panel p{color:#69786a;margin:0 0 20px}
.auth-panel label{font-weight:750;display:block;margin:14px 0 6px;font-size:13px}
.auth-panel .field{width:100%;background:#fbfcf9;color:#29382d;border:1px solid #cbd4c5}
.auth-panel .btn.primary{background:#667c56;color:#fff;border-color:#667c56}.auth-panel .login-submit{width:100%;margin-top:20px;min-height:46px}
.auth-note{font-size:12px;color:#6a6247;margin-top:12px;min-height:20px}.auth-small{font-size:11px;text-align:center;color:#7b8a76;margin-top:14px}
.shared-item{min-width:0}.shared-item>.shared-card{min-width:0}.shared-item .tile{width:100%}
.shared-foot{display:flex;justify-content:space-between;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-top:8px}
.shared-foot .btn{font-size:11px;padding:5px 7px}.tile-actions .share-quick{font-size:11px}
@media(max-width:720px){#signout-btn{padding:7px 10px;font-size:12px}.auth-panel{padding:25px}.tile-actions{flex-wrap:wrap}.tile-actions .share-quick{flex:1}}

/* L&L Flix 3.5 — calm, compact browse and purposeful navigation. */
.home-logo{appearance:none;text-align:left;border:0;background:transparent;color:var(--text);padding:5px 3px;cursor:pointer;letter-spacing:-.9px}
.home-logo:hover:where(html.ll-mouse-input *),.home-logo:focus-visible{color:var(--thyme-strong)}
.home-logo:focus-visible{outline:2px solid var(--thyme-strong);outline-offset:3px;border-radius:7px}
.bar{gap:13px}.bar nav{gap:2px;overflow-x:auto;min-width:0}.bar nav button{padding:8px 10px;font-size:12px}.header-actions .btn{white-space:nowrap;padding:8px 9px;font-size:12px}
.service-compact{margin:13px 0 6px;display:flex;align-items:center;gap:11px;flex-wrap:nowrap;max-width:410px}
.service-compact .label{flex:0 0 auto;text-transform:none;letter-spacing:0;font-size:12px}
.service-picker{display:flex;align-items:center;flex:1;position:relative;min-width:0;border:1px solid var(--edge);background:var(--surface);border-radius:11px;box-shadow:0 2px 8px rgba(0,0,0,.025)}
.service-picker img{height:24px;width:24px;object-fit:contain;margin-left:9px;border-radius:5px;background:#fff;padding:1px}
.service-picker .field{width:100%;min-width:0;border:0;background:transparent;color:var(--text);padding:8px 28px 8px 10px;font-size:12px;font-weight:700;appearance:none;cursor:pointer}
.service-chevron{position:absolute;right:11px;pointer-events:none;color:var(--muted)}
#service-strip.hidden{display:none!important}
.section{margin:25px 0}.section-head{margin-bottom:12px}
.hero{min-height:0!important;padding:24px clamp(18px,3.4vw,45px)!important}.hero h1{font-size:clamp(27px,3.5vw,42px)!important;margin:5px 0!important;line-height:1.08}.hero p{font-size:13px!important;margin:8px 0 12px!important}.hero .eyebrow{font-size:10px}.hero .search-form{max-width:580px}.hero .status{margin-top:7px}
.app-filters{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.app-filters .field{max-width:190px;font-size:12px;padding:8px 10px}
.view-summary{margin:3px 0 15px;color:var(--muted);font-size:12px}
.tab-pills{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 17px}
.tab-pills .btn.active{background:var(--chip-active);border-color:var(--thyme);color:var(--text)}
.shared-foot{justify-content:flex-start;flex-wrap:wrap}.shared-foot .btn{margin-left:auto}
.watched-flag{font-size:11px;font-weight:800;color:var(--thyme-strong);margin-top:5px}
.weekly-eyebrow{font-weight:750;font-size:12px;color:var(--thyme-strong);letter-spacing:.3px}
@media(max-width:720px){
 .bar{gap:7px}.bar nav{gap:2px}.bar nav button{padding:7px 9px;font-size:12px}
 .home-logo{font-size:19px}.service-compact{width:100%;max-width:100%;margin:9px 0 2px}
 .hero{padding:16px 17px!important}.hero h1{font-size:27px!important}.hero p{display:none}.hero .search-form{flex-direction:row}.hero .search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.hero .search-form .btn{width:auto!important;min-width:95px;padding:9px 11px;font-size:12px}.hero .search-form input{width:100%!important;min-width:0}
 .section{margin:19px 0}.app-filters .field{max-width:100%;flex:1 1 130px}
}

/* L&L Flix 3.5 — clear personal/shared statuses and comfortable mobile card controls. */
.tile{min-width:0;overflow:hidden}
.tile .art{isolation:isolate}
.tile .card-status-badges{position:absolute;z-index:3;left:8px;right:8px;bottom:8px;display:flex;flex-wrap:wrap;align-items:flex-end;gap:4px;pointer-events:none}
.card-badge{display:inline-flex;align-items:center;gap:3px;min-width:0;max-width:100%;border-radius:7px;border:1px solid rgba(255,255,255,.35);background:rgba(20,39,27,.91);box-shadow:0 2px 9px #0003;color:#fff;font-size:10px;line-height:1.3;font-weight:800;padding:4px 6px;white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
.card-badge.together{background:rgba(116,55,68,.94);color:#fff0ee}
.card-badge.both{background:rgba(93,76,35,.95);color:#fff5d5}
.card-badge.watched{background:rgba(49,97,67,.96);color:#edfff0}
.tile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px;min-width:0}
.tile-actions button,.tile-actions a{display:flex;justify-content:center;align-items:center;min-width:0;max-width:100%;width:100%;min-height:34px;white-space:normal;text-align:center;overflow-wrap:anywhere;word-break:normal;line-height:1.23;font-size:11px;padding:7px 5px;border-radius:9px}
.tile-actions .share-quick,.tile-actions .watch-action{grid-column:1 / -1;font-size:11px;min-height:34px;padding:7px 9px}
.tile-actions .share-quick.selected{background:var(--chip-active);border-color:var(--thyme);color:var(--text)}
.tile-actions .share-quick.completed{background:var(--soft-bg);border-color:var(--thyme);color:var(--text)}
.tile-actions .watch-action{background:var(--soft-bg)}
.card-status-label{margin-top:6px;font-size:10px;font-weight:750;color:var(--thyme-strong)}
.detail-completed{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid var(--edge);border-radius:9px;color:var(--thyme-strong);font-size:12px;font-weight:750}
.detail-share.selected{background:var(--chip-active);border-color:var(--thyme)}
@media(max-width:720px){
  .tile{padding:7px 7px 10px}
  .tile-actions{gap:6px}
  .tile-actions button,.tile-actions a{font-size:11px;min-height:33px;padding:7px 3px}
  .tile-actions .share-quick,.tile-actions .watch-action{padding:8px 6px}
  .card-badge{font-size:9px;padding:3px 5px}
}

/* L&L Flix 3.3 extended — accessible, compact two-row navigation */
.ll-header{position:relative;display:block;padding:9px 22px 7px;max-width:1420px}
.ll-top-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ll-brand{display:flex;align-items:center;gap:8px}
.lighting-icon,.menu-trigger{display:grid;place-items:center;min-width:34px;height:34px;padding:0 7px;border:1px solid var(--edge);background:var(--surface);color:var(--text);border-radius:11px;font-size:19px}
.menu-trigger{font-size:20px}
.lighting-pop,.utility-menu{position:absolute;right:22px;top:51px;z-index:30;min-width:210px;max-width:min(94vw,290px);border:1px solid var(--edge);background:var(--surface);box-shadow:0 9px 30px #0003;border-radius:13px;padding:12px}
.lighting-pop{left:22px;right:auto}.lighting-pop label{display:block;margin-bottom:7px;font-size:12px;color:var(--muted)}
.lighting-pop select{width:100%;padding:7px}.lighting-pop .lighting-hint{display:block;margin-top:6px;font-size:11px}
.utility-menu button{display:block;width:100%;text-align:left;border:0;padding:12px;border-radius:8px;background:none;color:var(--text);font:inherit;cursor:pointer}.utility-menu button:hover:where(html.ll-mouse-input *){background:var(--chip-active)}
.nav-groups{margin-top:6px;display:flex;flex-direction:column;gap:2px}
.nav-groups nav{flex:none;display:flex;gap:5px;align-items:center;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;white-space:nowrap}
.nav-groups nav button{flex-shrink:0;font-size:12px;padding:6px 12px;min-height:32px}
.nav-personal{border-top:1px solid var(--edge);padding-top:4px}
.nav-personal button{color:var(--muted)}
.discovery-focus{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:10px 0}
.discovery-focus label{font-size:12px;font-weight:750;color:var(--muted)}
.discovery-focus .field{flex:1;max-width:270px;min-width:155px;padding:8px}
.discovery-focus .filter-trigger{margin-left:auto}
.app-filters.hidden{display:none!important}
@media(max-width:720px){
 .ll-header{padding:8px 12px 6px;max-width:100%}
 .ll-top-row{min-height:39px}
 .logo{font-size:20px}
 .nav-groups{gap:2px}
 .nav-groups nav{order:initial;flex:none;width:100%;padding-bottom:2px;flex-wrap:nowrap;scrollbar-width:none}
 .nav-groups nav::-webkit-scrollbar{display:none}
 .nav-groups nav button{font-size:12px;padding:6px 11px}
 .utility-menu{right:12px;top:48px}.lighting-pop{left:12px;top:48px}
 .hero{padding:15px 16px;min-height:0}
 .hero h1{font-size:clamp(23px,5vw,29px);letter-spacing:-.7px;line-height:1.13}
 .hero p,.hero .eyebrow{display:none}
 .hero .search-form{flex-direction:row;align-items:stretch;gap:6px}
 .hero .search-form input{font-size:13px;width:100%;padding:9px}
 .hero .search-form button{font-size:12px;white-space:nowrap;padding:7px 10px}
 .hero .status{font-size:10px;line-height:1.2}
 .service-compact{margin:8px 0}
 .section{margin:18px 0}
 .discovery-focus{gap:6px}
 .discovery-focus label{flex:0 0 100%}
 .discovery-focus .field{min-width:0}
}
.trailer-dialog{padding:15px;max-width:850px}
.trailer-dialog h2{font-size:17px;margin:0 34px 12px 0}
.trailer-minimal-footer{display:flex;justify-content:flex-end;margin-top:8px}
.trailer-minimal-footer a{font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:2px}
.trailer-minimal-footer a:hover:where(html.ll-mouse-input *){color:var(--text)}
@media(max-width:720px){.trailer-dialog{padding:12px}.trailer-dialog h2{font-size:15px}}

/* L&L Flix 3.5 — paired poster actions, self-contained shared cards, aligned header. */
.ll-brand{min-width:0}.header-tools{display:flex;gap:8px;align-items:center;margin-left:auto}
.lighting-pop{left:auto;right:74px;top:51px}
.utility-menu{padding:9px;min-width:190px}
.utility-menu button{display:flex;align-items:center;width:100%;min-height:44px;margin:0;padding:11px 13px;font-size:14px;line-height:20px;font-weight:650;text-align:left;border:1px solid transparent;border-radius:9px}
.utility-menu button+button{margin-top:3px}
.poster-controls{position:absolute;z-index:5;right:7px;top:7px;display:flex;gap:6px;align-items:center}
.poster-controls .poster-icon{position:static;display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;padding:0;border:1px solid rgba(255,255,255,.66);border-radius:50%;background:rgba(16,35,23,.82);color:#fff;box-shadow:0 2px 9px #0004;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:22px;line-height:1;cursor:pointer}
.poster-controls .poster-icon:hover:where(html.ll-mouse-input *){background:rgba(34,58,40,.96);transform:translateY(-1px)}
.poster-controls .save.saved{background:rgba(93,123,76,.95);color:#fff}
.poster-controls .poster-heart.selected{background:rgba(126,58,72,.94);color:#fff3f4}
.poster-controls .poster-heart.finished{background:rgba(93,76,35,.9)}
.poster-controls .poster-icon:focus-visible{outline:3px solid #f3df9c;outline-offset:2px}
.card-badge.together{background:rgba(103,46,61,.70);border-color:rgba(255,232,234,.62);color:#fff;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.card-badge.both{background:rgba(87,73,38,.79);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.tile .card-status-badges{left:8px;right:8px;bottom:8px}
.tile-actions .watch-action{grid-column:1/-1}
.shared-grid{align-items:stretch}
.shared-grid>.tile.tile-shared{display:flex;flex-direction:column;min-width:0}
.tile-shared .shared-card-footer{margin-top:auto;padding-top:10px;border-top:1px solid var(--edge);display:flex;flex-direction:column;gap:9px}
.shared-card-pills{display:flex;flex-wrap:wrap;gap:5px;min-width:0}
.shared-info-pill{display:inline-flex;align-items:center;max-width:100%;min-width:0;border:1px solid var(--edge);border-radius:999px;padding:4px 8px;background:var(--soft-bg);color:var(--text);font-size:10px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.shared-info-pill.status{color:var(--thyme-strong)}
.shared-info-pill.added{font-weight:500;color:var(--muted)}
.shared-done-button{width:100%;min-height:36px;padding:8px 9px;border:1px solid var(--edge);border-radius:10px;background:var(--chip-active);color:var(--text);font-size:11px;font-weight:750;line-height:1.25;white-space:normal}
.shared-done-button:hover:where(html.ll-mouse-input *){border-color:var(--thyme);background:var(--item-hover)}
@media(max-width:720px){.lighting-pop{left:auto;right:58px;top:48px}.header-tools{gap:6px}.poster-controls{gap:5px;top:6px;right:6px}.poster-controls .poster-icon{width:33px;height:33px;flex-basis:33px;font-size:21px}.shared-info-pill{font-size:9px;padding:4px 6px}.shared-done-button{min-height:36px}}

/* L&L Flix 3.5 — one shared status on the poster; one compact action row. */
.tile-shared .shared-card-footer{
  margin-top:auto;padding-top:10px;border:0;display:flex;flex-direction:row;
  align-items:center;justify-content:space-between;gap:6px;min-width:0;
}
.shared-card-footer .shared-added{
  flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;color:var(--muted);font-size:11px;line-height:1.35;
}
.shared-card-footer .shared-done-button{
  flex:0 0 auto;width:auto;max-width:65%;min-height:32px;padding:6px 9px;
  border:1px solid var(--edge);border-radius:9px;background:var(--chip-active);
  color:var(--text);font-size:10.5px;font-weight:720;line-height:1.2;
  white-space:nowrap;
}
.shared-card-footer .shared-done-button.is-undo{
  border-color:transparent;background:transparent;color:var(--muted);
  font-weight:650;text-decoration:underline;text-underline-offset:2px;
}
.shared-card-footer .shared-done-button:hover:where(html.ll-mouse-input *){border-color:var(--thyme);background:var(--item-hover);color:var(--text)}
@media(max-width:720px){
  .tile-shared .shared-card-footer{gap:4px;padding-top:9px}
  .shared-card-footer .shared-added{font-size:10px}
  .shared-card-footer .shared-done-button{font-size:10px;min-height:32px;padding:6px 7px;max-width:67%}
}

/* L&L Flix 3.7 — My List retains saved Watched Together titles. */
.poster-controls .poster-icon{display:flex;align-items:center;justify-content:center;font-family:inherit;line-height:1;}
.poster-control-svg{display:block;width:20px;height:20px;flex:0 0 20px;overflow:visible;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.25;pointer-events:none;}
.poster-control-svg.poster-check{width:19px;height:19px;flex-basis:19px;stroke-width:1.9;}
.poster-controls .save.saved{background:rgba(94,128,84,.87);border-color:rgba(235,248,220,.77);box-shadow:0 2px 11px rgba(22,43,26,.20),inset 0 1px 1px rgba(255,255,255,.13)}
html[data-lighting="evening"] .poster-controls .save.saved{background:rgba(100,135,91,.9);}

/* L&L Flix 3.8 — Mobile polish: optical icon alignment, shared footer, navigation and filters. */
.poster-controls{gap:7px;align-items:center}
.poster-controls .poster-icon{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;flex:0 0 40px;
  padding:0;border-radius:50%;line-height:1;
}
.poster-controls .poster-control-svg{width:20px;height:20px;flex:none;display:block;margin:0}
.poster-controls .poster-heart-svg{
  width:21px;height:21px;stroke-width:1.95;
  transform:translateY(1px); /* heart path's optical center is slightly high */
}
.poster-controls .poster-heart.selected .poster-heart-svg{fill:currentColor;stroke-width:1.6}
.poster-controls .poster-heart:not(.selected) .poster-heart-svg{fill:none}
.poster-controls .poster-check{stroke-width:1.85}
.poster-controls .poster-plus{stroke-width:2.25}
/* Keep the shared person's name fully legible on two-column iPhone cards. */
.tile-shared .shared-card-footer{
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  gap:7px;margin-top:auto;padding-top:9px;border:0;
}
.shared-card-footer .shared-added{
  display:block;width:100%;flex:none;min-width:0;
  white-space:normal;overflow:visible;text-overflow:clip;
  overflow-wrap:anywhere;color:var(--muted);font-size:11px;line-height:1.35;
}
.shared-card-footer .shared-done-button{
  display:flex;align-items:center;justify-content:center;align-self:stretch;
  width:100%;max-width:none;min-height:35px;flex:none;
  padding:8px 9px;border-radius:10px;white-space:normal;
  font-size:11px;line-height:1.3;
}
.shared-card-footer .shared-done-button.is-undo{
  align-self:flex-end;width:auto;max-width:100%;min-height:30px;padding:4px 8px;
}
/* Compact account menu: matching icon and label alignment on both rows. */
.utility-menu{min-width:174px;max-width:220px;padding:6px;border-radius:12px}
.utility-menu button{
  display:flex;align-items:center;gap:11px;
  min-height:41px;width:100%;padding:9px 11px;margin:0;
  font-size:13px;font-weight:650;line-height:20px;text-align:left;
}
.utility-menu button+button{margin-top:1px}
.utility-menu button svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.utility-menu button span{display:block;flex:1}
/* Subtle scroll hint for the two independent navigation rows. */
.nav-groups nav[data-more-right="true"][data-more-left="false"]{
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 25px),transparent 100%);
  mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 25px),transparent 100%);
}
.nav-groups nav[data-more-left="true"][data-more-right="false"]{
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 25px,#000 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 25px,#000 100%);
}
.nav-groups nav[data-more-left="true"][data-more-right="true"]{
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 25px,#000 calc(100% - 25px),transparent 100%);
  mask-image:linear-gradient(to right,transparent 0%,#000 25px,#000 calc(100% - 25px),transparent 100%);
}
@media(max-width:720px){
 .poster-controls{gap:6px;top:7px;right:7px}
 .poster-controls .poster-icon{width:39px;height:39px;flex-basis:39px}
 .poster-controls .poster-heart-svg{width:20px;height:20px}
 .tile-shared .shared-card-footer{gap:6px;padding-top:8px}
 .shared-card-footer .shared-added{font-size:10.5px}
 .shared-card-footer .shared-done-button{font-size:10.5px;min-height:34px;padding:7px 5px}
 .utility-menu{right:12px;top:48px}
 /* One-line streamlined selectors; keep labels accessible to screen readers. */
 .service-compact{margin:7px 0 4px;gap:0;width:100%;max-width:100%}
 .service-compact>.label{
   position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
   clip:rect(0,0,0,0);white-space:nowrap;border:0;
 }
 .service-picker{width:100%;min-height:41px}
 .service-picker .field{font-size:13px;min-height:40px;padding:9px 30px 9px 12px}
 .discovery-focus{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:7px 0 12px;min-width:0}
 .discovery-focus label{
   position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
   clip:rect(0,0,0,0);white-space:nowrap;border:0;
 }
 .discovery-focus .field{flex:1 1 0;min-width:0;max-width:none;min-height:40px;padding:8px 9px;font-size:12px}
 .discovery-focus .filter-trigger{flex:0 0 auto;margin-left:0;min-height:40px;padding:8px 12px;font-size:12px}
 .section-head .sub{line-height:1.4}
 .nav-groups nav{scroll-padding-inline:10px;-webkit-overflow-scrolling:touch}
 .nav-groups nav button{min-height:36px}
}
@media(prefers-reduced-motion:reduce){.poster-controls .poster-icon{transition:none}}

/* L&L Flix 3.9 — Sunlit, content-first Discover and clean art. */
.welcome-panel{position:relative;overflow:hidden;display:flex;align-items:center;min-height:0;justify-content:space-between;gap:15px;margin:3px 0 10px;padding:17px 25px;border:1px solid var(--edge);border-radius:20px;background:linear-gradient(110deg,var(--hero-left),var(--hero-mid) 68%,var(--hero-right));box-shadow:0 9px 25px var(--shadow)}
.welcome-copy{position:relative;z-index:1;min-width:0}
.welcome-panel .eyebrow{color:var(--thyme-strong);letter-spacing:1.6px;font-size:9px}
.welcome-panel h1{font-size:clamp(22px,3vw,34px);line-height:1.15;letter-spacing:-.7px;margin:3px 0;color:var(--text)}
.welcome-panel p{font-size:14px;line-height:1.25;color:var(--muted);margin:3px 0 0}
.welcome-sparkle{font-size:63px;color:var(--thyme);opacity:.24;margin:0 30px}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#search-area .dedicated-search{display:flex;flex-direction:row;max-width:790px;margin:10px 0 24px;gap:10px}
#search-area .dedicated-search input{flex:1;min-width:0}
#search-area .dedicated-search button{flex-shrink:0}
#service-strip{margin-top:8px;margin-bottom:5px}
.wrap{padding-top:14px}
.section{margin-top:17px}
/* Posters are always completely unobstructed, even on hover. */
.tile{display:flex;flex-direction:column;min-width:0}
.tile .art{display:block;isolation:isolate}
.tile .art img,.tile .poster-open img{width:100%;height:100%;object-fit:cover}
.tile:hover:where(html.ll-mouse-input *) .art img,.tile:hover:where(html.ll-mouse-input *) .poster-open img{transform:none}
.card-quick-actions{display:grid;grid-template-columns:36px 36px minmax(0,1fr);align-items:center;gap:7px;margin-top:10px}
.card-quick-actions button{font-family:inherit;cursor:pointer;min-width:0;height:36px;border:1px solid var(--edge);border-radius:10px;background:var(--surface);color:var(--text);box-shadow:0 1px 3px var(--shadow);display:flex;align-items:center;justify-content:center;gap:6px;line-height:1.2}
.card-quick-actions button:hover:where(html.ll-mouse-input *){background:var(--item-hover);border-color:var(--thyme)}
.card-quick-actions .card-icon-action{width:36px;padding:0;flex-shrink:0}
.card-quick-actions .card-icon-action svg{display:block;margin:0;width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transform:none}
.card-quick-actions .card-heart-action svg{transform:translateY(1px)}
.card-quick-actions .card-icon-action.saved{background:var(--chip-active);color:var(--thyme-strong);border-color:var(--thyme)}
.card-quick-actions .card-icon-action.selected{background:#875361;color:white;border-color:#875361}
.card-quick-actions .card-icon-action.selected svg{fill:currentColor;stroke:currentColor}
.card-quick-actions .card-icon-action.finished{background:#806C45;border-color:#806C45;color:white}
.card-quick-actions .card-trailer-action{padding:0 8px;font-size:12px;font-weight:700;white-space:nowrap}
.card-state-line{font-size:11px;color:var(--muted);line-height:1.4;margin:8px 0 0;overflow-wrap:anywhere}
.card-state-line .card-added{display:block;font-size:10.5px;line-height:1.35;margin-top:2px;color:var(--muted)}
.card-action-footer{display:block;margin-top:auto;padding-top:8px}
.card-watched-action{display:flex;align-items:center;justify-content:center;min-height:34px;width:100%;padding:7px 8px;border:1px solid var(--edge);border-radius:9px;background:var(--chip-active);color:var(--text);font-size:11px;font-weight:700;line-height:1.3;white-space:normal}
.card-watched-action.is-undo{width:auto;margin-left:auto;background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:2px;color:var(--muted)}
.card-watched-action:hover:where(html.ll-mouse-input *){border-color:var(--thyme);background:var(--item-hover)}
.tile .card-status-badges,.tile .poster-controls{display:none!important}
/* Header + discovery controls. */
.popular-section .controls{align-items:center;gap:8px}
.popular-section .controls select{min-height:38px;max-width:215px}
.popularity-disclaimer{font-size:11px;color:var(--muted);margin:-5px 0 15px}
/* Details — concise actions, intuitive streaming options, unified activity. */
.modal.wide{width:min(1000px,100%)}
.detail-main{min-width:0}
.detail-scores{gap:6px;flex-wrap:wrap}
.detail-scores .tmdb-status,.detail-scores .imdb-status{display:inline-flex;align-items:center;min-height:30px;border:1px solid var(--edge);border-radius:8px;padding:5px 9px;background:var(--soft-bg);color:var(--text);font-size:12px}
.detail-quick-links{margin:11px 0 9px;gap:6px}
.detail-quick-links .btn{font-size:12px;min-height:34px;padding:7px 10px}
.detail-quick-links .btn:not(.primary){box-shadow:none}
.detail-genres{margin:7px 0}
.detail-description{margin:12px 0;font-size:14px;line-height:1.48}
.availability-details{margin:13px 0 12px!important}
.detail-bottom-bar{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:12px 14px;margin:12px 0 10px}
.detail-bottom-bar h3.activity-title{font-size:15px;line-height:1.2;margin:0 0 3px}
.detail-bottom-bar .my-rating-block{margin:0;width:100%}
.detail-bottom-bar .rating-heading{font-size:12px}
.activity-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:7px}
.activity-buttons .btn,.activity-buttons .detail-completed{font-size:12px;min-height:34px}
.activity-buttons .btn{padding:7px 12px}
.cast-grid{scrollbar-width:none;padding-bottom:8px;grid-auto-columns:110px;gap:12px}
.cast-grid::-webkit-scrollbar{display:none}
.cast-section{margin:14px 0}
.cast-heading{margin-bottom:8px}
.cast-heading .sub{font-size:11px}
/* Responsive grid handles narrow landscape screens without tiny columns. */
@media(min-width:721px) and (max-height:520px){.modal{max-height:96dvh}.modal-shade{padding:6px}.ll-header{position:relative}.grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}}
@media(max-width:720px){
 .welcome-panel{padding:15px 16px;gap:4px;border-radius:16px;margin:1px 0 7px}
 .welcome-panel .eyebrow{font-size:9px}
 .welcome-panel h1{font-size:clamp(21px,5.5vw,27px)}
 .welcome-panel p{font-size:12px}
 .welcome-sparkle{font-size:36px;margin-right:3px}
 .wrap{padding-top:10px}
 .section{margin-top:14px}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .tile{padding:7px}
 .tile h3{font-size:13px}
 .card-quick-actions{grid-template-columns:34px 34px minmax(0,1fr);gap:5px;margin-top:8px}
 .card-quick-actions button{height:34px;min-height:34px}
 .card-quick-actions .card-icon-action{width:34px}
 .card-quick-actions .card-trailer-action{font-size:11px;padding:0 4px}
 .card-state-line{font-size:10.5px}
 .card-state-line .card-added{font-size:10.5px}
 .card-watched-action{min-height:35px;font-size:10.5px}
 .popular-section .controls{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .popular-section .controls select{width:100%;max-width:100%;min-width:0}
 .popular-section .controls button{grid-column:1/-1}
 .detail-bottom-bar{padding:10px}
 .detail-top{grid-template-columns:86px minmax(0,1fr);gap:11px}
 .detail-quick-links .btn{font-size:11px}
 .detail-scores .tmdb-status,.detail-scores .imdb-status{font-size:11px;min-height:28px}
 .star-row .personal-star{width:32px;height:38px;font-size:33px}
 .activity-buttons{gap:6px}
 .activity-buttons .btn{font-size:11px}
 #search-area .dedicated-search{margin:10px 0 18px;gap:6px}
 #search-area .dedicated-search button{padding:9px 12px;font-size:12px}
}
@media(max-width:380px){.card-quick-actions{grid-template-columns:32px 32px minmax(0,1fr)}.card-quick-actions button{height:32px}.card-quick-actions .card-icon-action{width:32px}.welcome-sparkle{display:none}.detail-top{grid-template-columns:75px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.poster-open img{transition:none}}


/* L&L Flix 3.9.1 — compact welcome and gentle poster status labels */
.welcome-panel{
  padding:11px 17px;
  min-height:84px;
  height:auto;
  gap:16px;
  margin:2px 0 8px;
  border-radius:17px;
  box-shadow:0 5px 15px var(--shadow);
}
.welcome-panel .eyebrow{font-size:9px;letter-spacing:1.2px}
.welcome-panel h1{font-size:clamp(23px,2.35vw,30px);margin:1px 0;line-height:1.13}
.welcome-panel p{font-size:13px;margin:2px 0 0}
.welcome-sparkle{display:none}
.welcome-shortcuts{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}
.welcome-shortcut{
  display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  border:1px solid var(--edge);border-radius:999px;background:var(--surface);
  color:var(--text);padding:7px 10px;font-size:12px;font-weight:650;
  box-shadow:0 1px 4px var(--shadow);cursor:pointer;
}
.welcome-shortcut:hover:where(html.ll-mouse-input *){background:var(--item-hover);border-color:var(--thyme)}
.welcome-shortcut strong{font-size:11px;display:inline-flex;align-items:center;justify-content:center;
  min-width:21px;min-height:21px;padding:1px 5px;border-radius:999px;background:var(--chip-active);color:var(--thyme-strong)}
/* Status is non-interactive, contained to a small bottom-left strip. Poster tap still opens Details. */
.tile .art .card-poster-labels{
 position:absolute;z-index:2;left:7px;right:7px;bottom:7px;display:flex;
 align-items:flex-end;flex-wrap:wrap;gap:4px;max-width:calc(100% - 14px);
 pointer-events:none;
}
.tile .art .card-poster-pill{
 display:inline-flex;align-items:center;justify-content:center;max-width:100%;
 padding:3px 6px;border-radius:7px;border:1px solid rgba(255,255,255,.48);
 background:rgba(24,47,36,.64);color:#fffdf7;font-size:10px;line-height:1.18;
 font-weight:750;letter-spacing:0;white-space:nowrap;
 text-shadow:0 1px 1px rgba(0,0,0,.4);box-shadow:0 1px 4px rgba(0,0,0,.16);
 backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
}
.tile .art .card-poster-pill.together{background:rgba(106,55,68,.67)}
.tile .art .card-poster-pill.complete{background:rgba(86,74,44,.73)}
.tile .art .card-poster-pill.personal{background:rgba(35,70,49,.69)}
.card-state-line{margin-top:5px}
.card-state-line .card-added{margin:0}
@media(max-width:720px){
 .welcome-panel{padding:11px 13px;min-height:0;gap:8px;flex-wrap:wrap;border-radius:15px;margin-bottom:6px}
 .welcome-panel h1{font-size:clamp(21px,5.1vw,26px)}
 .welcome-panel p{font-size:12px}
 .welcome-shortcuts{width:100%;justify-content:flex-start;gap:6px}
 .welcome-shortcut{font-size:11px;padding:5px 9px;gap:6px}
 .welcome-shortcut strong{font-size:10px;min-height:19px;min-width:19px}
 .tile .art .card-poster-labels{left:5px;right:5px;bottom:5px;gap:3px;max-width:calc(100% - 10px)}
 .tile .art .card-poster-pill{font-size:9px;padding:2px 5px;border-radius:6px}
}
@media(min-width:721px) and (max-width:1050px){
 .welcome-panel{flex-wrap:wrap}
 .welcome-shortcuts{justify-content:flex-start}
}
@media(max-width:340px){.tile .art .card-poster-pill{font-size:8.5px;padding:2px 4px}}


/* L&L Flix 3.9.5 — accessible compact header, larger poster, efficient activity. */
.ll-header{padding:9px 22px 6px;max-width:1520px}
.ll-top-row{gap:18px;min-width:0}
.home-logo{display:inline-flex;align-items:center;gap:10px;font-size:clamp(25px,2vw,32px);font-weight:850;letter-spacing:-1.25px;line-height:1.12}
.home-logo .brand-bucket{width:44px;height:44px;object-fit:contain;flex:none;filter:drop-shadow(0 1px 1px rgba(0,0,0,.09))}
.header-greeting{display:flex;flex-direction:column;justify-content:center;gap:0;min-width:0;flex:1;margin:0 0 0 clamp(5px,3.5vw,60px);line-height:1.35}
.header-greeting strong{font-weight:800;font-size:clamp(14px,1.2vw,18px);white-space:nowrap}
.header-greeting span{font-size:12px;color:var(--muted);white-space:nowrap}
.header-tools{gap:8px;margin-left:auto;flex:none}
.taste-icon,.lighting-icon,.menu-trigger{width:40px;height:40px;min-width:40px;padding:0;display:grid;place-items:center;border:1px solid var(--edge);background:var(--surface);color:var(--text);border-radius:11px}
.taste-icon:hover:where(html.ll-mouse-input *),.lighting-icon:hover:where(html.ll-mouse-input *),.menu-trigger:hover:where(html.ll-mouse-input *){background:var(--chip-active);border-color:var(--thyme)}
.taste-icon svg{width:20px;height:20px}
.nav-groups{margin-top:5px}
.nav-personal{gap:4px}
.nav-personal button{font-size:12px}
/* The header greeting replaces the large Discover welcome. */
.welcome-panel,.welcome-shortcuts{display:none!important}
/* Desktop detail posters should use the available horizontal space. */
.modal.wide{width:min(1180px,100%);padding:23px 25px;max-height:min(94dvh,1050px)}
.modal.wide .detail-top{grid-template-columns:clamp(190px,19vw,250px) minmax(0,1fr);gap:22px}
.modal.wide .detail-art{display:block;width:100%;height:auto;aspect-ratio:2/3;border-radius:14px}
.modal.wide .detail-main{padding-right:32px}
.modal.wide .detail-main h2{font-size:clamp(26px,2.7vw,35px);line-height:1.15}
.detail-description{margin:10px 0;font-size:14px;line-height:1.42}
.availability-details{margin:8px 0 10px!important}
/* Compact activity: one soft row, rating on left, actions on right. */
.detail-bottom-bar{display:grid;grid-template-columns:minmax(255px,.8fr) minmax(0,1.2fr);grid-template-areas:'heading heading' 'rating actions';column-gap:12px;row-gap:5px;align-items:center;padding:9px 13px;margin:10px 0 12px}
.detail-bottom-bar h3.activity-title{grid-area:heading;margin:0;font-size:14px}
.detail-bottom-bar .my-rating-block{grid-area:rating;width:auto;min-width:0;margin:0}
.detail-bottom-bar .rating-heading{margin:0 0 2px;font-size:11px}
.detail-bottom-bar .personal-rating{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.detail-bottom-bar .personal-star{width:28px;height:30px;font-size:27px}
.detail-bottom-bar .activity-buttons{grid-area:actions;display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:0;min-width:0}
.detail-bottom-bar .activity-buttons .btn{padding:7px 9px;min-height:32px;line-height:1.25;font-size:11px}
.detail-shared-complete{background:var(--chip-active)!important;border-color:var(--thyme)!important}
.detail-shared-complete.is-undo{background:transparent!important;color:var(--muted)}
.cast-section{margin:12px 0}
@media(max-width:920px){
 .header-greeting{margin-left:10px}
 .modal.wide .detail-top{grid-template-columns:clamp(142px,22vw,205px) minmax(0,1fr);gap:14px}
 .detail-bottom-bar{grid-template-columns:1fr;grid-template-areas:'heading' 'rating' 'actions'}
 .detail-bottom-bar .activity-buttons{justify-content:flex-start}
}
@media(max-width:720px){
 .ll-header{padding:8px 12px 5px}
 .ll-top-row{flex-wrap:wrap;column-gap:8px;row-gap:0}
 .home-logo{font-size:25px;gap:6px}
 .home-logo .brand-bucket{width:35px;height:35px}
 .header-tools{order:2;gap:5px}
 .taste-icon,.lighting-icon,.menu-trigger{width:36px;height:36px;min-width:36px}
 .header-greeting{order:3;flex:1 0 100%;margin:1px 0 1px;padding-left:4px;display:flex;flex-direction:row;align-items:center;gap:6px;justify-content:flex-start;flex-wrap:wrap}
 .header-greeting strong{font-size:12px}
 .header-greeting span{font-size:11px}
 .nav-groups{margin-top:3px}
 .modal.wide{width:100%;padding:14px 12px;max-height:94dvh}
 .modal.wide .detail-top{grid-template-columns:clamp(96px,29vw,140px) minmax(0,1fr);gap:11px}
 .modal.wide .detail-main{padding-right:18px}
 .modal.wide .detail-main h2{font-size:clamp(22px,5vw,29px)}
 .detail-bottom-bar{padding:9px}
 .detail-bottom-bar .activity-buttons .btn{flex:1 1 120px;white-space:normal}
}
@media(min-width:721px) and (max-height:540px){
 .modal.wide{max-height:96dvh;padding:11px 16px}
 .modal.wide .detail-top{grid-template-columns:120px minmax(0,1fr)}
 .modal.wide .detail-art{max-height:230px;object-fit:contain}
 .modal.wide .detail-main h2{font-size:23px}
}
@media(max-width:375px){
 .header-greeting span{font-size:10.5px}
 .home-logo{font-size:22px}
 .home-logo .brand-bucket{width:31px;height:31px}
 .taste-icon,.lighting-icon,.menu-trigger{width:33px;height:33px;min-width:33px}
 .modal.wide .detail-top{grid-template-columns:92px minmax(0,1fr)}
}


/* L&L Flix 3.9.6 — responsive large-poster detail sheet. */
.home-logo{gap:7px;letter-spacing:-1.1px}
.home-logo b{margin-left:.22em}
.home-logo .brand-bucket{background:transparent!important;border:0!important;filter:none;object-fit:contain}
.ll-top-row{gap:12px}
.header-greeting{margin:0 7px 0 auto;display:flex;flex:1;align-items:center;justify-content:flex-end;flex-direction:row;gap:5px;text-align:right;white-space:nowrap;min-width:0}
.header-greeting strong{font-size:clamp(12px,1.2vw,17px)}
.header-greeting span:not(.greeting-divider){font-size:clamp(11px,1vw,14px)}
.header-greeting .greeting-divider{color:var(--muted)}
.header-tools{margin-left:0}
/* No diagnostic text in Discover's visible page. Status remains accessible to screen readers. */
#status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.modal-shade:has(.modal.wide){padding:clamp(5px,1.5vw,16px)}
.modal.wide{width:min(1350px,100%);height:min(92dvh,960px);max-height:92dvh;padding:17px 18px;overflow:hidden;display:flex;flex-direction:column;border-radius:23px}
.modal.wide>.close{position:absolute;top:11px;right:11px;width:35px;height:35px;z-index:5;background:var(--soft-bg);border:1px solid var(--edge);color:var(--text)}
.modal.wide>.close:hover:where(html.ll-mouse-input *){background:var(--chip-active)}
.detail-layout{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:clamp(16px,2.2vw,30px);min-height:0;height:100%;width:100%;align-items:start}
.detail-layout>.detail-poster-wrap{min-width:0;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0 0 0 2px}
.modal.wide .detail-art{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:2/3;border-radius:15px;box-shadow:0 3px 16px rgba(30,42,30,.12)}
.modal.wide .detail-info-panel{min-width:0;min-height:0;height:100%;overflow-x:hidden;overflow-y:auto;padding:2px 17px 12px 1px;scrollbar-width:thin;scrollbar-color:var(--edge) transparent;overscroll-behavior:contain}
.modal.wide .detail-info-panel::-webkit-scrollbar{width:6px}
.modal.wide .detail-info-panel::-webkit-scrollbar-thumb{background:var(--edge);border-radius:6px}
.modal.wide .detail-info-panel h2{font-size:clamp(29px,2.6vw,39px);line-height:1.1;margin:6px 37px 7px 0;letter-spacing:-.9px}
.modal.wide .detail-quick-links{margin:10px 0;gap:6px;flex-wrap:wrap}
.modal.wide .detail-quick-links .btn{font-size:12px;padding:8px 11px}
.modal.wide .detail-genres{margin:8px 0 5px}
.modal.wide .detail-description{max-width:none;margin:10px 0 8px;line-height:1.5;font-size:13px}
.modal.wide .availability-details{margin:9px 0!important;padding:7px 0 0}
.modal.wide .detail-bottom-bar{padding:10px 12px;margin:11px 0 12px;display:flex;flex-direction:column;gap:6px;align-items:stretch;border-radius:12px}
.modal.wide .detail-bottom-bar h3.activity-title{font-size:14px;margin:0}
.modal.wide .detail-bottom-bar .my-rating-block{width:100%;margin:0}
.modal.wide .detail-bottom-bar .rating-heading{margin:0 0 3px}
.modal.wide .detail-bottom-bar .personal-rating{gap:5px;flex-wrap:wrap}
.modal.wide .detail-bottom-bar .personal-star{height:31px;width:28px;font-size:28px}
.modal.wide .detail-bottom-bar .activity-buttons{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:3px 0 0;flex-wrap:wrap}
.modal.wide .detail-bottom-bar .activity-buttons .btn{margin:0;font-size:11px;line-height:1.3;padding:7px 9px;min-height:34px;border-radius:9px}
/* Not yet watched = neutral outline; only confirmed watched state gets a green badge. */
.modal.wide .detail-bottom-bar .detail-shared-complete:not(.is-undo){background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--edge)!important}
.modal.wide .detail-bottom-bar .detail-shared-complete.is-undo{background:transparent!important;color:var(--muted)!important;border-color:transparent!important;text-decoration:underline;text-underline-offset:2px}
.shared-done-label{display:inline-flex;align-items:center;border-radius:999px;font-size:11px;font-weight:750;line-height:1.2;padding:6px 9px;color:var(--chip-selected-text);background:var(--chip-active);border:1px solid var(--edge)}
.modal.wide .cast-section{margin:9px 0 0}
.modal.wide .cast-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}
.modal.wide .cast-heading h3{font-size:14px;margin:0}
.cast-nav{display:flex;gap:5px;align-items:center}
.cast-nav-btn{height:29px;width:29px;border-radius:9px;border:1px solid var(--edge);background:var(--surface);color:var(--text);font-size:22px;line-height:1;display:grid;place-items:center;padding:0}
.cast-nav-btn:hover:where(html.ll-mouse-input *){background:var(--chip-active)}
.modal.wide .cast-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 3 * 8px) / 4);gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:1px 1px 7px;touch-action:pan-x pan-y}
.modal.wide .cast-grid::-webkit-scrollbar{display:none}
.modal.wide .cast-person{min-width:0;scroll-snap-align:start}
.modal.wide .cast-photo{display:block;width:100%;max-width:100%;height:auto;max-height:133px;aspect-ratio:3/4;object-fit:cover;border-radius:9px}
.modal.wide .cast-name{font-size:11px;font-weight:750;line-height:1.2;margin:4px 0 1px}
.modal.wide .cast-role{font-size:10px;line-height:1.25;color:var(--muted)}
@media(max-width:930px){
 .modal.wide{height:min(94dvh,900px);max-height:94dvh}
 .detail-layout{grid-template-columns:minmax(0,41fr) minmax(0,59fr);gap:13px}
 .modal.wide .detail-info-panel{padding-right:7px}
 .modal.wide .detail-info-panel h2{font-size:clamp(24px,3vw,32px)}
}
@media(max-width:600px){
 .ll-header{padding:8px 11px 5px}
 .home-logo{gap:5px;font-size:24px}
 .home-logo .brand-bucket{width:33px;height:33px}
 .header-greeting{order:3;flex:1 0 100%;margin:2px 0 0;display:flex;justify-content:flex-start;gap:4px;text-align:left;white-space:normal}
 .header-greeting strong{font-size:11.5px;white-space:nowrap}
 .header-greeting span:not(.greeting-divider){font-size:11px;white-space:nowrap}
 .header-tools{order:2;margin-left:auto;gap:4px}
 .modal-shade:has(.modal.wide){padding:4px}
 .modal.wide{height:auto;max-height:96dvh;width:100%;padding:13px 11px;overflow-y:auto;border-radius:17px}
 .detail-layout{display:block;height:auto;min-height:0}
 .detail-layout>.detail-poster-wrap{display:block;float:left;clear:left;width:39%;height:auto;max-height:none;margin:0 11px 9px 0;padding:0;overflow:visible}
 .modal.wide .detail-art{width:100%;max-width:100%;max-height:none;height:auto;box-shadow:none;border-radius:10px}
 .modal.wide .detail-info-panel{display:contents;overflow:visible;height:auto;padding:0}
 .modal.wide .detail-info-panel h2{font-size:clamp(22px,5vw,29px);margin:5px 25px 7px 0}
 .modal.wide .detail-intro{min-height:0}
 .modal.wide .detail-scores{gap:4px}
 .modal.wide .detail-quick-links{gap:5px}
 .modal.wide .detail-quick-links .btn{font-size:10px;min-height:30px;padding:6px 7px}
 .modal.wide .detail-description{font-size:12px;line-height:1.45}
 .modal.wide .availability-details{clear:both;margin:11px 0!important}
 .modal.wide .detail-bottom-bar{clear:both;margin:10px 0;padding:9px}
 .modal.wide .cast-section{clear:both}
 .modal.wide .cast-grid{grid-auto-columns:calc((100% - 2 * 9px)/3);gap:9px}
 .modal.wide .cast-photo{max-height:145px}
 .modal.wide .detail-bottom-bar .activity-buttons .btn{flex:1 1 128px;min-width:0}
 .cast-nav-btn{height:28px;width:28px}
}
@media(min-width:601px) and (max-height:580px){
 .modal.wide{height:96dvh;max-height:96dvh;padding:10px 12px}
 .detail-layout{grid-template-columns:minmax(0,37fr) minmax(0,63fr);gap:12px}
 .modal.wide .detail-art{max-height:100%}
 .modal.wide .detail-info-panel h2{font-size:23px}
}
@media(max-width:365px){
 .header-greeting span:not(.greeting-divider){font-size:10px}
 .modal.wide .detail-quick-links .btn{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.modal.wide .cast-grid{scroll-behavior:auto}}


/* L&L Flix 3.9.7 — smaller details, search, consolidated history and subtle footer */
.home-logo{font-size:clamp(23px,1.85vw,29px);letter-spacing:-1.55px;gap:6px;word-spacing:-.06em}
.home-logo b{margin-left:0!important;letter-spacing:-1.45px}
.home-logo .logo-amp{letter-spacing:-1.55px}
.header-greeting .greeting-divider{display:none}
.header-greeting{gap:5px}
.modal.wide{width:min(1120px,100%);height:min(83dvh,760px);max-height:83dvh;padding:14px 16px}
.detail-layout{grid-template-columns:minmax(0,43fr) minmax(0,57fr);gap:17px}
.modal.wide .detail-info-panel{padding-right:9px}
.modal.wide .detail-info-panel h2{font-size:clamp(24px,2.3vw,34px);margin:5px 35px 6px 0}
.modal.wide .detail-description{font-size:12.5px;line-height:1.47;margin:9px 0}
.modal.wide .detail-bottom-bar{padding:8px 10px;gap:4px;margin:8px 0;background:transparent}
.modal.wide .detail-bottom-bar .my-rating-block{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.modal.wide .detail-bottom-bar .rating-heading{margin:0;white-space:nowrap;font-size:12px}
.modal.wide .detail-bottom-bar .personal-rating{flex:1;gap:8px;align-items:center}
.modal.wide .detail-bottom-bar .personal-star{width:26px;height:29px;font-size:27px}
.modal.wide .detail-bottom-bar .activity-buttons{display:flex;flex-wrap:wrap;margin:2px 0 0;gap:5px}
.modal.wide .detail-bottom-bar .activity-buttons .btn{font-size:10.5px;padding:6px 8px;min-height:30px}
.star-full{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer}
.star-full:hover:where(html.ll-mouse-input *){background:rgba(127,146,91,.12)}
.star-full:focus-visible{outline:2px solid var(--thyme-strong);border-radius:6px}
.content-rating-badge{display:inline-flex;align-items:center;padding:5px 8px;min-height:30px;border:1px solid var(--thyme);border-radius:8px;font-size:12px;font-weight:850;color:var(--thyme-strong);background:var(--chip-active);white-space:nowrap}
.watched-toggle{display:inline-flex;align-items:center;flex-wrap:wrap;gap:3px;margin:0 0 16px;padding:4px;border:1px solid var(--edge);border-radius:12px;background:var(--soft-bg)}
.watched-toggle button{border:0;background:transparent;border-radius:9px;padding:8px 14px;color:var(--muted);font-size:12px;font-weight:750;cursor:pointer}
.watched-toggle button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 4px var(--shadow)}
.clear-filters{margin-left:4px!important;background:var(--surface)!important;border-color:var(--thyme)!important}
.header-search-form{display:flex;align-items:center;gap:5px;flex:1 1 250px;min-width:170px;max-width:470px;margin-left:5px;position:relative}
.header-search-wrap{flex:1;position:relative;min-width:0}
.header-search-form .field{width:100%;height:33px;padding:6px 11px;font-size:12px;border-radius:10px}
.header-search-form .btn{height:33px;min-height:33px;padding:5px 11px;font-size:19px;line-height:1;border-radius:10px}
.search-suggestions{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:80;max-height:300px;overflow:auto;background:var(--surface);border:1px solid var(--edge);box-shadow:0 12px 28px var(--shadow);border-radius:12px;padding:5px}
.search-suggestion{display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;border:0;border-radius:8px;padding:9px 11px;background:transparent;color:var(--text);text-align:left;cursor:pointer;font-size:12px}
.search-suggestion:hover:where(html.ll-mouse-input *),.search-suggestion:focus-visible{background:var(--chip-active)}
.search-suggestion small{color:var(--muted);font-size:10px;white-space:nowrap}
#search-area{margin-top:18px}#search-area .section-head{margin-bottom:12px}
.search-hint{font-size:12px;color:var(--muted);margin:0 0 11px}
.nav-discover{overflow:visible!important;white-space:normal!important;flex-wrap:wrap!important}
.footer{margin-top:36px;padding-top:12px;border-top:1px solid var(--edge);font-size:11px;color:var(--muted);line-height:1.5}
.footer-main{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px}
.footer-attribution{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px}
.footer .tmdb-logo{width:29px;height:24px;margin-right:4px}
.footer-credits{position:relative;font-size:11px}
.footer-credits summary{cursor:pointer;white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.footer-more{max-width:800px;padding:8px 0;color:var(--muted)}.footer-more p{margin:6px 0}
@media(max-width:950px){.header-search-form{max-width:300px;flex-basis:210px}.modal.wide{width:min(1040px,100%)}}
@media(max-width:720px){
 .home-logo{font-size:23px;letter-spacing:-1.5px}
 .nav-discover{flex-wrap:wrap!important}
 .header-search-form{order:5;flex:1 0 100%;max-width:none;margin:3px 0 2px;min-width:0}
 .header-search-form .field{height:35px}
 .modal.wide{height:auto;max-height:95dvh;width:100%;padding:12px 10px}
 .modal.wide .detail-bottom-bar .my-rating-block{align-items:center}
 .modal.wide .detail-bottom-bar .rating-heading{white-space:normal}
 .modal.wide .detail-bottom-bar .activity-buttons .btn{flex:1 1 122px}
 .footer-attribution{flex:1 1 100%}
}
@media(min-width:721px) and (max-height:580px){.modal.wide{height:94dvh;max-height:94dvh}}


/* L&L Flix 3.9.8 — unified wordmark and expandable navigation search. */
.home-logo{gap:6px;font-size:clamp(23px,1.8vw,28px);letter-spacing:normal;white-space:nowrap}
.home-logo .brand-wordmark{display:inline-block;white-space:nowrap;letter-spacing:-1.35px;font-weight:850;line-height:1.04}
.home-logo .brand-wordmark .logo-amp{letter-spacing:inherit}
.home-logo .brand-wordmark b{letter-spacing:inherit;margin-left:0!important}
.nav-discover #search-toggle{display:inline-flex;align-items:center;gap:6px}
.search-nav-icon{flex:none}
.header-search-form{flex:1 1 230px;min-width:180px;max-width:425px;margin-left:5px}
@media(max-width:720px){
  .home-logo{font-size:22px;gap:5px}
  .header-search-form{flex:1 0 100%;order:5;min-width:0;max-width:none;margin:3px 0 2px}
}

/* L&L Flix 3.9.10 — cohesive approved brand and browse refinements. */
.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;margin:10px 0 3px}
.card-title-row h3{flex:1 1 auto;min-width:0;margin:0!important;line-height:1.3}
.card-content-rating{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;padding:3px 6px;border-radius:6px;border:1px solid var(--edge);background:var(--soft-bg);color:var(--text);font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap}
.card-content-rating:empty{display:none}
.together-toggle{margin:2px 0 16px}
.auth-wordmark{display:flex;gap:8px;align-items:center}
.auth-wordmark img{width:40px;height:40px;object-fit:contain;flex:none}
.home-logo .brand-bucket{object-fit:contain}
@media(max-width:720px){.card-title-row{gap:4px}.card-content-rating{font-size:10px;padding:3px 5px}}

/* L&L Flix 3.9.12 — Evening Lounge: lighter, premium warm neutrals.
   The daylight palette remains unchanged. The dark header establishes evening,
   while limestone canvas and ivory cards keep the experience bright and readable. */
html[data-lighting="evening"] {
  color-scheme: light;
  --bg:#DAD8CE;
  --surface:#F8F5EC;
  --surface2:#E9E6DA;
  --edge:#C8C6B8;
  --text:#29382E;
  --muted:#667067;
  --thyme:#6D785B;
  --thyme-strong:#47583F;
  --blue:#647250;
  --green:#43634B;
  --red:#985A52;
  --header-bg:rgba(65,76,64,.97);
  --hero-left:#E1E1D4;
  --hero-mid:#EEE8D9;
  --hero-right:#F8EDD8;
  --sunlight:rgba(225,195,134,.32);
  --field-bg:#FFFCF4;
  --chip-bg:#F8F5EB;
  --chip-active:#E3E6D8;
  --chip-selected-text:#344834;
  --panel-bg:#FBF8F0;
  --soft-bg:#EEECE1;
  --poster-blank:#E1E2D7;
  --item-bg:#F8F5EB;
  --item-hover:#E7E9DB;
  --shadow:rgba(48,55,39,.14);
  --lounge-champagne:#D8BE8B;
  --lounge-header:#414C40;
  --lounge-header-text:#F8F2E7;
}
html[data-lighting="evening"] body {
  background:radial-gradient(ellipse 72% 25% at 72% -8%,rgba(249,231,188,.53),transparent 78%),#DAD8CE;
  color:var(--text);
}
html[data-lighting="evening"] header {
  background:var(--lounge-header);
  border-bottom:1px solid #677263;
  box-shadow:0 4px 20px rgba(32,42,31,.15);
  color:var(--lounge-header-text);
}
html[data-lighting="evening"] header .home-logo,
html[data-lighting="evening"] header .brand-wordmark,
html[data-lighting="evening"] header .header-greeting strong {color:#F9F5E9}
html[data-lighting="evening"] header .home-logo b,
html[data-lighting="evening"] header .home-logo .logo-amp{color:#E2CC9F}
html[data-lighting="evening"] header .header-greeting span:not(.greeting-divider){color:#DED9CA}
html[data-lighting="evening"] header .nav-groups{border-color:#6B7668}
html[data-lighting="evening"] header .nav-groups nav{border-color:#6D786B}
html[data-lighting="evening"] header .nav-groups nav button{color:#ECE8DB}
html[data-lighting="evening"] header .nav-groups nav button:hover:where(html.ll-mouse-input *){background:#586957;color:#FFF8EC}
html[data-lighting="evening"] header .nav-groups nav button.active,
html[data-lighting="evening"] header .nav-groups nav .btn.active{
  background:#D8BF8D;color:#2D3A30;border-color:#D8BF8D;
}
html[data-lighting="evening"] header .taste-icon,
html[data-lighting="evening"] header .lighting-icon,
html[data-lighting="evening"] header .menu-trigger{
  background:#566455;color:#FFF5E4;border-color:#7A8676;
  box-shadow:none;
}
html[data-lighting="evening"] header .taste-icon:hover:where(html.ll-mouse-input *),
html[data-lighting="evening"] header .lighting-icon:hover:where(html.ll-mouse-input *),
html[data-lighting="evening"] header .menu-trigger:hover:where(html.ll-mouse-input *){background:#6C7C67;border-color:#D4BD92}
html[data-lighting="evening"] header .field{
  background:#FBF7ED;color:#27382E;border:1px solid #D5C69F;
}
html[data-lighting="evening"] header .field::placeholder{color:#6F766A}
html[data-lighting="evening"] header .search-suggestions{
  color:#29382E;background:#FCF8EF;border-color:#C4BCA7;
  box-shadow:0 16px 38px rgba(30,39,30,.2);
}
html[data-lighting="evening"] header .search-suggestion{color:#29382E}
html[data-lighting="evening"] header .search-suggestion:hover:where(html.ll-mouse-input *){background:#EDE8D9}
html[data-lighting="evening"] .tile{
  background:#F8F5EC;border-color:#C8C7B8;
  box-shadow:0 6px 20px rgba(58,57,42,.095);
}
html[data-lighting="evening"] .tile:hover:where(html.ll-mouse-input *){
  box-shadow:0 12px 30px rgba(47,49,39,.16);
}
html[data-lighting="evening"] .tile .art{
  background:linear-gradient(145deg,#E4E6D9,#D5D9CD);
  border-color:#CBCBBE;
}
html[data-lighting="evening"] .rating,
html[data-lighting="evening"] .star-fill{color:#9F793B}
html[data-lighting="evening"] .btn,
html[data-lighting="evening"] .tile-actions button,
html[data-lighting="evening"] .tile-actions a,
html[data-lighting="evening"] .card-quick-actions button{
  background:#FBF8EF;color:#2B3A2F;border-color:#C8C8B8;
}
html[data-lighting="evening"] .btn:hover:where(html.ll-mouse-input *),
html[data-lighting="evening"] .card-quick-actions button:hover:where(html.ll-mouse-input *){
  background:#EBE9DB;border-color:#8F967C;color:#25392B;
}
html[data-lighting="evening"] .btn.primary,
html[data-lighting="evening"] .btn.primary:hover:where(html.ll-mouse-input *){
  background:#697853;border-color:#697853;color:#FFFCF3;
}
html[data-lighting="evening"] .card-quick-actions .card-icon-action.selected{
  background:#885665;border-color:#885665;color:#FFF8F9;
}
html[data-lighting="evening"] .card-quick-actions .card-icon-action.saved{
  background:#E3E7D8;border-color:#8A987B;color:#354D35;
}
html[data-lighting="evening"] .card-content-rating,
html[data-lighting="evening"] .content-rating-badge{
  background:#E9E9DE;border-color:#CACBBC;color:#465843;
}
html[data-lighting="evening"] .field,
html[data-lighting="evening"] select.field {
  background:#FFFCF4;color:#283A2D;border-color:#BEBFAC;
  box-shadow:0 2px 7px rgba(45,51,36,.045);
}
html[data-lighting="evening"] select option,
html[data-lighting="evening"] select optgroup{
  background:#FFFCF4!important;color:#283A2D!important;
}
html[data-lighting="evening"] .service-picker{
  background:#FCF9F0;border-color:#BFC2B1;box-shadow:0 3px 12px rgba(47,55,39,.07);
}
html[data-lighting="evening"] .chip,
html[data-lighting="evening"] .option,
html[data-lighting="evening"] .watched-toggle{
  background:#F5F2E9;color:#344536;border-color:#C5C7B7;
}
html[data-lighting="evening"] .chip:hover:where(html.ll-mouse-input *),
html[data-lighting="evening"] .chip.active,
html[data-lighting="evening"] .option.selected{
  background:#E3E5D8;color:#354935;border-color:#A4AD99;
}
html[data-lighting="evening"] .modal{
  background:#FBF8F0;border-color:#D2CDBE;
  box-shadow:0 22px 80px rgba(25,34,26,.26);
}
html[data-lighting="evening"] .modal-shade{background:rgba(27,34,28,.55);backdrop-filter:blur(5px)}
html[data-lighting="evening"] .modal.wide>.close,
html[data-lighting="evening"] .modal .close{background:#EFEFE4;color:#2B3A2F;border:1px solid #C6CABB}
html[data-lighting="evening"] .detail-description{color:#364338}
html[data-lighting="evening"] .provider-group,
html[data-lighting="evening"] .note{
  background:#F0EFE5;color:#425044;border-color:#C5C9B9;
}
html[data-lighting="evening"] .service-pill{background:#FBF9F1;color:#283A2D;border-color:#C6C8B8}
html[data-lighting="evening"] .modal.wide .detail-bottom-bar{background:#F3F1E8}
html[data-lighting="evening"] .trailer-help{background:#F0EDE1;color:#36483B;border-color:#C6C9B9}
html[data-lighting="evening"] .trailer-help strong{color:#29382E}
html[data-lighting="evening"] .trailer-help.error{background:#FAEEE4;color:#714B3B;border-color:#DCB99B}
html[data-lighting="evening"] .trailer-help.error strong{color:#70452E}
html[data-lighting="evening"] .footer{border-color:#C2C3B3;color:#59675B}
html[data-lighting="evening"] .footer a{color:#3D5C42}
html[data-lighting="evening"] .toast{background:#3F503F;color:#FCF7EA;border-color:#A4B09B}
html[data-lighting="evening"] .auth-screen{background:radial-gradient(ellipse at 28% 6%,#ECE9DA,transparent 55%),#DAD8CE}
html[data-lighting="evening"] .auth-panel{background:#FBF8F0;border-color:#CCC8B9;box-shadow:0 20px 75px #2A382627}
html[data-lighting="evening"] .auth-wordmark,
html[data-lighting="evening"] .auth-panel h1{color:#2B3D30}
html[data-lighting="evening"] .auth-panel .field{background:#FFFCF5;color:#27392B}
html[data-lighting="evening"] .auth-panel .btn.primary{background:#647552;color:#FFF9EF}
html[data-lighting="evening"] .hero{background:linear-gradient(110deg,#E9E8DB,#F6EDD9);box-shadow:0 10px 40px rgba(53,58,42,.12)}
html[data-lighting="evening"] .hero p{color:#526450}
html[data-lighting="evening"] ::selection{background:#D5C29B;color:#2B3B30}

/* Evening Lounge dropdown: consistently legible, native select retained as the
   underlying source of truth for all existing change handlers and filters. */
.ll-select{position:relative;display:inline-flex;min-width:125px;max-width:100%;vertical-align:middle;isolation:isolate}
.ll-select .ll-native-select{
  position:absolute!important;width:1px!important;height:1px!important;
  min-width:1px!important;min-height:1px!important;padding:0!important;
  opacity:0!important;pointer-events:none!important;overflow:hidden!important;
  clip-path:inset(50%)!important;border:0!important;
}
.ll-select-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:9px;
  min-height:37px;width:100%;text-align:left;white-space:nowrap;
  padding:8px 11px;border:1px solid var(--edge);border-radius:11px;
  background:var(--field-bg);color:var(--text);
  box-shadow:0 1px 4px var(--shadow);font-size:12px;font-weight:700;
  cursor:pointer;line-height:1.3;
}
.ll-select-trigger:hover:where(html.ll-mouse-input *){background:var(--item-hover);border-color:var(--thyme)}
.ll-select-trigger:focus-visible{outline:2px solid var(--thyme);outline-offset:2px}
.ll-select-trigger-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ll-select-chevron{flex:none;font-size:14px;opacity:.85;transition:transform .15s ease}
.ll-select.open{z-index:151}
.ll-select.open .ll-select-chevron{transform:rotate(180deg)}
.ll-select-menu{
  position:absolute;z-index:152;left:0;top:calc(100% + 5px);
  width:max(100%,min(280px,80vw));max-width:min(85vw,370px);
  max-height:min(330px,60dvh);overflow-y:auto;overscroll-behavior:contain;
  padding:6px;border:1px solid #C8C4B5;background:#FFFCF4;
  border-radius:13px;box-shadow:0 16px 40px rgba(33,41,30,.22);
  scrollbar-color:#B5B9A7 transparent;
}
.ll-select-menu[hidden]{display:none!important}
.ll-select-item{
  display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 11px;border:0;border-radius:8px;background:transparent;
  color:#2B3C30;text-align:left;font-size:12px;line-height:1.35;cursor:pointer;
}
.ll-select-item:hover:where(html.ll-mouse-input *),.ll-select-item:focus-visible{background:#F0E8D9;color:#27392E;outline:none}
.ll-select-item[aria-selected="true"]{background:#E9E4D5;color:#2B3D30;font-weight:750}
.ll-select-check{font-weight:800;color:#78845E}
.ll-select-item[aria-selected="false"] .ll-select-check{visibility:hidden}
html[data-lighting="evening"] .ll-select-trigger{
  background:#FFFCF4;border-color:#B9BAA8;color:#2B3B30;
  box-shadow:0 2px 7px rgba(43,52,37,.07);
}
html[data-lighting="evening"] .ll-select.open .ll-select-trigger{border-color:#8C997A;box-shadow:0 0 0 2px rgba(151,163,130,.2)}
html[data-lighting="evening"] .ll-select-menu{background:#FFFCF4;border-color:#C7C1AC}
.service-picker>.ll-select{flex:1 1 auto;width:100%;min-width:0}
.service-picker>.ll-select .ll-select-trigger{min-height:40px;border:0;background:transparent;box-shadow:none;border-radius:10px;font-size:13px}
.service-picker:has(.ll-select)>.service-chevron{display:none}
.service-picker>.ll-select .ll-select-menu{min-width:min(315px,85vw);max-height:350px}
.discovery-focus>.ll-select{flex:1 1 200px;max-width:270px}
.app-filters>.ll-select{flex:0 1 auto;max-width:190px}
.app-filters>.ll-select .ll-select-trigger{min-height:36px}
.popular-section .controls>.ll-select{flex:0 1 auto;max-width:215px}
.lighting-pop>.ll-select{width:100%}
@media(max-width:720px){
 .app-filters>.ll-select{min-width:0;max-width:calc(50% - 4px);flex:1 1 calc(50% - 4px)}
 .discovery-focus>.ll-select{max-width:100%;min-width:0}
 .popular-section .controls>.ll-select{width:100%;max-width:none;min-width:0}
 .ll-select-menu{max-width:min(90vw,370px)}
}
@media(prefers-reduced-motion:reduce){.ll-select-chevron{transition:none}}


/* L&L Flix 3.9.13 — Mobile breathing room, cinematic detail, cast, and Discover accents. */
@media(max-width:720px){
 .ll-header{padding:12px 13px 9px!important}
 .ll-top-row{display:flex;flex-wrap:wrap!important;align-items:center;column-gap:9px;row-gap:0!important}
 .ll-brand{order:1;min-width:0;flex:0 1 auto;align-self:center}
 .home-logo{font-size:clamp(20px,5.6vw,25px);gap:6px}
 .home-logo .brand-bucket{width:clamp(32px,9vw,38px);height:clamp(32px,9vw,38px)}
 .header-tools{order:2;gap:8px!important;align-items:center;align-self:center;margin-left:auto!important}
 .taste-icon,.lighting-icon,.menu-trigger{width:clamp(34px,9vw,40px);height:clamp(34px,9vw,40px);min-width:clamp(34px,9vw,40px);border-radius:12px}
 .header-greeting{order:3;display:flex;flex:0 0 100%;margin:11px 0 4px!important;padding-left:1px!important;gap:4px 6px!important;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;line-height:1.38!important;text-align:left;white-space:normal!important}
 .header-greeting strong{font-size:12.5px!important;line-height:1.38!important;white-space:nowrap}
 .header-greeting span:not(.greeting-divider){font-size:12px!important;line-height:1.38!important;white-space:normal!important}
 .nav-groups{margin-top:8px!important;gap:0!important}
 .nav-discover{display:flex;flex-wrap:nowrap!important;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:none;gap:7px!important;padding:0 0 10px!important;scroll-snap-type:x proximity}
 .nav-discover::-webkit-scrollbar,.nav-personal::-webkit-scrollbar{display:none}
 .nav-discover button{scroll-snap-align:start}
 .nav-personal{border-top:1px solid var(--edge);padding:9px 0 6px!important;gap:10px!important;margin:0!important;overflow-x:auto;scrollbar-width:none}
 .nav-groups nav button{font-size:12.5px!important;min-height:38px;padding:8px 13px!important}
 .nav-discover:has(.header-search-form:not(.hidden)){flex-wrap:wrap!important}
 .header-search-form:not(.hidden){flex:1 0 100%;width:100%;margin:6px 0 0;order:5}
 .header-search-form:not(.hidden) .field{min-height:40px}
}
@media(max-width:360px){
 .ll-header{padding-left:10px!important;padding-right:10px!important}
 .header-tools{gap:5px!important}
 .header-greeting strong{font-size:12px!important}
 .header-greeting span:not(.greeting-divider){font-size:11.5px!important}
}
/* TMDB original headshots are portrait-oriented. Preserve the full source frame
   rather than zooming/cropping faces to fill a different box. */
.modal.wide .cast-photo{
  width:100%;height:clamp(124px,11vw,154px);max-height:none;
  aspect-ratio:auto;object-fit:contain;object-position:center top;
  background:var(--soft-bg);border:1px solid var(--edge);border-radius:10px;
}
@media(max-width:600px){.modal.wide .cast-photo{height:clamp(116px,31vw,154px)}}
/* Branded link, without inventing or displaying Rotten Tomatoes scores. */
.detail-quick-links .rt-brand-link{gap:7px;align-items:center;display:inline-flex;white-space:nowrap}
.detail-quick-links .rt-brand-image{display:block;width:104px;height:26px;object-fit:contain;flex:none}
.detail-quick-links .rt-brand-image[hidden],.detail-quick-links .rt-brand-fallback[hidden]{display:none!important}
.detail-quick-links .rt-brand-fallback{font-size:12px;font-weight:750;color:var(--text)}
.detail-quick-links .rt-external{font-size:14px;line-height:1;color:var(--muted)}
.detail-quick-links .rt-search-caption{font-size:10px;font-weight:700;color:var(--muted)}
@media(max-width:600px){.detail-quick-links .rt-brand-image{width:88px;height:22px}}
/* A richer ivory panel separates movie details from the lighter evening canvas. */
html[data-lighting="evening"] .modal.wide{background:#EEEADF;border:1px solid #C2BBAA;box-shadow:0 26px 85px rgba(27,35,27,.34)}
html[data-lighting="evening"] .modal.wide .detail-bottom-bar{background:#E5E2D5;border-color:#C8C5B6}
html[data-lighting="evening"] .modal.wide .cast-photo{background:#DDDCCF;border-color:#C6C4B5}
html[data-lighting="evening"] .modal.wide .detail-quick-links .btn:not(.primary){background:#F8F4EB}
/* L&L Flix 3.9.14 — calm, cohesive surfaces; mobile-first standalone navigation. */
/* Decorative artwork has been retired in favor of the film posters themselves. */
.discover-ambient{display:none!important}
html[data-lighting="evening"] body{
 background:linear-gradient(180deg,#CFCFC4 0%,#DDDAD0 230px,#DAD8CE 550px)!important;
}
html[data-lighting="evening"] header{box-shadow:none;border-bottom-color:#899382}
html[data-lighting="evening"] .tile{box-shadow:0 2px 12px rgba(48,54,41,.075)}
/* Floating dock is available only in handheld layout; desktop navigation stays in place. */
.mobile-dock,.mobile-welcome,.mobile-discover-shortcuts{display:none}
/* The app background should extend beneath iOS safe areas and edge-to-edge. */
html,body{min-width:0;width:100%;max-width:100%;overflow-x:clip}
body{min-height:100dvh}
@media (max-width:720px), (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 html,body{width:100%;max-width:100%;overflow-x:clip}
 body{min-height:100dvh}
 header{position:relative;top:auto;width:100%;max-width:none;overflow:visible}
 .ll-header{width:100%;max-width:none;margin:0!important;
  padding:12px max(13px,env(safe-area-inset-right,0px)) 12px max(13px,env(safe-area-inset-left,0px))!important;
 }
 .ll-top-row{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:6px;min-height:42px}
 .ll-brand{flex:0 1 auto;min-width:0;order:1}
 .home-logo{font-size:clamp(19px,5.1vw,23px)!important;gap:5px;min-width:0}
 .home-logo .brand-bucket{width:clamp(30px,8vw,37px)!important;height:clamp(30px,8vw,37px)!important}
 .home-logo .brand-wordmark{letter-spacing:-1.25px;white-space:nowrap}
 .header-tools{order:2;margin-left:auto!important;gap:clamp(4px,1.8vw,9px)!important;flex:none}
 .taste-icon,.lighting-icon,.menu-trigger{width:clamp(33px,9vw,39px)!important;height:clamp(33px,9vw,39px)!important;min-width:clamp(33px,9vw,39px)!important;border-radius:11px}
 .header-greeting{display:none!important}
 /* On a handset, the legacy navigation moves to a persistent bottom dock. */
 .nav-groups{display:none!important}
 .nav-groups:has(.header-search-form:not(.hidden)){display:block!important;margin:10px 0 0!important}
 .nav-groups:has(.header-search-form:not(.hidden)) .nav-discover{display:block!important;width:100%!important;overflow:visible!important;padding:0!important;margin:0!important;min-height:0}
 .nav-groups:has(.header-search-form:not(.hidden)) .nav-discover>button,
 .nav-groups:has(.header-search-form:not(.hidden)) .nav-personal{display:none!important}
 .nav-groups .header-search-form:not(.hidden){display:block!important;max-width:none!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;position:relative;flex:none!important}
 .nav-groups .header-search-form .field{min-height:43px!important;height:43px!important;font-size:16px!important;background:var(--field-bg);color:var(--text)}
 .nav-groups .search-suggestions{max-height:min(44dvh,340px);overflow:auto}
 .wrap{width:100%;max-width:none!important;margin:0!important;
  padding:15px max(14px,env(safe-area-inset-right,0px)) calc(116px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px))!important;
 }
 .mobile-welcome{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px;padding:0 2px;margin:3px 0 12px;line-height:1.3}
 .mobile-welcome strong{font-size:13px;color:var(--text)}
 .mobile-welcome span{font-size:12px;color:var(--muted)}
 .mobile-discover-shortcuts{display:flex;gap:7px;align-items:center;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;margin:4px 0 12px;padding-bottom:5px;max-width:100%}
 .mobile-discover-shortcuts::-webkit-scrollbar{display:none}
 .mobile-discover-shortcuts button{flex:none;border:1px solid var(--edge);background:var(--surface);color:var(--muted);border-radius:99px;padding:7px 11px;font-size:12px;font-weight:650;scroll-snap-align:start}
 .mobile-discover-shortcuts button.active{background:var(--chip-active);color:var(--text);border-color:var(--thyme)}
 .mobile-dock{display:grid;position:fixed;z-index:15;left:max(9px,env(safe-area-inset-left,0px));right:max(9px,env(safe-area-inset-right,0px));bottom:max(10px,env(safe-area-inset-bottom,0px));
  grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:2px;padding:7px;border:1px solid var(--edge);border-radius:21px;
  background:color-mix(in srgb,var(--surface) 93%,transparent);box-shadow:0 11px 33px rgba(30,40,27,.22);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
 .mobile-dock button{min-width:0;min-height:52px;padding:6px 1px 5px;background:transparent;border:0;border-radius:15px;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;touch-action:manipulation;white-space:nowrap}
 .mobile-dock button.active{background:var(--chip-active);color:var(--text)}
 .mobile-dock button:focus-visible{outline:2px solid var(--thyme-strong);outline-offset:-2px}
 .mobile-dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
 .mobile-dock span{font-size:clamp(9px,2.35vw,11px);line-height:1.1;font-weight:720}
 .mobile-dock .mobile-together-label{font-size:clamp(9px,2.2vw,11px)}
 .toast{bottom:calc(93px + env(safe-area-inset-bottom,0px))}
 /* Keep dialogs and menus clear of both the dock and the home indicator. */
 .modal-shade{padding:10px max(9px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(9px,env(safe-area-inset-left,0px))}
 .modal{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 14px)}
 .lighting-pop,.utility-menu{top:calc(100% + 6px);right:max(12px,env(safe-area-inset-right,0px));left:auto;max-width:min(300px,90vw)}
 .section{margin-top:18px}
}
@media (display-mode:standalone) and (max-width:720px), (display-mode:standalone) and (max-height:560px) and (orientation:landscape){
 /* black-translucent iOS status bar draws over the document; fill its inset with header color. */
 .ll-header{padding-top:max(12px,env(safe-area-inset-top,0px))!important}
}
@media (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .ll-header{padding-top:7px!important;padding-bottom:7px!important}
 .wrap{padding-top:9px!important;padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
 .mobile-welcome{display:none}
 .mobile-discover-shortcuts{margin:0 0 8px}
 .mobile-dock{width:min(540px,calc(100% - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 24px));left:50%;right:auto;transform:translateX(-50%);padding:4px 7px;border-radius:16px;bottom:max(5px,env(safe-area-inset-bottom,0px))}
 .mobile-dock button{min-height:40px;flex-direction:row;gap:5px;padding:4px 2px;border-radius:11px}
 .mobile-dock svg{width:17px;height:17px}
 .mobile-dock span{font-size:10px}
 .grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}
 .modal-shade{padding:5px max(8px,env(safe-area-inset-right,0px)) max(5px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}
 .modal.wide{height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 10px)!important;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 10px)!important}
}
@media (max-width:370px){.mobile-dock{left:5px;right:5px;padding:5px 3px}.home-logo{font-size:18px!important}.header-tools{gap:3px!important}}


/* L&L Flix 3.9.15 — premium sticky mobile chrome, landscape fixes, magnetic dock. */
@media (max-width:720px), (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 header{position:sticky!important;top:0!important;z-index:18;isolation:isolate;background:var(--header-bg);box-shadow:0 2px 10px rgba(34,42,31,.09)}
 /* The standalone status bar is owned by iOS. Paint the exposed safe area with header color. */
 header::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:env(safe-area-inset-top,0px);background:var(--header-bg);pointer-events:none}
 .ll-header{transition:padding .19s ease!important}
 header.is-scrolled .ll-header{padding-top:7px!important;padding-bottom:7px!important}
 header.is-scrolled .home-logo .brand-bucket{width:29px!important;height:29px!important}
 header.is-scrolled .home-logo{font-size:19px!important}
 header.is-scrolled .taste-icon,header.is-scrolled .lighting-icon,header.is-scrolled .menu-trigger{height:34px!important;min-width:34px!important;width:34px!important}
 /* Frosted, translucent bubble dock. Grid remains five equal touch targets. */
 .mobile-dock{--dock-padding-x:7px;--dock-padding-y:7px;--dock-gap:2px;--dock-preview-index:0;isolation:isolate;overflow:visible;
  background:color-mix(in srgb,var(--surface) 77%,transparent)!important;
  border:1px solid rgba(255,255,255,.68)!important;
  -webkit-backdrop-filter:blur(28px) saturate(160%);backdrop-filter:blur(28px) saturate(160%);
  box-shadow:0 10px 32px rgba(36,45,36,.21),0 1px 0 rgba(255,255,255,.62) inset!important;
  touch-action:none;
 }
 .mobile-dock::before{content:"";position:absolute;pointer-events:none;z-index:0;
  left:var(--dock-padding-x);top:var(--dock-padding-y);
  width:calc((100% - 2 * var(--dock-padding-x) - 4 * var(--dock-gap)) / 5);
  height:calc(100% - 2 * var(--dock-padding-y));border-radius:17px;
  background:color-mix(in srgb,var(--chip-active) 88%,white 12%);
  box-shadow:0 2px 9px rgba(49,64,48,.11),inset 0 1px 1px rgba(255,255,255,.48);
  transform:translateX(calc(var(--dock-preview-index) * (100% + var(--dock-gap))));
  transition:transform .24s cubic-bezier(.2,.85,.2,1),background .18s,box-shadow .18s;
 }
 .mobile-dock.is-dragging::before{transition:transform .10s ease-out;box-shadow:0 4px 18px rgba(49,64,48,.20),inset 0 1px 1px rgba(255,255,255,.65)}
 .mobile-dock button{position:relative;z-index:1;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transition:transform .15s ease,color .15s ease}
 .mobile-dock button.active{background:transparent!important}
 .mobile-dock button.dock-preview{transform:scale(1.075);color:var(--text)}
 .mobile-dock button.dock-preview svg{transform:scale(1.12)}
 .mobile-dock button svg{transition:transform .14s ease}
 .mobile-dock.is-dragging button.active:not(.dock-preview){color:var(--muted)}
}
@media (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .mobile-dock{--dock-padding-x:7px;--dock-padding-y:4px;--dock-gap:2px}
 .mobile-dock::before{border-radius:13px}
 /* At least ~180px per movie card and a clear two-line title. */
 .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,182px),1fr))!important;gap:12px!important}
 .tile{min-width:0}
 .card-title-row{align-items:flex-start;min-height:2.55em}
 .card-title-row h3{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden!important;white-space:normal!important;text-overflow:ellipsis;line-height:1.23}
 .card-content-rating{margin-top:1px}
 .card-quick-actions{grid-template-columns:36px 36px minmax(36px,1fr)!important;gap:5px}
 .card-quick-actions button{min-width:0;max-width:100%;height:36px;overflow:hidden}
 .card-quick-actions .card-trailer-action{font-size:17px!important;padding:0!important;gap:0!important}
 .card-quick-actions .card-trailer-action span{display:none!important}
 /* Fit both title bar and a true 16:9 video inside the visible landscape height. */
 .trailer-shade{padding:5px max(8px,env(safe-area-inset-right,0px)) 5px max(8px,env(safe-area-inset-left,0px))!important;align-items:center}
 .trailer-dialog{width:min(calc(100vw - 25px),calc((100dvh - 76px)*1.77778 + 18px),900px)!important;
  min-width:0;max-width:100%;max-height:calc(100dvh - 10px)!important;overflow:hidden!important;
  display:flex;flex-direction:column;padding:6px 9px!important;border-radius:15px}
 .trailer-dialog h2{font-size:12px!important;line-height:20px;margin:0 35px 4px 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none}
 .trailer-dialog .close{top:5px;right:7px;width:27px;height:27px;font-size:17px;z-index:4}
 .trailer-dialog .trailer-player{aspect-ratio:16/9;flex:none;max-height:calc(100dvh - 67px);min-height:0}
 .trailer-dialog .trailer-minimal-footer{margin-top:3px;font-size:10px;min-height:14px;flex:none}
 .trailer-dialog .trailer-minimal-footer a{font-size:10px}
}
@media (display-mode:standalone){
 /* Paint the shell beneath the system status area to match the selected header. */
 html{background:#FFF8ED}
 html[data-lighting="evening"]{background:#414C40}
}
@media (prefers-reduced-motion:reduce){
 .mobile-dock::before,.mobile-dock button,.mobile-dock button svg,.ll-header{transition:none!important}
}


/* L&L Flix 3.9.16 — responsive polish and targeted style consolidation. */
/* A dropdown's ancestor needs to outpaint the grid, not just the menu itself. */
.discover-section{position:relative;isolation:isolate}
.discover-section>.section-head,.discover-section>.view-summary,
.discover-section>.grid,.discover-section>.load-more{position:relative;z-index:1}
.discover-section>.discovery-focus{position:relative;z-index:12}
.discover-section>.discovery-focus:has(.ll-select.open){z-index:180}
.discover-section>.app-filters{position:relative;z-index:11}
.discover-section>.app-filters:has(.ll-select.open){z-index:181}
/* Some browse views render their own controls; those dropdowns also float above cards. */
.popular-section>.section-head,.popular-section>.controls{position:relative;z-index:12}
.popular-section>.controls:has(.ll-select.open){z-index:180}
.ll-select.open{z-index:182}
.ll-select-menu{z-index:183;min-width:100%;}
/* Icon geometry: no font glyph baselines or inconsistent native button centering. */
.header-tools>.taste-icon,.header-tools>.lighting-icon,.header-tools>.menu-trigger{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 line-height:1!important;text-align:center!important;vertical-align:middle;
}
.header-tools>button>svg{display:block;width:21px;height:21px;flex:none;transform:none;}
/* Desktop link pills should be slim; mobile keeps larger finger-friendly buttons. */
@media(min-width:901px) and (min-height:561px){
 .modal.wide .detail-quick-links .btn{height:37px;min-height:37px!important;
   max-height:37px;padding:5px 10px!important;font-size:12px!important;line-height:1.18;}
 .modal.wide .detail-quick-links .rt-brand-image{height:22px;width:92px}
 .modal.wide .detail-quick-links{gap:7px;margin:9px 0!important}
}
/* Four Discover shortcuts should fit in portrait without cropping the final pill. */
@media(max-width:720px) and (orientation:portrait){
 .mobile-discover-shortcuts{overflow:visible;display:grid!important;
   grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important;max-width:100%;
   margin:5px 0 12px;padding:0;scroll-snap-type:none;}
 .mobile-discover-shortcuts button{min-width:0;width:100%;padding:8px 2px!important;
   font-size:clamp(9px,2.62vw,11.5px);text-align:center;white-space:nowrap;
   letter-spacing:-.16px;line-height:1.25;}
}
/* Smooth compact sticky branding; eliminate abrupt logo/button jumps. */
@media(max-width:720px), (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .ll-header{transition:padding-block .28s cubic-bezier(.2,.8,.2,1)!important;}
 .home-logo{transition:font-size .28s cubic-bezier(.2,.8,.2,1),gap .28s;}
 .home-logo .brand-bucket{transition:width .28s cubic-bezier(.2,.8,.2,1),height .28s cubic-bezier(.2,.8,.2,1);}
 .header-tools>.taste-icon,.header-tools>.lighting-icon,.header-tools>.menu-trigger{
  transition:width .28s cubic-bezier(.2,.8,.2,1),height .28s cubic-bezier(.2,.8,.2,1),min-width .28s cubic-bezier(.2,.8,.2,1),background .18s;}
 /* Actual 78% shell opacity plus stronger background blur, with an opaque active bubble. */
 .mobile-dock{background:color-mix(in srgb,var(--surface) 78%,transparent)!important;
  -webkit-backdrop-filter:blur(28px) saturate(145%)!important;
  backdrop-filter:blur(28px) saturate(145%)!important;}
 .mobile-dock::before{background:color-mix(in srgb,var(--chip-active) 93%,white 7%);}
}
@media(max-height:560px) and (orientation:landscape) and (pointer:coarse){
 /* Five posters on wider landscape devices, four on narrow ones. */
 .wrap .grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;}
 .wrap .tile{min-width:0;padding:7px!important;border-radius:15px;}
 .wrap .tile .art{border-radius:10px;}
 .wrap .card-title-row{min-height:2.5em;margin:7px 0 2px;gap:3px;}
 .wrap .card-title-row h3{font-size:clamp(10px,1.55vw,13px)!important;line-height:1.24!important;}
 .wrap .card-content-rating{font-size:9px;padding:2px 3px;}
 .wrap .tile .metadata{font-size:10px;}
 .wrap .card-quick-actions{grid-template-columns:32px 32px minmax(0,1fr)!important;gap:4px!important;margin-top:6px;}
 .wrap .card-quick-actions button{min-width:0!important;height:34px!important;max-width:100%;padding:0!important;}
 .wrap .card-quick-actions .card-icon-action{width:32px!important;}
 .wrap .card-quick-actions .card-trailer-action{font-size:16px!important;}
 .mobile-discover-shortcuts{max-width:100%;}
}
@media(min-width:721px) and (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .wrap .grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
@media(max-width:720px) and (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .wrap .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;}
}
@media(prefers-reduced-motion:reduce){
 .home-logo,.home-logo .brand-bucket,.header-tools>button{transition:none!important;}
}


/* L&L Flix 3.9.17 — stable chrome, 58% glass, high contrast controls. */
/* Keep the bubble and the blurred backdrop in separate compositor layers.
   iOS Safari can intermittently skip painting button children when the same
   filtered surface hosts multiple animated descendants. */
@media (max-width:720px), (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 .mobile-dock{
  display:flex!important;flex-wrap:nowrap!important;align-items:stretch!important;
  grid-template-columns:none!important;justify-content:space-between;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  isolation:isolate;overflow:visible;contain:layout style;
 }
 .mobile-dock::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  border-radius:inherit;background:color-mix(in srgb,var(--surface) 58%,transparent);
  -webkit-backdrop-filter:blur(30px) saturate(145%);
  backdrop-filter:blur(30px) saturate(145%);
 }
 .mobile-dock::before{z-index:1;}
 .mobile-dock>button{
  display:flex!important;visibility:visible!important;opacity:1!important;
  flex:1 1 20%!important;width:20%!important;min-width:0!important;
  position:relative;z-index:2;transform:translateZ(0);backface-visibility:hidden;
  align-items:center;justify-content:center;
 }
 .mobile-dock>button>svg,.mobile-dock>button>span{
  display:block!important;visibility:visible!important;opacity:1!important;
 }
 .mobile-dock>button>svg{flex:none!important;}
 /* Sticky header no longer changes dimensions as scroll state changes. */
 header.is-scrolled .home-logo,header .home-logo{font-size:clamp(20px,5.6vw,25px)!important;}
 header.is-scrolled .home-logo .brand-bucket,header .home-logo .brand-bucket{
  width:clamp(32px,9vw,38px)!important;height:clamp(32px,9vw,38px)!important;
 }
 header.is-scrolled .taste-icon,header.is-scrolled .lighting-icon,header.is-scrolled .menu-trigger,
 header .taste-icon,header .lighting-icon,header .menu-trigger{
  height:clamp(33px,9vw,39px)!important;min-width:clamp(33px,9vw,39px)!important;width:clamp(33px,9vw,39px)!important;
 }
 header .ll-header,header.is-scrolled .ll-header{padding-top:12px!important;padding-bottom:9px!important;transition:none!important;}
 header.is-scrolled{box-shadow:0 3px 13px rgba(29,40,30,.15)}
}
@media (max-height:560px) and (orientation:landscape) and (pointer:coarse){
 header .ll-header,header.is-scrolled .ll-header{padding-top:7px!important;padding-bottom:7px!important}
 header.is-scrolled .home-logo,header .home-logo{font-size:19px!important}
 header.is-scrolled .home-logo .brand-bucket,header .home-logo .brand-bucket{width:29px!important;height:29px!important}
 header .taste-icon,header .lighting-icon,header .menu-trigger,
 header.is-scrolled .taste-icon,header.is-scrolled .lighting-icon,header.is-scrolled .menu-trigger{height:34px!important;width:34px!important;min-width:34px!important}
}
/* A consistent readable palette for all enhanced selects and live search results. */
html .ll-select-menu,html[data-lighting="evening"] .ll-select-menu,
html .search-suggestions,html[data-lighting="evening"] header .search-suggestions{
 background:#FFFCF5!important;color:#293A2F!important;
 border:1px solid #C5C7B8!important;
 box-shadow:0 14px 32px rgba(35,45,34,.20)!important;
}
html .ll-select-item,html .search-suggestion,html[data-lighting="evening"] header .search-suggestion{
 color:#293A2F!important;background:transparent!important;
 font-weight:650;opacity:1!important;
}
html .search-suggestion span,html .ll-select-item span{color:inherit!important;opacity:1!important}
html .search-suggestion small,html[data-lighting="evening"] .search-suggestion small{
 color:#516457!important;opacity:1!important;font-weight:600;
}
html .ll-select-item:hover:where(html.ll-mouse-input *),html .ll-select-item:focus-visible,
html .search-suggestion:hover:where(html.ll-mouse-input *),html .search-suggestion:focus-visible,
html[data-lighting="evening"] header .search-suggestion:hover:where(html.ll-mouse-input *){
 background:#E9EDDF!important;color:#203D2B!important;
}
html .ll-select-item[aria-selected="true"]{background:#DFE8D8!important;color:#24382B!important;font-weight:800;}
html select option{background:#FFFCF5!important;color:#293A2F!important;}
.settings-backup{margin:11px 0 3px;padding:11px 13px;border:1px solid var(--edge);border-radius:12px;background:var(--soft-bg)}
.settings-backup summary{cursor:pointer;font-weight:800;color:var(--text)}
.settings-backup .btn{margin:5px 0 1px}
/* Eliminate the oversized desktop void and keep the filter action beside Focus. */
@media(min-width:721px){
 .wrap{padding-top:13px!important}
 .service-compact{margin:5px 0 4px!important}
 .discover-section{margin-top:14px!important}
 .discover-section>.section-head{margin-bottom:5px!important}
 .discover-section>.discovery-focus{justify-content:flex-start;gap:9px;margin:5px 0 9px!important}
 .discover-section>.discovery-focus .filter-trigger{margin-left:5px!important}
 .discover-section>.app-filters{justify-content:flex-start;gap:7px!important;margin-bottom:12px}
}
.discover-section::before,.discover-section::after{display:none!important}


/* L&L Flix 3.9.19 — compact page chrome, reliable auth startup, and stable poster loading. */
html {background:#FFF9F1;}
html[data-lighting="evening"] {background:#E9E6DC;}
.startup-screen{position:fixed;inset:0;z-index:300;display:flex;justify-content:center;align-items:center;
 background:radial-gradient(circle at 49% 43%,#F8F8EC 0%,#E8EDDF 54%,#DFE6D9 100%);color:#293D30;
 opacity:1;visibility:visible;transition:opacity .24s ease,visibility .24s ease;
 padding:20px max(18px,env(safe-area-inset-left,0px)) calc(20px + env(safe-area-inset-bottom,0px));}
html[data-lighting="evening"] .startup-screen{background:radial-gradient(circle at 50% 42%,#64745D 0%,#455644 58%,#414C40 100%);color:#FFF8EA}
.startup-screen.is-done{opacity:0;visibility:hidden;pointer-events:none}
.startup-inner{display:flex;align-items:center;flex-direction:column;gap:10px;text-align:center;animation:ll-startup-rise .75s cubic-bezier(.2,.75,.25,1) both}
.startup-inner img{width:94px;height:94px;object-fit:contain;filter:drop-shadow(0 8px 11px rgba(30,50,28,.1))}
.startup-wordmark{font-size:clamp(27px,6vw,33px);font-weight:850;letter-spacing:-1.5px;line-height:1.1;white-space:nowrap}
.startup-wordmark span{color:#788F6B}
html[data-lighting="evening"] .startup-wordmark span{color:#E2CBA0}
.startup-tagline{font-size:12px;letter-spacing:.07em;color:inherit;opacity:.74}
@keyframes ll-startup-rise{from{opacity:.6;transform:translateY(9px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.startup-inner{animation:none}.startup-screen{transition:none}}
.auth-screen{padding:max(16px,env(safe-area-inset-top,0px)) 16px max(16px,env(safe-area-inset-bottom,0px))}
.auth-panel{padding:clamp(22px,4vw,30px);border-radius:22px}
.auth-wordmark{display:flex;align-items:center;gap:8px;font-size:clamp(26px,6vw,32px);font-weight:850;letter-spacing:-1.45px;line-height:1.05;margin-bottom:26px;white-space:nowrap}
.auth-wordmark .brand-wordmark,.auth-wordmark .brand-wordmark b{letter-spacing:-1.45px;color:#293D30;font-weight:850}
.auth-wordmark .brand-wordmark .logo-amp{color:#789267}
.auth-wordmark img{width:43px;height:43px}
.auth-panel h1{font-size:clamp(28px,6vw,33px);margin-bottom:5px;letter-spacing:-1.2px}
.auth-panel p{margin:0 0 15px}
.auth-panel label{margin:10px 0 5px}
.auth-panel input.field{font-size:16px!important;min-height:43px!important}
.auth-panel .login-submit{margin-top:17px;min-height:44px}
.auth-note:empty{display:none}
.auth-small{margin-top:7px}
.network-state{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);z-index:50;
 background:#E9EBDD;color:#2B4030;padding:6px 12px;border-radius:30px;font-size:11px;font-weight:750;
 border:1px solid #C5CEB9;box-shadow:0 3px 12px #0002;pointer-events:none}
/* Page headers keep the principal control beside the title. */
#service-strip-host{display:none!important}
#service-strip{display:flex;align-items:center;max-width:none;min-width:0;width:min(235px,35vw);margin:0!important;flex:0 1 235px}
#service-strip .label{display:none}
#service-strip .service-picker{width:100%;min-height:36px}
#service-strip .service-picker .field{font-size:12px;padding:9px 29px 9px 10px;min-height:36px}
.section-head{align-items:center;column-gap:12px;row-gap:8px}
.section-head>div:first-child{min-width:0;flex:1 1 225px}
.section-head>.controls{display:flex;justify-content:flex-end;align-items:center;gap:7px;min-width:0;flex:0 1 auto}
.section-head>.controls .field{max-width:185px}
.section-head .watched-toggle{margin:0;padding:3px}
.section-head .watched-toggle button{padding:7px clamp(7px,1vw,13px)}
.section-head .service-compact .ll-select{width:100%}
.discover-section{margin-top:8px!important}
.discover-section>.section-head{margin-bottom:4px!important}
.discover-section>.discovery-focus{margin-top:5px!important}
@media(max-width:720px){
 .wrap{padding-top:10px!important}
 .section{margin-top:12px!important}
 .section-head h2{font-size:clamp(21px,5.6vw,26px)}
 .section-head>div:first-child{flex:1 1 auto}
 .section-head>.controls{max-width:54%;flex:0 1 auto;gap:5px}
 #service-strip{min-width:0;flex:1 1 132px;width:clamp(128px,39vw,185px)}
 #service-strip .service-picker{min-width:0}
 #service-strip .service-picker .field{font-size:12px}
 .section-head .watched-toggle{max-width:100%;min-width:0;gap:0}
 .section-head .watched-toggle button{padding:7px 6px;font-size:11px}
 .section-head .controls:has(.watched-toggle){max-width:100%;flex-basis:auto}
 .section-head:has(.watched-toggle){align-items:flex-start}
 .section-head:has(.watched-toggle)>div:first-child{flex-basis:100%}
 .section-head:has(.watched-toggle)>.controls{justify-content:flex-start}
 .mobile-welcome{margin-bottom:9px}
 .mobile-discover-shortcuts{margin-bottom:9px}
}
/* Keep image slots stable while images and ratings arrive asynchronously. */
.tile .art{aspect-ratio:2/3;contain:paint}
.tile .art img{display:block;aspect-ratio:2/3;object-fit:cover}
.toast{display:block;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){.toast{transition:none}}

/* 3.9.19 service picker is rendered as part of the heading itself, so replacing
   a grid while loading cannot remove the persistent selector or its listener. */
.section-head [data-service-picker]{display:flex;align-items:center;min-width:0;margin:0!important;flex:0 1 216px;width:min(216px,34vw);max-width:216px}
.section-head [data-service-picker] .service-picker{width:100%;min-height:37px}
.section-head [data-service-picker] select{min-height:37px;width:100%;font-size:12px}
@media(max-width:720px){.section-head [data-service-picker]{width:clamp(125px,38vw,180px);flex:0 1 180px;min-width:0}}

/* On narrow screens the title and service selector share row one, while the
   description takes a full-width second row rather than crowding the title. */
@media(max-width:720px){
 .section-head:has([data-service-picker]){display:grid;grid-template-columns:minmax(0,1fr) minmax(132px,42%);align-items:center;gap:5px 8px}
 .section-head:has([data-service-picker])>div:first-child{display:contents}
 .section-head:has([data-service-picker])>div:first-child h2{grid-column:1;grid-row:1;min-width:0}
 .section-head:has([data-service-picker])>div:first-child .sub{grid-column:1/-1;grid-row:2;margin:0 0 3px}
 .section-head:has([data-service-picker])>.controls{grid-column:2;grid-row:1;max-width:none!important;min-width:0;flex:none!important;justify-content:flex-end}
 .section-head:has([data-service-picker]) [data-service-picker]{width:100%;max-width:100%;flex:1;}
 .section-head:has([data-service-picker])>.controls:has(> :not([data-service-picker])){grid-column:1/-1;grid-row:3;justify-content:flex-start;flex-wrap:wrap}
 .section-head:has([data-service-picker])>.controls:has(> :not([data-service-picker])) [data-service-picker]{width:min(185px,47vw);flex:0 0 min(185px,47vw)}
}
.auth-note:empty{min-height:0;margin:0}


/* L&L Flix 3.9.20 — splash, persistent Search, accessible controls, and iOS polish. */
:root{--ll-safe-header:#FFF8ED}
html[data-lighting='evening']{--ll-safe-header:#414C40}
/* iOS uses the root canvas before resolving the visual viewport; match header there. */
html{background:var(--ll-safe-header)!important}
@media(max-width:720px), (max-height:560px) and (orientation:landscape) and (pointer:coarse){
  header::before{position:fixed!important;top:0!important;bottom:auto!important;left:0;right:0;
    height:max(0px,env(safe-area-inset-top,0px));background:var(--ll-safe-header)!important;z-index:-1}
}
/* A readable TMDB text fallback is shown only if the remote official logo fails. */
.tmdb-logo-fallback{font-size:11px;font-weight:850;letter-spacing:-.4px;color:#0D253F;
  padding:5px 8px;border-radius:5px;border:1px solid #90CEA1;background:#E5F5EF;vertical-align:middle}
.tmdb-logo-fallback[hidden],.tmdb-logo[hidden]{display:none!important}
/* The open picker and all of its ancestor controls must paint above poster tiles. */
.section-head{position:relative;z-index:5;overflow:visible!important}
.section-head:has(.ll-select.open),.section:has(.ll-select.open){z-index:165!important;position:relative}
.section-head:has(.ll-select.open) .controls,.discovery-focus:has(.ll-select.open){position:relative;z-index:170!important}
.ll-select.open{z-index:180!important}
.ll-select.open .ll-select-menu{z-index:181!important}
#page .grid{position:relative;z-index:1}
/* Larger, calmer, comfortably readable full synopsis. */
.modal.wide .detail-description,.detail-description{font-size:16px!important;line-height:1.55!important;
  letter-spacing:0!important;color:var(--text);overflow-wrap:anywhere}
html[data-lighting='evening'] .modal.wide .detail-description{color:#364338}
/* True icon centering, including cast and header buttons. */
.cast-nav-btn{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important}
.cast-nav-btn svg{width:15px;height:15px;display:block;stroke:currentColor;stroke-width:2.1;
  fill:none;stroke-linecap:round;stroke-linejoin:round}
header .header-tools>button{display:inline-grid!important;place-items:center!important;line-height:1!important}
header .header-tools>button svg{display:block;margin:auto}
/* Search is a real, separately accessible tab on mobile and desktop. */
.search-results-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.page-search-form{display:flex;gap:8px;max-width:760px;margin:0 0 15px;align-items:center}
.page-search-form input{flex:1;min-width:0;font-size:16px}
.search-empty{padding:25px;border:1px solid var(--edge);border-radius:14px;
  color:var(--muted);background:var(--surface2)}
.search-suggestion.keyboard-active{background:#E9EDDF!important;color:#203D2B!important;
  outline:2px solid #829C76;outline-offset:-2px}
#search-box[aria-expanded='true']{outline-offset:1px}
@media(min-width:721px){.page-search-form{max-width:620px}}
@media(max-width:720px){.search-results-actions .btn{font-size:11px;padding:8px 10px}
 .page-search-form{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.startup-inner{animation:none!important}}

/* L&L Flix 3.9.21 — movie detail hierarchy and gentle type scale. */
.modal.wide .detail-genres{
  font-size:13px;line-height:1.4;letter-spacing:0;color:var(--muted);
  margin:7px 0 8px!important;
}
.modal.wide .detail-scores{margin:0 0 9px!important}
.modal.wide .detail-quick-links{margin:8px 0 10px!important}
/* Readable, but less visually dominant than the former desktop 16px synopsis. */
.modal.wide .detail-description,.detail-description{
  font-size:14px!important;line-height:1.5!important;
  letter-spacing:0!important;
}
/* Consistent 14px synopsis on desktop and handheld screens. */
@media (max-width:720px), (max-height:560px) and (orientation:landscape) and (pointer:coarse){
  .modal.wide .detail-description,.detail-description{font-size:14px!important;line-height:1.5!important}
  .modal.wide .detail-genres{font-size:13px;margin:5px 0 7px!important}
}
/*
 Apple draws standalone status-bar glyphs over the page in the supported
 black-translucent mode. Give the glyphs a reliably dark olive backdrop and
 ALWAYS move touch controls below the real safe-area inset. Daylight keeps
 its warm ivory header, with a small intentional transition to that surface.
 This does not affect regular Safari or desktop tabs.
*/
@media (display-mode:standalone){html{background:#414C40!important}}
@media (display-mode:standalone) and (max-width:720px),
       (display-mode:standalone) and (max-height:560px) and (orientation:landscape){
  body::before{
    content:"";display:block;position:fixed;top:0;left:0;right:0;
    height:env(safe-area-inset-top,0px);
    background:#414C40;
    z-index:350;pointer-events:none;
  }
  /* The earlier header pseudo-element was painted *behind* an isolated header. */
  header::before{display:none!important}
  header .ll-header,header.is-scrolled .ll-header{
    padding-top:calc(env(safe-area-inset-top,0px) + 12px)!important;
    padding-bottom:9px!important;
  }
}
@media (display-mode:standalone) and (max-height:560px) and (orientation:landscape){
  header .ll-header,header.is-scrolled .ll-header{
    padding-top:calc(env(safe-area-inset-top,0px) + 7px)!important;
    padding-bottom:7px!important;
  }
}

/* L&L Flix 3.9.21 — consistent, optically centered dialog dismissal. */
.modal .close, .modal.wide>.close, .trailer-dialog .close{
  -webkit-appearance:none;appearance:none;
  box-sizing:border-box;display:grid!important;place-items:center!important;
  padding:0!important;width:44px!important;height:44px!important;
  min-width:44px;min-height:44px;flex:0 0 44px;
  border:0;border-radius:50%;
  background:transparent;color:var(--text);isolation:isolate;
  font:inherit;line-height:1!important;text-align:center;
  box-shadow:none;transform:none;
}
.modal .close svg, .modal.wide>.close svg, .trailer-dialog .close svg{
  display:block!important;width:16px!important;height:16px!important;
  flex:none;position:static;transform:none;pointer-events:none;
}
.modal .close::before{content:"";position:absolute;inset:6px;border:1px solid var(--edge);
  border-radius:50%;background:var(--soft-bg);z-index:-1;pointer-events:none}
.modal .close:hover:where(html.ll-mouse-input *)::before{background:var(--chip-active)}
.trailer-dialog .trailer-modal-header .close{position:relative!important}
.modal.wide>.close{position:absolute;top:20px!important;right:20px!important;z-index:6}
.trailer-dialog .trailer-modal-header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;min-width:0;min-height:44px;margin:0 0 12px;
}
.trailer-dialog .trailer-modal-header h2{
  margin:0!important;padding:0!important;min-width:0;flex:1 1 auto;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  line-height:1.25;
}
.trailer-dialog .trailer-modal-header .close{
  position:relative!important;top:auto!important;right:auto!important;
  margin:0!important;z-index:2;
}
@media(max-width:720px){
  .modal.wide>.close{top:16px!important;right:16px!important}
  .trailer-dialog .trailer-modal-header{margin-bottom:10px}
  .trailer-dialog .trailer-modal-header h2{font-size:17px!important}
}
@media(max-height:560px) and (orientation:landscape) and (pointer:coarse){
  .trailer-dialog .trailer-modal-header{
    min-height:44px;margin-bottom:3px;
  }
  .trailer-dialog .trailer-modal-header h2{
    font-size:12px!important;line-height:1.2!important;
  }
  .trailer-dialog .trailer-player{
    min-height:0;max-height:calc(100dvh - 86px)!important;
  }
}


/* 3.9.22: reserve system insets for every overlay; one Details scroll surface. */
/* 3.9.26: keep the root in layout while its body is fixed for scroll locking.
   Device reports showed root height falling to zero and a 62px viewport loss. */
html.ll-dialog-open{min-height:var(--ll-locked-document-height,100dvh)!important;overflow:hidden!important;overscroll-behavior:none}
body.ll-dialog-open{position:fixed!important;overflow:hidden!important;width:100%;overscroll-behavior:none}
#shade,#trailer-shade{
 box-sizing:border-box;z-index:300;
 padding:calc(env(safe-area-inset-top,0px) + 12px) max(12px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 12px) max(12px,env(safe-area-inset-left,0px))!important;
 overscroll-behavior:contain;
}
#trailer-shade{z-index:310}
#modal,#trailer-dialog{
 max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px)!important;
 overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
}
#modal.wide .detail-description{font-size:14px!important;line-height:1.5!important}
#trailer-dialog .trailer-player{flex-shrink:0}


/* 3.9.24: poster-led Details with actions contained in the information column. */
#modal.wide .detail-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;margin:8px 0}
#modal.wide .detail-facts .content-rating-badge{padding:3px 6px;min-height:0;font-size:11px}
#modal.wide .detail-scores{display:flex;flex-wrap:wrap;gap:5px}
#modal.wide .detail-scores>span{font-size:11px;min-height:0;padding:4px 6px}
#modal.wide .detail-heading{min-width:0}
#modal.wide .detail-heading h2{margin:6px 34px 6px 0!important;overflow-wrap:anywhere}
#modal.wide .detail-heading .tag{font-size:10px;padding:3px 6px}
#modal.wide .detail-quick-links{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0!important}
#modal.wide .detail-quick-links .btn{min-height:36px!important;height:36px;font-size:12px;padding:6px 10px;max-width:100%}
#modal.wide .detail-quick-links .rt-brand-image{height:18px!important;width:76px!important;object-fit:contain}
#modal.wide .detail-poster-wrap,#modal.wide img.detail-art{background:transparent!important;border:0!important;box-shadow:none!important}
#modal.wide .availability-details summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none!important;padding:6px 2px;font-size:12px;min-height:0}
#modal.wide .availability-details summary::-webkit-details-marker{display:none}
#modal.wide .availability-details summary::marker{content:""}
#modal.wide .availability-count{margin-left:0;font-size:11px;white-space:nowrap}
.availability-chevron{display:block;width:14px;height:14px;flex:0 0 14px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}
.availability-details[open] .availability-chevron{transform:rotate(90deg)}
#modal.wide .availability-details[open] summary{border:0;margin-bottom:6px}
/* Dynamic viewport for content, large viewport coverage for the backdrop. */
#shade,#trailer-shade{position:fixed!important;inset:0!important;width:100%;height:var(--dialog-viewport-height,100dvh);min-height:0;margin:0!important;top:var(--dialog-viewport-top,0px)!important;
 padding:calc(env(safe-area-inset-top,0px) + 8px) max(10px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 8px) max(10px,env(safe-area-inset-left,0px))!important;
 isolation:isolate}
#shade::before,#trailer-shade::before{content:"";position:absolute;top:100%;left:0;right:0;height:100lvh;background:inherit;z-index:-1;pointer-events:none}
html.ll-dialog-open{background:#414C40!important}
#modal,#trailer-dialog{max-height:calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px)!important}
/* 3.9.25: aligned desktop composition and the approved portrait proportions. */
@media(min-width:601px){
 #modal.wide{--detail-height:min(760px,calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px));height:var(--detail-height)!important;
  width:min(1200px,calc((var(--detail-height) - 40px)*.666667 + 600px),100%);padding:20px;overflow:hidden!important;box-sizing:border-box}
 #modal.wide .detail-layout{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:22px;height:100%!important;min-height:0;align-items:start}
 #modal.wide .detail-poster-wrap{float:none;margin:0;padding:0;width:100%;height:100%;min-height:0;display:flex;align-items:flex-start;justify-content:flex-start;overflow:hidden}
 #modal.wide .detail-art{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;object-position:top left;box-shadow:none}
 #modal.wide .detail-info-panel{display:block;height:100%!important;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;padding:0 8px 0 0}
 #modal.wide .detail-heading>.tag{display:inline-block;margin-top:0}
 #modal.wide .detail-heading h2{font-size:clamp(25px,2.4vw,34px);line-height:1.12;letter-spacing:-.6px}
 #modal.wide .detail-genres{font-size:13px;margin:7px 0 10px!important}
 #modal.wide .detail-facts{margin:8px 0}
 #modal.wide .detail-scores{gap:6px}
 #modal.wide .detail-scores>span{font-size:12px;padding:5px 8px}
 #modal.wide .detail-quick-links{margin:12px 0!important}
 #modal.wide .identity-row{margin:12px 0}
 #modal.wide .detail-description{margin:12px 0 14px}
 #modal.wide>.close{top:10px!important;right:10px!important}
}
@media(min-width:601px) and (max-height:560px){
 #modal.wide{--detail-height:calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);padding:12px}
 #modal.wide .detail-layout{grid-template-columns:minmax(0,38fr) minmax(0,62fr);gap:16px}
 #modal.wide .detail-heading h2{font-size:24px}
}
@media(max-width:600px){
 #shade:has(#modal.wide){align-items:center}
 #modal.wide{height:auto!important;overflow-y:auto!important;padding:12px 10px;width:100%}
 #modal.wide .detail-layout{display:grid;grid-template-columns:minmax(0,43fr) minmax(0,57fr);gap:0 10px;height:auto!important;min-height:0;align-items:start}
 #modal.wide .detail-info-panel,#modal.wide .detail-intro{display:contents}
 #modal.wide .detail-poster-wrap{grid-column:1;grid-row:1;float:none;width:100%;height:auto;margin:0;padding:0;display:block}
 #modal.wide .detail-art{width:100%;height:auto;max-height:none;object-fit:contain;display:block}
 #modal.wide .detail-heading{grid-column:2;grid-row:1}
 #modal.wide .detail-heading h2{font-size:clamp(20px,5.2vw,25px);line-height:1.13;margin-right:0!important;letter-spacing:-.5px}
 #modal.wide .detail-heading>.tag{display:inline-block;margin-right:34px}
 #modal.wide .detail-genres{font-size:12px;line-height:1.4;margin:7px 0!important}
 #modal.wide .detail-facts{margin:7px 0}
 #modal.wide .detail-scores{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
 #modal.wide .detail-scores>span{font-size:11px;line-height:1.4;padding:4px 6px;max-width:100%;white-space:normal}
 #modal.wide .detail-quick-links{gap:5px;margin:8px 0 0!important}
 #modal.wide .detail-quick-links .btn{font-size:10px;padding:5px 6px;height:34px;min-height:34px!important;gap:4px}
 #modal.wide .detail-quick-links .rt-brand-image{width:66px!important;height:17px!important}
 #modal.wide .identity-row,#modal.wide .detail-description,
 #modal.wide .availability-details,#modal.wide .detail-bottom-bar,#modal.wide .cast-section{grid-column:1/-1;min-width:0}
 #modal.wide .identity-row{margin:10px 0 0}
 #modal.wide .detail-description{margin:12px 0}
 #modal.wide>.close{top:6px!important;right:6px!important}
}
.card-action-footer .card-watched-action{white-space:normal}
.footer{margin-top:18px;padding-top:9px;font-size:10px;line-height:1.4}
.footer-main{display:flex;gap:5px 10px;align-items:center}
.footer-main>span:first-child{font-size:10px}
.footer-attribution{font-size:10px;gap:3px}
.footer .tmdb-logo{width:36px;height:18px;margin-right:2px}
.footer .tmdb-logo-fallback{font-size:9px;padding:2px 4px}
.footer-credits{font-size:10px}
.footer-credits summary{padding:6px 0}
@media(prefers-reduced-motion:reduce){.availability-chevron{transition:none}}


/* 3.9.27: balanced Details header and compact activity flow. */
.detail-category-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:30px;padding-right:36px}
#modal.wide .detail-category-row .tag{margin:0!important}
#modal.wide .detail-category-row .content-rating-badge{font-size:11px;line-height:1.3;padding:3px 6px;min-height:0}
#modal.wide .detail-description{margin-bottom:8px!important}
#modal.wide .detail-bottom-bar{margin:6px 0 8px!important}
#modal.wide .availability-details{margin:6px 0!important;padding-top:6px!important}
#modal.wide .cast-section{margin-top:10px!important}
html[data-dialog-input="pointer"] .modal .close:focus{outline:none!important}
@media(max-width:600px){
 #modal.wide .detail-heading{align-self:stretch;display:flex;flex-direction:column}
 #modal.wide .detail-quick-links{margin-top:auto!important;padding-top:8px}
 #modal.wide .detail-quick-links .btn{font-size:10px;padding:5px}
 #modal.wide .detail-quick-links .rt-brand-image{width:60px!important}
}
@media(min-width:601px) and (max-height:560px){
 #shade:has(#modal.wide){align-items:center;padding-top:calc(env(safe-area-inset-top,0px) + 5px)!important;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 5px)!important}
 #modal.wide{--detail-height:calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 10px);max-height:var(--detail-height)!important;padding:10px}
}


/* 3.9.29: one final palette and Details layout override per viewport. */
html{--ll-safe-header:#FFF8ED;--header-bg:#FFF8ED}
html[data-lighting="evening"]{
 color-scheme:light;--bg:#A3AA9A;--surface:#C3BAA8;--surface2:#D1C8B6;--panel-bg:#C3BAA8;
 --edge:#8A8D7C;--text:#303A32;--muted:#414B3F;--thyme:#50664D;--thyme-strong:#3F573D;
 --blue:#50664D;--green:#365A3B;--red:#8A3E43;--field-bg:#D1C8B6;--chip-bg:#C3BAA8;
 --chip-active:#A6B09A;--chip-selected-text:#303A32;--soft-bg:#D1C8B6;--poster-blank:#A2A694;
 --item-bg:#C3BAA8;--item-hover:#BABFA9;--shadow:rgba(45,50,39,.13);--lounge-header:#DED7C7;
 --header-bg:#DED7C7;--ll-safe-header:#DED7C7;--hero-left:#C3BAA8;--hero-mid:#CCC3AF;--hero-right:#D1C8B6;
}
html[data-lighting="evening"] body,html[data-lighting="evening"] .auth-screen{background:var(--bg)!important;color:var(--text)}
html[data-lighting="evening"] :is(.tile,.modal,.auth-panel,.service-picker,.utility-menu,.trailer-dialog){background:var(--surface)!important;color:var(--text)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] :is(.btn,.tile-actions button,.tile-actions a,.card-quick-actions button,.field,.chip,.option,.service-pill,.card-content-rating,.content-rating-badge,.ll-select-trigger){background:var(--field-bg)!important;color:var(--text)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] :is(.btn.primary,.option.selected,.chip.active,.card-icon-action.saved){background:var(--chip-active)!important;color:var(--text)!important;border-color:var(--thyme)!important}
html[data-lighting="evening"] .card-quick-actions .card-icon-action.selected{background:#785B68!important;color:#FFF8F7!important;border-color:#A77F90!important}
html[data-lighting="evening"] :is(.provider-group,.note,.detail-bottom-bar,.watched-toggle,.trailer-help){background:var(--soft-bg)!important;color:var(--text)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] :is(.detail-description,.hero p,.modal label,.auth-wordmark,.auth-wordmark .brand-wordmark,.auth-wordmark .brand-wordmark b,.auth-panel h1,.cast-name,.stream-brand,.origin-brand){color:var(--text)!important}
html[data-lighting="evening"] :is(.footer,.footer a,.auth-small,.auth-panel p){color:var(--muted)!important}
html[data-lighting="evening"] .field::placeholder{color:var(--muted)!important}
html[data-lighting="evening"] :is(.rating,.star-fill){color:#E1BF7E!important}
html[data-lighting="evening"] .star-outline{color:#B4BAA9!important}
html[data-lighting="evening"] :is(.ll-select-menu,.search-suggestions,select option,select optgroup),html[data-lighting="evening"] header .search-suggestions{background:var(--surface)!important;color:var(--text)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] :is(.ll-select-item,.search-suggestion,.search-suggestion small),html[data-lighting="evening"] header .search-suggestion,html[data-lighting="evening"] header .search-suggestion small{color:var(--text)!important;background:transparent!important}
html[data-lighting="evening"] :is(.ll-select-item:hover:where(html.ll-mouse-input *),.ll-select-item[aria-selected="true"],.search-suggestion:hover:where(html.ll-mouse-input *),.search-suggestion.keyboard-active),html[data-lighting="evening"] header .search-suggestion:hover:where(html.ll-mouse-input *){background:var(--chip-active)!important;color:var(--text)!important}
html[data-lighting="evening"] :is(.cast-person,.cast-photo){background:var(--soft-bg)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] .tile .art{background:var(--poster-blank)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] .mobile-dock::before{background:var(--chip-active)!important}
html[data-lighting="evening"] .hero{background:linear-gradient(110deg,var(--hero-left),var(--hero-right))!important}
/* The actual header, root canvas and login/splash edges now use the same color. */
html,html.ll-dialog-open{background:var(--ll-safe-header)!important}
body::before{background:var(--ll-safe-header)!important}
html:not([data-lighting="evening"]) header{background:#FFF8ED!important}
html:not([data-lighting="evening"]) .auth-screen,.startup-screen{background:radial-gradient(ellipse at center,#E8EDDF 0%,#FFF8ED 72%)!important}
html[data-lighting="evening"] .startup-screen{background:#DED7C7!important;color:#303A32!important}
html.ll-booting,html.ll-booting body{background:var(--ll-safe-header)!important}
/* Eliminate duplicate ring and explicitly set the icon color in both themes. */
html .modal .close,html[data-lighting="evening"] .modal .close{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--text)!important}
html[data-dialog-input="pointer"] .modal .close{outline:none!important}
html[data-dialog-input="keyboard"] .modal .close:focus-visible{outline:2px solid var(--thyme)!important;outline-offset:-2px}
#modal.wide .detail-heading .identity-row{margin:5px 0!important;min-height:0;gap:4px}
#modal.wide .detail-heading .stream-brand,#modal.wide .detail-heading .origin-brand{font-size:11px;padding:4px 6px;gap:5px;line-height:1.25}
#modal.wide .detail-heading .identity-row img{width:20px;height:20px;object-fit:contain;flex:none}
#modal.wide .detail-heading .other-services{display:none}
#modal.wide .detail-heading .stream-brand strong{font-size:11px;overflow-wrap:anywhere}
#modal.wide .detail-heading .detail-quick-links{margin:6px 0 0!important;padding-top:0}
#modal.wide .detail-bottom-bar .my-rating-block{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#modal.wide .detail-bottom-bar .personal-rating{display:flex;align-items:center;gap:4px 8px;flex:0 1 auto}
#modal.wide .detail-bottom-bar .your-score{min-width:0;font-size:11px}
#modal.wide .detail-bottom-bar{padding:8px 10px!important;gap:7px!important}
#modal.wide .detail-bottom-bar .personal-star{width:24px;height:28px;font-size:25px}
@media(min-width:601px){
 #modal.wide{--detail-height:min(700px,calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px));width:min(1200px,100%);padding:18px}
 #modal.wide .detail-layout{grid-template-columns:minmax(0,min(44%,calc((var(--detail-height) - 38px)*2/3))) minmax(0,1fr);gap:20px}
 #modal.wide .detail-poster-wrap{align-items:center;justify-content:center}
 #modal.wide .detail-art{object-position:center}
 #modal.wide .detail-info-panel{scrollbar-gutter:stable;padding-right:8px}
 #modal.wide>.close{top:12px!important;right:30px!important}
 #modal.wide .detail-category-row{padding-right:48px;min-height:34px}
}
@media(min-width:601px) and (max-height:560px){
 #modal.wide{--detail-height:calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 10px);padding:10px}
 #modal.wide .detail-layout{grid-template-columns:minmax(0,calc((var(--detail-height) - 22px)*2/3)) minmax(0,1fr);gap:16px}
 #modal.wide>.close{right:24px!important;top:6px!important}
}
@media(max-width:600px){
 #modal.wide{scrollbar-gutter:stable}
 #modal.wide>.close{right:12px!important;top:6px!important}
 #modal.wide .detail-heading{display:block;align-self:start}
 #modal.wide .detail-heading h2{font-size:clamp(19px,4.8vw,24px);line-height:1.12;margin:4px 0 6px!important;overflow-wrap:anywhere}
 #modal.wide .detail-genres{font-size:11px;margin:5px 0!important}
 #modal.wide .detail-scores{gap:4px;margin-bottom:5px!important}
 #modal.wide .detail-scores>span{font-size:10px;padding:3px 5px}
 #modal.wide .detail-heading .identity-row{grid-column:auto;display:flex;flex-direction:column;align-items:flex-start}
 #modal.wide .detail-heading .detail-quick-links .btn{height:32px;min-height:32px!important;padding:4px;font-size:10px}
 #modal.wide .detail-bottom-bar .my-rating-block{justify-content:space-between}
}

/* 3.9.30: complementary accents on restrained surfaces. */
html:not([data-lighting="evening"]){--bg:#F7F4EB;--surface:#FFFCF5;--surface2:#F0EEE3;--panel-bg:#FFFCF5;--edge:#D1D5C5;--text:#2D3B30;--muted:#657062;--thyme:#687F57;--thyme-strong:#485F3C;--chip-active:#E0E8D1;--chip-selected-text:#2F472F;--soft-bg:#F1F1E5}
html:not([data-lighting="evening"]) .rating{color:#8B692C}
html:not([data-lighting="evening"]) .card-quick-actions .card-icon-action.selected{background:#92794B;color:#FFFFFF;border-color:#92794B}
/* C: bronze ratings, forest actions and rose shared activity. */
html[data-lighting="evening"] .btn.primary,html[data-lighting="evening"] .btn.primary:hover:where(html.ll-mouse-input *){background:#50664D!important;border-color:#50664D!important;color:#FFF8EB!important}
html[data-lighting="evening"] .tag{background:#50664D;color:#FFF8EB}
html[data-lighting="evening"] .rating,html[data-lighting="evening"] .star-fill{color:#80602D!important}
html[data-lighting="evening"] .star-outline{color:#69705D!important}
html[data-lighting="evening"] .card-quick-actions .card-icon-action.selected,html[data-lighting="evening"] .detail-share.selected{background:#906A78!important;border-color:#906A78!important;color:#FFFFFF!important}
html[data-lighting="evening"] .detail-shared-complete.is-undo{color:#6E4053!important}
html[data-lighting="evening"] .content-rating-badge{color:#303A32!important;border-color:#8A8D7C!important}
html[data-lighting="evening"] .watched-segments button.active{background:#A6B09A!important;color:#303A32!important}
/* Equal targets, with vertical page scrolling still owned by the browser. */
.watched-toggle.watched-segments{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,360px);max-width:100%;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.watched-toggle.watched-segments button{width:100%;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;white-space:nowrap;padding:8px 6px!important;touch-action:pan-y}
.detail-synopsis{min-width:0}
.synopsis-toggle{display:none;border:0;background:transparent;color:var(--thyme-strong);font:inherit;font-size:12px;font-weight:700;padding:3px 0 7px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.original-network-info{margin-top:8px}
@media(min-width:901px) and (pointer:fine) and (min-height:561px){
 #modal.wide{--detail-height:min(770px,calc(var(--dialog-viewport-height,100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px))}
}
@media(min-width:901px) and (pointer:fine){
 #modal.wide .detail-synopsis:not(.is-expanded) .detail-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
 #modal.wide .detail-synopsis.has-overflow .synopsis-toggle{display:inline-block}
 #modal.wide .detail-synopsis .detail-description{margin-bottom:3px!important}
}
@media(max-width:600px){
 #modal.wide .detail-heading{align-self:stretch;display:flex;flex-direction:column}
 #modal.wide .detail-category-row{min-height:0;align-items:flex-start}
 #modal.wide .detail-heading .detail-quick-links{margin-top:auto!important;padding-top:5px}
 #modal.wide .detail-synopsis{grid-column:1/-1;min-width:0}
 #modal.wide .detail-synopsis .detail-description{margin-top:8px!important;margin-bottom:8px!important}
 #modal.wide .detail-heading .identity-row{margin-bottom:5px!important}
}

/* 3.9.31: matching palette across devices and readable themed controls. */
html[data-lighting="evening"] header{background:var(--ll-safe-header)!important;border-color:var(--edge)!important;color:var(--text)!important;box-shadow:0 2px 10px var(--shadow)}
html[data-lighting="evening"] header :is(.home-logo,.brand-wordmark,.header-greeting strong,.header-greeting span,.nav-groups nav button){color:var(--text)!important}
html[data-lighting="evening"] header :is(.home-logo b,.home-logo .logo-amp){color:#3F573D!important}
html[data-lighting="evening"] header :is(.taste-icon,.lighting-icon,.menu-trigger){background:var(--surface)!important;color:var(--text)!important;border-color:var(--edge)!important}
html[data-lighting="evening"] header .nav-groups nav button.active{background:var(--chip-active)!important;color:var(--text)!important;border-color:var(--thyme)!important}
html[data-lighting="evening"] .startup-wordmark span{color:#3F573D!important}
html[data-lighting="evening"] .auth-note{color:var(--text)!important}
html[data-lighting="evening"] .auth-wordmark .brand-wordmark .logo-amp{color:#50664D!important}
/* WebKit autofill can otherwise paint yellow over themed inputs. */
html .auth-panel input:-webkit-autofill,
html .auth-panel input:-webkit-autofill:hover:where(html.ll-mouse-input *),
html .auth-panel input:-webkit-autofill:focus{
 -webkit-box-shadow:0 0 0 1000px var(--field-bg) inset!important;
 box-shadow:0 0 0 1000px var(--field-bg) inset!important;
 -webkit-text-fill-color:var(--text)!important;caret-color:var(--text)!important;
}
html .auth-panel input:autofill{background:var(--field-bg)!important;color:var(--text)!important;box-shadow:0 0 0 1000px var(--field-bg) inset!important}
/* Reserve a row for category and Close, rather than allowing Close over titles. */
#modal.wide .detail-category-row{min-height:32px;align-items:flex-start;padding-right:44px}
#modal.wide>.close{top:2px!important}
#modal.wide .detail-heading h2{margin-top:0!important}
#modal.wide .detail-heading .detail-quick-links{gap:7px}
#modal.wide .detail-heading .detail-quick-links .btn{height:42px!important;min-height:42px!important;max-height:none!important;font-size:12px!important;padding:6px 9px!important;line-height:1.2}
#modal.wide .detail-heading .detail-quick-links .rt-brand-image{width:90px!important;height:25px!important;object-fit:contain}
@media(min-width:901px) and (pointer:fine){
 #modal.wide .cast-name{font-size:14px!important;line-height:1.3;margin-top:6px}
 #modal.wide .cast-role{font-size:12px!important;line-height:1.35}
 #modal.wide .detail-category-row .tag,#modal.wide .detail-category-row .content-rating-badge{font-size:13px!important;padding:5px 8px;line-height:1.3}
 #modal.wide .detail-category-row{min-height:34px}
 #modal.wide .detail-genres{margin:7px 0!important}
 #modal.wide .detail-scores{margin-bottom:7px!important}
 #modal.wide .detail-heading .identity-row{margin:7px 0!important}
}
@media(max-width:600px){
 #modal.wide .detail-heading{display:flex;flex-direction:column;justify-content:flex-start;gap:5px;align-self:stretch}
 #modal.wide .detail-category-row{min-height:28px;flex-shrink:0;gap:5px;padding-right:36px}
 #modal.wide .detail-heading h2{margin:0!important}
 #modal.wide .detail-heading .detail-genres,#modal.wide .detail-heading .detail-scores,#modal.wide .detail-heading .identity-row{margin:0!important}
 #modal.wide .detail-heading .detail-quick-links{margin: auto 0 0!important;padding:0;gap:5px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 #modal.wide .detail-heading .detail-quick-links .btn{height:40px!important;min-height:40px!important;min-width:0;max-width:100%;padding:5px!important;font-size:11px!important;gap:4px}
 #modal.wide .detail-heading .detail-quick-links .rt-brand-image{width:min(75px,calc(100% - 16px))!important;min-width:0;height:23px!important;flex:0 1 auto}
 #modal.wide .detail-synopsis .detail-description{margin-top:8px!important}
 #modal.wide>.close{top:0!important;right:12px!important}
}

/* 3.9.32: brighter shared Evening canvas and warm-stone chrome. */
html[data-lighting="evening"] .auth-screen{background:linear-gradient(180deg,var(--ll-safe-header),var(--bg) 35%)!important}
html[data-lighting="evening"] .startup-tagline{color:var(--text);opacity:1}
html[data-lighting="evening"] .startup-wordmark{color:var(--text);font-weight:850}
html[data-lighting="evening"] :is(.section-head h2,.rating-heading){color:var(--text)}
/* Empty personal-rating stars are outlines, never solid selected-looking icons. */
html .personal-star .star-outline{
 color:transparent!important;-webkit-text-stroke:1px #69705D;
}
html .personal-star .star-fill{-webkit-text-stroke:0}

/* 3.9.33: shared navigation contrast and dock-style collection filters. */
html header .nav-groups nav button:hover:where(html.ll-mouse-input *),html header .nav-groups nav button:focus-visible{background:#50664D!important;color:#FFF8ED!important}
html .service-picker,html[data-lighting="evening"] .service-picker{background:var(--field-bg)!important;color:var(--text)!important}
html .service-picker .ll-select-trigger,html[data-lighting="evening"] .service-picker .ll-select-trigger{background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important}
html .service-picker .ll-select-trigger-label{color:inherit!important;background:transparent!important}
.page-search-wrap{position:relative;flex:1;min-width:0}.page-search-wrap input{width:100%}
html .collection-segments{position:relative;isolation:isolate;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:min(100%,360px);max-width:100%;padding:5px!important;gap:2px!important;border-radius:22px!important;border:1px solid rgba(255,255,255,.68)!important;background:color-mix(in srgb,var(--surface) 78%,transparent)!important;box-shadow:0 6px 20px #242d2420,inset 0 1px 0 #ffffff80!important;backdrop-filter:blur(28px) saturate(160%);-webkit-backdrop-filter:blur(28px) saturate(160%);touch-action:pan-y;user-select:none}
html .collection-segments::before{content:"";position:absolute;z-index:0;pointer-events:none;left:5px;top:5px;width:calc((100% - 14px)/3);height:calc(100% - 10px);border-radius:17px;background:var(--chip-active);box-shadow:0 2px 9px #3140301c,inset 0 1px 1px #ffffff70;transform:translateX(calc(var(--segment-index,0) * (100% + 2px)));transition:transform .2s ease}
html .collection-segments:has(button:nth-child(2).active){--segment-index:1}
html .collection-segments:has(button:nth-child(3).active){--segment-index:2}
html .collection-segments button,html[data-lighting="evening"] .collection-segments button.active{position:relative;z-index:1;width:100%;min-width:0;min-height:44px;padding:8px 6px!important;border:0!important;border-radius:17px;background:transparent!important;box-shadow:none!important;color:var(--text)!important;white-space:nowrap;touch-action:pan-y}
html .collection-segments button:hover:where(html.ll-mouse-input *){color:var(--text)!important;background:transparent!important}
@media(prefers-reduced-motion:reduce){html .collection-segments::before{transition:none}}

/* 3.9.34: stable collection geometry and compact, viewport-contained menus. */
html .section-head:has(.collection-segments){display:flex;flex-wrap:wrap}
html .section-head:has(.collection-segments)>.controls{width:360px;max-width:100%!important;flex:0 0 360px;min-width:0}
html .section-head .collection-segments{width:360px!important;max-width:100%!important;flex:0 0 auto!important}
html .section-head .collection-segments button{font-size:12px!important}
html .together-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 12px}
html .together-heading h2{margin:0}
html .together-heading>[data-action="refresh-shared"]{justify-self:end}
html .together-heading>.sub,html .together-heading>.controls{grid-column:1/-1}
html .ll-select-menu{min-width:0!important;max-width:calc(100vw - 24px)!important}
html .ll-select-item>span:first-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){
 html .section-head:has(.collection-segments)>.controls{flex-basis:min(360px,100%);width:min(360px,100%)}
 html .app-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0;max-width:100%}
 html .app-filters>.ll-select{min-width:0;width:100%}
 html .ll-select-trigger{min-width:0;max-width:100%}
 html .ll-select-item{padding:10px 9px;min-height:42px}
}

/* 3.9.34 revision 2: contain dropdown stacking beneath persistent navigation. */
html main.wrap{position:relative;z-index:0;isolation:isolate}
html body>header{z-index:20!important;isolation:isolate;box-shadow:0 1px 3px rgba(35,44,35,.08)!important;transition:box-shadow .18s ease}
html body>header.is-scrolled{box-shadow:0 2px 5px rgba(35,44,35,.10),0 8px 18px -7px rgba(35,44,35,.25)!important}
@media(prefers-reduced-motion:reduce){html body>header{transition:none}}

/* 3.9.35: one collection layout, with full-width phone portrait segments. */
.together-title{display:inline-flex;align-items:center;gap:8px;max-width:100%}
html .collection-refresh{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:0!important;border-radius:50%;vertical-align:middle}
html .collection-refresh svg{display:block;flex:none}
@media(max-width:720px) and (orientation:portrait){
 html .section-head:has(.collection-segments)>.controls{width:100%!important;max-width:100%!important;flex:0 0 100%!important}
 html .section-head .collection-segments{width:100%!important;max-width:100%!important}
}

/* 3.9.35 revision 2: unified browsing navigation and filter geometry. */
.browse-title{display:inline-flex;align-items:center;gap:8px;max-width:100%}
html #page .app-filters{gap:7px!important;align-items:stretch}
html #page .app-filters>.ll-select{width:180px;min-width:0;flex:0 1 180px;max-width:100%}
html #page .app-filters>.ll-select .ll-select-trigger{min-height:40px;font-size:12px;padding:8px 11px}
html #page .app-filters>.btn{min-height:40px}
@media(max-width:720px){
 html #page .app-filters:not(.hidden){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%}
 html #page .app-filters>.ll-select{width:100%;min-width:0;max-width:100%}
 html #page .app-filters>.ll-select .ll-select-trigger{min-height:40px;font-size:12px}
}

/* 3.9.35 final: smaller refresh visuals, unchanged accessible hit area. */
html[data-lighting] .btn.collection-refresh{position:relative;isolation:isolate;background:transparent!important;border:0!important;box-shadow:none!important}
html .btn.collection-refresh::before{content:"";position:absolute;inset:9px;border:1px solid var(--edge);border-radius:50%;background:var(--field-bg);box-shadow:0 1px 3px var(--shadow);pointer-events:none}
html .btn.collection-refresh:hover:where(html.ll-mouse-input *)::before{background:var(--item-hover)}
html .btn.collection-refresh svg{position:relative;width:16px;height:16px;stroke-width:2.5;z-index:1}

/* 3.9.35 alignment revision: refresh hit areas must not enlarge heading rows. */
html .together-title,html .browse-title{display:inline-block;position:relative;padding-right:36px;max-width:100%;vertical-align:baseline}
html .together-title>.collection-refresh,html .browse-title>.collection-refresh{position:absolute!important;right:-4px;top:50%;transform:translateY(calc(-50% + 2px))}
@media(max-width:720px){
 html .section-head:has(.collection-segments)>div:first-child>.sub{min-height:3em}
}

/* 3.9.36: one header-colored base canvas, with page artwork painted below it. */
html[data-lighting] body{
 background-color:var(--ll-safe-header)!important;
 background-image:radial-gradient(ellipse 56% 26% at 80% 0%,rgba(253,221,156,.25),transparent),linear-gradient(var(--bg),var(--bg))!important;
 background-position:0 env(safe-area-inset-top,0px)!important;
 background-size:100% calc(100% - env(safe-area-inset-top,0px))!important;
 background-repeat:no-repeat!important;
}
html[data-lighting="evening"] body{background-image:linear-gradient(var(--bg),var(--bg))!important}
html.ll-booting[data-lighting] body{background-image:none!important}
html body>header{box-shadow:0 2px 5px rgba(35,44,35,.12)!important}
html body>header.is-scrolled{box-shadow:0 3px 7px rgba(35,44,35,.192),0 11px 22px -6px rgba(35,44,35,.36)!important}

/* 3.9.37: restrained depth and actionable removal feedback. */
html body>header.is-scrolled{box-shadow:0 3px 7px rgba(35,44,35,.216),0 11px 22px -6px rgba(35,44,35,.405)!important}
html[data-lighting] .tile{box-shadow:0 3px 10px rgba(35,44,35,.10),0 8px 20px -12px rgba(35,44,35,.18)!important}
@media(hover:hover) and (pointer:fine){html[data-lighting] .tile:hover:where(html.ll-mouse-input *){box-shadow:0 5px 14px rgba(35,44,35,.14),0 12px 24px -12px rgba(35,44,35,.23)!important}}
.collection-count{font-size:.65em;font-weight:650;color:var(--muted);vertical-align:middle}
html #toast{z-index:400;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 28px)}
html #toast.show{pointer-events:auto}
html #toast .toast-undo{min-height:36px;padding:5px 10px;flex:none;color:inherit;background:transparent;border:1px solid currentColor;border-radius:8px;font-weight:750;text-decoration:underline;text-underline-offset:3px}

/* 3.9.38: compact title alignment, clear discovery choices and account controls. */
.explore-hint{font-size:12px;line-height:1.4;color:var(--muted);margin:-4px 0 12px}
html .discovery-focus{flex-wrap:wrap}
html .discovery-focus>label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.settings-password>summary{cursor:pointer;font-size:17px;font-weight:750;padding:8px 0}
.password-form{display:grid;gap:8px;margin-top:10px;max-width:420px}
.password-form label{font-weight:650}
.password-form .field{width:100%;min-width:0}
.password-form .help{margin:0;overflow-wrap:anywhere}
.password-form .help:empty{display:none}
.password-form button{justify-self:start;margin-top:4px}
.header-greeting,.mobile-welcome{min-width:0;flex-wrap:wrap}
.header-greeting strong,.mobile-welcome strong,.header-greeting span,.mobile-welcome span{overflow-wrap:anywhere;white-space:normal}
#modal.wide .detail-heading h2{margin-top:0!important;margin-bottom:4px!important}
@media(max-width:600px){
 #modal.wide .detail-heading{gap:4px}
 #modal.wide .detail-category-row{min-height:22px}
 #modal.wide .detail-heading h2{margin:0!important}
 #modal.wide .detail-heading>.detail-quick-links{flex-shrink:0;margin: auto 0 0!important;padding:0}
 #modal.wide .detail-heading>.detail-scores{gap:4px}
}

/* 3.9.40: reserve two title lines; short titles sit on the lower baseline. */
@media(max-width:600px) and (orientation:portrait){
 #modal.wide .detail-heading h2{
  display:flex;align-items:flex-end;flex-shrink:0;
  min-height:2.26em;min-height:2lh;
 }
}
/* 3.9.40: household setup uses the existing theme and touch targets. */
#household-gate[hidden],#login-content[hidden]{display:none!important}
#household-gate h1{overflow-wrap:anywhere}
.auth-screen:has(#household-gate:not([hidden])){align-items:safe center}
.household-join{margin:20px 0}.household-join summary{cursor:pointer;font-weight:750}
.household-dismiss,.household-signout{margin-top:12px}
.household-name{font-weight:800;margin:0 0 8px;overflow-wrap:anywhere}
.household-members{padding-left:22px;margin:8px 0 12px}.household-members li{margin:6px 0;overflow-wrap:anywhere}
.household-link-output{width:100%;min-width:0;font-size:16px}
#household-settings .row{flex-wrap:wrap;gap:8px}
.household-status:empty,#household-settings-status:empty{display:none}

/* 3.12.10: clear draft selection, keyboard-aware fields and poster viewer. */
#modal .choice-grid .option:not(.selected){background:var(--surface)!important;color:var(--text)!important;border-color:var(--edge)!important}
#modal .choice-grid .option.selected::before{content:'✓ ';font-weight:800}
@media(hover:hover){#modal .choice-grid .option:not(.selected):hover:where(html.ll-mouse-input *){box-shadow:inset 0 0 0 1px var(--muted)}}
.password-input{position:relative}.password-input .field{padding-right:52px!important}
.password-eye{position:absolute;right:3px;top:3px;bottom:3px;min-width:44px;border:0;background:transparent;color:var(--text);display:grid;place-items:center;border-radius:10px}
#modal input{scroll-margin-block:20px}#profile-name-form .field,#household-rename-form .field{flex:1;width:auto;min-width:120px}
.poster-viewer{position:fixed;inset:0;z-index:320;background:#000e;display:flex;align-items:center;justify-content:center;padding:20px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom));cursor:pointer}
.poster-viewer img{max-width:100%;max-height:calc(100dvh - 48px);object-fit:contain;border-radius:12px}.poster-viewer button{position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;background:#222;color:white;border:1px solid #aaa;border-radius:50%;width:44px;height:44px;font-size:26px}
.detail-art[data-action]{cursor:pointer}

/* 3.12.10: names remain readable until Change is selected. */
.name-editor [hidden]{display:none!important}.name-summary{display:flex;align-items:center;justify-content:space-between;gap:16px}.name-summary>div{min-width:0}.name-summary strong{display:block;overflow-wrap:anywhere}.name-label{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}.name-edit-fields .row{margin-top:10px}.name-editor{margin:14px 0}.name-editor .help:empty{display:none}

/* 3.12.10: readable summaries, compact metadata, full viewport backdrop. */
#modal.wide .detail-synopsis:not(.is-expanded) .detail-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
#modal.wide .detail-synopsis.has-overflow .synopsis-toggle{display:inline-block}
#modal.wide .detail-heading h2{margin-top:4px!important}
#modal.wide .detail-heading.is-crowded h2{min-height:0;display:block}
.detail-genres button{font:inherit;color:inherit;background:transparent;border:0;text-decoration:underline;cursor:pointer;padding:2px 4px}
.genre-short{display:none}
@media(max-width:600px){.genre-short{display:inline}.genre-full{display:none}.detail-genres.expanded .genre-full{display:inline}.detail-genres.expanded .genre-short{display:none}}
html.ll-dialog-open body::before{display:none!important}

.rec-reason{font-size:12px;line-height:1.4;margin:5px 0;color:var(--muted)}

/* 3.12.10: web content owns the standalone safe area; modal blur covers it. */
html,html.ll-dialog-open{background:var(--ll-chrome-background,var(--ll-safe-header))!important}
@media(display-mode:standalone){
 body::before{background:var(--ll-safe-header)!important}
 html.ll-dialog-open body::before{display:none!important}
 #shade,#trailer-shade{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
}
@media(min-width:901px) and (pointer:fine){
 #modal.wide .detail-poster-wrap{align-items:flex-start}
 #modal.wide .detail-art{object-position:top center}
 #modal.wide .detail-info-panel{display:flex;flex-direction:column;height:var(--cast-panel-height,100%)!important;max-height:100%;padding-bottom:0!important}
 #modal.wide .detail-info-panel>*{flex-shrink:0}
 #modal.wide .detail-info-panel>.cast-section{margin-top:auto!important;margin-bottom:0!important;padding-top:10px}
 #modal.wide .detail-cast-content .cast-grid{margin-bottom:0;padding-bottom:0}
}

/* 3.12.10: naturally sized captions; the grid stretches cards to equal height. */
#modal.wide .cast-person{display:flex;flex-direction:column;align-self:stretch;overflow:hidden;border-radius:12px;background:var(--soft-bg)}
#modal.wide .cast-photo{flex:none;width:100%;height:154px;max-height:none;object-fit:contain;object-position:center top}
#modal.wide .cast-caption{padding:8px 10px 10px;flex:none}
#modal.wide .cast-role:empty{display:none;margin-top:0!important}
#modal.wide .cast-name,#modal.wide .cast-role{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;text-align:left;margin:0!important}
#modal.wide .cast-name{font-size:14px!important;line-height:1.3!important;height:auto;font-weight:750}
#modal.wide .cast-role{font-size:12px!important;line-height:1.35!important;height:auto;color:var(--muted);margin-top:3px!important}
@media(max-width:600px){#modal.wide .cast-photo{height:clamp(116px,31vw,154px)}}
.app-version{text-align:center;color:var(--muted);font-size:12px;margin:14px 0 0}
@media(min-width:901px) and (pointer:fine){
 #modal.wide .detail-synopsis:not(.is-expanded) .detail-description{-webkit-line-clamp:4;min-height:6em;min-height:4lh}
 #modal.wide .detail-synopsis .synopsis-toggle{display:none;min-height:26px;margin:0;padding:3px 0 5px}
 #modal.wide .detail-synopsis.has-overflow .synopsis-toggle{display:block;visibility:visible}
 #modal.wide .availability-details{margin-bottom:0!important}
 #modal.wide .detail-info-panel>.cast-section{padding-top:2px}
 #modal.wide .cast-caption{padding-bottom:4px}
 #modal.wide .detail-synopsis{position:relative;display:flow-root;padding-bottom:8px}
 #modal.wide .detail-synopsis .detail-description{margin-bottom:0!important}
 #modal.wide .detail-synopsis.has-overflow:not(.is-expanded) .synopsis-toggle{position:absolute;right:0;bottom:8px;min-height:0;padding:0 0 0 22px;font-size:inherit;line-height:inherit;background:linear-gradient(to right,transparent,var(--panel-bg) 18px);text-decoration:underline}
 #modal.wide .detail-synopsis.is-expanded .synopsis-toggle{position:static;display:inline-block;padding:3px 0 0;min-height:0}

 #modal.wide .detail-genres{font-size:14px!important}
 #modal.wide .detail-scores>span,#modal.wide .detail-scores>a{font-size:13px!important}
 #modal.wide .detail-category-row .tag,#modal.wide .content-rating-badge{font-size:14px!important}
 #modal.wide .detail-bottom-bar .rating-heading{font-size:14px!important}
 #modal.wide .detail-bottom-bar .activity-buttons .btn{font-size:13px!important;min-height:36px;padding:7px 10px}
}

/* Handheld details: compact cast spacing and inline fifth-line expansion. */
@media(max-width:900px),(pointer:coarse){
 #modal.wide .availability-details{margin-bottom:0!important}
 #modal.wide .cast-section{margin-top:4px!important;margin-bottom:0!important;padding-top:0}
 #modal.wide .cast-caption{padding-bottom:4px}
 #modal.wide .detail-cast-content .cast-grid{margin-bottom:0;padding-bottom:0}
 #modal.wide .detail-synopsis{position:relative;display:flow-root;padding-bottom:8px}
 #modal.wide .detail-synopsis .detail-description{margin-bottom:0!important}
 #modal.wide .detail-synopsis.has-overflow:not(.is-expanded) .synopsis-toggle{position:absolute;right:0;bottom:8px;margin:0;min-height:0;padding:0 0 0 22px;font-size:inherit;line-height:inherit;background:linear-gradient(to right,transparent,var(--panel-bg) 18px);text-decoration:underline}
 #modal.wide .detail-synopsis.is-expanded .synopsis-toggle{position:static;display:inline-block;margin:0;padding:3px 0 0;min-height:0}
}

/* Compact captions: up to two close-set role lines, without reserved empty lines. */
#modal.wide .cast-caption{padding:6px 10px 4px}
#modal.wide .cast-name{line-height:1.2!important}
#modal.wide .cast-role{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;line-height:1.2!important;margin-top:1px!important}
#modal.wide .cast-role:empty{display:none}
#modal.wide .detail-synopsis .synopsis-toggle{font-size:14px!important;line-height:1.5!important;font-weight:600}

@media(min-width:901px) and (pointer:fine){
 #modal.wide .detail-heading .stream-brand,#modal.wide .detail-heading .stream-brand strong{font-size:13px;line-height:1.25}
}

/* Touch taps do not leave WebKit's link overlay or mouse hover styling. */
:where(a,button,[role="button"],summary){-webkit-tap-highlight-color:transparent}
@media(max-width:900px),(pointer:coarse){
 #modal.wide .cast-role{-webkit-line-clamp:3}
}
