/* Laughing Pint ticketing.
 *
 * Structure borrowed from Eventbrite, skin taken from the Laughing Pint
 * marketing site (laughingpint/styles.css) so the two read as one brand.
 *
 * What is Eventbrite's: the poster-led event card (2:1 image, status badge
 * overlaid top-left, bold title, date line, venue, price), and the event page
 * shape - wide hero banner, title, organiser row, icon rows for place and time,
 * then a two-column split with the buy panel stuck to the right.
 *
 * What is ours: everything you can see. Eventbrite is white with purple
 * furniture; this is the Bentos-derived black ground, #121214 cards with the
 * two inset highlights that bevel the top edge, Poppins, and amber.
 *
 * The tokens below are copied from the marketing site rather than imported,
 * because this folder deploys on its own to a different host. If you restyle
 * one, restyle the other.
 */

:root {
  --bg: #000;
  --card: #121214;
  --card-2: #171719;
  --line: rgba(119, 119, 125, .2);
  --text: #9f9f9f;
  --text-soft: #ccc;
  --heading: #fff;
  --accent: #d98b1f;
  --accent-bright: #eda033;
  --accent-soft: rgba(217, 139, 31, .1);
  --ok: #4caf7d;
  --warn: #ef6b43;
  --radius: 20px;
  --pad: 40px;
  --wrap: 1180px;

  /* The bevel that makes a Bentos card look lit from above. */
  --bevel:
    rgba(255, 255, 255, .025) 0 0.362176px 0.651917px -1px inset,
    rgba(255, 255, 255, .036) 0 3px 5.4px -2px inset;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .55em;
}

a { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */

header.site {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(12px);
  z-index: 20;
}

header.site .wrap { display: flex; align-items: center; gap: 14px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.logo [data-mark] { display: flex; }
.logo .mark { flex: none; display: block; }

header.site .tag {
  color: var(--text);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

header.site .spacer { flex: 1; }

header.site .home-link {
  color: var(--text-soft);
  font-size: .88rem;
  text-decoration: none;
}

header.site .home-link:hover { color: var(--accent); }

/* ---------- landing hero ---------- */

.brand-hero { padding: 64px 0 40px; position: relative; overflow: hidden; }

.brand-hero::after {
  content: "";
  position: absolute;
  left: -300px;
  top: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 139, 31, .08), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.brand-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin-bottom: .3em; }
.brand-hero p { max-width: 54ch; margin: 0; }

/* ---------- event grid (Eventbrite's card, our skin) ---------- */

.shows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 26px;
  padding-bottom: 20px;
}

.show-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--bevel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}

.show-card:hover { border-color: rgba(217, 139, 31, .45); transform: translateY(-3px); }

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 1;
  background: var(--card-2);
  overflow: hidden;
}

.poster-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Most shows will not have artwork the week they go on sale, and an empty grey
   box reads as broken. The fallback prints the date big - the one thing a
   ticket buyer is scanning for anyway. */
.poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background:
    radial-gradient(circle at 30% 20%, rgba(217, 139, 31, .22), transparent 60%),
    linear-gradient(145deg, #1b1a17, #121214);
}

.poster-fallback .mon {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.poster-fallback .day {
  color: var(--heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
}

.poster-fallback .dow {
  color: var(--text);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

.badge.on { background: var(--accent); border-color: var(--accent); color: #000; }
.badge.sold { border-color: var(--warn); color: var(--warn); }

.card-body { padding: 20px 22px 24px; }

.card-body h2 {
  font-size: 1.12rem;
  margin: 0 0 8px;
  color: var(--heading);
}

.card-body .when {
  color: var(--accent);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.card-body .where { color: var(--text); font-size: .9rem; }

.card-body .price-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.card-body .price { color: var(--heading); font-weight: 600; }

/* Eventbrite prints "From $17.85" on a fifteen dollar ticket, because the fee
   is baked in. Ours says what it costs. Saying so is the product. */
.card-body .no-fees { color: var(--text); font-size: .78rem; }

/* ---------- empty state ---------- */

.empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--bevel);
  padding: 56px 40px;
  text-align: center;
}

.empty h2 { font-size: 1.4rem; margin-bottom: .4em; }
.empty p { max-width: 46ch; margin: 0 auto 24px; }

/* The order, cancel and refund pages: a left-aligned card at reading width. */
.empty.left { text-align: left; max-width: 640px; margin: 0 auto; }
.empty.left p { max-width: none; margin: 0 0 16px; }

/* ---------- buttons and pills ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: inherit;
  font-weight: 600;
  font-size: .94rem;
  padding: 14px 30px;
  border: 1px solid var(--accent);
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: all .15s ease;
}

.btn:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.btn:disabled { opacity: .5; cursor: progress; }
.btn.big { width: 100%; text-align: center; padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: .86rem; }

.btn-ghost { background: transparent; color: var(--text-soft); border-color: var(--line); }
.btn-ghost:hover { background: transparent; color: var(--heading); border-color: rgba(119, 119, 125, .5); }

/* Secondary actions (refund) - visible on black without competing with the
   solid amber buy button. */
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-bright); border-color: var(--accent-bright); }

.pill {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
}

.pill.sold { border-color: var(--warn); color: var(--warn); }
.pill.block { display: block; width: 100%; }

/* ---------- event page ---------- */

.event-hero {
  position: relative;
  margin: 28px 0 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 5 / 2;
  background: var(--card-2);
}

.event-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.event-hero .poster-fallback .day { font-size: 4.2rem; }

.status-line { margin-bottom: 18px; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--accent-soft);
  border: 1px solid rgba(217, 139, 31, .35);
  color: var(--accent);
}

.status-chip.sold { background: rgba(239, 107, 67, .1); border-color: rgba(239, 107, 67, .35); color: var(--warn); }

.event-title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: .35em; }

/* Eventbrite's organiser row: avatar, "by <org>", a follow button. Ours drops
   the follow button - there is nothing to follow - and keeps the attribution,
   which is what tells a buyer whose show this is. */
.organiser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.organiser .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
}

.organiser .by { font-size: .9rem; }
.organiser .by strong { color: var(--heading); font-weight: 600; }

.event-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.meta-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.meta-row svg { flex: none; margin-top: 4px; }
.meta-row .label { color: var(--heading); font-weight: 500; }
.meta-row .sub { font-size: .92rem; }

.prose { max-width: 62ch; }
.prose h2 { font-size: 1.15rem; margin: 34px 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose ul { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }

/* The buy panel. Sticky on desktop the way Eventbrite's is, so the price and
   the button stay put while the description scrolls. */
.buy-panel {
  position: sticky;
  top: 96px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--bevel);
  padding: 28px;
}

.buy-panel .price {
  color: var(--heading);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.buy-panel .price small {
  display: block;
  font-size: .8rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 4px;
}

.buy-panel .divider { height: 1px; background: var(--line); margin: 22px 0; }

.buy-panel .fine {
  font-size: .8rem;
  color: var(--text);
  margin: 14px 0 0;
  line-height: 1.6;
}

/* ---------- door sheet ---------- */

.door-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 22px;
}

select, input[type="text"], textarea {
  background: var(--card-2);
  color: var(--heading);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  min-width: 0;
}

input[type="text"] { flex: 1; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* The refund lookup: a narrow stacked form inside the .empty card. */
.form-stack { display: grid; gap: 14px; max-width: 420px; margin-bottom: 22px; }
.form-stack label { display: grid; gap: 6px; font-size: .86rem; color: var(--text-soft); }
.form-stack input[type="email"] {
  background: var(--card-2);
  color: var(--heading);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
.form-stack input:focus { outline: none; border-color: var(--accent); }

textarea {
  width: 100%;
  min-height: 120px;
  font: 13px/1.6 ui-monospace, Menlo, Consolas, monospace;
}

.tally {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--bevel);
  padding: 22px 28px;
  margin-bottom: 24px;
}

.tally b { display: block; color: var(--heading); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.tally span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.section-head {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 30px 0 14px;
}

.comp-list { list-style: none; padding: 0; margin: 0 0 26px; }

.comp-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 9px;
}

.comp-list li.here { border-color: rgba(76, 175, 125, .45); opacity: .6; }
.comp-list li.here .name { text-decoration: line-through; }
.comp-list .name { flex: 1; color: var(--heading); font-size: 1rem; }

.comp-list button {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}

.comp-list button:hover { color: var(--heading); border-color: rgba(119, 119, 125, .5); }
.comp-list li.here button.check { border-color: var(--ok); color: var(--ok); }

.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: .9rem;
}

.note strong { color: var(--heading); }

details summary { cursor: pointer; color: var(--text); }

/* ---------- footer ---------- */

footer.site {
  margin-top: 40px;
  padding: 30px 0 56px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
}

footer.site p { margin: 5px 0; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .event-cols { grid-template-columns: 1fr; gap: 28px; }

  /* The panel stops being a sidebar and becomes the thing under your thumb. */
  .buy-panel {
    position: sticky;
    top: auto;
    bottom: 0;
    z-index: 15;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 20px 22px;
    background: rgba(18, 18, 20, .96);
    backdrop-filter: blur(10px);
  }

  .buy-panel .divider { margin: 14px 0; }
  .buy-panel .price { font-size: 1.6rem; }
  .buy-panel .fine { display: none; }
}

@media (max-width: 620px) {
  .shows { grid-template-columns: 1fr; gap: 20px; }
  header.site .tag { display: none; }
  .brand-hero { padding: 40px 0 28px; }
  .tally { gap: 22px; padding: 18px 20px; }
  .tally b { font-size: 1.6rem; }
  .empty { padding: 40px 24px; }
}

/* ---------- organizer portal ---------- */

.portal-main { padding-top: 36px; padding-bottom: 60px; }

.portal-nav { display: flex; align-items: center; gap: 18px; font-size: .9rem; }
.portal-nav a { color: var(--text-soft); text-decoration: none; }
.portal-nav a, .portal-nav button { white-space: nowrap; }
.portal-nav a:hover { color: var(--heading); }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.portal-nav .link-button { color: var(--text-soft); text-decoration: none; }
.portal-nav .link-button:hover { color: var(--heading); }

.demo-banner { margin-bottom: 26px; border-color: rgba(217, 139, 31, .4); }

.fine-print { font-size: .82rem; color: var(--text); }
.muted { color: var(--text) !important; }
.form-error { color: var(--warn); font-size: .9rem; margin: 0; }

.portal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.portal-head h1 { font-size: 2rem; margin: 0 0 .15em; }
.portal-head p { margin: 0; font-size: .9rem; }

/* Dashboard rows: a small poster, the facts, and the three things you do. */
.show-rows { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }

.show-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--bevel);
}
.show-row.past { opacity: .55; }
.show-row .thumb {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-2);
}
.show-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-row .thumb .poster-fallback .day { font-size: 1.6rem; }
.show-row .thumb .poster-fallback .dow { display: none; }
.show-row h3 { font-size: 1.1rem; margin: 8px 0 2px; }
.show-row .sub { font-size: .86rem; }
.show-row .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.show-row .status-chip { font-size: .68rem; padding: 4px 10px; }

.status-chip.draft { background: transparent; border-color: var(--line); color: var(--text-soft); }

.profile-box { margin-top: 10px; }
.profile-box summary { cursor: pointer; color: var(--text-soft); }

/* The show form: three cards, two columns of fields inside each. */
.show-form section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  box-shadow: var(--bevel);
}
.show-form h2 { grid-column: 1 / -1; font-size: 1.15rem; margin: 0; }
.show-form label { display: block; font-size: .86rem; color: var(--text-soft); }
.show-form label span { color: var(--text); font-size: .78rem; margin-left: 4px; }
.show-form label > input, .show-form label > select, .show-form label > textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.show-form .wide { grid-column: 1 / -1; }
.show-form textarea { min-height: 0; font: inherit; }

input[type="email"], input[type="password"], input[type="number"],
input[type="datetime-local"], input[type="search"],
input[type="date"], input[type="time"] {
  background: var(--card-2);
  color: var(--heading);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  min-width: 0;
  color-scheme: dark;
}
input:focus { outline: none; border-color: var(--accent); }

.poster-field { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.poster-field p { margin: 4px 0 10px; }
.poster-field input[type="file"] { display: block; margin-bottom: 8px; color: var(--text-soft); font: inherit; font-size: .86rem; }
.poster-preview {
  aspect-ratio: 2 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-2);
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
}
.poster-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.form-actions .spacer { flex: 1; }
.btn-danger { background: transparent; color: var(--warn); border-color: rgba(239, 107, 67, .5); }
.btn-danger:hover { background: rgba(239, 107, 67, .1); border-color: var(--warn); color: var(--warn); }

/* Door additions. */
.door-search { width: 100%; margin-bottom: 24px; font-size: 1.05rem; }
.qty-input { width: 80px; }
.comp-list .qty { color: var(--accent); font-weight: 600; margin-left: 4px; }
.comp-list .name small { display: block; color: var(--text); font-size: .76rem; }
.comp-list li.refunded { opacity: .45; }
.tag-refunded { color: var(--warn); font-size: .78rem; margin-left: 6px; }

@media (max-width: 760px) {
  .show-row { grid-template-columns: 110px 1fr; }
  .show-row .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .show-form section { grid-template-columns: 1fr; padding: 20px; }
  .poster-field { grid-template-columns: 1fr; }
  .portal-nav { gap: 12px; font-size: .84rem; }
  .portal .logo [data-brand] { display: none; }
  header.site .tag { display: none; }
}

/* ---------- buy panel: quantity, fee breakdown, total ---------- */

.buy-panel .upfront {
  margin-top: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ok);
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: .9rem;
  margin-bottom: 14px;
}
.qty-row select { padding: 8px 12px; min-width: 76px; }

.breakdown {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  margin: 0 0 18px;
  font-size: .9rem;
}
.breakdown dt { color: var(--text); }
.breakdown dt span { font-size: .76rem; opacity: .8; }
.breakdown dd { margin: 0; color: var(--text-soft); text-align: right; font-variant-numeric: tabular-nums; }
.breakdown .total {
  color: var(--heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.buy-error { color: var(--warn); font-size: .84rem; margin: 12px 0 0; }

@media (max-width: 900px) {
  .breakdown { margin-bottom: 12px; font-size: .84rem; }
  .qty-row { margin-bottom: 8px; }
}

/* Header organizer button: compact enough to sit beside the home link. */
.organizer-btn { padding: 8px 16px; font-size: .8rem; white-space: nowrap; }

@media (max-width: 620px) {
  /* The logo already goes home; on a phone the button gets the room. */
  header.site .home-link { display: none; }
  .logo { font-size: .95rem; }
}

/* One date, then doors and showtime side by side. */
.when-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px 20px; }
@media (max-width: 760px) {
  .when-row { grid-template-columns: 1fr 1fr; }
  .when-row label:first-child { grid-column: 1 / -1; }
}

/* Hour : minute AM/PM, as three dropdowns. */
.time-pick { border: 0; padding: 0; margin: 0; min-width: 0; font-size: .86rem; color: var(--text-soft); }
.time-pick legend { padding: 0; margin-bottom: 6px; }
.time-pick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.time-pick legend { width: 100%; }
.time-pick select { padding: 11px 8px; flex: 1; min-width: 0; }
.time-pick span { color: var(--text); }

/* Who pays the service fee, with the live per-ticket numbers. */
.fee-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .86rem; color: var(--text-soft); }
.fee-choice legend { padding: 0; margin-bottom: 6px; }
.fee-choice legend span { color: var(--text); font-size: .78rem; margin-left: 4px; }
.fee-option {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}
.fee-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.fee-option input { margin: 4px 0 0; accent-color: var(--accent); }
.fee-option strong { color: var(--heading); font-weight: 600; }
.fee-option em { display: block; font-style: normal; color: var(--text); font-size: .82rem; }
.show-form .fee-option > input { width: auto; display: block; margin: 4px 0 0; flex: none; }

.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* The "no shows" message spans the whole grid instead of one card's width. */
.shows > .empty { grid-column: 1 / -1; }

/* Password box with the Show/Hide button sitting inside its right edge. */
.password-wrap { position: relative; display: block; }
.password-wrap input { width: 100%; padding-right: 72px; }
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--accent);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 10px;
  cursor: pointer;
}
.password-toggle:hover { color: var(--accent-bright); }


/* ---------- ticket types: the buy box ---------- */

.ticket-types { display: grid; gap: 10px; margin-bottom: 16px; }
.ticket-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ticket-type.unavailable { opacity: .5; }
.tt-name { color: var(--heading); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.tt-desc { font-size: .78rem; line-height: 1.4; margin-top: 2px; }
.tt-price { color: var(--text-soft); font-size: .88rem; margin-top: 4px; }
.tt-status { color: var(--warn); font-size: .74rem; font-weight: 600; margin-left: 6px; }
.tt-end { font-size: .74rem; margin-left: 6px; }
.ticket-type select { padding: 8px 10px; min-width: 64px; flex: none; }
.breakdown dt.total span { font-size: .78rem; font-weight: 400; color: var(--text); margin-left: 4px; }
.comp-list .name small.tickets { color: var(--accent); }

/* ---------- ticket types: the show form ---------- */

.tier-list { display: grid; gap: 12px; margin-bottom: 12px; }
.tier {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.tier-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px 14px; }
.tier-grid .tier-wide { grid-column: span 2; }
.show-form .tier label > input { margin-top: 6px; }
.tier-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .84rem; }
.tier-line { color: var(--ok); }
@media (max-width: 760px) {
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid label:first-child, .tier-grid .tier-wide { grid-column: 1 / -1; }
}

/* The organizer-name box, opened and outlined until a real name is set. */
.profile-box.needs-name { border: 1px solid var(--accent); border-radius: 14px; padding: 14px 16px; background: var(--accent-soft); }
.profile-box.needs-name summary { color: var(--heading); font-weight: 600; }
.form-stack .fine-print { display: block; margin-top: 2px; }


/* A ticket type's sales end: date, then hour : minute AM/PM. */
.tier-grid .tier-wide-all { grid-column: 1 / -1; }
.tier-end-label { display: block; font-size: .86rem; color: var(--text-soft); margin-bottom: 6px; }
.tier-end-label [data-end-note] { color: var(--text); font-size: .78rem; margin-left: 4px; }
.tier-end-fields { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tier-end-fields input[type="date"] { flex: 1 1 160px; }
.tier-end-fields select { padding: 11px 8px; }
.tier-end-fields span { color: var(--text); }

/* Refunds live in the footer, under the line, on every page. */
footer.site .footer-head { font-size: 1rem; margin: 0 0 .4em; }
footer.site .btn { margin: 4px 0 10px; }
.tier-end-hint { color: var(--text); font-size: .78rem; }

/* "Time zone is different than the address": a checkbox, a quiet note, and
   the dropdown only when it's ticked. */
.zone-row { display: grid; gap: 8px; }
.check-row { display: flex !important; align-items: center; gap: 10px; cursor: pointer; color: var(--text-soft); font-size: .86rem; }
.show-form .check-row > input { width: auto; margin: 0; accent-color: var(--accent); }
#zonePicker[hidden] { display: none; }

/* What an organizer sees in the buy box of their own draft. */
.draft-note { font-size: .88rem; margin: 0 0 14px; color: var(--text-soft); }
.draft-note strong { color: var(--heading); }

/* ---------- the "You're on the list" page ---------- */

.confirm { max-width: 620px; margin: 0 auto; }
.confirm-head { text-align: center; margin-bottom: 26px; }
.confirm-check {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #000;
  background: var(--ok);
  box-shadow: 0 0 0 8px rgba(76, 175, 125, .15);
}
.confirm-head h1 { font-size: 2rem; margin: 0 0 .25em; }
.confirm-head p { margin: 0; color: var(--text-soft); }

.confirm-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--bevel);
}
.confirm-poster { position: relative; aspect-ratio: 2 / 1; background: var(--card-2); }
.confirm-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.confirm-body { padding: 22px 24px 20px; }
.confirm-body h2 { font-size: 1.4rem; margin: 0 0 14px; }
.confirm-body .meta-row { margin-bottom: 12px; }

.confirm-lines { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; }
.confirm-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.confirm-qty { color: var(--accent); font-weight: 600; }
.confirm-line.total { color: var(--heading); font-weight: 700; font-size: 1.1rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }

.confirm-door {
  margin: 18px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(217, 139, 31, .45);
  background: var(--accent-soft);
  color: var(--text-soft);
  line-height: 1.6;
}
.confirm-door strong { color: var(--heading); }

.confirm-calendar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; font-size: .9rem; }
.confirm-receipt { font-size: .84rem; color: var(--text); text-align: center; margin: 0 0 22px; }
.confirm-actions { text-align: center; }

@media (max-width: 620px) {
  .confirm-head h1 { font-size: 1.6rem; }
  .confirm-body { padding: 18px; }
}
