/* Peppy's Sleigh Catch — arcade game */
.g-sleigh .game-bar .stat { line-height: 30px; }
.g-sleigh .icon-btn[disabled] { opacity: .4; cursor: not-allowed; }
.g-sleigh .seg button { min-height: 44px; padding: 8px 16px; }
.g-sleigh .seg button[disabled] { cursor: not-allowed; opacity: .55; }
.g-sleigh .seg button[disabled][aria-pressed="true"] { opacity: .8; }

.g-sleigh__hearts { letter-spacing: 2px; }
.g-sleigh__heart { color: var(--berry); display: inline-block; transition: transform .25s, opacity .25s, filter .25s; }
.g-sleigh__heart.is-lost { opacity: .3; filter: grayscale(1); transform: scale(.8); }
.g-sleigh__hearts.is-hit { animation: gSleighHit .45s ease; }
@keyframes gSleighHit { 25% { transform: translateX(-4px) scale(1.06); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }

.g-sleigh__stage {
  position: relative; width: 100%; height: 420px; border-radius: 22px; overflow: hidden;
  background: var(--night); box-shadow: 0 14px 30px rgba(30, 36, 82, .25);
}
.g-sleigh__canvas {
  display: block; width: 100%; height: 100%; touch-action: none; outline: none; cursor: grab;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
}
.g-sleigh__stage:has(.g-sleigh__canvas:focus-visible) { box-shadow: 0 0 0 4px var(--gold), 0 14px 30px rgba(30, 36, 82, .25); }

.g-sleigh__screen {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 45%, rgba(30, 36, 82, .35), rgba(18, 23, 63, .72));
  animation: cckFade .25s ease; cursor: pointer; overflow: auto;
}
.g-sleigh__screen[hidden] { display: none; }
.g-sleigh__screen.is-over, .g-sleigh__screen.is-loading { cursor: default; }
.g-sleigh__card {
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 28px; text-align: center;
  padding: 18px 24px 20px; max-width: 460px; width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  animation: cckPop .4s cubic-bezier(.2, 1.4, .4, 1); cursor: default;
}
.g-sleigh__card h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); color: var(--berry); margin: 4px 0 4px; }
.g-sleigh__card p { margin: 0 0 10px; color: var(--ink-soft); }
.g-sleigh__card .btn-row { justify-content: center; margin-top: 6px; }
.g-sleigh__hero { height: clamp(70px, 16vw, 120px); width: auto; margin: -2px auto 0; filter: drop-shadow(0 8px 10px rgba(60, 30, 35, .2)); animation: cckFloat 3s ease-in-out infinite; }
.g-sleigh__big { font-family: var(--head); font-weight: 700; font-size: 1.8rem; color: var(--night) !important; }
.g-sleigh__small { font-size: .9rem; margin: 10px 0 0 !important; }
.g-sleigh__scores { font-family: var(--head); font-size: 1.25rem; }
.g-sleigh__scores b { color: var(--berry); }
.g-sleigh__go { font-size: 1.3rem; padding: 16px 34px; min-height: 60px; animation: gSleighPulse 1.6s ease-in-out infinite; }
@keyframes gSleighPulse { 50% { transform: scale(1.05); } }

.g-sleigh__legend { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
.g-sleigh__legend li { display: flex; flex-direction: column; align-items: center; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--berry-dark); min-width: 50px; }
.g-sleigh__legend canvas, .g-sleigh__legend img { width: 44px; height: 44px; object-fit: contain; }

.g-sleigh__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 620px) {
  .g-sleigh .game-bar { gap: 8px; margin-bottom: 12px; }
  .g-sleigh .game-bar .group { gap: 6px; }
  .g-sleigh .game-bar .stat { padding: 6px 12px; font-size: .98rem; }
  .g-sleigh__stage { border-radius: 16px; }
  .g-sleigh__card { padding: 14px 16px 16px; border-radius: 22px; }
  .g-sleigh__legend canvas, .g-sleigh__legend img { width: 38px; height: 38px; }
}
@media (max-height: 520px) {
  .g-sleigh__hero { display: none; }
  .g-sleigh__legend { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .g-sleigh__go, .g-sleigh__hero, .g-sleigh__hearts.is-hit { animation: none; }
}
