@font-face {
  font-family: "Liquify";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Liquify.otf") format("opentype");
}

:root {
  --ink: #000000;
  --surface: #ffffff;
  --ticker: #ffcdfb;
  --vip: #f09cf7;
  --notice-bg: #ffa967;
  --accent: #157aff;
  --confirm: #6fff5c;
  --highlight: #ffea00;
  --card: #8edf0a;
  --lineup-day-1: var(--accent);
  --lineup-day-2: #ff4343;
  --lineup-day-3: var(--highlight);
  --lineup-day-4: var(--ticker);
  --lineup-day-5: #ff6bd6;
  --lineup-day-6: var(--alert);
  --panel-bg: #FFFFFF00;
  --muted-text: #303030;
  --border: #050505;
  --error: #b22119;
  --alert: #fdcb00;
  --radius: 0;
  --headline: "Liquify", "Poppins", Arial, Helvetica, sans-serif;
  --display: "Poppins", Arial, Helvetica, sans-serif;
  --body: "Poppins", Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  font-family: inherit;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
  scrollbar-width: none;
}

body {
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  padding-top: 92px;
  text-rendering: optimizeLegibility;
  -ms-overflow-style: none;
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  display: none;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

button,
.button,
.file-button {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--surface);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--display);
  font-size: 1rem;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-height: 48px;
  padding: 0.8rem 1rem 0.68rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

button:hover,
.button:hover,
.file-button:hover {
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-1px);
}

button:focus-visible,
.button:focus-visible,
.file-button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

input,
textarea,
select {
  appearance: none;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink);
  opacity: 1;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3,
h4,
.brand,
.eyebrow,
.nav-pill,
.lineup-number,
.set-label,
.ticket__type,
.ticket__status,
.stat-card span,
.guest-table th,
code {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
}

h2,
.ticket__main h3 {
  font-family: var(--headline);
  font-weight: 400;
}

h1 {
  font-size: clamp(2.45rem, 13.5vw, 3.1rem);
  line-height: 0.82;
  margin: 0;
  overflow-wrap: normal;
  text-transform: lowercase;
  word-break: normal;
}

h2 {
  font-size: 2rem;
  line-height: 0.88;
  margin-bottom: 0;
  text-transform: lowercase;
}

h3 {
  font-size: 1.5rem;
  line-height: 0.92;
  margin-bottom: 0.55rem;
  text-transform: lowercase;
}

h4 {
  font-size: 1.15rem;
  line-height: 1;
  margin: 0;
  text-transform: lowercase;
}

p {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.45;
}

.topbar {
  align-items: center;
  background: var(--ink);
  display: flex;
  height: 92px;
  justify-content: center;
  left: 0;
  padding: 0.45rem 1rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  max-width: calc(100% - 6rem);
  text-decoration: none;
}

.brand img {
  display: block;
  max-height: 64px;
  max-width: min(58vw, 280px);
  object-fit: contain;
  width: auto;
}

.brand picture {
  display: block;
}

.nav-pill {
  border: 2px solid var(--surface);
  color: var(--surface);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.48rem 0.5rem 0.34rem;
  position: absolute;
  right: 0.65rem;
  text-decoration: none;
  text-transform: lowercase;
  top: 1.15rem;
}

@media (hover: hover) {
  .nav-pill:hover {
    background: var(--surface);
    color: var(--ink);
  }
}

body:not(.is-unlocked) .nav-pill[href="#ticketSection"] {
  display: none;
}

.ticker {
  background: var(--ticker);
  border-bottom: 2px solid var(--ink);
  border-top: 2px solid var(--ink);
  height: 32px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ticker__track {
  align-items: center;
  animation: ticker var(--ticker-duration, 24s) linear infinite;
  display: flex;
  height: 100%;
  position: relative;
  transform: translate3d(0, 0, 0);
  width: max-content;
  will-change: transform;
  white-space: nowrap;
}

.ticker__group {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 2rem;
  padding-right: 2rem;
}

.ticker__group span {
  font-family: var(--display);
  font-size: 1rem;
  text-transform: lowercase;
}

@keyframes ticker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.hero,
.portal,
.site-footer,
.admin-top,
.admin-shell {
  background: var(--surface);
  margin: 0 auto;
  max-width: none;
  width: 100%;
}

.hero {
  display: grid;
  gap: 0;
}

.hero__image-wrap {
  aspect-ratio: 1 / 1;
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.hero__image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
  width: 100%;
}

.hero__image-wrap:hover .hero__image {
  transform: scale(1.035);
}

.hero__content {
  align-content: center;
  background: var(--panel-bg);
  display: grid;
  min-height: 54svh;
  padding: 1rem;
}

.eyebrow {
  color: var(--ink);
  display: inline-block;
  font-size: 1rem;
  line-height: 1.05;
  margin: 0 0 0.8rem;
  text-transform: lowercase;
}

.eyebrow::after {
  background: var(--ink);
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.2rem;
  width: 100%;
}

.hero__copy {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 1.1rem;
  max-width: 560px;
}

.hero__content h1 {
  max-width: min(100%, 720px);
}

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

.hero-title-image {
  display: block;
  height: auto;
  max-width: min(92vw, 720px);
  transform: translateX(-3%);
  width: 100%;
}

.access-panel,
.admin-gate,
.admin-panel,
.confirmation-panel,
.interest-panel,
.ticket {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
}

.access-panel {
  max-width: 560px;
  padding: 1rem;
}

.panel-title,
.admin-gate h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 0.92;
  margin-bottom: 0.85rem;
  text-transform: lowercase;
}

.access-form label,
.field label,
.search-label {
  color: var(--ink);
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  text-transform: lowercase;
}

.code-row {
  display: grid;
  gap: 0.65rem;
}

.code-row input {
  font-family: var(--display);
  font-size: 1.35rem;
}

.form-error {
  color: var(--error);
  font-weight: 800;
  margin: 0.75rem 0 0;
  min-height: 1.35rem;
}

.guest-chip {
  align-items: center;
  background: var(--highlight);
  border: 2px solid var(--ink);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  max-width: 620px;
  padding: 0.7rem;
}

.guest-chip span {
  font-family: var(--display);
  font-weight: 800;
}

.guest-chip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.button--ghost {
  background: var(--surface);
  color: var(--ink);
}

.button--ghost:hover {
  background: var(--ink);
  color: var(--surface);
}

.portal {
  display: grid;
  gap: 0;
  padding: 0 0 4rem;
}

.lineup-section,
.guest-section,
.info-section {
  scroll-margin-top: 124px;
  width: 100%;
}

.section-heading {
  align-items: end;
  background: var(--ink);
  border-bottom: 2px solid var(--ink);
  border-top: 2px solid var(--ink);
  color: var(--surface);
  display: grid;
  column-gap: 0.75rem;
  grid-template-columns: minmax(0, 25%) minmax(0, 1fr);
  grid-template-rows: auto auto;
  margin: 0;
  padding: 1rem 5% 0.85rem;
  position: sticky;
  top: 92px;
  width: 100%;
  z-index: 6;
}

.section-heading::after {
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--surface);
  color: var(--ink);
  content: "section";
  display: inline-flex;
  font-family: var(--display);
  font-size: 0.95rem;
  grid-column: 1;
  grid-row: 2;
  justify-content: center;
  justify-self: start;
  line-height: 1;
  min-width: 3.2rem;
  padding: 0.38rem 0.5rem 0.25rem;
  text-transform: lowercase;
}

.lineup-section .section-heading::after {
  content: "01";
}

.guest-section .section-heading::after {
  content: "02";
}

.info-section .section-heading::after {
  content: "03";
}

#guestStatus {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

#guestStatus.guest-status--ticket {
  min-height: calc(100svh - 220px);
  padding: 2rem 0;
  place-items: center;
}

.section-heading .eyebrow {
  color: var(--surface);
  font-size: 1rem;
  grid-column: 1;
  grid-row: 1;
  line-height: 1;
  margin: 0 0 0.35rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading .eyebrow::after {
  background: var(--surface);
}

.section-heading h2 {
  align-self: center;
  color: var(--surface);
  font-size: clamp(1.55rem, 7.8vw, 2.75rem);
  grid-column: 2;
  grid-row: 1 / span 2;
  line-height: 0.9;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.lineup-list {
  display: grid;
  gap: 0;
}

.lineup-day {
  --lineup-day-bg: var(--lineup-day-1);
  border-bottom: 2px solid var(--ink);
}

.lineup-day--1 {
  --lineup-day-bg: var(--lineup-day-1);
}

.lineup-day--2 {
  --lineup-day-bg: var(--lineup-day-2);
}

.lineup-day--3 {
  --lineup-day-bg: var(--lineup-day-3);
}

.lineup-day--4 {
  --lineup-day-bg: var(--lineup-day-4);
}

.lineup-day--5 {
  --lineup-day-bg: var(--lineup-day-5);
}

.lineup-day--6 {
  --lineup-day-bg: var(--lineup-day-6);
}

.lineup-day:first-child {
  border-top: 2px solid var(--ink);
}

.lineup-day__title {
  background: var(--lineup-day-bg);
  border-bottom: 2px solid var(--ink);
  font-size: 2rem;
  margin: 0;
  padding: 0.8rem 5% 0.6rem;
}

.lineup-day__items {
  display: grid;
  gap: 0;
}

.lineup-stages {
  display: grid;
  gap: 0;
}

.lineup-stage {
  background: var(--surface);
  border-top: 2px solid var(--ink);
}

.lineup-stage:first-child {
  border-top: 0;
}

.lineup-stage h4 {
  background: var(--lineup-day-bg);
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  padding: 0.55rem 5% 0.45rem;
  position: sticky;
  top: var(--lineup-stage-sticky-top, 154px);
  z-index: 5;
}

.stage-day,
.stage-separator {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 180ms ease, margin 180ms ease;
  vertical-align: top;
  white-space: nowrap;
}

.lineup-day.is-day-title-past .stage-day,
.lineup-day.is-day-title-past .stage-separator {
  max-width: 16ch;
  opacity: 1;
}

.stage-separator {
  margin: 0;
}

.lineup-day.is-day-title-past .stage-separator {
  margin: 0 0.35rem;
}

.lineup-card {
  align-items: center;
  background: var(--surface);
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr auto;
  min-height: max(84px, var(--schedule-mobile-height, 100px));
  padding: 0.85rem 5%;
}

.lineup-card--gap {
  align-items: center;
  background: #d8d8d8;
  border-bottom: 0;
  border-top: 2px solid var(--ink);
  color: var(--muted-text);
  grid-template-columns: 1fr;
  justify-items: end;
  min-height: max(34px, var(--schedule-mobile-height, 50px));
  padding-bottom: 0.45rem;
  padding-top: 0.45rem;
}

.lineup-card:first-child {
  border-top: 0;
}

.lineup-card--gap:first-child {
  border-top: 2px solid var(--ink);
}

.lineup-card--leading-gap,
.lineup-card--trailing-gap {
  display: none;
}

.lineup-card--leading-gap + .lineup-card {
  border-top: 0;
}

.lineup-number {
  color: var(--lineup-day-bg);
  font-size: 1.3rem;
  line-height: 1;
  min-width: 2.2ch;
}

.lineup-card h3,
.lineup-card p {
  margin-bottom: 0;
}

.lineup-card p,
.panel-heading p,
.interest-panel p,
.confirmation-panel p,
.muted {
  color: var(--muted-text);
}

.set-label {
  background: var(--ink);
  border: 2px solid var(--ink);
  color: var(--surface);
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.38rem 0.45rem 0.25rem;
  white-space: nowrap;
}

.set-labels {
  align-items: end;
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.set-label--vip {
  background: var(--vip);
  color: var(--ink);
}

.interest-panel {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 720px;
  padding: 1rem;
  width: 100%;
  background-color: var(--ticker);
}

.confirm-box {
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}

.confirm-actions {
  display: grid;
  gap: 0.65rem;
}

.confirmation-panel {
  background: var(--notice-bg);
  margin: 0 auto;
  max-width: 720px;
  padding: 1rem;
  width: 100%;
}

.ticket {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  color: var(--ink);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.25rem;
  height: 100%;
  overflow: hidden;
  padding: 1.25rem;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  width: 100%;
}

.ticket * {
  -webkit-user-select: none;
  user-select: none;
}

.ticket-stack {
  aspect-ratio: 63 / 88;
  margin: 0 auto;
  max-width: 409px;
  position: relative;
  touch-action: none;
  transform:
    perspective(900px)
    translate3d(var(--ticket-translate-x, 0), var(--ticket-translate-y, 0), 0)
    rotateX(var(--ticket-rotate-x, 0deg))
    rotateY(var(--ticket-rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: none;
  user-select: none;
  will-change: transform;
  width: min(calc(95vw - 2rem), 409px);
}

.ticket-layout {
  display: grid;
  gap: 1rem;
  justify-items: center;
  width: 100%;
}

.ticket-counter {
  align-items: center;
  background: var(--accent);
  border: 2px solid var(--ink);
  color: var(--surface);
  display: grid;
  justify-self: center;
  margin: 0;
  min-width: min(100%, 16.5rem);
  padding: 0;
  position: relative;
  text-align: center;
  text-transform: lowercase;
}

.ticket-counter__viewport {
  --ticket-counter-line-height: 3rem;
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 900;
  height: var(--ticket-counter-line-height);
  line-height: var(--ticket-counter-line-height);
  overflow: hidden;
}

.ticket-counter__stack {
  animation: ticket-counter-slide 6s infinite;
  display: grid;
  gap: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ticket-counter__stack span {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  height: var(--ticket-counter-line-height);
  line-height: var(--ticket-counter-line-height);
  padding: 0.72rem 1rem 0.64rem;
}

.ticket-note {
  color: var(--ink);
  display: none;
  max-width: 409px;
  padding: 1rem;
  width: min(calc(95vw - 2rem), 409px);
}

.ticket-note p {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-transform: lowercase;
}

.ticket--vip {
  background: var(--ink);
  color: var(--vip);
}

.ticket::before {
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 39%,
      rgb(255 255 255 / 0.38) 39%,
      rgb(255 255 255 / 0.38) 46%,
      transparent 46%,
      transparent 100%
    );
  border: 0;
  border-radius: 32px;
  content: "";
  height: 280%;
  inset: auto;
  left: -90%;
  mix-blend-mode: screen;
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  top: -90%;
  transform:
    translate3d(var(--ticket-shine-x, 0px), var(--ticket-shine-y, 0px), -240px)
    rotate(8deg);
  transition: opacity 200ms ease;
  width: 280%;
  z-index: 0;
}

.ticket::after {
  background: url("https://lh3.googleusercontent.com/d/1djiPZd8I51nTFnsdK2EHmhvXLVeoYK-1=w1200") center / contain no-repeat;
  content: "";
  height: 82%;
  left: 50%;
  opacity: 0.08;
  pointer-events: none;
  position: absolute;
  top: 48%;
  transform: translate3d(-50%, -50%, 0) rotate(8deg);
  width: 185%;
  z-index: 1;
}

.ticket__watermark-shield {
  background: var(--card);
  height: 82%;
  left: 50%;
  mask: url("https://lh3.googleusercontent.com/d/1djiPZd8I51nTFnsdK2EHmhvXLVeoYK-1=w1200") center / contain no-repeat;
  pointer-events: none;
  position: absolute;
  top: 48%;
  transform: translate3d(-50%, -50%, 0) rotate(8deg);
  width: 185%;
  -webkit-mask: url("https://lh3.googleusercontent.com/d/1djiPZd8I51nTFnsdK2EHmhvXLVeoYK-1=w1200") center / contain no-repeat;
  z-index: 1;
}

.ticket--vip .ticket__watermark-shield {
  background: var(--ink);
}

.ticket__watermark-outline {
  background: url("https://lh3.googleusercontent.com/d/1djiPZd8I51nTFnsdK2EHmhvXLVeoYK-1=w1200") center / contain no-repeat;
  color: var(--surface);
  filter:
    brightness(0)
    invert(1)
    drop-shadow(1.8px 0 0 currentColor)
    drop-shadow(-1.8px 0 0 currentColor)
    drop-shadow(0 1.8px 0 currentColor)
    drop-shadow(0 -1.8px 0 currentColor);
  height: 82%;
  left: 50%;
  mask-image:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 40%,
      #000 40%,
      #000 45%,
      transparent 45%,
      transparent 100%
    );
  mask-size: 280% 280%;
  mask-position:
    calc(40% + var(--ticket-shine-x, 0px))
    calc(50% + var(--ticket-shine-y, 0px));
  opacity: 0.30;
  pointer-events: none;
  position: absolute;
  top: 48%;
  transform: translate3d(-50%, -50%, 0) rotate(8deg);
  transition: opacity 200ms ease;
  width: 185%;
  -webkit-mask-image:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 40%,
      #000 40%,
      #000 45%,
      transparent 45%,
      transparent 100%
    );
  -webkit-mask-size: 280% 280%;
  -webkit-mask-position:
    calc(40% + var(--ticket-shine-x, 0px))
    calc(50% + var(--ticket-shine-y, 0px));
  z-index: 2;
}

.ticket-stack.is-pulled .ticket__watermark-outline {
  opacity: 0.40;
  transition: opacity 40ms linear;
}

.ticket-stack.is-pulled {
  transition: none;
}

.ticket-stack.is-pulled .ticket::before {
  opacity: 0.50;
  transition: opacity 40ms linear;
}

.ticket__main,
.ticket__side {
  position: relative;
  z-index: 3;
}

.ticket__main h3 {
  font-size: clamp(2.4rem, 13vw, 4.2rem);
  line-height: 0.82;
  margin-bottom: 0.6rem;
  text-transform: none;
}

.ticket--vip .ticket__main h3 {
  color: var(--vip);
}

.ticket__type {
  color: var(--ink);
  font-size: clamp(1.4rem, 7vw, 2.4rem);
  line-height: 0.9;
  margin-bottom: 1.2rem;
  text-transform: lowercase;
}

.ticket--vip .eyebrow,
.ticket--vip .ticket__type,
.ticket--vip .ticket__timestamp {
  color: var(--vip);
}

.ticket .eyebrow::after {
  background: currentColor;
}

.ticket__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ticket__timestamp {
  color: var(--muted-text);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-align: right;
  text-transform: uppercase;
}

.ticket__meta span,
.ticket__status {
  background: var(--surface);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.35rem 0.45rem 0.25rem;
  text-transform: lowercase;
}

.ticket__status--used {
  background: var(--confirm);
}

.ticket__side {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.ticket__proof {
  align-items: end;
  display: flex;
  gap: 0.65rem;
}

.qr-mark {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 10px;
  display: block;
  flex: 0 0 auto;
  height: 112px;
  padding: 0.45rem;
  -webkit-touch-callout: default;
  -webkit-user-drag: auto;
  -webkit-user-select: auto;
  user-select: auto;
  width: 112px;
}

.qr-mark--used {
  align-items: center;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  justify-content: center;
}

.qr-mark--used svg {
  display: block;
  height: 74%;
  width: 74%;
}

.qr-mark--used polyline {
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 13;
}

.info-section {
  align-items: start;
  background: var(--surface);
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}

.info-section__body {
  color: var(--ink);
  margin-bottom: 0;
  padding: 1rem;
}

.site-footer {
  background: var(--ink);
  color: var(--surface);
  padding: 1rem 5%;
  text-align: center;
}

.site-footer p {
  font-family: var(--display);
  margin: 0;
  text-transform: lowercase;
}

.verify-page {
  min-height: 100svh;
}

.verify-page,
.verify-page h1,
.verify-page h2,
.verify-page h3,
.verify-page h4,
.verify-page p,
.verify-page dt,
.verify-page dd,
.verify-page label,
.verify-page button,
.verify-page textarea {
  font-family: var(--display);
}

.verify-shell {
  display: grid;
  min-height: calc(100svh - 92px);
  padding: 8rem 5% 4rem;
  place-items: center;
}

.verify-panel,
.verify-result {
  background: var(--surface);
  border: 2px solid var(--ink);
  color: var(--ink);
}

.verify-panel {
  display: grid;
  gap: 1rem;
  max-width: 620px;
  padding: 1rem;
  width: 100%;
}

.verify-form {
  display: none;
}

.verify-form label {
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
  text-transform: lowercase;
}

.verify-result {
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.verify-result--redeemable {
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.verify-result--redeemable * {
  user-select: none;
  -webkit-user-select: none;
}

.verify-result--redeemable::after {
  background: var(--ink);
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
}

.verify-result--vip.verify-result--redeemable::after {
  background: #FFFFFF30;
}

.verify-result--holding::after {
  animation: redeem-hold 10s linear forwards;
}

.verify-result--redeeming {
  opacity: 0.78;
}

.verify-result h2 {
  font-family: var(--headline);
  font-weight: 400;
  margin-bottom: 0.85rem;
  padding-top: 0.35rem;
}

.verify-result p {
  margin-bottom: 0;
}

.verify-result dl {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.verify-result div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.verify-result dt,
.verify-result dd {
  margin: 0;
}

.verify-result dt {
  font-family: var(--display);
  font-weight: 900;
  text-transform: lowercase;
}

.verify-result dd {
  font-weight: 600;
}

.verify-result--valid {
  background: var(--highlight);
}

.verify-result--vip {
  background: var(--ink);
  color: var(--vip);
}

.verify-result--vip h2 {
  color: var(--vip);
}

.verify-result--vip .eyebrow {
  color: var(--vip);
}

.verify-result--vip .eyebrow::after {
  background: var(--vip);
}

.verify-result--vip dl,
.verify-result--vip dt,
.verify-result--vip dd {
  color: var(--vip);
}

.verify-result--invalid {
  background: var(--notice-bg);
}

.verify-result--redeemed {
  background: var(--confirm);
}

.verify-result--vip.verify-result--redeemed {
  background: var(--ink);
  color: var(--highlight);
}

.verify-result--vip.verify-result--redeemed h2,
.verify-result--vip.verify-result--redeemed .eyebrow,
.verify-result--vip.verify-result--redeemed dl,
.verify-result--vip.verify-result--redeemed dt,
.verify-result--vip.verify-result--redeemed dd,
.verify-result--vip.verify-result--redeemed .verify-hold-text {
  color: var(--confirm);
}

.verify-result--vip.verify-result--redeemed .eyebrow::after {
  background: var(--confirm);
}

.verify-hold-text {
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 1rem;
  text-transform: lowercase;
}

@keyframes redeem-hold {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes ticket-counter-slide {
  0%,
  42% {
    transform: translate3d(0, 0, 0);
  }

  50%,
  92% {
    transform: translate3d(0, calc(var(--ticket-counter-line-height) * -1), 0);
  }

  100% {
    transform: translate3d(0, calc(var(--ticket-counter-line-height) * -2), 0);
  }
}

.admin-page {
  background: var(--surface);
  font-family: var(--body);
  padding-top: 0;
}

.admin-top {
  align-items: center;
  border-bottom: 2px solid var(--ink);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 5%;
}

.admin-top h1 {
  color: var(--ink);
  font-size: 2.7rem;
  margin: 0;
}

.admin-shell {
  display: grid;
  gap: 1rem;
  padding: 1rem 5% 4rem;
}

.admin-alert {
  background: var(--highlight);
  font-size: 1rem;
  padding: 1rem;
}

.admin-alert--error {
  background: var(--notice-bg);
}

.admin-gate {
  max-width: 540px;
  padding: 1rem;
}

.admin-workspace {
  display: grid;
  gap: 1rem;
}

.admin-toolbar {
  align-items: start;
  display: grid;
  gap: 1rem;
}

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

.stat-card {
  background: var(--ticker);
  border: 2px solid var(--ink);
  margin: -1px 0 0 -1px;
  padding: 0.85rem;
}

.stat-card span {
  color: var(--ink);
  display: block;
  font-size: 1rem;
  line-height: 1;
  text-transform: lowercase;
}

.stat-card strong {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.9;
  margin-top: 0.4rem;
}

.admin-panel {
  padding: 1rem;
}

.panel-heading {
  margin-bottom: 1rem;
}

.panel-heading h3 {
  font-size: 1.8rem;
}

.add-form {
  display: grid;
  gap: 0.75rem;
}

.field {
  display: grid;
}

.checkbox-line {
  align-items: center;
  display: flex;
  font-family: var(--display);
  gap: 0.5rem;
  text-transform: lowercase;
}

.checkbox-line input {
  min-height: auto;
  width: auto;
}

.new-code {
  align-items: center;
  background: var(--highlight);
  border: 2px solid var(--ink);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0.85rem;
}

.new-code strong {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.data-tools {
  display: grid;
  gap: 0.65rem;
}

.file-button {
  background: var(--accent);
  color: var(--ink);
}

.file-button:hover {
  background: var(--ink);
  color: var(--surface);
}

#importFile {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.search-input {
  margin-bottom: 0.85rem;
}

.table-scroll {
  overflow-x: auto;
  width: 100%;
}

.guest-table {
  border-collapse: collapse;
  font-family: var(--body);
  min-width: 860px;
  width: 100%;
}

.guest-table th,
.guest-table td {
  border-bottom: 2px solid var(--ink);
  padding: 0.8rem 0.65rem;
  text-align: left;
  vertical-align: middle;
}

.guest-table th {
  color: var(--ink);
  font-size: 1rem;
  text-transform: lowercase;
}

.guest-table tbody tr {
  background: var(--card);
}

.guest-table tbody tr.guest-row--vip {
  background: var(--vip);
}

.guest-table td small {
  color: var(--muted-text);
  display: block;
  font-size: 0.72rem;
  margin-top: 0.2rem;
  max-width: 220px;
  overflow-wrap: anywhere;
}

.status-pill {
  background: var(--surface);
  border: 2px solid var(--ink);
  display: inline-block;
  line-height: 1;
  min-width: 4.4rem;
  padding: 0.35rem 0.45rem 0.25rem;
  text-align: center;
}

.status-pill--on {
  background: var(--confirm);
}

.admin-save {
  min-height: 38px;
  min-width: 82px;
  padding: 0.55rem 0.7rem 0.45rem;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease, transform 120ms ease;
}

.admin-save:not(:disabled):active {
  transform: translate(2px, 2px);
}

.admin-save:disabled {
  cursor: default;
  opacity: 0.55;
  transform: none;
}

.admin-actions {
  align-items: stretch;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr;
  width: 100%;
}

.admin-save--secondary {
  background: var(--surface);
  color: var(--ink);
  justify-self: stretch;
  width: 100%;
}

.admin-save--secondary:hover {
  background: var(--ink);
  color: var(--surface);
}

.guest-copy-cell {
  min-width: 10rem;
}

.row-message {
  color: var(--error);
  display: block;
  margin-top: 0.4rem;
  max-width: 260px;
}

code {
  background: var(--highlight);
  border: 2px solid var(--ink);
  color: var(--ink);
  display: inline-block;
  font-family: var(--body);
  padding: 0.22rem 0.4rem 0.12rem;
}

.toggle {
  cursor: pointer;
  display: inline-flex;
  transition: transform 140ms ease;
}

.toggle input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.toggle__control {
  background: var(--surface);
  border: 2px solid var(--ink);
  display: inline-flex;
  height: 30px;
  padding: 3px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 140ms ease;
  width: 54px;
}

.toggle__control::before {
  background: var(--ink);
  content: "";
  height: 20px;
  transition: transform 210ms cubic-bezier(0.2, 1.35, 0.42, 1), background 160ms ease;
  width: 20px;
}

.toggle:hover .toggle__control {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.toggle:active .toggle__control {
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(1px, 1px);
}

.toggle input:checked + .toggle__control {
  background: var(--highlight);
}

.toggle input:checked + .toggle__control::before {
  transform: translateX(24px);
}

.toggle input:disabled + .toggle__control {
  cursor: not-allowed;
  opacity: 0.45;
}

.toggle input:disabled + .toggle__control::before {
  background: var(--muted-text);
}

.toggle input:focus-visible + .toggle__control {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.empty-state {
  color: var(--muted-text);
  font-weight: 800;
}

@media (max-width: 779px) {
  .admin-page {
    padding-top: 0;
  }

  .admin-top {
    align-items: stretch;
    display: grid;
    padding: 0.85rem;
  }

  .admin-top h1 {
    font-size: clamp(2.35rem, 15vw, 3.4rem);
    line-height: 0.9;
  }

  .admin-shell {
    padding: 0.85rem 0.85rem 3rem;
  }

  .admin-panel {
    padding: 0.85rem;
  }

  .admin-toolbar {
    gap: 0.85rem;
  }

  .search-label {
    width: 100%;
  }

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

  .stats-grid--searching {
    display: none;
  }

  .stat-card {
    padding: 0.7rem;
  }

  .stat-card strong {
    font-size: 2.3rem;
  }

  .table-scroll {
    overflow: visible;
  }

  .guest-table,
  .guest-table thead,
  .guest-table tbody,
  .guest-table tr,
  .guest-table th,
  .guest-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .guest-table thead {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  .guest-table tr {
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    margin-bottom: 1.1rem;
    transition: background 180ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  .guest-table td {
    align-items: center;
    border-bottom: 1px solid var(--ink);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(5.8rem, 34%) minmax(0, 1fr);
    padding: 0.75rem;
  }

  .guest-table td::before {
    content: attr(data-label);
    font-size: 0.76rem;
    line-height: 1;
    text-transform: uppercase;
  }

  .guest-table td:last-child {
    border-bottom: 0;
  }

  .guest-table td small {
    max-width: none;
  }

  .guest-table td[data-label="Name"] {
    align-items: start;
  }

  .guest-table td[data-label="Update"] {
    background: rgba(255, 255, 255, 0.42);
    display: block;
    padding: 0.75rem;
  }

  .guest-table td[data-label="Update"]::before {
    content: none;
  }

  .guest-table td[data-label="Update"] .admin-actions {
    width: 100%;
  }

  .guest-table td[data-label="Update"] .admin-save {
    width: 100%;
  }

  .guest-table td[data-label="Update"] .row-message {
    margin-top: 0.45rem;
  }

  .guest-table td.guest-copy-cell {
    border-bottom: 0;
    display: block;
    padding: 0.75rem;
  }

  .guest-table td.guest-copy-cell::before {
    content: none;
  }
}

@media (min-width: 620px) {
  h1 {
    font-size: clamp(4rem, 9vw, 4.6rem);
  }

  h2 {
    font-size: 3.6rem;
  }

  h3 {
    font-size: 2rem;
  }

  .brand {
    max-width: calc(100% - 8rem);
  }

  .brand img {
    max-height: 66px;
    max-width: 340px;
  }

  .eyebrow {
    font-size: 1.45rem;
  }

  .hero__copy {
    font-size: 1.22rem;
  }

  .panel-title,
  .admin-gate h2,
  .panel-heading h3 {
    font-size: 2.3rem;
  }

  .ticket__main h3 {
    font-size: 4.2rem;
  }

  .ticket__type {
    font-size: 2.3rem;
  }

  .admin-top h1 {
    font-size: 4.2rem;
  }

  .code-row,
  .confirm-actions,
  .data-tools {
    grid-template-columns: 1fr auto;
  }

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

  .interest-panel {
    grid-template-columns: 1fr auto;
  }

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

  .add-form {
    align-items: end;
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }
}

@media (min-width: 780px) {
  body {
    padding-top: 79px;
  }

  .admin-page {
    padding-top: 0;
  }

  .admin-toolbar {
    align-items: start;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  }

  .topbar {
    height: 79px;
  }

  .brand {
    max-width: calc(100% - 10rem);
  }

  .brand img {
    max-height: 62px;
    max-width: 380px;
  }

  .nav-pill {
    right: calc(5% + 0.75rem);
    top: 1.35rem;
  }

  html {
    scroll-padding-top: 111px;
  }

  h1 {
    font-size: clamp(3.45rem, 5.8vw, 6.8rem);
  }

  h2 {
    font-size: 5rem;
  }

  .eyebrow {
    font-size: 1.8rem;
  }

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

  .hero__image-wrap {
    aspect-ratio: auto;
    border-bottom: 0;
  }

  .hero__content {
    align-content: center;
    min-height: calc(100svh - 111px);
    padding: clamp(2rem, 5vw, 5rem);
  }

  .hero__content h1 {
    max-width: min(100%, 820px);
  }

  .hero-title-image {
    max-width: min(42vw, 820px);
  }

  .access-panel,
  .guest-chip {
    max-width: 680px;
  }

  .lineup-section,
  .guest-section,
  .info-section {
    scroll-margin-top: 111px;
  }

  .section-heading {
    grid-template-columns: minmax(180px, 25%) minmax(0, 1fr);
    min-height: 116px;
    padding: 1.15rem 5% 1rem;
    top: 79px;
  }

  .section-heading .eyebrow {
    font-size: 1.05rem;
  }

  .section-heading h2 {
    font-size: clamp(2.6rem, 4.8vw, 5rem);
    line-height: 0.86;
  }

  .lineup-list {
    gap: 0;
  }

  .lineup-day__title {
    font-size: 3.4rem;
    padding: 1rem 5% 0.75rem;
  }

  .lineup-stages {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .lineup-day__items {
    grid-template-columns: 1fr;
  }

  .lineup-stage {
    border-left: 2px solid var(--ink);
    border-top: 0;
    min-width: 0;
  }

  .lineup-stage:first-child {
    border-left: 0;
  }

  .lineup-stage h4 {
    font-size: 1.35rem;
    padding: 0.75rem 1rem 0.6rem;
  }

  .lineup-card {
    align-content: start;
    align-items: start;
    border-bottom: 0;
    border-top: 2px solid var(--ink);
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: hidden;
    padding: 1rem 7.5rem 1rem 1rem;
    position: relative;
  }

  .lineup-card:first-child {
    border-top: 0;
  }

  .lineup-card--gap:first-child {
    border-top: 0;
  }

  .lineup-card h3 {
    font-size: clamp(1.45rem, 2.2vw, 2.8rem);
    line-height: 0.9;
  }

  .lineup-card p {
    display: -webkit-box;
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.1;
    overflow: hidden;
  }

  .lineup-card .set-label {
    font-size: 0.82rem;
    padding: 0.22rem 0.34rem 0.16rem;
  }

  .lineup-card .set-labels {
    gap: 0.22rem;
    justify-items: end;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .lineup-card--gap {
    align-content: center;
    display: grid;
    height: var(--schedule-desktop-height, 65px);
    justify-items: end;
    min-height: 0;
  }

  .lineup-card--leading-gap + .lineup-card {
    border-top: 2px solid var(--ink);
  }

  .lineup-card:not(.lineup-card--gap) {
    height: var(--schedule-desktop-height, 130px);
    min-height: 0;
  }

  .ticket-stack {
    max-width: 494px;
    width: min(calc(95vw - 4rem), 494px);
  }

  .ticket {
    padding: 2rem;
  }

  .ticket-layout {
    align-items: center;
    grid-template-columns: minmax(340px, 494px) minmax(220px, 360px);
    justify-content: center;
  }

  .ticket-note {
    align-self: center;
    display: block;
    max-width: none;
    padding: 1.2rem;
    width: auto;
  }

  .ticket-note p {
    font-size: clamp(1.1rem, 1.6vw, 1.55rem);
    line-height: 1.2;
  }

  #guestStatus {
    padding: 2rem 5%;
  }

  #guestStatus.guest-status--ticket {
    min-height: calc(100svh - 195px);
    padding: 3rem 5%;
  }

  .ticket__side {
    align-items: end;
    flex-direction: row;
    justify-content: space-between;
  }

  .ticket__proof {
    justify-content: end;
  }

  .qr-mark {
    height: 132px;
    width: 132px;
  }

  .ticket__main h3 {
    font-size: 5rem;
  }

  .ticket__type {
    font-size: 3rem;
  }

  .admin-top h1 {
    font-size: 5rem;
  }

  .panel-heading h3 {
    font-size: 2.8rem;
  }
}
