.spot-hero { padding-block: clamp(2rem,5vw,4rem) 2rem; }
.spot-hero h1 { font-size: clamp(2.5rem,5vw,4.3rem); }
.spot-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.spot-heading h2 { font: clamp(1.6rem,3vw,2.3rem)/1.2 var(--serif); margin: .5rem 0; }
.spot-book-link { font-size: .8rem; text-underline-offset: 4px; }
.spot-game-stats { display: flex; gap: 1.5rem; align-items: center; }
.spot-game-stats > div { display: flex; flex-direction: column; text-align: center; }
.spot-game-stats strong { font-size: 1.4rem; font-weight: 750; color: #f5d58d; font-variant-numeric: tabular-nums; }
.spot-game-stats span { font-size: .6rem; color: #e2e9d6; }
.spot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; background: #e7ecdf; }
.spot-picture { min-width: 0; margin: 0; background: #fff9e9; border-radius: 9px; overflow: hidden; border: 1px solid #c6d0bc; }
.spot-picture[hidden] { display: none !important; }
.spot-picture figcaption { display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; font-size: .78rem; font-weight: 650; }
.spot-picture figcaption span { display: grid; place-items: center; width: 24px; height: 24px; background: #315743; color: #fff5da; border-radius: 6px; font-size: .75rem; }
.spot-picture canvas, .spot-picture #maze { display: block; width: 100%; height: auto; aspect-ratio: 1; cursor: crosshair; touch-action: manipulation; }
.spot-picture canvas:focus-visible { outline: 4px solid #dfa947; outline-offset: -4px; }
.spot-mobile-tabs { display: none; }
.spot-progress { margin: 1.5rem 0 2.5rem; }
.spot-progress > p { font-size: .85rem; color: #69745b; }
#found-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .75rem 0; }
#found-list li { border: 1px solid #cad9b7; border-radius: 30px; padding: .4rem .8rem; background: #e9f0dc; color: #496444; font-size: .75rem; }
.spot-progress p.spot-run-note { font-size: .78rem; max-width: 780px; line-height: 1.6; }
.spot-studio > .maze-community { margin-top: 1.5rem; }
.spot-play.is-expanded .spot-view { display: flex; align-items: center; justify-content: center; background: #e7ecdf; overflow: auto; }
.spot-play.is-expanded .spot-pair { width: 100%; max-width: calc((100dvh - 135px) * 2); }
.spot-play.is-expanded .spot-picture canvas { height: auto !important; aspect-ratio: 1; }
.spot-play.is-expanded #game-status { flex-shrink: 0; }
@media (max-width: 650px) {
  .spot-mobile-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem; background: #e7ecdf; }
  .spot-mobile-tabs button { min-height: 42px; border-radius: 8px; font-size: .78rem; background: #f8f9ef; border-color: #c9d4bf; }
  .spot-mobile-tabs button[aria-pressed=true] { background: #315743; color: #fff6df; border-color: #315743; }
  .spot-pair { grid-template-columns: 1fr; padding: 0 .6rem .6rem; }
  .spot-picture figcaption { display: none; }
  .spot-game-stats { gap: 1rem; margin-left: auto; }
  .spot-game-stats strong { font-size: 1.1rem; }
  .spot-game-stats span { font-size: .57rem; }
  .spot-play.is-expanded .spot-pair { max-width: calc(100dvh - 230px); }
  .spot-play.is-expanded .spot-view { align-items: flex-start; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .spot-play.is-expanded { display: flex; }
  .spot-play.is-expanded .spot-pair { max-width: calc((100dvh - 125px) * 2); }
  .spot-play.is-expanded .maze-gamebar { flex-wrap: nowrap; }
}
@media print { .spot-play, .spot-progress, .maze-community { display: none; } }

.spot-difficulty { margin: 1.5rem 0; padding: 1rem; background: #edf1e5; border: 1px solid #d1dbc5; border-radius: 12px; }
.spot-difficulty nav { display: flex; gap: .65rem; }
.spot-difficulty a { flex: 1; max-width: 240px; display: flex; flex-direction: column; gap: .3rem; padding: .8rem 1rem; border-radius: 8px; background: #fffdf6; color: #38503b; border: 1px solid #ced7c2; text-decoration: none; }
.spot-difficulty a strong { font-size: .95rem; }.spot-difficulty a span { font-size: .7rem; }
.spot-difficulty a[aria-current=true] { background: #315743; border-color: #315743; color: #fff4d7; box-shadow: 0 3px 0 #193827; }
.spot-difficulty p { margin: .9rem 0 0; font-size: .8rem; color: #526347; }
.spot-difficulty p.difficulty-score-note { margin-top: .35rem; font-size: .7rem; color: #77816b; }