/* ── Poppins (brand site font), self-hosted Latin subset, SIL Open Font License ── */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }

/* ── Design tokens ─────────────────────────────────────────────────
   Brand colors (--lp-*) come from brand.css (brand/README.md). Light/dark follows the device
   unless the visitor picked one (data-theme on <html>, see App.razor). Only extras live here,
   using the same selectors as brand.css. */
:root {
    --success-text: #0A5A3C;   /* text on the soft green/red/amber notice backgrounds */
    --danger-text: #8F1530;
    --warn-text: #6B4100;
    --shadow: rgb(27 26 34 / .14);
    --radius: 12px;
    --radius-sm: 8px;
    --container: 1600px; /* wide screens use the room (owner, 2026-11-21); reading pages stay narrow (.page-narrow) */

    /* ── One visual system (redesign phase 5b) ──
       Type: six roles, plus three named sizes for numbers and marketing heroes. Every page h1 is --fs-title, every
       section heading --fs-heading, every h3 / panel heading --fs-subhead. Nothing else sets a font size by hand. */
    --fs-micro: .75rem;       /* table headers, pills, small labels */
    --fs-small: .875rem;      /* fine print, meta lines, form labels, table cells */
    --fs-body: 1rem;          /* body text, buttons */
    --fs-subhead: 1.125rem;   /* h3, panel headings, list titles */
    --fs-heading: 1.375rem;   /* h2 section headings */
    --fs-title: clamp(1.75rem, 3.2vw, 2.125rem); /* page h1 */
    --fs-stat: 1.75rem;       /* the number on a stat tile */
    --fs-numeral: clamp(2.5rem, 9vw, 4rem);      /* the big numbers on the pass, the door and the pricing rate */
    --fs-display: clamp(2.25rem, 5vw, 3.5rem);   /* marketing heroes and the event page title only */
    --fw-regular: 400;
    --fw-strong: 600;
    --fw-title: 600;
    --fw-display: 700;
    /* Widths: the app frame (host, admin and event pages), the reading column (forms, prose), a paragraph's measure.
       Wide tables use the full app width. */
    --w-app: 1120px;
    --w-read: 640px;
    --w-measure: 65ch;
    --space-section: 2.5rem;  /* between page sections */
    /* The dark stage band (opening night, the flyer promo on /hosts, the fan-funded host band): the same in both themes. */
    --lp-stage: #0E1430;
    --lp-stage-ink: #F6F1E7;
    --lp-stage-muted: #C9CBE0;
    --lp-stage-accent: #E8588F;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --success-text: #C9F7E2;
        --danger-text: #FFD6DD;
        --warn-text: #FFE6BF;
        --shadow: rgb(0 0 0 / .6);
    }
}

:root[data-theme="dark"] {
    --success-text: #C9F7E2;
    --danger-text: #FFD6DD;
    --warn-text: #FFE6BF;
    --shadow: rgb(0 0 0 / .6);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-ink);
    font-size: var(--fs-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--lp-brand-text); }

/* Headings: one size per level everywhere (pages may only set margins). */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: var(--fw-strong); }
h1 { font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.03em; }
h2 { font-size: var(--fs-heading); }
h3 { font-size: var(--fs-subhead); }
/* Paragraphs in app pages and prose keep a readable measure. */
:where(.dash, .page-narrow, .prose, .prose-page, .info-top) p { max-width: var(--w-measure); }

h1:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--lp-brand);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: min(var(--container), 100% - clamp(2rem, 5vw, 6rem));
    margin-inline: auto;
}

.muted { color: var(--lp-muted); }

.lead { font-size: var(--fs-subhead); color: var(--lp-muted); }

.fine-print { font-size: var(--fs-small); color: var(--lp-muted); margin: .75rem 0 0; }

/* ── Buttons: three looks ──────────────────────────────────────────
   Primary (.btn-primary): the pink fill, at most one per view. Secondary (.btn): the page background with a 1px line.
   Quiet (.btn-quiet, and .link-button inline in text): no border, text only, for row actions and tertiary actions.
   Danger (.btn-danger) only to confirm something destructive. Sizes: .btn-sm, .btn-lg; .btn-block is full width. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .6rem 1.15rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--lp-line);
    background: var(--lp-bg);
    color: var(--lp-ink);
    font: inherit;
    font-size: var(--fs-body);
    font-weight: var(--fw-strong);
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn:hover:not(:disabled) { border-color: var(--lp-ink); }

.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary { border-color: var(--lp-button); background: var(--lp-button); color: var(--lp-on-brand); }

.btn-primary:hover:not(:disabled) { border-color: var(--lp-button-hover); background: var(--lp-button-hover); }

.btn-quiet { border-color: transparent; background: none; color: var(--lp-brand-text); padding-inline: .6rem; }

.btn-quiet:hover:not(:disabled) { border-color: transparent; background: var(--lp-surface); }

.btn-danger { border-color: var(--lp-danger); background: var(--lp-danger); color: var(--lp-on-status); }

.btn-danger:hover:not(:disabled) { border-color: var(--lp-ink); }

.btn-sm { min-height: 36px; padding: .35rem .8rem; font-size: var(--fs-small); }

.btn-lg { min-height: 52px; padding: .9rem 1.4rem; font-size: var(--fs-subhead); }

.btn-block { width: 100%; margin-top: 1.1rem; }

/* ── Pills: one size, four tones (Shared/Pill.razor; StatusPill picks the tone for a status) ──
   neutral: roles and tags (Host, Admin, Founding, Early fan) · positive: On sale, Paid, Ready ·
   attention: Draft, Pledged, Owed, Incomplete · negative: Cancelled, Refunded, Failed. */
.pill {
    display: inline-flex;
    align-items: center;
    padding: .12rem .6rem;
    border-radius: 999px;
    font-size: var(--fs-micro);
    font-weight: var(--fw-strong);
    line-height: 1.5;
    letter-spacing: 0;
    white-space: nowrap;
    vertical-align: middle;
    background: var(--lp-surface-2);
    color: var(--lp-muted);
}

.pill-neutral { background: var(--lp-surface-2); color: var(--lp-muted); }
.pill-positive { background: color-mix(in srgb, var(--lp-live) 16%, var(--lp-bg)); color: var(--success-text); }
.pill-attention { background: color-mix(in srgb, var(--lp-warn) 18%, var(--lp-bg)); color: var(--warn-text); }
.pill-negative { background: color-mix(in srgb, var(--lp-danger) 16%, var(--lp-bg)); color: var(--danger-text); }

/* ── Page sections and panels ─────────────────────────────────────
   A page section is a heading, an optional one-line description, then its content (rows and tables on the page
   background). A panel (filled, bordered) is only for one thing acted on as a whole: a form being filled, a checklist,
   a stat tile. */
.page-section { margin-top: var(--space-section); }
.page-section:first-child { margin-top: 0; }
.section-title { margin: 0 0 .6rem; font-size: var(--fs-heading); font-weight: var(--fw-strong); letter-spacing: -.02em; line-height: 1.2; }
.section-lede { margin: -.25rem 0 1rem; color: var(--lp-muted); max-width: var(--w-measure); }

/* ── Empty lists (Shared/EmptyState.razor): a title, one sentence, an optional action ── */
.empty-state { padding: 1.4rem 0; }
.empty-state .empty-title { margin: 0; font-size: var(--fs-subhead); font-weight: var(--fw-strong); color: var(--lp-ink); }
.empty-state .empty-text { margin: .25rem 0 0; color: var(--lp-muted); max-width: var(--w-measure); }
.empty-state .empty-action { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── Home ──────────────────────────────────────────────────────── */


.eyebrow {
    margin: 0 0 .75rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: var(--fs-micro);
    font-weight: 700;
    color: var(--lp-brand-text);
}


/* At most one pink word in a headline (brand rule). */
.hl { color: var(--lp-brand); }

/* ── Home (F2): featured row, what's on, rows ──────────────────────── */
.home-section { margin-top: 4.5rem; }
.home-section:first-child { margin-top: 2.5rem; }

.home-h1 { margin: 0; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.035em; line-height: 1.1; }
.home-h2 { margin: 0; font-size: var(--fs-heading); font-weight: var(--fw-strong); letter-spacing: -.025em; }

/* The city is part of the heading: a plain pink word that opens the list. */
.city-pick { position: relative; display: inline-block; max-width: 100%; white-space: nowrap; }
.city-chevron { position: absolute; right: 0; top: 50%; width: .55em; height: .55em; transform: translateY(-40%); color: var(--lp-brand-text); pointer-events: none; }
.city-inline {
    font: inherit;
    letter-spacing: inherit;
    color: var(--lp-brand-text);
    background: none;
    border: 0;
    padding: 0;
    padding-right: .75em;
    border-bottom: 2px dashed color-mix(in srgb, var(--lp-brand-text) 55%, transparent);
    margin: 0;
    cursor: pointer;
    appearance: none;
    field-sizing: content;
    max-width: 100%;
}
.city-inline:hover { border-bottom-style: solid; }
.city-inline:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 4px; }
.city-inline option { color: var(--lp-ink); font-size: var(--fs-body); font-weight: 400; letter-spacing: 0; }

.home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.6rem; }
.home-head [data-location-status] { flex-basis: 100%; margin: 0; }
.when-filters { display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-size: var(--fs-body); }
.when-filters a { color: var(--lp-muted); text-decoration: none; padding: .6rem 0; }
.when-filters a:hover { color: var(--lp-ink); }

/* Featured: a wide picture and four lines beside it. A season (admin setting) tints its panel. */

/* Rows: recitals, "Your dancers". */
.home-rows { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.home-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding: 1.15rem 0; border-top: 1px solid var(--lp-line); }
.home-row:last-child { border-bottom: 1px solid var(--lp-line); }
.home-row-main { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: .1rem; color: var(--lp-ink); text-decoration: none; }
.home-row-main strong { font-size: var(--fs-body); font-weight: 600; letter-spacing: -.015em; }
a.home-row-main:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.home-row-link { color: var(--lp-brand-text); text-decoration: none; padding: .5rem 0; }

.see-all { color: var(--lp-brand-text); text-decoration: none; padding: .5rem 0; }

/* Seasons (admin, /admin/look): a soft panel behind the featured event and the label in the season's colour.
   Public browsing pages only; checkout, passes and dashboards never use these. */
main[data-season="spring"] { --season-soft: #EDF5E7; --season-ink: #2F6B2F; }
main[data-season="summer"] { --season-soft: #FFF4D6; --season-ink: #7A5200; }
main[data-season="autumn"] { --season-soft: #FBE8DC; --season-ink: #973C10; }
main[data-season="winter"] { --season-soft: #E6EEF7; --season-ink: #24507A; }
:root[data-theme="dark"] main[data-season="spring"] { --season-soft: #1B271C; --season-ink: #9BD495; }
:root[data-theme="dark"] main[data-season="summer"] { --season-soft: #2A2414; --season-ink: #F2C766; }
:root[data-theme="dark"] main[data-season="autumn"] { --season-soft: #2C1D16; --season-ink: #F2A679; }
:root[data-theme="dark"] main[data-season="winter"] { --season-soft: #162230; --season-ink: #93BEEA; }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.4rem;
}

.section-head h2 { margin: 0; font-size: var(--fs-heading); font-weight: var(--fw-strong); letter-spacing: -.025em; }

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.2rem 1.75rem;
}
@media (max-width: 600px) { .event-grid { gap: 1rem; } }

/* Not found / error: one centred message. */
.page-message { margin-top: 4rem; padding: 3rem 0; text-align: center; }
.page-message p { margin-inline: auto; }

/* ── Event page ────────────────────────────────────────────────── */

.back-link {
    display: inline-block;
    margin-bottom: 1.1rem;
    color: var(--lp-muted);
    text-decoration: none;
    padding: .4rem 0;
}

.back-link:hover { color: var(--lp-ink); }

.event-head h1 { font-size: var(--fs-display); font-weight: var(--fw-display); letter-spacing: -.035em; line-height: 1.06; margin: 0 0 .5rem; }

.performer { margin: 0; font-size: var(--fs-subhead); color: var(--lp-muted); }

/* The poster left of the title, whole and at its own shape (a tall flyer keeps its date and names). */
.event-head.has-poster { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 2.2rem; align-items: start; }
.event-head.has-poster .back-link { grid-column: 1 / -1; }
.event-hero-text { min-width: 0; }
.event-poster { margin: 0; }
.event-poster img { display: block; width: auto; max-width: 280px; max-height: 380px; height: auto; border-radius: 16px; }
@media (max-width: 600px) {
    .event-head.has-poster { grid-template-columns: 1fr; gap: 1.1rem; }
    .event-poster img { max-width: 100%; max-height: 52vh; }
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 3rem;
    margin-top: 1.6rem;
}

.fact { display: grid; gap: .2rem; }

.fact-label {
    font-size: var(--fs-small);
    color: var(--lp-muted);
}

.countdown {
    display: inline-flex;
    gap: .6rem;
    align-items: baseline;
    margin: 1.2rem 0 0;
    padding: .45rem .8rem;
    border-radius: var(--radius-sm);
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
}

.countdown-prefix { color: var(--lp-muted); font-size: var(--fs-small); }

.countdown-value { font-weight: 700; font-variant-numeric: tabular-nums; }

.event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas: "head tickets" "main tickets";
    grid-template-rows: auto 1fr;
    gap: 2.5rem 4rem;
    padding: 1rem 0 3.5rem;
    align-items: start;
}
.event-head { grid-area: head; }
.event-main { grid-area: main; min-width: 0; padding-top: 2rem; border-top: 1px solid var(--lp-line); }
.event-main > :first-child { margin-top: 0; }
.ticket-panel { grid-area: tickets; }

/* "Presented by" the host, with a way to follow them. */
.host-strip { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem;
    padding-top: 1.2rem; border-top: 1px solid var(--lp-line); }
.host-strip > div { display: grid; gap: .15rem; min-width: 0; }
.host-strip-name { color: var(--lp-ink); font-weight: 600; font-size: var(--fs-body); text-decoration: none; }
.host-strip-name:hover { text-decoration: underline; }
.event-main > .host-strip:first-child { margin-top: 0; }

.prose { color: color-mix(in srgb, var(--lp-ink) 88%, var(--lp-muted)); }

.prose p { margin: 0 0 1rem; }

.seating-map {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--lp-line);
}

.ticket-panel {
    position: sticky;
    top: 84px;
    padding: 1.6rem 1.6rem 1.3rem;
    border-radius: 20px;
    background: var(--lp-bg);
    border: 1px solid var(--lp-line);
}

.ticket-panel h2 { margin: 0 0 .6rem; font-size: var(--fs-subhead); font-weight: var(--fw-strong); letter-spacing: -.02em; }

.notice {
    padding: .9rem 1rem;
    border-radius: 12px;
    background: var(--lp-surface);
    margin-bottom: 1rem;
}

.notice .countdown { margin-top: .6rem; }

.ticket-group + .ticket-group { margin-top: 1.1rem; }

.section-name {
    margin: 0 0 .4rem;
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--lp-muted);
}

.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; }

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .95rem 0;
    border-top: 1px solid var(--lp-line);
}
.ticket-list .ticket-row:first-child { border-top: 0; }

/* Name and description on the left; price and quantity on one line on the right, centred. */
.ticket-row > div:not(.ticket-buy) { display: grid; justify-items: start; flex: 1; min-width: 0; }
.ticket-row > .ticket-buy { display: flex; align-items: center; }

.ticket-name { font-weight: 600; }
.ticket-row .pill { margin-top: .3rem; }

.ticket-desc { font-size: var(--fs-small); color: var(--lp-muted); }

.ticket-price { font-weight: 600; white-space: nowrap; }

.ticket-row.is-soldout { opacity: .55; }

@media (max-width: 900px) {
    .event-layout { grid-template-columns: 1fr; grid-template-areas: "head" "tickets" "main"; grid-template-rows: auto; }
    .ticket-panel { position: static; }
    .event-main { padding-top: 0; border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

/* ── Checkout ─────────────────────────────────────────────────────────── */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.ticket-buy {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-shrink: 0;
}

.qty-select,
.buyer-fields input {
    font: inherit;
    color: var(--lp-ink);
    background: var(--lp-bg);
    border: 1px solid var(--lp-line);
    border-radius: var(--radius-sm);
}

.qty-select {
    min-width: 4.2rem;
    min-height: 44px;
    padding: .35rem .6rem;
    border-radius: 12px;
    background: var(--lp-surface);
    border-color: transparent;
}

.buyer-fields {
    display: grid;
    gap: .35rem;
    margin: 1.1rem 0 1rem;
}

.buyer-fields label {
    font-size: var(--fs-small);
    font-weight: 600;
}

/* Signed in: "Tickets go to ana@example.com · Change"; Change opens the email field. */
.buyer-to { margin-bottom: .45rem; }
.buyer-to summary { list-style: none; cursor: pointer; font-size: var(--fs-small); overflow-wrap: anywhere; }
.buyer-to summary::-webkit-details-marker { display: none; }
.buyer-change { color: var(--lp-brand-text); font-weight: 600; }
.buyer-to[open] summary { margin-bottom: .6rem; }
.buyer-to[open] .buyer-change { display: none; }
.buyer-to label { display: block; margin-bottom: .35rem; }
.buyer-to input { width: 100%; box-sizing: border-box; }

.buyer-fields input {
    padding: .7rem .8rem;
    margin-bottom: .45rem;
}

.qty-select:focus-visible,
.buyer-fields input:focus-visible {
    outline: 2px solid var(--lp-brand);
    outline-offset: 1px;
}

.form-error,
.form-success {
    margin: .2rem 0 1rem;
    padding: .7rem .9rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.form-error {
    background: color-mix(in srgb, var(--lp-danger) 16%, transparent);
    color: var(--danger-text);
}

.form-success {
    background: color-mix(in srgb, var(--lp-live) 16%, transparent);
    color: var(--success-text);
}

/* ── Order / pass / admin pages ───────────────────────────────────────── */
.page-narrow {
    max-width: var(--w-read);
    padding: 2.5rem 0 4rem;
}

.panel {
    padding: 1.6rem;
    border-radius: var(--radius);
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
}

.panel h1 { margin: 0 0 .6rem; }

.pass-when {
    margin: 0 0 1rem;
    font-weight: 600;
}

.pass-status {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
}


.notice-success {
    background: color-mix(in srgb, var(--lp-live) 16%, transparent);
}

.order-lines {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    border-top: 1px solid var(--lp-line);
}

.order-lines li,
.order-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.order-lines li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--lp-line);
}

.order-total {
    margin: .8rem 0 1rem;
    font-size: var(--fs-subhead);
}

.provider-form {
    display: grid;
    gap: .8rem;
    margin-top: 1.2rem;
}

.provider-option {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--lp-surface-2);
    border: 1px solid var(--lp-line);
    cursor: pointer;
}

.provider-option:has(input:checked) {
    border-color: var(--lp-brand);
}

.provider-option.is-disabled {
    opacity: .55;
    cursor: not-allowed;
}

.provider-option input {
    margin-top: .3rem;
    accent-color: var(--lp-brand);
}

.provider-detail {
    display: block;
    margin-top: .2rem;
    font-size: var(--fs-small);
    color: var(--lp-muted);
}

.provider-form .btn {
    justify-self: start;
}

/* ── Live pass / self check-in ────────────────────────────────────────── */
.pass {
    position: relative;
    overflow: hidden;
}

.pass.is-live {
    border-color: color-mix(in srgb, var(--lp-brand) 60%, var(--lp-line));
}

.live-strip {
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    overflow: hidden;
    background: var(--lp-brand);
}

/* A flat green block keeps sliding across: proof to staff that the page is live, not a screenshot. */
.live-strip::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 30%;
    background: var(--lp-live);
    animation: live-strip 1.6s linear infinite;
}

@keyframes live-strip {
    from { transform: translateX(-100%); }
    to { transform: translateX(340%); }
}

.live-clock {
    margin: .2rem 0 1rem;
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--lp-live);
    font-variant-numeric: tabular-nums;
}

.checked-in {
    margin: .4rem 0 1.2rem;
    padding: 1.4rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    background: color-mix(in srgb, var(--lp-live) 18%, transparent);
    border: 2px solid var(--lp-live);
    animation: checked-in-pulse 2s ease-in-out infinite;
}

@keyframes checked-in-pulse {
    50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--lp-live) 18%, transparent); }
}

.checked-in-big {
    margin: 0;
    font-size: var(--fs-numeral);
    font-weight: 700;
    color: var(--success-text);
}

.checked-in-count {
    margin: .2rem 0 0;
    font-size: var(--fs-heading);
    font-weight: 700;
}

.checked-in-time {
    margin: .2rem 0 0;
    color: var(--lp-muted);
}

.checkin-form {
    display: grid;
    gap: .6rem;
    margin: .4rem 0 1rem;
}

.checkin-form label {
    font-weight: 600;
}

.checkin-form .qty-select {
    padding: .7rem .8rem;
}


@media (prefers-reduced-motion: reduce) {
    .live-strip, .checked-in { animation: none; }
}

/* ── Theme toggle ─────────────────────────────────────────────────────── */
.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--lp-line);
    background: var(--lp-surface);
    color: var(--lp-ink);
    cursor: pointer;
    font-size: var(--fs-body);
    line-height: 1;
}

.theme-toggle:hover { border-color: var(--lp-brand); }
/* The button shows the current mode: ☀ light, ☾ dark. */
.theme-toggle .theme-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-light { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-dark { display: inline; }

/* ── Forms (shared) ───────────────────────────────────────────────────── */
/* Fields never push past their box: an input's natural width (about 20 characters) is wider than a phone with
   a zoomed display or large text, and grid/flex parents would otherwise stretch to fit it. */
input, select, textarea { max-width: 100%; min-width: 0; }
.buyer-fields { grid-template-columns: minmax(0, 1fr); }
.form-grid { display: grid; gap: .9rem; }
.form-grid label { display: grid; gap: .3rem; font-size: var(--fs-small); font-weight: 600; }
/* A hint inside a label: muted and regular, like "optional" (never a second bold label). */
.form-grid label > .fine-print { font-weight: var(--fw-regular); margin: 0; }
.form-grid input, .form-grid select, .form-grid textarea, .search-form input, .buyer-fields select {
    font: inherit;
    font-weight: 400;
    color: var(--lp-ink);
    background: var(--lp-bg);
    border: 1px solid var(--lp-line);
    border-radius: var(--radius-sm);
    padding: .6rem .75rem;
    width: 100%;
}
.form-grid textarea { resize: vertical; }
.form-grid :is(input, select, textarea):focus-visible, .search-form input:focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 1px; }
.row-2 { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row-3 { display: grid; gap: .9rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .row-2, .row-3 { grid-template-columns: 1fr; } }

.panel-heading { margin: .4rem 0 .2rem; font-size: var(--fs-subhead); }
.panel + .panel { margin-top: 1.2rem; }
.page-narrow-inner { max-width: var(--w-read); margin: 0 auto; }

/* Google's sign-in button colours (their branding rules), light and dark versions. */
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    background: #FFFFFF; color: #1F1F1F; border: 1px solid #747775; text-decoration: none; margin-top: .4rem;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-google { background: #131314; color: #E3E3E3; border-color: #8E918F; } }
:root[data-theme="dark"] .btn-google { background: #131314; color: #E3E3E3; border-color: #8E918F; }

.or-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--lp-muted); font-size: var(--fs-small); }
.or-divider::before, .or-divider::after { content: ""; flex: 1; border-top: 1px solid var(--lp-line); }

.is-muted { opacity: .6; }


/* ── Dashboard ────────────────────────────────────────────────────────── */
/* Every host, admin and event page: the app frame's width and top, so all of them share one left edge. */
.dash, .door-screen { --container: var(--w-app); padding: 1.6rem 0 4rem; }
.dash h1 { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: 0 0 .4rem; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.dash-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

.ticket-form { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--lp-line); }
.ticket-form h3 { margin: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.dash-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.dash-table th, .dash-table td { padding: .7rem .6rem; border-bottom: 1px solid var(--lp-line); text-align: left; vertical-align: top; }
.dash-table th { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .08em; color: var(--lp-muted); font-weight: 700; }
.dash-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-table a:not(.btn) { color: var(--lp-ink); }
/* The cell stays a table cell (its row line runs the full width); the buttons sit in a flex row inside it. */
.row-actions { text-align: right; }
.row-actions > .actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; align-items: center; }

/* Stats: one look everywhere (figures on a hairline, like .ev-stat and the admin overview; no tiles, no capitals). */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 2rem; margin: 0 0 2rem; }
.stat { display: grid; align-content: start; gap: .15rem; padding: .9rem 0; border-top: 1px solid var(--lp-line); }
.stat-label { font-size: var(--fs-small); color: var(--lp-muted); }
.stat-value { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat-value small { font-size: var(--fs-body); font-weight: 500; letter-spacing: 0; color: var(--lp-muted); }

/* Host section tabs: plain underlined links, scroll sideways on phones. */
.dash-tabs { display: flex; gap: 1.4rem; overflow-x: auto; border-bottom: 1px solid var(--lp-line); margin: 0 0 1.4rem; scrollbar-width: none; }
.dash-tabs a { padding: .6rem 0; white-space: nowrap; font-weight: 600; color: var(--lp-muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.dash-tabs a:hover { color: var(--lp-ink); }
.dash-tabs a[aria-current="page"] { color: var(--lp-ink); border-bottom-color: var(--lp-brand); }
.dash-section { font-size: var(--fs-heading); margin: 1.6rem 0 .4rem; }
.dash-past { margin-top: 1.6rem; }
.dash-past summary { cursor: pointer; font-weight: 600; color: var(--lp-muted); padding: .4rem 0; }
.sold-bar { display: block; height: 4px; margin-top: .35rem; margin-left: auto; width: 80px; border-radius: 2px; background: var(--lp-line); overflow: hidden; }
.sold-bar > span { display: block; height: 100%; background: var(--lp-brand); }

/* Dashboard home (F2): setup checklist, figures, upcoming rows. */
.dash-head h1 { margin: 0; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.035em; }
.host-cards { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.6rem 0 0; }
/* The checklist and the money tile are one panel style (the same as .panel). */
.host-card { flex: 2 1 300px; min-width: 0; border: 1px solid var(--lp-line); border-radius: var(--radius); padding: 1.6rem; background: var(--lp-surface); }
.host-setup { flex: 3 1 420px; }
.host-money { display: flex; flex-direction: column; gap: 1rem; }
.host-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.host-card h2 { margin: 0; font-size: var(--fs-subhead); font-weight: 600; letter-spacing: -.02em; }
.setup-list { list-style: none; margin: 0; padding: 0; }
.setup-list li { display: flex; align-items: center; gap: .9rem; padding: .8rem 0; border-top: 1px solid var(--lp-line); min-height: 44px; }
.setup-list li:first-child { border-top: 0; }
.setup-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--lp-line); display: grid; place-items: center; }
.setup-list li.is-done .setup-mark { border: 0; color: var(--lp-live); }
.setup-label { flex: 1 1 auto; }
.setup-list li.is-done .setup-label { color: var(--lp-muted); }
.host-figure { display: flex; flex-direction: column; gap: .1rem; }
.host-figure strong { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.host-money .see-all { margin-top: auto; }
.host-upcoming { margin-top: 3rem; }
.host-rows { list-style: none; margin: 0; padding: 0; }
.host-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; padding: 1.1rem 0; border-top: 1px solid var(--lp-line); }
.host-row:last-child { border-bottom: 1px solid var(--lp-line); }
.host-row.is-muted { opacity: .6; }
.host-row-main { flex: 2 1 260px; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.host-row-main a { color: var(--lp-ink); text-decoration: none; }
.host-row-main a:hover { text-decoration: underline; text-underline-offset: 3px; }
.host-row-sold { flex: 1 1 180px; display: flex; flex-direction: column; gap: .3rem; }
.host-row-sold strong { color: var(--lp-ink); font-weight: 600; }
.host-row-sold .sold-bar { margin-left: 0; width: 100%; max-width: 200px; height: 6px; border-radius: 3px; }
.host-row-sold .sold-bar > span { background: var(--lp-ink); }

/* Same column widths in the "Upcoming" and "Past" tables so they line up. */

/* Account page: header row, then cards (tickets full width, city + passkeys side by side). */
.account-page { max-width: var(--w-read); padding: 2.5rem 0 4rem; }
.account-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.account-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 1.2rem; align-items: start; }

.search-form { display: flex; gap: .5rem; align-items: center; }
.search-form input { min-width: 240px; }
.danger-zone { border-color: color-mix(in srgb, var(--lp-danger) 45%, var(--lp-line)); }


/* ── Info pages ───────────────────────────────────────────────────────── */
.hosts-page { padding-bottom: 4rem; }
.hosts-page h2 { font-size: var(--fs-heading); margin: 2.8rem 0 1rem; }
.hosts-close { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--lp-line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.hosts-close h2 { margin: 0; font-size: var(--fs-heading); font-weight: var(--fw-strong); letter-spacing: -.025em; }
.pricing h2 { margin-top: 0; }
/* Plain list of what hosts get: three columns of short paragraphs, rules between rows, no cards or icons. */
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 2.5rem; margin: 0; }
.feature-list > div { padding: 1.1rem 0 1.3rem; border-top: 1px solid var(--lp-line); }
.feature-list dt { font-weight: 700; margin-bottom: .35rem; }
.feature-list dd { margin: 0; color: var(--lp-muted); }
/* /recitals: numbered steps, a privacy note, questions that open in place. */
.steps { margin: 0; padding-left: 1.4rem; display: grid; gap: .8rem; max-width: var(--w-read); }
.steps li { padding-left: .3rem; color: color-mix(in srgb, var(--lp-ink) 88%, var(--lp-muted)); }
.steps strong { color: var(--lp-ink); }
.recitals-privacy { margin-top: 2.8rem; max-width: var(--w-read); }
.recitals-privacy h2 { margin: 0 0 .4rem; font-size: var(--fs-heading); }
.recitals-privacy p { margin: 0; }
.recitals-landing .pricing { margin-top: 2.8rem; }
.faq { max-width: var(--w-read); border-top: 1px solid var(--lp-line); }
.faq details { border-bottom: 1px solid var(--lp-line); padding: .9rem 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--lp-muted); }
.prose-page h2 { margin-top: 1.8rem; font-size: var(--fs-heading); }
.prose-page p, .prose-page li { color: color-mix(in srgb, var(--lp-ink) 88%, var(--lp-muted)); }


/* ── Phones: keep the header on one line (logo, account, theme); other links are in the footer. ── */
@media (max-width: 640px) {
    /* (header phone rules live in MainLayout.razor.css) */
    .search-form input { min-width: 0; }
    .dash-head { align-items: flex-start; }
}
html, body { overflow-x: clip; }

/* ── Codes, comps, reports ────────────────────────────────────────────── */
.code-box { margin-top: 1rem; font-size: var(--fs-small); }
.code-box summary { cursor: pointer; color: var(--lp-muted); font-weight: 600; }
.code-box .search-form { margin-top: .6rem; }
.code-box input { flex: 1; text-transform: uppercase; }
details.panel > summary { cursor: pointer; list-style: none; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::before { content: "▸ "; color: var(--lp-muted); }
details.panel[open] > summary::before { content: "▾ "; }
details.panel[open] > summary { margin-bottom: 1rem; }
.report .order-lines { margin-bottom: 1rem; }
.comp-form { margin-top: .4rem; }

.check { display: flex !important; gap: .55rem; align-items: flex-start; font-weight: 400 !important; font-size: var(--fs-small); }
.check input { width: auto !important; margin-top: .25rem; accent-color: var(--lp-brand); }
.buyer-fields select { padding: .65rem .75rem; margin-bottom: .45rem; }
.waitlist-form { margin-top: .7rem; }

/* ── Search, browse, host pages ───────────────────────────────────────── */
.hero-search { display: flex; gap: .6rem; margin-top: 1.6rem; max-width: 620px; }
.hero-search input, .browse-filters input, .browse-filters select, .alert-form input, .follow-form input {
    font: inherit; color: var(--lp-ink); background: var(--lp-surface); border: 1px solid var(--lp-line);
    border-radius: var(--radius-sm); padding: .75rem 1.1rem; min-width: 0;
}
.hero-search input { flex: 1; }
.hero-search input:focus-visible, .browse-filters :is(input, select):focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.chip {
    padding: .4rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--lp-line); background: var(--lp-surface);
    color: var(--lp-muted); text-decoration: none; font-weight: 600; font-size: var(--fs-small);
}
.chip:hover { color: var(--lp-ink); border-color: var(--lp-brand); }
.browse { padding: 2rem 0 4rem; }
.browse-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 1.6rem; }
.browse-filters input { flex: 1 1 260px; }
.alert-form { margin-top: .8rem; }
.alert-form input { flex: 1; padding: .5rem .9rem; }
.follow-form input { padding: .55rem 1rem; }
.transfer-form { margin-top: .7rem; }
@media (max-width: 640px) {
    .hero-search { flex-direction: column; }
    .browse-filters > * { flex: 1 1 100%; }
}

/* Event card: picture over the coloured placeholder (a broken picture just disappears). */
.card-media { position: relative; }

/* ── Box office ───────────────────────────────────────────────────────── */
.box-office .ticket-list { margin-bottom: .4rem; }
.sold-banner {
    margin: 0 0 1.2rem; padding: 1.2rem; border-radius: var(--radius); text-align: center;
    background: color-mix(in srgb, var(--lp-live) 18%, transparent); border: 2px solid var(--lp-live);
}
.sold-banner p { margin: 0; }
.sold-amount { font-size: var(--fs-numeral); font-weight: 700; color: var(--success-text); }

.city-form { margin-bottom: 1.4rem; }

/* `hidden` always wins over a class's display (JS shows/hides parts of forms). */
[hidden] { display: none !important; }

/* ── Event form (HostEventEdit + event-form.js) ────────────────────────── */
.event-form { gap: 0; }
.form-step { display: grid; gap: .9rem; padding: 1.2rem 0; border-bottom: 1px solid var(--lp-line); }
.form-step:first-of-type { padding-top: 0; }
.form-step .panel-heading { margin: 0; }
.form-grid .input-lg { font-size: var(--fs-subhead); font-weight: 600; padding: .8rem .9rem; }
.optional { font-weight: 400; color: var(--lp-muted); font-size: var(--fs-small); }
.field { display: grid; gap: .45rem; }
.field-label { font-size: var(--fs-small); font-weight: 600; }
.inline-select { display: flex !important; align-items: center; gap: .6rem !important; }
.inline-select select { width: auto; }
/* The Quiet button inside a line of text: no border, no padding, the link colour. */
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: var(--fw-strong); color: var(--lp-brand-text);
    cursor: pointer; justify-self: start; }
.link-button:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Category chips: radio buttons that look like the home page chips. */
.chip-choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-choice { position: relative; display: block !important; }
.chip-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-choice span { display: inline-block; padding: .4rem .85rem; border-radius: var(--radius-sm); border: 1px solid var(--lp-line);
    background: var(--lp-bg); color: var(--lp-muted); font-weight: 600; font-size: var(--fs-small); }
.chip-choice input:checked + span { background: var(--lp-button); border-color: var(--lp-button); color: var(--lp-on-brand); }
.chip-choice input:focus-visible + span { outline: 2px solid var(--lp-brand); outline-offset: 2px; }

/* Where: search box with a suggestion list, or the picked venue as a small card. */
.address-search { position: relative; display: grid; gap: .5rem; }
.address-results { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: -.3rem 0 0; padding: .3rem; list-style: none;
    background: var(--lp-bg); border: 1px solid var(--lp-line); border-radius: var(--radius-sm); box-shadow: 0 18px 40px -18px var(--shadow);
    max-height: 320px; overflow-y: auto; }
.address-results li { display: grid; gap: .05rem; padding: .55rem .7rem; border-radius: 8px; cursor: pointer; }
.address-results li .option-text span { font-size: var(--fs-small); color: var(--lp-muted); }
.address-results li em { font-style: normal; font-size: var(--fs-micro); font-weight: 700; color: var(--lp-brand-text); }
.address-results li:hover, .address-results li[aria-selected="true"] { background: var(--lp-surface-2); }
.venue-picked { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1px solid var(--lp-line);
    border-radius: var(--radius-sm); background: var(--lp-bg); }
.venue-picked-text { flex: 1; display: grid; min-width: 0; }

/* Image fields (posters, artist photos): one big drop zone that becomes the preview. */
.image-drop { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border: 2px dashed var(--lp-line);
    border-radius: var(--radius); background: var(--lp-bg); cursor: pointer; overflow: hidden; text-align: center; }
.image-drop:hover, .image-drop.dragging { border-color: var(--lp-brand); }
.image-drop:focus-within { outline: 2px solid var(--lp-brand); outline-offset: 2px; }
.image-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.image-drop.has-image { border-style: solid; }
.image-drop.has-image img { display: block; }
.image-hint { display: grid; gap: .3rem; padding: 1rem; font-weight: 400; color: var(--lp-muted); max-width: 32ch; }
.image-hint strong { color: var(--lp-ink); font-size: var(--fs-body); }
/* Flat picture icon (no emoji icons: brand rule), drawn in the muted text colour. */
.image-hint::before { content: ""; justify-self: center; width: 30px; height: 30px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%274%27 width=%2718%27 height=%2716%27 rx=%272%27/%3E%3Ccircle cx=%278.5%27 cy=%279.5%27 r=%271.5%27/%3E%3Cpath d=%27M21 16l-5-5-9 9%27/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%274%27 width=%2718%27 height=%2716%27 rx=%272%27/%3E%3Ccircle cx=%278.5%27 cy=%279.5%27 r=%271.5%27/%3E%3Cpath d=%27M21 16l-5-5-9 9%27/%3E%3C/svg%3E") center / contain no-repeat; }
.image-drop.has-image .image-hint { position: absolute; bottom: .6rem; right: .6rem; padding: .35rem .7rem; border-radius: var(--radius-sm);
    background: rgb(0 0 0 / .6); color: #fff; max-width: none; }
.image-drop.has-image .image-hint::before, .image-drop.has-image .image-hint span { display: none; }
.image-drop.has-image .image-hint strong { color: #fff; font-size: var(--fs-small); }
.image-change, .image-drop.has-image .image-add { display: none; }
.image-drop.has-image .image-change { display: inline; }
.color-pick .fine-print { font-weight: 400; }
/* TicketBelle pink chosen: the custom swatch steps back (still tappable: picking a color switches back). */
.color-pick.is-off { opacity: .45; }
.image-drop.busy { opacity: .6; pointer-events: none; }
.accent-field { display: grid; gap: .5rem; }
.color-pick { display: flex !important; align-items: center; gap: .8rem !important; }
.color-pick > span { display: grid; gap: .1rem; }
.color-pick input[type="color"] { flex: none; width: 52px; height: 52px; padding: 0; border: 1px solid var(--lp-line); border-radius: 50%;
    overflow: hidden; cursor: pointer; background: none; }
.color-pick input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-pick input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.color-pick input[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }

/* Tickets: Free / Paid switch. */
.segmented { display: inline-flex; justify-self: start; padding: 3px; border-radius: var(--radius-sm); background: var(--lp-surface-2); }
.segmented label { position: relative; display: block !important; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: .4rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--lp-muted); }
.segmented input:checked + span { background: var(--lp-bg); color: var(--lp-ink); box-shadow: 0 1px 4px var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--lp-brand); }

.more-options { padding: 1.1rem 0; border-bottom: 1px solid var(--lp-line); }
.more-options summary { cursor: pointer; font-weight: 700; }
.more-options[open] summary { margin-bottom: 1rem; }
.form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; padding-top: 1.2rem; }
.form-submit .form-error { flex-basis: 100%; margin: 0; }
@media (max-width: 640px) {
    /* The main button stays in reach while scrolling a long form. */
    .form-submit { position: sticky; bottom: 0; z-index: 5; margin: 0 -1.6rem -1.6rem; padding: .8rem 1.6rem;
        background: var(--lp-surface); border-top: 1px solid var(--lp-line); }
    .form-submit .btn { flex: 1; }
    .form-submit .fine-print { display: none; }
}

/* Live preview of the event card (new events). */
.event-preview { position: sticky; top: 1.2rem; }
.preview-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--lp-line); background: var(--lp-surface); margin-bottom: .8rem; }
.preview-art { --art: var(--lp-brand); position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--art); overflow: hidden; }
.preview-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-initials { font-size: var(--fs-numeral); font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .25); }
.preview-body { display: grid; gap: .2rem; padding: .9rem 1rem 1.1rem; }
.preview-cat { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lp-brand-text); }
.preview-title { font-size: var(--fs-subhead); line-height: 1.3; overflow-wrap: anywhere; }
.preview-price { margin-top: .3rem; font-weight: 700; }
@media (max-width: 960px) { .event-preview { display: none; } }

/* ── Artists ───────────────────────────────────────────────────────────── */
/* Round photo, or initials on a colour from the name. */
.artist-avatar { --size: 56px; position: relative; flex: none; display: inline-grid; place-items: center; width: var(--size); height: var(--size);
    border-radius: 50%; overflow: hidden; background: var(--avatar, var(--lp-brand)); color: #fff; font-weight: 700;
    font-size: calc(var(--size) * .36); line-height: 1; }
.artist-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Square image field (artist photo): a round preview. */
.image-field-square .image-drop { aspect-ratio: 1; width: 132px; border-radius: 50%; }
.image-field-square .image-hint { max-width: 12ch; font-size: var(--fs-micro); padding: .5rem; }
.image-field-square .image-hint::before { content: "📷"; font-size: var(--fs-heading); }
.image-field-square .image-hint span { display: none; }
.image-field-square .image-drop.has-image .image-hint { bottom: .3rem; right: 50%; transform: translateX(50%); }
.artist-fields { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.artist-fields .image-field { display: grid; gap: .3rem; justify-items: center; }
@media (max-width: 520px) { .artist-fields { grid-template-columns: 1fr; justify-items: start; } .artist-fields > .form-grid { width: 100%; } }

/* Lineup in the event form: one card per act; drag (or ↑) to reorder. */
.lineup { display: grid; gap: .6rem; }
.lineup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lineup-item { display: flex; align-items: center; gap: .3rem; padding: .35rem .4rem .35rem .45rem; border: 1px solid var(--lp-line);
    border-radius: var(--radius-sm); background: var(--lp-bg); cursor: grab; }
.lineup-item.dragging { opacity: .5; }
.lineup-item:first-child { border-color: color-mix(in srgb, var(--lp-brand) 45%, var(--lp-line)); }
.lineup-edit { flex: 1; min-width: 0; display: flex; align-items: center; gap: .7rem; background: none; border: 0; padding: 0; font: inherit;
    color: inherit; text-align: left; cursor: pointer; }
.lineup-name { display: grid; min-width: 0; }
.lineup-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lineup-name span { font-size: var(--fs-micro); color: var(--lp-muted); }
.lineup-item:first-child .lineup-name span { color: var(--lp-brand-text); font-weight: 600; }
.icon-button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--lp-muted);
    font-size: var(--fs-subhead); cursor: pointer; }
.icon-button:hover { background: var(--lp-surface-2); color: var(--lp-ink); }
.lineup-add { position: relative; }
.lineup-add input { width: 100%; }
.address-results li { display: flex; align-items: center; gap: .6rem; }
.address-results li .option-text { flex: 1; display: grid; min-width: 0; }
.address-results li > .artist-avatar { --size: 32px !important; }
.preview-lineup { font-size: var(--fs-small); font-weight: 600; color: var(--lp-muted); }
.preview-lineup:empty { display: none; }

/* Quick artist editor. */
.artist-dialog { width: min(640px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 1.4rem; border: 1px solid var(--lp-line);
    border-radius: var(--radius); background: var(--lp-surface); color: var(--lp-ink); }
.artist-dialog::backdrop { background: rgb(10 8 20 / .55); }

/* Host artist list. */
.artist-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.artist-tile-link { display: grid; justify-items: center; gap: .35rem; padding: 1.2rem 1rem; text-align: center; border-radius: var(--radius);
    border: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-ink); text-decoration: none; height: 100%; }
.artist-tile-link:hover { border-color: var(--lp-brand); }
.danger-zone { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.danger-zone .form-error { flex-basis: 100%; margin: 0; }

/* Public artist page. */
.artist-hero { display: flex; gap: 1.6rem; align-items: flex-start; margin-bottom: 2rem; }
.artist-hero-text { flex: 1; min-width: 0; }
.artist-hero h1 { margin: 0 0 .3rem; font-size: var(--fs-title); overflow-wrap: anywhere; }
.artist-bio { white-space: pre-line; max-width: var(--w-measure); }
.artist-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.artist-links a { padding: .3rem .8rem; border-radius: var(--radius-sm); border: 1px solid var(--lp-line); color: var(--lp-ink); text-decoration: none;
    font-weight: 600; font-size: var(--fs-small); }
.artist-links a:hover { border-color: var(--lp-brand); }
.artist-hero .follow-form { margin-top: .8rem; max-width: 440px; }
.artist-hero .follow-form input { flex: 1; min-width: 0; }
@media (max-width: 640px) {
    .artist-hero { flex-direction: column; align-items: center; text-align: center; }
    .artist-links, .artist-hero .follow-form { justify-content: center; }
    .artist-hero .follow-form input { min-width: 0; flex: 1; }
}

/* Lineup on the event page: headliner bigger. */
.lineup-strip { list-style: none; margin: .2rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.lineup-strip a { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; font-weight: 600; }
.lineup-strip a:hover span { text-decoration: underline; }
.lineup-strip .is-headliner a { font-size: var(--fs-subhead); font-weight: 700; }

/* Posters are never cropped: the whole picture (contain) on a flat dark panel.
   Artist photos are round, so those are cropped to fill (cover) as usual. */
.image-drop .image-preview, .preview-art .preview-poster { object-fit: contain; }
.image-drop .image-fill, .preview-art .preview-fill { display: none !important; }
.image-drop.has-image, .preview-art:has(.preview-poster[src]) { background: #1B1A22; }
.image-field-square .image-drop .image-preview { object-fit: cover; }
.image-field-square .image-drop .image-fill { display: none !important; }

/* ── Door check-in ─────────────────────────────────────────────────────── */
/* Door code (pass.js): a big block of the current colour with two smaller words; it fades to the next one each minute. */
.door-code { --door-bg: var(--lp-surface-2); --door-ink: var(--lp-ink); display: grid; gap: .25rem; justify-items: center; text-align: center;
    margin: 1rem 0; padding: 1rem 1rem .8rem; border-radius: var(--radius); background: var(--door-bg); color: var(--door-ink);
    border: 1px solid rgb(0 0 0 / .08); }
.door-code.is-ready { transition: background-color 1.2s ease, color 1.2s ease; }
.door-code-label { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.door-code { min-height: 130px; align-content: center; }
.door-code-words { font-size: var(--fs-heading); line-height: 1.2; letter-spacing: .06em; }
.door-code-bar { width: 100%; height: 4px; border-radius: 2px; background: rgb(0 0 0 / .15); overflow: hidden; margin-top: .3rem; }
.door-code-bar > span { display: block; height: 100%; background: currentColor; opacity: .7; }
.door-code-staff { min-height: 220px; }
.door-code-staff .door-code-words { font-size: var(--fs-title); }
.door-code-previous { font-size: var(--fs-small); opacity: .85; }

/* Just checked in: big and green, with "checked in 12 s ago". Fades once it's not fresh. */
.entered { display: grid; gap: .15rem; justify-items: center; text-align: center; margin: 1rem 0; padding: 1.4rem 1rem;
    border-radius: var(--radius); background: var(--lp-live); color: var(--lp-on-status); }
.entered-big { margin: 0; font-size: var(--fs-numeral); font-weight: 700; line-height: 1; letter-spacing: .02em; }
.entered-count { margin: 0; font-size: var(--fs-heading); font-weight: 700; }
.entered-time { margin: 0; }
.entered .fine-print, .entered a { color: var(--lp-on-status); opacity: .9; }
.entered-badge { margin: 0 0 .3rem; padding: .15rem .7rem; border-radius: 999px; background: color-mix(in srgb, var(--lp-on-status) 20%, transparent); font-size: var(--fs-micro);
    font-weight: 700; letter-spacing: .14em; }
.entered-offline { background: var(--lp-warn); }
.entered.is-stale { background: var(--lp-surface-2); color: var(--lp-ink); }
.entered.is-stale .fine-print { color: var(--lp-muted); }

/* How many going in, then the hold button. */
.people-picker { border: 0; padding: 0; margin: 0 0 .8rem; display: grid; gap: .4rem; }
.people-picker legend { font-weight: 600; font-size: var(--fs-small); margin-bottom: .4rem; }
.people-picker .segmented { flex-wrap: wrap; }
.btn-hold { position: relative; overflow: hidden; width: 100%; padding: 1.15rem 1rem; border: 0; border-radius: var(--radius-sm); cursor: pointer;
    background: var(--lp-button); color: var(--lp-on-brand); font: inherit; font-size: var(--fs-subhead); font-weight: 700;
    touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.btn-hold-fill { position: absolute; inset: 0; background: rgb(0 0 0 / .28); transform: scaleX(0); transform-origin: left; }
.btn-hold.is-holding .btn-hold-fill { transform: scaleX(1); transition: transform .9s linear; }
.btn-hold.is-done { background: var(--lp-live); color: var(--lp-on-status); }
.btn-hold-text { position: relative; }
.btn-hold:focus-visible { outline: 3px solid var(--lp-brand); outline-offset: 3px; }

/* Staff door screen. */
.door-head h1 { margin: .2rem 0; }
.door-grid { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; margin-top: 1rem; }
@media (max-width: 860px) { .door-grid { grid-template-columns: 1fr; } }
.door-status { font-weight: 700; color: var(--success-text); }
.door-status.is-offline { color: var(--warn-text); }
.door-count { font-size: var(--fs-heading); text-align: center; }
.door-count strong { font-size: var(--fs-numeral); }
.door-help { margin-top: 1rem; }
.door-help summary { cursor: pointer; font-weight: 700; }
.door-help ol { padding-left: 1.2rem; line-height: 1.6; }
/* rows on hairlines inside the door panel (no cards inside the card) */
.door-feed { list-style: none; margin: 0; padding: 0; display: grid; }
.door-feed-item { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; padding: .7rem .5rem;
    border-top: 1px solid var(--lp-line); }
.door-feed-item .fine-print, .door-feed-item .door-feed-note { grid-column: 2; }
.door-feed-qty { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: var(--lp-surface-2); font-weight: 700; font-size: var(--fs-heading); }
.door-feed-item.is-new { background: color-mix(in srgb, var(--lp-live) 14%, transparent); }
.door-feed-item.is-new .door-feed-qty { background: var(--lp-live); color: var(--lp-on-status); }
.door-feed-item.has-note { box-shadow: inset 3px 0 0 var(--lp-warn); }
.door-feed-note { color: var(--warn-text); font-size: var(--fs-small); font-weight: 600; }
.practice-banner { background: color-mix(in srgb, var(--lp-warn) 18%, transparent); }

/* Wallet. */
.wallet { max-width: var(--w-read); padding: 2rem 0 4rem; }
.wallet-head h1 { margin: 0 0 .2rem; }
.wallet-hero { display: grid; grid-template-columns: minmax(0, 1fr); margin: 1.2rem 0; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-ink); text-decoration: none; }
.wallet-hero.is-live { border: 2px solid var(--lp-live); }
.wallet-hero-art { aspect-ratio: 16 / 9; }
.wallet-hero-body { display: grid; gap: .25rem; padding: 1rem 1.2rem 1.2rem; }
.wallet-hero-title { font-size: var(--fs-heading); line-height: 1.25; }
.wallet-hero-cta { margin-top: .6rem; justify-self: start; }
.wallet-status { font-size: var(--fs-small); font-weight: 700; color: var(--lp-muted); }
.wallet-status.is-live { color: var(--success-text); }
.wallet-status.is-upcoming { color: var(--lp-brand-text); }
.wallet-status.is-in { color: var(--success-text); }
.wallet-status.is-refunded, .wallet-status.is-cancelled { color: var(--danger-text); }
.wallet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.wallet-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .6rem;
    border-radius: var(--radius-sm); border: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-ink); text-decoration: none; }
.wallet-row:hover, .wallet-hero:hover { border-color: var(--lp-brand); }
.wallet-row-art { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.wallet-row-body { display: grid; gap: .1rem; min-width: 0; }
.wallet-row-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-row-count { font-size: var(--fs-small); color: var(--lp-muted); white-space: nowrap; }
.wallet-past { margin: 1.6rem 0 1rem; }
.wallet-past summary { cursor: pointer; font-weight: 600; color: var(--lp-muted); margin-bottom: .6rem; }
@media (max-width: 520px) { .wallet-row { grid-template-columns: 72px minmax(0, 1fr); } .wallet-row-count { display: none; } }
.install-prompt p { margin: 0 0 .4rem; }
/* Door screen: the newest real check-in, big (what staff glance at; it also beeps). */
.door-latest { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 120px; margin: 1rem 0;
    padding: 1rem; border-radius: var(--radius); background: var(--lp-surface); border: 2px dashed var(--lp-line); text-align: center; }
.door-latest.is-on { background: var(--lp-live); color: var(--lp-on-status); border: 2px solid var(--lp-live); }
.door-latest-wait { color: var(--lp-muted); font-weight: 600; }
.door-latest-count { font-size: var(--fs-numeral); font-weight: 700; line-height: 1; }
.door-latest-name { font-size: var(--fs-title); font-weight: var(--fw-title); overflow-wrap: anywhere; }
/* Event form: how people get in (self / scan / both). */
.mode-options { display: grid; gap: .5rem; }
.mode-option { display: flex !important; gap: .7rem !important; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--lp-line);
    border-radius: var(--radius-sm); background: var(--lp-bg); cursor: pointer; font-weight: 400 !important; }
.mode-option input { margin-top: .3rem; accent-color: var(--lp-brand); width: auto !important; }
.mode-option > span { display: grid; gap: .15rem; }
.mode-option:has(input:checked) { border-color: var(--lp-brand); }

/* ── QR scanning (events with scanning on) ─────────────────────────────── */
/* Buyer's rotating QR: white card so any camera reads it, in light or dark mode. */
.scan-ticket { display: grid; gap: .6rem; justify-items: center; margin: 1rem 0; padding: 1rem; border-radius: var(--radius);
    border: 1px solid var(--lp-line); background: var(--lp-bg); text-align: center; }
.scan-ticket-title { margin: 0; font-weight: 700; }
.scan-qr { width: min(100%, 300px); aspect-ratio: 1; display: grid; place-items: center; padding: 10px; border-radius: 14px; background: #fff; }
.scan-qr svg { width: 100%; height: 100%; }
.scan-bar { max-width: 300px; color: var(--lp-brand); }
.self-fallback { margin: .6rem 0 1rem; }
.self-fallback summary { cursor: pointer; font-weight: 600; color: var(--lp-muted); margin-bottom: .8rem; }

/* Staff scanner: camera view with a big result laid over it. */
.scanner { margin: 1rem 0; }
.scan-view { position: relative; display: grid; gap: .6rem; justify-items: center; }
.scan-video { width: 100%; max-height: 60vh; object-fit: cover; border-radius: var(--radius); background: #000; }
.scan-result { position: absolute; inset: 0 0 auto 0; min-height: 60%; display: grid; place-content: center; gap: .2rem; padding: 1rem;
    border-radius: var(--radius); text-align: center; color: var(--lp-on-status); }
.scan-result p { margin: 0; }
.scan-result.is-ok { background: color-mix(in srgb, var(--lp-live) 95%, transparent); }
.scan-result.is-offline, .scan-result.is-warn { background: color-mix(in srgb, var(--lp-warn) 95%, transparent); }
.scan-result.is-bad { background: color-mix(in srgb, var(--lp-danger) 95%, transparent); }
.scan-result-big { font-size: var(--fs-numeral); font-weight: 700; line-height: 1.05; }
.scan-result-name { font-size: var(--fs-heading); font-weight: 700; overflow-wrap: anywhere; }
.scan-result-note { opacity: .95; }
.scan-picker { display: grid; gap: .4rem; justify-items: center; margin-top: .6rem; }
.scan-picker .segmented { flex-wrap: wrap; justify-content: center; gap: 3px; background: color-mix(in srgb, var(--lp-on-status) 18%, transparent); }
.scan-picker button { min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--lp-on-status); font: inherit; font-size: var(--fs-subhead); font-weight: 700; cursor: pointer; }
.scan-picker button.is-on { background: var(--lp-on-status); color: var(--lp-live); }
.scan-picker button:disabled { opacity: .6; }

/* ── Reserved seating (SeatPublic) ────────────────────────────────────── */
.seating-setup { margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--lp-line); }
.seat-swatch { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; vertical-align: -1px; }
.seats-page { padding: 1.4rem 0 3rem; }
.seats-page h1 { margin: .2rem 0; }
.seats-layout { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; margin-top: 1rem; --sc-accent: var(--lp-brand-text); } /* the seat map, its chips and the seat list in our pink */
@media (max-width: 900px) { .seats-layout { grid-template-columns: 1fr; } }
/* Staff seat screen: SeatPublic' SeatManager draws the map and its own side panel inside. */
.seat-manager-map { height: max(600px, 75vh); border-radius: var(--radius); border: 1px solid var(--lp-line); overflow: hidden; margin-top: 0.8rem; }
.seat-manager-status:empty, .seat-manager-status[hidden] { display: none; }
.seats-map seat-map { display: block; height: min(70vh, 640px); border-radius: var(--radius); border: 1px solid var(--lp-line); overflow: hidden; }
.seats-map-status { margin: .5rem 0 0; font-weight: 600; color: var(--lp-muted); }
.seats-results { margin-top: 1rem; height: min(60vh, 520px); border: 1px solid var(--lp-line); border-radius: var(--radius); overflow: hidden; background: var(--lp-surface); }
.seats-results:empty { display: none; }
.seats-map-status.is-error { color: var(--danger-text); }
.seats-basket { position: sticky; top: calc(64px + 1rem); }

/* Seat basket: one block per section + row + seat type; seat numbers as chips (tap to remove). */
.seats-basket-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.seat-count { font-size: var(--fs-small); font-weight: 600; color: var(--lp-muted); font-variant-numeric: tabular-nums; }
.seat-groups { list-style: none; margin: .4rem 0 0; padding: 0; }
.seat-group { padding: .85rem 0; border-top: 1px solid var(--lp-line); }
.seat-group:last-child { border-bottom: 1px solid var(--lp-line); }
.seat-group-place { margin: 0 0 .5rem; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-muted); }
.seat-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.seat-chip {
    display: inline-flex; align-items: center; gap: .3rem; min-width: 2.4rem; justify-content: center;
    padding: .3rem .55rem; border: 1px solid var(--lp-line); border-radius: 6px; background: var(--lp-bg);
    color: var(--lp-ink); font: inherit; font-size: var(--fs-small); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
}
.seat-chip-x { color: var(--lp-muted); font-weight: 400; font-size: var(--fs-small); line-height: 1; }
.seat-chip:hover:not(:disabled), .seat-chip:focus-visible { border-color: var(--lp-brand); }
.seat-chip:hover:not(:disabled) .seat-chip-x { color: var(--lp-brand-text); }
.seat-chip:disabled { cursor: default; opacity: .7; }
.seat-group-price { display: flex; justify-content: space-between; gap: 1rem; margin: .6rem 0 0; font-size: var(--fs-small); color: var(--lp-muted); }
.seat-group-price strong { color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.seats-basket .order-total { margin-top: .9rem; }
.seat-hold { margin: .6rem 0; font-weight: 700; color: var(--warn-text); font-variant-numeric: tabular-nums; }
.order-seats { margin: 1rem 0; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--lp-surface-2); }
.order-seats .eyebrow { margin-bottom: .3rem; }
.order-seats ul { margin: 0; padding-left: 1.1rem; font-weight: 600; }

/* Rate your seat: 5 stars as a right-to-left radio row, so hovering/choosing a star lights it and the ones before it. */
.rate-seats { display: grid; gap: 1rem; }
.stars { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.15rem; }
.stars legend { width: 100%; margin-bottom: 0.3rem; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: var(--fs-stat); line-height: 1; cursor: pointer; color: var(--lp-line); }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--lp-brand); }
.stars input:focus-visible + label { outline: 2px solid var(--lp-brand); outline-offset: 2px; border-radius: 4px; }
.rate-photo { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

/* Roster: classes as removable chips. */
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-list .chip { display: inline-flex; align-items: center; gap: .35rem; color: var(--lp-ink); }
.chip-remove { border: 0; background: none; color: var(--lp-muted); font: inherit; font-size: var(--fs-subhead); line-height: 1; cursor: pointer; padding: 0 .1rem; }
.chip-remove:hover { color: var(--lp-brand); }
.family-list .bought { color: var(--lp-muted); }
.check-list { list-style: none; padding: 0; margin: .3rem 0; display: grid; gap: .35rem; }
.copy-box { width: 100%; font: inherit; font-size: var(--fs-small); padding: .6rem; border: 1px solid var(--lp-line); border-radius: var(--radius); background: var(--lp-surface); color: var(--lp-ink); }
.presale-notice { margin-bottom: .8rem; }

/* Add-ons in checkout forms. */
.extras { border: 0; padding: 0; margin: 1rem 0 .4rem; display: grid; gap: .6rem; }
.extras legend { font-weight: 700; margin-bottom: .3rem; }
.extra-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem; align-items: center; }
.extra-info { display: flex; flex-direction: column; min-width: 0; }
.extra-recipient { grid-column: 1 / -1; font: inherit; padding: .5rem .7rem; border: 1px solid var(--lp-line); border-radius: var(--radius); background: var(--lp-surface); color: var(--lp-ink); }
.price-input { max-width: 7rem; }
.add-extra { margin-top: 1.2rem; }
@media print {
    body * { visibility: hidden; }
    .delivery-list, .delivery-list * { visibility: visible; }
    .delivery-list { position: absolute; inset: 0 auto auto 0; width: 100%; }
    .delivery-list button { display: none; }
}

/* Prices and counts: digits of equal width, so columns line up. */
.ticket-price, .order-lines, .stat-value, .countdown-value { font-variant-numeric: tabular-nums; }

/* Seat prices (reserved seating): one price box per seat category. */
.seat-prices li { align-items: center; }
.seat-price-input { display: inline-flex !important; align-items: center; gap: .35rem; flex: none; }
.seat-price-input input { width: 8.5rem; font: inherit; padding: .5rem .7rem; border: 1px solid var(--lp-line); border-radius: var(--radius-sm);
    background: var(--lp-bg); color: var(--lp-ink); text-align: right; }

/* Seat price key above the seat map: one entry per seat category. */
.seat-key { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: var(--fs-small); }
.seat-key li { display: inline-flex; align-items: center; gap: .45rem; }
.seat-key .seat-swatch { width: .75rem; height: .75rem; border-radius: 50%; background: var(--lp-line); }
.seat-key strong { font-variant-numeric: tabular-nums; }

/* Seat prices in the event page's ticket panel (reserved seating): name, badge, all-in price. */
.seat-price-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.seat-price-list li { display: flex; align-items: center; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--lp-line); }
.seat-price-list li:first-child { border-top: 1px solid var(--lp-line); }
.seat-price-list .ticket-price { margin-left: auto; font-variant-numeric: tabular-nums; }
.seat-price-list .is-soldout .ticket-name, .seat-price-list .is-soldout .ticket-price { color: var(--lp-muted); }

/* Tag chips (hosts' own words) sit quieter than category chips: no fill. */
.chip-tag { background: transparent; font-weight: 500; }
.event-tags { margin: 0 0 1.4rem; }
.active-filters { margin: -.8rem 0 1.2rem; }

/* Reserved seating: the SeatPublic venue picker in the event form (host-forms.js). */
.seat-venue { display: grid; gap: .4rem; margin-top: 1rem; }
.seat-layout { display: grid; gap: .3rem; }
.rate-chart { margin-top: 1.5rem; }

/* ── Recitals ─────────────────────────────────────────────────────────────── */
.recital-page { padding: 1.5rem 0 4rem; }
.recital-head { margin: .4rem 0 1.4rem; }
.recital-head.has-poster { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 1.8rem; align-items: start; }
.recital-head h1 { margin: .2rem 0 .5rem; }
.recital-meta { margin: 0 0 .6rem; color: var(--lp-muted); line-height: 1.5; }
.recital-head .eyebrow a { color: inherit; }
@media (max-width: 600px) { .recital-head.has-poster { grid-template-columns: 1fr; gap: 1rem; } }


.class-finder { margin: 0 0 1.2rem; }
.class-finder h2 { font-size: var(--fs-subhead); margin: 0 0 .6rem; }
.class-finder select { min-width: 220px; padding: .55rem .7rem; border: 1px solid var(--lp-line); border-radius: var(--radius-sm); background: var(--lp-surface); color: var(--lp-ink); font: inherit; }
.finder-answer { margin: .8rem 0 0; }

.show-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.show-row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: start;
    padding: 1rem 1.1rem; border: 1px solid var(--lp-line); border-radius: var(--radius); background: var(--lp-surface);
    scroll-margin-top: 5rem;
}
.show-row.is-match { border-color: var(--lp-brand); box-shadow: inset 3px 0 0 var(--lp-brand); }
.show-row.is-dim { opacity: .55; }
.show-date { display: grid; justify-items: center; min-width: 3.6rem; padding: .45rem .3rem; border-radius: var(--radius-sm); background: var(--lp-surface-2); line-height: 1.1; }
.show-day, .show-month { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--lp-muted); }
.show-num { font-size: var(--fs-heading); font-weight: 700; }
.show-body h3 { margin: 0 0 .2rem; font-size: var(--fs-subhead); }
.show-zone { font-size: var(--fs-small); font-weight: 500; }
.show-classes { margin: .5rem 0 .2rem; }
.show-classes .chip { padding: .2rem .55rem; font-size: var(--fs-small); }
.chip.is-on { border-color: var(--lp-brand); color: var(--lp-ink); background: color-mix(in srgb, var(--lp-brand) 12%, var(--lp-surface)); }
.show-status { margin: .4rem 0 0; font-size: var(--fs-small); color: var(--lp-muted); }
.show-buy { display: grid; justify-items: end; gap: .3rem; }
.show-buy .fine-print { margin: 0; }
@media (max-width: 600px) {
    .show-row { grid-template-columns: auto minmax(0, 1fr); }
    .show-buy { grid-column: 1 / -1; justify-items: stretch; }
    .show-buy .btn { width: 100%; text-align: center; }
}

.program summary { cursor: pointer; font-weight: 600; margin-top: .5rem; }
.program-list { margin: .5rem 0 0; padding-left: 1.6rem; display: grid; gap: .25rem; }
.program-list li.is-on { font-weight: 700; }
details.program.panel { margin-top: 1.2rem; }
.add-on-note { margin-top: 1.2rem; }
.recital-about { margin-top: 1.4rem; }

/* host */
.recital-form fieldset { border: 1px solid var(--lp-line); margin: 0; }
.recital-form legend { font-weight: 700; padding: 0 .4rem; }
.recital-form fieldset { display: grid; gap: .9rem; }
.addon-choice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.addon-choice label:last-child { display: flex; align-items: center; gap: .3rem; }
.meter { height: 6px; border-radius: 3px; background: var(--lp-surface-2); margin-top: .35rem; overflow: hidden; min-width: 80px; }
.meter span { display: block; height: 100%; background: var(--lp-brand); }
.class-grid th, .class-grid td.center, .class-grid th.center { text-align: center; }
.class-grid th[scope="row"] { text-align: left; white-space: nowrap; }
.add-show { margin-top: 1rem; flex-wrap: wrap; }
@media print {
    .program-print, .program-print * { visibility: visible; }
    .program-print { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; }
}

/* Admin season choices: a small swatch of each season's tint. */
.season-swatch { width: 28px; height: 28px; border-radius: 8px; margin-left: auto; flex: none; }
[data-season-swatch="spring"] { background: #EDF5E7; border: 2px solid #2F6B2F; }
[data-season-swatch="summer"] { background: #FFF4D6; border: 2px solid #7A5200; }
[data-season-swatch="autumn"] { background: #FBE8DC; border: 2px solid #973C10; }
[data-season-swatch="winter"] { background: #E6EEF7; border: 2px solid #24507A; }

/* Home rows: links inside a row's grey line stay quiet. */
.home-row-main .muted a { color: inherit; text-decoration: none; }
.home-row-main .muted a:hover { color: var(--lp-ink); text-decoration: underline; }

/* Phones: the time filters stay on one line (swipe for more); a recital row is itself the link. */
@media (max-width: 600px) {
    .when-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 1.2rem; max-width: 100%; }
    .when-filters::-webkit-scrollbar { display: none; }
    .when-filters a { white-space: nowrap; }
    .home-section { margin-top: 3rem; }
}

/* Info pages (F2): left-aligned title, one short line, actions. */
.info-top { padding: 3rem 0 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.info-top h1 { margin: 0; font-size: var(--fs-display); font-weight: var(--fw-display); letter-spacing: -.035em; line-height: 1.06; }
.info-top .lead { margin: 0; }
.info-top .dash-actions { margin-top: .8rem; }

/* A recital row's sale state: the family presale in the brand pink, "On sale Nov 23" quiet. */
.home-section > .home-h2 + .event-grid { margin-top: 1.4rem; }

/* Cloudflare Turnstile: takes room only when it shows a box. */
.human-check:not(:empty) { margin: .75rem 0; }

.access-needs summary { cursor: pointer; color: var(--lp-muted); font-size: var(--fs-small); margin-top: .25rem; }
.access-needs fieldset { margin: .5rem 0 0; padding: 0; border: 0; display: grid; gap: .3rem; }
.access-needs fieldset > label:not(.check) { margin-top: .4rem; font-weight: 400; font-size: var(--fs-small); color: var(--lp-muted); }
.access-needs input:not([type]) { width: 100%; }

.copy-field { width: 100%; font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; padding: .6rem .7rem; }

.human-hint { font-size: var(--fs-small); color: var(--lp-muted); margin: .25rem 0 .5rem; }

/* Home: Featured. One large slide at a time (poster + a panel in the event's colour), swipe or ‹ ›; flat colours only. */
.home-featured-rail { margin-top: 1.75rem; }
.home-featured-rail .section-head { margin-bottom: .9rem; }
.feature-nav { display: flex; gap: .5rem; }
.feature-arrow { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--lp-line); background: var(--lp-bg); color: var(--lp-ink); font-size: var(--fs-heading); line-height: 1; cursor: pointer; }
.feature-arrow:hover { border-color: var(--lp-ink); }
.feature-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.feature-rail::-webkit-scrollbar { display: none; }
.feature-slide { display: grid; grid-template-columns: minmax(0, 58%) 1fr; scroll-snap-align: start; text-decoration: none; background: var(--slide-bg); color: var(--slide-ink); }
.feature-slide-media { position: relative; display: block; aspect-ratio: 4 / 3; }
.feature-slide-media .event-art { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.feature-slide-body { display: flex; flex-direction: column; justify-content: center; gap: .6rem; padding: 2rem 2.25rem; }
.feature-when { font-size: var(--fs-body); font-weight: 600; letter-spacing: .02em; opacity: .85; }
.feature-big-title { font-size: var(--fs-display); font-weight: var(--fw-display); line-height: 1.05; letter-spacing: -.035em; }
.feature-where { font-size: var(--fs-body); opacity: .85; }
.feature-price { font-size: var(--fs-body); font-weight: 600; margin-top: .4rem; }
.feature-slide:hover .feature-big-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.feature-slide:focus-visible { outline: 3px solid var(--lp-brand); outline-offset: -3px; }
.feature-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .8rem; }
.feature-dots span { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lp-line); }
.feature-dots span.is-on { background: var(--lp-brand); }
@media (max-width: 760px) {
  .feature-slide { grid-template-columns: 1fr; min-height: 0; }
  .feature-slide-media { aspect-ratio: 4 / 3; }
  .feature-slide-body { padding: 1.1rem 1.25rem 1.3rem; gap: .35rem; }
  .feature-big-title { font-size: var(--fs-display); }
  .feature-nav { display: none; }
}
main[data-season] .home-featured-rail .home-h2 { color: var(--season-ink); }
/* Home: artists row. */
.artist-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 1rem; overflow-x: auto; margin-top: 1rem; padding-bottom: .25rem; scrollbar-width: thin; }
.artist-tile { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; text-decoration: none; color: inherit; font-size: var(--fs-small); }
.artist-photo { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--art); color: #FFFFFF; font-weight: 600; font-size: var(--fs-stat); }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; }
.artist-name { font-weight: 600; line-height: 1.25; }
.artist-tile:hover .artist-name { text-decoration: underline; }

/* Your dancers page. */
.dancer-card { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; color: inherit; }
.dancer-card-media { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--art); display: flex; align-items: center; justify-content: center; }
.dancer-card-media img { width: 100%; height: 100%; object-fit: cover; background: var(--lp-surface); }
.dancer-card-date { color: #FFFFFF; font-weight: 600; font-size: var(--fs-stat); }
.dancer-card-title { font-weight: 600; }
.dancer-card:hover .dancer-card-title { text-decoration: underline; }
.dancer-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.dancer-chip { font-size: var(--fs-small); background: var(--lp-surface); border-radius: 8px; padding: .2rem .55rem; }
.dancer-tickets { font-size: var(--fs-small); font-weight: 600; }
.dancer-tickets-none { color: var(--lp-brand-text); }

.tour-dates { margin-top: 2rem; }
.tour-dates h2 { margin: 0 0 .5rem; }

.consent-line { margin-top: .35rem; }

/* A poster that isn't 4:3 sits on the slide's own colour, not a grey panel. */
.feature-slide .feature-slide-media .event-art.has-poster { background: transparent !important; } /* beats the component's own grey */
.feature-slide-media { overflow: hidden; background: var(--slide-bg); }

/* ── Event page look (owner, 2026-11-23) ────────────────────────────── */
/* One look for every event: white, lots of space, ink text, the brand pink only for actions. No band in the event's
   colour (it clashed with some posters); the poster carries the event's own colours. */
.event-page { overflow-x: clip; }
.event-layout { gap: 3rem 4.5rem; padding: 2rem 0 5rem; }
.event-head { padding: 0; }
.event-head .back-link { margin-bottom: 1.6rem; font-size: var(--fs-body); }
.event-head.has-poster { gap: 0 3rem; align-items: center; }
.event-head h1 { font-size: var(--fs-display); font-weight: var(--fw-display); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 .9rem; color: var(--lp-ink); }
.event-head .facts { margin-top: 2rem; gap: 1.4rem 3.5rem; }
.event-head .fact-label { font-size: var(--fs-micro); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--lp-muted); }
.event-head .fact > :not(.fact-label) { font-size: var(--fs-body); line-height: 1.5; }
.event-poster img { max-width: 300px; max-height: 400px; border-radius: 14px; box-shadow: 0 1px 2px rgb(27 26 34 / .06), 0 8px 24px rgb(27 26 34 / .08); view-transition-name: event-poster; }
/* the description: a calm column with room to breathe */
.event-main { border-top: 1px solid var(--lp-line); padding-top: 2.5rem; max-width: var(--w-measure); }
.event-main .lead { font-size: var(--fs-subhead); line-height: 1.6; color: var(--lp-ink); margin: 0 0 1.2rem; }
.event-main .prose { line-height: 1.7; }
.event-main .host-strip { margin-top: 3rem; padding-top: 1.6rem; }
/* tickets: a quiet white card beside the details */
.ticket-panel { z-index: 1; top: 96px; padding: 1.8rem; border-radius: 16px; box-shadow: none; }
.ticket-panel h2 { font-size: var(--fs-subhead); margin-bottom: 1rem; }
.ticket-row { padding: 1.05rem 0; }
@media (max-width: 900px) {
    .event-layout { gap: 2rem; padding: 1.2rem 0 3.5rem; }
    .event-main { padding-top: 1.8rem; border-top: 1px solid var(--lp-line); }
}
@media (max-width: 600px) {
    .event-head.has-poster { gap: 1.6rem; }
    .event-head h1 { font-size: var(--fs-display); }
    .event-poster img { max-width: 100%; max-height: 56vh; margin-inline: auto; }
}

/* Card → event page: the picture grows into the poster (site.js starts it; browsers without View Transitions just navigate). */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
::view-transition-group(event-poster) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* The ticket shape, only where a real ticket belongs (the pass, the seat basket; the email has a dashed line):
   a dashed tear line with a half-circle notch at each edge. */
.panel:has(> .stub-tear) { overflow: hidden; }
.stub-tear { position: relative; height: 0; margin: 1.4rem -1.6rem; border-top: 2px dashed color-mix(in srgb, var(--lp-muted) 45%, transparent); }
.stub-tear::before, .stub-tear::after { content: ""; position: absolute; top: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-bg); border: 1px solid var(--lp-line); }
.stub-tear::before { left: -16px; }
.stub-tear::after { right: -16px; }

/* Home: artists (photos only) as a clean rail. */
.artist-rail { scrollbar-width: none; grid-auto-columns: 140px; }
.artist-rail::-webkit-scrollbar { display: none; }
.artist-photo { width: 124px; height: 124px; background: var(--lp-surface); }
.artist-tile img { transition: transform .25s ease; }
.artist-tile:hover img { transform: scale(1.04); }

/* Cards: the picture lifts a little on hover (desktop pointers only). */
@media (hover: hover) {
    .card-media { transition: transform .2s ease; }
    .card-link:hover .card-media { transform: translateY(-3px); }
}

/* Home intro while there are few events (owner, 2026-11-23): a light band ("no black theme": the site's own light surface
   with a soft pink wash, dark on the dark site), "Live is better." with the pink word, search, the three facts, and posters
   of real upcoming shows on the right (above the words on phones). The host invite at the bottom reuses .hosts-close. */
.home-intro { margin-top: clamp(1rem, 3vw, 2rem); }
/* 2026-11-28: one quiet line on the page itself (no band), so Featured comes sooner. */
.intro-band { display: grid; grid-template-columns: minmax(0, 1fr); color: var(--lp-ink); }
.intro-title { margin: 0; font-size: var(--fs-title); font-weight: var(--fw-title); letter-spacing: -.03em; line-height: 1.15; color: var(--lp-ink); }
.intro-title em { font-style: normal; color: var(--lp-brand-text); }
.intro-sub { margin: .7rem 0 0; font-size: var(--fs-subhead); color: var(--lp-muted); line-height: 1.5; }
.intro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1rem; }
.intro-search { flex: 1 1 18rem; max-width: 28rem; }
.intro-search input {
    width: 100%; height: 48px; padding: 0 1rem; border: 1px solid var(--lp-line); border-radius: 8px;
    background: var(--lp-bg); color: var(--lp-ink); font: inherit; font-size: var(--fs-body);
}
.intro-search input::placeholder { color: var(--lp-muted); }
.intro-search input:focus-visible { outline: 3px solid var(--lp-brand); outline-offset: 2px; }
.home-intro + .home-featured-rail, .home-intro + .home-section { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 760px) {
    .intro-search { max-width: none; flex-basis: 100%; }
}

/* Studio page saving line, and the printable one-pager (/recitals/flyer): on screen a sheet of paper, in print one
   US Letter / A4 page with nothing but the sheet. Flat colours, the brand pink as the only accent. */
.flyer-wrap { padding: 2rem 0 4rem; }
.flyer-tools { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 1.5rem; }
.flyer { --lp-brand: #C2185B; --lp-brand-2: #1B1A22; --lp-muted: #55536A; max-width: 8.5in; margin: 0 auto; padding: .6in .65in; background: #fff; color: #17151F; border: 1px solid var(--lp-line); border-radius: 8px; font-size: 11pt; line-height: 1.45; }
.flyer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .35in; }
.flyer-url { color: #5A5768; font-size: 10pt; }
.flyer h1 { margin: 0; font-size: 34pt; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.flyer-lead { margin: .5rem 0 .3in; font-size: 14pt; color: #5A5768; }
.flyer h2 { margin: .3in 0 .1in; font-size: 15pt; font-weight: 700; letter-spacing: -.02em; }
.flyer-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.flyer-features { margin: .25in 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.4rem; }
.flyer-features li { padding-left: 1rem; position: relative; }
.flyer-features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #C2185B; }
.flyer-table { width: 100%; border-collapse: collapse; font-size: 10.5pt; }
.flyer-table th, .flyer-table td { padding: .35rem .4rem; text-align: right; border-bottom: 1px solid #E4E1EC; }
.flyer-table th:first-child, .flyer-table td:first-child { text-align: left; }
.flyer-table th { font-weight: 600; color: #5A5768; }
.flyer-table td strong { color: #C2185B; }
.flyer-saving { margin: .15in 0 0; font-size: 12pt; }
.flyer-saving strong { color: #C2185B; }
.flyer-foot { margin-top: .35in; padding-top: .15in; border-top: 1px solid #E4E1EC; display: grid; gap: .3rem; font-size: 11pt; }
.flyer-fine { font-size: 8pt; color: #6B6878; }
@media (max-width: 640px) {
    .flyer { padding: 1.4rem 1.1rem; font-size: 10.5pt; }
    .flyer h1 { font-size: 26pt; }
    .flyer-features { grid-template-columns: 1fr; }
    .flyer-table { font-size: 9pt; }
}
@media print {
    @page { size: letter; margin: .4in; }
    body:has(.flyer) .site-header, body:has(.flyer) .site-footer, .flyer-tools { display: none !important; }
    body:has(.flyer) { background: #fff !important; }
    .flyer-wrap { padding: 0; max-width: none; }
    .flyer, .flyer * { visibility: visible; } /* printing shows only the chosen sheet (see the delivery list rule) */
    .flyer { position: absolute; inset: 0 auto auto 0; width: 100%; border: 0; border-radius: 0; padding: 0; max-width: none; }
}

/* Demo events (events.is_demo): one quiet line, never a banner. */
.demo-note { margin: .2rem 0 .6rem; font-size: var(--fs-small); font-weight: 600; color: var(--lp-muted); letter-spacing: .01em; }


/* Header logo on phones: 24px (brand kit), a little smaller on very narrow or zoomed screens. The component sets its size inline. */
@media (max-width: 600px) { .site-header .tb-logo { font-size: clamp(21px, 6.8vw, 24px) !important; } }

/* Wide screens (container up to 1600px): the featured poster takes a bit less width so a slide never fills the screen. */
@media (min-width: 1300px) { .feature-slide { grid-template-columns: minmax(0, 48%) 1fr; } .feature-slide-body { padding: 2.5rem 3rem; } }

/* Host-facing pricing (PricingOffer): one big "3%*", the first-event offer, footnotes, contact link. */
.pricing-offer { display: grid; gap: 1.1rem; max-width: var(--w-read); }
.pricing-rate { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.pricing-big { font-size: var(--fs-numeral); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--lp-ink); }
.pricing-big sup { font-size: .4em; vertical-align: super; margin-left: .05em; color: var(--lp-muted); }
.pricing-what { color: var(--lp-muted); max-width: 30rem; }
.pricing-offer .fine-print sup { font-size: .7em; }
.pricing-contact { margin: 0; }
.pricing-contact a { font-weight: 600; color: var(--lp-brand-text); text-decoration: none; }
.flyer-price { margin: .05in 0; font-size: 12pt; }
.flyer-price strong { color: #141A3A; }

/* Trust row at the top of the ticket panel: secure checkout, refund policy. */
.trust-row { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: var(--fs-small); color: var(--lp-muted); }
.trust-row li { display: inline-flex; align-items: center; gap: .35rem; }
.trust-row svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-row a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }




/* New event form: the optional sections folded under one "More details" row. */
.more-details { border-top: 1px solid var(--lp-line); padding-top: 1rem; }
.more-details > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.more-details > summary::-webkit-details-marker { display: none; }
.more-details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border: 1px solid var(--lp-line); border-radius: 6px; font-weight: 600; }
.more-details[open] > summary::before { content: "−"; }
.more-details[open] > summary { margin-bottom: 1rem; }
.more-details > .form-step, .more-details > .more-options { margin-top: 1.25rem; }
/* New event: the show-day phone, asked only when the host has none. */
.new-event-phone { margin-top: 1.2rem; }
.new-event-phone .fine-print { font-weight: 400; margin: 0; }
.new-event-phone input { max-width: 20rem; }

/* Seat page on phones (owner, 2026-11-22): a shorter map and best-seats list so "Your seats" isn't pushed far down,
   and once seats are picked a bar fixed to the bottom of the screen with the seats, the total and Review. */
.seats-jump { display: none; }
@media (max-width: 900px) {
    .seats-map seat-map { height: min(50vh, 420px); }
    .seats-results { height: min(42vh, 360px); }
    .seats-page { padding-bottom: 5.5rem; }
    .seats-jump:not([hidden]) {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: .75rem max(1rem, env(safe-area-inset-left)) calc(.75rem + env(safe-area-inset-bottom));
        background: var(--lp-bg); border-top: 1px solid var(--lp-line); box-shadow: 0 -6px 20px rgb(0 0 0 / .06);
        color: var(--lp-ink); font-weight: 600; text-decoration: none;
    }
}

/* Seat page, cleaner (owner, 2026-11-23): white surfaces with thin rules instead of grey panels, the best-seats list
   (SeatPublic's SeatList, plain .sc-* classes on the page) in our type and colours, prices in ink (pink only for links and
   the selected row), square-ish count buttons (no pills). Seat colours per price tier: EventSeats.razor (--sc-category-N). */
.seats-layout .seats-results .sc-list {
    --sc-card-fg: var(--lp-ink); --sc-card-muted: var(--lp-muted); --sc-card-line: var(--lp-line); --sc-card-bg: var(--lp-bg);
    font: 14px/1.4 Poppins, system-ui, sans-serif;
}
.seats-results { background: var(--lp-bg); }
.seats-layout .sc-list-head { padding: 14px 16px 12px; flex-wrap: wrap; row-gap: 10px; }
.seats-layout .sc-list-count { font-size: var(--fs-body); font-weight: 600; }
.seats-layout .sc-list-qty-n { border-radius: 8px; min-width: 34px; height: 32px; font-weight: 600; }
.seats-layout .sc-list-qty-n[aria-pressed=true] { background: var(--lp-ink); color: var(--lp-bg); border-color: var(--lp-ink); }
.seats-layout .sc-offer { padding: 12px 16px; border-bottom-color: var(--lp-line); }
.seats-layout .sc-offer:hover, .seats-layout .sc-offer:focus-visible { background: color-mix(in srgb, var(--lp-ink) 4%, var(--lp-bg)); }
.seats-layout .sc-offer.sc-picked { background: color-mix(in srgb, var(--lp-brand) 7%, var(--lp-bg)); box-shadow: inset 3px 0 0 var(--lp-brand); }
.seats-layout .sc-offer-where > span, .seats-layout .sc-offer-price > span { color: var(--lp-muted); }
.seats-layout .sc-offer-price b { color: var(--lp-ink); font-weight: 700; }
.seats-layout .sc-list-more { color: var(--lp-brand-text); }

/* Price key above the map: one tidy line per tier on phones, wrapping row on wide screens. */
.seat-key { gap: .5rem 1.6rem; }
.seat-key li { color: var(--lp-muted); }
.seat-key .seat-swatch { width: .7rem; height: .7rem; border-radius: 3px; }
.seat-key strong { color: var(--lp-ink); font-weight: 600; }
@media (max-width: 600px) {
    .seat-key { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; font-size: var(--fs-small); }
    .seat-key li { justify-content: flex-start; }
    .seat-key strong { margin-left: auto; }
}

/* Two clear sections (owner, 2026-11-23): "Best available" (white list to browse, its own heading outside the box) and
   "Your seats" (the soft grey ticket-stub card = your order), with room between them. */
.seats-section-heading { margin: 1.6rem 0 .6rem; font-size: var(--fs-heading); }
.seats-section-heading:has(+ .seats-results:empty) { display: none; }
.seats-map .seats-results { margin-top: 0; }
@media (max-width: 900px) { .seats-basket { margin-top: 1.2rem; } }
#seats-basket { scroll-margin-top: 80px; } /* "Review" lands with "Your seats" below the sticky header */

/* Belle: "Fill in from a flyer" on the new-event form (host-forms.js). Fields Belle filled are outlined until the host changes them. */
.belle-flyer-button { cursor: pointer; }
.belle-flyer-result { flex-basis: 100%; }
.belle-flyer-result p { margin: 0; }
.belle-notes { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--lp-muted); }
.belle-notes li + li { margin-top: .2rem; }
.belle-filled { outline: 2px solid var(--lp-brand); outline-offset: 2px; border-radius: var(--radius-sm); }
.more-tickets { display: grid; gap: .75rem; margin-top: .75rem; }
.more-ticket .link-button { margin-left: .5rem; }

/* "Flyer in. Event page out." (owner, 2026-11-24): /hosts/flyer (FlyerTry.razor + flyer-try.js) and its promo on /hosts.
   Marketing pages, so a bolder look than the product: navy and one pink, flat, no photos. */
.flyer-try { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.flyer-try-head h1 { margin: 0; font-size: var(--fs-display); letter-spacing: -.04em; line-height: 1.04; }
.flyer-try-head h1 em, .flyer-promo h2 em { font-style: normal; color: var(--lp-brand-text); }
.flyer-try-head .lead { margin: .7rem 0 0; color: var(--lp-muted); font-size: var(--fs-subhead); }
.flyer-drop { margin-top: 1.8rem; max-width: var(--w-read); }
.flyer-drop-zone {
    display: grid; justify-items: center; gap: .35rem; padding: clamp(2rem, 6vw, 3.5rem) 1.25rem; text-align: center; cursor: pointer;
    border: 2px dashed color-mix(in srgb, var(--lp-brand) 45%, var(--lp-line)); border-radius: 12px;
    background: color-mix(in srgb, var(--lp-brand) 4%, var(--lp-bg)); color: var(--lp-brand-text);
    transition: background .15s ease, border-color .15s ease;
}
.flyer-drop-zone:hover, .flyer-drop-zone.is-over, .flyer-drop-zone:focus-within { border-color: var(--lp-brand); background: color-mix(in srgb, var(--lp-brand) 9%, var(--lp-bg)); }
.flyer-drop-zone.is-busy { cursor: progress; opacity: .7; }
.flyer-drop-title { font-size: var(--fs-heading); font-weight: var(--fw-strong); color: var(--lp-ink); }
.flyer-drop-sub { color: var(--lp-muted); font-size: var(--fs-small); }
.flyer-status { margin: .9rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.flyer-steps { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 1.6rem 0 0; padding: 0; color: var(--lp-muted); font-size: var(--fs-body); }
.flyer-steps strong { margin-right: .3rem; color: var(--lp-ink); }
.flyer-try.has-preview .flyer-steps { display: none; }

.flyer-preview { margin-top: 2rem; scroll-margin-top: 80px; }
.flyer-preview-bar {
    position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
    padding: .8rem 1rem; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-bg);
}
.flyer-preview-state { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.flyer-preview-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.flyer-preview .belle-notes { margin: 1rem 0 0; }
.flyer-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 4vw, 2.5rem); margin-top: 1.25rem; padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--lp-line); border-radius: 12px; }
.flyer-page-poster img { display: block; width: 100%; border-radius: 10px; background: var(--lp-surface); }
.flyer-page-body h2 { margin: .25rem 0 .4rem; font-size: var(--fs-title); letter-spacing: -.03em; line-height: 1.08; }
.flyer-page-where, .flyer-page-lineup { margin: 0 0 .35rem; color: var(--lp-muted); }
.flyer-page-tickets { margin: 1.1rem 0 .9rem; border-top: 1px solid var(--lp-line); }
.flyer-ticket { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--lp-line); }
.flyer-ticket strong { font-variant-numeric: tabular-nums; }
.flyer-page-buy { pointer-events: none; }
.flyer-page-about { margin-top: 1.4rem; color: var(--lp-muted); }
.flyer-page-about p { margin: 0 0 .8rem; }
@media (max-width: 700px) {
    .flyer-page { grid-template-columns: minmax(0, 1fr); }
    .flyer-preview-bar { top: 56px; }
    .flyer-preview-actions { width: 100%; }
    .flyer-preview-actions .btn { flex: 1 1 auto; }
}

/* Promo on /hosts: words + a flat drawing of a flyer turning into an event card (made-up show, no photos). */
.flyer-promo {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; align-items: center; margin: 2.5rem 0;
    padding: clamp(1.75rem, 5vw, 3rem); border-radius: 12px; background: var(--lp-stage); color: var(--lp-stage-ink);
}
:root[data-theme="dark"] .flyer-promo { border: 1px solid var(--lp-line); }
.flyer-promo h2 { margin: 0; font-size: var(--fs-heading); font-weight: var(--fw-strong); letter-spacing: -.025em; line-height: 1.2; color: var(--lp-stage-ink); }
.flyer-promo h2 em { color: var(--lp-stage-accent); }
.flyer-promo p { margin: .7rem 0 1.4rem; color: var(--lp-stage-muted); font-size: var(--fs-body); }
.flyer-promo-art { display: flex; align-items: center; justify-content: center; gap: clamp(.6rem, 2vw, 1.25rem); }
.promo-flyer {
    flex: 0 0 auto; width: clamp(120px, 18vw, 170px); aspect-ratio: 4 / 5; display: grid; align-content: space-between; padding: .9rem;
    border-radius: 8px; background: #F2C14E; color: #1B1A22; transform: rotate(-3deg); box-shadow: 0 10px 24px rgb(0 0 0 / .3);
}
.promo-flyer .pf-kicker { font-size: .58rem; font-weight: 700; letter-spacing: .12em; }
.promo-flyer .pf-title { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.promo-flyer .pf-meta { font-size: .62rem; font-weight: 600; line-height: 1.4; }
.promo-arrow { flex: none; font-size: 1.8rem; color: #E8588F; }
.promo-page {
    flex: 0 1 220px; min-width: 0; display: grid; gap: .3rem; padding: .7rem .7rem .9rem; border-radius: 10px; background: #FFFFFF; color: #1B1A22;
    box-shadow: 0 10px 24px rgb(0 0 0 / .3); font-size: .78rem;
}
.promo-page .pp-poster { height: 70px; border-radius: 6px; background: #F2C14E; }
.promo-page .pp-when { color: #C2185B; font-weight: 700; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; }
.promo-page strong { font-size: 1rem; letter-spacing: -.02em; }
.promo-page .pp-where { color: #55536A; }
.promo-page .pp-buy { margin-top: .35rem; padding: .45rem; border-radius: 6px; background: #C2185B; color: #fff; text-align: center; font-weight: 600; }
@media (max-width: 760px) {
    .flyer-promo { grid-template-columns: minmax(0, 1fr); }
    .flyer-promo-art { order: -1; }
}

/* ── Opening night (Home, until the first event is on sale) ──────────────────────────────────────
   A dark stage in both themes, one flat colour, with rows of seats where a few light up pink (founding hosts taking
   their seats). Below it, the founding perks as plain lines. */
.opening-stage { position: relative; overflow: hidden; isolation: isolate; background: var(--lp-stage); color: var(--lp-stage-ink);
    padding: clamp(3.5rem, 9vw, 6.5rem) 1rem clamp(9.5rem, calc(19vw + 1.5rem), 20rem); text-align: center; }
.opening-words { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; }
.opening-eyebrow { margin: 0 0 1.2rem; font-size: var(--fs-small); font-weight: var(--fw-strong); letter-spacing: .2em; text-transform: uppercase; color: var(--lp-stage-accent); }
.opening-title { margin: 0; font-size: var(--fs-display); font-weight: var(--fw-display); letter-spacing: -.04em; line-height: 1.04; color: var(--lp-stage-ink); }
.opening-title em { font-style: normal; color: var(--lp-stage-accent); }
.opening-sub { margin: 1.1rem auto 0; max-width: 32rem; font-size: var(--fs-subhead); line-height: 1.5; color: var(--lp-stage-muted); }
.opening-actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; align-items: center; }
/* Belle AI: a plain link in the stage's ink with a small pink mark */
.opening-ai-link { display: inline-block; margin-top: 1.1rem; color: var(--lp-stage-ink); text-decoration: none; font-weight: var(--fw-strong); }
.opening-ai-link span:first-child { color: var(--lp-stage-accent); }
.opening-ai-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.opening-spots { margin: .9rem 0 0; font-size: var(--fs-small); color: var(--lp-stage-muted); }

/* the seat rows keep their shape at any width (no cropping on wide screens) and sit below the words */
.opening-seats { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1200 / 230; max-height: 300px; z-index: 0; }
.opening-seats circle { fill: rgb(246 241 231 / .13); }
.opening-seats circle.is-lit { animation: opening-seat .6s ease-out both; }
@keyframes opening-seat { from { fill: rgb(246 241 231 / .13); } to { fill: var(--lp-stage-accent); } }

.opening-bill { padding-top: clamp(2.5rem, 6vw, 4rem); }
.opening-bill-title { margin: 0 0 1rem; }
/* the perks: plain lines in columns, rules between rows (no cards, no icons) */
.opening-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.opening-perks li { display: grid; gap: .25rem; align-content: start; padding: 1rem 0 1.2rem; border-top: 1px solid var(--lp-line); }
.opening-perks strong { font-size: var(--fs-subhead); color: var(--lp-ink); }
.opening-perks li > span:last-child { color: var(--lp-muted); }
.opening-fine { max-width: var(--w-measure); margin: 1.4rem 0 0; }
.opening-buyers { margin: 2.2rem 0 0; color: var(--lp-muted); }

@media (max-width: 560px) {
    .opening-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
    .opening-seats circle.is-lit { animation: none; fill: var(--lp-stage-accent); }
}

/* a struck-through standard rate next to the founding rate */
s.was { color: var(--lp-muted); font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--lp-brand) 70%, transparent); }
.pricing-big s.was { font-size: .55em; vertical-align: middle; }

/* "What's in the price?" under the tickets (Shared/FeeBreakdown.razor) */
.fee-breakdown { margin: .4rem 0 .8rem; font-size: var(--fs-small); }
.fee-breakdown summary { cursor: pointer; color: var(--lp-brand-text); font-weight: 600; width: fit-content; }
.fee-lines { list-style: none; margin: .6rem 0 .4rem; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--lp-surface); display: grid; gap: .3rem; }
.fee-lines li { display: flex; justify-content: space-between; gap: 1rem; color: var(--lp-muted); font-variant-numeric: tabular-nums; }
/* The receipt's "Includes $6.45 in fees": fine print, not a link-coloured call to action. */
.receipt-fees { margin-top: .3rem; }
.receipt-fees summary { color: var(--lp-muted); font-weight: 400; font-size: var(--fs-small); }
.fee-lines li.fee-total { color: var(--lp-ink); font-weight: 700; border-top: 1px solid var(--lp-line); padding-top: .35rem; }

/* Refund page: paid / refunded / left, then the choice (Host/HostOrderRefund.razor) */
.refund-sums { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.refund-sums li { display: grid; gap: .15rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--lp-surface); }
.refund-sums li > span:first-child { font-size: var(--fs-small); color: var(--lp-muted); text-transform: uppercase; letter-spacing: .06em; }
.refund-sums strong { font-size: var(--fs-heading); font-variant-numeric: tabular-nums; }
.refund-sums li.is-left { border: 1.5px solid color-mix(in srgb, var(--lp-brand) 45%, var(--lp-line)); }
.refund-choice { border: 0; padding: 0; margin: 0; display: grid; gap: .45rem; }
.refund-choice legend { font-weight: 700; margin-bottom: .3rem; }
.refund-tickets { display: grid; gap: .3rem; margin: 0 0 .3rem 1.6rem; }
.refund-amount { margin-left: 1.6rem; max-width: 14rem; }

/* Admin overview (Admin/AdminHome.razor): attention first, then day / week / month, then what's new, then the pages */

.admin-attention ul { margin: .4rem 0 0; padding-left: 1.1rem; display: grid; gap: .2rem; }
.admin-recent { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); margin: 2rem 0; }
.admin-list { list-style: none; margin: 0; padding: 0; }
.admin-list li { display: grid; gap: .2rem; padding: .6rem 0; border-bottom: 1px solid var(--lp-line); overflow-wrap: anywhere; }
.admin-list li .fine-print { margin: 0; }

/* Seating step (Host/HostEventEdit + host-forms.js): nearby venues with a seat map as cards, layouts with a preview */
#seat-prices { scroll-margin-top: 5rem; }
.seat-map-hint { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--lp-brand) 8%, var(--lp-bg)); color: var(--lp-ink); }
.seat-map-hint .link-button { font-weight: 700; }
.seated-note { margin: 0; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--lp-surface); color: var(--lp-muted); }
.seat-venue-suggestions { margin-top: .8rem; }
.seat-venue-cards { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.seat-venue-card { width: 100%; display: grid; gap: .15rem; text-align: left; padding: .75rem .9rem; border-radius: var(--radius-sm);
    border: 1px solid var(--lp-line); background: var(--lp-bg); color: var(--lp-ink); cursor: pointer; font: inherit; }
.seat-venue-card:hover, .seat-venue-card:focus-visible { border-color: var(--lp-brand); }
.seat-layout-cards { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin-top: .8rem; }
.seat-layout-card { position: relative; display: grid; gap: .5rem; padding: .7rem; border-radius: var(--radius); border: 1.5px solid var(--lp-line); background: var(--lp-bg); cursor: pointer; }
.seat-layout-card:has(input:checked) { border-color: var(--lp-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-brand) 15%, transparent); }
.seat-layout-card input { position: absolute; top: .8rem; right: .8rem; accent-color: var(--lp-brand); }
.seat-layout-preview { display: block; height: 170px; border-radius: var(--radius-sm); background: var(--lp-surface); overflow: hidden; pointer-events: none; }
.seat-layout-preview seat-map { display: block; width: 100%; height: 100%; }
.seat-layout-text { display: grid; gap: .1rem; padding-right: 1.6rem; }
/* the preview is just the drawing: no filter bar, zoom buttons or seat card */
.seat-layout-preview .sc-bar, .seat-layout-preview .sc-zoom-wrap, .seat-layout-preview .sc-card, .seat-layout-preview .sc-pop { display: none !important; }
.seat-help { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: var(--radius-sm); background: var(--lp-surface); color: var(--lp-muted); font-size: var(--fs-small); }
.seat-help a { font-weight: 600; }

.seat-help p { margin: 0 0 .5rem; }
.seat-help [data-seat-help-status] { margin: .5rem 0 0; color: var(--lp-ink); }
.seat-help [data-seat-help-status]:empty { display: none; }
.seat-help-form { display: grid; gap: .7rem; margin-top: .3rem; }
.seat-help-need { display: grid; gap: .3rem; }
.seat-help-form textarea { width: 100%; }
.seat-help-actions { display: flex; gap: .8rem; align-items: center; }


/* Host sections' second row (Shared/HostTabs.razor): a quiet segmented control under the five tabs */
.dash-subtabs { display: inline-flex; gap: .25rem; padding: .25rem; margin: -.6rem 0 1.4rem; border-radius: 999px; background: var(--lp-surface); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dash-subtabs a { padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; font-size: var(--fs-small); font-weight: 600; color: var(--lp-muted); text-decoration: none; }
.dash-subtabs a:hover { color: var(--lp-ink); }
.dash-subtabs a[aria-current="page"] { background: var(--lp-bg); color: var(--lp-ink); box-shadow: 0 1px 3px var(--shadow); }

#overview, #orders, #guests, #report, #repeat { scroll-margin-top: 120px; }
@media (max-width: 560px) {
    /* the section tabs scroll sideways on phones */
    .dash-tabs { gap: 1.1rem; padding-right: 1.5rem; }
}

/* ── Event page, simpler and more striking (owner, 2026-11-26) ───────────────────────────────────────────────── */
.event-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.share-button { flex: none; margin-top: .35rem; }
.facts { gap: 1rem; }
.fact { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .75rem; align-items: start; }
.fact > svg { margin-top: .15rem; color: var(--lp-brand-text); }
.fact-body { display: grid; gap: .1rem; }
.fact-action { width: fit-content; margin-top: .2rem; font-size: var(--fs-small); font-weight: 600; color: var(--lp-brand-text); text-decoration: none; }
.fact-action:hover { text-decoration: underline; }
/* no poster: a dated cover in the event's own flat colour (EventPage sets --cover and --cover-ink, like EventArt's tile) */
.event-cover { display: grid; place-content: center; gap: .1rem; text-align: center; aspect-ratio: 4 / 3; max-width: 420px; margin: 0 0 1.4rem; border-radius: 18px;
    color: var(--cover-ink, #fff); background: var(--cover); }
.event-cover-day { font-size: var(--fs-small); font-weight: 700; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.event-cover-date { font-size: var(--fs-numeral); font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.event-cover-month { font-size: var(--fs-subhead); font-weight: 600; }
.event-cover-venue { margin-top: .6rem; font-size: var(--fs-small); opacity: .85; }
/* a page with no description: no empty dividers */
.event-main > .host-strip:first-child { border-top: 0; padding-top: 0; }
.event-main:has(> .host-strip:first-child) { border-top: 0; padding-top: 0; }
/* the bottom buy bar: phones only */
.buy-bar { display: none; }

@media (max-width: 900px) {
    /* the poster runs edge to edge on the page surface; the back link floats over it */
    .event-head.has-poster { display: block; position: relative; }
    .event-poster { position: relative; margin: -1rem -16px 1.2rem; overflow: hidden; display: flex; justify-content: center; background: var(--lp-surface); }
    .event-poster img { max-width: 100%; max-height: 62vh; border-radius: 0; }
    .event-head.has-poster > .back-link { position: absolute; top: .6rem; left: 0; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px;
        padding: 0; border-radius: 999px; font-size: 0; color: #fff; background: rgb(0 0 0 / .55); }
    .event-head.has-poster > .back-link::before { content: "‹"; font-size: var(--fs-stat); line-height: 1; margin-top: -.15rem; }
    .event-cover { max-width: none; margin: 0 0 1.2rem; }
    .share-button span { display: none; }
    .share-button { padding-inline: .55rem; }
    .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom)); background: var(--lp-bg);
        border-top: 1px solid var(--lp-line); transition: transform .25s ease, opacity .25s ease; }
    .buy-bar.is-away { transform: translateY(110%); opacity: 0; pointer-events: none; }
    .buy-bar-price { display: grid; line-height: 1.2; }
    .buy-bar-price strong { font-size: var(--fs-body); }
    .buy-bar .btn { min-width: 9.5rem; }
    .event-page { padding-bottom: 5rem; }
}

/* ── Home screen app (owner, 2026-11-26: "look native on iPhone and Android") ─────────────────────────────────────────
   Smooth page changes everywhere the browser supports them; and when opened from the home screen on a phone: the notch
   and home bar respected, tabs at the bottom like a native app, no website footer. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: tb-fade-out .16s ease both; }
::view-transition-new(root) { animation: tb-fade-in .22s ease both; }
@keyframes tb-fade-out { to { opacity: 0; } }
@keyframes tb-fade-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
html { -webkit-tap-highlight-color: transparent; }

.app-tabbar { display: none; }
@media (max-width: 900px) {
    html.app-mode .site-header { padding-top: env(safe-area-inset-top); }
    html.app-mode .site-footer { display: none; }
    html.app-mode body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); overscroll-behavior-y: none; }
    html.app-mode .app-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr);
        padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
        background: var(--lp-bg);
        border-top: 1px solid var(--lp-line); }
    html.app-mode .app-tabbar a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: var(--fs-micro); font-weight: 600; color: var(--lp-muted); text-decoration: none;
        -webkit-user-select: none; user-select: none; }
    html.app-mode .app-tabbar a.active { color: var(--lp-brand-text); }
    /* the Account tab shows who is signed in: their initials (MainLayout) */
    html.app-mode .app-tabbar .tab-avatar { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lp-muted); color: var(--lp-bg); font-size: 10px; font-weight: 700; line-height: 1; }
    html.app-mode .app-tabbar a.active .tab-avatar { background: var(--lp-brand-text); }
    /* the header keeps the logo, search and theme; the tabs carry the rest */
    html.app-mode .header-nav > a:not(.header-search-icon) { display: none !important; }
    html.app-mode .buy-bar { bottom: calc(60px + env(safe-area-inset-bottom)); padding-bottom: .75rem; }
    html.app-mode .form-submit { bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* Fan-funded shows (Shared/FanFundedBox.razor) */
.fan-funded { margin: .2rem 0 1.1rem; padding: .9rem 0 1rem; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.fan-funded-figures { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .55rem; }
.fan-funded-count { margin: 0; }
.fan-funded-count strong { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.fan-funded-count span, .fan-funded-left { color: var(--lp-muted); font-size: var(--fs-small); }
.fan-funded-left { margin: 0; white-space: nowrap; }
.fan-funded-bar { height: 4px; border-radius: 999px; background: var(--lp-line); overflow: hidden; }
.fan-funded-bar span { display: block; height: 100%; border-radius: inherit; background: var(--lp-brand); }
.fan-funded-note { margin: .75rem 0 0; font-size: var(--fs-body); }
.fan-funded-perk { margin: .25rem 0 0; font-size: var(--fs-small); color: var(--lp-muted); }
.fan-funded-done { margin: .2rem 0 1rem; font-weight: 600; }
[data-seat-venue-hint]:empty { display: none; }
/* the seat-map venue search lists its matches in place, where the nearby cards were (one list at a time) */
.seat-venue #seat-venue-results { position: static; margin-top: .5rem; box-shadow: none; }
.promo-more { margin-top: .2rem; } .promo-more summary { cursor: pointer; font-weight: 600; } .promo-more .form-grid { margin-top: .6rem; } .promo-types { border: 0; padding: 0; margin: 0; display: grid; gap: .3rem; } .promo-types legend { font-weight: 600; margin-bottom: .3rem; }
.footer-legal { margin: .4rem auto 0; padding-bottom: 1.2rem; font-size: var(--fs-small); color: var(--lp-muted); } .footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dispute-summary { white-space: pre-wrap; font: inherit; font-size: var(--fs-small); background: var(--lp-surface); padding: .8rem 1rem; border-radius: var(--radius-sm); margin: .5rem 0; } .dispute-card { display: grid; gap: .7rem; } .dispute-evidence summary { cursor: pointer; font-weight: 600; }

/* Fan-funded shows (owner, 2026-11-27): their own band on the home page, a badge and goal bar on cards, and /fan-funded. */
.card-badge { position: absolute; top: .6rem; left: .6rem; }
.card-fan { display: grid; gap: .3rem; margin-top: .45rem; }
.card-fan-bar, .feature-fan-bar { display: block; height: 6px; border-radius: 999px; background: var(--lp-surface-2); overflow: hidden; }
.card-fan-bar > span, .feature-fan-bar > span { display: block; height: 100%; min-width: 4px; border-radius: inherit;
  background: var(--lp-brand); }
.card-fan-meta { font-size: var(--fs-small); color: var(--lp-muted); }
.feature-fan { align-self: flex-start; }
.feature-fan-bar { max-width: 22rem; height: 8px; margin-top: .5rem; background: color-mix(in srgb, currentColor 18%, transparent); }
.feature-fan-meta { font-size: var(--fs-small); opacity: .85; }
.founding-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .85rem 1.1rem;
  border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-surface); }
.founding-band p { margin: 0; }
@media (max-width: 640px) { .founding-band { flex-direction: column; align-items: flex-start; } }
.fan-band { padding: 1.6rem 1.6rem 1.8rem; border-radius: 20px; background: color-mix(in srgb, var(--lp-brand) 6%, var(--lp-bg)); }
.fan-band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.1rem; }
.fan-band-lede { margin: .35rem 0 0; color: var(--lp-muted); max-width: var(--w-measure); }
.fan-hero { margin-top: 2.5rem; }
.fan-hero h1, .fan-hero .fan-steps { max-width: 60rem; }
.fan-hero h1 { margin: 0 0 .5rem; font-size: var(--fs-display); line-height: 1.05; letter-spacing: -.035em; }
.fan-hero-lede { font-size: var(--fs-subhead); color: var(--lp-muted); max-width: var(--w-measure); margin: 0 0 1.3rem; }
.fan-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: fan; }
.fan-steps li { counter-increment: fan; display: grid; align-content: start; gap: .25rem; padding: 1rem 0; border-top: 1px solid var(--lp-line); }
.fan-steps li::before { content: counter(fan) "."; font-weight: var(--fw-strong); color: var(--lp-muted); }
.fan-steps span { color: var(--lp-muted); font-size: var(--fs-small); }
.fan-host { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem; border-radius: 20px;
  background: var(--lp-stage); color: var(--lp-stage-ink); }
.fan-host .home-h2 { color: var(--lp-stage-ink); }
.fan-host p { margin: .4rem 0 0; opacity: .85; max-width: var(--w-measure); }
.fan-host-actions { display: grid; gap: .6rem; justify-items: start; flex-shrink: 0; }
.fan-faq details { border-bottom: 1px solid var(--lp-line); padding: .8rem 0; }
.fan-faq summary { cursor: pointer; font-weight: 600; }
.fan-faq details p { margin: .5rem 0 0; color: var(--lp-muted); }
.fan-start-note { margin-bottom: 1rem; }
@media (max-width: 760px) {
  .fan-band { padding: 1.1rem 1rem 1.3rem; border-radius: 16px; }
  .fan-band-head { flex-direction: column; align-items: flex-start; }
  .fan-steps { grid-template-columns: 1fr; }
  .fan-host { flex-direction: column; align-items: flex-start; }
}

/* Price steps and watching (owner, 2026-11-27) */
.ticket-step { display: block; margin-top: .2rem; font-size: var(--fs-small); font-weight: 500; color: var(--lp-brand-text); }
.watch-form { margin: -.4rem 0 1rem; }
.showcases-studios { margin-top: 2.5rem; }
/* Resale (owner, 2026-11-27) */
.resale-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; padding: .5rem 0; border-bottom: 1px solid var(--lp-line); }
.resale-row .muted { flex: 1; }
.resale-form { margin-top: .6rem; }
.resale-allow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
