/* Finding an event and knowing the building: the choices over a list of events (ticketing/tickets/_filters), a venue's page (ticketing/venues/show), the
   price cap in the seat finder, and the door facts on a ticket. Tokens and logical properties only; every row wraps at 320 px. */

/* ── The choices over a list ───────────────────────────────────────────── */
.ticketing-filters {
  display: grid;
  gap: var(--space-2);
  min-inline-size: 0;
}

.ticketing-filters__group {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: var(--space-2);
  min-inline-size: 0;
}

/* As tall as a choice, so it sits beside the first row of them however many rows they wrap to. */
.ticketing-filters__label {
  display: inline-flex;
  flex: 0 0 3.5rem;
  align-items: center;
  min-block-size: var(--target-min);
  color: var(--fg2);
  font-size: var(--text-sm);
  font-weight: 600;
}

.ticketing-filters ul,
.ticketing-jump.ticketing-filters__group ul {
  display: flex;
  flex: 1 1 12rem;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticketing-filters li a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target-min);
  padding-inline: var(--space-3);
  border: 1px solid var(--control-line);
  border-radius: 999px;
  color: var(--fg1);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ticketing-filters li a:hover,
.ticketing-filters li a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* The choice made: filled, and heavier, so it is not told by color alone. */
.ticketing-filters li a[aria-current] {
  border-color: var(--fg1);
  background: var(--fg1);
  color: var(--surface);
  font-weight: 600;
}

.ticketing-filters__count {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  color: var(--fg2);
}

.ticketing-filters__count a {
  color: var(--accent-text);
  font-weight: 600;
}

/* ── A venue's page ────────────────────────────────────────────────────── */
.ticketing-venue__directions {
  margin: 0;
}

.ticketing-venue__maps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--space-4);
  min-inline-size: 0;
}

.ticketing-venue__map {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  min-inline-size: 0;
}

.ticketing-venue__map svg {
  display: block;
  inline-size: 100%;
  max-block-size: 28rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.ticketing-venue__map figcaption,
.ticketing-venue__note {
  margin: 0;
  color: var(--fg2);
  font-size: var(--text-sm);
}

.ticketing-venue__surface {
  fill: var(--surface-tint);
  stroke: var(--rule-strong);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.ticketing-venue__area {
  fill: var(--surface);
  stroke: var(--rule-strong);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
}

.ticketing-venue__seats {
  fill: none;
  stroke: var(--fg2);
  stroke-width: 0.34;
  stroke-linecap: round;
  /* Faint, so a section's name reads over its seats. */
  stroke-opacity: 0.45;
}

.ticketing-venue__name,
.ticketing-venue__surface-label {
  fill: var(--fg1);
  font-family: var(--font-sans);
  font-weight: 650;
  text-anchor: middle;
  dominant-baseline: middle;
}

.ticketing-venue__surface-label {
  fill: var(--fg2);
}

/* The venue's name on an event's page is the way to its page: the fact's own weight, underlined so it reads as a link. */
.ticketing-event__fact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ticketing-event__fact a:hover,
.ticketing-event__fact a:focus-visible {
  color: var(--accent-text);
}

/* ── Door facts on a ticket ────────────────────────────────────────────── */
.ticketing-ticket__door dd {
  display: grid;
  gap: var(--space-2);
  font-weight: 400;
}

.ticketing-ticket__door ul {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticketing-ticket__door a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target-min);
  color: var(--accent-text);
  font-weight: 600;
}

/* ── The seat finder's price cap ───────────────────────────────────────── */
.tk-picker__together .field {
  margin: 0;
}
