/* TicketFlow storefront, 2026 redesign.
   Brand: poster pink + acid green on a near-black stage.
   Every page (store, checkout, transfer, result, admin, scanner) shares these tokens. */

:root {
  --bg: #0a0a0d;
  --bg-2: #101015;
  --card: #15151b;
  --card-2: #1b1b23;
  --line: #272731;
  --line-2: #34343f;
  --text: #f5f5f7;
  --muted: #a1a1ad;
  --faint: #6f6f7b;

  --pink: #ff1fb0;
  --pink-ink: #ff5cc6;
  --pink-soft: rgba(255, 31, 176, .12);
  --green: #3dff5e;
  --green-soft: rgba(61, 255, 94, .12);

  --brand: var(--pink);
  --ok: #3ddc6a;
  --bad: #ff5468;
  --warn: #ffb547;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);

  --font: "Noto Sans Georgian", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Big Shoulders Display", "Noto Sans Georgian", Impact, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-ink); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: 1.3rem; }
p { margin: 0 0 .8em; }
::selection { background: var(--pink); color: #fff; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; margin: 4px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.top, .site-top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 10, 13, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 0;
  margin: 0;
}
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.top h1 { margin: 0; font-size: 1.15rem; }
.top h1 a { color: inherit; text-decoration: none; }
.top .wrap:not(.top-row) { padding-top: 18px; padding-bottom: 18px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; display: inline-grid; place-items: center;
  border-radius: 10px; background: var(--pink); color: #fff;
  font-family: var(--display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0;
}
.brand-mark::after { content: ""; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .top-link {
  color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: 10px 12px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav a:hover, .top-link:hover { color: var(--text); background: var(--card); }
.nav .btn { margin-left: 8px; }
@media (max-width: 820px) { .nav .nav-link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 20px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  color: #fff; background: var(--card-2);
  border: 1px solid var(--line-2); border-radius: 12px;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; background: #23232d; border-color: #44444f; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn.secondary { background: var(--card-2); }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 10px 30px rgba(255, 31, 176, .25); }
.btn-primary:hover { background: #ff3dbb; border-color: #ff3dbb; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255, 31, 176, .32); }
.btn-primary:disabled:hover { background: var(--pink); transform: none; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); }
.btn-lg { min-height: 56px; padding: 16px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-wide { width: 100%; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.disabled-link { opacity: .45; pointer-events: none; }

/* ---------- Generic surfaces (used by admin / result / scanner too) ---------- */
.card, .ticket, .form, .summary-card, .product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card h3, .ticket h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 3px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.form { display: grid; gap: 14px; max-width: 560px; margin-bottom: 40px; }

label { font-weight: 600; font-size: .9rem; }
input[type=email], input[type=number], input[type=text], input[type=password], select, .scanner-key input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: var(--faint); }
input:hover, select:hover { border-color: #4a4a56; }
input:focus, select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 4px 0; }
legend { font-weight: 600; font-size: .9rem; padding: 0 4px; }

.error {
  margin: 0; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 84, 104, .1); border: 1px solid rgba(255, 84, 104, .35); color: #ffb3bd; font-size: .9rem;
}
.notice {
  margin: 4px 0 0; padding: 14px 16px; border-radius: 12px; font-size: .88rem; line-height: 1.6;
  background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .3); color: #ffd9a0;
}

.status {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px 20px 64px; margin-bottom: 16px;
}
.status::before {
  content: ""; position: absolute; left: 22px; top: 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--faint); box-shadow: 0 0 0 6px rgba(255,255,255,.04);
}
.status h2 { margin: 0 0 4px; font-size: 1.15rem; }
.status p { margin: 0; }
.status.ok { border-color: rgba(61, 220, 106, .4); background: linear-gradient(180deg, rgba(61,220,106,.07), transparent 70%), var(--card); }
.status.ok::before { background: var(--ok); box-shadow: 0 0 0 6px rgba(61,220,106,.15); }
.status.bad { border-color: rgba(255, 84, 104, .4); }
.status.bad::before { background: var(--bad); box-shadow: 0 0 0 6px rgba(255,84,104,.15); }
.status.warn::before { background: var(--warn); box-shadow: 0 0 0 6px rgba(255,181,71,.15); }
.status.wait { border-color: rgba(255, 31, 176, .35); }
.status.wait::before { background: var(--pink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,31,176,.18); } 50% { box-shadow: 0 0 0 10px rgba(255,31,176,.04); } }

.qr { display: flex; justify-content: center; padding: 10px 0; }
.qr img { background: #fff; padding: 8px; border-radius: 10px; }
.code {
  display: block; word-break: break-all; text-align: center; font-family: var(--mono); font-size: .8rem;
  background: var(--bg-2); border: 1px solid var(--line); padding: 8px; border-radius: 8px;
}
.back-link { display: inline-flex; gap: 6px; margin-top: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; }
.back-link:hover { color: var(--text); }

/* ---------- Eyebrows / chips ---------- */
.eyebrow {
  margin: 0 0 10px; color: var(--pink-ink);
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--card);
  font-size: .8rem; font-weight: 700; color: var(--text);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255, 31, 176, .22), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .25;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 10%, transparent 65%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 7.4rem); line-height: .86; letter-spacing: -.01em;
  margin: 22px 0 24px;
}
.hero-title .accent { color: var(--pink); }
.hero-title .outline { color: transparent; -webkit-text-stroke: 2px var(--green); }
.hero-sub { max-width: 540px; color: var(--muted); font-size: 1.06rem; line-height: 1.75; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 36px; border: 1px solid var(--line); border-radius: 16px; background: rgba(21,21,27,.7); width: fit-content; max-width: 100%; }
.hero-facts > div { padding: 14px 22px; border-right: 1px solid var(--line); }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt { color: var(--faint); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-facts dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }

.poster-wrap { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.poster {
  position: relative; border-radius: 22px; overflow: hidden; background: #ff00b4;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(2.5deg); transition: transform .3s ease;
}
.poster:hover { transform: rotate(0deg) scale(1.01); }
.poster img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.poster-stub {
  position: absolute; left: -22px; bottom: 34px; transform: rotate(-6deg);
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; background: var(--text); color: #0a0a0d;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); font-weight: 800;
}
.poster-stub small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #5b5b66; font-weight: 800; }
.poster-stub strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; font-weight: 900; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--pink); color: #0a0a0d; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .02em; padding: 12px 0; white-space: nowrap; }
.marquee span::after { content: "\2726"; margin: 0 26px; color: #0a0a0d; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: .95; margin: 0; }
.section-head p { max-width: 420px; color: var(--muted); margin: 0; }

/* Ticket product card (rendered by product.js into #product) */
.ticket-offer {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0;
  border: 1px solid var(--line-2); border-radius: 24px; background: var(--card); overflow: hidden;
}
.ticket-offer-main { padding: 34px 36px; display: grid; gap: 18px; align-content: start; }
.ticket-offer-side {
  position: relative; width: 340px; padding: 34px 32px; display: grid; gap: 14px; align-content: center;
  background: var(--card-2); border-left: 2px dashed var(--line-2);
}
.ticket-offer-side::before, .ticket-offer-side::after {
  content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--line-2);
}
.ticket-offer-side::before { top: -15px; }
.ticket-offer-side::after { bottom: -15px; }
.product-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); line-height: .95; margin: 0; }
.product-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.meta-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.meta-item svg { flex: 0 0 20px; color: var(--pink-ink); margin-top: 2px; }
.meta-item small { display: block; color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.meta-item span { font-weight: 700; font-size: .92rem; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.perks li { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.perks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.perks li + li { margin-left: 10px; }
.price-label { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.product-price { font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: .9; margin: 0; letter-spacing: -.01em; }
.product-price small { font-size: 1.4rem; color: var(--muted); margin-left: 6px; }
.availability { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; margin: 0; }
.availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.is-available { color: var(--green); }
.is-low { color: var(--warn); }
.is-soldout { color: var(--bad); }
.product-footnote { color: var(--faint); font-size: .78rem; line-height: 1.55; margin: 0; }
.skeleton { display: grid; gap: 14px; padding: 34px 36px; }
.skeleton i { display: block; height: 18px; border-radius: 8px; background: linear-gradient(90deg, var(--card-2), #23232c, var(--card-2)); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
.skeleton i:nth-child(1) { width: 30%; } .skeleton i:nth-child(2) { width: 70%; height: 40px; } .skeleton i:nth-child(3) { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Countdown */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { text-align: center; padding: 16px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.countdown strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .2s, transform .2s; }
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step-num { font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--pink); margin-bottom: 18px; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--pink-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: .94rem; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 44px; border-radius: 28px; background: var(--pink); color: #0a0a0d;
}
.cta-band h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: .92; margin: 0; }
.cta-band p { margin: 8px 0 0; font-weight: 600; color: rgba(10,10,13,.75); }
.cta-band .btn { background: #0a0a0d; border-color: #0a0a0d; color: #fff; }
.cta-band .btn:hover { background: #1c1c22; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 88px; padding: 32px 0 40px; color: var(--faint); font-size: .82rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Checkout ---------- */
.checkout-shell { padding-top: 40px; padding-bottom: 40px; }
.stepper { display: flex; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; flex-wrap: wrap; }
.stepper li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--faint); font-size: .82rem; font-weight: 700; background: var(--bg-2); }
.stepper li b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--card-2); color: var(--muted); font-size: .75rem; }
.stepper li.is-done { color: var(--muted); }
.stepper li.is-done b { background: var(--green-soft); color: var(--green); }
.stepper li.is-current { color: var(--text); border-color: rgba(255,31,176,.5); background: var(--pink-soft); }
.stepper li.is-current b { background: var(--pink); color: #fff; }

.page-heading { margin: 0 0 28px; }
.page-heading h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: .92; margin: 0 0 10px; }
.page-heading p { margin: 0; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 24px; align-items: start; }
.checkout-form { max-width: none; margin: 0; padding: 28px; gap: 24px; }
.form-section { display: grid; gap: 10px; }
.form-section + .form-section { padding-top: 24px; border-top: 1px solid var(--line); }
.form-section-title { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 800; margin: 0; }
.form-section-title b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--pink-soft); color: var(--pink-ink); font-size: .8rem; }
.field-group { display: grid; gap: 8px; }
.field-group label { color: var(--text); }
.field-hint { color: var(--faint); font-size: .8rem; }

.quantity-control { display: grid; grid-template-columns: 52px 1fr 52px; gap: 8px; max-width: 280px; }
.quantity-control input { text-align: center; font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-step {
  min-height: 48px; border: 1px solid var(--line-2); background: var(--card-2); border-radius: 12px;
  color: var(--text); font-size: 1.4rem; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s;
}
.quantity-step:hover { background: #24242e; border-color: #4a4a56; }
.quantity-step:disabled { opacity: .35; cursor: not-allowed; }

.bank-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bank-fieldset legend { padding: 0; margin-bottom: 10px; }
.bank-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bank-option {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 14px;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.bank-option:hover { border-color: #4a4a56; }
.bank-option input { position: absolute; opacity: 0; pointer-events: none; }
.bank-option:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.bank-option:has(input:checked) { border-color: var(--pink); background: var(--pink-soft); box-shadow: 0 0 0 1px var(--pink) inset; }
.bank-badge { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; font-size: .78rem; letter-spacing: .02em; color: #fff; }
.bank-badge.tbc { background: #00a3e0; }
.bank-badge.bog { background: #ff6a13; }
.bank-label { flex: 1; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.bank-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: 0 0 22px; transition: all .15s; }
.bank-option:has(input:checked) .bank-check { border-color: var(--pink); background: var(--pink); box-shadow: inset 0 0 0 4px var(--bg-2); }

.account-panel { display: grid; gap: 8px; padding: 18px; border: 1px solid rgba(255,31,176,.35); border-radius: 14px; background: var(--pink-soft); }
.account-panel p { margin: 0; }
.account-number-row { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.account-number {
  flex: 1; min-width: 200px; display: flex; align-items: center; word-break: break-all;
  padding: 12px 14px; font-family: var(--mono); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
}
.copy-btn.is-copied { background: var(--green-soft); border-color: rgba(61,255,94,.5); color: var(--green); }

.secure-note { display: flex; gap: 10px; align-items: flex-start; color: var(--faint); font-size: .8rem; line-height: 1.55; margin: 0; }
.secure-note svg { flex: 0 0 16px; margin-top: 2px; color: var(--green); }

.checkout-summary { position: sticky; top: 92px; padding: 0; overflow: hidden; }
.summary-poster { position: relative; aspect-ratio: 16 / 9; background: #ff00b4 url('/images/party-like-its-2016.png') center 50% / cover no-repeat; }
.summary-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(21,21,27,.9)); }
.checkout-summary-content { padding: 24px; }
.checkout-summary h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: .95; margin: 0 0 8px; }
.summary-meta { display: grid; gap: 4px; color: var(--muted); font-size: .88rem; }
.summary-divider { height: 0; border-top: 2px dashed var(--line-2); margin: 20px -24px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0; color: var(--muted); font-size: .92rem; }
.summary-row strong { color: var(--text); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-total { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-weight: 700; }
.summary-total strong { font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.limit-note { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* ---------- Transfer page ---------- */
.transfer-page { padding-top: 40px; padding-bottom: 40px; }
.transfer-page .form { max-width: none; padding: 26px; }
.transfer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.transfer-head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: .95; margin: 0 0 4px; }
.transfer-head p { margin: 0; }
.amount-box { text-align: right; }
.amount-box small { display: block; color: var(--faint); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.amount { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--pink-ink); }
.transfer-rows { display: grid; gap: 16px; }
.transfer-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; color: var(--muted); font-size: .9rem; }
.transfer-line strong { color: var(--text); }
.copy-field { display: grid; gap: 6px; }
.copy-field > span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.transfer-page #ticket-qr-section { text-align: center; }
.transfer-page #ticket-qr-section h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; margin: 0; }
.transfer-page #ticket-qr-list { margin-top: 8px; }

/* Ticket artwork shown only after the administrator confirms the transfer. */
.transfer-page #ticket-qr-list { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; }
.transfer-page #ticket-qr-list .qr-ticket-card {
  position: relative; width: 100%; aspect-ratio: 1727 / 2048; min-height: 0; padding: 0; overflow: hidden; border: 0; border-radius: 14px;
  background: #ff00a8 url('/images/admit-one-qr-background.png') center / 100% 100% no-repeat;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
}
.transfer-page #ticket-qr-list .qr-ticket-heading { position: absolute; top: 10px; right: 12px; z-index: 1; margin: 0; padding: 5px 10px; border-radius: 999px; background: rgba(10, 10, 13, .85); color: #fff; font-size: .72rem; line-height: 1.35; font-weight: 800; }
.transfer-page #ticket-qr-list .qr-ticket-code-panel { position: absolute; top: 32%; left: 50%; width: 54%; aspect-ratio: 1; padding: 9px; transform: translateX(-50%); display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: 0 5px 18px rgba(35, 12, 72, .22); }
.transfer-page #ticket-qr-list .qr-ticket-code-panel img { display: block; width: 100%; height: 100%; margin: 0; border-radius: 2px; background: #fff; object-fit: contain; }
.transfer-page #ticket-qr-list .qr-ticket-code { position: absolute; bottom: 58px; left: 50%; max-width: 84%; margin: 0; padding: 5px 8px; transform: translateX(-50%); overflow-wrap: anywhere; border-radius: 6px; background: rgba(255, 255, 255, .94); color: #24104f; font-family: var(--mono); font-size: .62rem; line-height: 1.3; font-weight: 700; }
.transfer-page #ticket-qr-list .qr-ticket-download { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: #0a0a0d; border-color: rgba(255,255,255,.3); color: #fff; white-space: nowrap; }
.transfer-page #ticket-qr-list .qr-ticket-download:hover { background: #1c1c22; transform: translateX(-50%); }

/* ---------- Admin ---------- */
.admin-login { max-width: 480px; }
.admin-page h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.4rem; margin: 40px 0 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .poster-wrap { max-width: 380px; }
  .ticket-offer { grid-template-columns: 1fr; }
  .ticket-offer-side { width: auto; border-left: 0; border-top: 2px dashed var(--line-2); }
  .ticket-offer-side::before { top: -15px; left: -15px; }
  .ticket-offer-side::after { top: -15px; bottom: auto; left: auto; right: -15px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .summary-poster { aspect-ratio: 21 / 9; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; width: 100%; }
  .hero-facts > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts > div:last-child { border-bottom: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .ticket-offer-main, .ticket-offer-side { padding: 24px; }
  .cta-band { padding: 30px 24px; }
  .cta-band .btn { width: 100%; }
  .poster-stub { left: 8px; }
  .checkout-form { padding: 20px; }
  .bank-options { grid-template-columns: 1fr; }
  .transfer-page .form { padding: 20px; }
  .amount-box { text-align: left; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .status { padding: 18px 18px 18px 56px; }
  .status::before { left: 18px; top: 22px; width: 20px; height: 20px; }
  .row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 380px) {
  .transfer-page #ticket-qr-list { grid-template-columns: minmax(0, 1fr); }
  .transfer-page #ticket-qr-list .qr-ticket-code { bottom: 54px; font-size: .56rem; }
  .countdown { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .poster { transform: none; }
}

/* Phone header: keep brand + action on one row */
@media (max-width: 520px) {
  .top-row { flex-wrap: nowrap; min-height: 60px; }
  .top-link { padding: 8px 10px; font-size: .82rem; white-space: nowrap; }
  .top-link .long { display: none; }
  .account-number { min-width: 0; font-size: .8rem; letter-spacing: 0; padding: 12px 10px; }
}

/* Admin approval */
.admin-page .admin-login { margin-bottom: 16px; }
.admin-howto { max-width: 860px; margin-bottom: 24px; }
.admin-orders { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.admin-order h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; }
.admin-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 18px; font-size: .88rem; }
.admin-facts dt { color: var(--faint); }
.admin-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.admin-approve { display: grid; gap: 12px; padding-top: 16px; border-top: 2px dashed var(--line-2); }
.admin-approve-title { margin: 0; font-weight: 800; color: var(--pink-ink); font-size: .9rem; }
.audit-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.audit-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 760px; }
.audit-table th, .audit-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.audit-table th { color: var(--faint); font-weight: 700; font-size: .75rem; }
.audit-table tr:last-child td { border-bottom: 0; }
.audit-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: .75rem; white-space: nowrap; }
.audit-badge.is-ok { background: var(--green-soft); color: var(--green); }
.audit-badge.is-bad { background: rgba(255, 84, 104, .12); color: #ff8a98; }

/* ---- Policy pages ---- */
.legal-page { padding-top: 40px; }
.legal-page h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 3.4rem); letter-spacing: -.01em; margin: 6px 0 8px; }
.legal-page section { margin-top: 30px; }
.legal-page h2 { font-size: 1.15rem; color: var(--text); }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.7; }
.legal-page ul { padding-left: 1.2em; margin: 8px 0; }
.legal-page li { margin: 4px 0; }
.legal-page strong { color: var(--text); }
.legal-summary { border: 1px solid rgba(255, 31, 176, .35); background: var(--pink-soft); border-radius: var(--radius); padding: 18px 22px; }
.legal-summary h2 { margin-top: 0; }
.legal-page .back-link { margin-top: 36px; }

/* ---- Checkout consent ---- */
.consent-check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--pink); cursor: pointer; }
.consent-check a { color: var(--pink-ink); }

/* ---- Admin panel ---- */
.admin-shell { padding-top: 28px; padding-bottom: 40px; }
.admin-shell h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 6vw, 2.8rem); margin: 0 0 18px; }
.admin-tabs { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 22px; overflow-x: auto; }
.admin-tab { flex: 1 0 auto; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.admin-tab:hover { color: var(--text); background: var(--card-2); }
.admin-tab[aria-selected="true"] { background: var(--pink); color: #fff; }
.admin-tab .count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 6px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: .78rem; }
.admin-panel[hidden] { display: none; }
.admin-panel h2 { font-size: 1.2rem; margin: 26px 0 12px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-bar h2 { margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat-tile { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 16px; }
.stat-tile small { display: block; color: var(--faint); font-size: .78rem; }
.stat-tile strong { display: block; font-family: var(--mono); font-size: 1.6rem; margin-top: 4px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .76rem; font-weight: 700; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: rgba(61,220,106,.4); background: rgba(61,220,106,.08); }
.pill.used { color: var(--warn); border-color: rgba(255,181,71,.4); background: rgba(255,181,71,.08); }
.pill.bad { color: var(--bad); border-color: rgba(255,84,104,.4); background: rgba(255,84,104,.08); }
.admin-search { width: 100%; max-width: 360px; }
.scan-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 18px; }
#reader { width: 100%; max-width: 480px; margin: 12px auto; overflow: hidden; border-radius: 12px; }
#reader:empty { display: none; }
.scan-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.scan-actions .btn { flex: 1 1 200px; }
.scan-manual { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.scan-result { margin-top: 16px; border-radius: var(--radius); padding: 22px; border: 2px solid var(--line-2); background: var(--card); text-align: center; }
.scan-result h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 7vw, 2.6rem); }
.scan-result.ok { border-color: var(--ok); background: linear-gradient(180deg, rgba(61,220,106,.16), transparent 80%), var(--card); }
.scan-result.ok h2 { color: var(--ok); }
.scan-result.bad { border-color: var(--bad); background: linear-gradient(180deg, rgba(255,84,104,.16), transparent 80%), var(--card); }
.scan-result.bad h2 { color: var(--bad); }
.scan-result.wait { border-color: var(--warn); }
.scan-result dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px auto 0; max-width: 420px; text-align: left; font-size: .9rem; }
.scan-result dt { color: var(--faint); }
.scan-result dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.order-list { display: grid; gap: 10px; }
.order-row { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 14px 16px; display: grid; gap: 10px; }
.order-row-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.order-row-head strong { font-family: var(--mono); }
.order-row .meta { color: var(--muted); font-size: .86rem; display: flex; gap: 14px; flex-wrap: wrap; }
.ticket-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ticket-chips code { font-family: var(--mono); font-size: .76rem; padding: 4px 8px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); }
.ticket-chips code.used { text-decoration: line-through; color: var(--faint); }
@media (max-width: 520px) {
  .scan-manual { grid-template-columns: 1fr; }
  .admin-tab { flex: 1 0 auto; padding: 10px 12px; }
}

/* ---- Owner login ---- */
.auth-view { max-width: 480px; margin: 24px auto 0; }
.auth-view h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 7vw, 2.8rem); margin: 0 0 8px; }
.auth-lead { margin: 0 0 18px; line-height: 1.6; }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--muted); font: inherit; font-size: .88rem; text-decoration: underline; cursor: pointer; justify-self: center; }
.link-btn:hover { color: var(--text); }
.ok-msg { color: var(--ok); }
.owner-chip { color: var(--muted); font-size: .85rem; margin-right: 10px; }
.owner-fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; padding: 10px 16px; border-radius: 99px; background: var(--pink); color: #fff; font-weight: 800; font-size: .85rem; text-decoration: none; box-shadow: 0 10px 30px rgba(255, 31, 176, .35); }
.owner-fab:hover { color: #fff; background: #ff3dbb; }

/* =====================================================================
   2026-11-18: accounts, "My tickets", ticket cards, celebration, location
   ===================================================================== */
html.modal-open { overflow: hidden; }

/* Header account button */
.account-slot { display: inline-flex; margin-left: 8px; }
.nav .account-slot .btn { margin-left: 0; }
.account-btn { gap: 8px; color: var(--text); }
.account-btn svg { flex: 0 0 auto; color: var(--pink-ink); }
.nav a.account-btn { padding: 8px 14px; color: var(--text); }
.account-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--green); color: #0a0a0d; font-size: .75rem; font-weight: 900; line-height: 1;
}
@media (max-width: 560px) {
  .account-btn-label { display: none; }
  .nav a.account-btn, .account-btn { padding: 8px 11px; }
  .nav .btn-primary.small { padding: 8px 12px; }
}

/* Login / register dialog */
.auth-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.auth-card {
  position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,31,176,.08); animation: pop .22s ease-out;
}
.auth-card h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.1rem; line-height: .95; margin: 0 0 8px; }
.auth-x {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.auth-x:hover { color: var(--text); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 16px 0 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--pink); color: #fff; }
.auth-form { display: grid; gap: 14px; }
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 84px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px;
  border: 0; border-radius: 8px; background: var(--card-2); color: var(--muted); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer;
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* Checkout account box */
.account-box { padding: 18px; border-radius: 14px; border: 1px dashed rgba(255,31,176,.5); background: var(--pink-soft); }
.account-box.is-in { border-style: solid; border-color: var(--line-2); background: var(--bg-2); }
.account-gate-title { font-weight: 800; margin: 0 0 4px; }
.account-gate-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.account-gate-actions .btn { flex: 1 1 140px; }
.account-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-who strong { word-break: break-all; }
.summary-venue { margin: 12px 0 0; font-size: .85rem; font-weight: 700; }

/* Venue links */
.venue-link { color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 4px; }
.venue-link:hover { color: var(--pink-ink); }
.meta-link { display: block; color: inherit; text-decoration: none; border-radius: 14px; }
.meta-link .meta-item { transition: border-color .15s, background .15s; }
.meta-link:hover .meta-item { border-color: var(--pink); background: var(--pink-soft); }

/* Tickets-left bar */
.stock { height: 8px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.stock i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--pink-ink)); }
.stock-label { margin: -4px 0 0; color: var(--muted); font-size: .82rem; font-weight: 700; }

/* 4 steps */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .steps-4 { grid-template-columns: 1fr; } }

/* Location */
.location-card {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--card);
}
.map-frame { position: relative; min-height: 380px; background: var(--bg-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.location-info { padding: 32px; display: flex; flex-direction: column; gap: 6px; border-left: 2px dashed var(--line-2); }
.location-info p { margin: 0; }
.location-address { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: .95; margin: 0; }
.location-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 18px; }
.location-facts div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.location-facts dt { color: var(--faint); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.location-facts dd { margin: 2px 0 0; font-weight: 800; }
.location-actions { display: grid; gap: 10px; margin-top: auto; }
@media (max-width: 860px) {
  .location-card { grid-template-columns: 1fr; }
  .map-frame { min-height: 280px; }
  .location-info { border-left: 0; border-top: 2px dashed var(--line-2); padding: 24px; }
}

/* My tickets page */
.wallet-page { padding-top: 40px; padding-bottom: 20px; }
.wallet-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.wallet-head p { margin: 6px 0 0; word-break: break-all; }
.wallet-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.wallet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; align-items: start; margin-bottom: 28px; }
.wallet-empty { padding: 40px 28px; text-align: center; border: 1px dashed var(--line-2); border-radius: 22px; background: var(--card); }
.wallet-empty .btn { margin-top: 8px; }
.wallet-sub { font-size: 1.1rem; margin: 8px 0 12px; }
.wallet-orders { display: grid; gap: 10px; }
.order-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--card);
}
.order-row > div { display: grid; flex: 1 1 220px; min-width: 0; }
.order-row .tiny { word-break: break-all; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: rgba(61,220,106,.1); }
.pill.wait { color: var(--pink-ink); background: var(--pink-soft); }
.pill.bad { color: var(--bad); background: rgba(255,84,104,.1); }

/* Ticket card */
.tix { position: relative; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.tix-head {
  position: relative; overflow: hidden; padding: 22px 22px 26px; border-radius: 23px 23px 0 0; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(61,255,94,.35), transparent 45%), linear-gradient(135deg, #ff1fb0, #c4108a);
}
.tix-head::after {
  content: "2016"; position: absolute; right: -6px; bottom: -22px; font-family: var(--display); font-weight: 900;
  font-size: 6.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.28); pointer-events: none;
}
.tix-head-row { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tix-admit { font-size: .7rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(10,10,13,.22); }
.tix-num { font-family: var(--mono); font-size: .78rem; font-weight: 600; }
.tix-title { position: relative; z-index: 1; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.6rem; line-height: .9; margin: 14px 0 4px; }
.tix-sub { position: relative; z-index: 1; margin: 0; font-weight: 800; color: #3dff5e; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.tix-perf { position: relative; height: 0; border-top: 2px dashed var(--line-2); margin: 0 18px; }
.tix-perf::before, .tix-perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.tix-perf::before { left: -31px; }
.tix-perf::after { right: -31px; }
.tix-body { padding: 22px; display: grid; gap: 14px; }
.tix-qr {
  position: relative; display: grid; place-items: center; width: 100%; padding: 14px; border: 0; border-radius: 18px;
  background: #fff; cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease;
}
.tix-qr:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px var(--pink-soft); }
.tix-qr img { width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.tix-tap { margin: -4px 0 0; text-align: center; color: var(--faint); font-size: .78rem; }
.tix-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tix-fact { padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.tix-fact small { display: block; color: var(--faint); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.tix-fact span, .tix-fact a { display: block; font-weight: 700; font-size: .88rem; overflow-wrap: anywhere; }
.tix-fact a { color: var(--text); text-decoration-color: var(--pink); }
.tix-code { display: block; text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--muted); word-break: break-all; }
.tix-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tix.is-used .tix-head { filter: grayscale(.9); }
.tix.is-used .tix-qr img { opacity: .25; }
.tix-used-stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  padding: 8px 16px; border: 3px solid var(--bad); border-radius: 10px; color: var(--bad);
  font-weight: 900; font-size: 1.1rem; text-transform: uppercase; background: rgba(255,255,255,.9);
}

/* Full-screen QR */
.qr-full { position: fixed; inset: 0; z-index: 95; background: #fff; color: #0a0a0d; display: grid; place-items: center; padding: 20px; overflow: auto; }
.qr-full-inner { display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 520px; text-align: center; }
.qr-full-title { margin: 0; font-weight: 800; font-size: 1rem; }
.qr-full img { width: min(86vw, 62vh, 480px); height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr-full-code { font-family: var(--mono); font-size: .78rem; color: #34343f; word-break: break-all; }
.qr-full-hint { margin: 0; color: #6f6f7b; font-size: .85rem; }
.qr-full .btn { min-width: 200px; }

/* Celebration */
.party { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5,5,8,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; }
.party-card {
  position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 440px; text-align: center; padding: 30px 24px 24px;
  border-radius: 26px; background: var(--card); border: 1px solid rgba(255,31,176,.45);
  box-shadow: 0 0 80px rgba(255,31,176,.3), var(--shadow); animation: pop .35s ease-out;
}
.party-title { overflow-wrap: anywhere; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: .9; margin: 0 0 10px; color: var(--green); }
.party-sub { color: var(--muted); }
.party-player { width: 100%; max-width: 356px; height: 200px; margin: 14px auto 16px; border-radius: 14px; overflow: hidden; background: #000; }
.party-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.party-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.party-actions .btn-lg { flex: 1 1 200px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -20px; border-radius: 2px; opacity: .95; animation-name: fall; animation-timing-function: cubic-bezier(.3,.6,.5,1); animation-fill-mode: forwards; }
@keyframes fall { to { top: 105%; transform: rotate(540deg) translateX(40px); opacity: .7; } }

@media (max-width: 420px) {
  .tix-title { font-size: 2.2rem; }
  .tix-fact:nth-child(n+3) { grid-column: 1 / -1; }
  .wallet-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Header buttons never wrap onto two lines */
.site-top .btn { white-space: nowrap; }
@media (max-width: 400px) { .brand { font-size: 1.02rem; gap: 8px; } .brand-mark { width: 30px; height: 30px; } }

/* Phones: a logged-in buyer sees "My tickets" with its label; the small header buy button steps aside */
@media (max-width: 560px) {
  .nav a.account-btn .account-btn-label { display: inline; }
  .nav:has(a.account-btn) > .btn-primary.small { display: none; }
}

/* Header: text links only when there is room for all of them on one row */
@media (max-width: 1100px) { .nav .nav-link { display: none; } }

/* Pre-filled account e-mail at checkout: visible but not editable */
#email[readonly] { opacity: 1; color: var(--text); background: var(--bg-2); border-style: dashed; cursor: default; }
