/* ─────────────────────────────────────────────
 * 한봇 만칼라 (2026-11-13) — specs/mancala.md §4 디자인 토큰. 소재: 대추나무 함지와 팥·녹두·콩 씨앗
 * 올리브 바탕 #2a2e22 · 패널 #353a2b · 대추 나무 #6b2d24 · 밝은 안쪽 #e9c99a · 팥 #8c2f2f · 녹두 #6e9b3c · 콩 #ead9a8 · 경고 #d0644a
 * 시그니처(하나): 씨앗이 한 알씩 떨어지는 뿌리기 연출(화면 스크립트가 0.12초마다 다시 그림, 떨어진 칸이 잠깐 밝아짐).
 * 배치·단추·설정 칸은 공용 public/css/boardgame/room.css — 여기선 토큰과 판만.
 * ───────────────────────────────────────────── */
.mc-root, .chat-fab, .chat-panel {
    --mc-olive: #2a2e22;
    --mc-olive-2: #353a2b;
    --mc-jujube: #6b2d24;
    --mc-jujube-dark: #451a14;
    --mc-inner: #e9c99a;
    --mc-red-bean: #8c2f2f;
    --mc-mung: #6e9b3c;
    --mc-soy: #ead9a8;
    --mc-warn: #d0644a;
    --bg-bg: var(--mc-olive);
    --bg-panel: var(--mc-olive-2);
    --bg-line: color-mix(in srgb, var(--mc-mung) 22%, var(--mc-olive-2));
    --bg-ink: #f1f0e8;
    --bg-dim: color-mix(in srgb, #f1f0e8 60%, var(--mc-olive));
    --bg-accent: #8fbf55;
    --bg-accent-ink: #172009;
    --bg-warn: var(--mc-warn);
    --chat-accent: #8fbf55;
    --chat-accent-ink: #172009;
}
/* 판은 가로로 긴 모양 — 폭 기준(휴대폰에서도 가로) */
.mc-board { width: 100%; max-width: calc(var(--bg-board) * 2.6); margin: 0 auto; touch-action: manipulation; }
.mc-svg { width: 100%; height: auto; display: block; }
.mc-svg:focus-visible { outline: 3px solid var(--bg-accent); outline-offset: 3px; border-radius: 14px; }
.mc-wood { stroke: var(--mc-jujube-dark); stroke-width: 0.06; }
/* 구멍·곳간은 그림 위에 겹친 상태 테 — 평소엔 투명, 상태는 테·반투명 덧칠 */
.mc-pit, .mc-store { fill: transparent; stroke: none; transition: fill 0.12s; }
.mc-store.mine { stroke: color-mix(in srgb, #c9ef8a 55%, transparent); stroke-width: 0.04; }
.mc-pit.can { stroke: #c9ef8a; stroke-width: 0.08; cursor: pointer; }
.mc-pit.can:hover { fill: rgba(255, 245, 220, 0.3); }
.mc-pit.cur { stroke: var(--mc-jujube-dark); stroke-width: 0.04; stroke-dasharray: 0.12 0.06; }
.mc-pit.can.cur { stroke: #c9ef8a; stroke-width: 0.08; }
.mc-svg:focus-visible .mc-pit.cur, .mc-svg:focus .mc-pit.cur { stroke: #fff; stroke-width: 0.09; stroke-dasharray: none; }
.mc-pit.hot, .mc-store.hot { fill: rgba(255, 242, 210, 0.55); }
.mc-pit.capd { fill: rgba(232, 120, 90, 0.45); }
.mc-seed { pointer-events: none; }
.mc-num { fill: #f6ead2; font-size: 0.3px; font-weight: 700; text-anchor: middle; font-variant-numeric: tabular-nums; pointer-events: none; font-family: var(--font-sans, sans-serif); }
.mc-snum { font-size: 0.34px; }
.mc-big { fill: var(--mc-jujube-dark); font-size: 0.5px; font-weight: 800; text-anchor: middle; pointer-events: none; font-family: var(--font-sans, sans-serif); }
.mc-land { fill: var(--mc-jujube-dark); stroke: #fff; stroke-width: 0.03; pointer-events: none; }
.mc-mini { width: 22px; height: 22px; display: block; }
.mc-ctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 8px; }
.mc-ctrl:empty { display: none; }
.mc-hint { font-size: 0.8rem; color: var(--bg-dim); }
@media (prefers-reduced-motion: reduce) { .mc-pit, .mc-store { transition: none; } }
