:root {
  --ff-navy: #081a33;
  --ff-navy-2: #12315f;
  --ff-green: #2d6c77;
  --ff-green-2: #3d8ea0;
  --ff-gold: #89a8d8;
  --ff-gold-deep: #5f83be;
  --ff-sky: #edf4ff;
  --ff-sand: #eef3fa;
  --ff-offwhite: #f7faff;
  --ff-ink: #10233d;
  --ff-slate: #59708f;
  --ff-line: #cfdbeb;
  --ff-card: rgba(255, 255, 255, 0.94);
  --ff-shadow: 0 22px 48px rgba(8, 26, 51, 0.14);
  --ff-radius-lg: 24px;
  --ff-radius-md: 18px;
  --ff-radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ff-ink);
  background:
    radial-gradient(circle at top right, rgba(22, 68, 136, 0.18), transparent 24%),
    radial-gradient(circle at left 18%, rgba(31, 83, 153, 0.1), transparent 22%),
    linear-gradient(180deg, #eef4fd 0%, #f7faff 24%, #edf2f9 100%);
}

h1,
h2,
h3,
h4,
.brand-title,
.pill,
.button,
.nav-link,
.stat-value,
.prize-title,
.section-kicker,
.mini-kicker,
.badge,
.status-pill {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.topbar {
  background: var(--ff-navy);
  color: #fff;
  font-size: 0.95rem;
}

.topbar-inner,
.nav-inner,
.page-shell,
.footer-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(252, 251, 248, 0.88);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  min-width: 110px;
  height: 82px;
  border-radius: 20px;
  border: 1px solid rgba(16, 42, 67, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--ff-shadow);
  padding: 8px 10px;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-meta small {
  display: block;
  color: var(--ff-navy-2);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.brand-flag-logo {
  width: 150px;
  max-width: 32vw;
  height: auto;
}

.brand-title {
  font-size: 2.05rem;
  line-height: 0.95;
  color: var(--ff-navy);
}

.brand-subtitle {
  color: var(--ff-slate);
  font-size: 0.95rem;
}

.inline-link {
  color: var(--ff-navy-2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 1.15rem;
  color: var(--ff-navy);
}

.nav-link.active {
  color: var(--ff-green);
}

.admin-nav-toggle {
  display: none;
}

.admin-nav .nav-inner {
  position: relative;
  align-items: center;
}

.admin-nav .admin-nav-toggle {
  display: inline-flex;
  margin-left: auto;
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
}

.admin-nav .admin-nav-links {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  z-index: 30;
  width: min(340px, calc(100vw - 32px));
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  overflow: visible;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 42, 67, 0.08);
  box-shadow: 0 18px 34px rgba(8, 26, 51, 0.14);
}

.admin-nav .admin-nav-links.is-open {
  display: flex;
}

.admin-nav .admin-nav-links > * {
  width: 100%;
}

.admin-nav .nav-link,
.admin-nav .admin-nav-links .button {
  width: 100%;
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(180deg, #18427d, #0b2448);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 36, 72, 0.24);
}

.button-secondary {
  background: #fff;
  color: var(--ff-navy);
  border: 1px solid rgba(16, 42, 67, 0.12);
}

.button-gold {
  background: linear-gradient(180deg, #b9cff1, var(--ff-gold));
  color: var(--ff-navy);
  box-shadow: 0 12px 24px rgba(96, 144, 219, 0.22);
}

.button-link {
  color: var(--ff-green);
  font-weight: 800;
}

.page-shell {
  padding: 32px 0 88px;
}

.hero-grid,
.two-column,
.checkout-layout,
.confirmation-layout {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero {
  position: relative;
  padding: 36px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  box-shadow: var(--ff-shadow);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(23, 70, 139, 0.14);
}

.hero-home {
  background:
    linear-gradient(135deg, rgba(7, 23, 46, 0.98), rgba(13, 39, 77, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  color: #fff;
}

.hero-home-compact {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 240px;
  padding: 32px 40px;
}

.hero-home::before {
  width: 360px;
  height: 360px;
  background: rgba(96, 144, 219, 0.18);
}

.hero-mark-row {
  display: flex;
  align-items: center;
}

.hero-flag-logo {
  width: min(320px, 100%);
  height: auto;
}

.hero-home-copy {
  display: grid;
  justify-items: start;
  align-content: center;
}

.hero-eyebrow {
  color: var(--ff-navy-2);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-home .hero-eyebrow,
.hero-home h1 {
  color: #fff;
}

.hero-home-copy .hero-eyebrow {
  margin-bottom: 8px;
}

.hero-home-copy h1 {
  margin: 0;
  max-width: none;
}

.hero-stage {
  position: relative;
  display: grid;
  gap: 18px;
}

.hero-stage-card,
.stat-card,
.panel,
.mini-panel,
.prize-card,
.info-card,
.summary-card,
.receipt-card,
.empty-card,
.callout,
.trust-card {
  border-radius: var(--ff-radius-lg);
  background: var(--ff-card);
  border: 1px solid rgba(16, 42, 67, 0.08);
  box-shadow: var(--ff-shadow);
}

.hero-stage-card,
.panel,
.summary-card,
.receipt-card,
.trust-card,
.info-card,
.callout,
.empty-card {
  padding: 24px;
}

.mini-panel {
  padding: 18px;
}

.pill,
.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.pill {
  background: rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
}

.prize-meta {
  margin-bottom: 12px;
  color: var(--ff-navy-2);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-open {
  background: rgba(31, 122, 77, 0.14);
  color: var(--ff-green);
}

.badge-soon {
  background: rgba(96, 144, 219, 0.18);
  color: #7f5700;
}

.badge-grand {
  background: rgba(16, 42, 67, 0.12);
  color: var(--ff-navy);
}

h1 {
  margin: 14px 0 18px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.92;
  color: var(--ff-navy);
  max-width: 12ch;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.94;
  color: var(--ff-navy);
}

h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--ff-navy);
}

h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--ff-navy);
}

p {
  line-height: 1.55;
}

.lead,
.section-copy,
.muted {
  color: var(--ff-slate);
}

.home-dashboard-stack {
  display: grid;
  gap: 18px;
}

.home-dashboard-stack > .panel {
  width: 100%;
  max-width: none;
}

.event-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.event-status-hero {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at top right, rgba(255, 201, 71, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(16, 42, 67, 0.98), rgba(13, 75, 148, 0.94) 52%, rgba(31, 122, 77, 0.9));
  color: #fff;
  box-shadow: 0 24px 48px rgba(16, 42, 67, 0.22);
}

.event-status-hero h2,
.event-status-card h3 {
  margin: 0;
}

.event-status-hero .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.event-status-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.event-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-status-date {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.event-status-hero .muted {
  color: rgba(255, 255, 255, 0.82);
}

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

.event-status-chip-row .impact-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.event-status-card {
  border: 1px solid rgba(96, 144, 219, 0.18);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(235, 244, 255, 0.94));
}

.event-status-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
}

.team-leaderboard-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.98)),
    radial-gradient(circle at top right, rgba(96, 144, 219, 0.12), transparent 46%);
}

.team-leaderboard-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.team-leaderboard-head p {
  margin: 10px 0 0;
}

.team-leaderboard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(18, 49, 95, 0.08);
  border: 1px solid rgba(18, 49, 95, 0.12);
  color: var(--ff-navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-leaderboard-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.team-leaderboard-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(140px, 220px);
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.team-leaderboard-row:nth-child(1) {
  background: linear-gradient(90deg, rgba(24, 66, 125, 0.12), rgba(255, 255, 255, 0.96));
  border-color: rgba(24, 66, 125, 0.18);
}

.team-leaderboard-rank {
  min-width: 72px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #18427d, #0b2448);
  color: #fff;
  text-align: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-leaderboard-rank-gold {
  background: linear-gradient(180deg, #f4cc63, #c79218);
  box-shadow: 0 8px 18px rgba(199, 146, 24, 0.28);
}

.team-leaderboard-rank-silver {
  background: linear-gradient(180deg, #dfe6ef, #9da9b8);
  box-shadow: 0 8px 18px rgba(112, 125, 143, 0.24);
}

.team-leaderboard-rank-bronze {
  background: linear-gradient(180deg, #d8a27d, #9b5f2d);
  box-shadow: 0 8px 18px rgba(155, 95, 45, 0.24);
}

.team-leaderboard-rank-blue {
  background: linear-gradient(180deg, #18427d, #0b2448);
  box-shadow: 0 8px 18px rgba(24, 66, 125, 0.24);
}

.team-leaderboard-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.team-leaderboard-copy strong {
  color: var(--ff-navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  overflow-wrap: anywhere;
}

.team-leaderboard-copy span {
  color: var(--ff-slate);
  font-size: 0.96rem;
  font-weight: 700;
}

.team-leaderboard-progress {
  position: relative;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 49, 95, 0.1);
  box-shadow: inset 0 1px 2px rgba(8, 26, 51, 0.08);
  justify-self: end;
}

.team-leaderboard-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18427d, #3d8ea0);
  box-shadow: 0 6px 16px rgba(24, 66, 125, 0.22);
}

.team-leaderboard-empty {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(18, 49, 95, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.inventory-warning-section {
  padding-top: 0;
}

.inventory-warning-panel {
  display: grid;
  gap: 20px;
  border-width: 2px;
}

.inventory-warning-medium {
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.98), rgba(255, 244, 214, 0.98)),
    radial-gradient(circle at top right, rgba(214, 158, 46, 0.2), transparent 44%);
  border-color: rgba(214, 158, 46, 0.34);
}

.inventory-warning-high {
  background:
    linear-gradient(180deg, rgba(255, 244, 235, 0.98), rgba(255, 232, 214, 0.98)),
    radial-gradient(circle at top right, rgba(221, 107, 32, 0.22), transparent 44%);
  border-color: rgba(221, 107, 32, 0.34);
}

.inventory-warning-critical {
  background:
    linear-gradient(180deg, rgba(255, 239, 239, 0.98), rgba(255, 223, 223, 0.98)),
    radial-gradient(circle at top right, rgba(197, 48, 48, 0.18), transparent 44%);
  border-color: rgba(197, 48, 48, 0.34);
}

.inventory-warning-copy {
  display: grid;
  gap: 8px;
}

.inventory-warning-copy h3 {
  margin: 0;
}

.inventory-warning-copy p {
  margin: 0;
  color: var(--ff-navy);
  font-weight: 700;
}

.story-panel {
  display: grid;
  gap: 20px;
}

.how-it-works {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.how-it-works-head {
  display: grid;
  gap: 6px;
}

.how-it-works-head p {
  margin: 0;
}

.how-it-works-table {
  display: grid;
  border: 1px solid rgba(18, 49, 95, 0.12);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.how-it-works-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1.5fr;
}

.how-it-works-row + .how-it-works-row {
  border-top: 1px solid rgba(18, 49, 95, 0.1);
}

.how-it-works-row > div {
  padding: 16px 18px;
}

.how-it-works-header {
  background: linear-gradient(180deg, rgba(8, 26, 51, 0.94), rgba(18, 49, 95, 0.92));
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-it-works-step {
  color: var(--ff-navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-grid p {
  margin: 0 0 16px;
}

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

.impact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.impact-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 49, 95, 0.08);
  border: 1px solid rgba(18, 49, 95, 0.1);
  color: var(--ff-navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-actions,
.button-row,
.chip-row,
.summary-actions,
.nav-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.reassurance {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  padding: 12px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.06);
}

.status-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.status-banner.info {
  background: rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
}

.status-banner.warning {
  background: rgba(96, 144, 219, 0.18);
  color: #7f5700;
}

.status-banner.error {
  background: rgba(166, 27, 41, 0.12);
  color: #8b1e2d;
}

.status-banner.success {
  background: rgba(31, 122, 77, 0.12);
  color: #1f7a4d;
}

.stats-grid,
.steps-grid,
.prize-grid,
.card-grid,
.quick-grid,
.rules-grid,
.receipt-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.step-card,
.stat-card,
.quick-stat {
  padding: 22px;
}

.stat-value {
  font-size: 2.1rem;
  color: var(--ff-navy);
  line-height: 0.95;
  margin-bottom: 6px;
}

.section {
  padding-top: 36px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-kicker,
.mini-kicker {
  display: inline-block;
  color: var(--ff-green);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.prize-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.prize-grid-home {
  align-items: stretch;
}

.prize-card {
  padding: 16px;
}

.placeholder-prize-card {
  grid-column: span 2;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(233, 242, 255, 0.92));
  border: 1px solid rgba(96, 144, 219, 0.18);
  box-shadow: 0 18px 32px rgba(16, 42, 67, 0.08);
  border-radius: 24px;
}

.prize-card-body {
  display: grid;
  gap: 14px;
}

.placeholder-prize-card.is-closed {
  background: linear-gradient(180deg, rgba(230, 235, 242, 0.96), rgba(215, 221, 230, 0.94));
  border-color: rgba(90, 104, 123, 0.28);
  box-shadow: 0 14px 24px rgba(16, 42, 67, 0.08);
}

.placeholder-prize-card.is-closed .basket-photo {
  filter: grayscale(0.8) saturate(0.55);
}

.placeholder-prize-card.is-closed h3,
.placeholder-prize-card.is-closed .muted,
.placeholder-prize-card.is-closed .prize-winner-note {
  color: #4c5a6e;
}

.placeholder-prize-card h3 {
  margin: 0 0 8px;
  color: var(--ff-navy);
  font-size: 1.7rem;
  line-height: 0.98;
}

.basket-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 0;
  border: 1px solid rgba(16, 42, 67, 0.08);
  box-shadow: 0 14px 24px rgba(16, 42, 67, 0.1);
  background: #dfe8f5;
}

.basket-photo {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transform: scale(1.01);
}

.basket-section-head {
  align-items: end;
  margin-bottom: 20px;
}

.basket-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.prize-card-copy {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 0;
}

.prize-media {
  display: grid;
  place-items: center;
  min-height: 130px;
  border-radius: 16px;
  border: 2px dashed rgba(16, 42, 67, 0.16);
  background: linear-gradient(180deg, rgba(234, 244, 255, 0.85), rgba(255, 255, 255, 0.92));
  color: var(--ff-slate);
  text-align: center;
  padding: 10px;
  margin: 14px 0;
  font-weight: 700;
}

.prize-title {
  color: var(--ff-navy);
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1;
}

.prize-share {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 42, 67, 0.08);
  color: var(--ff-green);
  font-size: 0.98rem;
}

.prize-meta,
.split-row,
.summary-row,
.receipt-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.prize-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.12);
  color: var(--ff-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prize-status-chip.is-closed {
  background: rgba(90, 104, 123, 0.14);
  color: #5a687b;
}

.featured-grand-prize {
  grid-column: span 6;
  background:
    radial-gradient(circle at top right, rgba(255, 205, 84, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(244, 248, 255, 0.99), rgba(231, 241, 255, 0.96));
}

.featured-grand-prize .prize-card-body {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.featured-grand-prize .basket-photo-frame {
  min-height: 230px;
}

.featured-grand-prize .basket-photo {
  height: 230px;
}

.featured-grand-prize .prize-card-copy {
  gap: 6px;
}

.featured-grand-prize h3 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.featured-grand-prize .muted {
  max-width: 52ch;
  font-size: 1.04rem;
}

.prize-winner-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
  font-size: 0.98rem;
}

.assignment-prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.assignment-prize-card {
  padding: 16px;
  border: 1px solid rgba(96, 144, 219, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(239, 246, 255, 0.92));
}

.assignment-prize-card label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.assignment-prize-card.is-closed {
  background: linear-gradient(180deg, rgba(231, 236, 243, 0.95), rgba(221, 227, 236, 0.92));
  border-color: rgba(90, 104, 123, 0.24);
}

.assignment-prize-card.is-closed input {
  background: rgba(244, 246, 249, 0.96);
  color: #5a687b;
  cursor: not-allowed;
}

.assignment-prize-status {
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ff-green);
}

.assignment-prize-status.is-closed {
  color: #5a687b;
}

.assignment-prize-winner {
  margin-top: 6px;
  color: var(--ff-navy);
  font-size: 0.96rem;
  font-weight: 700;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--ff-line);
  padding-top: 12px;
  color: var(--ff-navy);
  font-weight: 700;
}

.feature-band,
.grand-panel,
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
}

.feature-band,
.cta-band {
  padding: 30px;
  background: linear-gradient(135deg, rgba(16, 42, 67, 0.98), rgba(31, 122, 77, 0.98));
  box-shadow: 0 26px 54px rgba(16, 42, 67, 0.24);
}

.grand-panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.96), rgba(24, 59, 86, 0.96));
  box-shadow: 0 24px 48px rgba(16, 42, 67, 0.26);
}

.grand-panel::before,
.feature-band::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -20px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(96, 144, 219, 0.18);
}

.grand-panel h3,
.cta-band h2,
.feature-band h3 {
  color: #fff;
}

.grand-panel p,
.grand-panel li,
.cta-band p,
.feature-band p {
  color: rgba(255, 255, 255, 0.84);
}

.two-column {
  grid-template-columns: 1.1fr 0.9fr;
}

.checkout-layout {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.summary-card {
  position: sticky;
  top: 108px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.live-total-card {
  align-content: center;
  min-height: 76px;
  padding: 18px 20px;
  border: 1px solid rgba(96, 144, 219, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(234, 244, 255, 0.88), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.live-total-label {
  display: inline-block;
  color: var(--ff-slate);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-total-card strong {
  color: var(--ff-navy);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ff-navy);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--ff-line);
  background: #fff;
  color: var(--ff-ink);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-row,
.radio-row {
  display: grid;
  gap: 10px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: start;
  color: var(--ff-slate);
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.quantity-control button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--ff-line);
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.quantity-value {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  color: var(--ff-navy);
}

.quick-grid {
  grid-template-columns: repeat(3, 1fr);
}

.claim-entry-list {
  display: grid;
  gap: 16px;
}

.claim-entry-card {
  padding: 18px;
  border-radius: var(--ff-radius-md);
  border: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(255, 255, 255, 0.75);
}

.claim-entry-card .field-grid {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}

.claim-entry-card .field:last-child {
  min-width: 0;
}

.claim-entry-remove {
  min-width: 120px;
}

.claim-entries-head {
  align-items: end;
  margin-bottom: 18px;
}

.quick-stat {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 42, 67, 0.08);
  box-shadow: var(--ff-shadow);
  color: var(--ff-navy);
  font-weight: 700;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}

.share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 16px;
  border: 1px solid rgba(16, 42, 67, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ff-navy);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.share-chip svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.share-chip:hover,
.share-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(13, 75, 148, 0.28);
  box-shadow: 0 14px 28px rgba(16, 42, 67, 0.12);
}

.share-chip:focus-visible {
  outline: 2px solid rgba(13, 75, 148, 0.22);
  outline-offset: 2px;
}

.share-chip-native {
  background: linear-gradient(180deg, #18427d, #0b2448);
  border-color: rgba(11, 36, 72, 0.24);
  color: #fff;
}

.share-chip-facebook {
  color: #1877f2;
}

.share-chip-facebook:hover,
.share-chip-facebook:focus-visible {
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.26);
}

.share-chip-x {
  color: #111827;
}

.share-chip-x:hover,
.share-chip-x:focus-visible {
  background: rgba(17, 24, 39, 0.08);
  border-color: rgba(17, 24, 39, 0.18);
}

.share-chip-email {
  color: #0b5cab;
}

.share-chip-email:hover,
.share-chip-email:focus-visible {
  background: rgba(11, 92, 171, 0.08);
  border-color: rgba(11, 92, 171, 0.2);
}

.share-chip-sms {
  color: #0f766e;
}

.share-chip-sms:hover,
.share-chip-sms:focus-visible {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.2);
}

.share-chip-copy {
  color: var(--ff-navy-2);
}

.share-chip-copy:hover,
.share-chip-copy:focus-visible {
  background: rgba(18, 49, 95, 0.08);
  border-color: rgba(18, 49, 95, 0.18);
}

.share-link {
  word-break: break-word;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trust-list,
.rules-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li,
.rules-list li {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.trust-list li:last-child,
.rules-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(31, 122, 77, 0.14);
  color: var(--ff-green);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.trust-list .dot {
  font-size: 0.95rem;
}

.confirmation-layout {
  grid-template-columns: 1fr 0.9fr;
}

.receipt-grid {
  grid-template-columns: repeat(2, 1fr);
}

.receipt-row,
.summary-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.receipt-row:last-child,
.summary-row:last-child {
  border-bottom: 0;
}

.label {
  color: var(--ff-slate);
}

.value {
  color: var(--ff-navy);
  font-weight: 700;
  text-align: right;
}

.footer {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(16, 42, 67, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--ff-slate);
}

.footer-inner > :first-child {
  justify-self: start;
}

.footer-inner > :last-child {
  justify-self: end;
}

.footer-link {
  color: var(--ff-slate);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ff-navy);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 42, 67, 0.58);
  backdrop-filter: blur(6px);
}

.modal-card {
  width: min(720px, 100%);
  max-height: min(85vh, 900px);
  overflow: auto;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 54px rgba(16, 42, 67, 0.24);
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-summary {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
}

.modal-meta {
  margin: 18px 0 8px;
}

.modal-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(234, 244, 255, 0.8);
  border: 1px solid rgba(16, 42, 67, 0.08);
}

.admin-shell,
.draw-shell {
  display: grid;
  gap: 24px;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-login-form {
  margin-top: 24px;
}

.admin-login-links {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.admin-login-links .button {
  width: min(100%, 320px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-grid-single {
  grid-template-columns: 1fr;
}

.admin-stat-grid {
  margin-top: 24px;
}

.admin-code-layout {
  display: grid;
  gap: 18px;
}

.scan-award-layout {
  display: grid;
  gap: 18px;
}

.scan-primary-actions,
.scan-player-actions,
.scan-manual-actions {
  display: grid;
  gap: 12px;
}

.scan-primary-actions .button,
.scan-player-actions .button,
.scan-manual-actions .button {
  width: 100%;
}

.scan-award-layout #adminScanResultsMount:empty {
  display: none;
}

.scan-camera-panel {
  display: grid;
  gap: 14px;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  border: 0;
}

.scan-camera-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #081a33;
  min-height: 280px;
}

.scan-camera-frame video {
  display: block;
  width: 100%;
  height: min(62vw, 420px);
  min-height: 280px;
  object-fit: cover;
  background: #081a33;
}

.scan-camera-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  background:
    linear-gradient(rgba(8, 26, 51, 0.18), rgba(8, 26, 51, 0.18)),
    linear-gradient(90deg, rgba(8, 26, 51, 0.55) 0%, rgba(8, 26, 51, 0.15) 22%, rgba(8, 26, 51, 0.15) 78%, rgba(8, 26, 51, 0.55) 100%);
}

.scan-camera-guide {
  width: min(78%, 420px);
  aspect-ratio: 2.5 / 1;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 0 0 999px rgba(8, 26, 51, 0.08);
  position: relative;
}

.scan-camera-guide::after {
  content: "";
  position: absolute;
  inset: 50% 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-50%);
}

.scan-camera-copy {
  display: grid;
  gap: 8px;
}

.scan-player-card {
  display: grid;
  gap: 18px;
}

.scan-player-card-empty {
  min-height: 220px;
  place-items: center;
  text-align: center;
}

.scan-player-empty-copy {
  display: grid;
  gap: 8px;
}

.scan-player-empty-copy h2,
.scan-player-head h2 {
  margin: 0;
}

.scan-player-head {
  display: grid;
  gap: 6px;
}

.scan-player-head .section-kicker,
.scan-player-head .muted {
  margin: 0;
}

.scan-player-note {
  margin: 0;
}

.scan-manual-modal {
  width: min(560px, 100%);
}

.scan-scanner-modal {
  width: min(560px, 100%);
}

.scan-manual-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.scan-manual-form {
  display: grid;
  gap: 16px;
}

.scan-scanner-modal .scan-camera-copy {
  padding: 0 2px;
}

@media (max-width: 760px) {
  .scan-scanner-modal,
  .scan-manual-modal {
    width: min(100%, calc(100vw - 24px));
  }

  .scan-camera-frame {
    min-height: 240px;
  }

  .scan-camera-frame video {
    height: min(72vw, 360px);
    min-height: 240px;
  }
}

.lanyard-toolbar {
  display: grid;
  gap: 12px;
}

.lanyard-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.lanyard-summary-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(18, 49, 95, 0.06);
  border: 1px solid rgba(16, 42, 67, 0.08);
}

.lanyard-summary-card strong {
  font-size: 2rem;
  line-height: 0.95;
}

.admin-code-row-list {
  display: grid;
  gap: 12px;
}

.admin-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.admin-code-input-group {
  display: grid;
  gap: 8px;
}

.admin-code-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.admin-code-input-shell input {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.admin-code-dash {
  color: var(--ff-navy);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.admin-directory-select {
  min-height: 260px;
}

.admin-directory-select option {
  padding: 10px 12px;
}

.admin-code-results {
  display: grid;
  gap: 12px;
}

.admin-queue-list,
.admin-activity-list,
.draw-control-list,
.admin-table {
  display: grid;
  gap: 12px;
}

.admin-queue-row,
.admin-activity-row,
.admin-table-head,
.admin-table-row {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.admin-queue-button {
  width: 100%;
  text-align: left;
}

.admin-queue-button.is-active {
  border-color: rgba(31, 122, 77, 0.35);
  box-shadow: 0 12px 24px rgba(31, 122, 77, 0.12);
}

.admin-queue-row,
.admin-table-head,
.admin-table-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  align-items: center;
}

.admin-queue-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.admin-activity-row p {
  margin: 8px 0;
}

.admin-code-lookup-controls {
  align-items: center;
  flex-wrap: wrap;
}

.admin-code-lookup-status {
  display: inline-grid;
  gap: 2px;
  min-height: 48px;
  align-content: center;
  min-width: 220px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ff-slate);
}

.admin-code-lookup-status strong {
  color: var(--ff-navy);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-code-lookup-status span {
  font-size: 0.95rem;
}

.admin-code-lookup-status.success {
  border-color: rgba(31, 122, 77, 0.25);
  background: rgba(240, 251, 244, 0.92);
}

.admin-code-lookup-status.warning {
  border-color: rgba(184, 115, 0, 0.25);
  background: rgba(255, 248, 228, 0.94);
}

.admin-code-lookup-status.error {
  border-color: rgba(199, 67, 58, 0.2);
  background: rgba(255, 242, 240, 0.94);
}

.leaderboard-table .admin-table-head,
.leaderboard-table .admin-table-row {
  grid-template-columns: 88px minmax(180px, 1.4fr) minmax(160px, 1.1fr) 140px 140px;
  align-items: center;
}

.leaderboard-table .admin-table-head {
  background: rgba(16, 42, 67, 0.06);
}

.leaderboard-table .admin-table-row strong {
  display: block;
}

.leaderboard-table .admin-table-row small {
  display: block;
  margin-top: 4px;
}

.draw-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.draw-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.draw-shell {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: start;
}

.draw-stage,
.live-draw-stage {
  min-height: 72vh;
}

.draw-stage,
.live-draw-stage,
.live-frame {
  border-radius: 28px;
}

.live-draw-page {
  background:
    radial-gradient(circle at top, rgba(96, 144, 219, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(31, 122, 77, 0.14), transparent 20%),
    linear-gradient(180deg, #071521 0%, #102a43 100%);
}

.live-frame {
  min-height: 72vh;
  padding: 36px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(96, 144, 219, 0.22), transparent 24%),
    linear-gradient(145deg, rgba(7, 21, 33, 0.98), rgba(16, 42, 67, 0.98));
  box-shadow: 0 30px 70px rgba(7, 21, 33, 0.35);
  display: grid;
  gap: 28px;
  align-content: start;
}

.live-status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.live-stage-copy h1 {
  color: #fff;
  max-width: none;
}

.live-stage-copy p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.84);
}

.live-standby-frame {
  gap: 36px;
}

.live-standby-hero {
  display: grid;
  gap: 24px;
}

.live-standby-brand {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.live-standby-logo {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.live-standby-logo img {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
}

.live-standby-hero h1 {
  margin: 8px 0 14px;
  max-width: none;
  color: #fff;
  font-size: clamp(4.2rem, 10vw, 8rem);
}

.live-standby-hero p {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
}

.live-standby-board {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.live-standby-head {
  margin-bottom: 18px;
}

.live-standby-head h2,
.live-standby-head .section-copy {
  color: #fff;
}

.live-standby-head .section-copy {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.78);
}

.live-standby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.live-standby-prize {
  min-height: 170px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)),
    rgba(7, 21, 33, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  align-content: start;
  gap: 12px;
}

.live-standby-prize.is-closed {
  opacity: 0.72;
}

.live-standby-prize-head {
  display: grid;
  gap: 8px;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
}

.live-standby-prize-status {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-standby-prize strong {
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
}

.live-standby-prize p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.live-spinner,
.live-winner-card {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.live-winner-card {
  position: relative;
  overflow: hidden;
  padding: 42px 28px;
  background:
    radial-gradient(circle at top, rgba(255, 215, 102, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.live-winner-card > div:last-child {
  position: relative;
  z-index: 2;
}

.live-winner-eyebrow {
  margin-bottom: 14px;
  color: #ffd76d;
  text-shadow: 0 0 18px rgba(255, 215, 102, 0.32);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.live-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  top: -18%;
  width: 14px;
  height: 30px;
  border-radius: 999px;
  opacity: 0.92;
  animation: confettiFall 3.8s linear infinite, confettiSpin 1.4s ease-in-out infinite alternate;
}

.confetti-a { left: 8%; background: #ffd76d; animation-delay: 0s; }
.confetti-b { left: 18%; background: #5fb0ff; animation-delay: 0.35s; }
.confetti-c { left: 31%; background: #4dd18d; animation-delay: 0.7s; }
.confetti-d { left: 44%; background: #ffffff; animation-delay: 1.05s; }
.confetti-e { left: 58%; background: #ffd76d; animation-delay: 0.2s; }
.confetti-f { left: 69%; background: #5fb0ff; animation-delay: 0.9s; }
.confetti-g { left: 82%; background: #4dd18d; animation-delay: 0.55s; }
.confetti-h { left: 92%; background: #ffffff; animation-delay: 1.25s; }

.confetti-a,
.confetti-e {
  transform: rotate(12deg);
}

.confetti-b,
.confetti-f {
  height: 22px;
  transform: rotate(-18deg);
}

.confetti-c,
.confetti-g {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.confetti-d,
.confetti-h {
  width: 10px;
  height: 26px;
  transform: rotate(28deg);
}

.live-spinner.spinning {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.live-spinner {
  gap: 18px;
  padding: 24px;
}

.live-spinner-meta-row {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.live-spinner-stat {
  padding: 14px 16px;
  text-align: center;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(7, 21, 33, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.live-spinner-stat span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 6px;
}

.live-spinner-stat strong {
  display: block;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1;
  min-height: 1.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-stage-shell {
  position: relative;
  width: min(1080px, 100%);
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 215, 109, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 21, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px rgba(7, 21, 33, 0.28);
}

.live-stage-panel {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
  margin-inline: auto;
}

.live-stage-kicker {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-stage-display {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.live-stage-display-label {
  color: rgba(255, 255, 255, 0.64);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.live-stage-display-name {
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(4rem, 10vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    0 10px 36px rgba(7, 21, 33, 0.32),
    0 0 32px rgba(95, 176, 255, 0.16);
}

.live-spinner-wheel {
  position: relative;
  width: min(760px, 92%);
  height: 392px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at center, rgba(96, 144, 219, 0.12), transparent 60%);
}

.live-spinner-wheel::before,
.live-spinner-wheel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 108px;
  z-index: 2;
  pointer-events: none;
}

.live-spinner-wheel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(7, 21, 33, 0.95), rgba(7, 21, 33, 0));
}

.live-spinner-wheel::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(7, 21, 33, 0), rgba(7, 21, 33, 0.95));
}

.live-spinner-focus {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 50%;
  height: 96px;
  transform: translateY(-50%);
  border-radius: 22px;
  border: 2px solid rgba(96, 144, 219, 0.84);
  box-shadow: 0 0 42px rgba(96, 144, 219, 0.28);
  background: linear-gradient(90deg, rgba(96, 144, 219, 0.08), rgba(255, 255, 255, 0.02), rgba(96, 144, 219, 0.08));
  pointer-events: none;
  z-index: 4;
}

.live-spinner-glow {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  height: 132px;
  transform: translateY(-50%);
  border-radius: 26px;
  background: radial-gradient(circle at center, rgba(96, 144, 219, 0.26), rgba(96, 144, 219, 0));
  pointer-events: none;
  z-index: 3;
}

.live-spinner-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.live-spinner-track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 153px 0 153px;
  will-change: transform;
}

.live-spinner-chip {
  position: relative;
  min-height: 94px;
  margin: 0 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(7, 21, 33, 0.62);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.9;
  will-change: transform, opacity;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
  transform: scale(0.98);
}

.live-spinner-chip.active {
  background: rgba(96, 144, 219, 0.18);
  border-color: rgba(96, 144, 219, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 84, 0.3);
  opacity: 1;
  transform: scale(1.02);
}

.live-spinner.is-landed .live-spinner-chip.active {
  background: linear-gradient(180deg, rgba(255, 205, 84, 0.28), rgba(96, 144, 219, 0.2));
  border-color: rgba(255, 205, 84, 0.82);
  box-shadow:
    0 0 38px rgba(255, 205, 84, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.live-spinner-chip.is-mid {
  opacity: 0.72;
}

.live-spinner-chip.is-far {
  opacity: 0.4;
}

.live-spinner-chip-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.live-spinner-chip strong {
  display: -webkit-box;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.42rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-wrap: balance;
}

.live-spinner-chip span {
  display: -webkit-box;
  font-size: 0.92rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.82);
  width: 100%;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-wrap: balance;
}

.live-spinner-text {
  max-width: 30ch;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: balance;
}

.live-spinner.is-revealing .live-spinner-focus {
  box-shadow:
    0 0 56px rgba(96, 144, 219, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: box-shadow 800ms ease;
}

.live-queued-card {
  width: min(760px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top, rgba(96, 144, 219, 0.12), transparent 55%);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.live-queued-meta-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.live-winner-card h2 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 5rem);
  text-shadow: 0 10px 32px rgba(7, 21, 33, 0.28);
  position: relative;
  z-index: 2;
}

.live-winner-card p {
  position: relative;
  z-index: 2;
}

.live-stage-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.live-stage-orb,
.live-stage-beam {
  position: absolute;
}

.live-stage-orb {
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.9;
}

.live-stage-orb-large {
  width: 420px;
  height: 420px;
  left: -60px;
  top: -90px;
  background: radial-gradient(circle, rgba(95, 176, 255, 0.24), rgba(95, 176, 255, 0));
  animation: stageFloat 9s ease-in-out infinite;
}

.live-stage-orb-small {
  width: 280px;
  height: 280px;
  right: -40px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(255, 215, 109, 0.2), rgba(255, 215, 109, 0));
  animation: stageFloat 7s ease-in-out infinite reverse;
}

.live-stage-beam {
  left: 50%;
  top: -18%;
  width: 46%;
  height: 135%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  opacity: 0.42;
}

@keyframes confettiFall {
  0% {
    transform: translate3d(0, -10%, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.95;
  }
  100% {
    transform: translate3d(0, 128vh, 0) rotate(280deg);
    opacity: 0;
  }
}

@keyframes confettiSpin {
  0% {
    margin-left: -8px;
  }
  100% {
    margin-left: 8px;
  }
}

@keyframes stageFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.05);
  }
}

.live-home-overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 90;
  display: grid;
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  align-items: start;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 480ms ease, transform 480ms ease;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.live-home-overlay.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.live-home-overlay .live-frame {
  width: min(100%, 1280px);
  min-height: calc(100dvh - 48px);
  margin-inline: auto;
}

.live-home-overlay .live-spinner.spinning {
  animation: stagePulse 1.3s ease-in-out infinite alternate;
}

.live-home-overlay .live-winner-card {
  animation: stagePulse 2.2s ease-in-out infinite alternate;
}

.live-home-overlay[hidden] {
  display: none;
}

body.live-draw-active {
  overflow: hidden;
}

body.live-draw-active .topbar,
body.live-draw-active .nav,
body.live-draw-active main,
body.live-draw-active .footer {
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
}

body.live-draw-active .topbar,
body.live-draw-active .nav,
body.live-draw-active main,
body.live-draw-active .footer {
  opacity: 0.16;
  transform: scale(0.985);
  filter: blur(8px);
}

.draw-sidebar {
  display: grid;
  gap: 18px;
}

.event-preflight-card {
  display: grid;
  gap: 18px;
}

.event-preflight-date {
  margin: 0;
  color: var(--ff-slate);
  font-weight: 700;
}

.event-preflight-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.event-preflight-stats .quick-stat {
  padding: 18px;
}

.event-preflight-list {
  display: grid;
  gap: 12px;
}

.event-preflight-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(16, 42, 67, 0.08);
  background: rgba(247, 250, 255, 0.9);
}

.event-preflight-row.is-done {
  border-color: rgba(31, 122, 77, 0.22);
  background: rgba(240, 250, 245, 0.92);
}

.event-preflight-row p {
  margin: 6px 0 0;
  color: var(--ff-slate);
}

.event-preflight-mark {
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(16, 42, 67, 0.08);
  color: var(--ff-navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.event-preflight-row.is-done .event-preflight-mark {
  background: rgba(31, 122, 77, 0.14);
  color: var(--ff-green);
}

.draw-control-list {
  gap: 10px;
}

.admin-prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.admin-prize-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(96, 144, 219, 0.18);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(237, 244, 255, 0.94));
}

.admin-prize-card textarea {
  min-height: 120px;
}

.dashboard-player-grid {
  display: grid;
  gap: 18px;
}

.player-dashboard-card .quick-grid {
  margin-top: 16px;
}

.milestone-progress {
  margin-top: 18px;
  padding: 18px 20px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(236, 244, 255, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(96, 144, 219, 0.18);
}

.milestone-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 14px;
  color: var(--ff-navy);
}

.milestone-progress-head strong {
  font-size: 1rem;
}

.milestone-progress-head span {
  font-weight: 800;
  color: var(--ff-navy-2);
}

.milestone-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(18, 49, 95, 0.1);
  overflow: visible;
}

.milestone-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18427d, #1f7a4d);
  box-shadow: 0 8px 18px rgba(24, 66, 125, 0.22);
}

.milestone-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(24, 66, 125, 0.34);
  box-shadow: 0 4px 10px rgba(16, 42, 67, 0.14);
}

.milestone-marker.reached {
  background: #1f7a4d;
  border-color: #1f7a4d;
}

.milestone-marker span {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ff-slate);
  font-size: 0.82rem;
  font-weight: 800;
}

.milestone-progress-note {
  margin: 20px 0 0;
}

.guaranteed-reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.guaranteed-reward-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 42, 67, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.guaranteed-reward-card.is-unlocked {
  background: linear-gradient(180deg, rgba(236, 244, 255, 0.96), rgba(255, 255, 255, 0.98));
  border-color: rgba(96, 144, 219, 0.24);
}

.guaranteed-reward-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 10px;
}

.guaranteed-reward-head strong {
  display: block;
  color: var(--ff-green);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guaranteed-reward-head h4 {
  margin-top: 6px;
}

.guaranteed-totals-table .admin-table-head,
.guaranteed-totals-table .admin-table-row {
  grid-template-columns: 0.9fr 1.2fr 1.2fr 0.6fr;
}

.guaranteed-player-table .admin-table-head,
.guaranteed-player-table .admin-table-row {
  grid-template-columns: 1fr 1fr 0.6fr 1.4fr;
}

.guaranteed-player-rewards {
  display: grid;
  gap: 8px;
}

.guaranteed-player-reward-row {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(18, 49, 95, 0.06);
}

.guaranteed-player-reward-row.is-pending {
  background: rgba(255, 205, 84, 0.14);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.code-block {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(7, 21, 33, 0.92);
  color: #f8fafc;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-table-head,
.admin-table-row {
  grid-template-columns: 0.9fr 0.9fr 1.1fr 0.9fr 1.1fr;
}

@keyframes stagePulse {
  from {
    box-shadow: 0 0 0 rgba(96, 144, 219, 0.12);
    border-color: rgba(255, 255, 255, 0.14);
  }
  to {
    box-shadow: 0 0 40px rgba(96, 144, 219, 0.18);
    border-color: rgba(255, 205, 84, 0.32);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .checkout-layout,
  .two-column,
  .confirmation-layout {
    grid-template-columns: 1fr;
  }

  .admin-grid,
  .draw-shell {
    grid-template-columns: 1fr;
  }

  .event-status-grid,
  .event-preflight-stats {
    grid-template-columns: 1fr;
  }

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

  .placeholder-prize-card,
  .featured-grand-prize {
    grid-column: span 1;
  }

  .featured-grand-prize .prize-card-body {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-card {
    position: static;
  }

  .claim-entry-card .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-code-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-code-row > :last-child {
    grid-column: 1 / -1;
  }

  .scan-camera-frame video {
    height: min(72vw, 360px);
  }

  .live-spinner-meta-row {
    grid-template-columns: 1fr;
  }

  .live-standby-brand,
  .live-standby-grid {
    grid-template-columns: 1fr;
  }

  .draw-action-grid {
    grid-template-columns: 1fr;
  }

  .live-stage-shell {
    min-height: 430px;
  }

  .live-stage-panel {
    width: min(760px, calc(100% - 36px));
  }

  .live-queued-meta-row {
    grid-template-columns: 1fr;
  }

  .hero-home-compact {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: unset;
  }

  .hero-home-copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 760px) {
  body[data-page="admin-fundraiser-scan"] .topbar {
    display: none;
  }

  .hero-home-compact {
    padding: 28px 24px;
    gap: 14px;
  }

  .hero-mark-row {
    margin-bottom: 0;
  }

  .hero-flag-logo {
    width: min(250px, 72vw);
  }

  .hero-home-copy .hero-eyebrow {
    margin-bottom: 6px;
  }

  .team-leaderboard-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .team-leaderboard-progress {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .nav-inner,
  .brand,
  .nav-links {
    align-items: flex-start;
  }

  .admin-nav-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    font-size: 1rem;
  }

  .admin-nav .nav-inner {
    align-items: stretch;
  }

  .admin-nav .admin-nav-toggle {
    margin-left: 0;
  }

  .admin-nav .admin-nav-links {
    position: static;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 2px;
    box-shadow: 0 14px 28px rgba(8, 26, 51, 0.12);
  }

  .nav-inner,
  .topbar-inner,
  .section-head {
    flex-direction: column;
  }

  .topbar {
    font-size: 0.78rem;
  }

  .topbar-inner {
    gap: 6px;
    padding: 8px 0;
  }

  .nav-inner {
    gap: 12px;
    padding: 10px 0 12px;
  }

  .brand {
    width: 100%;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .logo-box {
    width: 72px;
    min-width: 72px;
    height: 56px;
    padding: 6px 8px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(8, 26, 51, 0.12);
  }

  .brand-meta {
    min-width: 0;
    flex: 1;
  }

  .brand-meta small {
    font-size: 0.64rem;
    margin-bottom: 0;
  }

  .brand-title {
    font-size: 1.55rem;
  }

  .brand-subtitle {
    display: none;
  }

  .brand-flag-logo {
    display: none;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links > * {
    flex: 0 0 auto;
  }

  .nav-link {
    font-size: 1rem;
    white-space: nowrap;
  }

  .nav-links .button {
    min-height: 40px;
    padding: 0 16px;
    font-size: 1rem;
    white-space: nowrap;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner > :first-child,
  .footer-inner > :last-child {
    justify-self: center;
  }

  .field-grid,
  .receipt-grid,
  .quick-grid,
  .stats-grid,
  .steps-grid,
  .story-grid,
  .admin-table-head,
  .admin-table-row {
    grid-template-columns: 1fr;
  }

  .prize-grid {
    grid-template-columns: 1fr;
  }

  .placeholder-prize-card,
  .featured-grand-prize {
    grid-column: span 1;
  }

  .basket-photo-frame,
  .featured-grand-prize .basket-photo-frame {
    min-height: 200px;
  }

  .basket-photo,
  .featured-grand-prize .basket-photo {
    height: 200px;
  }

  .how-it-works-row {
    grid-template-columns: 1fr;
  }

  .how-it-works-header {
    display: none;
  }

  .how-it-works-row > div {
    padding: 14px 16px;
  }

  .how-it-works-step {
    padding-bottom: 0;
  }

  .page-shell {
    padding-top: 16px;
  }

  body[data-page="admin-fundraiser-scan"] .page-shell {
    padding-top: 12px;
  }

  body[data-page="admin-fundraiser-scan"] .brand {
    gap: 10px;
  }

  body[data-page="admin-fundraiser-scan"] .logo-box {
    width: 64px;
    min-width: 64px;
    height: 52px;
    border-radius: 14px;
  }

  body[data-page="admin-fundraiser-scan"] .brand-meta small {
    font-size: 0.62rem;
  }

  body[data-page="admin-fundraiser-scan"] .brand-title {
    font-size: 1.4rem;
  }

  body[data-page="admin-fundraiser-scan"] .panel {
    padding: 16px;
  }

  .scan-award-layout {
    gap: 14px;
  }

  .scan-player-card {
    gap: 12px;
    padding: 18px;
  }

  .scan-player-card-empty {
    min-height: 144px;
  }

  .scan-player-head h2 {
    font-size: clamp(2rem, 8.8vw, 2.7rem);
    line-height: 0.92;
  }

  .scan-player-head .muted {
    font-size: 0.98rem;
    line-height: 1.28;
  }

  .scan-primary-actions {
    gap: 10px;
  }

  .scan-primary-actions .button,
  .scan-player-actions .button {
    min-height: 56px;
    font-size: 1.26rem;
  }

  .scan-camera-panel {
    padding: 14px;
    border-radius: 16px;
  }

  .scan-camera-frame {
    min-height: 208px;
  }

  .scan-camera-frame video {
    height: min(58vw, 250px);
    min-height: 208px;
  }

  .scan-manual-modal {
    width: 100%;
    max-height: 88vh;
    padding: 18px;
    border-radius: 24px 24px 0 0;
    align-self: end;
  }

  .scan-manual-modal-head {
    margin-bottom: 14px;
  }

  .scan-manual-form {
    gap: 14px;
  }

  .admin-directory-select {
    min-height: 220px;
  }

  .hero {
    padding: 20px;
  }

  .admin-login-links .button {
    width: 100%;
  }

  h1 {
    max-width: none;
  }

  .claim-entry-card .field-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-table .admin-table-head {
    display: none;
  }

  .leaderboard-table .admin-table-row {
    grid-template-columns: 1fr;
  }

  .admin-code-row,
  .admin-code-input-shell {
    grid-template-columns: 1fr;
  }

  .admin-code-dash {
    justify-self: center;
  }

  .scan-camera-frame video {
    height: 72vw;
    min-height: 240px;
  }

  .scan-camera-guide {
    width: 86%;
  }

  .lanyard-card {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .live-winner-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
  }

  .draw-stage,
  .live-draw-stage,
  .live-frame {
    min-height: auto;
    border-radius: 22px;
  }

  .live-frame {
    width: 100%;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(18px + env(safe-area-inset-bottom, 0px));
    gap: 16px;
  }

  .live-home-overlay {
    height: 100dvh;
    padding: 8px;
  }

  .live-home-overlay .live-frame {
    min-height: auto;
  }

  .live-status-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .live-status-row .pill,
  .live-status-row .status-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .live-stage-copy {
    gap: 10px;
  }

  .live-stage-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .live-standby-frame {
    gap: 24px;
  }

  .live-standby-hero,
  .live-standby-board {
    gap: 18px;
  }

  .live-standby-brand {
    gap: 18px;
  }

  .live-standby-logo {
    min-height: 140px;
    padding: 20px;
  }

  .live-standby-logo img {
    max-width: 112px;
  }

  .live-standby-hero h1 {
    margin: 4px 0 10px;
    font-size: clamp(2.6rem, 15vw, 4.2rem);
    line-height: 0.94;
  }

  .live-standby-hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .live-stage-shell {
    min-height: 0;
    width: 100%;
    padding: 12px 0;
  }

  .live-stage-panel {
    width: 100%;
    gap: 14px;
  }

  .live-stage-display-name {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 0.98;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .live-stage-kicker,
  .live-spinner-text {
    letter-spacing: 0.06em;
  }

  .live-stage-kicker {
    width: 100%;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .live-stage-display {
    gap: 8px;
  }

  .live-stage-display-label {
    font-size: 0.84rem;
    letter-spacing: 0.16em;
  }

  .live-spinner-wheel {
    width: 100%;
    height: min(240px, 42dvh);
    border-radius: 20px;
  }

  .live-spinner-track {
    padding-block: 83px;
  }

  .live-spinner-focus {
    left: 12px;
    right: 12px;
    height: 72px;
    border-radius: 18px;
  }

  .live-spinner-glow {
    left: 10px;
    right: 10px;
    height: 96px;
  }

  .live-spinner-wheel::before,
  .live-spinner-wheel::after {
    height: 64px;
  }

  .live-spinner-chip {
    min-height: 86px;
    margin: 0 12px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .live-spinner-chip strong {
    font-size: 0.92rem;
    line-height: 1.08;
    text-align: center;
    -webkit-line-clamp: 3;
  }

  .live-spinner-chip span {
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
    -webkit-line-clamp: 2;
  }

  .live-spinner-chip-index {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .live-spinner-meta-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .live-spinner-stat {
    width: 100%;
    padding: 14px 16px;
  }

  .live-spinner-stat strong {
    font-size: 1.15rem;
  }

  .live-spinner-text {
    font-size: clamp(0.92rem, 4vw, 1.05rem);
    line-height: 1.4;
    text-align: center;
  }

  .live-winner-card {
    width: 100%;
    gap: 14px;
    padding: 22px 18px;
    overflow: visible;
  }

  .live-winner-card h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .live-winner-card p {
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .live-home-overlay .live-stage-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.6rem);
    line-height: 1;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti-piece,
  .live-home-overlay .live-winner-card,
  .live-home-overlay .live-spinner.spinning,
  .live-stage-orb-large,
  .live-stage-orb-small {
    animation: none;
  }

  .live-spinner-track,
  .live-spinner-focus {
    transition: none !important;
  }
}

@media print {
  @page {
    size: 4in 3in landscape;
    margin: 0;
  }

  body[data-page="admin-fundraiser-lanyards"] {
    background: #ffffff;
    color: #000000;
  }

  body[data-page="admin-fundraiser-lanyards"] .no-print,
  body[data-page="admin-fundraiser-lanyards"] .topbar,
  body[data-page="admin-fundraiser-lanyards"] .nav,
  body[data-page="admin-fundraiser-lanyards"] .status-banner {
    display: none !important;
  }

  body[data-page="admin-fundraiser-guaranteed"] .topbar,
  body[data-page="admin-fundraiser-guaranteed"] .nav,
  body[data-page="admin-fundraiser-guaranteed"] .hero,
  body[data-page="admin-fundraiser-guaranteed"] .admin-grid,
  body[data-page="admin-fundraiser-guaranteed"] .no-print,
  body[data-page="admin-fundraiser-guaranteed"] .section-kicker,
  body[data-page="admin-fundraiser-guaranteed"] .muted {
    display: none !important;
  }

  body[data-page="admin-fundraiser-guaranteed"] {
    background: #ffffff;
    color: #000000;
  }

  body[data-page="admin-fundraiser-guaranteed"] .page-shell,
  body[data-page="admin-fundraiser-guaranteed"] .admin-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-print-section {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-print-section .section-head {
    display: block;
    margin-bottom: 18px;
  }

  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-print-section h1 {
    margin-bottom: 0;
    color: #000000;
  }

  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-player-table,
  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-player-table .admin-table-head,
  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-player-table .admin-table-row {
    background: transparent;
    color: #000000;
  }

  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-player-table .admin-table-head,
  body[data-page="admin-fundraiser-guaranteed"] .guaranteed-player-table .admin-table-row {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
