:root{--font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--bg-dark:#050814;--text-main:#f8fafc;--text-muted:#94a3b8;--accent:#38bdf8;--accent-purple:#a855f7}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html{-webkit-text-size-adjust:100%;overscroll-behavior:none;font-size:clamp(11px,1.6vmin + 4px,16px)}html,body,#root{background:var(--bg-dark);width:100%;height:100%;color:var(--text-main);font-family:var(--font-family);overflow:hidden}.game-shell{touch-action:none;background:radial-gradient(circle,#0f172a 0%,#050814 100%);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;inset:0}.game-stage{background:#070b19;border:1px solid #ffffff1f;width:min(100vw,177.778dvh);height:min(100dvh,56.25vw);position:relative;overflow:hidden;box-shadow:0 20px 60px #000000bf}.phaser-canvas-host{touch-action:none;width:100%;height:100%}.phaser-canvas-host canvas{touch-action:none;display:block}.game-ui-layer{pointer-events:none;color:var(--text-main);text-shadow:0 1px 3px #000000f2,0 0 6px #0000008c;padding:12px 16px;position:absolute;inset:0}.game-ui-layer button{font:inherit;color:inherit;cursor:pointer;pointer-events:auto;text-shadow:inherit;background:0 0;border:none}.game-ui-layer svg{filter:drop-shadow(0 1px 2px #000c)}.hud-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.hud-left{flex-direction:column;gap:6px;min-width:170px;display:flex}.hud-row{align-items:center;gap:7px;font-size:.82rem;font-weight:800;display:flex}.ic-hp{color:#fb7185}.ic-score{color:#fde047}.ic-danger{color:#f87171}.gauge{background:#ffffff2e;border-radius:4px;width:120px;height:7px;position:relative;overflow:hidden}.gauge i{border-radius:4px;height:100%;display:block}.gauge.hp i{background:linear-gradient(90deg,#f43f5e,#fb7185)}.gauge.exp{height:5px}.gauge.exp i{background:linear-gradient(90deg,#10b981,#34d399)}.num{font-variant-numeric:tabular-nums}.lv{letter-spacing:.02em;min-width:36px}.hud-right{align-items:center;gap:14px;font-size:.9rem;font-weight:800;display:flex}.hud-stat{font-variant-numeric:tabular-nums;align-items:center;gap:5px;display:inline-flex}.hud-icon{opacity:.92;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:inline-flex}.hud-icon:hover{opacity:1;transform:scale(1.1)}.touch-controls{align-items:flex-end;gap:10px;display:flex;position:absolute;bottom:14px;right:14px}.touch-btn{--cd:100%;--c:#7dd3fc;color:#e0f2fe;background:conic-gradient(var(--c) var(--cd), #ffffff24 0);border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex;position:relative;-webkit-mask:radial-gradient(circle,#000 0 62%,#0000 63%);mask:radial-gradient(circle,#000 0 62%,#0000 63%)}.touch-btn:disabled{opacity:.55}.screen{pointer-events:auto;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:absolute;inset:0}.scrim{background:#020617a8}.title{letter-spacing:.12em;background:linear-gradient(90deg,#f8fafc,#38bdf8);-webkit-text-fill-color:transparent;text-shadow:none;-webkit-background-clip:text;background-clip:text;font-size:2.4rem}.records{color:#cbd5e1;gap:18px;font-size:.82rem;font-weight:700;display:flex}.records span{align-items:center;gap:4px;display:inline-flex}.row{justify-content:center;align-items:center;gap:14px;display:flex}.row.small{gap:10px}.pick,.keycap,.mini,.start-btn,.choice{border-radius:14px;transition:transform .12s,opacity .12s,box-shadow .12s}.pick{opacity:.5;color:#e2e8f0;padding:8px}.pick.sel,.pick.on{opacity:1}.pick.sel{transform:scale(1.12)}.concept-name{color:#bae6fd;min-height:1.2em;font-size:.95rem;font-weight:800}.start-btn{color:#fff;justify-content:center;align-items:center;width:64px;height:64px;display:inline-flex;box-shadow:0 6px 22px #0ea5e973;background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;border-radius:50%!important}.keycap{opacity:.8;align-items:center;gap:6px;padding:6px 10px;font-size:.9rem;font-weight:800;display:inline-flex}.keycap b{color:#7dd3fc;min-width:14px}.keycap.listening{opacity:1;animation:.8s infinite blink}.keycap.reset{opacity:.55;padding:6px}.mini{opacity:.5;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.mini.on{opacity:1;color:#7dd3fc}.key-error{color:#f87171;font-weight:900}.key-hint{color:#94a3b8;letter-spacing:.08em;font-size:.78rem}.kb{box-shadow:0 0 0 3px #7dd3fcf2,0 0 20px #38bdf899;opacity:1!important}.pick.kb{transform:scale(1.12)}.choices{flex-wrap:nowrap;justify-content:center;align-items:flex-end;gap:22px;display:flex}.choice{opacity:.62;flex-direction:column;align-items:center;gap:6px;min-width:112px;padding:10px 14px 8px;display:flex}.choice.sel{opacity:1;box-shadow:0 0 0 3px #7dd3fcf2,0 0 22px #38bdf88c;background:radial-gradient(circle,#7dd3fc38 0%,#7dd3fc00 72%)!important}.choice-label{letter-spacing:-.02em;white-space:nowrap;color:#e2e8f0;font-size:.88rem;font-weight:800}.choice.sel .choice-label{color:#f8fafc}.dots{align-items:center;gap:5px;height:8px;display:inline-flex}.dots i{background:#475569;border-radius:50%;width:7px;height:7px}.dots i.on{background:#fde047}.dots i.next{background:#7dd3fc;animation:.9s infinite blink;box-shadow:0 0 8px #7dd3fc}.go-title{letter-spacing:.1em;color:#fca5a5;font-size:2rem}.new-record{color:#422006;text-shadow:none;background:linear-gradient(90deg,#fde047,#f59e0b);border-radius:999px;padding:3px 14px;font-weight:900}.go-stats{gap:34px;display:flex}.go-stats div{flex-direction:column;gap:3px;display:flex}.go-stats small{color:#94a3b8;letter-spacing:.08em;font-size:.7rem}.go-stats strong{font-variant-numeric:tabular-nums;font-size:1.5rem}.new-badge{color:#422006;vertical-align:middle;text-shadow:none;background:#fde047;border-radius:4px;margin-left:5px;padding:1px 5px;font-size:.6rem;font-style:normal;font-weight:900}@keyframes blink{50%{opacity:.35}}.rotate-hint{display:none}@media (orientation:portrait) and (pointer:coarse){.rotate-hint{z-index:100;color:#e2e8f0;pointer-events:none;background:#050814f0;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.rotate-hint div{font-size:4rem}}@media (height<=520px){.game-ui-layer{padding:6px 10px}.title{font-size:1.6rem}.screen{gap:8px}.choices{gap:12px}.choice{gap:4px;min-width:96px;padding:8px 8px 6px}.choice svg{width:36px;height:36px}.choice-label{font-size:.78rem}.pick svg{width:48px;height:48px}.go-stats strong{font-size:1.2rem}}.hud-buffs{color:#e2e8f0;font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:2px 9px;max-width:230px;font-size:.78rem;font-weight:800;display:flex}.buff{align-items:center;gap:3px;display:inline-flex}.key-hints{pointer-events:none;align-items:center;gap:12px;display:flex;position:absolute;bottom:12px;right:16px}.khint{--cd:100%;--c:#7dd3fc;opacity:.8;background:linear-gradient(90deg, var(--c) var(--cd), #ffffff2e 0) bottom / 100% 3px no-repeat;align-items:center;gap:5px;padding-bottom:3px;display:inline-flex}.khint.ready{opacity:1}.khint kbd{font:inherit;letter-spacing:.04em;color:var(--c);font-size:.72rem;font-weight:900}.touch-btn.special{width:54px;height:54px}.row.cards{align-items:stretch;gap:10px}.pick.card{--c:#7dd3fc;flex-direction:column;align-items:center;gap:4px;width:128px;padding:10px 6px 8px;display:flex;background:#0f172a8c!important;border:1px solid #94a3b840!important}.pick.card.sel{opacity:1;box-shadow:0 0 16px color-mix(in srgb, var(--c) 55%, transparent);transform:scale(1.05);border-color:var(--c)!important}.card-name{color:var(--c);letter-spacing:.04em;font-size:.95rem}.card-line{color:#cbd5e1;flex-direction:column;gap:1px;font-size:.72rem;font-weight:700;line-height:1.25;display:flex}.card-line i{color:var(--c);letter-spacing:.08em;font-size:.6rem;font-style:normal;font-weight:900}.keycap.fixed{opacity:.6;cursor:default}.keycap.fixed b{color:#99f6e4}.mini-text{letter-spacing:.04em;margin-left:3px;font-size:.62rem;font-weight:900}:is(.mini:has(.mini-text),.pick:has(.mini-text)){flex-direction:row;align-items:center;gap:3px;width:auto;padding-inline:8px;display:inline-flex}.pick .mini-text{font-size:.78rem}
