/* lancer.css — Le Lancer : complète course.css (palette rouge cible / or). */
body.ln {
  --c-accent: #ff5e7e;
  --c-accent2: #ffd54a;
  background: radial-gradient(1200px 700px at 15% -10%, rgba(255, 94, 126, .16), transparent 60%),
              radial-gradient(1000px 600px at 90% 110%, rgba(255, 213, 74, .16), transparent 60%),
              linear-gradient(170deg, #150a14, #2a1024);
}
body.ln .ch-btn, body.ln .cp-btn, body.ln .ch-opt.on, body.ln .ch-step .pl { background: linear-gradient(160deg, #ffd54a, #ff5e7e); color: #2a0a14; }
body.ln .ch-btn.ghost, body.ln .cp-btn.ghost { background: transparent; color: var(--c-ink); }
body.ln .ch-code { color: #ffd54a; }

#target { position: fixed; inset: 0; width: 100vw; height: 100dvh; display: none; }
body.ln.playing #target { display: block; }
body.ln.playing #board { display: none; }

/* Téléphone */
.ln-aim { position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 58dvh; margin: 6px auto 0; }
.ln-aim canvas { width: 100%; height: 100%; display: block; touch-action: none; border-radius: 28px; }
.ln-hud { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.ln-hud .t { font-size: 1.6rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.ln-hud .r { color: var(--c-muted); font-size: .95rem; text-align: right; }
.ln-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 8px; border: 1px solid var(--c-line); }
.ln-bar > div { height: 100%; background: linear-gradient(90deg, #ffd54a, #ff5e7e); }
.ln-throw { width: 100%; margin-top: 14px; padding: 22px 10px; font-size: 1.4rem; font-weight: 900; border-radius: 22px; border: 0; color: #2a0a14; background: linear-gradient(160deg, #ffd54a, #ff5e7e); box-shadow: var(--c-shadow); user-select: none; }
.ln-throw:disabled { opacity: .45; }
.ln-recal { display: block; margin: 10px auto 0; background: none; border: 1px solid var(--c-line); color: var(--c-muted); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.ln-done { text-align: center; padding: 20px 0 6px; }
.ln-done .big { font-size: 3.6rem; line-height: 1; }
.ln-done .sc { font-size: 2.6rem; font-weight: 900; margin-top: 6px; }
.ln-done .sub { color: var(--c-muted); margin-top: 4px; }
.ln-total { text-align: center; color: var(--c-muted); margin-top: 14px; }
.ln-total b { color: var(--c-ink); font-size: 1.3rem; }
