/* ═════════════════════════════════════════════════════════════
   THE SCORMS · gravura, refletor e vinil
   Breu de quarto, madeira, luz creme, laranja Pulcinella,
   vermelho Les Paul e o verde-azulado das Jams.
   ═════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Catalina'; src: url('../assets/fonts/Catalina_Typewriter_Regular.ttf?v=b8eb031d') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Catalina'; src: url('../assets/fonts/Catalina_Typewriter_Bold.ttf?v=ef25bc63') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --room: #120b07;
  --room-2: #1d120b;
  --wood: #8c4a22;
  --beam: #f3e3bd;
  --paper: #efe0bd;
  --ink: #170d07;
  --orange: #e0622a;
  --red: #b5302a;
  --teal: #2f8a85;
  --f-display: 'Bowlby One', 'Arial Black', Impact, sans-serif;
  --f-label: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Catalina', 'Courier Prime', 'Courier New', monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--room);
  color: var(--beam);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--beam); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--orange); color: var(--ink); }
h1, h2, h3, h4, p { text-wrap: pretty; }
h2, h3, h4 { text-wrap: balance; }

/* grão de gravura por cima de tudo */
.grain {
  position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ── botão fita de rotulador (Dymo) ───────────────────────── */
.dymo, .hud-btn, .pg-back, .btn-ink {
  --tape: #1d1410; --txt: var(--beam);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .62em 1.15em .58em;
  border: 0; border-radius: 2px;
  background: var(--tape); color: var(--txt);
  font-family: var(--f-label); font-weight: 800; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,.6), 0 -1px 0 rgba(255,255,255,.12);
  clip-path: polygon(0 12%, 6px 0, calc(100% - 6px) 0, 100% 12%, 100% 88%, calc(100% - 6px) 100%, 6px 100%, 0 88%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -3px 0 rgba(0,0,0,.35);
  transition: transform .35s var(--ease-out), background .25s, color .25s;
  text-decoration: none; white-space: nowrap;
}
.dymo:hover, .hud-btn:hover, .pg-back:hover, .btn-ink:hover { transform: translateY(-2px) rotate(-1deg); }
.dymo svg, .hud-btn svg, .pg-back svg, .btn-ink svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ═════ LOADER ═════════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background-color: #0b0604;
  background-image: radial-gradient(60% 50% at 50% 45%, rgba(243,227,189,.07), transparent 70%);
  padding: var(--gut);
}
.ld-stage { position: relative; width: min(62vmin, 380px); aspect-ratio: 1; }
.ld-disc { width: 100%; height: 100%; overflow: visible; }
.ld-spin { transform-box: fill-box; transform-origin: center; animation: spin 1.8s linear infinite; }
.ld-rpm { font-family: var(--f-label); font-weight: 800; font-size: 9px; letter-spacing: .2em; fill: var(--ink); }
.ld-arm { position: absolute; top: -11.2%; right: -12%; width: 56%; overflow: visible; filter: drop-shadow(0 8px 10px rgba(0,0,0,.6)); }
.ld-arm-rot { transform-box: view-box; transform-origin: 150px 40px; transition: transform .2s linear; }
.ld-status { margin: 0; font-family: var(--f-label); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .95rem; color: rgba(243,227,189,.75); display: flex; gap: .8em; }
.ld-pct { color: var(--orange); font-variant-numeric: tabular-nums; }
/* sem o número (depois de carregar) a frase fica sozinha e centrada: some o espaço do contador e o
   espaçamento que sobra depois da última letra */
.ld-pct:empty { display: none; }
.ld-label { margin-right: -.22em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═════ HOME ═══════════════════════════════════════════════ */
#home { position: fixed; inset: 0; overflow: hidden; background: #0b0604; }
#scene, #scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#scene { overflow: hidden; }
.sv { overflow: visible; pointer-events: none; will-change: transform; backface-visibility: hidden; }
.sv-spines .spine { pointer-events: auto; }
#svBeam { mix-blend-mode: screen; opacity: 0; }
.shade, .pool { position: absolute; left: -100vmax; top: -100vmax; width: 200vmax; height: 200vmax; pointer-events: none; will-change: transform; }
.shade { background: radial-gradient(var(--rx, 800px) var(--ry, 640px) at 50% 50%, rgba(11,6,4,0) 0%, rgba(11,6,4,.05) 36%, rgba(11,6,4,.5) 58%, rgba(11,6,4,.8) 78%, rgba(11,6,4,.92) 100%); }
.pool { background: radial-gradient(var(--rx, 540px) var(--ry, 300px) at 50% 50%, rgba(255,231,176,.28), rgba(255,231,176,0) 100%); mix-blend-mode: screen; opacity: 0; }
#dust { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.blackout { position: absolute; inset: 0; z-index: 5; background: #050302; }
.is-loading .home-ui { visibility: hidden; }

/* textos dentro da cena */
.spine-t { font-family: var(--f-label); font-weight: 900; font-size: 15px; letter-spacing: .16em; }
.spine-k { font-family: var(--f-label); font-weight: 900; font-size: 11px; }
.setlist-h { font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .2em; fill: var(--ink); }
.setlist-i { font-family: var(--f-body); font-size: 8.2px; fill: #3a2416; }
.cover-tag { font-family: var(--f-label); font-weight: 900; font-size: 12px; letter-spacing: .2em; fill: var(--red); }
.sign-sub { font-family: var(--f-label); font-weight: 800; font-size: 17px; letter-spacing: .32em; fill: #efc58a; opacity: .8; }
.label-t { font-family: var(--f-label); font-weight: 900; font-size: 8px; letter-spacing: .14em; fill: var(--ink); }
.amp-plate { font-family: var(--f-display); font-size: 10px; fill: var(--ink); }
.vu-t { font-family: var(--f-label); font-weight: 900; font-size: 9px; fill: var(--ink); opacity: .6; }
.tt-t { font-family: var(--f-label); font-weight: 800; font-size: 8px; fill: #c9c2b0; }

/* lombadas: saltam no hover e somem quando o disco sai */
.spine { cursor: pointer; outline: none; }
.spine-lift { transition: transform .45s var(--ease-out); }
.spine.is-hover .spine-lift, .spine:focus-visible .spine-lift { transform: translateY(-30px); }
.spine.is-hover .spine-glow, .spine:focus-visible .spine-glow { opacity: .55; transition: opacity .3s; }
.spine.is-out .spine-lift { transform: translateY(-60px); opacity: 0; transition: opacity .2s, transform .3s; }
.spine:not(.is-out) .spine-lift { transition: transform .7s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }

/* letreiro acende como neon falhando */
#logoSign { opacity: 0; }
#logoSign.neon-on { animation: neon 1.6s steps(1) .5s forwards; }
@keyframes neon { 0%{opacity:0} 8%{opacity:.8} 12%{opacity:.1} 22%{opacity:.9} 26%{opacity:.25} 40%{opacity:1} 44%{opacity:.6} 52%{opacity:1} 100%{opacity:1} }
.led-halo, .ember-halo { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { opacity: .35; } }

.home-ui { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.home-ui > * { pointer-events: auto; }
.page-open .home-ui, .page-opening .home-ui { visibility: hidden; }

.hud-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px var(--gut); pointer-events: none; }
.hud-top > * { pointer-events: auto; opacity: 0; }
.hud-tag { margin: 0; font-family: var(--f-label); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; font-size: .8rem; color: rgba(243,227,189,.62); display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.hud-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hud-btn svg { stroke-width: 1.8; }
.hud-btn .w1, .hud-btn .w2 { display: none; }
.hud-btn.is-on { --tape: var(--orange); --txt: var(--ink); text-shadow: 0 1px 0 rgba(255,255,255,.25); }
.hud-btn.is-on .w1, .hud-btn.is-on .w2 { display: inline; }
.hud-btn.is-on .x { display: none; }
#crateBtn[aria-expanded="true"] { --tape: var(--beam); --txt: var(--ink); text-shadow: none; }
/* cronovisor ligado: o botão de som fica apagado, sem as ondas, e só avisa */
.hud-btn.is-locked { --tape: #1d1410; --txt: rgba(243,227,189,.42); cursor: not-allowed; text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.hud-btn.is-locked:hover { transform: none; }
.hud-btn.is-locked .w1, .hud-btn.is-locked .w2 { display: none; }
.hud-btn.is-locked .x { display: inline; }
.snd-tip {
  position: absolute; bottom: calc(100% + 18px); z-index: 12; width: 250px; padding: 11px 16px 13px;
  display: flex; flex-direction: column; gap: 3px;
  background: var(--paper); color: var(--ink); border-top: 6px solid var(--orange); box-shadow: 0 18px 40px rgba(0,0,0,.55);
  transform: translateX(-50%) translateY(10px) rotate(-2deg); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .45s var(--ease-out);
}
.snd-tip::after { content: ''; position: absolute; left: calc(50% + var(--ax, 0px)); bottom: -9px; width: 18px; height: 18px; background: var(--paper); transform: translateX(-50%) rotate(45deg); }
.snd-tip.on { opacity: 1; transform: translateX(-50%) translateY(0) rotate(-2deg); }
.snd-k { font-family: var(--f-label); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .75rem; color: #6b4a2e; }
.snd-v { font-family: var(--f-label); font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; line-height: 1.15; text-wrap: balance; }

.hint { position: absolute; width: 230px; margin: 0; color: var(--beam); opacity: 0; pointer-events: none; }
.hint p { margin: 0; font-family: var(--f-body); font-style: italic; font-size: 1.05rem; transform: rotate(-4deg); text-shadow: 0 2px 10px #000; }
.hint-arrow { width: 150px; height: 112px; margin-left: 70px; fill: none; stroke: var(--beam); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hint-arrow path { stroke-dasharray: 220; stroke-dashoffset: 220; }
.hint.draw .hint-arrow path { animation: draw 1.1s .3s var(--ease-out) forwards; }
.hint.draw .hint-arrow path + path { animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.np { position: absolute; left: var(--gut); bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; background: rgba(18,11,7,.72); border-left: 3px solid var(--orange); opacity: 0; max-width: calc(100vw - 2 * var(--gut)); }
.np-dot { width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle, var(--orange) 0 28%, #1a120e 30% 100%); box-shadow: inset 0 0 0 2px #2a1f18; animation: spin 1.8s linear infinite; position: relative; }
.np { cursor: pointer; transition: background .2s; }
.np:hover, .np:focus-visible { background: rgba(18,11,7,.88); outline: none; }
.np.is-off { border-left-color: #6d6460; }
.np.is-off:hover, .np.is-off:focus-visible { border-left-color: var(--orange); }
.np.is-off .np-dot { animation-play-state: paused; background: radial-gradient(circle, #6d6460 0 28%, #1a120e 30% 100%); }
.np.is-off .np-v { color: var(--orange); }
.np-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 2px, rgba(255,255,255,.05) 2px 3px); }
.np-text { display: flex; flex-direction: column; min-width: 0; }
.np-k { font-family: var(--f-label); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .7rem; color: rgba(243,227,189,.6); }
/* o nome da música sempre inteiro: quebra linha em vez de cortar com reticências */
.np-v { font-family: var(--f-label); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; line-height: 1.15; text-wrap: balance; }

.shelf-tip {
  position: absolute; z-index: 12; transform: translate(-50%, -100%) translateY(10px) rotate(-2deg); opacity: 0; pointer-events: none;
  display: flex; flex-direction: column; gap: 2px; min-width: 220px; max-width: 280px; padding: 12px 16px 14px;
  background: var(--paper); color: var(--ink); border-top: 6px solid var(--c, var(--orange));
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  transition: opacity .25s, transform .45s var(--ease-out);
}
.shelf-tip::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: var(--paper); transform: translateX(-50%) rotate(45deg); }
.shelf-tip.on { opacity: 1; transform: translate(-50%, -100%) translateY(0) rotate(-2deg); }
.st-side { font-family: var(--f-label); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .75rem; color: #6b4a2e; }
.st-title { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.st-blurb { font-size: .9rem; }

.crate {
  position: absolute; top: 74px; right: var(--gut); z-index: 20; width: min(380px, calc(100vw - 2 * var(--gut)));
  max-height: calc(100dvh - 100px); overflow: auto;
  border: 2px solid #070707; padding: 18px 16px;
  /* chapa de ferro como a base do cronovisor: escovado, rebites nos cantos, reflexo ciano em cima e dois
     brilhos leves na diagonal */
  background:
    radial-gradient(circle at 10px 10px, #b3aa9c 0 1.6px, #4a443d 2.4px, rgba(0,0,0,.6) 3.6px, transparent 4.6px),
    radial-gradient(circle at calc(100% - 10px) 10px, #b3aa9c 0 1.6px, #4a443d 2.4px, rgba(0,0,0,.6) 3.6px, transparent 4.6px),
    radial-gradient(circle at 10px calc(100% - 10px), #b3aa9c 0 1.6px, #4a443d 2.4px, rgba(0,0,0,.6) 3.6px, transparent 4.6px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #b3aa9c 0 1.6px, #4a443d 2.4px, rgba(0,0,0,.6) 3.6px, transparent 4.6px),
    linear-gradient(180deg, rgba(150,225,255,.08), transparent 120px),
    linear-gradient(112deg, transparent 22%, rgba(255,255,255,.045) 30%, transparent 38%, transparent 64%, rgba(255,255,255,.03) 70%, transparent 76%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #2e2b28, #1c1a18 50%, #121110);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.04), 0 30px 60px rgba(0,0,0,.6);
}
.crate-k { margin: 0 4px 10px; font-family: var(--f-label); font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .78rem; color: rgba(243,227,189,.65); }
.crate-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.crate-list button {
  width: 100%; display: grid; grid-template-columns: 30px auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  padding: 10px 12px; border: 0; color: var(--beam);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.22)), rgba(10,10,10,.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.6);
  border-left: 5px solid var(--c); transition: transform .3s var(--ease-out), background .2s;
}
.crate-list button:hover, .crate-list button:focus-visible { transform: translateX(-6px); background: rgba(243,227,189,.08); }
.cr-dot { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, var(--c) 0 30%, #120b07 32%); box-shadow: inset 0 0 0 1px #3a2a22; }
.cr-side { font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,227,189,.55); }
.cr-title { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.1; }
.cr-blurb { grid-column: 2 / 4; font-size: .85rem; color: rgba(243,227,189,.7); }
/* o cronovisor no menu: borda e tela em ciano, como o arco do tubo */
.crate-list .cr-tv { --c: #22d3ff; margin-top: 6px; }
.cr-tv .cr-dot { border-radius: 7px; background: radial-gradient(circle at 50% 45%, #bff5ff 0 12%, #22d3ff 30%, #0a3d66 62%, #07141d 75%); box-shadow: inset 0 0 0 2px #1d2a30, 0 0 12px rgba(34,211,255,.45); }
.cr-tv .cr-side { color: #9fe8ff; }

/* ═════ CAPA VOANDO ════════════════════════════════════════ */
#flight { position: fixed; inset: 0; z-index: 80; pointer-events: none; display: none; perspective: 1400px; }
#flight.on { display: block; }
.fl-wrap { position: absolute; top: 0; left: 0; transform-style: preserve-3d; will-change: transform; }
.fl-sleeve { position: absolute; inset: 0; transform-style: preserve-3d; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
.fl-front { position: absolute; inset: 0; background-color: var(--ink); background-size: cover; border: 3px solid var(--ink); }
.fl-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 35%, transparent 70%, rgba(0,0,0,.3)); }
/* o verso da capa é igual pra todo disco: papelão preto com a marca de uso do vinil, a borda gasta
   e o nome em relevo seco, sem a cor de cada página */
.fl-spine { position: absolute; inset: 0; display: grid; place-items: center; border: 3px solid #050505;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 17%, rgba(255,255,255,.035) 18% 19%, transparent 20% 44%, rgba(255,255,255,.06) 45.5%, rgba(255,255,255,.015) 47%, transparent 48.5%),
    linear-gradient(118deg, rgba(255,255,255,.1) 0, transparent 22%, transparent 64%, rgba(255,255,255,.04) 78%, transparent 86%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #2b2b2d, #161617 46%, #0b0b0c);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.13), inset -3px -3px 0 rgba(0,0,0,.7), inset 0 0 0 7px rgba(0,0,0,.25), inset 0 0 60px rgba(0,0,0,.65); }
.fl-spine::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(0,0,0,.6); pointer-events: none; }
.fl-spine span { writing-mode: vertical-rl; font-family: var(--f-label); font-weight: 900; letter-spacing: .2em; text-transform: uppercase; font-size: 18px; color: #1c1c1e; text-shadow: -1px -1px 0 rgba(0,0,0,.85), 1px 1px 0 rgba(255,255,255,.12); }
.fl-disc, .sl-disc {
  position: absolute; inset: 3%; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(255,255,255,.04) 34.5% 35%, transparent 35.5%),
    repeating-radial-gradient(circle, #15100d 0 1.5px, #221a15 1.5px 3px),
    #120b07;
  box-shadow: 0 10px 40px rgba(0,0,0,.6), inset 0 0 0 2px #000;
}
.fl-disc::after, .sl-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 10%, rgba(255,244,214,.14) 14%, transparent 20% 60%, rgba(255,244,214,.1) 64%, transparent 70%); }
.fl-label, .sl-label { position: absolute; inset: 33%; border-radius: 50%; background: var(--c, var(--orange)); display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--ink); }
/* o selo do vinil da transição também é um só: preto fosco com o símbolo, um anel de brilho e o furo */
.fl-label { background: radial-gradient(circle at 50% 50%, #050505 0 4%, transparent 4.5%), radial-gradient(circle at 34% 28%, #3a3a3d, #1d1d1f 55%, #0e0e0f); box-shadow: inset 0 0 0 2px #000, inset 0 0 0 5px rgba(255,255,255,.06), inset 0 2px 3px rgba(255,255,255,.12), 0 0 0 1px rgba(255,255,255,.05); }
.fl-label img, .sl-label img { width: 78%; }

/* ═════ PÁGINAS ════════════════════════════════════════════ */
.page {
  --fg: var(--ink); --fg-2: rgba(23,13,7,.72); --line: rgba(23,13,7,.22); --panel: rgba(23,13,7,.08);
  position: fixed; inset: 0; z-index: 50; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--fg) transparent;
  background-color: var(--c); color: var(--fg); outline: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(23,13,7,.045) 0 1.5px, transparent 1.5px 7px),
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(120% 100% at 50% 120%, rgba(0,0,0,.28), transparent 60%);
  background-attachment: local;
}
.page.is-dark { --fg: var(--beam); --fg-2: rgba(243,227,189,.78); --line: rgba(243,227,189,.24); --panel: rgba(0,0,0,.22); }

.pg-bar { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gut) 22px; pointer-events: none; background: linear-gradient(to bottom, var(--c) 58%, transparent); }
.pg-bar > * { pointer-events: auto; }
.pg-back { --tape: var(--ink); }
.page.is-dark .pg-back { --tape: var(--beam); --txt: var(--ink); text-shadow: none; }
.pg-logo { width: 120px; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); }
.page.is-light .pg-logo { filter: invert(1) drop-shadow(0 2px 0 rgba(255,255,255,.2)); }

.pg-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 96px);
  padding: clamp(24px, 6vh, 70px) var(--gut) clamp(48px, 9vh, 110px); min-height: min(86vh, 820px);
}
.pg-sleeve { position: relative; width: clamp(200px, 30vw, 420px); aspect-ratio: 1; margin-right: clamp(60px, 12vw, 170px); opacity: 0; }
.pg-sleeve.is-landed { opacity: 1; }
.sl-cover { position: absolute; inset: 0; background-size: cover; background-color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.sl-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 35%, transparent 70%, rgba(0,0,0,.28)); }
.sl-disc { transform: translateX(42%); animation: discSpin 2.2s linear infinite; }
@keyframes discSpin { from { transform: translateX(42%) rotate(0); } to { transform: translateX(42%) rotate(360deg); } }
.pg-sleeve:hover .sl-disc { animation-duration: .9s; }

.pg-k { margin: 0 0 .6em; font-family: var(--f-label); font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .9rem; color: var(--fg-2); }
.pg-title { margin: 0; font-family: var(--f-display); font-weight: 400; white-space: nowrap; font-size: clamp(2.6rem, 6.6vw, 7.6rem); line-height: .88; letter-spacing: -.01em; }
.pg-title .w { display: inline-block; white-space: nowrap; overflow: hidden; padding-bottom: .06em; vertical-align: top; }
.pg-title .ch { display: inline-block; will-change: transform; }
.pg-lede { margin: .9em 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--fg); }

.block { position: relative; padding: clamp(40px, 8vh, 90px) var(--gut); }
.blk-title { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 5vw, 4rem); line-height: .95; }
.blk-lede { margin: .6em 0 2em; max-width: 46ch; color: var(--fg-2); }
.sim-note { margin: 18px 0 0; font-size: .82rem; color: var(--fg-2); }
.sim-note code { font-family: var(--f-body); background: var(--panel); padding: .1em .35em; }

[data-reveal] { opacity: 0; transform: translateY(34px) rotate(-.6deg); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

.btn-ink { --tape: var(--ink); --txt: var(--beam); }
.page.is-dark .btn-ink { --tape: var(--beam); --txt: var(--ink); text-shadow: none; }
.btn-ghost, .page.is-dark .btn-ghost { --tape: transparent; --txt: var(--fg); box-shadow: inset 0 0 0 2px currentColor; text-shadow: none; }

.pg-next { padding: clamp(40px, 10vh, 120px) var(--gut) clamp(50px, 12vh, 140px); border-top: 2px dashed var(--line); }
.next-btn { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: left; border: 0; background: none; padding: 0; color: var(--fg); }
.next-k { font-family: var(--f-label); font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .9rem; color: var(--fg-2); grid-column: 1; }
.next-t { font-family: var(--f-display); font-size: clamp(2.6rem, 9vw, 8rem); line-height: .9; grid-column: 1; transition: transform .6s var(--ease-out); }
.next-disc { grid-column: 2; grid-row: 1 / 3; width: clamp(80px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--n) 0 30%, #120b07 31%), #120b07; box-shadow: inset 0 0 0 2px #000, 0 20px 40px rgba(0,0,0,.4); position: relative; transition: transform .8s var(--ease-out); }
.next-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 3px, rgba(255,255,255,.05) 3px 4px), conic-gradient(from 30deg, transparent 0 10%, rgba(255,244,214,.14) 14%, transparent 20%); }
.next-btn:hover .next-t, .next-btn:focus-visible .next-t { transform: translateX(14px); }
.next-btn:hover .next-disc, .next-btn:focus-visible .next-disc { transform: translateX(-20px) rotate(240deg); }

/* ── A BANDA ─────────────────────────────────────────────── */

.tarot-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); max-width: 1100px; }
.tarot-cell { opacity: 0; transform: translateY(40px) rotate(calc((var(--k) - 2.5) * 2deg)); transition: opacity .8s var(--ease-out) calc(var(--k) * 80ms), transform 1s var(--ease-out) calc(var(--k) * 80ms); }
.tarot-cell.in { opacity: 1; transform: rotate(calc((var(--k) - 2.5) * .8deg)); }
.tarot { width: 100%; aspect-ratio: 7 / 11.5; padding: 0; border: 0; background: none; perspective: 1200px; display: block; }
.tarot-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.tarot[aria-pressed="true"] .tarot-in { transform: rotateY(180deg); }
@media (hover: hover) { .tarot:hover .tarot-in { transform: rotateY(180deg); } .tarot[aria-pressed="true"]:hover .tarot-in { transform: none; } }
.tarot-front, .tarot-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; padding: 8%; border: 3px solid var(--ink); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.tarot-front { background: var(--paper); color: var(--ink); background-image: repeating-linear-gradient(45deg, rgba(23,13,7,.06) 0 1px, transparent 1px 5px); }
.tarot-front::before { content: ''; position: absolute; inset: 10px; border: 1.5px solid var(--ink); pointer-events: none; }
.t-num { font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1; margin-bottom: 6%; }
.t-win { flex: 1; width: 100%; border-radius: 999px 999px 4px 4px; overflow: hidden; border: 2px solid var(--ink); background: var(--c); position: relative; display: grid; place-items: end center; }
.t-win img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: multiply; }
.t-win::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(23,13,7,.12) 0 1px, transparent 1px 4px); }
.t-sil { width: 80%; color: #3a1f12; }
.t-arc { margin-top: 6%; font-family: var(--f-label); font-weight: 900; letter-spacing: .2em; text-transform: uppercase; font-size: clamp(.8rem, 1.3vw, 1.05rem); text-align: center; }
.t-new { position: absolute; top: 18px; right: -8px; background: var(--red); color: var(--beam); font-family: var(--f-label); font-weight: 800; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: 4px 10px; transform: rotate(8deg); }
.tarot-back { transform: rotateY(180deg); background: var(--ink); color: var(--beam); justify-content: center; text-align: center; gap: .7em; background-image: radial-gradient(circle at 50% 40%, rgba(224,98,42,.25), transparent 60%); }
.t-name { font-family: var(--f-display); font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: 1; }
.t-role { font-family: var(--f-label); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: var(--orange); }
.t-note { font-size: .92rem; line-height: 1.4; }
.t-fav { display: flex; flex-direction: column; font-family: var(--f-label); font-weight: 800; font-size: 1.05rem; }
.t-fav small { font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .65; }
.tarot-cap { margin: 14px 0 0; display: flex; flex-direction: column; }
.tarot-cap strong { font-family: var(--f-label); font-weight: 900; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.tarot-cap span { font-size: .9rem; color: var(--fg-2); }

.dict { max-width: 900px; }
.dict-word { margin: 0; font-family: var(--f-display); font-size: clamp(2.6rem, 8vw, 6rem); line-height: .95; }
.dict-class { margin: .2em 0 1em; font-style: italic; color: var(--fg-2); }
.dict-defs { margin: 0; padding-left: 1.4em; display: grid; gap: .7em; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 52ch; }
.dict-ex { margin: 1.4em 0 0; font-style: italic; color: var(--fg-2); max-width: 52ch; }

/* ── PLAYLISTS ───────────────────────────────────────────── */
.pl { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pl-player { position: sticky; top: 90px; }
.tt { width: 100%; }
.tt-plinth { position: relative; aspect-ratio: 1928 / 1771; filter: drop-shadow(0 24px 30px rgba(0,0,0,.5)); }
/* a vitrola 3D em camadas (prep-vitrola.py): a base parada, o disco girando, o reflexo parado por cima e o braço */
.tt-base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tt-disc, .tt-brilho { position: absolute; left: 9.232%; top: 12.366%; width: 69.295%; aspect-ratio: 1; display: block; }
.tt-disc { animation: spin 1.8s linear infinite; }
.tt-disc img { display: block; width: 100%; height: 100%; }
.tt-arm { --a: 18deg; position: absolute; left: 65.041%; top: 10.954%; width: 24.015%; transform-origin: 94.6% 1.57%; transform: rotate(calc(var(--a) - 18deg)); transition: transform .7s var(--ease-out); filter: drop-shadow(-3px 6px 4px rgba(0,0,0,.45)); }
.tt-arm img { display: block; width: 100%; height: auto; transform-origin: 94.6% 1.57%; }
.tt-led { position: absolute; left: 12.4%; top: 87.86%; width: 8%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255,80,50,.8), transparent 68%); mix-blend-mode: screen; animation: pulse 2s infinite; }
.pl-now-k { margin: 22px 0 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .8rem; color: var(--fg-2); }
.pl-now { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; }
.pl-track { margin: .4em 0 1em; color: var(--fg-2); min-height: 1.5em; }
.crate-row { list-style: none; margin: 0 0 30px; padding: 18px 4px 18px; display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
.crate-row::-webkit-scrollbar { display: none; }
.crate-sleeve { width: 150px; flex: none; text-align: left; padding: 0; border: 0; background: none; color: var(--fg); transition: transform .5s var(--ease-out); }
.cs-art { display: block; aspect-ratio: 1; background: var(--c); border: 3px solid var(--ink); position: relative; overflow: hidden; box-shadow: 0 12px 24px rgba(0,0,0,.25); background-image: repeating-linear-gradient(45deg, rgba(23,13,7,.12) 0 1px, transparent 1px 6px); }
.cs-ring { position: absolute; inset: 14%; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 0 0 0 10px rgba(23,13,7,.12), inset 0 0 0 14px rgba(23,13,7,.12); }
.cs-ring::after { content: ''; position: absolute; inset: 40%; border-radius: 50%; background: var(--ink); }
.cs-t { display: block; margin-top: 10px; font-family: var(--f-label); font-weight: 900; font-size: 1.05rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .04em; }
.cs-s { display: block; font-size: .8rem; color: var(--fg-2); }
.crate-sleeve:hover { transform: translateY(-8px) rotate(-1.5deg); }
.crate-sleeve.is-on { transform: translateY(-14px); }
.crate-sleeve.is-on .cs-art { outline: 3px solid var(--fg); outline-offset: 4px; }
.pl-head h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; }
.pl-head p { margin: .3em 0 0; color: var(--fg-2); }
.side-k { margin: 28px 0 8px; font-family: var(--f-label); font-weight: 900; letter-spacing: .3em; text-transform: uppercase; font-size: .85rem; color: var(--fg-2); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.trk-list { list-style: none; margin: 0; padding: 0; }
.trk-list li { display: flex; align-items: center; border-bottom: 1px dashed var(--line); }
.trk { flex: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, .8fr); gap: 12px; align-items: baseline; text-align: left; padding: 11px 6px; border: 0; background: none; color: var(--fg); transition: background .2s, padding .3s var(--ease-out); }
.trk:hover, .trk.is-on { background: var(--panel); padding-left: 14px; }
.trk-n { font-family: var(--f-label); font-weight: 900; color: var(--fg-2); }
.trk-s { font-family: var(--f-label); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; }
.trk-a { font-size: .9rem; color: var(--fg-2); }
.trk-new { display: inline-block; margin-left: 8px; font-style: normal; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--beam); padding: 2px 6px; vertical-align: middle; }
.page.is-dark .trk-new { background: var(--beam); color: var(--ink); }
.trk-l { padding: 10px; color: var(--fg-2); }
.trk-l svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.trk-l:hover { color: var(--fg); }
.pl-embed iframe { border: 0; margin-top: 24px; }

/* ── AO VIVO ─────────────────────────────────────────────── */
.pg-hero--video { overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: grayscale(1) contrast(1.25) brightness(1.25); mix-blend-mode: multiply; opacity: .9; }
.pg-hero--video::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(37,7,7,.55), transparent 60%), linear-gradient(0deg, var(--c), transparent 30%); }
.ticket-wrap { display: grid; justify-items: start; }
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) 150px; width: min(1000px, 100%); color: var(--ink); filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); transform: rotate(-1deg); }
.tk-main, .tk-stub {
  background: var(--paper);
  background-image: repeating-linear-gradient(0deg, rgba(23,13,7,.05) 0 1px, transparent 1px 26px);
  -webkit-mask: radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right / 51% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right / 51% 51% no-repeat, linear-gradient(#000, #000) left / 50% 100% no-repeat;
  mask: radial-gradient(circle 14px at 100% 0, transparent 13px, #000 14px) top right / 51% 51% no-repeat, radial-gradient(circle 14px at 100% 100%, transparent 13px, #000 14px) bottom right / 51% 51% no-repeat, linear-gradient(#000, #000) left / 50% 100% no-repeat;
}
.tk-main { padding: clamp(24px, 4vw, 46px); }
.tk-stub {
  -webkit-mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left / 51% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left / 51% 51% no-repeat, linear-gradient(#000, #000) right / 50% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 0, transparent 13px, #000 14px) top left / 51% 51% no-repeat, radial-gradient(circle 14px at 0 100%, transparent 13px, #000 14px) bottom left / 51% 51% no-repeat, linear-gradient(#000, #000) right / 50% 100% no-repeat;
  border-left: 3px dashed rgba(23,13,7,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 10px; text-align: center; background-color: var(--orange);
}
.tk-stub-n { font-family: var(--f-label); font-weight: 900; letter-spacing: .2em; font-size: .85rem; }
.tk-stub-t { font-family: var(--f-display); writing-mode: vertical-rl; transform: rotate(180deg); font-size: 1.5rem; line-height: 1; }
.tk-stub-d { font-family: var(--f-label); font-weight: 900; font-size: 1.1rem; text-transform: uppercase; }
.tk-k { margin: 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .28em; text-transform: uppercase; font-size: .8rem; color: var(--red); }
.tk-title { margin: .1em 0 .2em; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .9; }
.tk-note { margin: 0 0 1.2em; }
.tk-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 0 0 24px; }
.tk-meta div { border-top: 2px solid var(--ink); padding-top: 6px; }
.tk-meta dt { font-family: var(--f-label); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; opacity: .7; }
.tk-meta dd { margin: 0; font-family: var(--f-label); font-weight: 800; font-size: 1.15rem; }
.tk-count { display: flex; gap: clamp(8px, 2vw, 18px); margin-bottom: 24px; flex-wrap: wrap; }
.tk-c { display: flex; flex-direction: column; align-items: center; background: var(--ink); color: var(--beam); padding: 10px 12px 8px; min-width: 74px; }
.tk-n { font-family: var(--f-label); font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.tk-n.flip { animation: flip .5s var(--ease-out); }
@keyframes flip { from { transform: translateY(-40%) rotateX(80deg); opacity: .2; } }
.tk-u { font-family: var(--f-label); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; opacity: .7; }
.tk-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ticket .btn-ink { --tape: var(--ink); --txt: var(--beam); text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.ticket .btn-ghost { --tape: transparent; --txt: var(--ink); text-shadow: none; }
.stubs { list-style: none; margin: 30px 0 40px; padding: 0; display: grid; gap: 18px; max-width: 1000px; }
.stub { display: grid; grid-template-columns: 140px minmax(0, 1fr) 96px; gap: 20px; align-items: center; padding: 18px 20px; background: var(--panel); border-left: 6px solid var(--fg); opacity: 0; transform: translateX(-40px); transition: opacity .7s var(--ease-out) calc(var(--k) * 70ms), transform .9s var(--ease-out) calc(var(--k) * 70ms); }
.stub.in { opacity: 1; transform: none; }
.stub-date { font-family: var(--f-label); font-weight: 900; font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.stub-body h4 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1; }
.stub-where { margin: .2em 0 .4em; font-family: var(--f-label); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--fg-2); }
.stub-body p:last-child { margin: 0; font-size: .95rem; }
.stub-poster { width: 96px; aspect-ratio: .574; padding: 0; border: 2px solid var(--ink); background: var(--ink); transform: rotate(3deg); transition: transform .4s var(--ease-out); overflow: hidden; }
.stub-poster img { width: 100%; height: 100%; object-fit: cover; }
.stub-poster:hover { transform: rotate(-2deg) scale(1.08); }
.stub-poster.is-empty { display: grid; place-items: center; background: transparent; border-style: dashed; border-color: var(--line); transform: none; }
.stub-poster.is-empty span { font-size: .72rem; color: var(--fg-2); text-align: center; }
.go-card { display: flex; align-items: center; gap: 18px; width: min(1000px, 100%); text-align: left; padding: 22px 26px; border: 3px solid var(--fg); background: none; color: var(--fg); transition: background .3s, color .3s; }
.go-card:hover { background: var(--fg); color: var(--c); }
.go-k { font-family: var(--f-label); font-weight: 900; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; }
.go-t { flex: 1; font-family: var(--f-display); font-size: clamp(1.2rem, 2.6vw, 2rem); line-height: 1.05; }
.go-card svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── CARTAZES (quarto) ───────────────────────────────────── */
.room-wrap { position: relative; height: 100dvh; margin-top: -68px; }
.room-scroll { position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; }
.room-scroll::-webkit-scrollbar { display: none; }
.room-scroll.is-drag { cursor: grabbing; }
.room { display: block; height: 100%; width: max(100%, 200dvh); }
.poster { cursor: pointer; outline: none; }
.poster-swing { transform-box: fill-box; transform-origin: 50% 0; transform: rotate(var(--r)); transition: transform .7s cubic-bezier(.3, 1.7, .5, 1); }
.poster:hover .poster-swing, .poster:focus-visible .poster-swing { transform: rotate(calc(var(--r) * -.6)) scale(1.04); }
.poster:focus-visible .poster-edge { stroke: var(--beam); stroke-width: 6; }
.bulb { animation: twinkle var(--dur) ease-in-out var(--d) infinite; }
@keyframes twinkle { 50% { opacity: .35; } }
.star { animation: twinkle 3s ease-in-out var(--d) infinite; }
.lb1 { animation: lava1 7s ease-in-out infinite; } .lb2 { animation: lava2 9s ease-in-out infinite; } .lb3 { animation: lava1 11s ease-in-out -3s infinite; }
@keyframes lava1 { 50% { transform: translate(2px, -60px) scale(1.2, .9); } }
@keyframes lava2 { 50% { transform: translate(-3px, 60px) scale(.9, 1.2); } }
.lava-glow, .candle-glow { animation: pulse 3.2s ease-in-out infinite; }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flame .18s ease-in-out infinite alternate; }
@keyframes flame { to { transform: scale(.88, 1.08) skewX(4deg); } }
.rm-sign { font-family: var(--f-label); font-weight: 900; font-size: 15px; letter-spacing: .14em; fill: var(--red); }
.rm-sign-b { font-size: 14px; fill: var(--ink); }
.rm-amp { font-family: var(--f-display); font-size: 13px; fill: var(--ink); }
.rm-tee { font-family: var(--f-display); font-size: 12px; fill: var(--beam); }
.rm-pizza { font-family: var(--f-display); font-size: 16px; fill: var(--red); }
.room-title { position: absolute; left: var(--gut); bottom: clamp(16px, 4vh, 40px); max-width: min(520px, calc(100% - 2 * var(--gut))); padding: 18px 22px 20px; background: rgba(18,11,7,.82); color: var(--beam); border-left: 5px solid var(--c); pointer-events: none; }
.room-title .pg-k { color: rgba(243,227,189,.7); }
.room-title .pg-title { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.room-title .pg-lede { font-size: 1rem; color: var(--beam); }
.room-sleeve { position: absolute; top: 74px; right: calc(var(--gut) + 40px); width: clamp(90px, 10vw, 130px); margin: 0; }
.room-hint { position: absolute; right: var(--gut); bottom: clamp(16px, 4vh, 40px); margin: 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: rgba(243,227,189,.7); background: rgba(18,11,7,.7); padding: 8px 12px; }
@media (min-aspect-ratio: 2/1) { .room-hint { display: none; } }

/* ── VÍDEOS ──────────────────────────────────────────────── */
.amb-video { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; z-index: -1; opacity: .4; filter: blur(26px) saturate(1.4); pointer-events: none; }
@keyframes roll { 0%, 92% { background-position: 0 0, 0 0; } 94% { background-position: 0 4px, 0 0; } 100% { background-position: 0 0, 0 0; } }
.film { position: relative; background: #0e0a08; padding: 0 0; margin: 0 calc(-1 * var(--gut)); }
.film-holes { height: 26px; background: radial-gradient(circle at 50% 50%, var(--c) 0 5px, transparent 6px) 0 50% / 30px 26px repeat-x, #0e0a08; background-image: linear-gradient(90deg, transparent 0 8px, var(--c) 8px 22px, transparent 22px 30px); background-size: 30px 12px; background-position: 0 7px; background-repeat: repeat-x; }
.film-row { list-style: none; margin: 0; padding: 14px var(--gut); display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; cursor: grab; }
.film-row::-webkit-scrollbar { display: none; }
.film-row.is-drag { cursor: grabbing; }
.reel { flex: none; width: clamp(170px, 20vw, 240px); color: var(--beam); opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out) calc(var(--k) * 80ms), transform .9s var(--ease-out) calc(var(--k) * 80ms); }
.reel.in { opacity: 1; transform: none; }
.reel-btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; background: #000; overflow: hidden; }
.reel-btn video { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) contrast(1.05); transition: transform .8s var(--ease-out), filter .4s; }
.reel-btn:hover video { transform: scale(1.06); filter: none; }
.reel-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(243,227,189,.9); display: grid; place-items: center; transition: transform .4s var(--ease-out), opacity .3s; }
.reel-play svg { width: 24px; height: 24px; fill: var(--ink); margin-left: 3px; }
.reel-btn:hover .reel-play { transform: scale(.8); opacity: .6; }
.reel-t { margin: 10px 0 0; font-family: var(--f-label); font-weight: 800; font-size: 1rem; line-height: 1.15; }
.reel-w { margin: 2px 0 0; font-size: .8rem; color: rgba(243,227,189,.6); }
.ig-link { margin-top: 30px; }

/* ── FOTOS ───────────────────────────────────────────────── */
.sheet { background: #0e0b0a; color: #e0622a; padding: 14px clamp(10px, 2vw, 24px); border: 3px solid var(--ink); box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.sheet-edge { display: flex; justify-content: space-between; gap: 20px; margin: 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; font-size: .72rem; opacity: .85; padding: 6px 4px; }
.sheet-grid { list-style: none; margin: 0; padding: 10px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 12px; }
.frame { position: relative; opacity: 0; transform: scale(.94); transition: opacity .6s var(--ease-out) calc(var(--k) * 30ms), transform .8s var(--ease-out) calc(var(--k) * 30ms); }
.frame.in { opacity: 1; transform: none; }
.fr-n { position: absolute; top: -16px; left: 2px; font-family: var(--f-label); font-weight: 800; font-size: .68rem; letter-spacing: .1em; }
.fr-btn { display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; background: #000; overflow: hidden; }
.fr-btn img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.9); transition: transform .6s var(--ease-out); }
.fr-btn:hover img { transform: scale(1.08); }
.grease { position: absolute; inset: -9% -10%; width: 120%; height: 118%; pointer-events: none; overflow: visible; }
.grease path { fill: none; stroke: #e2342a; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; filter: drop-shadow(0 0 1px rgba(226,52,42,.5)); }
.grease.drawn path { transition: stroke-dashoffset 1.3s var(--ease-out); stroke-dashoffset: 0; }
.grease-x path { stroke-width: 3.5; opacity: .85; }

/* ── RELEASE ─────────────────────────────────────────────── */
.rel-wrap { display: grid; justify-items: center; }
.rel-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; width: min(860px, 100%); }
.rel-copied { font-size: .9rem; color: var(--fg-2); }
.paper { position: relative; width: min(860px, 100%); padding: clamp(28px, 6vw, 72px); background: #f6ecd2; color: var(--ink); box-shadow: 0 40px 80px rgba(0,0,0,.3), 0 1px 0 rgba(0,0,0,.1); transform: rotate(.4deg); background-image: radial-gradient(100% 60% at 0% 0%, rgba(140,74,34,.08), transparent 60%), repeating-linear-gradient(0deg, rgba(23,13,7,.03) 0 1px, transparent 1px 4px); }
.pp-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 3px double var(--ink); padding-bottom: 18px; }
.pp-logo { width: min(300px, 55%); filter: invert(1); }
.pp-meta { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; }
.pp-one { margin: 28px 0; max-width: 76%; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.4; min-height: 4.2em; }
.pp-one.typing::after { content: '▌'; animation: blink .7s steps(1) infinite; color: var(--red); }
@keyframes blink { 50% { opacity: 0; } }
.pp-stamp { position: absolute; top: clamp(150px, 19vw, 190px); right: clamp(14px, 4vw, 46px); display: flex; flex-direction: column; align-items: center; padding: 8px 16px; border: 4px solid var(--red); color: var(--red); font-family: var(--f-label); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: 1.15rem; line-height: 1.05; transform: rotate(-12deg); opacity: 0; mix-blend-mode: multiply; border-radius: 6px; }
.pp-stamp.slam { animation: slam .45s cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes slam { 0% { opacity: 0; transform: rotate(-12deg) scale(2.6); } 70% { opacity: .9; transform: rotate(-12deg) scale(.94); } 100% { opacity: .85; transform: rotate(-12deg) scale(1); } }
.pp-sec { margin-top: 30px; }
.pp-sec h4 { margin: 0 0 10px; font-family: var(--f-label); font-weight: 900; letter-spacing: .24em; text-transform: uppercase; font-size: .9rem; color: var(--red); }
.pp-sec p { margin: 0 0 .9em; }
.pp-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; border-block: 2px solid var(--ink); padding: 18px 0; }
.pp-nums div { display: flex; flex-direction: column; }
.pp-n { font-family: var(--f-display); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1; }
.pp-l { font-size: .85rem; }
.pp-cols { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 34px; }
.pp-cols li { margin-bottom: .4em; break-inside: avoid; }
.pp-rep { font-size: .95rem; }
.pp-rep small { opacity: .65; }
.pp-foot { margin-top: 36px; padding-top: 16px; border-top: 3px double var(--ink); display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--f-label); font-weight: 800; letter-spacing: .1em; font-size: .95rem; }

/* ── CONTATO ─────────────────────────────────────────────── */
.ct { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.slip { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--paper); color: var(--ink); transform: rotate(-.8deg); box-shadow: 0 40px 70px rgba(0,0,0,.35); background-image: repeating-linear-gradient(0deg, rgba(47,138,133,.18) 0 1px, transparent 1px 34px); background-position: 0 14px; -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 6px, #000 7px) 0 0 / 20px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 0, transparent 6px, #000 7px) 0 0 / 20px 100% repeat-x; }
.slip-k { margin: 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; color: var(--red); }
.slip-t { margin: .1em 0 .8em; font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.fld { display: block; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.fld > span, .fld legend { display: block; font-family: var(--f-label); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; margin-bottom: 4px; padding: 0; }
.fld input, .fld textarea { width: 100%; border: 0; border-bottom: 2px dashed var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 1.1rem; padding: 6px 2px; border-radius: 0; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(23,13,7,.42); }
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-style: solid; border-bottom-color: var(--red); background: rgba(181,48,42,.05); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--ink); background: transparent; color: var(--ink); padding: 7px 12px; font-family: var(--f-label); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; transform: rotate(-1deg); transition: background .2s, color .2s, transform .3s var(--ease-out); }
.chip:nth-child(even) { transform: rotate(1.2deg); }
.chip:hover { transform: rotate(0) translateY(-2px); }
.chip[aria-checked="true"] { background: var(--c); color: var(--beam); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.slip-err { min-height: 1.4em; margin: 0 0 10px; color: var(--red); font-weight: 700; }
.slip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slip .btn-ink { --tape: var(--ink); --txt: var(--beam); text-shadow: 0 1px 0 rgba(0,0,0,.6); }
.slip .btn-ghost { --tape: transparent; --txt: var(--ink); text-shadow: none; }
.ct-side { display: grid; gap: 14px; padding-top: 10px; }
.ct-k { margin: 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .85rem; color: var(--fg-2); }
.ct-link { display: flex; flex-direction: column; padding: 16px 18px; border: 2px solid var(--fg); text-decoration: none; transition: background .25s, color .25s, transform .35s var(--ease-out); }
.ct-link span { font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; opacity: .75; }
.ct-link strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(.95rem, 1.5vw, 1.25rem); overflow-wrap: anywhere; }
.ct-link:hover { background: var(--fg); color: var(--c); transform: translateX(6px); }

/* ═════ LIGHTBOX ═══════════════════════════════════════════ */
.lb { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 70px var(--gut) 40px; }
.lb[hidden] { display: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(11,6,4,.92); backdrop-filter: blur(4px); }
.lb-fig { position: relative; margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-stage { display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: min(92vw, 1100px); max-height: calc(100dvh - 160px); width: auto; height: auto; box-shadow: 0 40px 80px rgba(0,0,0,.7); border: 3px solid var(--ink); background: #000; }
.lb-cap { font-family: var(--f-label); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--beam); text-align: center; padding: 0 16px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; background: var(--beam); color: var(--ink); clip-path: polygon(0 12%, 6px 0, calc(100% - 6px) 0, 100% 12%, 100% 88%, calc(100% - 6px) 100%, 6px 100%, 0 88%); transition: transform .3s var(--ease-out); }
.lb-btn:hover { transform: scale(1.08); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 14px; right: var(--gut); }
.lb-prev { left: var(--gut); top: 50%; margin-top: -26px; }
.lb-next { right: var(--gut); top: 50%; margin-top: -26px; }
.lb-btn[hidden] { display: none; }

/* ═════ RESPONSIVO ═════════════════════════════════════════ */
@media (max-width: 980px) {
  .pl { grid-template-columns: 1fr; }
  .pl-player { position: relative; top: 0; max-width: 420px; }
  .ct { grid-template-columns: 1fr; }
  .tarot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .pg-hero { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding-top: 10px; }
  .pg-sleeve { width: min(56vw, 260px); margin-right: 0; }
  .pg-title { font-size: clamp(2.4rem, 11.5vw, 5rem); }
  .pg-logo { width: 92px; }
  .hud-tag { display: none; }
  .hud-btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hud-btn { padding: .7em .8em; }
  .hud-top { justify-content: flex-start; }
  .ticket { grid-template-columns: 1fr; transform: none; }
  .tk-main { -webkit-mask: none; mask: none; }
  .tk-stub { -webkit-mask: none; mask: none; flex-direction: row; border-left: 0; border-top: 3px dashed rgba(23,13,7,.35); }
  .tk-stub-t { writing-mode: horizontal-tb; transform: none; }
  .tk-meta { grid-template-columns: 1fr; }
  .stub { grid-template-columns: 1fr 76px; }
  .stub-date { grid-column: 1 / -1; }
  .stub-poster { width: 76px; }
  .fld-row { grid-template-columns: 1fr; }
  .pp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-cols { columns: 1; }
  .pp-stamp { position: relative; top: 0; right: 0; margin: -10px 0 0 auto; width: max-content; }
  .pp-one { max-width: none; }
  .np { bottom: 14px; }
  .shelf-tip { min-width: 180px; }
  .room-sleeve { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
}
@media (max-width: 520px) {
  .tarot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .t-note { font-size: .78rem; }
  .tarot-back { padding: 10%; gap: .45em; }
  .t-fav { font-size: .9rem; }
  .sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═════ MOVIMENTO REDUZIDO ═════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ld-spin, .sl-disc, .tt-disc, .np-dot { animation: none !important; }
  [data-reveal], .tarot-cell, .stub, .reel, .frame { opacity: 1; transform: none; }
  #logoSign { opacity: 1; }
  .lt { opacity: 1 !important; transform: none !important; }
  .sym-arm { transform: none !important; }
}

/* ═════ IMPRESSÃO DO RELEASE ═══════════════════════════════ */
@media print {
  @page { size: A4; margin: 12mm; }
  body { overflow: visible; background: #fff; }
  body.print-release #loader, body.print-release #home, body.print-release #flight, body.print-release .grain, body.print-release .lb { display: none !important; }
  body.print-release .page { position: static; overflow: visible; background: #fff !important; clip-path: none !important; }
  body.print-release .page > *:not(.rel-wrap):not(.block):not(.rel) { display: none !important; }
  body.print-release .pg-bar, body.print-release .pg-hero, body.print-release .pg-next, body.print-release .rel-actions, body.print-release .rel-side, body.print-release .sim-note { display: none !important; }
  body.print-release .rel { display: block; padding: 0; margin: 0; max-width: none; }
  body.print-release .block { padding: 0; }
  body.print-release .paper { width: 100%; box-shadow: none; transform: none; padding: 0; background: #fff; }
  body.print-release .pp-stamp { opacity: .85; animation: none; }
}

/* a capinha do quarto só existe pra receber o pouso da transição */
.room-sleeve.is-landed { animation: sleeveAway .9s .5s var(--ease-out) forwards; }
@keyframes sleeveAway { to { opacity: 0; transform: translateY(-30px) scale(.6) rotate(-8deg); visibility: hidden; } }

/* ═════ HOME SOBRE O RENDER 3D ═════════════════════════════
   O render é o cenário; tudo que mexe fica por cima, nas
   coordenadas do render (2752 x 1536), dentro do .stage.     */
#scene.is-pan { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#scene.is-pan::-webkit-scrollbar { display: none; }
#scene.is-pan::after { content: ''; display: block; width: var(--pan-w); height: 1px; }
#stage { position: absolute; margin: 0; border: 0; left: 0; top: 0; width: 2752px; height: 1536px; transform-origin: 0 0; will-change: transform; }
.st-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }

.st-cover { position: absolute; inset: 0; pointer-events: none; }
.cv-quad { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; transform-origin: 0 0; overflow: hidden; background: #120b07; }
.cv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity .55s ease; filter: sepia(.3) saturate(.9) contrast(1.04) brightness(.68); }
.cv-img.is-on { opacity: 1; }

.cv-img.is-art { object-fit: cover; box-sizing: border-box; background: #0b0807; } /* capa de disco no hover: a imagem cobre a capa inteira */
.cv-light { position: absolute; inset: 0; mix-blend-mode: multiply; background: linear-gradient(100deg, rgba(255,196,130,.9), rgba(220,150,95,.85) 40%, rgba(90,50,35,.95)); box-shadow: inset 0 0 0 14px rgba(239,224,189,.18), inset 0 0 120px rgba(0,0,0,.55); }
.cv-quad::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,230,190,.22), transparent 38%); }
.cv-quad.nudge { animation: cvNudge .7s ease-out; }
@keyframes cvNudge { 25% { filter: brightness(1.25); } }

.st-rec, .st-waves { position: absolute; overflow: visible; pointer-events: none; }
.st-rec .label-t { font-size: 12px; }
.st-head { position: absolute; pointer-events: none; will-change: transform; }

.gl { position: absolute; pointer-events: none; opacity: 0; will-change: opacity; mix-blend-mode: screen; }
.gl-lamp { width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,222,160,.75), rgba(255,170,80,.22) 34%, rgba(255,140,40,0) 70%); }
.gl-led { width: 52px; background: radial-gradient(50% 50% at 50% 50%, rgba(255,214,150,.95), rgba(255,150,60,.35) 45%, transparent 78%); }
/* neon: o brilho espalhado na parede e nos cartazes (::before) e o tubo quente no meio (::after) */
.gl-red { width: 620px; transform-origin: 50% 0; }
.gl-red::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,20,30,.1) 18%, rgba(255,25,35,.24) 34%, rgba(255,40,40,.55) 48%, rgba(255,40,40,.55) 52%, rgba(255,25,35,.24) 66%, rgba(255,20,30,.1) 82%, transparent);
  -webkit-mask: linear-gradient(transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(transparent, #000 6%, #000 94%, transparent); }
.gl-red::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 14px; margin-left: -7px; border-radius: 7px;
  background: linear-gradient(90deg, rgba(255,60,60,0), rgba(255,190,180,.95) 50%, rgba(255,60,60,0));
  box-shadow: 0 0 16px 5px rgba(255,40,40,.7), 0 0 56px 18px rgba(255,25,30,.38); }
.gl-shelf { height: 70px; background: radial-gradient(50% 50% at 50% 50%, rgba(255,50,35,.85), transparent 72%); }

.st-tabs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tab { pointer-events: auto; cursor: pointer; outline: none; }
.tab-card { transform: translateY(200px); transition: transform .9s cubic-bezier(.3, 1.45, .5, 1) calc(var(--i) * 110ms + (var(--side, 0) * 60ms)); }
.tabs-right .tab { --side: 4; }
#scene.tabs-up .tab-card { transform: translateY(0); }
#scene.tabs-up .tab.is-hover .tab-card, #scene.tabs-up .tab:focus-visible .tab-card { transform: translateY(-34px); transition: transform .45s var(--ease-out) 0s; }
#scene.tabs-up .tab.is-out .tab-card { transform: translateY(-160px); opacity: 0; transition: transform .35s ease-in, opacity .25s; }
.tab-glow { fill: #ffcf8a; opacity: 0; transition: opacity .3s; }
.tab.is-hover .tab-glow, .tab:focus-visible .tab-glow { opacity: .8; }
.tab-t { font-family: var(--f-label); font-weight: 900; font-size: 25px; letter-spacing: .14em; }
.tab-k { font-family: var(--f-label); font-weight: 900; font-size: 13px; }

.st-waves { opacity: 0; transition: opacity .6s; }
.st-waves.on { opacity: 1; }
.wave { opacity: 0; transform-box: fill-box; transform-origin: 0 50%; animation: wave 1.8s ease-out var(--d) infinite; }
@keyframes wave { 0% { opacity: 0; transform: translateX(0) scale(.6); } 20% { opacity: .85; } 100% { opacity: 0; transform: translateX(70px) scale(1.35); } }
.st-dust { position: absolute; left: 0; top: 0; width: 2752px; height: 1536px; pointer-events: none; }
.st-vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--vx, 50%) var(--vy, 50%), transparent 0 28%, rgba(8,4,2,.22) 58%, rgba(8,4,2,.6) 100%); }

.hud-brand { display: flex; flex-direction: column; gap: 6px; }
.hud-logo { width: clamp(140px, 15vw, 230px); filter: drop-shadow(0 0 14px rgba(255,154,58,.65)) drop-shadow(0 4px 0 rgba(0,0,0,.4)); }
.hud-sub { margin: 0; font-family: var(--f-label); font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: .72rem; color: rgba(243,227,189,.72); text-shadow: 0 1px 8px #000; }
@media (max-width: 760px) { .hud-sub { display: none; } .hud-logo { width: 120px; } }
.hud-dock { position: absolute; right: var(--gut); bottom: 22px; display: flex; gap: 10px; opacity: 0; }
.crate { top: auto; bottom: 78px; }
@media (max-width: 760px) { .hud-dock { bottom: 14px; } .np { max-width: calc(100vw - 2 * var(--gut) - 120px); } }

.hint.is-pan { left: 50% !important; top: auto !important; bottom: 96px; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); text-align: center; }
.hint.is-pan .hint-arrow { display: none; }
.hint.is-pan p { transform: none; background: rgba(18,11,7,.75); padding: 8px 14px; }

/* ── discos clicáveis sobre o render ─────────────────────── */
.st-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lnk-hit { fill: transparent; stroke: transparent; stroke-width: 16; stroke-linejoin: round; pointer-events: all; cursor: pointer; outline: none; }
.lnk-cover .lnk-hit, .lnk-disc .lnk-hit { stroke-width: 0; }
.lnk-tint { fill: var(--c); opacity: 0; mix-blend-mode: color; transition: opacity .35s ease; pointer-events: none; }
.lnk-cover .lnk-tint, .lnk-disc .lnk-tint { mix-blend-mode: soft-light; }
.lnk-line { fill: none; stroke: #f3e3bd; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease-out); pointer-events: none; }
.lnk-dot { fill: var(--c); stroke: #f3e3bd; stroke-width: 3; opacity: 0; transition: opacity .2s; pointer-events: none; }
.lnk-tag { opacity: 0; transform: scale(.85); transition: opacity .25s ease .12s, transform .45s cubic-bezier(.3, 1.6, .5, 1) .12s; pointer-events: none; }
.tag-bg { fill: #efe0bd; stroke: #170d07; stroke-width: 3; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.tag-k { font-family: var(--f-label); font-weight: 900; font-size: 28px; }
.tag-t { font-family: var(--f-display); font-size: 31px; fill: #170d07; }

.lnk.is-hover .lnk-tint, .lnk-hit:focus-visible ~ .lnk-tint { opacity: .95; }
.lnk-cover.is-hover .lnk-tint, .lnk-disc.is-hover .lnk-tint { opacity: .8; }
.lnk.is-hover .lnk-line, .tags-show .lnk .lnk-line, .tags-all .lnk .lnk-line { stroke-dashoffset: 0; }
.lnk.is-hover .lnk-dot, .tags-show .lnk .lnk-dot, .tags-all .lnk .lnk-dot { opacity: 1; }
.lnk.is-hover .lnk-tag, .tags-show .lnk .lnk-tag, .tags-all .lnk .lnk-tag { opacity: 1; transform: scale(1); }
.tags-show .lnk .lnk-line { transition-delay: calc(var(--i) * 120ms); }
.tags-show .lnk .lnk-dot, .tags-show .lnk .lnk-tag { transition-delay: calc(var(--i) * 120ms + 200ms); }
.lnk.is-out { opacity: 0; transition: opacity .2s; }

/* a banda na prateleira: o original verde inteiro em escala; corpo gira pelos pés, cabeça pelo pescoço */
.st-band { position: absolute; left: 0; top: 0; width: 2752px; height: 1536px; transform-origin: 0 0; pointer-events: none;
  filter: brightness(.8) saturate(.9) sepia(.14) contrast(1.04); }
.bd-fig, .bd-kit, .bd-drums { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.bd-fig { will-change: transform; }
.st-band img { position: absolute; display: block; max-width: none; }
.bd-head, .bd-cym { will-change: transform; }
.bd-kick { position: absolute; overflow: visible; }
.bd-shadow { position: absolute; width: 520px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10,5,2,.75), rgba(10,5,2,.35) 55%, transparent); }
.bd-shadow-kit { width: 780px; height: 150px; }

/* ── loading com o símbolo ───────────────────────────────── */
#loader .ld-stage { width: auto; aspect-ratio: auto; display: grid; justify-items: center; gap: 22px; }
.ld-sym { width: min(46vmin, 300px); will-change: transform; }
.ld-sym svg { display: block; width: 100%; overflow: visible; }
/* a mão com a fita sai pela esquerda e o desenho é centrado pelo contorno todo: o círculo com o
   triângulo (a forma que o olho lê) ficava 6% pra direita do eixo da tela. Puxa de volta. */
#loader .ld-sym svg { position: relative; left: -6%; }
.sym-arm { transform: translate(480px, 780px); transition: transform 1.1s cubic-bezier(.2, 1.2, .35, 1); }
.sym.is-out .sym-arm { transform: translate(0, 0); }
.sym.is-out .sym-wave { animation: armWave 2.8s ease-in-out 1.05s infinite; }
/* inclinação a partir da base: o pé do antebraço fica parado, a mão e a fita vão de um lado pro outro */
/* balança duas vezes, para um tempo e repete; os carretéis giram sem parar */
@keyframes armWave {
  0% { transform: skewX(0); }
  8% { transform: skewX(4deg); }
  17% { transform: skewX(-3.5deg); }
  26% { transform: skewX(4deg); }
  35% { transform: skewX(-3.5deg); }
  43%, 100% { transform: skewX(0); }
}
.sym-reel { transform-box: fill-box; transform-origin: center; }
.sym.is-out .sym-reel { animation: spin 1.1s linear infinite; }
.ld-logo { width: min(40vmin, 230px); }

/* logo em letras soltas */
.logo-letters svg { display: block; width: 100%; overflow: visible; }
.lt { fill: #f0f0f0; opacity: 0; transform: translateY(-70px) rotate(-10deg); transform-box: fill-box; transform-origin: 50% 100%; }
.logo-letters.is-on .lt { animation: ltDrop .75s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--i) * 65ms); }
@keyframes ltDrop { to { opacity: 1; transform: none; } }
.hud-logo { opacity: 1; filter: drop-shadow(0 0 12px rgba(255,154,58,.55)) drop-shadow(0 3px 0 rgba(0,0,0,.45)); }
.hud-logo.is-on { animation: glowBreath 4s ease-in-out 1.4s infinite; }
@keyframes glowBreath { 50% { filter: drop-shadow(0 0 22px rgba(255,154,58,.85)) drop-shadow(0 3px 0 rgba(0,0,0,.45)); } }

/* selos dos vinis: o símbolo sobre fundo preto */
.fl-label, .sl-label { background: #0d0a09; box-shadow: inset 0 0 0 2px #2a2420, inset 0 0 0 7px #0d0a09, inset 0 0 0 8px rgba(240,240,240,.14); }
.fl-label img, .sl-label img { width: 72%; }
.pp-logo { width: min(320px, 58%); }
.lnk-glow { fill: #ffd9a0; opacity: 0; mix-blend-mode: screen; transition: opacity .35s ease; pointer-events: none; }
.lnk-spine.is-hover .lnk-glow { opacity: .28; }
.lnk-cover.is-hover .lnk-glow, .lnk-disc.is-hover .lnk-glow { opacity: .12; }
#kick { will-change: transform; }

/* logo do canto: contraste por sombra (sem caixa), entrada e um pulinho de tempos em tempos */
.hud-top { isolation: isolate; }
.hud-top::before { content: ''; position: absolute; left: 0; top: 0; width: min(620px, 62vw); height: 300px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 0 0, rgba(8,4,2,.86), rgba(8,4,2,.55) 38%, rgba(8,4,2,.18) 62%, transparent 78%); }
.hud-logo, .hud-logo.is-on { animation: none; filter: drop-shadow(0 3px 0 #0b0604) drop-shadow(0 0 1.5px rgba(0,0,0,.95)) drop-shadow(0 8px 18px rgba(0,0,0,.85)); }
.hud-logo .lt { fill: #fff; }
.hud-logo.is-on.hop .lt { animation: ltHop .85s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes ltHop { 0%, 100% { opacity: 1; transform: none; } 38% { opacity: 1; transform: translateY(-16%) rotate(-7deg) scale(1.05); } }
.hud-sub { color: #f8ead0; font-size: .82rem; letter-spacing: .2em; text-shadow: 0 1px 0 #000, 0 0 2px #000, 0 2px 10px rgba(0,0,0,.95); }
.hud-sub .sc { display: inline-block; white-space: pre; opacity: 0; transform: translateY(10px); }
.hud-sub.is-on .sc { animation: scIn .5s cubic-bezier(.2, 1.4, .4, 1) forwards; animation-delay: calc(.7s + var(--i) * 22ms); }
.hud-sub.is-on.hop .sc { animation: scGlint .7s ease-out both; animation-delay: calc(.35s + var(--i) * 18ms); }
@keyframes scIn { to { opacity: 1; transform: none; } }
@keyframes scGlint { 0%, 100% { opacity: 1; transform: none; color: #f8ead0; } 35% { opacity: 1; transform: translateY(-3px); color: #ffb35c; } }

/* logo da abertura: cai letra por letra e depois, enquanto carrega, passa uma onda com brilho laranja */
.ld-logo.is-on .lt { animation: ltDrop .75s cubic-bezier(.3, 1.6, .5, 1) forwards, ltWave 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 65ms), calc(1.5s + var(--i) * 70ms); }
@keyframes ltWave {
  0%, 30%, 100% { opacity: 1; transform: none; fill: #f0f0f0; }
  10% { opacity: 1; transform: translateY(-14%) rotate(-6deg) scale(1.06); fill: #ffb35c; }
  20% { opacity: 1; transform: translateY(3%) scaleY(.94); fill: #f0f0f0; }
}
.ld-logo { filter: drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(255,154,58,.25)); }

/* polaroid da banda colada com durex na parede do fundo da estante */
.st-polaroid { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; transform-origin: 0 0; pointer-events: none; }
.pol { position: absolute; inset: 0; transform: rotate(-3.5deg); transform-origin: 50% 0; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), filter .35s;
  background: #e9e1d2; padding: 6.5% 6.5% 0; box-sizing: border-box; display: flex; flex-direction: column;
  box-shadow: 10px 22px 34px rgba(20,8,2,.55), 2px 4px 6px rgba(20,8,2,.4), inset 0 0 0 2px rgba(255,255,255,.35);
  filter: brightness(.82) sepia(.22) saturate(.9); }
.pol-foto { position: relative; flex: none; height: 71%; overflow: hidden; background: #1a1410; box-shadow: inset 0 0 0 3px rgba(0,0,0,.25); }
.pol-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: contrast(1.05) saturate(.85); }
.pol-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,240,210,.18), transparent 40%, rgba(0,0,0,.18)); }
.pol-leg { margin: auto 0; text-align: center; font-family: 'Courier Prime', 'Courier New', monospace; font-style: italic; font-weight: 700; font-size: 70px; line-height: 1; color: #2b2522; transform: rotate(-1.5deg); }
.pol-fita { position: absolute; top: -4%; width: 34%; height: 11%; background: rgba(236,226,196,.62);
  box-shadow: 0 2px 4px rgba(0,0,0,.12); clip-path: polygon(2% 8%, 9% 0, 17% 7%, 26% 1%, 35% 6%, 47% 0, 58% 8%, 69% 1%, 81% 7%, 91% 0, 100% 9%, 98% 92%, 89% 100%, 79% 93%, 66% 100%, 54% 92%, 42% 99%, 30% 93%, 18% 100%, 8% 92%, 0 99%); }
.pol-fita--e { left: -8%; transform: rotate(-38deg); }
.pol-fita--d { right: -8%; transform: rotate(36deg); }

/* os bonecos também levam pra página da banda: sem tinta por cima, eles é que acendem */
.lnk-band .lnk-tint, .lnk-band .lnk-glow { display: none; }
.st-band { transition: filter .35s ease; }
.st-band.is-hot { filter: brightness(1.02) saturate(1) sepia(.06) contrast(1.06) drop-shadow(0 0 14px rgba(255,190,120,.55)); }

/* cartaz do mago na parede da esquerda: desfocado e na penumbra, como o resto daquele canto do render */
.st-wposter { position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; transform-origin: 0 0; pointer-events: none; overflow: hidden; background: #120c09; }
.st-wposter img { width: 100%; height: 100%; display: block; object-fit: fill; filter: blur(2px) brightness(.72) contrast(1.15) saturate(1) sepia(.12); }
.st-wposter::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 4px rgba(0,0,0,.3), inset 0 0 120px rgba(0,0,0,.45); background: linear-gradient(100deg, rgba(255,170,90,.1), transparent 50%, rgba(0,0,0,.35)); }

/* a polaroid também é link (Fotos): sem tinta por cima, ela desgruda e acende */
.lnk-photo .lnk-tint, .lnk-photo .lnk-glow { display: none; }
.st-polaroid.is-hot .pol { transform: rotate(-1deg) translateY(-3%) scale(1.05); filter: brightness(.95) sepia(.12) saturate(1) drop-shadow(0 0 18px rgba(255,190,120,.45)); }

/* easter egg achado: faísca curta na cor do disco */
.spark line { stroke: var(--c); stroke-width: 6; stroke-linecap: round; stroke-dasharray: .4 1; stroke-dashoffset: .4; filter: drop-shadow(0 0 6px var(--c)); animation: sparkOut .8s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes sparkOut { 0% { stroke-dashoffset: .4; opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }

/* dica no pé da tela: um mouse com a rodinha andando e a frase curta */
.hint { left: 50% !important; top: auto !important; bottom: 26px; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(14,9,6,.78); box-shadow: inset 0 0 0 1px rgba(243,227,189,.22), 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(6px); }
.hint p { transform: none; font-family: var(--f-label); font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; text-shadow: none; }
.hint-mouse { position: relative; width: 18px; height: 26px; flex: none; border-radius: 9px; box-shadow: inset 0 0 0 2px var(--beam); }
.hint-mouse i { position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--orange, #ff9a3a); animation: hintWheel 1.6s ease-in-out infinite; }
@keyframes hintWheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
.hint.is-pan .hint-mouse { border-radius: 50%; width: 22px; height: 22px; }
.hint b { color: var(--orange); font-variant-numeric: tabular-nums; }
.hint.pop { animation: hintPop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hintPop { 40% { transform: translateX(-50%) scale(1.08); } }

/* o fone recortado do fundo, por cima da capa de baixo */
.st-fone { position: absolute; pointer-events: none; }

/* braço da vitrola: gira pelo pivô entre o disco e o descanso */
.st-arm { position: absolute; pointer-events: none; transform: rotate(0deg); transition: transform 1.1s cubic-bezier(.45, 0, .2, 1), filter 1.1s; }
.st-arm.is-rest { transform: rotate(-22deg); filter: drop-shadow(0 6px 4px rgba(0,0,0,.45)); }

/* luz piloto (lâmpada de filamento atrás de um vidro âmbar, tipo fusível de painel antigo) */
/* o mago da lateral da estante (px da cena, que encolhe com a tela; por isso as letras são grandes):
   no hover descola da madeira e balança, com o balão do Instagram; no clique dá um tranco e solta a magia */
.st-mago { position: absolute; display: block; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.st-mago img { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), filter .3s; }
.st-mago:hover img, .st-mago:focus-visible img { transform: rotate(-3deg) scale(1.14); filter: drop-shadow(8px 12px 10px rgba(0,0,0,.6)) brightness(1.1);
  animation: magoSwing 1.7s ease-in-out .45s infinite; }
@keyframes magoSwing { 0%, 100% { transform: rotate(-3deg) scale(1.14); } 50% { transform: rotate(2.5deg) scale(1.17); } }
.st-mago.zap img { animation: magoZap .7s ease-out; }
@keyframes magoZap { 0% { transform: rotate(-3deg) scale(1.14); } 25% { transform: rotate(-11deg) scale(1.26); filter: drop-shadow(0 0 22px #b47aff) brightness(1.5); }
  60% { transform: rotate(3deg) scale(1.12); } 100% { transform: rotate(-3deg) scale(1.14); } }
.mago-bub { position: absolute; left: 88%; top: -4%; z-index: 2; display: flex; flex-direction: column; gap: 4px; width: max-content; padding: 16px 26px 18px;
  background: var(--paper); color: var(--ink); border-top: 10px solid #ff4fa8; box-shadow: 0 24px 50px rgba(0,0,0,.6);
  opacity: 0; transform: translate(-14px, 16px) rotate(-2deg) scale(.9); transform-origin: 0 100%; pointer-events: none;
  transition: opacity .25s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.mago-bub::after { content: ''; position: absolute; left: -14px; bottom: 26px; width: 30px; height: 30px; background: var(--paper); transform: rotate(45deg); }
.mago-bub small { font-family: var(--f-label); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 24px; color: #6b4a2e; }
.mago-bub b { font-family: var(--f-display); font-weight: 400; font-size: 42px; line-height: 1; }
.st-mago:hover .mago-bub, .st-mago:focus-visible .mago-bub { opacity: 1; transform: rotate(-2deg); }
/* a magia */
.mago-fx { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; pointer-events: none; z-index: 3;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%); filter: drop-shadow(0 0 6px currentColor); }
.mago-anel { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; pointer-events: none; z-index: 3;
  box-shadow: 0 0 0 6px rgba(180,122,255,.85), 0 0 40px 10px rgba(255,79,168,.6), inset 0 0 30px rgba(59,227,255,.7); }

/* caixa do mago: pede pra abrir o Instagram numa aba nova (papel da casa, nunca o aviso do navegador) */
.ig-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(8,4,2,.62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.ig-modal.on { opacity: 1; }
.ig-modal[hidden] { display: none; }
.ig-wrap { position: relative; width: min(420px, 100%); }
.ig-card { position: relative; z-index: 1; width: 100%; box-sizing: border-box; padding: 30px 30px 26px 30px; background: var(--paper); color: var(--ink);
  border-top: 10px solid #e8452c; box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: translateY(18px) rotate(-1.5deg) scale(.96);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.ig-modal.on .ig-card { transform: rotate(-1.5deg); }
/* o mago sobe por trás da caixa ao abrir: grande, mais pra esquerda, e a base reta do adesivo (que na estante
   fica atrás dos discos) some atrás do papel */
.ig-mago { position: absolute; z-index: 0; right: 96px; bottom: calc(100% - 52px); width: 150px; rotate: -4deg; transform-origin: 50% 100%; pointer-events: none;
  filter: drop-shadow(0 -2px 10px rgba(0,0,0,.45)); transform: translateY(70px); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.5, .5, 1) .12s, opacity .25s .12s; }
.ig-modal.on .ig-mago { transform: none; opacity: 1; }
.ig-k { margin: 0 0 6px; font-family: var(--f-label); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: #b8261a; }
.ig-t { margin: 0 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; text-wrap: balance; }
.ig-p { margin: 0 0 22px; font-family: var(--f-body); font-size: 1rem; line-height: 1.45; color: #4a3424; text-wrap: pretty; }
.ig-bloq { margin: -10px 0 18px; padding: 10px 12px; background: rgba(232,69,44,.12); border-left: 3px solid #e8452c; font-family: var(--f-body); font-size: .92rem; line-height: 1.4; color: #5a2014; }
.ig-bloq[hidden] { display: none; }
.ig-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ig-go { --tape: #e8452c; --txt: #fff6e6; }
.ig-no { --tape: transparent; --txt: var(--ink); text-shadow: none; box-shadow: inset 0 0 0 2px var(--ink); cursor: pointer; }
.ig-go:focus-visible, .ig-no:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ig-card { transition: none; } }

/* o visor do telefone de mesa (px de um retângulo de 520 x 100, levado em perspectiva pros cantos do visor):
   LCD verde-acinzentado com o letreiro passando; com o mouse no telefone ele acende e pisca "chamando" */
.st-lcd { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; pointer-events: none; border-radius: 12px;
  background: linear-gradient(180deg, #a7b78c, #8c9d72); box-shadow: inset 0 0 0 5px rgba(20,24,14,.55), inset 0 10px 22px rgba(0,0,0,.35);
  opacity: .9; transition: background .3s, opacity .3s; }
.st-lcd::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(0,0,0,.12) 0 1.4px, transparent 1.8px) 0 0 / 6px 6px, linear-gradient(115deg, rgba(255,255,255,.22), transparent 40%); }
.lcd-run { position: absolute; left: 0; top: 18px; display: flex; white-space: nowrap; font-family: 'Courier Prime', 'Courier New', monospace; font-weight: 700;
  font-size: 60px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #1d2716; animation: lcdRun 16s linear infinite; transition: opacity .2s; }
.lcd-run span { padding-right: 40px; }
@keyframes lcdRun { to { transform: translateX(-50%); } }
.lcd-call { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Courier Prime', 'Courier New', monospace; font-weight: 700;
  font-size: 62px; letter-spacing: .1em; text-transform: uppercase; color: #1d2716; opacity: 0; }
.lcd-call i { font-style: normal; animation: lcdDots 1s steps(4) infinite; display: inline-block; width: 3ch; overflow: hidden; vertical-align: bottom; }
.st-lcd.is-hot { background: linear-gradient(180deg, #d5f08e, #a9cf62); opacity: 1; box-shadow: inset 0 0 0 5px rgba(20,24,14,.55), 0 0 40px rgba(190,240,110,.55); }
.st-lcd.is-hot .lcd-run { opacity: 0; }
.st-lcd.is-hot .lcd-call { opacity: 1; animation: lcdBlink .9s steps(2) infinite; }
@keyframes lcdBlink { 50% { opacity: .25; } }
@keyframes lcdDots { from { width: 0; } to { width: 4ch; } }
@media (prefers-reduced-motion: reduce) { .lcd-run, .lcd-call, .lcd-call i { animation: none; } }

.st-led { position: absolute; width: 26px; height: 26px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 45%, #6b5a4a 0 52%, #2a221c 60%, #a89a88 66%, #3a3028 74%, #0e0a08 80%, transparent 82%); }
.led-glass, .led-fil, .led-glow { position: absolute; border-radius: 50%; display: block; }
.led-glass { inset: 6px; background: radial-gradient(circle at 38% 32%, rgba(255,255,255,.35) 0 12%, transparent 22%), radial-gradient(circle at 50% 55%, #5a2a10, #2a1008 70%); box-shadow: inset 0 0 3px rgba(0,0,0,.8); transition: background .3s; }
.led-fil { left: 9px; right: 9px; top: 12px; height: 2px; border-radius: 1px; background: #3a1a0a; transition: background .2s, box-shadow .2s; }
.led-glow { inset: -30px; opacity: 0; background: radial-gradient(circle, rgba(255,120,25,.6), rgba(255,85,10,.2) 40%, transparent 70%); mix-blend-mode: screen; }
.st-led.is-on .led-glass { background: radial-gradient(circle at 38% 32%, rgba(255,255,255,.6) 0 12%, transparent 24%), radial-gradient(circle at 50% 55%, #ffb048, #ff6d0e 45%, #a02c04 88%); box-shadow: inset 0 0 3px rgba(80,20,0,.6), 0 0 7px 3px rgba(255,105,15,.85); }
.st-led.is-on .led-fil { background: #ffe2a0; box-shadow: 0 0 4px 1px #ff9a30; }
.st-led.is-on .led-glow { animation: ledWarm .9s ease-out forwards, ledHum 3.2s ease-in-out .9s infinite; }
/* o filamento esquenta piscando antes de firmar, e depois respira de leve */
@keyframes ledWarm { 0% { opacity: 0; } 18% { opacity: .7; } 28% { opacity: .25; } 45% { opacity: .9; } 60% { opacity: .55; } 100% { opacity: 1; } }
@keyframes ledHum { 0%, 100% { opacity: 1; } 47% { opacity: .86; } 50% { opacity: .97; } 53% { opacity: .82; } }
@media (prefers-reduced-motion: reduce) { .st-arm { transition: none; } .st-led.is-on .led-glow { animation: none; opacity: 1; } }

/* ── Cronovisor (js/tv.js): no canto esquerdo, do tamanho da antiga TV, em cima do "Na vitrola" ── */
.home-ui > .tv { --cv: clamp(270px, 25.3vw, 400px); position: absolute; left: calc(var(--gut) + 14px); bottom: 118px; width: var(--cv); height: var(--cv); z-index: 3; pointer-events: none; }
.tv[hidden] { display: none; }
/* sombra em três camadas pra máquina parecer na frente da cena: borda escura colada no recorte, um halo
   largo em volta e a sombra projetada pra baixo e pra direita */
.tv-body { position: absolute; inset: 0; container-type: inline-size; transform-origin: 50% 100%;
  filter: drop-shadow(0 0 1.5px rgba(0,0,0,.85)) drop-shadow(6px 12px 14px rgba(0,0,0,.5)) drop-shadow(22px 36px 40px rgba(0,0,0,.55)); }
/* o desenho que completa canos, fios, coluna e base (fica atrás da foto, emendado nas bordas) */
.cv-art { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.cv-art-frente { z-index: 3; }
.cv-arc { opacity: 0; }
.cv-bulb-glow { opacity: 0; mix-blend-mode: screen; }
.cv-spark { opacity: 0; }
.tv.is-on .cv-spark { opacity: 1; }
.cv-steam circle { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.tv.is-on .cv-steam circle { animation: cvSteam 2.2s ease-out infinite; animation-delay: var(--d); }
@keyframes cvSteam { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(-18px, -120px) scale(2.8); } }
.cv-lamp { opacity: .25; }
.tv.is-on .cv-lamp { animation: cvLamp 1.4s steps(1) infinite; }
@keyframes cvLamp { 0%, 60% { opacity: 1; filter: drop-shadow(0 0 4px #ff5a3a); } 61%, 100% { opacity: .25; } }
.cv-wheel { transform-box: fill-box; transform-origin: 50% 50%; }
.tv.is-on .cv-wheel { animation: cvWheel 3.6s ease-in-out infinite; }
@keyframes cvWheel { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
/* a foto passa do quadrado da cabeça: pros lados, pra cima até o flange da coluna e pra baixo com o pedestal (prep-cronovisor.py) */
.tv-img { position: absolute; left: -27.47%; top: -12.19%; z-index: 2; width: 154.53%; height: 212.18%; max-width: none; user-select: none; pointer-events: none; filter: brightness(.9) contrast(1.05); }
/* a tela fica atrás da carcaça: o buraco do verde mostra só a parte certa */
.tv-screen { position: absolute; z-index: 1; overflow: hidden; background: #040404; }
.tv-tube { position: absolute; inset: 0; transform-origin: 50% 50%; }
.tv-v, .tv-fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.tv-v { filter: saturate(1.15) contrast(1.08) sepia(.12); }
.tv-glass { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(110% 95% at 50% 50%, transparent 55%, rgba(0,0,0,.6) 100%),
    linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 28%, transparent 44%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); }
/* a luz da tela vaza na parede em volta */
.tv-glow { position: absolute; left: 12%; top: 18%; width: 76%; height: 64%; z-index: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(175,215,255,.45), rgba(120,170,255,.12) 55%, transparent); filter: blur(30px); mix-blend-mode: screen; }
/* válvulas (o "fusível"): o vidro escurece quando apaga e acende laranja quando esquenta; --h vem do JS */
.cv-valve { --h: 0; position: absolute; z-index: 3; width: var(--s); aspect-ratio: .7; transform: translate(-50%, -50%); pointer-events: none; }
.cv-valve i { position: absolute; inset: 0; border-radius: 45%; }
.cv-dim { background: radial-gradient(closest-side, rgba(10,6,4,.85), rgba(10,6,4,.4) 60%, transparent); opacity: calc(1 - var(--h)); mix-blend-mode: multiply; }
.cv-lit { inset: -60% -90%; background: radial-gradient(closest-side, rgba(255,214,140,.95), rgba(255,140,40,.55) 35%, rgba(255,110,20,.18) 60%, transparent); opacity: var(--h); mix-blend-mode: screen; filter: blur(2px); }
.cv-valve:nth-of-type(3) { aspect-ratio: 1.6; }
/* botões do painel: acesos por dentro, como tecla de máquina antiga, pra ninguém deixar de ver que dá pra apertar.
   --luz é a cor da lâmpada de cada um; o brilho respira devagar, cada botão no seu tempo */
.cv-knob { --luz: 255,176,72; position: absolute; z-index: 4; width: 7.4%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; pointer-events: auto; transition: box-shadow .2s; }
.cv-knob:hover, .cv-knob:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(var(--luz),.95), 0 0 24px rgba(var(--luz),.8); }
.cv-plate { position: absolute; inset: 9%; display: grid; place-items: center; border-radius: 50%;
  font-size: max(11px, 3.6cqw); line-height: 1; color: #fff3d6;
  background: radial-gradient(circle at 50% 42%, rgba(var(--luz),.5), rgba(var(--luz),.2) 52%, rgba(26,16,10,.96) 92%), #1a100a;
  box-shadow: inset 0 0 0 2px rgba(var(--luz),.95), inset 0 0 10px rgba(var(--luz),.5), 0 0 12px rgba(var(--luz),.7), 0 1px 3px rgba(0,0,0,.7);
  text-shadow: 0 1px 0 #000; animation: cvAceso 2.6s ease-in-out infinite alternate; }
.cv-next .cv-plate { animation-delay: -.7s; } .cv-power .cv-plate { animation-delay: -1.4s; } .cv-mute .cv-plate { animation-delay: -2.1s; }
@keyframes cvAceso { from { filter: brightness(.92); } to { filter: brightness(1.24); } }
.cv-plate svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(var(--luz),.95)); }
.cv-knob:hover .cv-plate, .cv-knob:focus-visible .cv-plate { color: #fff; animation: none; filter: brightness(1.4); }
.cv-power { --luz: 255,84,52; }
@media (prefers-reduced-motion: reduce) { .cv-plate { animation: none; } }
.cv-knob.cv-mute { width: 5.6%; }
.cv-knob.cv-power { width: 8.4%; }
.cv-mute .spk { fill: currentColor; }
.cv-mute .x { display: none; }
.cv-mute.is-muted { --luz: 255,84,52; }
.cv-mute.is-muted .w { display: none; }
.cv-mute.is-muted .x { display: inline; }

/* etiqueta "No cronovisor": vira o controle de data e anda pra direita da máquina enquanto ela está ligada */
/* nome que não cabe na parede da esquerda: quebra em duas linhas equilibradas */
.np.is-wrap .np-v { white-space: normal; line-height: 1.15; }
.np.is-wrap .np-song, .np.is-wrap .np-where { display: block; text-wrap: balance; }
.np.is-wrap .np-sep { display: none; }
.np.is-duas .np-song, .np.is-duas .np-where { white-space: nowrap; }
.np.is-tv .np-text { flex: 1; }
.np.is-tv { cursor: pointer; justify-content: space-between; border-left-color: #4f9c86; transition: background .2s; }
.np.is-tv .np-dot { background: radial-gradient(circle, #6fd0a8 0 28%, #1a120e 30% 100%); box-shadow: inset 0 0 0 2px #2a1f18, 0 0 10px rgba(110,220,170,.55); }
/* com o cronovisor ligado a etiqueta vira a chapa da base da máquina: ferro opaco escovado,
   chanfro, rebites nos cantos, dois remendos rebitados e cabos saindo por baixo */
.np.is-tv {
  background:
    radial-gradient(circle at 9px 9px, #b3aa9c 0 1.4px, #4a443d 2.2px, rgba(0,0,0,.6) 3.4px, transparent 4.4px),
    radial-gradient(circle at calc(100% - 9px) 9px, #b3aa9c 0 1.4px, #4a443d 2.2px, rgba(0,0,0,.6) 3.4px, transparent 4.4px),
    radial-gradient(circle at 9px calc(100% - 9px), #b3aa9c 0 1.4px, #4a443d 2.2px, rgba(0,0,0,.6) 3.4px, transparent 4.4px),
    radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), #b3aa9c 0 1.4px, #4a443d 2.2px, rgba(0,0,0,.6) 3.4px, transparent 4.4px),
    linear-gradient(180deg, rgba(150,225,255,.09), transparent 22%),
    linear-gradient(104deg, transparent 18%, rgba(255,255,255,.06) 26%, transparent 33%, transparent 61%, rgba(255,255,255,.035) 67%, transparent 72%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #302c28, #1c1917 55%, #110f0e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.65), inset -1px 0 0 rgba(255,255,255,.05), 0 8px 20px rgba(0,0,0,.6);
}
.np.is-tv:hover, .np.is-tv:focus-visible { outline: none; background-color: transparent; filter: brightness(1.12); }
.np.is-tv .np-text { text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 8px rgba(0,0,0,.8); }
.np-base { display: none; }
.np.is-tv .np-base { display: block; position: absolute; inset: 0; pointer-events: none; }
/* um brilho de metal que passa devagar pela chapa, de vez em quando */
.np.is-tv .np-base::before { content: ''; position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.07) 48%, rgba(190,235,255,.05) 51%, transparent 57%) no-repeat;
  background-size: 260% 100%; animation: npReflexo 9s ease-in-out infinite; }
@keyframes npReflexo { 0%, 55% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .np.is-tv .np-base::before { animation: none; } }
/* cabos: saem de baixo da chapa e descem até o chão, presos por uma braçadeira */
.np-fio { position: absolute; top: calc(100% - 4px); left: 14%; width: 7px; height: 60px; border-radius: 3px;
  background: linear-gradient(90deg, #2a120a, #a5552c 45%, #d8874f 60%, #3a1a0c); box-shadow: 1px 0 2px rgba(0,0,0,.6); }
.np-fio::after { content: ''; position: absolute; left: -4px; top: 6px; width: 15px; height: 7px; border-radius: 2px;
  background: linear-gradient(180deg, #c9cfd4, #6d7378 55%, #34383b); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 2px rgba(0,0,0,.6); }
.np-fio--b { left: auto; right: 18%; width: 9px; background: linear-gradient(90deg, #050505, #3b3936 45%, #6d6a65 60%, #0b0b0b); }
.np-fio--b::after { top: 10px; }
.np-ch[hidden] { display: none; }
.np-ch { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding: 5px 6px 5px 10px; border-left: 1px solid rgba(243,227,189,.18);
  font-family: var(--f-label); font-weight: 800; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #9fe0c4; }
.np-ch svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease-out); }
.np.is-tv:hover .np-ch svg { transform: translateX(3px); }

/* canos de vidro do cronovisor: a luz corre por dentro enquanto ele está ligado; a etiqueta fica por cima do de baixo */
.cv-flow, .cv-flow-glow { opacity: 0; }
.tv.is-on .cv-flow, .tv.is-on .cv-flow-glow { opacity: 1; animation: cvFlow 1.6s linear infinite; }
.tv.is-on .cv-flow-glow { opacity: .55; }
@keyframes cvFlow { to { stroke-dashoffset: -400; } }
.np.is-tv { z-index: 5; }
