.checkers-stage { margin: 18px auto; max-width: 680px; text-align: center; }
.checkers-status { font-weight: 700; padding: 10px; }
.checkers-score { font-size: .9rem; margin: 8px 0 14px; line-height: 1.6; }
.checkers-board-shell { max-width: min(100%, 620px); margin: 0 auto; }
.checkers-board { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); grid-template-rows: repeat(8,minmax(0,1fr)); width: 100%; aspect-ratio: 1; border: 7px solid #55371e; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px #1b120c40; }
.checkers-square { position: relative; border: 0; border-radius: 0; padding: 0; display: grid; place-items: center; min-width: 0; cursor: default; }
.checkers-light-square { background: #e6c99d; }
.checkers-dark-square { background: #93623c; }
.checkers-square:enabled { cursor: pointer; }
.checkers-square.checkers-available { box-shadow: inset 0 0 0 4px #f7d36d; }
.checkers-square.checkers-selected { box-shadow: inset 0 0 0 5px #fff3aa; }
.checkers-square.checkers-landing { box-shadow: inset 0 0 0 4px #73e4a5; }
.checkers-square:focus-visible { outline: 3px solid #fff; outline-offset: -4px; z-index: 2; }
.checkers-piece { display: grid; place-items: center; width: 76%; height: 76%; border-radius: 50%; border: 2px solid; box-shadow: inset 0 3px 3px #ffffff44, inset 0 -5px 4px #00000030, 0 3px 3px #0006; pointer-events: none; }
.checkers-espresso { background: linear-gradient(145deg,#6e4329,#2d180e); border-color: #bb9266; }
.checkers-ivory { background: linear-gradient(145deg,#fffaf0,#d5bc91); border-color: #775537; }
.checkers-crown { font-size: clamp(15px,3.5vw,31px); line-height: 1; color: #f8c95c; text-shadow: 0 1px 2px #21140c; }
.checkers-ivory .checkers-crown { color: #815122; text-shadow: 0 1px 1px #fff; }
.checkers-landing-dot { width: 28%; height: 28%; border-radius: 50%; background: #baf8ce; box-shadow: 0 0 0 2px #236d47; }
.checkers-help { font-size: .9rem; margin: 12px 0; }
.checkers-error { color: #a32121; min-height: 1.3em; }
.checkers-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 12px; }
.checkers-draw-offer { padding: 14px; border: 2px solid #93623c; border-radius: 12px; margin: 12px auto; }
.checkers-draw-offer[hidden], .checkers-result-overlay[hidden] { display: none !important; }
.checkers-result-overlay { position: fixed; inset: 0; background: #101923c9; z-index: 3000; display: grid; place-items: center; padding: 16px; }
.checkers-result-dialog { width: min(100%, 390px); background: #fff8ec; color: #2b2019; padding: 26px; border-radius: 16px; text-align: center; box-shadow: 0 16px 60px #0008; }
.checkers-result-symbol { font-size: 56px; color: #96632d; }
@media (max-width: 460px) { .checkers-board { border-width: 4px; } .checkers-piece { border-width: 1px; } .checkers-square.checkers-available { box-shadow: inset 0 0 0 2px #f7d36d; } }
