*{box-sizing:border-box}
body{margin:0;background:#101216;color:#fff;font:15px/1.4 Figtree,system-ui,sans-serif;padding-bottom:90px}
header,main{max-width:560px;margin:0 auto;padding:12px 16px}
header{display:flex;align-items:center;gap:10px;font-size:24px}
header img{height:40px} header span{color:#ffc933}
h1{font-size:24px;margin:8px 0 14px}
button,input,textarea{font:inherit;color:#fff;background:#2c303b;border:1px solid #3a3f4c;border-radius:12px;min-height:44px;padding:8px 14px}
button{cursor:pointer;font-weight:600}
button.primary{background:#ffc933;border-color:#ffc933;color:#13151b}
input,textarea{width:100%;font-weight:400}
.card{display:flex;gap:12px;background:#1c2028;border:1px solid #2e323d;border-radius:14px;padding:12px;margin-bottom:10px}
.poster{width:64px;height:96px;flex:none;border-radius:8px;object-fit:cover;background:#343a48}
.body{flex:1;min-width:0;overflow-wrap:anywhere}
.muted{color:#b6bac6}
.stars{position:relative;display:inline-block;color:#555b6b;font:20px/1 Arial,sans-serif;white-space:nowrap}
.stars .fill{position:absolute;left:0;top:0;overflow:hidden;color:#ffc933}
.picker{position:relative;width:max-content}
.picker .stars{font-size:48px;display:block}
.halves{position:absolute;inset:0;display:flex}
.halves input{flex:1;width:auto;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}
.picker:focus-within{outline:2px solid #ffc933}
.suggest{display:flex;flex-direction:column;margin-top:4px;background:#1c2028;border:1px solid #3a3f4c;border-radius:12px;overflow:hidden}
.suggest button{border:0;border-radius:0;text-align:left;background:none;font-weight:400}
.suggest button:hover,.suggest button:focus{background:#2c303b}
.row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:6px;background:#1c2028;padding:8px 8px max(12px,env(safe-area-inset-bottom))}
nav button{background:none;border:0;flex:1;max-width:180px}
nav button[aria-current]{color:#ffc933}
[hidden]{display:none!important}
dialog{background:#1c2028;color:#fff;border:1px solid #3a3f4c;border-radius:16px;width:min(92vw,480px);padding:18px}
dialog::backdrop{background:#000a}
fieldset{border:0;padding:0;margin:0 0 10px}
footer{color:#8d92a0;font-size:12px;margin-top:24px}
header b{font-weight:800;font-size:28px}
#tools{margin-left:auto;display:flex}
#tools button{background:none;border:0;font-size:24px;padding:8px 10px}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
h2{font-size:20px;font-weight:800;margin:0}
.heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0 6px}
.all{background:none;border:0;color:#ffc933;padding:8px 0}
.card{align-items:center;background:#1c1f27;border-color:#2f333d}
.card.wide .poster{width:96px;height:66px}
.card.review{align-items:flex-start}
.poster.big{width:80px;height:120px}
.more{background:none;border:0;font-size:22px;padding:4px 10px;align-self:center}
.review .more{align-self:flex-start}
.tag{display:inline-block;background:#353946;border-radius:6px;padding:1px 8px;font-size:12px}
.progress{display:flex;align-items:center;gap:10px;font-size:13px}
.bar{flex:1;height:6px;border-radius:3px;background:#3a3e4a;overflow:hidden}
.bar i{display:block;height:100%;background:#ffc933}
.strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px}
.strip button{flex:none;width:100px;background:none;border:0;padding:0;font-size:12px;font-weight:400}
.strip span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.poster.tall{width:100px;height:150px}
.pills{display:flex;gap:8px;margin-bottom:14px}
.pills button{border-radius:22px}
.quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.quick button{min-height:76px}
.fields label{flex:1;min-width:100px}
nav{background:#1c1f27;border-top:1px solid #2f333d;border-radius:18px 18px 0 0}
nav button{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;padding:4px 0;border-radius:0;min-width:0}
nav button[aria-current]{border-bottom:3px solid #ffc933}
/* GoodWatch cinematic design system */
:root{color-scheme:dark;--bg:#101216;--surface:#191d25;--gold:#ffc447;--line:#343945;--muted:#aeb4c1}
body{background:radial-gradient(ellipse at 90% 0,#27221b 0,transparent 240px),var(--bg);font-size:15px;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
header{position:sticky;top:0;z-index:5;background:rgba(16,18,22,.95);backdrop-filter:blur(16px);padding:14px 20px;min-height:76px;border-bottom:1px solid #ffffff08}
header img{width:42px;height:42px;border-radius:11px;object-fit:contain}header b{letter-spacing:-1.2px;font-size:28px}header span{color:var(--gold)}
main{padding:10px 20px 24px}h1{font-size:29px;letter-spacing:-.8px;margin:10px 0 4px}h2{font-size:23px;letter-spacing:-.55px}.heading{margin:22px 0 10px}.heading:first-child{margin-top:5px}.all{font-size:14px;color:var(--gold);white-space:nowrap}
.card{background:linear-gradient(145deg,#222731,#171a21);border:1px solid var(--line);border-radius:15px;padding:11px;gap:12px;margin-bottom:10px;box-shadow:0 5px 15px #0002}.body>b{display:block;font-size:17px;line-height:1.25;letter-spacing:-.25px;margin-bottom:4px}.muted{color:var(--muted);font-size:13px}.card .muted{margin-bottom:5px}.poster{border-radius:9px;background:linear-gradient(145deg,#343c4b,#20242d)}.card.wide .poster{width:94px;height:70px}.card.review .poster{width:76px;height:112px}.review .body>div:last-child{margin-top:7px;line-height:1.45}.review .body>div:nth-last-child(2){display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px}.stars{font-size:17px}.more{min-width:34px;padding:4px;color:#c5cad4}.tag{background:#343944;color:#e4e6eb;font-size:11px}.progress{margin-top:10px}.bar{height:6px;background:#414550}.bar i{background:linear-gradient(90deg,#ffad27,#ffda70)}
.pills{overflow-x:auto;scrollbar-width:none;margin:18px 0}.pills button{white-space:nowrap;background:#1a1e25;border-color:#414651;font-size:13px;min-height:38px}.pills button.primary,button.primary{background:linear-gradient(135deg,#ffda77,#ffb332);border-color:#ffc447;color:#17130c}.strip{margin-right:-20px;padding-right:20px;gap:10px;scrollbar-width:none}.strip button{width:106px;text-align:left}.poster.tall{width:106px;height:151px}.strip span{margin-top:5px;color:#d8dbe3}.quick button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:linear-gradient(145deg,#242833,#191c23);font-size:12px}.quick svg{color:var(--gold);width:25px;height:25px}
nav{z-index:6;background:#181c24f5;backdrop-filter:blur(16px);padding:9px 8px max(12px,env(safe-area-inset-bottom));gap:2px;box-shadow:0 -8px 28px #0004}nav button{position:relative;max-width:108px;gap:5px;font-size:10px;color:#bfc5d1;min-height:49px;white-space:nowrap}nav button[aria-current]{color:var(--gold);border:0}nav button[aria-current]::after{content:'';position:absolute;bottom:-5px;width:42px;height:3px;border-radius:4px;background:var(--gold)}nav button[aria-current] svg{stroke:var(--gold)}
button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:2px}dialog{background:#1b1f27;border-radius:22px;padding:22px;max-height:85dvh;overflow:auto}dialog h1{margin-bottom:18px}dialog textarea{margin-top:10px}input,textarea{background:#151920;border-color:#3b414e}footer{font-size:11px;line-height:1.5} .section-intro{margin:4px 0 16px}.play-action{background:none;border:1.5px solid var(--gold);color:var(--gold);border-radius:50%;min-height:34px;width:34px;padding:0;flex:none;font-size:15px}.card.wide:has(.play-action){gap:8px}.card.wide:has(.play-action) .poster{width:76px}.empty-state{border:1px dashed #363c48;border-radius:14px;padding:16px;margin:8px 0;color:var(--muted)}
@media(max-width:360px){main{padding-left:12px;padding-right:12px}header{padding-left:12px;padding-right:12px}header b{font-size:24px}.card.wide .poster{width:70px}nav button{font-size:9px}}
.quick-symbol{font-size:27px;line-height:1;color:var(--gold)}
/* Final dashboard proportions, based on the cinematic phone reference. */
:root{--bg:#0e1116;--gold:#ffcb49;--line:#363b46;--muted:#d1d4df}
body{background:radial-gradient(ellipse at 45% 25%,#151920 0,transparent 65%),#0e1116;font-size:14px;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
header,main{max-width:560px}header{min-height:72px;padding:12px 24px;background:#0e1116f5;border:0;gap:10px}header img{width:34px;height:38px}header b{font-size:26px;letter-spacing:-.8px}#tools button{padding:4px 8px}#tools svg{width:25px;height:25px}
main{padding:0 13px 18px}h2{font-size:19px;letter-spacing:-.45px;font-weight:800}.heading{margin:13px 0 7px;min-height:30px}.heading:first-child{margin-top:5px}.all{min-height:30px;font-size:12px;padding:0;font-weight:800}
.card{background:linear-gradient(130deg,#242932 0%,#171b22 55%,#181c23 100%);border:1px solid #383d47;border-radius:11px;padding:6px 9px;gap:10px;margin-bottom:6px;box-shadow:0 3px 10px #0002}.body>b{font-size:14px;line-height:1.22;margin:0 0 3px;letter-spacing:-.25px}.card .muted{font-size:11.5px;margin-bottom:3px}.card.wide .poster,.card.wide:has(.play-action) .poster{width:25%;height:58px;border-radius:7px;object-fit:cover;object-position:center 35%}.card.continue-card .poster{width:23%;height:69px}.card.episode-card .poster{width:26%;height:62px}.card.saved-card .poster{width:27%;height:57px}.card.wide:has(.play-action){gap:9px}.more{min-width:22px;width:22px;padding:0;font-size:22px;min-height:36px}.play-action{width:28px;min-height:28px;font-size:12px;line-height:1;display:grid;place-items:center;padding-left:2px}.progress{margin-top:6px;gap:8px;font-size:11px}.bar{height:5px;background:#3b3d43}.bar i{background:#ffcb49}.tag{font-size:10px;line-height:1.3;padding:1px 5px;border:1px solid #515660;border-radius:4px}.episode-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#d1d4df}.strip{gap:7px;margin-right:-13px;padding:0 13px 0 0}.strip button{width:calc((min(100vw, 560px) - 54px)/4.2);min-height:0}.poster.tall{width:100%;height:auto;aspect-ratio:.85;object-fit:cover;border:1px solid #414650;border-radius:9px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
nav{max-width:560px;margin:auto;border-radius:15px 15px 0 0;background:#151a22;padding:8px 8px max(10px,env(safe-area-inset-bottom));gap:0}nav button{font-size:10px;min-height:43px;gap:4px;color:#d3d7e2}nav svg{width:21px;height:21px}nav button[aria-current]::after{width:42px;bottom:-4px}nav button[data-tab=home][aria-current] svg{fill:var(--gold)}
main[data-screen=home] footer{margin-top:12px;font-size:9px}main:not([data-screen=home]){padding:10px 16px 24px}main:not([data-screen=home]) .card{padding:10px;min-height:76px}main:not([data-screen=home]) .body>b{font-size:16px}.review .body>div:last-child{font-size:13px}.card.review .poster{height:100px;width:66px}.empty-state{font-size:12px;padding:12px}dialog .row button{flex:1 1 auto}
@media(min-width:480px){h2{font-size:23px}.body>b{font-size:17px}.card .muted{font-size:14px}.card.wide .poster,.card.wide:has(.play-action) .poster{height:79px}.card.continue-card .poster{height:92px}.heading{margin-top:20px}.all{font-size:14px}.card{padding:9px 12px}.play-action{width:34px;min-height:34px}nav button{font-size:12px}}
.poster-fallback{display:grid;place-items:center;text-align:center;padding:5px;font-size:10px;font-weight:700;color:#c9cdd6;overflow:hidden;background:linear-gradient(140deg,#3a4352,#1b2029)}

/* Poster-led autocomplete, scoped to Discover. */
.suggest button{display:flex;align-items:center;gap:12px;padding:9px 12px;width:100%;min-height:82px;white-space:normal}
.suggest button+button{border-top:1px solid #ffffff0b}
.suggest .search-poster{width:44px;height:66px;flex:0 0 44px;object-fit:cover;border-radius:6px}
.suggest .poster-fallback{font-size:8px;line-height:1.15;padding:3px;overflow-wrap:anywhere}
.search-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.search-title{font-weight:600;font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.search-meta{color:var(--muted);font-size:12px;line-height:1.3}
.suggest button:focus-visible{outline-offset:-2px}

/* Wordmark: the logo's cream "g" (no app-icon square) stands in for the G.
   Font (Merriweather Black) and spacing matched to the owner's reference wordmark image, measured as
   fractions of the "o" height: g top 0.58 above the o, g-bowl-to-o gap 0.19, gap between letters 0.065.
   The em values below depend on Merriweather's x-height; re-measure if the font changes. */
header .wordmark{font:900 27px/1 Merriweather,Georgia,serif;letter-spacing:-.035em;white-space:nowrap}
header .wordmark span{color:#f5efe2} /* same cream as the g */
header .wordmark i{font-style:normal;color:var(--gold)}
header .wordmark img{height:1.393em;width:auto;vertical-align:-.456em;margin-right:-.042em;border-radius:0}

/* Tappable cards open the title page. */
.tap{cursor:pointer;transition:border-color .15s}
.tap:hover{border-color:#5a5f6b}
.tap:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
dialog .row.stack{flex-direction:column}dialog .row.stack button{width:100%}

/* Title page */
main[data-screen=title]{padding-top:0}
.hero{position:relative;margin:0 -16px}
.backdrop{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;-webkit-mask-image:linear-gradient(#000 45%,transparent);mask-image:linear-gradient(#000 45%,transparent)}
.back{position:absolute;top:10px;left:12px;width:40px;min-height:40px;padding:0;border-radius:50%;font-size:26px;line-height:1;background:#0e1116b3;border-color:#ffffff22;backdrop-filter:blur(8px)}
.hero-row{position:relative;display:flex;gap:14px;align-items:flex-end;padding:0 16px;margin-top:-72px}
.hero.plain .hero-row{margin-top:0;padding-top:60px}
.poster.hero-poster{width:112px;height:168px;border-radius:10px;border:1px solid #ffffff1f;box-shadow:0 10px 30px #000a}
.hero-text{flex:1;min-width:0;padding-bottom:2px}
.hero-text h1{font-size:24px;line-height:1.15;margin:0 0 6px;overflow-wrap:anywhere}
.facts{color:var(--muted);font-size:13px}
.genres{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.genres .tag{font-size:11px;padding:2px 7px}
.family-score{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:12px;color:var(--muted)}.family-score .stars{font-size:15px}
.status{display:flex;gap:8px;margin:16px 0 0}.status button{flex:1;min-height:44px;font-size:14px}
.status button.on{border-color:var(--gold);color:var(--gold);background:#2a2418}
.episode{display:flex;align-items:flex-end;gap:10px;margin-top:10px}.episode>span{padding-bottom:12px}
.episode label{flex:1;font-size:12px;color:var(--muted)}.episode input{margin-top:4px}
.about{margin-top:16px;line-height:1.55;font-size:14px}.about p{margin:0 0 10px}.about .tagline{font-style:italic;color:#e9e1cc}
.cast{display:flex;gap:10px;overflow-x:auto;margin-right:-16px;padding:0 16px 4px 0;scrollbar-width:none}
.cast figure{flex:none;width:84px;margin:0}
.cast img,.cast .face{display:block;width:84px;height:106px;object-fit:cover;border-radius:10px;background:#2a2f39}
.cast .face{display:grid;place-items:center;font-size:28px;font-weight:800;color:#7d8391}
.cast figcaption{margin-top:6px;font-size:12px;line-height:1.3}
.cast figcaption b,.cast figcaption span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cast figcaption span{color:var(--muted);font-size:11px}
.panel{margin-top:22px;background:linear-gradient(145deg,#222731,#171a21);border:1px solid var(--line);border-radius:16px;padding:16px}
.panel h2{margin-bottom:12px}.panel textarea{margin-top:4px}.panel .row button{flex:1}
.form-msg{margin-top:8px;font-size:13px;color:var(--gold)}.form-msg:empty{display:none}
.fam{padding:12px 0;border-bottom:1px solid #ffffff10}.fam-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.fam p{margin:6px 0 0;line-height:1.5;color:#e4e6eb}
