/* ZUZ Arcade Fifteen - 초록 펠트 위 놋쇠 쟁반, 유약 도자기 숫자 조각 (다솜 MGW-DSN-016, 퍼블리싱 MGW-PUB-010)
   화면 틀·판 크기(--size)는 공통 틀(../common/frame.css). 판 960×1200u → --aspect 1.25, 배율 = --size / 960. --extra-h 0.
   판 안 그림(바탕·위 띠·쟁반·조각·안내)은 game.js 가 canvas 에 그린다(그림 = img/*.svg). 여기는 판 상자·멈춤 가림만. */
:root {
  --bg: #f3f5fa;
  --ink: #1d2540;
}
.game-page {
  --aspect: 1.25;
  --u: calc(var(--size) / 960);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior: none;
}

/* 위 줄 [일시 멈춤/계속] 아이콘 */
#play .i-pause { display: none; }
#play[data-mode="pause"] .i-play { display: none; }
#play[data-mode="pause"] .i-pause { display: block; }

/* ---------- 판 (DSN-016 1장) ---------- */
.board {
  position: relative;
  flex: none;
  width: var(--size);
  height: calc(var(--size) * 1.25);
  border-radius: calc(var(--u) * 28);
  background: #163a30;   /* 펠트 — 그림이 늦게 와도 같은 색 */
  overflow: hidden;
  touch-action: none;
  outline: none;
  box-shadow: 0 10px 30px rgba(16, 43, 36, 0.28);
  cursor: pointer;
}
.board canvas { display: block; width: 100%; height: 100%; }

/* 일시 멈춤 판 가림 (DSN-016 2.11) — 상아 조각이 많은 판에서 숫자·자리가 비치지 않게 0.97 (다른 게임 0.94) */
.game-page .board-cover.paused { background: rgba(20, 26, 44, 0.97); }
