.game-tank .game-panel { grid-template-columns: minmax(0, 1.5fr) minmax(270px, .9fr); }
.game-tank .game-stage { background: #e0e7d6; padding: 24px; }
.game-tank .board-wrap { width: min(100%, 512px); border: 8px solid #68735f; border-radius: 3px; box-shadow: 0 2px 0 #475341; background: #171d18; }
.game-tank #game-canvas { border-radius: 0; image-rendering: pixelated; }
.game-tank .game-overlay { border-radius: 0; background: #19251cf0; color: #f1eed9; backdrop-filter: none; padding: 20px; }
.game-tank .overlay-kicker { color: #d7bd68; font-family: ui-monospace, monospace; letter-spacing: .12em; }
.game-tank .game-overlay h3 { color: #f4e5a6; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; font-size: clamp(20px, 2vw, 28px); }
.game-tank .game-overlay p { color: #c5cfbb; max-width: 310px; }
.game-tank .game-overlay .primary-button { background: #ddc16c; border-color: #ddc16c; color: #2b3826; font-weight: 600; }
.tank-hud { display: flex; justify-content: space-between; gap: 10px; width: min(100%, 512px); padding: 0 2px 11px; color: #475b3c; font: 11px/1.5 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.tank-hud strong { font-weight: 600; color: #3d5434; }
.tank-touch-controls { display: flex; align-items: center; justify-content: space-between; width: min(100%, 340px); margin-top: 12px; gap: 22px; }
.game-tank .direction-pad { margin: 0; }
.tank-fire { width: 80px; height: 80px; flex: 0 0 80px; border-radius: 50%; color: #f9efd0; border: 5px solid #cbb97d; background: #6e794e; box-shadow: 0 3px 0 #475234; font-size: 14px; font-weight: 600; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.tank-fire::before { content: '◉'; display: block; font-size: 23px; line-height: 1.2; margin-bottom: 3px; }
.tank-fire[aria-pressed="true"] { background: #a28a45; transform: translateY(2px); box-shadow: 0 1px 0 #475234; }
.game-tank .direction-pad button { touch-action: none; user-select: none; -webkit-user-select: none; }
.game-tank .direction-pad button[aria-pressed="true"] { background: #cfddbd; border-color: #849e6d; }
.game-tank .stage-note { max-width: 430px; margin-top: 15px; }
.game-tank .game-sidebar { padding: 28px; }
.game-tank .game-sidebar h3 { font-size: 25px; }
.tank-equipment { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.tank-equipment > span { display: inline-flex; align-items: center; gap: 5px; }
.tank-pickup { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 2px; font-size: 12px; color: #fbf8df; background: #9a813a; }
.tank-pickup.shield { background: #5b8c96; }
.tank-pickup.base { background: #718b59; }
.game-tank .game-meta { line-height: 1.9; }
.tank-sound { margin: 12px 10px 0 0; min-height: 36px; font-size: 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; background: transparent; padding: 0 12px; cursor: pointer; }
.tank-sound[aria-pressed="true"] { color: var(--green); background: #edf2e6; }
.game-tank .game-status { min-height: 38px; }
.game-tank .more-games-links { gap: 10px; }
.game-tank .game-panel:fullscreen .board-wrap { width: min(100%, 65vh, 620px); }
@media (max-width: 900px) {
    .game-tank .game-panel { grid-template-columns: minmax(0, 1fr); }
    .game-tank .game-stage { padding: 22px; }
    .game-tank .game-sidebar { padding: 24px; }
    .tank-touch-controls { max-width: 340px; }
}
@media (max-width: 480px) {
    .game-tank .game-stage { padding: 14px 12px 18px; }
    .game-tank .board-wrap { border-width: 5px; }
    .tank-hud { font-size: 10px; gap: 6px; }
    .tank-touch-controls { max-width: 290px; }
    .tank-fire { width: 75px; height: 75px; flex-basis: 75px; }
    .game-tank .game-overlay { padding: 12px; }
    .game-tank .game-overlay h3 { font-size: 20px; }
    .game-tank .game-overlay p { font-size: 10px; margin-bottom: 15px; }
    .game-tank .stage-note { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .tank-fire { transform: none !important; } }
