:root {
  --bg: #060914;
  --bg2: #0B1228;
  --ink: #F4F6FB;
  --muted: #8F9AB6;
  --dim: #5B6582;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(9, 13, 28, .86);
  --lime: #C6FF3D;
  --lime-d: #93C51B;
  --red: #FF4D2E;
  --gold: #FFC83D;
  --blue: #3DA5FF;
  --orange: #FF7A2E;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, sans-serif;
  --r: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); font-family: var(--body); overflow: hidden; overscroll-behavior: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
[hidden] { display: none !important; }

#stadium { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 25%, transparent 45%, rgba(6, 9, 20, .55) 80%, rgba(6, 9, 20, .9) 100%); }

#app { position: relative; z-index: 2; height: 100dvh; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column;
  padding: calc(var(--safe-t) + 10px) 14px calc(var(--safe-b) + 12px); }

/* ---------- Barra superior ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; height: 44px; flex: none; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: .9; }
.brand-word { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: .06em; color: var(--lime);
  text-shadow: 0 0 18px rgba(198, 255, 61, .45), 0 2px 0 #3a5200; }
.brand-sub { font-family: var(--cond); font-weight: 700; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-family: var(--cond); font-size: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.icon-btn:active { transform: scale(.94); }
.streak { font-family: var(--cond); font-weight: 800; font-size: 16px; padding: 7px 10px; border-radius: 12px; background: rgba(255, 122, 46, .12); border: 1px solid rgba(255, 122, 46, .3); }

/* ---------- Pantallas ---------- */
.screen { display: none; flex: 1; min-height: 0; flex-direction: column; }
.screen[data-active] { display: flex; animation: screenIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 20px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.eyebrow { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); margin: 0; }

/* ---------- Botones ---------- */
.btn { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 16px; padding: 12px 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .08s, box-shadow .08s, background .2s; user-select: none; }
.btn-primary { background: var(--lime); color: #0A1400; box-shadow: 0 4px 0 var(--lime-d), 0 10px 30px rgba(198, 255, 61, .25); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lime-d), 0 4px 14px rgba(198, 255, 61, .2); }
.btn-primary:disabled { filter: grayscale(.8) brightness(.6); }
.btn-ghost { background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.btn-ghost:active { transform: scale(.97); }
.btn-xl { width: 100%; font-size: 26px; padding: 18px; border-radius: 18px; }
.btn-lg { width: 100%; font-size: 21px; padding: 15px; }
.btn-arrow { font-size: .8em; }

/* ---------- Inicio ---------- */
#screen-home { justify-content: space-between; gap: 12px; }
.home-hero { text-align: center; padding: 3vh 6px 0; }
.home-bottom { display: flex; flex-direction: column; gap: 10px; }
.home-title { font-family: var(--display); font-weight: 900; font-size: clamp(52px, 15vw, 72px); line-height: .86; margin: 10px 0 12px; text-transform: uppercase;
  letter-spacing: .01em; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.home-title em { font-style: normal; color: var(--lime); text-shadow: 0 0 28px rgba(198, 255, 61, .5); }
.home-lede { margin: 0; color: #C9D1E6; font-size: 16px; line-height: 1.4; }
.home-lede b { color: var(--gold); }
.home-card { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.home-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rule { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.rule b { display: block; color: var(--ink); font-family: var(--cond); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.rule-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); flex: none; font-size: 17px; color: var(--gold); }
#btn-play { animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 0 var(--lime-d), 0 10px 30px rgba(198, 255, 61, .25); } 50% { box-shadow: 0 4px 0 var(--lime-d), 0 10px 46px rgba(198, 255, 61, .55); } }
.home-sports { display: flex; justify-content: center; gap: 12px; font-size: 18px; opacity: .8; }
.played-note { text-align: center; font-family: var(--cond); font-weight: 600; color: var(--muted); font-size: 15px; margin: -4px 0 0; }

/* ---------- HUD ---------- */
.hud { flex: none; padding-top: 6px; }
.pips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.pip { height: 7px; border-radius: 4px; background: rgba(4, 6, 14, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); position: relative; overflow: hidden; transition: background .3s; }
.pip.cur { background: rgba(255, 255, 255, .28); }
.pip.cur::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: shimmer 1.3s infinite; }
.pip.gold { outline: 1px solid rgba(255, 200, 61, .7); }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.hud-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.fans { display: flex; flex-direction: column; line-height: .9; }
.fans-num { font-family: var(--display); font-weight: 900; font-size: 40px; color: var(--ink); text-shadow: 0 0 20px rgba(198, 255, 61, .35); font-variant-numeric: tabular-nums; }
.fans-num.bump { animation: bump .5s; }
@keyframes bump { 30% { transform: scale(1.15); color: var(--lime); } }
.fans-lbl { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.clock { position: relative; width: 52px; height: 52px; display: grid; place-items: center; }
.clock svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.clock-bg { fill: rgba(9, 13, 28, .8); stroke: rgba(255, 255, 255, .1); stroke-width: 4; }
.clock-fg { fill: none; stroke: var(--lime); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; transition: stroke .3s; }
#clock-num { position: relative; font-family: var(--display); font-weight: 900; font-size: 22px; font-variant-numeric: tabular-nums; }
.clock.hurry .clock-fg { stroke: var(--red); }
.clock.hurry #clock-num { color: var(--red); animation: tick .5s infinite alternate; }
@keyframes tick { to { transform: scale(1.18); } }

.stage-spacer { flex: 1; min-height: 40px; }

/* ---------- Tarjeta de jugada ---------- */
.play { padding: 16px 16px 14px; position: relative; overflow: hidden; flex: none; }
.play::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent, var(--lime)); box-shadow: 0 0 18px var(--accent, var(--lime)); }
.play.golden { border-color: rgba(255, 200, 61, .55); box-shadow: 0 0 0 1px rgba(255, 200, 61, .25), 0 0 50px rgba(255, 200, 61, .18), 0 20px 60px rgba(0, 0, 0, .55); }
.play.golden::before { background: linear-gradient(90deg, #ffe08a, var(--gold), #ff9d00, var(--gold), #ffe08a); background-size: 200% 100%; animation: goldslide 2s linear infinite; }
@keyframes goldslide { to { background-position: 200% 0; } }
.play.enter { animation: cardIn .5s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
.play.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

.play-top { display: flex; align-items: center; gap: 8px; }
.chip { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: #DCE3F5; white-space: nowrap; }
.chip-gold { background: rgba(255, 200, 61, .16); color: var(--gold); animation: glow 1.4s ease-in-out infinite alternate; }
@keyframes glow { to { box-shadow: 0 0 16px rgba(255, 200, 61, .5); } }
.round-num { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--muted); }
.q { font-family: var(--display); font-weight: 800; font-size: clamp(27px, 7.6vw, 34px); line-height: 1.02; margin: 12px 0 4px; letter-spacing: .005em; text-wrap: balance; }
.q-sub { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.play.revealing .q { font-size: 19px; margin: 8px 0 2px; color: var(--muted); }
.play.revealing .q-sub { display: none; }
.play.revealing .stamp { font-size: 38px; }

/* Rareza */
.answer { display: flex; flex-direction: column; gap: 8px; }
.sugs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-height: 38px; align-items: center; }
.sugs::-webkit-scrollbar { display: none; }
.sug { flex: none; font-family: var(--cond); font-weight: 700; font-size: 16px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line); white-space: nowrap; animation: sugIn .18s ease-out both; }
.sug:active, .sug.sel { background: var(--lime); color: #0A1400; }
@keyframes sugIn { from { opacity: 0; transform: translateY(6px); } }
.sugs-empty { color: var(--dim); font-size: 13px; font-family: var(--cond); font-weight: 600; letter-spacing: .04em; }
.input-row { display: flex; gap: 8px; }
#inp { flex: 1; min-width: 0; font: 600 20px var(--body); color: var(--ink); background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 16px; padding: 13px 14px; outline: none; transition: border-color .2s, background .2s; }
#inp:focus { border-color: var(--lime); background: rgba(198, 255, 61, .06); }
#inp::placeholder { color: var(--dim); }
.btn-shoot { width: 58px; font-size: 26px; padding: 0; border-radius: 16px; }
.hint { margin: 0; font-size: 13px; color: var(--muted); min-height: 18px; font-family: var(--cond); font-weight: 600; letter-spacing: .03em; }
.hint.bad { color: var(--red); }

/* Estimación */
.est-value { text-align: center; font-family: var(--display); font-weight: 900; font-size: 58px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink);
  text-shadow: 0 0 24px rgba(198, 255, 61, .35); }
.est-unit { font-size: 22px; color: var(--muted); margin-left: 8px; font-weight: 800; }
.est-control { display: flex; align-items: center; gap: 10px; }
.nudge { width: 48px; height: 48px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); font-size: 26px; font-weight: 700; }
.nudge:active { background: rgba(198, 255, 61, .2); transform: scale(.94); }
#est-range { flex: 1; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; touch-action: none; }
#est-range::-webkit-slider-runnable-track { height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--lime) var(--p, 50%), rgba(255, 255, 255, .14) var(--p, 50%)); }
#est-range::-moz-range-track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
#est-range::-moz-range-progress { height: 10px; border-radius: 6px; background: var(--lime); }
#est-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -12px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 5px rgba(198, 255, 61, .35), 0 4px 12px rgba(0, 0, 0, .5); background-image: radial-gradient(circle at 50% 50%, #111 0 18%, transparent 19%), conic-gradient(#fff 0 20%, #222 0 25%, #fff 0 45%, #222 0 50%, #fff 0 70%, #222 0 75%, #fff 0 95%, #222 0); }
#est-range::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(198, 255, 61, .35); }
.est-scale { display: flex; justify-content: space-between; font-family: var(--cond); font-weight: 600; color: var(--dim); font-size: 13px; padding: 0 58px; margin-top: -6px; }

/* Revelación */
.reveal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 4px; }
.stamp { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 46px; line-height: 1; padding: 4px 18px 6px; border: 4px solid currentColor;
  border-radius: 14px; transform: rotate(-4deg); color: var(--tier, var(--lime)); text-shadow: 0 0 24px currentColor; animation: stamp .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes stamp { from { transform: rotate(-4deg) scale(2.4); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
.rv-pts { display: flex; flex-direction: column; align-items: center; margin-top: 4px; }
#rv-pts { font-family: var(--display); font-weight: 900; font-size: 34px; color: var(--ink); }
.rv-fans { font-family: var(--cond); font-weight: 700; color: var(--lime); letter-spacing: .06em; font-size: 15px; }
.rv-answer { margin: 2px 0 0; font-size: 16px; color: #DCE3F5; }
.rv-answer b { color: var(--ink); }
.rv-extra { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.35; max-width: 36ch; }
.rv-extra b { color: #DCE3F5; font-weight: 600; }
.rv-line { width: 100%; padding: 22px 6px 6px; }
.rv-track { position: relative; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.rv-mark { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; transition: left .9s cubic-bezier(.2, .9, .3, 1.1); left: 0; }
.rv-mark i { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-style: normal; font-family: var(--cond); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.rv-you { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.rv-real { background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.rv-real i { color: var(--lime); bottom: auto; top: 20px; }
.rv-actions { display: flex; gap: 8px; width: 100%; margin-top: 8px; }
.rv-actions .btn { flex: 1; }
.btn-next { position: relative; overflow: hidden; background: rgba(255, 255, 255, .1); border: 1px solid var(--line); font-size: 17px; }
.next-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--lime); }

/* ---------- Medio tiempo ---------- */
#screen-half { justify-content: center; }
.half { padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.half-score span { display: block; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; }
.half-score small { font-family: var(--cond); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.half-msg { margin: 0; color: #C9D1E6; }

/* ---------- Final ---------- */
#screen-final { justify-content: space-between; gap: 10px; overflow-y: auto; scrollbar-width: none; }
.fin-hero { text-align: center; padding-top: 2vh; display: flex; flex-direction: column; gap: 6px; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); }
.fin-bottom { display: flex; flex-direction: column; gap: 10px; }
.final { padding: 18px 16px 14px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.fin-pct { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 30vw, 132px); line-height: .85; color: var(--lime); text-shadow: 0 0 40px rgba(198, 255, 61, .5); font-variant-numeric: tabular-nums; }
.fin-pct small { font-size: .45em; }
.fin-title { font-family: var(--display); font-weight: 900; font-size: 38px; text-transform: uppercase; margin: 0; line-height: 1; }
.fin-fans { margin: 0; color: #C9D1E6; font-size: 15px; }
.fin-fans b { color: var(--ink); }
.fin-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 0; }
.fg { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 16px; color: #0A1400;
  background: var(--c); position: relative; animation: fgIn .4s cubic-bezier(.2, 1.4, .4, 1) both; }
.fg.zero { color: var(--muted); background: rgba(255, 255, 255, .08); }
.fg.gold::after { content: '★'; position: absolute; top: -7px; right: -5px; font-size: 13px; color: var(--gold); text-shadow: 0 0 8px var(--gold); }
@keyframes fgIn { from { transform: scale(0); } }
.fin-row { display: flex; gap: 8px; }
.fin-row .btn { flex: 1; }
.fin-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.fin-stats div { display: flex; flex-direction: column; }
.fin-stats b { font-family: var(--display); font-weight: 900; font-size: 24px; }
.fin-stats span { font-family: var(--cond); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fin-next { margin: 0; font-family: var(--cond); font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.fin-next b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Anuncios ---------- */
.ad-slot { flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.ad-banner { min-height: 60px; }
.ad-slot.demo { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 10px, rgba(255, 255, 255, .05) 10px 20px); border: 1px dashed rgba(255, 255, 255, .14);
  color: var(--dim); font-family: var(--cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.ad-inline { min-height: 130px; }
.ad-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(3, 5, 12, .92); display: grid; place-items: center; padding: 20px; animation: screenIn .25s both; }
.ad-box { width: min(380px, 100%); display: flex; flex-direction: column; gap: 10px; }
.ad-tag { margin: 0; font-family: var(--cond); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.ad-creative { aspect-ratio: 4/5; border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(circle at 30% 20%, #23305e, #0b1020 70%); border: 1px solid var(--line); }
.ad-creative h4 { font-family: var(--display); font-weight: 900; font-size: 40px; margin: 0; line-height: .95; text-transform: uppercase; }
.ad-creative p { color: var(--muted); }

/* ---------- Ayuda ---------- */
.sheet { border: 1px solid var(--line); border-radius: 22px; background: #0c1226; color: var(--ink); max-width: 420px; width: calc(100% - 32px); padding: 20px; }
.sheet::backdrop { background: rgba(3, 5, 12, .75); backdrop-filter: blur(4px); }
.sheet h3 { font-family: var(--display); font-weight: 900; font-size: 30px; margin: 0 0 6px; text-transform: uppercase; }
.sheet ol { padding-left: 20px; color: #C9D1E6; line-height: 1.45; margin: 0 0 16px; }
.sheet li { margin: 6px 0; }
.sheet .btn { width: 100%; font-size: 20px; }

.toast { position: fixed; left: 50%; top: calc(var(--safe-t) + 58px); transform: translate(-50%, -20px); opacity: 0; z-index: 60; background: var(--ink); color: #0A1400;
  font-family: var(--cond); font-weight: 800; letter-spacing: .04em; padding: 10px 16px; border-radius: 12px; transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 760px) {
  #app { padding-top: 22px; padding-bottom: 22px; }
  .stage-spacer { min-height: 120px; }
}
@media (max-height: 640px) {
  .home-title { font-size: 46px; }
  .home-rules { display: none; }
  .q { font-size: 25px; margin-top: 8px; }
  .est-value { font-size: 44px; }
  .fin-pct { font-size: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }

/* Ronda 2 */
.challenge { margin: 12px auto 0; max-width: 34ch; padding: 10px 14px; border-radius: 14px; background: rgba(255, 200, 61, .12); border: 1px solid rgba(255, 200, 61, .4);
  color: #FFE7A8; font-size: 15px; line-height: 1.35; }
.challenge b { color: var(--gold); }
.fin-vs { margin: 4px auto 0; padding: 8px 12px; border-radius: 12px; background: rgba(255, 77, 46, .14); border: 1px solid rgba(255, 77, 46, .35); font-size: 15px; color: #FFD1C7; }
.fin-vs.win { background: rgba(198, 255, 61, .12); border-color: rgba(198, 255, 61, .4); color: #E9FFB8; }
.fin-vs b { color: var(--ink); }
.rv-share { color: var(--lime); font-weight: 600; }
.rv-share small { color: var(--dim); font-weight: 500; }
#answer-e.unset .est-value { color: var(--dim); text-shadow: none; }
#answer-e.unset #est-range::-webkit-slider-thumb { animation: nudgeMe 1.1s ease-in-out infinite; }
@keyframes nudgeMe { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
#est-go:disabled { background: rgba(255, 255, 255, .1); color: var(--muted); box-shadow: none; filter: none; }
/* Teclado abierto: la pregunta sube y el estadio se vuelve una franja */
body.kb .stage-spacer { min-height: 0; flex: 0 1 8px; }
body.kb .hud-row { margin-top: 4px; }
body.kb .fans-num { font-size: 26px; }
body.kb .fans-lbl, body.kb .q-sub, body.kb .hint { display: none; }
body.kb .q { font-size: 23px; margin-top: 6px; }
body.kb .topbar { height: 34px; }
body.kb .brand-word { font-size: 22px; }
.fin-hero { position: relative; }
.fin-hero::before { content: ''; position: absolute; inset: -10px -30px -16px; z-index: -1; border-radius: 40px;
  background: radial-gradient(ellipse at 50% 55%, rgba(4, 6, 14, .82) 0%, rgba(4, 6, 14, .6) 55%, rgba(4, 6, 14, 0) 80%); }
.home-hero { position: relative; }
.home-hero::before { content: ''; position: absolute; inset: -6px -30px -10px; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(4, 6, 14, .55) 0%, rgba(4, 6, 14, 0) 75%); }
.rv-line { padding: 24px 6px 24px; }

/* Ronda 3 */
.teaser { display: flex; flex-direction: column; gap: 4px; text-align: center; padding: 2px 4px 4px; }
.teaser-k { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }
.teaser-q { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.05; text-wrap: balance; }
.name-row { display: flex; align-items: center; gap: 10px; font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.name-row span { white-space: nowrap; }
#my-name { flex: 1; min-width: 0; font: 600 16px var(--body); color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; outline: none; }
#my-name:focus { border-color: var(--lime); }
.half-flash { position: fixed; left: 50%; top: 30%; transform: translate(-50%, -50%) scale(.6); opacity: 0; z-index: 40; pointer-events: none; text-align: center;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 22px; border-radius: 18px; background: rgba(6, 9, 20, .88); border: 1px solid rgba(255, 255, 255, .15); transition: .35s cubic-bezier(.2, 1.4, .4, 1); }
.half-flash b { font-family: var(--display); font-weight: 900; font-size: 40px; text-transform: uppercase; line-height: 1; }
.half-flash span { font-family: var(--cond); font-weight: 700; color: var(--lime); letter-spacing: .06em; }
.half-flash.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.site-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 2px 0 0; }
.site-links a, .help-links a { color: var(--dim); font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-decoration: none; }
.site-links a:hover, .help-links a:hover { color: var(--ink); }
.help-links { text-align: center; margin: 12px 0 0; color: var(--dim); }
