/* Loaded only when this meet has an allowlisted seasonal theme. */
body[data-event-theme="star-wars-vault"] :is(h1, h2, h3, .lr-topbar__title, .lr-flight-card__height, .lr-button) {
  font-family: "Star Jedi", Arial, sans-serif;
  font-weight: 400;
  overflow-wrap: anywhere;
  text-transform: lowercase;
}
body[data-event-theme="star-wars-vault"] .lr-topbar__titles > .event-yoda {
  width: 88px;
  height: 72px;
}
body[data-event-theme="star-wars-vault"] .lr-topbar__titles:has(.event-yoda) { grid-template-columns: minmax(0, 1fr) 88px; }
body[data-event-theme="star-wars-vault"] .live-results-card { background: var(--surface); }
body[data-event-theme="star-wars-vault"] .registration-code { background: var(--input-bg); }
@media (max-width: 420px) {
  body[data-event-theme="star-wars-vault"] .lr-topbar__titles > .event-yoda { width: 64px; height: 56px; }
  body[data-event-theme="star-wars-vault"] .lr-topbar__titles:has(.event-yoda) { grid-template-columns: minmax(0, 1fr) 64px; }
  body[data-event-theme="star-wars-vault"] .lr-topbar__title { font-size: 1.1rem; }
}
:is(.event-harvest, .event-workshop, .event-snowball, .event-yoda, .event-valentine) {
  display: block;
  width: 96px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}
.lr-topbar__titles:has(:is(.event-harvest, .event-workshop, .event-snowball, .event-yoda, .event-valentine)) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  column-gap: 8px;
}
.lr-topbar__titles > :is(.event-harvest, .event-workshop, .event-snowball, .event-yoda, .event-valentine) {
  width: 72px;
  height: 48px;
  grid-column: 2;
  grid-row: 1 / span 2;
}
@media (max-width: 360px) {
  .lr-topbar__titles:has(:is(.event-harvest, .event-workshop, .event-snowball, .event-yoda, .event-valentine)) { grid-template-columns: minmax(0, 1fr) 48px; }
  .lr-topbar__titles > :is(.event-harvest, .event-workshop, .event-snowball, .event-yoda, .event-valentine) { width: 48px; height: 40px; }
}
.event-pumpkins {
  display: block;
  width: 96px;
  height: 64px;
  object-fit: contain;
}
.lr-topbar__titles:has(.event-pumpkins) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  column-gap: 8px;
}
.lr-topbar__titles > .event-pumpkins {
  width: 72px;
  height: 48px;
  grid-column: 2;
  grid-row: 1 / span 2;
}
@media (max-width: 360px) {
  .lr-topbar__titles:has(.event-pumpkins) {
    grid-template-columns: minmax(0, 1fr) 48px;
  }
  .lr-topbar__titles > .event-pumpkins {
    width: 48px;
    height: 40px;
  }
}
body[data-event-theme] {
  --lr-panel: var(--surface);
  --lr-panel-high: var(--surface-muted);
  --lr-panel-soft: var(--input-bg);
  --lr-primary: var(--brand);
  --lr-primary-soft: var(--theme-glow);
  --lr-border: var(--border);
  --lr-pass: var(--text-muted);
  --text-soft: var(--text-muted);
  --primary: var(--brand);
  --primary-container: var(--theme-button);
  --primary-fixed: var(--brand);
  --surface-container: var(--surface);
  --surface-container-low: var(--surface-muted);
  --selection: var(--theme-glow);
  --focus-ring: var(--brand);
  background: var(--page-bg);
  color: var(--text);
  scrollbar-color: var(--brand) var(--surface);
}
body[data-event-theme] .lr-topbar,
body[data-event-theme] .lr-bottom-nav,
body[data-event-theme] > nav { background: var(--surface); }
body[data-event-theme] .lr-topbar__title,
body[data-event-theme] .lr-flight-card__height,
body[data-event-theme] a:not(.btn):not(.lr-bottom-nav__item) { color: var(--brand); }
body[data-event-theme] .lr-flight-hero { background: var(--surface); }
body[data-event-theme] .lr-topbar__eyebrow { font-size: 0.72rem; margin: 0; line-height: 1.4; letter-spacing: normal; }
body[data-event-theme] .lr-results-table,
body[data-event-theme] .results-table { background: var(--surface); }
body[data-event-theme] tr:hover td { background: var(--surface-muted); }
body[data-event-theme] .up-pill { background: var(--theme-button); color: var(--theme-button-text); }
body[data-event-theme] .current-up { background: var(--theme-glow); }
body[data-event-theme] .lr-current-up { background: var(--theme-glow); border-color: var(--brand); }
body[data-event-theme] .lr-button:not(.lr-button--secondary),
body[data-event-theme] .lr-segmented button[aria-pressed="true"],
body[data-event-theme] .lr-bottom-nav__item[aria-current="page"],
body[data-event-theme] .btn-purple { background: var(--theme-button); color: var(--theme-button-text); }
body[data-event-theme] .lr-pressable:focus-visible { outline-color: var(--brand); }
body[data-event-theme] .lr-select:focus,
body[data-event-theme] .lr-search:focus { box-shadow: 0 0 0 3px var(--theme-glow); }
body[data-event-theme] .lr-spinner { border-color: var(--theme-glow); border-top-color: var(--brand); }
body[data-event-theme="christmas-workshop"] .live-results-card { background: var(--surface); }
body[data-event-theme="christmas-workshop"] .live-results-card .registration-code { background: var(--input-bg); }
body[data-event-theme="christmas-workshop"] .live-results-card .copy-button:not(.copied) {
  background: var(--surface-muted);
  color: var(--text);
}
body:is([data-event-theme="halloween-harvest"], [data-event-theme="thanksgiving-rustic"], [data-event-theme="snowball-frozen-pond"]) {
  --lr-green: #22683e;
  --lr-red: #a52c33;
}
body:is([data-event-theme="halloween-harvest"], [data-event-theme="thanksgiving-rustic"], [data-event-theme="snowball-frozen-pond"]) .lr-badge--live { color: #a52c33; }
body:is([data-event-theme="halloween-harvest"], [data-event-theme="thanksgiving-rustic"], [data-event-theme="snowball-frozen-pond"]) .lr-badge--complete { color: #22683e; }

body[data-event-theme="snowball-frozen-pond"] .live-results-card {
  background: var(--surface);
}
body[data-event-theme="snowball-frozen-pond"] .live-results-copy-row .registration-code {
  background: var(--input-bg);
}

@media (prefers-color-scheme: dark) {
  body[data-event-theme="snowball-frozen-pond"] {
    --lr-green: #9debc0;
    --lr-red: #ffb0b5;
  }
  body[data-event-theme="snowball-frozen-pond"] .lr-badge--live { color: var(--lr-red); }
  body[data-event-theme="snowball-frozen-pond"] .lr-badge--complete { color: var(--lr-green); }
}

body[data-event-theme="valentine-paper-hearts"] {
  --lr-green: light-dark(#22683e, #99d5ad);
  --lr-red: light-dark(#a52c33, #ffb5bf);
}
body[data-event-theme="valentine-paper-hearts"] .lr-badge--live { color: var(--lr-red); }
body[data-event-theme="valentine-paper-hearts"] .lr-badge--complete { color: var(--lr-green); }
body[data-event-theme="valentine-paper-hearts"] .live-results-card { background: var(--surface); }
body[data-event-theme="valentine-paper-hearts"] .live-results-copy-row .registration-code { background: var(--input-bg); }
