:root {
  --ac: 0 229 255;            /* cor do jogo em foco, trocada pelo app.js */
  --ac2: 168 85 247;
  --bg: #07070b;
  --ink: #f4f4f8;
  --mute: #9a9aae;
  --line: rgba(255,255,255,.09);
  --glass: rgba(18,18,28,.55);
  --ok: #34d399;
  --bad: #f87171;
  --warn: #fbbf24;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--body);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: --ac .8s;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
kbd {
  font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px;
  border: 1px solid var(--line); border-bottom-width: 2px; color: var(--mute); background: rgba(255,255,255,.04);
}
:focus-visible { outline: 2px solid rgb(var(--ac)); outline-offset: 3px; }

/* ---------- BOOT ---------- */
.boot {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 60%, #12122a 0%, #050508 70%);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
}
.boot.off { opacity: 0; filter: blur(20px) brightness(3); transform: scale(1.15); pointer-events: none; }
.boot-grid {
  position: absolute; inset: -50% -50% 0; transform: perspective(500px) rotateX(62deg);
  background:
    linear-gradient(rgba(0,229,255,.18) 1px, transparent 1px) 0 0/60px 60px,
    linear-gradient(90deg, rgba(0,229,255,.18) 1px, transparent 1px) 0 0/60px 60px;
  mask-image: linear-gradient(to top, #000 10%, transparent 75%);
  animation: grid 4s linear infinite; top: 55%;
}
@keyframes grid { to { background-position: 0 60px, 0 0; } }
.boot-core { position: relative; text-align: center; padding: 16px; }
.boot-logo { width: 180px; overflow: visible; filter: drop-shadow(0 0 18px rgba(0,229,255,.7)); }
.boot-logo .pad, .boot-logo .cross {
  fill: none; stroke: #00e5ff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.8s var(--ease) forwards;
}
.boot-logo .cross { animation-delay: .9s; stroke: #fff; }
.boot-logo .btn { fill: #a855f7; opacity: 0; animation: pop .4s var(--spring) forwards; }
.boot-logo .b1 { animation-delay: 1.3s; } .boot-logo .b2 { animation-delay: 1.45s; fill: #ff3d81; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); transform-origin: center; } to { opacity: 1; transform: none; } }
.boot-name {
  font-family: var(--display); font-weight: 900; font-size: clamp(30px, 7vw, 64px); letter-spacing: .04em;
  margin-top: 12px; opacity: 0; animation: rise .8s 1.2s var(--ease) forwards;
  background: linear-gradient(90deg, #fff, #00e5ff 50%, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.boot-name span, .brand span { color: #ff3d81; -webkit-text-fill-color: #ff3d81; }
.boot-start {
  margin-top: 44px; font-family: var(--mono); font-weight: 700; letter-spacing: .35em; font-size: 15px;
  padding: 16px 28px; border: 1px solid rgba(0,229,255,.4); border-radius: 999px;
  opacity: 0; animation: rise .6s 1.8s var(--ease) forwards, blink 1.4s 2.4s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(0,229,255,.25), inset 0 0 20px rgba(0,229,255,.12);
}
.boot-hint { margin-top: 16px; color: var(--mute); font-size: 13px; opacity: 0; animation: rise .6s 2.1s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { box-shadow: 0 0 60px rgba(0,229,255,.55), inset 0 0 30px rgba(0,229,255,.25); color: #00e5ff; } }

/* ---------- FUNDO ---------- */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg {
  position: absolute; inset: -4%; background-size: cover; background-position: center 30%;
  opacity: 0; transition: opacity 1.1s var(--ease); will-change: opacity, transform;
}
.bg.on { opacity: 1; animation: kenburns 24s ease-in-out infinite alternate; }
.bg.soft { filter: blur(38px) saturate(1.4); inset: -12%; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.09) translate(-1.5%, 1%); } }
.aurora {
  position: absolute; inset: -30%; mix-blend-mode: screen; opacity: .55;
  background:
    radial-gradient(40% 35% at 20% 30%, rgb(var(--ac) / .55), transparent 70%),
    radial-gradient(35% 30% at 80% 70%, rgb(var(--ac2) / .4), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate; filter: blur(30px);
  transition: background 1s;
}
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg); } }
.shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,11,.96) 0%, rgba(7,7,11,.75) 35%, rgba(7,7,11,.1) 70%),
    linear-gradient(0deg, rgba(7,7,11,1) 8%, rgba(7,7,11,.6) 42%, rgba(7,7,11,0) 70%),
    linear-gradient(180deg, rgba(7,7,11,.7), transparent 18%);
}
#particulas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.grain {
  position: absolute; inset: -100%; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} }
.spot {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgb(var(--ac) / .10), transparent 60%);
}

/* ---------- TOPO ---------- */
.top {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 24px;
  padding: 22px clamp(16px, 4vw, 56px) 0;
}
.brand { font-family: var(--display); font-weight: 900; font-size: 17px; letter-spacing: .05em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--ac)); box-shadow: 0 0 14px rgb(var(--ac)); transition: background .8s, box-shadow .8s; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--mute);
  transition: color .2s, background .25s, box-shadow .25s;
}
.chip:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.chip[aria-pressed="true"] { color: #0a0a10; background: var(--ink); box-shadow: 0 0 24px rgb(var(--ac) / .35); }
.chip .n { font-family: var(--mono); font-size: 11px; opacity: .55; margin-left: 6px; }
.top-right { display: flex; align-items: center; gap: 12px; }
.search {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: rgb(var(--ac) / .6); box-shadow: 0 0 0 4px rgb(var(--ac) / .12); }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--mute); stroke-width: 2; stroke-linecap: round; }
.search input { background: none; border: 0; outline: 0; color: var(--ink); font: 600 14px var(--body); width: 120px; }
.search input::-webkit-search-cancel-button { display: none; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); font-size: 16px;
}
.clock { text-align: right; line-height: 1.1; }
.clock span { font-family: var(--display); font-weight: 700; font-size: 18px; }
.clock small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--mute); white-space: nowrap; }

/* ---------- FOCO ---------- */
.home { position: relative; z-index: 2; min-height: calc(100vh - 70px); min-height: calc(100dvh - 70px); display: flex; flex-direction: column; }
.focus { padding: clamp(28px, 8vh, 96px) clamp(16px, 4vw, 56px) 20px; max-width: 760px; }
.f-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgb(var(--ac)); transition: color .8s; flex-wrap: wrap; }
.f-status { display: inline-flex; align-items: center; gap: 7px; letter-spacing: .08em; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--mute); }
.f-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.f-status.ok { color: var(--ok); } .f-status.ok::before { box-shadow: 0 0 0 0 var(--ok); animation: ping 1.8s infinite; }
.f-status.bad { color: var(--bad); } .f-status.lock { color: var(--warn); }
.f-status:empty { display: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px transparent; } }
.f-title {
  font-family: var(--display); font-weight: 900; margin: 14px 0 10px; line-height: .95; letter-spacing: -.01em;
  font-size: clamp(36px, 6.4vw, 88px); text-wrap: balance; min-height: 1em;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.f-title img { display: block; max-height: clamp(70px, 15vh, 150px); max-width: min(520px, 90%); object-fit: contain; object-position: left; filter: drop-shadow(0 8px 30px rgba(0,0,0,.7)); }
.f-title .ch { display: inline-block; opacity: 0; transform: translateY(.4em) rotateX(-70deg); animation: ch .55s var(--spring) forwards; }
@keyframes ch { to { opacity: 1; transform: none; } }
.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(-18px); filter: blur(8px); } }
.f-meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--mute); font-size: 14px; font-weight: 600; }
.f-meta span:not(:last-child)::after { content: "•"; margin-left: 8px; opacity: .5; }
.f-desc { font-size: 16.5px; line-height: 1.55; color: #d6d6e2; max-width: 600px; margin: 16px 0 26px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.f-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-play {
  position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 15px 30px 15px 24px; border-radius: 14px;
  font-weight: 800; font-size: 16px; color: #07070b; background: var(--ink); overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 40px rgb(var(--ac) / .35); transition: transform .25s var(--spring), box-shadow .25s;
}
.btn-play::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(var(--ac) / .55) 50%, transparent 70%);
  transform: translateX(-100%); animation: sheen 3.2s 1s infinite;
}
@keyframes sheen { 40%, 100% { transform: translateX(100%); } }
.btn-play:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 16px 50px rgb(var(--ac) / .55); }
.btn-play:active { transform: scale(.97); }
.btn-play .tri { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.btn-play[disabled] { background: rgba(255,255,255,.12); color: var(--mute); box-shadow: none; cursor: not-allowed; }
.btn-play[disabled]::before { display: none; }
.btn-play[disabled] .tri { display: none; }
.btn-play.big { padding: 18px 36px 18px 28px; font-size: 17px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 14px; font-weight: 700;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }

/* ---------- PRATELEIRA ---------- */
.shelf { margin-top: auto; padding-bottom: 8px; }
.shelf-head { display: flex; align-items: baseline; gap: 12px; padding: 0 clamp(16px, 4vw, 56px); }
.shelf-head h2 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 0; }
.count { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.pager { margin-left: auto; display: flex; gap: 6px; }
.pager button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 20px; line-height: 1; }
.pager button:hover { border-color: rgb(var(--ac) / .6); }
.rail {
  display: flex; gap: 18px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 26px clamp(16px, 4vw, 56px) 34px; scroll-padding: 0 clamp(16px, 4vw, 56px); perspective: 900px;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; flex: 0 0 auto; width: clamp(128px, 12.5vw, 184px); aspect-ratio: 2/3; border-radius: 16px;
  scroll-snap-align: start; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s var(--ease), box-shadow .35s, outline-color .2s;
  box-shadow: 0 12px 30px rgba(0,0,0,.55); outline: 2px solid transparent; outline-offset: 4px;
  opacity: 0; animation: cardIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; } }
.card .art { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: #15151f; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease), filter .4s; }
.card .glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: overlay; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.75), transparent 55%);
}
.card .rim { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.card .tag {
  position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; justify-content: space-between; align-items: center;
  transform: translateZ(30px);
}
.card .dot { width: 9px; height: 9px; border-radius: 50%; background: #555; box-shadow: 0 0 0 3px rgba(0,0,0,.5); }
.card .dot.ok { background: var(--ok); } .card .dot.bad { background: var(--bad); } .card .dot.lock { background: var(--warn); }
.card .mob { font-size: 10px; font-family: var(--mono); font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); }
.card.locked img { filter: grayscale(.85) brightness(.55); }
.card.locked .art::after { content: "🔒"; position: absolute; top: 10px; right: 10px; font-size: 16px; filter: drop-shadow(0 2px 6px #000); }
.card:hover .glare, .card.sel .glare { opacity: 1; }
.card.sel {
  outline-color: rgb(var(--ac)); transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px) scale(1.07);
  box-shadow: 0 26px 60px rgba(0,0,0,.7), 0 0 50px rgb(var(--ac) / .45);
}
.card.sel img { transform: scale(1.06); }
.card .name {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); font-size: 12.5px; font-weight: 700; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(-6px); transition: .3s var(--ease);
}
.card.sel .name { opacity: 1; transform: none; }
/* capa desenhada (jogo sem arte oficial) */
.gen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; overflow: hidden;
  background: radial-gradient(120% 80% at 0% 0%, var(--g1), transparent 60%), radial-gradient(120% 90% at 100% 100%, var(--g2), transparent 60%), #0d0d16; }
.gen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px); }
.gen b { position: relative; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4.2vw, 58px); line-height: .9; letter-spacing: -.02em; }
.gen span { position: relative; font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; line-height: 1.15; }
/* capa pequena da Wikipedia: fundo borrado + capa inteira por cima */
.card .art.fit { background-size: cover; background-position: center; }
.card .art.fit::before { content: ""; position: absolute; inset: -20px; background: inherit; filter: blur(16px) brightness(.6); }
.card .art.fit img { position: relative; object-fit: contain; }
.card.empty { display: grid; place-items: center; width: 100%; aspect-ratio: auto; color: var(--mute); opacity: 1; box-shadow: none; animation: none; }

/* ---------- RODAPÉ ---------- */
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 6px clamp(16px, 4vw, 56px) 22px; color: var(--mute); font-size: 12.5px; }
.foot p { margin: 0; max-width: 560px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.legend kbd { margin-right: 4px; }
.pad-hint { display: none; color: rgb(var(--ac)); font-weight: 700; }
.pad-hint.on { display: inline; animation: rise .4s var(--ease); }

/* ---------- FICHA ---------- */
.ficha {
  width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px; color: var(--ink); background: #0c0c13; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.8), 0 0 0 1px rgb(var(--ac) / .2), 0 0 100px rgb(var(--ac) / .2);
}
.ficha::backdrop { background: rgba(4,4,8,.6); backdrop-filter: blur(10px) saturate(1.2); }
.ficha[open] { animation: fichaIn .55s var(--spring); }
.ficha[open]::backdrop { animation: fade .4s; }
.ficha.closing { animation: fichaOut .3s var(--ease) forwards; }
@keyframes fichaIn { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes fichaOut { to { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes fade { from { opacity: 0; } }
.fi-bg { position: absolute; inset: 0; background-size: cover; background-position: center 25%; opacity: .5; }
.fi-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,19,.55), #0c0c13 62%), linear-gradient(0deg, #0c0c13 5%, transparent 60%); }
.fi-wrap { position: relative; display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(20px, 4vw, 48px); padding: clamp(20px, 4vw, 48px); max-height: calc(100dvh - 34px); overflow-y: auto; }
.fi-close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.5); border: 1px solid var(--line); font-size: 15px; }
.fi-close:hover { background: rgba(255,255,255,.12); }
.fi-cover-wrap { perspective: 900px; }
.fi-cover {
  aspect-ratio: 2/3; border-radius: 18px; background-size: cover; background-position: center; position: relative; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); transform: rotateY(-12deg) rotateX(4deg);
  animation: coverIn .9s var(--spring); transition: transform .4s var(--ease);
}
.fi-cover:hover { transform: rotateY(0) rotateX(0) scale(1.02); }
.fi-cover .gen b { font-size: 64px; }
.fi-cover.fit { background-size: contain; background-repeat: no-repeat; background-color: #111; }
@keyframes coverIn { from { transform: rotateY(-50deg) translateX(-40px); opacity: 0; } }
.fi-reflex { height: 60px; margin-top: 4px; border-radius: 18px; background-size: cover; background-position: bottom; transform: scaleY(-1); opacity: .18; mask-image: linear-gradient(to top, #000, transparent); filter: blur(2px); }
.fi-title { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 4.4vw, 54px); line-height: 1; margin: 12px 0 20px; text-wrap: balance; padding-right: 40px; }
.fi-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; margin: 0 0 22px; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.fi-specs div { background: rgba(12,12,19,.85); padding: 12px 14px; }
.fi-specs dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.fi-specs dd { margin: 4px 0 0; font-weight: 700; font-size: 14.5px; }
.fi-desc { font-size: 16px; line-height: 1.65; color: #d6d6e2; margin: 0 0 20px; max-width: 62ch; }
.fi-tips { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.fi-tips:empty { display: none; }
.fi-tips h3 { margin: 0 0 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--ac)); }
.fi-tips p { margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: #c9c9d6; }
.fi-tips p::before { content: "▸"; color: rgb(var(--ac)); }
.fi-block { display: none; gap: 12px; padding: 14px 16px; margin-bottom: 22px; border-radius: 14px; background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.3); color: #fde68a; font-size: 14px; line-height: 1.5; }
.fi-block.on { display: flex; }
.fi-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fi-link { color: var(--mute); font-family: var(--mono); font-size: 12.5px; text-decoration: none; border-bottom: 1px dashed var(--line); }
.fi-link:hover { color: var(--ink); }

/* ---------- INICIAR ---------- */
.launch { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; pointer-events: none; visibility: hidden; }
.launch.on { visibility: visible; pointer-events: auto; }
.l-cover { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.3); filter: blur(6px) saturate(1.3); }
.launch.on .l-cover { animation: lzoom 1.6s var(--ease) forwards; }
@keyframes lzoom { 0% { opacity: 0; transform: scale(1.35); } 30% { opacity: 1; } 100% { opacity: 1; transform: scale(1); filter: blur(0) saturate(1.3) brightness(.45); } }
.launch::before { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; }
.launch.on::before { animation: lflash 1.6s forwards; }
@keyframes lflash { 0% { opacity: 1; background: #fff; } 8% { opacity: .9; background: rgb(var(--ac)); } 25% { opacity: .2; background: #000; } 100% { opacity: .35; background: #000; } }
.l-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 2px, transparent 2px 4px); opacity: 0; }
.launch.on .l-scan { opacity: 1; transition: opacity .3s .2s; }
.l-info { position: relative; text-align: center; padding: 16px; opacity: 0; }
.launch.on .l-info { animation: rise .5s .25s var(--ease) forwards; }
.l-label { font-family: var(--mono); letter-spacing: .5em; font-size: 13px; color: rgb(var(--ac)); }
.l-title { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 6vw, 72px); margin: 12px 0 24px; text-shadow: 0 0 40px rgb(var(--ac) / .6); }
.l-bar { width: min(380px, 70vw); height: 4px; margin: 0 auto; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.l-bar i { display: block; height: 100%; width: 0; background: rgb(var(--ac)); box-shadow: 0 0 20px rgb(var(--ac)); }
.launch.on .l-bar i { animation: bar 1.1s .3s var(--ease) forwards; }
@keyframes bar { to { width: 100%; } }
.l-note { margin-top: 14px; color: var(--mute); font-size: 13px; }

/* ---------- CELULAR ---------- */
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 12px; padding-top: 16px; }
  .chips { order: 3; flex-basis: 100%; margin: 0 -16px; padding: 0 16px; }
  .top-right { margin-left: auto; gap: 8px; }
  .search input { width: 70px; }
  .search kbd, .clock small, .legend { display: none; }
  .focus { padding-top: 24px; }
  .f-title img { max-height: 80px; }
  .f-desc { font-size: 15px; -webkit-line-clamp: 3; margin: 12px 0 18px; }
  .btn-ghost kbd { display: none; }
  .btn-play, .btn-ghost { padding: 13px 20px; }
  .shade { background: linear-gradient(0deg, rgba(7,7,11,1) 30%, rgba(7,7,11,.55) 65%, rgba(7,7,11,.35)), linear-gradient(180deg, rgba(7,7,11,.6), transparent 20%); }
  .card { width: 118px; }
  .rail { gap: 14px; padding-top: 18px; }
  .pager { display: none; }
  .fi-wrap { grid-template-columns: 1fr; }
  .fi-cover-wrap { max-width: 170px; }
  .fi-reflex { display: none; }
  .fi-title { font-size: 30px; }
  .ficha { width: calc(100vw - 16px); border-radius: 22px; }
}
@media (hover: none) { .card .glare { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
