.compact-game-page{width:min(1000px,calc(100% - 24px));margin:34px auto 60px}.compact-game-page .game-top h1,.game-shell .game-top h1{margin:3px 0;font-size:clamp(2.3rem,6vw,4rem);line-height:1.1}.compact-game-page .game-top p,.game-shell .game-top p{margin:6px 0;color:var(--muted)}.mines-frame{position:relative;display:grid;justify-items:center;min-height:540px;padding:24px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#1a222d,#111720);overflow:auto}.mines-toolbar{width:min(100%,620px);display:flex;justify-content:space-between;align-items:center;padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:#0b1017}.mine-stat{text-align:center}.mine-stat span{display:block;color:var(--muted);font-size:.75rem}.mine-stat strong{color:#ff6b6b;font:900 1.8rem monospace}.face-button{width:52px;height:48px;border:1px solid var(--line);border-radius:8px;background:#222e3c;font-size:1.5rem;cursor:pointer}.difficulty{display:flex;gap:8px;margin:16px}.difficulty button{padding:7px 14px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#121a24;font-weight:800;cursor:pointer}.difficulty button.active{color:#17120a;background:var(--gold)}.mine-board{--cols:9;display:grid;grid-template-columns:repeat(var(--cols),minmax(22px,34px));gap:2px;padding:8px;border:2px solid #3b4b5e;border-radius:8px;background:#263241;touch-action:manipulation}.mine-cell{aspect-ratio:1;border:2px outset #53677d;color:#edf3fa;background:#394b60;font:900 clamp(.7rem,2vw,1rem) monospace;cursor:pointer;padding:0}.mine-cell.open{border:1px solid #334151;background:#151d27}.mine-cell.exploded{background:#b3333e}.mine-cell[data-number="1"]{color:#72a7ff}.mine-cell[data-number="2"]{color:#67d79d}.mine-cell[data-number="3"]{color:#ff7373}.mine-cell[data-number="4"]{color:#b38cff}.mine-cell[data-number="5"]{color:#f0b95b}.game-status{margin:16px 0 0;color:var(--muted);font-weight:800}.shooter-wrap{max-width:960px;margin:auto}.shooter-hud{position:absolute;inset:14px 14px auto;display:flex;justify-content:space-between;gap:8px;pointer-events:none}.shooter-hud span{padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:rgba(6,10,18,.82);font-weight:900}.shooter-controls{display:none;grid-template-columns:1fr 1.3fr 1fr;gap:8px;max-width:500px;margin:12px auto}.shooter-controls button{min-height:54px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--panel2);font-weight:900}.shooter-controls #touchFire{color:#17120a;background:var(--gold)}.mines-frame:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;align-content:center}.mines-frame:fullscreen .mine-board{grid-template-columns:repeat(var(--cols),minmax(24px,4vh))}@media(max-width:720px){.mines-frame{padding:12px;min-height:480px}.mine-board{grid-template-columns:repeat(var(--cols),minmax(18px,8.3vw))}.shooter-controls{display:grid}.shooter-hud{font-size:.72rem}.shooter-wrap{aspect-ratio:3/4}.shooter-wrap canvas{object-fit:contain}.compact-game-page .game-top{align-items:flex-start;flex-direction:column}}
