:root{--bg:#132a24;--bg2:#1c3d34;--panel:#fff;--ink:#172721;--muted:#52675f;--accent:#38c172;--gold:#ffd978;--crimson:#e04646;--sky:#5cc8ff}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;padding:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,Helvetica,Arial,sans-serif;overflow-x:hidden}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.topbar{color:#eef7f3;background:#0d1f1a;justify-content:space-between;align-items:center;padding:10px 18px;display:flex}.topbar a{color:inherit;font-weight:600;text-decoration:none}.topbar .brand{letter-spacing:.3px;font-size:16px;font-weight:800}.topbar .toplink{opacity:.9;font-size:14px}#game-wrap{background:linear-gradient(#10241f 0%,#17342c 60%,#1c3d34 100%);width:100%;min-height:calc(100svh - 42px);padding:14px 10px 26px}#game{width:100%;max-width:720px;margin:0 auto}.hq-root{color:#f3faf7;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.hq-stage{width:100%}.hq-card{background:#0d1e19eb;border:1.5px solid #ffffff29;border-radius:20px;padding:20px 18px;box-shadow:0 18px 46px #00000061}.hq-menu,.hq-warning,.hq-results{text-align:center;max-width:540px;margin:0 auto}.hq-crest{margin-bottom:6px}.hq-holly-badge{color:var(--gold);letter-spacing:.7px;background:#ffd97829;border:1px solid #ffd9785c;border-radius:999px;padding:4px 12px;font-size:11px;font-weight:800;display:inline-block}.hq-title{color:#fff;letter-spacing:.2px;margin:4px 0 6px;font-size:28px;font-weight:900}.hq-sub{color:#cde2d9;margin:0 0 14px;font-size:15px;line-height:1.45}.hq-meta-row{flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:14px;display:flex}.hq-pill{color:#eef7f3;white-space:nowrap;background:#ffffff1f;border-radius:999px;align-items:center;gap:5px;padding:5px 11px;font-size:12.5px;font-weight:700;display:inline-flex}.hq-pill--tier.t1{color:#8af2b6;background:#38c17238;border:1px solid #38c17273}.hq-pill--tier.t2{color:var(--gold);background:#ffd97833;border:1px solid #ffd97873}.hq-pill--tier.t3{color:#ffb3b3;background:#f26b6b3d;border:1px solid #f26b6b73}.hq-pill--score{color:#9cf5c2;background:#38c17238}.hq-pill--streak{color:#ffd480;background:#ffb4473d}.hq-btn{cursor:pointer;touch-action:manipulation;color:#10241f;background:#e8f2ee;border:0;border-radius:999px;min-height:46px;padding:12px 22px;font-family:inherit;font-size:15px;font-weight:800;transition:transform 80ms,filter .12s}.hq-btn:active{transform:scale(.97)}.hq-btn--lg{width:100%;max-width:300px;min-height:52px;padding:14px 26px;font-size:17px}.hq-btn--primary{color:#0a2016;background:#3dd682;box-shadow:0 5px #239655}.hq-btn--sky{background:var(--sky);color:#0b2234}.hq-btn--gold{background:var(--gold);color:#2d1f04}.hq-btn--ghost{color:#f3faf7;background:#ffffff21;border:1px solid #ffffff3d}.hq-btn--next{width:100%;min-height:48px;margin-top:10px;font-size:16px}.hq-util-row{justify-content:center;gap:10px;margin:14px 0 16px;display:flex}.hq-icon-btn{color:#f3faf7;cursor:pointer;touch-action:manipulation;background:#ffffff1c;border:1px solid #ffffff38;border-radius:999px;min-height:32px;padding:6px 12px;font-family:inherit;font-size:12px;font-weight:700}.hq-section-kicker{letter-spacing:.7px;color:var(--gold);margin-bottom:8px;font-size:11px;font-weight:800}.hq-tier-list{text-align:left;flex-direction:column;gap:8px;display:flex}.hq-tier-item{text-align:left;cursor:pointer;color:#f3faf7;touch-action:manipulation;background:#ffffff14;border:1px solid #ffffff29;border-radius:14px;width:100%;padding:11px 13px;font-family:inherit}.hq-tier-item:hover{background:#ffffff24}.hq-tier-top{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.hq-tier-top strong{color:#fff;font-size:14px}.hq-tier-meta{color:var(--gold);font-size:12px;font-weight:700}.hq-tier-desc{color:#c9dfd6;margin-top:3px;font-size:12.5px;line-height:1.35}.hq-kb-tip{color:#aac5ba;margin:12px 0 0;font-size:12px}.hq-badge-warn{color:var(--gold);letter-spacing:.6px;background:#ffd97833;border-radius:999px;margin-bottom:8px;padding:4px 12px;font-size:12px;font-weight:800;display:inline-block}.hq-badge-ok{color:#8ff5bc;letter-spacing:.6px;background:#3dd68233;border-radius:999px;margin-bottom:8px;padding:4px 12px;font-size:12px;font-weight:800;display:inline-block}.hq-bullets{text-align:left;color:#e4f2ec;margin:0 0 14px;padding-left:20px;font-size:14.5px;line-height:1.5}.hq-bullets li{margin:6px 0}.hq-pause-note{color:var(--gold);margin:0 0 14px;font-size:13px;font-weight:700}.hq-play{flex-direction:column;gap:10px;max-width:600px;margin:0 auto;display:flex}.hq-hud{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.hq-hud-left,.hq-hud-right{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hq-hearts{background:#ffffff1c;border-radius:999px;align-items:center;gap:3px;padding:4px 9px;display:inline-flex}.hq-heart{font-size:15px;line-height:1}.hq-heart.is-alive{color:#ff5c6c}.hq-heart.is-lost{color:#ffffff40}.hq-timer-row{align-items:center;gap:10px;display:flex}.hq-timer-track{background:#ffffff24;border-radius:999px;flex:1;height:10px;overflow:hidden}.hq-timer-fill{background:linear-gradient(90deg,#3dd682,#ffd978);border-radius:999px;height:100%;transition:width .1s linear}.hq-timer-fill.is-low{background:#ff5c6c}.hq-timer-num{text-align:right;min-width:38px;color:var(--gold);font-variant-numeric:tabular-nums;font-size:15px;font-weight:900}.hq-timer-num.is-low{color:#ff8e99}.hq-q-card{background:#0b1a16f0;border:1.5px solid #ffffff29;border-radius:18px;padding:16px 16px 18px;box-shadow:0 12px 28px #00000047}.hq-q-meta{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.hq-topic-chip{letter-spacing:.4px;text-transform:uppercase;color:var(--gold);font-size:11.5px;font-weight:800}.hq-diff-chip{color:#e2f2eb;background:#ffffff1f;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:800}.hq-diff-chip.d-easy{color:#95f6c0;background:#3dd68233}.hq-diff-chip.d-easy-medium{color:#9cdfff;background:#5cc8ff33}.hq-diff-chip.d-medium{color:var(--gold);background:#ffd97838}.hq-diff-chip.d-hard{color:#ffc091;background:#ff944d3d}.hq-diff-chip.d-expert{color:#ffb3ba;background:#ff5c6c40}.hq-q-text{color:#fff;margin:0;font-size:clamp(17px,4.4vw,21px);font-weight:800;line-height:1.38}.hq-options{flex-direction:column;gap:9px;display:flex}.hq-opt{text-align:left;cursor:pointer;color:#132820;touch-action:manipulation;background:#f6faf8;border:2px solid #d2e4dc;border-radius:14px;align-items:center;gap:12px;width:100%;min-height:54px;padding:11px 14px;font-family:inherit;font-size:15px;font-weight:700;line-height:1.3;transition:transform 60ms,background .12s,border-color .12s;display:flex}.hq-opt:active:not(:disabled){transform:scale(.985)}.hq-opt:hover:not(:disabled){background:#fff9e6;border-color:#f0c966}.hq-opt:disabled{cursor:default}.hq-opt-key{color:#fff;background:#1b3b31;border-radius:8px;flex:0 0 30px;justify-content:center;align-items:center;height:30px;font-size:13px;font-weight:900;display:inline-flex}.hq-opt-label{flex:1;min-width:0}.hq-opt.is-correct{color:#0b331d;background:#d6f9e4;border-color:#2fb86c}.hq-opt.is-correct .hq-opt-key{background:#219653}.hq-opt.is-wrong{color:#541212;background:#ffe0e3;border-color:#e04646}.hq-opt.is-wrong .hq-opt-key{background:#c93232}.hq-opt.is-dim{opacity:.62}.hq-feedback{background:#0b1a16f5;border:1.5px solid #ffffff2e;border-radius:16px;padding:13px 15px}.hq-feedback.is-ok{border-color:#3dd68299}.hq-feedback.is-err{border-color:#ff6c7a99}.hq-fb-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.hq-feedback.is-ok .hq-fb-head strong{color:#8af5b9;font-size:15px}.hq-feedback.is-err .hq-fb-head strong{color:#ff9ea7;font-size:15px}.hq-fb-streak{color:var(--gold);font-size:12px;font-weight:800}.hq-fb-explain{color:#e2f2eb;margin:0;font-size:13.5px;line-height:1.45}.hq-results-wrap{flex-direction:column;gap:14px;max-width:600px;margin:0 auto;display:flex}.hq-score-label{letter-spacing:1px;color:#aad0c0;font-size:12px;font-weight:800}.hq-score-big{color:#fff;margin:4px 0;font-size:50px;font-weight:900;line-height:1.05}.hq-new-best{color:#7dffb0;margin-bottom:10px;font-size:16px;font-weight:900}.hq-best-note{color:#b7d3c6;margin-bottom:10px;font-size:13px}.hq-res-box{text-align:left;background:#ffffff14;border-radius:14px;flex-direction:column;gap:5px;margin-bottom:16px;padding:12px 14px;font-size:14px;display:flex}.hq-res-tier{color:var(--gold);font-size:15px;font-weight:800}.hq-res-actions{flex-direction:column;align-items:center;gap:10px;display:flex}.hq-res-subactions{gap:10px;width:100%;max-width:300px;display:flex}.hq-res-subactions .hq-btn{flex:1}.hq-review{text-align:left}.hq-review-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.hq-review-head h3{color:var(--gold);margin:0;font-size:17px}.hq-review-tabs{gap:6px;display:flex}.hq-tab{color:#eef7f3;cursor:pointer;background:#ffffff17;border:1px solid #ffffff38;border-radius:999px;padding:5px 12px;font-family:inherit;font-size:12px;font-weight:700}.hq-tab.is-active{background:var(--gold);color:#1b2822;border-color:var(--gold)}.hq-review-empty{color:#a7f3c9;margin:4px 0;font-size:14px;font-weight:700}.hq-review-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.hq-rev-item{background:#ffffff0f;border-left:4px solid #3dd682;border-radius:12px;padding:11px 13px}.hq-rev-item.is-err{border-left-color:#ff5c6c}.hq-rev-meta{color:#b7d3c6;justify-content:space-between;gap:8px;margin-bottom:4px;font-size:11.5px;display:flex}.hq-rev-tag{color:#8af5b9;font-weight:800}.hq-rev-item.is-err .hq-rev-tag{color:#ff9ea7}.hq-rev-q{color:#fff;margin-bottom:5px;font-size:14.5px;font-weight:800;line-height:1.35}.hq-rev-yours{color:#ffb3ba;margin-bottom:2px;font-size:13px}.hq-rev-ans{color:#95f6c0;margin-bottom:4px;font-size:13.5px;font-weight:800}.hq-rev-exp{color:#d5e7df;margin:0;font-size:12.5px;line-height:1.4}.hq-modal-bg{z-index:9000;background:#060f0cc7;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.hq-modal{color:#f3faf7;background:#122821;border:1.5px solid #ffffff38;border-radius:18px;width:100%;max-width:400px;padding:20px;box-shadow:0 22px 60px #00000085}.hq-modal h3{text-align:center;margin:0 0 12px;font-size:20px}.hq-stat-list{grid-template-columns:1fr auto;gap:6px 12px;margin:0 0 14px;font-size:14px;display:grid}.hq-stat-list dt{color:#cbe0d6}.hq-stat-list dd{color:#fff;text-align:right;margin:0;font-weight:800}.hq-chart-label{color:var(--gold);text-align:center;margin:0 0 8px;font-size:13px;font-weight:700}.hq-chart{background:#00000038;border-radius:10px;grid-template-columns:repeat(10,1fr);align-items:end;gap:5px;height:76px;padding:8px;display:grid}.hq-bar{background:#ffd978;border-radius:4px 4px 0 0;min-height:4px;display:block}.hq-bar.is-last{background:#3dd682}.hq-note{color:#b7d3c6;text-align:center;margin:10px 0 12px;font-size:12px}.hq-modal-actions{justify-content:center;display:flex}.content{background:var(--panel);border-radius:20px 20px 0 0;max-width:760px;margin:0 auto;padding:32px 20px 24px;line-height:1.6}.content h1{margin-top:0;font-size:28px}.content h2{margin-top:28px;font-size:22px}.content .lead{font-size:17px}.content details{border-top:1px solid #d5e2dc;padding:12px 0}.content summary{cursor:pointer;font-weight:600}.footer{text-align:center;color:#eef7f3;opacity:.7;background:var(--bg);padding:18px;font-size:13px}.footer p{margin:4px 0}.embed-block{z-index:99999;text-align:center;background:var(--bg);color:#fff;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;font-size:18px;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.embed-block a{color:#10241f;background:var(--accent);border-radius:999px;padding:12px 26px;font-weight:700;text-decoration:none}@media (max-width:600px){#game-wrap{padding:6px 8px 16px}.hq-card{border-radius:16px;padding:15px 14px}.hq-title{font-size:24px}.hq-play{gap:7px}.hq-hud,.hq-hud-left,.hq-hud-right{gap:5px}.hq-pill{padding:4px 8px;font-size:11px}.hq-icon-btn{min-height:28px;padding:4px 9px;font-size:11px}.hq-q-card{border-radius:15px;padding:11px 13px 12px}.hq-q-meta{margin-bottom:6px}.hq-options{gap:6px}.hq-opt{gap:10px;min-height:45px;padding:8px 11px;font-size:14.5px}.hq-opt-key{flex-basis:28px;height:28px;font-size:12px}.hq-feedback{border-radius:14px;padding:10px 13px}.hq-btn--next{min-height:44px;margin-top:8px;padding:10px 18px}}
