:root {
  color-scheme: dark;
  --ink: #000000;
  --paper: #f7f7f2;
  --soft: #0c0c0c;
  --line: #373733;
  --muted: #aaa89f;
  --red: #f7f7f2;
  --red-dark: #d6c6a3;
  --mint: #d6c6a3;
  --mint-dark: #d6c6a3;
  --yellow: #d6c6a3;
  --danger: #a22d2d;
  --max-width: 1120px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #000;
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(214, 198, 163, 0.7);
  outline-offset: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--ink);
  color: var(--paper);
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.header-wordmark {
  display: block;
  width: 180px;
  height: auto;
}

.header-context {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.preview-badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  text-transform: uppercase;
}

.text-button,
.inline-link,
.back-button,
.modal-close {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button {
  min-height: 44px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 13px;
}

.view {
  display: none;
  min-height: calc(100svh - var(--header-height));
}

.view.is-active {
  display: block;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 96px));
  overflow: hidden;
  background: #000;
  color: var(--paper);
}

.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) brightness(0.92);
}

.hero-shade {
  z-index: 1;
  background: rgba(5, 8, 4, 0.26);
  box-shadow: inset 0 -170px 150px rgba(0, 0, 0, 0.38);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  padding: 62px 0 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow,
.step-label,
.strip-label {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--yellow);
  font-size: 12px;
}

.hero-script {
  display: block;
  width: min(760px, 72vw);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.58));
}

.hero-theme {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 28px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-theme span + span::before {
  content: "/";
  margin-right: 28px;
  color: var(--yellow);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 32px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.primary-button,
.secondary-button,
.draw-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 19px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-button {
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--ink);
}

.primary-button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.hero-button {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.hero-button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
}

.secondary-button {
  border: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
}

.content-band {
  width: 100%;
}

.content-shell {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.entry-band {
  background: #000;
  padding: 94px 0 106px;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr);
  gap: 10%;
}

.section-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.section-intro h2,
.page-heading h1,
.draw-copy h1,
.wallet-heading h1 {
  margin-bottom: 20px;
  font-size: 64px;
}

.section-intro > p:not(.step-label),
.page-heading > p:not(.step-label),
.draw-copy > p:not(.step-label) {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.entry-promise {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.entry-promise span {
  display: flex;
  min-height: 62px;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.entry-promise strong {
  min-width: 58px;
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.step-label {
  color: var(--yellow);
}

.section-intro-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  margin-top: 30px;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center;
}

.privacy-note {
  display: grid;
  gap: 2px;
  margin-top: 35px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-note strong {
  font-size: 13px;
  text-transform: uppercase;
}

.privacy-note span {
  color: var(--muted);
  font-size: 13px;
}

.entry-form {
  display: grid;
  gap: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.field input,
.field select,
.input-prefix {
  width: 100%;
  min-height: 52px;
  border: 1px solid #494945;
  border-radius: 3px;
  background: #000;
  color: var(--paper);
}

.field input,
.field select {
  padding: 13px 14px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%),
    linear-gradient(135deg, var(--paper) 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.input-prefix {
  display: flex;
  align-items: center;
  padding-left: 14px;
}

.input-prefix > span {
  color: var(--muted);
}

.input-prefix input {
  min-height: 50px;
  padding-left: 3px;
  border: 0;
  outline: 0;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.input-prefix:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
}

.field-hint,
.field-error {
  min-height: 17px;
  margin: 6px 0 0;
  font-size: 12px;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  color: var(--danger);
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.check-row input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--red);
}

.check-row em {
  color: var(--muted);
  font-style: normal;
}

.inline-link {
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.page-heading {
  padding: 70px 0 56px;
}

.task-band {
  background: #000;
}

.task-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
  padding: 54px 0;
}

.chance-counter {
  display: flex;
  min-height: 210px;
  padding: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #000;
  color: var(--paper);
  text-align: center;
}

.chance-number {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 82px;
  line-height: 0.9;
}

.chance-counter > span:not(.chance-number) {
  margin-top: 10px;
  font-weight: 700;
}

.chance-counter small {
  margin-top: 20px;
  opacity: 0.7;
}

.prize-list {
  border-top: 1px solid var(--line);
}

.task-main {
  display: grid;
  gap: 48px;
}

.prize-row {
  display: grid;
  min-height: 108px;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.prize-row > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.prize-row strong {
  font-size: 17px;
}

.prize-row small {
  color: var(--muted);
}

.prize-number {
  color: rgba(255, 255, 255, 0.4);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.prize-odds {
  min-width: 46px;
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  text-align: right;
}

.lounge-pass-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.lounge-pass-price {
  display: flex;
  min-height: 250px;
  padding: 28px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  text-transform: uppercase;
}

.lounge-pass-price span {
  font-size: 12px;
  font-weight: 700;
}

.lounge-pass-price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
}

.lounge-pass-copy h2 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: 42px;
}

.lounge-pass-copy > p {
  max-width: 720px;
  color: var(--muted);
}

.lounge-pass-copy ul {
  display: grid;
  max-width: 720px;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.lounge-pass-copy li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.access-note {
  padding-left: 15px;
  border-left: 2px solid var(--yellow);
}

.action-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0 80px;
}

.action-footer p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.draw-view {
  background: var(--ink);
  color: var(--paper);
}

.draw-shell {
  padding: 64px 0 90px;
}

.draw-copy {
  max-width: 650px;
  margin-bottom: 45px;
}

.draw-copy > p:not(.step-label) {
  color: rgba(255, 255, 255, 0.66);
}

.draw-view .step-label {
  color: var(--yellow);
}

.draw-stage {
  display: grid;
  min-height: 380px;
  grid-template-columns: minmax(190px, 300px) 1fr auto;
  gap: 50px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.27);
}

.draw-disc {
  display: grid;
  width: min(100%, 280px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--paper);
  transition: transform 1.2s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.draw-brand-mark {
  display: block;
  width: 58%;
  height: auto;
  transform: translateX(5%);
}

.draw-stage.is-drawing .draw-disc {
  transform: rotate(1080deg);
}

.draw-status {
  display: grid;
  gap: 7px;
}

.draw-status strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.draw-status span {
  color: rgba(255, 255, 255, 0.58);
}

.draw-button {
  width: 130px;
  height: 130px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}

.draw-button:hover:not(:disabled) {
  background: var(--paper);
  transform: scale(1.03);
}

.draw-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.grand-draw-strip {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.grand-draw-strip > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.grand-draw-strip strong {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.grand-draw-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.draw-history {
  padding-top: 55px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading-row h2 {
  margin-bottom: 0;
  font-size: 31px;
}

.history-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.history-row {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.history-index {
  color: rgba(255, 255, 255, 0.4);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.history-row strong,
.history-row small {
  display: block;
}

.history-row small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.52);
}

.result-chip {
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.empty-state {
  margin: 0;
  padding: 30px 0;
  color: var(--muted);
}

.draw-view .empty-state {
  color: rgba(255, 255, 255, 0.5);
}

.wallet-heading,
.staff-heading {
  position: relative;
  padding-left: 68px;
}

.back-button {
  position: absolute;
  top: 72px;
  left: 0;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--paper);
  border-radius: 50%;
  font-size: 22px;
}

.wallet-list {
  display: grid;
  gap: 18px;
  padding-bottom: 90px;
}

.reward-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.reward-main {
  padding: 30px;
}

.reward-main h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.reward-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.claim-code-label {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.claim-code-text {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 36px;
  font-weight: 700;
}

.reward-code-visual {
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 25px;
  background: var(--ink);
}

.claim-visual {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.claim-wordmark {
  display: block;
  width: 144px;
  height: auto;
}

.code-grid {
  display: grid;
  width: 136px;
  height: 136px;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 2px;
  padding: 7px;
  background: var(--paper);
}

.code-grid span {
  background: transparent;
}

.code-grid span.is-on {
  background: var(--ink);
}

.preview-code-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
}

.status-line {
  display: inline-block;
  margin-top: 25px;
  padding: 6px 9px;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-line.is-redeemed {
  border-color: var(--muted);
  color: var(--muted);
}

.wallet-empty {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.wallet-empty h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.wallet-empty p {
  color: var(--muted);
}

.staff-content {
  padding-bottom: 100px;
}

.staff-login {
  display: grid;
  max-width: 440px;
  gap: 18px;
  padding: 35px;
  border: 1px solid var(--line);
  background: #000;
}

.staff-loading {
  padding: 35px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.staff-toolbar {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.staff-message {
  min-height: 24px;
  margin: 0;
  color: var(--yellow);
  font-size: 13px;
}

.inventory-form {
  align-items: center;
}

.inventory-form strong,
.inventory-form small {
  display: block;
}

.inventory-form small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.inventory-total {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.inventory-total input {
  width: 70px;
  min-height: 40px;
  padding: 7px;
  border: 1px solid #494945;
  background: #000;
  color: var(--paper);
  text-align: right;
}

.inventory-total button {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--paper);
  background: transparent;
  cursor: pointer;
}

.staff-content .section-heading-row h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.staff-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.staff-summary > div {
  display: grid;
  gap: 4px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.staff-summary > div:last-child {
  border-right: 0;
}

.staff-summary strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-weight: 400;
}

.staff-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.claim-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin: 46px 0 20px;
}

.claim-result {
  min-height: 100px;
  padding: 0 22px;
  border: 1px solid var(--line);
}

.found-reward {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}

.found-reward h3 {
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.found-reward p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.inventory-section {
  margin-top: 68px;
}

.inventory-list {
  border-top: 1px solid var(--line);
}

.inventory-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(146px, auto);
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.inventory-row span:not(:first-child) {
  text-align: right;
}

.inventory-row.is-heading {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.danger-text {
  color: var(--danger);
}

.site-footer {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  display: block;
  width: 112px;
  height: auto;
}

.footer-brand span {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.modal {
  width: min(520px, calc(100% - 30px));
  max-height: calc(100svh - 30px);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #000;
  color: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 36px;
  height: 36px;
  font-size: 27px;
}

.result-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--mint-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.result-icon img {
  display: block;
  width: 70%;
  height: auto;
}

.result-icon.no-win {
  background: var(--soft);
  color: var(--muted);
}

.modal h2 {
  margin-bottom: 13px;
  font-size: 42px;
}

.modal-copy {
  color: var(--muted);
}

.modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.document-modal h3 {
  margin: 27px 0 8px;
  font-size: 16px;
}

.document-modal p {
  color: var(--muted);
}

.document-modal .secondary-button {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 800px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 16px;
  }

  .header-wordmark {
    width: 138px;
  }

  .header-context,
  .preview-badge {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .content-shell,
  .hero-content {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    min-height: calc(100svh - 102px);
  }

  .hero-content {
    padding: 48px 0 30px;
  }

  .hero-art img {
    object-position: center;
  }

  .hero-shade {
    background: rgba(5, 8, 4, 0.38);
    box-shadow: inset 0 -130px 110px rgba(0, 0, 0, 0.42);
  }

  .hero-script {
    width: min(410px, 92vw);
    margin-bottom: 20px;
  }

  .hero-theme {
    gap: 7px 14px;
    margin-bottom: 27px;
    font-size: 10px;
  }

  .hero-theme span + span::before {
    margin-right: 14px;
  }

  .event-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 25px;
  }

  .hero-button {
    width: 100%;
  }

  .entry-band {
    padding: 65px 0 74px;
  }

  .form-layout,
  .task-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .section-intro {
    position: static;
  }

  .section-intro h2,
  .page-heading h1,
  .draw-copy h1,
  .wallet-heading h1 {
    font-size: 42px;
  }

  .section-intro > p:not(.step-label),
  .page-heading > p:not(.step-label),
  .draw-copy > p:not(.step-label) {
    font-size: 16px;
  }

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

  .section-intro-image {
    aspect-ratio: 4 / 3;
  }

  .page-heading {
    padding: 50px 0 40px;
  }

  .task-layout {
    padding: 35px 0 42px;
  }

  .chance-counter {
    min-height: 150px;
  }

  .chance-number {
    font-size: 65px;
  }

  .prize-row {
    min-height: 104px;
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .prize-row strong {
    font-size: 15px;
  }

  .prize-row small {
    font-size: 12px;
  }

  .prize-odds {
    font-size: 22px;
  }

  .lounge-pass-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 0;
  }

  .lounge-pass-price {
    min-height: 175px;
  }

  .lounge-pass-copy h2 {
    font-size: 34px;
  }

  .lounge-pass-copy ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .action-footer {
    display: grid;
    padding: 32px 0 55px;
  }

  .action-footer .primary-button {
    width: 100%;
  }

  .draw-shell {
    padding: 45px 0 65px;
  }

  .draw-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
    padding: 32px 22px;
    text-align: center;
  }

  .draw-disc {
    width: min(230px, 72vw);
  }

  .draw-brand-mark {
    width: 58%;
  }

  .draw-button {
    width: 100%;
    height: 52px;
    border-radius: 4px;
  }

  .grand-draw-strip {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .history-row {
    grid-template-columns: 44px 1fr;
  }

  .history-row .result-chip {
    grid-column: 2;
    text-align: left;
  }

  .wallet-heading,
  .staff-heading {
    padding-left: 54px;
  }

  .back-button {
    top: 52px;
  }

  .reward-card {
    grid-template-columns: 1fr;
  }

  .reward-code-visual {
    min-height: 190px;
  }

  .claim-code-text {
    font-size: 28px;
  }

  .staff-login {
    padding: 25px 20px;
  }

  .staff-summary {
    grid-template-columns: 1fr;
  }

  .staff-summary > div {
    grid-template-columns: 90px 1fr;
    align-items: baseline;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .staff-summary > div:last-child {
    border-bottom: 0;
  }

  .staff-summary strong {
    font-size: 38px;
  }

  .claim-search {
    grid-template-columns: 1fr;
  }

  .found-reward {
    grid-template-columns: 1fr;
  }

  .inventory-row {
    grid-template-columns: 1fr 64px 132px;
    gap: 8px;
    font-size: 13px;
  }

  .inventory-row.is-heading {
    display: none;
  }

  .inventory-form {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .inventory-form > span:first-child {
    grid-column: 1 / -1;
  }

  .inventory-form > span:nth-child(2) {
    text-align: left;
  }

  .modal {
    padding: 34px 24px 25px;
  }

  .modal h2 {
    font-size: 35px;
  }

  .site-footer {
    padding: 18px 16px;
  }

  .footer-brand img {
    width: 88px;
  }

  .footer-brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
