:root {
    --club-red: #8f1120;
    --club-red-strong: #b81628;
    --club-red-dark: #5f0914;
    --club-night: #10151d;
    --club-gold: #bf8f2c;
    --club-sand: #f6efe8;
    --club-cream: #fffaf6;
    --club-surface: rgba(255, 255, 255, 0.96);
    --club-surface-soft: rgba(255, 252, 248, 0.78);
    --club-ink: #16212c;
    --club-muted: #667085;
    --club-line: #e6ddd6;
    --club-card: rgba(255, 255, 255, 0.94);
    --club-green: #18794e;
    --club-amber: #a96c11;
    --club-shadow: 0 18px 50px rgba(23, 30, 40, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--club-ink);
    font-family: "Bahnschrift", "Trebuchet MS", "Segoe UI", sans-serif;
    line-height: 1.55;
    background:
        radial-gradient(circle at top left, rgba(184, 22, 40, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(143, 17, 32, 0.08), transparent 24%),
        linear-gradient(180deg, #fbf8f5 0%, #f4eee8 100%);
}

h1,
h2,
h3,
h4 {
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -0.02em;
}

a {
    color: var(--club-red);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
.button,
input[type="submit"] {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
    box-shadow: 0 14px 28px rgba(143, 17, 32, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    text-decoration: none;
}

button:disabled,
.button:disabled,
input[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
    filter: none;
    box-shadow: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    margin: 6px 0 14px 0;
    border: 1px solid var(--club-line);
    border-radius: 12px;
    font-size: 0.98rem;
    background: rgba(255, 255, 255, 0.98);
    color: var(--club-ink);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(184, 22, 40, 0.16);
    border-color: rgba(184, 22, 40, 0.45);
}

label {
    display: block;
    color: var(--club-red);
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(230, 221, 214, 0.85);
}

th {
    color: #fff;
    background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
}

.container {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 24px 18px 40px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(18px);
    background: rgba(248, 242, 236, 0.84);
    border-bottom: 1px solid rgba(230, 221, 214, 0.9);
}

.site-nav__inner {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--club-ink);
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand__mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: linear-gradient(145deg, var(--club-red-strong), var(--club-red-dark));
    box-shadow: 0 14px 26px rgba(143, 17, 32, 0.20);
    overflow: hidden;
}

.site-brand__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.site-brand__mark.shape-square,
.settings-preview__mark.shape-square {
    border-radius: 10px;
}

.site-brand__mark.shape-pill,
.settings-preview__mark.shape-pill {
    width: 58px;
    border-radius: 999px;
}

.site-brand__mark.shape-shield,
.settings-preview__mark.shape-shield {
    border-radius: 16px 16px 24px 24px;
    clip-path: polygon(50% 0%, 92% 12%, 92% 58%, 50% 100%, 8% 58%, 8% 12%);
}

body.theme-preset-night-red {
    background:
        radial-gradient(circle at top left, rgba(170, 18, 40, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(9, 14, 21, 0.10), transparent 24%),
        linear-gradient(180deg, #f8f5f4 0%, #efe7e6 100%);
}

body.theme-preset-night-red .site-nav,
body.theme-preset-night-red .settings-preview__hero {
    background: rgba(14, 20, 28, 0.88);
}

body.theme-preset-forest-gold {
    background:
        radial-gradient(circle at top left, rgba(31, 90, 68, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(210, 163, 58, 0.10), transparent 24%),
        linear-gradient(180deg, #f7f5ef 0%, #ede8dc 100%);
}

body.theme-preset-forest-gold .site-nav,
body.theme-preset-forest-gold .settings-preview__hero {
    background: rgba(16, 33, 28, 0.88);
}

body.theme-preset-ocean-slate {
    background:
        radial-gradient(circle at top left, rgba(30, 95, 134, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(211, 160, 75, 0.10), transparent 24%),
        linear-gradient(180deg, #f5f7f8 0%, #e7edf0 100%);
}

body.theme-preset-ocean-slate .site-nav,
body.theme-preset-ocean-slate .settings-preview__hero {
    background: rgba(15, 24, 34, 0.88);
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-brand__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--club-muted);
}

.site-brand__title {
    font-size: 1.02rem;
    font-weight: 900;
    color: var(--club-ink);
}

.site-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--club-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.site-link:hover {
    text-decoration: none;
    background: rgba(184, 22, 40, 0.08);
}

.site-link--active {
    color: #fff;
    background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
    box-shadow: 0 12px 24px rgba(143, 17, 32, 0.16);
}

.site-link--label {
    color: var(--club-muted);
    cursor: default;
}

.site-link--label:hover {
    background: transparent;
}

.site-link--ghost {
    border: 1px solid rgba(143, 17, 32, 0.18);
}

.site-nav__bmc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFDD00;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    flex-shrink: 0;
    /* Immer sichtbar — auch auf Mobil */
    order: 99;
}
.site-nav__bmc:hover {
    transform: scale(1.12);
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.site-nav__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.site-user {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--club-ink);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(230, 221, 214, 0.92);
}

.site-user--muted {
    color: var(--club-muted);
}

.site-nav__toggle,
.site-drawer,
.site-drawer__backdrop {
    display: none;
}

.site-nav__toggle {
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.site-nav__toggle-label {
    font-size: 0.92rem;
    font-weight: 800;
}

.site-nav__toggle-bars {
    display: inline-grid;
    gap: 4px;
}

.site-nav__toggle-bars span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.site-drawer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(10, 12, 18, 0.54);
    backdrop-filter: blur(6px);
}

.site-drawer {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 130;
    padding: 0 0 max(18px, env(safe-area-inset-bottom));
}

.site-drawer__panel {
    max-height: min(84vh, 780px);
    overflow: auto;
    padding: 22px 18px 24px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    background: rgba(255, 250, 246, 0.98);
    border-top: 1px solid rgba(224, 214, 205, 0.96);
    box-shadow: 0 -24px 60px rgba(12, 18, 26, 0.24);
}

.site-drawer__head,
.site-drawer__meta,
.site-drawer__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.site-drawer__head h2 {
    margin: 6px 0 0;
    color: var(--club-night);
    font-size: 1.55rem;
}

.site-drawer__eyebrow {
    margin: 0;
    color: var(--club-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-drawer__close {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(18, 22, 28, 0.08);
    color: var(--club-night);
    box-shadow: none;
}

.site-drawer__meta {
    margin-top: 16px;
}

.site-drawer__pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(224, 214, 205, 0.92);
    color: var(--club-night);
    font-size: 0.9rem;
    font-weight: 700;
}

.site-drawer__section {
    margin-top: 18px;
}

.site-drawer__links {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.site-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 214, 205, 0.9);
    color: var(--club-night);
    font-weight: 800;
}

.site-drawer__link:hover {
    text-decoration: none;
    background: #fff;
}

.site-drawer__link.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
    border-color: transparent;
}

.site-drawer__link--ghost {
    justify-content: center;
    background: rgba(18, 22, 28, 0.92);
    color: #fff;
    border-color: transparent;
}

.mobile-dock {
    display: none;
}

body.is-mobile-nav-open {
    overflow: hidden;
}

.site-footer {
    margin-top: 28px;
    border-top: 1px solid rgba(230, 221, 214, 0.9);
    background: rgba(255, 250, 246, 0.88);
}

.site-footer__inner {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 20px 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--club-muted);
    font-size: 0.9rem;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-footer__inner strong {
    display: block;
    color: var(--club-ink);
    margin-bottom: 2px;
}

@media (max-width: 600px) {
    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding: 24px 16px;
    }
    .site-footer__brand {
        align-items: center;
    }
}

.site-footer__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.site-footer__bmc {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 30px;
    background: #FFDD00;
    color: #000 !important;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    align-self: center;
}
.site-footer__bmc:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(0,0,0,.18);
}

/* Buy Me a Coffee – Admin-Button */
.bmc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 24px;
    background: #FFDD00;
    color: #000 !important;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-start;
    transition: opacity .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.bmc-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.auth-shell {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 34px 18px 46px;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 480px);
    gap: 22px;
    align-items: stretch;
}

.auth-hero,
.auth-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(230, 221, 214, 0.95);
    box-shadow: var(--club-shadow);
}

.auth-hero {
    padding: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 22%),
        linear-gradient(140deg, #7d0b16 0%, #b81628 48%, #4f0b13 100%);
}

.auth-hero__kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.auth-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    line-height: 1.02;
}

.auth-hero p {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.86);
}

.auth-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.auth-hero__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-feature-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.auth-feature {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-feature strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.auth-card {
    padding: 28px 26px;
    background: rgba(255, 255, 255, 0.96);
}

.auth-card__eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--club-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(184, 22, 40, 0.08);
}

.auth-card__modules {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.auth-card__modules span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.06);
    color: var(--club-night);
    font-size: 0.8rem;
    font-weight: 800;
}

.setup-checks {
    display: grid;
    gap: 6px;
    margin-bottom: 4px;
}
.setup-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    padding: 5px 10px;
    border-radius: 8px;
}
.setup-check--ok {
    background: rgba(22, 163, 74, .08);
    color: #166534;
}
.setup-check--err {
    background: rgba(220, 38, 38, .08);
    color: #991b1b;
    font-weight: 600;
}
.setup-check__icon {
    font-size: .9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.auth-install-modules {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(216, 204, 194, 0.9);
    background: rgba(248, 243, 238, 0.72);
}

.auth-install-modules legend {
    padding: 0 8px;
    color: var(--club-night);
    font-weight: 800;
}

.auth-install-module {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.auth-install-module input {
    margin-top: 4px;
}

.auth-install-module strong {
    display: block;
    color: var(--club-night);
}

.auth-install-module small {
    display: block;
    margin-top: 4px;
    color: var(--club-muted);
    line-height: 1.45;
}

.auth-card h2 {
    margin: 0 0 6px;
    font-size: 1.9rem;
    color: var(--club-ink);
}

.auth-card h1 {
    margin: 0 0 6px;
    font-size: 1.9rem;
    color: var(--club-ink);
}

.auth-card__copy {
    margin: 0 0 18px;
    color: var(--club-muted);
}

.auth-shell--solo {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-inline: 16px;
}

.auth-grid--solo {
    width: min(100%, 440px);
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
}

.auth-grid--solo .auth-card {
    margin: 0 auto;
}

body.page-login-simple {
    min-height: 100vh;
    background: #f4efe9;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
}

.login-panel {
    width: min(100%, 380px);
    padding: 28px 24px 22px;
    border: 1px solid rgba(221, 211, 203, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 50px rgba(20, 24, 31, 0.08);
}

.login-panel__header {
    margin-bottom: 18px;
}

.login-panel__meta {
    margin: 0 0 6px;
    color: var(--club-muted);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.login-panel__header h1 {
    margin: 0;
    font-size: 1.95rem;
    color: var(--club-ink);
}

.login-panel__body {
    display: grid;
    gap: 8px;
}

.login-form {
    display: grid;
    gap: 4px;
}

.login-form input {
    min-height: 50px;
    margin-bottom: 10px;
}

.login-form__submit {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
}

.login-panel__footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.login-panel__link {
    color: var(--club-muted);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

.auth-link {
    color: var(--club-ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.alert--error {
    color: #8f1221;
    background: #fff1f3;
    border-color: #ffd6dc;
}

.alert--success {
    color: #0d6c45;
    background: #edf9f2;
    border-color: #cfe8dc;
}

.alert--info {
    color: #835200;
    background: #fff8eb;
    border-color: #ffe2a9;
}

.helper-text {
    margin-top: -6px;
    margin-bottom: 14px;
    color: var(--club-muted);
    font-size: 0.86rem;
}

.button--secondary {
    color: var(--club-red);
    background: rgba(184, 22, 40, 0.06);
    border: 1px solid rgba(184, 22, 40, 0.16);
    box-shadow: none;
}

.button--secondary:hover {
    background: rgba(184, 22, 40, 0.10);
}

.button--ghost {
    color: var(--club-ink);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(22, 33, 44, 0.10);
    box-shadow: none;
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.92);
}

.button--danger {
    background: linear-gradient(135deg, #c62828, #7f1111);
    box-shadow: 0 14px 28px rgba(127, 17, 17, 0.18);
}

.button--danger:hover {
    filter: brightness(1.03);
}

.block,
.page-panel {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: var(--club-surface);
    box-shadow: var(--club-shadow);
}

.page-shell {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 28px 18px 44px;
}

.page-shell--wide {
    width: min(100%, 1320px);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 32px;
    margin-bottom: 22px;
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 18%),
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.10), transparent 20%),
        linear-gradient(135deg, rgba(8, 12, 17, 0.16), rgba(8, 12, 17, 0.06)),
        linear-gradient(135deg, #4a0d16 0%, #8f1120 42%, #c91d31 100%);
    box-shadow: 0 24px 54px rgba(71, 11, 21, 0.18);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -28% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
    pointer-events: none;
}

.page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-hero__title {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.98;
}

.page-hero__copy {
    margin: 12px 0 0;
    max-width: 50rem;
    color: rgba(255, 255, 255, 0.84);
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.page-meta__item {
    min-width: 160px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-meta__label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.page-meta__value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.page-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.page-grid--sidebar {
    grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.18fr);
}

.page-panel--tight {
    padding: 22px;
}

.page-panel--muted {
    background:
        linear-gradient(180deg, rgba(255, 250, 246, 0.96), rgba(255, 255, 255, 0.94));
}

.page-section__title {
    margin: 0 0 6px;
    font-size: 1.55rem;
}

.page-section__copy {
    margin: 0 0 18px;
    color: var(--club-muted);
}

.metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 20px;
}

.metric-card {
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 239, 0.95));
    box-shadow: 0 12px 28px rgba(23, 30, 40, 0.06);
}

.metric-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--club-muted);
}

.metric-card__value {
    display: block;
    margin-bottom: 6px;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--club-night);
}

.metric-card__copy {
    color: var(--club-muted);
    font-size: 0.92rem;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
}

.toolbar__group {
    flex: 1 1 220px;
}

.toolbar__group--compact {
    flex: 0 1 200px;
}

.toolbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.toolbar__actions a {
    font-weight: 700;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 16px;
    color: var(--club-ink);
    background: rgba(248, 240, 235, 0.92);
    border: 1px solid rgba(230, 221, 214, 0.95);
}

.checkbox-chip input {
    width: auto;
    margin: 0;
}

.settings-module-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.settings-module-card {
    display: grid;
    gap: 10px;
    min-height: 152px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.98), rgba(249, 243, 237, 0.94));
    box-shadow: 0 14px 34px rgba(23, 30, 40, 0.06);
    cursor: pointer;
}

.settings-module-card input {
    width: auto;
    margin: 0;
}

.settings-module-card__check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--club-night);
}

.settings-module-card__title {
    margin: 0;
    font-size: 1.04rem;
    color: var(--club-night);
}

.settings-module-card__copy {
    margin: 0;
    color: var(--club-muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.settings-module-card__tag {
    align-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8f1120;
    background: rgba(193, 18, 31, 0.08);
}

.settings-shell {
    display: grid;
    gap: 22px;
}

.settings-setup {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background:
        radial-gradient(circle at top left, rgba(193, 18, 31, 0.14), transparent 24rem),
        linear-gradient(145deg, rgba(255, 251, 247, 0.98), rgba(248, 241, 234, 0.96));
    box-shadow: 0 22px 50px rgba(23, 30, 40, 0.08);
}

.settings-setup__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.settings-setup__eyebrow {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: var(--club-red);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-setup__title {
    margin: 12px 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.98;
    color: var(--club-night);
}

.settings-setup__copy {
    max-width: 760px;
    margin: 0;
    color: var(--club-muted);
    line-height: 1.65;
}

.settings-progress {
    min-width: 220px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(230, 221, 214, 0.95);
}

.settings-progress__ring {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-progress__ring strong {
    font-size: 2.1rem;
    line-height: 1;
    color: var(--club-night);
}

.settings-progress__ring span {
    color: var(--club-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-progress__meta {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.settings-progress__meta strong {
    color: var(--club-night);
}

.settings-progress__label {
    display: block;
    color: var(--club-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-progress__value {
    display: block;
    margin-top: 8px;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--club-night);
    line-height: 1;
}

.settings-progress__bar {
    margin-top: 14px;
    height: 10px;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.08);
    overflow: hidden;
}

.settings-progress__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
}

.settings-check-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.settings-check {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(230, 221, 214, 0.95);
    color: var(--club-muted);
    font-weight: 700;
}

.settings-check::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.16);
    flex: 0 0 auto;
}

.settings-check.is-done {
    color: var(--club-night);
}

.settings-check.is-done::before {
    background: var(--club-green);
    box-shadow: 0 0 0 6px rgba(24, 121, 78, 0.12);
}

.settings-quickstart {
    display: grid;
    gap: 16px;
}

.settings-quickstart__grid {
    align-items: end;
}

.settings-wizard-nav {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 18px 0 24px;
}

.settings-wizard-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 22px;
    border: 1px solid rgba(216, 204, 194, 0.9);
    background: rgba(255, 255, 255, 0.92);
    color: var(--club-night);
    box-shadow: 0 14px 30px rgba(20, 24, 31, 0.06);
}

.settings-wizard-step__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.06);
    font-weight: 900;
}

.settings-wizard-step__copy {
    display: grid;
    gap: 3px;
}

.settings-wizard-step__copy strong {
    color: var(--club-night);
}

.settings-wizard-step__copy small {
    color: var(--club-muted);
}

.settings-wizard-step.is-active {
    border-color: rgba(184, 22, 40, 0.26);
    background: linear-gradient(135deg, rgba(184, 22, 40, 0.10), rgba(255, 255, 255, 0.95));
    box-shadow: 0 20px 42px rgba(126, 13, 27, 0.14);
}

.settings-wizard-step.is-active .settings-wizard-step__index {
    color: #fff;
    background: linear-gradient(145deg, var(--club-red-strong), var(--club-red-dark));
}

.settings-wizard-step.is-done:not(.is-active) .settings-wizard-step__index {
    color: #0d6c45;
    background: #edf9f2;
}

.settings-wizard-hint {
    margin: 0 0 22px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(216, 204, 194, 0.9);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 34px rgba(20, 24, 31, 0.05);
}

.settings-wizard-hint strong {
    display: block;
    margin-top: 4px;
    color: var(--club-night);
}

.settings-wizard-hint p {
    margin: 8px 0 0;
    color: var(--club-muted);
}

.settings-split {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
}

.settings-tabs {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.settings-tab {
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(216, 204, 194, 0.9);
    background: rgba(255, 255, 255, 0.92);
    color: var(--club-muted);
    box-shadow: 0 14px 30px rgba(20, 24, 31, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.settings-tab strong {
    color: var(--club-night);
    font-size: 1rem;
}

.settings-tab span {
    font-size: 0.84rem;
    line-height: 1.45;
}

.settings-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(20, 24, 31, 0.08);
}

.settings-tab.is-active {
    border-color: rgba(184, 22, 40, 0.24);
    background: linear-gradient(135deg, rgba(184, 22, 40, 0.10), rgba(255, 255, 255, 0.96));
    box-shadow: 0 22px 44px rgba(126, 13, 27, 0.12);
}

.settings-preview {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}

.settings-preview__hero {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 14rem),
        linear-gradient(145deg, var(--club-night), var(--club-red));
    box-shadow: 0 24px 54px rgba(23, 30, 40, 0.18);
}

.settings-preview__hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -40% auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(12px);
}

.settings-preview__mark {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--club-red-strong), var(--club-red-dark));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.settings-preview__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.settings-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.settings-preset-card {
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(76, 57, 33, 0.10);
    background: rgba(255,255,255,0.7);
}

.settings-preset-card strong {
    display: block;
    margin-bottom: 10px;
}

.settings-preset-card__swatches {
    display: flex;
    gap: 8px;
}

.settings-preset-card__swatches span {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.08);
}

.settings-preview__eyebrow {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.settings-preview__title {
    display: block;
    margin-top: 6px;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.02;
}

.settings-preview__copy {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.settings-preview__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.settings-preview__panel > .settings-preview__meta {
    margin-top: 0;
    color: var(--club-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-preview__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
}

.settings-preview__panel {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 34px rgba(23, 30, 40, 0.06);
}

.settings-preview__panel h3 {
    margin: 0 0 8px;
    color: var(--club-night);
    font-size: 1.08rem;
}

.settings-preview__panel p {
    margin: 0;
    color: var(--club-muted);
    line-height: 1.55;
}

.settings-section__head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.stack-sm {
    display: grid;
    gap: 10px;
}

.settings-section {
    scroll-margin-top: 110px;
}

.settings-section.is-current {
    border-color: rgba(184, 22, 40, 0.24);
    box-shadow: 0 24px 54px rgba(126, 13, 27, 0.12);
}

.settings-section.is-hidden {
    display: none;
}

.settings-wizard-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 26px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(216, 204, 194, 0.9);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(20, 24, 31, 0.06);
}

.settings-wizard-footer strong {
    color: var(--club-night);
}

.settings-color-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.settings-color-field {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.settings-color-swatch {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(16, 21, 29, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.settings-color-swatch input[type="color"] {
    width: 58px;
    min-width: 58px;
    height: 44px;
    padding: 4px;
    margin: 0;
    border-radius: 12px;
}

.settings-color-swatch input[type="text"] {
    margin: 0;
}

.calendar-settings-stack {
    display: grid;
    gap: 16px;
}

.calendar-bus-overview {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.calendar-bus-kpi {
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: rgba(255, 255, 255, 0.76);
}

.calendar-bus-kpi span {
    display: block;
    margin-bottom: 6px;
    color: var(--club-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calendar-bus-kpi strong {
    display: block;
    font-size: 1.5rem;
    color: var(--club-night);
    line-height: 1.05;
}

.calendar-bus-kpi small {
    display: block;
    margin-top: 6px;
    color: var(--club-muted);
}

.calendar-bus-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: rgba(255, 253, 249, 0.94);
}

.calendar-bus-card__toggle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.calendar-bus-card__toggle label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 800;
    color: var(--club-night);
}

.calendar-bus-card__caption {
    color: var(--club-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.calendar-bus-card__fields {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calendar-bus-card__field {
    display: grid;
    gap: 6px;
}

.calendar-bus-card__field span {
    color: var(--club-muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calendar-bus-card__field input {
    max-width: 100%;
}

.calendar-bus-card__summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.calendar-bus-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf9f2;
    color: #0d6c45;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.calendar-bus-pill.is-off {
    background: rgba(22, 33, 44, 0.08);
    color: var(--club-muted);
}

.calendar-bus-note {
    color: var(--club-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.table-shell {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(230, 221, 214, 0.96);
    background: var(--club-surface);
    box-shadow: 0 12px 28px rgba(23, 30, 40, 0.06);
}

.table-shell--scroll {
    overflow-x: auto;
}

.table-shell table {
    min-width: 100%;
    background: transparent;
}

.table-caption {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 18px 20px 14px;
}

.table-caption h2,
.table-caption h3 {
    margin: 0;
}

.table-caption p {
    margin: 4px 0 0;
    color: var(--club-muted);
}

.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.table-cell-stack {
    display: grid;
    gap: 6px;
}

.mono {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.92rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: rgba(22, 33, 44, 0.08);
    color: var(--club-night);
}

.pill--success {
    background: #edf9f2;
    color: #0d6c45;
}

.pill--warn {
    background: #fff6e5;
    color: #8a5800;
}

.pill--danger {
    background: #fff0f3;
    color: #9d1b2d;
}

.pill--info {
    background: #eef4ff;
    color: #214f9d;
}

.notice-band {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    background: linear-gradient(180deg, rgba(255, 249, 242, 0.95), rgba(255, 255, 255, 0.98));
}

.notice-band__copy {
    color: var(--club-muted);
}

.copy-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(249, 244, 239, 0.88);
    border: 1px solid rgba(230, 221, 214, 0.95);
}

.copy-field input {
    margin: 0;
    border: 0;
    background: transparent;
    padding: 0;
}

.empty-state {
    padding: 24px 0;
    color: var(--club-muted);
}

.text-muted {
    color: var(--club-muted);
}

.page-backlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.surface-note {
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--club-ink);
    background: rgba(248, 240, 235, 0.92);
    border: 1px solid rgba(230, 221, 214, 0.95);
}

.surface-note strong {
    display: block;
    margin-bottom: 4px;
}

.stack-lg {
    display: grid;
    gap: 20px;
}

.admin-desktop-table {
    display: block;
}

.admin-mobile-list {
    display: none;
    gap: 16px;
    margin-top: 18px;
}

.admin-mobile-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 252, 248, 0.95);
    border: 1px solid rgba(224, 214, 205, 0.88);
    box-shadow: 0 20px 46px rgba(15, 22, 31, 0.08);
}

.admin-mobile-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.admin-mobile-card__title {
    margin: 0;
    color: var(--club-night);
    font-size: 1.15rem;
    line-height: 1.1;
}

.admin-mobile-card__copy {
    margin: 4px 0 0;
    color: var(--club-muted);
}

.admin-mobile-kv {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-mobile-kv > div {
    display: grid;
    gap: 4px;
    padding: 12px 13px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(230, 221, 214, 0.95);
    min-width: 0;
}

.admin-mobile-kv span {
    color: var(--club-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-mobile-kv strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--club-night);
}

.admin-mobile-note {
    color: var(--club-muted);
    overflow-wrap: anywhere;
}

.admin-mobile-actions {
    display: grid;
    gap: 10px;
}

.admin-mobile-actions > * {
    width: 100%;
}

.admin-mobile-card .mono,
.admin-mobile-card code {
    overflow-wrap: anywhere;
}

@keyframes surface-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-hero,
.page-panel,
.metric-card,
.table-shell {
    animation: surface-rise 0.35s ease;
}

.landing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: start;
}

.landing-solo {
    display: flex;
    justify-content: center;
}

.landing-solo .landing-card {
    width: min(100%, 480px);
}

.landing-panel,
.landing-card {
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(230, 221, 214, 0.95);
    box-shadow: var(--club-shadow);
}

.landing-panel {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(12, 15, 22, 0.18), rgba(12, 15, 22, 0.18)),
        linear-gradient(135deg, #4f0b13 0%, #8f1120 45%, #c91d31 100%);
}

.landing-panel h1 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 4.1vw, 4rem);
    line-height: 0.98;
}

.landing-panel p {
    margin: 0;
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.86);
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.landing-stat {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.landing-stat strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.landing-card {
    background: rgba(255, 255, 255, 0.96);
}

.landing-card h2 {
    margin-top: 0;
}

.stack {
    display: grid;
    gap: 14px;
}

@media (max-width: 980px) {
    .site-nav__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-nav__toggle {
        display: inline-flex;
        justify-self: end;
    }

    .site-nav__links,
    .site-nav__meta {
        display: none;
    }

    .site-drawer__backdrop:not([hidden]),
    .site-drawer:not([hidden]) {
        display: block;
    }

    .mobile-dock {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: max(6px, env(safe-area-inset-bottom));
        z-index: 115;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
        border-radius: 22px;
        background: rgba(16, 21, 29, 0.94);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(6, 10, 16, 0.32);
        backdrop-filter: blur(16px);
    }

    .mobile-dock__link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding: 10px 8px;
        border-radius: 16px;
        color: rgba(255, 255, 255, 0.78);
        font-size: 0.86rem;
        font-weight: 800;
        text-align: center;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid transparent;
    }

    .mobile-dock__link:hover {
        text-decoration: none;
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-dock__link.is-active {
        color: #fff;
        background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
    }

    .mobile-dock__link--button {
        appearance: none;
        box-shadow: none;
    }

    body.is-logged-in {
        padding-bottom: 136px;
    }

    .auth-grid,
    .landing-grid,
    .page-grid,
    .page-grid--sidebar,
    .form-grid--2,
    .form-grid--3,
    .calendar-bus-card__fields {
        grid-template-columns: 1fr;
    }

    .landing-stats,
    .settings-wizard-nav,
    .settings-tabs,
    .settings-module-grid,
    .calendar-bus-overview,
    .settings-split,
    .settings-check-grid,
    .settings-color-grid {
        grid-template-columns: 1fr;
    }

    .settings-preview {
        position: static;
    }

    .settings-wizard-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .site-nav__inner,
    .site-footer__inner,
    .auth-shell,
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-nav__links,
    .site-nav__meta {
        width: 100%;
    }

    .site-user,
    .site-link {
        min-height: 38px;
    }

    .page-shell {
        padding-top: 22px;
    }

    .auth-card,
    .auth-hero,
    .landing-panel,
    .landing-card,
    .block,
    .page-panel,
    .page-hero {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .metric-card__value {
        font-size: 1.7rem;
    }

    .table-caption {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* 2026 Redesign */

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(201, 29, 49, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 18%),
        linear-gradient(180deg, #14171d 0, #14171d 148px, #f6f1ea 148px, #f3ede5 100%);
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    font-family: "Oswald", "Bahnschrift", sans-serif;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.container {
    width: min(100%, 1320px);
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(11, 13, 18, 0.94), rgba(18, 22, 28, 0.88));
    backdrop-filter: blur(18px);
}

.site-nav__inner {
    width: min(100%, 1440px);
    padding: 18px 22px;
    gap: 16px 24px;
}

.site-brand {
    color: #fff;
}

.site-brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background:
        linear-gradient(145deg, #d01931 0%, #89111d 100%);
    box-shadow: 0 16px 30px rgba(118, 8, 24, 0.42);
}

.site-brand__eyebrow {
    color: rgba(255, 255, 255, 0.56);
}

.site-brand__title {
    color: #fff;
    font-size: 1.08rem;
}

.site-nav__links {
    gap: 10px;
}

.site-link {
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
}

.site-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.site-link--active {
    color: #fff;
    background: linear-gradient(135deg, #d01931, #95121f);
    box-shadow: 0 16px 28px rgba(143, 17, 32, 0.28);
}

.site-link--label {
    color: rgba(255, 255, 255, 0.42);
    background: transparent;
}

.site-link--ghost {
    border-color: rgba(255, 255, 255, 0.12);
}

.site-user {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
}

.site-user--muted {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer {
    border-top-color: rgba(32, 36, 45, 0.08);
    background: rgba(255, 252, 248, 0.88);
}

.site-footer__inner {
    width: min(100%, 1440px);
    padding: 24px 22px 30px;
}

.auth-shell {
    width: min(100%, 1440px);
    padding: 40px 22px 54px;
}

.auth-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 500px);
    gap: 26px;
}

.auth-hero,
.auth-card,
.landing-panel,
.landing-card,
.page-panel,
.page-hero,
.table-shell {
    border-color: rgba(216, 204, 194, 0.9);
    box-shadow: 0 24px 58px rgba(20, 24, 31, 0.09);
}

.auth-hero {
    min-height: 100%;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(125deg, rgba(10, 12, 16, 0.24), rgba(10, 12, 16, 0.04)),
        linear-gradient(135deg, #3b0b11 0%, #8f1120 44%, #d01931 100%);
}

.auth-hero h1 {
    max-width: 11ch;
}

.auth-feature {
    background: rgba(255, 255, 255, 0.10);
}

.landing-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.82fr);
    gap: 28px;
}

.landing-panel {
    position: relative;
    min-height: 540px;
    padding: 38px;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.14), transparent 20%),
        linear-gradient(140deg, rgba(10, 12, 16, 0.18), rgba(10, 12, 16, 0.08)),
        linear-gradient(135deg, #22070b 0%, #73101b 36%, #d01931 100%);
}

.landing-panel::after {
    content: "";
    position: absolute;
    inset: auto -8% -18% auto;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
    pointer-events: none;
}

.landing-panel h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.landing-card {
    padding: 34px 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 238, 0.96));
}

.page-shell {
    width: min(100%, 1400px);
    padding: 34px 22px 56px;
}

.page-shell--wide {
    width: min(100%, 1520px);
}

.page-hero {
    padding: 38px 40px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(125deg, rgba(8, 12, 17, 0.22), rgba(8, 12, 17, 0.08)),
        linear-gradient(135deg, #20060a 0%, #5c0d16 36%, #c91d31 100%);
}

.page-hero__title {
    max-width: 14ch;
    font-size: clamp(2.4rem, 4.2vw, 4.4rem);
}

.page-meta__item {
    min-width: 180px;
    background: rgba(255, 255, 255, 0.10);
}

.metric-card {
    border-radius: 24px;
}

.toolbar {
    gap: 14px;
}

.table-caption {
    padding: 22px 24px 18px;
}

.table-shell th {
    background: linear-gradient(135deg, #cb1730, #820f1b);
}

.page-shell--dashboard {
    width: min(100%, 1560px);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.72fr);
    gap: 22px;
    margin-bottom: 22px;
    padding: 30px;
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.16), transparent 20%),
        radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.10), transparent 24%),
        linear-gradient(125deg, rgba(10, 12, 16, 0.28), rgba(10, 12, 16, 0.08)),
        linear-gradient(135deg, #18070a 0%, #4d0c15 35%, #ce1b33 100%);
    box-shadow: 0 28px 64px rgba(31, 10, 16, 0.22);
}

.dashboard-hero__kicker {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-hero__title {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.92;
}

.dashboard-hero__copy {
    margin: 12px 0 0;
    max-width: 44rem;
    color: rgba(255, 255, 255, 0.82);
}

.dashboard-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.dashboard-hero__actions .button,
.dashboard-hero__actions button {
    min-height: 46px;
}

.dashboard-side-stat {
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.dashboard-side-stat + .dashboard-side-stat {
    margin-top: 12px;
}

.dashboard-side-stat__label {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.dashboard-side-stat__value {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 0.95;
}

.dashboard-side-stat__copy {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.76);
}

.dashboard-metrics {
    margin-bottom: 22px;
}

.dashboard-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.72fr);
    gap: 22px;
    align-items: start;
}

.dashboard-sidebar {
    display: grid;
    gap: 22px;
    position: sticky;
    top: 104px;
}

.dashboard-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.dashboard-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 30, 40, 0.10);
    background: rgba(248, 244, 239, 0.78);
    color: var(--club-ink);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.dashboard-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(143, 17, 32, 0.20);
}

.dashboard-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ce1b33, #8f1120);
    box-shadow: 0 14px 28px rgba(143, 17, 32, 0.18);
}

.dashboard-tab__count {
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    text-align: center;
    font-size: 0.82rem;
}

.dashboard-tab.is-active .dashboard-tab__count {
    background: rgba(255, 255, 255, 0.18);
}

.dashboard-tab-panel {
    display: none;
}

.dashboard-tab-panel.is-active {
    display: block;
}

.dashboard-game-list {
    display: grid;
    gap: 18px;
}

.game-card {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(220, 209, 199, 0.84);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 238, 0.94));
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.08);
}

.game-card__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.game-card__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--club-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-card__title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #8f1120;
    line-height: 0.96;
}

.game-card__badges,
.game-card__status,
.applicant-list,
.inline-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-card__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.game-card__fact {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 243, 238, 0.84);
    border: 1px solid rgba(220, 209, 199, 0.72);
}

.game-card__fact span {
    display: block;
    margin-bottom: 6px;
    color: var(--club-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-card__fact strong {
    display: block;
    color: var(--club-night);
    font-size: 1rem;
    font-weight: 800;
}

.game-progress {
    height: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(22, 33, 44, 0.08);
}

.game-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c91d31 0%, #f38b8f 100%);
}

.game-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(22, 33, 44, 0.08);
    color: var(--club-night);
}

.game-pill--home {
    background: #fff0f3;
    color: #9d1b2d;
}

.game-pill--away {
    background: #edf4ff;
    color: #204f97;
}

.game-pill--free {
    background: #edf9f2;
    color: #0d6c45;
}

.game-pill--warn {
    background: #fff6e5;
    color: #8a5800;
}

.game-pill--danger {
    background: #fff0f3;
    color: #a11a2f;
}

.game-pill--success {
    background: #edf9f2;
    color: #0d6c45;
}

.game-card__actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(220, 209, 199, 0.74);
}

.game-card__subsection {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(220, 209, 199, 0.84);
}

.game-card__subheading {
    margin: 0 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--club-muted);
}

.applicant-token {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 209, 199, 0.84);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
    font-size: 0.86rem;
}

.proof-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.history-table td,
.history-table th {
    white-space: nowrap;
}

.dashboard-link-list {
    display: grid;
    gap: 10px;
}

.dashboard-link-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(248, 243, 238, 0.82);
    border: 1px solid rgba(220, 209, 199, 0.76);
    font-weight: 700;
    color: var(--club-night);
}

.dashboard-link-list a:hover {
    text-decoration: none;
    border-color: rgba(143, 17, 32, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

.dashboard-rule-list {
    margin: 0;
    padding-left: 18px;
    color: var(--club-muted);
}

.dashboard-rule-list li + li {
    margin-top: 10px;
}

.dashboard-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 243, 238, 0.76);
    border: 1px solid rgba(220, 209, 199, 0.74);
    color: var(--club-muted);
}

.flash {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 700;
    border: 1px solid transparent;
}

.flash.ok {
    color: #0d6c45;
    background: #edf9f2;
    border-color: #cfe8dc;
}

.flash.err {
    color: #8f1221;
    background: #fff1f3;
    border-color: #ffd6dc;
}

.wrap {
    width: min(100%, 1560px);
    margin: 0 auto;
    padding: 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.72fr);
    gap: 22px;
    margin-bottom: 22px;
    padding: 30px;
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.16), transparent 20%),
        radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.10), transparent 24%),
        linear-gradient(125deg, rgba(10, 12, 16, 0.28), rgba(10, 12, 16, 0.08)),
        linear-gradient(135deg, #18070a 0%, #4d0c15 35%, #ce1b33 100%);
    box-shadow: 0 28px 64px rgba(31, 10, 16, 0.22);
}

.hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.92;
}

.hero .sub {
    margin-top: 12px;
    max-width: 46rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.chip:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.kpi {
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(216, 204, 194, 0.88);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 238, 0.96));
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.07);
}

.kpi h4 {
    margin: 0 0 10px;
    color: var(--club-muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.kpi .val {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
}

.kpi .hint {
    margin-top: 8px;
    color: var(--club-muted);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 30, 40, 0.10);
    background: rgba(248, 244, 239, 0.78);
    color: var(--club-ink);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.tab-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(143, 17, 32, 0.20);
}

.tab-btn.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #ce1b33, #8f1120);
    box-shadow: 0 14px 28px rgba(143, 17, 32, 0.18);
}

.count-badge {
    min-width: 26px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
    text-align: center;
    font-size: 0.82rem;
}

.tab-btn.active .count-badge {
    background: rgba(255, 255, 255, 0.18);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.game {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(220, 209, 199, 0.84);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 238, 0.94));
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.08);
}

.game + .game {
    margin-top: 18px;
}

.g-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.g-title {
    font-family: "Oswald", "Bahnschrift", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 0.96;
    color: #8f1120;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(22, 33, 44, 0.08);
    color: var(--club-night);
    border: 1px solid transparent;
}

.b-heim,
.tag.ok {
    background: #edf9f2;
    color: #0d6c45;
}

.b-ausw,
.tag.bus {
    background: #edf4ff;
    color: #204f97;
}

.b-free {
    background: #edf9f2;
    color: #0d6c45;
}

.b-few,
.tag.warn,
.tag.bus-gold {
    background: #fff6e5;
    color: #8a5800;
}

.b-sold,
.tag.bad,
.b-assigned {
    background: #fff0f3;
    color: #a11a2f;
}

.g-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.g-meta .item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 243, 238, 0.84);
    border: 1px solid rgba(220, 209, 199, 0.72);
    color: var(--club-night);
}

.progress {
    height: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(22, 33, 44, 0.08);
}

.progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #c91d31 0%, #f38b8f 100%);
}

.cta-row {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(220, 209, 199, 0.74);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 14px;
}

.btn.alt {
    color: var(--club-red);
    background: rgba(184, 22, 40, 0.06);
    border: 1px solid rgba(184, 22, 40, 0.16);
    box-shadow: none;
}

.btn.ghost {
    color: var(--club-ink);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(22, 33, 44, 0.10);
    box-shadow: none;
}

.chips-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(220, 209, 199, 0.84);
}

.chips-title {
    margin-bottom: 10px;
    color: var(--club-muted);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.chip-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 209, 199, 0.84);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.05);
    font-size: 0.86rem;
}

.chip-user .mini {
    font-size: 0.78rem;
    font-weight: 800;
}

.chip-user .mini.gold {
    color: #8a5800;
}

.scroll {
    overflow-x: auto;
}

.quickbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.quickbar .qbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(248, 243, 238, 0.82);
    border: 1px solid rgba(220, 209, 199, 0.76);
    font-weight: 700;
    color: var(--club-night);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.quickbar .qbtn:hover {
    text-decoration: none;
    border-color: rgba(143, 17, 32, 0.22);
    background: rgba(255, 255, 255, 0.92);
}

.small {
    color: var(--club-muted);
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .hero,
    .dashboard-workspace,
    .dashboard-hero,
    .landing-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .g-meta,
    .game-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .site-nav__inner {
        grid-template-columns: 1fr;
    }

    .site-nav__links,
    .site-nav__meta {
        justify-self: start;
    }

    .auth-grid,
    .landing-grid,
    .page-grid,
    .page-grid--sidebar,
    .form-grid--2,
    .form-grid--3,
    .dashboard-workspace,
    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .kpis,
    .g-meta,
    .game-card__facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-nav__inner,
    .site-footer__inner,
    .auth-shell,
    .page-shell,
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-nav__links,
    .site-nav__meta {
        width: 100%;
    }

    .site-nav__meta {
        flex-wrap: wrap;
    }

    .site-user,
    .site-link,
    .dashboard-tab {
        min-height: 40px;
    }

    .page-hero,
    .page-panel,
    .auth-card,
    .auth-hero,
    .landing-panel,
    .landing-card,
    .hero,
    .dashboard-hero,
    .game-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .hero h1,
    .dashboard-hero__title,
    .page-hero__title,
    .landing-panel h1 {
        max-width: none;
    }

    .login-page {
        padding: 18px 14px;
    }

    .login-panel {
        width: min(100%, 360px);
        padding: 22px 18px 18px;
        border-radius: 20px;
    }

    .login-panel__header h1 {
        font-size: 1.75rem;
    }
}

/* Dashboard rebuild: supporter hub */
.supporter-page .site-nav {
    background: rgba(12, 18, 26, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.supporter-page .site-brand,
.supporter-page .site-brand__title,
.supporter-page .site-link,
.supporter-page .site-user {
    color: #f5efe8;
}

.supporter-page .site-brand__eyebrow,
.supporter-page .site-link--label,
.supporter-page .site-user--muted {
    color: rgba(245, 239, 232, 0.64);
}

.supporter-page .site-link:hover {
    background: rgba(255, 255, 255, 0.08);
}

.supporter-page .site-link--ghost {
    border-color: rgba(255, 255, 255, 0.16);
}

.supporter-hub {
    width: min(100%, 1380px);
    margin: 0 auto;
    padding: 28px 20px 54px;
}

.supporter-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 22px;
    margin-bottom: 22px;
}

.supporter-hero__copy,
.supporter-hero__spotlight {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 24px 60px rgba(13, 20, 29, 0.14);
}

.supporter-hero__copy {
    min-height: 260px;
    color: #fffaf7;
    background:
        linear-gradient(135deg, rgba(184, 22, 40, 0.94), rgba(95, 9, 20, 0.94)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 60%);
}

.supporter-hero__copy::after {
    content: "";
    position: absolute;
    inset: auto -90px -90px auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
}

.supporter-hero__spotlight {
    background: linear-gradient(180deg, rgba(255, 251, 247, 0.96), rgba(247, 241, 235, 0.94));
    border: 1px solid rgba(222, 211, 202, 0.9);
}

.supporter-hero__eyebrow,
.supporter-panel__eyebrow,
.supporter-card__eyebrow {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.supporter-hero__eyebrow,
.supporter-card__eyebrow {
    color: rgba(255, 250, 247, 0.78);
}

.supporter-panel__eyebrow {
    color: var(--club-muted);
}

.supporter-hero__copy h1,
.supporter-hero__spotlight h2 {
    margin: 0;
    line-height: 1.02;
}

.supporter-hero__copy h1 {
    font-size: clamp(2.4rem, 4vw, 4.3rem);
    max-width: 11ch;
}

.supporter-hero__spotlight h2 {
    margin-bottom: 18px;
    color: var(--club-night);
    font-size: clamp(1.65rem, 2.2vw, 2.2rem);
}

.supporter-hero__lead {
    max-width: 44ch;
    margin: 18px 0 0;
    font-size: 1.04rem;
    color: rgba(255, 250, 247, 0.9);
}

.supporter-hero__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.supporter-hero__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fffaf7;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.supporter-hero__link:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
}

.supporter-spotlight {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.supporter-spotlight div {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(222, 211, 202, 0.72);
}

.supporter-spotlight dt {
    margin-bottom: 8px;
    color: var(--club-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.supporter-spotlight dd {
    margin: 0;
    color: var(--club-night);
    font-size: 1.02rem;
    font-weight: 800;
}

.supporter-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.supporter-mobile-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.supporter-admin-ops {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(76,57,33,.08);
    box-shadow: 0 16px 36px rgba(65,43,25,.08);
}

.supporter-admin-ops__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.supporter-admin-ops__links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.supporter-admin-ops__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.supporter-admin-ops__card {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 20px;
    background: #fffdfa;
    border: 1px solid #eadfce;
}

.supporter-admin-ops__card span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--club-muted);
    font-weight: 800;
}

.supporter-admin-ops__card strong {
    font-size: 34px;
    line-height: 1;
    color: var(--club-ink);
}

.supporter-admin-ops__card small {
    color: var(--club-muted);
    line-height: 1.5;
}

.supporter-mobile-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 108px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 252, 248, 0.95);
    border: 1px solid rgba(224, 214, 205, 0.88);
    box-shadow: 0 20px 46px rgba(15, 22, 31, 0.08);
    color: var(--club-night);
}

.supporter-mobile-action:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.supporter-mobile-action strong {
    font-size: 1.05rem;
}

.supporter-mobile-action span,
.supporter-mobile-action small {
    color: var(--club-muted);
    font-weight: 700;
}

.supporter-mobile-action.is-accent {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(184, 22, 40, 0.96), rgba(95, 9, 20, 0.96));
    border-color: transparent;
}

.supporter-mobile-action.is-accent span,
.supporter-mobile-action.is-accent small {
    color: rgba(255, 250, 247, 0.86);
}

.supporter-stat,
.supporter-panel,
.supporter-sidecard,
.supporter-card,
.supporter-compact-card {
    min-width: 0;
    background: rgba(255, 252, 248, 0.95);
    border: 1px solid rgba(224, 214, 205, 0.88);
    box-shadow: 0 20px 46px rgba(15, 22, 31, 0.08);
}

.supporter-stat {
    border-radius: 24px;
    padding: 22px;
}

.supporter-stat__label {
    display: block;
    margin-bottom: 10px;
    color: var(--club-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.supporter-stat__value {
    display: block;
    color: var(--club-night);
    font-size: clamp(1.7rem, 2.3vw, 2.4rem);
    line-height: 1;
}

.supporter-stat__note {
    display: block;
    margin-top: 10px;
    color: var(--club-muted);
    font-size: 0.92rem;
}

.supporter-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.9fr);
    gap: 22px;
    align-items: start;
}

.supporter-main {
    display: grid;
    gap: 22px;
}

.supporter-panel,
.supporter-sidecard {
    border-radius: 28px;
    padding: 24px;
}

.supporter-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.supporter-panel__head h2,
.supporter-sidecard h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--club-night);
}

.supporter-panel__copy,
.supporter-proof__copy,
.supporter-note,
.supporter-message,
.supporter-empty p,
.supporter-linklist a,
.supporter-checklist,
.supporter-sidecard__list dt {
    color: var(--club-muted);
}

.supporter-card h3,
.supporter-panel__head h2,
.supporter-proof__copy,
.supporter-note,
.supporter-message,
.supporter-status-link,
.supporter-proof__link {
    overflow-wrap: anywhere;
}

.supporter-panel__copy {
    max-width: 52ch;
    margin: 10px 0 0;
}

.supporter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.supporter-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(184, 22, 40, 0.14);
    color: var(--club-night);
    background: rgba(248, 243, 238, 0.9);
    box-shadow: none;
}

.supporter-tab span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.86rem;
    background: rgba(143, 17, 32, 0.08);
}

.supporter-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--club-red-strong), var(--club-red-dark));
}

.supporter-tab.is-active span {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.supporter-panel__body {
    display: none;
}

.supporter-panel__body.is-active {
    display: block;
}

.supporter-empty {
    padding: 28px;
    text-align: center;
    border-radius: 22px;
    background: rgba(248, 243, 238, 0.72);
    border: 1px dashed rgba(184, 22, 40, 0.18);
}

.supporter-empty h3 {
    margin: 0 0 10px;
}

.supporter-card-list,
.supporter-compact-list {
    display: grid;
    gap: 16px;
}

/* ── Kompakte Bewerbungsliste (linke Spalte) ─────────────────────── */
.supporter-panel--myapps {
    padding: 18px 22px;
}

.supporter-myapps__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.supporter-myapps__head .supporter-panel__eyebrow {
    margin: 0;
}

.supporter-myapps__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--club-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.supporter-myapps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1px;
}

.supporter-myapps__item {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-top: 1px solid rgba(184, 22, 40, 0.08);
    font-size: 0.87rem;
}

.supporter-myapps__item:first-child {
    border-top: none;
}

.supporter-myapps__date {
    color: var(--club-muted);
    white-space: nowrap;
    font-size: 0.82rem;
}

.supporter-myapps__title {
    font-weight: 600;
    color: var(--club-night);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supporter-myapps__pills {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

/* ── Vergabe abgeschlossen (ausverkaufte Spiele) ─────────────────── */
.supporter-closed-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(184, 22, 40, 0.14);
}

.supporter-closed-section__head {
    margin-bottom: 18px;
}

.supporter-closed-section__head h3 {
    margin: 4px 0 6px;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--club-night);
}

.supporter-closed-section__head p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--club-muted);
}

.supporter-card--closed {
    opacity: 0.72;
    background: rgba(245, 241, 237, 0.7) !important;
    border-color: rgba(184, 22, 40, 0.1) !important;
    box-shadow: none !important;
}

.supporter-card--closed .supporter-card__eyebrow {
    color: var(--club-muted);
}

.supporter-card,
.supporter-compact-card {
    border-radius: 24px;
    padding: 22px;
}

.supporter-card__top,
.supporter-compact-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.supporter-card__top h3,
.supporter-compact-card h3 {
    margin: 0;
    color: var(--club-night);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.supporter-card__eyebrow {
    margin-bottom: 8px;
    color: var(--club-red);
}

.supporter-badges,
.supporter-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.supporter-badge,
.supporter-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    background: rgba(16, 21, 29, 0.06);
    color: var(--club-night);
}

.supporter-badge.is-home,
.supporter-badge.is-open,
.supporter-status-pill.is-good {
    background: #edf9f2;
    color: #0d6c45;
}

.supporter-badge.is-away,
.supporter-status-pill.is-bus {
    background: #edf4ff;
    color: #204f97;
}

.supporter-badge.is-warn,
.supporter-status-pill.is-gold {
    background: #fff6e5;
    color: #8a5800;
}

.supporter-badge.is-alert,
.supporter-badge.is-ticket {
    background: #fff0f3;
    color: #a11a2f;
}

.supporter-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.supporter-fact {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 243, 238, 0.9);
    border: 1px solid rgba(222, 211, 202, 0.8);
}

.supporter-fact span,
.supporter-fact small,
.supporter-status-link,
.supporter-proof__link {
    display: block;
    color: var(--club-muted);
}

.supporter-fact span {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.supporter-fact strong {
    display: block;
    margin-top: 8px;
    color: var(--club-night);
    font-size: 1rem;
}

.supporter-fact small {
    margin-top: 6px;
    font-size: 0.85rem;
}

.supporter-progress {
    height: 10px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.08);
}

.supporter-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--club-red-strong), #f38b8f);
}

.supporter-status-row {
    margin-top: 14px;
}

.supporter-status-link,
.supporter-proof__link {
    font-size: 0.92rem;
    font-weight: 700;
}

.supporter-actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(224, 214, 205, 0.84);
}

.supporter-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.supporter-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--club-night);
    font-weight: 600;
}

.supporter-check input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.supporter-message,
.supporter-note {
    font-size: 0.93rem;
}

.supporter-message.is-good {
    color: var(--club-green);
    font-weight: 700;
}

.supporter-note.is-alert {
    color: var(--club-red);
}

.supporter-card__footer {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(224, 214, 205, 0.84);
}

.supporter-roster-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.supporter-iconset {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.supporter-iconbadge {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(222, 211, 202, 0.86);
    background: rgba(248, 243, 238, 0.9);
    color: var(--club-muted);
    box-shadow: 0 6px 14px rgba(16, 24, 40, 0.05);
}

.supporter-iconbadge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.supporter-iconbadge.is-ticket {
    color: #0d6c45;
    background: #edf9f2;
}

.supporter-iconbadge.is-dk {
    color: #8a5800;
    background: #fff3d9;
}

.supporter-iconbadge.is-bus {
    color: #0d5a7a;
    background: #e8f4fb;
}

.supporter-iconbadge.is-guest {
    color: #7c3aed;
    background: #f3e8ff;
}

.supporter-details {
    border-radius: 18px;
    background: rgba(248, 243, 238, 0.72);
    border: 1px solid rgba(222, 211, 202, 0.72);
}

.supporter-details summary {
    padding: 14px 16px;
    cursor: pointer;
    color: var(--club-night);
    font-weight: 700;
}

.supporter-chiplist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 16px;
}

.supporter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(222, 211, 202, 0.86);
    font-size: 0.88rem;
}

.supporter-chip small {
    color: var(--club-muted);
    font-weight: 800;
}

.supporter-chip small.is-gold {
    color: #8a5800;
}

.supporter-chip small.is-bus {
    color: #0d5a7a;
}

.supporter-panel--matrix table strong {
    display: block;
    color: var(--club-night);
}

.supporter-panel--matrix table small {
    display: block;
    margin-top: 4px;
    color: var(--club-muted);
}

.supporter-proof {
    padding: 16px;
    border-radius: 20px;
    background: rgba(248, 243, 238, 0.84);
    border: 1px solid rgba(222, 211, 202, 0.74);
}

.supporter-proof__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.supporter-proof__copy {
    margin: 8px 0 0;
    font-size: 0.92rem;
}

.supporter-file-trigger {
    position: relative;
    overflow: hidden;
}

.supporter-file-trigger input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}

.supporter-history {
    overflow: auto;
    max-height: 460px;
    border-radius: 20px;
    border: 1px solid rgba(222, 211, 202, 0.84);
}

.supporter-history table {
    min-width: 640px;
}

.supporter-compact-card__meta,
.supporter-linklist,
.supporter-checklist,
.supporter-sidecard__list {
    display: grid;
    gap: 10px;
}

.supporter-compact-card__meta span,
.supporter-linklist a {
    font-size: 0.95rem;
}

.supporter-linklist a {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(248, 243, 238, 0.82);
    border: 1px solid rgba(222, 211, 202, 0.76);
    color: var(--club-night);
    font-weight: 700;
}

.supporter-linklist a:hover {
    text-decoration: none;
    border-color: rgba(143, 17, 32, 0.24);
    background: rgba(255, 255, 255, 0.92);
}

.supporter-checklist {
    margin: 16px 0 0;
    padding-left: 18px;
}

.supporter-checklist li {
    padding-left: 2px;
}

.supporter-sidecard__list {
    margin: 18px 0 0;
}

.supporter-sidecard__list div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(224, 214, 205, 0.72);
}

.supporter-sidecard__list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.supporter-sidecard__list dd {
    margin: 0;
    color: var(--club-night);
    font-weight: 800;
}

@media (max-width: 1120px) {
    .supporter-hero,
    .supporter-layout {
        grid-template-columns: 1fr;
    }

    .supporter-mobile-actions,
    .supporter-stats,
    .supporter-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supporter-panel__head {
        flex-direction: column;
    }

    .supporter-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .site-nav__inner {
        padding: 14px max(14px, env(safe-area-inset-right)) 14px max(14px, env(safe-area-inset-left));
    }

    .site-nav__toggle {
        display: none;
    }

    .site-link,
    .site-user {
        min-height: 46px;
        padding: 10px 16px;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .site-nav__meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .site-brand__text {
        min-width: 0;
    }

    .site-brand__title {
        font-size: 0.96rem;
    }

    .table-shell {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-shell table {
        min-width: 680px;
    }

    .table-caption {
        flex-direction: column;
        align-items: flex-start;
    }

    .table-actions,
    .inline-actions,
    .toolbar,
    .toolbar__actions {
        width: 100%;
        align-items: stretch;
    }

    .table-actions > *,
    .inline-actions > *,
    .toolbar__actions > * {
        width: 100%;
    }

    .toolbar__group,
    .toolbar__group--compact {
        flex-basis: 100%;
    }

    .copy-field {
        flex-direction: column;
        align-items: stretch;
    }

    .copy-field .page-backlink {
        justify-content: center;
    }

    .page-meta__item {
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    button,
    .button,
    input[type="submit"] {
        min-height: 46px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="file"],
    select,
    textarea {
        min-height: 46px;
        font-size: 16px;
    }

    .supporter-hub {
        padding: 18px 16px 40px;
    }

    .supporter-hero {
        gap: 14px;
        margin-bottom: 16px;
    }

    .supporter-hero__copy,
    .supporter-hero__spotlight,
    .supporter-panel,
    .supporter-sidecard,
    .supporter-card,
    .supporter-compact-card,
    .supporter-stat {
        padding: 18px;
        border-radius: 22px;
    }

    .supporter-spotlight,
    .supporter-facts,
    .supporter-card__top,
    .supporter-compact-card,
    .supporter-proof__head,
    .supporter-sidecard__list div {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .supporter-spotlight {
        display: grid;
    }

    .supporter-hero__copy {
        min-height: auto;
    }

    .supporter-hero__lead {
        margin-top: 14px;
        font-size: 0.96rem;
    }

    .supporter-hero__links,
    .supporter-mobile-actions,
    .supporter-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .supporter-hero__links {
        margin-top: 18px;
    }

    .supporter-hero__link {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        border-radius: 18px;
    }

    .supporter-mobile-action {
        min-height: 96px;
        padding: 16px;
        border-radius: 20px;
    }

    .supporter-layout {
        display: flex;
        flex-direction: column;
    }

    .supporter-aside {
        display: grid;
        gap: 14px;
    }

    .supporter-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .supporter-form-inline,
    .supporter-check {
        width: 100%;
    }

    .supporter-tab {
        flex: 0 0 auto;
        width: auto;
        min-height: 46px;
        scroll-snap-align: start;
        white-space: nowrap;
    }

    .supporter-status-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .supporter-status-pill,
    .supporter-status-link {
        width: 100%;
        justify-content: flex-start;
    }

    .supporter-form-inline .btn,
    .supporter-form-inline .button,
    .supporter-file-trigger {
        width: 100%;
    }

    .supporter-history {
        max-height: none;
        border: 0;
        overflow: visible;
    }

    .supporter-history table,
    .supporter-history thead,
    .supporter-history tbody,
    .supporter-history tr,
    .supporter-history th,
    .supporter-history td {
        display: block;
        width: 100%;
    }

    .supporter-history thead {
        display: none;
    }

    .supporter-history tr {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 18px;
        background: rgba(255, 252, 248, 0.94);
        border: 1px solid rgba(224, 214, 205, 0.84);
    }

    .supporter-history td {
        padding: 6px 0;
        border: 0;
    }

    .supporter-history td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--club-muted);
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .admin-desktop-table {
        display: none;
    }

    .admin-mobile-list {
        display: grid;
    }

    .admin-mobile-kv {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .site-brand__eyebrow {
        display: none;
    }

    .site-brand__title {
        font-size: 0.88rem;
    }

    .supporter-mobile-actions,
    .supporter-hero__links,
    .supporter-stats,
    .supporter-facts {
        grid-template-columns: 1fr;
    }

    .mobile-dock {
        left: 8px;
        right: 8px;
        padding: 7px;
        gap: 6px;
    }

    .mobile-dock__link {
        min-height: 48px;
        padding: 8px 6px;
        font-size: 0.78rem;
    }

    .page-meta__item {
        flex-basis: 100%;
        min-width: 100%;
    }
}
