.pk35-checkers, .pk35-checkers * { box-sizing: border-box; }
.pk35-checkers {
  --pc-dark: #714a31; --pc-light: #f1d6ad; --pc-orange: #ef8b22; --pc-ink: #17202a;
  width: 100%; max-width: 590px; margin: 1.5rem auto; color: var(--pc-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pk35-checkers__top { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.pk35-checkers__top strong { display: block; font-size: 19px; }
.pk35-checkers__top small { display: block; margin-top: 2px; color: #59636e; }
.pk35-checkers__mode { margin-left: auto; }
.pk35-checkers__mode span { display: block; margin-bottom: 3px; color: #59636e; font-size: 12px; }
.pk35-checkers__mode select { min-height: 44px; max-width: 190px; margin: 0; padding: 8px 10px; border: 1px solid #b8c0c7; border-radius: 7px; background: #fff; color: var(--pc-ink); font: 600 14px/1.2 system-ui, sans-serif; }
.pk35-checkers__online { margin: 0 0 12px; padding: 12px; border: 1px solid #d7dde2; border-radius: 9px; background: #f5f8fa; text-align: center; }
.pk35-checkers__online[hidden], .pk35-checkers__online [hidden] { display: none !important; }
.pk35-checkers__online p { margin: 5px 0 9px; color: #59636e; font-size: 14px; }
.pk35-checkers__online button, .pk35-checkers__share a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 3px !important; padding: 9px 13px !important; border: 0 !important; border-radius: 7px !important; background: var(--pc-orange) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; font: 700 14px/1 system-ui,sans-serif !important; text-decoration: none !important; cursor: pointer; }
.pk35-checkers__share a { background: #229ed9 !important; }
.pk35-checkers__board.is-busy { opacity: .72; pointer-events: none; }
.pk35-checkers button { appearance: none !important; opacity: 1 !important; visibility: visible !important; box-shadow: none !important; cursor: pointer; }
.pk35-checkers__top button {
  min-height: 44px; padding: 10px 16px !important; margin: 0 !important; border: 0 !important;
  border-radius: 7px !important; background: var(--pc-orange) !important; color: #fff !important;
  -webkit-text-fill-color: #fff !important; font: 700 16px/1 system-ui, sans-serif !important;
}
.pk35-checkers__board {
  display: grid !important; grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(8, minmax(0, 1fr)) !important; gap: 0 !important;
  width: 100% !important; aspect-ratio: 1; padding: 6px !important; margin: 0 !important;
  border: 3px solid #3d291e; border-radius: 8px; background: #3d291e !important;
  overflow: hidden; user-select: none; touch-action: manipulation;
}
.pk35-checkers__square {
  position: relative; display: flex !important; align-items: center !important; justify-content: center !important;
  align-self: stretch !important; justify-self: stretch !important;
  min-width: 0 !important; min-height: 0 !important; width: 100% !important; height: 100% !important;
  padding: 0 !important; margin: 0 !important; line-height: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; font: inherit !important;
}
.pk35-checkers__square.is-light { background: var(--pc-light) !important; }
.pk35-checkers__square.is-dark { background: var(--pc-dark) !important; }
.pk35-checkers__square.is-target::after { content: ""; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #ffd23f; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.pk35-checkers__piece {
  position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(0,0,0,.4);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.18), 0 2px 4px rgba(0,0,0,.35);
}
.pk35-checkers__piece.is-white { background: #fafafa; }
.pk35-checkers__piece.is-black { background: #17202a; border-color: #050708; }
.pk35-checkers__piece.is-king::after { content: "★"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ef8b22; font-size: clamp(15px, 5vw, 30px); }
.pk35-checkers__square.is-selected .pk35-checkers__piece { outline: 4px solid #ffd23f; outline-offset: 2px; }
.pk35-checkers__square:focus-visible { z-index: 2; outline: 4px solid #ffd23f; outline-offset: -4px; }
.pk35-checkers__help { margin: 12px 0 0; text-align: center; font-size: 14px; color: #59636e; }
@media (max-width: 620px) {
  .pk35-checkers { max-width: 500px; }
  .pk35-checkers__top > div { flex: 1 1 100%; text-align: center; }
  .pk35-checkers__mode { flex: 1; margin-left: 0; }
  .pk35-checkers__mode select { width: 100%; max-width: none; }
  .pk35-checkers__board { padding: 4px !important; border-width: 2px; border-radius: 6px; }
  .pk35-checkers__piece { border-width: 2px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), 0 1px 3px rgba(0,0,0,.35); }
}
