/* Kickoff — pages publiques. Mêmes jetons que l'application (src/theme/matchday.ts). */
:root {
  --base: #FBFAF8; --raised: #FFFFFF; --sunken: #F2F0EC;
  --ink: #1A1815; --ink2: #6B6660; --ink3: #A6A099; --hair: #E7E3DC;
  --terrain: #0A7C48; --tint: #E7F2EC; --tink: #075733; --on: #FFFFFF;
  --danger: #A33B2A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --base: #131211; --raised: #1C1A18; --sunken: #0D0C0B;
    --ink: #F6F3EF; --ink2: #A29C94; --ink3: #726C65; --hair: #2A2724;
    --terrain: #2E9E64; --tint: #16281F; --tink: #7ED0A4; --on: #0D0C0B;
    --danger: #D96A55;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--base); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  display: flex; justify-content: center;
  padding: 0 24px calc(32px + env(safe-area-inset-bottom));
}
main { width: 100%; max-width: 560px; }
a { color: var(--terrain); }
.hidden { display: none !important; }

/* ---------------------------------------------------------- documents */
main.doc { max-width: 680px; line-height: 1.6; padding-top: 24px; }
.doc h1 { font-size: 28px; font-weight: 600; letter-spacing: -.3px; margin: 32px 0 8px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 17px; }
.doc .lead { color: var(--ink2); }
.doc .lang { font-size: 15px; margin-top: 8px; }
.doc .no { color: var(--ink2); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.doc th { font-weight: 600; color: var(--ink2); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.doc footer { margin: 64px 0 32px; font-size: 13px; color: var(--ink2); border-top: 1px solid var(--hair); padding-top: 24px; }

/* ------------------------------------------------- page de réponse (É10) */
.sp72 { height: 72px; } .sp56 { height: 56px; } .sp48 { height: 48px; }
.sp32 { height: 32px; } .sp24 { height: 24px; }
.ask h1, .done h1, .gone h1 { font-size: 28px; line-height: 34px; font-weight: 600; margin: 0; letter-spacing: -.3px; }
.sub { font-size: 17px; line-height: 24px; color: var(--ink2); margin: 6px 0 0; }
.count { font-size: 40px; line-height: 46px; font-weight: 600; text-align: center; margin: 0; }
.count.holds { color: var(--terrain); }
.unit { font-size: 13px; font-weight: 500; color: var(--ink2); text-align: center; margin: 4px 0 0; }
.faces { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; min-height: 28px; }
.face { width: 28px; height: 28px; border-radius: 999px; background: var(--tint); color: var(--tink);
        display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--ink2); margin: 0 0 8px; }
input {
  width: 100%; height: 56px; padding: 0 16px; font-size: 17px; color: var(--ink);
  background: var(--raised); border: 1px solid var(--hair); border-radius: 14px; outline: none;
  font-family: inherit;
}
input:focus { border-color: var(--ink); border-width: 1.5px; }
/* Les deux boutons ont EXACTEMENT la même hauteur et le même poids. */
button {
  width: 100%; height: 64px; border-radius: 14px; font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .12s cubic-bezier(.22,1,.36,1), opacity .12s;
}
button:active { transform: scale(.97); opacity: .9; }
button:disabled { opacity: .5; }
.yes { background: var(--terrain); color: var(--on); margin-top: 24px; }
.no { background: var(--raised); color: var(--ink); border-color: var(--hair); margin-top: 12px; }
.ghost { background: none; border: none; color: var(--ink2); height: 48px; margin-top: 32px; }
.note { font-size: 13px; color: var(--ink3); text-align: center; margin-top: 32px; }
.check {
  width: 64px; height: 64px; border-radius: 999px; background: var(--tint); color: var(--terrain);
  display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto;
}
.err { font-size: 13px; color: var(--danger); margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
.center { text-align: center; }
.unit.state { margin-top: 8px; }
