/* ZUZ Arcade Blocks - 보석 상자 벨벳 칸에 결정 묶음을 놓아 줄 지우기 (그림·퍼블리싱 다솜)
   화면 틀·판 크기(--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; }

/* ---------- 판 (그림 명세 1장) ---------- */
.board {
  position: relative;
  flex: none;
  width: var(--size);
  height: calc(var(--size) * 1.25);
  border-radius: calc(var(--u) * 28);
  background: #1d0b26;   /* 벨벳 가운데 색 — 그림이 늦게 와도 같은 색 */
  overflow: hidden;
  touch-action: none;    /* 끌어 놓을 때 페이지가 움직이지 않게(기획 1-3·8.4 S3) */
  outline: none;
  box-shadow: 0 10px 30px rgba(29, 11, 38, 0.3);
  cursor: pointer;
}
.board canvas { display: block; width: 100%; height: 100%; }

/* 일시 멈춤 판 가림 (그림 명세 2.12) — 밝은 결정 배치가 비치지 않게 0.97 (Fifteen·Mines·Wires 와 같음) */
.game-page .board-cover.paused { background: rgba(20, 26, 44, 0.97); }
