/* UX enhancements: open tips, recap, bracket, sticky nav, skeletons */

:root {
    --sz-open-tips-bg: rgba(0, 40, 16, 0.88);
    --sz-open-tips-border: rgba(241, 116, 50, 0.35);
    --sz-open-tips-glow: rgba(241, 116, 50, 0.12);
    --sz-open-tips-urgent: #f17432;
    --sz-open-tips-complete: #6fcf97;
    --sz-open-tips-progress-bg: rgba(255, 255, 255, 0.1);
    --sz-open-tips-progress-fill: linear-gradient(90deg, #0a5c18, #f17432);
    --sz-recap-bg: rgba(0, 36, 14, 0.9);
    --sz-recap-border: rgba(130, 200, 150, 0.22);
    --sz-bracket-match-bg: rgba(0, 28, 12, 0.82);
    --sz-bracket-match-border: rgba(255, 255, 255, 0.1);
    --sz-skeleton-base: rgba(255, 255, 255, 0.08);
    --sz-skeleton-shine: rgba(255, 255, 255, 0.16);
}

html[data-theme="light"] {
    --sz-open-tips-bg: rgba(255, 255, 255, 0.96);
    --sz-open-tips-border: rgba(241, 116, 50, 0.45);
    --sz-open-tips-glow: rgba(241, 116, 50, 0.08);
    --sz-open-tips-progress-bg: rgba(0, 60, 10, 0.08);
    --sz-open-tips-progress-fill: linear-gradient(90deg, #0a5c18, #e86a28);
    --sz-recap-bg: #f4f8f4;
    --sz-recap-border: rgba(0, 60, 10, 0.12);
    --sz-bracket-match-bg: #fff;
    --sz-bracket-match-border: rgba(0, 60, 10, 0.12);
    --sz-skeleton-base: rgba(0, 60, 10, 0.07);
    --sz-skeleton-shine: rgba(0, 60, 10, 0.12);
}

/* —— Offene Tipps —— */
.sz-open-tips {
    position: relative;
    margin: 1rem 0 1.15rem;
    padding: 1rem 1.1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid var(--sz-open-tips-border);
    background: var(--sz-open-tips-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.sz-open-tips__glow {
    position: absolute;
    inset: -40% auto auto -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(ellipse at center, var(--sz-open-tips-glow), transparent 70%);
    pointer-events: none;
}

.sz-open-tips--urgent {
    border-color: var(--sz-open-tips-urgent);
}

.sz-open-tips--complete {
    border-color: var(--sz-open-tips-complete);
}

.sz-open-tips__head {
    position: relative;
}

.sz-open-tips__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sz-orange);
}

.sz-open-tips__title {
    margin: 0;
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    line-height: 1.2;
    color: var(--sz-body-color);
}

.sz-open-tips__urgent {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sz-open-tips-urgent);
}

.sz-open-tips__urgent-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--sz-open-tips-urgent);
    animation: sz-open-pulse 1.4s ease-in-out infinite;
}

@keyframes sz-open-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.sz-open-tips__progress {
    position: relative;
    margin-top: 0.85rem;
}

.sz-open-tips__progress-track {
    height: 0.45rem;
    border-radius: 999px;
    background: var(--sz-open-tips-progress-bg);
    overflow: hidden;
}

.sz-open-tips__progress-bar {
    height: 100%;
    border-radius: inherit;
    background: var(--sz-open-tips-progress-fill);
    transition: width 0.35s ease;
}

.sz-open-tips__progress-label {
    display: flex;
    justify-content: space-between;
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: var(--sz-hint-color);
}

.sz-open-tips__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.sz-open-tips__chip {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: var(--sz-body-color);
}

html[data-theme="light"] .sz-open-tips__chip {
    background: rgba(0, 60, 10, 0.07);
}

.sz-open-tips__chip-muted {
    font-weight: 500;
    opacity: 0.75;
}

.sz-open-tips__next {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    color: var(--sz-hint-color);
}

.sz-open-tips__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
}

.sz-open-tips__layout--home {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.sz-open-tips__layout--home .sz-open-tips__main {
    flex: 1 1 12rem;
    min-width: 0;
}

.sz-open-tips__aside {
    flex: 0 0 auto;
    align-self: center;
}

.sz-open-tips__cta-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    min-width: 9.5rem;
}

.sz-open-tips__cta-stack .sz-btn {
    justify-content: center;
    white-space: nowrap;
}

.sz-open-tips__cta-primary {
    font-weight: 700;
}

.page-home .sz-open-tips {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Tippspiel-Wechsel im Hero: Name zentriert, Stats + Wechsel darunter */
.sz-home-brand__season-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.sz-home-brand__season-row .sz-home-brand__title {
    margin: 0;
    flex: none;
    width: 100%;
    text-align: center;
}

.sz-home-brand__season-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
}

.sz-home-brand__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.22rem;
    margin: 0;
    font-size: 11px;
    line-height: 1.18;
    opacity: 0.78;
}

.sz-home-brand__stat {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    padding: 0.12rem 0.38rem;
    font-size: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(2, 22, 10, 0.14);
    color: rgba(232, 248, 232, 0.64);
}

.sz-home-brand__stat-number {
    font-weight: 750;
    color: rgba(216, 239, 216, 0.82);
}

.sz-home-brand__stat-label {
    opacity: 0.74;
}

html[data-theme="light"] .sz-home-brand__stat {
    border-color: rgba(10, 92, 24, 0.08);
    background: rgba(255, 255, 255, 0.38);
    color: rgba(15, 42, 25, 0.54);
}

html[data-theme="light"] .sz-home-brand__stat-number {
    color: rgba(10, 92, 40, 0.72);
}

.sz-season-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem 0.45rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 116, 50, 0.55);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.22), rgba(10, 92, 24, 0.35));
    color: var(--sz-body-color);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.sz-season-switch__glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.sz-season-switch:hover .sz-season-switch__glow,
.sz-season-switch:focus-visible .sz-season-switch__glow {
    opacity: 1;
}

.sz-season-switch:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(241, 116, 50, 0.25);
    border-color: var(--sz-orange);
}

.sz-season-switch:focus-visible {
    outline: 2px solid var(--sz-orange);
    outline-offset: 2px;
}

.sz-season-switch__icon {
    display: flex;
    color: var(--sz-orange);
}

.sz-season-switch__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.sz-season-switch__label {
    font-weight: 700;
}

.sz-season-switch__meta {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.8;
}

.sz-season-switch__chev {
    display: flex;
    opacity: 0.75;
}

html[data-theme="light"] .sz-season-switch {
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.12), rgba(10, 92, 24, 0.08));
    border-color: rgba(241, 116, 50, 0.45);
}

/* Regeln: Icon nur Desktop-Topbar */
.sz-nav-icon--desktop-only {
    display: none;
}

@media (min-width: 561px) {
    .sz-nav-icon--desktop-only {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .sz-open-tips__layout--home {
        flex-direction: column;
        align-items: stretch;
    }

    .sz-open-tips__aside {
        width: 100%;
    }

    .sz-open-tips__cta-stack {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }

    .sz-open-tips__cta-stack .sz-btn {
        flex: 1 1 auto;
    }

    .page-home .sz-open-tips {
        width: 100%;
    }

    .sz-season-switch {
        width: 100%;
        justify-content: center;
    }

    .sz-season-switch__text {
        align-items: center;
    }
}

/* Spieltag-Badge */
.sz-st-select__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.25rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    background: var(--sz-orange);
    color: #fff;
    vertical-align: middle;
}

/* Runden-Recap */
.sz-round-recap {
    position: relative;
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid var(--sz-recap-border);
    background: var(--sz-recap-bg);
    overflow: hidden;
}

.sz-round-recap__glow {
    position: absolute;
    right: -10%;
    top: -30%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(241, 116, 50, 0.1), transparent 65%);
    pointer-events: none;
}

.sz-round-recap__kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sz-orange);
    font-weight: 700;
}

.sz-round-recap__title {
    margin: 0.15rem 0 0.75rem;
    font-size: 1.2rem;
    color: var(--sz-body-color);
}

.sz-round-recap__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: 0.55rem;
}

.sz-round-recap__card {
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .sz-round-recap__card {
    background: rgba(0, 60, 10, 0.05);
}

.sz-round-recap__card--total .sz-round-recap__value {
    color: var(--sz-orange);
}

.sz-round-recap__label {
    margin: 0;
    font-size: 0.72rem;
    color: var(--sz-hint-color);
}

.sz-round-recap__value {
    margin: 0.15rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--sz-body-color);
}

.sz-round-recap__hint {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    color: var(--sz-hint-color);
}

/* Vergessene Tipps */
.sz-forgotten-tips__list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.sz-forgotten-tips__link {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid var(--sz-match-card-border);
    background: var(--sz-match-card-bg);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.sz-forgotten-tips__link:hover,
.sz-forgotten-tips__link:focus-visible {
    border-color: var(--sz-orange);
    outline: none;
    transform: translateY(-1px);
}

.sz-forgotten-tips__teams {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.sz-forgotten-tips__logo {
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
}

.sz-forgotten-tips__vs {
    opacity: 0.6;
    font-weight: 500;
}

.sz-forgotten-tips__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    color: var(--sz-hint-color);
}

.sz-forgotten-tips__pts {
    font-weight: 800;
    font-size: 0.9rem;
    color: #e85d5d;
}

html[data-theme="light"] .sz-forgotten-tips__pts {
    color: #b91c1c;
}

@media (max-width: 520px) {
    .sz-forgotten-tips__link {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }
    .sz-forgotten-tips__pts {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }
}

/* Turnierbaum */
.sz-bracket {
    display: grid;
    gap: 1.25rem;
    margin: 1rem 0 2rem;
}

.sz-bracket__phase-title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sz-orange);
    border-bottom: 2px solid var(--sz-open-tips-border);
    padding-bottom: 0.35rem;
}

.sz-bracket__matches {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .sz-bracket__matches {
        grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    }
}

.sz-bracket__match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.25rem 0.5rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid var(--sz-bracket-match-border);
    background: var(--sz-bracket-match-bg);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sz-bracket__match:hover,
.sz-bracket__match:focus-visible {
    border-color: var(--sz-orange);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    outline: none;
}

.sz-bracket__team {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 0;
}

.sz-bracket__team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sz-bracket__team--away {
    justify-content: flex-end;
    text-align: right;
}

.sz-bracket__team img {
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
}

.sz-bracket__score {
    grid-row: 1;
    grid-column: 2;
    font-weight: 800;
    font-size: 1rem;
    color: var(--sz-hint-color);
    text-align: center;
}

.sz-bracket__score.is-final {
    color: var(--sz-body-color);
}

.sz-bracket__time {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.72rem;
    color: var(--sz-hint-color);
}

/* Gruppenphase (Turnier) */
.sz-tournament-groups {
    margin: 1.25rem 0 1.75rem;
}

.sz-tournament-groups__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    color: var(--sz-body-color);
}

.sz-tournament-groups__rules {
    margin: 0 0 1rem;
    max-width: 42rem;
}

.sz-tournament-groups__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.sz-tournament-group-card {
    border-radius: 0.85rem;
    border: 1px solid var(--sz-bracket-match-border);
    background: var(--sz-bracket-match-bg);
    padding: 0.75rem 0.85rem 0.9rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.sz-tournament-group-card--pending {
    opacity: 0.92;
}

.sz-tournament-group-card__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sz-orange);
}

.sz-tournament-group-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    font-weight: 800;
    background: var(--sz-orange);
    color: #fff;
}

.sz-tournament-group-card__table-wrap {
    margin: 0;
}

.sz-tournament-group-table {
    font-size: 0.82rem;
}

.sz-tournament-group-table__team {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.sz-tournament-group-table__logo {
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.sz-tournament-group-table__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 8rem;
}

.sz-tournament-group-table__qual {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--sz-open-tips-complete);
    font-weight: 800;
}

.sz-tournament-group-table__pts strong {
    color: var(--sz-orange);
}

.sz-tournament-group-table__row--qual {
    background: rgba(241, 116, 50, 0.1);
}

html[data-theme="light"] .sz-tournament-group-table__row--qual {
    background: rgba(241, 116, 50, 0.12);
}

.sz-tournament-group-card__pending {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
}

.sz-tournament-groups__legend {
    margin-top: 0.85rem;
}

.sz-tournament-groups__legend-mark {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 0.25rem;
    vertical-align: middle;
    background: rgba(241, 116, 50, 0.35);
}

.sz-tournament-groups--compact .sz-tournament-groups__grid {
    grid-template-columns: 1fr;
}

.sz-tournament-groups--compact .sz-tournament-group-card {
    padding: 0.55rem 0.65rem;
}

.sz-bracket-section__title {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--sz-body-color);
}

@media (max-width: 480px) {
    .sz-tournament-group-table__name {
        max-width: 5.5rem;
    }
    .sz-tournament-groups--compact .sz-ranking-table__num:nth-child(n+4):nth-child(-n+6) {
        display: none;
    }
}

/* Admin: Tippspiele / OpenLiga */
.sz-admin-tippspiele__actions,
.sz-admin-tippspiele-form__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1rem;
}

.sz-admin-tippspiele-edit__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 960px) {
    .sz-admin-tippspiele-edit__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.sz-admin-tippspiele-form__subtitle {
    margin: 1.25rem 0 0.35rem;
    font-size: 1rem;
}

.sz-admin-openliga-preview {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    border-radius: var(--sz-radius, 8px);
    background: var(--sz-surface-2, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--sz-border, rgba(255, 255, 255, 0.08));
}

.sz-admin-openliga-preview--err {
    border-color: var(--sz-danger, #e55);
}

.sz-admin-tippspiele-stats {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.sz-admin-liga-browser {
    margin-top: 1rem;
}

.sz-admin-league-list {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
}

.sz-admin-league-list li {
    margin-bottom: 0.35rem;
}

.sz-admin-league-pick {
    background: none;
    border: none;
    color: var(--sz-link, #6cf);
    cursor: pointer;
    padding: 0;
    text-align: left;
    font: inherit;
}

.sz-admin-league-pick:hover {
    text-decoration: underline;
}

.sz-form--inline {
    margin-bottom: 0.75rem;
}

/* Passwort-Feld mit Sichtbarkeits-Toggle (Registrierung) */
.sz-password-field__wrap {
    position: relative;
    display: block;
    margin-top: 0.35rem;
}

.sz-password-field__wrap input[type="password"],
.sz-password-field__wrap input[type="text"] {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 0.55rem 2.75rem 0.55rem 0.65rem;
    min-height: 44px;
    border: 1px solid var(--sz-form-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

html[data-theme="dark"] .sz-password-field__wrap input[type="password"],
html[data-theme="dark"] .sz-password-field__wrap input[type="text"] {
    background-color: var(--sz-form-input-bg, #1a1f24);
    border-color: var(--sz-form-border);
    color: var(--sz-body-color);
}

.sz-password-field__toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--sz-muted, #667);
    cursor: pointer;
}

.sz-password-field__toggle:hover,
.sz-password-field__toggle:focus-visible {
    color: var(--sz-green);
    background: rgba(0, 0, 0, 0.04);
}

html[data-theme="dark"] .sz-password-field__toggle:hover,
html[data-theme="dark"] .sz-password-field__toggle:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.sz-password-field__icon {
    display: inline-flex;
    line-height: 0;
}

/* —— Barrierefreiheit & Navigation —— */
.sz-skip-link {
    position: absolute;
    left: -9999px;
    top: 0.5rem;
    z-index: 10000;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: var(--sz-orange);
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.sz-skip-link:focus {
    left: 0.5rem;
}

.sz-nav-drawer__link-sub {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.75;
    margin-top: 0.1rem;
}

/* —— Startseite: Gast-Schnellstart —— */
.sz-home-guest-hub {
    position: relative;
    margin: 0.75rem 0 0.9rem;
    padding: 1rem 1.05rem 0.95rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(130, 210, 150, 0.38);
    background:
        linear-gradient(155deg, rgba(0, 52, 16, 0.94) 0%, rgba(0, 24, 10, 0.92) 48%, rgba(0, 36, 14, 0.88) 100%);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

html[data-theme="light"] .sz-home-guest-hub {
    border-color: rgba(0, 100, 40, 0.22);
    background: linear-gradient(155deg, #f8fcf8 0%, #eef6ee 55%, #f4f1e8 100%);
    box-shadow:
        0 14px 32px rgba(0, 60, 10, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sz-home-guest-hub__glow {
    position: absolute;
    inset: -35% auto auto -15%;
    width: 55%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(241, 116, 50, 0.16), transparent 68%);
    pointer-events: none;
}

.sz-home-guest-hub__pitch {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.55) 49.5%, rgba(255, 255, 255, 0.55) 50.5%, transparent 50.5%),
        radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(255, 255, 255, 0.45) 18% 19%, transparent 19%);
}

html[data-theme="light"] .sz-home-guest-hub__pitch {
    opacity: 0.05;
}

.sz-home-guest-hub__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
}

.sz-home-guest-hub__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(180, 230, 190, 0.92);
}

html[data-theme="light"] .sz-home-guest-hub__kicker {
    color: rgba(0, 90, 35, 0.72);
}

.sz-home-guest-hub__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.15rem, 3.2vw, 1.45rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.sz-home-guest-hub__lead {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(230, 240, 230, 0.88);
    max-width: 34rem;
}

html[data-theme="light"] .sz-home-guest-hub__lead {
    color: rgba(20, 40, 24, 0.78);
}

.sz-home-guest-hub__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.sz-home-guest-hub__step {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.sz-home-guest-hub__step-no {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, rgba(241, 116, 50, 0.95), rgba(200, 80, 20, 0.95));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sz-home-guest-hub__step-body {
    display: block;
    font-size: 0.86rem;
    line-height: 1.35;
    color: rgba(220, 235, 220, 0.9);
}

html[data-theme="light"] .sz-home-guest-hub__step-body {
    color: rgba(25, 45, 28, 0.82);
}

.sz-home-guest-hub__step-body strong {
    display: block;
    font-size: 0.9rem;
    color: #fff;
}

html[data-theme="light"] .sz-home-guest-hub__step-body strong {
    color: var(--sz-green, #003c0a);
}

.sz-home-guest-hub__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    align-content: start;
}

.sz-home-guest-hub__tile {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.2;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

html[data-theme="light"] .sz-home-guest-hub__tile {
    border-color: rgba(0, 60, 10, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--sz-text, #1a1a1a);
}

.sz-home-guest-hub__tile:hover,
.sz-home-guest-hub__tile:focus-visible {
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(180, 230, 190, 0.45);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .sz-home-guest-hub__tile:hover,
html[data-theme="light"] .sz-home-guest-hub__tile:focus-visible {
    border-color: rgba(0, 100, 40, 0.28);
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 60, 10, 0.1);
}

.sz-home-guest-hub__tile--cta {
    grid-column: 1 / -1;
    justify-content: center;
    border-color: rgba(241, 116, 50, 0.55);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.95), rgba(210, 85, 25, 0.98));
    color: #fff;
    font-size: 0.95rem;
    min-height: 3rem;
    box-shadow: 0 8px 22px rgba(241, 116, 50, 0.28);
}

.sz-home-guest-hub__tile--cta:hover,
.sz-home-guest-hub__tile--cta:focus-visible {
    filter: brightness(1.05);
    border-color: rgba(255, 200, 150, 0.7);
    background: linear-gradient(135deg, rgba(255, 130, 60, 0.98), rgba(220, 90, 30, 1));
    color: #fff;
}

.sz-home-guest-hub__tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
}

.sz-home-guest-hub__tile--cta .sz-home-guest-hub__tile-icon {
    background: rgba(255, 255, 255, 0.18);
}

html[data-theme="light"] .sz-home-guest-hub__tile-icon {
    background: rgba(0, 60, 10, 0.07);
}

.sz-home-guest-hub__tile-label {
    min-width: 0;
}

.sz-home-guest-hub__note {
    position: relative;
    margin: 0.85rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(190, 210, 190, 0.82);
}

html[data-theme="light"] .sz-home-guest-hub__note {
    border-top-color: rgba(0, 60, 10, 0.1);
    color: rgba(30, 55, 35, 0.68);
}

@media (max-width: 720px) {
    .sz-home-guest-hub__inner {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .sz-home-guest-hub__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .sz-home-guest-hub {
        padding: 0.85rem 0.85rem 0.8rem;
    }

    .sz-home-guest-hub__tile {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        min-height: 0;
        padding: 0.5rem 0.55rem;
    }

    .sz-home-guest-hub__tile--cta {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sz-home-guest-hub__tile {
        transition: none;
    }

    .sz-home-guest-hub__tile:hover,
    .sz-home-guest-hub__tile:focus-visible {
        transform: none;
    }
}

/* —— Startseite: Onboarding —— */
.sz-onboarding {
    margin: 0.5rem 0 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(130, 200, 150, 0.28);
    background: rgba(0, 36, 14, 0.75);
}

html[data-theme="light"] .sz-onboarding {
    background: #f4f8f4;
    border-color: rgba(0, 60, 10, 0.12);
}

.sz-onboarding__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.sz-onboarding__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sz-orange);
}

.sz-onboarding__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 0.25rem;
}

.sz-onboarding__steps {
    margin: 0.5rem 0 0.35rem;
    padding-left: 1.15rem;
    line-height: 1.45;
}

.sz-onboarding__more {
    margin: 0;
    font-size: 0.88rem;
}

/* —— Geführte Tour (Startseite) —— */
.sz-guided-tour {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
}

.sz-guided-tour__panel {
    width: min(100%, 28rem);
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(130, 200, 150, 0.28);
    background: var(--sz-panel-bg, rgba(0, 36, 14, 0.96));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .sz-guided-tour__panel {
    background: #fff;
    border-color: rgba(0, 60, 10, 0.12);
}

.sz-guided-tour__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sz-orange);
}

.sz-guided-tour__title {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.15rem;
}

.sz-guided-tour__body {
    margin: 0 0 0.65rem;
    line-height: 1.45;
}

.sz-guided-tour__progress {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    color: var(--sz-small);
}

.sz-guided-tour__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sz-guided-tour__nav {
    display: inline-flex;
    gap: 0.35rem;
}

/* News-Kategorie-Badge */
.sz-news-category {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.sz-news-category--important {
    background: rgba(241, 116, 50, 0.18);
    color: var(--sz-orange);
}

.sz-news-category--matchday {
    background: rgba(100, 180, 255, 0.16);
    color: #8ec8ff;
}

html[data-theme="light"] .sz-news-category--matchday {
    color: #1a6bb5;
}

.sz-footer__stats {
    margin: 0.35rem 0 0.65rem;
    font-size: 0.82rem;
    opacity: 0.82;
}

/* —— Rangliste: Suche & Top-3 —— */
.sz-ranking-search {
    margin: 0 0 0.75rem;
}

.sz-ranking-search__label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sz-small);
}

.sz-ranking-search__input {
    width: min(100%, 22rem);
    padding: 0.5rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid var(--sz-border, rgba(255, 255, 255, 0.15));
    background: var(--sz-input-bg, rgba(0, 0, 0, 0.25));
    color: inherit;
}

.sz-ranking-search__empty {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--sz-small);
}

.sz-ranking-table__row--top1 {
    background: rgba(255, 210, 80, 0.08);
}

.sz-ranking-table__row--top2 {
    background: rgba(200, 200, 210, 0.06);
}

.sz-ranking-table__row--top3 {
    background: rgba(205, 140, 80, 0.07);
}

/* —— Live-Aktivitäts-Feed —— */
.sz-live-feed {
    position: relative;
    margin: 1.25rem 0 1.5rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(100, 180, 255, 0.28);
    background: linear-gradient(145deg, rgba(0, 28, 48, 0.9), rgba(0, 36, 14, 0.85));
    overflow: hidden;
}

html[data-theme="light"] .sz-live-feed {
    background: linear-gradient(145deg, #eef6ff, #f4f8f4);
    border-color: rgba(0, 80, 140, 0.18);
}

.sz-live-feed__glow {
    position: absolute;
    inset: -20% auto auto -15%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(100, 180, 255, 0.14), transparent 70%);
    pointer-events: none;
}

.sz-live-feed__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7ec8ff;
}

.sz-live-feed__title {
    margin: 0.15rem 0 0.25rem;
    font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.sz-live-feed__presence {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.85;
}

.sz-live-feed__list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    max-height: 14rem;
    overflow-y: auto;
}

.sz-live-feed__item {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
    line-height: 1.4;
}

html[data-theme="light"] .sz-live-feed__item {
    border-bottom-color: rgba(0, 60, 10, 0.08);
}

.sz-live-feed__item--new {
    animation: sz-live-feed-in 0.55s ease-out;
}

@keyframes sz-live-feed-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sz-live-feed__dot {
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.45rem;
    border-radius: 50%;
    background: var(--sz-orange);
    box-shadow: 0 0 8px rgba(241, 116, 50, 0.55);
}

.sz-live-feed__time {
    flex-shrink: 0;
    min-width: 6.75rem;
    margin-top: 0.05rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(126, 200, 255, 0.95);
    opacity: 0.9;
}

html[data-theme="light"] .sz-live-feed__time {
    color: rgba(0, 90, 160, 0.85);
}

.sz-live-feed__empty {
    margin: 0.65rem 0 0;
    font-size: 0.88rem;
    opacity: 0.75;
}

.sz-live-feed__list--panel {
    max-height: min(50vh, 22rem);
}

.sz-live-feed-panel--retro .sz-live-feed__list--panel {
    max-height: none;
}

.sz-live-feed__list--newest-first,
.sz-live-feed__list--chronological {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sz-live-feed__history-sentinel {
    flex-shrink: 0;
    height: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.sz-live-feed__history-status {
    margin: 0 0 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    text-align: center;
    opacity: 0.75;
}

.sz-live-feed-panel--retro .sz-live-feed-panel__body {
    display: flex;
    flex-direction: column;
}

/* —— Language switcher —— */
.sz-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .sz-lang-switch {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.04);
}

.sz-lang-switch__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.28rem 0.45rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: inherit;
    opacity: 0.65;
}

.sz-lang-switch__link:hover {
    opacity: 1;
}

.sz-lang-switch__link.is-active {
    opacity: 1;
    background: rgba(126, 200, 255, 0.25);
    color: #7ec8ff;
}

html[data-theme="light"] .sz-lang-switch__link.is-active {
    background: rgba(0, 100, 180, 0.12);
    color: rgba(0, 90, 160, 0.95);
}

.sz-lang-switch--compact {
    flex-shrink: 0;
}

/* Gast-Topbar: Sprache hinter Globus-Icon */
.sz-lang-switch--icon {
    position: relative;
    flex-shrink: 0;
}

.sz-lang-switch--icon .sz-lang-switch__trigger {
    position: relative;
}

.sz-lang-switch--icon .sz-lang-switch__current {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    opacity: 0.9;
    pointer-events: none;
}

.sz-lang-switch__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 620;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 4.5rem;
    padding: 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--sz-panel-bg, rgba(18, 42, 28, 0.98));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    margin: 0;
    pointer-events: auto;
}

.sz-lang-switch__menu[hidden] {
    display: none !important;
}

html[data-theme="light"] .sz-lang-switch__menu {
    border-color: rgba(0, 0, 0, 0.12);
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.sz-lang-switch__menu-link {
    display: block;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-align: center;
    color: inherit;
    opacity: 0.8;
}

.sz-lang-switch__menu-link:hover {
    opacity: 1;
    background: rgba(126, 200, 255, 0.18);
}

.sz-lang-switch__menu-link.is-active {
    opacity: 1;
    background: rgba(126, 200, 255, 0.28);
    color: #7ec8ff;
}

html[data-theme="light"] .sz-lang-switch__menu-link.is-active {
    background: rgba(0, 100, 180, 0.12);
    color: rgba(0, 90, 160, 0.95);
}

.sz-topbar__cluster .sz-lang-switch--icon {
    order: 2;
}

.sz-topbar__cluster .sz-theme-toggle {
    order: 3;
}

/* Gast-Topbar: kompakt, eine Zeile, Sprachmenü als Overlay */
.sz-topbar--guest .sz-topbar__guest-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.28rem;
    min-width: 0;
    margin-left: auto;
    overflow: visible;
}

.sz-topbar--guest .sz-topbar__guest-desktop {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.28rem;
    min-width: 0;
    overflow: visible;
}

.sz-topbar--guest .sz-nav--guest-auth {
    flex-wrap: nowrap;
    gap: 0.28rem;
    min-width: 0;
    flex-shrink: 0;
    overflow: visible;
}

.sz-topbar--guest .sz-nav--guest-auth a {
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 34px;
    padding: 0.22rem 0.45rem;
    white-space: nowrap;
    line-height: 1.2;
}

.sz-topbar--guest .sz-nav--guest-auth a.sz-cta {
    padding: 0.22rem 0.42rem;
    border-radius: 4px;
}

.sz-topbar--guest .sz-topbar__guest-desktop .sz-nav {
    flex-wrap: nowrap;
    gap: 0.28rem;
    min-width: 0;
    flex-shrink: 1;
    overflow: visible;
}

.sz-topbar--guest .sz-topbar__guest-desktop .sz-theme-toggle,
.sz-topbar--guest .sz-topbar__guest-desktop .sz-nav-icon,
.sz-topbar--guest .sz-topbar__guest-desktop .sz-lang-switch__trigger {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 8px;
}

.sz-topbar--guest .sz-topbar__guest-desktop .sz-nav-icon__inner svg,
.sz-topbar--guest .sz-topbar__guest-desktop .sz-lang-switch__trigger .sz-nav-icon__inner svg {
    width: 17px;
    height: 17px;
}

.sz-topbar--guest .sz-topbar__guest-desktop .sz-theme-toggle {
    font-size: 1rem;
}

.sz-topbar--guest .sz-lang-switch--icon .sz-lang-switch__current {
    right: 2px;
    bottom: 1px;
    font-size: 0.52rem;
}

@media (max-width: 560px) {
    .sz-topbar--guest .sz-topbar__row {
        gap: 0.35rem;
        min-height: 2.85rem;
        flex-wrap: nowrap;
    }

    .sz-topbar--guest .sz-topbar__guest-desktop {
        display: none !important;
    }

    .sz-topbar--guest .sz-topbar__guest-actions {
        gap: 0.2rem;
        margin-left: auto;
        flex-shrink: 0;
    }

    .sz-topbar--guest .sz-topbar__guest-mobile {
        display: flex;
        align-items: center;
        margin-left: 0;
        flex-shrink: 0;
    }

    .sz-topbar--guest .sz-logo {
        margin-right: 0;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    .sz-topbar--guest .sz-logo__img {
        max-width: 100%;
        height: 40px;
        width: auto;
    }

    .sz-topbar--guest .sz-nav--guest-auth a {
        font-size: 0.74rem;
        min-height: 32px;
        padding: 0.18rem 0.38rem;
    }

    .sz-topbar--guest .sz-nav--guest-auth a.sz-cta {
        padding: 0.18rem 0.36rem;
    }

    .sz-lang-switch--icon .sz-lang-switch__menu {
        position: fixed;
        z-index: 650;
    }
}

@media (min-width: 561px) {
    .sz-topbar--guest .sz-topbar__guest-mobile {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .sz-topbar--guest .sz-nav--guest-auth a {
        font-size: 0.68rem;
        padding: 0.16rem 0.28rem;
    }

    .sz-topbar--guest .sz-nav--guest-auth a.sz-cta {
        padding: 0.16rem 0.26rem;
    }

    .sz-topbar--guest .sz-logo__img {
        height: 36px;
    }
}

.sz-nav-drawer__link--cta .sz-nav-drawer__link-text {
    color: #fff;
}

.sz-nav-drawer--guest .sz-nav-drawer__link--cta {
    background: var(--sz-orange);
    border-radius: 8px;
}

.sz-nav-drawer--guest .sz-nav-drawer__link--cta:hover {
    filter: brightness(1.06);
}

.sz-nav-drawer__icons .sz-lang-switch {
    margin-right: 0.35rem;
}

/* —— Profil: Einstellungen —— */
.sz-profile-setting-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sz-profile-setting-row {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.sz-profile-setting-row:last-of-type {
    border-bottom: none;
}

.sz-profile-setting-row__copy {
    flex: 1 1 12rem;
    min-width: 0;
}

.sz-profile-setting-row__label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.sz-profile-setting-row__hint {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    opacity: 0.8;
    line-height: 1.4;
}

.sz-lang-switch--profile {
    flex-shrink: 0;
}

.sz-live-feed-menu-toggle--profile {
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

.sz-profile-settings-privacy-title {
    margin-top: 1.25rem;
}

.sz-profile-stammdaten-person {
    margin-top: 1.5rem;
}

.sz-profile-email-display {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0 0 0.75rem;
}

.sz-profile-email-display__label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sz-profile-email-display__value {
    font-size: 1.05rem;
    font-weight: 700;
    word-break: break-all;
}

.sz-profile-email-spoiler {
    margin-bottom: 0.25rem;
}

/* —— Profil: Administration —— */
.sz-admin-links {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sz-admin-links__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

button.sz-admin-links__item {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

html[data-theme="light"] .sz-admin-links__item {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
}

.sz-admin-links__item:hover {
    border-color: rgba(241, 116, 50, 0.45);
    background: rgba(241, 116, 50, 0.08);
    text-decoration: none;
}

.sz-admin-links__title {
    font-weight: 700;
    font-size: 0.95rem;
}

.sz-admin-links__desc {
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.35;
}

.sz-admin-role-help {
    margin-top: 0.5rem;
    font-size: 0.88rem;
}

.sz-admin-role-help__list {
    margin: 0.5rem 0 0;
}

.sz-admin-role-help__list dt {
    font-weight: 700;
    margin-top: 0.5rem;
}

.sz-admin-users__back {
    margin: 0 0 1rem;
}

.sz-admin-users__search {
    margin-bottom: 1rem;
}

.sz-admin-users-table__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
}

.sz-admin-users-table select {
    min-width: 9rem;
}

/* —— Live: Menü-Schalter (Burger / Desktop-Werkzeuge) —— */
.sz-live-feed-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.sz-live-feed-menu-toggle--drawer {
    padding: 0.85rem 1rem;
    margin: 0 0.65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .sz-live-feed-menu-toggle--drawer {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

.sz-live-feed-menu-toggle--toolbar {
    flex-shrink: 0;
}

.sz-live-feed-menu-toggle--toolbar .sz-live-feed-menu-toggle__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sz-live-feed-menu-toggle__label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.sz-live-feed-menu-toggle__hint {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    opacity: 0.75;
    line-height: 1.35;
}

.sz-live-feed-switch {
    flex-shrink: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.sz-live-feed-switch__track {
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

html[data-theme="light"] .sz-live-feed-switch__track {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.14);
}

.sz-live-feed-switch__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.sz-live-feed-switch--on .sz-live-feed-switch__track {
    background: rgba(126, 200, 255, 0.45);
    border-color: rgba(126, 200, 255, 0.75);
    box-shadow: 0 0 12px rgba(126, 200, 255, 0.35);
}

.sz-live-feed-switch--on .sz-live-feed-switch__thumb {
    transform: translateX(20px);
}

.sz-live-feed-switch--pending .sz-live-feed-switch__track {
    animation: sz-live-nav-pulse 1.1s ease-in-out 3;
    border-color: rgba(241, 116, 50, 0.9);
    box-shadow: 0 0 14px rgba(241, 116, 50, 0.5);
}

.sz-nav-drawer__live {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.35rem 0 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.35rem;
}

html[data-theme="light"] .sz-nav-drawer__live {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.sz-nav-drawer__link--live-open {
    margin: 0 0.65rem;
    width: calc(100% - 1.3rem);
}

.sz-burger--live-pending {
    animation: sz-live-nav-pulse 1.1s ease-in-out 3;
    border-color: rgba(241, 116, 50, 0.85) !important;
    box-shadow: 0 0 14px rgba(241, 116, 50, 0.45);
}

@media (max-width: 560px) {
    .sz-live-feed-menu-toggle--toolbar {
        display: none !important;
    }
}

@media (min-width: 561px) {
    .sz-nav-drawer__live,
    .sz-live-feed-menu-toggle--drawer {
        display: none !important;
    }
}

/* —— Live: Nav-Toggle (Gäste) —— */
.sz-nav-icon--live {
    position: relative;
}

.sz-nav-icon--live .sz-nav-icon__live-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sz-nav-icon--live-on .sz-nav-icon__live-ring {
    border-color: rgba(126, 200, 255, 0.75);
    box-shadow: 0 0 12px rgba(126, 200, 255, 0.45);
}

.sz-nav-icon--live-on .sz-nav-icon__inner {
    color: #7ec8ff;
}

.sz-nav-icon--live-pending .sz-nav-icon__live-ring {
    animation: sz-live-nav-pulse 1.1s ease-in-out 3;
    border-color: rgba(241, 116, 50, 0.9);
    box-shadow: 0 0 16px rgba(241, 116, 50, 0.55);
}

@keyframes sz-live-nav-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.65;
    }
}

/* —— Live: Toasts unten —— */
.sz-live-toast-stack {
    position: fixed;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9500;
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.55rem;
    width: min(26rem, calc(100vw - 1.5rem));
    pointer-events: none;
}

.sz-live-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(126, 200, 255, 0.45);
    border-radius: 0.85rem;
    background: linear-gradient(135deg, rgba(8, 32, 52, 0.96), rgba(0, 40, 16, 0.94));
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    color: var(--sz-body-color);
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateY(1.25rem) scale(0.96);
    transition:
        opacity 0.35s ease,
        transform 0.38s cubic-bezier(0.22, 1.1, 0.36, 1);
}

html[data-theme="light"] .sz-live-toast {
    background: linear-gradient(135deg, #eef6ff, #f4f8f4);
    border-color: rgba(0, 100, 180, 0.25);
    box-shadow: 0 10px 28px rgba(0, 60, 10, 0.12);
}

.sz-live-toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sz-live-toast__icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    filter: drop-shadow(0 0 6px rgba(241, 116, 50, 0.6));
}

.sz-live-toast__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.sz-live-toast__time {
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(126, 200, 255, 0.95);
    opacity: 0.92;
}

html[data-theme="light"] .sz-live-toast__time {
    color: rgba(0, 90, 160, 0.85);
}

.sz-live-toast__text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.sz-live-toast:hover {
    border-color: rgba(241, 116, 50, 0.55);
}

/* —— Live: Panel —— */
.sz-live-feed-panel {
    position: fixed;
    inset: 0;
    z-index: 9600;
    display: none !important;
    pointer-events: none;
    visibility: hidden;
}

.sz-live-feed-panel[hidden] {
    display: none !important;
}

.sz-live-feed-panel.is-open {
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0.75rem;
    pointer-events: auto;
    visibility: visible;
}

.sz-live-feed-panel__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

.sz-live-feed-panel.is-open .sz-live-feed-panel__backdrop {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

.sz-live-feed-panel__dialog {
    position: relative;
    width: min(32rem, 100%);
    max-height: min(85vh, 36rem);
    display: flex;
    flex-direction: column;
    border-radius: 1rem 1rem 0.75rem 0.75rem;
    border: 1px solid rgba(126, 200, 255, 0.35);
    background: linear-gradient(160deg, rgba(0, 28, 48, 0.98), rgba(0, 36, 14, 0.97));
    box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.sz-live-feed-panel.is-open .sz-live-feed-panel__dialog {
    transform: translateY(0);
}

html[data-theme="light"] .sz-live-feed-panel__dialog {
    background: linear-gradient(160deg, #f8fbff, #f4f8f4);
    border-color: rgba(0, 80, 140, 0.2);
}

.sz-live-feed-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.5rem;
}

.sz-live-feed-panel__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7ec8ff;
}

.sz-live-feed-panel__title {
    margin: 0.1rem 0 0;
    font-size: 1.15rem;
}

.sz-live-feed-panel__presence {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    opacity: 0.85;
}

.sz-live-feed-panel__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    padding: 0.15rem 0.35rem;
}

.sz-live-feed-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem;
}

.sz-live-feed-panel__foot {
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sz-live-feed-panel__foot {
    border-top-color: rgba(0, 60, 10, 0.1);
}

.sz-live-feed-panel__hint {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    opacity: 0.8;
}

.sz-nav-drawer__link--button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.sz-check {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin: 0.65rem 0;
    line-height: 1.4;
    cursor: pointer;
}

.sz-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* —— Startseite: NEW-News zwischen Tippspiel und Tipp-Status —— */
.sz-home-news-spotlight {
    position: relative;
    margin: 0.65rem 0 0.95rem;
    padding: 0.85rem 1rem 0.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 210, 80, 0.42);
    background: linear-gradient(145deg, rgba(48, 28, 0, 0.92), rgba(0, 36, 12, 0.9));
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

html[data-theme="light"] .sz-home-news-spotlight {
    border-color: rgba(200, 120, 0, 0.45);
    background: linear-gradient(145deg, #fff9ee, #f4f8f4);
    box-shadow: 0 10px 24px rgba(0, 60, 10, 0.1);
}

.sz-home-news-spotlight__glow {
    position: absolute;
    inset: -30% -10% auto auto;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(255, 196, 64, 0.18), transparent 68%);
    pointer-events: none;
}

.sz-home-news-spotlight__details {
    position: relative;
}

.sz-home-news-spotlight__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.sz-home-news-spotlight__summary::-webkit-details-marker {
    display: none;
}

.sz-home-news-spotlight__summary-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    min-width: 0;
    flex: 1;
}

.sz-home-news-spotlight__title {
    margin: 0;
    font-size: clamp(1.05rem, 3.2vw, 1.28rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--sz-body-color);
}

.sz-home-news-spotlight__toggle {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sz-orange);
    opacity: 0.9;
    padding-top: 0.15rem;
}

.sz-home-news-spotlight__details[open] .sz-home-news-spotlight__toggle-closed {
    display: none;
}

.sz-home-news-spotlight__details:not([open]) .sz-home-news-spotlight__toggle-open {
    display: none;
}

.sz-home-news-spotlight__panel {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .sz-home-news-spotlight__panel {
    border-top-color: rgba(0, 60, 10, 0.1);
}

.sz-home-news-spotlight__time {
    display: block;
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    opacity: 0.72;
}

.sz-home-news-spotlight__body {
    max-height: min(42vh, 20rem);
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.5;
    padding-right: 0.15rem;
}

.sz-home-news-spotlight__body p:first-child {
    margin-top: 0;
}

.sz-home-news-spotlight .sz-new-badge {
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .sz-open-tips__urgent-dot,
    .sz-forgotten-tips__link:hover {
        transform: none;
    }
}

/* —— Globale Suche —— */
button.sz-nav-icon {
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.sz-site-search {
    position: fixed;
    inset: 0;
    z-index: 9650;
    display: none !important;
    pointer-events: none;
    visibility: hidden;
}

.sz-site-search[hidden] {
    display: none !important;
}

.sz-site-search.is-open {
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0.75rem;
    pointer-events: auto;
    visibility: visible;
}

body.sz-site-search-open {
    overflow: hidden;
}

.sz-site-search__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

.sz-site-search.is-open .sz-site-search__backdrop {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

.sz-site-search__dialog {
    position: relative;
    width: min(34rem, 100%);
    max-height: min(88vh, 40rem);
    display: flex;
    flex-direction: column;
    border-radius: 1rem 1rem 0.75rem 0.75rem;
    border: 1px solid rgba(126, 200, 255, 0.35);
    background: linear-gradient(160deg, rgba(0, 28, 48, 0.98), rgba(0, 36, 14, 0.97));
    box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.sz-site-search.is-open .sz-site-search__dialog {
    transform: translateY(0);
}

html[data-theme="light"] .sz-site-search__dialog {
    background: linear-gradient(160deg, #f8fbff, #f4f8f4);
    border-color: rgba(0, 80, 140, 0.2);
}

.sz-site-search__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.35rem;
}

.sz-site-search__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7ec8ff;
}

.sz-site-search__title {
    margin: 0.1rem 0 0;
    font-size: 1.15rem;
}

.sz-site-search__close {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    padding: 0.15rem 0.35rem;
}

.sz-site-search__field-wrap {
    padding: 0.35rem 1rem 0.65rem;
}

.sz-site-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sz-site-search__input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    border-radius: 0.55rem;
    border: 1px solid rgba(126, 200, 255, 0.35);
    background: rgba(0, 0, 0, 0.25);
    color: inherit;
    font-size: 1rem;
}

html[data-theme="light"] .sz-site-search__input {
    background: #fff;
    border-color: rgba(0, 80, 140, 0.25);
}

.sz-site-search__input:focus {
    outline: 2px solid rgba(126, 200, 255, 0.65);
    outline-offset: 2px;
}

.sz-site-search__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem 0.5rem;
    min-height: 4rem;
}

.sz-site-search__hint,
.sz-site-search__empty {
    margin: 0.5rem 0;
    font-size: 0.88rem;
    opacity: 0.8;
}

.sz-site-search__group {
    margin: 0.65rem 0 0.85rem;
}

.sz-site-search__group-title {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}

.sz-site-search__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sz-site-search__link {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 0.55rem;
    margin: 0.15rem 0;
    border-radius: 0.45rem;
    text-decoration: none;
    color: inherit;
}

.sz-site-search__link:hover {
    background: rgba(126, 200, 255, 0.12);
}

html[data-theme="light"] .sz-site-search__link:hover {
    background: rgba(0, 100, 180, 0.08);
}

.sz-site-search__link-title {
    font-weight: 600;
}

.sz-site-search__link-sub {
    font-size: 0.78rem;
    opacity: 0.75;
}

.sz-site-search__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sz-site-search__foot {
    border-top-color: rgba(0, 60, 10, 0.1);
}

.sz-site-search__foot-hint {
    margin: 0;
    flex: 1 1 12rem;
    font-size: 0.75rem;
    line-height: 1.4;
    opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
    .sz-site-search__dialog {
        transition: none;
    }
}

/* Lieblingsverein: Datalist + freie Eingabe */
.sz-fav-club-field {
    display: block;
}

.sz-fav-club-field__hint {
    display: block;
    margin-top: 0.2rem;
    margin-bottom: 0.35rem;
    font-weight: 400;
}

/* —— Cookie-Einwilligung (global, fixed am unteren Viewport) —— */
body.sz-has-cookie-banner .sz-main {
    padding-bottom: max(7.5rem, calc(5.5rem + env(safe-area-inset-bottom, 0px)));
}

.sz-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9700;
    margin: 0;
    padding: 0.75rem 0 max(0.75rem, env(safe-area-inset-bottom, 0px));
    background: var(--sz-panel-bg, rgba(20, 40, 28, 0.98));
    border-top: 1px solid var(--sz-border, rgba(255, 255, 255, 0.2));
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

html[data-theme="light"] .sz-cookie-banner {
    background: rgba(255, 255, 255, 0.98);
    border-top-color: rgba(0, 60, 10, 0.22);
    box-shadow: 0 -4px 24px rgba(0, 40, 10, 0.14);
}

html[data-theme="light"] .sz-cookie-banner__title {
    color: #0d2818;
}

html[data-theme="light"] .sz-cookie-banner__text {
    color: #2a3d2f;
}

html[data-theme="light"] .sz-cookie-banner__link {
    color: #0a5c18;
    font-weight: 600;
    text-decoration: underline;
}

html[data-theme="light"] .sz-cookie-banner .sz-btn--ghost {
    background: #fff;
    color: var(--sz-green, #003c0a) !important;
    border: 2px solid var(--sz-green, #003c0a);
}

html[data-theme="dark"] .sz-cookie-banner__title {
    color: var(--sz-cream, #f4f1e8);
}

html[data-theme="dark"] .sz-cookie-banner__text {
    color: #cde4cd;
}

html[data-theme="dark"] .sz-cookie-banner__link {
    color: #a8e6b8;
}

.sz-cookie-banner--hidden,
.sz-cookie-banner[hidden] {
    display: none !important;
}

.sz-cookie-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

.sz-cookie-banner__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    color: var(--sz-body-color, #1a221a);
}

.sz-cookie-banner__text {
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
    color: var(--sz-hint-color, #4a5d4c);
    max-width: 52rem;
    line-height: 1.5;
}

.sz-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.sz-cookie-banner__link {
    font-size: 0.88rem;
    margin-left: 0.25rem;
    color: var(--sz-back-link, #0a5c18);
    font-weight: 600;
}

/* —— Toggle switches (Profil Push, Live-Feed, …) —— */
.sz-switch {
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

button.sz-switch {
    font: inherit;
    color: inherit;
}

.sz-switch__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.sz-switch__input:focus-visible + .sz-switch__track {
    outline: 2px solid rgba(126, 200, 255, 0.85);
    outline-offset: 2px;
}

button.sz-switch:focus-visible .sz-switch__track {
    outline: 2px solid rgba(126, 200, 255, 0.85);
    outline-offset: 2px;
}

.sz-switch__track {
    display: block;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    pointer-events: none;
}

html[data-theme="light"] .sz-switch__track {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.14);
}

.sz-switch__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}

.sz-switch:has(.sz-switch__input:checked) .sz-switch__track,
.sz-switch.sz-switch--on .sz-switch__track,
button.sz-switch[aria-checked="true"] .sz-switch__track {
    background: rgba(126, 200, 255, 0.45);
    border-color: rgba(126, 200, 255, 0.75);
    box-shadow: 0 0 12px rgba(126, 200, 255, 0.35);
}

.sz-switch:has(.sz-switch__input:checked) .sz-switch__thumb,
.sz-switch.sz-switch--on .sz-switch__thumb,
button.sz-switch[aria-checked="true"] .sz-switch__thumb {
    transform: translateX(20px);
}

.sz-switch:has(.sz-switch__input:indeterminate) .sz-switch__track {
    background: rgba(126, 200, 255, 0.28);
    border-color: rgba(126, 200, 255, 0.5);
}

.sz-switch:has(.sz-switch__input:indeterminate) .sz-switch__thumb {
    transform: translateX(10px);
}

.sz-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin: 0;
    cursor: default;
}

label.sz-switch-row {
    cursor: pointer;
}

.sz-switch-row__copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sz-switch-row__title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--sz-text, #e8f0ea);
}

html[data-theme="light"] .sz-switch-row__title {
    color: var(--sz-text, #1a2e1c);
}

.sz-switch-row__hint {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--sz-hint-color, rgba(232, 240, 234, 0.72));
}

html[data-theme="light"] .sz-switch-row__hint {
    color: var(--sz-hint-color, #4a5d4c);
}

/* —— Profil: Push-Einstellungen —— */
.sz-push-settings {
    margin-top: 1.25rem;
}

.sz-push-settings__header {
    margin-bottom: 0.75rem;
}

.sz-push-settings__header .sz-block-title {
    margin-bottom: 0.35rem;
}

.sz-push-settings__intro {
    margin: 0;
    max-width: 40rem;
}

.sz-push-settings__card {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .sz-push-settings__card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.sz-push-settings__device {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .sz-push-settings__device {
    background: rgba(10, 92, 24, 0.06);
    border-color: rgba(10, 92, 24, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.sz-push-settings__device .sz-push-settings__unsupported {
    margin: 0;
}

.sz-push-settings__browser {
    margin: 0;
}

.sz-push-settings__categories {
    padding-top: 0.15rem;
}

.sz-push-settings__categories-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sz-hint-color, rgba(232, 240, 234, 0.65));
}

html[data-theme="light"] .sz-push-settings__categories-kicker {
    color: var(--sz-hint-color, #5a6d5c);
}

.sz-push-settings__master {
    padding: 0 0 0.65rem;
}

.sz-push-settings__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sz-push-settings__item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sz-push-settings__item {
    border-top-color: rgba(0, 0, 0, 0.06);
}

.sz-push-settings__item .sz-switch-row {
    padding: 0.75rem 0;
}

.sz-push-settings__unsupported {
    margin: 0 0 0.25rem;
}

.sz-push-settings__autosave {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
}

.sz-push-settings .sz-banner {
    margin-top: 0.75rem;
}

.sz-push-settings__browser.sz-switch-row--busy .sz-switch {
    opacity: 0.55;
    pointer-events: none;
}
