/* Loaded only when the e-ink display preference is enabled. */
:root{--muted:#505b50;--line:#a5ab9e}
button{transition:none}
.cell,.cell.left{background-image:linear-gradient(#706247,#706247),linear-gradient(90deg,#706247,#706247)}
.entry input::placeholder{color:#596354}
.preview-stone{opacity:1;outline-color:#18251c}

.primary,.secondary,.text-button,.sound-toggle{
  min-height:44px;
  border:2px solid #344c3d;
  font-weight:650;
  touch-action:manipulation;
}
.primary{background:#253e30;color:#fff}
.primary:hover:not(:disabled){background:#18291f}
.secondary,.text-button,.sound-toggle{background:#fffef9;color:#253e30}
.secondary:hover:not(:disabled),.text-button:hover:not(:disabled),.sound-toggle:hover:not(:disabled){background:#e4e8dd}
.sound-toggle[aria-pressed="false"]{background:#fffef9;color:#253e30;border-style:dashed}
button:disabled:not(.cell){opacity:1;background:#e4e5df;color:#50574d;border:2px dashed #697163}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #18291f;outline-offset:3px}
.entry input:not([type="radio"]),.invite-card input{border:2px solid #697163;background:#fffef9;color:#253e30}
.entry input:focus{border-color:#253e30;box-shadow:none}
.entry .role-option:has(input:disabled){color:#50574d;text-decoration:line-through}
.entry .role-option input{width:18px;height:18px}
.header-note,.eyebrow,.intro p,.features,.divider,.small,.board-bottom,.player-me,
.voice-icon,footer,#result-copy,.board-confirmation{color:var(--muted)}
.board-confirmation .text-button{color:#253e30}
.card,dialog,#notice{box-shadow:none}
.badge{border:1px solid #697163;color:#253e30;background:#f0f2e9}
#board,#replay-board{background:#e4d4b4;box-shadow:none}
.stone,.mini-stone,.player-stone{box-shadow:none}
.stone.black,.b{background:#20251f}
.stone.white,.w{background:#fffef9;border:2px solid #4c5447}
.cell.last .stone:after{border:2px solid #fffef9;box-shadow:0 0 0 1px #20251f;background:#20251f}
.stone.preview-stone{border:2px dashed #697163}
.cell:hover:not(:disabled):after{background:transparent;border:2px dotted #344c3d}
.online-dot{width:7px;height:7px;background:#253e30;border:1px solid #253e30}
.online-dot.offline{background:#fffef9}
#result-banner{background:#f0f2e9;border:2px solid #697163}
.result-symbol{color:#253e30}
#winning-line{stroke:#253e30;filter:drop-shadow(0 0 1px #fff);stroke-width:1}
.winning-stone{outline:2px solid #253e30;outline-offset:2px}
#winning-line.celebrate,.winning-stone,#result-banner.celebrate{animation:none}
@media(max-width:720px){.sound-toggle{font-size:12px}.game-heading .text-button{padding:8px 10px}}

#replay-line{stroke:#253e30;stroke-width:1}.library-filters select,.replay-playback select{border:2px solid #697163}
#replay-board .cell.last .stone:after{border-color:#253e30}
