/* ===== ThunderFlix · Netflix navigation layer (loaded after styles.css/control.css) ===== */
:root{
  --nf-panel:#181818;
  --nf-gutter:4vw;
  --nf-gap:max(4px,.4vw);
  --nf-per:6;
  --nf-radius:4px;
  --nf-topbar:68px;
}
@media(max-width:1399px){:root{--nf-per:5}}
@media(max-width:1099px){:root{--nf-per:4}}
@media(max-width:760px){:root{--nf-per:3.3;--nf-gutter:16px;--nf-gap:7px}}
html.tv-mode{--nf-per:5}

/* ---------- top bar ---------- */
#topbar{height:var(--nf-topbar);padding:0 var(--nf-gutter);gap:clamp(18px,2.4vw,42px);
  background:linear-gradient(180deg,rgba(0,0,0,.78) 10%,rgba(0,0,0,0));backdrop-filter:none!important}
#topbar.solid{background:#0b0d0e;box-shadow:0 1px 0 rgba(255,255,255,.04)}
#topbar nav{gap:clamp(12px,1.4vw,22px)}
#topbar .navBtn{font-size:14px;color:#e5e5e5;padding:6px 0;font-weight:400;transition:color .3s}
#topbar .navBtn:hover{color:#b3b3b3}
#topbar .navBtn.active{color:#fff;font-weight:700;cursor:default}
#topbar .searchbox{border:1px solid transparent;border-radius:0;height:34px;padding:0 8px;cursor:pointer}
#topbar .searchbox:focus-within{border-color:rgba(255,255,255,.85);background:rgba(0,0,0,.78)}
#topbar .searchbox .uiIcon{width:22px;height:22px;color:#fff;flex:0 0 auto}
#topbar .libraryBtn{background:transparent;border:0;color:#e5e5e5;font-size:13px;padding:0 4px;height:34px}
#topbar .libraryBtn:hover{color:#fff;box-shadow:none}
#topbar .profileDot{border-radius:4px}

/* ---------- category sub-navigation (Filmes ▾ Géneros) ---------- */
.nfSubnav{position:fixed;top:var(--nf-topbar);left:0;right:0;z-index:95;display:flex;align-items:center;gap:2.2vw;
  padding:6px var(--nf-gutter) 10px;background:linear-gradient(180deg,rgba(0,0,0,.6),rgba(0,0,0,0));transition:background .3s}
#topbar.solid ~ .nfSubnav{background:#0b0d0e}
.nfSubnav h1{font-size:clamp(22px,2.5vw,38px);margin:0;font-weight:700;letter-spacing:-.01em}
.nfSubnav select{background:#000;color:#fff;border:1px solid rgba(255,255,255,.9);padding:.35em 2.2em .35em .8em;font-size:14px;font-weight:600;border-radius:0;cursor:pointer}
.nfLayoutToggle{margin-left:auto;display:flex;border:1px solid rgba(255,255,255,.7)}
.nfLayoutToggle button{width:40px;height:30px;display:grid;place-items:center;border:0;background:transparent;color:#fff;cursor:pointer}
.nfLayoutToggle button.active{background:rgba(255,255,255,.2)}
.nfLayoutToggle svg{width:18px;height:18px;fill:none}
.nfLayoutToggle #nfGridBtn svg{fill:currentColor}
.nfSubnavSimple select,.nfSubnavSimple .nfLayoutToggle{display:none}

/* ---------- billboard ---------- */
.hero{height:max(560px,min(56.25vw,100vh))!important;min-height:0!important}
.hero-backdrop{opacity:1!important;transform:none!important;background-position:center 18%;transition:opacity .9s ease}
.hero-shade{z-index:2;background:
  linear-gradient(77deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.32) 36%,rgba(0,0,0,0) 62%),
  linear-gradient(0deg,var(--bg) 0%,rgba(5,7,7,.55) 11%,rgba(5,7,7,0) 28%)!important}
.nfHeroVideo{position:absolute;inset:0;z-index:1;overflow:hidden;opacity:0;transition:opacity .9s ease;pointer-events:none}
.hero.nfHeroPlaying .nfHeroVideo{opacity:1}
.hero.nfHeroPlaying .hero-backdrop{opacity:0!important}
.hero-copy{left:var(--nf-gutter)!important;bottom:31%!important;width:min(38vw,640px)!important;max-width:none!important;z-index:3}
.nfHeroLogo{display:none;width:auto;max-width:100%;max-height:min(17vw,200px);object-fit:contain;object-position:left bottom;
  margin:0 0 1.3vw;filter:drop-shadow(0 2px 14px rgba(0,0,0,.45));transform-origin:left bottom;transition:transform 1.3s ease}
.hero.has-logo .nfHeroLogo{display:block}
.hero.has-logo #heroTitle{display:none}
.hero-copy h1{font-size:clamp(34px,4.3vw,72px)!important}
.hero-copy p{font-size:clamp(14px,1.25vw,20px)!important;line-height:1.35!important;color:#fff!important;margin:0 0 1.5vw!important;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:4.2em;
  text-shadow:2px 2px 4px rgba(0,0,0,.45);transition:opacity .7s ease,max-height .7s ease,margin .7s ease}
.hero.nfHeroPlaying .hero-copy p{opacity:0;max-height:0;margin:0!important}
.hero.nfHeroPlaying .nfHeroLogo{transform:scale(.72)}
.hero-kicker{font-size:12px!important;margin-bottom:10px!important}
.hero-actions{gap:.7vw!important;flex-wrap:wrap}
.hero-actions .playBtn,.hero-actions .infoBtn,.nfBtnPlay{display:inline-flex;align-items:center;gap:.55em;border:0;border-radius:4px;
  padding:.55em 1.7em .55em 1.3em;font-size:clamp(14px,1.3vw,21px);font-weight:700;box-shadow:none;transform:none;cursor:pointer;line-height:1.2}
.hero-actions .playBtn,.nfBtnPlay{background:#fff;color:#000}
.hero-actions .playBtn:hover:not(:disabled),.nfBtnPlay:hover:not(:disabled){background:rgba(255,255,255,.75);box-shadow:none;transform:none}
.hero-actions .infoBtn{background:rgba(109,109,110,.7);color:#fff;backdrop-filter:none}
.hero-actions .infoBtn:hover{background:rgba(109,109,110,.4)}
.nfBtnIcon,.nfBtnPlay .nfI svg{width:1.45em;height:1.45em;display:block;flex:0 0 auto}
.nfHeroSide{position:absolute;right:0;bottom:31%;z-index:3;display:flex;align-items:center;gap:12px}
.nfHeroBadge{background:rgba(51,51,51,.6);border-left:3px solid #dcdcdc;color:#fff;padding:.45em calc(var(--nf-gutter) + .4em) .45em .8em;font-size:clamp(12px,1.05vw,17px)}
#connectionPill{display:none!important}
#connectionPill.warn{display:block!important;top:calc(var(--nf-topbar) + 14px);bottom:auto;right:var(--nf-gutter);font-size:11px;opacity:.9}

/* ---------- page layout ---------- */
.content{margin-top:calc(-1 * min(8.5vw,150px))!important;padding-bottom:60px!important}
body.nf-no-hero .content{margin-top:0!important;padding-top:calc(var(--nf-topbar) + 28px)!important}
body.nf-no-hero.nf-has-subnav .content{padding-top:calc(var(--nf-topbar) + 76px)!important}
.shelf{margin:0 0 2.6vw!important}
.shelfHead{padding:0 var(--nf-gutter)!important;margin:0 0 .45em!important;justify-content:flex-start!important;align-items:flex-end!important;gap:12px}
.shelfHead h2{font-size:clamp(15px,1.4vw,22px)!important;font-weight:700!important;color:#e5e5e5;margin:0;line-height:1.25}
.shelfHead .textBtn{font-size:clamp(11px,.9vw,14px);color:var(--accent);font-weight:700;padding:0 0 2px;opacity:0;transform:translateX(-10px);transition:opacity .4s,transform .4s}
.shelf:hover .shelfHead .textBtn,.shelfHead .textBtn:focus-visible{opacity:1;transform:none}
.shelfHead .textBtn::after{content:" ›";font-size:1.25em}
.nfPager{margin-left:auto;display:flex;gap:2px;align-self:center;opacity:0;transition:opacity .3s}
.shelf:hover .nfPager{opacity:1}
.nfPager i{display:block;width:12px;height:2px;background:#4d4d4d}
.nfPager i.on{background:#aaa}
.libraryPageHead h2{font-size:clamp(22px,2.4vw,36px)!important}

/* ---------- rows + slider ---------- */
.nfSlider{position:relative}
.row:not(.grid){display:flex!important;gap:var(--nf-gap)!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:6px var(--nf-gutter) 12px!important;scroll-padding-inline:var(--nf-gutter);scroll-snap-type:x mandatory;
  scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain}
.row:not(.grid)::-webkit-scrollbar{display:none}
.row:not(.grid) > .card.nfCard,html.tv-mode .row:not(.grid) > .card.nfCard{
  flex:0 0 calc((100% - (var(--nf-per) - 1) * var(--nf-gap)) / var(--nf-per))!important;
  width:calc((100% - (var(--nf-per) - 1) * var(--nf-gap)) / var(--nf-per))!important;
  min-width:0!important;max-width:none!important;scroll-snap-align:start}
.nfArrow{display:none}
@media(hover:hover) and (pointer:fine){
  .nfArrow{display:flex;position:absolute;top:6px;bottom:12px;width:calc(var(--nf-gutter) - 3px);z-index:6;border:0;padding:0;
    align-items:center;justify-content:center;background:rgba(12,12,12,.5);color:#fff;opacity:0;transition:opacity .2s,background .2s;cursor:pointer}
  .nfPrev{left:0;border-radius:0 4px 4px 0}
  .nfNext{right:0;border-radius:4px 0 0 4px}
  .nfArrow svg{width:clamp(18px,2.1vw,40px);height:auto;transition:transform .15s}
  .nfSlider.nfScrollable:hover .nfArrow{opacity:1}
  .nfArrow:hover{background:rgba(12,12,12,.78)}
  .nfArrow:hover svg{transform:scale(1.25)}
  .nfSlider.nfAtStart .nfPrev{visibility:hidden}
  .nfSlider:not(.nfScrollable) .nfArrow{display:none}
}
html.tv-mode .nfArrow{display:none!important}

/* ---------- boxart cards ---------- */
.card.nfCard{position:relative;outline:none;transform:none!important;transition:none!important;z-index:1;cursor:pointer;min-width:0;background:none}
.nfCard .nfArt{position:relative;aspect-ratio:16/9!important;border-radius:var(--nf-radius);overflow:hidden;background:#181c1d!important;
  box-shadow:none!important;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s}
.nfCard .nfArt:before{display:none!important}
.nfCard:not(.nfPortrait):not(.nf-top) .nfArt::after{content:"";position:absolute;left:0;right:0;bottom:0;height:58%;z-index:1;pointer-events:none;
  background:linear-gradient(0deg,rgba(0,0,0,.66),rgba(0,0,0,0))}
.nfCard .nfImg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;opacity:0;transition:opacity .35s}
.nfCard.nfLoaded .nfImg{opacity:1}
.nfCard.nfPosterArt .nfImg{object-position:center 22%}
.nfCard .posterFallback svg{width:22%!important;height:22%!important}
@media(hover:hover) and (pointer:fine){
  .nfCard:hover .nfArt{transform:scale(1.04);box-shadow:0 6px 18px rgba(0,0,0,.55)!important}
}
.nfCard:focus-visible .nfArt{outline:2px solid #fff;outline-offset:2px}
.nfCard.nfPreviewing .nfArt{transform:none}
.nfBoxTitle{position:absolute;left:6%;right:6%;top:44%;bottom:8%;z-index:2;display:flex;align-items:flex-end;pointer-events:none}
.nfBoxLogo{display:none;height:100%;width:auto;max-width:72%;object-fit:contain;object-position:left bottom;filter:drop-shadow(0 1px 4px rgba(0,0,0,.6))}
.nfBoxTitle.hasLogo .nfBoxLogo{display:block}
.nfBoxTitle.hasLogo .nfBoxText{display:none}
.nfBoxText{font-weight:800;font-size:clamp(12px,1.12vw,19px);line-height:1.08;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.85);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.01em}
.nfNewBadge{position:absolute;left:50%;bottom:0;transform:translateX(-50%);z-index:3;background:var(--accent);color:#031012;
  font-size:clamp(9px,.7vw,12px);font-weight:800;padding:.25em .75em;border-radius:3px 3px 0 0;white-space:nowrap}
.nfArt:has(.nfNewBadge) .nfBoxTitle{bottom:20%}
.nfTopBadge{position:absolute;top:0;right:0;z-index:3;width:clamp(22px,1.9vw,32px);aspect-ratio:.82;background:var(--accent);color:#031012;
  font-weight:900;font-size:clamp(10px,.9vw,15px);line-height:.95;display:flex;flex-direction:column;align-items:center;justify-content:center;border-bottom-left-radius:3px}
.nfTopBadge small{font-size:.48em;letter-spacing:.08em;font-weight:800}
.nfProgress{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.3);z-index:3}
.nfProgress span{display:block;height:100%;background:var(--accent)}
.nfCaption{font-size:12px;color:#bdbdbd;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nfCard .meta,.nfCard .favMini,.nfCard .cardHoverInfo{display:none!important}
.nfCard.nfPortrait .nfArt{aspect-ratio:2/3!important}

/* Top 10: big outlined numerals beside the poster */
.card.nfCard.nf-top{display:block;aspect-ratio:1.25}
.nf-top .nfArt{position:absolute!important;right:0;top:0;bottom:0;height:100%;width:auto!important;aspect-ratio:2/3!important}
.nfRankNum{position:absolute;left:-1%;bottom:-.17em;z-index:0;font-family:"Arial Black","Segoe UI Black",Impact,system-ui,sans-serif;font-weight:900;
  font-size:calc((100vw - 2 * var(--nf-gutter)) / var(--nf-per) * .98);line-height:1;letter-spacing:-.06em;color:#0b0d0e;
  -webkit-text-stroke:clamp(2px,.25vw,5px) #5c6566;pointer-events:none;user-select:none}
.nfRankNum.nfRank10{font-size:calc((100vw - 2 * var(--nf-gutter)) / var(--nf-per) * .72);letter-spacing:-.14em;left:-3%}
.nf-top .nfArt{box-shadow:-6px 0 14px rgba(0,0,0,.55)!important}

/* gallery grid (Explorar tudo, pesquisa, A minha lista) */
.row.grid{display:grid!important;grid-template-columns:repeat(var(--nf-per),minmax(0,1fr))!important;gap:3.4vw var(--nf-gap)!important;
  padding:8px var(--nf-gutter) 24px!important;overflow:visible!important}
.row.grid > .card.nfCard{min-width:0!important;width:auto!important}
@media(max-width:760px){.row.grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 8px!important}}

/* ---------- hover preview (mini-modal) ---------- */
.nfPreview{position:absolute;z-index:900;display:none;background:var(--nf-panel);border-radius:6px;overflow:hidden;color:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.05);will-change:transform,opacity}
.nfPreview.nfShow{display:block;animation:nfPop .3s cubic-bezier(.2,.8,.2,1) both}
.nfPreview.nfOut{display:block;animation:nfUnpop .2s ease both;pointer-events:none}
@keyframes nfPop{from{transform:scale(var(--from,.66));opacity:.35}to{transform:scale(1);opacity:1}}
@keyframes nfUnpop{from{transform:scale(1);opacity:1}to{transform:scale(var(--from,.66));opacity:0}}
.nfPvMedia{position:relative;aspect-ratio:16/9;background:#000;cursor:pointer;overflow:hidden}
.nfPvImg,.nfDtImg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .6s}
.nfPvImg.nfPosterOnly,.nfDtImg.nfPosterOnly{object-position:center 20%}
.nfPvVideo,.nfDtVideo{position:absolute;inset:0;opacity:0;transition:opacity .7s;pointer-events:none;overflow:hidden}
.nfPreview.nfPlaying .nfPvVideo{opacity:1}
.nfPreview.nfPlaying .nfPvImg{opacity:0}
.nfYT{--nfZoom:1.16;position:absolute;left:0;top:0;width:100%;height:100%;transform:none!important;border:0;pointer-events:none}
.nfPvMedia::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(0deg,rgba(24,24,24,.85),transparent);pointer-events:none;z-index:1}
.nfPvLogo{position:absolute;left:5%;bottom:9%;max-width:46%;max-height:34%;object-fit:contain;object-position:left bottom;display:none;z-index:2;filter:drop-shadow(0 2px 8px rgba(0,0,0,.6))}
.nfPreview.nfHasLogo .nfPvLogo{display:block}
.nfPvTitle{position:absolute;left:5%;right:22%;bottom:8%;z-index:2;font-weight:800;font-size:1.15em;line-height:1.1;text-shadow:0 2px 6px #000}
.nfPreview.nfHasLogo .nfPvTitle{display:none}
.nfPvMute{position:absolute!important;right:4%;bottom:7%;z-index:3}
.nfPvInfo{padding:1em 1.1em 1.25em;font-size:clamp(12px,.82vw,15px)}
.nfPvBtns{display:flex;align-items:center;gap:.5em;margin-bottom:.9em}
.nfSpacer{flex:1}
.nfCircle{width:2.6em;height:2.6em;min-width:2.6em;border-radius:50%;display:inline-grid;place-items:center;padding:0;
  border:2px solid rgba(255,255,255,.5);background:rgba(42,42,42,.6);color:#fff;cursor:pointer;transition:border-color .15s,background .15s;font-size:inherit}
.nfCircle svg{width:55%;height:55%;display:block}
.nfCircle:hover,.nfCircle:focus-visible{border-color:#fff;background:rgba(255,255,255,.12);outline:none}
.nfCircle.nfWhite{background:#fff;border-color:#fff;color:#000}
.nfCircle.nfWhite:hover,.nfCircle.nfWhite:focus-visible{background:rgba(255,255,255,.8)}
.nfCircle.nfWhite svg{margin-left:8%}
.nfPvMeta,.nfDtMeta{display:flex;flex-wrap:wrap;align-items:center;gap:.55em;color:#bcbcbc;margin-bottom:.65em;font-weight:500}
.nfMatch{color:var(--accent);font-weight:700}
.nfYear,.nfDur{color:#d2d2d2}
.nfBadgeBox{border:1px solid rgba(255,255,255,.4);border-radius:3px;padding:0 .45em;font-size:.78em;line-height:1.55;color:#fff;letter-spacing:.03em}
.nfPvGenres{display:flex;flex-wrap:wrap;gap:.45em;color:#fff;font-size:.95em}
.nfPvGenres span+span::before{content:"•";color:#646464;margin-right:.45em}
.nfPvProgress,.nfDtProgress{display:flex;align-items:center;gap:.7em;margin:0 0 .7em;color:#bcbcbc;font-size:.9em}
.nfBar{position:relative;display:block;height:3px;background:#4d4d4d;flex:1;max-width:60%}
.nfBar i{position:absolute;left:0;top:0;bottom:0;background:var(--accent)}

/* ---------- "Mais informações" window ---------- */
.nfDetails{padding:0;margin:0;border:0;width:100%;max-width:100%;height:100%;max-height:100%;background:transparent;overflow-y:auto;overscroll-behavior:contain;color:#fff}
.nfDetails::backdrop{background:rgba(0,0,0,.72)}
.nfDetails[open]{display:block;animation:nfFade .22s ease}
@keyframes nfFade{from{opacity:0}to{opacity:1}}
.nfDtBox{position:relative;width:min(850px,94vw);margin:30px auto 48px;background:var(--nf-panel);border-radius:8px;overflow:hidden;
  box-shadow:0 10px 40px rgba(0,0,0,.6);animation:nfRise .32s cubic-bezier(.2,.8,.2,1)}
@keyframes nfRise{from{transform:translateY(26px) scale(.97);opacity:.4}to{transform:none;opacity:1}}
.nfDtClose{position:absolute;top:14px;right:14px;z-index:8;width:38px;height:38px;border-radius:50%;border:0;background:#181818;color:#fff;display:grid;place-items:center;cursor:pointer}
.nfDtClose svg{width:20px;height:20px}
.nfDtClose:focus-visible{outline:2px solid #fff}
.nfDtMedia{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.nfDetails.nfPlaying .nfDtVideo{opacity:1}
.nfDetails.nfPlaying .nfDtImg{opacity:0}
.nfDtShade{position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,var(--nf-panel) 0%,rgba(24,24,24,.35) 27%,rgba(24,24,24,0) 55%);pointer-events:none}
.nfDtHeroCopy{position:absolute;left:3em;right:3em;bottom:7%;z-index:3}
.nfDtLogo{display:none;max-width:44%;max-height:9em;object-fit:contain;object-position:left bottom;margin-bottom:1.2em;filter:drop-shadow(0 2px 10px rgba(0,0,0,.5))}
.nfDetails.nfHasLogo .nfDtLogo{display:block}
.nfDetails.nfHasLogo .nfDtTitle{display:none}
.nfDtTitle{font-size:clamp(26px,3.4vw,44px);margin:0 0 .5em;font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.nfDtBtns{display:flex;align-items:center;gap:.6em;font-size:clamp(13px,1.1vw,16px)}
.nfDtBtns .nfBtnPlay{font-size:clamp(14px,1.2vw,18px)}
.nfDtBody{padding:0 3em 2.6em}
.nfDtCols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:2em;margin:.7em 0 1.8em;font-size:15px}
.nfDtDesc{font-size:15px;line-height:1.55;margin:.4em 0 0;color:#fff}
.nfDtRight{font-size:14px;line-height:1.5;color:#ddd}
.nfDtRight p,.nfDtAboutBody p{margin:0 0 .7em}
.nfDtRight span,.nfDtAboutBody span{color:#777}
.nfLink{color:#fff;background:none;border:0;padding:0;font:inherit;font-style:italic;cursor:pointer}
.nfLink:hover{text-decoration:underline}
.nfDtEpisodes,.nfDtSimilar,.nfDtAbout{margin-top:1.4em}
.nfDetails h3{font-size:clamp(18px,1.7vw,24px);margin:0 0 .8em;font-weight:700}
.nfDtEpHead{display:flex;align-items:center;justify-content:space-between;gap:1em;margin-bottom:1em}
.nfDtEpHead h3{margin:0}
.nfDtSeason{background:#242424;color:#fff;border:1px solid #4d4d4d;border-radius:4px;padding:.55em 2.2em .55em 1em;font-size:15px;font-weight:700;cursor:pointer}
.nfEp{display:grid;grid-template-columns:3em 9.5em minmax(0,1fr);align-items:center;gap:1em;width:100%;text-align:left;background:transparent;border:0;
  border-bottom:1px solid #404040;border-radius:4px;color:#fff;padding:1.3em 1em;cursor:pointer;font:inherit}
.nfEp:hover,.nfEp:focus-visible{background:#2a2a2a;outline:none}
.nfEpNum{font-size:1.5em;color:#d2d2d2;text-align:center}
.nfEpThumb{position:relative;aspect-ratio:16/9;border-radius:4px;overflow:hidden;background:#222;display:block}
.nfEpThumb img{width:100%;height:100%;object-fit:cover;display:block}
.nfEpPlay{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:opacity .2s;background:rgba(0,0,0,.25)}
.nfEpPlay svg{width:2.5em;height:2.5em;padding:.55em;border:2px solid #fff;border-radius:50%;background:rgba(30,30,30,.5);color:#fff}
.nfEp:hover .nfEpPlay,.nfEp:focus-visible .nfEpPlay{opacity:1}
.nfEpThumb .nfBar{position:absolute;left:0;right:0;bottom:0;max-width:none;height:4px}
.nfEpCopy{display:flex;flex-direction:column;gap:.45em;min-width:0}
.nfEpHead{display:flex;justify-content:space-between;gap:1em;font-weight:700}
.nfEpDur{font-weight:400;color:#ccc;white-space:nowrap}
.nfEpDesc{color:#d2d2d2;font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nfDtSimGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1em}
.nfDtSimilar:not(.nfExpanded) .nfSim:nth-child(n+7){display:none}
.nfSim{background:#2f2f2f;border-radius:4px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.nfSimMedia{position:relative;aspect-ratio:16/9;padding:0;border:0;background:#222;cursor:pointer;display:block;width:100%;overflow:hidden}
.nfSimMedia img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.nfSimMedia::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.6),rgba(0,0,0,0) 55%)}
.nfSimLabel{position:absolute;left:.7em;right:.7em;bottom:.55em;z-index:1;color:#fff;font-weight:800;font-size:13px;text-align:left;line-height:1.15;
  text-shadow:0 1px 4px #000;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nfSimMedia:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.nfSimBody{padding:1em;font-size:14px}
.nfSimTop{display:flex;justify-content:space-between;align-items:center;gap:.5em;margin-bottom:.7em}
.nfSimMeta{display:flex;flex-wrap:wrap;gap:.45em;align-items:center;color:#bcbcbc}
.nfSimTitle{display:block;margin-bottom:.4em;font-size:14px}
.nfSimDesc{margin:0;color:#d2d2d2;line-height:1.4;font-size:13px;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.nfDtExpandWrap{display:flex;justify-content:center;border-bottom:2px solid #404040;height:1.5em;margin:.6em 0 2em}
.nfDtExpand{transform:translateY(50%);background:rgba(42,42,42,.95)}
.nfDtSimilar.nfExpanded .nfDtExpand svg{transform:rotate(180deg)}
.nfDtAboutBody{font-size:14px;line-height:1.55;color:#ddd}
.nfDtAbout h3 b{font-weight:700}
body.nf-modal-open{overflow:hidden}

/* ---------- phones and tablets ---------- */
@media(max-width:980px){
  #topbar{height:auto!important;min-height:56px;flex-wrap:wrap;padding:8px 16px 8px!important;row-gap:8px;gap:12px!important}
  #topbar nav{display:flex!important;order:3;flex:0 0 100%;overflow-x:auto;gap:8px!important;padding:0 0 2px;scrollbar-width:none}
  #topbar nav::-webkit-scrollbar{display:none}
  #topbar .navBtn{flex:0 0 auto;border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:6px 14px!important;font-size:13px!important}
  #topbar .navBtn.active{background:#fff;color:#000;border-color:#fff;font-weight:600}
  #topbar .actions{margin-left:auto}
  :root{--nf-topbar:100px}
  .nfSubnav{padding:6px 16px 8px}
}
@media(max-width:760px){
  #topbar .searchbox input{display:block!important;width:0!important;opacity:0}
  #topbar .searchbox:focus-within input{width:46vw!important;opacity:1}
  .hero{height:max(500px,74vh)!important}
  .hero-copy{width:calc(100vw - 32px)!important;bottom:15%!important}
  .nfHeroLogo{max-height:30vw;max-width:72vw}
  .hero-copy p{-webkit-line-clamp:2;max-height:2.8em}
  .hero-actions .playBtn,.hero-actions .infoBtn{font-size:15px;padding:.6em 1.2em}
  .nfHeroSide{bottom:15%}
  .nfHeroBadge{display:none}
  .content{margin-top:-30px!important}
  .shelf{margin-bottom:22px!important}
  .nfDtBox{width:100%;margin:0;border-radius:0;min-height:100%}
  .nfDtHeroCopy{left:1.1em;right:1.1em}
  .nfDtBody{padding:0 1.1em 2em}
  .nfDtCols{grid-template-columns:1fr;gap:1em}
  .nfDtSimGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nfEp{grid-template-columns:7.5em minmax(0,1fr);padding:1em .3em}
  .nfEpNum{display:none}
  .nfEpDesc{-webkit-line-clamp:2}
  .nfDtClose{top:10px;right:10px}
  .nfLayoutToggle{display:none}
}

/* ---------- Fire TV: Netflix TV billboard — focused title on top, trailer in the upper right ---------- */
html.tv-mode #hero:not(.hidden){position:fixed!important;top:0;left:0;right:0;height:56vh!important;min-height:0!important;z-index:40;background:var(--bg)}
html.tv-mode body:not(.nf-no-hero) .content{margin-top:56vh!important;padding-top:6px!important}
html.tv-mode .hero-backdrop{left:30%!important;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 32%);mask-image:linear-gradient(90deg,transparent 0%,#000 32%)}
html.tv-mode .nfHeroVideo{left:30%;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 26%);mask-image:linear-gradient(90deg,transparent 0%,#000 26%)}
html.tv-mode .hero-shade{background:linear-gradient(90deg,var(--bg) 0%,rgba(5,7,7,.88) 28%,rgba(5,7,7,0) 56%),linear-gradient(0deg,var(--bg) 0%,rgba(5,7,7,0) 24%)!important}
html.tv-mode .hero-copy{bottom:11%!important;width:42vw!important}
html.tv-mode .nfHeroLogo{max-height:13vh}
html.tv-mode .hero.nfHeroPlaying .hero-copy p{opacity:1;max-height:4.2em;margin:0 0 1.5vw!important}
html.tv-mode .hero.nfHeroPlaying .nfHeroLogo{transform:none}
html.tv-mode .nfHeroSide{bottom:11%}
html.tv-mode .card.nfCard:focus{transform:none!important;outline:none!important;box-shadow:none!important}
html.tv-mode .card.nfCard:focus .nfArt{outline:4px solid #fff;outline-offset:3px;transform:scale(1.06)}
html.tv-mode .card.nfCard.tv-preview{transform:none!important;background:none!important;box-shadow:none!important}
html.tv-mode .row:not(.grid){scroll-behavior:auto!important;scroll-snap-type:none;padding-top:10px!important;padding-bottom:16px!important}
html.tv-mode .nfDtBox{width:min(1100px,86vw)}
@media(prefers-reduced-motion:reduce){
  .nfPreview.nfShow,.nfPreview.nfOut,.nfDtBox,.nfDetails[open]{animation:none}
  .nfCard .nfArt{transition:none}
}

/* ---------- ThunderFlix futurist finish ---------- */
:root{--nf-panel:#141819;--nf-glow:rgba(121,246,255,.55);--nf-glow-soft:rgba(121,246,255,.18)}
#topbar.solid{background:rgba(7,10,11,.82)!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%);
  box-shadow:inset 0 -1px 0 rgba(121,246,255,.14)}
#topbar .navBtn{position:relative}
#topbar .navBtn.active{text-shadow:0 0 18px var(--nf-glow)}
@media(min-width:981px){
  #topbar .navBtn.active::after{content:"";position:absolute;left:15%;right:15%;bottom:-3px;height:2px;border-radius:2px;background:var(--accent);box-shadow:0 0 10px var(--nf-glow)}
}
.nfPreview,.nfDtBox{background:var(--nf-panel);border:1px solid rgba(121,246,255,.14);
  box-shadow:0 18px 50px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.03),0 0 46px rgba(121,246,255,.07)}
.nfPreview::before,.nfDtBox::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;z-index:9;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(121,246,255,.75),transparent);opacity:.75}
.nfDetails::backdrop{background:radial-gradient(ellipse at 50% 20%,rgba(10,30,34,.62),rgba(0,0,0,.84));backdrop-filter:blur(3px)}
.nfMatch{text-shadow:0 0 12px rgba(121,246,255,.45)}
.nfProgress span,.nfBar i{box-shadow:0 0 10px var(--nf-glow)}
.nfPager i.on{background:var(--accent);box-shadow:0 0 8px var(--nf-glow)}
.nfRankNum{-webkit-text-stroke-color:rgba(121,246,255,.5);filter:drop-shadow(0 0 12px rgba(121,246,255,.16))}
.nfTopBadge,.nfNewBadge{box-shadow:0 0 14px rgba(121,246,255,.35)}
.hero-kicker svg{filter:drop-shadow(0 0 8px var(--accent))}
.hero.has-logo .nfHeroLogo{animation:nfLogoIn 1.1s cubic-bezier(.2,.8,.2,1) both}
@keyframes nfLogoIn{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1}}
.nfDtClose{transition:transform .25s,box-shadow .25s}
.nfDtClose:hover{transform:rotate(90deg);box-shadow:0 0 16px var(--nf-glow-soft)}
.nfSubnav select{border-color:rgba(121,246,255,.55)}
.nfSubnav select:focus{outline:none;box-shadow:0 0 0 3px var(--nf-glow-soft)}
/* mouse: neon edge + light sweep across the boxart on hover */
.nf-input-mouse .nfCard:hover .nfArt{box-shadow:0 8px 22px rgba(0,0,0,.6),0 0 0 1px rgba(121,246,255,.38),0 0 20px rgba(121,246,255,.2)!important}
.nf-input-mouse .nfCard .nfArt::before{display:block!important;content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(220,255,255,.16) 50%,transparent 65%)!important;transform:translateX(-120%)}
.nf-input-mouse .nfCard:hover .nfArt::before{transform:translateX(120%);transition:transform .9s ease}
.nf-input-mouse .nfArrow:hover svg{filter:drop-shadow(0 0 8px var(--nf-glow))}
.nfCircle.nfWhite:hover{box-shadow:0 0 16px rgba(255,255,255,.35)}
/* remote: one unmistakable glowing focus target */
html.tv-mode .card.nfCard:focus .nfArt{outline:3px solid #e4fdff!important;outline-offset:3px;
  box-shadow:0 0 0 6px rgba(121,246,255,.22),0 0 30px var(--nf-glow),0 14px 30px rgba(0,0,0,.7)!important;animation:nfPulse 2.4s ease-in-out infinite}
@keyframes nfPulse{50%{box-shadow:0 0 0 9px rgba(121,246,255,.12),0 0 42px rgba(121,246,255,.75),0 14px 30px rgba(0,0,0,.7)}}
html.tv-mode :is(.nfCircle,.nfBtnPlay,.hero-actions .playBtn,.hero-actions .infoBtn,#topbar .navBtn,.nfEp,.nfSimMedia,.nfDtClose,.nfDtSeason,.nfLayoutToggle button):focus{
  outline:3px solid #e4fdff!important;outline-offset:3px!important;box-shadow:0 0 0 6px rgba(121,246,255,.2),0 0 26px var(--nf-glow)!important}
html.tv-mode .nfEp:focus{background:rgba(121,246,255,.08)}
@media(prefers-reduced-motion:reduce){
  html.tv-mode .card.nfCard:focus .nfArt{animation:none}
  .nf-input-mouse .nfCard:hover .nfArt::before{transition:none;transform:translateX(-120%)}
  .hero.has-logo .nfHeroLogo{animation:none}
}

/* phone top bar: brand + actions on one line, category chips below */
@media(max-width:760px){
  #topbar{gap:8px!important;padding:8px 14px!important}
  #topbar .brand-name{font-size:15px!important;letter-spacing:.06em}
  #topbar .brand-bolt{width:28px!important;height:28px!important}
  #topbar .actions{gap:6px!important}
  #topbar .tfInboxButton{font-size:12px!important;height:32px;padding:0 8px!important;border:1px solid rgba(121,246,255,.35)!important;border-radius:999px!important;background:rgba(0,0,0,.35)!important}
  #topbar .libraryBtn:not(.tfInboxButton){font-size:0!important;width:32px;padding:0!important}
  #topbar .libraryBtn:not(.tfInboxButton)::before{content:"⚙";font-size:18px}
  #topbar .profileDot img{width:30px;height:30px}
  #topbar .searchbox{padding:0 4px}
  :root{--nf-topbar:96px}
  .nfHeroSide{top:calc(var(--nf-topbar) + 10px);bottom:auto!important;right:14px}
}

/* small players: crop YouTube's own title bar / logo out of view */
.nfPvVideo .nfYT,.nfDtVideo .nfYT{--nfZoom:1.36}
.nfPvMedia::before{content:"";position:absolute;left:0;right:0;top:0;height:24%;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.55),transparent)}
.nfDtMedia::before{content:"";position:absolute;left:0;right:0;top:0;height:18%;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}

/* ---------- trailer timing / crop ---------- */
.nfPreview.nfPrep{display:block;opacity:0;pointer-events:none}
.nfHeroVideo .nfYT{--nfZoom:1.22}
html.tv-mode .nfHeroVideo .nfYT{--nfZoom:1.3}

/* ===== Profiles — futurist chooser & editor ===== */
.tfProfilesOverlay.tfpFuture{background:#02060a!important;overflow-y:auto}
.tfpBg{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.tfpAurora{position:absolute;inset:-20%;background:
  radial-gradient(40% 35% at 30% 20%,rgba(121,246,255,.22),transparent 70%),
  radial-gradient(35% 30% at 75% 30%,rgba(143,123,255,.2),transparent 70%),
  radial-gradient(45% 35% at 55% 95%,rgba(255,122,217,.12),transparent 70%);animation:tfpDrift 18s ease-in-out infinite alternate}
@keyframes tfpDrift{to{transform:translate3d(3%,-2%,0) scale(1.06)}}
.tfpGrid{position:absolute;left:-50%;right:-50%;bottom:-10%;height:55%;transform:perspective(520px) rotateX(62deg);transform-origin:50% 100%;
  background-image:linear-gradient(rgba(121,246,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(121,246,255,.16) 1px,transparent 1px);
  background-size:60px 60px;-webkit-mask-image:linear-gradient(0deg,#000 15%,transparent 85%);mask-image:linear-gradient(0deg,#000 15%,transparent 85%);
  animation:tfpGridMove 6s linear infinite}
@keyframes tfpGridMove{to{background-position:0 60px}}
.tfpGlow{position:absolute;left:50%;top:-30vh;width:120vw;height:60vh;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(121,246,255,.16),transparent)}
.tfpFuture .tfProfilesFrame{position:relative;z-index:1;width:min(1180px,100%)}
.tfpFuture .tfProfilesKicker{color:#9ff8ff!important;letter-spacing:.5em;font-size:12px;text-shadow:0 0 14px rgba(121,246,255,.6)!important}
.tfpTitle{font-size:clamp(34px,5.2vw,68px)!important;font-weight:700!important;letter-spacing:-.035em!important;margin:14px 0 8px!important;
  background:linear-gradient(92deg,#f2feff 0%,#9ff8ff 45%,#b9a6ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.tfpFuture .tfProfileHint{color:#9fb5bb!important}
.tfpFuture .tfProfileGrid{gap:clamp(18px,3vw,40px)!important;margin:44px auto 34px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:1060px}
.tfpFuture .tfProfileCard{gap:14px!important;padding:12px 6px 8px!important;border-radius:22px!important;position:relative;outline:none!important;color:#a9bcc1!important;background:none!important}
.tfpTile{position:relative;display:block;width:clamp(92px,11vw,150px);aspect-ratio:1;border-radius:24%;transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.tfpFuture .tfProfileAvatar{display:block!important;width:100%!important;height:100%!important;border-radius:24%!important;overflow:hidden;background:none!important;border:0!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 18px 40px rgba(0,0,0,.65)!important;font-size:0!important;transform:none!important}
.tfProfileAvatar svg,.tfpDotAvatar svg{width:100%;height:100%;display:block}
.tfpTile::before{content:"";position:absolute;inset:-5px;border-radius:28%;padding:2px;background:conic-gradient(from var(--tfp-a,0deg),#79f6ff,#8f7bff,#ff7ad9,#79f6ff);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:0;transition:opacity .25s}
@property --tfp-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes tfpSpin{to{--tfp-a:360deg}}
.tfProfileCard:is(:hover,:focus-visible,:focus) .tfpTile{transform:translateY(-6px) scale(1.07)}
.tfProfileCard:is(:hover,:focus-visible,:focus) .tfpTile::before{opacity:1;animation:tfpSpin 3s linear infinite}
.tfProfileCard:is(:hover,:focus-visible,:focus) .tfProfileAvatar{box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 36px rgba(121,246,255,.45),0 22px 44px rgba(0,0,0,.7)!important}
.tfpFuture .tfProfileName{font-size:clamp(14px,1.4vw,18px)!important;color:inherit}
.tfProfileCard:is(:hover,:focus-visible,:focus) .tfProfileName{color:#fff!important;text-shadow:0 0 14px rgba(121,246,255,.5)}
.tfpKidsBadge{position:absolute;top:0;left:50%;transform:translate(-50%,-30%);z-index:2;font-size:10px;font-weight:800;letter-spacing:.14em;padding:3px 9px;border-radius:999px;
  background:linear-gradient(90deg,#ffd84d,#ff7ad9);color:#1a0820;box-shadow:0 0 14px rgba(255,122,217,.5)}
.tfpPencil{position:absolute;inset:0;border-radius:24%;display:grid;place-items:center;background:rgba(2,8,12,.55);color:#fff}
.tfpPencil svg{width:34%;height:34%;filter:drop-shadow(0 0 8px rgba(121,246,255,.8))}
.tfpActions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:10px}
.tfpBtn{font:inherit;font-weight:650;font-size:15px;letter-spacing:.03em;padding:12px 26px;border-radius:999px;cursor:pointer;border:1px solid rgba(159,248,255,.45);
  background:rgba(8,24,28,.6);color:#dffcff;transition:border-color .2s,box-shadow .2s,background .2s}
.tfpBtn:is(:hover,:focus-visible,:focus){border-color:#9ff8ff;box-shadow:0 0 0 3px rgba(121,246,255,.18),0 0 24px rgba(121,246,255,.35);outline:none;color:#fff}
.tfpPrimary{background:linear-gradient(92deg,#9ff8ff,#b9a6ff);color:#04161a;border-color:transparent}
.tfpPrimary:is(:hover,:focus-visible,:focus){color:#04161a}
.tfpGhost{background:transparent;border-color:rgba(255,255,255,.22);color:#b9cdd1}
.tfpManager{display:flex;flex-direction:column;gap:12px;max-width:440px;margin:26px auto 10px}
.tfpEditorBody{display:grid;grid-template-columns:minmax(260px,340px) 1fr;gap:clamp(20px,4vw,56px);text-align:left;margin:28px 0 16px}
.tfpPreview{display:flex;flex-direction:column;gap:16px}
.tfpHolo{position:relative;width:min(220px,58vw);aspect-ratio:1;margin:6px auto 10px}
.tfpBig{border-radius:26%!important}
.tfpRing{position:absolute;inset:-12px;border-radius:30%;border:1px solid rgba(121,246,255,.5);box-shadow:0 0 30px rgba(121,246,255,.35),inset 0 0 20px rgba(121,246,255,.2);animation:tfpPulse 3s ease-in-out infinite;pointer-events:none}
@keyframes tfpPulse{50%{transform:scale(1.03);opacity:.6}}
.tfpField{display:flex;flex-direction:column;gap:6px;color:#9fb5bb;font-size:13px;letter-spacing:.05em}
.tfpFuture .tfProfileInput{width:100%!important;margin:0!important;background:rgba(10,26,30,.75)!important;border:1px solid rgba(159,248,255,.35)!important;border-radius:12px!important;box-sizing:border-box}
.tfpFuture .tfProfileInput:focus{outline:none;border-color:#9ff8ff!important;box-shadow:0 0 0 3px rgba(121,246,255,.18)}
.tfpSwitchRow{display:flex;gap:14px;align-items:center}
.tfpSwitch{flex:0 0 auto;width:58px;height:32px;border-radius:999px;border:1px solid rgba(159,248,255,.4);background:rgba(255,255,255,.08);position:relative;cursor:pointer;padding:0}
.tfpKnob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#cfe7ea;transition:left .25s,background .25s}
.tfpSwitch.on{background:linear-gradient(90deg,#ffd84d,#ff7ad9);border-color:transparent}
.tfpSwitch.on .tfpKnob{left:29px;background:#fff}
.tfpSwitch:focus{outline:none;box-shadow:0 0 0 3px rgba(121,246,255,.35)}
.tfpSwitchText{display:flex;flex-direction:column;gap:3px}
.tfpSwitchText strong{color:#fff;font-size:15px}
.tfpSwitchText small{color:#8ea6ab;font-size:12px;line-height:1.35}
.tfpTabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.tfpTab{font:inherit;font-size:14px;font-weight:650;padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:transparent;color:#b9cdd1;cursor:pointer}
.tfpTab.active{background:rgba(121,246,255,.16);border-color:#9ff8ff;color:#fff;box-shadow:0 0 18px rgba(121,246,255,.25)}
.tfpTab:focus{outline:none;box-shadow:0 0 0 3px rgba(121,246,255,.35)}
.tfpChoices{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:16px}
.tfpChoice{position:relative;padding:0;border:0;background:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;color:#9fb5bb;font:inherit;font-size:12px}
.tfpChoice svg{width:100%;height:auto;aspect-ratio:1;border-radius:22%;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 10px 24px rgba(0,0,0,.5);transition:transform .2s,box-shadow .2s}
.tfpChoice:is(:hover,:focus,:focus-visible){outline:none!important}
.tfpChoice:is(:hover,:focus,:focus-visible) svg{transform:scale(1.07);box-shadow:0 0 0 2px #9ff8ff,0 0 24px rgba(121,246,255,.45)}
.tfpChoice.selected svg{box-shadow:0 0 0 3px #fff,0 0 26px rgba(121,246,255,.6)}
.tfpChoice.selected::after{content:"✓";position:absolute;top:-6px;right:-6px;width:24px;height:24px;border-radius:50%;background:#9ff8ff;color:#04161a;font-weight:900;font-size:14px;display:grid;place-items:center;box-shadow:0 0 12px rgba(121,246,255,.7)}
#topbar .profileDot{background:none!important;border:0!important;width:auto!important;height:auto!important}
.tfpDotAvatar{display:block;width:34px;height:34px;border-radius:24%;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.15),0 0 12px rgba(121,246,255,.2)}
html.tv-mode .tfpFuture .tfProfileCard:focus,html.tv-mode .tfpFuture .tfpChoice:focus{outline:none!important;box-shadow:none!important}
@media(max-width:760px){
  .tfpFuture .tfProfileGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tfpTile{width:clamp(78px,24vw,110px)}
  .tfpEditorBody{grid-template-columns:1fr}
  .tfpChoices{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
}

/* ===== Children's profile ===== */
html.nf-kids{--accent:#ffd84d}
.nf-kids .tfInboxButton,.nf-kids #libraryBtn,.nf-kids .navBtn[data-view="concerts"]{display:none!important}
.nf-kids .hero-kicker span{background:linear-gradient(90deg,#ffd84d,#ff7ad9,#79f6ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.nf-kids .nfCard .nfArt{border-radius:14px}
.nf-kids .hero-actions .playBtn{background:linear-gradient(92deg,#fff,#ffeaa0)}

/* ===== Fire TV: compact top bar (icons + labels), never the phone layout ===== */
html.tv-mode{--nf-topbar:54px}
html.tv-mode #topbar{position:fixed!important;top:0;left:0;right:0;width:auto;height:var(--nf-topbar)!important;min-height:0;flex-direction:row;flex-wrap:nowrap!important;align-items:center;
  gap:8px!important;padding:0 2.6vw!important;background:linear-gradient(180deg,rgba(3,8,10,.95) 0%,rgba(3,8,10,.7) 60%,rgba(3,8,10,0) 100%)!important;
  backdrop-filter:none!important;box-shadow:none!important;z-index:120;transition:none}
html.tv-mode #topbar .brand{order:0;flex:0 0 auto;margin:0}
html.tv-mode #topbar .brand-name{display:none!important}
html.tv-mode #topbar .brand-bolt{width:30px!important;height:30px!important}
html.tv-mode #topbar nav{order:1;display:flex!important;flex-direction:row;align-items:center;flex:1 1 auto;gap:2px!important;overflow:visible!important;margin:0 0 0 12px;padding:0}
html.tv-mode #topbar .navBtn{display:flex!important;align-items:center;gap:6px;flex:0 0 auto;padding:6px 11px!important;border-radius:999px!important;border:0!important;
  background:transparent!important;color:#c3cfd2!important;font-size:13.5px!important;font-weight:600;white-space:nowrap;line-height:1;width:auto!important}
html.tv-mode #topbar .navBtn::after{display:none!important}
html.tv-mode #topbar .nfRailIcon{width:16px;height:16px;flex:0 0 16px}
html.tv-mode #topbar .navBtn.active{color:#fff!important;background:rgba(121,246,255,.14)!important}
html.tv-mode #topbar .navBtn.active .nfRailIcon{color:var(--accent)}
html.tv-mode #topbar .actions{order:2;display:flex!important;flex-direction:row;align-items:center;gap:6px!important;margin:0 0 0 auto!important}
html.tv-mode #topbar .tfInboxButton,html.tv-mode #topbar #libraryBtn{display:grid!important;place-items:center;width:34px!important;height:34px!important;padding:0!important;
  border-radius:50%!important;border:0!important;background:transparent!important;color:#c3cfd2!important;font-size:0!important;box-shadow:none}
html.tv-mode #topbar .tfInboxButton::before,html.tv-mode #topbar #libraryBtn::before{content:""!important;display:block;width:20px;height:20px;background:currentColor;
  -webkit-mask:var(--nf-ic) center/contain no-repeat;mask:var(--nf-ic) center/contain no-repeat}
html.tv-mode #topbar .tfInboxButton{--nf-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.4 6.6L21 11l-6.6 2.4L12 20l-2.4-6.6L3 11l6.6-2.4z' fill='black'/%3E%3C/svg%3E")}
html.tv-mode #topbar #libraryBtn{--nf-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v3H4zm0 5.5h16v3H4zM4 16h16v3H4z' fill='black'/%3E%3C/svg%3E")}
html.tv-mode #topbar .searchbox{height:34px;padding:0 7px;border-radius:999px;border:0!important;background:transparent!important;gap:6px}
html.tv-mode #topbar .searchbox .uiIcon{width:20px;height:20px}
html.tv-mode #topbar .searchbox input{display:block!important;width:0!important;opacity:0}
html.tv-mode #topbar .searchbox:focus-within{background:rgba(0,0,0,.7)!important;box-shadow:0 0 0 2px #dffcff!important}
html.tv-mode #topbar .searchbox:focus-within input{width:150px!important;opacity:1}
html.tv-mode #topbar .profileDot{display:flex!important;align-items:center;padding:2px;border-radius:10px}
html.tv-mode #topbar .tfpDotAvatar{width:30px;height:30px;flex:0 0 30px}
html.tv-mode #topbar .tfProfileCurrentName{display:none!important}
html.tv-mode #topbar :is(.navBtn,.tfInboxButton,#libraryBtn,.profileDot):focus{background:#e9fdff!important;color:#04161a!important;outline:none!important;box-shadow:0 0 18px rgba(121,246,255,.55)!important}
html.tv-mode #topbar .navBtn:focus .nfRailIcon{color:#04161a}
html.tv-mode .nfSubnav{top:var(--nf-topbar);left:0;padding-top:4px}
html.tv-mode body.nf-no-hero .content{padding-top:calc(var(--nf-topbar) + 16px)!important}
html.tv-mode body.nf-no-hero.nf-has-subnav .content{padding-top:calc(var(--nf-topbar) + 62px)!important}
html.tv-mode .hero-copy{left:3vw!important}

/* ===== "Sugestões para ti" — compact, futurist, remote-friendly ===== */
dialog.tfControl{width:min(1280px,96vw)!important;max-width:96vw!important;max-height:92vh!important;padding:0!important;border:1px solid rgba(121,246,255,.18)!important;
  border-radius:18px!important;background:linear-gradient(180deg,rgba(10,20,24,.98),rgba(5,10,12,.99))!important;color:#e9f6f7!important;
  box-shadow:0 30px 80px rgba(0,0,0,.7),0 0 60px rgba(121,246,255,.08)!important;overflow:auto!important}
dialog.tfControl::backdrop{background:radial-gradient(ellipse at 50% 0,rgba(10,40,46,.6),rgba(0,0,0,.86))}
.tfControl .tfControlHead{position:sticky;top:0;z-index:6;display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px 10px!important;
  background:rgba(8,16,19,.97)!important;border:0!important;margin:0!important}
.tfControl .tfControlHead h2{font-size:clamp(18px,1.8vw,26px)!important;margin:4px 0 0!important;
  background:linear-gradient(92deg,#f2feff,#9ff8ff 50%,#b9a6ff);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.tfControl .tfEyebrow{font-size:11px!important;letter-spacing:.35em!important}
.tfControl .tfTabs{position:sticky;top:62px;z-index:5;display:flex!important;gap:8px!important;flex-wrap:wrap;padding:6px 24px 12px!important;margin:0!important;
  background:rgba(8,16,19,.97)!important;border-bottom:1px solid rgba(121,246,255,.12)!important}
.tfControl .tfTabs button{font-size:14px!important;font-weight:650!important;padding:8px 16px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.16)!important;
  background:transparent!important;color:#b9cdd1!important;box-shadow:none!important;min-height:0!important}
.tfControl .tfTabs button.active{background:rgba(121,246,255,.16)!important;border-color:#9ff8ff!important;color:#fff!important;box-shadow:0 0 18px rgba(121,246,255,.25)!important}
.tfControl .tfContent{padding:16px 24px 24px!important}
.tfControl .tfLead{font-size:13px!important;color:#9fb5bb!important;margin:0 0 14px!important}
.tfControl .tfSuggestionGrid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(340px,1fr))!important;gap:14px!important}
.tfControl .tfSuggestion{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;padding:12px!important;margin:0!important;
  border-radius:14px!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.08)!important;min-height:0!important;height:auto!important;transition:border-color .2s,box-shadow .2s}
.tfControl .tfSuggestion:focus-within{border-color:rgba(121,246,255,.6)!important;box-shadow:0 0 26px rgba(121,246,255,.16)!important}
.tfControl .tfPoster{position:relative!important;width:92px!important;height:auto!important;aspect-ratio:2/3;border-radius:10px!important;overflow:hidden!important;background:#0b1416!important;margin:0!important;padding:0!important}
.tfControl .tfPoster img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
.tfControl .tfQuality{position:absolute!important;left:4px!important;right:4px!important;bottom:4px!important;top:auto!important;font-size:9px!important;line-height:1.3!important;padding:2px 4px!important;
  border-radius:6px!important;background:rgba(0,0,0,.72)!important;color:#dffcff!important;text-align:center;border:1px solid rgba(121,246,255,.35)!important}
.tfControl .tfSuggestionCopy{min-width:0;display:flex;flex-direction:column;gap:3px}
.tfControl .tfSuggestionCopy h3{font-size:16px!important;margin:0 0 2px!important;line-height:1.2!important;color:#fff!important}
.tfControl .tfSuggestionCopy p{font-size:12.5px!important;line-height:1.4!important;margin:1px 0!important;color:#a9bfc3!important}
.tfControl .tfSuggestionCopy small{font-size:11px!important;color:#7d9599!important}
.tfControl .tfSuggestionCopy .tfStatus{font-size:13px!important;color:#9ff8ff!important;margin-top:4px}
.tfControl .tfSuggestionCopy progress{width:100%;height:6px;accent-color:#79f6ff}
.tfControl :is(.tfPrimary,.tfSecondary){font:inherit!important;font-size:13px!important;font-weight:650!important;padding:8px 14px!important;border-radius:999px!important;margin:6px 6px 0 0!important;
  min-height:0!important;width:auto!important;cursor:pointer}
.tfControl .tfPrimary{background:linear-gradient(92deg,#9ff8ff,#b9a6ff)!important;color:#04161a!important;border:0!important}
.tfControl .tfSecondary{background:rgba(8,24,28,.6)!important;color:#dffcff!important;border:1px solid rgba(159,248,255,.4)!important}
.tfControl :is(button,select,input,a):focus{outline:2px solid #dffcff!important;outline-offset:2px!important;box-shadow:0 0 0 4px rgba(121,246,255,.22),0 0 18px rgba(121,246,255,.45)!important}
.tfControl .tfDecisionActions{display:flex!important;flex-wrap:wrap;gap:6px!important;margin-top:6px!important}
.tfControl select{background:#0c1d20!important;color:#fff!important;border:1px solid rgba(159,248,255,.35)!important;border-radius:10px!important;padding:6px 10px!important;font-size:13px!important}
.tfControl .tfManualGrid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important;gap:14px!important}
.tfControl .tfManualMovie{border-color:rgba(255,255,255,.08)!important;background:rgba(255,255,255,.035)!important}
.tfControl .tfManualMovie>img{height:150px!important}
html.tv-mode dialog.tfControl{width:100vw!important;max-width:100vw!important;height:100vh!important;max-height:100vh!important;border-radius:0!important;margin:0!important;border:0!important}
html.tv-mode .tfControl .tfSuggestionGrid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr))!important}
html.tv-mode .tfControl .tfSuggestion{grid-template-columns:78px minmax(0,1fr)!important}
html.tv-mode .tfControl .tfPoster{width:78px!important}
@media(max-width:760px){
  .tfControl .tfSuggestionGrid{grid-template-columns:1fr!important}
  .tfControl .tfTabs{top:58px;overflow-x:auto;flex-wrap:nowrap!important}
  .tfControl .tfTabs button{flex:0 0 auto}
}

/* fixed page title never lets the rows underneath show through */
body.nf-no-hero .nfSubnav,html.tv-mode .nfSubnav{background:linear-gradient(180deg,#050707 0%,#050707 84%,rgba(5,7,7,0) 100%)!important}
body.nf-no-hero .shelfHead h2{position:relative;z-index:1}

/* Suggestions: text full width, decision controls on one compact line */
.tfControl .tfSuggestionCopy{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center;gap:3px 8px!important}
.tfControl .tfSuggestionCopy > :is(h3,p,small,strong,progress,div,details){flex:0 0 100%}
.tfControl .tfSuggestionCopy > :is(button,select,label){flex:0 0 auto;margin:6px 0 0!important}
.tfControl .tfSuggestionCopy label,.tfControl .tfSelectLabel{display:inline-flex!important;align-items:center;gap:6px;font-size:13px!important;color:#cfe3e6!important;margin:6px 0 0!important}
.tfControl .tfSuggestionCopy input[type=checkbox]{width:16px;height:16px;accent-color:#79f6ff;margin:0}
.tfControl .tfSuggestionCopy select{max-width:170px;margin:6px 0 0!important}
.tfControl .tfDecisionActions{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 8px!important}
.tfControl .tfDecisionActions > *{margin:0!important}
html.tv-mode .tfControl .tfSuggestionGrid{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))!important}
.tfControl .tfSuggestionCopy small{margin-bottom:2px}
.tfControl .tfSuggestionCopy > p + small{margin-top:2px}

/* ===== Fire TV fluidity: no costly effects on the remote path ===== */
html.tv-mode .card.nfCard:focus .nfArt{animation:none!important;transform:scale(1.05);box-shadow:0 0 0 3px #e4fdff,0 0 22px rgba(121,246,255,.45)!important;outline:none!important}
html.tv-mode .nfCard .nfArt{transition:transform .12s ease-out!important}
html.tv-mode .nfCard .nfImg{transition:none!important}
html.tv-mode .shelf{content-visibility:auto;contain-intrinsic-size:auto 280px}
html.tv-mode .nfRankNum{filter:none!important}
html.tv-mode .hero-backdrop,html.tv-mode .hero.has-logo .nfHeroLogo{transition:none!important;animation:none!important}
html.tv-mode .tfpAurora,html.tv-mode .tfpGrid,html.tv-mode .tfpRing{animation:none!important}
html.tv-mode .tfProfileCard:focus .tfpTile::before{animation:none!important}
html.tv-mode .nfPager{display:none}

/* ===== Profiles fit one screen (all sizes follow the screen height) ===== */
.tfProfilesOverlay.tfpFuture:not([hidden]){overflow:hidden!important;display:flex!important;align-items:center;justify-content:center;padding:2vh 3vw!important}
.tfpFuture .tfProfilesFrame{padding:0!important;margin:0 auto!important;max-height:96vh;display:flex;flex-direction:column;align-items:center;text-align:center}
.tfpFuture .tfProfilesKicker{font-size:max(9px,1.3vh)!important;letter-spacing:.45em}
.tfpFuture .tfpTitle{font-size:clamp(20px,5.2vh,50px)!important;margin:.8vh 0 .4vh!important}
.tfpFuture .tfProfileHint{font-size:max(11px,1.8vh)!important;margin:0!important}
.tfpFuture .tfProfileGrid{margin:3.2vh auto 3vh!important;gap:2.4vh 2.6vw!important;max-width:none!important}
.tfpFuture .tfpTile{width:min(8.5vw,14vh)!important}
.tfpFuture .tfProfileCard{gap:1vh!important;padding:.9vh .4vw!important}
.tfpFuture .tfProfileName{font-size:max(11px,1.9vh)!important}
.tfpFuture .tfpKidsBadge{font-size:max(8px,1.1vh);padding:.3vh .9vh}
.tfpFuture .tfpActions{gap:1.4vh;margin-top:.5vh}
.tfpFuture .tfpBtn{font-size:max(12px,1.8vh);padding:1.1vh 2.4vh}
.tfpFuture .tfpManager{margin:2vh auto 1vh}
.tfpFuture .tfpEditorFrame{width:min(1240px,94vw);height:94vh;max-height:94vh}
.tfpEditorFrame .tfpTitle{font-size:clamp(18px,3.8vh,36px)!important}
.tfpEditorFrame .tfpEditorBody{flex:1 1 auto;min-height:0;width:100%;margin:1.6vh 0 1.2vh!important;grid-template-columns:minmax(190px,24vw) minmax(0,1fr)!important;gap:2.6vw!important;align-items:stretch}
.tfpEditorFrame .tfpPreview{gap:1.4vh!important;justify-content:center;padding:1.5vh;border-radius:18px;border:1px solid transparent;transition:border-color .25s,background .25s}
.tfpEditorFrame .tfpPreview:focus-within,.tfpEditorFrame .tfpPreview.tfpGrow{border-color:rgba(121,246,255,.25);background:rgba(8,24,28,.35)}
.tfpEditorFrame .tfpHolo{width:min(13vh,10vw)!important;margin:0 auto .6vh!important;transition:width .3s cubic-bezier(.2,.8,.2,1)}
.tfpEditorFrame .tfpPreview:focus-within .tfpHolo,.tfpEditorFrame .tfpPreview.tfpGrow .tfpHolo{width:min(26vh,17vw)!important}
.tfpEditorFrame .tfpRing{inset:-8px}
.tfpEditorFrame .tfpField{font-size:max(10px,1.5vh)}
.tfpEditorFrame .tfProfileInput{font-size:max(12px,1.8vh)!important;padding:.9vh 1.3vh!important;transition:font-size .25s,padding .25s}
.tfpEditorFrame .tfpPreview:focus-within .tfProfileInput{font-size:max(14px,2.3vh)!important;padding:1.3vh 1.7vh!important}
.tfpEditorFrame .tfpSwitch{width:46px;height:26px}
.tfpEditorFrame .tfpKnob{width:18px;height:18px}
.tfpEditorFrame .tfpSwitch.on .tfpKnob{left:24px}
.tfpEditorFrame .tfpSwitchText strong{font-size:max(12px,1.8vh)}
.tfpEditorFrame .tfpSwitchText small{display:none}
.tfpEditorFrame .tfpPreview:focus-within .tfpSwitchText small{display:block;font-size:max(10px,1.4vh)}
.tfpEditorFrame .tfpPicker{display:flex;flex-direction:column;min-height:0}
.tfpEditorFrame .tfpTabs{margin-bottom:1.2vh;flex:0 0 auto}
.tfpEditorFrame .tfpTab{font-size:max(11px,1.7vh);padding:.8vh 1.7vh}
.tfpEditorFrame .tfpChoices{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;padding:1.2vh 1vh 2vh;
  grid-template-columns:repeat(auto-fill,minmax(max(64px,10.5vh),1fr))!important;gap:1.8vh 1.4vh!important;scrollbar-width:thin;scrollbar-color:rgba(121,246,255,.4) transparent}
.tfpEditorFrame .tfpChoiceName{font-size:max(9px,1.4vh)}
.tfpEditorFrame .tfProfileNotice{min-height:0;margin:0}
@media(max-width:760px){
  .tfpFuture .tfProfileGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tfpFuture .tfpTile{width:min(22vw,13vh)!important}
  .tfpEditorFrame .tfpEditorBody{grid-template-columns:1fr!important;grid-template-rows:auto minmax(0,1fr)}
  .tfpEditorFrame .tfpHolo{width:12vh!important}
}

.tfProfilesOverlay[hidden],.tfProfilesOverlay.tfpFuture[hidden]{display:none!important}

/* ===== Cards: small "Novo" chip in the corner, never over the title/logo ===== */
.nfNewBadge{left:6px!important;top:6px!important;bottom:auto!important;transform:none!important;border-radius:4px!important;
  font-size:clamp(8px,.62vw,11px)!important;padding:.2em .55em!important;letter-spacing:.06em;text-transform:uppercase}
.nfArt:has(.nfNewBadge) .nfBoxTitle{bottom:8%!important}

/* ===== Fire TV: everything smaller at rest, larger when selected; nothing overlapped ===== */
html.tv-mode{--nf-topbar:46px;--nf-per:6}
html.tv-mode #topbar .navBtn{font-size:12px!important;padding:5px 9px!important;transition:transform .12s ease-out}
html.tv-mode #topbar .navBtn:focus{transform:scale(1.14)}
html.tv-mode #topbar .nfRailIcon{width:14px;height:14px;flex-basis:14px}
html.tv-mode #topbar .brand-bolt{width:26px!important;height:26px!important}
html.tv-mode #topbar .tfpDotAvatar{width:26px;height:26px;flex-basis:26px}
html.tv-mode #topbar .tfInboxButton,html.tv-mode #topbar #libraryBtn{width:30px!important;height:30px!important;transition:transform .12s}
html.tv-mode #topbar :is(.tfInboxButton,#libraryBtn,.profileDot):focus{transform:scale(1.15)}
html.tv-mode #topbar .searchbox{position:relative;height:30px}
html.tv-mode #topbar .searchbox input{position:absolute!important;top:calc(100% + 8px);right:0;width:0!important;padding:0!important;border:0!important;
  background:rgba(3,8,10,.97)!important;border-radius:10px;z-index:5}
html.tv-mode #topbar .searchbox:focus-within input{width:260px!important;padding:9px 12px!important;border:1px solid #9ff8ff!important;opacity:1}
html.tv-mode #hero:not(.hidden){height:52vh!important}
html.tv-mode body:not(.nf-no-hero) .content{margin-top:52vh!important}
html.tv-mode .hero-copy{top:calc(var(--nf-topbar) + 1.5vh)!important;bottom:3.5vh!important;width:40vw!important;display:flex!important;flex-direction:column;justify-content:flex-end;overflow:hidden}
html.tv-mode .hero-kicker{display:none!important}
html.tv-mode .hero-copy h1{font-size:clamp(16px,4.2vh,28px)!important;line-height:1.1!important;margin:0 0 1vh!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:0 0 auto}
html.tv-mode .nfHeroLogo{max-height:10vh!important;max-width:65%!important;margin:0 0 1vh!important;flex:0 0 auto}
html.tv-mode .hero-copy p{font-size:max(10px,2.2vh)!important;-webkit-line-clamp:2!important;max-height:2.8em!important;margin:0 0 1.4vh!important;flex:0 0 auto}
html.tv-mode .hero-actions{flex:0 0 auto;gap:1vw!important}
html.tv-mode .hero-actions .playBtn,html.tv-mode .hero-actions .infoBtn{font-size:max(10px,2.1vh)!important;padding:.7vh 1.6vh!important;transition:transform .12s ease-out}
html.tv-mode .hero-actions .playBtn:focus,html.tv-mode .hero-actions .infoBtn:focus{transform:scale(1.1)}
html.tv-mode .nfHeroSide{bottom:3.5vh!important}
html.tv-mode .nfHeroBadge{font-size:10px!important;padding:.3em 2.6vw .3em .7em!important}
html.tv-mode .shelfHead h2{font-size:max(11px,2.4vh)!important}
html.tv-mode .row:not(.grid){padding-top:14px!important;padding-bottom:18px!important}
html.tv-mode .card.nfCard:focus .nfArt{transform:scale(1.12)}
html.tv-mode .nfBoxText{font-size:max(9px,1.9vh)!important}

/* ===== Estreias (TMDB catalogue) ===== */
.tfcFilters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.tfcChip{font:inherit;font-size:13px;font-weight:650;padding:7px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:transparent;color:#b9cdd1;cursor:pointer}
.tfcChip.active{background:rgba(121,246,255,.16);border-color:#9ff8ff;color:#fff;box-shadow:0 0 16px rgba(121,246,255,.25)}
.tfcSection{margin:0 0 16px}
.tfcSection h3{font-size:15px;margin:0 0 8px;color:#e9f6f7}
.tfcRow{display:flex;gap:12px;overflow-x:auto;padding:8px 4px 12px;scrollbar-width:thin;scrollbar-color:rgba(121,246,255,.35) transparent}
.tfcCard{flex:0 0 150px;display:flex;flex-direction:column;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);overflow:hidden;transition:transform .14s,border-color .14s}
.tfcCard:focus-within{transform:scale(1.05);border-color:rgba(121,246,255,.6);box-shadow:0 0 22px rgba(121,246,255,.18)}
.tfcArt{position:relative;aspect-ratio:2/3;background:#0b1416}
.tfcArt img{width:100%;height:100%;object-fit:cover;display:block}
.tfcBadge{position:absolute;top:6px;left:6px;font-size:9px;font-weight:800;letter-spacing:.08em;padding:3px 6px;border-radius:4px;background:linear-gradient(90deg,#ffd84d,#ff9f43);color:#1a0d00}
.tfcBody{padding:8px;display:flex;flex-direction:column;gap:5px}
.tfcTitle{font-size:13px;line-height:1.2;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tfcMeta,.tfcNote{font-size:11px;color:#8fa7ab}
.tfcHave{font-size:11px;color:#9ff8ff}
.tfcActions{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.tfControl .tfcActions select{flex:1 1 100%;max-width:none!important;margin:0!important;padding:4px 6px!important;font-size:12px!important}
.tfControl .tfcBody button{margin:0!important;padding:5px 10px!important;font-size:12px!important}
html.tv-mode .tfcCard{flex-basis:132px}
/* Fire TV: compact Suggestions header, tabs on one line, smaller catalogue cards */
html.tv-mode .tfControl .tfControlHead{padding:8px 18px 4px!important}
html.tv-mode .tfControl .tfControlHead h2{font-size:15px!important}
html.tv-mode .tfControl .tfEyebrow{font-size:9px!important}
html.tv-mode .tfControl .tfControlHead .tfSecondary{font-size:12px!important;padding:5px 12px!important}
html.tv-mode .tfControl .tfTabs{top:44px!important;padding:4px 18px 8px!important;gap:5px!important;flex-wrap:nowrap!important;overflow-x:auto}
html.tv-mode .tfControl .tfTabs button{font-size:11.5px!important;padding:5px 11px!important;flex:0 0 auto;transition:transform .12s}
html.tv-mode .tfControl .tfTabs button:focus{transform:scale(1.1)}
html.tv-mode .tfControl .tfContent{padding:10px 18px 18px!important}
html.tv-mode .tfControl .tfLead{font-size:11px!important;margin-bottom:8px!important}
html.tv-mode .tfcChip{font-size:11px;padding:4px 10px}
html.tv-mode .tfcSection h3{font-size:12.5px}
html.tv-mode .tfcCard{flex-basis:108px}
html.tv-mode .tfcTitle{font-size:11px}
html.tv-mode .tfcMeta,html.tv-mode .tfcNote,html.tv-mode .tfcHave{font-size:9.5px}
html.tv-mode .tfcBadge{font-size:7.5px;padding:2px 4px}

/* ===== Fire TV search band (opens under the top bar, pushes the page down: nothing overlapped) ===== */
html.tv-mode #topbar .searchbox{position:static!important;width:30px;height:30px;justify-content:center;padding:0!important;border-radius:50%;cursor:pointer;transition:transform .12s}
html.tv-mode #topbar .searchbox input{display:none!important}
html.tv-mode #topbar .searchbox:focus{outline:none!important;background:#e9fdff!important;color:#04161a!important;box-shadow:0 0 18px rgba(121,246,255,.55)!important;transform:scale(1.15)}
html.tv-mode #topbar .searchbox:focus .uiIcon{color:#04161a}
html.tv-mode.nf-search-open{--nf-topbar:94px}
html.tv-mode.nf-search-open #topbar{align-items:flex-start!important;padding-top:8px!important;background:#03080a!important}
html.tv-mode.nf-search-open #topbar .searchbox:focus-within{background:transparent!important;box-shadow:none!important}
html.tv-mode.nf-search-open #topbar .searchbox input{display:block!important;position:absolute!important;left:2.6vw;right:2.6vw;top:48px;width:auto!important;height:36px;opacity:1!important;margin:0;
  padding:0 16px!important;font-size:14px;color:#fff;background:#0c1d20!important;border:1px solid rgba(159,248,255,.6)!important;border-radius:999px;box-sizing:border-box;z-index:2}
html.tv-mode.nf-search-open #topbar .searchbox input:focus{border-color:#e9fdff!important;box-shadow:0 0 0 3px rgba(121,246,255,.25),0 0 18px rgba(121,246,255,.35)!important;outline:none}

/* ===== Fire TV rows glide under a fixed focus ===== */
html.tv-mode .nfSlider{overflow:hidden}
html.tv-mode .row:not(.grid){overflow:visible!important;transition:transform .3s cubic-bezier(.22,.8,.24,1);will-change:transform}
html.tv-mode .card.nfCard:focus .nfArt{transform:scale(1.08)}
html.tv-mode .hero-backdrop,html.tv-mode .nfHeroVideo{-webkit-mask-image:none!important;mask-image:none!important}
html.tv-mode .hero-shade{background:linear-gradient(90deg,var(--bg) 0%,var(--bg) 30%,rgba(5,7,7,.6) 42%,rgba(5,7,7,0) 62%),linear-gradient(0deg,var(--bg) 0%,rgba(5,7,7,0) 26%)!important}

/* ===== "Opções" in the main menu (Bibliotecas, Estado da plataforma, Configuração) ===== */
#topbar #libraryBtn{display:none!important}
dialog.nfOptMenu{position:fixed;inset:calc(var(--nf-topbar) + 6px) 3vw auto auto;margin:0;padding:8px;min-width:230px;border-radius:14px;border:1px solid rgba(121,246,255,.22);
  background:rgba(8,16,19,.98);color:#e9f6f7;box-shadow:0 18px 50px rgba(0,0,0,.7),0 0 40px rgba(121,246,255,.08)}
dialog.nfOptMenu::backdrop{background:rgba(0,0,0,.4)}
.nfOptTitle{font-size:10px;letter-spacing:.32em;text-transform:uppercase;color:#9ff8ff;padding:6px 12px 8px}
.nfOptItem{display:block;width:100%;text-align:left;font:inherit;font-size:14px;font-weight:600;padding:10px 12px;border:0;border-radius:10px;background:transparent;color:#dfeaec;cursor:pointer}
.nfOptItem:is(:hover,:focus){background:rgba(121,246,255,.14);color:#fff;outline:none;box-shadow:inset 0 0 0 1px rgba(159,248,255,.55)}
html.tv-mode #topbar .tfOptionsButton{--nf-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.2' fill='none' stroke='black' stroke-width='3.6' stroke-dasharray='3.2 3.24'/%3E%3Ccircle cx='12' cy='12' r='5.6' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E");display:grid!important;place-items:center;width:30px!important;height:30px!important;padding:0!important;border-radius:50%!important;border:0!important;
  background:transparent!important;color:#c3cfd2!important;font-size:0!important;box-shadow:none;transition:transform .12s}
html.tv-mode #topbar .tfOptionsButton::before{content:""!important;display:block;width:20px;height:20px;background:currentColor;-webkit-mask:var(--nf-ic) center/contain no-repeat;mask:var(--nf-ic) center/contain no-repeat}
html.tv-mode #topbar .tfOptionsButton:focus{background:#e9fdff!important;color:#04161a!important;outline:none!important;transform:scale(1.15);box-shadow:0 0 18px rgba(121,246,255,.55)!important}
html.tv-mode .nfOptItem{font-size:13px;padding:8px 12px}

/* ===== Sugestões: tabs never clipped; catalogue cards are single focus targets ===== */
.tfControl .tfTabs{overflow:visible!important;flex-wrap:wrap!important}
html.tv-mode .tfControl .tfTabs{overflow:visible!important;flex-wrap:wrap!important;padding:8px 18px 10px!important}
.tfControl .tfTabs button[hidden]{display:none!important}
.tfcRow{scroll-behavior:smooth;padding:10px 8px 14px}
.tfcCard{cursor:pointer;outline:none}
.tfcCard:focus,.tfcCard:hover{transform:scale(1.06);border-color:rgba(159,248,255,.85);box-shadow:0 0 0 2px #e4fdff,0 0 22px rgba(121,246,255,.35)}
dialog.tfcSheet{width:min(560px,92vw);max-height:86vh;padding:0;border:1px solid rgba(121,246,255,.25);border-radius:16px;background:linear-gradient(180deg,#0b171a,#060c0e);color:#e9f6f7;
  box-shadow:0 30px 80px rgba(0,0,0,.75),0 0 50px rgba(121,246,255,.1);overflow:hidden}
dialog.tfcSheet::backdrop{background:rgba(0,0,0,.6)}
.tfcSheetBody{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:18px 18px 10px}
.tfcSheetBody img{width:110px;aspect-ratio:2/3;object-fit:cover;border-radius:10px;display:block}
.tfcSheetInfo{min-width:0}
.tfcSheetInfo h3{margin:0 0 4px;font-size:18px;line-height:1.2}
.tfcSheetInfo small{color:#8fa7ab;font-size:12px}
.tfcSheetInfo p{font-size:13px;line-height:1.45;color:#cfe0e3;margin:8px 0 0;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
.tfcSheetLabel{font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:#9ff8ff;margin:12px 0 6px}
.tfcQualities{display:flex;gap:6px;flex-wrap:wrap}
.tfcQ{font:inherit;font-size:13px;font-weight:700;padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#cfe0e3;cursor:pointer}
.tfcQ.on{background:rgba(121,246,255,.18);border-color:#9ff8ff;color:#fff}
.tfcSheetActions{display:flex;gap:8px;flex-wrap:wrap;padding:6px 18px 16px}
.tfcBtn{font:inherit;font-size:13px;font-weight:700;padding:8px 18px;border-radius:999px;cursor:pointer;border:1px solid rgba(159,248,255,.4);background:rgba(8,24,28,.6);color:#dffcff}
.tfcBtn.primary{background:linear-gradient(92deg,#9ff8ff,#b9a6ff);color:#04161a;border-color:transparent}
.tfcBtn:disabled{opacity:.55}
.tfcSheet button:focus{outline:2px solid #e4fdff;outline-offset:2px;box-shadow:0 0 0 4px rgba(121,246,255,.22),0 0 18px rgba(121,246,255,.45)}
.tfcSheetNotice{font-size:12px;color:#9ff8ff;padding:0 18px 14px;margin:0}
.tfcSheetNotice:empty{display:none}
html.tv-mode dialog.tfcSheet{width:min(500px,80vw)}
html.tv-mode .tfcSheetBody{grid-template-columns:86px minmax(0,1fr);gap:12px;padding:14px 14px 8px}
html.tv-mode .tfcSheetBody img{width:86px}
html.tv-mode .tfcSheetInfo h3{font-size:15px}
html.tv-mode .tfcSheetInfo p{font-size:11.5px;-webkit-line-clamp:4}
html.tv-mode .tfcQ,html.tv-mode .tfcBtn{font-size:11.5px;padding:5px 12px}
html.tv-mode .tfcSheetActions{padding:4px 14px 12px}

/* children's profile: no suggestions/options on any device */
html.nf-kids #topbar .tfInboxButton,html.nf-kids #topbar .tfOptionsButton{display:none!important}

/* Fire TV: wider gaps + gentler zoom (focused card never touches its neighbours), no left peek, no sort list */
html.tv-mode{--nf-gap:8px}
html.tv-mode .card.nfCard:focus .nfArt{transform:scale(1.05)}
html.tv-mode .nfSlider{clip-path:inset(-20px 0 -20px calc(var(--nf-gutter) - 8px))}
html.tv-mode #catalogFilters{display:none!important}

/* A acompanhar: active cards keep their own height; finished titles shrink into a quiet list */
.tfControl .tfSuggestionGrid{align-items:start!important}
.tfDoneHead{font-size:13px;color:#8fa7ab;margin:20px 0 8px;font-weight:650;letter-spacing:.04em}
.tfDoneGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}
.tfDone{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05);opacity:.72}
.tfDone img{width:28px;height:42px;object-fit:cover;border-radius:4px;flex:0 0 28px}
.tfDone>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.tfDone strong{font-size:12px;color:#dfeaec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tfDone small{font-size:10px;color:#9ff8ff}
html.tv-mode .tfDoneGrid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
html.tv-mode .tfDone strong{font-size:11px}
/* Fire TV: compact tracking cards; tabs spaced so the focused one never touches its neighbours */
html.tv-mode .tfControl .tfTabs{gap:10px!important}
html.tv-mode .tfControl .tfTabs button:focus{transform:scale(1.05)}
html.tv-mode .tfControl .tfSuggestion{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
html.tv-mode .tfControl .tfPoster{width:64px!important}
html.tv-mode .tfControl .tfSuggestionCopy h3{font-size:13px!important}
html.tv-mode .tfControl .tfSuggestionCopy p,html.tv-mode .tfControl .tfSuggestionCopy .tfStatus{font-size:11px!important}
html.tv-mode .tfControl .tfSuggestionCopy small{font-size:9.5px!important}
html.tv-mode .tfControl :is(.tfPrimary,.tfSecondary){font-size:11px!important;padding:5px 11px!important}

/* ===== Calm transitions everywhere ===== */
.hero-backdrop{opacity:0!important;transition:opacity .7s ease!important;will-change:opacity}
.hero .hero-backdrop.nfFront{opacity:1!important}
.hero.nfHeroPlaying .hero-backdrop.nfFront{opacity:0!important}
html.tv-mode .hero-backdrop{transition:opacity .55s ease!important}
.hero-copy.nfSwap{animation:nfCopyIn .45s cubic-bezier(.22,.8,.24,1) both}
@keyframes nfCopyIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html.tv-mode .shelf{content-visibility:visible!important;contain-intrinsic-size:none!important}
html.tv-mode .nfCard .nfImg{transition:opacity .4s ease!important}
html.tv-mode .nfCard .nfArt{transition:transform .24s cubic-bezier(.22,.8,.24,1)!important}
html.tv-mode .card.nfCard:focus .nfArt{box-shadow:0 0 0 3px #e4fdff!important}
html.tv-mode .row:not(.grid){transition:transform .4s cubic-bezier(.22,.8,.24,1)!important}
html.tv-mode #connectionPill,html.tv-mode .tfQualityAlert{display:none!important}

/* Estreias rows glide on TV (no scroll repaint) */
html.tv-mode .tfcSection{overflow:hidden}
html.tv-mode .tfcRow{overflow:visible!important;scroll-behavior:auto;transition:transform .4s cubic-bezier(.22,.8,.24,1);will-change:transform}
html.tv-mode .tfcCard{transition:transform .24s cubic-bezier(.22,.8,.24,1)}
html.tv-mode .tfcCard:focus{transform:scale(1.04);border-color:#e4fdff;box-shadow:0 0 0 2px #e4fdff!important}

/* ===== Main menu: only sections + Sugestões + Pesquisa + avatar; the rest lives in the profile menu ===== */
#topbar nav .navBtn[data-view="favorites"]{display:none!important}
html body #topbar .actions #libraryBtn,html body #topbar .actions .tfOptionsButton{display:none!important}
@media(max-width:760px){#topbar .profileDot{display:flex!important}}
.nfMenuHead{display:flex;align-items:center;gap:10px;padding:6px 10px 10px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.07)}
.nfMenuAvatar{width:34px;height:34px;flex:0 0 34px;border-radius:24%;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.15)}
.nfMenuAvatar svg{width:100%;height:100%;display:block}
.nfMenuHead strong{font-size:14px;color:#fff}
.nfProfileMenu .nfOptItem{display:flex;align-items:center;gap:12px}
.nfProfileMenu .nfOptItem svg{width:18px;height:18px;flex:0 0 18px;color:#9ff8ff}
html.tv-mode #topbar .tfInboxButton{position:relative}
html.tv-mode #topbar .tfInboxButton[data-count]:not([data-count=""])::after{content:attr(data-count);position:absolute;top:-3px;right:-3px;min-width:14px;height:14px;padding:0 3px;
  border-radius:7px;background:#ffd84d;color:#1a0d00;font-size:9px;font-weight:800;line-height:14px;text-align:center;box-sizing:border-box}

/* ===== Profile opening ===== */
.tfpOpening{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:2.6vh;animation:nfFade .35s ease}
.tfpOpenHolo{position:relative;width:min(20vh,150px);aspect-ratio:1}
.tfpOpenAvatar{position:absolute;inset:0;border-radius:24%;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.15),0 0 40px rgba(121,246,255,.35);animation:tfpOpenPulse 1.8s ease-in-out infinite}
.tfpOpenAvatar svg{width:100%;height:100%;display:block}
.tfpOpenRing{position:absolute;inset:-10px;border-radius:30%;border:2px solid transparent;border-top-color:#9ff8ff;border-right-color:rgba(185,166,255,.75);animation:tfpOpenSpin 1.1s linear infinite}
@keyframes tfpOpenSpin{to{transform:rotate(360deg)}}
@keyframes tfpOpenPulse{50%{transform:scale(1.035)}}
.tfpOpenText{margin:0;color:#bfe9ee;font-size:max(12px,2vh);letter-spacing:.06em}
.tfProfilesOverlay.tfpLeaving{opacity:0;transition:opacity .45s ease}

/* ===== Top 10: numerals sit beside the poster, never under it ===== */
.nfRankNum{left:0!important;bottom:-.08em!important;letter-spacing:-.04em!important;font-size:calc((100vw - 2 * var(--nf-gutter)) / var(--nf-per) * .64)!important}
.nfRankNum.nfRank10{letter-spacing:-.08em!important;font-size:calc((100vw - 2 * var(--nf-gutter)) / var(--nf-per) * .36)!important}

.tfpOpenRing{border-radius:50%!important;inset:-18px!important;border-width:2px!important}

/* ===== Sugestões: destaque do ThunderFlix (pílula com etiqueta, contador sempre dentro) ===== */
html body #topbar #tfSugBtn.tfSugPill{position:relative;isolation:isolate;display:inline-flex!important;align-items:center;gap:7px;flex:0 0 auto;
  width:auto!important;height:34px!important;padding:0 14px 0 10px!important;margin:0!important;border-radius:999px!important;border:1px solid transparent!important;
  background:linear-gradient(100deg,#08262d 0%,#0e1a30 55%,#1a1334 100%) padding-box,linear-gradient(100deg,#79f6ff 0%,#b9a6ff 30%,#ffd84d 50%,#b9a6ff 70%,#79f6ff 100%) border-box!important;
  background-size:100% 100%,200% 100%!important;background-repeat:no-repeat,repeat-x!important;animation:tfSugFlow 10s linear infinite;
  color:#eafcff!important;font-size:13px!important;font-weight:700!important;letter-spacing:.02em;line-height:1!important;white-space:nowrap;text-transform:none;
  box-shadow:0 0 14px rgba(121,246,255,.22)!important;overflow:visible!important;cursor:pointer;transform-origin:center;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease!important}
html body #topbar #tfSugBtn.tfSugPill::before,html body #topbar #tfSugBtn.tfSugPill::after{content:none!important;display:none!important}
#tfSugBtn .tfSugGlow{position:absolute;inset:-4px;border-radius:inherit;z-index:-1;pointer-events:none;opacity:.5;
  box-shadow:0 0 14px rgba(121,246,255,.5),0 0 26px rgba(185,166,255,.3);animation:tfSugBreath 5s ease-in-out infinite}
#tfSugBtn .tfSugIcon{width:17px;height:17px;flex:0 0 17px;overflow:visible;filter:drop-shadow(0 0 3px rgba(121,246,255,.8))}
#tfSugBtn .tfSugStar{fill:#9ff8ff}
#tfSugBtn .tfSugSpark{fill:#ffd84d;transform-box:fill-box;transform-origin:center;animation:tfSugTwinkle 3.6s ease-in-out infinite}
#tfSugBtn .tfSugLabel{background:linear-gradient(90deg,#eafcff 0%,#eafcff 42%,#fff3b8 50%,#eafcff 58%,#eafcff 100%);background-size:260% 100%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:tfSugShine 8s ease-in-out infinite}
#tfSugBtn .tfSugCount{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;box-sizing:border-box;border-radius:10px;
  background:#ffd84d;color:#1a0d00;-webkit-text-fill-color:#1a0d00;font-size:11px;font-weight:800;line-height:1;box-shadow:0 0 10px rgba(255,216,77,.55)}
#tfSugBtn .tfSugCount[hidden]{display:none!important}
#tfSugBtn .tfSugCount.tfPop{animation:tfSugPop .7s cubic-bezier(.2,1.5,.4,1)}
@keyframes tfSugFlow{to{background-position:0 0,200% 0}}
@keyframes tfSugBreath{50%{opacity:1}}
@keyframes tfSugTwinkle{0%,70%,100%{opacity:.35;transform:scale(.7)}80%{opacity:1;transform:scale(1.15)}}
@keyframes tfSugShine{0%,55%{background-position:100% 0}100%{background-position:0 0}}
@keyframes tfSugPop{0%{transform:scale(.3)}60%{transform:scale(1.18)}100%{transform:scale(1)}}
.nf-input-mouse #topbar #tfSugBtn.tfSugPill:hover,html body #topbar #tfSugBtn.tfSugPill:focus-visible{transform:scale(1.06);outline:none!important;
  box-shadow:0 0 22px rgba(121,246,255,.45),0 0 40px rgba(185,166,255,.25)!important}
html body #topbar #tfSugBtn.tfSugPill:hover .tfSugGlow,html body #topbar #tfSugBtn.tfSugPill:focus .tfSugGlow{opacity:1}
/* Fire TV: etiqueta visível, cresce quando selecionada, nada cortado */
html.tv-mode body #topbar #tfSugBtn.tfSugPill{height:28px!important;padding:0 11px 0 8px!important;gap:6px;font-size:12px!important;transition:transform .14s ease-out!important}
html.tv-mode body #topbar #tfSugBtn.tfSugPill .tfSugIcon{width:15px;height:15px;flex-basis:15px}
html.tv-mode body #topbar #tfSugBtn.tfSugPill .tfSugCount{min-width:17px;height:17px;font-size:10px}
html.tv-mode body #topbar #tfSugBtn.tfSugPill:focus{transform:scale(1.1);outline:none!important;color:#04161a!important;
  background:linear-gradient(#e9fdff,#e9fdff) padding-box,linear-gradient(100deg,#79f6ff 0%,#b9a6ff 30%,#ffd84d 50%,#b9a6ff 70%,#79f6ff 100%) border-box!important;
  background-size:100% 100%,200% 100%!important;box-shadow:0 0 0 1px rgba(255,255,255,.9),0 0 20px rgba(121,246,255,.65)!important}
html.tv-mode body #topbar #tfSugBtn.tfSugPill:focus .tfSugLabel{background:none;-webkit-text-fill-color:#04161a;animation:none}
html.tv-mode body #topbar #tfSugBtn.tfSugPill:focus .tfSugStar{fill:#0b7f8c}
html.tv-mode body #topbar #tfSugBtn.tfSugPill:focus .tfSugIcon{filter:none}
/* telemóvel */
@media(max-width:760px){
  html body #topbar #tfSugBtn.tfSugPill{height:32px!important;padding:0 10px 0 8px!important;gap:5px;font-size:12px!important}
  html body #topbar #tfSugBtn.tfSugPill .tfSugIcon{width:15px;height:15px;flex-basis:15px}
}
@media(max-width:430px){html body #topbar .brand-name{font-size:13.5px!important;letter-spacing:.035em!important}}
@media(max-width:389px){html body #topbar #tfSugBtn.tfSugPill .tfSugLabel{display:none}html body #topbar #tfSugBtn.tfSugPill{padding:0 9px 0 8px!important}}
html.nf-kids body #topbar #tfSugBtn.tfSugPill,html body.nf-kids #topbar #tfSugBtn.tfSugPill{display:none!important}
@media(prefers-reduced-motion:reduce){#tfSugBtn,#tfSugBtn *{animation:none!important}}

/* Fire TV: zona segura do ecrã (overscan da TV) — nada encostado ao topo */
html.tv-mode{--nf-topbar:56px}
html.tv-mode.nf-search-open{--nf-topbar:104px}
html.tv-mode.nf-search-open #topbar{padding-top:14px!important}
html.tv-mode.nf-search-open #topbar .searchbox input{top:58px!important}
/* ===== Logótipo novo (reator ThunderFlix) ===== */
.tfEmblem{display:block;object-fit:contain;filter:none;color:transparent}
html body #topbar .brand-bolt{object-fit:contain;filter:drop-shadow(0 0 6px rgba(121,246,255,.45))!important}
.identV7-mark{position:relative;aspect-ratio:1/1;height:auto!important}
.identV7-emblem{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 22px rgba(121,246,255,.5))}
.identV7.run .identV7-emblem{animation:tfEmblemIn 1.2s cubic-bezier(.2,.8,.2,1) .15s both}
@keyframes tfEmblemIn{0%{opacity:0;transform:scale(.6) rotate(-30deg);filter:brightness(2.4) drop-shadow(0 0 40px rgba(121,246,255,.9))}55%{opacity:1}100%{opacity:1;transform:none;filter:brightness(1) drop-shadow(0 0 22px rgba(121,246,255,.5))}}
.hero-kicker .tfEmblem{width:22px;height:22px;flex:0 0 22px}
.emptyBolt.tfEmblem{width:88px;height:88px;margin:0 auto 8px}
.modalBrand .tfEmblem{width:44px;height:44px}
.fallbackBolt.tfEmblem{width:104px;height:104px}
.posterFallback .tfEmblem{width:30%;height:auto;aspect-ratio:1/1;opacity:.85}
html.tv-mode #topbar .brand-bolt{width:30px!important;height:30px!important}
.tfProfilesKicker{display:flex;align-items:center;justify-content:center;gap:.6em}
.tfProfilesKicker::before{content:"";width:2.2em;height:2.2em;flex:0 0 2.2em;background:url("/brand/thunderflix-emblem-128.webp?v=20261017-netflix-nav-13") center/contain no-repeat;filter:drop-shadow(0 0 8px rgba(121,246,255,.5))}
@media(prefers-reduced-motion:reduce){.identV7-emblem{animation:none!important}}
/* título THUNDERFLIX na letra do logótipo (Michroma, SIL OFL) */
@font-face{font-family:"Michroma";src:url("/fonts/Michroma-Regular.ttf?v=20261017-netflix-nav-13") format("truetype");font-display:swap}
html body #topbar .brand-name,.identV7-word,.tfProfilesKicker{font-family:"Michroma",system-ui,sans-serif!important;font-weight:400!important;letter-spacing:.03em!important}
html body #topbar .brand-name b,.identV7-word b{font-weight:400!important;color:inherit!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html body #topbar .brand-name{font-size:15px!important;color:#eef6fb!important;text-shadow:0 0 12px rgba(160,215,255,.25)}
@media(max-width:760px){html body #topbar .brand-name{font-size:12.5px!important}}
@media(max-width:430px){html body #topbar .brand-name{font-size:11.3px!important;letter-spacing:.02em!important}}
/* telemóveis estreitos: só o símbolo (como a Netflix) e as Sugestões mantêm a etiqueta */
@media(max-width:400px){html body #topbar .brand-name{display:none!important}html body #topbar .brand-bolt{width:32px!important;height:32px!important}
  html body #topbar #tfSugBtn.tfSugPill .tfSugLabel{display:inline!important}html body #topbar #tfSugBtn.tfSugPill{padding:0 10px 0 8px!important}}

/* "Do início" — restart the title from the beginning (shown only when there is a resume point) */
.nfBtnRestart{display:inline-flex;align-items:center;gap:.45em;border:0;border-radius:4px;padding:.62em 1.05em;
  background:rgba(109,109,110,.7);color:#fff;font:inherit;font-weight:700;font-size:clamp(13px,1.1vw,17px);cursor:pointer;white-space:nowrap;flex:0 0 auto;align-self:stretch}
.nfBtnRestart:hover{background:rgba(109,109,110,.45)}
.nfBtnRestart .nfI svg{width:1.25em;height:1.25em;display:block}
.nfBtnRestart.hidden{display:none}
html.tv-mode .nfBtnRestart:focus{outline:3px solid #fff;outline-offset:3px;background:#fff;color:#000}
@media (max-width:520px){.nfDtBtns{flex-wrap:wrap;row-gap:.5em}.nfBtnRestart{padding:.62em .85em}}
/* Fire TV: the "Para ti" panel never scrolls sideways (rows glide inside their own section) */
html.tv-mode dialog.tfControl,html.tv-mode .tfControl .tfContent{overflow-x:hidden!important}
html.tv-mode .tfcSection{padding-left:6px;margin-left:-6px}
/* Fire TV: solid sticky header/tabs so nothing shows through behind them */
html.tv-mode .tfControl .tfControlHead,html.tv-mode .tfControl .tfTabs{background:#081114!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* "Fora de casa" (away-from-home copy) */
.nfBtnAway[data-state="ready"]{background:rgba(46,170,120,.38);cursor:default}
.nfBtnAway[data-state="working"],.nfBtnAway[data-state="queued"]{background:rgba(121,246,255,.18);cursor:default}

/* ===== Sugestões compactas (2026-10-25): tudo num ecrã, nada cortado, uma só barra de progresso ===== */
.tfControl .tfTrackList{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:8px}
.tfControl .tfTrack{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.tfControl .tfTrack:focus-within{border-color:rgba(121,246,255,.6);box-shadow:0 0 18px rgba(121,246,255,.14)}
.tfControl .tfTrackArt{width:42px;aspect-ratio:2/3;border-radius:6px;overflow:hidden;background:#0b1416}
.tfControl .tfTrackArt img{width:100%;height:100%;object-fit:cover;display:block}
.tfControl .tfTrackBody{min-width:0;display:flex;flex-direction:column;gap:4px}
.tfControl .tfTrackHead{display:flex;align-items:center;gap:6px;min-width:0}
.tfControl .tfTrackTitle{font-size:14px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tfControl .tfTrackQ{flex:0 0 auto;font-size:10px;font-weight:800;line-height:1.5;padding:0 6px;border-radius:5px;border:1px solid rgba(159,248,255,.45);color:#9ff8ff}
.tfControl .tfTrackLine{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;color:#a9bfc3;min-width:0}
.tfControl .tfTrackState{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tfControl .tfTrackPct{flex:0 0 auto;color:#dffcff;font-weight:700;font-variant-numeric:tabular-nums}
.tfControl .tfTrackBar{height:5px;border-radius:5px;background:rgba(255,255,255,.1);overflow:hidden}
.tfControl .tfTrackBar i{display:block;height:100%;min-width:3px;border-radius:5px;background:linear-gradient(90deg,#79f6ff,#b9a6ff)}
.tfControl .tfTrackBar.idle i{min-width:0}
.tfControl .tfTrackActs{display:flex;gap:6px;align-items:center}
.tfControl .tfTrackActs :is(.tfPrimary,.tfSecondary){margin:0!important;padding:5px 11px!important;font-size:12px!important;white-space:nowrap}
@media (max-width:650px){
  .tfControl .tfTrackList{grid-template-columns:1fr}
  .tfControl .tfTrack{grid-template-columns:38px minmax(0,1fr)}
  .tfControl .tfTrackArt{width:38px;grid-row:span 2}
  .tfControl .tfTrackActs{grid-column:2}
}
html.tv-mode .tfControl .tfContent{padding:6px 18px 10px!important}
html.tv-mode .tfControl .tfLead,html.tv-mode .tfControl .tfPending{display:none!important}
html.tv-mode .tfControl .tfTrackList{grid-template-columns:1fr 1fr;gap:6px}
html.tv-mode .tfControl .tfTrack{grid-template-columns:30px minmax(0,1fr) auto;gap:8px;padding:5px 8px;border-radius:9px}
html.tv-mode .tfControl .tfTrackArt{width:30px;border-radius:4px}
html.tv-mode .tfControl .tfTrackBody{gap:3px}
html.tv-mode .tfControl .tfTrackTitle{font-size:11.5px}
html.tv-mode .tfControl .tfTrackQ{font-size:8px;padding:0 4px}
html.tv-mode .tfControl .tfTrackLine{font-size:9.5px}
html.tv-mode .tfControl .tfTrackBar{height:3px}
html.tv-mode .tfControl .tfTrackActs{gap:4px}
html.tv-mode .tfControl .tfTrackActs :is(.tfPrimary,.tfSecondary){padding:3px 9px!important;font-size:9.5px!important}
html.tv-mode .tfControl .tfDoneHead{margin:8px 0 4px;font-size:10px}
html.tv-mode .tfControl .tfDoneGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
html.tv-mode .tfControl .tfDone{padding:3px 6px;gap:6px}
html.tv-mode .tfControl .tfDone img{width:18px;height:27px;flex-basis:18px}
html.tv-mode .tfControl .tfDone strong{font-size:9.5px}
html.tv-mode .tfControl .tfDone small{font-size:8px}
/* Estreias na TV: filtros fixos por baixo dos separadores, duas filas de cartões inteiros por ecrã */
html.tv-mode .tfControl .tfcFilters{position:sticky;top:var(--tfcChipsTop,70px);z-index:4;flex-wrap:nowrap;gap:5px;margin:0!important;padding:3px 0 5px;background:#071215}
html.tv-mode .tfControl .tfcChip{font-size:10px;padding:3px 9px;flex:0 0 auto}
html.tv-mode .tfControl .tfcSections{overflow:hidden;overflow:clip}
html.tv-mode .tfControl .tfcSection{height:var(--tfcSecH,215px);box-sizing:border-box;margin:0!important;padding:0!important;overflow:hidden;overflow:clip}
html.tv-mode .tfControl .tfcSection h3{height:17px;line-height:17px;margin:0 0 0 6px!important;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.tv-mode .tfControl .tfcRow{gap:8px;padding:6px 6px 7px!important}
html.tv-mode .tfControl .tfcCard{position:relative;flex:0 0 var(--tfcW,100px)!important;width:var(--tfcW,100px);border-radius:9px}
html.tv-mode .tfControl .tfcArt{aspect-ratio:auto;height:var(--tfcPH,150px)}
html.tv-mode .tfControl .tfcBody{height:30px;box-sizing:border-box;padding:4px 6px;gap:1px;overflow:hidden}
html.tv-mode .tfControl .tfcTitle{font-size:10.5px;-webkit-line-clamp:1;white-space:nowrap;text-overflow:ellipsis;display:block}
html.tv-mode .tfControl .tfcMeta{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.tv-mode .tfControl .tfcHave{position:absolute;top:5px;right:5px;max-width:calc(100% - 10px);font-size:7.5px;font-weight:800;padding:1px 5px;border-radius:4px;background:rgba(4,22,26,.85);border:1px solid rgba(159,248,255,.5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.tv-mode .tfControl .tfcBig .tfcHave{top:22px}
html.tv-mode .tfControl .tfcCard:focus{transform:scale(1.035)}
/* the content box must not be a scroll box on the TV, or the sticky filters stick in the wrong place */
html.tv-mode .tfControl .tfContent{overflow-x:clip!important;overflow-y:visible!important}
html.tv-mode .tfControl .tfTrack{grid-template-columns:24px minmax(0,1fr) auto;padding:4px 8px;gap:8px}
html.tv-mode .tfControl .tfTrackArt{width:24px;border-radius:3px}
html.tv-mode .tfControl .tfTrackList{gap:5px}
html.tv-mode .tfControl .tfDoneGrid{grid-template-columns:repeat(5,minmax(0,1fr))}
html.tv-mode .tfControl .tfDone{padding:2px 5px}
html.tv-mode .tfControl .tfDone img{width:14px;height:21px;flex-basis:14px}
html.tv-mode .tfControl .tfDone>div{flex-direction:row;align-items:baseline;gap:4px}
html.tv-mode .tfControl .tfDone small{display:none}
html.tv-mode .tfControl .tfControlHead,html.tv-mode .tfControl .tfTabs,html.tv-mode .tfControl .tfcFilters{background:#081013!important}
