*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#101524;color:#edf2fc;font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.55}button,a,input{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}header,main,footer{max-width:1220px;margin:auto;padding-left:34px;padding-right:34px}header{height:88px;display:flex;align-items:center;gap:32px;border-bottom:1px solid #252d40}.brand{font-size:25px;font-weight:800;letter-spacing:-1.3px}.brand span{color:#69e6e5}.catalog{font-size:14px;color:#b1bdd4}.quiet{background:transparent;color:#9eacc6;border:1px solid #303a50;border-radius:9px;padding:8px 13px;font-size:13px}#language{margin-left:auto}.title-row{display:flex;align-items:center;justify-content:space-between;margin:38px 0 28px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px;color:#8da0c0;margin:0 0 10px}h1{font-size:clamp(28px,3.8vw,46px);line-height:1.15;letter-spacing:-1.8px;margin:0}h1 span{display:inline-block;font-size:16px;color:#8df2e9;border:1px solid #315058;border-radius:8px;padding:5px 8px;vertical-align:middle;letter-spacing:0;margin-left:8px}.lead{color:#8798b6;margin:12px 0 0;font-size:15px}.mini-symbols{display:flex;align-items:center;gap:18px;font-size:70px;font-weight:300;color:#69e6e5;line-height:1;transform:rotate(-12deg)}.mini-symbols span+span{color:#ff9e86}.layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);gap:22px;align-items:start}.game-panel{background:radial-gradient(ellipse at 48% 48%,#263349 0,#182236 45%,#151d30 78%);border:1px solid #303a50;border-radius:20px;overflow:hidden;position:relative}.game-top{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;min-height:77px}#status{font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px}#status .cross,#status .circle{font-size:28px}.stage{height:420px;position:relative;touch-action:manipulation}#scene{position:absolute;inset:0}canvas{display:block;width:100%;height:100%}.board-caption{position:absolute;bottom:2px;left:0;right:0;text-align:center;font-size:12px;letter-spacing:.3px;color:#7486a5;pointer-events:none}.game-bottom{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-top:1px solid #303a5066;margin-top:12px}.legend{display:flex;gap:10px;align-items:center;color:#a6b4cf;font-size:13px}.cross{color:#69e6e5;font-size:32px;line-height:1}.circle{color:#ff9e86;font-size:30px;line-height:1}.divider{height:18px;width:1px;background:#344059;margin:0 10px}.round{font-size:12px;color:#7f91ae}.round b{color:#b6c3d9;margin-left:6px}.settings,.stats-panel{background:#171f31;border:1px solid #2b354b;border-radius:18px;padding:23px}h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0 0 22px}fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}legend{font-size:12px;color:#a4b2c9;margin-bottom:10px}.segmented{display:flex;background:#111827;border:1px solid #29334a;padding:4px;border-radius:11px;gap:4px}.segmented button{width:50%;border:0;background:transparent;color:#94a4c0;border-radius:7px;padding:9px;font-size:13px}.segmented button[aria-pressed=true]{background:#303c55;color:#fff;box-shadow:0 3px 8px #0002}.difficulty{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.difficulty button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 4px;background:#192235;border:1px solid #303c54;border-radius:10px;color:#8b9bb8;font-size:12px}.difficulty button[aria-pressed=true]{background:#233e44;border-color:#5dc6bd;color:#adf5ed}.level-bars{font-size:13px;letter-spacing:-1px;height:20px}.muted{color:#8e9eb9;font-size:12px;margin:10px 0 0;min-height:36px}.side-options{display:flex;gap:9px}.side-options button{display:flex;gap:9px;justify-content:center;align-items:center;flex:1;background:#192235;border:1px solid #303c54;border-radius:10px;padding:9px;color:#91a1bb;font-size:11px}.side-options button[aria-pressed=true]{border-color:#7885a8;background:#28334a}.side-options .cross,.side-options .circle{font-size:26px}.primary{background:#70e1d3;color:#122d32;border:0;border-radius:10px;padding:12px 20px;font-size:14px;font-weight:700}.primary:hover{background:#9befdf}.new-game{width:100%}.fine{font-size:11px;color:#788ba9;line-height:1.5;margin:12px 0 0}.stats-panel{margin-top:16px}.stats-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.stats-heading h2{margin-bottom:18px}.stats-heading>span{font-size:11px;color:#8495b1;align-self:start;margin-top:3px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stats>div{text-align:center;border-right:1px solid #2c374d}.stats>div:last-child{border:0}.stats b{font-size:27px;font-weight:600;display:block;font-variant-numeric:tabular-nums;color:#e5eefa}.stats>div:first-child b{color:#70e1d3}.stats span{font-size:11px;color:#8a9cba}.result{padding:18px 24px;background:#223c40;display:flex;align-items:center;gap:16px;border-top:1px solid #41645e}.result[hidden], [hidden]{display:none!important}.result h2{font-size:19px;margin:0}.result p{margin:3px 0 0;font-size:12px;color:#b8cec9}.result>span{font-size:30px;color:#7ae7d1}.result button{margin-left:auto;white-space:nowrap}.below{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin:48px 0 52px}.below h2{margin:12px 0 8px;font-size:15px}.below p{font-size:13px;color:#8798b5;margin:0}.rule-icon{color:#6ed7d1;font-size:23px;letter-spacing:2px}.violet{color:#a397ef}.coral{color:#e8a08d}footer{border-top:1px solid #252d40;padding-top:24px;padding-bottom:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#7f91ae;font-size:12px}footer .brand{font-size:21px;color:#c7d1e5}.fallback{position:absolute;top:50%;left:50%;width:260px;transform:translate(-50%,-50%);display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.fallback button{background:#25344b;border:1px solid #42526d;box-shadow:0 6px 0 #111b2d;border-radius:13px;aspect-ratio:1;font-size:52px;line-height:1;color:#69e6e5;transition:background .15s}.fallback button[data-mark=O]{color:#ff9e86}.fallback button.win{background:#39564e;border-color:#70e1d3}.fallback button:disabled{cursor:default;opacity:1}.webgl .fallback{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);top:0;left:0}.webgl.keyboard .fallback{width:260px;height:auto;overflow:visible;clip-path:none;top:50%;left:50%;z-index:2;padding:12px;background:#182236f5;border-radius:20px}.webgl.keyboard #scene{opacity:.15}button:focus-visible,a:focus-visible{outline:3px solid #b1a1ff;outline-offset:4px}.stage:focus-visible{outline:2px solid #b1a1ff;outline-offset:-6px}@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr) 285px}.stage{height:370px}.settings,.stats-panel{padding:18px}.game-top{padding:18px}.result{flex-wrap:wrap}.result button{margin-left:0}.mini-symbols{font-size:55px}.below{gap:20px}}@media(max-width:680px){header,main,footer{padding-left:18px;padding-right:18px}header{height:72px;gap:22px}.layout{grid-template-columns:1fr;gap:16px}.title-row{margin:26px 0 22px}.mini-symbols{display:none}.eyebrow{font-size:9px;letter-spacing:1.3px}.lead{font-size:13px}.stage{height:340px}.game-top{padding:15px;min-height:65px}.game-bottom{padding:14px 18px}.settings{padding:20px}fieldset{margin-bottom:18px}.settings h2{margin-bottom:15px}.side-options button{padding:10px}.difficulty button{flex-direction:row;justify-content:center;padding:12px 4px}.level-bars{height:auto}.stats-panel{padding:20px}.below{grid-template-columns:1fr;margin:32px 0;gap:22px}.below>div{display:grid;grid-template-columns:40px 1fr;column-gap:12px}.below h2{margin:0 0 6px}.below p{grid-column:2}.rule-icon{grid-row:span 2;letter-spacing:-3px}footer{flex-wrap:wrap}.result{padding:17px}h1{letter-spacing:-1px}.fine{font-size:12px}.stats span{font-size:12px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}