/* =========================================================================
   NOIR — dirección visual "noche en el invernadero".
   Fondo verde noche, documentos de papel encima, rojo para lo que importa.
   Se carga la última: sobrescribe lo necesario de styles.css y caso.css.
   ========================================================================= */
:root {
  --night: #07110C;
  --night-2: #0C1A13;
  --night-3: #12261B;
  --night-4: #1A3326;
  --mist: #E6EEDF;
  --mist-2: #B2C4B1;
  --mist-3: #8AA18B;
  --hot: #E5394F;
  --hot-deep: #B91F35;
  --paper: #F1F4EA;
  --edge: rgba(230, 238, 223, .1);
  --edge-2: rgba(230, 238, 223, .2);
  --expo: cubic-bezier(.16, 1, .3, 1);
  --quint: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

html { background: var(--night); scroll-behavior: smooth; }
body {
  background: var(--night);
  background-image:
    radial-gradient(90% 60% at 80% -10%, rgba(46, 107, 69, .28), transparent 60%),
    radial-gradient(70% 50% at -10% 30%, rgba(46, 107, 69, .14), transparent 60%);
  background-attachment: fixed;
  color: var(--mist);
}
::selection { background: var(--hot); color: #fff; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--night-4); border: 2px solid var(--night); }
::-webkit-scrollbar-thumb:hover { background: #2E5E44; }
html { scrollbar-color: var(--night-4) var(--night); }
:focus-visible { outline-color: var(--hot); }
a { color: inherit; }

/* Grano de película */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%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%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Cursor-anillo (solo ratón) */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(229, 57, 79, .75); opacity: 0; transition: width .25s var(--expo), height .25s var(--expo), margin .25s var(--expo), background .25s, opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(229, 57, 79, .12); }
.cursor.paper { border-color: rgba(156, 26, 44, .7); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Barra superior ---------- */
.topbar {
  background: rgba(7, 17, 12, .72);
  border-bottom: 1px solid var(--edge);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
}
.brand { color: var(--mist); }
.brand em { color: var(--hot); }
.brand-mark { color: var(--hot); }
.nav a { color: var(--mist-2); }
.nav a:hover { background: var(--night-3); color: var(--mist); }
.nav a[aria-current="page"] { background: var(--mist); color: var(--night); }
.nav a.won::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--hot); vertical-align: 2px; }

.garland { display: grid !important; gap: 5px !important; justify-items: end; color: var(--mist-2); font-size: .82rem; }
.gl-count { font-weight: 700; color: var(--mist); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gl-count small { color: var(--mist-3); font-weight: 600; }
.gl-count .ico { width: 15px; height: 15px; color: var(--hot); vertical-align: -2px; margin-right: 5px; }
.gl-bar { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; width: 120px; }
.gl-bar span { height: 4px; border-radius: 2px; background: var(--night-4); }
.gl-bar span.on { background: var(--hot); }
.gl-bar span.bloom { animation: segIn .8s var(--expo); }
@keyframes segIn { from { transform: scaleY(3); background: #fff; } }

main { max-width: 1240px; }

/* ---------- Botones sobre fondo oscuro ---------- */
.btn-red { background: var(--hot); box-shadow: 0 10px 30px -12px rgba(229, 57, 79, .7); }
.btn-red:hover:not(:disabled) { background: var(--hot-deep); }
.on-dark .btn-ghost, .hx .btn-ghost, .noir-sec .btn-ghost { color: var(--mist); border-color: var(--edge-2); }
.on-dark .btn-ghost:hover:not(:disabled), .hx .btn-ghost:hover:not(:disabled), .noir-sec .btn-ghost:hover:not(:disabled) { background: var(--night-3); border-color: var(--mist-3); }
.btn { will-change: transform; }

/* ---------- Hueco de foto (para fotos que llegarán después) ---------- */
.photo { position: relative; display: block; overflow: hidden; background: var(--night-3); aspect-ratio: var(--ratio, 3 / 4); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.empty {
  display: grid; place-items: center; align-content: center; gap: 8px; padding: 14px; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(230, 238, 223, .035) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #1B3527, #0F2017);
  color: var(--mist-2);
}
.photo.empty::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(230, 238, 223, .22); border-radius: 2px; pointer-events: none; }
.photo-ico .ico { width: 30px; height: 30px; color: var(--mist-3); }
.photo-label { font-weight: 700; font-size: .9rem; color: var(--mist); line-height: 1.25; }
.photo-file { font-family: var(--mono); font-size: .74rem; color: var(--mist-3); word-break: break-all; }

.polaroid { position: relative; display: block; padding: 10px 10px 0; background: #F4F6EE; color: var(--ink); box-shadow: 0 2px 2px rgba(0,0,0,.2), 0 24px 40px -18px rgba(0,0,0,.8); transform: rotate(var(--r, 0deg)); }
.polaroid .photo { --ratio: 1; }
.polaroid figcaption { font-family: var(--hand); font-size: 1.35rem; line-height: 1.1; padding: 10px 4px 14px; text-align: center; color: var(--ink); }
.tape { position: absolute; left: 50%; top: -14px; width: 92px; height: 28px; margin-left: -46px; background: rgba(214, 226, 196, .55); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(0,0,0,.15); backdrop-filter: blur(1px); }

/* =========================================================================
   PORTADA
   ========================================================================= */
main[data-view="home"] { max-width: none; padding: 0; }
.noir-sec { position: relative; padding: clamp(80px, 12vw, 150px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.sec-title { font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; font-weight: 400; color: var(--mist); max-width: 14ch; }
.sec-title em { font-family: var(--hand); font-style: normal; color: var(--hot); font-weight: 700; font-size: 1.12em; letter-spacing: 0; }
.sec-lede { color: var(--mist-2); max-width: 54ch; font-size: 1.08rem; margin-top: 16px; }
.sec-head { margin-bottom: clamp(30px, 5vw, 56px); display: grid; gap: 0; justify-content: start; }
.sec-head p { color: var(--mist-2); }

/* Intro de película */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #030805; color: var(--mist); }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: #030805; }
.intro-half.t { top: 0; } .intro-half.b { bottom: 0; }
.intro-lines { position: relative; z-index: 2; display: grid; gap: 14px; text-align: center; padding: 24px; }
.intro-l1 { font-family: var(--mono); font-size: clamp(.85rem, 2.4vw, 1rem); letter-spacing: .3em; text-transform: uppercase; color: var(--mist-3); }
.intro-l2 { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.1; max-width: 18ch; }
.intro-l2 em { font-family: var(--hand); font-style: normal; color: var(--hot); font-size: 1.15em; }
.intro-skip { position: absolute; right: 20px; bottom: 20px; z-index: 3; background: none; border: 1px solid var(--edge-2); color: var(--mist-2); border-radius: 99px; padding: 8px 16px; cursor: pointer; font-size: .85rem; }
.intro-skip:hover { color: var(--mist); border-color: var(--mist-3); }
.intro .ch { display: inline-block; white-space: pre; }

/* Héroe con linterna */
.hx { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: 110px var(--gutter) 90px; margin-top: -64px; }
.hx-scene { position: absolute; inset: 0; z-index: -2; }
.hx-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-scene .chalk { fill: none; stroke: var(--chalk, #EEF3E4); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.hx-scene .chalk-red { fill: none; stroke: var(--hot); stroke-width: 3; stroke-linecap: round; }
.hx-scene .note { font-family: var(--hand); font-size: 30px; fill: var(--mist); }
.hx-scene .note.red { fill: var(--hot); }
.hx-scene .tent path { fill: #E9D36A; } .hx-scene .tent text { font: 700 16px var(--mono); fill: #2B2406; }
.hx-scene .print { fill: rgba(230, 238, 223, .5); }
.hx-dark {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle var(--lr, 220px) at var(--mx, 70%) var(--my, 45%), rgba(7, 17, 12, 0) 0%, rgba(7, 17, 12, .55) 45%, rgba(7, 17, 12, .97) 100%);
}
.hx-beam { position: absolute; z-index: -1; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(233, 240, 214, .10), transparent 60%); transform: translate(var(--px, 70vw), var(--py, 45vh)); mix-blend-mode: screen; }
.hx-inner { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.hx-title { font-size: clamp(3rem, 9vw, 6rem); font-weight: 400; line-height: .92; letter-spacing: -.04em; color: var(--mist); }
.hx-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hx-title .line > span { display: inline-block; transform-origin: 0 100%; }
.hx-title em { font-family: var(--hand); font-style: normal; font-weight: 700; color: var(--hot); font-size: 1.12em; letter-spacing: -.01em; }
.hx-lede { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mist-2); max-width: 44ch; }
.hx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; }
.hx-progress { display: grid; gap: 7px; min-width: 200px; }
.hx-progress b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--mist); font-variant-numeric: tabular-nums; }
.hx-progress span { color: var(--mist-3); font-size: .9rem; }
.hx-photo { justify-self: center; width: min(100%, 300px); }
.hx-photo .polaroid { --r: 5deg; }
.hx-meta { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist-3); max-width: 1240px; margin: 0 auto; }
.hx-scroll { display: inline-flex; align-items: center; gap: 10px; }
.hx-scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--mist-3), transparent); animation: drip 2s var(--expo) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hx.solved .hx-title em { color: var(--mist); }

/* Historia */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-text { display: grid; gap: 22px; }
.story-big { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.18; letter-spacing: -.02em; color: var(--mist); }
.story-big .w { display: inline-block; white-space: pre; }
.story-p { color: var(--mist-2); font-size: 1.08rem; max-width: 52ch; }
.story-sign { font-family: var(--hand); font-size: 1.5rem; color: var(--mist-2); }
.story-scene { position: relative; }
.story-scene .photo { --ratio: 4 / 3; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.story-tag { position: absolute; left: -14px; bottom: -18px; padding: 10px 16px; background: var(--paper); color: var(--ink); font-family: var(--hand); font-size: 1.35rem; transform: rotate(-3deg); box-shadow: 0 12px 24px -10px rgba(0,0,0,.6); }
.story-tents { position: absolute; inset: 0; pointer-events: none; }
.story-tents span { position: absolute; width: 30px; height: 28px; display: grid; place-items: end center; padding-bottom: 3px; font: 700 .8rem var(--mono); color: #2B2406; background: #E9D36A; clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* Tendedero de fotos */
.line-wrap { position: relative; padding-top: 34px; }
.clothes { position: absolute; left: -4%; right: -4%; top: 0; height: 80px; width: 108%; overflow: visible; pointer-events: none; }
.clothes path { fill: none; stroke: #C9B79A; stroke-width: 1.6; opacity: .8; }
.pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 4vw, 56px); padding: 0 clamp(0px, 3vw, 40px); }
.pic { position: relative; transform-origin: 50% -26px; }
.pic:nth-child(2) { margin-top: 26px; } .pic:nth-child(3) { margin-top: 8px; }
.pin-clip { position: absolute; left: 50%; top: -26px; z-index: 2; width: 12px; height: 38px; margin-left: -6px; border-radius: 3px; background: linear-gradient(90deg, #B98F5B, #D7B27F 50%, #A27845); box-shadow: 0 3px 4px rgba(0,0,0,.4); }

/* Tablero */
.board-felt {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.04), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 .1 0 0 0 0 .05 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #1D4330, #143323);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 0 0 12px #0F271B, inset 0 0 0 13px rgba(255,255,255,.06), inset 0 40px 100px rgba(0,0,0,.35), 0 50px 100px -40px rgba(0,0,0,.9);
  border-radius: 18px;
}
.board .sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.board-count { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5.5rem); line-height: .8; color: var(--mist); font-variant-numeric: tabular-nums; }
.board-count small { font-size: .35em; color: var(--mist-3); margin-left: 6px; }
.board-string path { animation: none; }
.board.drawn .board-string path { animation: draw .45s cubic-bezier(.45, 0, .2, 1) forwards; }
.ev a { border-radius: 2px; }
.ev:not(.on) a { background: #CFDBC4; }
.ev.on a { background: #F6F8F0; }

/* Rueda de reconocimiento */
.lineup-wall {
  position: relative; padding: clamp(28px, 4vw, 50px) clamp(16px, 3vw, 40px) clamp(20px, 3vw, 34px); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #13281D, #0D1D15);
  box-shadow: inset 0 0 0 1px var(--edge), 0 40px 80px -40px rgba(0,0,0,.9);
}
.lineup-wall::before { content: ""; position: absolute; left: 50%; top: -30%; width: 120%; height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(233, 240, 214, .10), transparent); pointer-events: none; }
.heights { position: absolute; inset: 0; pointer-events: none; }
.heights span { position: absolute; left: 0; right: 0; height: 1px; background: rgba(230, 238, 223, .12); transform-origin: left; }
.heights span::before { content: attr(data-cm); position: absolute; left: 10px; top: -16px; font: 700 .68rem var(--mono); color: var(--mist-3); letter-spacing: .08em; }
.sus-people { position: relative; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); align-items: end; }
.sus { background: transparent; border: 0; color: var(--mist); padding: 0; gap: 10px; border-radius: 0; }
.sus:hover { transform: translateY(-6px); }
.sus .photo { --ratio: 3 / 4; width: 100%; border-radius: 4px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.9); transition: filter .4s; }
.sus .photo.empty { gap: 6px; }
.sus-face { width: 100%; height: auto; margin: 0; border-radius: 0; background: none; }
.sus-art { display: grid; place-items: center; width: 100%; height: 100%; color: var(--mist-2); }
.sus-art .ico { width: 54%; height: auto; stroke-width: 1.2; }
.sus-plate { display: grid; gap: 1px; padding: 8px 10px; width: 100%; background: #F1F4EA; color: var(--ink); border-radius: 2px; text-align: center; box-shadow: 0 8px 16px -8px rgba(0,0,0,.6); }
.sus-no { font: 700 .7rem var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.sus-name { font-weight: 700; font-size: .95rem; line-height: 1.15; }
.sus-rol { font-size: .74rem; color: var(--ink-3); }
.sus-x { inset: 0 0 auto 0; aspect-ratio: 3 / 4; }
.sus-x::before, .sus-x::after { height: 6px; background: var(--hot); box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.sus.out { background: transparent; }
.sus.out .photo { filter: grayscale(1) brightness(.5); }
.sus.out .sus-plate { opacity: .55; }
.sus-groups { margin-top: clamp(26px, 4vw, 40px); }
.sus-group h3 { color: var(--mist); font-weight: 400; font-size: 1.4rem; }
.chip { background: var(--night-3); color: var(--mist); border-color: var(--edge-2); }
.chip:hover { border-color: var(--mist-3); }
.chip.out { background: transparent; color: var(--mist-3); }
.chip::after { background: var(--hot); }

/* Acusación */
.accuse {
  background: var(--paper); color: var(--ink); border: 0; border-radius: 4px; max-width: 880px; margin: 0 auto;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.04);
  padding: clamp(28px, 5vw, 56px);
}
.accuse-zone { position: relative; }
.accuse-zone::before { content: ""; position: absolute; left: 50%; top: -120px; width: min(900px, 120%); height: 140%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgba(233, 240, 214, .09), transparent 70%); pointer-events: none; }
.accuse.locked { background: var(--night-2); color: var(--mist); box-shadow: inset 0 0 0 1.5px var(--edge-2); border-style: none; }
.accuse.locked p { color: var(--mist-2); }
.accuse h2 { font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.03em; }
.acc-field span { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.acc-form select { min-height: 52px; font-size: 1.02rem; background-color: #fff; }
.accuse .btn-ghost { color: var(--ink); }
.accuse.locked .btn-ghost { color: var(--mist); }

/* Carta final */
.finale { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.finale .photo { --ratio: 4 / 3; }
.finale .polaroid { --r: -3deg; }
.finale .polaroid .photo { --ratio: 4 / 3; }
.letter { margin-top: 0; color: var(--ink); background: var(--paper); border: 0; border-radius: 3px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.95); }
.letter.open { background: #F6F8F0; }

.foot { padding: 40px var(--gutter) 60px; text-align: center; color: var(--mist-3); font-size: .9rem; border-top: 1px solid var(--edge); }
.foot em { font-family: var(--hand); font-style: normal; color: var(--hot); font-size: 1.3em; }

/* =========================================================================
   PÁGINAS DE PRUEBA
   ========================================================================= */
.game-head { padding: clamp(22px, 4vw, 44px) 0 clamp(20px, 3vw, 30px); }
.back { color: var(--mist-2); }
.back:hover { color: var(--mist); background: var(--night-3); }
.gh-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 10px clamp(16px, 3vw, 34px); margin-top: 18px; }
.gh-num { font-family: var(--serif); font-size: clamp(4rem, 12vw, 8.5rem); line-height: .78; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(230, 238, 223, .45); font-variant-numeric: tabular-nums; user-select: none; }
.gh-text h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; color: var(--mist); }
.gh-sub { margin-top: 10px; color: var(--mist-2); max-width: 62ch; }
.gh-sub strong { color: var(--mist); font-weight: 650; }
.gh-state { align-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--edge-2); color: var(--mist-2); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.gh-state.on { background: var(--hot); border-color: var(--hot); color: #fff; }
.gh-state .ico { width: 15px; height: 15px; }

.game-body {
  position: relative; color: var(--ink); background: var(--paper); border-radius: 6px;
  padding: clamp(18px, 3.4vw, 40px);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 50px 100px -40px rgba(0,0,0,.95), 0 18px 40px -20px rgba(0,0,0,.6);
  --cur-paper: 1;
}
.game-body::before { content: ""; position: absolute; left: clamp(24px, 6vw, 70px); top: -12px; width: 18px; height: 44px; border: 3px solid #9EB2A0; border-radius: 10px; border-bottom-color: transparent; transform: rotate(8deg); }
.game-body::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 70% at 50% 0%, transparent 60%, rgba(23, 48, 31, .05)); }
.game-body .btn-ghost { color: var(--ink); border-color: var(--line-2); }

.game-next { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.game-next a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 99px; color: var(--mist-2); text-decoration: none; font-weight: 600; font-size: .92rem; border: 1px solid var(--edge); }
.game-next a:hover { color: var(--mist); border-color: var(--edge-2); background: var(--night-2); }

/* Modales en el nuevo mundo */
.modal.in { background: rgba(3, 8, 5, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box { color: var(--ink); background: var(--paper); }
.modal-reveal.in { background: rgba(3, 8, 5, .9); }
.modal-copy h2 { font-weight: 400; }

/* Transición entre páginas: un círculo de linterna desde el clic */
::view-transition-old(root) { animation: vtFade .5s var(--expo) both; }
::view-transition-new(root) { animation: vtCircle .75s var(--quint) both; }
@keyframes vtFade { to { opacity: .2; transform: scale(.985); filter: blur(3px); } }
@keyframes vtCircle { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); } to { clip-path: circle(150% at var(--vx, 50%) var(--vy, 50%)); } }

/* =========================================================================
   CRUCIGRAMA
   ========================================================================= */
.cw-layout { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: clamp(22px, 4vw, 50px); align-items: start; }
.cw-main { display: grid; gap: 16px; justify-items: start; }
.cw-bar { min-height: 3em; padding: 12px 16px; border-radius: 10px; background: var(--night-2); color: var(--mist); width: 100%; max-width: 480px; }
.cw-bar strong { color: var(--hot); margin-right: 4px; }
.cw-grid { --s: clamp(38px, min(11vw, calc((100svh - 330px) / var(--rows))), 58px); display: grid; grid-template-columns: repeat(var(--cols), var(--s)); grid-auto-rows: var(--s); gap: 3px; padding: 3px; border-radius: 8px; background: transparent; }
.cw-void { border-radius: 4px; }
.cw-cell { position: relative; display: block; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1.5px #24402F inset, 0 3px 0 rgba(23, 48, 31, .18); animation: cwIn .5s var(--d) var(--expo) both; transition: background .2s, transform .2s var(--expo); cursor: text; }
.cw-in { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; text-align: center; font: 700 calc(var(--s) * .48) / 1 var(--mono); text-transform: uppercase; color: var(--ink); padding: 6px 0 0; caret-color: transparent; border-radius: 5px; }
.cw-in:focus { outline: none; }
.cw-n { position: absolute; left: 4px; top: 2px; font: 700 .62rem var(--mono); color: var(--ink-3); pointer-events: none; z-index: 1; }
.cw-cell.on { background: #E6F0DC; }
.cw-cell.here { background: #FFE2E5; box-shadow: 0 0 0 2.5px var(--hot) inset, 0 3px 0 rgba(23, 48, 31, .18); }
.cw-cell.pop { animation: cwPop .3s var(--expo); }
.cw-cell.bad { background: #FCD3D8; animation: shake .35s; }
.cw-cell.given .cw-in { color: var(--leaf); }
.cw-grid.solved .cw-cell { background: var(--leaf); box-shadow: none; animation: cwWin .6s calc(var(--d) * 1.4) var(--back) both; }
.cw-grid.solved .cw-in { color: #fff; }
.cw-clues h3 { font-size: 1.3rem; font-weight: 400; margin: 0 0 10px; }
.cw-clues h3 + .cw-list { margin-bottom: 22px; }
.cw-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cw-list button { width: 100%; display: grid; grid-template-columns: 2em 1fr auto; gap: 10px; align-items: baseline; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--ink); transition: background .2s; }
.cw-list button:hover { background: var(--paper-2); }
.cw-list strong { font-family: var(--mono); color: var(--leaf); }
.cw-list em { font-style: normal; font-size: .8rem; color: var(--ink-3); white-space: nowrap; }
.cw-list li.cur button { background: #E6F0DC; }
.cw-list li.done span { text-decoration: line-through; text-decoration-color: var(--hot); text-decoration-thickness: 2px; color: var(--ink-3); }
.cw-fb { min-height: 1.5em; font-weight: 600; color: var(--ink-2); }
.cw-fb strong { color: var(--red); }
@keyframes cwIn { from { opacity: 0; transform: translateY(14px) scale(.8); } }
@keyframes cwPop { 40% { transform: scale(1.12); } }
@keyframes cwWin { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(1.05); } 100% { transform: rotateY(0); } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hx-inner, .story, .finale { grid-template-columns: 1fr; }
  .hx-photo { width: min(70%, 240px); justify-self: end; margin-top: -10px; }
  .sus-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cw-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .garland { grid-row: 1; grid-column: 2; }
  .gl-bar { width: 90px; }
  .hx { margin-top: -100px; padding-top: 140px; align-items: start; }
  .hx-meta .hx-scroll { display: none; }
  .gh-row { grid-template-columns: auto minmax(0, 1fr); }
  .gh-state { grid-column: 1 / -1; justify-self: start; order: 3; }
  .pics { grid-template-columns: 1fr 1fr; }
  .pics .pic:nth-child(3) { grid-column: 1 / -1; width: 60%; justify-self: center; }
  .game-body { padding: 18px 14px; margin-inline: calc(var(--gutter) * -.5); }
}
@media (max-width: 560px) {
  .sus-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sus-people .sus:last-child { grid-column: 1 / -1; width: 60%; justify-self: center; }
  .story-tag { left: 8px; }
  .gh-num { font-size: 3.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hx-dark { background: radial-gradient(circle 380px at 70% 45%, rgba(7, 17, 12, .1), rgba(7, 17, 12, .9)); }
  ::view-transition-new(root), ::view-transition-old(root) { animation: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.board .ev { animation: none; }
/* GSAP anima transform/opacity de estos elementos: sin transiciones CSS en esas propiedades. */
.sus { transition: none; }
.sus:hover { transform: none; }
.sus .photo, .sus .sus-plate { transition: transform .35s var(--expo), filter .4s, opacity .3s; }
.sus:hover .photo { transform: translateY(-6px) rotate(-1deg); }
.sus:hover .sus-plate { transform: translateY(-3px); }
.chip { transition: background .2s, color .2s, border-color .2s; }
.magnet { transition: background .2s, box-shadow .25s; }
.sus .photo:not(.empty):not(:has(img)) { background: linear-gradient(180deg, rgba(26, 51, 38, .55), rgba(12, 26, 19, .75)); box-shadow: inset 0 0 0 1px var(--edge); }
.gh-row { position: relative; }
@media (max-width: 760px) {
  .gh-row { grid-template-columns: 1fr; }
  .gh-num { position: absolute; right: -4px; top: -26px; font-size: 6.5rem; z-index: -1; -webkit-text-stroke-color: rgba(230, 238, 223, .22); }
  .game-head { position: relative; z-index: 0; }
}
.rv-back.has-photo { padding: 0; overflow: hidden; }
.rv-back.has-photo .photo { position: absolute; inset: 0; aspect-ratio: auto; }
.rv-back.has-photo .rv-name { position: absolute; left: 0; right: 0; bottom: 8px; color: #fff; font-size: 2.4rem; text-shadow: 0 2px 12px rgba(0,0,0,.7); }

/* ---------- Cursor-lupa ---------- */
.cursor { display: none !important; }
html.lupa-on, html.lupa-on * { cursor: none !important; }
.lupa { position: fixed; left: 0; top: 0; z-index: 120; width: 64px; height: 64px; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.lupa.on { opacity: 1; }
.lupa svg { display: block; overflow: visible; transform-origin: 22px 22px; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.lupa.hot svg { transform: scale(1.22) rotate(-8deg); }
.lupa.down svg { transform: scale(.88); transition-duration: .08s; }
.lupa .lupa-shadow { fill: none; stroke: rgba(3, 8, 5, .75); stroke-width: 7; stroke-linecap: round; }
.lupa .lupa-ring { fill: none; stroke: #E6EEDF; stroke-width: 3.2; }
.lupa .lupa-handle { stroke: #C9A36A; stroke-width: 5; stroke-linecap: round; }
.lupa .lupa-glass { fill: rgba(214, 232, 220, .16); transition: fill .25s; }
.lupa.hot .lupa-glass { fill: rgba(229, 57, 79, .24); }
.lupa .lupa-shine { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2; stroke-linecap: round; }
.lupa .lupa-dot { fill: #E5394F; stroke: rgba(3, 8, 5, .6); stroke-width: 1; }
@media (hover: none), (pointer: coarse) { .lupa { display: none; } }

/* El texto de la portada siempre sobre fondo limpio */
.hx-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--night) 0%, rgba(7, 17, 12, .94) 34%, rgba(7, 17, 12, .55) 52%, rgba(7, 17, 12, 0) 68%); }
.hx-copy { position: relative; }
.hx-title, .hx-lede { text-shadow: 0 2px 24px rgba(7, 17, 12, .9); }
@media (max-width: 900px) {
  .hx-scene { top: 38%; }
  .hx-scrim { background: linear-gradient(180deg, var(--night) 0%, rgba(7, 17, 12, .96) 45%, rgba(7, 17, 12, .4) 70%, rgba(7, 17, 12, 0) 85%); }
}
/* Rueda de reconocimiento con 8 personajes */
.sus-people { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.sus-name { font-size: .9rem; }
.sus-rol { font-size: .7rem; line-height: 1.25; }
@media (max-width: 1100px) { .sus-people { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 26px; } }
@media (max-width: 560px) { .sus-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sus-people .sus:last-child { grid-column: auto; width: auto; } }

/* ---------- Intro de película ---------- */
.intro-old{ overflow: hidden; background: radial-gradient(80% 70% at 50% 45%, #0E2117, #030805 70%); }
.intro-old .in-alarm { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(229, 57, 79, .32), transparent 70%); opacity: 0; pointer-events: none; }
.intro-old .in-stage { position: relative; z-index: 2; width: min(92vw, 720px); display: grid; justify-items: center; text-align: center; }
.intro-old .in-date { display: grid; gap: 6px; justify-items: center; }
.intro-old .in-day { font-family: var(--mono); font-size: clamp(.8rem, 2.4vw, .95rem); letter-spacing: .35em; text-transform: uppercase; color: var(--mist-3); }
.intro-old .in-clock { font: 700 clamp(2rem, 7vw, 3.4rem)/1 var(--mono); color: var(--mist); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.intro-old .in-clock b { color: var(--mist); }
.intro-old .in-clock.hit b { color: var(--hot); text-shadow: 0 0 24px rgba(229, 57, 79, .6); }
.intro-old .in-scene { width: min(100%, 520px); height: auto; margin-top: 8px; overflow: visible; }
.intro-old .in-line { position: absolute; left: 0; right: 0; bottom: 6%; font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 2.8rem); line-height: 1.1; color: var(--mist); padding: 0 12px; }
.intro-old .in-line em { font-family: var(--hand); font-style: normal; color: var(--hot); font-size: 1.15em; }
.intro-old .in-l3 { bottom: 42%; }
.intro-old .in-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 0; font-weight: 400; color: var(--mist); }
.intro-old .in-t1 { font-family: var(--mono); font-size: clamp(.9rem, 2.6vw, 1.15rem); letter-spacing: .5em; text-transform: uppercase; color: var(--mist-2); opacity: 0; }
.intro-old .in-t2 { font-family: var(--hand); font-style: normal; font-weight: 700; font-size: clamp(4.4rem, 18vw, 9rem); line-height: 1; color: var(--hot); opacity: 0; display: inline-block; }
.intro-old .in-tape { position: absolute; left: -20%; right: -20%; z-index: 3; height: clamp(40px, 7vw, 58px); display: flex; align-items: center; overflow: hidden; white-space: nowrap;
  background: repeating-linear-gradient(135deg, #E9D36A 0 26px, #D9C04F 26px 52px); color: #141006; font: 700 clamp(.9rem, 2.4vw, 1.25rem)/1 var(--mono); letter-spacing: .14em;
  box-shadow: 0 14px 40px rgba(0,0,0,.6); }
.intro-old .in-tape span { display: block; padding-left: 20px; }
.intro-old .in-tape.a { top: 38%; transform: rotate(-9deg); }
.intro-old .in-tape.b { top: 52%; transform: rotate(7deg); }
.intro-old .in-tape.a span { animation: tapeRun 12s linear infinite; }
.intro-old .in-tape.b span { animation: tapeRun 14s linear infinite reverse; }
@keyframes tapeRun { to { transform: translateX(-50%); } }
.intro-old .intro-skip { z-index: 5; }
.intro-old .in-stage { padding-bottom: clamp(70px, 12vw, 110px); } .intro-old .in-l2 { bottom: 0; } .intro-old .in-l3 { bottom: auto; top: 40%; }
.intro-old .in-tape.a { top: 15%; } .intro-old .in-tape.b { top: 74%; } .intro-old .in-l3 { top: 44%; }

/* ---------- Tipografía: Instrument Serif es estrecha, pide menos tracking negativo y algo más de tamaño ---------- */
.hx-title, .sec-title, .accuse h2, .gh-text h1, .case-title, .story-big, .sec-head h2, .game-title h1, .hero-title { letter-spacing: -.005em; }
.hx-title { font-size: clamp(3.4rem, 10.5vw, 7rem); line-height: .9; }
.hx-title em { letter-spacing: 0; padding-left: .08em; }
.sec-title { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.accuse h2 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
.gh-text h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.gh-num { letter-spacing: -.02em; }
.story-big { font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.12; }

/* ---------- El sótano (laberinto en primera persona) ---------- */
.lab-wrap { display: grid; gap: 14px; }
.lab-stage { position: relative; border-radius: 10px; overflow: hidden; background: #030805; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(0,0,0,.4); outline: none; user-select: none; -webkit-user-select: none; }
.lab-stage:focus-visible { box-shadow: 0 0 0 3px var(--hot); }
.lab-view { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; image-rendering: auto; touch-action: none; }
.lab-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, transparent 50%, rgba(0,0,0,.65) 100%); }
.lab-stage.flash::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle at 50% 55%, rgba(244, 231, 197, .45), transparent 60%); animation: labFlash .6s ease-out forwards; }
@keyframes labFlash { from { opacity: 1; } to { opacity: 0; } }
.lab-mini { position: absolute; top: 12px; right: 12px; z-index: 3; width: clamp(96px, 22%, 150px); aspect-ratio: 1; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px rgba(230, 238, 223, .18), 0 10px 30px rgba(0,0,0,.7); pointer-events: none; }
.lab-hud { position: absolute; top: 12px; left: 12px; z-index: 3; display: grid; gap: 8px; pointer-events: none; }
.lab-count { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(3, 8, 5, .7); color: var(--mist-2); font: 600 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; width: max-content; backdrop-filter: blur(4px); }
.lab-count b { color: var(--mist); font: 700 1.05rem var(--mono); letter-spacing: 0; }
.lab-count strong { color: var(--hot); }
.lab-slots { display: flex; flex-wrap: wrap; gap: 3px; max-width: 200px; }
.lab-slot { width: 22px; height: 22px; display: grid; place-items: center; font-size: 14px; border-radius: 6px; background: rgba(3, 8, 5, .6); filter: grayscale(1) brightness(.35); transition: filter .4s, transform .4s; }
.lab-slot.on { filter: none; transform: scale(1.12); background: rgba(229, 57, 79, .25); }
.lab-msg { position: absolute; left: 50%; bottom: 18px; z-index: 3; margin: 0; transform: translateX(-50%); padding: 8px 16px; border-radius: 99px; background: rgba(3, 8, 5, .75); color: var(--mist); font-weight: 600; font-size: .92rem; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity .4s; }
.lab-msg.on { opacity: 1; }
.lab-msg:empty { display: none; }
.lab-joy { position: absolute; z-index: 3; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 2px solid rgba(230, 238, 223, .35); background: rgba(3, 8, 5, .3); display: none; place-items: center; pointer-events: none; }
.lab-joy.on { display: grid; }
.lab-joy span { width: 38px; height: 38px; border-radius: 50%; background: rgba(230, 238, 223, .55); }
.lab-fs { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(230, 238, 223, .2); background: rgba(3, 8, 5, .6); color: var(--mist-2); cursor: pointer; }
.lab-fs:hover { color: var(--mist); border-color: var(--hot); }
.lab-cover { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--mist); background: radial-gradient(60% 60% at 50% 50%, rgba(12, 26, 19, .82), rgba(3, 8, 5, .96)); }
.lab-cover[hidden] { display: none; }
.lab-cover h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--mist); }
.lab-cover p { margin: 0; max-width: 44ch; color: var(--mist-2); }
.lab-kicker { font: 700 .75rem var(--mono) !important; letter-spacing: .3em; text-transform: uppercase; color: var(--hot) !important; }
.lab-keys { font-size: .82rem; color: var(--mist-3) !important; }
.lab-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.lab-foot p { margin: 0; }
.lab-stage:fullscreen { display: grid; place-items: center; border-radius: 0; }
.lab-stage:fullscreen .lab-view { width: min(100vw, 160vh); }
@media (max-width: 560px) {
  .lab-slots { max-width: 128px; }
  .lab-slot { width: 18px; height: 18px; font-size: 11px; }
  .lab-cover { gap: 8px; padding: 16px; }
  .lab-cover p { font-size: .9rem; }
}

/* ---------- La galería de tiro (puntería 3D) ---------- */
html.lupa-hide .lupa { opacity: 0 !important; }
.pt-wrap { display: grid; gap: 12px; }
.pt-wrap > p { margin: 0; }
.pt-stage { position: relative; border-radius: 10px; overflow: hidden; background: #050c08; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); user-select: none; -webkit-user-select: none; }
.pt-view { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; touch-action: manipulation; }
.pt-hud { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; pointer-events: none; }
.pt-score { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 99px; background: rgba(3, 8, 5, .7); color: var(--mist-2); font: 600 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(4px); }
.pt-score b { color: var(--mist); font: 700 1.05rem var(--mono); letter-spacing: 0; }
.pt-score strong { color: var(--hot); }
.pt-time { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 99px; background: rgba(3, 8, 5, .7); color: var(--mist); font: 700 1rem var(--mono); min-width: 140px; }
.pt-time::before { content: ""; position: absolute; left: 12px; right: 48px; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(230, 238, 223, .12); }
.pt-time-bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--hot); transform-origin: left; }
.pt-hurry .pt-time { animation: ptHurry .6s ease-in-out infinite alternate; }
@keyframes ptHurry { to { box-shadow: 0 0 0 3px rgba(229, 57, 79, .6); } }
.pt-ammo { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 5px; pointer-events: none; }
.pt-ammo span { width: 9px; height: 24px; border-radius: 5px 5px 2px 2px; background: rgba(230, 238, 223, .15); }
.pt-ammo span.on { background: linear-gradient(#E8C547 0 40%, #B88A2E 40%); box-shadow: 0 0 6px rgba(232, 197, 71, .4); }
.pt-ammo.reloading span { animation: ptLoad .9s linear; }
@keyframes ptLoad { from { opacity: .3; } to { opacity: 1; } }
.pt-reload { position: absolute; left: 14px; bottom: 48px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(230, 238, 223, .2); background: rgba(3, 8, 5, .6); color: var(--mist-2); font: 600 .8rem var(--sans); cursor: pointer; }
.pt-reload svg { width: 16px; height: 16px; }
.pt-reload:hover { color: var(--mist); border-color: var(--hot); }
.pt-msg { position: absolute; left: 50%; top: 56px; z-index: 2; margin: 0; transform: translateX(-50%); padding: 7px 16px; border-radius: 99px; background: rgba(3, 8, 5, .75); color: var(--mist); font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
.pt-msg.on { opacity: 1; }
.pt-msg.bad { color: #FF8A9A; }
.pt-cover { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; color: var(--mist); background: radial-gradient(60% 60% at 50% 50%, rgba(12, 26, 19, .8), rgba(3, 8, 5, .95)); }
.pt-cover[hidden] { display: none; }
.pt-cover h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5.5vw, 3.4rem); color: var(--mist); }
.pt-cover p { margin: 0; max-width: 46ch; color: var(--mist-2); }
.pt-kicker { font: 700 .75rem var(--mono) !important; letter-spacing: .3em; text-transform: uppercase; color: var(--hot) !important; }
.pt-keys { font-size: .82rem; color: var(--mist-3) !important; }
@media (max-width: 560px) {
  .pt-time { min-width: 110px; }
  .pt-cover { gap: 8px; padding: 14px; }
  .pt-cover p { font-size: .88rem; }
  .pt-cover .btn-big { min-height: 44px; }
}
