/* TV mode is opt-in. Keep this file after page styles; all app overrides are scoped. */
.tv-controls{position:static;width:auto;max-width:100%;font-family:Arial,Helvetica,sans-serif;display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px;padding:4px;background:#101827;border:1px solid #8995a8;border-radius:10px}
.tv-controls button,.tv-controls select{font:700 16px/1.4 Arial,Helvetica,sans-serif;min-height:44px;padding:10px 14px;border:2px solid #858e9f;border-radius:8px;background:#202938;color:#fff}
.tv-controls label{margin:0;font:600 16px/1.4 Arial,Helvetica,sans-serif;color:#fff}
.tv-controls button:focus,.tv-controls select:focus{outline:4px solid #ffe282;outline-offset:3px}
.tv-controls [hidden]{display:none!important}
.tv-controls .display-settings-link{font:700 16px/1.4 Arial,Helvetica,sans-serif;padding:10px 14px;color:#ffe282}
html.tv-mode .tv-controls .display-settings-link{font-size:var(--tv-control);padding:16px 22px;min-height:var(--tv-target);border:2px solid #8995a8;border-radius:12px;background:#202b3c}
.desktop-text-setting{display:none}
html[data-webos-app] #tv-mode-toggle{display:none!important}
html.tv-mode[data-webos-app] h1,html.tv-mode[data-webos-app] main>h2,html.tv-mode[data-webos-app] .chooser h2{font-weight:800!important;text-transform:uppercase!important}
html.tv-mode .webos-service-dialog{width:1100px;max-width:calc(100vw - 100px);padding:40px;background:#111b2a;color:#f8fafc;border:3px solid #ffe282;border-radius:20px}
html.tv-mode .webos-service-dialog::backdrop{background:rgba(0,0,0,.85)}
html.tv-mode .webos-service-dialog div{display:flex;flex-wrap:wrap;gap:24px;align-items:center}
html.tv-mode .webos-app-settings{display:inline-block;padding:16px 22px;min-height:68px;background:#202b3c;border:2px solid #8995a8;border-radius:12px}

html.tv-mode{--tv-text:28px;--tv-small:26px;--tv-control:28px;--tv-title:34px;--tv-heading:56px;--tv-section:48px;--tv-gutter:72px;--tv-gap:28px;--tv-target:68px;background:#090d14;color:#f8fafc;font-family:Arial,Helvetica,sans-serif;scroll-padding-top:140px;scroll-padding-bottom:100px}
/* One document scroller, including TVs reporting a narrow CSS viewport. */
html.tv-mode{height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
html.tv-mode[data-tv-size="extra-large"]{--tv-text:32px;--tv-small:28px;--tv-control:32px;--tv-title:38px;--tv-heading:64px;--tv-section:56px;--tv-target:76px}
html.tv-mode[data-tv-size="huge"]{--tv-text:36px;--tv-small:32px;--tv-control:36px;--tv-title:40px;--tv-heading:64px;--tv-section:60px;--tv-target:84px}
html.tv-mode body{width:100%;max-width:100%;min-height:100vh;margin:0;overflow-x:hidden;overflow-y:auto!important;background:#090d14!important;color:#f8fafc;font-family:Arial,Helvetica,sans-serif;font-size:var(--tv-text);line-height:1.5}
html.tv-mode body{height:auto!important;max-height:none!important;overflow:visible!important}
html.tv-mode body:before,html.tv-mode body:after{display:none!important;content:none!important}
html.tv-mode *{box-sizing:border-box;font-family:inherit!important;letter-spacing:normal!important;animation:none!important;transition:none!important;scroll-margin-top:150px;scroll-margin-bottom:100px}
html.tv-mode [hidden]{display:none!important}
html.tv-mode h1,html.tv-mode h2,html.tv-mode h3,html.tv-mode h4{font-weight:750!important;line-height:1.2!important;text-transform:none!important;overflow-wrap:break-word;word-wrap:break-word;white-space:normal}
html.tv-mode h1{font-size:var(--tv-heading)!important;max-width:none!important;margin:18px 0 24px!important}
html.tv-mode h2{font-size:var(--tv-section)!important;margin:18px 0 24px!important}
html.tv-mode h3,html.tv-mode h4{font-size:var(--tv-title)!important}
html.tv-mode p,html.tv-mode label,html.tv-mode legend,html.tv-mode li,html.tv-mode dt,html.tv-mode dd{font-size:var(--tv-text)!important;line-height:1.5!important;color:#e2e8f0}
html.tv-mode p{max-width:none;overflow-wrap:break-word;word-wrap:break-word}
html.tv-mode span,html.tv-mode b,html.tv-mode strong{font-size:inherit}
html.tv-mode a{color:#ffe282;text-decoration-thickness:2px;text-underline-offset:5px}
html.tv-mode small,html.tv-mode .context,html.tv-mode .meta,html.tv-mode .pick-meta,html.tv-mode .pick-reasons,html.tv-mode .similar-meta,html.tv-mode .library-meta,html.tv-mode .note-status,html.tv-mode .service-summary,html.tv-mode .taste-summary,html.tv-mode .locale-selection,html.tv-mode .availability-source,html.tv-mode .cast-notice,html.tv-mode .cast-total,html.tv-mode .eyebrow,html.tv-mode .step-label,html.tv-mode .time-note{font-size:var(--tv-small)!important;line-height:1.5!important;color:#d4dce8!important;text-transform:none!important}

/* Native focus is required on older TV Chromium, which has no :focus-visible. */
html.tv-mode a:focus,html.tv-mode button:focus,html.tv-mode input:focus,html.tv-mode select:focus,html.tv-mode textarea:focus,html.tv-mode summary:focus,html.tv-mode [tabindex]:focus,html.tv-mode .tv-focus{outline:5px solid #ffe282!important;outline-offset:5px!important;box-shadow:0 0 0 9px #07101c!important;position:relative;z-index:20}
/* Position skip links explicitly so the preceding TV toolbar cannot supply their static inline position. */
html.tv-mode .skip,html.tv-mode .skip-link{position:fixed!important;left:var(--tv-gutter)!important;right:auto!important;top:-1000px!important;max-width:calc(100% - var(--tv-gutter) - var(--tv-gutter));padding:16px 20px;background:#111b2a;color:#ffe282;z-index:1500}
html.tv-mode .skip:focus,html.tv-mode .skip-link:focus{position:fixed!important;top:20px!important;z-index:1500}
html.tv-mode button,html.tv-mode input,html.tv-mode select,html.tv-mode textarea{font-size:var(--tv-control)!important;line-height:1.35!important;min-height:var(--tv-target)!important;max-width:100%;padding:16px 20px!important;border:2px solid #8995a8!important;border-radius:12px!important;background:#202b3c;color:#f8fafc;white-space:normal;overflow-wrap:break-word;word-wrap:break-word}
html.tv-mode button{height:auto!important;cursor:pointer}
html.tv-mode input,html.tv-mode select,html.tv-mode textarea{min-width:0;background:#111b2a!important;color:#fff!important}
html.tv-mode input[type="checkbox"],html.tv-mode input[type="radio"]{min-height:28px!important;width:28px!important;height:28px!important;flex-shrink:0;padding:0!important;margin:8px 12px 8px 0!important}
html.tv-mode button[disabled],html.tv-mode input[disabled],html.tv-mode select[disabled]{opacity:.65!important;cursor:default}
html.tv-mode button[aria-pressed="true"],html.tv-mode button.selected{border-color:#ffe282!important;background:#4c3b13!important;color:#fff4c8!important}
html.tv-mode summary{min-height:var(--tv-target)!important;padding:18px 22px!important;font-size:var(--tv-control)!important;line-height:1.4!important;color:#ffe282;white-space:normal;cursor:pointer;overflow-wrap:break-word;word-wrap:break-word}
html.tv-mode details{min-width:0;max-width:100%;border-color:#758198!important;background:#151f2d}
html.tv-mode .tv-controls{position:sticky;top:0;right:auto;bottom:auto;left:auto;z-index:1200;width:100%;max-width:100%;min-height:96px;gap:16px;padding:16px var(--tv-gutter);margin:0;border:0;border-radius:0;background:#09111e;border-bottom:3px solid #8b98aa;color:#fff;box-shadow:0 6px 20px #0008}
html.tv-mode .tv-controls label{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;font-size:var(--tv-control)!important}
html.tv-mode .tv-controls select{width:auto;max-width:450px;margin:0 0 0 12px}
html.tv-mode .tv-controls button{min-width:120px}
html.tv-mode .tv-controls-status{font-size:var(--tv-small)!important;margin:0;flex-basis:100%}
html.tv-mode .tv-controls-status:empty{display:none}
/* Margins preserve separation on TV engines without flex-gap support. */
html.tv-mode .tv-controls>*{margin:4px 12px 4px 0}
html.tv-mode header nav>*,html.tv-mode .origin-options>*,html.tv-mode .selected-provider-list>*{margin:6px 12px 6px 0}
html.tv-mode .actions>*,html.tv-mode .step-actions>*,html.tv-mode .tool-actions>*,html.tv-mode .toolbar>div>*,html.tv-mode .provider-favorites>*{margin:6px 12px 6px 0}

/* Use the TV's safe edges and normal document flow instead of a fixed stage. */
html.tv-mode body>header,html.tv-mode body>header.topbar,html.tv-mode body>header.app-simple-header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:14px 28px!important;width:100%;height:auto!important;min-height:96px!important;padding:18px var(--tv-gutter)!important;background:#0c1523!important;border-bottom:2px solid #55647a}
html.tv-mode header a,html.tv-mode header button,html.tv-mode header .app-menu>summary{font-size:var(--tv-control)!important;line-height:1.4!important;min-height:var(--tv-target)!important;max-width:100%;padding:14px 16px!important;white-space:normal!important}
html.tv-mode header>.app-header-brand,html.tv-mode header>.wordmark{font-size:32px!important;flex:0 1 auto!important;min-width:220px!important;max-width:100%!important;text-transform:none!important}
html.tv-mode header .app-header-brand img,html.tv-mode header .wordmark img,html.tv-mode header .brand-icon{width:48px!important;height:48px!important;flex-shrink:0}
html.tv-mode header .mark{width:48px;height:48px;border:0}
html.tv-mode header .mark:before,html.tv-mode header .mark:after{display:none}
html.tv-mode header>.account-nav{max-width:40%!important;min-width:160px;flex:0 1 auto!important;overflow-wrap:break-word;word-wrap:break-word}
html.tv-mode header>.app-primary-nav,html.tv-mode header>.preference-links,html.tv-mode header .top-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:12px 24px!important;position:relative!important;min-width:0;max-width:100%}
html.tv-mode header>.app-primary-nav{flex:1 1 100%!important;justify-content:flex-start!important}
html.tv-mode header .app-primary-nav>a,html.tv-mode header .app-primary-nav>.app-menu{flex:0 1 auto!important;min-width:0!important}
html.tv-mode .app-menu-links{width:580px;min-width:320px;max-width:90vw;max-height:70vh;padding:20px;gap:12px;background:#172336!important;border:3px solid #8b98aa}
html.tv-mode .app-menu-links>a{padding:18px!important;font-size:var(--tv-control)!important}
html.tv-mode .top-actions>span,html.tv-mode #cinema,html.tv-mode .grain,html.tv-mode .flash,html.tv-mode .film-meta,html.tv-mode .wink-hero,html.tv-mode .mobile-tabbar,html.tv-mode .mobile-nav,html.tv-mode .mobile-bottom-nav{display:none!important}
html.tv-mode .progress{display:none!important}
html.tv-mode header .saved-link{display:inline-flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:14px!important;white-space:nowrap!important}
html.tv-mode header .saved-link b,html.tv-mode header [data-saved-count]{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto!important;min-width:44px!important;width:auto!important;height:auto!important;min-height:44px!important;margin:0 0 0 12px!important;padding:4px 10px!important;border-radius:8px!important;background:#342b11!important;color:#fff0b6!important;font-size:var(--tv-small)!important;line-height:1.2!important}
html.tv-mode main,html.tv-mode main#app,html.tv-mode .services-page main,html.tv-mode .saved-page main,html.tv-mode .taste-page main{width:100%!important;max-width:1920px!important;margin:0 auto!important;padding:32px var(--tv-gutter) 100px!important;min-width:0}
html.tv-mode #app .screen{display:none!important;position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:20px 0 60px!important;opacity:1!important;visibility:visible!important;transform:none!important;overflow:visible!important}
html.tv-mode #app .screen.is-active{display:block!important}
html.tv-mode #app .intro:before,html.tv-mode #app .intro:after{content:none!important;display:none!important}
html.tv-mode #app .intro h1{max-width:1200px!important}
html.tv-mode .intro-copy,html.tv-mode .chooser>p{font-size:var(--tv-text)!important;line-height:1.5!important;max-width:none!important;margin:18px 0 28px!important;color:#e2e8f0!important;text-transform:none!important}
html.tv-mode #app .intro-kicker{display:none!important}
html.tv-mode .intro>img,html.tv-mode .heading>img,html.tv-mode .wink-guide>img{display:none!important}
html.tv-mode #app .intro .wink-hero{display:flex!important;position:relative!important;top:auto!important;right:auto!important;left:auto!important;float:right;align-items:center;justify-content:flex-end;gap:20px;width:420px!important;max-width:42%;min-height:0;margin:0 0 24px 28px!important;transform:none!important;pointer-events:none}
html.tv-mode #app .intro .wink-hero img{display:block!important;flex:0 0 auto;width:160px!important;height:160px!important;object-fit:contain;filter:none!important}
html.tv-mode #app .intro .wink-bubble{position:static!important;top:auto!important;left:auto!important;right:auto!important;flex:1;min-width:0;width:auto!important;max-width:none!important;padding:18px!important;background:#172336!important;border:2px solid #60708a;border-radius:16px}
html.tv-mode #app .intro .wink-bubble:after,html.tv-mode #app .intro .wink-bubble:before{display:none!important}
html.tv-mode #app .intro .wink-bubble b,html.tv-mode #app .intro .wink-bubble span{font-size:var(--tv-small)!important;line-height:1.4!important;white-space:normal;color:#f8fafc}
html.tv-mode #app .intro .home-search{clear:both}
html.tv-mode .wink-guide{display:flex!important;position:static!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;max-width:none!important;align-items:center;gap:24px}
html.tv-mode .wink-guide>img{display:block!important;flex:0 0 auto;width:96px!important;height:96px!important;object-fit:contain}
html.tv-mode .wink-guide>span{display:block;flex:1;min-width:0;max-width:100%;overflow-wrap:break-word;word-wrap:break-word}
html.tv-mode .wink-guide{padding:20px 24px;margin:0 0 28px;background:#172336;border:2px solid #60708a;border-radius:12px;font-size:var(--tv-text)!important}
html.tv-mode .wink-guide b,html.tv-mode .wink-guide span{font-size:var(--tv-text)!important;line-height:1.5!important;color:#e2e8f0!important}
html.tv-mode .chooser .back,html.tv-mode .screen>.back{position:static!important;display:inline-flex;align-items:center;margin:0 0 20px!important;font-size:var(--tv-control)!important;color:#ffe282!important}
html.tv-mode .step-actions{position:static!important;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;width:100%;margin-top:28px;padding:22px 0;background:#090d14!important;border-top:2px solid #66748b}
html.tv-mode .step-actions span{font-size:var(--tv-small)!important;color:#e2e8f0!important}
html.tv-mode .saved-quick-links,html.tv-mode .discovery-links{display:flex;flex-wrap:wrap;margin:20px 0;gap:20px}
html.tv-mode .saved-quick-links a,html.tv-mode .discovery-links a{display:inline-flex;align-items:center;min-height:var(--tv-target)!important;padding:16px 20px!important;margin:6px 16px 6px 0;font-size:var(--tv-control)!important;line-height:1.4!important;color:#ffe282}
html.tv-mode .choice-grid,html.tv-mode .time-grid,html.tv-mode .company-grid,html.tv-mode .mood-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--tv-gap)!important;margin:24px 0!important;border:0;background:transparent}
html.tv-mode .choice{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;min-height:150px!important;padding:24px!important;background:#172336!important;border:2px solid #7b899f!important;border-radius:14px!important;text-align:left}
html.tv-mode .choice b{font-size:var(--tv-title)!important;line-height:1.25!important;font-weight:750!important;color:#fff}
html.tv-mode .choice small{font-size:var(--tv-small)!important;line-height:1.45!important;color:#d4dce8!important;white-space:normal}
html.tv-mode .choice.selected{background:#47380f!important;border-color:#ffe282!important}
html.tv-mode .choice-no,html.tv-mode .choice-icon{font-size:var(--tv-small)!important;color:#ffe282}

/* Search and optional settings stay broad enough for large native controls. */
html.tv-mode .home-search{width:100%!important;max-width:1500px!important;margin:26px 0!important;padding:24px!important;background:#141e2d!important;border:2px solid #77849a!important;border-radius:14px}
html.tv-mode .home-search-row,html.tv-mode .store-search-row,html.tv-mode .search-sort-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:20px!important;align-items:end}
html.tv-mode .home-search input,html.tv-mode .store-search input{min-height:var(--tv-target)!important;font-size:var(--tv-control)!important;width:100%!important}
html.tv-mode .search-filter-summary,html.tv-mode .result-topline,html.tv-mode .popular-head,html.tv-mode .work-head,html.tv-mode .shelf-head,html.tv-mode .toolbar{display:flex!important;align-items:center;flex-wrap:wrap;gap:20px;min-width:0}
html.tv-mode .home-search .search-filter-summary>span,html.tv-mode .quick-match-help{font-size:var(--tv-small)!important;line-height:1.5!important;color:#d4dce8!important}
html.tv-mode .search-options>div,html.tv-mode .fine-tune-head,html.tv-mode .fields,html.tv-mode .filter-options,html.tv-mode .watch-fields,html.tv-mode .picker-fields,html.tv-mode .similar-filters{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
html.tv-mode .fields label,html.tv-mode .watch-fields label,html.tv-mode .filter-options label,html.tv-mode .picker-fields label{min-width:0;font-size:var(--tv-text)!important}
html.tv-mode .store-search{position:static!important;padding:24px!important;background:#141e2d!important;border:2px solid #7b899f!important;box-shadow:none!important}
html.tv-mode .store-search .tools{margin:0!important}
html.tv-mode #store-settings-summary,html.tv-mode #store-draft-status,html.tv-mode #store-form-status{font-size:var(--tv-small)!important;line-height:1.5!important;color:#e2e8f0!important}
html.tv-mode #store-settings>summary{display:block!important;padding:20px 24px!important}
html.tv-mode #store-settings>summary .settings-title{display:block;font-size:var(--tv-title)!important}
html.tv-mode #store-settings>summary:after{display:none!important}
html.tv-mode .settings-body,html.tv-mode .filter-group-body,html.tv-mode .fine-tune,html.tv-mode .optional-settings,html.tv-mode .service-panel-content,html.tv-mode .taste-group-content,html.tv-mode .session-settings>fieldset{padding:24px!important;background:#141e2d!important}
html.tv-mode .origin-options,html.tv-mode #selected,html.tv-mode .selected-provider-list,html.tv-mode .selected-moods{display:flex!important;flex-wrap:wrap;gap:14px!important}
html.tv-mode .locale-directory{max-height:420px;padding:12px;overflow:auto;background:#0e1725}
html.tv-mode .service-grid,html.tv-mode #directory,html.tv-mode .service-choices,html.tv-mode #moods,html.tv-mode #together-moods{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;max-height:none!important;height:auto!important;overflow:visible!important;padding:10px!important}
html.tv-mode .service-grid button,html.tv-mode #directory button,html.tv-mode .service-choices button,html.tv-mode #moods button{min-height:90px!important;width:100%;height:auto!important;font-size:var(--tv-control)!important;justify-content:flex-start;text-align:left;background:#172336;color:#f8fafc}
html.tv-mode .service-grid img,html.tv-mode #directory img,html.tv-mode .service-choices img{width:52px!important;height:52px!important;flex-shrink:0;object-fit:contain}
html.tv-mode .selected-provider-panel{position:static!important;margin:22px 0;padding:22px;background:#162131!important;border:2px solid #78859c}
html.tv-mode .service-summary,html.tv-mode .taste-summary,html.tv-mode .session-settings>summary span{font-size:var(--tv-small)!important;line-height:1.5!important;color:#d4dce8!important}

/* Three clear choices per row, rather than a distant wall of tiny posters. */
html.tv-mode .grid,html.tv-mode .pick-grid,html.tv-mode .saved-grid,html.tv-mode #similar-results,html.tv-mode #comparison,html.tv-mode .film-grid,html.tv-mode .credit-grid,html.tv-mode .wink-picks-grid,html.tv-mode .starter-grid,html.tv-mode .home-search-results{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--tv-gap)!important;align-items:start!important}
html.tv-mode .card,html.tv-mode .pick-card,html.tv-mode .saved-card,html.tv-mode .similar-card,html.tv-mode .compare-card,html.tv-mode .film,html.tv-mode .credit-card,html.tv-mode .wink-pick,html.tv-mode .starter-grid article{display:block!important;min-width:0!important;max-width:100%;height:auto!important;border:2px solid #758198!important;border-radius:16px!important;background:#172131!important;box-shadow:none!important;overflow:visible!important}
html.tv-mode .card .copy,html.tv-mode .pick-body,html.tv-mode .similar-copy,html.tv-mode .wink-pick-copy,html.tv-mode .compare-card,html.tv-mode .film,html.tv-mode .credit-card,html.tv-mode .saved-card{padding:24px!important}
html.tv-mode .card h3,html.tv-mode .pick-card h3,html.tv-mode .saved-card h2,html.tv-mode .similar-card h2,html.tv-mode .compare-card h2,html.tv-mode .film h3,html.tv-mode .credit-card h3,html.tv-mode .wink-pick b,html.tv-mode .home-card>b,html.tv-mode .recently-viewed-copy b{display:block!important;font-size:var(--tv-title)!important;line-height:1.3!important;font-weight:750!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;max-height:none!important;-webkit-line-clamp:unset!important;margin:0 0 16px!important;color:#fff!important}
html.tv-mode .pick-summary,html.tv-mode .similar-overview,html.tv-mode .card .overview,html.tv-mode .saved-card .overview,html.tv-mode .compare-overview,html.tv-mode .film .overview{display:block!important;font-size:var(--tv-text)!important;line-height:1.5!important;white-space:normal!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;color:#e2e8f0!important}
html.tv-mode .card-media{height:230px!important;aspect-ratio:auto!important;padding:16px!important;gap:18px!important;border-radius:14px 14px 0 0;background:#0b111d}
html.tv-mode .card-media .poster,html.tv-mode .card-media .film-image{height:100%!important;min-height:0!important;max-height:100%!important}
html.tv-mode .card-media img{width:100%!important;height:100%!important;object-fit:contain!important}
html.tv-mode .card-media.poster-only .poster{max-width:160px!important}
html.tv-mode .pick-art,html.tv-mode .similar-poster-link,html.tv-mode .home-card-art{display:flex!important;align-items:center;justify-content:center;height:230px!important;min-height:0!important;background:#0b111d!important;overflow:hidden!important;position:relative}
html.tv-mode .pick-poster,html.tv-mode .similar-poster,html.tv-mode .home-card-art img,html.tv-mode .wink-pick>img,html.tv-mode .starter-grid img{display:block!important;width:100%!important;height:230px!important;max-height:230px!important;object-fit:contain!important;object-position:center!important;border-radius:12px 12px 0 0!important;transform:none!important}
html.tv-mode .pick-art-badges{position:absolute;bottom:10px;left:10px;right:10px;display:flex;flex-wrap:wrap;gap:8px}
html.tv-mode .pick-art-badges span,html.tv-mode .home-card-score,html.tv-mode .rating,html.tv-mode .pick-access,html.tv-mode .availability-match{font-size:var(--tv-small)!important;line-height:1.4!important;background:#101a29!important;color:#ffe282!important;padding:10px 12px;border-radius:8px}
html.tv-mode .saved-card-heading{display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
html.tv-mode .saved-poster img{width:104px!important;height:156px!important;object-fit:contain!important}
html.tv-mode .saved-card .winner{font-size:var(--tv-small)!important}
html.tv-mode .card .copy>button{font-size:var(--tv-control)!important;min-height:var(--tv-target)!important;margin-top:14px!important}
html.tv-mode .pick-actions,html.tv-mode .saved-card .actions,html.tv-mode .similar-actions,html.tv-mode .compare-actions,html.tv-mode .vote-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin-top:24px!important}
html.tv-mode .pick-actions>a,html.tv-mode .saved-card .actions>a,html.tv-mode .similar-actions>a,html.tv-mode .compare-actions>a{display:flex;align-items:center;justify-content:center;min-height:var(--tv-target)!important;padding:16px!important;border:2px solid #8995a8;border-radius:12px;background:#202b3c;font-size:var(--tv-control)!important;line-height:1.35!important;text-align:center;white-space:normal}
html.tv-mode .pick-actions .wink-feedback-controls,html.tv-mode .saved-card .actions>.card-menu{grid-column:1/-1;min-width:0}
html.tv-mode .pick-actions>.tv-feedback-details{grid-column:1/-1;min-width:0;margin:0;background:#172336;border:2px solid #758198;border-radius:12px}
html.tv-mode .tv-feedback-details>.wink-feedback-controls{padding:0 20px 20px}
html.tv-mode .wink-feedback-choices,html.tv-mode .card-menu-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html.tv-mode .card-editors{grid-template-columns:minmax(0,1fr)!important}
html.tv-mode .film img{float:none!important;width:100%!important;height:230px!important;margin:0 0 20px!important;object-fit:contain!important}
html.tv-mode .compare-poster{display:block;width:160px!important;height:220px!important;margin:0 auto 22px;object-fit:contain!important}
html.tv-mode .compare-card dl,html.tv-mode .compare-card dd,html.tv-mode .compare-card dt{font-size:var(--tv-text)!important;line-height:1.5!important}
html.tv-mode .compare-summary table,html.tv-mode .compare-summary td,html.tv-mode .compare-summary th{font-size:var(--tv-small)!important;line-height:1.5!important;padding:18px!important;max-width:none!important}

/* Existing horizontal rails retain their arrows and expose about three titles. */
html.tv-mode .popular-row,html.tv-mode .recently-viewed-rail{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 56px)/3)!important;grid-template-columns:none!important;gap:28px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:14px 12px 24px!important;max-height:none!important;scroll-snap-type:none!important}
html.tv-mode .home-card,html.tv-mode .recently-viewed-card{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;border:2px solid #758198;border-radius:14px;background:#172131!important;box-shadow:none!important;overflow:hidden}
html.tv-mode .home-card>b,html.tv-mode .home-card>span:not(.home-card-art),html.tv-mode .recently-viewed-copy{padding:18px!important}
html.tv-mode .recently-viewed-image{height:220px!important;width:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
html.tv-mode .recently-viewed-copy span,html.tv-mode .home-card>span:not(.home-card-art){display:block!important;font-size:var(--tv-small)!important;color:#d4dce8!important;white-space:normal!important}
html.tv-mode .credit-card b{display:block!important;font-size:var(--tv-title)!important;line-height:1.3!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;margin:16px 0!important}
html.tv-mode .credit-card span{display:block!important;font-size:var(--tv-small)!important;line-height:1.5!important;white-space:normal!important;color:#d4dce8!important}
html.tv-mode .credit-card>img{display:block;width:100%!important;height:230px!important;object-fit:contain!important}
html.tv-mode .search-suggestions{position:relative!important;inset:auto!important;max-height:65vh!important;background:#142134!important;border:3px solid #8995a8;padding:20px!important}
html.tv-mode .live-suggestion-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
html.tv-mode .live-suggestion{display:flex!important;align-items:center;gap:18px;padding:18px!important;min-height:140px!important;background:#1d2b3f!important;border:2px solid #758198;border-radius:12px}
html.tv-mode .live-suggestion img{width:70px!important;height:105px!important;object-fit:contain!important;flex-shrink:0}
html.tv-mode .live-suggestion b{font-size:var(--tv-title)!important;white-space:normal!important;line-height:1.3!important}

/* Details: artwork beside the information; services and people get full-width rows. */
html.tv-mode .hero{min-height:0!important;width:100%!important;max-width:1920px!important;margin:0 auto!important;padding:34px var(--tv-gutter)!important;background-image:none!important;background:#090d14!important;overflow:visible!important}
html.tv-mode .hero:before{display:none!important}
html.tv-mode .hero-inner{display:grid!important;grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;gap:40px!important;width:100%!important;max-width:none!important;align-items:start!important}
html.tv-mode .title-media,html.tv-mode .title-media.has-artwork{width:100%!important;max-width:none!important;margin-top:10px}
html.tv-mode .title-media .poster,html.tv-mode .title-film-image{object-fit:contain!important;max-height:420px!important}
html.tv-mode .title-media:not(.has-artwork){max-width:260px!important}
html.tv-mode .title-media figcaption{font-size:var(--tv-small)!important;color:#e2e8f0!important}
html.tv-mode .title-line{display:block!important;margin-bottom:22px!important}
html.tv-mode .score-group{display:flex!important;flex-wrap:wrap;gap:20px!important;width:100%!important;max-width:100%!important;margin:24px 0!important}
html.tv-mode .score-number,html.tv-mode .imdb-score strong,html.tv-mode .ww-score strong{font-size:var(--tv-title)!important}
html.tv-mode .score-label b,html.tv-mode .score-label small,html.tv-mode .imdb-source,html.tv-mode .ww-score span{font-size:var(--tv-small)!important;line-height:1.35!important}
html.tv-mode .imdb-score:after{font-size:var(--tv-small)!important;color:#d4dce8!important}
html.tv-mode .score-wink{width:46px!important;height:46px!important}
html.tv-mode .title-line .score-badge,html.tv-mode .imdb-score,html.tv-mode .ww-score{min-height:90px!important;padding:18px!important;border-radius:12px!important;white-space:normal!important;max-width:100%}
html.tv-mode .score-group>*{margin:8px 16px 8px 0!important}
html.tv-mode .title-line .score-badge{background:#1d2b3f!important;color:#fff!important;border-color:#ffe282!important;box-shadow:none!important}
html.tv-mode .score-label{margin-left:14px;padding-left:16px;border-left:2px solid #aab6c8}
html.tv-mode .score-label b,html.tv-mode .score-label small{color:#f8fafc!important;opacity:1!important}
html.tv-mode .score-number{color:#ffe282!important}
html.tv-mode .meta{display:flex;flex-wrap:wrap;gap:12px!important;margin:20px 0!important}
html.tv-mode .meta span{font-size:var(--tv-small)!important;padding:10px 14px!important;background:#172336!important;border:2px solid #758198!important}
html.tv-mode .actions{display:flex!important;flex-wrap:wrap!important;gap:18px!important;margin:24px 0!important}
html.tv-mode .actions>a,html.tv-mode .actions>button,html.tv-mode .title-more{flex:1 1 230px!important;min-height:var(--tv-target)!important;font-size:var(--tv-control)!important;padding:16px 20px!important;line-height:1.4!important;text-align:center;max-width:100%}
html.tv-mode .title-more{padding:0!important;background:#202b3c;border:2px solid #8995a8}
html.tv-mode .content{display:block!important;max-width:1920px!important;margin:0 auto!important;padding:10px var(--tv-gutter) 100px!important}
html.tv-mode .section{margin-top:34px!important;min-width:0}
html.tv-mode .providers{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
html.tv-mode .provider{display:flex!important;align-items:center;gap:18px!important;min-height:100px!important;padding:22px!important;background:#172336!important;border:2px solid #758198!important;color:#f8fafc!important}
html.tv-mode .provider img{width:58px!important;height:58px!important;flex-shrink:0}
html.tv-mode .provider b,html.tv-mode .provider span{font-size:var(--tv-control)!important;line-height:1.4!important;white-space:normal;overflow-wrap:break-word}
html.tv-mode .show-people,html.tv-mode .people,html.tv-mode .credits{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
html.tv-mode .show-person{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:20px!important;padding:22px!important;background:#172336!important}
html.tv-mode .show-person>img{width:100px!important;height:130px!important;object-fit:contain!important}
html.tv-mode .show-person h3,html.tv-mode .person b{font-size:var(--tv-title)!important}
html.tv-mode .actor-bio,html.tv-mode .cast-role,html.tv-mode .person span,html.tv-mode .credit span{font-size:var(--tv-small)!important;line-height:1.5!important}
html.tv-mode .person-hero{grid-template-columns:260px minmax(0,1fr)!important;gap:36px!important;max-width:1920px!important;padding:32px var(--tv-gutter)!important}
html.tv-mode .portrait{width:260px!important;max-width:100%!important;max-height:390px;object-fit:contain!important}
html.tv-mode .work{max-width:1920px!important;padding:26px var(--tv-gutter)!important}
html.tv-mode .bio,html.tv-mode .facts{font-size:var(--tv-text)!important;line-height:1.5!important;max-height:none!important;overflow:visible!important}
html.tv-mode .personal-rating-buttons{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:auto!important;max-width:none!important;gap:16px!important}
html.tv-mode .personal-rating-buttons button{min-width:0!important;width:100%!important;height:auto!important;font-size:var(--tv-control)!important}
html.tv-mode .personal-rating-buttons button:before{display:none!important}
html.tv-mode .episode-summary-copy b,html.tv-mode .episode-actor b{font-size:var(--tv-title)!important;line-height:1.35!important;white-space:normal!important}
html.tv-mode .episode-summary-copy span,html.tv-mode .episode-actor small{font-size:var(--tv-small)!important;white-space:normal!important;line-height:1.5!important}

/* Dialogs and short-lived controls must be usable without losing the focused action. */
html.tv-mode dialog,html.tv-mode #wink-feedback-dialog{width:1100px!important;max-width:90vw!important;max-height:84vh!important;padding:36px!important;border:3px solid #8b98aa!important;border-radius:16px;background:#142033!important;color:#fff!important;overflow:auto!important}
html.tv-mode dialog::backdrop{background:#000d}
html.tv-mode .tv-choice-dialog{position:fixed!important;top:8vh;left:8vw;right:8vw;z-index:2500!important;display:flex;flex-direction:column;width:84vw;max-width:1400px;max-height:84vh;margin:0 auto;padding:30px;background:#142033;color:#fff;border:3px solid #9aa9c2;border-radius:16px;box-shadow:0 0 0 100vmax #000c;overflow:hidden}
html.tv-mode .tv-choice-dialog h2{flex:0 0 auto;margin:0 0 24px!important;font-size:var(--tv-section)!important}
html.tv-mode .tv-choice-options{flex:1 1 auto;min-height:0;max-height:56vh;overflow-y:auto;padding:12px;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
html.tv-mode .tv-choice-options button{display:block;width:100%;text-align:left;background:#202b3c;color:#fff}
html.tv-mode .tv-choice-options .tv-choice-current{border-color:#ffe282!important;background:#4c3b13!important;color:#fff4c8!important}
html.tv-mode .tv-choice-close{align-self:flex-start;flex:0 0 auto;margin:24px 0 0!important}
html.tv-mode .wink-feedback-controls select,html.tv-mode .collection-save select{width:100%!important;max-width:100%!important}
html.tv-mode .wink-feedback-notices,html.tv-mode .pick-notifications{max-width:90vw!important;width:1000px!important;right:var(--tv-gutter)!important;bottom:40px!important;z-index:1400!important}
html.tv-mode .wink-feedback-notice,html.tv-mode .pick-notification,html.tv-mode .compare-tray{background:#142033!important;border:3px solid #9aa9c2!important;padding:24px!important;font-size:var(--tv-text)!important;color:#fff!important}
html.tv-mode .compare-tray{max-width:90vw!important;bottom:32px!important;right:var(--tv-gutter)!important;left:auto!important;z-index:1300!important}
html.tv-mode .compare-tray p,html.tv-mode .compare-tray a,html.tv-mode .wink-feedback-notice p,html.tv-mode .wink-feedback-notice span{font-size:var(--tv-text)!important;line-height:1.5!important;color:#fff!important}
html.tv-mode .account-page{max-width:1200px!important}
html.tv-mode .account-card{padding:30px!important;background:#142033!important;border:2px solid #758198!important}
html.tv-mode .account-card form{max-width:none!important}
html.tv-mode .password-control{display:flex;align-items:stretch}
html.tv-mode .password-control input{flex:1;min-width:0}
html.tv-mode footer,html.tv-mode .home-footer{position:static!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;width:auto!important;height:auto!important;font-size:var(--tv-small)!important;line-height:1.5!important;background:#0c1523!important;color:#d4dce8!important;padding:30px var(--tv-gutter)!important;max-width:none!important}
html.tv-mode footer a,html.tv-mode .home-footer a,html.tv-mode .returning-actions a,html.tv-mode .done{display:inline-flex;align-items:center;min-height:var(--tv-target)!important;padding:14px 18px!important;font-size:var(--tv-control)!important;line-height:1.4!important}
@media(min-width:1500px){html.tv-mode body>header.app-simple-header{flex-wrap:nowrap!important;gap:14px 20px!important}html.tv-mode body>header.app-simple-header>.app-primary-nav{flex:1 1 auto!important;justify-content:center!important}html.tv-mode body>header.app-simple-header>.account-nav{flex:0 1 260px!important;min-width:150px!important;max-width:320px!important}}

/* The larger text choices deliberately show fewer simultaneous titles. */
html.tv-mode[data-tv-size="huge"] .grid,html.tv-mode[data-tv-size="huge"] .pick-grid,html.tv-mode[data-tv-size="huge"] .saved-grid,html.tv-mode[data-tv-size="huge"] #similar-results,html.tv-mode[data-tv-size="huge"] #comparison,html.tv-mode[data-tv-size="huge"] .film-grid,html.tv-mode[data-tv-size="huge"] .credit-grid,html.tv-mode[data-tv-size="huge"] .wink-picks-grid,html.tv-mode[data-tv-size="huge"] .home-search-results{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:1400px){
  html.tv-mode{--tv-text:26px;--tv-small:24px;--tv-control:26px;--tv-title:32px;--tv-heading:48px;--tv-section:44px;--tv-gutter:40px;--tv-gap:24px;--tv-target:64px}
  html.tv-mode[data-tv-size="extra-large"]{--tv-text:28px;--tv-small:26px;--tv-control:28px;--tv-title:34px;--tv-heading:54px;--tv-section:48px;--tv-target:68px}
  html.tv-mode[data-tv-size="huge"]{--tv-text:32px;--tv-small:28px;--tv-control:32px;--tv-title:38px;--tv-heading:60px;--tv-section:54px;--tv-target:76px}
  html.tv-mode .grid,html.tv-mode .pick-grid,html.tv-mode .saved-grid,html.tv-mode #similar-results,html.tv-mode #comparison,html.tv-mode .film-grid,html.tv-mode .credit-grid,html.tv-mode .wink-picks-grid,html.tv-mode .starter-grid,html.tv-mode .home-search-results{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.tv-mode .hero-inner{grid-template-columns:320px minmax(0,1fr)!important;gap:28px!important}
  html.tv-mode .providers,html.tv-mode .show-people,html.tv-mode .people,html.tv-mode .credits,html.tv-mode .live-suggestion-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.tv-mode .fields,html.tv-mode .filter-options,html.tv-mode .watch-fields,html.tv-mode .picker-fields,html.tv-mode .similar-filters,html.tv-mode .search-options>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.tv-mode header>.account-nav{max-width:50%!important}
  html.tv-mode .card-media,html.tv-mode .pick-art,html.tv-mode .similar-poster-link,html.tv-mode .home-card-art,html.tv-mode .pick-poster,html.tv-mode .similar-poster,html.tv-mode .home-card-art img{height:200px!important;max-height:200px!important}
  html.tv-mode .tv-controls{gap:12px;min-height:88px;padding:12px var(--tv-gutter)}
}
@media(max-width:900px){
  html.tv-mode #app .intro .wink-hero{float:none;max-width:100%;width:100%!important;margin:0 0 24px!important;justify-content:flex-start}
  html.tv-mode #app .intro .wink-hero img{width:120px!important;height:120px!important}
  html.tv-mode{--tv-gutter:24px}
  html.tv-mode .hero-inner,html.tv-mode .person-hero,html.tv-mode .home-search-row,html.tv-mode .store-search-row,html.tv-mode .search-sort-row{grid-template-columns:minmax(0,1fr)!important}
  html.tv-mode .title-media,html.tv-mode .title-media.has-artwork{max-width:600px!important}
  html.tv-mode .choice-grid,html.tv-mode .time-grid,html.tv-mode .company-grid,html.tv-mode .mood-grid,html.tv-mode .service-grid,html.tv-mode #directory,html.tv-mode .service-choices,html.tv-mode #moods,html.tv-mode #together-moods{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.tv-mode .tv-controls select{max-width:100%;width:auto}
  html.tv-mode header>.account-nav{max-width:100%!important}
}

/* Keep WatchWink's room, brand and navigation in TV mode; no floating HUD. */
html.tv-mode{background:#090a0c;font-family:Manrope,Arial,Helvetica,sans-serif}
html.tv-mode body{background:linear-gradient(90deg,rgba(9,11,15,.78),rgba(9,11,15,.35)),url('./wink-living-room-v1.webp') center center/cover fixed!important;font-family:Manrope,Arial,Helvetica,sans-serif}
html.tv-mode *{scroll-margin-top:36px}
html.tv-mode body>header,html.tv-mode body>header.topbar,html.tv-mode body>header.app-simple-header{background:rgba(23,24,28,.94)!important;border-color:#48494e!important}
html.tv-mode .tv-controls{position:static!important;top:auto!important;display:inline-flex!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:12px;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;z-index:auto}
html.tv-mode .tv-controls .display-settings-link{border:0!important;background:transparent!important;padding:14px 16px!important}
html.tv-mode .app-menu-links .tv-controls{width:100%!important;align-items:flex-start}
html.tv-mode .home-search,html.tv-mode .store-search,html.tv-mode .wink-guide,html.tv-mode .fine-tune,html.tv-mode .account-card,html.tv-mode .settings-main section{background:rgba(30,32,38,.96)!important;border-color:#777a84!important}
html.tv-mode .card,html.tv-mode .pick-card,html.tv-mode .similar-card,html.tv-mode .saved-card,html.tv-mode .compare-card,html.tv-mode .choice,html.tv-mode details{background:#202226!important;border-color:#777a84!important}
html.tv-mode button,html.tv-mode select,html.tv-mode input,html.tv-mode textarea{background:#25272e!important}
html.tv-mode .cta,html.tv-mode .continue,html.tv-mode button[type="submit"],html.tv-mode .choice.selected{background:#ff6657!important;border-color:#ff6657!important;color:#15161a!important}
html.tv-mode .choice.selected b,html.tv-mode .choice.selected small{color:#15161a!important}
html.tv-mode main,html.tv-mode main#app{max-width:1600px!important}
html.tv-mode #app .intro h1{text-transform:none!important}
html.tv-mode #app .intro .wink-bubble{background:#25272e!important}
html.tv-mode #app .intro .wink-hero{width:500px!important}
html.tv-mode #app .intro .wink-hero img{width:200px!important;height:200px!important}
html.tv-mode #app .intro .wink-hero .wink-bubble{max-width:280px!important}
html.tv-mode #app .intro .wink-hero .wink-bubble span{font-size:var(--tv-small)!important}
@media(max-width:900px){html.tv-mode #app .intro .wink-hero img{width:120px!important;height:120px!important}}
.phone-menu[hidden]{display:none!important}
@media(max-width:700px){
html:not(.tv-mode) body>header.phone-compact{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;height:calc(68px + env(safe-area-inset-top))!important;min-height:68px!important;padding:calc(8px + env(safe-area-inset-top)) 20px 8px!important;gap:12px!important;overflow:visible!important;z-index:500}
html:not(.tv-mode) .topbar>.wordmark{min-height:44px;font-size:18px;flex:1;white-space:nowrap}
html:not(.tv-mode) body:has(>.topbar) .screen{top:calc(68px + env(safe-area-inset-top))!important}
html:not(.tv-mode) .phone-menu{position:static;flex:0 0 auto;color:#f5f5f7}
html:not(.tv-mode) .phone-menu>summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;cursor:pointer;min-height:44px;padding:8px 14px;border:1px solid #4b4e57;border-radius:12px;background:#25272f;font:700 16px/1.4 Manrope,Arial,sans-serif}
html:not(.tv-mode) .phone-menu>summary::-webkit-details-marker{display:none}
html:not(.tv-mode) .phone-menu>summary:after{content:'\2630';font-size:19px}
html:not(.tv-mode) .phone-menu[open]>summary{border-color:#ffdc83}
html:not(.tv-mode) .phone-menu-links{position:absolute;top:100%;right:12px;left:12px;max-height:calc(100vh - 100px);overflow:auto;padding:16px;display:flex;flex-direction:column;gap:8px;background:#1c1e25;border:1px solid #555962;border-radius:0 0 16px 16px;box-shadow:0 16px 32px #0009}
html:not(.tv-mode) .phone-menu:not([open])>.phone-menu-links{display:none}
html:not(.tv-mode) .phone-menu-links .account-nav{order:-1}
html:not(.tv-mode) .phone-menu-links a{display:flex;align-items:center;min-height:48px;padding:10px 12px;font:600 17px/1.5 Manrope,Arial,sans-serif!important;color:#f4f4f6;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
html:not(.tv-mode) .phone-menu-links .top-actions,html:not(.tv-mode) .phone-menu-links .preference-links{display:flex;flex-direction:column;align-items:stretch;gap:0}
html:not(.tv-mode) .phone-menu-links .top-actions>span{display:none}
html:not(.tv-mode) .phone-menu-links .saved-link{justify-content:space-between;border:0;border-radius:8px;background:#272a33}
html:not(.tv-mode) .phone-menu-links .tv-controls{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 0;border:0;border-top:1px solid #484b55;border-radius:0;background:transparent}
html:not(.tv-mode) .phone-menu-links .tv-controls a{color:#ffdc83}
html:not(.tv-mode) .phone-menu summary:focus-visible,html:not(.tv-mode) .phone-menu a:focus-visible{outline:3px solid #ffdc83;outline-offset:2px}
}

@media(max-width:700px){
 html:not(.tv-mode) header.phone-compact>:not(a):not(.phone-menu){display:none!important}
 html:not(.tv-mode) header.phone-compact>a:first-child{display:inline-flex!important;align-items:center;gap:8px;flex:1;min-width:0;min-height:44px;font:700 18px/1.4 Manrope,Arial,sans-serif!important;color:#fff;text-decoration:none}
 html:not(.tv-mode) header.phone-compact>a:first-child img{width:30px;height:30px;object-fit:contain}
 html:not(.tv-mode) header.phone-compact>.phone-menu{display:block!important;order:5}
 html:not(.tv-mode) .phone-menu-links>a,html:not(.tv-mode) .phone-menu-links>button{display:flex!important;align-items:center;min-height:48px;width:100%;padding:10px 12px;font:600 17px/1.5 Manrope,Arial,sans-serif!important;color:#f4f4f6;text-align:left;text-decoration:none;border:0;background:transparent;position:static;white-space:normal;max-width:100%;overflow-wrap:anywhere}
 html:not(.tv-mode) .phone-menu-links>a[aria-current=page]{color:#ffdc83;background:#292c35;border-radius:8px}
 html:not(.tv-mode) .phone-menu-links .tv-controls{order:10}
}

/* One consistent header on phones, computers and television. */
body>header.phone-compact{display:flex!important;position:relative!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;width:100%;height:auto!important;min-height:72px!important;padding:12px max(20px,calc((100% - 1600px)/2))!important;gap:16px!important;overflow:visible!important;z-index:500}
header.phone-compact>:not(a):not(.phone-menu){display:none!important}
header.phone-compact>a:first-child{display:inline-flex!important;align-items:center;gap:8px;flex:1!important;min-width:0!important;min-height:44px;font:700 22px/1.4 Manrope,Arial,sans-serif!important;color:#fff;text-decoration:none}
header.phone-compact>a:first-child img{width:32px;height:32px;object-fit:contain}
header.phone-compact>.header-winks{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;flex:0 0 auto!important;order:3!important;min-height:44px;padding:8px 14px!important;border:1px solid #4b4e57;border-radius:12px;background:#25272f;color:#f4f4f6;font:700 17px/1.4 Manrope,Arial,sans-serif!important;text-decoration:none}
header.phone-compact>.header-winks b{border-radius:30px;background:#ff6657;padding:2px 6px;color:#fff}
header.phone-compact>.phone-menu{display:block!important;position:static!important;order:5!important;flex:0 0 auto!important;color:#f4f4f6}
.phone-menu>summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;cursor:pointer;min-height:44px;padding:8px 14px;border:1px solid #4b4e57;border-radius:12px;background:#25272f;font:700 17px/1.4 Manrope,Arial,sans-serif}
.phone-menu>summary::-webkit-details-marker{display:none}.phone-menu>summary:after{content:'\2630';font-size:19px}.phone-menu[open]>summary{border-color:#ffdc83}
.phone-menu-links{position:absolute;top:100%;right:16px;left:auto;width:360px;max-width:calc(100vw - 32px);max-height:calc(100vh - 120px);overflow:auto;padding:16px;display:flex;flex-direction:column;gap:8px;background:#1c1e25;border:1px solid #555962;border-radius:0 0 16px 16px;box-shadow:0 16px 32px #0009}
.phone-menu:not([open])>.phone-menu-links{display:none}
.phone-menu-links>a,.phone-menu-links>button{display:flex!important;align-items:center;min-height:48px;width:100%;padding:10px 12px;font:600 18px/1.5 Manrope,Arial,sans-serif!important;color:#f4f4f6;text-align:left;text-decoration:none;border:0;background:transparent;position:static;white-space:normal;max-width:100%;overflow-wrap:anywhere}
.phone-menu-links .account-nav{order:-1}.phone-menu-links .tv-controls{order:10;display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 0;border:0;border-top:1px solid #484b55;border-radius:0;background:transparent}
.phone-menu-links .tv-controls a{color:#ffdc83}
.phone-menu summary:focus-visible,.phone-menu a:focus-visible,.header-winks:focus-visible{outline:3px solid #ffdc83;outline-offset:3px}
@media(max-width:700px){
html:not(.tv-mode) body>header.phone-compact{padding:calc(8px + env(safe-area-inset-top)) 12px 8px!important;gap:8px!important}
html:not(.tv-mode) header.phone-compact>a:first-child{font-size:16px!important;gap:6px}
html:not(.tv-mode) header.phone-compact>a:first-child img{width:24px;height:24px}
html:not(.tv-mode) header.phone-compact>.header-winks{font-size:13px!important;padding:8px!important;gap:4px}
html:not(.tv-mode) .phone-menu>summary{font-size:14px;padding:8px 10px}
html:not(.tv-mode) .phone-menu-links{left:12px;right:12px;width:auto}
}
html.tv-mode body>header.phone-compact{min-height:100px!important;padding:18px var(--tv-gutter)!important;gap:24px!important}
html.tv-mode header.phone-compact>a:first-child{font-size:36px!important}
html.tv-mode header.phone-compact>.header-winks,html.tv-mode .phone-menu>summary{font-size:var(--tv-control)!important;min-height:var(--tv-target)!important;padding:14px 22px!important}
html.tv-mode .phone-menu-links{width:620px;right:var(--tv-gutter);max-height:calc(100vh - 160px);padding:24px;border:3px solid #8995a8}
html.tv-mode .phone-menu-links>a,html.tv-mode .phone-menu-links>button{font-size:var(--tv-control)!important;min-height:var(--tv-target)!important;padding:16px!important}
html.tv-mode .phone-menu-links .tv-controls{position:static!important;width:100%;padding:16px 0 0!important;min-height:0;border:0;border-top:1px solid #777;background:transparent!important;box-shadow:none}

/* Instant remote scrolling and distinct rail controls on television. */
html.tv-mode,html.tv-mode body,html.tv-mode .popular-row,html.tv-mode .recently-viewed-rail,html.tv-mode .phone-menu-links{scroll-behavior:auto!important}
html.tv-mode .popular-tools,html.tv-mode .recently-viewed-actions,html.tv-mode .popular-arrows{display:flex!important;align-items:center;flex-wrap:wrap;gap:20px!important;flex-shrink:0;position:static;isolation:isolate}
html.tv-mode .popular-head,html.tv-mode .recently-viewed-heading{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px!important}
html.tv-mode .recently-viewed-heading-copy{display:block;flex:1 1 400px}
html.tv-mode .popular-arrows button,html.tv-mode .recently-viewed-arrow{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 80px!important;width:80px!important;min-width:80px!important;height:80px!important;min-height:80px!important;padding:0!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important;border:2px solid #bfc4ce!important;border-radius:12px!important;background:#25272e!important;color:#fff!important;font:700 42px/1 Arial,sans-serif!important;opacity:1!important;filter:none!important;box-shadow:none}
html.tv-mode .popular-arrows button:disabled,html.tv-mode .recently-viewed-arrow:disabled{background:#1b1d22!important;color:#89909c!important;border-color:#636975!important;opacity:1!important}
html.tv-mode .recently-viewed-clear{flex:0 0 auto;white-space:nowrap}
html.tv-mode .recently-viewed-hint{white-space:normal}

html.tv-mode .saved-card-heading{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
html.tv-mode .saved-poster{display:flex!important;justify-content:center;align-items:center;width:100%;height:360px;background:#141519;border-radius:12px;overflow:hidden}
html.tv-mode .saved-poster img{display:block;width:100%!important;height:360px!important;max-width:100%!important;object-fit:contain!important}
html.tv-mode .saved-card .actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:18px 0 0!important}
html.tv-mode .saved-card .actions>a,html.tv-mode .saved-card .actions>button,html.tv-mode .saved-card .card-menu>summary{min-width:0!important;min-height:60px!important;padding:10px 12px!important;font-size:calc(var(--tv-control) - 4px)!important;line-height:1.3!important;flex:initial!important}
html.tv-mode .saved-card .actions>.card-menu{grid-column:1/-1}
@media(max-width:1400px){html.tv-mode .saved-poster,html.tv-mode .saved-poster img{height:300px!important}}

/* Browse artwork and actions use the same balanced TV proportions as My Winks. */
html.tv-mode .card-media{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;height:360px!important;padding:16px!important;gap:16px!important}
html.tv-mode .card-media.poster-only{grid-template-columns:minmax(0,1fr)!important}
html.tv-mode .card-media .poster,html.tv-mode .card-media.poster-only .poster{display:flex!important;align-items:center;justify-content:center;width:100%!important;max-width:none!important;height:100%!important}
html.tv-mode .card-media .poster img{object-fit:contain!important;max-width:100%!important}
html.tv-mode .pick-art{display:flex!important;flex-direction:column;align-items:stretch;height:auto!important;max-height:none!important}
html.tv-mode .pick-poster{height:360px!important;max-height:360px!important;width:100%!important;object-fit:contain!important}
html.tv-mode .pick-art-badges{position:static!important;display:flex!important;flex-wrap:wrap;gap:8px;padding:12px!important}
html.tv-mode .pick-actions{gap:12px!important;margin-top:18px!important}
html.tv-mode .pick-actions>a,html.tv-mode .pick-actions>button,html.tv-mode .pick-actions>details>summary,html.tv-mode .card .copy>button,html.tv-mode .card .copy>a{min-height:60px!important;min-width:0!important;padding:10px 12px!important;font-size:calc(var(--tv-control) - 4px)!important;line-height:1.3!important}
@media(max-width:1400px){html.tv-mode .card-media,html.tv-mode .pick-poster{height:300px!important;max-height:300px!important}}

/* Portrait artwork must fill the rail, rather than a short landscape strip. */
html.tv-mode .popular-row,html.tv-mode .recently-viewed-rail{grid-auto-columns:calc((100% - 56px)/3)!important;align-items:stretch!important}
html.tv-mode .home-card-art{display:block!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:2/3!important;padding:0!important;background:#141519!important}
html.tv-mode .home-card-art img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:2/3!important;object-fit:contain!important;border-radius:12px 12px 0 0!important}
html.tv-mode .recently-viewed-image{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:2/3!important;object-fit:contain!important;background:#141519!important}
html.tv-mode .home-card>b,html.tv-mode .recently-viewed-copy b{margin:0!important;padding:14px 16px!important}
html.tv-mode .recently-viewed-copy{padding:0 0 14px!important;min-height:0!important}
html.tv-mode .recently-viewed-copy span{padding:0 16px!important;margin:0!important}
html.tv-mode .home-card>span:not(.home-card-art){padding:0 16px 14px!important}
html.tv-mode .home-card,html.tv-mode .recently-viewed-card{background:#202226!important}
html.tv-mode .home-card-score{position:absolute;right:12px;bottom:12px;background:#17181c!important;border:2px solid #ffdc83;color:#ffdc83!important}

/* Consistent full portrait artwork throughout TV browsing. */
html.tv-mode .pick-art,html.tv-mode .saved-poster,html.tv-mode .similar-poster-link{height:auto!important;max-height:none!important;min-height:0!important}
html.tv-mode .pick-poster,html.tv-mode .saved-poster img,html.tv-mode .similar-poster,html.tv-mode .wink-pick>img,html.tv-mode .starter-grid img,html.tv-mode .film img,html.tv-mode .credit-card img,html.tv-mode .compare-poster{display:block!important;width:100%!important;height:auto!important;max-height:none!important;max-width:100%!important;aspect-ratio:2/3!important;object-fit:contain!important;background:#141519!important}
html.tv-mode .card-media{display:flex!important;flex-direction:column!important;align-items:stretch!important;height:auto!important;max-height:none!important;padding:0!important;gap:0!important}
html.tv-mode .card-media .poster,html.tv-mode .card-media.poster-only .poster{display:block!important;width:100%!important;height:auto!important;max-height:none!important;max-width:none!important;aspect-ratio:2/3!important}
html.tv-mode .card-media .poster img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:2/3!important;object-fit:contain!important}
html.tv-mode .card-media .film-image{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important}
html.tv-mode .card-media .film-image img{height:auto!important;width:100%!important;aspect-ratio:16/9!important;object-fit:contain!important}
html.tv-mode .title-media .poster{height:auto!important;max-height:none!important;aspect-ratio:2/3!important;object-fit:contain!important}

html.tv-mode .title-media,html.tv-mode .title-media.has-artwork,html.tv-mode .title-media:not(.has-artwork){display:block!important;width:100%!important;max-width:none!important}
html.tv-mode .title-poster{width:100%!important;max-width:none!important}
html.tv-mode .title-media .poster{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:2/3!important;object-fit:contain!important}
html.tv-mode .title-media .title-still{margin-top:24px!important}

/* Avoid full-screen glass compositing on the TV GPU while scrolling. */
html.tv-mode *,html.tv-mode *:before,html.tv-mode *:after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.tv-mode .home-discovery{background:#16181d!important}

html.tv-mode.tv-auto-scrolling,html.tv-mode.tv-auto-scrolling *{cursor:ns-resize!important}
.tv-auto-scroll-marker{position:fixed;z-index:10000;width:64px;height:64px;display:flex;align-items:center;justify-content:center;border:3px solid #ffdc83;border-radius:50%;background:#17191f;color:#ffdc83;font:800 30px/1 Arial,sans-serif;pointer-events:none;box-shadow:0 0 0 4px #111}
.tv-auto-scroll-help{position:fixed;z-index:10000;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:85vw;padding:16px 24px;border:2px solid #ffdc83;border-radius:12px;background:#17191f;color:#fff;text-align:center;font:700 26px/1.4 Arial,sans-serif;pointer-events:none}

/* Couch-sized artwork: retain the complete poster without occupying a full screen. */
html.tv-mode{--tv-poster-height:42vh}
html.tv-mode .pick-poster,html.tv-mode .saved-poster img,html.tv-mode .similar-poster,html.tv-mode .wink-pick>img,html.tv-mode .starter-grid img,html.tv-mode .film img,html.tv-mode .credit-card img,html.tv-mode .compare-poster,html.tv-mode .home-card-art img,html.tv-mode .recently-viewed-image,html.tv-mode .card-media .poster img{height:42vh!important;height:var(--tv-poster-height)!important;max-height:440px!important;width:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
html.tv-mode .home-card-art,html.tv-mode .card-media .poster,html.tv-mode .card-media.poster-only .poster{height:42vh!important;height:var(--tv-poster-height)!important;max-height:440px!important;aspect-ratio:auto!important}
html.tv-mode .title-media .poster{max-height:60vh!important;width:100%!important;object-fit:contain!important}
