.game-shell[data-theme="checkers"] {
  --game-accent: #67e98d;
  --game-accent-2: #ffe36c;
  --game-accent-soft: rgba(103, 233, 141, 0.22);
  --game-accent-deep: rgba(255, 227, 108, 0.1);
}

.checkers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.checkers-stage {
  display: grid;
  gap: 14px;
}

.checkers-side {
  display: grid;
  gap: 12px;
}

.checkers-side-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(12, 18, 12, 0.62);
}

.checkers-side-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 1.05rem;
}

.checkers-side-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.checkers-banner {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(103, 233, 141, 0.2);
  background: rgba(103, 233, 141, 0.08);
  color: #dcffe7;
  line-height: 1.6;
}

.checker-board {
  grid-template-columns: repeat(8, minmax(42px, 66px));
  gap: 0;
  padding: 16px;
  border-radius: 28px;
  background: rgba(18, 24, 10, 0.82);
  overflow: hidden;
}

.checker-square {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
}

.checker-square.is-dark {
  background: #5d7c3b;
}

.checker-square.is-light {
  background: #f6e7c1;
}

.checker-square.is-selected {
  box-shadow: inset 0 0 0 4px rgba(255, 227, 108, 0.82);
}

.checker-square.is-target::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 227, 108, 0.82);
  box-shadow: 0 0 0 6px rgba(255, 227, 108, 0.14);
}

.checker-square.is-last {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.checker-square.can-select::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.checker-square.can-capture::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 18px;
  border: 2px solid rgba(103, 233, 141, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 227, 108, 0.16);
}

.checker-piece {
  position: relative;
  width: 74%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow:
    inset 0 4px 10px rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.18);
}

.checker-piece-core {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.checker-piece.p1 .checker-piece-core {
  background: radial-gradient(circle at 30% 30%, #fff8d7, #ffe36c 48%, #ad7e00 100%);
}

.checker-piece.p2 .checker-piece-core {
  background: radial-gradient(circle at 30% 30%, #e6fbff, #58d4ff 46%, #0d5278 100%);
}

.checker-piece.is-king {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.16),
    inset 0 4px 10px rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(0, 0, 0, 0.22),
    0 8px 16px rgba(0, 0, 0, 0.18);
}

.checker-crown {
  position: absolute;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(12, 20, 10, 0.34);
  color: #fff8d9;
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .checkers-layout {
    grid-template-columns: 1fr;
  }

  .checker-board {
    padding: 10px;
  }
}
