/* Plotify, high-contrast, type-led.
   Pure paper or pure black, decided by the viewer's system setting, and one
   ink: the brand pink (#FF48B0, the disco-ball colour). The look leans on
   scale and contrast, not decoration: a condensed display face for the loud
   type, a system serif italic for the one accent word, and flat surfaces. */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/fonts/anton.woff2") format("woff2");
}

:root {
  /* Light is the default; dark is redefined below. "Completely white." */
  --bg: #ffffff;
  --bg-2: #f4f4f5;          /* wells, insets */
  --ink: #0a0a0a;
  --ink-2: #55555b;         /* secondary, 5.6:1 on white */
  --ink-3: #86868c;         /* faint, large text only */
  --line: rgba(10, 10, 10, 0.14);
  --line-strong: #0a0a0a;
  --accent: #ff48b0;        /* the pink. A FILL: buttons, marks, the band */
  --accent-ink: #c0166a;    /* pink you can read as text, 5:1 on white */
  --accent-wash: rgba(255, 72, 176, 0.10);
  --on-accent: #0a0a0a;     /* dark type on a pink fill */
  --radius: 16px;
  --maxw: 1180px;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, Roboto, Helvetica, Arial, sans-serif;
  --display: "Anton", "Haas Grot Disp", "Helvetica Neue", Impact, var(--sans);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* "Completely black." */
    --bg: #000000;
    --bg-2: #121214;
    --ink: #ffffff;
    --ink-2: #a1a1aa;       /* 7:1 on black */
    --ink-3: #71717a;
    --line: rgba(255, 255, 255, 0.16);
    --line-strong: #ffffff;
    --accent: #ff48b0;
    --accent-ink: #ff77c6;  /* brighter pink reads better on black, 7:1 */
    --accent-wash: rgba(255, 72, 176, 0.14);
    --on-accent: #0a0a0a;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 680px; }

/* ---------- nav ---------- */

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--ink-2); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
/* The nav button must keep dark-on-pink; `.nav-links a` (gray, and white on
   hover) is more specific than `.btn`, so restate the colour here and on hover
   or the label goes low-contrast on the pink fill. */
.nav-links .btn, .nav-links .btn:hover { color: var(--on-accent); padding: 9px 18px; font-size: 14px; }

/* ---------- buttons: a filled pill + an outline pill ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: 999px;
  border: 2px solid var(--accent); cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; filter: brightness(0.96); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: default; }
.btn-quiet, .btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line-strong);
}
.btn-quiet:hover, .btn-outline:hover { filter: none; background: var(--bg-2); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- hero: type does the work ---------- */

/* The hero owns the whole first screen (nav is ~76px above it), so the next
   section never peeks over the fold. Headline sits up top, the sub + buttons
   are pushed to the bottom. */
.hero {
  min-height: calc(100svh - 76px);
  display: flex; flex-direction: column;
  padding-block: 28px 44px;
}
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 800; color: var(--accent-ink);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 13.5vw, 176px);
  line-height: 0.9; letter-spacing: 0.005em; font-weight: 400;
  text-transform: uppercase;
}
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  color: var(--accent-ink); text-transform: none; letter-spacing: -0.02em;
}
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-top: auto; padding-top: 40px; flex-wrap: wrap;
}
.hero .sub {
  max-width: 440px; color: var(--ink-2); font-size: clamp(16px, 2.2vw, 19px);
}
.hero .cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }

/* ---------- product mock (kept, flattened) ---------- */

.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 820px) { .showcase { grid-template-columns: 1fr; gap: 28px; } }
.mock {
  max-width: 420px; text-align: left;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.mock .row { display: flex; justify-content: space-between; align-items: center; }
.badge { font-size: 13px; font-weight: 800; }
.badge.in { color: var(--accent-ink); }
.badge.curfew { color: var(--ink-2); font-weight: 700; font-size: 13px; }
.mock .cost { color: var(--ink-2); font-size: 13px; font-weight: 700; }
.mock .mock-title { margin: 12px 0 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.mock .where { color: var(--ink-2); font-size: 14px; }
.mock .friends { color: var(--accent-ink); font-size: 14px; font-weight: 700; margin-top: 10px; }
.mock .send {
  margin-top: 14px; display: inline-block;
  background: var(--accent-wash); color: var(--accent-ink);
  font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
}

/* ---------- sections ---------- */

section { padding-block: 72px; }
.rule { border: 0; border-top: 1.5px solid var(--line); }
section h2 {
  font-size: clamp(28px, 4.6vw, 46px); letter-spacing: -0.03em;
  line-height: 1.0; font-weight: 800; margin-bottom: 14px;
}
section h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent-ink); }
section .lede { color: var(--ink-2); max-width: 640px; margin-bottom: 44px; font-size: 18px; }

/* numbered editorial steps */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 92px 1fr; gap: 24px;
  padding: 30px 0; border-top: 1.5px solid var(--line); align-items: start;
}
.step:last-child { border-bottom: 1.5px solid var(--line); }
.step .num {
  font-family: var(--display); font-size: 52px; line-height: 0.9;
  color: var(--accent-ink); font-weight: 400;
}
.step h3 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 8px; font-weight: 800; }
.step p { color: var(--ink-2); font-size: 16px; max-width: 580px; }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .step .num { font-size: 38px; }
}

/* three-up cards */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card .k {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: var(--accent-wash); border-radius: 12px; width: 48px; height: 48px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; font-weight: 800; }
.card p { color: var(--ink-2); font-size: 15px; }

/* the loud pink band */
.band { background: var(--accent); color: var(--on-accent); padding: 72px 0; }
.band .wrap { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.band .big-q {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 54px); line-height: 0.94;
  letter-spacing: 0.005em; font-weight: 400; flex: 1 1 460px; color: #0a0a0a;
}
.band .big-q em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; }
.band p { flex: 1 1 300px; font-size: 16px; color: #0a0a0a; opacity: 0.82; }
.band a { color: #0a0a0a; text-decoration: underline; font-weight: 700; }

/* privacy strip (home proof block) */
.privacy-strip {
  background: var(--bg-2); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
}
.privacy-strip .lock { font-size: 28px; }
.privacy-strip h3 { font-size: 19px; margin-bottom: 6px; font-weight: 800; letter-spacing: -0.02em; }
.privacy-strip p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 640px) { .privacy-strip { flex-direction: column; } }

/* closing call to action */
.closer { text-align: center; padding: 96px 0; }
.closer h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(40px, 8vw, 96px); line-height: 0.9; font-weight: 400;
  letter-spacing: 0.005em; margin-bottom: 26px;
}
.closer h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent-ink); text-transform: none; }
.closer .cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.closer .note { color: var(--ink-3); font-size: 14px; margin-top: 18px; }

/* ---------- invite / rsvp pages ---------- */

.invite-shell { min-height: 100svh; display: flex; flex-direction: column; }
.invite-main { flex: 1; display: flex; align-items: center; }
.invite-card {
  width: 100%; max-width: 480px; margin: 28px auto;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 18px; padding: 30px;
}
.eyebrow {
  color: var(--accent-ink); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px;
}
.invite-card h1 {
  font-size: clamp(27px, 6vw, 36px); line-height: 1.06;
  letter-spacing: -0.02em; overflow-wrap: anywhere; font-weight: 800;
}
.invite-when { color: var(--accent-ink); font-weight: 700; margin-top: 12px; }
.invite-host { color: var(--ink-2); font-size: 15px; margin-top: 4px; overflow-wrap: anywhere; }

.locked {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; margin-top: 22px;
}
.locked .icon { font-size: 18px; }
.locked b { display: block; font-size: 15px; }
.locked span { color: var(--ink-2); font-size: 13.5px; }

.vibe { margin-top: 18px; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.vibe b { color: var(--ink); display: block; font-size: 14px; margin-bottom: 3px; }

.banner { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px; font-weight: 700; }
.banner.cancelled { background: var(--accent-wash); color: var(--accent-ink); }
.banner.draft { background: var(--bg-2); color: var(--ink-2); }

.ask { margin-top: 26px; border-top: 1.5px solid var(--line); padding-top: 24px; }
.ask h2 { font-size: 18px; margin-bottom: 4px; font-weight: 800; letter-spacing: -0.02em; }
.ask .hint { color: var(--ink-3); font-size: 13.5px; margin-bottom: 14px; }

.field { margin-bottom: 12px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-2); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 16px; font-family: inherit; resize: none;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }

.reply { margin-top: 16px; }
.reply .explain { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.reply .linkbox {
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px;
  color: var(--ink-2); overflow-wrap: anywhere; margin-bottom: 12px;
}
.reply .actions { display: flex; gap: 10px; }
.reply .actions .btn { flex: 1; }

.openapp { margin-top: 20px; text-align: center; }
.openapp a { font-size: 14.5px; font-weight: 700; }

.fineprint {
  text-align: center; color: var(--ink-3); font-size: 12.5px;
  padding: 18px 24px 30px; max-width: 480px; margin: 0 auto;
}
.fineprint a { color: var(--ink-3); text-decoration: underline; }

.error-state { text-align: center; }
.error-state .big { font-size: 40px; margin-bottom: 12px; }
.error-state p { color: var(--ink-2); font-size: 15px; }

.hidden { display: none !important; }

/* ---------- docs ---------- */

.doc { padding: 44px 0 84px; }
.doc h1 { font-size: 40px; letter-spacing: -0.03em; margin-bottom: 6px; font-weight: 800; }
.doc .updated { color: var(--ink-3); font-size: 14px; margin-bottom: 34px; }
.doc h2 { font-size: 22px; margin: 38px 0 10px; letter-spacing: -0.02em; font-weight: 800; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; font-weight: 700; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc li { margin-bottom: 8px; }
.doc b, .doc strong { color: var(--ink); }
.doc .callout {
  background: var(--bg-2); border: 1.5px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 16px 18px; margin: 18px 0;
}

/* ---------- footer ---------- */

footer {
  border-top: 1.5px solid var(--line);
  padding: 40px 0 52px; margin-top: 20px;
  color: var(--ink-3); font-size: 14px;
}
footer .cols2 { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-2); margin-right: 18px; font-weight: 600; }
footer a:hover { color: var(--ink); text-decoration: none; }

/* spacing utilities (inline styles are CSP-blocked) */
.mt12 { margin-top: 12px; }
.mt14 { margin-top: 14px; }
.mt16 { margin-top: 16px; }
.mt20 { margin-top: 20px; }

@media (max-width: 560px) { .hide-sm { display: none; } }

/* ---------- tickets on /i ---------- */
.ticket { margin-top: 22px; border-top: 1.5px solid var(--line); padding-top: 20px; }
.ticket-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ticket-label { font-size: 15px; font-weight: 700; }
.ticket-row b { color: var(--accent-ink); font-size: 18px; }
.ticket-note { color: var(--ink-3); font-size: 12.5px; margin-top: 10px; text-align: center; }
.ticket-tiers { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.ticket-tiers li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding: 0.5rem 0; border-top: 1.5px solid var(--line);
}
.ticket-tiers li:first-child { border-top: 0; }
.ticket-tiers li.sold-out { opacity: 0.5; }
.ticket-tiers li.sold-out strong { text-decoration: line-through; }
.ticket-policy { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.party-ig { display: inline-block; margin-top: 0.75rem; font-weight: 700; }

/* ---------- sign-up / auth ---------- */
.auth-shell { min-height: 100svh; display: flex; flex-direction: column; }
/* In a flex column, .wrap's `margin: 0 auto` would shrink these to content
   width and center them; force full width so the nav spans and the card
   centres against the whole viewport. */
.auth-shell > .wrap { width: 100%; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: 32px 48px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(44px, 11vw, 68px); line-height: 0.9; font-weight: 400;
  margin-bottom: 12px;
}
.auth-card h1 em {
  font-family: var(--serif); font-style: italic; text-transform: none;
  color: var(--accent-ink); font-weight: 500;
}
.auth-sub { color: var(--ink-2); font-size: 17px; margin-bottom: 28px; }
.auth-card [hidden] { display: none !important; }
.auth-actions { display: flex; flex-direction: column; gap: 12px; }
.auth-btn { width: 100%; justify-content: center; font-size: 16px; padding: 15px 20px; }
.btn-inverse { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-inverse:hover { filter: none; opacity: 0.9; }
.auth-btn svg { width: 18px; height: 18px; flex: none; }
.auth-or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 13px; margin: 4px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1.5px; background: var(--line); }
.auth-email { display: flex; flex-direction: column; gap: 12px; }
.auth-email input {
  width: 100%; background: var(--bg-2); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 15px 20px; font-size: 16px; font-family: inherit;
}
.auth-email input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.auth-note {
  margin-top: 18px; font-size: 14.5px; color: var(--accent-ink); font-weight: 600;
  background: var(--accent-wash); border-radius: 12px; padding: 12px 14px;
}
.auth-card .fineprint { text-align: left; padding: 22px 0 0; margin: 0; max-width: none; }
.auth-loginline { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.auth-loginline a { font-weight: 700; }

/* ---------- host composer ---------- */
.host-compose { padding-block: 32px 80px; max-width: 660px; }
.host-compose h1 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(40px, 9vw, 72px); line-height: 0.9; font-weight: 400; margin-bottom: 10px;
}
.host-compose > .lede { color: var(--ink-2); font-size: 18px; margin-bottom: 8px; }
.host-form { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.host-field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.host-field input, .host-field textarea, .host-field select {
  width: 100%; background: var(--bg-2); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; font-size: 16px; font-family: inherit; resize: none;
}
.host-field input:focus, .host-field textarea:focus, .host-field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash);
}
.host-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .host-two { grid-template-columns: 1fr; } }
.host-tickets { border: 1.5px solid var(--line); border-radius: 14px; padding: 4px 16px 8px; }
.host-tickets summary { padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.host-tickets summary::-webkit-details-marker { display: none; }
.host-tickets summary::before { content: "+ "; color: var(--accent-ink); font-weight: 800; }
.host-tickets[open] summary::before { content: "\2212 "; }
.host-tickets .host-field { margin-bottom: 12px; }
.host-gate {
  background: var(--bg-2); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 16px 18px; font-size: 14.5px; color: var(--ink-2);
}
.host-gate b { color: var(--ink); }
.host-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.host-field label .opt { font-weight: 400; color: var(--ink-3); }

/* ---------- host dashboard ---------- */
.dash { padding-block: 24px 84px; max-width: 1000px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(38px, 8vw, 60px); line-height: 0.9; font-weight: 400; }
.dash-handle { color: var(--accent-ink); font-weight: 800; font-size: 16px; margin-top: 8px; }
.dash-handle .verified { color: var(--ink-2); font-weight: 600; }
.chip { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-2); }
.chip.sample { color: var(--accent-ink); border-color: var(--accent); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.tile .label { font-size: 12px; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.tile .value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.tile .delta { font-size: 12.5px; margin-top: 4px; color: var(--ink-3); }
.tile .delta.up { color: var(--go); font-weight: 700; }

.panel { border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.panel h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2px; }
.panel .sublabel { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.dash-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .dash-two { grid-template-columns: 1fr; } }

.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .area { fill: var(--accent-wash); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--accent); }
.chart .bar { fill: var(--accent); }
.chart .track { fill: var(--bg-2); }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 8px; }

.bar-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-top { display: flex; justify-content: space-between; font-size: 13.5px; }
.bar-top .n { font-weight: 700; }
.bar-top .v { color: var(--ink-2); font-weight: 700; }
.barline { height: 9px; width: 100%; }

.party-list { display: flex; flex-direction: column; }
.party-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1.5px solid var(--line); }
[hidden] { display: none !important; }
a.party-item, .party-item a.p-name { color: inherit; }
.party-item:first-child { border-top: 0; padding-top: 0; }
.party-item .p-name { font-weight: 800; letter-spacing: -0.01em; }
.party-item .p-meta { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }
.party-item .p-right { text-align: right; display: flex; align-items: center; gap: 12px; }
.party-item .p-sold { font-weight: 800; font-size: 17px; }
.party-item .p-sub { font-size: 12.5px; color: var(--ink-3); }
.status { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.status.live { color: var(--go); border: 1.5px solid var(--go); }
.status.past { color: var(--ink-3); border: 1.5px solid var(--line); }

.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 600px) { .tools { grid-template-columns: 1fr; } }
.tool { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px; color: inherit; }
.tool:hover { text-decoration: none; border-color: var(--ink-2); }
.tool .t-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-wash); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.tool .t-name { font-weight: 800; }
.tool .t-sub { font-size: 13px; color: var(--ink-2); margin-top: 1px; }
.dash-cta { margin: 22px 0 8px; }

/* ---------- ticket checkout ---------- */
.checkout-main { flex: 1; display: flex; align-items: center; justify-content: center; padding-block: 28px 44px; }
.checkout-card { width: 100%; max-width: 460px; border: 1.5px solid var(--line); border-radius: 18px; padding: 26px; }
.checkout-event h1 { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.checkout-event .meta { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.checkout-event .host { color: var(--accent-ink); font-weight: 700; }
.tiers-sel { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 6px; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.tier.selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.tier .t-name { font-weight: 700; }
.tier .t-note { font-size: 12.5px; color: var(--accent-ink); font-weight: 700; margin-top: 2px; }
.tier .t-price { font-weight: 800; font-size: 17px; white-space: nowrap; }
.qty { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; }
.qty .lbl { font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 16px; }
.stepper button { width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; font-family: inherit; }
.stepper button:hover { border-color: var(--ink-2); }
.stepper .count { font-weight: 800; font-size: 18px; min-width: 22px; text-align: center; }
.summary { border-top: 1.5px solid var(--line); padding-top: 16px; margin-top: 16px; }
.summary .row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; color: var(--ink-2); }
.summary .row.total { color: var(--ink); font-weight: 800; font-size: 20px; margin-top: 8px; margin-bottom: 0; }
.applepay { width: 100%; margin-top: 20px; background: var(--ink); color: var(--bg); border: none; border-radius: 12px; padding: 16px; font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: inherit; }
.applepay:active { transform: translateY(1px); }
.applepay svg { width: 20px; height: 22px; flex: none; }
.checkout-card .paycard { width: 100%; margin-top: 10px; justify-content: center; }
.secure { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 16px; }
.confirm { text-align: center; padding: 14px 0; }
.confirm .big { font-size: 44px; margin-bottom: 10px; }
.confirm h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.confirm p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.confirm .preview-note { color: var(--accent-ink); font-weight: 600; background: var(--accent-wash); border-radius: 12px; padding: 12px 14px; margin-top: 18px; font-size: 14px; }

/* ---------- web tickets: one-tap checkout, the pass, the door ---------- */
.spots { color: var(--accent-ink); font-weight: 800; font-size: 14px; margin-top: 10px; }
.express { min-height: 52px; }
.or-pay { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12.5px; font-weight: 700; margin: 16px 0 0; }
.or-pay::before, .or-pay::after { content: ""; flex: 1; border-top: 1.5px solid var(--line); }
.party-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.party-tools .btn { justify-content: center; text-align: center; white-space: nowrap; padding: 13px 12px; font-size: 15.5px; }
.party-tools .btn:only-child { grid-column: 1 / -1; }
.pass { text-align: center; }
.pass h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.pass .meta { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }
.pass-qr { background: #fff; border-radius: 16px; padding: 10px; width: min(100%, 264px); margin: 20px auto 0; border: 1.5px solid var(--line); }
.pass-qr svg { display: block; width: 100%; height: auto; }
.pass-qr.dim { opacity: 0.25; }
.door-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 28px; font-weight: 800; letter-spacing: 0.12em; margin-top: 14px; }
.pass-sub { color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.pass-where { margin-top: 16px; font-size: 15px; }
.pass-where.wait { color: var(--ink-3); font-size: 13.5px; }
.pass-flag { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-ink); font-weight: 800; font-size: 13px; }
.pass-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pass-actions .btn { justify-content: center; }
.wallet-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #000; color: #fff; border: 1.5px solid #000; border-radius: 12px; padding: 14px; font-weight: 700; font-size: 16px; }
.wallet-btn:hover { text-decoration: none; filter: brightness(1.15); }
@media (prefers-color-scheme: dark) { .wallet-btn { border-color: rgba(255,255,255,0.5); } }
.share-qr { background: #fff; border-radius: 14px; padding: 8px; width: 180px; margin: 16px auto 0; }
.share-qr svg { display: block; width: 100%; height: auto; }
.linkline { display: flex; gap: 8px; margin-top: 14px; }
.linkline input { flex: 1; min-width: 0; background: var(--bg-2); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 13px; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.mine-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mine-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; color: inherit; }
.mine-list a b { color: var(--accent-ink); white-space: nowrap; }
/* door */
.door-main { padding-block: 24px 44px; }
.door-card { max-width: 560px; margin: 0 auto; }
.door-stats { display: flex; gap: 10px; margin-top: 14px; }
.door-stats div { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.door-stats b { display: block; font-size: 24px; font-weight: 800; }
.door-stats span { color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.door-input { display: flex; gap: 8px; margin-top: 16px; }
.door-input input { flex: 1; min-width: 0; background: var(--bg-2); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; font-size: 18px; font-family: inherit; }
.door-input input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.door-verdict { margin-top: 14px; border-radius: 14px; padding: 16px; font-weight: 800; font-size: 18px; text-align: center; border: 2px solid var(--line); }
.door-verdict.ok { border-color: #1fae5b; color: #1fae5b; }
.door-verdict.bad { border-color: var(--accent); color: var(--accent-ink); }
.door-verdict small { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.door-cam { width: 100%; border-radius: 14px; margin-top: 14px; background: #000; aspect-ratio: 1 / 1; object-fit: cover; }
.door-list { list-style: none; padding: 0; margin: 18px 0 0; }
.door-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1.5px solid var(--line); }
.door-list li .who b { display: block; }
.door-list li .who span { color: var(--ink-3); font-size: 12.5px; }
.door-list li.in .who b { color: var(--ink-3); text-decoration: line-through; }
.door-list .btn { padding: 8px 14px; font-size: 14px; }

/* Group tickets, flyers, the in-app browser hint (2026-10-12) */
.flyer { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; border-radius: 14px; background: var(--bg-2); margin-bottom: 18px; }
.qty { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 700; }
.stepper { display: flex; align-items: center; gap: 4px; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink); font: inherit; font-size: 20px; font-weight: 800; cursor: pointer; }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 32px; text-align: center; font-weight: 800; font-size: 17px; }
.ig-hint { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--accent-wash); color: var(--ink); font-size: 14px; line-height: 1.45; }
.door-btns { display: flex; gap: 6px; flex-shrink: 0; }
.flyer-field { margin-top: 6px; }
.flyer-field img { display: block; max-width: 180px; border-radius: 12px; margin: 10px 0; }
.flyer-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Host form: same height for every field, and nothing drawn until the
   script has filled it in, so the date and time never jump (2026-10-12) */
.host-form:not(.ready) { visibility: hidden; }
.host-field input:not([type="checkbox"]):not([type="file"]), .host-field select { height: 50px; line-height: 1.2; }
.host-field input[type="date"], .host-field input[type="time"] {
  -webkit-appearance: none; appearance: none; display: block; min-width: 0;
  font-variant-numeric: tabular-nums;
}
.host-field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.host-two > .host-field { min-width: 0; }
@media (max-width: 520px) { .host-keep { grid-template-columns: 1fr 1fr; } }
.host-tier { display: grid; grid-template-columns: 1fr 120px; gap: 10px; margin-top: 12px; }
.host-tier:first-child { margin-top: 0; }
.host-tickets { padding: 16px; }
.host-more { border-top: 1.5px solid var(--line); padding-top: 4px; }
.host-more summary { padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
.host-more summary::-webkit-details-marker { display: none; }
.host-more summary::before { content: "+ "; color: var(--accent-ink); font-weight: 800; }
.host-more[open] summary::before { content: "\2212\00a0"; }
.host-more .host-field { margin-top: 14px; }
.host-check { display: flex !important; gap: 10px; align-items: center; font-weight: 600 !important; }
.host-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.host-form p.opt { font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.host-field p.opt { margin-top: 6px; }

/* ---- Host wizard: four short steps, all of them at once when editing ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wiz-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; }
.wiz-progress span { height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.wiz-progress span.on { background: var(--accent); }
.wiz-step { padding: 0; display: none; flex-direction: column; gap: 18px; }
.wiz-step.on, .host-form.all .wiz-step { display: flex; }
.host-form.all .wiz-step + .wiz-step { border-top: 1.5px solid var(--line); padding-top: 22px; }
.host-form.all .wiz-kicker, .host-form.all #wiz-back, .host-form.all #wiz-next { display: none; }
.wiz-kicker { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.wiz-step h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: -8px 0 0; }
.wiz-nav { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.wiz-nav .btn { flex: 1; justify-content: center; padding: 15px 20px; font-size: 16px; }
.wiz-nav #wiz-back { flex: 0 0 auto; }
.wiz-nav [hidden] { display: none !important; }
.entry-cards { display: grid; gap: 10px; }
.entry-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left;
  padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: transparent; color: var(--ink); font: inherit; cursor: pointer;
}
.entry-card b { font-size: 16.5px; }
.entry-card span { color: var(--ink-2); font-size: 14.5px; }
.entry-card:hover { border-color: var(--ink-3); }
.entry-card[aria-checked="true"] { border-color: var(--accent); background: var(--accent-wash); }
.host-tier { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.host-tickets.single .host-tier { grid-template-columns: 1fr; }
.host-tickets.single .t-name-field { display: none; }

/* ---- Party page host panel on phones ---- */
.linkline { display: flex; gap: 10px; align-items: stretch; }
.linkline input { flex: 1; min-width: 0; }
.linkline .btn { flex: none; padding: 10px 18px; font-size: 15px; border-radius: 12px; }

/* ---- Welcome step ---- */
.auth-skip { display: block; text-decoration: none; background: none; border: 0; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 600; padding: 12px 0 0; cursor: pointer; text-align: center; width: 100%; }
.auth-skip:hover { color: var(--ink); text-decoration: underline; }

/* Party page: everything past the basics folds into Details. */
.party-more { border-top: 1.5px solid var(--line); margin-top: 14px; }
.party-more summary { padding: 12px 0 4px; font-weight: 700; cursor: pointer; list-style: none; color: var(--ink); }
.party-more summary::-webkit-details-marker { display: none; }
.party-more summary::after { content: "+"; float: right; color: var(--accent-ink); font-weight: 800; }
.party-more[open] summary::after { content: "\2212"; }
.party-more .meta, .party-more .spots { margin-top: 8px; }
#status > .party-more { margin-top: 0; }

.review-note { background: var(--bg-2); border: 1.5px solid var(--accent); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.review-note b { color: var(--ink); }
.review-note.bad { border-color: #e5484d; }

/* Admin review queue */
.admin-main { padding-top: 40px; padding-bottom: 60px; max-width: 760px; }
.admin-queue { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.admin-item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; }
.admin-flyer { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--bg-2); }
.admin-flyer.none { display: grid; place-items: center; color: var(--ink-3); font-size: 13px; }
.admin-body .meta { margin-top: 6px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.admin-actions .btn { padding: 10px 16px; font-size: 14.5px; }
@media (max-width: 560px) { .admin-item { grid-template-columns: 1fr; } .admin-flyer { width: 100%; max-width: 240px; } }
