
/* GOMOKU-CHAT-STYLE-20261023-START */
.row.game { justify-content: center; }
.row.game .stack { width: min(100%,360px); }
.gm-chat { width: min(100%,360px); min-width: 240px; overflow: hidden; margin: 3px 0 7px; padding: 12px;
  border: 1px solid rgba(159,120,65,.25); border-radius: 18px; background: var(--sheet,#fff); color: var(--text,#111); box-shadow: 0 6px 22px rgba(40,25,10,.08); }
.gm-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.gm-chat-head b { font-size: 14px; letter-spacing: .05em; }
.gm-chat-mode { color: var(--dim,#888); font-size: 10px; }
.gm-chat-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 9px; background: #dfb983; }
.gm-chat-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.gm-chat-status { min-height: 24px; margin: 9px 0 5px; font-size: 12px; line-height: 1.6; }
.gm-chat-status.error { color: #c67b48; }
.gm-chat-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.gm-chat-actions button,.gm-chat-continue { border: 1px solid var(--line,#ddd); border-radius: 10px; padding: 7px 9px; min-height: 33px;
  background: var(--chip,rgba(128,128,128,.06)); color: inherit; font: inherit; font-size: 11px; cursor: pointer; touch-action: manipulation; }
.gm-chat-actions button:disabled { opacity: .4; cursor: default; }
.gm-chat-note { margin: 8px 0 0; color: var(--dim,#888); font-size: 10px; line-height: 1.6; }
.gm-chat-continue { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; font-size: 12px; text-align: left; }
.gm-chat-continue small { font-size: 10px; color: var(--dim,#888); }
@media(max-width:340px) { .gm-chat { min-width: 200px; padding: 9px; } }
/* GOMOKU-CHAT-STYLE-20261023-END */

