.spot-play { --game-play-width: 760px; }
.spot-play .game-page-play-inner { display: grid; justify-items: center; gap: 13px; }
.spot-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; }
.spot-controls label,.spot-progress,.spot-status { color: var(--game-secondary); }
.spot-progress,.spot-status { margin: 0; text-align: center; }
.spot-progress strong { color: var(--game-ink); font-variant-numeric: tabular-nums; }
.spot-status { min-height: 1.6em; }
.spot-board { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.spot-board figure { min-width: 0; margin: 0; }
.spot-board figcaption { padding-top: 5px; font-size: .85rem; text-align: center; color: var(--game-secondary); }
.spot-panel {
  --sky: #abdbe4;
  --ground: #72aaca;
  --front: #d8c8a4;
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.32;
  border: 4px solid var(--game-line);
  border-radius: 13px;
  background: linear-gradient(var(--sky) 0 53%, var(--ground) 53% 71%, var(--front) 71%);
}
.spot-panel[data-theme="lawn"] { --sky: #c6e3ed; --ground: #aacb91; --front: #8dbc6c; }
.spot-panel[data-theme="night"] { --sky: #344c78; --ground: #56698e; --front: #374859; }
.spot-panel[data-theme="hills"] { --sky: #e1e8cf; --ground: #b0c4ab; --front: #d8cdb0; }
.spot-panel[data-theme="room"] { --sky: #ddbba6; --ground: #e4c6a9; --front: #b88973; }
.spot-panel[data-theme="garden"] { --sky: #cbdfed; --ground: #a6c3aa; --front: #e0c4aa; }
.spot-panel::before {
  content: "";
  position: absolute;
  inset: 6% 5%;
  border: 1px dashed #fbf0ce85;
  border-radius: 6px;
  pointer-events: none;
}
.spot-object {
  display: grid;
  place-items: center;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: max(27px, var(--size));
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.spot-object > span { position: relative; width: 76%; height: 72%; background: var(--paint); }
.spot-object > span::before,.spot-object > span::after { position: absolute; }
.spot-object > [data-shape="sun"] { border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb,var(--paint) 44%,transparent); }
.spot-object > [data-shape="moon"] { border-radius: 50%; width: 68%; height: 68%; clip-path: polygon(58% 0, 24% 13%, 7% 38%, 11% 68%, 33% 88%, 66% 98%, 94% 82%, 65% 80%, 50% 63%, 41% 39%, 45% 19%); }
.spot-object > [data-shape="cloud"] { height: 43%; border-radius: 20px; }
.spot-object > [data-shape="cloud"]::before { content: ""; background: inherit; width: 51%; height: 116%; top: -55%; left: 18%; border-radius: 50%; }
.spot-object > [data-shape="cloud"]::after { content: ""; background: inherit; width: 38%; height: 90%; right: 10%; top: -32%; border-radius: 50%; }
.spot-object > [data-shape="kite"] { transform: rotate(18deg); clip-path: polygon(50% 0, 93% 33%, 48% 92%, 33% 98%, 35% 93%, 42% 92%, 6% 37%); }
.spot-object > [data-shape="tower"] { height: 81%; clip-path: polygon(50% 0, 89% 26%, 78% 27%, 77% 88%, 89% 88%, 89% 98%, 10% 98%, 10% 88%, 20% 88%, 20% 25%, 12% 25%); background: repeating-linear-gradient(var(--paint) 0 25%, #fff0d0 25% 36%); }
.spot-object > [data-shape="boat"] { background: linear-gradient(to bottom,var(--paint) 0 70%,#654c42 70%); clip-path: polygon(56% 0,90% 65%,59% 65%,59% 73%,100% 72%,86% 92%,22% 96%,8% 73%,52% 73%,52% 62%,21% 62%); }
.spot-object > [data-shape="float"] { height: 40%; border-radius: 50% 50% 41% 41%; box-shadow: 0 3px 0 #f7edd2; }
.spot-object > [data-shape="ring"] { border-radius: 50%; width: 68%; height: 68%; box-sizing: border-box; border: 5px dashed var(--paint); background: transparent; }
.spot-object > [data-shape="stone"] { width: 82%; height: 35%; border-radius: 68% 48% 40% 40%; }
.spot-object > [data-shape="bird"] { width: 88%; height: 60%; clip-path: polygon(0 11%,22% 20%,49% 61%,70% 23%,100% 6%,76% 39%,49% 94%,22% 42%); }
.spot-object > [data-shape="tree"] { height: 89%; background: linear-gradient(90deg,transparent 42%,#6e4a34 42% 59%,transparent 59%); }
.spot-object > [data-shape="tree"]::before { content: ""; inset: 0 0 23%; border-radius: 46% 48% 40% 39%; background: var(--paint); }
.spot-object > [data-shape="tent"] { width: 89%; clip-path: polygon(51% 0,100% 95%,70% 95%,52% 53%,35% 95%,0 95%); }
.spot-object > [data-shape="flower"] { height: 85%; background: linear-gradient(90deg,transparent 45%,#376c4a 45% 56%,transparent 56%); }
.spot-object > [data-shape="flower"]::before { content: ""; inset: 0 14% 45%; border-radius: 35%; background: radial-gradient(circle,var(--paint) 0 22%,#ffe9b5 23% 32%,var(--paint) 35% 60%,transparent 63%); }
.spot-object > [data-shape="basket"] { height: 55%; border-radius: 15% 15% 35% 35%; background: repeating-linear-gradient(43deg,var(--paint) 0 5px,#5d483749 6px 7px,var(--paint) 8px 12px); }
.spot-object > [data-shape="basket"]::before { content: ""; width: 50%; height: 50%; border: 3px solid var(--paint); border-radius: 45% 45% 0 0; border-bottom: 0; top: -49%; left: 24%; }
.spot-object > [data-shape="cup"] { width: 64%; height: 57%; border-radius: 4% 4% 34% 34%; }
.spot-object > [data-shape="cup"]::after { content: ""; width: 34%; height: 53%; border: 3px solid var(--paint); border-radius: 50%; left: 80%; top: 7%; }
.spot-object > [data-shape="leaf"] { border-radius: 4% 86%; height: 58%; transform: rotate(-27deg); }
.spot-object > [data-shape="star"] { clip-path: polygon(50% 0,62% 35%,99% 37%,70% 60%,79% 97%,50% 76%,20% 97%,31% 60%,1% 37%,38% 35%); }
.spot-object > [data-shape="train"] { width: 90%; height: 60%; border-radius: 16% 38% 15% 11%; box-shadow: 0 4px 0 #393f50; }
.spot-object > [data-shape="train"]::before { content: ""; inset: 18% 14% 39%; background: repeating-linear-gradient(to right,#dce7e7 0 15%,transparent 17% 25%); }
.spot-object > [data-shape="clock"] { width: 71%; height: 71%; border-radius: 50%; box-shadow: inset 0 0 0 5px #f7e4ba; }
.spot-object > [data-shape="clock"]::before { content: ""; left: 48%; top: 23%; width: 22%; height: 28%; border: solid #f7e4ba; border-width: 0 0 2px 2px; }
.spot-object > [data-shape="kettle"] { border-radius: 36%; height: 66%; background: linear-gradient(165deg,var(--paint),color-mix(in srgb,var(--paint),#27324a 28%)); }
.spot-object > [data-shape="kettle"]::before { content: ""; top: -17%; left: 28%; width: 48%; height: 31%; border-radius: 20%; background: var(--paint); }
.spot-object > [data-shape="kettle"]::after { content: ""; left: -25%; top: 21%; height: 54%; width: 38%; border-radius: 30%; background: var(--paint); transform: rotate(45deg); }
.spot-object[data-hint]::after,.spot-object[data-found]::after,.spot-object:focus-visible::after {
  content: "";
  position: absolute;
  inset: 3%;
  border: 2px dashed #fff3bb;
  box-shadow: 0 0 0 1px #453d42;
  border-radius: inherit;
  pointer-events: none;
}
.spot-object[data-found]::after { border-style: solid; border-color: #fff4a6; animation: spot-ring .24s ease-out both; }
.spot-object:focus-visible { outline: 2px solid #263c69; outline-offset: 2px; }
.spot-victory {
  width: min(400px, calc(100% - 32px));
  box-sizing: border-box;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--game-line);
  border-radius: 16px;
  background: var(--game-surface);
  color: var(--game-ink);
  animation: spot-intro .22s ease-out both;
}
.spot-victory::backdrop { background: #15273cb0; }
.spot-victory h2 { margin: 0; }
.spot-victory p { margin: 9px 0 20px; }
@keyframes spot-ring { from { transform: scale(.8); opacity: .1; } to { transform: scale(1); opacity: 1; } }
@keyframes spot-intro { from { transform: translateY(6px); opacity: .2; } to { opacity: 1; } }
@media (max-width: 530px) {
  .spot-board { grid-template-columns: minmax(0,1fr); max-width: 335px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-object[data-found]::after,.spot-victory { animation: none; }
}
