.dm-board { display: grid; grid-template-columns: repeat(8, 1fr); width: min(100%, 560px); aspect-ratio: 1; margin: 0 auto; border: 6px solid #3d2a1a; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.dm-sq { background: #ead9b5; position: relative; display: grid; place-items: center; }
.dm-sq.dark { background: #2f6f5f; cursor: pointer; }
.dm-sq.movable .dm-piece { box-shadow: 0 0 0 3px var(--chip), 0 3px 0 rgba(0,0,0,.35); }
.dm-sq.sel { background: #1f4f43; }
.dm-sq.sel .dm-piece { transform: translateY(-3px); box-shadow: 0 0 0 4px var(--chip), 0 6px 0 rgba(0,0,0,.35); }
.dm-sq.target::after { content: ""; width: 34%; height: 34%; border-radius: 50%; background: var(--chip); opacity: .85; box-shadow: 0 0 0 3px rgba(0,0,0,.25); }
.dm-sq.trail { background: #3e8a75; }
.dm-piece { width: 78%; height: 78%; border-radius: 50%; display: block; transition: transform .12s ease; box-shadow: 0 3px 0 rgba(0,0,0,.35); position: relative; }
.dm-piece.w { background: radial-gradient(circle at 50% 40%, #fffdf6 0 45%, #e6dcc4 46% 60%, #fffdf6 61%); border: 2px solid #8b7a57; }
.dm-piece.b { background: radial-gradient(circle at 50% 40%, #2a2a2a 0 45%, #111 46% 60%, #2a2a2a 61%); border: 2px solid #000; }
.dm-piece.king::after { content: "♛"; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(.9rem, 4.5vw, 1.6rem); color: #b8860b; }
.dm-piece.b.king::after { color: var(--chip); }
.dm-you .icon { color: #8b7a57; }
.dm-cpu .icon { color: var(--ink); }
.dm-msg { font-weight: 700; color: var(--ink); }
.dm-online-name { display: flex; align-items: center; gap: 8px; justify-content: center; font-weight: 700; margin: 8px 0; position: relative; }
.dm-chip { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #8b7a57; background: #fffdf6; }
.dm-chip.b { background: #222; border-color: #000; }
.dm-actions { display: flex; justify-content: center; gap: 8px; }
.dm-online-name .xz-turn { font-size: .75rem; font-weight: 700; text-transform: uppercase; background: var(--chip); color: var(--chip-ink); padding: 2px 8px; border-radius: 999px; }
