/* Seating map of the pre-sale page. Generated by tools/build_seating_map.py. */
.seat-notice {
  width: min(860px, 100% - 32px); margin: 20px auto 0; padding: 14px 18px;
  border: 2px solid var(--gold-2); border-radius: 10px; background: rgba(224, 168, 74, .14);
  color: var(--text-strong); text-align: center; font-weight: 700;
}
.seat-notice p { margin: 0; }
.seat-section { padding: 22px 0 8px; }
.seat-section h2 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; color: var(--gold-1);
  font-size: clamp(1.2rem, 4vw, 1.6rem); letter-spacing: .06em;
}
.seat-hint, .seat-note { margin: 0 0 14px; color: var(--muted); }
.seat-note { margin-top: 16px; padding: 10px 14px; border-left: 4px solid var(--gold-2); background: var(--panel); color: var(--text); }
.seatmap-scroll {
  overflow-x: auto; padding: 12px; border: 2px solid var(--gold-2); border-radius: 12px; background: #f6f1e4;
}
.seatmap-scroll:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 4px; }
.seatmap { display: block; width: 100%; min-width: 780px; max-width: 900px; height: auto; margin-inline: auto; }
.seatmap text { font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; font-weight: 700; }
.seat-num { font-size: 11px; }
/* D-017/D-018: row labels and sector headings are plain, non-interactive text annotations, never boxed, one neutral colour.
   Row labels: medium weight, >= 12 px. Sector headings (and zone labels): semibold, >= 14 px. */
.seatmap text.map-label, .seatmap text.map-heading {
  font-family: var(--font-text); font-variant-numeric: tabular-nums;
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.seatmap text.map-label { font-weight: 500; font-size: 12px; }
.seatmap text.map-heading { font-weight: 600; font-size: 14px; }
.badge-mark { font-size: 11px; }
.legend {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.legend-item {
  display: grid; grid-template-columns: 48px 2.2em 1fr; gap: 4px 12px; align-items: center;
  padding: 8px 12px; border: 1px solid var(--edge-soft); border-radius: 10px; background: var(--panel);
}
.swatch { display: block; }
.legend-code { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold-1); }
.legend-text { line-height: 1.35; }
.legend-meta { color: var(--muted); font-size: .9rem; }
@media (max-width: 480px) {
  .legend-item { grid-template-columns: 48px 1.6em 1fr; gap: 4px 8px; }
}
@media (forced-colors: active) {
  .seatmap-scroll, .seatmap { forced-color-adjust: none; }
  .seatmap-scroll:focus-visible { outline-color: Highlight; }
}
