/* Public site styles. */
html { overflow-y: scroll; }

body {
    background: var(--surface-page);
    color: var(--text-body);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.015em; }
h1, h1.h2, h1.h3, h1.h4, .h1 { font-weight: 800; letter-spacing: -0.025em; }
.display-title { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }

.surface-white { background: var(--surface-card); }

.btn-primary {
    --bs-btn-bg:                  var(--brand-accent);
    --bs-btn-border-color:        var(--brand-accent);
    --bs-btn-color:               var(--brand-accent-text);
    --bs-btn-hover-bg:            var(--brand-accent-hover);
    --bs-btn-hover-border-color:  var(--brand-accent-hover);
    --bs-btn-hover-color:         var(--brand-accent-text);
    --bs-btn-active-bg:           var(--brand-accent-hover);
    --bs-btn-active-border-color: var(--brand-accent-hover);
    --bs-btn-active-color:        var(--brand-accent-text);
    --bs-btn-disabled-bg:         var(--brand-accent);
    --bs-btn-disabled-border-color: var(--brand-accent);
    --bs-btn-disabled-color:      var(--brand-accent-text);
}
.btn-outline-secondary {
    --bs-btn-color:               var(--text-body);
    --bs-btn-border-color:        var(--border-strong);
    --bs-btn-hover-color:         var(--text-body);
    --bs-btn-hover-bg:            var(--surface-muted);
    --bs-btn-hover-border-color:  var(--border-strong);
    --bs-btn-active-color:        var(--text-body);
    --bs-btn-active-bg:           var(--surface-muted);
    --bs-btn-active-border-color: var(--border-strong);
}
.btn { font-weight: 600; border-radius: var(--radius-sm); }
.btn-lg { min-height: 52px; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-size: 1.0625rem; }

.btn-lg, .action-bar .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; }
.btn-ink { --bs-btn-bg: var(--brand-primary); --bs-btn-border-color: var(--brand-primary); --bs-btn-color: #fff;
           --bs-btn-hover-bg: var(--brand-primary-hover); --bs-btn-hover-border-color: var(--brand-primary-hover); --bs-btn-hover-color: #fff; }

.form-control, .form-select {
    min-height: 48px;
    font-size: 1rem;
    border-color: var(--border-strong);
    border-radius: 0.625rem;
}
.form-control:focus, .form-select:focus { border-color: var(--brand-accent); }
.form-label { font-weight: 500; font-size: 0.9375rem; }
.form-check-input { width: 1.25em; height: 1.25em; margin-top: 0.1em; }
.form-check-label { padding-left: 0.25rem; }

.site-header {
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-color);
}
.site-header .navbar { min-height: 64px; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.site-brand {
    color: var(--text-body);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.site-brand:hover { color: var(--text-body); }
.site-brand .brand-dot { color: var(--brand-accent); }
.site-header .nav-link { color: var(--text-body); font-weight: 500; }
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--brand-accent); }
.site-header .navbar-toggler { width: 44px; height: 44px; padding: 0; }
/* Outlined header button. */
.site-header .nav-sell {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 40px; padding: 0 1rem; margin: 0 0.5rem;
    border: 1.5px solid var(--brand-accent); border-radius: 999px;
    color: var(--brand-accent); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.site-header .nav-sell:hover,
.site-header .nav-sell.active { background: var(--brand-accent-soft); color: var(--brand-accent-hover); }
@media (max-width: 767.98px) {
    .site-header .nav-sell { width: 100%; min-height: 44px; margin: 0.5rem 0 0.25rem; }
}
.site-header .navbar-toggler:focus { box-shadow: 0 0 0 0.2rem var(--bs-focus-ring-color); }

.basket-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-card);
    color: var(--text-body);
    padding: 0;
}
.basket-link:hover { border-color: var(--border-strong); }
.basket-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--brand-accent);
    color: var(--brand-accent-text);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

.checkout-steps {
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-color);
    padding: 0.625rem 0;
}
.checkout-steps ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}
.checkout-steps li { display: flex; align-items: center; gap: 0.4rem; color: var(--text-muted); }
.checkout-steps .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    font-size: 0.75rem;
    font-weight: 600;
}
.checkout-steps li.active { color: var(--text-body); font-weight: 600; }
.checkout-steps li.active .step-num { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-accent-text); }
.checkout-steps li.done .step-num { background: var(--surface-muted); border-color: var(--border-color); }

@media (max-width: 575.98px) {
    .checkout-steps li:not(.active) .step-label { display: none; }
}

.panel {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}
@media (min-width: 768px) {
    .panel { padding: 1.5rem; }
}
.panel-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.panel-muted { background: var(--surface-muted); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.pill-low { background: var(--status-warning-soft); color: var(--status-warning); }

.saved-booking { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; margin-bottom: 0.75rem; border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--surface-card); color: var(--text-body); text-decoration: none; min-height: 44px; }
.saved-booking:hover { border-color: var(--brand-accent); }
.saved-booking-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.saved-booking-name { font-weight: 600; }
.saved-booking-meta { font-size: 0.875rem; color: var(--text-muted); }

.home-hero { position: relative; overflow: hidden; background: var(--brand-primary); color: #fff; padding: 3.5rem 0 3rem; }
@media (min-width: 768px) {
    .home-hero { padding: 6rem 0 5.5rem; }
}
.home-hero-bg, .home-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero-bg img { object-fit: cover; object-position: 55% 52%; }
/* Darker behind the text so it stays readable over the photo. */
.home-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.8) 100%);
}
@media (min-width: 768px) {
    .home-hero::before { background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 45%, rgba(15, 23, 42, 0.2) 100%); }
}
.home-hero .container { position: relative; z-index: 2; }
.home-hero h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.25rem); margin-bottom: 0.75rem; max-width: 20ch; }
.home-hero p { font-size: 1.0625rem; color: rgba(255, 255, 255, 0.88); max-width: 36rem; margin: 0; }
@media (min-width: 768px) {
    .home-hero p { font-size: 1.125rem; }
}

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }

.featured-event {
    display: flex;
    flex-wrap: wrap;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s;
}
.featured-event:hover { color: inherit; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); }
.featured-event-image { flex: 3 1 420px; aspect-ratio: 2 / 1; background: var(--surface-muted); position: relative; }
.featured-event-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-event-body { flex: 2 1 300px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
@media (min-width: 768px) {
    .featured-event-body { padding: 2rem; }
}
.featured-event-body h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.025em; margin: 0; }
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-accent); }

.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s, transform 0.15s;
}
.event-card:hover { color: inherit; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); transform: translateY(-2px); }
.event-card-image { position: relative; aspect-ratio: 2 / 1; background: var(--surface-muted); }
.event-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.event-cover {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1rem 1.25rem;
    color: var(--cover-text);
    text-align: left;
    overflow: hidden;
}
.event-cover::before, .event-cover::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.12);
}
.event-cover::before { width: 55%; aspect-ratio: 1; right: -12%; top: -30%; }
.event-cover::after  { width: 35%; aspect-ratio: 1; right: 18%; bottom: -28%; background: rgba(255, 255, 255, 0.08); }
.event-cover-1 { background: var(--cover-1); }
.event-cover-2 { background: var(--cover-2); }
.event-cover-3 { background: var(--cover-3); }
.event-cover-4 { background: var(--cover-4); }
.event-cover-initials {
    position: relative;
    font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9;
    font-size: clamp(2.5rem, 9vw, 3.75rem);
}
.event-cover-hero { padding: 1.25rem 1.5rem; }
.event-cover-hero .event-cover-initials { font-size: clamp(3.5rem, 14vw, 6.5rem); }
.event-cover-thumb { padding: 0; align-items: center; justify-content: center; }
.event-cover-thumb .event-cover-initials { font-size: 1.25rem; }
.event-card-body { padding: 1rem 1.125rem 1.125rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.event-card-title { font-size: 1.125rem; font-weight: 700; line-height: 1.25; margin: 0; }
.event-card-meta { color: var(--text-muted); font-size: 0.9rem; }
.event-card-price { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.9375rem; }

.date-tile {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    width: 3.25rem;
    padding: 0.4rem 0;
    border-radius: 0.625rem;
    background: var(--surface-card);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.date-tile-month { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; color: var(--brand-accent); }
.date-tile-day { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 800; margin-top: 0.2rem; color: var(--text-body); }

.organiser-band { background: var(--surface-page); border-top: 1px solid var(--border-color); }
.organiser-band h2 { font-size: 1.375rem; font-weight: 800; margin: 0 0 0.25rem; }

.event-hero { position: relative; aspect-ratio: 2 / 1; background: var(--surface-muted); overflow: hidden; }
.event-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 768px) {
    .event-hero { border-radius: var(--radius-lg); }
}
.hero-btn {
    position: absolute;
    top: 0.75rem;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
    color: var(--text-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
}
.hero-btn:hover { color: var(--brand-accent); }
.hero-btn-back { left: 0.75rem; }
.hero-btn-share { right: 0.75rem; }

.event-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.event-organiser { font-size: 0.875rem; font-weight: 600; color: var(--brand-accent); }
.event-organiser a { color: inherit; text-decoration: none; }
.event-organiser a:hover { text-decoration: underline; }

.info-card { border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--surface-card); }
.info-row { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1rem; }
.info-row + .info-row { border-top: 1px solid var(--border-color); }
.info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 0.625rem;
    background: var(--surface-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.info-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.info-text strong { font-weight: 600; }
.info-text span { color: var(--text-muted); font-size: 0.9rem; }
.info-action { font-size: 0.875rem; font-weight: 600; white-space: nowrap; padding: 0.75rem 0; text-decoration: none; }

.event-section { padding: 1.5rem 0 0; }
.event-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }

.event-section.prose h2 ~ h2 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.event-section p, .event-section li { line-height: 1.6; }

.ticket-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--surface-card);
}
.ticket-preview + .ticket-preview { margin-top: 0.625rem; }
.ticket-preview.is-sold-out { color: var(--text-muted); }

.buy-box-price { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.buy-box-note { font-size: 0.8125rem; color: var(--text-muted); }

.action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1020;
    background: var(--surface-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06);
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
}
.action-bar .btn { min-height: 52px; padding-left: 1.75rem; padding-right: 1.75rem; }
.action-bar-price { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.action-bar-note { font-size: 0.8125rem; color: var(--text-muted); }

@media (max-width: 991.98px) {
    body:has(.action-bar) .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}

.event-strip {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: inherit;
    text-decoration: none;
}
.event-strip:hover { color: inherit; border-color: var(--border-strong); }
.event-strip-image { position: relative; width: 96px; height: 48px; border-radius: 0.5rem; overflow: hidden; flex-shrink: 0; }
.event-strip-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-strip-name { display: block; font-weight: 700; }
.event-strip-meta { display: block; color: var(--text-muted); font-size: 0.875rem; }

.ticket-type {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.125rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ticket-type + .ticket-type { margin-top: 0.875rem; }
.ticket-type.is-selected { border-color: var(--brand-accent); box-shadow: 0 0 0 1px var(--brand-accent); }
.ticket-type h2 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.25rem; }
.ticket-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
}
.ticket-row:first-of-type { border-top: 0; }
.ticket-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; }

.qty-stepper { display: inline-flex; align-items: center; gap: 0.25rem; }
.qty-stepper .qty-value { min-width: 1.75rem; text-align: center; font-weight: 700; font-size: 1.0625rem; }
.qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    padding: 0;
}
.qty-btn-minus { border: 1px solid var(--border-strong); background: var(--surface-card); color: var(--text-body); }
.qty-btn-plus { border: 0; background: var(--brand-accent); color: var(--brand-accent-text); }
.qty-btn-plus:hover { background: var(--brand-accent-hover); }
.qty-btn:disabled { opacity: 0.4; }

@media (min-width: 992px) {
    .summary-sticky { position: sticky; top: 1rem; }
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.0625rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}
.summary-discount { color: var(--status-success); }

.checkout-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.wallet-buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin: 1rem auto 0; }
.wallet-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 44px; min-width: 13.5rem; padding: 0.5rem 1rem;
    border-radius: 0.625rem; background: #000; color: #fff;
    font-weight: 600; font-size: 0.875rem; text-decoration: none;
}
.wallet-btn i { font-size: 1.15rem; }
.wallet-btn:hover { color: #fff; background: #1f2937; }
.wallet-badge { display: inline-flex; border-radius: 999px; }
.wallet-badge img { display: block; height: 48px; width: auto; }
.wallet-badge:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

.confirm-hero {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
}
.confirm-hero-image { position: relative; aspect-ratio: 2 / 1; }
.confirm-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.confirm-hero-body { padding: 0 1.25rem 1.5rem; }
.confirm-hero-body .success-mark { margin-top: -28px; position: relative; box-shadow: 0 0 0 5px var(--surface-card); }
.confirm-title { font-size: clamp(1.75rem, 6vw, 2.25rem); font-weight: 800; margin: 0.5rem 0 0.25rem; }
.confirm-event { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; }
.confirm-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; max-width: 26rem; margin: 0 auto; }
.confirm-action {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
    min-height: 64px; padding: 0.5rem 0.25rem;
    border: 1px solid var(--border-color); border-radius: var(--radius);
    background: var(--surface-card); color: var(--text-body);
    font-size: 0.8125rem; font-weight: 600; text-decoration: none;
}
.confirm-action i { font-size: 1.25rem; color: var(--brand-accent); }
.confirm-action:hover { border-color: var(--brand-accent); color: var(--text-body); }

.hold-timer {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.4rem 0.875rem;
    font-size: 0.875rem;
    white-space: nowrap;
}
.hold-timer strong { font-variant-numeric: tabular-nums; }
.hold-timer-low { border-color: var(--status-warning); color: var(--status-warning); }
.holder-row + .holder-row { margin-top: 0.75rem; }
.summary-image { position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; }
.summary-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 991.98px) {
    .checkout-submit {
        position: sticky;
        bottom: 0;
        z-index: 10;
        margin: 0 -0.75rem;
        padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
        background: var(--surface-page);
        border-top: 1px solid var(--border-color);
    }
    .checkout-submit .btn-primary { width: 100%; }
}

.success-mark {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background: #dcfce7;
    color: #166534;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}
.booking-ref {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ticket-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.ticket-card + .ticket-card { margin-top: 1rem; }
.ticket-card-head { background: var(--brand-accent); color: var(--brand-accent-text); padding: 1rem 1.125rem; }
.ticket-card-head .eyebrow { color: rgba(255, 255, 255, 0.9); }
.ticket-card-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.ticket-card-body { padding: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.ticket-qr { width: 220px; flex-shrink: 0; }
.ticket-qr svg { display: block; width: 100%; height: auto; }

.status-icon { font-size: 2.5rem; line-height: 1; }
.status-icon.success { color: var(--status-success); }
.status-icon.danger  { color: var(--status-danger); }

.holding-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 12vh;
    text-align: center;
}
.holding-page-inner { width: 100%; max-width: 420px; }

.preview-strip {
    background: var(--brand-primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    line-height: 1.2;
    padding: 0.4rem 0;
}
.preview-strip a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; padding: 0.25rem 0; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.15rem; margin-top: 1.5rem; }

.site-footer {
    background: var(--surface-card);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 1.5rem 0;
}
.site-footer a, .footer-cookie-btn { color: var(--text-muted); text-decoration: none; padding: 0.35rem 0; display: inline-block; }
.site-footer a:hover, .footer-cookie-btn:hover { color: var(--text-body); }
.footer-cookie-btn { background: none; border: 0; font: inherit; cursor: pointer; }
.footer-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; padding: 1rem 0 1.5rem; }
.footer-group h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-body); margin: 0 0 0.5rem; }
.footer-group ul { list-style: none; margin: 0; padding: 0; }
.footer-base { border-top: 1px solid var(--border-color); padding-top: 1rem; }
@media (max-width: 575.98px) { .footer-groups { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-group:last-child { grid-column: 1 / -1; } }

.basket-drawer { max-width: 420px; }
.summary-toggle {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-body);
    font-size: 0.9375rem;
}
.summary-toggle .summary-chevron { display: inline-block; transition: transform 0.2s; }
.summary-toggle:not(.collapsed) .summary-chevron { transform: rotate(180deg); }

.legal-page { max-width: 80ch; }
.prose h3 { font-size: 1.05rem; margin-top: 1.25rem; }
.prose h4 { font-size: 1rem; margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose blockquote { border-left: 3px solid var(--border-strong); padding-left: 1rem; color: var(--text-muted); }
.prose table { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--border-color); padding: 0.4rem 0.6rem; vertical-align: top; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.prose .ql-align-justify { text-align: justify; }
.prose > :last-child { margin-bottom: 0; }

.kb-hero { background: var(--cover-2); color: var(--cover-text); padding: 2rem 0 2.5rem; }
.kb-hero-slim { padding: 1.25rem 0 1.5rem; }
.kb-hero-title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.75rem, 5vw, 3rem); line-height: 1.1; text-align: center; margin: 1.25rem auto 1.5rem; max-width: 18ch; }
.kb-audiences { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.kb-audiences a { color: var(--cover-text); text-decoration: none; padding: 0.5rem 1rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--cover-text) 35%, transparent); font-weight: 600; font-size: 0.9rem; }
.kb-audiences a:hover { background: color-mix(in srgb, var(--cover-text) 12%, transparent); }
.kb-audiences a.active { background: var(--cover-text); color: var(--brand-primary); border-color: var(--cover-text); }
.kb-search { position: relative; max-width: 640px; margin: 1.25rem auto 0; }
.kb-search > .bi { position: absolute; left: 1.1rem; top: 1.5rem; transform: translateY(-50%); color: var(--text-muted); z-index: 1; }
.kb-search .form-control { padding-left: 2.8rem; min-height: 52px; border-radius: 999px; border: 0; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18); }
.kb-results { position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); z-index: 30; background: var(--surface-card); color: var(--text-body); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18); padding: 0.375rem; max-height: 70vh; overflow-y: auto; text-align: left; }
.kb-results a { display: block; padding: 0.625rem 0.875rem; border-radius: var(--radius-sm); color: var(--text-body); text-decoration: none; }
.kb-results a:hover, .kb-results a:focus { background: var(--brand-accent-soft); outline: none; }
.kb-results strong { display: block; font-weight: 600; }
.kb-results span { display: block; font-size: 0.8rem; color: var(--text-muted); }
.kb-results p { margin: 0; padding: 0.625rem 0.875rem; color: var(--text-muted); font-size: 0.9rem; }
.kb-body { padding: 2rem 0 3rem; }
.kb-panel { background: var(--surface-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; }
@media (min-width: 992px) { .kb-panel { padding: 2rem; } }
.kb-card { display: flex; flex-direction: column; height: 100%; min-height: 200px; background: var(--surface-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem; color: var(--text-body); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.kb-card:hover, .kb-card:focus-visible { border-color: var(--brand-accent); box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08); color: var(--text-body); }
.kb-card:hover .kb-card-title { color: var(--brand-accent); }
.kb-card-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.kb-card-text { color: var(--text-muted); margin-bottom: 1rem; }
.kb-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; font-size: 0.875rem; color: var(--text-muted); }
.kb-icon { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--cover-text); font-size: 1.4rem; flex: 0 0 auto; }
.kb-tone-0 { background: var(--cover-1); }
.kb-tone-1 { background: var(--cover-3); }
.kb-tone-2 { background: var(--cover-4); }
.kb-tone-3 { background: var(--cover-2); }
.kb-sidebar-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.kb-sidebar a { display: flex; align-items: center; gap: 0.625rem; min-height: 44px; padding: 0.375rem 0.875rem; border-radius: 999px; color: var(--text-body); text-decoration: none; }
.kb-sidebar a:hover { background: var(--surface-muted); }
.kb-sidebar a.active { background: var(--brand-accent); color: var(--brand-accent-text); }
.kb-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.kb-sidebar a.active .kb-dot { box-shadow: 0 0 0 2px var(--brand-accent-text); }
.kb-title { font-family: var(--font-heading); font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 800; margin-bottom: 0.5rem; }
.kb-articles li + li { border-top: 1px solid var(--border-color); }
.kb-articles a { display: block; padding: 0.875rem 0; font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.kb-articles a:hover { text-decoration: underline; }
.kb-list li { padding: 0.375rem 0; }
.kb-list a { font-weight: 600; }
.kb-list-meta { display: block; font-size: 0.8rem; color: var(--text-muted); }
.kb-results-list li { padding: 0.875rem 0; }
.kb-results-list li + li { border-top: 1px solid var(--border-color); }
.kb-results-list a { font-weight: 600; font-size: 1.05rem; }
.kb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; font-size: 0.85rem; margin-bottom: 0.75rem; }
.kb-crumbs .bi { font-size: 0.7rem; color: var(--text-muted); }
.kb-updated { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.kb-prose { max-width: none; }
.kb-prose img { max-width: 100%; height: auto; }

.contact-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.organiser-head { display: flex; align-items: center; gap: 1.25rem; }
.organiser-logo { flex: 0 0 auto; width: 96px; height: 96px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-muted); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; }
.organiser-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.organiser-logo span { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: var(--brand-accent); }
.organiser-links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: 0.9rem; color: var(--text-muted); }
.organiser-links a { color: var(--text-muted); text-decoration: none; }
.organiser-links a:hover { color: var(--brand-accent); }
.past-events li { padding: 0.35rem 0; border-bottom: 1px solid var(--border-color); }
@media (max-width: 575.98px) {
    .organiser-head { align-items: flex-start; }
    .organiser-logo { width: 72px; height: 72px; }
}

.sold-by { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); }
.sold-by .bi { color: var(--brand-accent); margin-top: 0.1rem; }
.sold-by strong { color: var(--text-body); }
.app-icon { border-radius: 22%; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18); }

.account-booking.is-past { opacity: 0.85; }

/* Less movement when the device asks for it. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Sell tickets page */
.sell-hero { padding: 4rem 0 3.5rem; background: radial-gradient(60rem 30rem at 85% 0%, rgba(79, 70, 229, 0.45), rgba(79, 70, 229, 0) 70%), var(--brand-primary); }
.sell-hero h1 { max-width: none; }
.text-accent-dot { color: var(--brand-accent-light); }
.sell-stage-num { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--brand-accent); color: var(--brand-accent-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.sell-price { border-radius: var(--radius-lg); padding: 2rem; background: var(--brand-accent-soft); border: 1px solid var(--border-color); }
.sell-price-figure { font-family: var(--font-heading); font-weight: 800; font-size: clamp(3rem, 9vw, 4.5rem); line-height: 1; color: var(--brand-accent); margin-bottom: 0.5rem; }
.sell-ticks li { position: relative; padding-left: 1.75rem; margin-bottom: 0.9rem; }
.sell-ticks li:last-child { margin-bottom: 0; }
.sell-ticks li::before { content: ""; position: absolute; left: 0; top: 0.35rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--brand-accent-soft); box-shadow: inset 0 0 0 4px var(--brand-accent); }
.sell-ticks li.text-muted::before { box-shadow: inset 0 0 0 4px var(--border-color); background: transparent; }
.sell-cta { border-radius: var(--radius-lg); background: var(--surface-page); border: 1px solid var(--border-color); }
.compare-wrap { border: 1px solid var(--border-color); border-radius: var(--radius-lg); background: var(--surface-card); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: 0.9rem 1rem; border-color: var(--border-color); vertical-align: middle; }
.compare-table thead th { font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); background: var(--surface-page); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-name { display: block; font-weight: 700; }
.compare-rate { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); }
.compare-figure { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; white-space: nowrap; }
.compare-table .compare-ours, .compare-table tr.compare-ours > * { background: var(--brand-accent-soft); }
.compare-table tr.compare-ours .compare-name, .compare-table th.compare-ours, .compare-table tr.compare-ours .compare-figure { color: var(--brand-accent); }

/* Side-by-side comparison and fee calculator */
.compare-pair th[scope="row"] { width: 28%; font-weight: 600; }
.compare-pair td { width: 36%; }
.compare-pair .compare-ours { background: var(--brand-accent-soft); }
.calc-results { background: var(--surface-muted); border-radius: var(--radius); padding: 1rem 1.25rem; }
.calc-results > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
.calc-results strong { font-family: var(--font-heading); font-size: 1.15rem; }
.calc-diff { border-top: 1px solid var(--border-strong); margin-top: 0.4rem; padding-top: 0.5rem !important; font-weight: 600; color: var(--status-success); }

/* Small-catalogue home: the event leads */
.spot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 992px) { .spot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; } }
.spot-hero h1 { max-width: 18ch; }
.spot-hero .eyebrow { color: var(--brand-accent-light); }
.spot-meta { line-height: 1.8; margin-top: 0.75rem !important; }
.spot-sold { font-size: 0.95rem !important; margin-top: 0.5rem !important; }
.spot-sold a { color: #fff; font-weight: 600; }
.spot-price { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; }
.spot-image { display: block; aspect-ratio: 2 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35); }
.spot-image img, .spot-image .event-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2.5rem; }
.trust-strip > div { display: flex; gap: 0.75rem; align-items: flex-start; background: var(--surface-muted); border-radius: var(--radius); padding: 1rem 1.1rem; font-size: 0.9rem; color: var(--text-muted); }
.trust-strip i { font-size: 1.4rem; color: var(--brand-accent); line-height: 1; }
.trust-strip strong { display: block; color: var(--text-body); font-size: 0.95rem; margin-bottom: 0.15rem; }
@media (max-width: 767.98px) { .trust-strip { grid-template-columns: minmax(0, 1fr); } }

/* Sign-in: buying tickets or organiser */
.signin-tabs { display: flex; background: var(--surface-muted); border-radius: var(--radius-sm); padding: 4px; gap: 4px; margin-bottom: 0.75rem; }
.signin-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.55rem 0.5rem; border-radius: 0.55rem; color: var(--text-muted); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.signin-tabs a:hover { color: var(--text-body); }
.signin-tabs a.active { background: #fff; color: var(--text-body); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); }
.signin-tabs-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.1rem; }
