/* Lantern Breath: a painted lantern on a dusk hill; a warm glow swells and fades slowly. The page only shows the glow and two plain words. */
.og-lantern-breath #play { background-image: url("art/play.webp"); }
.og-lantern-breath .og-end { background-image: url("art/play.webp"); }
.lb-lengths { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 340px); }
.lb-follow { min-height: 48px; margin-top: 6px; }
.lb-note { margin: 6px auto 0; max-width: 36ch; line-height: 1.35; }
.lb-stage { --k: 0; position: relative; width: min(100%, 520px, max(260px, calc(100svh - 300px))); aspect-ratio: 1 / 1.02; margin: 0 auto; display: grid; place-items: center; }
.lb-glow { position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; margin: -46% 0 0 -46%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 226, 130, .95) 0, rgba(255, 196, 90, .6) 32%, rgba(255, 170, 70, .22) 58%, rgba(255, 170, 70, 0) 72%);
  transform: scale(calc(.5 + .5 * var(--k))); opacity: calc(.28 + .72 * var(--k)); will-change: transform, opacity; }
.lb-ring { position: absolute; left: 50%; top: 50%; width: 84%; aspect-ratio: 1; margin: -42% 0 0 -42%; border-radius: 50%; border: 4px dashed rgba(255, 246, 214, .9); box-sizing: border-box; pointer-events: none; opacity: 0; transform: scale(calc(.5 + .5 * var(--h, 0))); transition: opacity .3s; }
.lb-stage.is-follow .lb-ring { opacity: .85; }
.lb-lantern { position: relative; z-index: 2; appearance: none; -webkit-appearance: none; padding: 0; border: 0; background: transparent; height: 64%; aspect-ratio: 228 / 448; cursor: default; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; margin-top: -8%; }
.lb-stage.is-follow .lb-lantern { cursor: pointer; }
.lb-lantern img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; filter: brightness(calc(.82 + .3 * var(--k))) drop-shadow(0 0 calc(4px + 22px * var(--k)) rgba(255, 214, 110, .9)); }
.lb-cue { position: absolute; z-index: 3; left: 0; right: 0; bottom: 6px; margin: 0; text-align: center; font: 400 clamp(28px, 7.5vw, 38px)/1.1 var(--display); color: #FFF9EA; text-shadow: 0 2px 6px rgba(40, 28, 60, .85), 0 0 18px rgba(40, 28, 60, .55); transition: opacity .6s; }
.lb-hud { margin-top: 12px; justify-content: center; }
.lb-help { margin: 0; padding: 6px 14px; max-width: 34ch; text-align: center; background: var(--og-glass); border-radius: 16px; box-shadow: var(--og-shadow); color: var(--og-ink); }
#play .og-row { margin-top: 10px; }
@media (max-height: 520px) and (orientation: landscape) {
  #play { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; justify-content: center; }
  #play > .lb-stage { grid-row: 1 / span 3; width: min(60vw, calc(100svh - 80px)); }
  #play > .lb-hud { flex-direction: column; margin: 0; }
  #play[hidden] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-glow, .lb-ring { transform: none; }   /* no size change: only the brightness moves */
}
