.game-toolbar{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.game-toolbar .field{margin:0;min-width:160px}.game-panel{min-width:0}.game-board{margin:20px auto}.game-board.ttt{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:390px}.game-board.ttt button{aspect-ratio:1;background:#0b1c30;color:#5ce4b7;border:1px solid #65809b;font-size:clamp(36px,6vw,64px);font-weight:800;padding:0}.game-board.ttt button.o{color:#ffdc47}.game-board.ttt button.win{box-shadow:inset 0 0 0 3px #ffdc47;background:#334936}.game-board.ttt button:disabled{opacity:1;cursor:default}.dots-svg{display:block;aspect-ratio:1;width:100%;max-width:600px;background:#0a192b;border:1px solid #ffffff25;border-radius:14px;touch-action:manipulation;cursor:crosshair;box-sizing:border-box}.dots-svg:focus-visible{outline:3px solid #43d9e5;outline-offset:3px}.game-equation{display:grid;grid-template-columns:minmax(0,1fr) 25px minmax(0,1fr) 25px minmax(0,1fr);gap:10px;align-items:center;max-width:560px;margin:35px auto}.match-digit{position:relative;aspect-ratio:90/160;min-width:0}.game-equation .operator{font-size:38px;text-align:center;color:#ffdc47}.match-digit button.stick{position:absolute;padding:0;border-radius:6px;border:1px solid #f9c752;background:linear-gradient(90deg,#ffc75b,#ff8858);box-shadow:0 0 9px #ffb34e50;min-width:0}.match-digit button.stick:before{content:'';position:absolute;width:8px;height:8px;background:#f65a62;border-radius:50%;left:2px;top:2px}.match-digit button.stick.off{background:#25394e;border:1px dashed #7890a8;box-shadow:none;opacity:.6}.match-digit button.stick.off:before{display:none}.match-digit button.stick.selected{outline:4px solid #43d9e5;outline-offset:2px}.match-digit button.stick.hint{outline:4px solid #c0a4ff;outline-offset:2px}.match-digit .a,.match-digit .g,.match-digit .d{left:22%;width:56%;height:8%}.match-digit .a{top:4%}.match-digit .g{top:46%}.match-digit .d{top:88%}.match-digit .b,.match-digit .c,.match-digit .e,.match-digit .f{height:30%;width:12%}.match-digit .b{top:15%;left:80%}.match-digit .c{top:57%;left:80%}.match-digit .e{top:57%;left:8%}.match-digit .f{top:15%;left:8%}#game-status.success{color:#5ce4b7}#game-status.error{color:#ffaaa5}@media(max-width:580px){.game-equation{gap:5px;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr)}.game-equation .operator{font-size:28px}.game-toolbar button{font-size:14px;padding:10px 12px}.match-digit button.stick:before{width:5px;height:5px}}
