
:root{
  --bg:#f6f9ff; --card:#ffffff; --ink:#0f172a; --accent:#60a5fa; --ok:#10b981; --no:#ef4444;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'DejaVu Sans',sans-serif;background:var(--bg);color:var(--ink)}
.container{max-width:1100px;margin:0 auto;padding:24px}
.header{display:flex;align-items:center;gap:16px;margin:16px 0}
.header img{height:64px}
h1{font-size:clamp(28px,4vw,40px);margin:0}
h2{font-size:clamp(22px,3vw,28px)}
.btn{background:var(--accent);color:white;border:none;border-radius:14px;padding:14px 18px;font-size:18px;cursor:pointer;box-shadow:0 8px 20px rgba(0,0,0,.08);transition:.2s}
.btn:active{transform:scale(.98)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.card{background:var(--card);border-radius:18px;padding:18px;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.hero{background:linear-gradient(135deg,#a5f3fc,#60a5fa);border-radius:24px;padding:24px;color:#0f172a;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.hero img{height:80px}
.hero h1{color:#0f172a}
.footer{margin:40px 0 16px;color:#334155;text-align:center}

.imgbox{display:flex;justify-content:center;align-items:center;background:#fff;border-radius:16px;box-shadow:inset 0 0 0 2px rgba(0,0,0,.05);padding:10px;height:280px}
.imgbox img{max-width:100%;max-height:100%;object-fit:contain}

.choices{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px}
.choice{background:#f1f5f9;border-radius:14px;padding:14px;text-align:center;font-weight:700;cursor:pointer;border:2px solid transparent}
.choice:hover{background:#e2e8f0}
.choice.ok{border-color:var(--ok)}
.choice.no{border-color:var(--no)}

.syllables{display:flex;gap:10px;flex-wrap:wrap}
.sill{background:#fef9c3;border-radius:12px;padding:10px 16px;font-weight:800;cursor:pointer;user-select:none;box-shadow:0 2px 0 rgba(0,0,0,.1)}
.target{min-height:60px;border:2px dashed #94a3b8;border-radius:14px;padding:12px;background:#f8fafc}
.progress{display:flex;justify-content:space-between;align-items:center;margin:12px 0 4px}

.circles{display:flex;gap:12px;justify-content:center;margin-top:14px}
.circle{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e2e8f0;font-weight:800;cursor:pointer;border:3px solid transparent}
.circle.ok{border-color:var(--ok)} .circle.no{border-color:var(--no)}

.stars{display:flex;gap:6px;justify-content:center;margin-top:8px}
.star{width:22px;height:22px;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);background:#e5e7eb}
.star.on{background:#f59e0b}

.overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.45);z-index:9999}
.overlay.show{display:flex}
.overlay video{display:none;margin:auto;max-width:80vw;max-height:70vh;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.35);object-fit:contain}
.overlay.show-yes #v-yes{display:block}
.overlay.show-no  #v-no {display:block}
