.seat-selection-page { overflow-y: auto; }
.seat-selection-page body { margin: 0; background: var(--surface-primary); color: var(--text-primary); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.tb-buy-page { min-height: 100vh; }
.tb-buy-page .tb-header { position: relative; z-index: 30; }
.tb-buy-page .tb-header *, .tb-buy-page .tb-header *::before, .tb-buy-page .tb-header *::after { box-sizing: border-box; }
.tb-buy-page .tb-container { width: min(calc(100% - 32px), var(--container-width)); margin-inline: auto; }
.tb-buy-page .tb-header a { text-decoration: none; }
.tb-buy-page .tb-header button { font: inherit; cursor: pointer; }
.tb-buy-page .tb-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tb-buy-page .event-section,
.tb-buy-page .event-section > .container,
.tb-buy-page .middle_inner,
.tb-buy-page .fullwidth,
.tb-buy-page .entry,
.tb-buy-page #tribe-events-pg-template { width: 100%; max-width: none; margin: 0; padding: 0; }
.tb-buy-page .event-section { background: var(--surface-primary); }
.tb-buy-page .hall_header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 24px max(24px, calc((100% - var(--container-width)) / 2)); background: var(--surface-primary); border-bottom: 1px solid var(--border-default); }
.tb-buy-page .cmsmasters_single_event_header_left { float: none; width: 100%; padding: 0; margin: 0; }
.tb-buy-page .cmsmasters_event_big_date { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 16px; padding: 0; margin: 0; }
.tb-buy-page .cmsmasters_event_big_date > .btn { grid-column: 1; grid-row: 1 / 4; width: 44px; height: 44px; padding: 0; margin: 0; justify-content: center; align-self: center; }
.tb-buy-page .tb-hall-event { grid-column: 2; grid-row: 1; text-decoration: none; }
.tb-buy-page .tb-hall-venue { grid-column: 2; grid-row: 2; text-decoration: none; }
.tb-buy-page .tb-hall-venue .entry-title { font-size: 14px; font-weight: 400; color: var(--text-secondary); }
.tb-buy-page .cmsmasters_event_big_date_ovh { grid-column: 2; grid-row: 3; padding: 0; margin: 0; }
.tb-buy-page .hall_header .back-button { position: static; height: auto; padding: 0; }
.tb-buy-page .hall_header .back_button { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.tb-buy-page .hall_header .price-list { max-width: min(40vw, 440px); margin: 0; padding: 0; overflow-x: auto; }
.tb-buy-page .hall_header .badge_wrapper { display: flex; gap: 8px; float: none; width: auto; padding: 0 !important; }
.tb-buy-page .hall_header .price_root { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px !important; border: 1px solid var(--border-default) !important; border-radius: var(--radius-sm); background: var(--surface-primary) !important; color: var(--text-primary) !important; font-size: 13px; }
.tb-buy-page #cmsmasters_single_event_header { padding: 0; }
.tb-buy-page .entry-title { margin: 0; color: var(--text-primary); font-family: inherit; font-size: clamp(18px, 2vw, 24px); font-weight: 750; line-height: 1.3; letter-spacing: -.025em; }
.tb-buy-page .cmsmasters_event_big_week { color: var(--text-secondary); font-family: inherit; }
.tb-buy-page .hall_header a { color: var(--text-primary); }
.tb-buy-page .hall_header .btn { display: inline-flex; box-sizing: border-box; align-items: center; min-height: 44px; padding: 0; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-primary); text-decoration: none; }
.tb-buy-page .hall_header,
.tb-buy-page .desktop-tickets-selector_item,
.tb-buy-page .desktop-layout_footer .desktop-hallplan-foooter { box-sizing: border-box; }
.tb-buy-page .desktop-layout,
.tb-buy-page .checkbox-parent,
.tb-buy-page .checkboxes,
.tb-buy-page #svg_div { background: var(--surface-primary); }
.tb-buy-page .desktop-layout { min-width: 0; min-height: 0; max-height: none; overflow: visible; }
.tb-buy-page .checkboxes { min-height: 0; margin-bottom: 0; padding-bottom: 156px; }
.tb-buy-page--quantity .desktop-layout,
.tb-buy-page--quantity .checkboxes,
.tb-buy-page--quantity #svg_div { background: var(--surface-secondary); }
.tb-buy-page .desktop-tickets-selector { width: min(100%, 960px); box-sizing: border-box; margin-inline: auto; padding: 32px 24px; }
.tb-buy-page .desktop-tickets-selector_inner { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.tb-buy-page .desktop-tickets-selector_item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; width: auto; padding: 24px; margin: 0; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-elevated); color: var(--text-primary); box-shadow: none; }
.tb-buy-page .desktop-tickets-selector_item-cell { display: block; width: auto; padding: 0; border: 0; }
.tb-buy-page .desktop-tickets-selector_item-cell__controls { justify-self: end; }
.tb-buy-page .desktop-tickets-selector_controls { margin: 0; }
.tb-buy-page .desktop-tickets-selector_info { font-size: 16px; font-weight: 650; line-height: 1.4; }
.tb-buy-page .desktop-tickets-selector__Price-sc-qomskd-0 { margin-top: 6px; font-size: 18px; font-weight: 750; }
.tb-buy-page .desktop-tickets-selector_info,
.tb-buy-page .kHCDzl,
.tb-buy-page .amounter_value { color: var(--text-primary); font-family: inherit; }
.tb-buy-page .amounter { gap: 12px; }
.tb-buy-page .amounter_value { min-width: 24px; padding: 0; text-align: center; font-size: 16px; font-weight: 700; }
.tb-buy-page .amounter_button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; background: var(--surface-secondary); color: var(--text-primary); border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.tb-buy-page .amounter_button__increase { background: var(--brand-primary); color: var(--text-inverse); border-color: var(--brand-primary); }
.tb-buy-page .amounter_button[disabled] { opacity: .4; cursor: default; }
.tb-buy-page .amounter_icon::before,
.tb-buy-page .amounter_icon::after { background: currentColor; }
.tb-buy-page .desktop-hallplan-foooter,
.tb-buy-page .mobile__Footer,
.tb-buy-page .session-confirmation { background: var(--surface-elevated); color: var(--text-primary); border-color: var(--border-default); }
.tb-buy-page .desktop-layout_footer { bottom: 0; }
.tb-buy-page .desktop-layout_footer .desktop-hallplan-foooter { padding: 16px 24px; border-top: 1px solid var(--border-default); box-shadow: none; }
.tb-buy-page .desktop-layout_footer .drmtVw { max-width: var(--container-width); margin-inline: auto; padding: 0; }
.tb-buy-page .desktop-hallplan-foooter_inner { display: block; }
.tb-buy-page .desktop-hallplan-foooter_content { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; }
.tb-buy-page .desktop-hallplan-foooter_carousel { display: block; width: auto; min-width: 0; }
.tb-buy-page .desktop-layout_footer .gJMyzC,
.tb-buy-page .desktop-layout_footer .ticketsList { max-width: none !important; min-height: 0 !important; }
.tb-buy-page .desktop-layout_footer .ticketsList { display: flex; gap: 10px; overflow-x: auto; padding: 4px; }
.tb-buy-page .desktop-layout_footer .ticket_item { display: block; flex: 0 0 176px; }
.tb-buy-page .desktop-hallplan-footer__ticket-list-item,
.tb-buy-page .desktop-hallplan-footer__ticket-list-item:hover { position: relative; top: auto; left: auto; box-sizing: border-box; width: 100%; min-height: 84px; margin: 0 !important; padding: 12px 40px 12px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-primary); color: var(--text-primary); transition: none; }
.tb-buy-page .desktop-hallplan-footer__ticket-list-item::before { display: none; }
.tb-buy-page .desktop-hallplan-footer__ticket-list-item .delete_ticket { top: 6px; right: 6px; width: 28px; height: 28px; }
.tb-buy-page .desktop-hallplan-foooter_summary,
.tb-buy-page .desktop-hallplan-foooter_button { display: block; width: auto; height: auto; padding: 0; }
.tb-buy-page .desktop-hallplan-foooter_summary .total { font-size: 24px; font-weight: 750; }
.tb-buy-page .mobile__Footer { padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--border-default); border-radius: 0; }
.tb-buy-page .desktop-hallplan-foooter_button button,
.tb-buy-page .desktop-hallplan-foooter_button a,
.tb-buy-page .mobile__Footer .bQgTwa { min-height: 48px; border: 0; border-radius: var(--radius-md); background: var(--brand-primary) !important; color: var(--text-inverse) !important; font-family: inherit; font-weight: 700; box-shadow: none; }
.tb-buy-page .desktop-hallplan-foooter_button button:hover,
.tb-buy-page .desktop-hallplan-foooter_button a:hover,
.tb-buy-page .mobile__Footer .bQgTwa:hover { background: var(--brand-primary-hover) !important; }
.tb-buy-page .logo_footer { visibility: hidden; pointer-events: none; }
.tb-buy-page .session-confirmation .payment-button { min-height: 48px; border: 0; border-radius: var(--radius-md); background: var(--brand-primary); color: var(--text-inverse); font-family: inherit; font-weight: 700; }
.tb-buy-page .session-confirmation .payment-button:hover { background: var(--brand-primary-hover); }
.tb-buy-page .session-confirmation .payment-button:disabled { opacity: .5; cursor: not-allowed; }
.tb-buy-page .session-confirmation input:not([type=checkbox]):not([type=radio]):not([type=hidden]) { border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-primary); color: var(--text-primary); }
.tb-buy-page .session-confirmation .cNmolB { color: var(--text-primary); }
.tb-buy-page .session-confirmation .jJgyZx { color: var(--text-secondary); }
.tb-buy-page :focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
@media (max-width: 991px) {
    .tb-buy-page .hall_header { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px; }
    .tb-buy-page .hall_header .price-list { max-width: 100%; }
    .tb-buy-page .tb-hall-event .entry-title { font-size: 18px; white-space: normal; }
    .tb-buy-page .checkboxes { padding-bottom: 112px; }
    .tb-buy-page .desktop-tickets-selector { padding: 20px 16px; }
}
@media (max-width: 600px) {
    .tb-buy-page .desktop-tickets-selector_item { gap: 16px; padding: 18px 14px; }
    .tb-buy-page .desktop-tickets-selector_info { font-size: 14px; }
    .tb-buy-page .desktop-tickets-selector__Price-sc-qomskd-0 { font-size: 16px; }
    .tb-buy-page .amounter { gap: 6px !important; }
    .tb-buy-page .amounter_value { min-width: 16px; }
    .tb-buy-page .cmsmasters_event_big_date { gap: 4px 12px; }
}
@media (max-width: 360px) {
    .tb-buy-page .desktop-tickets-selector_item { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .tb-buy-page .desktop-tickets-selector_item { transition: none; }
}

/* Reuse the homepage backdrop and tokens without recoloring venue inventory. */
.ticketbest-seat-selection:not([data-theme="dark"]) .tb-buy-page .desktop-layout,
.ticketbest-seat-selection:not([data-theme="dark"]) .tb-buy-page .checkbox-parent,
.ticketbest-seat-selection:not([data-theme="dark"]) .tb-buy-page .checkboxes,
.ticketbest-seat-selection:not([data-theme="dark"]) .tb-buy-page #svg_div { background: transparent !important; }
.tb-buy-page--seats .hall_header .price_root { min-height: 44px; border-radius: 999px; }
.tb-buy-page--seats .hall_header .price_root:hover { background: var(--brand-soft) !important; }
.tb-buy-page--seats .hall_header .price-list { scrollbar-width: thin; }
.tb-buy-page--seats .tb-hall-event .entry-title { white-space: normal; overflow-wrap: anywhere; }
.tb-buy-page--seats #example1 { box-shadow: var(--shadow-sm); }
.tb-buy-page--seats .desktop-layout_footer .delete_ticket { min-width: 36px; min-height: 36px; }
.tb-buy-page--seats .desktop-layout_footer .desktop-hallplan-footer__ticket-list-item { padding-right: 48px; }
.tb-buy-page .seat-preloader { background: var(--surface-primary); }
.tb-buy-page .seat-preloader .preloader-icon span { background: var(--brand-primary); }
.tb-buy-page.tb-ambient { min-height: 100vh; }
.tb-buy-page.tb-ambient::before { position: fixed; }
.tb-buy-page .event-section,
.tb-buy-page .desktop-layout,
.tb-buy-page--quantity .checkbox-parent,
.tb-buy-page--quantity .checkboxes,
.tb-buy-page--quantity #svg_div { background: transparent; }
.tb-buy-page .hall_header { background: var(--surface-elevated); }
.tb-buy-page .hall_header .btn:hover { background: var(--brand-soft); border-color: var(--brand-primary); }
.tb-buy-page .cmsmasters_event_big_week { font-size: 14px; line-height: 1.6; }
.tb-buy-page .desktop-tickets-selector { max-width: 880px; padding-block: clamp(24px, 4vw, 48px); }
.tb-buy-page .desktop-tickets-selector_item { grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; padding: 24px 28px; }
.tb-buy-page .desktop-tickets-selector_item:focus-within { border-color: var(--brand-primary); }
.tb-buy-page .desktop-tickets-selector_caption { line-height: 1.5; overflow-wrap: anywhere; }
.tb-buy-page .desktop-tickets-selector_item-cell__price { white-space: nowrap; font-size: 18px; font-weight: 750; color: var(--text-primary); }
.tb-buy-page .kHCDzl { color: var(--text-primary); }
.tb-buy-page .amounter_button { cursor: pointer; }
.tb-buy-page .amounter_button:not([disabled]):hover { background: var(--brand-soft); border-color: var(--brand-primary); }
.tb-buy-page .amounter_button__increase:not([disabled]):hover { background: var(--brand-primary-hover); color: var(--text-inverse); }
.tb-buy-page .countable-mode-button { min-height: 44px; padding: 10px 20px; margin-bottom: 16px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-elevated); color: var(--text-primary); font: inherit; cursor: pointer; }
.tb-buy-page .countable-mode-button:hover { border-color: var(--brand-primary); background: var(--brand-soft); }
.tb-buy-page .session-confirmation input:not([type=hidden]) { min-height: 44px; font: inherit; }
.tb-buy-page .session-confirmation input[type=checkbox],
.tb-buy-page .session-confirmation input[type=radio] { min-height: auto; accent-color: var(--brand-primary); }
.tb-buy-page .desktop-hallplan-foooter_button :disabled,
.tb-buy-page .mobile__Footer .bQgTwa:disabled { opacity: .5; cursor: not-allowed; }
.tb-buy-page .desktop-layout_footer .desktop-hallplan-foooter { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
@media (max-width: 600px) {
    .tb-buy-page--seats .hall_header .price_root.hide_mobile { display: inline-flex !important; min-height: 44px; height: auto; }
    .tb-buy-page--seats .hall_header .badge_wrapper { gap: 8px; }
    .tb-buy-page--seats .tb-hall-event .entry-title { font-size: 16px; }
    .tb-buy-page--seats .tb-hall-venue { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
    .tb-buy-page--seats .cmsmasters_event_big_date_ovh { grid-row: 3; }
    .tb-buy-page--seats .event_date_info { display: block; }
    .tb-buy-page .desktop-tickets-selector_item { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 20px 16px; }
    .tb-buy-page .desktop-tickets-selector_item-cell__info { grid-column: 1; grid-row: 1; }
    .tb-buy-page .desktop-tickets-selector_item-cell__price { grid-column: 1; grid-row: 2; font-size: 16px; }
    .tb-buy-page .desktop-tickets-selector_item-cell__controls { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 360px) {
    .tb-buy-page .desktop-tickets-selector_item { gap: 12px; }
    .tb-buy-page .desktop-tickets-selector_item-cell__controls { grid-column: 1; grid-row: 3; justify-self: start; }
}
@media print {
    .tb-buy-page.tb-ambient { background: var(--surface-primary); }
}
