/* Hallowingo midway: a night booth with painted boards, bulbs, and the wheel. */

/* Self-hosted Google Fonts (latin subset), SIL Open Font License. */
@font-face {
  font-family: "Barlow";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Bungee";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/bungee-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Shrikhand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/shrikhand-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Yellowtail";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/yellowtail-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #0e1a47;
  --night-2: #13245e;
  --booth: #1d3a8a;
  --booth-dim: #1a2f72;
  --red: #c8102e;
  --red-deep: #8e0b20;
  --yellow: #ffd23f;
  --bulb: #ffe58a;
  --pumpkin: #df851b;
  --pumpkin-deep: #b9650c;
  --ink: #141210;
  --enamel: #fff8ec;
  --enamel-dim: #c9d3ef;
  --ghost: #9fb0da;

  --f-show: "Shrikhand", "Georgia", serif;
  --f-sign: "Bungee", "Arial Black", sans-serif;
  --f-brush: "Yellowtail", "Brush Script MT", cursive;
  --f-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --board-shadow: 0 22px 34px -18px rgba(3, 8, 28, 0.85), 0 4px 10px -4px rgba(3, 8, 28, 0.6);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%; /* Bootstrap 3 on the legacy pages sets 62.5% */
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  height: auto;
}

body.midway {
  margin: 0;
  min-height: 100%;
  height: auto;
  background: var(--night);
  color: var(--enamel);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.midway ::selection {
  background: var(--yellow);
  color: var(--ink);
}

.midway :focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.midway a {
  color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.midway a:hover {
  color: var(--bulb);
}

.midway img,
.midway svg {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink) !important;
  font-family: var(--f-sign);
  font-size: 0.85rem;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---------- Header board + awning valance ---------- */

.site-header {
  position: relative;
  z-index: 3;
  background: var(--red);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px var(--gutter);
}

.site-header__home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--enamel) !important;
  text-decoration: none;
  font-family: var(--f-sign);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.site-header__home .wingo {
  width: 30px;
  height: auto;
}

.site-header__home .wingo-body {
  fill: var(--yellow);
}

.site-header__home .wingo-face {
  fill: var(--red);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--enamel);
  font-family: var(--f-sign);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--yellow);
  color: var(--ink);
}

.valance {
  position: relative;
  z-index: 2;
  height: 34px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 44px, var(--red) 44px 88px);
  -webkit-mask: radial-gradient(circle 22px at 22px 12px, #000 98%, transparent) 0 0 / 44px 34px repeat-x,
    linear-gradient(#000, #000) 0 0 / 100% 12px no-repeat;
  mask: radial-gradient(circle 22px at 22px 12px, #000 98%, transparent) 0 0 / 44px 34px repeat-x,
    linear-gradient(#000, #000) 0 0 / 100% 12px no-repeat;
  filter: drop-shadow(0 6px 6px rgba(3, 8, 28, 0.55));
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  max-width: 1040px;
  margin: 22px auto 0;
  padding: clamp(28px, 3.4vw, 36px) clamp(28px, 6vw, 72px) clamp(20px, 2.4vw, 24px);
  background: var(--booth);
  border-radius: 14px;
  box-shadow: var(--board-shadow), inset 0 0 0 6px var(--night-2);
  text-align: center;
}

.marquee__bulbs {
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 8px;
}

.marquee__bulbs::before,
.marquee__bulbs::after {
  content: "";
  position: absolute;
  inset: 0;
  --b: radial-gradient(circle, var(--bulb) 0 4px, rgba(255, 229, 138, 0.35) 5px, transparent 7px);
  background:
    var(--b) 0 0 / 36px 16px repeat-x,
    var(--b) 0 100% / 36px 16px repeat-x,
    var(--b) 0 0 / 16px 36px repeat-y,
    var(--b) 100% 0 / 16px 36px repeat-y;
  filter: drop-shadow(0 0 4px rgba(255, 210, 63, 0.9));
  animation: chase 1.2s steps(1, end) infinite;
}

.marquee__bulbs::after {
  background-position: 18px 0, 18px 100%, 0 18px, 100% 18px;
  animation-delay: -0.6s;
}

@keyframes chase {
  0% { opacity: 1; }
  50% { opacity: 0.18; }
}

.is-spinning .marquee__bulbs::before,
.is-spinning .marquee__bulbs::after {
  animation-duration: 0.28s;
}

.is-spinning .marquee__bulbs::after {
  animation-delay: -0.14s;
}

.is-winner .marquee__bulbs::before,
.is-winner .marquee__bulbs::after {
  animation: flash 0.3s steps(1, end) 6;
  animation-delay: 0s;
}

@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
}

.marquee__logo {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
}

.marquee__logo .word,
.marquee__logo .wingo-body {
  fill: var(--pumpkin);
}

.marquee__logo .wingo-face {
  fill: var(--yellow);
  filter: drop-shadow(0 0 3px rgba(255, 210, 63, 0.9));
}

.marquee__tag {
  margin: clamp(12px, 1.6vw, 16px) 0 0;
  color: var(--yellow);
  font-family: var(--f-sign);
  font-size: clamp(0.9rem, 2.2vw, 1.35rem);
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.marquee__aside {
  display: block;
  margin-top: 4px;
  color: var(--enamel);
  font-family: var(--f-brush);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: 0;
}

/* ---------- Booth: wheel + showcard ---------- */

.booth {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 32px) var(--gutter) clamp(48px, 7vw, 88px);
}

.wheel-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-rig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 480px);
}

.wheel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.wheel-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 26px 26px rgba(3, 8, 28, 0.7));
}

.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 46px;
  height: 64px;
  margin-left: -23px;
  transform-origin: 50% 14px;
  filter: drop-shadow(0 4px 4px rgba(3, 8, 28, 0.6));
  z-index: 1;
}

.wheel-pointer.tick {
  animation: tick 0.11s ease-out;
}

@keyframes tick {
  40% { transform: rotate(-14deg); }
}

.spin-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  margin-top: 26px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 10px var(--ink),
    0 0 0 13px var(--yellow),
    0 22px 30px 6px rgba(3, 8, 28, 0.75);
  color: var(--enamel);
  font-family: var(--f-sign);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.12s var(--ease-out), box-shadow 0.12s var(--ease-out), filter 0.2s;
}

.spin-button:hover {
  filter: brightness(1.08);
}

.spin-button:active,
.spin-button.is-pressed {
  transform: translateY(5px) scale(0.97);
  box-shadow:
    0 0 0 10px var(--ink),
    0 0 0 13px var(--yellow),
    0 8px 14px 4px rgba(3, 8, 28, 0.75);
}

.spin-button[disabled] {
  cursor: progress;
  filter: saturate(0.75) brightness(0.92);
}

.spin-hint {
  margin: 30px 0 0;
  color: var(--enamel-dim);
  font-size: 0.95rem;
  text-align: center;
}

.spin-hint kbd {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--booth-dim);
  color: var(--enamel);
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 700;
}

.ticket {
  position: relative;
  width: min(100%, 420px);
  margin-top: 18px;
  padding: 14px 26px 16px;
  background: var(--pumpkin);
  color: var(--ink);
  text-align: center;
  -webkit-mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 10px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform 0.5s var(--ease-out);
}

.ticket__label {
  display: block;
  font-family: var(--f-sign);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.ticket__prize {
  display: block;
  font-family: var(--f-show);
  font-size: 1.7rem;
  line-height: 1.2;
}

.ticket__reveal {
  display: block;
  margin-top: 2px;
  font-weight: 600;
}

.is-winner .ticket {
  animation: ticket-pop 0.6s var(--ease-out);
}

@keyframes ticket-pop {
  0% { transform: translateY(-14px) scale(0.94); }
  100% { transform: none; }
}

/* Painted showcard */

.showcard {
  position: relative;
  padding: clamp(30px, 4vw, 46px) clamp(26px, 4vw, 44px) clamp(28px, 4vw, 40px);
  background: var(--yellow);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: inset 0 0 0 8px var(--yellow), inset 0 0 0 10px var(--ink), var(--board-shadow);
  transform: rotate(-1.2deg);
}

.showcard::before,
.showcard::after,
.board-nails::before,
.board-nails::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.showcard::before,
.board-nails::before {
  left: 18px;
}

.showcard::after,
.board-nails::after {
  right: 18px;
}

.showcard h1 {
  margin: 0 0 18px;
  font-family: var(--f-show);
  font-weight: 400;
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  line-height: 1.08;
  text-wrap: balance;
}

.showcard h1 em {
  color: var(--red);
  font-style: normal;
}

.showcard p {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 46ch;
}

.showcard .area {
  display: inline-block;
  margin: 8px 0 0;
  font-family: var(--f-sign);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.showcard .area span {
  color: var(--red);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 22px;
}

.btn-board {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5px var(--yellow), 0 10px 18px -8px rgba(20, 18, 16, 0.6);
  color: var(--enamel) !important;
  font-family: var(--f-sign);
  font-size: clamp(0.82rem, 1.6vw, 0.98rem);
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: transform 0.2s var(--ease-out), background-color 0.2s;
}

.btn-board:hover {
  background: #db1636;
  transform: translateY(-2px);
}

.btn-board svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.btn-board--ink {
  background: var(--ink);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--pumpkin), 0 10px 18px -8px rgba(3, 8, 28, 0.6);
}

.btn-board--ink:hover {
  background: #2a2622;
}

.link-sign {
  color: var(--ink) !important;
  font-weight: 700;
}

/* ---------- Shared section scaffolding ---------- */

.lot {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter);
}

.lot__head {
  max-width: 720px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.lot__head h2,
.sign-head {
  margin: 0 0 10px;
  font-family: var(--f-show);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  color: var(--pumpkin);
  text-wrap: balance;
}

.lot__head p {
  margin: 0;
  color: var(--enamel);
  max-width: 62ch;
}

.brush {
  font-family: var(--f-brush);
  font-size: 1.45em;
  line-height: 1;
  color: var(--yellow);
}

/* ---------- Prize wall ---------- */

.prize-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  grid-auto-rows: 104px;
  gap: 0 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: repeating-linear-gradient(to bottom, #4a5a8f 0 2px, transparent 2px 104px);
}

.prize-tag {
  position: relative;
  align-self: start;
  margin-top: 22px;
  padding: 18px 12px 12px;
  background: var(--enamel);
  color: var(--ink);
  border-radius: 3px 3px 6px 6px;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  transform-origin: 50% -22px;
  transition: background-color 0.35s, color 0.35s, transform 0.4s var(--ease-out);
}

.prize-tag::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--night);
}

.prize-tag:nth-child(3n + 1) {
  transform: rotate(-2deg);
}

.prize-tag:nth-child(4n + 2) {
  transform: rotate(1.6deg);
}

.prize-tag:nth-child(5n) {
  transform: rotate(-0.8deg);
}

.prize-wall.has-winner .prize-tag {
  background: var(--booth-dim);
  color: var(--ghost);
}

.prize-wall.has-winner .prize-tag.is-won {
  background: var(--pumpkin);
  color: var(--ink);
  animation: swing 1.6s var(--ease-out);
  z-index: 1;
}

@keyframes swing {
  0% { transform: rotate(14deg); }
  30% { transform: rotate(-9deg); }
  55% { transform: rotate(5deg); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0); }
}

.prize-note {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px 40px;
  margin-top: clamp(34px, 5vw, 52px);
  max-width: 980px;
}

.prize-note p {
  margin: 0;
}

.prize-note strong {
  color: var(--yellow);
}

/* ---------- Closed sign ---------- */

.closed {
  background: var(--night-2);
}

.closed__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.closed-sign {
  position: relative;
  padding: clamp(34px, 5vw, 52px) clamp(24px, 4vw, 40px) clamp(26px, 4vw, 34px);
  background: var(--enamel);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: inset 0 0 0 8px var(--enamel), inset 0 0 0 11px var(--red), var(--board-shadow);
  text-align: center;
  transform: rotate(-3deg);
}

.closed-sign__word {
  display: block;
  font-family: var(--f-show);
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: 1;
  color: var(--red);
}

.closed-sign__sub {
  display: block;
  margin-top: 8px;
  font-family: var(--f-brush);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.closed-sign__back {
  display: block;
  margin-top: 16px;
  font-family: var(--f-sign);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.closed__copy p {
  margin: 0 0 14px;
  max-width: 58ch;
}

.closed__copy p:last-child {
  margin-bottom: 0;
}

/* ---------- Sponsor price board ---------- */

.sponsor-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.price-board {
  position: relative;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 56px);
  background: var(--red);
  border-radius: 10px;
  box-shadow: inset 0 0 0 8px var(--red), inset 0 0 0 11px var(--yellow), var(--board-shadow);
}

.price-board .sign-head {
  color: var(--yellow);
}

.price-board__lede {
  margin: 0 0 22px;
  max-width: 52ch;
  color: var(--enamel);
  font-weight: 500;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  padding: 14px 0;
  border-top: 2px dashed rgba(255, 210, 63, 0.45);
}

.price-list li:last-child {
  border-bottom: 2px dashed rgba(255, 210, 63, 0.45);
}

.price-list__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-sign);
  font-size: clamp(0.92rem, 1.8vw, 1.12rem);
  letter-spacing: 0.02em;
  color: var(--bulb);
}

.price-list__item::after {
  content: "";
  flex: 1;
  min-width: 20px;
  border-bottom: 3px dotted rgba(255, 248, 236, 0.5);
  transform: translateY(-4px);
}

.price-list__item b {
  order: 2;
  color: var(--enamel);
  font-weight: 400;
  white-space: nowrap;
}

.price-list p {
  margin: 6px 0 0;
  color: var(--enamel);
  font-size: 1rem;
}

.money {
  position: relative;
  padding: 40px 24px 26px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 6px;
  box-shadow: inset 0 0 0 6px var(--yellow), inset 0 0 0 8px var(--ink), var(--board-shadow);
  transform: rotate(2deg);
}

.money h3 {
  margin: 0 0 12px;
  font-family: var(--f-sign);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.money ul {
  margin: 0 0 18px;
  padding-left: 1.1em;
}

.money li {
  margin-bottom: 8px;
  font-weight: 500;
}

.money li::marker {
  color: var(--red);
}

.money p {
  margin: 0 0 14px;
  font-weight: 500;
}

/* ---------- October board ---------- */

.october {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.october__copy p {
  margin: 0 0 14px;
  max-width: 48ch;
}

.cal {
  padding: clamp(14px, 2.4vw, 24px);
  background: var(--booth);
  border-radius: 10px;
  box-shadow: var(--board-shadow), inset 0 0 0 4px var(--night-2);
}

.cal__title {
  margin: 4px 0 14px;
  color: var(--yellow);
  font-family: var(--f-sign);
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  letter-spacing: 0.08em;
  text-align: center;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 0.8vw, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cal__dow {
  padding-bottom: 4px;
  color: var(--enamel-dim);
  font-family: var(--f-sign);
  font-size: 0.72rem;
  text-align: center;
}

.cal__day {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 0.92;
  padding: clamp(4px, 0.8vw, 8px);
  background: var(--night);
  border-radius: 4px;
  font-family: var(--f-sign);
}

.cal__num {
  color: var(--enamel);
  font-size: clamp(0.8rem, 1.8vw, 1.15rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cal__state {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--yellow);
  font-size: clamp(0.5rem, 1vw, 0.66rem);
  letter-spacing: 0.06em;
}

.cal__state::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bulb);
  box-shadow: 0 0 6px var(--yellow);
}

.cal__day--blank {
  background: transparent;
}

.cal__day--halloween {
  grid-column: span 2;
  aspect-ratio: auto;
  background: var(--pumpkin);
}

.cal__day--halloween .cal__num,
.cal__day--halloween .cal__state {
  color: var(--ink);
}

.cal__day--halloween .cal__state::before {
  display: none;
}

.cal__legend {
  margin: 14px 0 0;
  color: var(--enamel-dim);
  font-size: 0.92rem;
  text-align: center;
}

/* ---------- Games ---------- */

.games {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.admission {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 20px clamp(20px, 4vw, 36px);
  background: var(--ink);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--yellow);
}

.admission__price {
  margin: 0;
  color: var(--yellow);
  font-family: var(--f-sign);
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.admission__aside {
  margin: 0;
  color: var(--enamel);
  font-family: var(--f-brush);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.1;
}

.game {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--board-shadow);
}

.game__awning {
  height: 30px;
  background: repeating-linear-gradient(90deg, var(--a1) 0 36px, var(--a2) 36px 72px);
  -webkit-mask: radial-gradient(circle 18px at 18px 12px, #000 98%, transparent) 0 0 / 36px 30px repeat-x,
    linear-gradient(#000, #000) 0 0 / 100% 12px no-repeat;
  mask: radial-gradient(circle 18px at 18px 12px, #000 98%, transparent) 0 0 / 36px 30px repeat-x,
    linear-gradient(#000, #000) 0 0 / 100% 12px no-repeat;
}

.game__body {
  padding: 8px clamp(22px, 3.5vw, 36px) clamp(26px, 3.5vw, 36px);
}

.game h3 {
  margin: 8px 0 10px;
  font-family: var(--f-show);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1;
}

.game p {
  margin: 0 0 12px;
  max-width: 52ch;
}

.game__status {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--f-sign);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.game--claw {
  grid-column: span 7;
  --a1: var(--red);
  --a2: var(--enamel);
  background: var(--enamel);
  color: var(--ink);
}

.game--claw .game__inner {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px clamp(18px, 3vw, 32px);
  align-items: center;
}

.game--claw .game__status {
  background: var(--red);
  color: var(--enamel);
}

.coin-slot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 12px;
  padding: 8px 14px 8px 10px;
  background: var(--ink);
  border-radius: 6px;
  color: var(--yellow);
  font-family: var(--f-sign);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.coin-slot::before {
  content: "";
  width: 8px;
  height: 30px;
  border-radius: 4px;
  background: var(--yellow);
}

.sticker {
  position: absolute;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 28px);
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px var(--ink), 0 10px 16px -6px rgba(20, 18, 16, 0.5);
  color: var(--ink);
  font-family: var(--f-brush);
  font-size: 1.45rem;
  line-height: 0.95;
  text-align: center;
  transform: rotate(12deg);
}

.game--puzzle {
  grid-column: span 5;
  --a1: var(--pumpkin);
  --a2: var(--ink);
  background: var(--booth);
  color: var(--enamel);
}

.game--puzzle .game__status {
  background: var(--yellow);
  color: var(--ink);
}

.game__art {
  display: block;
  width: 100%;
  height: auto;
}

.game--puzzle .game__art {
  width: min(180px, 60%);
  margin: 10px 0 4px;
}

.drawing-board {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 22px clamp(28px, 5vw, 56px);
  padding: clamp(30px, 4.5vw, 48px) clamp(24px, 4.5vw, 48px);
  background: var(--pumpkin);
  border-radius: 10px;
  box-shadow: inset 0 0 0 8px var(--pumpkin), inset 0 0 0 10px var(--ink), var(--board-shadow);
  color: var(--ink);
}

.drawing-board h3 {
  margin: 0 0 10px;
  font-family: var(--f-brush);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1;
  color: var(--ink);
}

.drawing-board a {
  color: var(--ink);
  font-weight: 700;
}

.drawing-board > div > p {
  margin: 0 0 12px;
  max-width: 40ch;
}

.ideas {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: idea;
}

.ideas li {
  position: relative;
  padding: 0 0 18px 0;
  margin-bottom: 18px;
  border-bottom: 2px dashed rgba(20, 18, 16, 0.35);
}

.ideas li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ideas h4 {
  margin: 0 0 4px;
  font-family: var(--f-sign);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--red-deep);
}

.ideas p {
  margin: 0;
  max-width: 62ch;
}

/* ---------- Bingo ---------- */

.bingo-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(30px, 4.5vw, 48px) clamp(24px, 4.5vw, 48px);
  background: var(--enamel);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: var(--board-shadow);
}

.bingo-strip h2 {
  margin: 0 0 12px;
  font-family: var(--f-show);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  color: var(--red);
}

.bingo-strip p {
  margin: 0 0 12px;
  max-width: 54ch;
}

.bingo-strip a:not(.btn-board) {
  color: var(--red-deep);
}

.wingo-letters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 12px;
  background: var(--ink);
  border-radius: 8px;
}

.wingo-letters img {
  width: 100%;
  height: auto;
  background: var(--enamel);
  border-radius: 4px;
}

.print-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.print-row .btn-board {
  padding: 11px 16px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  background: var(--ink);
  color: #d9d4cb;
  border-top: 6px solid var(--pumpkin);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 4vw, 48px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) var(--gutter) 22px;
}

.site-footer .wingo {
  width: 64px;
  height: auto;
}

.site-footer .wingo-body {
  fill: var(--pumpkin);
}

.site-footer .wingo-face {
  fill: var(--ink);
}

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--enamel);
  font-family: var(--f-sign);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.site-footer a {
  color: var(--pumpkin);
}

.site-footer a:hover {
  color: var(--yellow);
}

.mouseprint {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--gutter) 28px;
  color: #a8a298;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: left;
}

.mouseprint p {
  margin: 0 0 6px;
}

/* ---------- Read pages (about) ---------- */

.program {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) 0;
}

.program__title {
  margin: 0 0 8px;
  font-family: var(--f-show);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--pumpkin);
}

.program__lede {
  margin: 0 0 28px;
  font-size: 1.2rem;
  max-width: 60ch;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(32px, 5vw, 48px);
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 7px 12px;
  border-radius: 4px;
  background: var(--booth);
  color: var(--enamel);
  font-family: var(--f-sign);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.toc a:hover {
  background: var(--yellow);
  color: var(--ink);
}

.sheet {
  position: relative;
  margin-bottom: clamp(24px, 4vw, 36px);
  padding: clamp(28px, 4.5vw, 48px) clamp(22px, 4.5vw, 52px);
  background: var(--enamel);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--board-shadow);
}

.sheet h2 {
  margin: 0 0 16px;
  font-family: var(--f-show);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.1;
  color: var(--red);
  text-wrap: balance;
}

.sheet h3 {
  margin: 26px 0 8px;
  font-family: var(--f-sign);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.sheet p,
.sheet li {
  max-width: 68ch;
}

.sheet p {
  margin: 0 0 14px;
}

.sheet ol,
.sheet ul {
  margin: 0 0 14px;
  padding-left: 1.3em;
}

.sheet li {
  margin-bottom: 8px;
}

.sheet li::marker {
  color: var(--red);
  font-weight: 700;
}

.sheet a {
  color: var(--red-deep);
}

.sheet a:hover {
  color: var(--red);
}

.sheet small {
  font-size: 0.92rem;
}

.sheet pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  background: var(--ink);
  color: #f1ede4;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.5;
  tab-size: 2;
}

.sheet--wheel {
  background: var(--yellow);
}

.sheet--open {
  padding-left: 0;
  padding-right: 0;
  background: none;
  box-shadow: none;
  color: var(--enamel);
}

.sheet--open::before {
  content: "";
  display: block;
  width: 154px;
  height: 12px;
  margin-bottom: 18px;
  background: radial-gradient(circle, var(--bulb) 0 4px, transparent 5px) 0 0 / 22px 12px repeat-x;
  filter: drop-shadow(0 0 4px rgba(255, 210, 63, 0.8));
}

.sheet--open h2 {
  color: var(--pumpkin);
}

.sheet--open a {
  color: var(--yellow);
}

.sheet--open a:hover {
  color: var(--bulb);
}

.sheet--open li::marker {
  color: var(--pumpkin);
}

.credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 6px 28px;
}

/* ---------- Legacy pages (bingo cards, candy list) ---------- */

.legacy {
  padding-top: 28px;
  padding-bottom: 20px;
}

.legacy .well {
  background: var(--enamel);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--board-shadow);
}

.legacy .well h1 {
  margin-top: 0;
  font-family: var(--f-show);
  font-size: 2.2rem;
  color: var(--red);
}

.legacy .well h3 {
  font-family: var(--f-sign);
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.legacy .well a {
  color: var(--red-deep);
}

.legacy .well .btn {
  font-family: var(--f-sign);
  font-size: 0.85rem;
}

.legacy table.bingo {
  background: var(--enamel);
  color: var(--ink);
  border-color: var(--ink);
}

.legacy table.bingo caption {
  color: var(--enamel-dim);
}

.legacy table.bingo caption a {
  color: var(--yellow);
}

.legacy .alert-success {
  background: var(--booth);
  border: 0;
  color: var(--enamel);
}

.legacy .alert-success a {
  color: var(--yellow);
}

.legacy #morecards .btn {
  margin-right: 6px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px var(--pumpkin);
  color: var(--enamel);
}

.legacy #morecards .btn:hover {
  background: var(--red);
}

.legacy h1 {
  font-family: var(--f-show);
  color: var(--pumpkin);
}

.legacy .candy-panel {
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (min-width: 901px) {
  .wheel-rig .spin-button {
    position: absolute;
    right: -48px;
    bottom: -34px;
    width: 112px;
    height: 112px;
    margin: 0;
    font-size: 1.35rem;
  }
}

@media (min-width: 901px) {
  .spin-hint {
    margin-top: 48px;
  }
}

@media (hover: none) {
  .spin-hint {
    display: none;
  }
}

@media (max-width: 900px) {
  .booth,
  .closed__inner,
  .sponsor-row,
  .october,
  .drawing-board,
  .bingo-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .booth .showcard {
    order: -1;
  }

  .game--claw,
  .game--puzzle {
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-footer__inner > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    justify-content: center;
  }

  .site-nav ul {
    justify-content: center;
  }

  .site-nav a {
    padding: 5px 7px;
    font-size: 0.74rem;
  }

  .marquee {
    margin: 20px 16px 0;
  }

  .showcard {
    transform: rotate(-0.6deg);
  }

  .game--claw .game__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .game--claw .game__art {
    width: 150px;
  }

  .sticker {
    width: 84px;
    height: 84px;
    font-size: 1.2rem;
  }

  .prize-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cal__state span {
    display: none;
  }

  .price-list__item {
    flex-direction: column;
    gap: 2px;
  }

  .price-list__item::after {
    display: none;
  }

  .price-list__item b {
    white-space: normal;
  }

  .spin-button {
    width: 128px;
    height: 128px;
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__bulbs::before,
  .marquee__bulbs::after,
  .is-spinning .marquee__bulbs::before,
  .is-spinning .marquee__bulbs::after,
  .is-winner .marquee__bulbs::before,
  .is-winner .marquee__bulbs::after {
    animation: none;
    opacity: 1;
  }

  .prize-wall.has-winner .prize-tag.is-won,
  .is-winner .ticket,
  .wheel-pointer.tick {
    animation: none;
  }
}

@media print {
  .site-header,
  .valance,
  .site-footer,
  .mouseprint,
  .hidden-print {
    display: none !important;
  }

  body.midway {
    background: #fff;
    color: #000;
  }

  .legacy table.bingo {
    background: #fff;
  }

  .legacy table.bingo caption,
  .legacy table.bingo caption a {
    color: #000;
  }
}
