/* Seat selection of the pre-sale page. Generated by tools/build_selection_page.py. */
.seat-notice--fixture { border-color: #ffb48a; background: rgba(255, 180, 138, .16); }
.seat-notice[hidden] { display: none; }
.mini-summary { min-height: 1.6em; margin: 10px 0 0; color: var(--text-strong); }
.limit-note { margin: 0 0 14px; color: #ffd0b0; font-weight: 700; }
.limit-note:empty, .limit-error:empty { display: none; }
.limit-error { margin: 6px 0 0; color: #ffd0b0; font-weight: 700; }
.selection-form fieldset { margin: 0 0 16px; padding: 10px 12px 12px; border: 1px solid var(--edge-soft); border-radius: 12px; background: var(--panel); min-width: 0; }
.selection-form fieldset.standing-box { border-color: var(--gold-2); }
.selection-form fieldset.zone-block { margin: 8px 0 0; background: transparent; }
.selection-form fieldset.block { margin: 12px 0 0; padding-top: 6px; border-style: dashed; background: transparent; }
.selection-form fieldset.group { margin: 8px 0 0; padding: 4px 8px 8px; border: 0; border-top: 1px solid var(--edge-soft); border-radius: 0; background: transparent; }
.selection-form legend { padding: 0 8px; font-weight: 700; color: var(--gold-1); }
.selection-form fieldset.standing-box > legend, .selection-form fieldset.sector > legend { font-size: 1.1rem; }
.selection-form fieldset.block > legend { font-size: 1rem; font-weight: 600; color: var(--text-strong); }
.selection-form fieldset.group > legend, .selection-form fieldset.zone-block > legend { font-size: .92rem; font-weight: 600; color: var(--text); }
.seat-list { margin: 0 0 18px; }
.seat-list > summary { cursor: pointer; padding: 10px 14px; border: 1px solid var(--gold-2); border-radius: 10px; background: var(--panel); font-weight: 700; color: var(--gold-1); }
.seat-list[open] > summary { margin-bottom: 14px; }
.seat-list > summary:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 3px; }
.sector-state, .soldout-state { margin-left: .4em; color: #ffd0b0; font-weight: 700; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 4px 10px; }
.choices--zone { display: block; margin-top: 6px; }
.choice { min-width: 0; }
.seat-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 32px; padding: 2px 4px; cursor: pointer; border-radius: 6px; }
.seat-choice:hover { background: rgba(255, 255, 255, .06); }
.choice input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 0; }
.unit-state, .pending-text { color: #ffd0b0; font-size: .9rem; font-weight: 600; }
.unit-state:empty { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.zone-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.zone-choice input[type="number"] { width: 5.5em; padding: 6px 8px; font: inherit; color: #1c2233; background: #fff; border: 2px solid #1c2233; border-radius: 6px; }
.zone-choice input[type="number"]:disabled { color: #4a5062; background: #e9e6dc; }
.hint { color: var(--muted); font-size: .9rem; }
.summary[hidden] { display: none; }
.status p { margin: 0; }
.status #status-text { font-weight: 700; color: var(--text-strong); }
.legend-state { color: #ffd0b0; font-weight: 700; }
.legend-item.is-soldout { border-color: #ffb48a; }
/* map: state markers are hidden until the script sets a class; they are shapes, so they work without colour */
.seatmap--select .selected-ring, .seatmap--select .mark-selected, .seatmap--select .mark-sold, .seatmap--select .zone-mark { display: none; }
.seatmap--select g.seat.is-selected .selected-ring, .seatmap--select g.seat.is-selected .mark-selected { display: inline; }
.seatmap--select g.seat.is-sold .mark-sold { display: inline; }
.seatmap--select g.zone.is-soldout .zone-mark--soldout, .seatmap--select g.zone.is-unavailable .zone-mark--unavailable { display: inline; }
.seatmap--select g.seat.is-selectable { cursor: pointer; }
.seatmap--select g.seat.is-blocked { cursor: not-allowed; }
.seatmap .zone-state-text { font-family: var(--font-text); font-weight: 700; }
/* P1/026: the bubble of the standing zones F and G (the script adds it; fixed to the viewport, so it never shifts the layout). Site tokens only: --bg, --text, --gold-1, --gold-2 (the hint is gold-1 on --bg, about 15:1) */
.seatmap--select g.zone[tabindex] { cursor: help; }
.seatmap--select g.zone[tabindex]:focus { outline: none; }
.seatmap--select g.zone[tabindex]:focus-visible .zone-shape { stroke-width: 5; }
.seatmap--select g.zone[tabindex]:focus-visible { outline: 3px solid var(--gold-3, #b8791f); outline-offset: 2px; }
.zone-tip { position: fixed; z-index: 30; box-sizing: border-box; max-width: min(20rem, calc(100vw - 16px)); margin: 0; padding: 10px 12px; border: 1px solid var(--gold-2, #e0a84a); border-radius: 10px; background: var(--bg, #050a18); color: var(--text, #ece7db); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); font-family: var(--font-text); font-size: .9375rem; line-height: 1.4; pointer-events: none; }
.zone-tip[hidden] { display: none; }
.zone-tip p { margin: 0; }
.zone-tip__hint { margin-top: 6px; font-weight: 700; color: var(--gold-1, #f8dc96); }
@media (forced-colors: active) { .zone-tip { border-color: CanvasText; background: Canvas; color: CanvasText; } .zone-tip__hint { color: CanvasText; } }
@media (max-width: 480px) { .seat-choice { min-height: 44px; } .choices { grid-template-columns: repeat(auto-fill, minmax(6.3rem, 1fr)); gap: 2px 6px; } .selection-form fieldset { padding-left: 8px; padding-right: 8px; } .selection-form fieldset.group { padding-left: 2px; padding-right: 2px; } .choice input[type="checkbox"] { width: 28px; height: 28px; } }
/* ---------- the redesign of the ticket page (decision D-088): thin headings, a compact legend above a smaller map, a stepper of three cards ---------- */
:root { --font-light: var(--font-text); --fs-label: 1.0625rem; --fw-label: 400; --fs-hint: .9rem; --lh-hint: 1.6; --fs-performers: clamp(1.125rem, 3.84vw, 1.275rem); --fs-legend: .875rem; --fs-legend-meta: .8125rem; }     /* one family (the site text face) and one type scale for the map section (decision D-090) */
.seat-section > .wrap { width: min(808px, 100% - 32px); }
/* the headings and the notes of the map section share one style each (decision D-091): "Plán sezení" (h2) and "Legenda" (h3), and the two notes under them */
.seat-section h2.map-title, .seat-section .map-legend > h3 { margin: 0 0 8px; font-family: var(--font-light); font-weight: 300; letter-spacing: .02em; color: var(--gold-1); }
.seat-section .map-title { font-size: calc(var(--fs-hint) * 1.25); line-height: 1.3; }                          /* decisions D-092 and D-094: the heading is 1.25 times the note, which has the size of the hint above the standing places */
.seat-section .map-note { margin: 0 0 10px; font-family: var(--font-text); font-size: var(--fs-hint); line-height: var(--lh-hint); color: var(--muted); }     /* decision D-094: the same size and line height as the hint above the standing places */
.map-legend { margin-top: 16px; }
.seat-section h2.legal-links__title { margin: 0 0 6px; font-family: var(--font-text); font-weight: 600; font-size: .9375rem; letter-spacing: .1em; line-height: 1.4; color: var(--text); }     /* the small heading of the legal block keeps its own look */
/* the legend: smaller type, tighter spacing, two columns from 480 px and three from 640 px (decision D-093; four columns were measured taller, the entries wrap to four lines) */
.seat-section .legend { gap: 4px 8px; grid-template-columns: minmax(0, 1fr); margin-bottom: 12px; }
@media (min-width: 480px) { .seat-section .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .seat-section .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.seat-section .legend-item { grid-template-columns: 30px 1.4em minmax(0, 1fr); gap: 2px 8px; padding: 4px 9px; border-radius: 8px; font-family: var(--font-text); font-size: var(--fs-legend); line-height: 1.3; }
.seat-section .swatch { width: 30px; height: auto; }
.seat-section .legend-code { font-family: var(--font-text); font-weight: 700; font-size: var(--fs-legend); }
.seat-section .legend-meta { font-size: var(--fs-legend-meta); }
/* the space above the map (decision D-093): the header and the first section are closer, the blocks keep a clear gap */
.page-head { padding: clamp(20px, 3.5vw, 36px) 0 0; }
.page-head + .seat-section { padding-top: clamp(14px, 1.8vw, 20px); }
/* the heading of the pre-sale page (decision D-090): the concert name (h1, the largest, capitals from page-title), the date and place (medium, letter-spaced, capitals), the times (P1/022b: smaller, capitals), the performers (smaller, lighter) */
.page-when { margin: 0 auto 6px; max-width: 46rem; font-family: var(--font-text); font-weight: 600; font-size: clamp(1rem, 3.6vw, 1.25rem); letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; color: var(--gold-1); text-wrap: balance; }
.page-times { margin: 0 auto 6px; max-width: 46rem; font-family: var(--font-text); font-weight: 600; font-size: clamp(.9rem, 3.2vw, 1.05rem); letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--gold-2); text-wrap: balance; }
.page-performers { margin: 0 auto; max-width: 46rem; font-family: var(--font-text); font-weight: 400; font-size: var(--fs-performers); line-height: 1.45; color: var(--muted); text-wrap: balance; }
/* the map: at most its natural size (the labels keep their 12 and 14 px), centred; a narrow screen scrolls sideways */
.seatmap-scroll { max-width: 808px; margin-inline: auto; }
.seatmap { max-width: 780px; }
/* the stepper: a thin line connects the numbered cards */
.stepper { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 14px; padding-bottom: 18px; counter-increment: step; }
.step::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--gold-2); border-radius: 50%; background: var(--bg); font-family: var(--font-light); font-weight: 300; font-size: 1.05rem; color: var(--gold-1); }
.step::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 4px; width: 1px; background: var(--edge); }
.step:last-child { padding-bottom: 12px; }
.step:last-child::after { display: none; }
.step__card { grid-column: 2; grid-row: 1 / span 2; min-width: 0; padding: 18px 20px 20px; border: 1px solid var(--edge-soft); border-radius: 16px; background: var(--panel); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.step__title, .seat-section h2.step__title { scroll-margin-top: 16px; margin: 4px 0 12px; font-family: var(--font-light); font-weight: 300; font-size: 1.4rem; letter-spacing: normal; line-height: 1.2; color: var(--gold-1); }     /* the h3 of the steps and the h2 "Objednávka" (decision D-095); the second selector beats the generic section h2 rule of the map stylesheet */
.step__card .seat-hint { margin-bottom: 10px; font-size: var(--fs-hint); line-height: var(--lh-hint); }
.step__card fieldset.standing-box { margin-bottom: 14px; border-color: var(--edge); background: rgba(255, 255, 255, .03); }
.step__card .seat-note { margin: 10px 0 0; }
.step__card .summary { padding: 0; border: 0; background: none; }
.step-note { margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
/* the summary rows and the total (the most prominent figure of the page) */
.order-rows { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--edge-soft); }
.order-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--edge-soft); }
.order-row__name { min-width: 0; overflow-wrap: anywhere; }
.order-row__amount { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.order-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin: 14px 0 2px; }
.order-total__label { font-family: var(--font-light); font-weight: 300; font-size: 1.25rem; color: var(--text); }
.order-total__amount { font-size: clamp(1.9rem, 7vw, 2.4rem); font-weight: 600; line-height: 1.1; color: var(--gold-1); white-space: nowrap; }
.order-count { margin: 0; font-size: .85rem; color: var(--muted); }
.hold-area { margin-top: 16px; }
.hold-area #api-result { margin-bottom: 8px; }
.step-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-continue { min-height: 48px; padding: 10px 26px; border: 1px solid var(--gold-2); border-radius: 999px; font: inherit; font-weight: 700; letter-spacing: .04em; color: #1a1204; background: var(--gold-2); cursor: pointer; }
.btn-continue:disabled { color: var(--muted); background: rgba(255, 255, 255, .05); border-color: var(--edge-soft); cursor: not-allowed; }
.btn-secondary { min-height: 48px; padding: 10px 22px; border: 1px solid var(--edge); border-radius: 999px; font: inherit; font-weight: 600; color: var(--text-strong); background: rgba(255, 255, 255, .06); cursor: pointer; }
.seat-list { margin: 10px 0 0; }
/* decision D-095: the label of the standing places ("Stání pod kůrem – počet vstupenek") and the summary line under the map share one text style (family, size, weight) */
.zone-choice label, .mini-summary { font-family: var(--font-text); font-size: var(--fs-label); font-weight: var(--fw-label); }
.step__card .zone-choice input[type="number"] { width: 6em; min-height: 44px; padding: 8px 10px; color: var(--text-strong); background: rgba(255, 255, 255, .07); border: 1px solid var(--edge); border-radius: 10px; }
.step__card .zone-choice input[type="number"]:disabled { color: var(--muted); background: rgba(255, 255, 255, .03); border-color: var(--edge-soft); }
/* the fields: visible labels, 44 px controls, one column on a phone and two from 640 px */
.selection-form fieldset.step-fields { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; min-width: 0; }
.selection-form fieldset.consent { padding: 10px 14px; border: 1px solid var(--edge-soft); border-radius: 12px; background: var(--panel); }
.field-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-bottom: 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { display: block; margin: 0 0 6px; font-size: .92rem; color: var(--text); }
.field input { display: block; width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; color: var(--text-strong); background: rgba(255, 255, 255, .07); border: 1px solid var(--edge); border-radius: 10px; }
.field input[aria-invalid="true"] { border-color: #ffb48a; }
.field input:disabled { color: var(--muted); background: rgba(255, 255, 255, .03); border-color: var(--edge-soft); }
.field-error { margin: 6px 0 0; font-size: .9rem; font-weight: 600; color: #ffd0b0; }
.field-error:empty { display: none; }
.req { color: var(--gold-2); }
.step-fields:disabled label, .step-fields:disabled .pay-card__note { color: var(--muted); }
/* the payment methods: two radio cards */
.pay-options { display: grid; gap: 10px; }
.pay-card { display: grid; grid-template-columns: 24px 34px minmax(0, 1fr); align-items: center; gap: 4px 12px; min-height: 64px; padding: 12px 14px; border: 1px solid var(--edge-soft); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.pay-card[hidden] { display: none; }
.pay-cards-note { margin: 12px 0 0; padding: 10px 14px; border: 1px solid var(--edge-soft); border-radius: 10px; font-size: .95rem; font-weight: 600; color: var(--text-strong); background: rgba(224, 168, 74, .08); }
.pay-card:has(input:checked) { border-color: var(--gold-2); background: rgba(224, 168, 74, .1); }
.pay-card input { width: 22px; height: 22px; margin: 0; accent-color: var(--gold-2); }
.pay-card__icon { display: flex; align-items: center; justify-content: center; color: var(--gold-1); }
.pay-card__svg { display: block; }
.pay-card__text { display: grid; gap: 2px; min-width: 0; }
.pay-card__title { font-weight: 600; color: var(--text-strong); }
.pay-card__note { font-size: .88rem; color: var(--muted); }
.step-fields:disabled .pay-card { cursor: not-allowed; }
/* below the steps: the consent and the order button (its label states the payment obligation) */
.checkout-final { display: grid; gap: 14px; margin: 6px 0 0 50px; }
.consent-box { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 12px; align-items: start; min-height: 44px; font-size: .95rem; }
.filming-notice { margin: 0; font-weight: 600; color: var(--text-strong); }
.consent-box input { width: 24px; height: 24px; margin: 0; accent-color: var(--gold-2); }
.order-button { display: block; text-wrap: balance; width: 100%; min-height: 56px; padding: 12px 22px; border: 1px solid var(--edge); border-radius: 14px; font: inherit; font-size: 1.05rem; font-weight: 600; text-align: center; color: #e9ecf6; background: #2b3150; cursor: not-allowed; }
/* P9b/021: the checkout preview (/vstupenky/?nahled=1): a banner that stays on top of every step and the payment methods text of step 3 */
.preview-banner { position: sticky; top: 0; z-index: 20; padding: 10px 16px; text-align: center; color: #1a1204; background: var(--gold-2); border-bottom: 1px solid var(--gold-1); }
.preview-banner[hidden], .pay-methods[hidden] { display: none; }
.preview-banner p { margin: 0 auto; max-width: 46rem; font-family: var(--font-text); font-size: 1rem; font-weight: 700; line-height: 1.4; text-wrap: balance; }
.pay-methods { margin: 14px 0 0; font-size: .95rem; line-height: 1.5; color: var(--text); }
.sales-note { margin: -6px 0 0; font-size: .9rem; line-height: 1.45; text-align: center; color: var(--muted); overflow-wrap: anywhere; }
.order-note { display: inline-block; font-size: .85rem; font-weight: 400; color: #c9cee0; }
.order-button:not(:disabled) { cursor: pointer; color: #1a1204; background: var(--gold-2); border-color: var(--gold-2); }
.order-button:not(:disabled) .order-note { color: #3b2a06; }
.order-button:not(:disabled):focus-visible { outline: 3px solid var(--gold-1); outline-offset: 3px; }
@media (max-width: 480px) {
  .step { grid-template-columns: 28px minmax(0, 1fr); gap: 0 10px; }
  .step::before { width: 28px; height: 28px; font-size: .95rem; }
  .step::after { left: 13px; top: 34px; }
  .step__card { padding: 14px 12px 16px; }
  .checkout-final { margin-left: 38px; }
  .pay-card { grid-template-columns: 22px 30px minmax(0, 1fr); gap: 4px 8px; padding: 10px; }
}
@media (forced-colors: active) {
  .zone-choice input[type="number"], .order-button, .btn-continue, .field input { forced-color-adjust: auto; }
  .step::before, .step__card, .pay-card { border: 1px solid CanvasText; }
  .pay-card:has(input:checked) { border: 2px solid Highlight; }
  .step::after { background: CanvasText; }
}
