/*
  The fan app's own styles, on top of Web.Core's base.css (tokens, buttons, cards, forms). Server-
  rendered pages and the WebAssembly islands share both sheets, so a component looks the same before
  and after the browser takes over. Platform tier of the co-branding rules: no club colour here.
*/

/* ---------------------------------------------------------------- header */

.f-header { background: var(--ink-900); color: #FFFFFF; }
.f-header__bar { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.f-header__home {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px;
  color: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none;
}
.f-header__home:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.f-header__account { margin-left: auto; }
.f-crumbs { display: flex; align-items: center; min-width: 0; font-size: 15px; }
.f-crumbs::before { content: "/"; padding-right: 8px; color: rgba(255, 255, 255, 0.4); }
.f-crumbs:not(:has(li)) { display: none; }
.f-crumbs ol { display: flex; align-items: center; min-width: 0; }
.f-crumbs li { display: flex; align-items: center; min-width: 0; }
.f-crumbs li + li::before { content: "/"; padding: 0 8px; color: rgba(255, 255, 255, 0.4); }
.f-crumbs a { color: var(--ink-on-dark); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-crumbs a:hover { color: #FFFFFF; }
.f-crumbs span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* On a phone: "Alle Spiele" and one step up. The page itself is the heading right below, and the
   steps further up are a tap away from there. */
@media (max-width: 559px) {
  .f-crumbs li { display: none; }
  .f-crumbs li:nth-last-child(2) { display: flex; }
  .f-crumbs li:nth-last-child(2)::before { display: none; }
  .f-crumbs:has(li:only-child) { display: none; }
}

/* ---------------------------------------------------------------- footer */

.f-footer { border-top: 1px solid var(--line); padding-block: 28px 40px; }
.f-footer__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
/* A box the size of the wordmark: as an inline span it took a full line box with the mark at its
   top, and centring that line box set the wordmark 3 px above the links. */
.f-footer__brand { display: flex; }
.f-footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.f-footer__links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink-600); text-decoration: none; }
.f-footer__links a:hover { color: var(--ink-900); text-decoration: underline; }
.f-footer__credits { flex-basis: 100%; font-size: 13px; color: var(--ink-400); }
.f-footer__credits a { color: inherit; }

/* ------------------------------------------------------------------ hero */

.f-hero { background: var(--ink-900); color: #FFFFFF; }
.f-hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.f-hero__bar a { text-decoration: none; }
.f-hero__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-on-dark); font-size: 15px; }
.f-hero__link:hover { color: #FFFFFF; }
.f-hero__nav { display: flex; gap: 20px; }
/* On a phone the bar holds only the wordmark: both links are in the footer, and the sentence below
   needs the room. */
@media (max-width: 719px) {
  .f-hero__nav { display: none; }
}
.f-hero__body { padding-block: 20px 40px; }

/* The signature: the search written as a sentence, its parts underlined in brand green. */
.f-sentence {
  max-width: 1000px;
  font-family: var(--font-display);
  font-size: clamp(30px, 18px + 3.4vw, 56px);
  font-weight: 700; line-height: 1.16; letter-spacing: -0.03em;
}
.f-token {
  padding: 0 2px; border: 0; border-bottom: 4px solid var(--brand-500);
  background: none; color: #FFFFFF;
  font: inherit; letter-spacing: inherit; text-align: left;
  transition: background-color 120ms ease;
}
.f-token:hover { background: rgba(255, 255, 255, 0.08); }
.f-token:focus-visible { outline-color: #FFFFFF; }
.f-hero__note { margin-top: 16px; color: var(--ink-on-dark); }
@media (max-width: 719px) {
  .f-hero__bar { min-height: 56px; }
  .f-hero__body { padding-block: 6px 24px; }
  .f-hero__note { margin-top: 12px; font-size: 15px; }
}

/* Popovers that edit one part of the sentence. Centred, like a small dialog. */
.f-pop {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 0; border: 0; border-radius: var(--radius-card);
  background: var(--card); color: var(--ink-900);
  box-shadow: 0 30px 80px -20px rgba(16, 21, 18, 0.45);
}
.f-pop::backdrop { background: rgba(16, 21, 18, 0.45); }
.f-pop__form { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.f-pop__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 8px; }
.f-pop__actions .f-link { margin-right: auto; }
.f-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.f-dates .f-pop__actions { grid-column: 1 / -1; }

.f-suggest { border: 1px solid var(--line); border-radius: var(--radius-ctrl); overflow: hidden; }
.f-suggest button {
  display: block; width: 100%; min-height: 48px; padding: 8px 14px;
  border: 0; border-bottom: 1px solid var(--line); background: var(--card); text-align: left;
}
.f-suggest li:last-child button { border-bottom: 0; }
.f-suggest button:hover, .f-suggest button[aria-selected="true"] { background: var(--brand-50); }
.f-suggest small { display: block; color: var(--ink-400); font-size: 13px; }

/* --------------------------------------------------------------- explore */

.f-explore { padding-top: 0 !important; }
.f-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding-block: 20px; border-bottom: 1px solid var(--line);
}
.f-toolbar .f-chips { flex: 1 1 360px; }
.f-state { display: flex; gap: 8px; align-items: center; }
.f-state .f-select { min-height: 40px; width: auto; font-size: 15px; font-weight: 600; }
.f-explore__views { margin-left: auto; }
.f-filter-btn { min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 600; }
.f-badge {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: var(--radius-pill); background: var(--ink-900); color: #FFFFFF; font-size: 12px; font-weight: 700;
}

/* On a phone one sticky bar: the filter sheet's button and list or map. The chips and the
   Bundesland select live in the sheet there. */
@media (max-width: 719px) {
  .f-toolbar {
    position: sticky; top: 0; z-index: 5; flex-wrap: nowrap;
    margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter);
    background: var(--surface);
  }
  .f-toolbar__wide { display: none !important; }
  .f-explore__views .f-seg__item { min-height: 36px; }
}
@media (min-width: 720px) {
  .f-filter-btn { display: none; }
}

.f-explore__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .f-explore__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .f-explore__views { display: none; }
  .f-explore__map { position: sticky; top: 16px; align-self: start; }
}
@media (max-width: 1023px) {
  .f-explore[data-view="list"] .f-explore__map { display: none; }
  .f-explore[data-view="map"] .f-explore__list { display: none; }
}

.f-day {
  margin: 24px 0 4px;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
}
.f-day span { font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--ink-400); letter-spacing: 0; }
.f-widen { margin-top: 28px; padding: 16px; border-radius: var(--radius-ctrl); background: var(--brand-50); color: var(--ink-900); font-size: 15px; line-height: 1.5; }
.f-widen .f-link { font-weight: 600; }

/* A match as a list row. On a phone: time, teams over league, distance and price, the sale mark on
   the right; a plain row between hairlines, no card. From 720 px the price stands beside the mark. */
.f-fixture {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-900); text-decoration: none;
}
.f-fixture:hover { color: var(--ink-900); }
.f-fixture:hover .f-fixture__teams { text-decoration: underline; text-underline-offset: 3px; }
.f-fixture__time { font-size: 17px; font-weight: 700; padding-top: 1px; }
.f-fixture__main { min-width: 0; }
.f-fixture__teams { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.f-fixture__versus { display: block; font-size: 15px; font-weight: 500; color: var(--ink-600); }
.f-fixture__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 13px; color: var(--ink-400); }
.f-fixture__sale { display: flex; align-items: center; gap: 10px; }
.f-fixture__price { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.f-fixture__price--door { font-weight: 500; color: var(--ink-400); }
.f-fixture__price--aside { display: none; }
.f-fixture .f-mark { width: 22px; height: 22px; margin-top: 2px; }

@media (min-width: 720px) {
  .f-fixture {
    grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center;
    padding: 14px 12px; margin-inline: -12px; border-radius: var(--radius-ctrl);
  }
  .f-fixture:hover { background: var(--card); }
  .f-fixture:hover .f-fixture__teams { text-decoration: none; }
  .f-fixture__time { font-size: 20px; padding-top: 0; }
  .f-fixture__teams { font-size: 17px; line-height: 1.25; }
  .f-fixture__versus { display: inline; margin-left: 4px; font-size: inherit; }
  .f-fixture__meta { margin-top: 4px; font-size: 14px; }
  .f-fixture__price { font-size: 15px; }
  .f-fixture__price--inline { display: none; }
  .f-fixture__price--aside { display: inline; }
  .f-fixture .f-mark { margin-top: 0; }
}

/* The club page's rows lead with a date tile instead of a time. */
.f-fixture--dated { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; }
@media (max-width: 420px) {
  .f-fixture--dated { grid-template-columns: 56px minmax(0, 1fr); }
  .f-fixture--dated .f-fixture__sale { grid-column: 2; }
}

/* ------------------------------------------------------------ filter sheet */

/* Full screen on a phone (the only place its button shows), a drawer on the right anywhere wider. */
.f-sheet {
  inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--card); color: var(--ink-900);
}
.f-sheet::backdrop { background: rgba(16, 21, 18, 0.45); }
@media (min-width: 720px) {
  .f-sheet { inset: 0 0 0 auto; width: 440px; box-shadow: -30px 0 80px -20px rgba(16, 21, 18, 0.35); }
}
.f-sheet__form { display: flex; flex-direction: column; height: 100%; }
.f-sheet__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line);
}
.f-sheet__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.f-sheet__close { border: 0; }
.f-sheet__body { flex: 1; overflow-y: auto; padding: 0 16px 24px; }
.f-sheet__section {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
  margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line);
}
.f-sheet__section:last-child { border-bottom: 0; }
.f-sheet__section legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; }
.f-sheet__section .f-input { margin-top: 0; }
.f-sheet__section .f-hint { margin-top: -2px; }
.f-sheet__section .f-dates { margin-top: 2px; }
.f-sheet__section .f-dates .f-input { margin-top: 4px; min-height: 44px; }
.f-sheet__foot {
  display: flex; gap: 8px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card);
}
.f-sheet__apply { flex: 1; }
.f-label--quiet { font-size: 13px; font-weight: 500; color: var(--ink-600); }

/* Radio chips: the time range. */
.f-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.f-choice { position: relative; }
.f-choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.f-choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.f-choice input:checked + span { background: var(--ink-900); border-color: var(--ink-900); color: #FFFFFF; }
.f-choice input:focus-visible + span { outline: 3px solid var(--brand-500); outline-offset: 2px; }

/* Checkbox rows: the leagues. */
.f-checks li + li { border-top: 1px solid var(--line); }
.f-check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; cursor: pointer; }
.f-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--brand-500); }

.f-mark { flex: none; color: var(--ink-900); }

/* Date tile in the QR-Auge corners (club page). */
.f-date { position: relative; display: grid; place-items: center; width: 56px; height: 56px; line-height: 1.05; text-align: center; }
.f-date__frame { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink-900); }
.f-date__day { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.f-date__month { font-size: 12px; color: var(--ink-600); }

/* ------------------------------------------------------------------- map */

.f-map-wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.f-map {
  height: min(70vh, 640px); min-height: 360px;
  border-radius: var(--radius-card); overflow: hidden; background: var(--surface-2);
}
.f-map__canvas { width: 100%; height: 100%; }
.f-map-empty { padding: 24px; border-radius: var(--radius-card); background: var(--surface-2); color: var(--ink-600); }
.f-map-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--ink-600); }
.f-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.f-pin {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; background: var(--card); box-shadow: 0 2px 8px rgba(16, 21, 18, 0.25);
}
.f-pin .f-mark { width: 22px; height: 22px; }
.f-you { width: 16px; height: 16px; border-radius: 50%; background: var(--ink-900); border: 3px solid #FFFFFF; box-shadow: 0 1px 4px rgba(16, 21, 18, 0.4); }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font-ui); font-size: 14px; line-height: 1.45; }
.leaflet-popup-content strong { display: block; font-size: 15px; }
.leaflet-popup-content a { display: inline-block; margin-top: 6px; font-weight: 700; }
.leaflet-container { font-family: var(--font-ui); }

/* ----------------------------------------------------------------- club */

.f-club { display: flex; flex-direction: column; gap: 16px; border-left: 4px solid var(--ink-900); }
.f-club__id { display: flex; gap: 14px; align-items: center; }
.f-monogram {
  display: grid; place-items: center; flex: none; width: 64px; height: 64px;
  border: 3px solid var(--ink-900); border-radius: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
}
.f-monogram--small { width: 40px; height: 40px; border-width: 2px; border-radius: 10px; font-size: 13px; }
.f-place {
  display: flex; flex-direction: column; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--ink-900); text-decoration: none;
}
.f-place:hover .f-strong { text-decoration: underline; }

.f-clubs { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.f-club-row {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px;
  border-radius: var(--radius-ctrl); color: var(--ink-900); text-decoration: none;
}
.f-club-row:hover { background: var(--card); color: var(--ink-900); }
.f-club-row__name { flex: 1; font-weight: 600; }

/* The league overview: Bundesland, tier, then one row per league. */
.f-leagues + .f-leagues { margin-top: 8px; }
.f-leagues__tier { margin: 18px 0 2px; font-size: 14px; font-weight: 600; color: var(--ink-450); }
.f-leagues__list { border-top: 1px solid var(--line); }
.f-league-row {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0;
  border-bottom: 1px solid var(--line); color: var(--ink-900); text-decoration: none;
}
.f-league-row:hover { color: var(--ink-900); }
.f-league-row:hover .f-league-row__name { text-decoration: underline; text-underline-offset: 3px; }
.f-league-row__name { flex: 1; min-width: 0; font-weight: 600; }
.f-league-row__count { font-size: 14px; color: var(--ink-400); white-space: nowrap; }
.f-league-row svg { flex: none; color: var(--ink-400); }

/* ---------------------------------------------------------------- match */

.f-match { display: flex; flex-direction: column; gap: 10px; }
.f-match__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 24px + 2vw, 44px); line-height: 1.04; letter-spacing: -0.03em;
}
.f-match__versus {
  display: block; margin: 6px 0;
  font-weight: 500; font-size: 0.6em; letter-spacing: -0.01em; color: var(--ink-600);
}
.f-facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 10px; }
.f-fact { display: flex; flex-direction: column; padding: 14px; border-radius: var(--radius-ctrl); background: var(--card); }
.f-fact dt { font-size: 13px; color: var(--ink-400); }
.f-fact dd { font-weight: 700; }
.f-fact dd .f-muted { display: block; font-weight: 400; font-size: 14px; }

/* Ticket picker (Fan.Client Islands/TicketPicker.razor) */
.f-picker__row {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.f-picker__name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.f-picker__title { font-weight: 700; }
.f-picker__price { font-size: 15px; color: var(--ink-600); }

.f-stepper { display: flex; align-items: center; gap: 4px; }
.f-stepper__btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--hairline); border-radius: var(--radius-ctrl);
  background: var(--card); color: var(--ink-900);
}
.f-stepper__btn--add { background: var(--ink-900); border-color: var(--ink-900); color: #FFFFFF; }
.f-stepper__btn:disabled { opacity: 0.35; }
.f-stepper__value { width: 32px; text-align: center; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* The bar to the Kassa, fixed to the bottom while the cart holds something. */
.f-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(16, 21, 18, 0.08);
}
.f-sticky__action { justify-content: space-between; max-width: 720px; margin: 0 auto; }
body:has(.f-sticky) .f-footer { padding-bottom: 120px; }

/* ----------------------------------------------------------------- kassa */

.f-kassa-lines { display: flex; flex-direction: column; gap: 18px; }
.f-kassa-line { display: flex; flex-direction: column; gap: 8px; }
.f-kassa-line__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--ink-600); }
.f-kassa-line__edit { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.f-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700;
}
.f-total__sum { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.f-pay { display: flex; flex-direction: column; gap: 12px; }
.f-resume { display: flex; flex-direction: column; gap: 12px; }

/* --------------------------------------------------------------- tickets */

.f-ticket-head { display: flex; flex-direction: column; gap: 2px; }
.f-ticket-head .f-h2 { margin-bottom: 0; }
.f-tickets__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.f-tickets__track::-webkit-scrollbar { display: none; }
.f-tickets__item { flex: 0 0 100%; scroll-snap-align: center; padding: 4px; }
.f-ticket { text-align: center; }
.f-ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: left; }
.f-ticket__frame {
  position: relative; width: 280px; max-width: 100%; aspect-ratio: 1; margin: 18px auto 0; padding: 22px;
  background:
    linear-gradient(var(--ink-900), var(--ink-900)) top left / 34px 3px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) top left / 3px 34px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) top right / 34px 3px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) top right / 3px 34px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) bottom left / 34px 3px no-repeat,
    linear-gradient(var(--ink-900), var(--ink-900)) bottom left / 3px 34px no-repeat,
    linear-gradient(var(--brand-500), var(--brand-500)) bottom right / 34px 3px no-repeat,
    linear-gradient(var(--brand-500), var(--brand-500)) bottom right / 3px 34px no-repeat;
}
.f-qr { width: 100%; height: auto; }
.f-ticket__code { margin-top: 12px; font-size: 14px; color: var(--ink-400); word-break: break-all; }
.f-tickets__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.f-tickets__dots { display: flex; gap: 6px; }
.f-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }
.f-dot--on { background: var(--ink-900); }

/* Both wallets require black buttons; black is not a brand colour, which is the point. */
.f-wallets { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.f-wallet {
  display: grid; place-items: center; min-height: 52px; padding: 0 16px;
  border-radius: var(--radius-ctrl); background: #000000; color: #FFFFFF;
  font-weight: 600; text-decoration: none;
}
.f-wallet:hover { color: #FFFFFF; opacity: 0.88; }

.f-gate { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.f-revoked { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.f-revoked li { display: flex; justify-content: space-between; gap: 12px; }
.f-sums { display: flex; flex-direction: column; gap: 8px; }
.f-sums div { display: flex; justify-content: space-between; }
.f-sums dt { color: var(--ink-400); }
.f-sums dd { font-weight: 600; }

/* Printing the ticket page prints the tickets, one per page, and nothing else. */
@media print {
  body { background: #FFFFFF; }
  [data-print="hide"], .f-footer, .f-header, .f-skip { display: none !important; }
  .f-tickets__track { display: block; overflow: visible; }
  .f-tickets__item { break-after: page; }
  .f-card { box-shadow: none; }
}

/* On a phone the filters take one row each: the league chips scroll sideways, and the Bundesland
   shares a line with the list/map switch. */
@media (max-width: 719px) {
  .f-toolbar { gap: 10px 8px; padding-block: 14px; }
  .f-toolbar .f-chips {
    flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .f-toolbar .f-chips::-webkit-scrollbar { display: none; }
  .f-state { flex: 1 1 0; min-width: 0; }
  .f-state .f-select { width: 100%; }
}
