/* ============================================================
   EnglishTunes — Visual novo "cinematográfico" (PRÉVIA, só com body.fx)
   Efeitos inspirados no 21st.dev / Magic UI / Aceternity, feitos em CSS puro;
   animações de entrada e rolagem com GSAP (assets/vendor/gsap).
   ============================================================ */

html:has(body.fx), body.fx { overflow-x: clip; }
body.fx main, body.fx footer { position: relative; z-index: 1; }
body.fx .navbar { position: sticky; top: 0; z-index: 50; }
body.fx { --ease-out: cubic-bezier(.2,.8,.3,1); --glass: rgba(255,255,255,.035); --glass-b: rgba(255,255,255,.08); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) body.fx { --glass: rgba(255,255,255,.7); --glass-b: rgba(20,20,60,.08); }
}
html[data-theme="light"] body.fx { --glass: rgba(255,255,255,.7); --glass-b: rgba(20,20,60,.08); }

/* Troca de página com fade (Chrome/Edge) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fxVtOut .25s ease both; }
::view-transition-new(root) { animation: fxVtIn .35s ease both; }
@keyframes fxVtOut { to { opacity: 0; filter: blur(6px); } }
@keyframes fxVtIn { from { opacity: 0; filter: blur(6px); } }

/* ── Fundo: aurora + grade + grão de filme ── */
.fx-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-aurora {
  position: absolute; inset: -40%;
  background:
    radial-gradient(40% 35% at 20% 25%, rgba(108,92,231,.38), transparent 70%),
    radial-gradient(35% 30% at 80% 20%, rgba(0,210,168,.22), transparent 70%),
    radial-gradient(40% 35% at 60% 80%, rgba(232,67,147,.16), transparent 70%);
  animation: fxAurora 22s ease-in-out infinite alternate; will-change: transform;
}
@keyframes fxAurora {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(4%,-3%,0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-4%,3%,0) rotate(-6deg) scale(1); }
}
.fx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}
body.fx::after { /* grão de filme */
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .fx-aurora { opacity: .5; }
html:not([data-theme="dark"]) .fx-grid { background-image:
    linear-gradient(rgba(20,20,60,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,60,.06) 1px, transparent 1px); }
html:not([data-theme="dark"]) body.fx::after { opacity: .025; }
}
html[data-theme="light"] .fx-aurora { opacity: .5; }
html[data-theme="light"] .fx-grid { background-image:
    linear-gradient(rgba(20,20,60,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,60,.06) 1px, transparent 1px); }
html[data-theme="light"] body.fx::after { opacity: .025; }

/* ── Navbar: vidro + linha de brilho ── */
body.fx .navbar { background: rgba(15,17,21,.6); backdrop-filter: blur(16px) saturate(140%); }
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) body.fx .navbar { background: rgba(255,255,255,.72); }
}
html[data-theme="light"] body.fx .navbar { background: rgba(255,255,255,.72); }
body.fx .navbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent); opacity: .7;
}
body.fx .brand-mark { box-shadow: 0 0 18px var(--brand-glow); animation: fxPulse 3s ease-in-out infinite; }
@keyframes fxPulse { 50% { box-shadow: 0 0 28px rgba(0,210,168,.45); } }
body.fx .streak-pill { background: var(--glass); border-color: var(--glass-b); }

/* Abas (topo e dentro da aula) com indicador que desliza */
body.fx .tab-bar, body.fx .tabs { position: relative; }
body.fx .tab-bar a { position: relative; z-index: 1; background: var(--glass); border-color: var(--glass-b); }
body.fx .tab-bar a.active { background: transparent; border-color: transparent; }
.fx-ind {
  position: absolute; z-index: 0; top: 0; height: 0; border-radius: 999px; pointer-events: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-dim));
  box-shadow: 0 4px 20px var(--brand-glow);
  transition: left .4s cubic-bezier(.3,1.3,.5,1), width .4s cubic-bezier(.3,1.3,.5,1), top .3s, height .3s;
}
body.fx .tabs {
  display: inline-flex; max-width: 100%; gap: 4px; padding: 5px; border: 1px solid var(--glass-b);
  border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px);
}
body.fx .tab-btn { position: relative; z-index: 1; border: none; border-radius: 999px; padding: 9px 16px; transition: color .2s; }
body.fx .tab-btn.active { color: #fff; border-bottom-color: transparent; }
body.fx .tabs .fx-ind { box-shadow: 0 4px 18px var(--brand-glow); }

/* ── Botões ── */
body.fx .btn { transition: transform .2s var(--ease-out), box-shadow .2s, opacity .2s, background .2s; will-change: transform; }
body.fx .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
body.fx .btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); animation: fxShimmer 3.4s ease-in-out infinite;
}
@keyframes fxShimmer { 60%, 100% { transform: translateX(120%); } }
body.fx .btn-primary:hover { box-shadow: 0 10px 36px var(--brand-glow), 0 0 0 1px rgba(255,255,255,.15) inset; opacity: 1; }
body.fx .btn-secondary { background: var(--glass); border-color: var(--glass-b); backdrop-filter: blur(6px); }
body.fx .btn-secondary:hover { border-color: var(--brand); }

/* ── Cartões: vidro + holofote que segue o mouse + borda luminosa ── */
body.fx .card {
  position: relative; border-color: var(--glass-b);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.008)), var(--bg-card);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
body.fx .card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(108,92,231,.14), transparent 45%);
  opacity: 0; transition: opacity .25s;
}
body.fx .card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 3; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(0,210,168,.9), rgba(108,92,231,.6) 40%, transparent 70%);
  -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;
}
body.fx .card:hover::before, body.fx .card:hover::after { opacity: 1; }

/* ── Títulos de página ── */
body.fx main h1:not(.fx-title) {
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, var(--text) 40%, color-mix(in srgb, var(--text) 55%, var(--brand)));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.fx .section-title h2 { letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
body.fx .section-title h2::before {
  content: ""; width: 4px; height: 1.05em; border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent)); box-shadow: 0 0 12px var(--brand-glow);
}
.fx-split-line { overflow: hidden; display: block; padding-bottom: .06em; }

/* ── Hero da home (visitante) ── */
.fx-hero { padding: 84px 0 34px; }
.fx-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 7px 16px 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.fx-pill:hover { border-color: var(--brand); transform: translateY(-1px); }
.fx-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: fxPing 1.8s infinite; }
@keyframes fxPing { 0% { box-shadow: 0 0 0 0 rgba(0,210,168,.6); } 70%,100% { box-shadow: 0 0 0 9px rgba(0,210,168,0); } }
.fx-shiny {
  background: linear-gradient(110deg, var(--text-dim) 35%, var(--text) 50%, var(--text-dim) 65%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fxShiny 3.5s linear infinite;
}
@keyframes fxShiny { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.fx-hero .fx-title {
  font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.04; letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--text) 30%, rgba(238,240,244,.55));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) .fx-hero .fx-title { background: linear-gradient(180deg, #191c24 30%, #5a6072); -webkit-background-clip: text; background-clip: text; }
}
html[data-theme="light"] .fx-hero .fx-title { background: linear-gradient(180deg, #191c24 30%, #5a6072); -webkit-background-clip: text; background-clip: text; }
.fx-rotate { display: inline-block; position: relative; min-width: 4ch; }
.fx-rotate span {
  display: inline-block;
  background: linear-gradient(90deg, var(--brand), #a29bfe, var(--accent), var(--brand));
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: fxGrad 6s linear infinite; padding-bottom: .08em;
}
.fx-rotate span.out { animation: fxGrad 6s linear infinite, fxWordOut .35s ease forwards; }
.fx-rotate span.in  { animation: fxGrad 6s linear infinite, fxWordIn .45s cubic-bezier(.2,1.2,.4,1) forwards; }
@keyframes fxGrad { to { background-position: 300% 0; } }
@keyframes fxWordOut { to { opacity: 0; transform: translateY(-40%); filter: blur(8px); } }
@keyframes fxWordIn  { from { opacity: 0; transform: translateY(40%); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.fx-eq { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 34px; margin: 4px auto 22px; }
.fx-eq i {
  width: 4px; border-radius: 4px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  transform-origin: bottom; animation: fxEq 1.1s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.137s); opacity: .85;
}
@keyframes fxEq { 0% { transform: scaleY(.15); } 50% { transform: scaleY(.9); } 100% { transform: scaleY(.35); } }

/* Faixa de capas rolando */
.fx-marquee {
  display: flex; flex-direction: column; gap: 14px; margin: 26px calc(50% - 50vw) 10px; padding: 6px 0; overflow: hidden; max-width: 100vw;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.fx-marquee-track { display: flex; gap: 14px; width: max-content; animation: fxMarq 70s linear infinite; }
.fx-marquee-track.rev { animation-direction: reverse; animation-duration: 85s; }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
@keyframes fxMarq { to { transform: translateX(-50%); } }
.fx-mq-item { position: relative; width: 200px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); background: var(--bg-card); }
.fx-mq-item img { width: 100%; height: 100%; object-fit: cover; }
.fx-mq-item b { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bento */
.fx-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 46px 0; }
.fx-bento .card { text-align: left; overflow: hidden; }
.fx-b-big { grid-row: span 2; display: flex; flex-direction: column; }
.fx-bento h3 { margin: 0 0 6px; font-size: 1.1rem; }
.fx-bento p { margin: 0; color: var(--text-dim); font-size: .93rem; }
.fx-bento .feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; font-size: 1.4rem; background: linear-gradient(135deg, rgba(108,92,231,.25), rgba(0,210,168,.15)); border: 1px solid var(--border); }
.fx-lyric-demo { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.fx-lyric-demo div { padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; transition: all .4s; display: flex; flex-direction: column; opacity: .4; }
.fx-lyric-demo div span { font-weight: 700; font-size: .95rem; }
.fx-lyric-demo div em { font-style: normal; color: var(--text-dim); font-size: .85rem; }
.fx-lyric-demo div.on { opacity: 1; background: rgba(108,92,231,.12); border-color: rgba(108,92,231,.45); box-shadow: 0 0 24px rgba(108,92,231,.18); }
.fx-lyric-demo small { color: var(--text-faint); font-size: .75rem; margin-top: 2px; }
@media (max-width: 860px) { .fx-bento { grid-template-columns: 1fr 1fr; } .fx-b-big { grid-row: auto; grid-column: span 2; } }
@media (max-width: 560px) { .fx-bento { grid-template-columns: 1fr; } .fx-b-big { grid-column: auto; } }

/* ── Painel logado ── */
body.fx .stats-row .stat-tile .num {
  font-variant-numeric: tabular-nums; font-size: 2rem; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), #a29bfe); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fx-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); margin-top: 10px; overflow: hidden; }
.fx-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); box-shadow: 0 0 12px var(--brand-glow); }

/* "Continue de onde parou" — destaque estilo streaming */
.fx-feature {
  position: relative; display: block; overflow: hidden; margin: 26px 0 10px; min-height: 340px;
  border-radius: var(--radius-lg); border: 1px solid var(--glass-b); isolation: isolate;
}
.fx-feature-bg {
  position: absolute; inset: -10%; z-index: -2; background: var(--cover, linear-gradient(135deg, var(--brand), var(--accent))) center/cover no-repeat;
  transform: scale(1.05); transition: transform 1.2s var(--ease-out);
}
.fx-feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,11,15,.96) 0%, rgba(10,11,15,.82) 42%, rgba(10,11,15,.15) 100%),
              linear-gradient(0deg, rgba(10,11,15,.8), transparent 50%);
}
.fx-feature:hover .fx-feature-bg { transform: scale(1.12); }
.fx-feature-body { padding: 44px 40px; max-width: 560px; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.fx-feature-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fx-feature h2 { margin: 0; font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: -0.04em; line-height: 1.05; }
.fx-feature .artist { color: rgba(255,255,255,.75); font-weight: 600; }
.fx-feature p { color: rgba(255,255,255,.7); margin: 4px 0 14px; font-size: .95rem; }
.fx-feature .btn { align-self: flex-start; }
@media (max-width: 640px) { .fx-feature-body { padding: 28px 22px; } .fx-feature::after { background: linear-gradient(0deg, rgba(10,11,15,.95) 30%, rgba(10,11,15,.35)); } }

/* ── Coleções: capas temáticas ── */
.fx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fx-cc {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-md);
  aspect-ratio: 16/9; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 1px solid rgba(255,255,255,.12);
}
.fx-cc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 100% 0%, transparent 30%, rgba(0,0,0,.45)); }
.fx-cc-orb {
  position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; top: -30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.45), transparent 65%); filter: blur(10px);
  animation: fxOrb 9s ease-in-out infinite alternate;
}
.fx-cc-orb.b { width: 50%; left: -15%; right: auto; top: 55%; animation-duration: 12s; opacity: .6; }
@keyframes fxOrb { to { transform: translate(-25%, 20%) scale(1.2); } }
.fx-cc-emoji {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(-8deg);
  font-size: clamp(4rem, 9vw, 6.5rem); filter: drop-shadow(0 14px 30px rgba(0,0,0,.35));
  animation: fxFloat 5s ease-in-out infinite;
}
@keyframes fxFloat { 50% { transform: translateY(-58%) rotate(4deg); } }
.fx-cc-tag { font-size: .9rem; font-weight: 600; opacity: .9; max-width: 70%; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.fx-cc-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.fx-cc-stats span { background: rgba(0,0,0,.28); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 12px; font-size: .8rem; }
.fx-cc-stats b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.fx-cc-mini { scroll-snap-align: start; transition: transform .35s var(--ease-out), box-shadow .35s; }
.fx-cc-mini:hover { transform: translateY(-5px); box-shadow: 0 18px 40px color-mix(in srgb, var(--c1) 45%, transparent); }
.fx-cc-mini b { font-size: 1.02rem; line-height: 1.2; max-width: 72%; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.fx-cc-mini .fx-cc-emoji { font-size: 3.6rem; right: 14px; top: 38%; }
.fx-cc-mini .fx-cc-tag { font-size: .78rem; margin-top: 4px; }

/* ── Cartões de música estilo streaming ── */
.fx-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px 22px; margin-bottom: 50px; }
.fx-film { position: relative; display: block; isolation: isolate; perspective: 900px; }
.fx-film-glow { /* luz ambiente com as cores da capa */
  position: absolute; inset: 12% 6% -6%; z-index: -1; width: 88%; height: 94%; object-fit: cover;
  filter: blur(28px) saturate(1.6); opacity: .35; border-radius: 30px; transition: opacity .4s, transform .4s var(--ease-out);
}
.fx-film:hover .fx-film-glow { opacity: .75; transform: scale(1.06); }
.fx-film-card {
  position: relative; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: #000; transform-style: preserve-3d;
  transition: transform .35s var(--ease-out), border-color .3s; will-change: transform;
}
.fx-film:hover .fx-film-card { border-color: rgba(255,255,255,.28); }
.fx-film-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform .8s var(--ease-out), filter .4s; }
.fx-film:hover .fx-film-img { transform: scale(1.28); filter: brightness(.7); }
.fx-film-empty { display: grid; place-items: center; font-size: 3rem; background: linear-gradient(135deg, var(--brand-dim), var(--accent-dim)); }
.fx-film-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 30%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.92) 100%);
}
.fx-film-card::before { /* reflexo que corre ao passar o mouse */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform .9s var(--ease-out);
}
.fx-film:hover .fx-film-card::before { transform: translateX(100%); }
.fx-film-num {
  position: absolute; top: 6px; left: 14px; z-index: 2; font-size: 3.4rem; font-weight: 900; line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); text-shadow: 0 4px 20px rgba(0,0,0,.4);
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.fx-film:hover .fx-film-num { color: rgba(255,255,255,.95); -webkit-text-stroke-color: transparent; }
.fx-film-done { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--accent); color: #06231d; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 0 16px rgba(0,210,168,.5); }
.fx-film-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; color: #fff; transform: translateY(28px); transition: transform .4s var(--ease-out); }
.fx-film:hover .fx-film-info { transform: none; }
.fx-film-info h3 { margin: 6px 0 2px; font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.fx-film-info .artist { color: rgba(255,255,255,.75); font-size: .86rem; }
.fx-film-info .level-badge { margin: 0; background: rgba(12,12,20,.62); border: 1px solid rgba(255,255,255,.14); }
.fx-film-cta { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 800; color: var(--accent); opacity: 0; transition: opacity .3s .05s; }
.fx-film:hover .fx-film-cta { opacity: 1; }
.fx-play {
  position: absolute; left: 50%; top: 42%; z-index: 2; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; color: #fff; padding-left: 3px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s cubic-bezier(.2,1.4,.4,1);
}
.fx-film:hover .fx-play, body.fx .song-card:hover .fx-play { opacity: 1; transform: scale(1); }
@media (hover: none) { .fx-film-info { transform: none; } .fx-film-cta { opacity: 1; } }

/* ── Página da aula: fundo de cinema ── */
.fx-lesson-bg {
  position: absolute; z-index: -1; top: -130px; left: 50%; width: 100vw; height: 760px; transform: translateX(-50%);
  background: var(--cover, none) center/cover no-repeat, radial-gradient(60% 70% at 30% 30%, var(--c1), transparent), radial-gradient(60% 70% at 75% 40%, var(--c2), transparent);
  filter: blur(60px) saturate(1.7) brightness(1.1); opacity: .6; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
body.fx main { isolation: isolate; }
body.fx .fx-lesson { margin-top: 38px; align-items: center; }
body.fx .fx-lesson .lesson-meta h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin-bottom: 8px; }
body.fx .fx-lesson .lesson-meta .artist { font-size: 1.1rem; }
.fx-ambient-wrap { position: relative; isolation: isolate; }
.fx-ambient { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.8); transform: scale(1.08); opacity: .75; border-radius: 30px; }
body.fx .video-wrap { border-color: rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.5); border-radius: 18px; }
body.fx .fx-lesson .fx-cc { aspect-ratio: 16/10; border-radius: 22px; box-shadow: 0 30px 80px color-mix(in srgb, var(--c1) 35%, transparent); }

/* Letra: linhas com foco + karaokê */
body.fx .lyrics-line { transition: background .3s, border-color .3s, opacity .4s, transform .4s var(--ease-out); border-radius: 12px; }
body.fx .lyrics-line:hover { background: var(--glass); border-color: var(--glass-b); }
body.fx .lyrics-line:has(.clip-btn-mini.playing), body.fx .lyrics-line.fx-now {
  background: linear-gradient(90deg, rgba(108,92,231,.2), rgba(0,210,168,.08)); border-color: rgba(108,92,231,.5);
  box-shadow: 0 0 30px rgba(108,92,231,.18); transform: scale(1.015);
}
body.fx .lyrics-line.fx-now .en { font-size: 1.08em; }
body.fx-karaoke .lyrics-line:not(.fx-now) { opacity: .38; }
body.fx .section-label { display: flex; align-items: center; gap: 10px; }
body.fx .section-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,210,168,.4), transparent); }
.fx-karaoke-toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; margin: 4px 0 14px; font-weight: 700; font-size: .92rem; user-select: none; }
.fx-karaoke-toggle small { color: var(--text-faint); font-weight: 500; }
.fx-karaoke-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.fx-sw { width: 40px; height: 22px; border-radius: 99px; background: var(--border); position: relative; transition: background .25s; flex-shrink: 0; }
.fx-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.fx-karaoke-toggle input:checked + .fx-sw { background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 0 14px var(--brand-glow); }
.fx-karaoke-toggle input:checked + .fx-sw::after { transform: translateX(18px); }

/* Vocabulário / frases */
body.fx .vocab-card { overflow: hidden; }
body.fx .vocab-card .term { letter-spacing: -0.01em; }
body.fx .vocab-card:hover, body.fx .tip-card:hover, body.fx .badge-card.earned:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
body.fx .vocab-card > :first-child::before { /* faixa de cor no topo */
  content: ""; position: absolute; left: -22px; right: -22px; top: -22px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: .7;
}
body.fx .tip-card { border-left: 3px solid var(--brand); }

/* Quiz */
body.fx .quiz-option { transition: transform .2s var(--ease-out), border-color .2s, background .2s, box-shadow .2s; }
body.fx .quiz-option:hover { transform: translateX(4px); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(108,92,231,.15); }
body.fx .quiz-progress-track { height: 8px; border-radius: 99px; overflow: hidden; }
body.fx .quiz-progress-fill, body.fx .progress-bar-fill { background: linear-gradient(90deg, var(--brand), var(--accent)); box-shadow: 0 0 14px var(--brand-glow); }

/* Perfil */
body.fx .badge-card.earned { border-color: rgba(253,203,110,.4); box-shadow: 0 0 24px rgba(253,203,110,.12) inset; }
body.fx .badge-card.locked { filter: grayscale(1); }
body.fx .heat-cell.active { box-shadow: 0 0 10px rgba(0,210,168,.6); }

/* Formulários */
body.fx .form-group input, body.fx .form-group select, body.fx .form-group textarea, body.fx .quiz-input, body.fx select {
  background: var(--glass); border-color: var(--glass-b); transition: border-color .2s, box-shadow .2s;
}
body.fx .form-group input:focus, body.fx .quiz-input:focus, body.fx select:focus, body.fx textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(108,92,231,.18), 0 0 24px rgba(108,92,231,.15);
}
body.fx input[type=checkbox], body.fx input[type=radio] { accent-color: var(--brand); }

/* Login/cadastro: borda com feixe de luz girando (border beam) */
body.fx .auth-wrap .card { overflow: hidden; }
body.fx .auth-wrap .card::after {
  opacity: 1; inset: 0; padding: 1.5px;
  background: conic-gradient(from var(--fx-a, 0deg), transparent 0 70%, var(--accent) 80%, var(--brand) 90%, transparent 100%);
  animation: fxBeam 4s linear infinite;
}
@property --fx-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fxBeam { to { --fx-a: 360deg; } }

/* Modais */
body.fx .modal-overlay { backdrop-filter: blur(8px); }
body.fx .modal-box { border: 1px solid var(--glass-b); box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset; }
body.fx .flashcard-face { border-color: var(--glass-b); background: linear-gradient(180deg, rgba(255,255,255,.05), transparent), var(--bg-card); }
body.fx .fab-review { box-shadow: 0 10px 34px var(--brand-glow); }

/* Estado vazio */
body.fx .empty-state { border: 1px dashed var(--glass-b); border-radius: var(--radius-lg); background: var(--glass); }

/* ── Rodapé com a marca gigante ── */
.fx-footer { margin-top: 70px; padding: 40px 20px 0 !important; text-align: center; overflow: hidden; border-top: 1px solid var(--glass-b); }
.fx-foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-bottom: 10px; font-weight: 600; font-size: .9rem; }
.fx-foot-links a { color: var(--text-dim); transition: color .2s; }
.fx-foot-links a:hover { color: var(--text); }
.fx-footer p { color: var(--text-faint); font-size: .85rem; margin: 0 0 10px; }
.fx-foot-word {
  font-size: clamp(3.5rem, 15vw, 12rem); font-weight: 900; letter-spacing: -0.06em; line-height: .8; margin-bottom: -0.12em;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 18%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}

/* Quem pede menos movimento (configuração do sistema) não vê animação */
@media (prefers-reduced-motion: reduce) {
  body.fx *, body.fx *::before, body.fx *::after { animation: none !important; transition: none !important; }
}

/* Praticar: checkbox não pode herdar o width:100% dos campos de texto */
body.fx .form-group input[type=checkbox], body.fx .form-group input[type=radio] {
  width: 18px; height: 18px; padding: 0; margin: 2px 10px 0 0; flex-shrink: 0; vertical-align: top;
}
body.fx .form-group label:has(> input[type=checkbox]) { display: flex; align-items: flex-start; text-align: left; cursor: pointer; }

/* Coleções na home: cartão mais alto, emoji no canto, título sem cortar */
.fx-cc-mini { aspect-ratio: auto; min-height: 178px; justify-content: flex-end; padding: 18px; }
.fx-cc-mini .fx-cc-emoji { font-size: 3rem; top: 16px; right: 14px; transform: rotate(-8deg); animation-name: fxFloatMini; }
@keyframes fxFloatMini { 50% { transform: translateY(-6px) rotate(4deg); } }
.fx-cc-mini b { max-width: 100%; font-size: 1rem; }
.fx-cc-mini .fx-cc-tag { max-width: 100%; }

/* Selects no padrão dos campos */
body.fx select {
  width: 100%; max-width: 520px; padding: 12px 40px 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--glass-b);
  color: var(--text); font: inherit; font-size: .95rem; cursor: pointer; appearance: none; -webkit-appearance: none;
  background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa1b1' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
}
body.fx select option { background: var(--bg-elevated); color: var(--text); }

/* Modo claro: botão "ver macete" legível */
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) body.fx .tip-trigger { color: #8a5a00; background: rgba(253,203,110,.22); border-color: rgba(200,140,0,.4); }
}
html[data-theme="light"] body.fx .tip-trigger { color: #8a5a00; background: rgba(253,203,110,.22); border-color: rgba(200,140,0,.4); }

/* ================================================================
   2ª LEVA — cabeçalho, rodapé, botões, ícones e categorias
   ================================================================ */

/* Ícones Lucide */
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: currentColor; stroke: none; vertical-align: -0.2em; --ic2: var(--accent); --ic2o: .35; }
.fx-emoji-ic { display: inline-flex; vertical-align: middle; }

/* ── Cabeçalho ── */
body.fx .fx-nav .navbar-inner { gap: 18px; padding: 12px 20px; }
.fx-brand { gap: 11px; }
.fx-brand .brand-text { font-weight: 700; letter-spacing: -0.03em; }
.fx-brand .brand-text b { font-weight: 900; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fx-logo {
  width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; gap: 3px;
  background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 6px 20px var(--brand-glow);
}
.fx-logo i { width: 3.5px; height: 18px; border-radius: 3px; background: #fff; transform-origin: center; animation: fxLogo 1.2s ease-in-out infinite alternate; }
.fx-logo i:nth-child(2) { animation-delay: -.3s; } .fx-logo i:nth-child(3) { animation-delay: -.6s; } .fx-logo i:nth-child(4) { animation-delay: -.9s; }
@keyframes fxLogo { from { transform: scaleY(.3); } to { transform: scaleY(1); } }

.fx-search {
  flex: 1; max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 9px 10px 9px 14px; border-radius: 12px; color: var(--text-faint); font-size: .88rem;
  background: var(--glass); border: 1px solid var(--glass-b); transition: border-color .2s, box-shadow .2s, color .2s;
}
.fx-search:hover { border-color: var(--brand); color: var(--text-dim); box-shadow: 0 0 0 4px rgba(108,92,231,.12); }
.fx-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-search kbd, .fx-kbd { font: 600 .72rem/1 var(--font); padding: 5px 7px; border-radius: 7px; border: 1px solid var(--glass-b); background: rgba(255,255,255,.05); color: var(--text-dim); }
.fx-icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 11px; cursor: pointer; font-size: 1.05rem;
  color: var(--text-dim); background: var(--glass); border: 1px solid var(--glass-b); transition: color .2s, border-color .2s, transform .2s;
}
.fx-icon-btn:hover { color: var(--text); border-color: var(--brand); transform: translateY(-1px); }
.fx-only-mobile { display: none; }
.fx-streak { gap: 5px; }
.fx-streak .ic { color: #ff9f43; filter: drop-shadow(0 0 6px rgba(255,159,67,.6)); animation: fxFlame 1.6s ease-in-out infinite alternate; }
@keyframes fxFlame { to { transform: scale(1.15) rotate(-6deg); } }

/* Menu da conta */
.fx-account { position: relative; }
.fx-account summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 2px; border-radius: 999px; }
.fx-account summary::-webkit-details-marker { display: none; }
.fx-account .fx-chev { color: var(--text-faint); transition: transform .25s; }
.fx-account[open] .fx-chev { transform: rotate(180deg); }
.fx-account summary .avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px rgba(108,92,231,.6); }
.fx-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 6px; border-radius: 14px; z-index: 60;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-b); box-shadow: 0 24px 60px rgba(0,0,0,.45);
  animation: fxMenu .22s var(--ease-out);
}
@keyframes fxMenu { from { transform: translateY(-6px) scale(.97); } }
.fx-menu-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--glass-b); margin-bottom: 4px; display: flex; flex-direction: column; }
.fx-menu-head small { color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; }
.fx-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .9rem; color: var(--text-dim); transition: background .15s, color .15s; }
.fx-menu a:hover { background: rgba(108,92,231,.14); color: var(--text); }
.fx-menu a.fx-menu-out:hover { background: rgba(255,107,107,.12); color: var(--danger); }

/* Abas do topo em grupos, com ícones */
body.fx .fx-tabbar { gap: 6px; padding-bottom: 12px; }
body.fx .fx-tabbar a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; }
body.fx .fx-tabbar a .ic { opacity: .8; }
body.fx .fx-tabbar a.active .ic { opacity: 1; }
.fx-group-label { flex: 0 0 auto; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); padding: 0 4px 0 2px; position: relative; z-index: 1; }
.fx-group-sep { flex: 0 0 auto; width: 1px; height: 22px; background: var(--glass-b); margin: 0 6px; }

/* Barra de baixo no celular */
.fx-dock { display: none; }
@media (max-width: 760px) {
  .fx-search { display: none; }
  .fx-only-mobile { display: inline-grid; }
  body.fx .fx-nav .brand-text { display: inline; font-size: 1.02rem; }
  body.fx .fx-nav .navbar-inner { padding: 10px 14px; gap: 8px; }
  body.fx .nav-utility { gap: 7px; }
  .fx-account .fx-chev { display: none; }
  .fx-dock {
    display: flex; position: fixed; z-index: 70; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
    justify-content: space-around; padding: 6px; border-radius: 20px;
    background: color-mix(in srgb, var(--bg-elevated) 82%, transparent); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--glass-b); box-shadow: 0 14px 40px rgba(0,0,0,.4);
  }
  .fx-dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px; border-radius: 14px; font-size: .66rem; font-weight: 700; color: var(--text-faint); transition: color .2s, background .2s; }
  .fx-dock a .ic { width: 22px; height: 22px; }
  .fx-dock a.active { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dim)); box-shadow: 0 6px 18px var(--brand-glow); }
  body.fx { padding-bottom: 86px; }
  body.fx .fab-review { bottom: 96px; }
}

/* ── Botões padronizados ── */
body.fx .btn { border-radius: 12px; gap: 9px; letter-spacing: -0.005em; }
body.fx .btn .ic { width: 1.15em; height: 1.15em; }
body.fx .btn-primary { background: linear-gradient(180deg, #7d6ff0, var(--brand-dim)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px var(--brand-glow); }
body.fx .btn-accent { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 8px 24px rgba(0,210,168,.3); }
body.fx .btn-accent:hover { box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 34px rgba(0,210,168,.45); }
body.fx .btn:disabled { filter: grayscale(.4); }
body.fx .btn:focus-visible, body.fx .tab-btn:focus-visible, body.fx a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Botões pequenos de ícone (ouvir, trecho, salvar) viram "chips" redondos */
body.fx .tts-btn, body.fx .save-btn {
  width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; opacity: 1; margin-left: 4px;
  color: var(--text-dim); background: var(--glass); border: 1px solid var(--glass-b); transition: color .2s, border-color .2s, transform .2s, background .2s;
}
body.fx .tts-btn:hover, body.fx .save-btn:hover { color: var(--accent); border-color: var(--accent); transform: scale(1.08); }
body.fx .tts-btn.speaking { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 0 rgba(0,210,168,.6); animation: fxPing 1.2s infinite; }
body.fx .tts-btn .ic { width: 15px; height: 15px; }
body.fx .clip-btn-mini { width: 26px; height: 26px; }
body.fx .clip-btn-mini .ic { width: 12px; height: 12px; fill: currentColor; }
body.fx .clip-btn .ic { width: 14px; height: 14px; }
body.fx .tip-trigger { gap: 7px; transition: transform .2s, box-shadow .2s; }
body.fx .tip-trigger:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(253,203,110,.18); }

/* Ícone em destaque no começo dos títulos de página */
.fx-h-ic {
  display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-right: .35em; vertical-align: -0.22em; border-radius: .32em;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: 0 8px 24px var(--brand-glow);
  -webkit-text-fill-color: initial;
}
.fx-h-ic .ic { width: .7em; height: .7em; }
body.fx .tab-btn .ic, body.fx .section-title .ic, body.fx .modal-title .ic { color: var(--accent); }
body.fx .tab-btn.active .ic { color: #fff; }

/* ── Categorias (dentro das coleções): barra fixa que acompanha a rolagem ── */
body.fx .fx-cats { margin: 0 !important; padding: 10px 2px !important; }
body.fx .fx-cats a { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; transition: color .2s, border-color .2s, background .2s, box-shadow .2s; }
body.fx .fx-cats a .fx-cat-n { font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--text-faint); }
body.fx .fx-cats a.fx-cat-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--brand), var(--brand-dim)); box-shadow: 0 4px 16px var(--brand-glow); }
body.fx .fx-cats a.fx-cat-on .fx-cat-n { background: rgba(255,255,255,.22); color: #fff; }
body.fx .section-label { font-size: .76rem; padding-top: 6px; }

/* Etiquetas (tags) mais refinadas */
body.fx .tag { background: transparent; border-color: var(--glass-b); letter-spacing: .08em; }

/* ── Rodapé completo ── */
.fx-footer { margin-top: 90px; padding: 56px 20px 0 !important; text-align: left; position: relative; overflow: hidden; border-top: 1px solid var(--glass-b); }
.fx-footer::before { content: ""; position: absolute; left: 50%; top: -1px; width: min(700px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent); }
.fx-foot-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.fx-foot-brand p { color: var(--text-dim); font-size: .9rem; max-width: 330px; margin: 14px 0 18px; }
.fx-top { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--text-dim); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--glass-b); background: var(--glass); transition: color .2s, border-color .2s; }
.fx-top:hover { color: var(--text); border-color: var(--brand); }
.fx-foot-col { display: flex; flex-direction: column; gap: 4px; }
.fx-foot-col h4 { margin: 4px 0 8px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.fx-foot-col a { display: inline-flex; align-items: center; gap: 9px; padding: 5px 0; color: var(--text-dim); font-size: .9rem; transition: color .2s, transform .2s; }
.fx-foot-col a .ic { opacity: .6; }
.fx-foot-col a:hover { color: var(--text); transform: translateX(3px); }
.fx-foot-bottom { max-width: 1100px; margin: 40px auto 0; padding: 18px 0; border-top: 1px solid var(--glass-b); display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text-faint); font-size: .82rem; }
.fx-foot-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.fx-foot-eq i { width: 3px; height: 100%; border-radius: 3px; background: linear-gradient(180deg, var(--accent), var(--brand)); animation: fxLogo .9s ease-in-out infinite alternate; transform-origin: bottom; }
.fx-foot-eq i:nth-child(2n) { animation-delay: -.4s; } .fx-foot-eq i:nth-child(3n) { animation-delay: -.7s; }
.fx-foot-word {
  text-align: center; position: relative;
  background: radial-gradient(300px circle at var(--fx-wx, 50%) 30%, color-mix(in srgb, var(--brand) 70%, var(--text)), transparent 70%),
              linear-gradient(180deg, color-mix(in srgb, var(--text) 16%, transparent), transparent 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 760px) {
  .fx-foot-grid { grid-template-columns: 1fr 1fr; }
  .fx-foot-brand { grid-column: span 2; }
  .fx-foot-bottom { flex-direction: column; text-align: center; }
}
body.fx .lyrics-line .tts-btn { margin-right: 8px; }
body.fx .vocab-card .pronunciation .ic { color: var(--accent); margin-right: 2px; }
.fx-footer .fx-brand .brand-text { color: var(--text); }

/* ================================================================
   3ª LEVA — fontes, ícones Phosphor duotone, nome HorizonEnglishTunes, barras com setas
   ================================================================ */

/* Fontes (licença OFL): Geist no texto, Bricolage Grotesque nos títulos */
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../vendor/fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../vendor/fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../vendor/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../vendor/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

body.fx { --font: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --font-display: 'Bricolage Grotesque', 'Geist', sans-serif; font-family: var(--font); }
body.fx button, body.fx input, body.fx select, body.fx textarea { font-family: var(--font); }
body.fx h1, body.fx h2, body.fx h3, body.fx .modal-title, body.fx .fx-title, body.fx .brand-text, body.fx .stat-tile .num,
body.fx .fx-film-num, body.fx .fx-foot-word, body.fx .flashcard-face .term-big, body.fx .vocab-card .term, body.fx .fx-cc-stats b {
  font-family: var(--font-display); font-optical-sizing: auto;
}
body.fx h1, body.fx .fx-title { font-weight: 800; letter-spacing: -0.035em; }
body.fx h2, body.fx h3 { font-weight: 700; letter-spacing: -0.02em; }
body.fx .fx-hero .fx-title { letter-spacing: -0.04em; }
body.fx .tab-bar a, body.fx .tab-btn, body.fx .btn { font-weight: 600; }
body.fx .lyrics-line .en { font-weight: 600; letter-spacing: -0.005em; }

/* Ícones duotone: camada de fundo na cor de destaque */
body.fx .btn-primary .ic, body.fx .tab-bar a.active .ic, body.fx .tab-btn.active .ic, body.fx .fx-dock a.active .ic, body.fx .fx-h-ic .ic, body.fx .fx-cat-on .ic { --ic2: #fff; --ic2o: .4; }
body.fx .fx-streak .ic { --ic2: #feca57; --ic2o: .6; }
body.fx .clip-btn-mini .ic, body.fx .fx-play .ic { --ic2o: 1; }

/* Marca: Horizon + EnglishTunes */
.fx-brand .brand-text { display: inline-flex; align-items: baseline; font-size: 1.12rem; }
.fx-brand-h { font-weight: 500; color: var(--text-dim); margin-right: 1px; letter-spacing: -0.02em; }
.fx-foot-word { font-size: clamp(2.6rem, 10.6vw, 9.6rem) !important; white-space: nowrap; }
@media (max-width: 760px) {
  body.fx .fx-nav .brand-text { display: block; font-size: .95rem; line-height: 1.05; }
  body.fx .fx-nav .fx-brand-h { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
  .fx-karaoke-toggle { flex-wrap: wrap; row-gap: 2px; }
  .fx-karaoke-toggle small { flex-basis: 100%; padding-left: 50px; }
}

/* ── Barras horizontais com setas (abas, categorias, coleções) — sem barra de rolagem ── */
.fx-scroller { position: relative; }
.fx-scroller.is-top { max-width: 1300px; margin: 0 auto; }
body.fx .fx-scroller > .fx-sc-inner { scrollbar-width: none !important; -ms-overflow-style: none; scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--ml, 0px), #000 calc(100% - var(--mr, 0px)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--ml, 0px), #000 calc(100% - var(--mr, 0px)), transparent 100%);
  transition: --ml .3s, --mr .3s;
}
body.fx .fx-scroller > .fx-sc-inner::-webkit-scrollbar { display: none !important; height: 0 !important; }
body.fx .fx-scroller > .tab-bar { padding-bottom: 12px; }
.fx-scroller.can-l > .fx-sc-inner { --ml: 70px; }
.fx-scroller.can-r > .fx-sc-inner { --mr: 70px; }
.fx-scroller.dragging > .fx-sc-inner { scroll-behavior: auto; cursor: grabbing; user-select: none; }
.fx-scroller.dragging > .fx-sc-inner a, .fx-scroller.dragging > .fx-sc-inner button { pointer-events: none; }
@property --ml { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --mr { syntax: '<length>'; inherits: true; initial-value: 0px; }
.fx-sc-btn {
  position: absolute; z-index: 6; top: var(--sc-y, 50%); width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--text);
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent); border: 1px solid var(--glass-b);
  box-shadow: 0 8px 24px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.04) inset;
  opacity: 0; pointer-events: none; transform: scale(.7); transition: opacity .25s, transform .3s cubic-bezier(.2,1.4,.4,1), border-color .2s, box-shadow .2s;
}
.fx-sc-btn .ic { width: 16px; height: 16px; }
.fx-sc-btn.l { left: 0; } .fx-sc-btn.r { right: 0; }
.fx-scroller.is-top .fx-sc-btn.l { left: 12px; } .fx-scroller.is-top .fx-sc-btn.r { right: 12px; }
.fx-scroller.can-l .fx-sc-btn.l, .fx-scroller.can-r .fx-sc-btn.r { opacity: 1; pointer-events: auto; transform: scale(1); }
.fx-sc-btn:hover { border-color: var(--brand); box-shadow: 0 8px 28px var(--brand-glow); }
.fx-sc-btn:active { transform: scale(.92); }

/* Categorias: o invólucro é que gruda embaixo do cabeçalho */
body.fx .fx-scroller.is-cats {
  position: sticky; top: var(--fx-nav-h, 112px); z-index: 20; margin: 0 -8px 18px; padding: 0 8px;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-b);
}
/* Abas da aula: segmento rolável quando não cabe */
body.fx .fx-scroller.is-tabs { margin: 36px 0 22px; }
body.fx .fx-scroller.is-tabs > .tabs { margin: 0; display: flex; width: max-content; max-width: 100%; overflow-x: auto; }
@media (hover: none) { .fx-sc-btn { width: 30px; height: 30px; margin-top: -15px; } .fx-scroller.can-l > .fx-sc-inner { --ml: 48px; } .fx-scroller.can-r > .fx-sc-inner { --mr: 48px; } }

body.fx .stat-tile .ic { color: #ff9f43; --ic2: #feca57; --ic2o: .55; filter: drop-shadow(0 0 8px rgba(255,159,67,.45)); }

/* ================================================================
   4ª LEVA — escolha de tema: Automático / Claro / Escuro
   ================================================================ */
.fx-theme { position: relative; }
.fx-theme summary { list-style: none; cursor: pointer; }
.fx-theme summary::-webkit-details-marker { display: none; }
.fx-th-ic { display: none; line-height: 0; }
html:not([data-theme]) .fx-th-auto, html[data-theme="light"] .fx-th-light, html[data-theme="dark"] .fx-th-dark { display: inline-grid; place-items: center; }
.fx-th-light .ic { color: #f6b93b; --ic2: #f6b93b; --ic2o: .45; }
.fx-th-dark .ic { color: #a29bfe; --ic2: #a29bfe; --ic2o: .4; }
.fx-theme summary .ic { animation: fxThemeIn .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes fxThemeIn { from { transform: rotate(-90deg) scale(.5); opacity: 0; } }
.fx-theme-menu { width: 230px; }
.fx-theme-menu button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--text-dim); font: 500 .92rem var(--font); text-align: left; transition: background .15s, color .15s;
}
.fx-theme-menu button small { margin-left: auto; color: var(--text-faint); font-size: .72rem; }
.fx-theme-menu button:hover { background: rgba(108,92,231,.14); color: var(--text); }
html:not([data-theme]) [data-theme-set="auto"], html[data-theme="light"] [data-theme-set="light"], html[data-theme="dark"] [data-theme-set="dark"] {
  color: var(--text) !important; background: rgba(108,92,231,.16) !important; box-shadow: 0 0 0 1px rgba(108,92,231,.45) inset;
}
/* Tema dentro do menu da conta (segmento de 3) */
.fx-menu-theme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; margin: 4px 2px 6px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-b); }
.fx-menu-theme button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 0; border-radius: 9px; cursor: pointer; background: transparent; color: var(--text-dim); font: 600 .72rem var(--font); transition: background .15s, color .15s; }
.fx-menu-theme button .ic { width: 20px; height: 20px; }
.fx-menu-theme button:hover { color: var(--text); }
@media (max-width: 760px) { .fx-theme-desk { display: none; } }

/* A troca de tema "se espalha" num círculo a partir do botão (View Transitions) */
html.fx-vt-theme::view-transition-old(root), html.fx-vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.fx-vt-theme::view-transition-old(root) { z-index: 1; }
html.fx-vt-theme::view-transition-new(root) { z-index: 2; }


/* Ajustes do modo claro (automático e escolhido) */
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) body.fx .fx-bar { background: rgba(20,20,60,.08); }
html:not([data-theme="dark"]) body.fx .fx-cats a .fx-cat-n { background: rgba(20,20,60,.07); }
html:not([data-theme="dark"]) body.fx .fx-search kbd { background: rgba(20,20,60,.04); }
html:not([data-theme="dark"]) body.fx .stats-row .stat-tile .num { background: linear-gradient(135deg, #191c24, #6c5ce7); -webkit-background-clip: text; background-clip: text; }
html:not([data-theme="dark"]) body.fx .fx-hero .fx-title { background: linear-gradient(180deg, #191c24 30%, #5a6072); -webkit-background-clip: text; background-clip: text; }
html:not([data-theme="dark"]) body.fx .fx-sc-btn { box-shadow: 0 8px 24px rgba(30,30,60,.15); }
html:not([data-theme="dark"]) body.fx .fx-dock { box-shadow: 0 14px 40px rgba(30,30,60,.18); }
html:not([data-theme="dark"]) body.fx .fx-menu { box-shadow: 0 24px 60px rgba(30,30,60,.18); }
html:not([data-theme="dark"]) body.fx .modal-box { box-shadow: 0 40px 120px rgba(30,30,60,.25); }
html:not([data-theme="dark"]) body.fx .lyrics-line:has(.clip-btn-mini.playing), html:not([data-theme="dark"]) body.fx .lyrics-line.fx-now { background: linear-gradient(90deg, rgba(108,92,231,.14), rgba(0,210,168,.06)); }
}
html[data-theme="light"] body.fx .fx-bar { background: rgba(20,20,60,.08); }
html[data-theme="light"] body.fx .fx-cats a .fx-cat-n { background: rgba(20,20,60,.07); }
html[data-theme="light"] body.fx .fx-search kbd { background: rgba(20,20,60,.04); }
html[data-theme="light"] body.fx .stats-row .stat-tile .num { background: linear-gradient(135deg, #191c24, #6c5ce7); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] body.fx .fx-hero .fx-title { background: linear-gradient(180deg, #191c24 30%, #5a6072); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] body.fx .fx-sc-btn { box-shadow: 0 8px 24px rgba(30,30,60,.15); }
html[data-theme="light"] body.fx .fx-dock { box-shadow: 0 14px 40px rgba(30,30,60,.18); }
html[data-theme="light"] body.fx .fx-menu { box-shadow: 0 24px 60px rgba(30,30,60,.18); }
html[data-theme="light"] body.fx .modal-box { box-shadow: 0 40px 120px rgba(30,30,60,.25); }
html[data-theme="light"] body.fx .lyrics-line:has(.clip-btn-mini.playing), html[data-theme="light"] body.fx .lyrics-line.fx-now { background: linear-gradient(90deg, rgba(108,92,231,.14), rgba(0,210,168,.06)); }

/* Etiqueta de nível legível no claro */
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) body.fx .lesson-meta .level-badge, html:not([data-theme="dark"]) body.fx .song-body .level-badge, html:not([data-theme="dark"]) body.fx .vocab-card .level-badge { background: rgba(108,92,231,.12); color: #5541d6; }
html:not([data-theme="dark"]) body.fx .lesson-meta .level-badge.iniciante, html:not([data-theme="dark"]) body.fx .song-body .level-badge.iniciante { background: rgba(0,168,132,.12); color: #00795f; }
html:not([data-theme="dark"]) body.fx .lesson-meta .level-badge.avancado, html:not([data-theme="dark"]) body.fx .song-body .level-badge.avancado { background: rgba(214,48,49,.1); color: #c0392b; }
}
html[data-theme="light"] body.fx .lesson-meta .level-badge, html[data-theme="light"] body.fx .song-body .level-badge, html[data-theme="light"] body.fx .vocab-card .level-badge { background: rgba(108,92,231,.12); color: #5541d6; }
html[data-theme="light"] body.fx .lesson-meta .level-badge.iniciante, html[data-theme="light"] body.fx .song-body .level-badge.iniciante { background: rgba(0,168,132,.12); color: #00795f; }
html[data-theme="light"] body.fx .lesson-meta .level-badge.avancado, html[data-theme="light"] body.fx .song-body .level-badge.avancado { background: rgba(214,48,49,.1); color: #c0392b; }

/* Modo claro com contraste de verdade (paleta revista 21/11) */
@media (prefers-color-scheme: light) {
html:not([data-theme="dark"]) body.fx { --bg: #e9ecf3; --bg-elevated: #ffffff; --bg-card: #ffffff; --bg-card-hover: #f6f7fb; --border: #cfd4e0; --text: #0f1219; --text-dim: #3d4455; --text-faint: #565e70; --brand: #5b48e0; --brand-dim: #4430c9; --brand-glow: rgba(91,72,224,.28); --accent: #00806a; --accent-dim: #006655; --glass: rgba(255,255,255,.88); --glass-b: rgba(15,18,40,.13); --shadow-soft: 0 10px 30px rgba(15,18,40,.10); }
html:not([data-theme="dark"]) body.fx .card, html:not([data-theme="dark"]) body.fx .vocab-card, html:not([data-theme="dark"]) body.fx .stat-tile { background: #fff; box-shadow: 0 1px 2px rgba(15,18,40,.06), 0 8px 24px rgba(15,18,40,.06); }
html:not([data-theme="dark"]) body.fx .fx-aurora { opacity: .32; }
html:not([data-theme="dark"]) body.fx .navbar { background: rgba(255,255,255,.86); }
html:not([data-theme="dark"]) body.fx .tab-bar a:not(.active):not(.fx-cat-on), html:not([data-theme="dark"]) body.fx .btn-secondary, html:not([data-theme="dark"]) body.fx .fx-search, html:not([data-theme="dark"]) body.fx .fx-icon-btn, html:not([data-theme="dark"]) body.fx .streak-pill { background: #fff; }
html:not([data-theme="dark"]) body.fx .btn-accent, html:not([data-theme="dark"]) body.fx .clip-btn.playing, html:not([data-theme="dark"]) body.fx .clip-btn-mini:hover, html:not([data-theme="dark"]) body.fx .fx-film-done { color: #fff; }
html:not([data-theme="dark"]) body.fx .lyrics-line .pt, html:not([data-theme="dark"]) body.fx .vocab-card .example { color: #3d4455; }
html:not([data-theme="dark"]) body.fx .section-label { color: #00735f; }
html:not([data-theme="dark"]) body.fx .tag { color: #3d4455; border-color: rgba(15,18,40,.18); }
html:not([data-theme="dark"]) body.fx .fx-rotate span { background-image: linear-gradient(90deg, #5b48e0, #7b5cf0, #00806a, #5b48e0); }
html:not([data-theme="dark"]) body.fx .fx-film-num { -webkit-text-stroke-color: rgba(255,255,255,.75); }
html:not([data-theme="dark"]) body.fx .fx-foot-word { background: radial-gradient(300px circle at var(--fx-wx, 50%) 30%, rgba(91,72,224,.55), transparent 70%), linear-gradient(180deg, rgba(15,18,40,.16), transparent 85%); -webkit-background-clip: text; background-clip: text; }
html:not([data-theme="dark"]) body.fx .tip-trigger { color: #7a4f00; }
html:not([data-theme="dark"]) body.fx .lesson-meta p.desc, html:not([data-theme="dark"]) body.fx .hero p, html:not([data-theme="dark"]) body.fx .fx-hero p { color: #3d4455; }
}
html[data-theme="light"] body.fx { --bg: #e9ecf3; --bg-elevated: #ffffff; --bg-card: #ffffff; --bg-card-hover: #f6f7fb; --border: #cfd4e0; --text: #0f1219; --text-dim: #3d4455; --text-faint: #565e70; --brand: #5b48e0; --brand-dim: #4430c9; --brand-glow: rgba(91,72,224,.28); --accent: #00806a; --accent-dim: #006655; --glass: rgba(255,255,255,.88); --glass-b: rgba(15,18,40,.13); --shadow-soft: 0 10px 30px rgba(15,18,40,.10); }
html[data-theme="light"] body.fx .card, html[data-theme="light"] body.fx .vocab-card, html[data-theme="light"] body.fx .stat-tile { background: #fff; box-shadow: 0 1px 2px rgba(15,18,40,.06), 0 8px 24px rgba(15,18,40,.06); }
html[data-theme="light"] body.fx .fx-aurora { opacity: .32; }
html[data-theme="light"] body.fx .navbar { background: rgba(255,255,255,.86); }
html[data-theme="light"] body.fx .tab-bar a:not(.active):not(.fx-cat-on), html[data-theme="light"] body.fx .btn-secondary, html[data-theme="light"] body.fx .fx-search, html[data-theme="light"] body.fx .fx-icon-btn, html[data-theme="light"] body.fx .streak-pill { background: #fff; }
html[data-theme="light"] body.fx .btn-accent, html[data-theme="light"] body.fx .clip-btn.playing, html[data-theme="light"] body.fx .clip-btn-mini:hover, html[data-theme="light"] body.fx .fx-film-done { color: #fff; }
html[data-theme="light"] body.fx .lyrics-line .pt, html[data-theme="light"] body.fx .vocab-card .example { color: #3d4455; }
html[data-theme="light"] body.fx .section-label { color: #00735f; }
html[data-theme="light"] body.fx .tag { color: #3d4455; border-color: rgba(15,18,40,.18); }
html[data-theme="light"] body.fx .fx-rotate span { background-image: linear-gradient(90deg, #5b48e0, #7b5cf0, #00806a, #5b48e0); }
html[data-theme="light"] body.fx .fx-film-num { -webkit-text-stroke-color: rgba(255,255,255,.75); }
html[data-theme="light"] body.fx .fx-foot-word { background: radial-gradient(300px circle at var(--fx-wx, 50%) 30%, rgba(91,72,224,.55), transparent 70%), linear-gradient(180deg, rgba(15,18,40,.16), transparent 85%); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] body.fx .tip-trigger { color: #7a4f00; }
html[data-theme="light"] body.fx .lesson-meta p.desc, html[data-theme="light"] body.fx .hero p, html[data-theme="light"] body.fx .fx-hero p { color: #3d4455; }

/* Aba do topo sob o mouse: fica transparente pra o destaque roxo (que desliza por trás) aparecer — no claro ela tinha fundo branco */
body.fx .tab-bar a.fx-hov { background: transparent !important; border-color: transparent !important; color: #fff !important; }
body.fx .tab-bar a.fx-hov .ic { --ic2: #fff; --ic2o: .4; }
/* Enquanto o destaque está em outra aba, a aba ativa volta a ter cara de aba normal (senão o texto branco some no claro) */
body.fx .tab-bar.fx-hovering a.active:not(.fx-hov) { background: var(--glass) !important; border-color: var(--glass-b) !important; color: var(--text) !important; }
body.fx .tab-bar.fx-hovering a.active:not(.fx-hov) .ic { --ic2: var(--accent); --ic2o: .35; }

/* Celular/tablet: sem setas nas barras (atrapalhavam tocar na 1ª e na última opção); rola com o dedo e o esmaecido da borda fica discreto */
@media (max-width: 900px), (pointer: coarse) {
  .fx-sc-btn { display: none !important; }
  .fx-scroller.can-l > .fx-sc-inner { --ml: 18px; }
  .fx-scroller.can-r > .fx-sc-inner { --mr: 18px; }
}

/* ═══ Fluidez (21/11): efeitos contínuos mais leves e pausados fora da tela ═══ */
/* fundo: a aurora só desliza (sem girar uma camada gigante) e fica numa camada própria */
.fx-bg { contain: strict; }
.fx-aurora { inset: -20%; }
@keyframes fxAurora { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-4%,3%,0) scale(1.06); } }
body.fx::after { will-change: transform; transform: translateZ(0); }
/* faixa de capas: sem máscara (redesenhava tudo a cada quadro) — bordas esfumadas por cima; e volta contínua sem pulo */
.fx-marquee { -webkit-mask-image: none !important; mask-image: none !important; position: relative; contain: layout paint; }
.fx-marquee::before, .fx-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none; }
.fx-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.fx-marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.fx-marquee-track { gap: 0 !important; will-change: transform; backface-visibility: hidden; }
.fx-mq-item { margin-right: 14px; }
/* animação contínua pausa quando o bloco sai da tela (classe colocada pelo pro.js) */
.is-fora, .is-fora *, .is-fora::before, .is-fora::after { animation-play-state: paused !important; }
/* listas longas: o navegador só desenha o que está perto da tela */
.fx-films > .fx-film { content-visibility: auto; contain-intrinsic-size: auto 340px; }
/* celular: sem efeitos pesados no fundo e vidro mais leve */
@media (max-width: 760px), (pointer: coarse) {
  .fx-aurora { animation: none !important; }
  body.fx::after { display: none; }
  body.fx .navbar, body.fx .fx-dock { -webkit-backdrop-filter: blur(8px) saturate(1.2) !important; backdrop-filter: blur(8px) saturate(1.2) !important; }
}
@media (prefers-reduced-motion: reduce) { .fx-aurora, .fx-marquee-track { animation: none !important; } }
/* botões ▶ das capas: sem vidro desfocado (24 desfoques recalculados na rolagem); fundo escuro translúcido no lugar */
body.fx .fx-play { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(12, 12, 24, .62) !important; }

/* Acompanhar na letra: palavra por palavra (mesmos tempos do karaokê) */
body.fx-karaoke .lyrics-line.fx-now .lw { background: linear-gradient(90deg, var(--fx-c2, #ff4d8d) var(--f, 0%), currentColor var(--f, 0%)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.fx-karaoke .lyrics-line.fx-now .lw.lw-on { --f: 100%; }
body.fx-karaoke .lyrics-line.fx-now .lw.lw-agora { text-shadow: 0 0 14px rgba(255, 77, 141, .35); }
