* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

*::selection {
  background: transparent;
  color: inherit;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: radial-gradient(circle at top, var(--bg-lift), var(--bg));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

svg,
img {
  -webkit-user-drag: none;
  user-drag: none;
}

header {
  padding: 18px 24px 10px;
  border-bottom: 1px solid var(--glass-line);
  background: oklch(18% 0.018 260 / 70%);
  backdrop-filter: blur(12px);
}

h1 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 18px;
  min-height: 0;
  height: 100%;
  align-items: stretch;
}

/* Let the board column shrink inside `1fr` without zero-width weirdness from min-content. */
main > .board-shell {
  min-width: 0;
}

.board-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  min-height: 0;
  height: 100%;
  border-radius: 18px;
  background: oklch(100% 0 0 / 3.5%);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / 6%);
  /* Allow scrolling when the scaled board still overflows; global rules hide scrollbars elsewhere. */
  scrollbar-width: thin;
}

.board-shell::-webkit-scrollbar {
  display: block;
  width: 8px;
  height: 8px;
}

.board-shell::-webkit-scrollbar-thumb {
  background: oklch(100% 0 0 / 18%);
  border-radius: 4px;
}

/* Flex + definite % width avoids grid `place-items: center` cyclic sizing (SVG collapsing to 0). */
.board-shell > svg {
  display: block;
  flex: 0 1 auto;
  width: min(100%, 980px);
  max-width: 100%;
  max-height: min(82vh, 900px);
  height: auto;
  aspect-ratio: 860 / 780;
  overflow: visible;
}

.tile polygon {
  fill: var(--tile);
  stroke: var(--tile-border);
  stroke-width: 1.35;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: fill 120ms ease, stroke 120ms ease, filter 120ms ease;
  cursor: pointer;
}

.tile text {
  fill: var(--text);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
  user-select: none;
  transition: opacity 1s ease;
}

.tile:hover text,
.tile.is-hovered text {
  opacity: 1;
  transition-duration: 0s;
}

.board-shell.show-tile-labels .tile text {
  opacity: 1;
  transition-duration: 0s;
}

.tile.zone-deep polygon {
  fill: var(--tile-deep);
}

.tile.zone-shallow polygon {
  fill: var(--tile-shallow);
}

.tile.zone-player-1 polygon {
  fill: var(--tile-player-1);
}

.tile.zone-player-2 polygon {
  fill: var(--tile-player-2);
}

.tile.is-setup-zone polygon {
  fill: var(--setup-zone-fill);
}

.tile.is-setup-zone:hover polygon,
.tile.is-setup-zone.is-hovered polygon {
  fill: var(--setup-zone-fill);
  stroke: var(--setup-zone-perimeter);
  filter: drop-shadow(0 0 8px var(--setup-zone-perimeter-glow));
}

/* Waterfall pole rings — stroke-only layer above all tiles (see renderer.js). */
#waterfall-border-layer {
  pointer-events: none;
}

.waterfall-tile-border {
  fill: none;
  stroke: var(--zone-waterfall-stroke);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.waterfall-tile-border.is-hidden {
  opacity: 0;
}

#setup-zone-layer {
  pointer-events: none;
}

.setup-zone-fill-hex {
  fill: var(--setup-zone-fill);
  stroke: none;
}

.setup-zone-fill {
  animation: setup-zone-breathe 7s ease-in-out infinite;
}

.setup-zone-particles {
  opacity: 0.38;
  animation: setup-zone-shimmer 12s linear infinite;
}

.setup-zone-particle-hex {
  fill: url(#setup-zone-particle-pattern);
  stroke: none;
}

@keyframes setup-zone-shimmer {
  0% {
    opacity: 0.28;
  }
  50% {
    opacity: 0.42;
  }
  100% {
    opacity: 0.28;
  }
}

.setup-zone-pattern-dot {
  fill: var(--setup-zone-perimeter);
  opacity: 0.28;
}

.setup-zone-pattern-dot--dim {
  opacity: 0.16;
}

@keyframes setup-zone-breathe {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 0.95;
  }
}

.setup-zone-perimeter line {
  stroke: var(--setup-zone-perimeter);
  stroke-width: 2.75px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px var(--setup-zone-perimeter-glow));
}

.bank-phase-frame {
  fill: none;
  stroke: oklch(68% 0.08 260 / 35%);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bank.is-placement-source .bank-phase-frame,
.lily-bank.is-placement-source .bank-phase-frame,
.white-lotus-bank.is-placement-source .bank-phase-frame {
  stroke: var(--setup-zone-perimeter);
  stroke-width: 2.25px;
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--setup-zone-perimeter-glow));
  animation: bank-phase-frame-pulse 2.4s ease-in-out infinite;
}

.bank.is-placement-source.is-highlight-pulse .bank-phase-frame,
.lily-bank.is-placement-source.is-highlight-pulse .bank-phase-frame,
.white-lotus-bank.is-placement-source.is-highlight-pulse .bank-phase-frame {
  animation:
    highlight-frame-initial-pulse 0.58s linear,
    bank-phase-frame-pulse 2.4s ease-in-out infinite 0.58s;
}

#setup-zone-layer.is-highlight-pulse .setup-zone-fill {
  animation:
    setup-zone-initial-pulse 0.9s ease-out,
    setup-zone-breathe 7s ease-in-out infinite 0.9s;
}

#setup-zone-layer.is-highlight-pulse .setup-zone-perimeter line {
  animation: setup-zone-perimeter-initial-pulse 0.9s ease-out;
}

/* Sonar glow: quick peak (~8%), slow ease back to idle. */
@keyframes highlight-frame-initial-pulse {
  0% {
    filter: drop-shadow(0 0 10px var(--setup-zone-perimeter-glow));
  }
  8% {
    filter:
      drop-shadow(0 0 36px var(--setup-zone-perimeter-glow))
      drop-shadow(0 0 14px var(--setup-zone-perimeter));
  }
  100% {
    filter: drop-shadow(0 0 10px var(--setup-zone-perimeter-glow));
  }
}

@keyframes setup-zone-initial-pulse {
  0% {
    opacity: 0.35;
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0.72;
  }
}

@keyframes setup-zone-perimeter-initial-pulse {
  0% {
    stroke-width: 1.5px;
    opacity: 0.4;
  }
  45% {
    stroke-width: 3.25px;
    opacity: 1;
  }
  100% {
    stroke-width: 2.75px;
    opacity: 1;
  }
}

@keyframes bank-phase-frame-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--setup-zone-perimeter-glow));
  }
  50% {
    filter: drop-shadow(0 0 16px var(--setup-zone-perimeter-glow));
  }
}

.tile:hover polygon,
.tile.is-hovered polygon {
  fill: var(--tile-hover);
  stroke: var(--tile-hover-border);
  filter: drop-shadow(0 0 10px oklch(76% 0.13 82 / 55%));
}

.tile.is-secondary polygon {
  fill: var(--tile-secondary);
  stroke: var(--tile-hover);
  filter: drop-shadow(0 0 6px oklch(76% 0.13 82 / 28%));
}

/* Opponent waterfall (wisdom pole) when friendly sumi is within five hexes. */
.tile.is-wisdom-proximity polygon {
  fill: oklch(58% 0.1 250);
  stroke: oklch(78% 0.14 250);
  filter: drop-shadow(0 0 14px var(--wisdom-waterfall-glow))
    drop-shadow(0 0 28px oklch(62% 0.18 250 / 45%));
  animation: wisdom-waterfall-proximity-pulse 2.4s ease-in-out infinite;
}

.tile.is-wisdom-proximity text {
  fill: oklch(96% 0.02 250);
  font-weight: 600;
}

/* Sumi drag: waterfall hex is reachable this turn (wisdom win space). */
.tile.is-wisdom-target polygon {
  fill: var(--wisdom-waterfall-target-fill);
  stroke: oklch(58% 0.2 25);
  filter: drop-shadow(0 0 12px var(--wisdom-waterfall-target-glow))
    drop-shadow(0 0 26px oklch(55% 0.24 25 / 55%));
}

.tile.is-wisdom-target text {
  fill: oklch(42% 0.12 25);
  font-weight: 700;
}

.tile.is-wisdom-proximity.is-wisdom-target polygon {
  fill: var(--wisdom-waterfall-target-fill);
  stroke: oklch(58% 0.2 25);
  filter: drop-shadow(0 0 14px var(--wisdom-waterfall-target-glow))
    drop-shadow(0 0 30px oklch(55% 0.24 25 / 60%));
  animation: none;
}

@keyframes wisdom-waterfall-proximity-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 10px var(--wisdom-waterfall-glow));
  }
  50% {
    filter: drop-shadow(0 0 22px var(--wisdom-waterfall-glow))
      drop-shadow(0 0 36px oklch(62% 0.2 250 / 40%));
  }
}

.tile.is-blocked polygon {
  fill: var(--tile-blocked);
  stroke: var(--tile-blocked-border);
  stroke-dasharray: 4 3;
  filter: none;
  cursor: not-allowed;
}

.tile.is-blocked text {
  fill: var(--tile-blocked-text);
  text-decoration: line-through;
}

.tile.is-hidden-lilly polygon {
  fill: var(--tile-hidden-lilly);
  stroke: var(--tile-hidden-lilly-border);
}

.tile.is-revealed-lilly polygon {
  fill: var(--tile-revealed-lilly);
  stroke: var(--tile-revealed-lilly-border);
}

.tile.is-revealed-lilly text {
  fill: oklch(20% 0.025 350);
}

.tile.is-blocked:hover polygon,
.tile.is-blocked.is-hovered polygon,
.tile.is-blocked.is-secondary polygon {
  fill: var(--tile-blocked);
  stroke: var(--tile-blocked-border);
  filter: none;
}

.tile.center polygon {
  fill: var(--tile-center);
  stroke: var(--tile-border);
}

.tile.center:hover polygon,
.tile.center.is-hovered polygon {
  fill: var(--tile-hover);
  stroke: var(--tile-hover-border);
  filter: drop-shadow(0 0 10px oklch(76% 0.13 82 / 55%));
}

.tile.center.is-secondary polygon {
  fill: var(--tile-secondary);
  stroke: var(--tile-hover);
  filter: drop-shadow(0 0 6px oklch(76% 0.13 82 / 28%));
}

.tile.center.is-blocked polygon,
.tile.center.is-blocked:hover polygon,
.tile.center.is-blocked.is-hovered polygon,
.tile.center.is-blocked.is-secondary polygon {
  fill: var(--tile-blocked);
  stroke: var(--tile-blocked-border);
  stroke-dasharray: 4 3;
  filter: none;
  cursor: not-allowed;
}

.tile.center.is-blocked text {
  fill: var(--tile-blocked-text);
  text-decoration: line-through;
}

.tile.center.is-hidden-lilly polygon,
.tile.center.is-hidden-lilly:hover polygon,
.tile.center.is-hidden-lilly.is-hovered polygon,
.tile.center.is-hidden-lilly.is-secondary polygon {
  fill: var(--tile-hidden-lilly);
  stroke: var(--tile-hidden-lilly-border);
}

.tile.center.is-revealed-lilly polygon,
.tile.center.is-revealed-lilly:hover polygon,
.tile.center.is-revealed-lilly.is-hovered polygon,
.tile.center.is-revealed-lilly.is-secondary polygon {
  fill: var(--tile-revealed-lilly);
  stroke: var(--tile-revealed-lilly-border);
}

.tile.center.is-revealed-lilly text {
  fill: oklch(20% 0.025 350);
}

/* Lily hex base colors win over generic `.is-hovered` / `:hover` above; restore standard
   highlight fills for path origin, koi drag reach, and pointer hover. */
.tile.is-hidden-lilly:hover polygon,
.tile.is-revealed-lilly:hover polygon,
.tile.is-hidden-lilly.is-hovered polygon,
.tile.is-revealed-lilly.is-hovered polygon,
.tile.center.is-hidden-lilly:hover polygon,
.tile.center.is-revealed-lilly:hover polygon,
.tile.center.is-hidden-lilly.is-hovered polygon,
.tile.center.is-revealed-lilly.is-hovered polygon {
  fill: var(--tile-hover);
  stroke: var(--tile-hover-border);
  filter: drop-shadow(0 0 10px oklch(76% 0.13 82 / 55%));
}

.tile.is-hidden-lilly.is-secondary polygon,
.tile.is-revealed-lilly.is-secondary polygon,
.tile.center.is-hidden-lilly.is-secondary polygon,
.tile.center.is-revealed-lilly.is-secondary polygon {
  fill: var(--tile-secondary);
  stroke: var(--tile-hover);
  filter: drop-shadow(0 0 6px oklch(76% 0.13 82 / 28%));
}

/* Lotus revival: target hex and capture-rack picks during revival phase. */
.tile.is-revival-target polygon {
  fill: oklch(72% 0.22 350 / 0.42);
  stroke: oklch(82% 0.18 350);
  stroke-width: 2.5;
  animation: revival-target-pulse 1.6s ease-in-out infinite;
}

@keyframes revival-target-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px oklch(72% 0.24 350 / 55%));
  }

  50% {
    filter: drop-shadow(0 0 16px oklch(74% 0.28 350 / 85%));
  }
}

.capture-bank.is-revival-source .capture-bank-slot {
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px oklch(72% 0.2 350 / 50%));
}

.game-piece.is-revival-pickable {
  cursor: pointer;
  filter: drop-shadow(0 0 10px oklch(78% 0.2 350 / 70%));
}

.game-piece.is-revival-field-locked {
  opacity: 0.55;
  pointer-events: none;
}

.board-shell.is-revival-awaiting-place .game-piece:not(.is-revival-pickable) {
  cursor: default;
}

/* Lotus revival: brief pink glow on the placement hex (non-interactive overlay). */
.revival-tile-glow {
  pointer-events: none;
  fill: oklch(74% 0.24 350 / 0.45);
  stroke: oklch(88% 0.16 350);
  stroke-width: 2.5;
  opacity: 0;
  filter: drop-shadow(0 0 12px oklch(72% 0.26 350 / 75%))
    drop-shadow(0 0 28px oklch(68% 0.22 350 / 45%));
}

.revival-tile-glow.is-animating {
  animation: revival-tile-glow 2s ease-out forwards;
}

@keyframes revival-tile-glow {
  0% {
    opacity: 0;
    fill: oklch(78% 0.26 350 / 0.3);
  }

  14% {
    opacity: 1;
    fill: oklch(72% 0.28 350 / 0.78);
    filter: drop-shadow(0 0 18px oklch(74% 0.28 350 / 95%))
      drop-shadow(0 0 38px oklch(68% 0.24 350 / 70%));
  }

  38%,
  58% {
    opacity: 1;
    fill: oklch(70% 0.26 350 / 0.68);
    filter: drop-shadow(0 0 16px oklch(72% 0.26 350 / 90%))
      drop-shadow(0 0 34px oklch(66% 0.22 350 / 55%));
  }

  100% {
    opacity: 0;
    fill: oklch(72% 0.2 350 / 0);
    stroke: oklch(88% 0.16 350 / 0);
    filter: none;
  }
}

.path-line {
  fill: none;
  stroke: var(--path);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  filter: drop-shadow(0 0 8px oklch(84% 0.12 88 / 45%));
}

.path-guide {
  fill: none;
  stroke: var(--path-border);
  stroke-width: 13;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.piece-move-guide {
  stroke: oklch(30% 0.06 150 / 58%);
}

.piece-move-line {
  filter: drop-shadow(0 0 6px oklch(62% 0.12 150 / 42%));
}

.committed-arrow .path-line {
  filter: drop-shadow(0 0 6px oklch(50% 0.04 260 / 32%));
}

.arrow-base-number {
  font-family: inherit;
  user-select: none;
}

.game-piece {
  cursor: grab;
  filter: drop-shadow(0 5px 8px var(--piece-shadow));
}

.game-piece.is-inactive:not(.is-dragging):not(.is-jump-hurdle) circle {
  opacity: 0.45;
}

.game-piece.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 10px 14px oklch(0% 0 0 / 45%));
  transition: transform 0.08s ease-out;
}

.game-piece.is-jump-hurdle:not(.is-dragging) circle,
.game-piece.is-jump-hurdle:not(.is-dragging) polygon {
  opacity: 1;
  stroke: var(--piece-jump-hurdle-stroke) !important;
  stroke-width: 5.5;
  filter: drop-shadow(0 0 14px var(--piece-jump-hurdle-glow))
    drop-shadow(0 0 4px var(--piece-jump-hurdle-stroke));
}

.game-piece circle,
.game-piece polygon {
  vector-effect: non-scaling-stroke;
}

.game-piece polygon {
  stroke-linejoin: round;
}

.game-piece text {
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
  user-select: none;
}

.bank-slot {
  fill: #6b7788;
  fill: var(--bank-stone-fill);
  stroke: #8e9aac;
  stroke: var(--bank-stone-stroke);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: 0.88;
  pointer-events: none;
}

.bank-slot--p1,
.bank-slot--p2 {
  fill: #6b7788;
  fill: var(--bank-stone-fill);
  stroke: #8e9aac;
  stroke: var(--bank-stone-stroke);
}

/* Lily bank slots stay in the DOM for setup snap geometry only — not shown after placement. */
.lily-bank-slot,
.lily-bank-slot--p1,
.lily-bank-slot--p2 {
  fill: none;
  stroke: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.white-lotus-bank-slot {
  fill: #ddd0f0;
  fill: var(--bank-white-lotus-fill);
  stroke: #a888c8;
  stroke: var(--bank-white-lotus-stroke);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: 0.92;
  pointer-events: none;
}

.white-lotus-bank-slot--p1,
.white-lotus-bank-slot--p2 {
  fill: #ddd0f0;
  fill: var(--bank-white-lotus-fill);
  stroke: #a888c8;
  stroke: var(--bank-white-lotus-stroke);
}

.white-lotus-bank-particles {
  fill: transparent;
  stroke: none;
  opacity: 0;
  pointer-events: none;
}

.white-lotus-bank.is-active-player .white-lotus-bank-particles {
  fill: url(#white-lotus-bank-particle-pattern);
  opacity: 0.32;
  animation: white-lotus-bank-shimmer 11s ease-in-out infinite;
}

.white-lotus-bank-pattern-dot {
  fill: var(--active-player-bank-stroke);
  opacity: 0.35;
}

.white-lotus-bank-pattern-dot--dim {
  opacity: 0.2;
}

@keyframes white-lotus-bank-shimmer {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.38;
  }
}

.white-lotus-bank.is-active-player .white-lotus-bank-slot {
  fill: var(--active-player-bank-fill);
  stroke: var(--active-player-bank-stroke);
  stroke-width: 2px;
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--active-player-bank-glow));
  animation: active-player-bank-pulse 2s ease-in-out infinite;
}

.white-lotus-bank.is-active-player.is-highlight-pulse .white-lotus-bank-slot {
  animation:
    highlight-lotus-bank-initial-pulse 0.58s linear,
    active-player-bank-pulse 2s ease-in-out infinite 0.58s;
}

.white-lotus-bank.is-active-player.is-highlight-pulse .white-lotus-bank-particles {
  animation:
    white-lotus-particles-initial-pulse 0.58s linear,
    white-lotus-bank-shimmer 11s ease-in-out infinite 0.58s;
}

@keyframes highlight-lotus-bank-initial-pulse {
  0% {
    filter: drop-shadow(0 0 10px var(--active-player-bank-glow));
  }
  8% {
    filter:
      drop-shadow(0 0 44px var(--active-player-bank-glow))
      drop-shadow(0 0 18px var(--active-player-bank-stroke));
  }
  100% {
    filter: drop-shadow(0 0 10px var(--active-player-bank-glow));
  }
}

@keyframes white-lotus-particles-initial-pulse {
  0% {
    opacity: 0.32;
  }
  8% {
    opacity: 0.78;
  }
  100% {
    opacity: 0.32;
  }
}

@keyframes active-player-bank-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 8px var(--active-player-bank-glow));
  }
  50% {
    filter: drop-shadow(0 0 18px var(--active-player-bank-glow));
  }
}

.capture-bank-slot {
  fill: #6a4530;
  fill: var(--bank-capture-fill);
  stroke: #9a6848;
  stroke: var(--bank-capture-stroke);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  opacity: 0.9;
  pointer-events: none;
}

.capture-bank-slot--p1,
.capture-bank-slot--p2 {
  fill: #6a4530;
  fill: var(--bank-capture-fill);
  stroke: #9a6848;
  stroke: var(--bank-capture-stroke);
}

/* --- Placed piece kinds (matches sidebar piece specs) --- */

.game-piece--tancho circle {
  fill: #ffffff;
  fill: oklch(100% 0 0);
  stroke: #e8944a;
  stroke: var(--piece-player-1);
  stroke-width: 6;
}

.game-piece--tancho text {
  fill: #2d3340;
  fill: oklch(22% 0.02 260);
}

.game-piece--asagi circle {
  fill: #4a7a8f;
  fill: oklch(52% 0.09 200);
  stroke: #e8944a;
  stroke: var(--piece-player-1);
  stroke-width: 6;
}

.game-piece--asagi text {
  fill: #e8f2f6;
  fill: oklch(96% 0.02 200);
}

.game-piece--kumonryu circle {
  fill: #1a1a22;
  fill: oklch(12% 0.01 260);
  stroke: #e8944a;
  stroke: var(--piece-player-1);
  stroke-width: 6;
}

.game-piece--kumonryu text {
  fill: #f0f0f4;
  fill: oklch(96% 0.01 260);
}

.game-piece--utsuri circle {
  fill: #c87830;
  fill: oklch(62% 0.18 55);
  stroke: #e8944a;
  stroke: var(--piece-player-1);
  stroke-width: 6;
}

.game-piece--utsuri text {
  fill: #2a1808;
  fill: oklch(18% 0.02 55);
}

.game-piece--ogon circle {
  fill: #c8c040;
  fill: oklch(78% 0.12 88);
  stroke: #e8944a;
  stroke: var(--piece-player-1);
  stroke-width: 6;
}

.game-piece--ogon text {
  fill: #2a2808;
  fill: oklch(22% 0.06 88);
}

.game-piece--sumi circle {
  fill: #a84838;
  fill: oklch(52% 0.2 25);
  stroke: #e8944a;
  stroke: var(--piece-player-1);
  stroke-width: 6;
}

.game-piece--sumi text {
  fill: #f8ece8;
  fill: oklch(98% 0.01 25);
}

.game-piece--p2.game-piece--tancho circle,
.game-piece--p2.game-piece--asagi circle,
.game-piece--p2.game-piece--kumonryu circle,
.game-piece--p2.game-piece--utsuri circle,
.game-piece--p2.game-piece--ogon circle,
.game-piece--p2.game-piece--sumi circle {
  stroke: #5a7ad4;
  stroke: var(--piece-player-2);
}

.game-piece--stone circle {
  fill: #9a9a9a;
  fill: oklch(78% 0 0);
  stroke: none;
  stroke-width: 0;
}

.game-piece--stone text {
  fill: transparent;
}

.game-piece--lilly-pad polygon {
  fill: #3d6b4a;
  fill: oklch(48% 0.14 145);
  stroke: none;
  stroke-width: 0;
}

.game-piece--lilly-pad text {
  fill: #1a3020;
  fill: oklch(18% 0.04 145);
}

.game-piece--lilly-lotus polygon {
  fill: #d878a8;
  fill: oklch(72% 0.14 350);
  stroke: none;
  stroke-width: 0;
}

.game-piece--lilly-lotus text {
  fill: #3a1828;
  fill: oklch(22% 0.08 350);
}

.game-piece--white-lotus polygon {
  fill: #ddd0f0;
  fill: oklch(94% 0.04 350);
  stroke: none;
  stroke-width: 0;
}

.game-piece--white-lotus text {
  fill: #4a3860;
  fill: oklch(35% 0.06 350);
}

.game-piece--neutral.game-piece--white-lotus polygon {
  fill: #e8e6ec;
  fill: oklch(92% 0.02 260);
}

.game-piece--neutral.game-piece--white-lotus text {
  fill: #4a4d58;
  fill: oklch(42% 0.03 260);
}
