.spot-page { --spot-ink: #eff5ef; --spot-accent: #e5c896; background: #142832; color: var(--spot-ink); }
.spot-intro { position: relative; padding: 48px 0 34px; overflow: hidden; }
.spot-intro .eyebrow, .spot-rankings .eyebrow { color: #a6c8bd; }
.spot-intro h1 { font-size: clamp(38px, 6.5vw, 82px); letter-spacing: -.065em; line-height: 1.05; margin: 16px 0; max-width: 80%; }
.spot-intro > p { color: #d8c2a2; font-size: clamp(18px, 2.5vw, 26px); margin: 0; }
.spot-orbit { position: absolute; right: 2%; top: 40px; width: 150px; height: 150px; display: grid; place-items: center; border: 1px solid #7ba99a; border-radius: 50%; transform: rotate(-15deg); opacity: .8; }
.spot-orbit i { position: absolute; inset: 24px -20px; border: 1px solid #d8c2a2; border-radius: 50%; }
.spot-orbit b { font-family: Georgia, serif; font-style: italic; font-size: 90px; color: #e5c896; transform: rotate(15deg); }
.spot-orbit > span { position: absolute; top: 7px; right: 0; color: #bee4d2; font-size: 28px; }
.spot-arena:is(.game-layout,.game-fullscreen-active) { background: #172d39; color: var(--spot-ink); }
.spot-arena .cta { background: #e5c896; color: #203c41; }
.spot-arena button:focus-visible, .spot-arena canvas:focus-visible { outline: 3px solid #ace8d4; outline-offset: -3px; }
.spot-arena .spot-hud > div { color: #edf5ed !important; }
.spot-arena .spot-hud #found { color: #bde5d2; }
.spot-arena[data-urgent] #time { color: #ffc8b1; }
.spot-stage { display: flex; gap: 12px; justify-content: center; }
.spot-stage figure { flex: 1 1 0; min-width: 0; min-height: 0; display: flex; flex-direction: column; margin: 0; }
.spot-stage figcaption { flex: 0 0 28px; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 11px; color: #d4dfd6; }
.spot-letter { font-family: Georgia, serif; font-weight: bold; font-style: italic; color: #e5c896; font-size: 17px; }
.spot-dots { margin-left: auto; color: #b5d9c8; font-size: 13px; white-space: nowrap; letter-spacing: 2px; }
.spot-paper { flex: 1 1 0; min-height: 0; container-type: size; display: grid; place-items: center; }
.spot-paper canvas { display: block; width: min(100cqw, calc(100cqh * 1.6)); height: min(100cqh, calc(100cqw / 1.6)); max-width: 100%; max-height: 100%; aspect-ratio: 1.6; background: #213b46; border-radius: 8px; box-shadow: inset 0 0 0 1px #819e99, 0 10px 26px #06161c38; cursor: crosshair; touch-action: none; }
.spot-arena[data-phase="ready"] .spot-paper canvas { cursor: default; }
.spot-arena[data-phase="finished"] .spot-paper canvas { cursor: default; }
.spot-arena #game-status { flex: 0 0 auto; min-height: 18px; padding: 3px 6px; margin: 0; text-align: center; font-size: 12px; line-height: 1.3; color: #d0dfd5; }
.spot-arena #finish:not([hidden]) { background: #234049; color: #f3eddb; border-radius: 6px; }
.spot-arena #guest-access { color: #edcf98; font-size: 12px; flex: 0 1 auto; overflow-wrap: anywhere; }
.spot-arena #save-status { display: block !important; color: #edf1e4; font-size: 12px; margin: 0; }
.spot-rankings { max-width: 780px; margin: 48px auto 64px; }
.spot-rankings h2 { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.1; margin-top: 12px; }
.spot-rankings ol { list-style: none; padding: 0; }
.spot-rankings li { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid #41575a; }
.spot-rankings li > span { overflow-wrap: anywhere; }
.spot-rankings li > strong { margin-left: auto; white-space: nowrap; color: #e5c896; font-variant-numeric: tabular-nums; }
@media (orientation: portrait) {
  .spot-stage { flex-direction: column; gap: 6px; }
  .spot-intro { padding-top: 32px; }
  .spot-orbit { width: 95px; height: 95px; right: -6%; top: 42px; }
  .spot-orbit b { font-size: 60px; }
  .spot-orbit i { inset: 15px -10px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .spot-stage { gap: 8px; }
  .spot-stage figcaption { flex-basis: 18px; font-size: 10px; }
  .spot-letter { font-size: 14px; }
  .spot-dots { font-size: 10px; }
  .spot-arena #game-status, .spot-arena #save-status { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .spot-page * { scroll-behavior: auto !important; } }
/* Keep comparison targets readable while notices and saving remain reachable. */
.spot-arena:is(.game-layout,.game-fullscreen-active) .spot-stage { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; align-items: stretch; }
.spot-stage figure { min-width: 256px; min-height: 188px; }
.spot-stage .spot-paper { min-height: 160px; }
@media (orientation: portrait) {
  .spot-stage figure { flex: 1 0 188px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .spot-stage figure { min-height: 178px; }
}
