.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    max-width: min(380px, calc(100vw - 36px));
    border-radius: 14px;
    padding: 13px 15px;
    background: #15211b;
    color: #fff;
    box-shadow: var(--shadow);
    z-index: 20;
}
.seat.sold {
    cursor: help;
}
.seat-info-sheet {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: grid;
    align-items: end;
    padding: 16px;
    background: rgba(21,33,27,.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .16s ease;
}
.seat-info-sheet.is-open {
    opacity: 1;
    pointer-events: auto;
}
.seat-info-card {
    position: relative;
    width: min(100%, 420px);
    justify-self: center;
    border: 1px solid rgba(207,219,212,.95);
    border-radius: 18px;
    padding: 16px 46px 16px 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(21,33,27,.22);
    transform: translateY(12px);
    transition: transform .16s ease;
}
.seat-info-sheet.is-open .seat-info-card {
    transform: translateY(0);
}
.seat-info-kicker {
    display: block;
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}
.seat-info-card strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.25;
}
.seat-info-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.seat-info-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(207,219,212,.95);
    border-radius: 999px;
    background: #f8faf9;
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
}
.status-shell, .ticket-shell { width: min(760px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0; }
.status-panel, .ticket { margin-top: 18px; padding: 24px; }
.status-grid, .ticket-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.status-grid div, .ticket-grid div, .ticket-route div {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}
.status-grid strong, .ticket-grid strong, .ticket-route strong { display: block; margin-top: 4px; }
.ticket-head, .ticket-foot, .ticket-route { display: flex; justify-content: space-between; gap: 14px; }
.ticket-route { margin: 18px 0; }
.ticket-route div { flex: 1; }
.ticket-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.ticket-actions .button { margin-top: 0; }
.site-footer {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 24px 0 0;
    padding: 20px 16px;
    color: var(--muted);
    text-align: center;
}
.site-footer strong { color: var(--ink); font-size: 13px; }
.site-footer span { font-size: 11px; }
@media (max-width: 900px) {
    .app-shell { width: min(100% - 22px,680px); padding-top: 10px; }
    .topbar, .hero-panel, .layout, .seat-summary, .ticket-head, .ticket-foot, .ticket-route { display: grid; }
    .topbar {
        grid-template-columns: 1fr auto;
        align-items: center;
        justify-items: stretch;
    }
    .brand-lockup { min-width: 0; }
    .brand-lockup div { min-width: 0; }
    .brand-lockup strong,
    .brand-lockup small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .ticket-actions { justify-content: stretch; }
    .ticket-actions .button { flex: 1; }
    .hero-panel { grid-template-columns: 1fr; min-height: 0; padding: 24px; }
    .hero-media { width: 100%; justify-self: stretch; }
    .hero-copy h1 { font-size: 42px; }
    .hero-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .booking-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .step-item { min-height: 44px; padding: 9px; }
    .closed-counter-panel {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
    }
    .closed-counter-panel img {
        max-height: none;
    }
    .layout { grid-template-columns: 1fr; }
    .trip-panel { position: static; }
    .trip-list { max-height: none; }
    .form-grid, .status-grid, .ticket-grid { grid-template-columns: 1fr; }
    .checkout-actions { grid-template-columns: 1fr; }
    .terms-gate .button { width: fit-content; }
}
@media (max-width: 520px) {
    .topbar { min-height: 46px; gap: 10px; }
    .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
    .brand-lockup strong { font-size: 15px; }
    .brand-lockup small { font-size: 11px; }
    .sale-chip { min-height: 36px; padding: 7px 11px; font-size: 12px; }
    .hero-panel { padding: 20px; border-radius: 22px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-subtitle { margin-bottom: 14px; font-size: 12px; }
    .hero-stats { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
    .hero-stats div { min-height: 64px; padding: 9px 8px; border-radius: 12px; }
    .hero-stats span { font-size: 10px; }
    .hero-stats strong { font-size: 17px; }
    .hero-actions { margin-top: 12px; }
    .hero-secondary-link { width: 100%; min-height: 38px; font-size: 12px; }
    .hero-media { padding: 6px; border-radius: 16px; }
    .hero-media img { border-radius: 11px; }
    .hero-visual { display: none; }
    .booking-steps {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 14px;
    }
    .step-item strong { white-space: normal; }
    .closed-counter-copy h2 { font-size: 20px; }
    .closed-counter-copy p { font-size: 13px; }
    .closed-counter-panel { border-radius: 16px; padding: 14px; }
    .closed-counter-panel img { border-radius: 12px; }
    .seat-panel {
        min-height: 0;
        padding: 14px;
        overflow: visible;
    }
    .seat-map-wrap {
        min-height: 0;
        padding: 14px;
        overflow: hidden;
    }
    .seat-map-wrap::before {
        inset: 8px;
        border-radius: 22px 22px 14px 14px;
    }
    .seat-map {
        min-height: 0;
        gap: 12px;
    }
    .seat-grid, .seat-placeholder {
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 8px;
        width: min(100%, 310px);
    }
    .seat-placeholder span, .seat {
        min-height: 38px;
        border-radius: 11px 11px 14px 14px;
    }
    .seat-section { padding: 11px; }
    .seat-section-head { display: grid; }
    .seat-section-head em { justify-self: start; }
    .checkout-head {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .countdown-block {
        grid-template-columns: 1fr auto;
        justify-items: start;
        align-items: center;
    }
    .countdown-block .countdown {
        justify-self: end;
    }
    .form-section-title { margin: 14px 14px 10px; }
    .form-grid { padding: 0 14px 14px; gap: 12px; }
    .donation-panel { margin: 0 14px 14px; padding: 14px; }
    .donation-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .donation-options label { justify-content: flex-start; }
    .donation-custom-option { grid-column: 1 / -1; }
    .donation-custom-option input[type="number"] {
        width: min(130px, 100%);
        min-width: 0;
    }
    .payment-total strong { font-size: 20px; }
    .checkout-actions { padding: 14px; }
    .terms-gate .button,
    #payButton {
        width: 100%;
    }
    .terms-actions { display: grid; }
    .terms-actions .button { width: 100%; }
    .app-shell .layout,
    .app-shell .layout.is-readonly-seat-map {
        grid-template-columns: minmax(0,1fr) !important;
    }
    .app-shell .layout > *,
    .app-shell .layout.is-readonly-seat-map > * {
        grid-column: 1 / -1;
        width: 100%;
    }
}
@media print {
    body { background: #fff; }
    .button { display: none; }
    .ticket { box-shadow: none; }
}
