/* =========================================================
   AnimeFlixBR · visual próprio (carregado depois do main.css)
   Menu no topo, destaque grande, vermelho-carmim, Sora + Plus Jakarta Sans
   ========================================================= */
:root {
	--bg: #0c0e12; --s1: #14171d; --s2: #1b1f27; --s3: #252a34;
	--line: rgba(255,255,255,.075); --line2: rgba(255,255,255,.14);
	--tx: #f3f4f6; --tx2: #c7cbd3; --mut: #8a909c; --mut2: #646a76;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fxh: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
	--rail: 0px; --top: 72px; --r: 14px;
	--gold: #f5c451; --green: #4ade80;
}
body.fx { font: 400 15px/1.55 var(--font); padding-top: var(--top); }
body.fx.fx-hashero { padding-top: 0; }
body.fx:has(.fx-hero), body.fx:has(.fx-show) { padding-top: 0; }
.fx h1, .fx h2, .fx h3 { font-family: var(--fxh); letter-spacing: -.02em; }
.fx-wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.ag-wrap { max-width: 1360px; padding-left: 32px; padding-right: 32px; }
.ag-page { margin-left: 0; }

/* ---------- imagem com reserva ---------- */
.fx-img { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h, 350) 40% 22%), hsl(calc(var(--h, 350) + 40) 35% 11%)); }
.fx-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- botões ---------- */
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 11px; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: transform .12s, background .15s, color .15s; }
.fx-btn:active { transform: scale(.98); }
.fx-btn .ag-ico { width: 18px; height: 18px; }
.fx-btn--ac { background: var(--ac); color: var(--ac-ink); }
.fx-btn--ac:hover { filter: brightness(1.08); }
.fx-btn--glass { background: rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.fx-btn--glass:hover { background: rgba(255,255,255,.17); }
.fx-btn--glass.is-on { color: var(--ac2); }
.fx-btn--lg { height: 52px; padding: 0 24px; border-radius: 13px; font-size: 15px; }
.fx-btn--sm { height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }
.fx-btn--sq { width: 52px; padding: 0; }
.fx-linkbtn { color: #fff; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.fx-pill { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 13px; background: rgba(var(--ac-rgb), .16); color: var(--ac2); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.fx-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 0 4px rgba(var(--ac-rgb), .25); }
.fx-pill--soft { background: rgba(255,255,255,.1); color: var(--tx2); }
.fx-empty { color: var(--mut); }
.fx-flag { display: inline-flex; height: 18px; padding: 0 6px; align-items: center; border-radius: 5px; background: var(--s3); color: var(--tx2); font: 700 10.5px var(--font); font-style: normal; vertical-align: middle; }

/* ---------- topo ---------- */
.fx-top { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--top); transition: background .25s, box-shadow .25s; background: linear-gradient(180deg, rgba(12,14,18,.9), rgba(12,14,18,0)); }
.fx-top.is-solid, body:not(.fx-hashero) .fx-top { background: rgba(12,14,18,.93); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.fx-top__in { height: 100%; display: flex; align-items: center; gap: 30px; }
.fx-top__menu { display: none; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--tx2); }
.fx-logo { display: inline-flex; align-items: center; gap: 1px; font: 800 23px/1 var(--fxh); letter-spacing: -.045em; color: #fff; white-space: nowrap; }
.fx-logo i { font-style: normal; color: var(--ac); }
.fx-logo b { margin-left: 6px; padding: 3px 6px; border-radius: 5px; background: var(--ac); color: var(--ac-ink); font-size: 10.5px; letter-spacing: .04em; transform: translateY(-6px); }
.ag-logo--img img { height: 36px; }
.fx-nav { display: flex; gap: 24px; font-weight: 600; font-size: 14.5px; color: var(--tx2); }
.fx-nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.fx-nav a:hover, .fx-nav a.is-on { color: #fff; }
.fx-nav a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: var(--ac); }
.fx-nav .ag-count { position: static; margin-left: 5px; vertical-align: 2px; }
.fx-top__r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fx-search { display: flex; align-items: center; gap: 10px; width: 260px; height: 42px; padding: 0 14px; border-radius: 21px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); color: var(--mut); font-size: 14px; }
.fx-search:hover { border-color: rgba(255,255,255,.18); color: var(--tx2); }
.fx-search .ag-ico { width: 17px; height: 17px; }
.fx-search kbd { margin-left: auto; padding: 1px 7px; border-radius: 5px; border: 1px solid rgba(255,255,255,.16); font: 600 11px var(--font); }
.fx-top .ag-user { margin-left: 0; }
.fx-top .ag-btn--ghost { color: var(--tx2); }

/* ---------- seções ---------- */
.fx-sec { margin: 0 0 56px; }
.fx-sec__h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.fx-sec__h h2 { font: 700 22px/1.2 var(--fxh); }
.fx-sec__h small { display: block; margin-top: 3px; color: var(--mut); font-size: 13.5px; font-weight: 500; }
.fx-sec__h > div:first-child { min-width: 0; }
.fx-more { display: inline-flex; align-items: center; gap: 3px; flex: none; color: var(--tx2); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.fx-more:hover { color: #fff; }
.fx-more .ag-ico { width: 16px; height: 16px; }
.fx-more--block { margin-top: 14px; }
.fx-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fx-chips button { height: 34px; padding: 0 14px; border-radius: 17px; background: var(--s1); border: 1px solid var(--line); color: var(--tx2); font-size: 13px; font-weight: 700; }
.fx-chips button.is-on { background: #fff; color: #0c0e12; border-color: #fff; }
.fx-home { position: relative; z-index: 3; margin-top: -30px; }
.fx-hero-space { height: 40px; }

/* trilho com rolagem + setas */
.fx-rowwrap { position: relative; }
.fx-track { display: grid; grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; scroll-behavior: smooth; }
.fx-track::-webkit-scrollbar { display: none; }
.fx-track > * { scroll-snap-align: start; }
.fx-arrow { position: absolute; top: 34%; z-index: 4; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(12,14,18,.88); border: 1px solid var(--line2); color: #fff; opacity: 0; transition: opacity .2s; }
.fx-arrow--l { left: -18px; } .fx-arrow--r { right: -18px; }
.fx-rowwrap:hover .fx-arrow { opacity: 1; }
.fx-arrow[disabled] { opacity: 0 !important; pointer-events: none; }

/* ---------- destaque (home) ---------- */
.fx-hero { position: relative; height: min(86vh, 760px); min-height: 600px; overflow: hidden; }
.fx-hero__bg, .fx-hero__slide { position: absolute; inset: 0; }
.fx-hero__slide { opacity: 0; transition: opacity .7s; }
.fx-hero__slide.is-on { opacity: 1; }
.fx-hero__slide .fx-img { position: absolute; inset: 0; }
.fx-hero__slide img { transform: scale(1.03); }
.fx-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg) 0%, rgba(12,14,18,.9) 28%, rgba(12,14,18,.35) 62%, rgba(12,14,18,.1) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(12,14,18,0) 40%); }
.fx-hero__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 78px; }
.fx-hero__in[hidden] { display: none; }
.fx-hero__kick { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--tx2); }
.fx-hero__t { max-width: 720px; font: 800 clamp(38px, 5vw, 66px)/1.02 var(--fxh); letter-spacing: -.035em; text-wrap: balance; }
.fx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; color: var(--tx2); font-size: 14px; font-weight: 600; }
.fx-meta > span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: var(--mut); vertical-align: middle; }
.fx-star { color: var(--gold); }
.fx-age { display: inline-block; padding: 0 6px; border: 1px solid #5a606c; border-radius: 4px; font-size: 12px; }
.fx-hero__syn { max-width: 560px; margin: 16px 0 0; color: var(--tx2); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-hero__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fx-hero__pick { position: absolute; right: max(32px, calc((100vw - 1360px) / 2 + 32px)); bottom: 78px; z-index: 3; display: flex; gap: 10px; }
.fx-hero__pick button { position: relative; width: 84px; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; outline: 2px solid transparent; outline-offset: 3px; opacity: .55; transition: opacity .2s, outline-color .2s, transform .2s; }
.fx-hero__pick button:hover { opacity: .9; }
.fx-hero__pick button.is-on { opacity: 1; outline-color: var(--ac); transform: translateY(-6px); }
.fx-hero__pick .fx-img { position: absolute; inset: 0; }
.fx-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.fx-hero__pick button.is-on .fx-hero__bar i { display: block; height: 100%; background: var(--ac); animation: fx-fill 7s linear forwards; }
@keyframes fx-fill { from { width: 0; } to { width: 100%; } }

/* ---------- episódio (horizontal) ---------- */
.fx-ep { position: relative; display: block; width: 300px; }
.fx-ep .fx-img { aspect-ratio: 16/9; border-radius: 12px; }
.fx-ep.is-fallback .fx-img img { filter: blur(2px) brightness(.5); transform: scale(1.1); }
.fx-ep__n { position: absolute; left: 10px; top: 10px; z-index: 2; height: 24px; padding: 0 9px; display: flex; align-items: center; border-radius: 7px; background: rgba(12,14,18,.82); backdrop-filter: blur(4px); font: 800 11.5px var(--fxh); color: #fff; }
.fx-ep__new { position: absolute; right: 10px; top: 10px; z-index: 2; height: 22px; padding: 0 8px; display: flex; align-items: center; border-radius: 6px; background: var(--ac); color: var(--ac-ink); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.fx-ep__dur { position: absolute; right: 8px; bottom: 8px; z-index: 2; height: 22px; padding: 0 7px; display: flex; align-items: center; border-radius: 6px; background: rgba(12,14,18,.82); font-size: 11.5px; font-weight: 700; color: #fff; }
.fx-ep__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(12,14,18,.35); opacity: 0; transition: opacity .2s; }
.fx-ep__play > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0c0e12; }
.fx-ep__play .ag-ico { width: 20px; height: 20px; margin-left: 2px; }
.fx-ep:hover .fx-ep__play, .fx-epc:hover .fx-ep__play { opacity: 1; }
.fx-ep__seen { position: absolute; left: 10px; bottom: 10px; z-index: 3; height: 22px; padding: 0 8px; display: none; align-items: center; gap: 4px; border-radius: 6px; background: #fff; color: #0c0e12; font-size: 11px; font-weight: 800; }
.fx-ep__seen .ag-ico { width: 12px; height: 12px; }
.is-seen .fx-ep__seen { display: flex; }
.is-seen .fx-img img { filter: brightness(.55); }
.fx-ep > strong { display: block; margin-top: 11px; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-ep > em { display: block; font-style: normal; color: var(--mut); font-size: 13px; }
.fx-ep[hidden] { display: none; }

/* continuar assistindo (montado pelo main.js) */
.fx-track .ag-cw { width: 300px; padding: 10px; border-radius: 14px; }
.fx-track .ag-cw img { width: 54px; height: 80px; border-radius: 8px; }
.ag-cw em { color: var(--ac2); }

/* ---------- capa (vertical) ---------- */
.fx-cv { position: relative; width: 178px; }
.fx-cv > a { display: block; }
.fx-cv .fx-img { aspect-ratio: 2/3; border-radius: 12px; }
.fx-cv .fx-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.fx-cv .fx-img img { transition: transform .35s; }
.fx-cv:hover .fx-img img { transform: scale(1.05); }
.fx-cv strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 10px; font-weight: 700; font-size: 14px; line-height: 1.3; }
.fx-cv em { display: block; margin-top: 2px; font-style: normal; color: var(--mut); font-size: 12.5px; }
.fx-cv__tag { position: absolute; left: 8px; bottom: 8px; z-index: 2; height: 22px; padding: 0 8px; display: flex; align-items: center; border-radius: 6px; background: rgba(12,14,18,.85); font-size: 11.5px; font-weight: 700; color: #fff; }
.fx-cv__tag.is-red { background: var(--ac); color: var(--ac-ink); }
.fx-cv__score { position: absolute; right: 8px; bottom: 8px; z-index: 2; height: 22px; padding: 0 7px; display: flex; align-items: center; border-radius: 6px; background: rgba(12,14,18,.85); font-size: 11.5px; font-weight: 800; color: var(--gold); }
.fx-cv .ag-cover__acts { top: 8px; right: 8px; }

/* ---------- top 10 ---------- */
.fx-top10 { gap: 4px; }
.fx-t10 { display: flex; align-items: flex-end; width: 256px; }
.fx-t10 b { flex: none; width: 98px; margin-right: -22px; font: 800 150px/.78 var(--fxh); letter-spacing: -.08em; color: var(--bg); -webkit-text-stroke: 2px #4a5160; text-align: right; position: relative; z-index: 0; }
.fx-t10:first-child b { -webkit-text-stroke-color: var(--ac); }
.fx-t10 .fx-img { position: relative; z-index: 1; width: 150px; aspect-ratio: 2/3; border-radius: 12px; box-shadow: -10px 0 24px rgba(0,0,0,.6); }
.fx-t10:hover .fx-img { outline: 2px solid var(--ac); outline-offset: 2px; }

/* ---------- lançamentos da temporada ---------- */
.fx-season { display: grid; grid-template-columns: 1.25fr 2fr; gap: 20px; }
.fx-season.is-solo { grid-template-columns: 1fr; }
.fx-feat { position: relative; min-height: 440px; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; }
.fx-feat > .fx-img { position: absolute; inset: 0; }
.fx-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,14,18,.96) 12%, rgba(12,14,18,0) 65%); }
.fx-feat__in { position: relative; z-index: 2; display: grid; justify-items: start; gap: 10px; padding: 26px; }
.fx-feat__in strong { font: 800 28px/1.1 var(--fxh); letter-spacing: -.03em; }
.fx-feat__syn { color: var(--tx2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fx-grid { display: grid; gap: 18px 16px; }
.fx-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fx-grid .fx-cv { width: auto; }

/* ---------- calendário ---------- */
.fx-cal { border-radius: 18px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.fx-cal__days { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.fx-cal__days button { padding: 14px 0 12px; font-weight: 700; font-size: 14px; color: var(--mut); border-bottom: 2px solid transparent; }
.fx-cal__days button small { display: block; font-size: 11.5px; font-weight: 600; color: var(--mut2); }
.fx-cal__days button.is-on { color: #fff; border-bottom-color: var(--ac); background: rgba(var(--ac-rgb), .06); }
.fx-cal__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.fx-cal__list[hidden] { display: none; }
.fx-cal__list .fx-empty { grid-column: 1 / -1; background: var(--s1); margin: 0; }
.fx-slot { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--s1); }
.fx-slot:hover { background: var(--s2); }
.fx-slot time { width: 50px; flex: none; font: 700 15px var(--fxh); color: var(--tx2); }
.fx-slot .fx-img { width: 44px; height: 62px; border-radius: 7px; flex: none; }
.fx-slot > span { min-width: 0; }
.fx-slot strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-slot em { font-style: normal; color: var(--mut); font-size: 12.5px; }
.fx-slot.is-live time, .fx-slot.is-live em { color: var(--ac2); }

/* ---------- gêneros e conta ---------- */
.fx-gens { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fx-gen { position: relative; height: 130px; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; }
.fx-gen > .fx-img { position: absolute; inset: 0; }
.fx-gen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(20deg, hsl(var(--gh) 70% 28% / .95), hsl(var(--gh) 70% 28% / .35)); }
.fx-gen > span { position: relative; z-index: 2; }
.fx-gen strong { display: block; font: 700 17px var(--fxh); }
.fx-gen small { display: block; font-size: 12px; font-weight: 600; opacity: .85; }
.fx-join { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-radius: 18px; background: linear-gradient(110deg, rgba(var(--ac-rgb), .22), rgba(var(--ac-rgb), .04) 60%), var(--s1); border: 1px solid rgba(var(--ac-rgb), .25); }
.fx-join h3 { font: 800 22px var(--fxh); }
.fx-join p { margin: 4px 0 0; color: var(--tx2); }
.fx-join ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--tx2); font-size: 13.5px; font-weight: 600; }
.fx-join li::before { content: "✓"; margin-right: 7px; color: var(--ac2); font-weight: 800; }

/* ---------- página do anime / temporada ---------- */
.fx-show { position: relative; padding: calc(var(--top) + 26px) 0 40px; overflow: hidden; }
.fx-show__bg { position: absolute; inset: 0 0 auto; height: 640px; }
.fx-show__bg .fx-img { position: absolute; inset: 0; }
.fx-show__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(12,14,18,.9) 36%, rgba(12,14,18,.45) 70%, rgba(12,14,18,.3)), linear-gradient(0deg, var(--bg) 2%, rgba(12,14,18,0) 55%); }
.fx-show .fx-wrap { position: relative; z-index: 2; }
.fx-show .ag-crumbs { padding: 0; color: var(--mut); }
.fx-show__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: end; margin-top: 26px; }
.fx-show--season .fx-show__in { grid-template-columns: 220px minmax(0, 1fr); }
.fx-poster { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.fx-poster .fx-img { aspect-ratio: 2/3; }
.fx-show h1 { margin: 12px 0 4px; font: 800 clamp(32px, 4.2vw, 56px)/1.05 var(--fxh); letter-spacing: -.035em; text-wrap: balance; }
.fx-show--season h1 { font-size: clamp(28px, 3.6vw, 46px); }
.fx-show--season h1 a { color: var(--tx2); }
.fx-show--season h1 a:hover { color: #fff; }
.fx-orig { color: var(--mut); font-size: 14.5px; font-weight: 600; }
.fx-arc2 { color: var(--ac2); }
.fx-chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fx-chips2 a { height: 32px; padding: 0 13px; display: inline-flex; align-items: center; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 700; color: var(--tx2); }
.fx-chips2 a:hover { background: rgba(255,255,255,.15); color: #fff; }
.fx-syn { max-width: 700px; margin-top: 16px; color: var(--tx2); font-size: 15.5px; }
.fx-syn .ag-synopsis__text p { margin: 0 0 8px; }
.fx-syn.is-clamped .ag-synopsis__text, .fx-syn .ag-synopsis__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fx-nextbar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px 10px 12px; border-radius: 12px; background: rgba(var(--ac-rgb), .1); border: 1px solid rgba(var(--ac-rgb), .25); font-size: 14px; color: var(--tx2); }
.fx-nextbar b { color: #fff; }
.fx-otherseasons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.fx-otherseasons a { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--tx2); }
.fx-otherseasons a.is-on { background: #fff; color: #0c0e12; border-color: #fff; }

/* colunas com barra lateral */
.fx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.fx-side { position: sticky; top: calc(var(--top) + 16px); display: grid; gap: 20px; }
.fx-box { display: block; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.fx-box h3 { padding: 16px 18px; border-bottom: 1px solid var(--line); font: 700 15px var(--fxh); }
.fx-box__p { margin: 0; padding: 14px 18px; color: var(--tx2); font-size: 14px; }
.fx-green { color: var(--green); }
.fx-facts { margin: 0; padding: 6px 18px 10px; }
.fx-facts div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fx-facts div:last-child { border-bottom: 0; }
.fx-facts dt { color: var(--mut); flex: none; }
.fx-facts dd { margin: 0; font-weight: 700; text-align: right; }
.fx-facts dd a:hover { color: var(--ac2); }

/* temporadas em cartões + ferramentas */
.fx-seasons { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; padding: 2px; }
.fx-seasons::-webkit-scrollbar { display: none; }
.fx-seasons button { flex: none; display: flex; align-items: center; gap: 11px; padding: 8px 16px 8px 8px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); text-align: left; transition: border-color .15s, background .15s; }
.fx-seasons button:hover { border-color: var(--line2); }
.fx-seasons .fx-img { width: 38px; height: 56px; border-radius: 7px; }
.fx-seasons b { display: block; font-size: 14px; }
.fx-seasons small { color: var(--mut); font-size: 12px; font-weight: 600; }
.fx-seasons button.is-on { border-color: var(--ac); background: rgba(var(--ac-rgb), .08); }
.fx-eptools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.fx-eptools__r { display: flex; gap: 8px; align-items: center; }
.fx-find { display: flex; align-items: center; gap: 8px; width: 240px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); color: var(--mut); }
.fx-find--sm { width: 190px; }
.fx-find .ag-ico { width: 16px; height: 16px; }
.fx-find input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 14px var(--font); -moz-appearance: textfield; }
.fx-find input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fx-tool { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--tx2); }
.fx-tool:hover { color: #fff; border-color: var(--line2); }
.fx-tool .ag-ico { width: 16px; height: 16px; }
.fx-seg { display: flex; padding: 3px; border-radius: 10px; background: var(--s1); border: 1px solid var(--line); }
.fx-seg button { height: 32px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 700; color: var(--mut); }
.fx-seg button.is-on { background: var(--s3); color: #fff; }
.fx-arc { grid-column: 1 / -1; margin: 0 0 4px; color: var(--ac2); font-weight: 700; font-size: 14px; }

/* episódios: grade (padrão) e lista */
.fx-eps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.fx-eps[hidden] { display: none; }
.fx-epc { position: relative; display: block; min-width: 0; border-radius: 14px; }
.fx-epc .fx-img { aspect-ratio: 16/9; border-radius: 12px; }
.fx-epc.is-fallback .fx-img img { filter: blur(2px) brightness(.5); transform: scale(1.1); }
.fx-epc__num, .fx-epc__go, .fx-epc__syn { display: none; }
.fx-epc__t { display: block; margin-top: 10px; min-width: 0; }
.fx-epc__t strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-epc__t em { display: block; font-style: normal; color: var(--mut); font-size: 12.5px; }
.fx-epc.is-hit .fx-img { outline: 2px solid var(--ac); outline-offset: 2px; }
.fx-eps.is-list { grid-template-columns: 1fr; gap: 10px; }
.fx-eps.is-list .fx-epc { display: grid; grid-template-columns: 44px 220px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 12px; background: var(--s1); border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.fx-eps.is-list .fx-epc:hover { border-color: var(--line2); background: var(--s2); }
.fx-eps.is-list .fx-epc__num { display: block; font: 800 22px var(--fxh); color: var(--mut); text-align: center; }
.fx-eps.is-list .fx-ep__n, .fx-eps.is-list .fx-ep__dur, .fx-eps.is-list .fx-ep__play { display: none; }
.fx-eps.is-list .fx-epc__t { margin: 0; }
.fx-eps.is-list .fx-epc__t strong { font-size: 15.5px; white-space: normal; }
.fx-eps.is-list .fx-epc__syn { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 6px; color: var(--mut); font-size: 13.5px; }
.fx-eps.is-list .fx-epc__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--s3); color: #fff; }
.fx-eps.is-list .fx-epc:hover .fx-epc__go { background: var(--ac); color: var(--ac-ink); }
.fx-epc__go .ag-ico { width: 18px; height: 18px; margin-left: 2px; }

/* ---------- episódio ---------- */
.fx-watch { padding-top: 18px; }
.fx-watch .ag-crumbs { padding: 0 0 14px; }
.fx-watch__t { font: 800 clamp(24px, 2.6vw, 34px)/1.15 var(--fxh); letter-spacing: -.025em; }
.fx-watch__name { margin: 2px 0 0; color: var(--tx2); font-size: 16px; font-weight: 600; }
.fx-deck { margin-top: 18px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); overflow: hidden; }
.fx-stabs { display: flex; align-items: stretch; gap: 2px; padding: 8px 8px 0; background: var(--bg); overflow-x: auto; scrollbar-width: none; }
.fx-stabs::-webkit-scrollbar { display: none; }
.fx-stabs__lbl { display: flex; align-items: center; gap: 7px; padding: 0 12px 0 6px; color: var(--mut); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.fx-stabs__lbl .ag-ico { width: 16px; height: 16px; }
.fx-st { position: relative; flex: none; display: flex; align-items: center; gap: 9px; padding: 10px 18px 11px; border-radius: 12px 12px 0 0; color: var(--mut); white-space: nowrap; text-align: left; transition: color .15s, background .15s; }
.fx-st:hover { color: var(--tx); background: rgba(255,255,255,.03); }
.fx-st b { display: block; font-size: 14px; line-height: 1.2; }
.fx-st small { display: block; font-size: 11.5px; font-weight: 600; color: var(--mut); }
.fx-st small.is-free { color: var(--green); }
.fx-st > .ag-ico { width: 20px; height: 20px; color: var(--green); }
.fx-st.is-on { background: var(--s1); color: #fff; }
.fx-st.is-on::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--ac); }
.fx-st.is-playing b::after { content: " ▶"; color: var(--ac2); font-size: 10px; vertical-align: 2px; }
.fx-stabs__tip { margin-left: auto; align-self: center; padding: 0 10px 6px; color: var(--mut); font-size: 12.5px; white-space: nowrap; }
.fx-player { border-radius: 0; }
.fx-cover .fx-img { position: absolute; inset: 0; }
.fx-cover .fx-img img { filter: brightness(.55); }
.fx-cover.is-fallback .fx-img img { filter: blur(3px) brightness(.4); transform: scale(1.08); }
.fx-cover__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.fx-cover__play > span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--ac); color: var(--ac-ink); box-shadow: 0 0 0 12px rgba(var(--ac-rgb), .22); transition: transform .2s; }
.fx-cover:hover .fx-cover__play > span { transform: scale(1.07); }
.fx-cover__play .ag-ico { width: 34px; height: 34px; margin-left: 4px; }
.fx-cover__ep { position: absolute; left: 24px; bottom: 22px; z-index: 3; text-align: left; font: 800 22px var(--fxh); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.fx-cover__ep small { display: block; font: 600 13px var(--font); color: var(--tx2); }
.fx-nomsg { background: var(--s2); }
.fx-dock { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px; border-top: 1px solid var(--line); }
.fx-dock__l, .fx-dock__r { display: flex; gap: 2px; align-items: center; }
.fx-dk { position: relative; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; color: var(--tx2); font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.fx-dk:hover { background: var(--s2); color: #fff; }
.fx-dk .ag-ico { width: 18px; height: 18px; }
.fx-dk.is-on { color: #fff; }
.fx-dk.is-on .ag-ico { color: var(--ac2); }
.fx-sw { position: relative; width: 30px; height: 18px; border-radius: 9px; background: var(--s3); transition: background .15s; }
.fx-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .15s; }
.fx-dk input:checked + .fx-sw { background: var(--ac); }
.fx-dk input:checked + .fx-sw::after { transform: translateX(12px); }
.fx-dk input:focus-visible + .fx-sw { outline: 2px solid var(--ac); outline-offset: 2px; }
.fx-dk--next { background: var(--ac); color: var(--ac-ink); padding: 0 16px; }
.fx-dk--next:hover { background: var(--ac); color: var(--ac-ink); filter: brightness(1.08); }
body.ag-lights-off .fx-deck { position: relative; z-index: 71; }
.fx-nextcard { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px; border-radius: 16px; background: linear-gradient(100deg, rgba(var(--ac-rgb), .16), rgba(var(--ac-rgb), .03) 70%), var(--s1); border: 1px solid rgba(var(--ac-rgb), .25); }
.fx-nextcard > .fx-img { width: 190px; aspect-ratio: 16/9; border-radius: 10px; flex: none; }
.fx-nextcard > span { min-width: 0; }
.fx-nextcard small { color: var(--ac2); font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.fx-nextcard strong { display: block; margin-top: 2px; font-size: 17px; }
.fx-nextcard em { display: block; font-style: normal; color: var(--mut); font-size: 13px; }
.fx-nextcard .fx-btn { margin-left: auto; flex: none; }
.fx-epinfo { margin-top: 22px; padding: 20px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.fx-epinfo .fx-meta { margin: 0; color: var(--mut); font-size: 13.5px; }
.fx-epinfo__desc { margin: 10px 0 0; color: var(--tx2); }
.fx-epinfo__desc p { margin: 0 0 8px; }
.fx-eplist select { margin: 12px 12px 0; width: calc(100% - 24px); height: 38px; padding: 0 10px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); color: #fff; font: 600 13.5px var(--font); }
.fx-slist { max-height: 560px; overflow-y: auto; padding: 8px; }
.fx-sitem { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.fx-sitem:hover { background: var(--s2); }
.fx-sitem.is-now { background: rgba(var(--ac-rgb), .1); }
.fx-sitem .fx-img { position: relative; width: 112px; aspect-ratio: 16/9; border-radius: 8px; flex: none; }
.fx-sitem .fx-ep__seen { left: 6px; bottom: 6px; height: 18px; padding: 0 5px; }
.fx-sitem > span { min-width: 0; }
.fx-sitem b { display: block; font-size: 13.5px; }
.fx-sitem em { display: block; font-style: normal; color: var(--mut); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-sitem.is-now b { color: var(--ac2); }
.fx-about { display: flex; gap: 14px; padding: 12px; }
.fx-about .fx-img { width: 70px; aspect-ratio: 2/3; border-radius: 8px; flex: none; }
.fx-about small { color: var(--mut); font-size: 12px; font-weight: 600; }
.fx-about strong { display: block; font: 700 15px var(--fxh); }
.fx-about em { display: block; font-style: normal; color: var(--tx2); font-size: 12.5px; margin-top: 2px; }
.fx-about:hover strong { color: var(--ac2); }

/* ---------- peças antigas ajustadas ao visual ---------- */
.ag-seo { border-radius: 16px; }
.ag-comments { margin-top: 34px; }
.ag-title h1 { font-family: var(--fxh); }
.ag-btn--go { background: var(--ac); color: var(--ac-ink); }
.ag-foot { margin-top: 40px; background: var(--bg); }
.ag-foot .fx-logo { font-size: 22px; }
.ag-foot__az a:hover { background: var(--ac); color: var(--ac-ink); }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
	.fx-nav { gap: 18px; }
	.fx-search { width: 200px; }
	.fx-season { grid-template-columns: 1fr; }
	.fx-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.fx-cols { grid-template-columns: minmax(0, 1fr); }
	.fx-side { position: static; }
	.fx-gens { grid-template-columns: repeat(3, 1fr); }
	.fx-cal__list { grid-template-columns: 1fr 1fr; }
	.fx-eps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fx-hero__pick { display: none; }
}
@media (max-width: 960px) {
	:root { --top: 62px; }
	.fx-nav, .fx-search span, .fx-search kbd { display: none; }
	.fx-top__menu { display: grid; }
	.fx-top__in { gap: 12px; }
	.fx-search { width: 42px; padding: 0; justify-content: center; border-radius: 50%; }
	.fx-show__in { grid-template-columns: 200px minmax(0, 1fr); gap: 26px; }
	.fx-stabs__tip { display: none; }
	.fx-dk span { display: none; }
	.fx-dk--next span { display: inline; }
}
@media (max-width: 640px) {
	.fx-wrap, .ag-wrap { padding: 0 16px; }
	.fx-logo { font-size: 20px; }
	.fx-top .ag-user--guest [data-ag-auth="login"] { display: none; }
	.fx-hero { min-height: 560px; height: 80vh; }
	.fx-hero__in { padding-bottom: 46px; }
	.fx-hero__t { font-size: 34px; }
	.fx-hero__act .fx-btn--lg { height: 48px; padding: 0 18px; font-size: 14.5px; }
	.fx-hero__act .fx-btn--sq { width: 48px; padding: 0; }
	.fx-sec__h { flex-wrap: wrap; }
	.fx-ep, .fx-track .ag-cw { width: 250px; }
	.fx-cv { width: 140px; }
	.fx-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fx-arrow { display: none; }
	.fx-t10 { width: 206px; }
	.fx-t10 b { width: 70px; font-size: 110px; }
	.fx-t10 .fx-img { width: 120px; }
	.fx-feat { min-height: 360px; }
	.fx-cal__days { overflow-x: auto; grid-template-columns: repeat(7, 84px); }
	.fx-cal__list { grid-template-columns: 1fr; }
	.fx-gens { grid-template-columns: repeat(2, 1fr); }
	.fx-join { flex-direction: column; align-items: flex-start; padding: 24px; }
	.fx-show__in, .fx-show--season .fx-show__in { grid-template-columns: 1fr; gap: 18px; }
	.fx-poster { width: 150px; }
	.fx-show--season .fx-poster { width: 120px; }
	.fx-acts .fx-btn--lg { height: 46px; padding: 0 16px; font-size: 14px; }
	.fx-acts .fx-btn--sq { width: 46px; padding: 0; }
	.fx-eps { gap: 14px 10px; }
	.fx-eptools .fx-find { width: 100%; }
	.fx-eptools__r { width: 100%; justify-content: space-between; }
	.fx-sec__h .fx-eptools__r { width: auto; }
	.fx-eps.is-list .fx-epc { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 8px; }
	.fx-eps.is-list .fx-epc__num, .fx-eps.is-list .fx-epc__go, .fx-eps.is-list .fx-epc__syn { display: none; }
	.fx-deck { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
	.fx-stabs__lbl { display: none; }
	.fx-st { padding: 10px 14px 11px; }
	.fx-nextcard > .fx-img { width: 110px; }
	.fx-nextcard .fx-btn { display: none; }
	.fx-tool span { display: none; }
}
.fx-eps.is-cut .fx-epc:nth-of-type(n+25) { display: none; }
.fx-showmore { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }
@media (max-width: 640px) {
	.fx-hero { height: auto; min-height: 0; }
	.fx-hero__in { height: auto; padding-top: 240px; padding-bottom: 34px; }
	.fx-home { margin-top: 0; }
	.fx-dock { gap: 4px; }
	.fx-dk { padding: 0 9px; }
	.fx-dk--next span { display: none; }
	.fx-dk--next { padding: 0 14px; }
}
