:root {
  --ink: #101b25;
  --ink-2: #1a2b35;
  --ink-3: #28404a;
  --paper: #edf0eb;
  --paper-2: #d9e1dc;
  --white: #fcfcf6;
  --red: #8d2635;
  --red-bright: #b73b49;
  --gold: #d8b46d;
  --gold-soft: #f3d9a2;
  --green: #3b6957;
  --red-fill: rgba(141,38,53,.12);
  --ink: #140d1c;
  --ink-2: #21152b;
  --ink-3: #30203b;
  --paper: #f1eadc;
  --paper-2: #dfd2be;
  --white: #fffaf0;
  --red: #67277f;
  --red-bright: #873ba3;
  --gold: #ff9d2e;
  --gold-soft: #ffd07a;
  --green: #568f2e;
  --blue: #447ea8;
  --grey: #777b84;
  --red-fill: rgba(103, 39, 127, .17);
  --line: rgba(17, 18, 22, .14);
  --shadow: 0 22px 60px rgba(12, 13, 16, .13);
  --radius: 4px;
  --shell: 1240px;
}

/* Christmas skin: cold city stone, bronze mythology, and restrained crimson. */
body { background-color: #edf0eb; background-image: radial-gradient(circle at 10% 14%,rgba(121,154,158,.14),transparent 28%), repeating-linear-gradient(90deg,transparent 0 79px,rgba(16,27,37,.025) 79px 81px); }
body::before { background: linear-gradient(90deg,#8d2635 0 42%,#d8b46d 42% 58%,#3b6957 58%); }
.site-header { background: rgba(11,25,32,.97); }
.brand strong { color: #d8b46d; }
.home-hero { background: linear-gradient(90deg,rgba(8,18,25,.95) 0%,rgba(8,18,25,.82) 43%,rgba(8,18,25,.22) 85%),url('/assets/images/christmas-streets-hero-v2.png') 62% center/cover no-repeat,#101b25; }
.home-hero::after { content: '✦'; font-size: min(24vw,340px); right: 2vw; bottom: -3vw; }
.hero-copy h1 { max-width: 780px; }
.hero-copy h1 span { color: #edcf8f; }
.launch-note { display: inline-block; margin: 6px 0 0; padding: 8px 13px; border-left: 3px solid #d8b46d; color: #e6e6dc; background: rgba(8,18,25,.58); font-size: .9rem; }
.event-ticket { background: #f1f0e6; transform: rotate(1deg); }
.ticket-stub { background: #8d2635; }
.ticket-stub small { font-size: 2rem; }
.snowfall { position: fixed; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; background-image: radial-gradient(2px 2px at 20px 30px,#fff 98%,transparent),radial-gradient(3px 3px at 120px 110px,#fff 98%,transparent),radial-gradient(2px 2px at 210px 40px,#b63e4b 98%,transparent),radial-gradient(2px 2px at 320px 190px,#fff 98%,transparent); background-size: 380px 280px; opacity: .42; animation: snowfall-drift 18s linear infinite; }
@keyframes snowfall-drift { from { background-position: 0 -280px; } to { background-position: 80px 560px; } }
.cracker-stage { position: relative; display:flex; align-items:center; justify-content:center; min-height:320px; overflow:hidden; border-radius: 22px; background: radial-gradient(circle at 50% 48%,#385b57,#142a35 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); }
.cracker-half { position:relative; display:flex; align-items:center; width:39%; height:94px; filter:drop-shadow(0 14px 15px rgba(0,0,0,.4)); transition:transform .85s cubic-bezier(.2,.8,.2,1); }
.cracker-left { justify-content:flex-end; transform-origin:right center; }
.cracker-right { justify-content:flex-start; transform-origin:left center; }
.cracker-body { display:grid; place-items:center; width:77%; height:94px; color:#f8e7c6; background:repeating-linear-gradient(45deg,transparent 0 24px,rgba(255,255,255,.1) 24px 27px),#9d2b3d; border:5px solid #d6b36b; font:700 2rem Georgia,serif; }
.cracker-fringe { width:23%; height:108px; background:#ba3d4a; clip-path:polygon(0 0,100% 18%,82% 50%,100% 82%,0 100%,20% 50%); }
.cracker-right .cracker-fringe { transform:rotate(180deg); }
.cracker-center { display:grid; place-items:center; width:58px; height:72px; margin-inline:-8px; z-index:1; color:#17242b; background:#ebce8a; border:5px solid #9d2b3d; font:700 2rem Georgia,serif; opacity:0; transform:scale(.5); transition:opacity .4s .45s,transform .6s .45s; }
.cracker-spark { position:absolute; color:#ecd59a; font-size:3rem; opacity:.7; }.cracker-spark-one{top:17%;left:20%}.cracker-spark-two{right:18%;bottom:15%}
.cracker-open .cracker-left { transform:translateX(-24%) rotate(-13deg); }.cracker-open .cracker-right { transform:translateX(24%) rotate(13deg); }.cracker-open .cracker-center { opacity:1;transform:scale(1.15); }
@media (prefers-reduced-motion:reduce) { .snowfall { animation:none; opacity:.18; } .cracker-half,.cracker-center { transition:none; } }
@media (max-width:650px) { .snowfall { opacity:.28; } .cracker-stage { min-height:230px; } .cracker-half,.cracker-body { height:68px; } .cracker-fringe { height:80px; } .cracker-body { font-size:1.4rem; } }
.cass-hat { fill:#315e49; stroke:#d9bb79; }
.cass-costume { fill:#2d634e; stroke:#d9bb79; }
.cass-collar { fill:#f5e8cc; }
.dutchman-coat { fill:#315e49; stroke:#b73b49; stroke-width:5; }
.dutchman-suit { fill:#3b6957; stroke:#14261f; stroke-width:5; }
.dutchman-bow-red,.dutchman-bow-blue { fill:#b63847; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle at 12% 18%,rgba(103,39,127,.09),transparent 25%),radial-gradient(circle at 88% 64%,rgba(255,157,46,.08),transparent 23%),repeating-linear-gradient(90deg,transparent 0 79px,rgba(20,13,28,.025) 79px 81px);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, #67277f 0 38%, #9deb4d 38% 42%, #ff9d2e 42% 100%);
}
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-bright); }
button, input, select, textarea { font: inherit; }
input, select, textarea { min-width: 0; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { font-size: 1.45rem; }
code {
  padding: .12rem .35rem;
  color: #fff;
  background: var(--ink-3);
  border-radius: 3px;
  overflow-wrap: anywhere;
}

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding-block: 72px; scroll-margin-top: 84px; }
.compact-top { padding-top: 48px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--red); }
.skip-link:focus { top: 10px; }
.eyebrow {
  margin-bottom: .7rem;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.muted, .field-help { color: #65676d; }
.field-help { margin: .15rem 0 0; font-size: .84rem; line-height: 1.45; }
.how-to-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.how-to-card { display: grid; align-content: start; gap: 16px; padding: 24px; }
.how-to-card > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.how-to-card h3 { margin: 0; }
.how-to-card ol { margin: 0; padding-left: 1.4rem; }
.how-to-card li { margin-bottom: .6rem; }
.how-to-card figure { margin: auto 0 0; }
.how-to-card figure img { width: 100%; border: 1px solid var(--line); box-shadow: 0 10px 25px rgba(17,18,22,.1); }
.how-to-card figcaption { margin-top: 7px; color: #686a70; font-size: .78rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(17, 18, 22, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 44px; }
.brand span { display: grid; line-height: 1; }
.brand strong { color: var(--gold); font-family: Georgia, serif; font-size: 1.55rem; letter-spacing: -.06em; }
.brand small { margin-top: 2px; font-size: .67rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav > a, .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: #dcd9d1;
  background: transparent;
  border: 0;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 700;
}
.main-nav > a:hover, .nav-link:hover, .main-nav > a.active { color: #fff; }
.main-nav > a.active { box-shadow: inset 0 -2px var(--gold); }
.nav-form { display: inline-flex; margin: 0; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.25rem;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(152, 31, 40, .2);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { color: #fff; background: var(--red-bright); border-color: var(--red-bright); }
.button-small { min-height: 44px; padding: .55rem .9rem; font-size: .9rem; }
.button-ghost { color: var(--ink); background: transparent; border-color: currentColor; box-shadow: none; }
.button-ghost:hover { color: var(--red); background: transparent; border-color: var(--red); }
.site-header .button { min-height: 38px; color: #fff; padding: .45rem .8rem; }
.button-full { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; color: var(--red); background: transparent; border: 0; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: var(--red-bright); }

.flash { margin-top: 18px; padding: 13px 16px; border-left: 4px solid; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.flash-success { color: #164c39; background: #dceee7; border-color: var(--green); }
.flash-error { color: #6e151d; background: #f4dadd; border-color: var(--red); }
.flash-notice { color: #56420f; background: #f2e6c3; border-color: var(--gold); }

.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 8, 17, .93) 0%, rgba(12, 8, 17, .76) 42%, rgba(12, 8, 17, .18) 76%),
    url('/assets/images/christmas-streets-hero-v2.png') 62% center / cover no-repeat,
    var(--ink);
}
.home-hero::after {
  content: "31";
  position: absolute;
  right: -3vw;
  bottom: -12vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  font-family: Georgia, serif;
  font-size: min(42vw, 590px);
  line-height: 1;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .72fr; align-items: center; gap: 7vw; min-height: 680px; padding-block: 80px; }
.hero-copy { max-width: 690px; }
.hero-copy h1 { margin-bottom: 25px; }
.hero-copy h1 span { color: var(--gold); }
.hero-copy .eyebrow, .dark-section .eyebrow, .admin-head .eyebrow { color: var(--gold); }
.hero-lede { max-width: 650px; color: #d5d3ce; font-size: 1.13rem; }
.home-hero .button-ghost, .admin-head .button-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.home-hero .button-ghost:hover, .admin-head .button-ghost:hover { color: var(--gold); border-color: var(--gold); }

.event-ticket { position: relative; display: grid; grid-template-columns: 92px 1fr; min-height: 360px; transform: rotate(1.5deg); color: var(--ink); background: rgba(255,250,240,.94); box-shadow: 20px 28px 70px rgba(0,0,0,.48); }
.event-ticket::before, .event-ticket::after { content: ""; position: absolute; left: 80px; width: 24px; height: 24px; z-index: 2; background: var(--ink); border-radius: 50%; }
.event-ticket::before { top: -12px; }.event-ticket::after { bottom: -12px; }
.ticket-stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 30px 0; color: #fff; background: var(--red); border-right: 2px dashed rgba(17,18,22,.45); }
.ticket-stub span { font: 700 2.4rem Georgia, serif; writing-mode: vertical-rl; transform: rotate(180deg); }
.ticket-stub small { font-size: 1.2rem; font-weight: 900; }
.ticket-year-stub > span { display: flex; flex-direction: column; align-items: center; gap: .08em; font: inherit; writing-mode: initial; transform: none; }
.ticket-year-stub b { font: inherit; }
.ticket-year-main { display: block; margin-top: .06em; white-space: nowrap; }
.ticket-pumpkin { display: inline-block; width: 1.14em; margin-inline: .04em; font-family: "Segoe UI Emoji","Apple Color Emoji",sans-serif; font-size: .82em; font-style: normal; line-height: 1; text-align: center; vertical-align: -.08em; filter: drop-shadow(0 .08em .05em rgba(20,13,28,.28)); }
.ticket-year-stub .ticket-pumpkin { width: auto; margin: .02em 0; font-size: 1.2em; vertical-align: initial; }
.ticket-body { display: flex; flex-direction: column; padding: 34px 30px 27px; }
.ticket-body > p:first-child { color: var(--red); font-size: .73rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.ticket-body h2 { margin-bottom: 25px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.ticket-body dl { display: grid; gap: 13px; margin: 0; }
.ticket-body dl div { padding-top: 12px; border-top: 1px solid var(--line); }
.ticket-body dt { color: #686a70; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ticket-body dd { margin: 2px 0 0; font-weight: 800; }
.ticket-code { margin-top: auto; padding-top: 22px; color: #74767b; font: 700 .72rem ui-monospace, monospace; letter-spacing: .12em; }

.category-strip { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); box-shadow: var(--shadow); }
.category-strip div { display: grid; gap: 12px; min-height: 105px; padding: 16px 12px; background: var(--white); border-right: 1px solid var(--line); font-family: Georgia, serif; font-size: 1.06rem; font-weight: 700; }
.category-strip div:last-child { border-right: 0; }
.category-strip span { color: var(--red); font: 800 .68rem ui-sans-serif, sans-serif; letter-spacing: .1em; }
.split-copy, .admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shell > *, .hero-grid > *, .dashboard-head-grid > *, .admin-two-col > *, .form-grid > *, .editor-form > *, .prize-step > *, .score-tile-top > *, .leader-row > * { min-width: 0; }
.dashboard-head h1, .leader-name, .archive-list, .ticket-body h2 { overflow-wrap: anywhere; }
.split-copy { margin-top: 60px; }
.split-copy > div { padding-right: 4vw; }
.split-copy h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

.page-heading { padding-top: 86px; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.page-heading h1 { margin-bottom: 20px; }
.page-heading > p:last-child { max-width: 760px; color: #55575e; font-size: 1.08rem; }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rule-card, .content-card, .score-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(17,18,22,.06);
}
.rule-card { position: relative; overflow: hidden; }
.rule-card-art { position: absolute; right: -25px; bottom: -20px; width: 145px; height: 125px; object-fit: contain; opacity: .11; filter: saturate(.8); pointer-events: none; }
.rule-card > *:not(.rule-card-art) { position: relative; z-index: 1; }
.rule-card-heading { display: flex; align-items: center; gap: 13px; padding: 20px 22px; color: #fff; background: var(--ink-2); border-bottom: 3px solid var(--gold); }
.rule-card-heading span { display: grid; place-items: center; width: 35px; height: 35px; color: var(--gold); border: 1px solid var(--gold); font-size: .74rem; font-weight: 900; }
.rule-card-heading h2 { margin: 0; font-size: 1.65rem; }
.rule-card ul { margin: 0; padding: 4px 22px 14px; list-style: none; }
.rule-card li { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.rule-card li:last-child { border-bottom: 0; }
.rule-card li strong { color: var(--red); }
.content-card { padding: 25px; }
.content-card h2 { font-size: 2rem; }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(17,18,22,.05); }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { color: #fff; background: var(--ink-2); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: rgba(213,168,76,.07); }
td small, th small { display: block; margin-top: 3px; color: #6a6c72; font-size: .77rem; }
.big-cell { color: var(--red); font: 700 1.5rem Georgia, serif; }

.status { display: inline-flex; align-items: center; width: fit-content; padding: .25rem .55rem; border-radius: 20px; font-size: .73rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.status-healthy, .status-completed { color: #176047; background: #d9eee6; }
.status-pending, .status-running { color: #685010; background: #f3e6bf; }
.status-warning, .status-partial { color: #754613; background: #f1dcc3; }
.status-failed { color: #7d1720; background: #f2d4d7; }

.auth-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr); gap: 0; max-width: 1100px; padding-block: 72px; }
.auth-panel { padding: clamp(28px, 5vw, 60px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-panel h1 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); }
.key-start { margin-block: 24px; padding: 18px; background: var(--paper); border-left: 3px solid var(--gold); }
.key-start h2 { margin-bottom: 10px; font-size: 1.5rem; }
.key-start p { font-size: .92rem; }
.key-guide { padding: clamp(28px, 4vw, 48px); color: #fff; background: var(--ink); border-top: 4px solid var(--gold); }
.key-guide h2 { font-size: 2.3rem; }
.key-guide .eyebrow { color: var(--gold); }
.steps { padding-left: 1.35rem; color: #d4d2cd; }
.steps li { margin-bottom: .7rem; padding-left: .25rem; }
.steps li::marker { color: var(--gold); font-weight: 900; }
.permission-list { margin-block: 25px; border-top: 1px solid rgba(255,255,255,.15); }
.permission-list div { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.permission-list strong { color: var(--gold-soft); }
.permission-list span { color: #bfc0c3; font-size: .84rem; }
.tos-table { display: grid; margin: 24px 0; border: 1px solid rgba(255,255,255,.2); }
.tos-table div { display: grid; grid-template-columns: 115px 1fr; border-bottom: 1px solid rgba(255,255,255,.15); }
.tos-table div:last-child { border-bottom: 0; }
.tos-table strong, .tos-table span { padding: 9px 10px; font-size: .76rem; }
.tos-table strong { color: var(--gold-soft); background: rgba(255,255,255,.05); }
.tos-table span { color: #d1d2d4; border-left: 1px solid rgba(255,255,255,.15); }
.technical-details { padding: 12px; background: var(--ink-3); }
.technical-details summary { font-weight: 800; cursor: pointer; }
.technical-details p { margin: 12px 0 0; }
.privacy-note { margin: 24px 0 0; color: #aaaeb4; font-size: .84rem; }

.stack-form { display: grid; gap: 16px; }
.stack-form label:not(.check-row), .editor-form label:not(.check-row), .riddle-editor-form label:not(.check-row) { display: grid; gap: 6px; font-size: .84rem; font-weight: 800; }
input, select, textarea {
  font-size: 1rem;
  width: 100%;
  min-height: 45px;
  padding: .65rem .75rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8b5ae;
  border-radius: 3px;
}
textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(68,126,168,.45); outline-offset: 2px; }
.secret-field { position: relative; }
.secret-field input { padding-right: 120px; }
.secret-field span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #707279; font-size: .76rem; }
.check-row { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; font-weight: 500; }
.check-row input, .mini-check input { flex: 0 0 auto; width: 17px; min-height: 17px; height: 17px; margin-top: .2em; accent-color: var(--red); }
.form-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }

.prose { padding-top: 20px; padding-bottom: 90px; }
.prose h2 { margin-top: 42px; margin-bottom: 12px; font-size: 2rem; }
.prose p, .prose li { color: #404249; }
.prose li { margin-bottom: 8px; }
.error-page { min-height: 65vh; padding-block: 100px; }
.error-number { display: block; color: var(--gold); font: 700 clamp(5rem, 14vw, 10rem)/.75 Georgia, serif; }
.error-page h1 { margin-bottom: 20px; }
.error-page p:not(.eyebrow) { max-width: 620px; font-size: 1.12rem; }

.dashboard-head, .admin-head { color: #fff; background: radial-gradient(circle at 72% 40%,rgba(103,39,127,.38),transparent 24%),linear-gradient(115deg,#100914,#211329 58%,#120c19); border-bottom: 3px solid var(--gold); }
.dashboard-head-grid { display: grid; grid-template-columns: 1fr auto 260px; align-items: center; gap: 40px; min-height: 230px; padding-block: 40px; }
.dashboard-head h1, .admin-head h1 { margin: 0 0 8px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.dashboard-head p { margin-bottom: 0; color: #bfc0c3; }
.total-score { display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 9px; padding-inline: 34px; border-inline: 1px solid rgba(255,255,255,.16); }
.total-score span { grid-column: 1 / -1; color: var(--gold); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.total-score strong { font: 700 clamp(3.5rem, 7vw, 6.5rem)/.9 Georgia, serif; letter-spacing: -.07em; }
.total-score small { color: #aaaeb4; padding-bottom: .6rem; }
.sync-card { font-size: .87rem; }
.sync-card p { margin: 10px 0 6px; }
.sync-card strong { color: #fff; }
.sync-card .text-button { margin-top: 8px; color: var(--gold-soft); border: 1px solid var(--gold); border-radius: var(--radius); text-decoration: none; }
.sync-card .text-button:hover { color: #fff; background: var(--ink-3); }
.sync-card .field-help { color: #d4d6da; }
.subnav { display: flex; gap: 4px; overflow-x: auto; padding-block: 12px; border-bottom: 1px solid var(--line); }
.subnav a { flex: 0 0 auto; padding: 8px 12px; color: #53555c; font-size: .84rem; font-weight: 800; text-decoration: none; }
.subnav a:hover { color: var(--red); background: var(--paper-2); }
.subnav a.active { color: #fff; background: var(--red); }

.chain-event-list { display: grid; gap: 24px; }
.chain-event-card { color: var(--ink); }
.chain-event-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; }
.chain-event-head::-webkit-details-marker { display: none; }
.chain-event-head::after { content: '+'; font-size: 1.8rem; font-weight: 900; color: var(--purple); }
.chain-event-card[open] .chain-event-head::after { content: '−'; }
.chain-event-head h3 { margin: 3px 0 0; }
.chain-summary-status { margin-left: auto; color: var(--muted); font-weight: 800; }
.chain-event-body { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.chain-event-body > form:first-child { display: flex; justify-content: flex-end; }
.chain-key-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.chain-key-callout h3, .chain-key-callout p { margin: 0; }
.chain-key-callout p { margin-top: 5px; }
.chain-site-banner { display: flex; justify-content: center; align-items: baseline; gap: 12px; padding: 9px 18px; background: #f7941d; color: #1b1122; text-decoration: none; text-align: center; }
.chain-site-banner span { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 900; }
.chain-site-banner strong { font-size: .9rem; }
.chain-site-banner-ongoing { background: #8d2da5; color: #fff; animation: chain-banner-pulse 2.5s ease-in-out infinite; }
@keyframes chain-banner-pulse { 50% { background: #b23b73; } }
.chain-live-strip { display: grid; grid-template-columns: auto minmax(160px,1fr) auto auto; align-items: center; gap: 14px; margin: 18px 0; padding: 14px; background: #22172a; color: #fff; }
.chain-live-strip progress { width: 100%; accent-color: var(--gold); }
.chain-attendees { margin: 18px 0; }
.chain-attendees summary, .chain-live-members summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.name-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.name-chips span { padding: 5px 9px; border-radius: 999px; background: #eee4f2; color: #52206b; font-size: .82rem; font-weight: 800; }
.watch-calendar h4 { display: flex; justify-content: space-between; gap: 12px; }
.watch-calendar h4 small { color: var(--muted); }
.watch-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 8px; max-height: 520px; overflow: auto; padding: 2px; }
.watch-slot { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; border: 1px solid var(--line); border-left: 5px solid #7b3a91; padding: 10px; background: rgba(255,255,255,.9); }
.watch-slot > div:first-child { display: flex; flex-direction: column; }
.watcher-names { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; }
.watcher-names span { font-size: .78rem; font-weight: 800; padding: 3px 6px; background: #eee4f2; }
.watch-slot form { grid-column: 2; grid-row: 1; }
.watch-slot-full { border-left-color: #6a7078; background: #eee; }
.watch-slot-mine { border-left-color: #d36a19; box-shadow: inset 0 0 0 1px #d36a19; }
.danger-button { color: #9b1c31; }
.chain-live-members { margin-top: 18px; }

@media (max-width: 620px) {
  .chain-site-banner, .chain-key-callout { align-items: stretch; flex-direction: column; gap: 5px; }
  .chain-site-banner { padding: 8px 12px; }
  .chain-key-callout .button { text-align: center; }
  .chain-live-strip { grid-template-columns: 1fr; }
  .chain-summary-status { display: none; }
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 470px; margin: 0; color: #686a70; text-align: right; }
.section-art { flex: 0 0 auto; width: clamp(80px,9vw,118px); height: 94px; margin-block: -25px -16px; object-fit: contain; filter: drop-shadow(0 9px 12px rgba(16,9,20,.25)); }
.dark-section .section-art { filter: drop-shadow(0 10px 16px rgba(0,0,0,.55)); }
.winter-zone { position: relative; }
.section-scene { --section-scene: none; position: relative; isolation: isolate; min-height: calc(100vh - 250px); overflow: hidden; }
.section-scene.shell { width: 100%; padding-inline: max(20px,calc((100% - var(--shell))/2)); }
.section-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--section-scene) center / cover no-repeat; opacity: .34; pointer-events: none; }
.section-scene > * { position: relative; z-index: 1; }
.dark-section.section-scene::before { opacity: .34; }
.section-scene:not(.dark-section) > .section-heading,.section-scene:not(.dark-section) > .claim-panel > .section-heading { padding: 16px 18px; background: rgba(241,234,220,.82); border: 1px solid rgba(111,60,40,.16); backdrop-filter: blur(3px); }
.scene-guide { --section-scene: url('/assets/images/section-bg-guide.webp'); }
.scene-progress { --section-scene: url('/assets/images/section-bg-progress.webp'); }
.scene-apple { --section-scene: url('/assets/images/section-bg-apple.webp'); }
.scene-trick { --section-scene: url('/assets/images/section-bg-trick.webp'); }
.scene-riddles { --section-scene: url('/assets/images/section-bg-riddles.webp'); }
.scene-leaderboard { --section-scene: url('/assets/images/section-bg-leaderboard.webp'); }
.scene-daily { --section-scene: url('/assets/images/section-bg-daily.webp'); }
.scene-prizes { --section-scene: url('/assets/images/section-bg-prizes.webp'); }
.how-to-section { padding-inline: clamp(14px,2vw,28px); }
.how-to-summary { cursor: pointer; margin: 0; padding: 18px 20px; background: rgba(247,242,233,.9); border: 1px solid rgba(111,60,40,.24); box-shadow: 0 8px 22px rgba(20,13,28,.08); list-style: none; }
.how-to-summary::-webkit-details-marker { display: none; }
.how-to-summary::after { content: 'Open guide  +'; flex: 0 0 auto; color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.how-to-section[open] .how-to-summary { margin-bottom: 24px; }
.how-to-section[open] .how-to-summary::after { content: 'Close guide  −'; }
.how-to-summary:hover,.how-to-summary:focus-visible { border-color: var(--gold); outline: none; }
.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.score-tile { padding: 24px; }
.score-tile-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.score-tile-top h3 { margin: 0; }
.score-tile-top > strong { color: var(--red); font: 700 2rem Georgia, serif; }
.score-tile-top > strong small { color: #777980; font: 600 .9rem ui-sans-serif, sans-serif; }
.tile-number { display: grid; place-items: center; width: 34px; height: 34px; color: var(--gold); background: var(--ink); font-size: .68rem; font-weight: 900; }
.progress-track { width: 100%; height: 4px; margin: 18px 0 4px; overflow: hidden; appearance: none; border: 0; background: var(--paper-2); }
.progress-track::-webkit-progress-bar { background: var(--paper-2); }
.progress-track::-webkit-progress-value { background: linear-gradient(90deg, var(--red), var(--gold)); }
.progress-track::-moz-progress-bar { background: linear-gradient(90deg, var(--red), var(--gold)); }
.achievement-list { margin: 12px 0 0; padding: 0; list-style: none; }
.achievement-list li { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: start; padding: 11px 0; color: #72747a; border-top: 1px solid var(--line); font-size: .88rem; }
.achievement-list li.achieved { color: var(--ink); }
.achievement-list small { display: block; color: #63666c; font-size: .82rem; }
.achievement-list > li > strong { color: var(--red); }
.achievement-list li.target-red { color: #8d2438; background: rgba(141,36,56,.06); }
.achievement-list li.target-green { color: #315f27; background: rgba(93,154,62,.1); }
.destination-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: .84rem; }
.destination-table caption { padding: 10px 0 8px; border-top: 2px solid var(--ink); font-weight: 900; text-align: left; }
.destination-table td { padding: 7px 0; color: #777980; border-top: 1px solid var(--line); }
.destination-table td:last-child { text-align: right; }
.destination-table tr.visited td { color: var(--green); font-weight: 800; }
.achievement-mark { color: #aaa; font-weight: 900; }.achieved .achievement-mark { color: var(--green); }

.dark-section { color: #fff; background: var(--ink); }
.light-heading > p { color: #aaaeb4; }
.riddle-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 32%); gap: 14px; overflow-x: auto; padding: 4px 4px 22px; scroll-snap-type: x proximity; }
.riddle-days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.riddle-days a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; color: #fff; border: 1px solid #777b84; border-radius: var(--radius); text-decoration: none; font-weight: 700; }
.riddle-days a:hover, .riddle-days a[aria-current] { color: var(--ink); background: var(--gold-soft); border-color: var(--gold-soft); }
.riddle-days .day-live { border-color: var(--gold); }
.riddle-card { scroll-margin-top: 90px; }
.dark-section .flash { margin: 0 0 18px; }
.swipe-hint { display: none; }
.riddle-card { display: flex; flex-direction: column; min-height: 370px; padding: 20px; color: var(--ink); background: var(--paper); border-top: 4px solid #6f727a; scroll-snap-align: start; }
.riddle-card header { display: flex; justify-content: space-between; gap: 8px; color: #6d6f75; font-size: .74rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.riddle-live { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 16px 35px rgba(0,0,0,.3); }
.riddle-solved { border-color: var(--green); }
.riddle-missed { opacity: .72; }
.riddle-state { color: var(--red); }.riddle-solved .riddle-state { color: var(--green); }.riddle-live .riddle-state { color: #9a731e; }
.riddle-card h3 { margin: 25px 0 12px; font-size: 1.65rem; }
.riddle-prompt { white-space: pre-line; font-family: Georgia, serif; line-height: 1.55; }
.riddle-locked-copy { margin-top: auto; color: #777980; }
.hint-stack { display: grid; gap: 7px; margin-top: auto; }
.hint-stack details { padding: 8px 10px; color: #fff; background: var(--ink-3); font-size: .82rem; }
.hint-stack summary { cursor: pointer; font-weight: 800; }
.hint-stack p { margin: 8px 0 0; color: #ddd; }
.spoiler-button { width: 100%; min-height: 44px; padding: 8px 10px; color: #f0ece3; background: var(--ink-3); border: 1px dashed #686b73; text-align: left; font-size: .88rem; font-weight: 800; }
.spoiler-button:hover { color: var(--gold-soft); border-color: var(--gold); }
.spoiler-button span { float: right; color: var(--gold-soft); }
.answer-form { margin-top: 15px; }
.answer-form label { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: .79rem; font-weight: 900; }
.answer-form label small { color: #72747a; }
.answer-form > div { display: flex; }.answer-form input { min-width: 0; border-radius: 3px 0 0 3px; }.answer-form button { flex: 0 0 auto; border-radius: 0 3px 3px 0; }
.solution { display: grid; gap: 5px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.solution span { color: #777980; font-size: .73rem; font-weight: 800; text-transform: uppercase; }.solution strong { color: var(--red); font-size: 1.18rem; }

.leaderboard { border-top: 3px solid var(--ink); }
.leader-row { display: grid; grid-template-columns: 58px minmax(190px, .65fr) 1fr 90px; align-items: center; gap: 16px; min-height: 82px; padding: 12px 17px; background: var(--white); border-bottom: 1px solid var(--line); }
.leader-row:nth-child(even) { background: #eee7da; }
.leader-current { box-shadow: inset 4px 0 var(--gold); }
.rank { color: var(--red); font: 700 1.8rem Georgia, serif; }
.leader-name { display: grid; }.leader-name small { color: #74767d; font-size: .74rem; }
.leader-categories { color: #66686f; font-size: .8rem; }
.leader-score { color: var(--red); font: 700 2rem Georgia, serif; text-align: right; }
.chain-podiums { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 28px; }
.podium-card { overflow: hidden; border-top: 3px solid var(--gold); }
.podium-card h3 { margin-bottom: 18px; font-size: 1.8rem; }
.podium-card ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.podium-card li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; background: #eee7da; border-left: 3px solid var(--red); }
.podium-card li > span { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 0 9px; }
.podium-card li b { grid-row: 1 / 3; color: var(--gold); font: 800 1.45rem Georgia,serif; }
.podium-card li small { color: #6b6870; }
.chain-prize-explainer { display: grid; grid-template-columns: minmax(180px,.45fr) minmax(0,1fr); align-items: center; gap: 25px; }
.chain-prize-explainer > img { width: min(100%,300px); max-height: 250px; margin: auto; object-fit: contain; filter: drop-shadow(0 18px 25px rgba(20,13,28,.28)); }
.empty-state { padding: 30px; color: #707279; background: var(--white); text-align: center; }
.soft-section { background: var(--paper-2); }
.daily-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); }
.daily-table thead th:first-child { z-index: 2; background: var(--ink-2); }
.daily-mobile { display: none; }
.wheel-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.wheel-machine { width: 100%; max-width: 460px; justify-self: center; }
.wheel-art { display: block; width: 100%; filter: drop-shadow(0 12px 18px rgba(17,18,22,.12)); }
.wheel-disc { transform-box: view-box; transform-origin: 50% 50%; }
.apple-bobbing-art { display: block; width: 100%; filter: drop-shadow(0 14px 22px rgba(17,18,22,.22)); }
#apple-bobber, #winning-apple { transform-box: fill-box; transform-origin: center; }
.winning-apple { opacity: 0; }
.trick-treat-grid { display: grid; grid-template-columns: minmax(240px,.65fr) minmax(0,1.35fr); gap: 28px; align-items: stretch; }
.haunted-door { position: relative; isolation: isolate; display: grid; align-content: end; min-height: 470px; overflow: hidden; color: var(--paper); background: #100a17; border: 4px solid #120b17; box-shadow: inset 0 0 0 5px #6f3c28, inset 0 0 60px #09060d; }
.door-scene { position: relative; width: 100%; height: 330px; perspective: 900px; overflow: hidden; background: radial-gradient(circle at 50% 45%,rgba(255,177,64,.32),transparent 46%),linear-gradient(#180e25,#09070d); border: 3px solid #6f3c28; }
.door-glow { position: absolute; inset: 8% 15%; background: radial-gradient(circle,#ffb45c 0,rgba(235,94,45,.42) 30%,transparent 68%); opacity: .25; transition: opacity .6s ease; }
.door-panel { position: absolute; inset: 0; z-index: 4; transform-origin: left center; overflow: hidden; background: linear-gradient(145deg,rgba(15,8,21,.2),rgba(15,8,21,.92)),repeating-linear-gradient(90deg,#4a203b 0 58px,#2b142b 58px 65px); border: 4px solid rgba(255,157,46,.42); box-shadow: inset 0 0 45px rgba(0,0,0,.75); transition: transform 1s cubic-bezier(.2,.8,.2,1),filter .6s ease; backface-visibility: hidden; }
.door-number { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); color: var(--gold-soft); font: 800 3.5rem Georgia,serif; text-shadow: 0 4px 0 #24101f; }
.door-eye { position: absolute; top: 155px; right: 52px; width: 22px; height: 22px; background: var(--gold); border: 5px solid #2a161e; border-radius: 50%; box-shadow: 0 0 18px var(--gold); }
.cass-character { position: absolute; bottom: -12px; left: 50%; z-index: 2; width: min(58%,220px); transform: translate(-50%,42px) scale(.88); opacity: 0; transition: transform .75s cubic-bezier(.2,.8,.2,1),opacity .45s ease; }
.cass-character svg { display: block; width: 100%; filter: drop-shadow(0 12px 10px rgba(0,0,0,.45)); }
.cass-hat { fill: #322050; stroke: #e98232; stroke-width: 5; }
.cass-hair,.cass-fringe { fill: #16101d; }
.cass-face,.cass-arm { fill: #efbd91; stroke: #b96f57; stroke-width: 2; }
.cass-eye,.cass-smile { fill: none; stroke: #351f2e; stroke-width: 4; stroke-linecap: round; }
.cass-costume { fill: #562650; stroke: #e98232; stroke-width: 5; }
.cass-collar { fill: #ef8333; }
.cass-badge { fill: #fff2cf; stroke: #70213b; stroke-width: 3; }
.cass-badge-text { fill: #43172e; font: 800 14px sans-serif; }
.cass-ticket { fill: #f8e6b6; stroke: #9b292f; stroke-width: 3; }
.cass-ticket-text { fill: #7e1c2c; font: 800 13px Georgia,serif; }
.ticket-result { position: absolute; z-index: 7; top: 50%; left: 50%; width: min(82%,300px); height: 218px; transform: translate(18%,-5%) scale(.22) rotate(8deg); transform-style: preserve-3d; opacity: 0; pointer-events: none; transition: transform .8s cubic-bezier(.2,.8,.2,1),opacity .35s ease; }
.ticket-face { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; padding: 20px; color: #43172e; text-align: center; background: #f8e6b6; border: 3px solid #a8333d; border-radius: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.5),inset 0 0 0 5px #e3b966; backface-visibility: hidden; }
.ticket-face::before,.ticket-face::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; background: #100a17; border-radius: 50%; transform: translateY(-50%); }
.ticket-face::before { left: -10px; }.ticket-face::after { right: -10px; }
.ticket-face span { color: #8b1e31; font-weight: 900; letter-spacing: .16em; }
.ticket-face strong { font: 800 1.45rem Georgia,serif; }.ticket-face small { line-height: 1.35; }.ticket-face b { color: #8b1e31; }
.ticket-back { transform: rotateY(180deg); }
.door-scene.door-opening .door-panel { transform: rotateY(-108deg); filter: brightness(.55); }
.door-scene.door-opening .door-glow { opacity: 1; }
.door-scene.cass-arrived .cass-character { transform: translate(-50%,0) scale(1); opacity: 1; }
.door-scene.ticket-handed .ticket-result { transform: translate(-50%,-50%) scale(1) rotate(0); opacity: 1; }
.door-scene.ticket-open .ticket-result { transform: translate(-50%,-50%) scale(1) rotateY(180deg); }
.haunted-door form,.haunted-door .field-help { position: relative; z-index: 9; }
.haunted-door .field-help { color: #eee4d3; text-align: center; }
.trick-results { margin-top: 16px; }
.trick-result { padding-left: 12px; border-left: 5px solid var(--gold); }
.trick-result-trick { border-left-color: #9deb4d; }
.task-complete { color: #315f27 !important; font-weight: 900; }
.task-pending { color: #8d5a12 !important; font-weight: 900; }
.wheel-result { min-height: 3em; margin-top: 18px; font-size: 1rem; text-align: center; overflow-wrap: anywhere; }
.wheel-machine > .field-help { text-align: center; }
.wheel-prizes { padding-left: 2rem; margin: 0 0 24px; }
.wheel-prizes li { padding: 9px 0 9px 5px; border-bottom: 1px solid var(--line); }
.wheel-prizes li::marker { color: var(--red); font-weight: 800; }
.wheel-prizes li span { overflow-wrap: anywhere; }
.wheel-prizes li strong { display: inline-block; margin-left: 10px; color: var(--red); white-space: nowrap; }
.wheel-history summary { padding: 12px 0; min-height: 48px; cursor: pointer; font-weight: 800; }
.race-archive { display: grid; min-width: 0; gap: 12px; }
.race-results { min-width: 0; max-width: 100%; border-bottom: 1px solid var(--line); }
.race-results summary { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; cursor: pointer; }
.race-results summary span { display: grid; min-width: 0; gap: 3px; overflow-wrap: anywhere; }
.race-results summary small { color: var(--muted); }
.race-results .table-wrap { margin: 0 0 18px; }
.score-round-form { margin-top: 4px; }
.score-round-form .text-button { white-space: nowrap; }
.wheel-win-dialog { width: min(calc(100% - 36px), 420px); padding: 30px; text-align: center; background: var(--white); border: 3px solid var(--gold); box-shadow: var(--shadow); }
.wheel-win-dialog::backdrop { background: rgba(17,18,22,.78); }
.wheel-win-dialog h3 { margin-bottom: 8px; font-size: 2rem; }
.wheel-win-dialog .button { justify-content: center; margin-top: 20px; }
.wheel-win-number { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 20px; color: var(--white); background: var(--red); border: 4px solid var(--gold); border-radius: 50%; font: 800 2.5rem Georgia, serif; }
.wheel-editor-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(100px, .35fr); gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.wheel-editor-row[hidden] { display: none; }
.trick-editor-row { display: grid; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.trick-editor-row[hidden] { display: none; }
button:disabled { cursor: default; opacity: 1; color: #53565d; background: #e2ddd3; border-color: #bab6ae; box-shadow: none; }
.daily-card { margin-bottom: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.daily-card summary { min-height: 54px; padding: 14px 16px; cursor: pointer; }
.daily-card summary span { margin-left: 12px; color: #575a60; font-size: .83rem; }
.daily-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; padding: 4px 16px 18px; }
.daily-metrics div { border-top: 1px solid var(--line); padding-top: 8px; }
.daily-metrics dt { color: #575a60; font-size: .83rem; }
.daily-metrics dd { margin: 2px 0 0; font-weight: 800; }
.prize-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.prize-step { position: relative; isolation: isolate; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 17px 14px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prize-step > span, .prize-step > div { position: relative; z-index: 1; }
.prize-progress { position: absolute; inset: 0; width: 100%; height: 100%; appearance: none; border: 0; background: transparent; color: var(--red-fill); }
.prize-progress::-webkit-progress-bar { background: transparent; }
.prize-progress::-webkit-progress-value { background: var(--red-fill); }
.prize-progress::-moz-progress-bar { background: var(--red-fill); }
.prize-step:nth-child(5n) { border-right: 0; }
.prize-step > span { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: var(--grey); border-radius: 50%; font-weight: 900; }
.prize-step p { margin: 2px 0 0; color: #686a70; font-size: .78rem; }
.prize-reached { opacity: 1; }.prize-reached > span { background: var(--green); }
.prize-options { margin: 4px 0 0; border-collapse: collapse; }
.prize-options th, .prize-options td { padding: 1px 0; color: #686a70; font-size: .78rem; font-weight: 400; text-align: left; vertical-align: top; }
.prize-options th { padding-right: 8px; color: #5f6269; font-size: .75rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.prize-options td { overflow-wrap: anywhere; font-size: .88rem; color: #51545a; }
.prize-past > span { background: var(--grey); }
.prize-current { opacity: 1; box-shadow: inset 4px 0 var(--gold); }.prize-current > span { background: var(--gold); }
.prize-next { opacity: 1; background-repeat: no-repeat; }

.admin-head-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 220px; padding-block: 45px; }
.admin-head p { margin: 0; color: #bfc0c3; }
.admin-actions { display: flex; gap: 10px; }
.admin-section { scroll-margin-top: 130px; }
.admin-subnav { position: sticky; top: 74px; z-index: 40; width: 100%; max-width: none; padding-inline: max(20px, calc((100% - var(--shell))/2)); background: rgba(244,239,228,.97); backdrop-filter: blur(8px); }
.admin-two-col { align-items: start; }
.nested-form { margin-top: 18px; }
.admin-details { margin-top: 22px; padding: 13px; background: var(--paper); border: 1px solid var(--line); }
.admin-details summary, .editor-row summary { cursor: pointer; font-weight: 800; }
.space-above { margin-top: 30px; }
.archive-list { margin: 0; padding: 0; list-style: none; }
.archive-list li { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.archive-list li:last-child { border-bottom: 0; }
.archive-list span { display: grid; }.archive-list small { color: #71737a; }
.inline-form { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.inline-form select { width: auto; min-height: 36px; padding: .35rem .5rem; }
.mini-check { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; }
.bonus-history-toolbar { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bonus-history-toolbar p { margin: 0 0 6px; }
.bonus-history-toolbar form { flex: none; }
.bonus-history-summary { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 16px; padding: 16px 0; border-block: 1px solid var(--line); }
.bonus-history-summary div { min-width: 95px; }
.bonus-history-summary dt { color: #666970; font-size: .78rem; }
.bonus-history-summary dd { margin: 2px 0 0; font-size: 1.3rem; font-weight: 800; }
.bonus-history-errors { margin: 16px 0; padding: 12px 16px; border-left: 4px solid var(--red); background: var(--white); }
.bonus-history-errors p { margin: 0 0 10px; }
.bonus-history-errors ul { margin-bottom: 0; }
.bonus-history-table { width: max-content; min-width: 100%; font-size: .83rem; }
.bonus-history-table caption { padding: 10px 16px; text-align: left; font-weight: 700; }
.bonus-history-table th, .bonus-history-table td { min-width: 105px; padding: 10px 12px; text-align: center; white-space: nowrap; }
.bonus-history-table th:first-child { position: sticky; left: 0; z-index: 1; min-width: 180px; text-align: left; }
.bonus-history-table tbody th:first-child { background: var(--white); }
.bonus-history-table td small { margin-top: 1px; font-size: .7rem; }
.bonus-mark { font-size: 1.18rem; font-weight: 900; }
.bonus-yes { color: #176047; }.bonus-no { color: #9b2731; }.bonus-unknown { color: #777980; }
.compact-table { padding: 0; }
.dark-section .content-card { color: var(--ink); }
.editor-list { border-top: 3px solid var(--ink); }
.editor-row { background: var(--white); border-bottom: 1px solid var(--line); }
.editor-row summary { display: flex; justify-content: space-between; gap: 20px; padding: 17px 20px; }
.editor-row summary > span:first-child { display: grid; grid-template-columns: 115px 1fr; gap: 12px; }
.editor-row summary > span:last-child { color: var(--red); }
.editor-form { display: grid; grid-template-columns: minmax(220px, 2fr) 1fr 1fr auto auto; gap: 12px; align-items: end; padding: 20px; background: var(--paper); border-top: 1px solid var(--line); }
.riddle-editor-form { display: grid; gap: 15px; padding: 20px; background: var(--paper); border-top: 1px solid var(--line); }
.prize-editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prize-editor-grid .content-card { padding: 18px; }
.prize-editor-grid h3 { margin-bottom: 3px; }

.site-footer { color: #aeb0b4; background: #0c0d10; border-top: 1px solid #282a31; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; padding-block: 38px; font-size: .82rem; }
.footer-inner strong { color: #fff; }.footer-inner p { margin: 4px 0 0; }.footer-inner nav { display: flex; flex-wrap: wrap; align-items: start; gap: 18px; }.footer-inner a { color: #c5c6c8; }

@media (max-width: 1040px) {
  .bonus-history-toolbar { flex-direction: column; }
  .bonus-history-wrap .bonus-history-table thead { display: table-header-group; }
  .bonus-history-wrap .bonus-history-table tbody tr { display: table-row; padding: 0; }
  .bonus-history-wrap .bonus-history-table tbody tr > * { display: table-cell; width: auto; padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; }
  .bonus-history-wrap .bonus-history-table tbody tr > *:first-child { margin: 0; font-size: .83rem; text-align: left; }
  .bonus-history-wrap .bonus-history-table td::before { display: none !important; }
  .admin-two-col { grid-template-columns: minmax(0, 1fr); }
  .admin-head-grid { align-items: flex-start; flex-direction: column; }
  .admin-actions { flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr .78fr; gap: 35px; }
  .category-strip { grid-template-columns: repeat(4, 1fr); }
  .category-strip div:nth-child(4) { border-right: 0; }.category-strip div:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .rule-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-head-grid { grid-template-columns: 1fr auto; }.sync-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 15px; }.sync-card p { margin: 0; }
  .total-score { border-right: 0; }
  .prize-ladder { grid-template-columns: repeat(2, 1fr); }.prize-step:nth-child(5n) { border-right: 1px solid var(--line); }.prize-step:nth-child(2n) { border-right: 0; }
  .prize-editor-grid { grid-template-columns: repeat(2, 1fr); }
  .editor-form { grid-template-columns: 1fr 1fr; }.editor-form > label:first-of-type { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .wheel-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .trick-treat-grid { grid-template-columns: minmax(0,1fr); }
  .how-to-grid { grid-template-columns: minmax(0, 1fr); }
  .wheel-editor-row { grid-template-columns: minmax(0, 1fr); }
  .daily-desktop { display: none; }
  .daily-mobile { display: block; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding-block: 52px; }
  .header-inner { min-height: 66px; position: relative; }.brand small { display: none; }.brand img { width: 32px; height: 38px; }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 66px);
    padding: 8px;
    overflow-y: auto;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  }
  body.nav-open .main-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .main-nav > a, .nav-link { width: 100%; min-height: 50px; padding-inline: 14px; font-size: .95rem; }
  .main-nav > a.active { box-shadow: inset 4px 0 var(--gold); }
  .nav-form { width: 100%; }
  .nav-form .nav-link { width: 100%; justify-content: flex-start; }
  .hero-grid { display: block; min-height: 0; padding-block: 64px; }.hero-copy h1 { font-size: clamp(3rem, 14vw, 5rem); }.event-ticket { max-width: 520px; margin-top: 55px; transform: none; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }.category-strip div:nth-child(2n) { border-right: 0; }.category-strip div { border-bottom: 1px solid var(--line); }
  .split-copy, .admin-two-col, .auth-shell { grid-template-columns: 1fr; }.split-copy { margin-top: 45px; }.split-copy > div { padding: 0; }
  .rule-grid, .score-grid, .prize-editor-grid { grid-template-columns: 1fr; }
  .auth-shell { width: min(calc(100% - 28px), 620px); padding-block: 36px; }.auth-panel { padding: 28px 22px; }.key-guide { padding: 30px 22px; }
  .dashboard-head-grid { grid-template-columns: 1fr; gap: 24px; }.dashboard-head-grid { padding-block: 38px; }.total-score { justify-self: stretch; padding: 20px 0; border: 0; border-block: 1px solid rgba(255,255,255,.15); }.sync-card { grid-column: auto; display: block; }
  .section-heading { align-items: start; flex-direction: column; gap: 13px; }.section-heading > p { text-align: left; }
  .section-art { align-self: flex-end; width: 88px; height: 72px; margin: -58px 0 -4px; opacity: .9; }
  .leader-row { grid-template-columns: 40px 1fr 60px; gap: 9px; }.leader-categories { display: none; }.leader-score { font-size: 1.55rem; }
  .prize-ladder { grid-template-columns: 1fr; }.prize-step { border-right: 0; }
  .admin-head-grid { align-items: flex-start; flex-direction: column; }.admin-actions { width: 100%; flex-wrap: wrap; }.admin-actions .button { flex: 1; }
  .admin-subnav { position: static; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .editor-row summary { align-items: start; flex-direction: column; }.editor-row summary > span:first-child { grid-template-columns: 75px 1fr; }.editor-form { grid-template-columns: 1fr; }.editor-form > label:first-of-type { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }

  /* Data tables become stacked cards instead of horizontally scrolling. */
  .table-wrap thead { display: none; }
  .table-wrap tbody tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table-wrap tbody tr:last-child { border-bottom: 0; }
  .daily-table th:first-child { position: static; z-index: auto; background: none; }
  .table-wrap tbody tr > * { display: block; width: 100%; padding: 5px 0; border-bottom: 0; text-align: left; }
  .table-wrap tbody tr > *:first-child { margin-bottom: 6px; padding: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 800; }
  .table-wrap tbody tr td:not(:first-child)::before {
    display: block;
    margin-bottom: 2px;
    color: #6a6c72;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    content: attr(data-label);
  }
  .table-wrap tbody tr td[colspan] { padding: 10px 0; border-bottom: 0; color: #707279; font-size: .9rem; font-weight: 400; text-align: center; }
  .table-wrap tbody tr td[colspan]::before { content: none; }
  .inline-form select { width: 100%; }

  /* Riddle carousel: show a peek of the next card as a swipe affordance. */
  .riddle-track { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 85%; scroll-snap-type: x mandatory; }
  .riddle-card { scroll-snap-align: center; }
  .swipe-hint { display: block; margin: -10px 0 18px; color: #8a8c92; font-size: .78rem; text-align: center; }

  .tos-table div { grid-template-columns: 1fr; }
  .tos-table span { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
}

/* Browser-generated three-stage preview used for event announcements. */
body.stage-capture { min-width: 0; padding: 26px; color: #f8e6cc; background: radial-gradient(circle at top,#32142f 0,#100914 48%,#08060b 100%); }
.stage-capture .site-header,.stage-capture > main,.stage-capture > footer,.stage-capture > .flash { display: none !important; }
.stage-capture .stage-showcase { display: block !important; max-width: 1128px; margin: auto; }
.stage-showcase header { margin-bottom: 20px; text-align: center; }
.stage-showcase header span { color: #ff9d2e; font-weight: 900; letter-spacing: .18em; }
.stage-showcase h1 { margin: 3px 0; color: #fff4df; font-size: 2.2rem; }
.stage-showcase header p { margin: 0; color: #d9c8d4; }
.stage-showcase-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stage-showcase-card { padding: 10px; background: #1a0d20; border: 2px solid #6f3c28; box-shadow: 0 12px 35px #050307; }
.stage-showcase-card h2 { margin: 0 0 9px; color: #ffb45c; font: 900 .85rem sans-serif; letter-spacing: .1em; text-align: center; }
.stage-showcase-card .door-scene { height: 330px; }

@media (max-width: 440px) {
  .event-ticket { grid-template-columns: 68px 1fr; }.event-ticket::before, .event-ticket::after { left: 56px; }.ticket-body { padding: 28px 20px 24px; }
  .score-tile { padding: 18px; }.score-tile-top { grid-template-columns: auto 1fr; }.score-tile-top > strong { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .door-panel,.door-glow,.cass-character,.ticket-result { transition-duration: .01ms !important; }
  .dutchman-popup { transition-duration: .01ms !important; }
}

.dutchman-popup { position: fixed; right: clamp(8px,3vw,40px); bottom: 8px; z-index: 40; width: clamp(170px,18vw,240px); transform: translateY(110%); opacity: 0; filter: drop-shadow(0 12px 16px rgba(0,0,0,.7)); transition: transform .55s cubic-bezier(.18,.9,.28,1.2),opacity .35s ease; pointer-events: none; }
.dutchman-popup.is-visible { transform: translateY(0); opacity: 1; }
.dutchman-character { display: block; width: 100%; max-height: min(72vh,560px); overflow: visible; }
.dutchman-speech { position: absolute; z-index: 2; top: 5%; left: -32%; padding: 11px 18px; color: #42162e; font: 900 1.15rem Georgia,serif; background: #fff0c2; border: 3px solid #9e303d; border-radius: 50%; box-shadow: 0 6px 14px rgba(0,0,0,.35); transform: rotate(-7deg); }
.dutchman-speech::after { content: ''; position: absolute; right: -11px; bottom: 3px; width: 22px; height: 18px; background: #fff0c2; border-right: 3px solid #9e303d; transform: skew(28deg) rotate(12deg); }
.dutchman-close { position: absolute; z-index: 3; top: 1%; right: 0; width: 34px; height: 34px; padding: 0; color: #fff0c2; font: 700 1.4rem/1 sans-serif; background: #4a203b; border: 2px solid #e98232; border-radius: 50%; pointer-events: auto; }
.dutchman-cape { fill: #7e1c2c; stroke: #ec7e31; stroke-width: 5; }
.dutchman-head,.dutchman-ear { fill: #edbd94; stroke: #9c5e4d; stroke-width: 4; }
.dutchman-scalp-light { fill: none; stroke: #f6d1ad; stroke-width: 5; stroke-linecap: round; opacity: .65; }
.dutchman-beard { fill: #8d684f; opacity: .78; }
.dutchman-brow,.dutchman-smile { fill: none; stroke: #3a202a; stroke-width: 5; stroke-linecap: round; }
.dutchman-eye { fill: #5d94b9; stroke: #26384b; stroke-width: 1.5; }
.dutchman-glasses { fill: rgba(230,242,246,.16); stroke: #57464b; stroke-width: 2.5; }
.dutchman-nose { fill: none; stroke: #a16655; stroke-width: 3; stroke-linecap: round; }
.dutchman-collar { fill: #fff0d2; stroke: #24101f; stroke-width: 5; }
.dutchman-suit { fill: #302044; stroke: #100914; stroke-width: 5; }
.dutchman-shirt { fill: #eee6da; }
.dutchman-bow-red { fill: #ae1c28; }.dutchman-bow-blue { fill: #21468b; }.dutchman-bow-white { fill: #fff; }
.dutchman-leg { fill: #302044; stroke: #100914; stroke-width: 5; }
.dutchman-clog { fill: #dc9d3e; stroke: #6f3c28; stroke-width: 5; }
.dutchman-clog-detail { fill: none; stroke: #8f5b2b; stroke-width: 4; }

.prize-basket fieldset { border: 1px solid var(--line); padding: 20px; min-width: 0; }
.prize-basket fieldset:disabled { background: #e7e5df; color: #646464; }
.prize-basket fieldset:disabled .basket-options { opacity: .6; }
.prize-basket legend { font-weight: 800; padding: 0 8px; }
.basket-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-block: 20px; }
.basket-option { padding: 14px; border: 1px solid var(--line); background: var(--paper); min-width: 0; }
.basket-option label { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.basket-option strong, .basket-option small { display: block; overflow-wrap: anywhere; }
.basket-option input { width: 100%; min-width: 0; font-size: 16px; min-height: 44px; }
.basket-stepper { display: flex; gap: 8px; margin-top: 10px; }
.basket-stepper button { width: 48px; min-height: 44px; font-size: 20px; }
.basket-unaffordable { background: #e7e5df; }
.basket-summary { padding-block: 12px; overflow-wrap: anywhere; }
.request-card { margin-block: 24px; overflow-wrap: anywhere; }
.request-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.claim-panel { max-width: 1040px; margin-inline: auto; }
.claim-heading { display: block; margin-bottom: 24px; }
.claim-heading h2 { font-size: clamp(2rem, 4vw, 3rem); }
.claim-heading > p { max-width: none; text-align: left; margin-top: 12px; }
.claim-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); margin-bottom: 24px; }
.claim-dates > div { padding: 16px 0; }
.claim-dates span { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 5px; }
.claim-dates strong { display: block; font-size: .95rem; }
.claim-locked { display: flex; align-items: center; gap: 24px; padding: 24px; background: #e7e5df; border: 1px solid var(--line); }
.claim-locked > div { flex: 1; min-width: 0; }
.claim-locked h3 { font-size: 1.3rem; margin: 0 0 8px; }
.claim-locked p { margin: 0; color: #60616a; max-width: 58ch; }
.claim-locked .button { flex-shrink: 0; }
.basket-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); gap: 24px; align-items: start; margin-top: 20px; }
.basket-layout .basket-options { margin: 0; }
.basket-checkout { background: #eae5da; padding: 20px; min-width: 0; }
.basket-checkout .basket-summary { padding-top: 0; }
.basket-checkout .button { width: 100%; white-space: normal; }
.basket-stepper .button { padding: 0; }
@media (max-width: 760px) {
  .claim-dates { grid-template-columns: 1fr; }
  .claim-dates > div + div { border-top: 1px solid var(--line); }
  .claim-locked { flex-direction: column; align-items: stretch; padding: 20px; gap: 18px; }
  .basket-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .prize-basket fieldset { padding: 16px; }
  .haunted-door { min-height: 440px; }
  .door-scene { height: 305px; }
  .cass-character { width: min(62%,205px); }
  .ticket-result { width: min(88%,285px); }
  .ticket-face { padding: 18px; }
  .ticket-face strong { font-size: 1.3rem; }
  .chain-podiums,.chain-prize-explainer { grid-template-columns: minmax(0,1fr); }
  .chain-prize-explainer > img { width: 180px; }
  .dutchman-popup { right: 4px; width: min(48vw,190px); }
  .dutchman-speech { left: -22%; padding: 8px 13px; font-size: .95rem; }
}
:root{--ink:#101b25;--ink-2:#1a2b35;--ink-3:#28404a;--paper:#edf0eb;--paper-2:#d9e1dc;--white:#fcfcf6;--red:#8d2635;--red-bright:#b73b49;--gold:#d8b46d;--gold-soft:#f3d9a2;--green:#3b6957;--red-fill:rgba(141,38,53,.12)}
body::before{background:linear-gradient(90deg,#8d2635 0 42%,#d8b46d 42% 58%,#3b6957 58%)}
.home-hero{background:linear-gradient(90deg,rgba(8,18,25,.96) 0%,rgba(8,18,25,.8) 43%,rgba(8,18,25,.22) 85%),url('/assets/images/christmas-streets-hero-v2.png') 62% center/cover no-repeat,#101b25}
.home-hero::after{content:'✦'}
.site-header{background:rgba(11,25,32,.97)}
.ticket-stub{background:#8d2635}
.cass-hat{fill:#315e49;stroke:#d9bb79}.cass-costume{fill:#2d634e;stroke:#d9bb79}.cass-collar{fill:#f5e8cc}
.dutchman-coat{fill:#315e49;stroke:#b73b49;stroke-width:5}.dutchman-suit{fill:#3b6957;stroke:#14261f;stroke-width:5}
.christmas-showcase{padding-bottom:20px}.christmas-showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.christmas-showcase-grid article{min-height:230px;padding:30px;position:relative;overflow:hidden}.christmas-showcase-grid article h3{font-size:clamp(1.8rem,3vw,2.5rem)}.christmas-showcase-grid article p:last-child{max-width:35ch}.showcase-grotto{background:linear-gradient(125deg,rgba(14,34,41,.94),rgba(37,76,65,.84)),url('/assets/images/winter-door.svg') center/cover;color:#f8f4e7}.showcase-cracker{background:linear-gradient(125deg,rgba(82,22,35,.95),rgba(142,47,57,.85)),url('/assets/images/winter-apple.svg') center/cover;color:#f8f4e7}.christmas-showcase-grid .eyebrow{color:#e9cf97}.showcase-icon{float:right;color:#e9cf97;font:5rem Georgia,serif;line-height:1}
@media(max-width:700px){.christmas-showcase-grid{grid-template-columns:1fr}.hero-copy h1{font-size:clamp(2.9rem,12vw,4.5rem)}.event-ticket{min-height:280px}.hero-grid{padding-block:60px}}
.grotto-grinch{position:absolute;bottom:-14px;left:50%;z-index:2;width:min(55%,180px);transform:translate(-50%,42px) scale(.88);opacity:0;transition:transform .75s cubic-bezier(.2,.8,.2,1),opacity .45s ease}.grotto-grinch svg{display:block;width:100%;filter:drop-shadow(0 12px 10px rgba(0,0,0,.45))}.door-scene.grinch-arrived .grotto-grinch{transform:translate(-50%,0) scale(1);opacity:1}.door-scene.grinch-arrived .door-glow{background:radial-gradient(circle,#a9ce9c 0,rgba(78,139,82,.42) 30%,transparent 68%)}
@media(prefers-reduced-motion:reduce){.grotto-grinch{transition:none}}
.haunted-door{background:#102820;border-color:#102820;box-shadow:inset 0 0 0 5px #947345,inset 0 0 60px #07150f}.door-scene{background:radial-gradient(circle at 50% 45%,rgba(211,185,111,.26),transparent 46%),linear-gradient(#21443a,#0a1c1b);border-color:#9a794e}.door-panel{background:linear-gradient(145deg,rgba(8,25,23,.2),rgba(8,25,23,.88)),repeating-linear-gradient(90deg,#8f2736 0 58px,#6e1f2c 58px 65px);border-color:rgba(216,180,109,.65)}
.scene-guide,.scene-progress,.scene-apple,.scene-trick,.scene-riddles,.scene-leaderboard,.scene-daily,.scene-prizes{--section-scene:url('/assets/images/christmas-streets-hero-v2.png')}.section-scene::before{opacity:.12;background-position:center 45%}.dark-section.section-scene::before{opacity:.22}.section-scene:not(.dark-section)>.section-heading,.section-scene:not(.dark-section)>.claim-panel>.section-heading{background:rgba(237,240,235,.9);border-color:rgba(16,27,37,.16)}
