/* Geist Sans (variable) */
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist[wght]-fb4abd16.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* First-party analytics consent — short, scannable floating bar */
.analytics-consent {
  align-items: center;
  background: var(--color-surface-0);
  border: 1px solid var(--color-subtle);
  border-radius: 1rem;
  bottom: 1rem;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 0.28);
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  left: 50%;
  max-width: 40rem;
  padding: 0.875rem 1rem;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  z-index: 100;

  &[hidden] {
    display: none;
  }
}

.analytics-consent__copy {
  flex: 1 1 auto;
  min-width: 0;

  h2 {
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0 0 0.2rem;
  }
}

.analytics-consent__body {
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin: 0;
  max-width: 28rem;
}

.analytics-consent__link {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  white-space: nowrap;

  &:hover {
    color: var(--color-accent);
  }
}

.analytics-consent__actions {
  display: flex;
  flex: none;
  gap: 0.5rem;
}

.analytics-consent-button {
  appearance: none;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
  padding: 0.65rem 0.95rem;
  transition: filter 120ms ease, transform 120ms ease;
  white-space: nowrap;

  &:hover {
    filter: brightness(1.12);
  }

  &:active {
    transform: scale(0.98);
  }

  &:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
    outline-offset: 3px;
  }
}

.analytics-consent-button--secondary {
  background: transparent;
  border-color: var(--color-subtle);
  color: var(--color-text);
}

.analytics-preference-status {
  align-items: center;
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  border: 1px solid var(--color-subtle);
  border-radius: 0.875rem;
  display: flex;
  gap: 0.875rem;
  padding: 1rem;
}

.analytics-preference-status__dot {
  background: var(--color-muted);
  border-radius: 999px;
  box-shadow: 0 0 0 0.3rem color-mix(in srgb, currentColor 15%, transparent);
  height: 0.65rem;
  width: 0.65rem;
}

.analytics-preference-status__dot--granted { background: #22c55e; }
.analytics-preference-status__dot--denied { background: #f59e0b; }

@media (max-width: 40rem) {
  .analytics-consent {
    align-items: stretch;
    bottom: 0.75rem;
    flex-direction: column;
    gap: 0.75rem;
    left: 50%;
    margin: 0;
    max-width: calc(100% - 1.5rem);
    position: fixed;
    transform: translateX(-50%);
  }

  .analytics-consent__body {
    max-width: none;
  }

  .analytics-consent__actions {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr;

    form,
    .analytics-consent-button {
      width: 100%;
    }
  }
}
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist-Italic[wght]-f70e2899.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
/* Geist Mono (variable) */
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/GeistMono-9c5c6ab0.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.gsans { font-family: "Geist", sans-serif; }
.gmono { font-family: "Geist Mono", monospace; }

/* Theme tokens */
:root {
  --color-text: oklch(0 0 0);
  --color-muted: oklch(0.4 0 0);
  --color-subtle: oklch(0.88 0 0);
  --color-surface-0: oklch(1 0 0);
  --color-surface-1: oklch(0.94 0 0);
  --color-surface-2: oklch(0.98 0 0);
  --color-surface-3: oklch(0.99 0 0);
  --color-accent: oklch(0.5941 0.2343 253.06);
  --color-green: oklch(0.7 0.15 150);
  --color-amber: oklch(0.75 0.15 80);
  --color-red: oklch(0.65 0.15 25);

  /* Canonical Lexxy content follows the account shop theme. */
  --lexxy-color-ink: var(--color-text);
  --lexxy-color-ink-medium: var(--color-muted);
  --lexxy-color-ink-light: var(--color-muted);
  --lexxy-color-ink-lighter: var(--color-subtle);
  --lexxy-color-ink-lightest: var(--color-surface-2);
  --lexxy-color-link: var(--color-accent);
  --lexxy-font-base: "Geist", sans-serif;
  --lexxy-font-mono: "Geist Mono", monospace;
  --lexxy-radius: .5rem;
}

[data-theme="dark"] {
  --color-text: oklch(0.95 0 0);
  --color-muted: oklch(0.6 0 0);
  --color-subtle: oklch(0.30 0 0);
  --color-surface-0:  oklch(0.07 0 0);
  --color-surface-1: oklch(0.15 0 0);
  --color-surface-2: oklch(0.20 0 0);
  --color-surface-3: oklch(0.25 0 0);
  --color-green: oklch(0.75 0.15 150);
  --color-amber: oklch(0.8 0.15 80);
  --color-red: oklch(0.7 0.15 25);
}

/* Token utility classes */
.accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.b--accent { border-color: var(--color-accent); }
.hover-accent:hover,
.hover-accent:focus-visible { color: var(--color-accent); }
.hover-bg-accent:hover,
.hover-bg-accent:focus-visible { background-color: var(--color-accent); }

.text { color: var(--color-text); }
.bg-text { background-color: var(--color-text); }
.b--text { border-color: var(--color-text); }
.hover-text:hover,
.hover-text:focus-visible { color: var(--color-text); }
.hover-bg-text:hover,
.hover-bg-text:focus-visible { background-color: var(--color-text); }

.muted { color: var(--color-muted); }
.bg-muted { background-color: var(--color-muted); }
.b--muted { border-color: var(--color-muted); }
.hover-muted:hover,
.hover-muted:focus-visible { color: var(--color-muted); }
.hover-bg-muted:hover,
.hover-bg-muted:focus-visible { background-color: var(--color-muted); }

.subtle { color: var(--color-subtle); }
.bg-subtle { background-color: var(--color-subtle); }
.b--subtle { border-color: var(--color-subtle); }
.hover-subtle:hover,
.hover-subtle:focus-visible { color: var(--color-subtle); }
.hover-bg-subtle:hover,
.hover-bg-subtle:focus-visible { background-color: var(--color-subtle); }

.surface-0 { color: var(--color-surface-0); }
.bg-surface-0 { background-color: var(--color-surface-0); }
.b--surface-0 { border-color: var(--color-surface-0); }
.hover-surface-0:hover,
.hover-surface-0:focus-visible { color: var(--color-surface-0); }
.hover-bg-surface-0:hover,
.hover-bg-surface-0:focus-visible { background-color: var(--color-surface-0); }

.surface-1 { color: var(--color-surface-1); }
.bg-surface-1 { background-color: var(--color-surface-1); }
.b--surface-1 { border-color: var(--color-surface-1); }
.hover-surface-1:hover,
.hover-surface-1:focus-visible { color: var(--color-surface-1); }
.hover-bg-surface-1:hover,
.hover-bg-surface-1:focus-visible { background-color: var(--color-surface-1); }

.surface-2 { color: var(--color-surface-2); }
.bg-surface-2 { background-color: var(--color-surface-2); }
.b--surface-2 { border-color: var(--color-surface-2); }
.hover-surface-2:hover,
.hover-surface-2:focus-visible { color: var(--color-surface-2); }
.hover-bg-surface-2:hover,
.hover-bg-surface-2:focus-visible { background-color: var(--color-surface-2); }

.surface-3 { color: var(--color-surface-3); }
.bg-surface-3 { background-color: var(--color-surface-3); }
.b--surface-3 { border-color: var(--color-surface-3); }
.hover-surface-3:hover,
.hover-surface-3:focus-visible { color: var(--color-surface-3); }
.hover-bg-surface-3:hover,
.hover-bg-surface-3:focus-visible { background-color: var(--color-surface-3); }

.green { color: var(--color-green); }
.amber { color: var(--color-amber); }
.red { color: var(--color-red); }

/* Pointer-events utility (Tachyons doesn't include one) */
.pe-none { pointer-events: none; }

/* Word-break utilities (Tachyons doesn't include hyphens, and its h1-h6
   overflow-wrap: break-word is bypassed by `text-wrap: balance` because
   `break-word` doesn't contribute to min-content sizing — `anywhere` does). */
.hyphens-auto { hyphens: auto; overflow-wrap: anywhere; }

/* Hidden override — Tachyons !important display classes beat [hidden] */
[hidden] { display: none !important; }

/* Hero blurred-image fallback (when no dedicated background_image) */
.hero-bg-blur { filter: blur(40px); transform: scale(1.15);}

/* Accent-color gradient (used as fallback when no cover/background image) */
.accent-gradient {
  background:
    radial-gradient(ellipse at 20% 20%, oklch(from var(--color-accent) calc(l + 0.15) calc(c * 0.7) h) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, oklch(from var(--color-accent) calc(l - 0.25) c calc(h + 20)) 0%, transparent 60%),
    var(--color-accent);
}
/* Flash toast — everything else via tachyons; this is just horizontal centering + animation */
.shop-toast {
  left: 50%;
  transform: translateX(-50%);
  animation: shop-toast-in-out 4s 200ms both;
}
.shop-toast:is(:hover, :focus-within) { animation-play-state: paused; }

@keyframes shop-toast-in-out {
  0%       { opacity: 0; transform: translate(-50%, -0.5rem); }
  5%, 75%  { opacity: 1; transform: translate(-50%, 0); }
  100%     { opacity: 0; transform: translate(-50%, -0.5rem); }
}

/* Checkout bar */
.checkout-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.22, 1.2, 0.36, 1);
}
.checkout-bar--visible { transform: translateY(0); }

/* PayPal SDK injects an iframe; strip the browser-default 2px iframe border
   and round the iframe to match the pill button inside it. */
[data-paypal-target="container"] iframe {
  border: 0;
  border-radius: 9999px;
}

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* Tabular nums */
/*.tabular-nums { font-variant-numeric: tabular-nums; }*/

/* Forms */
.input,
.input select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-3);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input::placeholder { color: var(--color-muted); }
.input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}
.input:disabled { opacity: 0.5; cursor: not-allowed; }

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.checkbox input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: var(--color-surface-3);
  cursor: pointer;
  transition: background 200ms ease;
}
.checkbox input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-muted);
  transition: transform 200ms cubic-bezier(0.22, 1.2, 0.36, 1), background 200ms ease;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--color-accent);
}
.checkbox input[type="checkbox"]:checked::after {
  transform: translateX(1.125rem);
  background: white;
}
.checkbox input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}

.seat-choice:checked + .seat-choice-label {
  color: var(--color-surface-0);
  background: var(--color-accent);
}

.seat-choice:focus-visible + .seat-choice-label {
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.2);
}

/* Image hover transition */
.transition-img {
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

a {
  color: var(--color-text);
  opacity: 1;
  transition: color .15s ease-in, opacity .15s ease-in;
  &:hover, &:focus {
    opacity: .5;
  }
  &:active {
    opacity: .8;
  }
}

/* Monochrome SVG icons from simpleicons.org render as black paths.
   Invert them in dark mode so they're visible on the dark background. */
[data-theme="dark"] .payment-icon {
  filter: invert(1);
}

/* Popover anchored via CSS anchor positioning.
   Native Popover API → ESC + light-dismiss for free.
   anchor() returns viewport coords and auto-updates on scroll,
   which is correct for top-layer elements. */
.shop-popover-anchor {
  display: inline-block;
  anchor-name: --shop-popover-anchor;
}

.shop-popover {
  background-color: var(--color-surface-0);
  color: var(--color-text);
  border: 1px solid var(--color-surface-1);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px oklch(0 0 0 / 0.25);
  padding: 0.25rem;
  min-inline-size: 12rem;

  transition-behavior: allow-discrete;
  transition-duration: 150ms;
  transition-property: display, overlay, opacity, transform;

  opacity: 0;
  transform: scale(0.96);
  transform-origin: top left;

  &:popover-open {
    opacity: 1;
    transform: scale(1);
  }

  @starting-style {
    &:popover-open {
      opacity: 0;
      transform: scale(0.96);
    }
  }
}

@supports (anchor-name: --x) {
  .shop-popover {
    position-anchor: --shop-popover-anchor;
    inset: auto;
    top: calc(anchor(bottom) + 0.5rem);
    left: anchor(left);
    margin: 0;
  }
}

.shop-popover__item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;

  &:hover,
  &:focus-visible {
    background-color: var(--color-surface-1);
    opacity: 1;
  }
}

.shop-event-card {
  opacity: 1;
  transition: opacity 150ms ease;
}

.shop-event-card:focus-visible { opacity: 0.5; }

@media (hover: hover) and (pointer: fine) {
  .shop-event-card:hover { opacity: 0.5; }
}

/* Customer seat selection */
.seat-selection-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 1rem 3rem;
}

.seat-selection-seat-flow { display: contents; }

.seat-selection-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seat-selection-header__back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
}

.seat-selection-header__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.seat-selection-header__title h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.seat-selection-header__title p:last-child {
  max-width: 44rem;
  margin-top: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.seat-selection-header__ticket-price {
  display: flex;
  flex-direction: column;
  align-items: end;
  flex: 0 0 auto;
  gap: 0.35rem;
  text-align: right;
}

.seat-selection-header__ticket-price > strong {
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seat-selection-tickets {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.seat-selection-ticket-picker { display: none; }
.seat-selection-ticket-picker > summary,
.seat-selection-ticket-current { display: none; }

.seat-selection-tickets__ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.15rem 1rem;
  min-width: 11rem;
  padding: 0.85rem 1rem;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid transparent;
  border-radius: 0.9rem;
  text-decoration: none;
}

.seat-selection-tickets__ticket:hover,
.seat-selection-tickets__ticket:focus-visible {
  opacity: 1;
  border-color: var(--color-accent);
}

.seat-selection-tickets__ticket.is-active {
  background: oklch(from var(--color-accent) l c h / 0.12);
  border-color: var(--color-accent);
}

.seat-selection-tickets__ticket span {
  overflow: hidden;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seat-selection-tickets__ticket small {
  color: var(--color-muted);
  line-height: 1.2;
}

.seat-selection-tickets__ticket > strong {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  color: white;
  background: var(--color-accent);
  border-radius: 999px;
  font-size: 0.75rem;
}

.seat-selection-categories,
.seat-selection-tariffs > div:last-child {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.seat-selection-categories__filter,
.seat-selection-tariffs__option {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  color: var(--color-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-subtle);
  border-radius: 0.8rem;
  font: inherit;
  cursor: pointer;
}

.has-seat-category {
  /* WCAG 1.4.11: keep fills in a mid range so category color stays
     distinguishable from the map on both shop themes. */
  --seat-fill: oklch(from var(--seat-category-color) clamp(0.52, l, 0.62) c h);
  --seat-ink: #141414;
}

[data-theme="dark"] .has-seat-category {
  --seat-fill: oklch(from var(--seat-category-color) clamp(0.64, l, 0.76) c h);
}

.seat-selection-categories__filter i {
  width: 0.9rem;
  height: 0.9rem;
  background: var(--seat-fill, var(--color-muted));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--seat-fill) 40%, transparent);
  border-radius: 999px;
}

.seat-selection-categories__filter span,
.seat-selection-tariffs__option span { font-weight: 750; }

.seat-selection-categories__filter small,
.seat-selection-tariffs__option small { color: var(--color-muted); }

.seat-selection-categories__filter.is-active,
.seat-selection-tariffs__option.is-active {
  color: var(--color-text);
  background: oklch(from var(--color-accent) l c h / 0.12);
  border-color: var(--color-accent);
}

.seat-selection-categories__filter.has-seat-category.is-active {
  background: color-mix(in srgb, var(--seat-fill) 32%, var(--color-surface-2));
  border-color: var(--seat-fill);
}

.seat-selection-tariffs {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--color-surface-1);
  border-radius: 1rem;
}

.seat-selection-tariffs > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.seat-selection-tariffs > div:first-child small {
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.seat-selection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: start;
  gap: 1rem;
}

.seatmap-customer-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 1.25rem;
}

.seatmap-customer-map__best { display: none; }

.seatmap-customer-map__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--color-surface-1);
}

.seatmap-customer-map__floor-select {
  max-width: min(15rem, 50vw);
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  color: var(--color-text);
  background: var(--color-surface-1);
  border: 1px solid var(--color-subtle);
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
}

.seatmap-customer-map__zoom {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-inline-start: auto;
}

.seatmap-customer-map__zoom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.65rem;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.seatmap-customer-map__zoom button:hover,
.seatmap-customer-map__zoom button:focus-visible {
  color: var(--color-text);
  background: var(--color-surface-1);
  outline: none;
}

.seatmap-customer-map__zoom button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.seatmap-customer-map__zoom-level {
  min-width: 3.5rem;
  font-family: "Geist Mono", monospace !important;
  font-variant-numeric: tabular-nums;
}

.seatmap-customer-map__zoom-step {
  width: 2.25rem;
  padding: 0 !important;
  flex: 0 0 2.25rem;
}

.seatmap-customer-map__zoom-step .ph {
  font-size: 1rem;
  line-height: 1;
}

.seatmap-customer-map__overview {
  padding-inline: 0.8rem !important;
}

.seatmap-customer-map__viewport {
  max-height: min(70vh, 48rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  background:
    radial-gradient(circle at center, oklch(from var(--color-accent) l c h / 0.08), transparent 65%),
    var(--color-surface-1);
  cursor: grab;
  user-select: none;
}

.seatmap-customer-map__viewport.is-panning {
  cursor: grabbing;
  scroll-behavior: auto;
}

.seatmap-customer-map__viewport.is-pinching {
  scroll-behavior: auto;
}

.seatmap-customer-map__viewport.is-pinching .seatmap-customer-map__stage {
  will-change: transform;
}

.seatmap-customer-map__floor {
  min-width: 100%;
  min-height: 100%;
}

.seatmap-customer-map__viewport.is-overview .seatmap-customer-map__floor:not([hidden]) {
  display: grid;
  place-items: center;
}

.seatmap-customer-map__stage {
  position: relative;
  width: var(--seatmap-scaled-width);
  height: var(--seatmap-scaled-height);
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem oklch(0 0 0 / 0.12);
}

.seatmap-customer-map__plane {
  position: absolute;
  top: var(--seatmap-plane-top, 0);
  left: var(--seatmap-plane-left, 0);
  width: var(--seatmap-natural-width);
  aspect-ratio: var(--seatmap-aspect-ratio);
  overflow: hidden;
  transform: scale(var(--seatmap-scale));
  transform-origin: top left;
  color: var(--color-text);
}

.seatmap-customer-map__room {
  position: absolute;
  inset: 0;
  background: var(--color-surface-0);
}

.seatmap-customer-map__walls {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.seatmap-customer-map__wall {
  fill: none;
  stroke: #111;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 6;
}

[data-theme="dark"] .seatmap-customer-map__wall {
  stroke: oklch(0.86 0 0);
}

.seatmap-customer-map__door-opening {
  fill: none;
  stroke: var(--color-surface-2);
  stroke-linecap: butt;
  stroke-width: 12;
}

.seatmap-customer-map__door-jamb,
.seatmap-customer-map__door-leaf {
  fill: none;
  stroke: #111;
  stroke-linecap: square;
  stroke-width: 3;
}

.seatmap-customer-map__door-arc {
  fill: none;
  opacity: 0.55;
  stroke: #111;
  stroke-dasharray: 5 3;
  stroke-width: 1.5;
}

[data-theme="dark"] .seatmap-customer-map__door-jamb,
[data-theme="dark"] .seatmap-customer-map__door-leaf {
  stroke: oklch(0.86 0 0);
}

[data-theme="dark"] .seatmap-customer-map__door-arc {
  stroke: oklch(0.78 0 0);
}

.seatmap-customer-map__section,
.seatmap-customer-map__table,
.seatmap-customer-map__standing,
.seatmap-customer-map__element {
  position: absolute;
  left: var(--seatmap-x);
  top: var(--seatmap-y);
  width: var(--seatmap-width);
  height: var(--seatmap-height);
  transform: rotate(var(--seatmap-rotation));
  transform-origin: center;
}

.seatmap-customer-map__section {
  z-index: 1;
  padding: 0.65rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-subtle);
  border-radius: 0.8rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="dark"] .seatmap-customer-map__section {
  background: var(--color-surface-3);
  color: var(--color-text);
}

.seatmap-customer-map__row-label {
  position: absolute;
  z-index: 8;
  left: var(--seatmap-x);
  top: var(--seatmap-y);
  min-width: 1.25rem;
  transform: translate(-125%, -50%);
  color: var(--color-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
  text-align: right;
  text-shadow: 0 0 0.25rem var(--color-surface-0);
}

.seatmap-customer-map__seat {
  position: absolute;
  z-index: 6;
  left: var(--seatmap-x);
  top: var(--seatmap-y);
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  /* Circles with upright labels — match editor/preview. Rotating chair-shaped
     chips around tables makes seats look like diamonds with sideways numbers. */
  transform: translate(-50%, -50%);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  font-weight: 800;
}

.seatmap-customer-map__seat--choice {
  color: var(--color-text);
  background: var(--color-surface-0);
  border: 1px solid color-mix(in srgb, var(--color-text) 38%, var(--color-subtle));
  box-shadow: 0 0.2rem 0.5rem oklch(0 0 0 / 0.12);
  cursor: pointer;
}

.seatmap-customer-map__seat--choice:hover {
  border-color: var(--color-accent);
}

.seatmap-customer-map__seat--choice.has-seat-category {
  color: var(--seat-ink);
  background: var(--seat-fill);
  border-color: oklch(from var(--seat-fill) calc(l * 0.72) c h);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--color-text) 28%, transparent),
    0 0.2rem 0.5rem oklch(0 0 0 / 0.18);
}

.seatmap-customer-map__seat--choice.has-seat-category:hover {
  border-color: oklch(from var(--seat-fill) calc(l * 0.55) c h);
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--seat-fill) 45%, transparent),
    0 0.2rem 0.5rem oklch(0 0 0 / 0.18);
}

.seatmap-customer-map__seat--choice.is-category-muted {
  opacity: 0.18;
}

.seatmap-customer-map__seat--choice > span:first-child { visibility: hidden; }

.seatmap-customer-map__input {
  position: absolute;
  top: var(--seatmap-y);
  left: var(--seatmap-x);
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__seat--choice > span:first-child {
  visibility: visible;
}

.seatmap-customer-map__seat--neutral {
  z-index: 4;
  width: 1rem;
  height: 1rem;
  background: var(--color-subtle);
  border-radius: 999px;
  opacity: 0.55;
}

.seatmap-customer-map__input:focus-visible + .seatmap-customer-map__seat,
.seatmap-customer-map__input:focus-visible + .seatmap-customer-map__table {
  outline: 3px solid oklch(from var(--color-accent) l c h / 0.35);
  outline-offset: 3px;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__seat {
  color: white;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.seatmap-customer-map__seat.is-unavailable {
  color: var(--color-muted);
  background: color-mix(in srgb, var(--color-surface-1) 70%, var(--color-subtle));
  border-color: var(--color-subtle);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.75;
}

.seatmap-customer-map__seat.is-unavailable::after {
  position: absolute;
  width: 55%;
  height: 1.5px;
  content: "";
  background: var(--color-muted);
  border-radius: 999px;
  transform: rotate(-45deg);
}

.seatmap-customer-map__seat.is-accessible {
  border-radius: 999px;
}

.seatmap-customer-map__seat.is-companion {
  border-style: dashed;
}

.seatmap-customer-map__seat.is-paired {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 20%, transparent),
    0 0.2rem 0.5rem oklch(0 0 0 / 0.12);
}

.seatmap-customer-map__pair-links {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.seatmap-customer-map__pair-links line {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-dasharray: 6 5;
  vector-effect: non-scaling-stroke;
  opacity: 0.7;
}

.seatmap-customer-map__seat.is-restricted-view {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 4px,
    oklch(from var(--color-accent) l c h / 0.14) 4px 6px
  );
}

.seatmap-customer-map__seat-traits {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  pointer-events: none;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__seat .seatmap-customer-map__seat-traits {
  color: white;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__seat.has-traits > span:first-child {
  position: absolute;
  z-index: 1;
  right: -0.25rem;
  bottom: -0.35rem;
  display: grid;
  place-items: center;
  min-width: 1rem;
  height: 1rem;
  padding-inline: 0.15rem;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-subtle);
  border-radius: 999px;
  font-size: 0.5rem;
  line-height: 1;
}

.seatmap-customer-map__table {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  color: var(--color-muted);
  background: var(--color-surface-1);
  border: 1px solid var(--color-subtle);
  border-radius: var(--seatmap-radius, 0.75rem);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.seatmap-customer-map__table--around {
  border-radius: var(--seatmap-radius, 50%);
}

.seatmap-customer-map__table small {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  font-weight: 600;
}

.seatmap-customer-map__table--choice {
  z-index: 5;
  color: var(--color-text);
  background: var(--color-surface-0);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0.25rem 0.65rem oklch(0 0 0 / 0.12);
  cursor: pointer;
}

.seatmap-customer-map__table--choice.has-seat-category {
  color: var(--seat-ink);
  background: var(--seat-fill);
  border-color: oklch(from var(--seat-fill) calc(l * 0.72) c h);
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__table {
  color: white;
  background: var(--color-accent);
}

.seatmap-customer-map__table.is-unavailable {
  border-color: var(--color-subtle);
  cursor: not-allowed;
  opacity: 0.5;
}

.seatmap-customer-map__standing {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem;
  color: var(--color-muted);
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, oklch(from var(--color-accent) l c h / 0.06) 8px 16px),
    var(--color-surface-1);
  border: 1px dashed var(--color-subtle);
  border-radius: 0.75rem;
  font-size: 0.72rem;
  text-align: center;
}

.seatmap-customer-map__standing--choice {
  color: var(--color-text);
  border-color: var(--color-accent);
  text-decoration: none;
}

.seatmap-customer-map__standing--choice:hover,
.seatmap-customer-map__standing--choice:focus-visible {
  opacity: 1;
  background-color: oklch(from var(--color-accent) l c h / 0.12);
}

.seatmap-customer-map__standing.is-unavailable { opacity: 0.5; }

.seatmap-customer-map__standing i { font-size: 1.25rem; }
.seatmap-customer-map__standing span { font-size: 0.6rem; }

.seatmap-customer-map__element {
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  border: 1px solid var(--color-subtle);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.seatmap-customer-map__element--stage {
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-surface-1));
  border-radius: 0.6rem 0.6rem 50% 50% / 0.6rem 0.6rem 25% 25%;
  box-shadow: 0 0.4rem 1rem oklch(0 0 0 / 0.08);
}

.seatmap-customer-map__element--aisle {
  background: oklch(from var(--color-accent) l c h / 0.045);
  border-style: dashed;
}

.seatmap-customer-map__element--background { z-index: 0; }

.seatmap-customer-map__legend-disclosure > summary { display: none; }
.seatmap-customer-map__legend-disclosure:not([open]) > .seatmap-customer-map__legend-panel {
  display: block;
}

.seatmap-customer-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--color-surface-1);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.seatmap-customer-map__legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.seatmap-customer-map__legend i {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  background: var(--color-surface-0);
  border: 1.5px solid var(--color-accent);
  border-radius: 0.3rem;
  font-style: normal;
}

.seatmap-customer-map__legend i.has-seat-category {
  background: var(--seat-fill);
  border-color: oklch(from var(--seat-fill) calc(l * 0.72) c h);
  border-radius: 999px;
}

.seatmap-customer-map__legend i.is-selected {
  background: var(--color-accent);
}

.seatmap-customer-map__legend i.is-unavailable {
  background: var(--color-surface-1);
  border-color: var(--color-subtle);
  opacity: 0.6;
}

.seatmap-customer-map__legend i.is-accessible {
  border-radius: 999px;
  font-size: 0.7rem;
}

.seatmap-customer-map__legend i.is-companion {
  border-style: dashed;
  font-size: 0.7rem;
}

.seatmap-customer-map__legend i.is-restricted-view {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 3px,
    oklch(from var(--color-accent) l c h / 0.2) 3px 5px
  );
  font-size: 0.7rem;
}

.seatmap-customer-map__companion-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  color: var(--color-muted);
  background: var(--color-surface-1);
  font-size: 0.76rem;
  line-height: 1.45;
}

.seatmap-customer-map__companion-note i {
  margin-top: 0.1rem;
  color: var(--color-accent);
  font-size: 1rem;
}

.seat-selection-sidebar {
  position: sticky;
  top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seat-selection-sidebar__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 1.1rem;
}

.seat-selection-sidebar__counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--color-surface-1);
  border-radius: 0.85rem;
}

.seat-selection-sidebar__counts > div { padding: 0.85rem; }
.seat-selection-sidebar__counts > div + div { border-left: 1px solid var(--color-subtle); }

.seat-selection-sidebar__counts dt {
  color: var(--color-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.seat-selection-sidebar__counts dd {
  margin-top: 0.2rem;
  font-family: "Geist Mono", monospace;
  font-size: 1.4rem;
  font-weight: 850;
}

.seat-selection-assignments {
  overflow: hidden;
  border: 1px solid var(--color-subtle);
  border-radius: 0.8rem;
}

.seat-selection-assignments > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  list-style: none;
}

.seat-selection-assignments > summary::-webkit-details-marker { display: none; }
.seat-selection-assignments > summary::marker { content: ""; }

.seat-selection-assignments > summary > span {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.seat-selection-assignments > summary > strong {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  color: white;
  background: var(--color-accent);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
}

.seat-selection-assignments > summary > i {
  color: var(--color-muted);
  transition: transform 120ms ease;
}

.seat-selection-assignments[open] > summary > i { transform: rotate(180deg); }

.seat-selection-assignments__body {
  padding: 0 0.55rem 0.55rem;
  border-top: 1px solid var(--color-subtle);
}

.seat-selection-assignments__empty {
  padding: 0.7rem 0.15rem 0.15rem;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.seat-selection-assignments ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  max-height: 20rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.55rem 0 0;
  list-style: none;
}

.seat-selection-assignments li {
  display: grid;
  width: 100%;
  gap: 0.55rem;
  padding: 0.65rem;
  background: var(--color-surface-1);
  border-radius: 0.7rem;
}

.seat-selection-assignments li > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.seat-selection-assignments li > span small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seat-selection-assignments li > span strong {
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  line-height: 1.3;
}
.seat-selection-assignments li > span small { color: var(--color-muted); font-size: 0.62rem; }

.seat-selection-assignments li > div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.seat-selection-assignments select {
  width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.4rem 0.55rem;
  flex: 1;
  color: var(--color-text);
  background: var(--color-surface-0);
  border: 1px solid var(--color-subtle);
  border-radius: 0.55rem;
  font: inherit;
  font-size: 0.68rem;
}

.seat-selection-assignments li > div > button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  flex: 0 0 2.25rem;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.seat-selection-assignments li > div > button:hover,
.seat-selection-assignments li > div > button:focus-visible {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.seat-selection-sidebar__hint {
  min-height: 1.2rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.seat-selection-sidebar__best,
.seat-selection-sidebar__continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.seat-selection-sidebar__best {
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-subtle);
}

.seat-selection-sidebar__continue {
  color: white;
  background: var(--color-accent);
  border: 0;
}

.seat-selection-sidebar__continue:disabled {
  cursor: not-allowed;
  filter: saturate(0.4);
  opacity: 0.45;
}

.seat-selection-sidebar__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.inventory-hold-timer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  color: var(--color-text);
  background: oklch(from var(--color-amber) l c h / 0.13);
  border: 1px solid oklch(from var(--color-amber) l c h / 0.3);
  border-radius: 0.75rem;
  font-size: 0.72rem;
}

.inventory-hold-timer strong { margin-left: auto; font-size: 0.86rem; }

.checkout-inventory {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-surface-1);
}

.checkout-inventory__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.72rem;
}

.checkout-inventory__table caption {
  padding: 0 0 0.5rem;
  text-align: left;
}

.checkout-inventory__table caption span {
  display: block;
  color: var(--color-muted);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-inventory__table caption strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
}

.checkout-inventory__table th,
.checkout-inventory__table td {
  padding-inline: 0.5rem;
  overflow-wrap: anywhere;
  text-align: left;
}

.checkout-inventory__table thead th {
  padding-block: 0.35rem;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-subtle);
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-inventory__table tbody td {
  padding-block: 0.4rem;
  font-weight: 650;
}

.checkout-inventory__table tbody tr + tr td {
  border-top: 1px solid var(--color-surface-1);
}

.seat-selection-standing-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.seat-selection-standing-list__ticket {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.seat-selection-standing-list__ticket > h3 { margin: 0; font-size: 0.9rem; }

.seat-selection-standing-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 1rem;
  scroll-margin-top: 5rem;
}

.seat-selection-standing-card__form {
  display: flex;
  align-items: end;
  gap: 0.65rem;
}

.seat-selection-standing-card__form > div { width: 7rem; }

.seat-selection-standing-card__controls {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.55rem;
}

.seat-selection-standing-card__remove {
  width: 100%;
  padding: 0;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

@media (max-width: 64rem) {
  .seat-selection-layout { grid-template-columns: minmax(0, 1fr); }

  .seat-selection-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .seat-selection-page:not(.has-map-choices) .seat-selection-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  body.has-mobile-seat-selection { overflow-x: hidden; }
  body.has-mobile-seat-selection > main { padding: 0; }
  body.has-mobile-seat-selection > footer { display: none; }

  .seat-selection-page { gap: 1.25rem; }

  .seat-selection-page.has-map-choices {
    gap: 0;
    padding: 0;
  }

  .seat-selection-page.has-map-choices .seat-selection-seat-flow {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 4rem);
    min-height: 0;
  }

  .seat-selection-page.has-map-choices .seat-selection-standing-list {
    padding: 1rem 0.5rem 2rem;
  }

  .seat-selection-page.has-map-choices .seat-selection-header {
    position: relative;
    z-index: 25;
    gap: 0;
  }

  .seat-selection-page.has-map-choices .seat-selection-header__back,
  .seat-selection-page.has-map-choices .seat-selection-header__title {
    display: none;
  }

  .seat-selection-page.has-map-choices .seat-selection-categories {
    padding: 0.5rem;
    background: var(--color-surface-0);
  }

  .seat-selection-page.has-map-choices .seat-selection-categories__filter {
    min-height: 2.4rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.68rem;
  }

  .seat-selection-page.has-map-choices .seat-selection-tariffs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-inline: 0.5rem;
    padding: 0.5rem;
  }

  .seat-selection-page.has-map-choices .seat-selection-tariffs > div:first-child small {
    display: none;
  }

  .seat-selection-page.has-map-choices .seat-selection-tariffs__option {
    min-height: 2.25rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.68rem;
  }

  .seat-selection-ticket-picker {
    position: relative;
    display: block;
    margin: 0.5rem;
  }

  .seat-selection-ticket-picker > summary,
  .seat-selection-ticket-current {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.55rem 0.75rem;
    background: var(--color-surface-2);
    border: 1px solid var(--color-surface-1);
    border-radius: 0.85rem;
    color: var(--color-muted);
    cursor: pointer;
    font-size: 0.72rem;
    list-style: none;
  }

  .seat-selection-ticket-current {
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0.5rem;
    cursor: default;
  }

  .seat-selection-ticket-picker > summary::-webkit-details-marker { display: none; }
  .seat-selection-ticket-picker > summary::marker { content: ""; }

  .seat-selection-ticket-picker > summary > span,
  .seat-selection-ticket-current > span {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .seat-selection-ticket-picker > summary small,
  .seat-selection-ticket-current small {
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.58rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .seat-selection-ticket-picker > summary strong,
  .seat-selection-ticket-current strong {
    overflow: hidden;
    color: var(--color-text);
    font-size: 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seat-selection-ticket-picker > summary > i { transition: transform 120ms ease; }
  .seat-selection-ticket-picker[open] > summary > i { transform: rotate(180deg); }
  .seat-selection-ticket-picker:not([open]) > .seat-selection-tickets { display: none; }

  .seat-selection-tickets {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 40;
    flex-direction: column;
    gap: 0.35rem;
    overflow-x: visible;
    padding: 0.4rem;
    background: var(--color-surface-0);
    border: 1px solid var(--color-subtle);
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem oklch(0 0 0 / 0.4);
  }

  .seat-selection-tickets--desktop { display: none; }

  .seat-selection-tickets__ticket {
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
    min-width: 0;
  }

  .seat-selection-tickets__ticket span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .seat-selection-header__title {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .seat-selection-header__ticket-price { align-items: start; text-align: left; }
  .seat-selection-sidebar { grid-template-columns: 1fr; }

  .seat-selection-page.has-map-choices .seat-selection-layout {
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 0;
    flex: 1 1 auto;
    gap: 0;
  }

  .seat-selection-page.has-map-choices .seatmap-customer-map {
    height: 100%;
    min-height: 0;
  }

  .seat-selection-page.has-map-choices .seatmap-customer-map > form {
    height: 100%;
    min-height: 0;
  }

  .seat-selection-page.has-map-choices .seat-selection-sidebar > :not(.seat-selection-sidebar__picker) {
    display: none;
  }

  .seat-selection-sidebar__picker.has-map-choices {
    position: static;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.4rem;
    margin: 0.5rem;
    margin-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
    padding: 0.5rem;
    border-color: var(--color-subtle);
    box-shadow: 0 0.75rem 2.5rem oklch(0 0 0 / 0.35);
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts {
    grid-row: 1;
    grid-column: 1;
    grid-template-columns: repeat(2, 1fr);
    align-self: stretch;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.3rem 0.45rem;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts > div + div {
    border-top: 0;
    border-left: 1px solid var(--color-subtle);
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts dt {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts dd {
    margin-top: 0;
    font-size: 0.9rem;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-assignments {
    grid-row: 2;
  }

  .seat-selection-sidebar__picker.has-place-assignments .seat-selection-assignments {
    grid-row: 1;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-assignments > summary {
    min-height: 2.4rem;
    padding: 0.4rem 0.6rem;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-assignments__body {
    max-height: min(14rem, 35dvh);
    overflow-y: auto;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-assignments ul {
    max-height: none;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-assignments li {
    gap: 0.45rem;
    padding: 0.55rem;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__hint {
    grid-row: 3;
    grid-column: 1;
    min-height: 0;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.2;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seat-selection-sidebar__picker.has-place-assignments .seat-selection-sidebar__hint {
    grid-row: 2;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__continue {
    grid-column: 1;
    grid-row: 4;
    min-height: 2.5rem;
    padding-block: 0.45rem;
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  .seat-selection-sidebar__picker.has-place-assignments .seat-selection-sidebar__continue {
    grid-row: 3;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__best { display: none; }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__remove {
    grid-row: 5;
    grid-column: 1;
  }

  .seat-selection-sidebar__picker.has-place-assignments .seat-selection-sidebar__remove {
    grid-row: 4;
  }

  .seatmap-customer-map__toolbar {
    position: absolute;
    z-index: 15;
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    align-items: center;
    flex-direction: row;
    min-height: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
  }

  .seatmap-customer-map__floor-select {
    max-width: 7.5rem;
    pointer-events: auto;
  }

  .seatmap-customer-map__zoom {
    gap: 0;
    padding: 0.1rem;
    background: oklch(from var(--color-surface-2) l c h / 0.92);
    border: 1px solid var(--color-subtle);
    border-radius: 999px;
    box-shadow: 0 0.35rem 1rem oklch(0 0 0 / 0.22);
    pointer-events: auto;
    backdrop-filter: blur(0.5rem);
  }

  .seatmap-customer-map__zoom button {
    min-height: 2rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }

  .seatmap-customer-map__zoom-step {
    width: 2.25rem;
    min-height: 2.25rem !important;
    padding: 0 !important;
    flex-basis: 2.25rem;
  }

  .seatmap-customer-map__zoom-level { min-width: 2.9rem; }

  .seatmap-customer-map__overview {
    padding-inline: 0.6rem !important;
  }

  .seatmap-customer-map {
    overflow: visible;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .seatmap-customer-map__best {
    position: absolute;
    z-index: 15;
    right: 0.5rem;
    bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem;
    color: var(--color-text);
    background: oklch(from var(--color-surface-2) l c h / 0.92);
    border: 1px solid var(--color-subtle);
    border-radius: 999px;
    box-shadow: 0 0.35rem 1rem oklch(0 0 0 / 0.22);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 750;
    pointer-events: auto;
    backdrop-filter: blur(0.5rem);
  }

  .seatmap-customer-map__legend-disclosure {
    position: absolute;
    z-index: 20;
    bottom: 0.5rem;
    left: 0.5rem;
  }

  .seatmap-customer-map__legend-disclosure > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    color: var(--color-text);
    background: oklch(from var(--color-surface-2) l c h / 0.92);
    border: 1px solid var(--color-subtle);
    border-radius: 999px;
    box-shadow: 0 0.35rem 1rem oklch(0 0 0 / 0.22);
    cursor: pointer;
    list-style: none;
    backdrop-filter: blur(0.5rem);
  }

  .seatmap-customer-map__legend-disclosure > summary::-webkit-details-marker { display: none; }
  .seatmap-customer-map__legend-disclosure > summary::marker { content: ""; }
  .seatmap-customer-map__legend-disclosure > summary > span { display: none; }
  .seatmap-customer-map__legend-disclosure:not([open]) > .seatmap-customer-map__legend-panel {
    display: none;
  }

  .seatmap-customer-map__legend-panel {
    position: absolute;
    bottom: calc(100% + 0.45rem);
    left: 0;
    width: min(22rem, calc(100vw - 1rem));
    overflow: hidden;
    background: oklch(from var(--color-surface-2) l c h / 0.97);
    border: 1px solid var(--color-subtle);
    border-radius: 0.9rem;
    box-shadow: 0 1rem 3rem oklch(0 0 0 / 0.4);
    backdrop-filter: blur(0.75rem);
  }

  .seatmap-customer-map__legend {
    gap: 0.65rem 1rem;
    border-top: 0;
  }

  .seatmap-customer-map__viewport {
    width: 100%;
    height: 100%;
    max-height: none;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    padding: 0.5rem;
    touch-action: pan-x pan-y;
  }

  .seatmap-customer-map__seat--choice {
    width: 2.125rem;
    height: 2.125rem;
  }

  .seat-selection-standing-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .seat-selection-standing-card__form { align-items: stretch; flex-direction: column; }
  .seat-selection-standing-card__form > div { width: 100%; }
}

.shop-panel--divided > * + * {
  border-block-start: 1px solid var(--color-subtle);
}
