:root{
  --bg:#BFEFFA; --card:#FFFDF7; --text:#1B2A6B; --muted:#3F5A92;
  --water:#47C9E5; --sun:#FFD23F; --soap:#FF8FB8; --leaf:#7BD88F; --btn-ink:#1B2A6B;
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --bg:#103A62; --card:#1B4D7E; --text:#FFFDF7; --muted:#BFE3F5; }
}
:root[data-theme="dark"]{ --bg:#103A62; --card:#1B4D7E; --text:#FFFDF7; --muted:#BFE3F5; }
html{ scroll-padding-top:env(safe-area-inset-top,0px); height:100%; }
*,*::before,*::after{ box-sizing:inherit; }
body{
  margin:0; height:100%; background:var(--bg); color:var(--text);
  font-family:"Baloo 2","Trebuchet MS","Segoe UI Rounded",system-ui,sans-serif;
  -webkit-tap-highlight-color:transparent; overflow:hidden;
}
button{ font:inherit; cursor:pointer; }
button:focus-visible{ outline:4px solid var(--sun); outline-offset:3px; }

/* ---------- Home ---------- */
#home{
  height:100%; overflow-y:auto; display:flex; flex-direction:column; align-items:center;
  padding:20px 20px 28px; text-align:center;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.55) 0 14px, transparent 15px),
    radial-gradient(circle at 86% 10%, rgba(255,255,255,.45) 0 22px, transparent 23px),
    radial-gradient(circle at 92% 62%, rgba(255,255,255,.35) 0 10px, transparent 11px),
    radial-gradient(circle at 6% 74%, rgba(255,255,255,.4) 0 18px, transparent 19px);
}
#heroGerm{ width:220px; height:180px; max-width:70vw; margin-top:8px; }
h1{
  font-size:clamp(2.6rem, 11vw, 4rem); line-height:.95; margin:4px 0 8px; font-weight:800;
  color:var(--text); letter-spacing:-.01em;
  text-shadow:0 4px 0 rgba(255,255,255,.65);
}
.lead{ font-size:1.2rem; line-height:1.35; color:var(--muted); max-width:22em; margin:0 0 22px; font-weight:500; }
.choices{ display:grid; grid-template-columns:1fr 1fr; gap:14px; width:100%; max-width:440px; }
.choice{
  border:0; border-radius:28px; padding:18px 10px 16px; color:var(--btn-ink);
  display:flex; flex-direction:column; align-items:center; gap:2px;
  box-shadow:0 7px 0 rgba(27,42,107,.25); transition:transform .12s, box-shadow .12s;
}
.choice:active{ transform:translateY(5px); box-shadow:0 2px 0 rgba(27,42,107,.25); }
.choice.hands{ background:var(--sun); }
.choice.teeth{ background:var(--soap); }
.choice .ico{ font-size:3.2rem; line-height:1.1; }
.choice b{ font-size:1.6rem; font-weight:800; line-height:1.1; }
.choice small{ font-size:1rem; font-weight:500; opacity:.85; }
.stars{
  margin-top:22px; background:var(--card); border-radius:999px; padding:8px 20px;
  font-size:1.2rem; font-weight:700; box-shadow:0 4px 0 rgba(27,42,107,.15);
}
.note{ margin-top:auto; padding-top:22px; font-size:.95rem; color:var(--muted); max-width:26em; line-height:1.4; }
.credit{ margin:8px 0 0; font-size:.9rem; color:var(--muted); }
.credit a{ color:var(--text); font-weight:700; }

/* ---------- Play ---------- */
#play{ position:fixed; inset:0; background:#0E2D4D; display:none; touch-action:none; }
#play.on{ display:block; }
#stage{ position:absolute; inset:0; width:100%; height:100%; display:block; }
#video{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.hud{
  position:absolute; left:0; right:0; top:0; display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:calc(env(safe-area-inset-top,0px) + 12px) 14px 0;
  pointer-events:none;
}
.hud > *{ pointer-events:auto; }
.round{
  width:56px; height:56px; border-radius:50%; border:0; background:var(--card); color:var(--text);
  font-size:1.7rem; box-shadow:0 4px 0 rgba(0,0,0,.2); display:grid; place-items:center;
}
.round[hidden]{ visibility:hidden; display:grid; }
.counter{
  background:var(--card); color:var(--text); border-radius:999px; padding:6px 18px;
  font-size:1.35rem; font-weight:800; box-shadow:0 4px 0 rgba(0,0,0,.2); white-space:nowrap;
}
.tip{
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:calc(env(safe-area-inset-bottom,0px) + 22px);
  width:min(92vw, 520px); background:var(--card); color:var(--text);
  border-radius:24px; padding:12px 18px; text-align:center; font-size:1.3rem; font-weight:700; line-height:1.25;
  box-shadow:0 5px 0 rgba(0,0,0,.2); pointer-events:none;
}
.tip small{ display:block; font-size:1rem; font-weight:500; color:var(--muted); }
.tip:empty{ display:none; }

.sheet{
  position:absolute; inset:0; display:none; align-items:center; justify-content:center; padding:24px;
  background:rgba(14,45,77,.55);
}
.sheet.on{ display:flex; }
.panel{
  background:var(--card); color:var(--text); border-radius:32px; padding:26px 22px 22px; text-align:center;
  width:min(100%, 400px); box-shadow:0 10px 0 rgba(0,0,0,.2);
}
.panel .big{ font-size:4rem; line-height:1; }
.panel h2{ font-size:2.2rem; line-height:1.05; margin:8px 0 6px; font-weight:800; }
.panel p{ font-size:1.15rem; margin:0 0 18px; color:var(--muted); line-height:1.35; }
.btn{
  display:block; width:100%; border:0; border-radius:20px; padding:12px; margin-top:10px;
  font-size:1.35rem; font-weight:800; color:var(--btn-ink); background:var(--sun);
  box-shadow:0 5px 0 rgba(27,42,107,.25);
}
.btn.alt{ background:var(--water); }
.btn:active{ transform:translateY(4px); box-shadow:0 1px 0 rgba(27,42,107,.25); }

@media (prefers-reduced-motion: reduce){ .choice{ transition:none; } }
