/*
 * SLN App UI 2026
 * Gemeinsames, mobile-first Designsystem für Mitglieder- und Verwaltungsbereich.
 */

:root {
    --app-bg: #f3f1ed;
    --app-surface: #ffffff;
    --app-surface-soft: #ebe8e2;
    --app-ink: #171719;
    --app-muted: #6d6b68;
    --app-line: rgba(23, 23, 25, 0.11);
    --app-red: var(--club-red, #8f1120);
    --app-red-strong: var(--club-red-strong, #b81628);
    --app-red-dark: var(--club-red-dark, #5f0914);
    --app-night: var(--club-night, #10151d);
    --app-success: #176947;
    --app-warning: #8c5c09;
    --app-danger: #a11628;
    --app-radius-lg: 1.5rem;
    --app-radius: 1rem;
    --app-radius-sm: 0.7rem;
    --app-shadow: 0 1.2rem 3.2rem rgba(28, 22, 20, 0.08);
    --app-content: 80rem;
    --app-dock-height: 4.85rem;
}

html {
    min-width: 20rem;
    color-scheme: light;
    background: var(--app-bg);
    -webkit-text-size-adjust: 100%;
}

html body {
    min-width: 20rem;
    min-height: 100dvh;
    overflow-x: hidden;
    color: var(--app-ink);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 0.9375rem;
    line-height: 1.55;
    background:
        linear-gradient(90deg, transparent 0 49.9%, rgba(143, 17, 32, 0.025) 50%, transparent 50.1%),
        var(--app-bg);
}

body::before { display: none; }

body.is-logged-in {
    padding-bottom: calc(var(--app-dock-height) + env(safe-area-inset-bottom) + 0.75rem);
}

body h1,
body h2,
body h3,
body h4 {
    color: var(--app-ink);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-transform: none;
    text-wrap: balance;
}

body h1 { font-size: clamp(2rem, 8vw, 3.35rem); }
body h2 { font-size: clamp(1.45rem, 5.5vw, 2.15rem); }
body h3 { font-size: clamp(1.08rem, 4.2vw, 1.35rem); }
body p { text-wrap: pretty; }

body a,
body button,
body input,
body select,
body textarea,
body summary {
    -webkit-tap-highlight-color: transparent;
}

body :focus-visible {
    outline: 3px solid rgba(184, 22, 40, 0.32);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    z-index: 500;
    padding: 0.75rem 1rem;
    transform: translate(-50%, -180%);
    border-radius: var(--app-radius-sm);
    color: #fff;
    background: var(--app-night);
    font-weight: 800;
}

.skip-link:focus { transform: translate(-50%, 0); }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* App-Kopf */
body .site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    border: 0;
    background: rgba(16, 18, 22, 0.96);
    box-shadow: 0 0.45rem 1.5rem rgba(15, 13, 14, 0.17);
    backdrop-filter: blur(1.2rem);
}

body .site-nav__inner {
    width: min(100%, var(--app-content));
    min-height: 4.25rem;
    margin: 0 auto;
    padding: max(0.65rem, env(safe-area-inset-top)) 1rem 0.65rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

body .site-brand { min-width: 0; gap: 0.7rem; }

body .site-brand__mark {
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.75rem;
    color: #fff;
    background: var(--app-red-strong);
    font-family: "Oswald", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    box-shadow: none;
}

body .site-brand__text { min-width: 0; }
body .site-brand__eyebrow {
    margin: 0 0 0.05rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

body .site-brand__title {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .site-nav__links,
body .site-nav__meta { display: none; }

body .site-nav__toggle {
    width: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

body .site-nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

body .site-nav__toggle-bars { gap: 0.28rem; }
body .site-nav__toggle-bars span { width: 1.15rem; height: 0.12rem; }

/* Mobiles Navigations-Sheet */
body .site-drawer__backdrop:not([hidden]),
body .site-drawer:not([hidden]) { display: block; }

body .site-drawer__backdrop {
    background: rgba(9, 10, 13, 0.68);
    backdrop-filter: blur(0.45rem);
}

body .site-drawer {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 0 0 env(safe-area-inset-bottom);
    transform: none;
}

body .site-drawer__panel {
    width: min(100%, 44rem);
    max-height: min(88dvh, 50rem);
    margin: auto;
    padding: 1.15rem 1rem 1.35rem;
    overflow-y: auto;
    border: 0;
    border-radius: 1.6rem 1.6rem 0 0;
    background: #f7f5f1;
    box-shadow: 0 -1.5rem 4rem rgba(8, 8, 11, 0.34);
}

body .site-drawer__head {
    position: sticky;
    top: -1.15rem;
    z-index: 2;
    padding: 0.2rem 0 0.75rem;
    background: linear-gradient(#f7f5f1 82%, transparent);
}

body .site-drawer__head h2 { margin: 0.15rem 0 0; font-size: 1.25rem; }
body .site-drawer__close {
    min-height: 2.7rem;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 0.8rem;
    color: var(--app-ink);
    background: var(--app-surface-soft);
    box-shadow: none;
}

body .site-drawer__section { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--app-line); }
body .site-drawer__section:first-of-type { margin-top: 0.35rem; }
body .site-drawer__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--app-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body .site-drawer__meta { margin: 0.35rem 0 0; }
body .site-drawer__pill {
    padding: 0.4rem 0.65rem;
    border-radius: 0.55rem;
    color: var(--app-red-dark);
    background: rgba(143, 17, 32, 0.08);
    font-weight: 800;
}

body .site-drawer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
body .site-drawer__link {
    min-height: 3.15rem;
    padding: 0.7rem 0.8rem;
    display: flex;
    align-items: center;
    border: 1px solid var(--app-line);
    border-radius: 0.8rem;
    color: var(--app-ink);
    background: rgba(255, 255, 255, 0.72);
    font-weight: 750;
}

body .site-drawer__link:hover,
body .site-drawer__link.is-active {
    text-decoration: none;
    border-color: rgba(143, 17, 32, 0.24);
    color: var(--app-red-dark);
    background: rgba(143, 17, 32, 0.07);
}

body .site-drawer__link--ghost { justify-content: center; background: transparent; }
body .site-drawer__section--admin .site-drawer__links { grid-template-columns: minmax(0, 1fr); }
body .site-drawer__section--admin .site-drawer__link { min-height: 2.85rem; }

/* Untere Handy-Navigation */
body .mobile-dock {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    width: 100%;
    max-width: none;
    min-height: calc(var(--app-dock-height) + env(safe-area-inset-bottom));
    padding: 0.45rem max(0.45rem, env(safe-area-inset-left)) max(0.45rem, env(safe-area-inset-bottom)) max(0.45rem, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: repeat(var(--dock-items), minmax(0, 1fr));
    gap: 0.15rem;
    border-top: 1px solid rgba(23, 23, 25, 0.1);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -0.7rem 2rem rgba(20, 18, 18, 0.1);
    backdrop-filter: blur(1.25rem);
    transform: none;
}

body .mobile-dock__link {
    min-width: 0;
    min-height: 3.65rem;
    padding: 0.35rem 0.15rem;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.18rem;
    border: 0;
    border-radius: 0.75rem;
    color: #77736f;
    background: transparent;
    box-shadow: none;
    font-size: 0.66rem;
    font-weight: 750;
}

body .mobile-dock__link:hover,
body .mobile-dock__link.is-active {
    color: var(--app-red);
    text-decoration: none;
    background: rgba(143, 17, 32, 0.07);
}

body .mobile-dock__icon { width: 1.3rem; height: 1.3rem; }
body .mobile-dock__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Seitenrahmen und Inhalts-Hierarchie */
body .page-shell,
body .supporter-hub,
body main.container,
body .container,
body .auth-shell,
body .exchange-page,
body .profile-page,
body .merch-page,
body .review-shell,
body .points-shell,
body .logs-shell,
body .faq-shell,
body .faq-admin-shell,
body .pay-page,
body .pp-page,
body .merch-admin,
body .apps-shell,
body .guest-flow,
body .guest-pay {
    width: min(100%, var(--app-content));
    max-width: var(--app-content);
    margin: 0 auto;
    padding: 1rem 0.85rem 2.5rem;
}

body .page-shell--wide { width: min(100%, 86rem); }

body .page-hero {
    margin: 0 0 0.85rem;
    padding: 1.3rem 1.15rem;
    overflow: hidden;
    border: 0;
    border-radius: var(--app-radius-lg);
    color: #fff;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.08), transparent 36%),
        linear-gradient(135deg, var(--app-red-dark), var(--app-red-strong));
    box-shadow: 0 1rem 2.4rem rgba(95, 9, 20, 0.17);
}

body .page-hero::after {
    inset: auto -5rem -7rem auto;
    width: 13rem;
    height: 13rem;
    border: 1.8rem solid rgba(255, 255, 255, 0.07);
    background: transparent;
}

body .page-hero__kicker {
    margin: 0 0 0.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.68);
    background: transparent;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
}

body .page-hero__title { max-width: 18ch; color: #fff; font-size: clamp(1.9rem, 8vw, 3.3rem); }
body .page-hero__copy { margin-top: 0.75rem; max-width: 44rem; color: rgba(255, 255, 255, 0.78); }

body .page-meta { margin-top: 1.1rem; gap: 0.5rem; }
body .page-meta__item {
    min-width: 0;
    flex: 1 1 8rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
}

body .page-meta__label { font-size: 0.65rem; }
body .page-meta__value { font-size: 1rem; }
body .page-hero .page-meta__item,
body.page-admin-assign .assign-hero .assign-stat {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: none;
}
body .page-hero .page-meta__item *,
body.page-admin-assign .assign-hero .assign-stat dt,
body.page-admin-assign .assign-hero .assign-stat dd,
body.page-admin-assign .assign-hero .assign-stat small { color: inherit; }

body .block,
body .page-panel,
body .metric-card,
body .form-card,
body .table-shell {
    border: 1px solid var(--app-line);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    box-shadow: 0 0.7rem 2rem rgba(28, 22, 20, 0.045);
}

body .block,
body .page-panel { padding: 1.1rem; }
body .page-panel--tight { padding: 0.95rem; }
body .page-panel--muted { background: #f9f8f5; }
body .page-grid,
body .page-grid--sidebar { grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }
body .page-section__title { margin-bottom: 0.25rem; font-size: 1.35rem; }
body .page-section__copy { margin-bottom: 1rem; color: var(--app-muted); }

body .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 0.85rem; }
body .metric-card { padding: 0.9rem; }
body .metric-card__label { margin-bottom: 0.45rem; font-size: 0.66rem; letter-spacing: 0.08em; }
body .metric-card__value { margin-bottom: 0.3rem; font-size: 1.6rem; }
body .metric-card__copy { font-size: 0.8rem; }

/* Formulare und Aktionen */
body label { color: var(--app-ink); font-size: 0.86rem; font-weight: 750; }
body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="color"]):not([type="range"]),
body select,
body textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(23, 23, 25, 0.16);
    border-radius: 0.75rem;
    color: var(--app-ink);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

body input:hover,
body select:hover,
body textarea:hover { border-color: rgba(23, 23, 25, 0.28); }
body input:focus,
body select:focus,
body textarea:focus { border-color: var(--app-red); box-shadow: 0 0 0 3px rgba(143, 17, 32, 0.1); }
body textarea { min-height: 7rem; resize: vertical; }

body button,
body .button,
body a.button,
body input[type="submit"] {
    min-height: 2.85rem;
    padding: 0.68rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    font-weight: 800;
    box-shadow: none;
}

body button:not(.site-nav__toggle):not(.mobile-dock__link):not(.site-drawer__close):not(.supporter-tab),
body .button:not(.button--secondary):not(.button--ghost):not(.button--danger),
body input[type="submit"] {
    color: #fff;
    background: var(--app-red-strong);
}

body button:hover,
body .button:hover { filter: brightness(0.96); transform: none; }
body .button--secondary { color: var(--app-red-dark); border-color: rgba(143, 17, 32, 0.18); background: rgba(143, 17, 32, 0.07); }
body .button--ghost { color: var(--app-ink); border-color: var(--app-line); background: transparent; }
body .button--danger { color: #fff; background: var(--app-danger); }
body .toolbar,
body .form-actions,
body .page-actions { gap: 0.55rem; }

body .alert,
body .feedback,
body .message {
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    box-shadow: none;
}

/* Tabellen: Desktop dicht, Handy als lesbare Fläche */
body .table-shell { overflow-x: auto; box-shadow: none; }
body table { min-width: 42rem; border-collapse: collapse; }
body th {
    padding: 0.75rem;
    color: var(--app-muted);
    background: #f5f3ef;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
body td { padding: 0.8rem 0.75rem; border-bottom: 1px solid var(--app-line); }
body tr:last-child td { border-bottom: 0; }

/* Dashboard */
body.supporter-page { background: var(--app-bg); }
body .supporter-hub { padding-top: 1rem; }
body .supporter-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body .supporter-hero__copy,
body .supporter-hero__spotlight {
    min-height: 0;
    padding: 1.25rem 1.1rem;
    border-radius: var(--app-radius-lg);
    box-shadow: none;
}

body .supporter-hero__copy {
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 44%),
        linear-gradient(135deg, var(--app-red-dark), var(--app-red-strong));
}
body .supporter-hero__copy::after { width: 10rem; height: 10rem; right: -5rem; bottom: -5rem; }
body .supporter-hero__eyebrow,
body .supporter-panel__eyebrow,
body .supporter-card__eyebrow { margin-bottom: 0.55rem; font-size: 0.67rem; letter-spacing: 0.12em; }
body .supporter-hero__copy h1 { max-width: 13ch; font-size: clamp(2rem, 9vw, 3.8rem); }
body .supporter-hero__lead { margin-top: 0.8rem; font-size: 0.94rem; }
body .supporter-hero__links { margin-top: 1rem; gap: 0.45rem; }
body .supporter-hero__link { min-height: 2.55rem; padding: 0 0.8rem; border-radius: 0.65rem; font-size: 0.82rem; }

body .supporter-hero__spotlight { border: 1px solid var(--app-line); background: var(--app-surface); }
body .supporter-hero__spotlight h2 { margin-bottom: 0.8rem; font-size: 1.35rem; }
body .supporter-spotlight { gap: 0.5rem; }
body .supporter-spotlight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .supporter-hero__spotlight .supporter-hero__eyebrow { color: var(--app-muted); }
body .supporter-spotlight div { padding: 0.75rem; border-radius: 0.75rem; background: #f6f4f0; }
body .supporter-spotlight dt { margin-bottom: 0.3rem; font-size: 0.65rem; }
body .supporter-spotlight dd { font-size: 0.9rem; }

body .supporter-stats,
body .supporter-mobile-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 0.75rem; }
body .dashboard-mode-switch {
    margin-bottom: 0.75rem;
    padding: 0.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    border: 1px solid var(--app-line);
    border-radius: 0.9rem;
    background: #ebe8e3;
}
body .dashboard-mode-switch a {
    min-width: 0;
    min-height: 3.65rem;
    padding: 0.7rem 0.8rem;
    display: grid;
    align-content: center;
    gap: 0.12rem;
    border-radius: 0.68rem;
    color: var(--app-muted);
    text-decoration: none;
}
body .dashboard-mode-switch a.is-active {
    color: var(--app-ink);
    background: var(--app-surface);
    box-shadow: 0 0.35rem 1rem rgba(24, 20, 20, 0.08);
}
body .dashboard-mode-switch span { font-weight: 850; }
body .dashboard-mode-switch small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.7rem; }
body .supporter-stat,
body .supporter-mobile-action { min-height: 0; padding: 0.9rem; border-radius: var(--app-radius); box-shadow: none; }
body .supporter-stat__label { margin-bottom: 0.45rem; font-size: 0.66rem; }
body .supporter-stat__value { font-size: 1.65rem; }
body .supporter-stat__note { margin-top: 0.35rem; font-size: 0.78rem; }
body .supporter-mobile-action { gap: 0.3rem; }
body .supporter-mobile-action strong { font-size: 0.95rem; }
body .supporter-mobile-action span,
body .supporter-mobile-action small { font-size: 0.76rem; }
body .supporter-mobile-action:only-child,
body .supporter-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

body .supporter-layout { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
body .supporter-main { gap: 0.75rem; }
body .supporter-panel,
body .supporter-sidecard,
body .supporter-card,
body .supporter-compact-card,
body .supporter-admin-ops {
    border-color: var(--app-line);
    border-radius: var(--app-radius);
    background: var(--app-surface);
    box-shadow: none;
}
body .supporter-panel,
body .supporter-sidecard { padding: 1rem; }
body .supporter-panel__head { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
body .supporter-panel__head h2,
body .supporter-sidecard h2 { font-size: 1.35rem; }
body .supporter-panel__copy { margin-top: 0.35rem; font-size: 0.87rem; }
body .supporter-tabs {
    width: 100%;
    padding: 0.22rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
    border-radius: 0.8rem;
    background: #efede9;
}

body .supporter-game-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(109, 20, 32, 0.13);
  border-bottom: 1px solid rgba(109, 20, 32, 0.13);
}

body .supporter-game-filters__intro {
  display: grid;
  gap: 0.15rem;
  min-width: 8rem;
}

body .supporter-game-filters__intro strong {
  color: var(--club-ink);
  font-size: 0.95rem;
}

body .supporter-game-filters__intro span,
body .supporter-game-filter-group__label {
  color: var(--club-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

body .supporter-game-filter-group {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

body .supporter-game-filter-group--quick {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

body .supporter-filter-chips {
  display: flex;
  gap: 0.4rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0.1rem 0 0.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

body .supporter-filter-chip {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(109, 20, 32, 0.18);
  border-radius: 999px;
  color: var(--club-ink);
  background: #f6f4f2;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: start;
}

body .supporter-filter-chip.is-active {
  color: #fff;
  border-color: var(--club-red);
  background: var(--club-red);
}

body .supporter-filter-chip:focus-visible {
  outline: 3px solid rgba(201, 29, 49, 0.2);
  outline-offset: 2px;
}

body .supporter-filter-chip:active {
  transform: translateY(1px);
}

body .supporter-game-filters__more {
  position: relative;
  margin-left: auto;
}

body .supporter-game-filters__more > summary {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.65rem;
  color: var(--club-ink);
  background: #efede9;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

body .supporter-game-filters__more > summary::-webkit-details-marker {
  display: none;
}

body .supporter-game-filters__more > summary:focus-visible {
  outline: 3px solid rgba(201, 29, 49, 0.2);
  outline-offset: 2px;
}

body .supporter-game-filters__count {
  display: inline-flex;
  min-width: 1.35rem;
  min-height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--club-red);
  font-size: 0.72rem;
}

body .supporter-game-filters__count[hidden] {
  display: none;
}

body .supporter-game-filters__chevron {
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease-out;
}

body .supporter-game-filters__more[open] .supporter-game-filters__chevron {
  transform: rotate(180deg);
}

body .supporter-game-filters__options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(34rem, calc(100vw - 2rem));
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem;
  border: 1px solid rgba(109, 20, 32, 0.16);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 0.35rem 0.5rem rgba(24, 20, 20, 0.1);
}

body .supporter-game-filters__reset {
  min-height: 2.5rem;
  padding: 0.45rem 0;
  border: 0;
  color: var(--club-red);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

body .supporter-game-filters__reset:active {
  transform: translateY(1px);
}

body .supporter-game-filters__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body .supporter-game-filters__done {
  min-height: 2.5rem;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: 0.65rem;
  color: #fff;
  background: var(--club-red);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

body .supporter-game-filters__done:focus-visible,
body .supporter-game-filters__reset:focus-visible {
  outline: 3px solid rgba(201, 29, 49, 0.2);
  outline-offset: 2px;
}

body .supporter-filter-empty {
  margin: 0.75rem 0;
  padding: 1.1rem;
  border-radius: 0.8rem;
  background: rgba(109, 20, 32, 0.05);
}

body .supporter-filter-empty h3,
body .supporter-filter-empty p {
  margin: 0;
}

body .supporter-membership-payment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(109, 20, 32, 0.18);
  border-radius: 0.75rem;
  background: #fff;
}

body .supporter-membership-payment > div {
  display: grid;
  gap: 0.2rem;
}

body .supporter-membership-payment span {
  color: var(--club-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

body .supporter-membership-payment strong {
  color: var(--club-ink);
}

body .supporter-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body .supporter-payment-actions form {
  margin: 0;
}

body .supporter-pay-button.is-stripe {
  color: #fff;
  background: #635bff;
}

body .supporter-pay-button.is-paypal {
  color: #10151d;
  background: #ffc439;
}

body .supporter-filter-empty p {
  margin-top: 0.25rem;
  color: var(--club-muted);
}

@media (max-width: 980px) {
  body .supporter-game-filters__intro {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body .supporter-game-filters {
    gap: 0.6rem;
    padding: 0.7rem 0;
  }

  body .supporter-game-filter-group--quick {
    flex: 1 1 auto;
    min-width: 0;
  }

  body .supporter-game-filter-group--quick .supporter-game-filter-group__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  body .supporter-game-filter-group--quick .supporter-filter-chips {
    flex: 1 1 auto;
  }

  body .supporter-filter-chip,
  body .supporter-game-filters__more > summary {
    min-height: 2.75rem;
    font-size: 0.9rem;
  }

  body .supporter-game-filters__more {
    margin-left: 0;
  }

  body .supporter-game-filters__more > summary > span:first-child {
    max-width: 6.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body .supporter-game-filters__options {
    position: fixed;
    z-index: 60;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    top: auto;
    width: auto;
    max-height: min(70vh, 32rem);
    overflow-y: auto;
    padding: 1rem;
    border-radius: 0.9rem;
    box-shadow: 0 0.4rem 0.5rem rgba(24, 20, 20, 0.15);
  }

  body .supporter-game-filters__reset {
    min-height: 2.75rem;
    font-size: 0.9rem;
  }

  body .supporter-game-filters__done {
    min-height: 2.75rem;
    font-size: 0.9rem;
  }

  body .supporter-membership-payment {
    align-items: stretch;
    flex-direction: column;
  }

  body .supporter-membership-payment form,
  body .supporter-membership-payment button,
  body .supporter-payment-actions form,
  body .supporter-payment-actions button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .supporter-game-filters__chevron {
    transition: none;
  }
}
body .supporter-tab {
    min-height: 2.65rem;
    padding: 0 0.65rem;
    justify-content: center;
    border: 0;
    border-radius: 0.62rem;
    background: transparent;
    font-size: 0.78rem;
}
body .supporter-tab span { min-width: 1.45rem; min-height: 1.45rem; padding: 0 0.35rem; font-size: 0.72rem; }
body .supporter-tab.is-active { background: var(--app-surface); color: var(--app-red-dark); box-shadow: 0 0.25rem 0.8rem rgba(24, 20, 20, 0.08); }
body .supporter-tab.is-active span { color: #fff; background: var(--app-red); }

body .supporter-card-list,
body .supporter-compact-list { gap: 0.65rem; }
body .supporter-card,
body .supporter-compact-card { padding: 0.95rem; }
body .supporter-card__top,
body .supporter-compact-card { display: grid; gap: 0.65rem; }
body .supporter-game-row { padding: 0; border-left-width: 0.3rem; }
body .supporter-game-row__summary {
    grid-template-columns: minmax(0, 1fr) 1.1rem;
    gap: 0.6rem;
    padding: 0.95rem;
}
body .supporter-game-row__quickfacts,
body .supporter-game-row__badges { grid-column: 1; justify-content: flex-start; }
body .supporter-game-row__chevron { grid-column: 2; grid-row: 1; }
body .supporter-game-row__body { padding: 0 0.95rem 0.95rem; }
body .supporter-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; margin-top: 0.75rem; }
body .supporter-fact { padding: 0.7rem; border-radius: 0.7rem; }
body .supporter-fact span { font-size: 0.64rem; }
body .supporter-fact strong { margin-top: 0.3rem; font-size: 0.9rem; }
body .supporter-badge,
body .supporter-status-pill { min-height: 1.75rem; padding: 0 0.55rem; font-size: 0.75rem; }
body .supporter-calendar { margin-bottom: 0.75rem; padding: 0.85rem; border-radius: 0.8rem; }
body .supporter-calendar__head { display: grid; gap: 0.6rem; }
body .supporter-calendar__legend { justify-content: flex-start; }
body .supporter-calendar__strip { grid-auto-columns: minmax(14rem, 80%); }
body .supporter-admin-ops { padding: 1rem; }
body .supporter-admin-ops__head h1 { margin: 0; font-size: clamp(1.65rem, 7vw, 2.5rem); }
body .supporter-admin-ops__tasks { grid-template-columns: minmax(0, 1fr); gap: 0.55rem; }
body .supporter-admin-ops__task { min-height: 0; padding: 0.85rem; border-radius: 0.75rem; }

/* Anmeldung */
body.page-login-simple {
    min-height: 100dvh;
    padding: 0;
    background: var(--app-bg);
}

body.page-login-simple::before { display: none; }

body .login-page {
    width: 100%;
    min-height: 100dvh;
    padding: 0;
    display: grid;
    align-items: stretch;
    background: var(--app-bg);
}

body .login-intro {
    position: relative;
    min-height: 17rem;
    padding: max(1.35rem, env(safe-area-inset-top)) 1.2rem 3.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(145deg, #12141a 0%, #231218 54%, var(--app-red-dark) 100%);
}

body .login-intro::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 14rem;
    height: 14rem;
    border: 2rem solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

body .login-intro__brand {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border-radius: 0.72rem;
    color: #fff;
    background: var(--app-red-strong);
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body .login-intro__eyebrow {
    margin: 1.5rem 0 0.45rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body .login-intro h1 { margin: 0; max-width: 12ch; color: #fff; font-size: clamp(2.25rem, 10vw, 4.8rem); }
body .login-intro__copy { display: none; }
body .login-intro__features { display: none; }

body .login-panel {
    position: relative;
    z-index: 2;
    width: calc(100% - 1.5rem);
    max-width: 30rem;
    margin: -2.35rem auto 1.25rem;
    padding: 1.3rem 1.15rem 1.1rem;
    align-self: start;
    border: 1px solid var(--app-line);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1.3rem 3rem rgba(20, 17, 18, 0.13);
}

body .login-panel__header { margin-bottom: 1rem; }
body .login-panel__header::before { display: none; }
body .login-panel__meta { margin-bottom: 0.35rem; color: var(--app-red); font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase; }
body .login-panel__header h2 { margin: 0; font-size: 1.8rem; }
body .login-panel__welcome { margin: 0.35rem 0 0; color: var(--app-muted); font-size: 0.88rem; }
body .login-panel__body { gap: 0.35rem; }
body .login-form { gap: 0.35rem; }
body .login-form input { min-height: 3.15rem; margin-bottom: 0.55rem; }
body .login-form__submit { width: 100%; min-height: 3.15rem; margin-top: 0.2rem; }
body .login-panel__footer { margin-top: 0.65rem; justify-content: center; }
body .login-panel__link { color: var(--app-muted); font-size: 0.84rem; }

/* Wiederkehrende Bereichskomponenten */
body [class*="profile-"][class$="__card"],
body [class*="exchange-"][class$="__card"],
body [class*="merch-"][class$="__card"],
body [class*="assign-"][class$="__card"] {
    border-color: var(--app-line);
    border-radius: var(--app-radius);
    box-shadow: none;
}

body .mobile-list,
body .mobile-card-list { gap: 0.65rem; }
body .mobile-card { border: 1px solid var(--app-line); border-radius: var(--app-radius); background: var(--app-surface); box-shadow: none; }

/* Footer */
body .site-footer { margin-top: 1rem; border-top: 1px solid var(--app-line); background: transparent; }
body .site-footer__inner {
    width: min(100%, var(--app-content));
    padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    display: grid;
    gap: 0.85rem;
}
body .site-footer__brand { display: grid; gap: 0.2rem; }
body .site-footer__brand span,
body .site-footer__meta { color: var(--app-muted); font-size: 0.78rem; }

@media (min-width: 48rem) {
    body.is-logged-in { padding-bottom: 0; }
    body .site-nav__inner { min-height: 4.7rem; padding: 0.7rem 1.25rem; }
    body .site-nav__toggle { display: none; }
    body .site-nav__links { display: flex; align-items: center; justify-content: center; gap: 0.2rem; }
    body .site-link {
        min-height: 2.55rem;
        padding: 0 0.72rem;
        display: inline-flex;
        align-items: center;
        border-radius: 0.65rem;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.78rem;
        font-weight: 750;
    }
    body .site-link:hover,
    body .site-link--active { color: #fff; text-decoration: none; background: rgba(255, 255, 255, 0.09); }
    body .site-link--label { padding-inline: 0.35rem; color: rgba(255, 255, 255, 0.36); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
    body .site-nav__menu { position: relative; }
    body .site-nav__menu > summary::after { margin-left: 0.45rem; }
    body .site-nav__menu-panel {
        top: calc(100% + 0.6rem);
        right: 0;
        width: min(44rem, calc(100vw - 2rem));
        padding: 0.75rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        border: 1px solid var(--app-line);
        border-radius: 1rem;
        background: #f7f5f1;
        box-shadow: 0 1.4rem 3.5rem rgba(11, 12, 15, 0.24);
    }
    body .site-nav__menu-panel::before {
        background: #f7f5f1;
        border-color: var(--app-line);
    }
    body .site-nav__menu-group {
        min-width: 0;
        padding: 0.65rem;
        border-radius: 0.75rem;
        background: #fff;
    }
    body .site-nav__menu-group > p {
        margin: 0 0 0.35rem 0.65rem;
        color: var(--app-muted);
        font-size: 0.64rem;
        font-weight: 850;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }
    body .site-nav__menu-group > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem; }
    body .site-nav__menu-link { min-width: 0; padding: 0.65rem; border-radius: 0.55rem; color: var(--app-ink); font-size: 0.76rem; line-height: 1.25; }
    body .site-nav__menu-link:hover,
    body .site-nav__menu-link.is-active { color: var(--app-red-dark); text-decoration: none; background: rgba(143, 17, 32, 0.08); }
    body .site-nav__meta { display: flex; justify-content: flex-end; }
    body .site-account { position: relative; }
    body .site-account__trigger {
        min-height: 2.65rem;
        padding: 0.25rem 0.35rem 0.25rem 0.3rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        border-radius: 0.75rem;
        color: #fff;
        cursor: pointer;
        list-style: none;
        font-size: 0.78rem;
        font-weight: 750;
    }
    body .site-account__trigger::-webkit-details-marker { display: none; }
    body .site-account__trigger::after { content: ""; width: 0.4rem; height: 0.4rem; margin: 0 0.4rem 0.25rem 0.1rem; border-right: 1.5px solid rgba(255,255,255,.55); border-bottom: 1.5px solid rgba(255,255,255,.55); transform: rotate(45deg); }
    body .site-account__trigger:hover { background: rgba(255, 255, 255, 0.08); }
    body .site-account__avatar { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 0.6rem; background: var(--app-red-strong); font-weight: 850; }
    body .site-account__panel {
        position: absolute;
        top: calc(100% + 0.55rem);
        right: 0;
        width: 13.5rem;
        padding: 0.45rem;
        display: grid;
        border: 1px solid var(--app-line);
        border-radius: 0.8rem;
        background: #fff;
        box-shadow: var(--app-shadow);
    }
    body .site-account__panel a { padding: 0.65rem 0.7rem; border-radius: 0.55rem; color: var(--app-ink); font-size: 0.8rem; font-weight: 700; }
    body .site-account__panel a:hover { text-decoration: none; background: #f2f0ec; }
    body .site-account__panel .site-account__logout { margin-top: 0.25rem; border-top: 1px solid var(--app-line); border-radius: 0; color: var(--app-red); }
    body .mobile-dock { display: none; }

    body .page-shell,
    body .supporter-hub,
    body main.container { padding: 1.5rem 1.25rem 3.5rem; }
    body .page-hero { padding: 2rem; margin-bottom: 1.1rem; }
    body .block,
    body .page-panel { padding: 1.5rem; }
    body .page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    body .page-grid--sidebar { grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.4fr); }
    body .dashboard-workspace,
    body .profile-grid,
    body .merch-grid,
    body .assign-grid,
    body .review-grid,
    body .settings-split,
    body .auth-grid,
    body .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    body .form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    body .metric-grid { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.8rem; }

    body .supporter-hero { grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr); gap: 1rem; margin-bottom: 1rem; }
    body .supporter-hero--single { grid-template-columns: minmax(0, 1fr); }
    body .supporter-hero__copy,
    body .supporter-hero__spotlight { padding: 1.75rem; }
    body .supporter-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-bottom: 1rem; }
    body .supporter-stat:last-child:nth-child(odd) { grid-column: auto; }
    body .supporter-mobile-actions { display: none; }
    body .dashboard-mode-switch { width: min(100%, 48rem); margin: 0 auto 1rem; }
    body .supporter-layout { grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.75fr); gap: 1rem; }
    body .supporter-main { gap: 1rem; }
    body .supporter-panel,
    body .supporter-sidecard { padding: 1.35rem; }
    body .supporter-panel__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; }
    body .supporter-tabs { width: auto; min-width: 18rem; }
    body .supporter-game-row__summary { grid-template-columns: minmax(12rem, 1.35fr) minmax(10rem, 0.9fr) minmax(9rem, 1fr) 1.1rem; gap: 0.8rem; }
    body .supporter-game-row__quickfacts { grid-column: auto; }
    body .supporter-game-row__badges { grid-column: auto; justify-content: flex-end; }
    body .supporter-game-row__chevron { grid-column: auto; grid-row: auto; }
    body .supporter-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body .supporter-admin-ops__tasks { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }

    body .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 48rem) and (max-width: 69.999rem) {
    body .site-nav__inner { grid-template-columns: minmax(0, 1fr) auto; }
    body .site-nav__links,
    body .site-nav__meta { display: none; }
    body .site-nav__toggle { display: inline-grid; }
}

@media (min-width: 64rem) {
    body .login-page {
        grid-template-columns: minmax(0, 1.12fr) minmax(27rem, 0.88fr);
        align-items: stretch;
    }
    body .login-intro { min-height: 100dvh; padding: clamp(2rem, 5vw, 5rem); justify-content: center; }
    body .login-intro__brand { position: absolute; top: 2rem; left: clamp(2rem, 5vw, 5rem); }
    body .login-intro__eyebrow { margin-top: 0; }
    body .login-intro__copy { display: block; max-width: 35rem; margin: 1.4rem 0 0; color: rgba(255, 255, 255, 0.7); font-size: 1.02rem; }
    body .login-intro__features { max-width: 43rem; margin: 3rem 0 0; padding: 1.15rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.12); list-style: none; }
    body .login-intro__features li { display: grid; gap: 0.2rem; }
    body .login-intro__features strong { color: #fff; }
    body .login-intro__features span { color: rgba(255, 255, 255, 0.48); font-size: 0.76rem; line-height: 1.4; }
    body .login-panel { width: min(calc(100% - 3rem), 28rem); margin: auto; padding: 1.8rem; align-self: center; box-shadow: 0 1.5rem 4rem rgba(20, 17, 18, 0.09); }
}

@media (min-width: 70rem) {
    body .site-nav__inner { grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.7fr) minmax(10rem, 0.65fr); }
    body .site-brand__title { font-size: 0.95rem; }
    body .site-link { padding-inline: 0.85rem; font-size: 0.82rem; }
}

@media (max-width: 23rem) {
    body .site-brand__eyebrow { display: none; }
    body .site-drawer__links { grid-template-columns: minmax(0, 1fr); }
    body .supporter-stats,
    body .supporter-mobile-actions,
    body .metric-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Zustände und kompakte Arbeitsflächen haben Vorrang vor Grundregeln. */
body button.button--secondary,
body button.button--ghost,
body button.alt,
body button.ghost { color: var(--app-ink); background: var(--app-surface-soft); border-color: var(--app-line); }
body button:disabled,
body input[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }
body .mobile-dock { border-radius: 0; }
body .mobile-dock__link.is-active { box-shadow: none; }
body .site-account__name { max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body .site-nav__menu-panel { max-height: calc(100dvh - 6rem); overflow-y: auto; }
body .site-nav__menu-panel { overscroll-behavior: contain; }
body .supporter-hero__links { display: flex; }
body .supporter-hero__link { width: auto; }
body .login-page { max-width: none; margin: 0; }
@media (min-width: 48rem) and (max-width: 79.999rem) {
    body .supporter-layout { grid-template-columns: minmax(0, 1fr); }
    body .supporter-panel__head { grid-template-columns: minmax(0, 1fr); }
    body .supporter-game-row__summary { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) 1rem; }
}
