#ch-wrap{--ink:#17233B;--red:#e21b3c;--red2:#c81e3a;--gold:#d8b464;--ok:#22c55e;--bad:#ff4d5e;--mut:#64748b;max-width:900px;margin:0 auto;border-radius:28px;overflow:hidden;color:#17233B;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:#ffffff;box-shadow:0 18px 50px rgba(200,30,58,.18)}
#ch-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
#ch-wrap button{font-family:inherit}
.ch-inner{position:relative;padding:clamp(18px,4vw,36px);background-image:radial-gradient(rgba(200,30,58,.07) 1px,transparent 1px);background-size:26px 26px;animation:chin .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes chin{from{opacity:0;transform:scale(.97) translateY(10px)}to{opacity:1;transform:none}}
.ch-hidden{display:none!important}
.ch-hero{text-align:center;padding:10px 0 12px}
.ch-hero h1{margin:0;font-size:clamp(34px,7vw,64px);line-height:1.05;font-weight:700;color:#c81e3a}
.ch-hero p.sub{margin:12px auto 22px;max-width:560px;font-size:clamp(16px,2.6vw,21px);color:var(--mut);line-height:1.4}
.ch-play{border:0;border-radius:99px;font-weight:700;cursor:pointer;color:#fff;background:linear-gradient(135deg,#e21b3c,#c81e3a);padding:16px 42px;font-size:clamp(18px,3vw,23px);animation:chglow 2s infinite;transition:transform .15s}
.ch-play:hover,.ch-play:focus,.ch-play:focus-visible,.ch-play:active{background:linear-gradient(135deg,#e21b3c,#c81e3a)!important;color:#fff!important;transform:scale(1.05)}
@keyframes chglow{0%{box-shadow:0 0 0 0 rgba(226,27,60,.45)}70%,100%{box-shadow:0 0 0 16px rgba(226,27,60,0)}}
.ch-play.ghost{background:#fff;color:#c81e3a;border:1px solid rgba(200,30,58,.3);animation:none}
.ch-play.ghost:hover,.ch-play.ghost:focus,.ch-play.ghost:focus-visible,.ch-play.ghost:active{background:#fdecef!important;color:#c81e3a!important}
.ch-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:18px 0 6px}
.ch-chip{display:inline-block;padding:5px 12px;border-radius:99px;background:rgba(200,30,58,.08);border:1px solid rgba(200,30,58,.2);font-weight:600;font-size:14px;white-space:nowrap;color:#17233B}
.ch-rules{font-size:14px;color:var(--mut);margin:6px 0 0;text-align:center}
.ch-h3{margin:22px 0 10px;font-size:clamp(18px,3vw,24px);text-align:center;color:#17233B}
.ch-tabs{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:16px 0}
.ch-tab{border:1px solid rgba(200,30,58,.25);background:#fff;color:#17233B;border-radius:99px;padding:12px 22px;font-weight:700;font-size:16px;cursor:pointer}
.ch-tab:hover,.ch-tab:focus,.ch-tab:focus-visible,.ch-tab:active{background:#fdecef!important;color:#17233B!important}
.ch-tab.sel{background:linear-gradient(135deg,#d8b464,#fb923c)!important;color:#3b1d00!important}
.ch-pairs{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;padding-bottom:8px}
.ch-pair{display:flex;align-items:center;gap:8px;padding:8px;border-radius:18px;background:#fff;border:1px solid rgba(200,30,58,.18);box-shadow:0 4px 14px rgba(200,30,58,.08)}
.ch-pair i{font-style:normal;font-size:12px;color:#b8933f;font-weight:700}
.ch-sbtn{flex:1;min-height:44px;border-radius:12px;border:1px solid rgba(200,30,58,.25);background:#fff;font-weight:600;font-size:15px;cursor:pointer;padding:6px 8px;color:#17233B;transition:transform .15s,background .2s}
.ch-sbtn:hover,.ch-sbtn:focus,.ch-sbtn:focus-visible,.ch-sbtn:active{background:#fdecef!important;color:#17233B!important;transform:translateY(-2px)}
.ch-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.ch-top b{font-size:clamp(18px,3vw,24px);color:#17233B}
.ch-ib{width:44px;height:44px;border-radius:14px;border:1px solid rgba(200,30,58,.25);background:#fff;font-size:21px;cursor:pointer;transition:transform .15s,background .2s;color:#c81e3a}
.ch-ib:hover,.ch-ib:focus,.ch-ib:focus-visible,.ch-ib:active{background:#fdecef!important;color:#c81e3a!important;transform:translateY(-2px)}
.ch-stats{display:flex;align-items:center;gap:10px;margin:8px 0;flex-wrap:wrap}
.ch-bar{flex:1;min-width:120px;height:10px;border-radius:99px;background:#f1e4e6;overflow:hidden}
.ch-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#e21b3c,#d8b464);transition:width .7s cubic-bezier(.2,.8,.2,1)}
.ch-card{background:#fff;border:1px solid rgba(200,30,58,.15);border-radius:22px;padding:clamp(16px,3vw,26px);box-shadow:0 10px 30px rgba(200,30,58,.08)}
.ch-featicon{font-size:clamp(44px,9vw,72px);line-height:1;text-align:center}
.ch-card h2{margin:8px 0 10px;font-size:clamp(26px,4.4vw,40px);text-align:center;color:#17233B}
.ch-facts{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.ch-facts li{padding:10px 14px;border-radius:14px;background:#faf1e2;border:1px solid rgba(200,30,58,.12);font-size:clamp(15px,2.2vw,18px);line-height:1.35;color:#17233B}
.ch-diff{padding:12px 14px;border-radius:14px;border-left:5px solid #c81e3a;background:rgba(200,30,58,.08);font-size:clamp(15px,2.2vw,18px);line-height:1.4;margin:0 0 14px;color:#17233B}
.ch-btn{border:0;border-radius:99px;font-weight:700;cursor:pointer;color:#fff;background:linear-gradient(135deg,#e21b3c,#c81e3a);padding:12px 24px;font-size:17px;transition:transform .15s}
.ch-btn:hover,.ch-btn:focus,.ch-btn:focus-visible,.ch-btn:active{background:linear-gradient(135deg,#e21b3c,#c81e3a)!important;color:#fff!important;transform:scale(1.05)}
.ch-btn.ghost{background:#fff;color:#c81e3a;border:1px solid rgba(200,30,58,.3)}
.ch-btn.ghost:hover,.ch-btn.ghost:focus,.ch-btn.ghost:focus-visible,.ch-btn.ghost:active{background:#fdecef!important;color:#c81e3a!important}
.ch-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:16px 0}
.ch-q{text-align:center;margin:6px 0 12px}
.ch-q h2{margin:0;font-size:clamp(24px,4.6vw,38px);font-weight:700;line-height:1.12;color:#17233B}
.ch-opts{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(0,1fr);gap:clamp(8px,1.6vw,16px);margin:0 auto}
@media(max-width:560px){.ch-opts{grid-template-columns:1fr}}
#ch-wrap .ch-opt{color:#1e1b4b}
.ch-opt{position:relative;display:flex;align-items:center;gap:12px;padding:14px 16px;text-align:left;font-size:clamp(16px,2.8vw,21px);font-weight:600;border-radius:clamp(18px,3vw,26px);border:2px solid rgba(200,30,58,.25);background:linear-gradient(160deg,#fff,#fff1f2);color:#1e1b4b;cursor:pointer;box-shadow:0 14px 40px rgba(200,30,58,.15);transition:transform .25s,box-shadow .25s;animation:chcardin .6s cubic-bezier(.2,.9,.25,1.1) both;animation-delay:calc(var(--i)*.07s)}
@keyframes chcardin{from{opacity:0;transform:translateY(24px) scale(.9)}to{opacity:1;transform:none}}
.ch-opt:hover,.ch-opt:focus,.ch-opt:focus-visible,.ch-opt:active{background:linear-gradient(160deg,#fff,#fff1f2)!important;color:#1e1b4b!important;transform:translateY(-6px) scale(1.015);box-shadow:0 22px 50px rgba(200,30,58,.3)}
.ch-let{flex:none;width:clamp(30px,5vw,40px);aspect-ratio:1;border-radius:50%;background:linear-gradient(135deg,#c81e3a,#e11d48);color:#fff;font-weight:700;display:grid;place-items:center;font-size:clamp(15px,2.4vw,20px);box-shadow:0 4px 12px rgba(225,29,72,.5)}
.ch-opt.correct{border-color:var(--ok);box-shadow:0 0 0 4px rgba(34,197,94,.35),0 0 60px rgba(34,197,94,.7);animation:chpop .55s}
.ch-opt.wrong{border-color:var(--bad);box-shadow:0 0 0 4px rgba(255,77,94,.35),0 0 60px rgba(255,77,94,.65);animation:chshake .5s}
.ch-opt.correct::after,.ch-opt.wrong::after{content:"✓";margin-left:auto;font-size:28px;font-weight:700;color:var(--ok)}
.ch-opt.wrong::after{content:"✗";color:var(--bad)}
@keyframes chpop{40%{transform:scale(1.05)}}
@keyframes chshake{20%,60%{transform:translateX(-10px)}40%,80%{transform:translateX(10px)}}
.ch-foot{min-height:58px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 16px;margin-top:10px}
.ch-msg{font-size:clamp(17px,3vw,24px);font-weight:700;text-align:center;color:#17233B}
.ch-msg.ok{color:#16a34a}
.ch-msg.no{color:#e11d48}
.ch-msg.dim{color:var(--mut);font-weight:500;font-size:clamp(14px,2.2vw,17px)}
.ch-next{border:0;border-radius:99px;font-weight:700;cursor:pointer;color:#fff;background:linear-gradient(135deg,#e21b3c,#c81e3a);padding:11px 30px;font-size:clamp(16px,2.6vw,20px);box-shadow:0 8px 24px rgba(226,27,60,.35);animation:chglow 1.8s .5s infinite}
.ch-next:hover,.ch-next:focus,.ch-next:focus-visible,.ch-next:active{background:linear-gradient(135deg,#e21b3c,#c81e3a)!important;color:#fff!important;transform:scale(1.05)}
.ch-levels{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:16px 0}
.ch-level{border:1px solid rgba(200,30,58,.25);background:#fff;color:#17233B;border-radius:99px;padding:12px 22px;font-weight:700;font-size:16px;cursor:pointer}
.ch-level:hover,.ch-level:focus,.ch-level:focus-visible,.ch-level:active{background:#fdecef!important;color:#17233B!important}
.ch-level.sel{background:linear-gradient(135deg,#d8b464,#fb923c)!important;color:#3b1d00!important}
.ch-res{text-align:center;padding-top:10px}
.ch-res h2{margin:6px 0;font-size:clamp(28px,5vw,44px);color:#17233B}
.ch-res p{margin:6px auto;max-width:560px;font-size:clamp(15px,2.4vw,19px);line-height:1.45;color:#475569}
.ch-badge{display:inline-block;padding:10px 20px;border-radius:99px;background:linear-gradient(135deg,#d8b464,#fb923c);color:#3b1d00!important;font-weight:700;animation:chpop .7s .6s both}
.ch-ring{width:clamp(150px,26vh,220px);margin:0 auto}
.ch-ring circle{fill:none;stroke-width:10}
.ch-ring .bg{stroke:#f1e4e6}
.ch-ring .fg{stroke:#e21b3c;stroke-linecap:round;transform:rotate(-90deg);transform-origin:60px 60px}
.ch-ring text{fill:#17233B;font:700 30px system-ui,sans-serif}
.ch-conf{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}
.ch-conf i{position:absolute;width:9px;height:14px;border-radius:2px;animation:chconf 1.15s cubic-bezier(.1,.7,.3,1) forwards}
@keyframes chconf{to{transform:translate(var(--x),calc(var(--y) + 170px)) rotate(var(--r));opacity:0}}
.ch-search{width:100%;padding:12px 16px;border-radius:99px;border:1px solid rgba(200,30,58,.25);background:#fff;color:#17233B;font-size:16px}
.ch-search::placeholder{color:var(--mut)}
.ch-mapwrap{width:100%;max-height:70vh;overflow:hidden;border-radius:22px;background:linear-gradient(160deg,#fff,#fdecef);box-shadow:0 18px 50px rgba(200,30,58,.15);border:1px solid rgba(200,30,58,.15)}
.ch-mapwrap svg{width:100%;height:auto;max-height:70vh;display:block}
.ch-mapwrap .st{fill:#ffffff;stroke:#c81e3a;stroke-width:.18;cursor:pointer;transition:fill .15s}
.ch-mapwrap .st:hover{fill:#fdecef}
.ch-mapwrap .st.sel-correct{fill:#22c55e!important;stroke:#15803d}
.ch-mapwrap .st.sel-wrong{fill:#ff4d5e!important;stroke:#be123c}
.ch-mapwrap .st-hit{fill:transparent;stroke:none;cursor:pointer;pointer-events:all}
.ch-mapnote{font-size:14px;color:var(--mut);text-align:center;margin:10px 0 0}
.ch-readout{text-align:center;font-weight:700;color:#c81e3a;min-height:24px;font-size:17px}
@media(max-width:640px){.ch-mapwrap{border-radius:16px}}
