/* Reto diario en la web (/daily). Rehecho el 10-10-2026 con el look de la app:
   pegatinas (contorno oscuro y relieve), Dartín en cada pantalla y diana al destapar. */
.daily { --ink: #070A12; --surface-high: #242C40; --blue: #3D8BFF; padding-top: 20px; }
.label { color: var(--muted); font-size: 13px; letter-spacing: 1.2px; font-weight: 700; margin: 12px 0 0; text-transform: uppercase; }

/* Botones «pegatina»: color sólido, contorno y relieve que se hunde al pulsar. */
.button.sticker { width: 100%; border: 3px solid var(--ink); background: var(--coral); box-shadow: 0 6px 0 var(--ink); gap: 10px; transition: transform .07s, box-shadow .07s; }
.button.sticker:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--ink); }
.button.sticker[disabled] { background: var(--surface-high); color: var(--muted); box-shadow: 0 6px 0 var(--ink); }
.button.secondary { width: 100%; border: 3px solid var(--coral); }
button.button { cursor: pointer; }
.dart-icon { width: 30px; height: 30px; flex: none; }

/* Dartín y su bocadillo. */
.dartin { display: block; height: auto; user-select: none; -webkit-user-drag: none; }
.hello { display: flex; align-items: center; gap: 4px; margin: 18px 0 8px; }
.hello .dartin { width: clamp(96px, 28vw, 140px); flex: none; }
.bubble { position: relative; flex: 1; min-width: 0; background: var(--text); color: var(--bg); border: 3px solid var(--ink); border-radius: 22px; padding: 14px 16px; box-shadow: 0 5px 0 var(--ink); }
.bubble::before { content: ''; position: absolute; left: -12px; top: 50%; margin-top: -10px; border: 10px solid transparent; border-right-color: var(--ink); border-left: 0; }
.bubble h1 { font-size: clamp(24px, 6.5vw, 36px); margin: 0 0 6px; color: var(--bg); }
.bubble p { margin: 0; font-size: 16px; font-weight: 700; color: #3A4256; }
.bob { animation: bob 2.4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* Carga: Dartín apunta y el dardo se clava (unos segundos, como en la app). */
.loader { margin-top: 18vh; text-align: center; }
.dl { position: relative; width: 240px; height: 160px; margin: 0 auto 12px; }
.dl-dartin { position: absolute; left: 10px; bottom: 0; width: 100px; height: auto; animation: bob 1.6s ease-in-out infinite; }
.dl-board { position: absolute; right: 10px; top: 30px; width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--ink);
  background: radial-gradient(circle, var(--gold) 0 12%, var(--coral) 12% 30%, var(--text) 30% 52%, var(--blue) 52%); }
.dl-dart { position: absolute; left: 50%; top: 50%; width: 34px; height: 4px; border-radius: 2px; background: var(--text); transform-origin: 0 50%;
  animation: throw 1.6s ease-in infinite; }
.dl-dart::after { content: ''; position: absolute; right: -2px; top: -6px; border: 8px solid transparent; border-left-color: var(--gold); }
@keyframes throw { 0% { transform: translate(-150px, 10px) rotate(195deg); opacity: 0; } 35% { opacity: 1; } 55%, 100% { transform: translate(0, 0) rotate(200deg); opacity: 1; } }

/* Jugando: la cara grande, Dartín encima de la esquina y la edad en pegatina. */
.topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dots { display: flex; gap: 6px; margin-top: 12px; }
.dots i { width: 22px; height: 10px; border-radius: 5px; background: var(--surface-high); border: 2px solid var(--ink); }
.dots i.now { background: var(--muted); }
.dots i.exact, .dots i.close { background: var(--coral); }
.dots i.fair { background: var(--gold); }
.dots i.far { background: #4A5470; }
/* El alto que queda para la cara: la pantalla menos cabecera, selector y botón.
   Primero con vh (Chrome antiguos, p. ej. Android 8, no entienden dvh). */
.stage { position: relative; width: clamp(150px, calc((100vh - 400px) * .75), 100%); width: clamp(150px, calc((100dvh - 390px) * .75), 100%); margin: 10px auto 34px; }
.card-sticker { width: 100%; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: var(--surface); border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); margin: 0; }
.card-sticker img { width: 100%; height: 100%; object-fit: cover; display: block; }
.on-face { position: absolute; left: -14px; bottom: -26px; width: clamp(64px, 22%, 92px); transition: transform .15s; }
.on-face.pop { animation: pop .45s ease-out; }
@keyframes pop { 0% { transform: scale(.6) rotate(-10deg); } 60% { transform: scale(1.12) rotate(4deg); } 100% { transform: scale(1); } }
.age-sticker { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); min-width: 104px; padding: 2px 18px; text-align: center;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 52px; line-height: 1.05; color: var(--bg);
  background: var(--text); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 5px 0 var(--ink); }
.vote { display: flex; flex-direction: column; gap: 6px; }
.slider-row { display: flex; align-items: center; gap: 10px; }
.round { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: var(--surface-high); color: var(--text);
  font-size: 28px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.round:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.slider-row input[type=range] { flex: 1; min-width: 0; height: 36px; accent-color: var(--coral); }
.vote .button { margin: 8px 0 4px; }

/* Destape: diana con tu dardo y las dos edades. */
.reveal-row { display: flex; align-items: center; gap: 30px; margin-top: 4px; } /* el dardo de los aros de fuera sobresale ~27 px */
.board { position: relative; flex: none; width: 118px; height: 118px; }
.ring { position: absolute; border-radius: 50%; border: 3px solid var(--ink); }
.r1 { inset: 0; background: var(--blue); }
.r2 { inset: 14%; background: var(--text); }
.r3 { inset: 28%; background: var(--coral); }
.r4 { inset: 39%; background: var(--gold); }
.board-age { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; color: var(--bg); }
.board-dart { position: absolute; width: 56px; height: 56px; animation: fly .45s cubic-bezier(.2, .8, .3, 1.2) both; }
@keyframes fly { 0% { transform: translate(90px, 90px); opacity: 0; } 70% { opacity: 1; } 100% { transform: translate(0, 0); } }
.ages { min-width: 0; }
.verdict { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; margin: 0; }
.verdict.exact, .verdict.close { color: var(--coral); }
.verdict.fair { color: var(--gold); }
.verdict.far { color: var(--muted); }
.reveal .big { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; color: var(--gold); font-size: 34px; margin: 0; line-height: 1.1; }
.reveal .said { margin: 2px 0 0; }
.reveal .button { margin-top: 14px; }

/* Resumen. */
.bubble .score, .score { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 46px; line-height: 1; color: var(--coral); margin: 0 0 6px; }
.bubble .score .unit, .score .unit { font-size: 18px; color: #3A4256; }
.bubble #percent { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 4px; }
.grid figure { margin: 0; text-align: center; }
.grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; border: 3px solid #4A5470; display: block; }
.grid .exact img, .grid .close img { border-color: var(--coral); }
.grid .fair img { border-color: var(--gold); }
.grid figcaption { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; margin-top: 4px; }
.grid small { display: block; color: var(--muted); font-family: Lato, sans-serif; font-weight: 400; font-size: 12px; }
#summary .stores { margin-bottom: 32px; }
.app-hook .perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 15px; }
.app-hook .perks li { display: flex; gap: 8px; align-items: baseline; }
.app-hook .perks li::before { content: '🎯'; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .bob, .dl-dartin, .dl-dart, .on-face.pop, .board-dart { animation: none; }
}
