:root {
  --neon: #bfff00;
  --neon-deep: #7fff00;
  --ink: #080808;
  --charcoal: #151414;
  --paper: #ffffff;
  --mist: #f3f6ec;
  --muted: #5d5d61;
  --danger: #b42318;
  --display: "Outfit", "Noto Sans TC", "Noto Sans SC", sans-serif;
  --body: "Noto Sans TC", "Noto Sans SC", "Heebo", sans-serif;
  --mono: "Outfit", "Heebo", sans-serif;
  --tooth-w: 28px;
  --tooth-h: 14px;
  --zigzag-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14' preserveAspectRatio='none'%3E%3Cpolygon points='0,14 14,0 28,14' fill='%23fff'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin: 0;
}

h1,
h2 {
  line-height: 1.15;
}

.eyebrow {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.lede,
.register-intro p,
.steps p {
  color: var(--charcoal);
}

.zigzag {
  width: min(220px, 50vw);
  height: 18px;
  object-fit: cover;
  object-position: left center;
  margin: 22px 0;
}

.zigzag-short {
  width: 92px;
  height: 14px;
}

.zigzag.invert {
  filter: invert(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

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

.pdf-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ink);
}

.pdf-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6vw 14px;
  background: var(--ink);
  color: var(--paper);
}

.pdf-toolbar h1 {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
}

.pdf-toolbar .btn {
  background: var(--neon);
  color: var(--ink);
  min-height: 44px;
  padding: 0 20px;
  flex: 0 0 auto;
}

.pdf-frame {
  flex: 1;
  width: 100%;
  min-height: calc(100vh - 160px);
  border: 0;
  background: #2a2a2a;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
.upload-box:focus-within,
.nav a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
}

.site-header::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--tooth-h);
  background: var(--ink);
  pointer-events: none;
  -webkit-mask-image: var(--zigzag-mask);
  -webkit-mask-size: var(--tooth-w) 100%;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-position: center;
  mask-image: var(--zigzag-mask);
  mask-size: var(--tooth-w) 100%;
  mask-repeat: repeat-x;
  mask-position: center;
}

.site-header::after {
  bottom: calc(-1 * var(--tooth-h) + 1px);
  transform: rotate(180deg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px 6vw;
}

.env-ribbon {
  display: none;
}

html[data-env="DEV"] .env-ribbon {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 6vw;
  background-color: #111;
  background-image: repeating-linear-gradient(
    -45deg,
    #111 0 11px,
    #ffd000 11px 22px
  );
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    0 0 8px #000;
}

html[data-env="DEV"] .env-ribbon--footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background-image: repeating-linear-gradient(
    45deg,
    #111 0 11px,
    #ffd000 11px 22px
  );
  pointer-events: none;
}

html[data-env="DEV"] body {
  padding-bottom: 40px;
}

.brand,
.nav,
.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-switch button {
  min-width: 36px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid #3a3a3a;
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-switch button.is-active,
.lang-switch button:hover {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-kicker {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 14px;
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
}

.nav a {
  font-size: 14px;
  font-weight: 500;
}

.nav-cta {
  padding: 10px 16px;
  background: var(--neon);
  color: var(--ink);
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.admin-nav-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--neon);
}

.admin-nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-admin-only][hidden] {
  display: none !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  align-items: center;
  padding: 8vh 6vw;
  background: var(--neon);
  overflow: hidden;
}

.hero--no-ticket {
  grid-template-columns: 1fr;
}

.hero-pattern,
.register-pattern {
  position: absolute;
  inset: 0;
  background: url("/assets/pattern-neon.png") center / 560px repeat;
  opacity: 0.5;
  pointer-events: none;
}

.hero-copy,
.register-grid,
.ticket-dialog {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(64px, 10vw, 120px);
}

.lede {
  max-width: 34ch;
  font-size: 18px;
  margin: 0 0 32px;
}

.hero-ticket {
  --ticket: var(--ink);
  justify-self: end;
  width: min(360px, 100%);
  margin: 14px 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  position: relative;
}

.ticket-edge {
  display: block;
  width: 100%;
  height: var(--tooth-h);
  background: var(--ticket);
  -webkit-mask-image: var(--zigzag-mask);
  -webkit-mask-size: var(--tooth-w) 100%;
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-position: center;
  mask-image: var(--zigzag-mask);
  mask-size: var(--tooth-w) 100%;
  mask-repeat: repeat-x;
  mask-position: center;
}

.ticket-edge-top {
  margin-bottom: -1px;
}

.ticket-edge-bottom {
  margin-top: -1px;
  transform: rotate(180deg);
}

.ticket-body {
  padding: 28px 28px 24px;
  background: var(--ticket);
}

.hero-ticket .ticket-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-ticket .ticket-logo {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.ticket-kicker,
.ticket-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-ticket .ticket-kicker,
.hero-ticket .ticket-label {
  color: var(--neon);
}

.ticket-name {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ticket-code {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-ticket.is-refreshing .ticket-name,
.hero-ticket.is-refreshing .ticket-code {
  opacity: 0;
  transform: translateY(6px);
}

.hero-ticket .ticket-name,
.hero-ticket .ticket-code {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.ticket-caption {
  margin: 0;
  color: #cfcfcf;
  font-size: 13px;
}

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--neon);
  border-block: 1px solid #222;
}

.marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px 48px;
  width: 100%;
  padding: 14px 6vw;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.how,
.register {
  padding: 10vh 6vw;
}

.section-head h2,
.register-intro h2 {
  font-size: clamp(48px, 7vw, 84px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0;
  margin: 56px 0 0;
  list-style: none;
}

.steps li {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.step-no {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--paper);
}

.stat {
  padding: 48px 6vw 48px 32px;
  border-right: 1px solid #2a2a2a;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.04em;
  color: var(--neon);
}

.stat span {
  color: #c8c8c8;
}

.register {
  position: relative;
  background: var(--neon);
}

.register-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6vw;
  align-items: start;
}

.form {
  display: grid;
  gap: 18px;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.form label[hidden] {
  display: none !important;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.field-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--ink);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 0;
  background: var(--paper);
  font: inherit;
}

.upload-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.upload-box input[type="file"]:focus,
.upload-box input[type="file"]:focus-visible {
  outline: none;
}

.upload-preview {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: var(--ink);
}

.upload-preview[hidden] {
  display: none;
}

.upload-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 52px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
}

.upload-icon {
  width: 18px;
  height: 18px;
}

.upload-cta-change {
  display: none;
}

.upload.is-filled .upload-cta-choose {
  display: none;
}

.upload.is-filled .upload-cta-change {
  display: inline;
}

.upload-box:hover .upload-btn,
.upload-box:focus-within .upload-btn {
  transform: translateY(-1px);
}

.upload-name,
.form-note,
.form-status,
.field-hint {
  font-weight: 300;
  font-size: 13px;
}

.upload-name,
.form-note,
.field-hint {
  color: var(--charcoal);
}

.field-hint {
  line-height: 1.55;
}

.upload-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-error,
.form-status.is-error {
  min-height: 1.2em;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  color: #c8102e;
}

.form label.agree {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px 12px;
  font-weight: 500;
}

.agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.agree span {
  font-weight: 500;
}

.agree .field-label {
  align-items: flex-start;
}

.agree .field-icon {
  margin-top: 3px;
}

.agree span a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agree .field-error {
  grid-column: 2;
}

.terms {
  padding: 10vh 6vw 8vh;
  background: var(--paper);
}

.terms-list {
  max-width: 72ch;
  margin: 40px 0 0;
  padding: 0 0 0 1.2em;
  display: grid;
  gap: 22px;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.65;
}

.terms-list strong {
  display: block;
  margin-bottom: 6px;
}

.terms-list ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

.terms-list p {
  margin: 10px 0 0;
}

.terms-reserved {
  max-width: 72ch;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-page {
  padding: 10vh 6vw 12vh;
}

.admin-page .lede {
  max-width: 42ch;
}

.admin-page-wide .lede {
  max-width: none;
}

.status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.status-filters a {
  padding: 8px 12px;
  background: var(--mist);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.status-filters a:hover,
.status-filters a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.status-NEW {
  background: var(--ink);
  color: var(--paper);
}

.status-CHECKED {
  background: #1f3d2a;
  color: #f3f6ec;
}

.status-REJECTED {
  background: var(--danger);
  color: var(--paper);
}

.status-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.status-form select {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d5d5d5;
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
}

.status-form .btn {
  min-height: 48px;
}

.record-table-wrap {
  margin-top: 36px;
  overflow-x: auto;
  background: var(--mist);
}

.record-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.record-table th,
.record-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e2e6d8;
}

.record-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: #eef2e4;
}

.record-table .sort-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  letter-spacing: inherit;
  white-space: nowrap;
}

.record-table .sort-link:hover,
.record-table .sort-link.is-active {
  color: var(--ink);
}

.record-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.pager-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pager-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pager-links a,
.pager-links span {
  min-width: 36px;
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.pager-links a {
  background: var(--mist);
}

.pager-links a:hover {
  background: var(--neon);
  color: var(--ink);
}

.pager-links .is-current {
  background: var(--ink);
  color: var(--paper);
}

.pager-links .is-disabled,
.pager-gap {
  color: #b0b0b0;
  font-weight: 500;
}

.record-table tbody tr:hover {
  background: #fff;
}

.record-table td a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.record-table .record-empty {
  color: var(--muted);
  font-weight: 400;
}

.admin-user {
  font-size: 13px;
  color: #cfcfcf;
}

.cms-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.cms-toolbar .btn:not(.btn-ink) {
  background: var(--mist);
  color: var(--ink);
}

.cms-status {
  margin: 0;
  flex: 1 1 220px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.cms-status.is-error {
  color: #c8102e;
}

.cms-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 28px;
  margin-top: 32px;
}

.cms-nav {
  position: sticky;
  top: 88px;
  align-self: start;
}

.cms-nav-page + .cms-nav-page {
  margin-top: 20px;
}

.cms-nav-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cms-nav-link {
  display: block;
  padding: 8px 10px;
  margin-bottom: 4px;
  background: var(--mist);
  font-size: 14px;
  font-weight: 700;
}

.cms-nav-link.is-active,
.cms-nav-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.cms-section-head h2 {
  font-size: 36px;
  line-height: 1.15;
}

.cms-table {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.cms-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 1fr 108px;
  gap: 10px;
  align-items: start;
}

.cms-row--head {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cms-key {
  padding-top: 10px;
  font-size: 12px;
  word-break: break-word;
}

.cms-field {
  width: 100%;
  min-height: 72px;
  padding: 10px;
  border: 1px solid #d5d5d5;
  background: #fff;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.45;
  resize: vertical;
}

.cms-field--tall {
  min-height: 180px;
}

.cms-field--md {
  min-height: 360px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.tnc-editor {
  margin-top: 36px;
}

.tnc-editor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tnc-editor-head h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.tnc-editor-head .lede {
  max-width: 62ch;
  margin: 0;
}

.tnc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.tnc-col-head,
.tnc-preview-label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tnc-preview-label {
  margin-top: 16px;
}

.tnc-preview {
  min-height: 180px;
  padding: 16px 18px;
  border: 1px solid #d5d5d5;
  background: #fff;
  overflow: auto;
}

.tnc-preview .terms-list {
  margin: 0;
  font-size: 14px;
}

.cms-row-actions {
  display: grid;
  gap: 8px;
}

.cms-mini {
  min-height: 36px;
  padding: 6px 8px;
  background: var(--mist);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.cms-mini--reset {
  background: #fff;
  border: 1px solid #d5d5d5;
}

.record-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 40px;
  margin-top: 40px;
  padding: 32px;
  background: var(--mist);
}

.record-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #ddd;
}

.record-fields {
  display: grid;
  gap: 18px;
  margin: 0;
}

.record-fields dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.record-fields dd {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.record-code {
  font-family: var(--display);
  letter-spacing: 0.16em;
}

.site-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 6vw;
  background: var(--ink);
  color: #d7d7d7;
}

.site-footer::before {
  top: calc(-1 * var(--tooth-h) + 1px);
}

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

.footer-meta a:hover,
.nav a:hover:not(.nav-cta) {
  color: var(--neon);
}

.copyright {
  color: #8d8d8d;
}

.ticket-dialog {
  border: 0;
  padding: 0;
  background: transparent;
}

.ticket-dialog::backdrop {
  background: rgba(8, 8, 8, 0.72);
}

.ticket-card {
  width: min(440px, calc(100vw - 32px));
  padding: 36px 28px;
  background: var(--paper);
  text-align: center;
}

.ticket-card h2 {
  margin: 16px 0 0;
  font-size: 36px;
}

.ticket-card .ticket-kicker,
.ticket-card .ticket-label,
.ticket-card .ticket-code {
  color: var(--ink);
}

.ticket-card .ticket-code {
  white-space: nowrap;
  font-size: clamp(28px, 8vw, 44px);
  letter-spacing: 0.08em;
}

.ticket-card .ticket-caption {
  color: var(--muted);
}

.ticket-card .btn {
  margin-top: 24px;
  width: 100%;
}

.ticket-card img {
  margin-inline: auto;
}

@media (max-width: 900px) {
  .record-card {
    grid-template-columns: 1fr;
  }

  .nav a:not(.nav-cta):not(.admin-nav-link) {
    display: none;
  }

  .header-tools {
    gap: 10px;
  }

  .hero,
  .register-grid,
  .steps,
  .stats,
  .site-footer,
  .cms-layout,
  .cms-row,
  .tnc-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 10vh;
  }

  .hero-ticket,
  .stat {
    justify-self: stretch;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #2a2a2a;
  }
}

.promo-page {
  min-height: 100vh;
  background: var(--ink);
}

.promo-stack {
  max-width: 931px;
  margin: 0 auto;
}

.promo-stack a {
  display: block;
  line-height: 0;
}

.promo-stack img {
  width: 100%;
  height: auto;
}

.promo-stack a:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: -3px;
}

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

  .btn:hover,
  .upload-box:hover .upload-btn,
  .upload-box:focus-within .upload-btn {
    animation: none;
    transform: none;
  }
}
