:root{--bg:#f2f6ff;--ink:#0f2556;--pu:#233f8f;--pk:#2f6fdf;--mi:#43b89c;--bl:#2f6fdf;--ye:#ffd166;--card:#fff;--line:#dae4f4;--muted:#5b6b8c}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 "Nunito","Trebuchet MS","Segoe UI",system-ui,sans-serif;padding:max(16px,env(safe-area-inset-top)) 16px 40px}
.wrap{max-width:440px;margin:0 auto}
[hidden]{display:none!important}
h1{margin:6px 0 0;text-align:center;font-size:1.9rem;color:var(--pu)}
h2{margin:14px 0 10px;font-size:1.3rem}
.logo{width:76px;height:76px;margin:20px auto 0;background:var(--ye);border-radius:50%;display:grid;place-items:center;font-size:2.3rem;border:3px solid var(--ink)}
.sub,.note{text-align:center;color:var(--muted);font-size:.9rem;margin:6px 0 14px}
.box{background:var(--card);border:2px solid var(--line);border-radius:22px;padding:16px;margin:12px 0}
label{display:block;font-weight:700;font-size:.9rem;margin:10px 0}
input,textarea,select{display:block;width:100%;margin-top:5px;padding:11px 13px;font:inherit;color:var(--ink);background:#fbfdff;border:2px solid var(--line);border-radius:14px}
input:focus,textarea:focus,select:focus,button:focus-visible{outline:3px solid var(--pk);outline-offset:1px}
.tabs{display:flex;gap:6px;background:#e6eeff;padding:5px;border-radius:999px;margin:10px 0}
.tab{flex:1;border:0;padding:10px;border-radius:999px;background:transparent;font:inherit;font-weight:800;color:var(--pu);cursor:pointer}
.tab.on{background:var(--pu);color:#fff}
.btn{border:0;border-radius:999px;padding:13px 20px;background:var(--pk);color:#fff;font:inherit;font-weight:800;cursor:pointer;width:100%;margin-top:8px;box-shadow:0 4px 0 #2358b8}
.btn.wide{background:var(--pu);box-shadow:0 4px 0 #162a66}
.ghost2{background:#fff;color:var(--pu);border:2px solid var(--pu);box-shadow:none}
.ghost,.back{background:none;border:0;color:var(--pu);font:inherit;font-weight:800;cursor:pointer;padding:6px 0}
.top{display:flex;justify-content:space-between;align-items:center;padding:6px 0}
.msg{min-height:1.2em;margin:6px 0;font-size:.9rem;font-weight:700;color:#d6336c}
.msg.ok{color:#2b9a7f}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}
.tile,.stat{border:0;border-radius:22px;padding:16px;text-align:left;color:#fff;font:inherit;font-size:1.6rem;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-height:120px}
.stat{cursor:default;justify-content:center}
.tile b,.stat b{font-size:1.05rem}.stat b{font-size:2rem}
.tile small,.stat small{font-size:.78rem;opacity:.95}
.c1{background:#f26f6f}.c2{background:var(--bl)}.c3{background:var(--mi)}.c4{background:#f0a81f;color:#3b2f5c}
.bar{height:14px;background:#e6eeff;border-radius:99px;margin:8px 0;overflow:hidden}
.bar i{display:block;height:100%;width:0;background:var(--mi);border-radius:99px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.chips button{border:2px solid var(--pu);background:#fff;color:var(--pu);border-radius:99px;padding:6px 14px;font:inherit;font-weight:700;cursor:pointer}
.chips button.on{background:var(--pu);color:#fff}
.tip{background:#e3f8f3;border-radius:14px;padding:9px 12px;font-size:.88rem;margin:6px 0}
.lbl{font-weight:700;font-size:.9rem;margin:10px 0 0}
.task{display:flex;gap:10px;align-items:center;border:2px solid var(--line);border-radius:16px;padding:11px;margin:8px 0;cursor:pointer;background:#fff;width:100%;font:inherit;color:var(--ink);text-align:left}
.task.done{border-color:var(--mi);background:#e3f8f3}
.task span{width:24px;height:24px;border:2px solid var(--mi);border-radius:50%;display:grid;place-items:center;color:#fff;flex:none}
.task.done span{background:var(--mi)}
.card{background:#fff;border:2px solid var(--line);border-radius:18px;padding:13px;margin:10px 0}
.card.pick{background:#fff6d6;border-color:var(--ye)}
.card small{display:block;color:var(--muted)}
.card .btn{padding:8px 14px;margin-top:8px;box-shadow:none}
.row{display:flex;gap:10px}
.kls{margin:10px 0}.kls div{display:flex;justify-content:space-between;font-weight:700}
.req{border-top:2px dashed var(--line);padding:9px 0;font-size:.9rem}
.empty{color:var(--muted);font-size:.9rem;margin:8px 0}

:root{--fh:"Fredoka","Baloo 2","Trebuchet MS",sans-serif}
body{font-family:"Nunito","Trebuchet MS","Segoe UI",system-ui,sans-serif}
h1,h2,.btn,.tab,.tile b,.stat b,.chips button,.back,.ghost{font-family:var(--fh)}
h1{font-weight:600;letter-spacing:.2px}
.logo{width:auto;height:auto;background:none;border:0;border-radius:0;display:block;margin:12px auto 0}
.logo img{width:170px;display:block;margin:0 auto}
.who{display:flex;align-items:center;gap:10px}
.av{width:46px;height:46px;border-radius:50%;object-fit:cover;border:3px solid var(--pu);background:#fff}
.avs{display:flex;gap:12px;margin:8px 0}
.avs button{width:76px;height:76px;border-radius:50%;padding:0;overflow:hidden;border:4px solid var(--line);background:#fff;cursor:pointer}
.avs button.on{border-color:var(--pu)}
.avs img{width:100%;height:100%;object-fit:cover;display:block}
.hero{display:block;width:110px;margin:0 auto 6px}
.win{text-align:center}.win img{width:110px}
.ic{width:28px;height:auto;vertical-align:middle}
.wide .ic{margin-right:4px}

.switch{text-align:center;color:var(--muted);font-size:.95rem;margin:14px 0 0}
.link{border:0;background:none;padding:0;font:inherit;font-weight:800;color:var(--pu);cursor:pointer;text-decoration:underline}
select{appearance:auto}
label.chk{display:flex;align-items:center;gap:8px;font-weight:700}
label.chk input{display:inline-block;width:20px;height:20px;margin:0;accent-color:var(--pu)}
.card .btn.on{background:var(--mi);color:#fff;border:0;box-shadow:none}
.card .btn.ghost2{margin-top:8px}

.pw{position:relative;display:block}
.pw input{padding-right:46px}
.eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);margin-top:2.5px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--ink);opacity:.65;border-radius:10px;cursor:pointer}
.eye:hover{opacity:1}
.eye svg[hidden]{display:none}
