/* 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);
}

a.sz-open-tips__chip {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

a.sz-open-tips__chip:hover {
    text-decoration: none;
    filter: brightness(1.06);
}

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__chip strong {
    font-weight: 700;
}

.sz-open-tips__chip time {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sz-open-tips__chip--open {
    box-shadow: inset 0 0 0 1px rgba(232, 93, 4, 0.35);
}

html[data-theme="light"] .sz-open-tips__chip--open {
    background: rgba(232, 93, 4, 0.1);
    box-shadow: inset 0 0 0 1px rgba(232, 93, 4, 0.25);
}

.sz-open-tips__preview {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sz-open-tips__preview-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(232, 93, 4, 0.22);
    background: rgba(232, 93, 4, 0.06);
    color: inherit;
    text-decoration: none;
    font-size: 0.82rem;
    line-height: 1.25;
    transition: background 0.15s ease, border-color 0.15s ease;
}

a.sz-open-tips__preview-link:hover {
    background: rgba(232, 93, 4, 0.12);
    border-color: rgba(232, 93, 4, 0.35);
}

.sz-open-tips__preview-time {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--sz-orange, #e85d04);
    white-space: nowrap;
}

.sz-open-tips__preview-matchup {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    flex: 1 1 auto;
}

.sz-open-tips__preview-team {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.sz-open-tips__preview-sep {
    flex: 0 0 auto;
    opacity: 0.55;
}

.sz-open-tips__preview-more {
    margin: 0.1rem 0 0;
    padding: 0 0.55rem;
    font-size: 0.74rem;
    color: var(--sz-muted, #6b7280);
}

html[data-theme="dark"] .sz-open-tips__preview-link {
    border-color: rgba(241, 116, 50, 0.28);
    background: rgba(241, 116, 50, 0.08);
}

.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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    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;
}

/* Startseite: Kicker + Info-Icon in einer Zeile */
.sz-home-brand__season-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 0.55rem;
}

.sz-home-brand__season-head-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: 100%;
}

.sz-home-brand__season-head .sz-home-brand__kicker {
    margin: 0;
}

/* Tippspiel-Name zentriert unter Kicker */
.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;
}

/* Avatar + Name als eine Zeile; Block zentriert, Text direkt am Avatar */
.sz-home-brand__title-with-av {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
}

.sz-home-brand__title-with-av .sz-home-brand__title {
    width: auto;
    text-align: start;
    flex: 0 1 auto;
    min-width: 0;
}

.sz-home-brand__stats-spoiler {
    margin: 0;
    max-width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.sz-home-brand__stats-spoiler-summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(2, 22, 10, 0.16);
    color: rgba(232, 248, 232, 0.82);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.sz-home-brand__stats-spoiler-summary::-webkit-details-marker {
    display: none;
}

.sz-home-brand__stats-spoiler-summary:hover {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(241, 116, 50, 0.45);
    transform: scale(1.05);
}

.sz-home-brand__stats-spoiler[open] .sz-home-brand__stats-spoiler-summary {
    border-color: rgba(241, 116, 50, 0.55);
    background: rgba(241, 116, 50, 0.18);
}

.sz-home-brand__stats-spoiler-icon {
    display: inline-flex;
    align-items: center;
    color: var(--sz-orange);
    opacity: 0.95;
}

html[data-theme="light"] .sz-home-brand__stats-spoiler-summary {
    border-color: rgba(10, 92, 24, 0.12);
    background: rgba(255, 255, 255, 0.55);
    color: rgba(15, 42, 25, 0.72);
}

html[data-theme="light"] .sz-home-brand__stats-spoiler-summary:hover {
    color: rgba(10, 92, 24, 0.92);
    border-color: rgba(241, 116, 50, 0.45);
}

html[data-theme="light"] .sz-home-brand__stats-spoiler[open] .sz-home-brand__stats-spoiler-summary {
    background: rgba(241, 116, 50, 0.12);
}

.sz-home-brand__stats-spoiler .sz-home-brand__stats {
    flex: 0 0 100%;
    margin-top: 0.15rem;
    justify-content: center;
    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);
}

/* 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%;
    }
}

/* 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 {
    width: auto;
    height: auto;
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
    object-position: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
}

.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;
}

.sz-bracket__matches > li {
    min-width: 0;
}

.sz-bracket__matches > li > .sz-bracket-tree__match {
    --sz-bracket-flag-col: 1.75rem;
    max-width: none;
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(4.25rem, 5.25rem) minmax(0, 1fr) var(--sz-bracket-flag-col) minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 0.3rem;
    row-gap: 0.18rem;
    padding: 0.55rem 0.65rem;
    box-sizing: border-box;
}

.sz-bracket__matches .sz-bracket-tree__match-head {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sz-bracket__matches .sz-bracket-tree__pending {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    text-align: left;
    min-width: 0;
    white-space: nowrap;
}

.sz-bracket__matches .sz-bracket-tree__extras {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0.15rem;
    padding-top: 0.2rem;
    border-top: 1px solid var(--sz-bracket-match-border);
}

/* Zeilen auflösen → gemeinsame Flaggen-Spalte, Heimname links / Gastname rechts */
.sz-bracket__matches .sz-bracket-tree__row--home,
.sz-bracket__matches .sz-bracket-tree__row--away {
    display: contents;
}

.sz-bracket__matches .sz-bracket-tree__row--home .sz-bracket-tree__name {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.sz-bracket__matches .sz-bracket-tree__row--home .sz-bracket-tree__crest {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
}

.sz-bracket__matches .sz-bracket-tree__row--away .sz-bracket-tree__crest {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
}

.sz-bracket__matches .sz-bracket-tree__row--away .sz-bracket-tree__name {
    grid-column: 4;
    grid-row: 2;
    justify-self: stretch;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.sz-bracket__matches .sz-bracket-tree__row--home .sz-bracket-tree__goals {
    grid-column: 5;
    grid-row: 1;
}

.sz-bracket__matches .sz-bracket-tree__row--away .sz-bracket-tree__goals {
    grid-column: 5;
    grid-row: 2;
}

.sz-bracket__matches .sz-bracket-tree__row--home .sz-bracket-tree__adv,
.sz-bracket__matches .sz-bracket-tree__row--away .sz-bracket-tree__adv {
    display: none;
}

.sz-bracket__matches .sz-bracket-tree__row--home.sz-bracket-tree__row--with-label .sz-bracket-tree__team-label {
    grid-column: 2 / 5;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.sz-bracket__matches .sz-bracket-tree__row--away.sz-bracket-tree__row--with-label .sz-bracket-tree__team-label {
    grid-column: 2 / 5;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

@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-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.sz-bracket__team.is-winner .sz-bracket__team-name {
    color: var(--sz-orange);
    font-weight: 800;
}

.sz-bracket__advances {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--sz-open-tips-complete);
    line-height: 1;
}

.sz-bracket__team--away .sz-bracket__team-name {
    order: 1;
}

.sz-bracket__team--away .sz-bracket__advances {
    order: 2;
}

.sz-bracket__team--away .sz-team-crest {
    order: 3;
}

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

.sz-team-crest,
.sz-bracket__team img {
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 0;
}

.sz-bracket__team .sz-team-crest,
.sz-bracket__team img {
    width: 32px;
    height: 32px;
}

.sz-bracket__score {
    grid-row: 1;
    grid-column: 2;
    font-weight: 800;
    font-size: 1rem;
    color: var(--sz-hint-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    min-width: 3.5rem;
}

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

.sz-bracket__score-main {
    line-height: 1.15;
}

.sz-bracket__score-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--sz-hint-color);
    line-height: 1.2;
}

.sz-bracket__match-meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.55rem;
    font-size: 0.72rem;
    color: var(--sz-hint-color);
}

.sz-bracket__badge {
    padding: 0.12rem 0.4rem;
    border-radius: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--sz-orange);
    background: rgba(241, 116, 50, 0.16);
    border: 1px solid rgba(241, 116, 50, 0.35);
}

.sz-bracket__time {
    font-size: inherit;
    color: inherit;
}

/* KO-Turnierbaum (horizontal: Achtel → … → Finale, Verbindungslinien) */
.sz-ko-bracket-wrap {
    overflow-x: auto;
    margin: 0.5rem 0 0.35rem;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 0.65rem;
    border-radius: 0.85rem;
    background: linear-gradient(
        135deg,
        rgba(0, 40, 16, 0.35) 0%,
        rgba(0, 28, 12, 0.15) 50%,
        rgba(0, 40, 16, 0.25) 100%
    );
    border: 1px solid var(--sz-bracket-match-border);
}

.sz-ko-bracket {
    --ko-line: var(--sz-orange);
    --ko-line-dim: rgba(241, 116, 50, 0.45);
    --ko-gap: 2.75rem;
    --ko-arm: 1.35rem;
    --ko-col-gap: 0.65rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--ko-gap);
    min-height: var(--ko-min-height, 73rem);
    min-width: max(100%, 44rem);
    padding: 0.75rem 1.25rem 1rem;
}

.sz-ko-bracket__round {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 9.5rem;
    max-width: 13.5rem;
    position: relative;
}

.sz-ko-bracket__round-head {
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--ko-line-dim);
}

.sz-ko-bracket__round-title {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sz-ko-round-title, var(--sz-orange));
    line-height: 1.3;
}

html[data-theme="light"] {
    --sz-ko-round-title: #9a3d08;
}

html[data-theme="light"] .sz-ko-bracket-wrap {
    background: linear-gradient(
        135deg,
        rgba(241, 116, 50, 0.08) 0%,
        rgba(255, 255, 255, 0.92) 45%,
        rgba(241, 116, 50, 0.06) 100%
    );
}

html[data-theme="light"] .sz-ko-bracket__round-head {
    border-bottom-color: rgba(154, 61, 8, 0.35);
}

.sz-ko-bracket__endgames {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: center;
    gap: 0.65rem;
    flex-shrink: 0;
    margin-left: 0.15rem;
}

.sz-ko-bracket__endgames .sz-ko-bracket__round {
    min-width: 9rem;
    max-width: 12rem;
}

.sz-ko-bracket__endgames .sz-ko-bracket__col {
    min-height: auto;
    justify-content: center;
}

.sz-ko-bracket__endgames .sz-ko-bracket__slot {
    min-height: auto;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.sz-ko-bracket__round.is-compact:not(.is-last) .sz-ko-bracket__slot::after,
.sz-ko-bracket__round.is-compact:not(.is-last) .sz-ko-bracket__slot::before {
    display: none;
}

.sz-ko-bracket__round.is-compact:not(.is-first) .sz-ko-bracket__slot {
    background-image: none;
}

.sz-ko-bracket__round.is-final .sz-ko-bracket__round-head {
    border-bottom-color: var(--sz-orange);
}

.sz-ko-bracket__col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: var(--ko-col-gap);
    min-height: var(--ko-min-height, 73rem);
}

.sz-ko-bracket__slot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: var(--ko-slot-min, 8.35rem);
    box-sizing: border-box;
    padding: 0.2rem calc(var(--ko-arm) + 0.2rem) 0.2rem 0.2rem;
    overflow: visible;
}

.sz-ko-bracket__round.is-first .sz-ko-bracket__slot {
    padding-left: 0;
}

.sz-ko-bracket__round.is-last .sz-ko-bracket__slot {
    padding-right: 0;
}

/* Eingang aus vorheriger Runde (Slot-Mitte) – unabhängig von Paar-Pseudos */
.sz-ko-bracket__round:not(.is-first) .sz-ko-bracket__slot {
    background-image: linear-gradient(var(--ko-line), var(--ko-line));
    background-repeat: no-repeat;
    background-size: calc(var(--ko-gap) / 2 + var(--ko-arm)) 2px;
    background-position: calc(-1 * (var(--ko-gap) / 2 + var(--ko-arm))) 50%;
}

/* Paar-Arm oben (1., 3., 5. … Spiel) – überbrückt halben Spaltenabstand */
.sz-ko-bracket__round:not(.is-last) .sz-ko-bracket__slot:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: var(--ko-arm);
    height: calc(50% + var(--ko-col-gap) / 2);
    margin-top: -1px;
    border-top: 2px solid var(--ko-line-dim);
    border-right: 2px solid var(--ko-line-dim);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 0;
}

/* Paar-Arm unten (2., 4., 6. … Spiel) */
.sz-ko-bracket__round:not(.is-last) .sz-ko-bracket__slot:nth-child(even)::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 50%;
    width: var(--ko-arm);
    height: calc(50% + var(--ko-col-gap) / 2);
    margin-bottom: -1px;
    border-bottom: 2px solid var(--ko-line-dim);
    border-right: 2px solid var(--ko-line-dim);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 0;
}

/* Horizontale Klammer zwischen zwei Spielen eines Paars (Mitte des Spalten-Gaps) */
.sz-ko-bracket__round:not(.is-last) .sz-ko-bracket__slot:nth-child(even)::before {
    content: '';
    position: absolute;
    right: calc(-1 * var(--ko-gap) / 2 - var(--ko-arm));
    top: calc(-1 * var(--ko-col-gap) / 2);
    width: calc(var(--ko-gap) / 2 + var(--ko-arm));
    height: 2px;
    margin-top: -1px;
    background: var(--ko-line-dim);
    pointer-events: none;
    z-index: 0;
}

.sz-ko-bracket__match-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 12.5rem;
    min-width: 8rem;
}

.sz-ko-bracket__round.is-final .sz-ko-bracket__match-wrap {
    max-width: 13.5rem;
}

.sz-match--schedule {
    border-style: dashed;
}

.sz-match--schedule .sz-match__teams-link {
    cursor: default;
}

.sz-bracket-tree__match--schedule {
    border-style: dashed;
    opacity: 0.95;
}

.sz-bracket-tree__crest--empty {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 0.25rem;
    border: 1px dashed var(--sz-bracket-match-border);
    background: var(--sz-surface-2, rgba(255, 255, 255, 0.06));
    box-sizing: border-box;
}

html[data-theme="light"] .sz-bracket-tree__crest--empty {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.18);
}

/* Platzhalter-Teams: voller Text statt leerer Wappen-Box (siehe KO-Grid unten) */

.sz-bracket-tree__team-label {
    display: block;
    min-width: 0;
    width: 100%;
    padding: 0.1rem 0.15rem;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    color: var(--sz-body-color, #e8f5e9);
}

html[data-theme="light"] .sz-bracket-tree__team-label {
    color: #1a2e1a;
}

.sz-bracket-tree__match--schedule .sz-bracket-tree__team-label {
    font-size: 0.64rem;
    font-weight: 800;
}

.sz-ko-bracket .sz-bracket-tree__match--schedule {
    min-width: 8.5rem;
}

.sz-ko-bracket__match-wrap:has(.sz-bracket-tree__match--schedule) {
    max-width: 14.5rem;
}

.sz-ko-bracket .sz-bracket-tree__match {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0.5rem 0.55rem 0.45rem;
    box-sizing: border-box;
    overflow: visible;
}

.sz-bracket-tree__match {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    max-width: 10.5rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.55rem;
    border: 1px solid var(--sz-bracket-match-border);
    background: var(--sz-bracket-match-bg);
    color: inherit;
    text-decoration: none;
    font-size: 0.72rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sz-bracket-tree__match--has-my-tip {
    position: relative;
}

.sz-bracket__matches > li > .sz-bracket-tree__match--has-my-tip {
    overflow: visible;
}

.sz-bracket-tree__my-tip {
    position: absolute;
    top: 0.18rem;
    right: 0.28rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    max-width: calc(100% - 0.5rem);
    padding: 0.1rem 0.38rem 0.1rem 0.32rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 116, 50, 0.42);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 244, 236, 0.98) 55%,
        rgba(255, 230, 214, 0.96) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 2px 8px rgba(241, 116, 50, 0.18);
    color: var(--sz-orange);
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    pointer-events: none;
    white-space: nowrap;
}

html[data-theme="dark"] .sz-bracket-tree__my-tip {
    border-color: rgba(241, 116, 50, 0.55);
    background: linear-gradient(
        135deg,
        rgba(28, 42, 30, 0.96) 0%,
        rgba(38, 52, 34, 0.98) 55%,
        rgba(52, 38, 28, 0.96) 100%
    );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 2px 10px rgba(0, 0, 0, 0.35);
    color: #ffb07a;
}

.sz-bracket-tree__my-tip-label {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.82;
}

.sz-bracket-tree__my-tip-score {
    font-variant-numeric: tabular-nums;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.sz-bracket-tree__my-tip-colon {
    opacity: 0.72;
    padding: 0 0.04rem;
}

.sz-bracket-tree__my-tip-extra {
    font-size: 0.48rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.88;
    padding-left: 0.12rem;
    border-left: 1px solid rgba(241, 116, 50, 0.28);
}

.sz-ko-bracket .sz-bracket-tree__my-tip {
    top: 0.12rem;
    right: 0.22rem;
}

@media (max-width: 420px) {
    .sz-bracket-tree__my-tip-label {
        display: none;
    }
}

.sz-bracket-tree__match:hover,
.sz-bracket-tree__match:focus-visible {
    border-color: var(--sz-orange);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    outline: none;
}

.sz-bracket-tree__match-head {
    font-size: 0.62rem;
    color: var(--sz-hint-color);
    text-align: center;
    line-height: 1.25;
}

.sz-bracket-tree__row {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.15rem 0.2rem;
    font-weight: 600;
    min-width: 0;
}

.sz-ko-bracket .sz-bracket-tree__row {
    grid-template-columns: 1.15rem minmax(0, 1fr) 1.25rem;
    text-align: left;
}

.sz-ko-bracket .sz-bracket-tree__row.is-winner {
    grid-template-columns: 1.15rem minmax(0, 1fr) 0.85rem 1.25rem;
}

.sz-ko-bracket .sz-bracket-tree__row--away {
    text-align: left;
}

.sz-bracket-tree__row--away {
    grid-template-columns: auto 1fr 1.25rem;
    text-align: right;
}

/* Platzhalter-Label: volle Zeilenbreite (nach .sz-ko-bracket .sz-bracket-tree__row, höhere Spezifität) */
.sz-bracket-tree__row.sz-bracket-tree__row--with-label {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.sz-ko-bracket .sz-bracket-tree__row.sz-bracket-tree__row--with-label {
    grid-template-columns: minmax(0, 1fr) 1.25rem;
}

.sz-ko-bracket .sz-bracket-tree__row.sz-bracket-tree__row--with-label.is-winner {
    grid-template-columns: minmax(0, 1fr) 0.85rem 1.25rem;
}

.sz-bracket-tree__row--away.sz-bracket-tree__row--with-label {
    text-align: left;
}

.sz-bracket-tree__row.is-winner .sz-bracket-tree__name {
    color: var(--sz-orange);
    font-weight: 800;
}

.sz-bracket-tree__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.sz-bracket-tree__crest:not(.sz-crest) {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.sz-bracket-tree__crest.sz-crest {
    flex-shrink: 0;
    width: var(--sz-crest-slot, 1.15rem);
    height: var(--sz-crest-slot, 1.15rem);
    min-width: var(--sz-crest-slot, 1.15rem);
    min-height: var(--sz-crest-slot, 1.15rem);
    max-width: var(--sz-crest-slot, 1.15rem);
    max-height: var(--sz-crest-slot, 1.15rem);
}

.sz-bracket-tree__crest.sz-crest--flag .sz-crest__frame {
    width: 100%;
    max-width: 100%;
}

.sz-bracket-tree__crest.sz-crest .sz-crest__mark {
    width: 26%;
    height: 26%;
    min-width: 7px;
    min-height: 7px;
}

.sz-bracket-tree__goals {
    font-weight: 800;
    font-size: 0.78rem;
    min-width: 1.1rem;
    text-align: center;
    justify-self: end;
}

.sz-bracket-tree__adv {
    display: none;
    font-size: 0.65rem;
    color: var(--sz-open-tips-complete);
    font-weight: 800;
}

.sz-ko-bracket .sz-bracket-tree__row.is-winner .sz-bracket-tree__adv {
    display: inline;
    justify-self: center;
    color: #7ae69a;
}

html[data-theme="light"] .sz-ko-bracket .sz-bracket-tree__row.is-winner .sz-bracket-tree__adv {
    color: #1a7a3a;
}

.sz-ko-bracket .sz-bracket-tree__row.is-winner .sz-bracket-tree__goals {
    justify-self: end;
}

.sz-ko-bracket .sz-bracket-tree__extras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    margin-top: 0.1rem;
    padding-top: 0.15rem;
    border-top: 1px solid var(--sz-bracket-match-border);
    font-size: 0.58rem;
    line-height: 1.2;
}

.sz-bracket-tree__pending {
    text-align: center;
    font-size: 0.68rem;
    color: var(--sz-hint-color);
}

.sz-bracket-tree__extras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 0.35rem;
    font-size: 0.58rem;
    color: var(--sz-hint-color);
}

.sz-bracket-tree__badge {
    padding: 0.08rem 0.3rem;
    border-radius: 0.3rem;
    font-weight: 700;
    color: var(--sz-orange);
    border: 1px solid rgba(241, 116, 50, 0.35);
}

.sz-ko-bracket__round.is-final .sz-bracket-tree__match {
    border-color: var(--sz-orange);
    box-shadow: 0 0 0 1px rgba(241, 116, 50, 0.25), 0 6px 20px rgba(241, 116, 50, 0.12);
}

.sz-bracket-tree__match.is-winner-path,
.sz-bracket-tree__row.is-winner .sz-bracket-tree__name {
    color: var(--sz-orange);
}

@media (max-width: 720px) {
    .sz-ko-bracket {
        --ko-gap: 2rem;
        --ko-arm: 1rem;
        min-width: 36rem;
        padding: 0.65rem 0.85rem;
    }

    .sz-ko-bracket__round {
        min-width: 8.25rem;
    }

    .page-turnierbaum .sz-tournament-groups__grid {
        grid-template-columns: 1fr;
    }
}

.sz-turnierbaum-export {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
    align-items: center;
}

.sz-turnierbaum-export__hint {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.78rem;
}

@media (min-width: 720px) {
    .sz-bracket-tree {
        min-width: 100%;
    }

    .sz-bracket-tree__round {
        grid-template-columns: 4.5rem 1fr;
    }

    .sz-bracket-tree__match {
        max-width: 12rem;
    }
}

/* Gruppenphase (Turnier) */
.sz-tournament-groups {
    margin: 0.85rem 0 1.25rem;
    max-width: 100%;
    overflow-x: clip;
}

.page-turnierbaum .sz-tournament-groups {
    margin-bottom: 0.75rem;
}

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

.sz-tournament-groups__rules {
    margin: 0 0 0.65rem;
    max-width: 42rem;
    font-size: 0.82rem;
}

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

.page-turnierbaum .sz-tournament-group-card {
    min-width: 0;
    max-width: 100%;
}

.page-turnierbaum .sz-tournament-group-card__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sz-tournament-group-card {
    border-radius: 0.65rem;
    border: 1px solid var(--sz-bracket-match-border);
    background: var(--sz-bracket-match-bg);
    padding: 0.5rem 0.55rem 0.6rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.sz-tournament-group-table thead th {
    padding: 0.28rem 0.35rem;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
}

.sz-tournament-group-table tbody td {
    padding: 0.22rem 0.35rem;
    line-height: 1.25;
}

.sz-tournament-group-table .sz-ranking-table__place {
    width: 1.35rem;
    padding-inline: 0.25rem;
}

.sz-tournament-group-table .sz-ranking-table__num {
    padding-inline: 0.3rem;
    white-space: nowrap;
}

.sz-tournament-group-table__col-pts {
    min-width: 2rem;
}

/* S/U/N/Tore: ausgeblendet, bei Zeilen-Hover/Fokus einblenden; Tooltip auf sichtbaren Zellen */
.sz-tournament-groups:not(.sz-tournament-groups--compact) .sz-tournament-group-table__col-on-hover {
    display: none;
}

.sz-tournament-groups:not(.sz-tournament-groups--compact) .sz-tournament-group-table:has(tbody tr:hover) .sz-tournament-group-table__col-on-hover,
.sz-tournament-groups:not(.sz-tournament-groups--compact) .sz-tournament-group-table:has(tbody tr:focus-within) .sz-tournament-group-table__col-on-hover {
    display: table-cell;
}

.sz-tournament-group-table thead th {
    text-align: center;
}

.sz-tournament-group-table thead th:not(:nth-child(2)) {
    text-align: center;
}

.sz-tournament-group-table thead th:nth-child(2) {
    text-align: left;
}

.sz-tournament-group-table__cell-tip {
    cursor: help;
}

.sz-tournament-group-table tbody tr:focus {
    outline: none;
}

.sz-tournament-group-table tbody tr:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(241, 116, 50, 0.45);
}

.sz-tournament-group-table__team,
.sz-tournament-group-table__team-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    vertical-align: middle;
}

a.sz-tournament-group-table__team-link {
    color: inherit;
    text-decoration: none;
    border-radius: 0.35rem;
    transition: color 0.12s ease;
}

a.sz-tournament-group-table__team-link:hover,
a.sz-tournament-group-table__team-link:focus-visible {
    color: var(--sz-orange);
    outline: none;
}

a.sz-tournament-group-table__team-link:focus-visible {
    box-shadow: 0 0 0 2px rgba(241, 116, 50, 0.45);
}

a.sz-tournament-group-table__team-link:hover .sz-tournament-group-table__name,
a.sz-tournament-group-table__team-link:focus-visible .sz-tournament-group-table__name {
    color: var(--sz-orange);
}

.sz-tournament-group-table__logo:not(.sz-crest) {
    width: 24px;
    height: 24px;
}

.sz-tournament-group-table__logo.sz-crest {
    flex-shrink: 0;
    width: var(--sz-crest-slot, 1.25rem);
    height: var(--sz-crest-slot, 1.25rem);
    min-width: var(--sz-crest-slot, 1.25rem);
    min-height: var(--sz-crest-slot, 1.25rem);
    max-width: var(--sz-crest-slot, 1.25rem);
    max-height: var(--sz-crest-slot, 1.25rem);
}

.sz-tournament-group-table__logo.sz-crest--flag .sz-crest__frame {
    width: 100%;
    max-width: 100%;
}

.sz-tournament-group-table__logo.sz-crest .sz-crest__mark {
    width: 26%;
    height: 26%;
    min-width: 8px;
    min-height: 8px;
}

/* Bundesliga-Tabelle (Ranglisten, Ligamodus) */
.sz-bundesliga-table__team {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.sz-bundesliga-table__logo {
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    object-position: center;
}

.sz-bundesliga-table__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sz-bundesliga-table__place {
    position: relative;
    font-weight: 700;
}

.sz-bundesliga-table__place--champion {
    box-shadow: inset 4px 0 0 #d4af37;
}

.sz-bundesliga-table__place--cl {
    box-shadow: inset 4px 0 0 #1e6bd6;
}

.sz-bundesliga-table__place--europa {
    box-shadow: inset 4px 0 0 #f59e0b;
}

.sz-bundesliga-table__place--conference {
    box-shadow: inset 4px 0 0 #14b8a6;
}

.sz-bundesliga-table__place--relegation_playoff {
    box-shadow: inset 4px 0 0 #a855f7;
}

.sz-bundesliga-table__place--relegation {
    box-shadow: inset 4px 0 0 #dc2626;
}

.sz-bundesliga-table__row--champion {
    background: rgba(212, 175, 55, 0.1);
}

.sz-bundesliga-table__row--cl {
    background: rgba(30, 107, 214, 0.08);
}

.sz-bundesliga-table__row--europa {
    background: rgba(245, 158, 11, 0.09);
}

.sz-bundesliga-table__row--conference {
    background: rgba(20, 184, 166, 0.08);
}

.sz-bundesliga-table__row--relegation_playoff {
    background: rgba(168, 85, 247, 0.08);
}

.sz-bundesliga-table__row--relegation {
    background: rgba(220, 38, 38, 0.09);
}

html[data-theme="light"] .sz-bundesliga-table__row--champion {
    background: rgba(212, 175, 55, 0.14);
}

html[data-theme="light"] .sz-bundesliga-table__row--cl {
    background: rgba(30, 107, 214, 0.1);
}

html[data-theme="light"] .sz-bundesliga-table__row--relegation {
    background: rgba(220, 38, 38, 0.1);
}

.sz-bundesliga-table__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    margin: 0.55rem 0 0.35rem;
    font-size: 0.72rem;
    color: var(--sz-hint-color);
}

.sz-bundesliga-table__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sz-bundesliga-table__legend-swatch {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 2px;
    box-shadow: inset 3px 0 0 currentColor;
}

.sz-bundesliga-table__legend-swatch.sz-bundesliga-table__place--champion { color: #d4af37; }
.sz-bundesliga-table__legend-swatch.sz-bundesliga-table__place--cl { color: #1e6bd6; }
.sz-bundesliga-table__legend-swatch.sz-bundesliga-table__place--europa { color: #f59e0b; }
.sz-bundesliga-table__legend-swatch.sz-bundesliga-table__place--conference { color: #14b8a6; }
.sz-bundesliga-table__legend-swatch.sz-bundesliga-table__place--relegation_playoff { color: #a855f7; }
.sz-bundesliga-table__legend-swatch.sz-bundesliga-table__place--relegation { color: #dc2626; }

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

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

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

.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);
}

.page-turnierbaum #ko-phase.sz-bracket-section {
    margin-bottom: 0.35rem;
}

.page-turnierbaum #ko-phase .sz-bracket-section__title {
    margin-bottom: 0.5rem;
}

/* Turnierbaum: Teamlogos 2× visuell, Layout-Slots unverändert – ohne mit skalierten Schatten */
.page-turnierbaum {
    --sz-turnierbaum-crest-scale: 1.5;
}

.page-turnierbaum .sz-bracket-tree__crest.sz-crest,
.page-turnierbaum .sz-tournament-group-table__logo.sz-crest {
    display: grid;
    place-items: center;
    overflow: visible;
    position: relative;
    z-index: 2;
    --sz-crest-glass-strength: 0.88;
}

.page-turnierbaum .sz-bracket-tree__crest.sz-crest .sz-crest__frame,
.page-turnierbaum .sz-tournament-group-table__logo.sz-crest .sz-crest__frame,
.page-turnierbaum .sz-crest--fixed-slot .sz-crest__frame {
    transform: scale(var(--sz-turnierbaum-crest-scale));
    transform-origin: center center;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(130, 200, 150, 0.38);
    background: transparent;
    box-shadow: none;
}

.page-turnierbaum a.sz-tournament-group-table__team-link:hover .sz-crest__frame,
.page-turnierbaum a.sz-tournament-group-table__team-link:focus-visible .sz-crest__frame {
    border-color: rgba(241, 116, 50, 0.55);
    box-shadow: none;
}

.page-turnierbaum .sz-bracket-tree__crest.sz-crest .sz-crest__frame::before,
.page-turnierbaum .sz-tournament-group-table__logo.sz-crest .sz-crest__frame::before {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 1px 2px rgba(255, 255, 255, 0.14),
        inset 0 -1px 2px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .page-turnierbaum .sz-bracket-tree__crest.sz-crest .sz-crest__frame,
html[data-theme="light"] .page-turnierbaum .sz-tournament-group-table__logo.sz-crest .sz-crest__frame {
    border-color: rgba(0, 60, 10, 0.12);
    background: transparent;
}

html[data-theme="light"] .page-turnierbaum .sz-bracket-tree__crest.sz-crest .sz-crest__frame::before,
html[data-theme="light"] .page-turnierbaum .sz-tournament-group-table__logo.sz-crest .sz-crest__frame::before {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.45),
        inset 0 -1px 2px rgba(0, 40, 10, 0.06);
}

.page-turnierbaum .sz-tournament-group-table__team,
.page-turnierbaum .sz-tournament-group-table__team-link {
    gap: 0.65rem;
}

.page-turnierbaum .sz-bracket__matches > li > .sz-bracket-tree__match {
    overflow: visible;
}

.page-turnierbaum .sz-bracket__matches .sz-bracket-tree__row--home .sz-bracket-tree__crest,
.page-turnierbaum .sz-bracket__matches .sz-bracket-tree__row--away .sz-bracket-tree__crest {
    z-index: 3;
}

.page-turnierbaum .sz-tournament-group-table__team,
.page-turnierbaum .sz-tournament-group-table__team-link,
.page-turnierbaum .sz-tournament-group-table tbody td:nth-child(2) {
    overflow: visible;
}

@media (max-width: 480px) {
    .sz-tournament-group-table__name {
        max-width: 4.75rem;
    }
}

/* 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;
}

/* —— Burger / Mehr-Menü (Layout & Look) —— */
.sz-nav-drawer__panel {
    width: min(21.5rem, 92vw);
    gap: 0.65rem;
    background: linear-gradient(
        168deg,
        rgba(14, 34, 20, 0.99) 0%,
        rgba(4, 14, 8, 0.995) 55%,
        rgba(8, 22, 12, 0.99) 100%
    );
    box-shadow:
        -16px 0 48px rgba(0, 0, 0, 0.5),
        inset 3px 0 0 rgba(241, 116, 50, 0.35);
}

html[data-theme="light"] .sz-nav-drawer__panel {
    background: var(--sz-topbar-bg);
    box-shadow:
        -16px 0 44px rgba(0, 40, 12, 0.35),
        inset 3px 0 0 rgba(241, 116, 50, 0.5);
}

html[data-theme="light"] .sz-nav-drawer__link-icon {
    background: rgba(255, 255, 255, 0.12);
}

.sz-nav-drawer__head {
    padding-bottom: 0.65rem;
    border-bottom-color: rgba(241, 116, 50, 0.22);
}

.sz-nav-drawer__title {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
}

.sz-nav-drawer__links {
    gap: 0.55rem;
    padding: 0.1rem 0.15rem;
}

.sz-nav-drawer__section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sz-nav-drawer__section-kicker {
    margin: 0.15rem 0.35rem 0;
    padding: 0 0.15rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sz-orange);
    opacity: 0.9;
}

.sz-nav-drawer__section-items {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.sz-nav-drawer__section--staff {
    margin: 0.08rem 0.05rem 0;
    padding: 0.32rem 0.38rem 0.36rem;
    border-radius: 10px;
    border: 1px solid rgba(241, 116, 50, 0.38);
    background: linear-gradient(
        155deg,
        rgba(241, 116, 50, 0.18) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .sz-nav-drawer__section--staff {
    background: linear-gradient(
        155deg,
        rgba(241, 116, 50, 0.14) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    border-color: rgba(241, 116, 50, 0.45);
}

.sz-nav-drawer__section--staff .sz-nav-drawer__section-kicker {
    margin: 0 0 0.16rem;
    font-size: 0.58rem;
    color: var(--sz-orange);
    opacity: 1;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__section-items {
    gap: 0.1rem;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link,
.sz-nav-drawer__section--staff .sz-nav-drawer__link--staff {
    min-height: 34px;
    padding: 0.24rem 0.42rem;
    gap: 0.42rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.14);
    border-color: rgba(241, 116, 50, 0.15);
    box-shadow: none;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link--rich,
.sz-nav-drawer__section--staff .sz-nav-drawer__link:has(.sz-nav-drawer__link-sub) {
    min-height: 34px;
    padding: 0.24rem 0.42rem;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link-sub {
    display: none;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link-icon--staff {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 6px;
    background: rgba(241, 116, 50, 0.16);
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link-icon--staff svg {
    width: 15px;
    height: 15px;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link-body {
    gap: 0;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link:hover {
    background: rgba(241, 116, 50, 0.22);
    border-color: rgba(241, 116, 50, 0.35);
    transform: none;
    box-shadow: none;
}

.sz-nav-drawer__section--staff .sz-nav-drawer__link-text {
    font-size: 0.8rem;
    line-height: 1.15;
    font-weight: 500;
}

html[data-theme="light"] .sz-nav-drawer__section--staff .sz-nav-drawer__link {
    background: rgba(0, 40, 12, 0.07);
}

html[data-theme="light"] .sz-nav-drawer__section--staff .sz-nav-drawer__link:hover {
    background: rgba(241, 116, 50, 0.2);
}

.sz-nav-drawer__link {
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.55rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.15s ease,
        box-shadow 0.18s ease,
        opacity 0.22s ease;
}

.sz-nav-drawer__link--rich {
    min-height: 54px;
    padding: 0.62rem 0.8rem;
}

.sz-nav-drawer__link:has(.sz-nav-drawer__link-sub) {
    min-height: 58px;
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
}

.sz-nav-drawer__link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(241, 116, 50, 0.28);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transform: translateX(-2px);
}

.sz-nav-drawer__link:active {
    transform: scale(0.985) translateX(0);
}

.sz-nav-drawer__link-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
    background: rgba(241, 116, 50, 0.14);
    color: var(--sz-orange);
}

.sz-nav-drawer__link-icon svg {
    display: block;
}

.sz-nav-drawer__link-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
}

.sz-nav-drawer__link-text {
    display: block;
    line-height: 1.25;
    font-size: 1.02rem;
}

.sz-nav-drawer__link-sub {
    display: block;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--sz-nav-color);
    opacity: 0.62;
}

html[data-theme="light"] .sz-nav-drawer__link-sub {
    opacity: 0.72;
}

.sz-nav-drawer__link--primary-nav {
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(241, 116, 50, 0.2);
}

.sz-nav-drawer__badge {
    margin-left: auto;
    align-self: center;
}

.sz-nav-drawer.is-open .sz-nav-drawer__section-items .sz-nav-drawer__link:nth-child(1) { transition-delay: 0.04s; }
.sz-nav-drawer.is-open .sz-nav-drawer__section-items .sz-nav-drawer__link:nth-child(2) { transition-delay: 0.08s; }
.sz-nav-drawer.is-open .sz-nav-drawer__section-items .sz-nav-drawer__link:nth-child(3) { transition-delay: 0.12s; }
.sz-nav-drawer.is-open .sz-nav-drawer__section-items .sz-nav-drawer__link:nth-child(4) { transition-delay: 0.16s; }
.sz-nav-drawer.is-open .sz-nav-drawer__section-items .sz-nav-drawer__link:nth-child(5) { transition-delay: 0.2s; }
.sz-nav-drawer.is-open .sz-nav-drawer__section-items .sz-nav-drawer__link:nth-child(6) { transition-delay: 0.24s; }

.sz-nav-drawer__live {
    border-bottom: none;
    padding-top: 0.15rem;
}

.sz-nav-drawer__link--live-open {
    margin: 0;
    width: 100%;
}

/* —— 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.12fr) minmax(0, 0.95fr);
    gap: 1rem 1.35rem;
    align-items: stretch;
}

.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__aside {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0.65rem 0.7rem 0.7rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.28) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sz-home-guest-hub__aside {
    border-color: rgba(0, 80, 30, 0.14);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 248, 240, 0.85) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.sz-home-guest-hub__actions-head {
    margin: 0 0 0.55rem;
}

.sz-home-guest-hub__actions-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(241, 116, 50, 0.95);
}

.sz-home-guest-hub__actions-lead {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(200, 220, 200, 0.82);
}

html[data-theme="light"] .sz-home-guest-hub__actions-lead {
    color: rgba(30, 55, 35, 0.65);
}

.sz-home-guest-hub__actions {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 0;
}

.sz-home-guest-hub__actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.5rem;
    flex: 1;
    align-content: stretch;
}

.sz-home-guest-hub__btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 0;
    padding: 0.7rem 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    box-sizing: border-box;
    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__btn {
    border-color: rgba(0, 60, 10, 0.12);
    background: rgba(255, 255, 255, 0.72);
    color: var(--sz-text, #1a1a1a);
}

.sz-home-guest-hub__btn:hover,
.sz-home-guest-hub__btn: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__btn:hover,
html[data-theme="light"] .sz-home-guest-hub__btn: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__btn--featured {
    flex: 0 0 auto;
    min-height: 4.75rem;
    padding: 0.85rem 0.9rem;
    border-color: rgba(241, 116, 50, 0.55);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.98) 0%, rgba(200, 75, 18, 0.96) 100%);
    color: #fff;
    box-shadow:
        0 10px 28px rgba(241, 116, 50, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.sz-home-guest-hub__btn--featured::after {
    content: "";
    position: absolute;
    inset: -50% -30% auto auto;
    width: 55%;
    height: 200%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
    transform: rotate(12deg);
    pointer-events: none;
    animation: sz-guest-cta-shine 4.5s ease-in-out infinite;
}

@keyframes sz-guest-cta-shine {
    0%, 72%, 100% {
        opacity: 0;
        transform: translateX(-120%) rotate(12deg);
    }
    78%, 88% {
        opacity: 1;
        transform: translateX(80%) rotate(12deg);
    }
}

.sz-home-guest-hub__btn--featured:hover,
.sz-home-guest-hub__btn--featured:focus-visible {
    filter: brightness(1.06);
    border-color: rgba(255, 210, 160, 0.75);
    color: #fff;
    box-shadow:
        0 14px 32px rgba(241, 116, 50, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sz-home-guest-hub__btn--tile {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 5.25rem;
    height: 100%;
    padding: 0.8rem 0.5rem;
    text-align: center;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.28) 100%);
}

html[data-theme="light"] .sz-home-guest-hub__btn--tile {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(236, 244, 236, 0.9) 100%);
}

.sz-home-guest-hub__btn--tile:hover,
.sz-home-guest-hub__btn--tile:focus-visible {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0.32) 100%);
}

html[data-theme="light"] .sz-home-guest-hub__btn--tile:hover,
html[data-theme="light"] .sz-home-guest-hub__btn--tile:focus-visible {
    background: linear-gradient(165deg, #fff 0%, rgba(232, 246, 232, 1) 100%);
}

.sz-home-guest-hub__btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.1);
}

.sz-home-guest-hub__btn--featured .sz-home-guest-hub__btn-icon {
    flex: 0 0 2.65rem;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
}

.sz-home-guest-hub__btn-icon--login {
    background: rgba(120, 180, 255, 0.18);
}

.sz-home-guest-hub__btn-icon--board {
    background: rgba(120, 200, 140, 0.2);
}

.sz-home-guest-hub__btn-icon--rank {
    background: rgba(255, 210, 100, 0.18);
}

.sz-home-guest-hub__btn-icon--rules {
    background: rgba(200, 160, 255, 0.16);
}

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

html[data-theme="light"] .sz-home-guest-hub__btn--featured .sz-home-guest-hub__btn-icon {
    background: rgba(255, 255, 255, 0.35);
}

.sz-home-guest-hub__btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.sz-home-guest-hub__btn-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

.sz-home-guest-hub__btn--featured .sz-home-guest-hub__btn-label {
    font-size: 1rem;
}

.sz-home-guest-hub__btn-sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.92;
}

.sz-home-guest-hub__btn--tile .sz-home-guest-hub__btn-icon {
    flex: 0 0 auto;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.8rem;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sz-home-guest-hub__btn--tile:hover .sz-home-guest-hub__btn-icon,
.sz-home-guest-hub__btn--tile:focus-visible .sz-home-guest-hub__btn-icon {
    transform: scale(1.06);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sz-home-guest-hub__btn--tile .sz-home-guest-hub__btn-label {
    display: block;
    width: 100%;
    max-width: 6.5rem;
    margin: 0 auto;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
}

.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__aside {
        padding: 0.6rem 0.65rem 0.65rem;
    }
}

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

    .sz-home-guest-hub__btn--featured {
        min-height: 4.25rem;
        padding: 0.75rem 0.8rem;
    }

    .sz-home-guest-hub__btn--tile {
        min-height: 4.5rem;
        padding: 0.7rem 0.4rem;
    }

    .sz-home-guest-hub__btn--tile .sz-home-guest-hub__btn-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .sz-home-guest-hub__btn--tile .sz-home-guest-hub__btn-label {
        font-size: 0.74rem;
    }

    .sz-home-guest-hub__btn-sub {
        display: none;
    }
}

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

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

    .sz-home-guest-hub__btn--featured::after {
        animation: none;
        display: none;
    }

    .sz-home-guest-hub__btn--tile:hover .sz-home-guest-hub__btn-icon,
    .sz-home-guest-hub__btn--tile:focus-visible .sz-home-guest-hub__btn-icon {
        transform: none;
    }
}

/* —— Erste Schritte: Coach-Marks (Sprechblasen) —— */
body.sz-coach-mark-open {
    overflow: hidden;
}

.sz-coach-mark {
    position: fixed;
    inset: 0;
    z-index: 1300;
    pointer-events: none;
}

.sz-coach-mark__backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    pointer-events: auto;
}

.sz-coach-mark__spotlight {
    position: fixed;
    z-index: 1301;
    border-radius: 0.65rem;
    box-shadow: 0 0 0 999vmax rgba(0, 0, 0, 0.52);
    pointer-events: none;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.sz-coach-mark-target {
    position: relative;
    z-index: 1302;
}

.sz-coach-mark__bubble {
    position: fixed;
    z-index: 1303;
    width: min(calc(100vw - 1.25rem), 20rem);
    padding: 0.75rem 0.85rem 0.8rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(130, 200, 150, 0.35);
    background: var(--sz-panel-bg, rgba(0, 36, 14, 0.98));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

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

.sz-coach-mark__bubble::before {
    content: "";
    position: absolute;
    left: var(--coach-arrow-left, 50%);
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border: 8px solid transparent;
}

.sz-coach-mark__bubble[data-placement="bottom"]::before {
    top: -16px;
    border-bottom-color: var(--sz-panel-bg, rgba(0, 36, 14, 0.98));
}

.sz-coach-mark__bubble[data-placement="top"]::before {
    bottom: -16px;
    border-top-color: var(--sz-panel-bg, rgba(0, 36, 14, 0.98));
}

html[data-theme="light"] .sz-coach-mark__bubble[data-placement="bottom"]::before {
    border-bottom-color: #fff;
}

html[data-theme="light"] .sz-coach-mark__bubble[data-placement="top"]::before {
    border-top-color: #fff;
}

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

.sz-coach-mark__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.sz-coach-mark__progress {
    margin: 0.45rem 0 0.55rem;
    font-size: 0.75rem;
    color: var(--sz-small);
}

.sz-coach-mark__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.sz-coach-mark__nav {
    display: inline-flex;
    gap: 0.3rem;
}

/* 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, Rivalen-Filter & Top-3 —— */
.sz-ranking-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.65rem 1rem;
    margin: 0 0 0.75rem;
}

.sz-ranking-toolbar__field {
    flex: 1 1 14rem;
    min-width: min(100%, 14rem);
    max-width: 22rem;
}

.sz-ranking-toolbar__search-wrap {
    position: relative;
}

.sz-ranking-toolbar__search-icon {
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--sz-muted, #6a7a6e);
    pointer-events: none;
    opacity: 0.85;
}

.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 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.65rem 0.5rem 2.35rem;
    border-radius: 999px;
    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__input:focus {
    outline: none;
    border-color: rgba(72, 118, 82, 0.65);
    box-shadow: 0 0 0 2px rgba(72, 140, 92, 0.2);
}

/* Headline + Mini-Info (Mobil: i rechts neben Titel) */
.sz-headline-info-wrap {
    margin: 0 0 0.75rem;
}

.sz-headline-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.sz-headline-info__title {
    margin: 0;
    min-width: 0;
}

.sz-headline-info--hero .sz-headline-info__title {
    font-size: inherit;
    line-height: inherit;
}

.sz-headline-info__spoiler {
    flex: 0 0 auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.sz-headline-info__spoiler[open] {
    flex: 1 1 100%;
}

.sz-headline-info__spoiler-body {
    margin-top: 0.35rem;
}

.sz-ranking-info-spoiler__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    line-height: 1;
}

.sz-ranking-info-spoiler__summary::-webkit-details-marker {
    display: none;
}

.sz-ranking-info-spoiler__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: var(--sz-orange, #f17432);
    background: rgba(241, 116, 50, 0.12);
    border: 1px solid rgba(241, 116, 50, 0.22);
}

html[data-theme="light"] .sz-ranking-info-spoiler__icon {
    background: rgba(241, 116, 50, 0.1);
}

.sz-ranking-info-spoiler__body {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
}

.sz-headline-info-wrap .sz-ranking-info-spoiler__body.sz-hero__meta {
    font-size: 0.78rem;
}

.sz-ranking-sort-hint--desktop {
    display: none;
    margin: 0.35rem 0 0;
}

.sz-headline-info-wrap .sz-ranking-sort-hint--desktop {
    margin: 0.15rem 0 0.85rem;
}

@media (max-width: 768px) {
    .sz-ranking-sort-hint--desktop {
        display: none !important;
    }

    .sz-headline-info-wrap .sz-panel__title {
        font-size: 1.05rem;
    }
}

@media (min-width: 769px) {
    .sz-headline-info__spoiler {
        display: none;
    }

    .sz-ranking-sort-hint--desktop {
        display: block;
    }

    .sz-headline-info-wrap .sz-ranking-sort-hint--desktop.sz-hero__meta {
        font-size: inherit;
    }
}

.sz-ranking-toolbar__filters {
    flex: 0 0 auto;
    padding-bottom: 0.1rem;
}

.sz-ranking-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.35rem;
    padding: 0.35rem 0.85rem 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--sz-border, rgba(255, 255, 255, 0.18));
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

html[data-theme="light"] .sz-ranking-filter-chip {
    background: rgba(0, 92, 36, 0.05);
    border-color: rgba(0, 92, 36, 0.16);
}

.sz-ranking-filter-chip:hover,
.sz-ranking-filter-chip:focus-visible {
    border-color: rgba(72, 118, 82, 0.55);
    background: rgba(72, 140, 92, 0.1);
}

.sz-ranking-filter-chip.is-active {
    border-color: var(--sz-orange, #f17432);
    background: rgba(241, 116, 50, 0.12);
    color: var(--sz-orange, #f17432);
    box-shadow: 0 0 0 1px rgba(241, 116, 50, 0.15);
}

.sz-ranking-filter-chip--setup {
    opacity: 0.92;
    font-weight: 500;
}

.sz-ranking-filter-chip__icon {
    display: flex;
    flex-shrink: 0;
    opacity: 0.88;
}

.sz-ranking-filter-chip.is-active .sz-ranking-filter-chip__icon {
    opacity: 1;
}

.sz-ranking-filter-chip__badge {
    min-width: 1.15rem;
    padding: 0.08rem 0.35rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
}

.sz-ranking-filter-chip.is-active .sz-ranking-filter-chip__badge {
    background: rgba(241, 116, 50, 0.22);
    color: inherit;
}

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

/* Rivalen: Akzent-Streifen (kein warmer Vollflächen-Verlauf — unterscheidbar von Podium 1–3) */
.sz-ranking-table tbody tr.is-rival:not([class*="sz-ranking-table__row--top"]),
.sz-tips-table tbody tr.is-rival,
.sz-md-group-table tbody tr.is-rival {
    background: rgba(241, 116, 50, 0.045);
    box-shadow: inset 3px 0 0 rgba(241, 116, 50, 0.78);
}

.sz-ranking-table tbody tr.is-rival td,
.sz-tips-table tbody tr.is-rival td,
.sz-md-group-table tbody tr.is-rival td {
    background: transparent;
}

.sz-ranking-table tbody tr.is-rival:not([class*="sz-ranking-table__row--top"]):hover,
.sz-tips-table tbody tr.is-rival:hover,
.sz-md-group-table tbody tr.is-rival:not(.is-viewer):hover {
    background: rgba(241, 116, 50, 0.08);
}

html[data-theme="light"] .sz-ranking-table tbody tr.is-rival:not([class*="sz-ranking-table__row--top"]),
html[data-theme="light"] .sz-tips-table tbody tr.is-rival,
html[data-theme="light"] .sz-md-group-table tbody tr.is-rival {
    background: rgba(241, 116, 50, 0.06);
    box-shadow: inset 3px 0 0 #e06828;
}

html[data-theme="dark"] .sz-ranking-table tbody tr.is-rival:not([class*="sz-ranking-table__row--top"]),
html[data-theme="dark"] .sz-tips-table tbody tr.is-rival,
html[data-theme="dark"] .sz-md-group-table tbody tr.is-rival {
    background: rgba(140, 165, 195, 0.06);
    box-shadow: inset 3px 0 0 #f17432;
}

html[data-theme="dark"] .sz-ranking-table tbody tr.is-rival:not([class*="sz-ranking-table__row--top"]):hover,
html[data-theme="dark"] .sz-tips-table tbody tr.is-rival:hover,
html[data-theme="dark"] .sz-md-group-table tbody tr.is-rival:not(.is-viewer):hover {
    background: rgba(140, 165, 195, 0.1);
}

/* Eigene Tippgruppe in der öffentlichen Gruppen-Rangliste */
.sz-ranking-table tbody tr.is-viewer {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.03));
    box-shadow: inset 3px 0 0 rgba(34, 197, 94, 0.55);
}

.sz-ranking-table tbody tr.is-viewer td {
    background: transparent;
}

.sz-ranking-table tbody tr.is-viewer:hover {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.05));
}

html[data-theme="light"] .sz-ranking-table tbody tr.is-viewer {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.02));
    box-shadow: inset 3px 0 0 rgba(22, 163, 74, 0.5);
}

/* Podium Top 3 — Gold / Silber / Bronze (Ranglisten) */
.sz-ranking-table tbody tr[class*="sz-ranking-table__row--top"] td {
    background: transparent;
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top1,
.sz-ranking-table tbody tr.sz-ranking-table__row--top1:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(255, 204, 72, 0.26) 0%,
        rgba(255, 204, 72, 0.11) 44%,
        rgba(255, 204, 72, 0.03) 100%
    );
    box-shadow:
        inset 3px 0 0 #e8b830,
        inset 0 1px 0 rgba(255, 228, 140, 0.14);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top2,
.sz-ranking-table tbody tr.sz-ranking-table__row--top2:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(186, 198, 216, 0.24) 0%,
        rgba(186, 198, 216, 0.1) 44%,
        rgba(186, 198, 216, 0.03) 100%
    );
    box-shadow:
        inset 3px 0 0 #a8b4c8,
        inset 0 1px 0 rgba(220, 228, 240, 0.12);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top3,
.sz-ranking-table tbody tr.sz-ranking-table__row--top3:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(210, 142, 78, 0.24) 0%,
        rgba(210, 142, 78, 0.1) 44%,
        rgba(210, 142, 78, 0.03) 100%
    );
    box-shadow:
        inset 3px 0 0 #c47840,
        inset 0 1px 0 rgba(232, 168, 112, 0.12);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top1:hover {
    background: linear-gradient(
        90deg,
        rgba(255, 204, 72, 0.34) 0%,
        rgba(255, 204, 72, 0.16) 48%,
        rgba(255, 204, 72, 0.05) 100%
    );
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top2:hover {
    background: linear-gradient(
        90deg,
        rgba(186, 198, 216, 0.32) 0%,
        rgba(186, 198, 216, 0.14) 48%,
        rgba(186, 198, 216, 0.05) 100%
    );
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top3:hover {
    background: linear-gradient(
        90deg,
        rgba(210, 142, 78, 0.32) 0%,
        rgba(210, 142, 78, 0.14) 48%,
        rgba(210, 142, 78, 0.05) 100%
    );
}

.sz-ranking-table__row--top1 .sz-ranking-table__place {
    color: #ffdc70;
    font-weight: 800;
    text-shadow: 0 0 16px rgba(255, 210, 90, 0.42);
}

.sz-ranking-table__row--top2 .sz-ranking-table__place {
    color: #d8e2ec;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(186, 198, 216, 0.35);
}

.sz-ranking-table__row--top3 .sz-ranking-table__place {
    color: #e8a870;
    font-weight: 800;
    text-shadow: 0 0 14px rgba(210, 142, 78, 0.38);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top1,
html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top1:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(255, 196, 64, 0.16) 0%,
        rgba(255, 196, 64, 0.06) 44%,
        rgba(255, 196, 64, 0.01) 100%
    );
    box-shadow:
        inset 3px 0 0 #c89418,
        inset 0 1px 0 rgba(255, 220, 120, 0.35);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top2,
html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top2:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(148, 158, 172, 0.14) 0%,
        rgba(148, 158, 172, 0.05) 44%,
        rgba(148, 158, 172, 0.01) 100%
    );
    box-shadow:
        inset 3px 0 0 #8a96a8,
        inset 0 1px 0 rgba(200, 208, 220, 0.45);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top3,
html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top3:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(180, 112, 58, 0.14) 0%,
        rgba(180, 112, 58, 0.05) 44%,
        rgba(180, 112, 58, 0.01) 100%
    );
    box-shadow:
        inset 3px 0 0 #a86430,
        inset 0 1px 0 rgba(220, 160, 110, 0.35);
}

html[data-theme="light"] .sz-ranking-table__row--top1 .sz-ranking-table__place {
    color: #9a7200;
    text-shadow: none;
}

html[data-theme="light"] .sz-ranking-table__row--top2 .sz-ranking-table__place {
    color: #4a5668;
    text-shadow: none;
}

html[data-theme="light"] .sz-ranking-table__row--top3 .sz-ranking-table__place {
    color: #8a4e22;
    text-shadow: none;
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top1.is-viewer,
.sz-ranking-table tbody tr.sz-ranking-table__row--top1.is-viewer:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(255, 204, 72, 0.22) 0%,
        rgba(34, 197, 94, 0.12) 52%,
        rgba(34, 197, 94, 0.03) 100%
    );
    box-shadow:
        inset 3px 0 0 #e8b830,
        inset 0 1px 0 rgba(255, 228, 140, 0.12);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top2.is-viewer,
.sz-ranking-table tbody tr.sz-ranking-table__row--top2.is-viewer:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(186, 198, 216, 0.2) 0%,
        rgba(34, 197, 94, 0.11) 52%,
        rgba(34, 197, 94, 0.03) 100%
    );
    box-shadow:
        inset 3px 0 0 #a8b4c8,
        inset 0 1px 0 rgba(220, 228, 240, 0.1);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top3.is-viewer,
.sz-ranking-table tbody tr.sz-ranking-table__row--top3.is-viewer:nth-child(even) {
    background: linear-gradient(
        90deg,
        rgba(210, 142, 78, 0.2) 0%,
        rgba(34, 197, 94, 0.11) 52%,
        rgba(34, 197, 94, 0.03) 100%
    );
    box-shadow:
        inset 3px 0 0 #c47840,
        inset 0 1px 0 rgba(232, 168, 112, 0.1);
}

/* Podium + Rivale: Podium-Farbe bleibt, Rivale nur als schmaler Orange-Hairline */
.sz-ranking-table tbody tr.sz-ranking-table__row--top1.is-rival,
.sz-ranking-table tbody tr.sz-ranking-table__row--top1.is-rival:nth-child(even) {
    box-shadow:
        inset 3px 0 0 #e8b830,
        inset 0 1px 0 rgba(255, 228, 140, 0.14),
        inset 6px 0 0 rgba(241, 116, 50, 0.72);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top2.is-rival,
.sz-ranking-table tbody tr.sz-ranking-table__row--top2.is-rival:nth-child(even) {
    box-shadow:
        inset 3px 0 0 #a8b4c8,
        inset 0 1px 0 rgba(220, 228, 240, 0.12),
        inset 6px 0 0 rgba(241, 116, 50, 0.72);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--top3.is-rival,
.sz-ranking-table tbody tr.sz-ranking-table__row--top3.is-rival:nth-child(even) {
    box-shadow:
        inset 3px 0 0 #c47840,
        inset 0 1px 0 rgba(232, 168, 112, 0.12),
        inset 6px 0 0 rgba(241, 116, 50, 0.72);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top1.is-rival,
html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top1.is-rival:nth-child(even) {
    box-shadow:
        inset 3px 0 0 #c89418,
        inset 0 1px 0 rgba(255, 220, 120, 0.35),
        inset 6px 0 0 rgba(224, 104, 40, 0.65);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top2.is-rival,
html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top2.is-rival:nth-child(even) {
    box-shadow:
        inset 3px 0 0 #8a96a8,
        inset 0 1px 0 rgba(200, 208, 220, 0.45),
        inset 6px 0 0 rgba(224, 104, 40, 0.65);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top3.is-rival,
html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--top3.is-rival:nth-child(even) {
    box-shadow:
        inset 3px 0 0 #a86430,
        inset 0 1px 0 rgba(220, 160, 110, 0.35),
        inset 6px 0 0 rgba(224, 104, 40, 0.65);
}

#sz-ranking-viewer-row {
    scroll-margin-top: calc(var(--sz-topbar-row-height, 3.25rem) + 0.75rem);
}

@keyframes sz-ranking-scroll-flash {
    0%,
    100% {
        box-shadow: inset 3px 0 0 rgba(34, 197, 94, 0.55);
    }
    40% {
        box-shadow:
            inset 3px 0 0 rgba(241, 116, 50, 0.85),
            0 0 0 2px rgba(241, 116, 50, 0.35),
            0 8px 28px rgba(241, 116, 50, 0.18);
    }
}

.sz-ranking-table tbody tr.is-ranking-scroll-flash {
    animation: sz-ranking-scroll-flash 1.2s ease-out;
}

.page-ranglisten .sz-ranking-viewer-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.85rem 0.65rem 0.95rem;
    border: 1px solid rgba(241, 116, 50, 0.42);
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(241, 116, 50, 0.14) 0%,
        rgba(0, 120, 50, 0.1) 52%,
        rgba(18, 28, 22, 0.35) 100%
    );
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-ranglisten .sz-ranking-viewer-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(241, 116, 50, 0.62);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-ranglisten .sz-ranking-viewer-pill:focus-visible {
    outline: 2px solid rgba(241, 116, 50, 0.75);
    outline-offset: 2px;
}

html[data-theme="light"] .page-ranglisten .sz-ranking-viewer-pill {
    background: linear-gradient(
        135deg,
        rgba(255, 241, 228, 0.95) 0%,
        rgba(232, 248, 237, 0.92) 55%,
        rgba(255, 252, 247, 0.98) 100%
    );
    box-shadow: 0 10px 24px rgba(15, 60, 32, 0.1);
}

.page-ranglisten .sz-ranking-viewer-pill__glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 12% 50%, rgba(241, 116, 50, 0.22), transparent 58%);
}

.page-ranglisten .sz-ranking-viewer-pill__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1;
}

.page-ranglisten .sz-ranking-viewer-pill__kicker {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sz-orange);
}

.page-ranglisten .sz-ranking-viewer-pill__rank-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.35rem;
    line-height: 1;
}

.page-ranglisten .sz-ranking-viewer-pill__rank-num {
    font-size: clamp(1.85rem, 6vw, 2.35rem);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: var(--sz-orange);
    text-shadow: 0 2px 14px rgba(241, 116, 50, 0.28);
}

.page-ranglisten .sz-ranking-viewer-pill__rank-of {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sz-match-meta, #94a3b8);
}

.page-ranglisten .sz-ranking-viewer-pill__rank-row .sz-ranking-table__delta {
    font-size: 0.82rem;
    margin-left: 0.15rem;
}

.page-ranglisten .sz-ranking-viewer-pill__meta {
    font-size: 0.82rem;
    color: var(--sz-match-meta, #94a3b8);
}

.page-ranglisten .sz-ranking-viewer-pill__name {
    font-weight: 700;
    color: var(--sz-text);
}

.page-ranglisten .sz-ranking-viewer-pill__sep {
    margin: 0 0.2rem;
}

.page-ranglisten .sz-ranking-viewer-pill__chev {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(241, 116, 50, 0.16);
    color: var(--sz-orange);
}

/* opacity auf <tr> greift in Tabellen kaum; .sz-reveal.is-inview setzt opacity:1 → stattdessen Zellen/Fläche */
.sz-ranking-table tbody tr.sz-ranking-table__row--untipped td {
    color: var(--sz-small);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--untipped .sz-avatar {
    opacity: 0.42;
    filter: saturate(0.7);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.sz-ranking-table tbody tr.sz-ranking-table__row--untipped:hover .sz-avatar {
    opacity: 1;
    filter: none;
}

.sz-ranking-table tbody tr.sz-ranking-table__row--untipped {
    background: rgba(0, 60, 10, 0.07);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--untipped:nth-child(even) {
    background: rgba(0, 60, 10, 0.11);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--untipped:hover td {
    color: var(--sz-text);
}

.sz-ranking-table tbody tr.sz-ranking-table__row--untipped:hover {
    background: rgba(241, 116, 50, 0.1);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--untipped {
    background: rgba(0, 60, 10, 0.05);
}

html[data-theme="light"] .sz-ranking-table tbody tr.sz-ranking-table__row--untipped:nth-child(even) {
    background: rgba(0, 60, 10, 0.09);
}

html[data-theme="dark"] .sz-ranking-table tbody tr.sz-ranking-table__row--untipped {
    background: rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .sz-ranking-table tbody tr.sz-ranking-table__row--untipped:nth-child(even) {
    background: rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .sz-ranking-table tbody tr.sz-ranking-table__row--untipped:hover {
    background: rgba(241, 116, 50, 0.12);
}

/* —— 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;
}

.sz-live-feed__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.sz-live-feed__personal {
    font-size: 0.8rem;
    line-height: 1.35;
    font-weight: 600;
    color: rgba(160, 220, 170, 0.95);
}

html[data-theme="light"] .sz-live-feed__personal {
    color: rgba(0, 90, 40, 0.88);
}

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.65rem 0 0.25rem;
    padding: 0.35rem 0;
    font-size: 0.78rem;
    text-align: center;
    opacity: 0.75;
    min-height: 1.25rem;
}

.sz-live-feed__history-bounds {
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.76rem;
    text-align: center;
    opacity: 0.85;
    color: rgba(126, 200, 255, 0.95);
}

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

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

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

.sz-lang-switch--profile,
.sz-lang-switch--compact {
    max-width: 18rem;
}

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__code {
    display: inline-flex;
    align-items: flex-start;
    line-height: 1.1;
}

.sz-lang-switch__menu-link,
.sz-lang-switch__link {
    line-height: 1.1;
}

.sz-lang-switch__ai-mark {
    margin-left: 0.05em;
    font-size: 0.52em;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 0;
    vertical-align: super;
    opacity: 0.72;
}

.sz-lang-switch__link.is-active .sz-lang-switch__ai-mark,
.sz-lang-switch__menu-link.is-active .sz-lang-switch__ai-mark {
    opacity: 0.9;
}

.sz-lang-switch__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    padding: 0.22rem 0.35rem;
    border-radius: 6px;
    font-size: 0.68rem;
    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: 2px;
    bottom: 1px;
    font-size: 0.58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    opacity: 0.9;
    pointer-events: none;
}

.sz-lang-switch--icon .sz-lang-switch__current .sz-lang-switch__ai-mark {
    font-size: 0.48em;
}

.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: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    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: einheitliche Button-Leiste —— */
.sz-topbar--guest {
    --sz-guest-btn-h: 2.5rem;
    --sz-guest-btn-px: 0.9rem;
    --sz-guest-btn-gap: 0.4rem;
    --sz-guest-btn-radius: 10px;
    --sz-guest-btn-font: 0.8rem;
}

.sz-topbar--guest .sz-topbar__row {
    align-items: center;
}

.sz-topbar--guest .sz-topbar__guest-actions {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: auto;
    overflow: visible;
}

.sz-guest-toolbar {
    width: 100%;
    min-width: 0;
}

.sz-guest-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: var(--sz-guest-btn-gap);
    min-width: 0;
}

.sz-guest-toolbar__split {
    flex-shrink: 0;
    align-self: center;
    width: 1px;
    height: 1.35rem;
    margin: 0 0.15rem;
    background: rgba(255, 255, 255, 0.16);
}

html[data-theme="light"] .sz-guest-toolbar__split {
    background: rgba(255, 255, 255, 0.22);
}

.sz-guest-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    box-sizing: border-box;
    height: var(--sz-guest-btn-h);
    min-height: var(--sz-guest-btn-h);
    max-height: var(--sz-guest-btn-h);
    padding: 0 var(--sz-guest-btn-px);
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--sz-guest-btn-radius);
    background: rgba(255, 255, 255, 0.07);
    color: var(--sz-nav-color);
    font-family: inherit;
    font-size: var(--sz-guest-btn-font);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

html[data-theme="light"] .sz-guest-nav-btn {
    color: var(--sz-cream);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
}

.sz-guest-nav-btn:hover,
.sz-guest-nav-btn:focus-visible {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

html[data-theme="light"] .sz-guest-nav-btn:hover,
html[data-theme="light"] .sz-guest-nav-btn:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.sz-guest-nav-btn:focus-visible {
    outline: 2px solid var(--sz-orange, #f17432);
    outline-offset: 2px;
}

.sz-guest-nav-btn--primary {
    border-color: rgba(241, 116, 50, 0.55);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.96), rgba(210, 85, 25, 0.98));
    color: #fff;
    box-shadow: 0 2px 12px rgba(241, 116, 50, 0.3);
}

.sz-guest-nav-btn--primary:hover,
.sz-guest-nav-btn--primary:focus-visible {
    filter: brightness(1.06);
    border-color: rgba(255, 200, 150, 0.65);
    color: #fff;
    box-shadow: 0 3px 16px rgba(241, 116, 50, 0.38);
}

.sz-guest-nav-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    line-height: 0;
}

.sz-guest-nav-btn__icon svg {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
}

.sz-guest-nav-btn__icon--theme {
    font-size: 1rem;
    line-height: 1;
}

.sz-guest-nav-btn__theme-sun,
.sz-guest-nav-btn__theme-moon {
    display: none;
}

html[data-theme="dark"] .sz-guest-nav-btn__theme-sun {
    display: block;
}

html[data-theme="light"] .sz-guest-nav-btn__theme-moon {
    display: block;
}

.sz-guest-nav-btn__text {
    display: inline-block;
    line-height: 1;
}

.sz-lang-switch--guest {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.sz-lang-switch--guest .sz-lang-switch__trigger {
    width: auto;
    min-width: 0;
}

.sz-lang-switch--tab {
    position: relative;
    flex-shrink: 0;
}

.sz-lang-switch--tab .sz-lang-switch__trigger {
    flex: 0 0 auto;
    width: auto;
    min-width: 2.65rem;
}

@media (max-width: 560px) {
    .sz-topbar--guest {
        --sz-guest-btn-h: 2.35rem;
        --sz-guest-btn-px: 0.72rem;
        --sz-guest-btn-gap: 0.32rem;
        --sz-guest-btn-font: 0.74rem;
    }

    .sz-topbar--guest .sz-topbar__row {
        gap: 0.35rem;
        min-height: 2.85rem;
        flex-wrap: nowrap;
    }

    .sz-guest-toolbar__desktop-only,
    .sz-guest-toolbar__split--desktop {
        display: none !important;
    }

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

    .sz-topbar--guest .sz-burger {
        width: var(--sz-guest-btn-h);
        height: var(--sz-guest-btn-h);
        min-width: var(--sz-guest-btn-h);
        border-radius: var(--sz-guest-btn-radius);
    }

    .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-lang-switch--icon .sz-lang-switch__menu,
    .sz-lang-switch--guest .sz-lang-switch__menu {
        position: fixed;
        z-index: 650;
    }
}

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

    .sz-topbar--guest .sz-topbar__guest-actions {
        align-self: center;
    }

    .sz-guest-nav-btn--icon {
        min-width: 4.5rem;
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

@media (max-width: 380px) {
    .sz-topbar--guest {
        --sz-guest-btn-h: 2.2rem;
        --sz-guest-btn-px: 0.55rem;
        --sz-guest-btn-font: 0.68rem;
    }

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

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

.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 {
    display: none !important;
}

#einstellungen .sz-live-feed-menu-toggle,
#einstellungen [data-sz-live-feed-toggle] {
    display: none !important;
}

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

.sz-profile-username-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 0.75rem;
}

.sz-profile-username-row__avatar {
    flex-shrink: 0;
}

.sz-profile-username-row__disk {
    border-radius: 50%;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .sz-profile-username-row__disk {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.sz-profile-username-row .sz-profile-email-display {
    margin: 0;
    flex: 1;
    min-width: 0;
}

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

.sz-profile-stammdaten-password {
    margin-top: 1.75rem;
}

.sz-profile-tippgruppen-rivals {
    margin-top: 1.75rem;
}

.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-flash {
    margin-bottom: 0.75rem;
}

/* —— Admin: Team & Rechte —— */
.page-admin-users .sz-admin-users-hero {
    margin-bottom: 0.25rem;
}

.sz-admin-users-toolbar {
    margin-bottom: 1.15rem;
    padding: 1.1rem 1.15rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(126, 200, 255, 0.22);
    background: linear-gradient(145deg, rgba(0, 36, 58, 0.55), rgba(0, 48, 18, 0.45));
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .sz-admin-users-toolbar {
    background: linear-gradient(145deg, #f4f9ff, #f0f8f2);
    border-color: rgba(0, 90, 50, 0.14);
    box-shadow: 0 8px 28px rgba(0, 40, 12, 0.08);
}

.sz-admin-users-search__intro {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.sz-admin-users-search__icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: rgba(126, 200, 255, 0.14);
    color: #7ec8ff;
}

html[data-theme="light"] .sz-admin-users-search__icon-wrap {
    background: rgba(0, 100, 160, 0.1);
    color: #1a6bb5;
}

.sz-admin-users-search__title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
}

.sz-admin-users-search__hint {
    margin: 0.25rem 0 0;
    font-size: 0.86rem;
    opacity: 0.82;
    line-height: 1.4;
    max-width: 36rem;
}

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

.sz-admin-users-search__field {
    position: relative;
    flex: 1 1 14rem;
    min-width: min(100%, 14rem);
}

.sz-admin-users-search__lens {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    color: var(--sz-muted, #6a7a6e);
    pointer-events: none;
    opacity: 0.9;
    z-index: 1;
}

.sz-admin-users-search__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 2.75rem 0.65rem 2.65rem;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(126, 200, 255, 0.35);
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.sz-admin-users-search__input:focus {
    outline: none;
    border-color: rgba(126, 200, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(126, 200, 255, 0.18);
}

.sz-admin-users-search__clear {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    cursor: pointer;
    opacity: 0.75;
}

.sz-admin-users-search__clear:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.14);
}

.sz-admin-users-search__clear[hidden] {
    display: none !important;
}

.sz-admin-users-search__submit {
    flex: 0 0 auto;
    border-radius: 999px;
    min-height: 48px;
    padding-inline: 1.25rem;
}

.sz-admin-users-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.sz-admin-users-chip {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(126, 200, 255, 0.12);
    color: #9ed4ff;
    border: 1px solid rgba(126, 200, 255, 0.2);
}

.sz-admin-users-chip--team {
    background: rgba(241, 116, 50, 0.14);
    color: #ffc9a8;
    border-color: rgba(241, 116, 50, 0.28);
}

.sz-admin-users-chip--all {
    background: rgba(72, 180, 120, 0.14);
    color: #9ee8b8;
    border-color: rgba(72, 180, 120, 0.28);
}

html[data-theme="light"] .sz-admin-users-chip {
    color: #1a5a8a;
    background: rgba(0, 100, 160, 0.08);
    border-color: rgba(0, 100, 160, 0.15);
}

html[data-theme="light"] .sz-admin-users-chip--team {
    color: #a84a10;
    background: rgba(241, 116, 50, 0.12);
}

html[data-theme="light"] .sz-admin-users-chip--all {
    color: #1a6b3a;
    background: rgba(40, 140, 80, 0.1);
}

.sz-admin-users-list__count {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    opacity: 0.88;
}

.sz-admin-users-list__browse-hint {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    opacity: 0.75;
    font-style: italic;
}

.sz-admin-users-list__filter-empty {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.55rem;
    font-size: 0.88rem;
    background: rgba(241, 116, 50, 0.12);
    border: 1px solid rgba(241, 116, 50, 0.25);
}

.sz-admin-users-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.sz-admin-users-empty__icon {
    display: inline-flex;
    opacity: 0.45;
    margin-bottom: 0.75rem;
}

.sz-admin-users-empty__text {
    margin: 0;
    font-size: 1rem;
}

.sz-admin-users-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.sz-admin-user-card {
    margin: 0;
    padding: 1rem 1.05rem;
    border-radius: 0.85rem;
    border: 1px solid var(--sz-border, rgba(255, 255, 255, 0.1));
    background: var(--sz-surface-2, rgba(255, 255, 255, 0.04));
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sz-admin-user-card:hover {
    border-color: rgba(126, 200, 255, 0.28);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .sz-admin-user-card {
    background: #fff;
    border-color: rgba(0, 60, 10, 0.1);
}

.sz-admin-user-card[hidden] {
    display: none !important;
}

.sz-admin-user-card__head {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
    align-items: start;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--sz-border, rgba(255, 255, 255, 0.08));
}

.sz-admin-user-card__avatar-wrap {
    grid-row: 1 / span 2;
    flex-shrink: 0;
}

.sz-admin-user-card__avatar-wrap .sz-admin-user-card__avatar {
    display: block;
}

.sz-admin-user-card__identity {
    min-width: 0;
}

.sz-admin-user-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    word-break: break-word;
}

.sz-admin-user-card__fullname {
    margin: 0.12rem 0 0;
    font-size: 0.88rem;
    opacity: 0.88;
    word-break: break-word;
}

.sz-admin-user-card__email {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    opacity: 0.85;
    word-break: break-all;
}

.sz-admin-user-card__email a {
    color: inherit;
    text-decoration: none;
}

.sz-admin-user-card__email a:hover {
    text-decoration: underline;
    color: var(--sz-link, #6cf);
}

.sz-admin-user-card__badges {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.sz-admin-user-card__badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}

.sz-admin-user-card__badge--site-admin {
    background: rgba(241, 116, 50, 0.2);
    color: #ffb88a;
    border: 1px solid rgba(241, 116, 50, 0.35);
}

html[data-theme="light"] .sz-admin-user-card__badge--site-admin {
    color: #a84a10;
    background: rgba(241, 116, 50, 0.15);
}

.sz-admin-user-card__badge--moderator {
    background: rgba(126, 200, 255, 0.18);
    color: #9ed4ff;
    border: 1px solid rgba(126, 200, 255, 0.3);
}

html[data-theme="light"] .sz-admin-user-card__badge--moderator {
    color: #1a5a8a;
    background: rgba(0, 120, 200, 0.1);
}

.sz-admin-user-card__badge--none {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sz-muted, #8a9a8e);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sz-admin-user-card__badge--inactive {
    background: rgba(200, 60, 60, 0.15);
    color: #f0a0a0;
    border: 1px solid rgba(200, 60, 60, 0.3);
}

.sz-admin-user-card__section {
    margin-top: 0.65rem;
}

.sz-admin-user-card__section-title {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.65;
}

.sz-admin-user-card__role-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.sz-admin-user-card__select {
    flex: 1 1 10rem;
    min-width: 8rem;
    min-height: 40px;
}

.sz-admin-user-card__section--account {
    padding-top: 0.5rem;
    border-top: 1px dashed var(--sz-border, rgba(255, 255, 255, 0.08));
}

.sz-admin-user-card__password {
    margin-bottom: 0.5rem;
}

.sz-admin-user-card__password-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--sz-orange, #f17432);
    list-style: none;
    padding: 0.25rem 0;
}

.sz-admin-user-card__password-summary::-webkit-details-marker {
    display: none;
}

.sz-admin-user-card__password-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.65rem;
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.sz-admin-user-card__pw-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 0.45rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid var(--sz-form-border, rgba(255, 255, 255, 0.15));
    font: inherit;
}

.sz-admin-user-card__delete {
    margin: 0;
}

.sz-admin-user-card__delete .sz-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sz-admin-user-card__action-icon {
    display: inline-flex;
    flex-shrink: 0;
}

@media (max-width: 519px) {
    .sz-admin-users-search__bar {
        flex-direction: column;
        align-items: stretch;
    }

    .sz-admin-users-search__field {
        width: 100%;
    }

    .sz-admin-users-search__submit {
        width: 100%;
    }
}

/* —— 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-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);
}

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

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;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.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;
}

.sz-home-news-spotlight[hidden] {
    display: none !important;
}

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__shell {
    position: relative;
    z-index: 1;
}

.sz-home-news-spotlight__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

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

.sz-home-news-spotlight__toggle-btn {
    flex-shrink: 0;
    margin: 0;
    padding: 0.15rem 0;
    border: 0;
    background: transparent;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sz-orange);
    opacity: 0.9;
    cursor: pointer;
    line-height: 1.3;
}

.sz-home-news-spotlight__toggle-btn:hover {
    opacity: 1;
}

.sz-home-news-spotlight__toggle-btn:focus-visible {
    outline: 2px solid var(--sz-orange);
    outline-offset: 2px;
}

.sz-home-news-spotlight__shell.is-open .sz-home-news-spotlight__toggle-closed {
    display: none;
}

.sz-home-news-spotlight__shell:not(.is-open) .sz-home-news-spotlight__toggle-open {
    display: none;
}

.sz-home-news-spotlight__shell:not(.is-open) .sz-home-news-spotlight__panel {
    display: none;
}

.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-open,
.sz-home-news-spotlight__toggle-closed {
    display: inline;
}

.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__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.65rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

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

.sz-home-news-spotlight__dismiss-form {
    margin: 0;
}

.sz-home-news-spotlight__dismiss {
    font-size: 0.78rem;
}

.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: 2147483646;
    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);
    pointer-events: auto;
    isolation: isolate;
}

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;
    position: relative;
    z-index: 1;
}

.sz-cookie-banner__form {
    display: contents;
    margin: 0;
}

.sz-cookie-banner__form button {
    touch-action: manipulation;
}

body.sz-has-cookie-banner .sz-tippspiel-page-overlay {
    pointer-events: none !important;
}

.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;
}

.sz-push-settings__sound {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.sz-push-settings__sound-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.sz-push-settings__sound-hint {
    margin: 0 0 0.75rem;
}

.sz-push-settings__sound-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.sz-push-settings__sound-select {
    min-width: min(100%, 14rem);
    flex: 1 1 12rem;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0.55rem 2.5rem 0.55rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--sz-form-border, #b8c9b8);
    background-color: #fff;
    color: var(--sz-text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003c0a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

html[data-theme="dark"] .sz-push-settings__sound-select {
    background-color: var(--sz-form-select-bg, rgba(0, 44, 18, 0.92));
    border-color: var(--sz-form-select-border, rgba(130, 200, 150, 0.32));
    color: var(--sz-body-color);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f1e8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.sz-push-settings__sound-select:hover {
    border-color: var(--sz-form-input-focus-border, rgba(241, 116, 50, 0.45));
}

.sz-push-settings__sound-select:focus {
    outline: none;
    border-color: var(--sz-form-input-focus-border, rgba(241, 116, 50, 0.7));
    box-shadow: 0 0 0 3px var(--sz-form-input-focus-ring, rgba(241, 116, 50, 0.18));
}

/* Geöffnete Liste: gleiche grüne Lesbarkeit wie System-Dropdowns (wo der Browser es erlaubt) */
html[data-theme="dark"] .sz-push-settings__sound-select option {
    background-color: var(--sz-form-select-option-bg, rgba(0, 52, 24, 0.98));
    color: var(--sz-form-select-option-fg, var(--sz-cream));
}

.sz-push-settings__sound-preview {
    flex: 0 0 auto;
}

/* —— Desktop-Topbar: Icon über Label, alle Tabs gleich hoch/bündig —— */
:root {
    --sz-nav-tab-icon-size: 1.25rem;
    --sz-nav-tab-label-h: 0.72rem;
    --sz-nav-tab-gap: 0.1rem;
    --sz-nav-tab-block-h: calc(
        var(--sz-nav-tab-icon-size) + var(--sz-nav-tab-gap) + var(--sz-nav-tab-label-h)
    );
}

.sz-topbar__nav-cluster {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0.15rem;
    flex: 1 1 auto;
    min-width: 0;
    align-self: flex-end;
}

.sz-nav--desktop-primary,
.sz-nav--desktop-tools {
    display: inline-flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 0.15rem;
}

.sz-nav-tab-form {
    display: inline-flex;
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-end;
}

.sz-nav-tab {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--sz-nav-tab-gap);
    min-width: 0;
    width: 100%;
    max-width: none;
    height: var(--sz-nav-tab-block-h);
    min-height: var(--sz-nav-tab-block-h);
    max-height: var(--sz-nav-tab-block-h);
    padding: 0 0.25rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--sz-nav-color);
    opacity: 0.88;
    text-decoration: none;
    font-weight: 600;
    font-family: inherit;
    line-height: 1;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.sz-topbar .sz-nav-tab:hover {
    color: var(--sz-nav-color);
    opacity: 1;
}

.sz-topbar .sz-nav-tab.is-active {
    color: var(--sz-orange, #f17432);
    opacity: 1;
}

.sz-topbar .sz-nav-tab {
    transform: translateY(-5px);
}

html[data-theme="light"] .sz-topbar .sz-nav-tab:not(.is-active) {
    color: var(--sz-cream);
    opacity: 0.92;
}

html[data-theme="light"] .sz-topbar .sz-nav-tab:not(.is-active):hover {
    color: #fff;
    opacity: 1;
}

.sz-nav-tab:focus-visible {
    outline: 2px solid var(--sz-orange, #f17432);
    outline-offset: 2px;
}

.sz-nav-tab__icon--theme {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--sz-nav-tab-icon-size);
    height: var(--sz-nav-tab-icon-size);
    font-size: 1.1rem;
    line-height: 1;
}

.sz-nav-tab__theme-sun,
.sz-nav-tab__theme-moon {
    display: none;
}

html[data-theme="dark"] .sz-nav-tab__theme-sun {
    display: block;
}

html[data-theme="light"] .sz-nav-tab__theme-moon {
    display: block;
}

.sz-nav-tab__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--sz-nav-tab-icon-size);
    height: var(--sz-nav-tab-icon-size);
    flex: 0 0 var(--sz-nav-tab-icon-size);
    line-height: 0;
}

.sz-nav-tab__icon svg {
    display: block;
    width: var(--sz-nav-tab-icon-size);
    height: var(--sz-nav-tab-icon-size);
}

.sz-nav-tab__label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--sz-nav-tab-label-h);
    flex: 0 0 var(--sz-nav-tab-label-h);
    font-size: 0.62rem;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sz-nav-tab__badge {
    position: absolute;
    top: 0;
    right: 0.15rem;
    min-width: 1rem;
    padding: 0.05rem 0.25rem;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--sz-orange, #f17432);
    color: #fff;
}

@media (max-width: 560px) {
    .sz-topbar__nav-cluster,
    .sz-nav--desktop-primary,
    .sz-nav--desktop-tools,
    .sz-topbar__actions .sz-nav-tab--more {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sz-nav-avatar__aura {
        animation: none;
        opacity: 0.55;
    }
}

@media (min-width: 561px) {
    .sz-topbar__actions.sz-topbar__nav-desktop {
        align-items: flex-end;
        align-self: flex-end;
    }

    .sz-nav--desktop-primary,
    .sz-nav--desktop-tools {
        display: contents;
    }

    .sz-nav-tab-form {
        display: contents;
    }

    .sz-topbar__nav-cluster > .sz-nav-tab,
    .sz-topbar__nav-cluster .sz-nav-tab {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: var(--sz-nav-tab-block-h);
        min-height: var(--sz-nav-tab-block-h);
        max-height: var(--sz-nav-tab-block-h);
    }
}

@media (min-width: 561px) and (max-width: 920px) {
    .sz-nav-tab__label {
        font-size: 0.58rem;
    }
}

/* —— Bottom-Navigation (Mobil) —— */
:root {
    --sz-bottom-nav-h: 2.75rem;
}

.sz-bottom-nav {
    display: none;
    box-sizing: border-box;
    margin: 0;
    align-items: stretch;
    justify-content: space-around;
    gap: 0;
    padding: 0.15rem 0.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 18, 12, 0.96);
    backdrop-filter: blur(10px);
    line-height: 1;
}

.sz-bottom-nav__icon {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    line-height: 0;
    overflow: hidden;
}

.sz-bottom-nav__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: top;
}

.sz-bottom-nav__item--primary .sz-bottom-nav__icon {
    width: 1.2rem;
    height: 1.2rem;
}

.sz-bottom-nav__label {
    display: block;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    line-height: 1;
    font-size: 0.58rem;
}

@media (max-width: 560px) {
    body.sz-has-bottom-nav .sz-bottom-nav {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        /* Safe Area als Abstand nach unten – kein leeres Padding unter den Labels */
        bottom: env(safe-area-inset-bottom, 0px);
        z-index: 900;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    /* Top- + Bottom-Menü fixieren (WebView/Mobil – kein Mitscrollen) */
    body.sz-has-bottom-nav:not(.page-chat-room) .sz-topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 910;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    body.sz-has-bottom-nav:not(.page-chat-room) header.sz-topbar ~ .sz-main {
        padding-top: calc(var(--sz-chrome-top-h, 3.25rem) + 0.75rem);
    }

    body.sz-has-bottom-nav .sz-main {
        transition: padding-top 0s, padding-bottom 0.2s ease;
    }

    html[data-theme="light"] body.sz-has-bottom-nav .sz-bottom-nav {
        background: rgba(255, 255, 255, 0.97);
        border-top-color: rgba(0, 60, 10, 0.12);
    }

    body.sz-has-bottom-nav .sz-main {
        padding-bottom: calc(
            0.5rem + var(--sz-bottom-nav-pad, var(--sz-bottom-nav-h)) + env(safe-area-inset-bottom, 0px)
        );
    }

    body.sz-has-bottom-nav.page-chat-room .sz-bottom-nav,
    html.sz-keyboard-open body.sz-has-bottom-nav .sz-bottom-nav {
        display: none !important;
    }

    html.sz-keyboard-open body.sz-has-bottom-nav .sz-main {
        padding-bottom: 0.5rem;
    }

    body.sz-has-bottom-nav .sz-topbar__nav-desktop {
        display: none !important;
    }

    body.sz-has-bottom-nav .sz-tippspiel-action-bar {
        display: none;
    }

    body.sz-has-bottom-nav .sz-nav-drawer__link--primary-nav {
        display: none !important;
    }
}

/* Native App: Safe Area übernimmt die Shell – kein env() am Nav (sonst Gap unter den Labels) */
html.sz-native-shell body.sz-has-bottom-nav .sz-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    /* WKWebView-Overscroll: weniger Repaint-Flackern bei fixierter Leiste */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Native iOS-WebView: kein Rubber-Band-Overscroll (konfligiert mit Shell-Scroll) */
html.sz-native-shell {
    overscroll-behavior-y: none;
}

html.sz-native-shell body {
    overscroll-behavior-y: none;
}

html.sz-native-shell body.sz-has-bottom-nav .sz-main {
    padding-bottom: calc(0.5rem + var(--sz-bottom-nav-pad, var(--sz-bottom-nav-h)));
}

/* Tastatur offen: Bottom-Nav ausgeblendet – kein Nav-Reserve mehr (sonst Leerfeld über der Tastatur) */
html.sz-keyboard-open body.sz-has-bottom-nav .sz-main,
html.sz-native-shell.sz-keyboard-open body.sz-has-bottom-nav .sz-main {
    padding-bottom: 0.5rem;
}

/* Chat: Nav immer aus, kein Nav-Reserve am Main (auch bei eingefahrener Tastatur) */
body.sz-has-bottom-nav.page-chat-room .sz-bottom-nav,
html.sz-native-shell body.sz-has-bottom-nav.page-chat-room .sz-bottom-nav {
    display: none !important;
}

body.sz-has-bottom-nav.page-chat-room .sz-main,
html.sz-native-shell body.sz-has-bottom-nav.page-chat-room .sz-main {
    padding-bottom: 0;
}

@media (min-width: 561px) {
    html.sz-native-shell body.sz-has-bottom-nav .sz-bottom-nav {
        display: none !important;
    }
}

.sz-bottom-nav__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
    min-width: 0;
    min-height: 0;
    padding: 0.08rem 0.1rem 0;
    color: var(--sz-small);
    text-decoration: none;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
}

.sz-bottom-nav__item.is-active {
    color: var(--sz-orange, #f17432);
}

.sz-bottom-nav__badge {
    position: absolute;
    top: 0;
    right: 0.35rem;
    min-width: 1.1rem;
    padding: 0.1rem 0.3rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
    background: var(--sz-orange, #f17432);
    color: #fff;
}

/* —— Startseite (vereinfacht) —— */
body.page-home {
    overflow-x: clip;
}

.page-home .sz-main {
    overflow-x: clip;
}

@media (max-width: 768px) {
    .page-home .sz-inner {
        padding-left: max(0.4rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.4rem, env(safe-area-inset-right, 0px));
    }
}

.page-home .sz-hero.sz-hero--home.sz-hero--streamlined {
    padding: 0.85rem 0.5rem 1rem;
    margin-bottom: 1rem;
}

/* Streamlined Startseite: eigene Karten – kein globaler Hero-Orange-Glow mehr */
.page-home .sz-hero.sz-hero--home.sz-hero--streamlined::before {
    display: none;
}

.sz-hero--streamlined .sz-home-brand--compact {
    margin-bottom: 0.75rem;
}

.sz-home-brand--compact .sz-home-brand__stack--season {
    gap: 0.65rem;
}

.sz-home-brand--compact .sz-home-brand__stats {
    font-size: 0.72rem;
    gap: 0.32rem;
    opacity: 0.9;
}

.sz-home-brand--compact .sz-home-brand__stat {
    padding: 0.2rem 0.5rem;
}

/* Startseite: App-Store-Pills im Brand-Block */
.sz-home-brand__app-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 22rem;
    margin: 0.55rem auto 0;
    padding: 0 0.25rem;
}

.sz-app-store-pill-wrap {
    position: relative;
    flex: 0 1 auto;
}

.sz-app-store-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.15rem;
    padding: 0.32rem 0.72rem 0.32rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(46, 125, 50, 0.35);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.14) 0%, rgba(255, 255, 255, 0.55) 100%);
    color: var(--sz-green, #244e34);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow:
        0 2px 10px rgba(0, 50, 20, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        transform 0.12s ease,
        box-shadow 0.15s ease;
}

html[data-theme="dark"] .sz-app-store-pill {
    border-color: rgba(168, 230, 184, 0.22);
    background: linear-gradient(135deg, rgba(36, 78, 52, 0.55) 0%, rgba(12, 24, 16, 0.85) 100%);
    color: #d4ead8;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sz-app-store-pill--android {
    border-color: rgba(61, 168, 90, 0.45);
    background: linear-gradient(135deg, rgba(61, 168, 90, 0.22) 0%, rgba(255, 255, 255, 0.62) 100%);
}

html[data-theme="dark"] .sz-app-store-pill--android {
    border-color: rgba(129, 199, 132, 0.35);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.65) 0%, rgba(10, 22, 14, 0.92) 100%);
}

.sz-app-store-pill--android:hover,
.sz-app-store-pill--android:focus-visible {
    border-color: rgba(241, 116, 50, 0.55);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.16) 0%, rgba(255, 255, 255, 0.72) 100%);
    transform: translateY(-1px);
    box-shadow:
        0 6px 18px rgba(241, 116, 50, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .sz-app-store-pill--android:hover,
html[data-theme="dark"] .sz-app-store-pill--android:focus-visible {
    border-color: rgba(241, 116, 50, 0.45);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.22) 0%, rgba(18, 32, 22, 0.95) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.sz-app-store-pill--ios {
    border-color: rgba(61, 168, 90, 0.45);
    background: linear-gradient(135deg, rgba(61, 168, 90, 0.22) 0%, rgba(255, 255, 255, 0.62) 100%);
}

html[data-theme="dark"] .sz-app-store-pill--ios {
    border-color: rgba(129, 199, 132, 0.35);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.65) 0%, rgba(10, 22, 14, 0.92) 100%);
}

.sz-app-store-pill--ios:hover,
.sz-app-store-pill--ios:focus-visible {
    border-color: rgba(241, 116, 50, 0.55);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.16) 0%, rgba(255, 255, 255, 0.72) 100%);
    transform: translateY(-1px);
    box-shadow:
        0 6px 18px rgba(241, 116, 50, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .sz-app-store-pill--ios:hover,
html[data-theme="dark"] .sz-app-store-pill--ios:focus-visible {
    border-color: rgba(241, 116, 50, 0.45);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.22) 0%, rgba(18, 32, 22, 0.95) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.sz-app-store-pill--ios.is-coming-soon .sz-app-store-pill__meta {
    font-style: italic;
}

.sz-app-store-pill__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    color: inherit;
}

html[data-theme="dark"] .sz-app-store-pill__icon {
    background: rgba(0, 0, 0, 0.25);
}

.sz-app-store-pill--android .sz-app-store-pill__icon {
    color: #2e7d32;
}

html[data-theme="dark"] .sz-app-store-pill--android .sz-app-store-pill__icon {
    color: #81c784;
}

.sz-app-store-pill--ios .sz-app-store-pill__icon {
    color: #2e7d32;
}

html[data-theme="dark"] .sz-app-store-pill--ios .sz-app-store-pill__icon {
    color: #81c784;
}

.sz-app-store-pill__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.02rem;
    min-width: 0;
    line-height: 1.15;
    text-align: left;
}

.sz-app-store-pill__platform {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.sz-app-store-pill__meta {
    font-size: 0.62rem;
    font-weight: 600;
    opacity: 0.82;
    white-space: nowrap;
}

.sz-app-store-pill__meta-sep {
    opacity: 0.55;
    margin: 0 0.12rem;
}

.sz-app-store-pill:focus-visible {
    outline: 2px solid var(--sz-orange, #f17432);
    outline-offset: 2px;
}

/* App-Pill-Dialog (Info + QR) */
.sz-app-pill-dialog__head .sz-chat-new-dialog__title {
    margin: 0;
}

.sz-app-pill-dialog__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.12);
    color: var(--sz-green, #244e34);
}

html[data-theme="dark"] .sz-app-pill-dialog__icon {
    background: rgba(129, 199, 132, 0.15);
    color: #b8d4be;
}

.sz-app-pill-dialog__body {
    margin: 0 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.94;
}

.sz-app-pill-dialog__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin: 0 auto 0.65rem;
    padding: 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(36, 78, 52, 0.12);
    background: rgba(255, 255, 255, 0.92);
    max-width: 11rem;
}

html[data-theme="dark"] .sz-app-pill-dialog__qr {
    border-color: rgba(168, 230, 184, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.sz-app-pill-dialog__qr img {
    display: block;
    width: 160px;
    height: 160px;
}

.sz-app-pill-dialog__qr-caption {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.75;
    color: var(--sz-muted, #5a6b5f);
}

.sz-app-pill-dialog__qr-hint {
    margin: -0.25rem 0 0.75rem;
    text-align: center;
    font-size: 0.78rem;
}

.sz-app-pill-dialog__actions {
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 420px) {
    .sz-home-brand__app-pills {
        gap: 0.35rem;
    }

    .sz-app-store-pill {
        padding-inline: 0.6rem 0.65rem;
    }

    .sz-app-store-pill__platform {
        font-size: 0.74rem;
    }
}

/* Mobil-Popup (einmal pro Session) */
.sz-home-app-promo-popup {
    position: fixed;
    left: 0.65rem;
    right: 0.65rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    z-index: 9650;
    max-width: 24rem;
    margin: 0 auto;
    pointer-events: none;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sz-home-app-promo-popup.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

body.sz-has-cookie-banner .sz-home-app-promo-popup.is-open {
    bottom: max(6.5rem, calc(4.5rem + env(safe-area-inset-bottom, 0px)));
}

body.sz-has-app-promo-popup .sz-main {
    padding-bottom: max(6rem, calc(4rem + env(safe-area-inset-bottom, 0px)));
}

.sz-home-app-promo-popup[hidden] {
    display: none !important;
}

.sz-home-app-promo-popup__surface {
    position: relative;
    padding: 0.85rem 2.35rem 0.9rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(36, 78, 52, 0.18);
    background: var(--sz-panel-bg, rgba(255, 255, 255, 0.98));
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .sz-home-app-promo-popup__surface {
    border-color: rgba(168, 230, 184, 0.16);
    background: rgba(18, 32, 24, 0.98);
}

.sz-home-app-promo-popup__close {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    z-index: 2;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.35rem;
    line-height: 1;
    opacity: 0.75;
    cursor: pointer;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.35rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sz-home-app-promo-popup__kicker {
    margin: 0 0 0.15rem;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.75;
}

.sz-home-app-promo-popup__title {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    line-height: 1.25;
}

.sz-home-app-promo-popup__body {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.45;
    opacity: 0.92;
}

.sz-home-app-promo-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.page-home .sz-hero--streamlined .sz-home-matches {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
}

/* Aktuelle Spiele: kompakte Zeile nur Mobil + Native App (Desktop = große Wappen in szoccer-app.css) */
@media (max-width: 767px) {
    .page-home .sz-home-match__link {
        gap: 0.35rem 0.45rem;
        padding: 0.28rem 0.4rem;
    }

    .page-home .sz-home-match__teams {
        gap: 0.15rem 0.25rem;
    }

    .page-home .sz-home-match__club {
        gap: 0.22rem;
    }

    .page-home .sz-home-match__club--home {
        justify-content: flex-end;
    }

    .page-home .sz-home-match__crest.sz-crest {
        --sz-crest-size: 1.65rem;
        --sz-crest-radius: 5px;
        flex-shrink: 0;
    }

    .page-home .sz-home-match__name {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 4.25rem;
        padding: 0.1rem 0.32rem;
        border-radius: 5px;
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        line-height: 1.2;
        text-transform: uppercase;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        background: rgba(0, 48, 18, 0.28);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 1px 4px rgba(0, 0, 0, 0.12);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    }

    html[data-theme="light"] .page-home .sz-home-match__name {
        background: rgba(255, 255, 255, 0.72);
        border-color: rgba(0, 60, 10, 0.12);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
        text-shadow: none;
    }

    .page-home .sz-home-match__club--home .sz-home-match__name,
    .page-home .sz-home-match__club--away .sz-home-match__name {
        max-width: 4.25rem;
    }

    .page-home .sz-home-match__score {
        min-width: 2.15rem;
        padding: 0 0.12rem;
    }

    .page-home .sz-home-match__scoreline {
        font-size: 0.88rem;
    }

    .page-home .sz-home-match__scoreline--vs {
        font-size: 0.82rem;
    }

    .page-home .sz-home-match__my-tip-label {
        display: none;
    }
}

html.sz-native-shell body.page-home .sz-home-match__link {
    gap: 0.35rem 0.45rem;
    padding: 0.28rem 0.4rem;
}

html.sz-native-shell body.page-home .sz-home-match__teams {
    gap: 0.15rem 0.25rem;
}

html.sz-native-shell body.page-home .sz-home-match__club {
    gap: 0.22rem;
}

html.sz-native-shell body.page-home .sz-home-match__club--home {
    justify-content: flex-end;
}

html.sz-native-shell body.page-home .sz-home-match .sz-home-match__crest.sz-crest {
    --sz-crest-size: 1.65rem;
    --sz-crest-radius: 5px;
    flex-shrink: 0;
}

html.sz-native-shell body.page-home .sz-home-match__name {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 4.25rem;
    padding: 0.1rem 0.32rem;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(0, 48, 18, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.12);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

html.sz-native-shell[data-theme="light"] body.page-home .sz-home-match__name {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(0, 60, 10, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

html.sz-native-shell body.page-home .sz-home-match__club--home .sz-home-match__name,
html.sz-native-shell body.page-home .sz-home-match__club--away .sz-home-match__name {
    max-width: 4.25rem;
}

html.sz-native-shell body.page-home .sz-home-match__score {
    min-width: 2.15rem;
    padding: 0 0.12rem;
}

html.sz-native-shell body.page-home .sz-home-match__scoreline {
    font-size: 0.88rem;
}

html.sz-native-shell body.page-home .sz-home-match__scoreline--vs {
    font-size: 0.82rem;
}

html.sz-native-shell body.page-home .sz-home-match__my-tip-label {
    display: none;
}

.page-home .sz-home-player-hub {
    position: relative;
    width: 100%;
    margin: 0.75rem 0;
    border-radius: 16px;
    border: 1px solid rgba(241, 116, 50, 0.38);
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.58) 0%,
        rgba(232, 245, 234, 0.48) 42%,
        rgba(255, 236, 220, 0.45) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 12px 32px rgba(0, 50, 20, 0.14);
    overflow: hidden;
}

html[data-theme="dark"] .page-home .sz-home-player-hub {
    border-color: rgba(241, 116, 50, 0.42);
    background: linear-gradient(
        145deg,
        rgba(0, 58, 26, 0.82) 0%,
        rgba(0, 34, 16, 0.72) 50%,
        rgba(55, 28, 6, 0.4) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 36px rgba(0, 0, 0, 0.38);
}

.page-home .sz-home-player-hub__glow {
    position: absolute;
    inset: -30% -10% auto auto;
    width: 55%;
    height: 80%;
    pointer-events: none;
    background: radial-gradient(ellipse at 70% 20%, rgba(241, 116, 50, 0.35) 0%, transparent 68%);
}

.page-home .sz-home-player-hub__body {
    position: relative;
    z-index: 1;
}

.page-home .sz-home-player-hub__identity.sz-hero-board-hub {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-home .sz-home-player-hub .sz-hero-board-profile--embedded {
    padding: 0.45rem 0.4rem 0.5rem;
}

/* Profil + Aktuelle Runde: eine verschmolzene Kachel */
.page-home .sz-home-player-hub__fusion {
    position: relative;
    padding: 0.5rem 0.45rem 0.55rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.62) 0%,
        rgba(232, 245, 234, 0.5) 38%,
        rgba(255, 236, 220, 0.52) 100%
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="dark"] .page-home .sz-home-player-hub__fusion {
    background: linear-gradient(
        135deg,
        rgba(0, 58, 26, 0.78) 0%,
        rgba(0, 34, 16, 0.68) 45%,
        rgba(70, 36, 8, 0.42) 100%
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home .sz-home-player-hub__fusion-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    margin: 0 0 0.55rem;
    padding: 0 0 0.45rem;
    border-bottom: 1px solid rgba(241, 116, 50, 0.28);
}

.page-home .sz-home-player-hub__fusion-tag {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.page-home .sz-home-player-hub__fusion-tag--profile {
    color: var(--sz-green-mid);
}

.page-home .sz-home-player-hub__fusion-tag--round {
    color: var(--sz-orange);
}

.page-home .sz-home-player-hub__fusion-bridge {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(10, 92, 24, 0.25) 0%,
        rgba(241, 116, 50, 0.75) 50%,
        rgba(10, 92, 24, 0.25) 100%
    );
    position: relative;
}

.page-home .sz-home-player-hub__fusion-bridge::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.35rem;
    height: 0.35rem;
    margin: -0.175rem 0 0 -0.175rem;
    border-radius: 50%;
    background: var(--sz-orange);
    box-shadow: 0 0 8px rgba(241, 116, 50, 0.55);
}

.page-home .sz-home-player-hub__fusion-body {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 0.5rem 0.75rem;
    align-items: start;
}

.page-home .sz-home-player-hub__fusion-body .sz-home-player-hub__identity {
    min-width: 0;
}

.page-home .sz-home-player-hub__fusion-body .sz-home-player-hub__round {
    min-width: 0;
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile--home-fusion {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    gap: 0.55rem;
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile--home-fusion .sz-hero-board-profile__label {
    display: none;
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile--home-fusion .sz-hero-board-profile__card {
    padding-right: 1.85rem;
}

.page-home .sz-board-bilanz--home-profile {
    margin: 0;
    padding: 0;
    border: 0;
}

.page-home .sz-board-bilanz--home-profile .sz-board-bilanz__head {
    margin-bottom: 0.35rem;
}

.page-home .sz-board-bilanz--home-profile .sz-board-bilanz__metrics {
    gap: 0.35rem;
}

.page-home .sz-board-bilanz--home-profile .sz-board-bilanz__metric {
    padding: 0.28rem 0.42rem 0.32rem;
}

.page-home .sz-board-bilanz--home-profile .sz-board-bilanz__actions {
    margin-top: 0.45rem;
}

@media (max-width: 719px) {
    .page-home .sz-home-player-hub__fusion-body:has(.sz-hero-board-profile--with-bilanz) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.page-home .sz-home-player-hub__fusion .sz-open-tips--home-in-hub-fusion,
.page-home .sz-home-player-hub__fusion .sz-open-tips--homeinhubfusion {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__glow {
    display: none;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__main {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    gap: 0.2rem 0.45rem;
    align-items: center;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__head {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--sz-orange);
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__urgent {
    margin: 0.15rem 0 0;
    font-size: 0.68rem;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__chips {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    justify-content: flex-end;
    align-self: center;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__progress {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.15rem;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__progress-track {
    height: 0.35rem;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__progress-label {
    margin-top: 0.2rem;
    font-size: 0.68rem;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__main:not(:has(.sz-open-tips__chips)) {
    grid-template-columns: 1fr;
}

.page-home .sz-home-player-hub__fusion .sz-open-tips__main:not(:has(.sz-open-tips__chips)) .sz-open-tips__chips {
    grid-column: 1;
}

@media (max-width: 360px) {
    .page-home .sz-home-player-hub__fusion .sz-open-tips__main {
        grid-template-columns: 1fr;
    }

    .page-home .sz-home-player-hub__fusion .sz-open-tips__chips {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
    }

    .page-home .sz-home-player-hub__fusion .sz-open-tips__progress {
        grid-row: 3;
    }
}

.page-home .sz-open-tips__chips--fusion-fancy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-home .sz-open-tips__chip--fancy,
.page-home a.sz-open-tips__chip--fancy {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-width: 0;
    padding: 0.3rem 0.45rem;
    border-radius: 10px;
    border: 1px solid rgba(241, 116, 50, 0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 236, 220, 0.45) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] .page-home .sz-open-tips__chip--fancy {
    border-color: rgba(241, 116, 50, 0.42);
    background: linear-gradient(135deg, rgba(0, 48, 22, 0.75) 0%, rgba(55, 28, 6, 0.55) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home .sz-open-tips__chip--fancy.sz-open-tips__chip--open {
    border-color: rgba(10, 92, 24, 0.45);
    background: linear-gradient(135deg, rgba(232, 245, 234, 0.55) 0%, rgba(255, 255, 255, 0.4) 100%);
}

html[data-theme="dark"] .page-home .sz-open-tips__chip--fancy.sz-open-tips__chip--open {
    border-color: rgba(120, 200, 140, 0.35);
    background: linear-gradient(135deg, rgba(0, 58, 26, 0.8) 0%, rgba(0, 34, 16, 0.65) 100%);
}

.page-home .sz-open-tips__chip-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.9;
}

.page-home .sz-open-tips__chip-body {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.page-home .sz-open-tips__chip-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.75;
}

.page-home .sz-open-tips__chip-value {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
}

.page-home .sz-home-group-ranking-host {
    border-top: 1px solid rgba(241, 116, 50, 0.28);
    padding-top: 0.5rem;
    padding-bottom: 0.55rem;
}

.page-home .sz-home-group-ranking-host.is-loading {
    opacity: 0.85;
}

.page-home .sz-home-group-ranking {
    margin: 0;
}

.page-home .sz-home-group-ranking__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.65rem;
    margin-bottom: 0.45rem;
}

.page-home .sz-home-group-ranking__title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.page-home .sz-home-group-ranking__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
}

.page-home .sz-home-group-ranking__all {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sz-orange);
}

.page-home .sz-home-group-ranking .sz-tg-ranking-legend-spoiler--compact {
    margin: 0 0 0.35rem;
}

.page-home .sz-ranking-table--compact {
    font-size: 0.78rem;
}

.page-home .sz-ranking-table--compact tr.is-viewer {
    background: rgba(241, 116, 50, 0.12);
}

/* Inline-Rangliste: volle Breite im Hub, kein Seiten-Scroll */
.page-home .sz-home-group-ranking-host {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    scroll-margin-top: calc(var(--sz-topbar-row-height, 3.25rem) + 0.5rem);
}

.page-home .sz-home-group-ranking {
    min-width: 0;
    max-width: 100%;
}

.page-home .sz-home-group-ranking__table-wrap {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.page-home .sz-home-group-ranking .sz-ranking-table--compact {
    width: 100%;
    table-layout: fixed;
    font-size: 0.84rem;
}

.page-home .sz-home-group-ranking .sz-ranking-table--compact thead th,
.page-home .sz-home-group-ranking .sz-ranking-table--compact tbody td {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    vertical-align: middle;
}

.page-home .sz-home-group-ranking .sz-ranking-table__place {
    width: 1.65rem;
    padding-left: 0.15rem;
    font-size: 0.72rem;
}

.page-home .sz-home-group-ranking .sz-ranking-table__num {
    width: auto;
    font-size: 0.7rem;
    white-space: nowrap;
}

.page-home .sz-home-group-ranking .sz-ranking-table__player {
    min-width: 0;
    overflow: hidden;
}

.page-home .sz-home-group-ranking .sz-ranking-table__who {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    max-width: 100%;
}

.page-home .sz-home-group-ranking .sz-ranking-table__who > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 600;
}

.page-home .sz-home-group-ranking .sz-tg-ranking-legend-spoiler--compact {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.page-home .sz-home-group-ranking .sz-tg-ranking-legend-spoiler--compact .sz-tg-ranking-legend__groups {
    min-width: 0;
}

@media (max-width: 768px) {
    .page-home .sz-home-group-ranking__table-wrap.sz-table-wrap {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
}

@media (max-width: 560px) {
    .page-home .sz-home-group-ranking-host {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .page-home .sz-home-group-ranking {
        font-size: 0.72rem;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table--compact {
        font-size: 0.76rem;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table__place {
        width: 1.45rem;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table__col-games,
    .page-home .sz-home-group-ranking .sz-ranking-table__col-points {
        width: 2.1rem;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table thead .sz-ranking-table__col-games,
    .page-home .sz-home-group-ranking .sz-ranking-table thead .sz-ranking-table__col-points {
        font-size: 0.58rem;
        letter-spacing: 0.02em;
        padding-left: 0.1rem;
        padding-right: 0.1rem;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table thead th:not(.sz-ranking-table__place):not(.sz-ranking-table__player) {
        font-size: 0.58rem;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table__who .sz-avatar--28 {
        width: 1.35rem;
        height: 1.35rem;
        flex-shrink: 0;
    }

    .page-home .sz-home-group-ranking .sz-ranking-table__who .sz-avatar__role {
        width: 0.55rem;
        height: 0.55rem;
    }
}

.page-home .sz-board-groups-strip__pill.is-home-rank-trigger.is-active {
    border-color: var(--sz-orange);
    box-shadow: 0 0 0 2px rgba(241, 116, 50, 0.35);
}

@media (max-width: 520px) {
    .page-home .sz-home-player-hub__fusion-body {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .page-home .sz-home-player-hub__fusion-body .sz-hero-board-profile--home-fusion {
        flex-direction: row;
    }
}

/* Profil-Avatar: +50 % gegenüber Board-Standard (44px → 66px) */
.page-home .sz-home-player-hub .sz-hero-board-profile__avatar-wrap .sz-avatar--44 {
    width: 4.125rem;
    height: 4.125rem;
}

.page-home .sz-home-player-hub .sz-hero-board-profile__avatar-wrap .sz-avatar--44 .sz-avatar__letter {
    font-size: 1.425rem;
}

.page-home .sz-home-player-hub .sz-hero-board-profile__avatar-wrap .sz-avatar--44 .sz-avatar__role {
    font-size: 0.52rem;
    padding: 0.42em 0 0.2em;
    align-items: center;
    justify-content: center;
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile__glow {
    display: none;
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile__ring {
    inset: -3px;
    animation: none;
    border-width: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile__avatar-wrap {
    overflow: hidden;
    border-radius: 50%;
    isolation: isolate;
}

.page-home .sz-home-player-hub__fusion .sz-hero-board-profile__avatar-wrap .sz-avatar {
    display: block;
    border-radius: 50%;
}

.page-home .sz-home-player-hub .sz-board-groups-strip__head {
    padding: 0.35rem 0.55rem 0.3rem;
}

.page-home .sz-home-player-hub .sz-board-groups-strip__track {
    padding: 0.35rem 0.5rem 0.45rem;
    margin: 0;
    justify-content: flex-start;
}

.page-home .sz-home-player-hub__groups .sz-board-groups-strip__head {
    justify-content: center;
    text-align: center;
}

.page-home .sz-home-player-hub__groups {
    padding: 0 0.55rem 0.55rem;
}

.page-home .sz-home-player-hub__groups .sz-board-groups-strip {
    border-top: 1px solid rgba(241, 116, 50, 0.28);
}

html[data-theme="dark"] .page-home .sz-home-player-hub__groups .sz-board-groups-strip {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.page-home .sz-home-player-hub__footer {
    padding: 0.55rem 0.65rem 0.6rem;
    border-top: 1px solid rgba(241, 116, 50, 0.32);
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.06) 0%,
        rgba(241, 116, 50, 0.1) 100%
    );
}

html[data-theme="light"] .page-home .sz-home-player-hub__footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 248, 240, 0.7) 100%);
}

html[data-theme="dark"] .page-home .sz-home-player-hub__footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(55, 28, 6, 0.35) 100%);
}

.page-home .sz-home-player-hub__footer .sz-open-tips__cta-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 0.45rem;
    width: 100%;
}

.page-home .sz-home-player-hub__footer .sz-open-tips__cta-stack .sz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1 1 8rem;
    min-height: 2.5rem;
    box-sizing: border-box;
}

@media (max-width: 560px) {
    .page-home .sz-home-player-hub {
        border-radius: 14px;
    }

    .page-home .sz-home-player-hub .sz-hero-board-profile--embedded {
        padding: 0.4rem 0.45rem;
    }
}

/* Einheitlicher Leerzustand */
.sz-empty-state {
    text-align: center;
    padding: 1.25rem 0.75rem;
}

.sz-empty-state__icon {
    display: inline-flex;
    margin-bottom: 0.5rem;
    opacity: 0.55;
}

.sz-empty-state__title {
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.sz-empty-state__actions {
    margin: 0.75rem 0 0;
}

.sz-tipp-help-link {
    min-width: 2rem;
    padding: 0.2rem 0.55rem;
    font-weight: 700;
    line-height: 1;
}

.sz-profile-alltag__block {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(241, 116, 50, 0.22);
}

/* Saison-Hub (4 Karten, Startseite – Board-URL bleibt Tippen) */
.page-home .sz-season-hub {
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.55rem 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(241, 116, 50, 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 242, 230, 0.85) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .page-home .sz-season-hub {
    border-color: rgba(241, 116, 50, 0.4);
    background: linear-gradient(145deg, rgba(0, 42, 20, 0.75) 0%, rgba(40, 22, 8, 0.9) 100%);
}

.page-home .sz-season-hub__kicker {
    margin: 0 0 0.45rem;
    padding: 0 0.15rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
}

.page-home .sz-season-hub__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.page-home .sz-season-hub__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-height: 3.35rem;
    padding: 0.5rem 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

html[data-theme="dark"] .page-home .sz-season-hub__card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.22);
}

.page-home .sz-season-hub__card:hover,
.page-home .sz-season-hub__card:focus-visible {
    border-color: rgba(241, 116, 50, 0.55);
    box-shadow: 0 4px 14px rgba(241, 116, 50, 0.18);
    transform: translateY(-1px);
}

.page-home .sz-season-hub__card--primary {
    border-color: rgba(10, 92, 24, 0.35);
    background: linear-gradient(135deg, rgba(232, 245, 234, 0.9) 0%, rgba(255, 255, 255, 0.75) 100%);
}

html[data-theme="dark"] .page-home .sz-season-hub__card--primary {
    border-color: rgba(120, 200, 140, 0.35);
    background: linear-gradient(135deg, rgba(0, 58, 26, 0.85) 0%, rgba(0, 34, 16, 0.65) 100%);
}

.page-home .sz-season-hub__card-label {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

.page-home .sz-season-hub__card-sub {
    font-size: 0.68rem;
    opacity: 0.78;
    line-height: 1.25;
}

.page-home .sz-season-hub__badge {
    position: absolute;
    top: 0.35rem;
    right: 0.4rem;
    min-width: 1.25rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
    background: rgba(241, 116, 50, 0.92);
    color: #fff;
}

@media (min-width: 720px) {
    .page-home .sz-season-hub__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Tippspiel: einheitliche Action-Bar (D3) */
.sz-tippspiel-action-bar {
    margin: 0 0 0.65rem;
    padding: 0.35rem 0.45rem;
    border-radius: 12px;
    border: 1px solid rgba(241, 116, 50, 0.32);
    background: rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] .sz-tippspiel-action-bar {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(241, 116, 50, 0.38);
}

.page-tippspiel .sz-hero--compact .sz-tippspiel-action-bar {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.page-tippspiel .sz-hero--board + .sz-tippspiel-action-bar {
    margin-top: -0.15rem;
    margin-bottom: 0.5rem;
}

.sz-tippspiel-action-bar__track {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: stretch;
}

.sz-tippspiel-action-bar__link {
    flex: 1 1 5.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.35rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

html[data-theme="dark"] .sz-tippspiel-action-bar__link {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
}

.sz-tippspiel-action-bar__link:hover,
.sz-tippspiel-action-bar__link:focus-visible {
    border-color: rgba(241, 116, 50, 0.55);
    box-shadow: 0 2px 10px rgba(241, 116, 50, 0.15);
}

.sz-tippspiel-action-bar__link.is-active {
    border-color: rgba(10, 92, 24, 0.45);
    background: linear-gradient(135deg, rgba(232, 245, 234, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

html[data-theme="dark"] .sz-tippspiel-action-bar__link.is-active {
    border-color: rgba(120, 200, 140, 0.4);
    background: linear-gradient(135deg, rgba(0, 58, 26, 0.9) 0%, rgba(0, 34, 16, 0.7) 100%);
}

.sz-tippspiel-page-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin: 0 0 0.75rem;
    padding: 0 0.15rem;
}

.sz-tippspiel-page-anchors__link {
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    opacity: 0.88;
    padding: 0.2rem 0.45rem;
    border-radius: 8px;
    border: 1px solid rgba(241, 116, 50, 0.28);
}

.sz-tippspiel-page-anchors__link:hover,
.sz-tippspiel-page-anchors__link:focus-visible {
    opacity: 1;
    border-color: rgba(241, 116, 50, 0.5);
}

.sz-my-groups-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.45rem;
}

.sz-my-groups-panel__head .sz-panel__title {
    margin: 0;
}

.sz-my-groups-panel__manage {
    margin: 0;
    font-size: 0.82rem;
}

.sz-my-groups-panel__manage a {
    font-weight: 600;
}

@media (min-width: 720px) {
    .sz-tippspiel-action-bar__track {
        flex-wrap: nowrap;
    }

    .sz-tippspiel-action-bar__link {
        flex: 1 1 0;
    }
}

.sz-home-guest-hub--rules {
    margin: 0 0 1rem;
}

.sz-home-guest-hub--rules .sz-home-guest-hub__inner {
    grid-template-columns: minmax(0, 1fr);
}

.sz-home-guest-hub--rules .sz-home-guest-hub__note {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.sz-quickstart-rules__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.75rem 0 0;
    padding-top: 0;
    border-top: 0;
}

.sz-home-guest-hub--rules .sz-quickstart-rules__actions {
    padding-top: 0.65rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .sz-home-guest-hub--rules .sz-quickstart-rules__actions {
    border-top-color: rgba(0, 60, 10, 0.1);
}

.sz-home-guest-hub--simple {
    margin: 0.75rem 0 1rem;
    padding: 1rem 1.05rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 36, 14, 0.55);
}

.sz-home-guest-hub--simple .sz-home-guest-hub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 0.5rem;
}

.sz-home-news-alert {
    margin: 0.65rem 0;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(241, 116, 50, 0.35);
    background: rgba(241, 116, 50, 0.08);
}

.sz-home-news-alert__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin: 0;
    font-size: 0.88rem;
}

.sz-home-news-teaser {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.sz-home-fallback-cta {
    margin: 0.75rem 0;
}

.sz-home-fallback-cta .sz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Admin: Plattform-Nutzung */
.sz-client-usage__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sz-client-usage__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font-size: 0.82rem;
    text-decoration: none;
}

.sz-client-usage__chip.is-active,
.sz-client-usage__chip:hover {
    border-color: rgba(120, 200, 140, 0.45);
    background: rgba(80, 160, 100, 0.18);
}

.sz-client-usage__chip-count {
    opacity: 0.75;
    font-variant-numeric: tabular-nums;
}

.sz-client-usage__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}

.sz-client-usage__search input {
    min-width: min(100%, 18rem);
}

.sz-client-usage__check {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.sz-client-usage__sort {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}

.sz-client-usage__sort.is-active,
.sz-client-usage__sort:hover {
    border-bottom-color: currentColor;
}

.sz-client-usage__platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sz-client-usage__badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.sz-client-usage__badge--android_app {
    background: rgba(61, 220, 132, 0.15);
    border-color: rgba(61, 220, 132, 0.35);
}

.sz-client-usage__badge--ios_app {
    background: rgba(120, 170, 255, 0.15);
    border-color: rgba(120, 170, 255, 0.35);
}

.sz-client-usage__badge--android_browser {
    background: rgba(180, 220, 120, 0.12);
    border-color: rgba(180, 220, 120, 0.3);
}

.sz-client-usage__badge--ios_browser {
    background: rgba(140, 180, 255, 0.12);
    border-color: rgba(140, 180, 255, 0.3);
}

.sz-client-usage__badge--mac_browser {
    background: rgba(200, 180, 255, 0.12);
    border-color: rgba(200, 180, 255, 0.3);
}

.sz-client-usage__badge--windows_browser {
    background: rgba(160, 200, 255, 0.12);
    border-color: rgba(160, 200, 255, 0.3);
}

.sz-client-usage__unknown {
    opacity: 0.65;
    font-size: 0.85rem;
}

.sz-client-usage__table tbody tr[data-profile-url] {
    cursor: pointer;
}

.sz-client-usage__status {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ——— Admin: System-Konfiguration (/admin/konfiguration) ——— */

.sz-admin-config__section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.sz-admin-config__section-head .sz-block-title {
    margin: 0;
}

.sz-admin-config__badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(130, 200, 150, 0.35);
    background: rgba(130, 200, 150, 0.1);
    color: var(--sz-hint-color, #cde4cd);
}

.sz-admin-config__badge--edit {
    border-color: rgba(241, 116, 50, 0.5);
    background: rgba(241, 116, 50, 0.12);
    color: var(--sz-orange);
}

html[data-theme="light"] .sz-admin-config__badge {
    color: var(--sz-green-mid);
}

html[data-theme="light"] .sz-admin-config__badge--edit {
    color: #b04e16;
}

.sz-admin-config__file {
    margin: 0.35rem 0 1rem;
    font-size: 0.88rem;
}

.sz-admin-config__file code,
.sz-admin-config__key {
    font-size: 0.78rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(130, 200, 150, 0.12);
    border: 1px solid rgba(130, 200, 150, 0.2);
}

html[data-theme="light"] .sz-admin-config__file code,
html[data-theme="light"] .sz-admin-config__key {
    background: rgba(0, 60, 10, 0.06);
    border-color: rgba(0, 60, 10, 0.14);
}

/* Formular (editierbarer Bereich) */

.sz-admin-config__group {
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.1rem 1.1rem;
    border: 1px solid var(--sz-news-section-border, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
}

.sz-admin-config__group[disabled] {
    opacity: 0.6;
}

.sz-admin-config__group-title {
    padding: 0 0.45rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--sz-st-label, #bde0bd);
}

.sz-admin-config__fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
    gap: 0.85rem 1rem;
}

/* Jedes Setting als kleine Karte – Label, Eingabe, Hilfe und Key bleiben optisch zusammen */
.sz-admin-config__field {
    min-width: 0;
    margin: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    background: rgba(130, 200, 150, 0.06);
    border: 1px solid rgba(130, 200, 150, 0.12);
}

html[data-theme="light"] .sz-admin-config__field {
    background: rgba(0, 60, 10, 0.035);
    border-color: rgba(0, 60, 10, 0.09);
}

.sz-admin-config__field > label {
    margin-bottom: 0.25rem;
    font-size: 0.92rem;
}

/* Eingabefelder einheitlich: auch number/url in voller Breite und Höhe (wie text) */
.sz-admin-config__form input[type="text"],
.sz-admin-config__form input[type="number"],
.sz-admin-config__form input[type="url"] {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 0.4rem;
    padding: 0.55rem 0.65rem;
    min-height: 44px;
    border: 1px solid var(--sz-form-input-border, var(--sz-form-border));
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    background-color: var(--sz-form-input-bg, #fff);
    color: var(--sz-form-input-fg, var(--sz-text));
}

html[data-theme="dark"] .sz-panel .sz-admin-config__form input[type="number"],
html[data-theme="dark"] .sz-panel .sz-admin-config__form input[type="url"] {
    color: var(--sz-form-input-fg, var(--sz-body-color));
    background: var(--sz-form-input-bg, rgba(0, 0, 0, 0.35));
    border-color: var(--sz-form-input-border, rgba(255, 255, 255, 0.2));
}

.sz-admin-config__field-help {
    margin: 0.45rem 0 0.35rem;
    font-size: 0.85rem;
    line-height: 1.45;
}

.sz-admin-config__field .sz-admin-config__key {
    display: inline-block;
    margin-top: 0.1rem;
    opacity: 0.7;
}

.sz-admin-config__check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
}

.sz-admin-config__check input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.05rem;
    accent-color: var(--sz-orange);
    flex: 0 0 auto;
    cursor: pointer;
}

.sz-admin-config__actions {
    margin-top: 0.5rem;
}

/* Read-only-Zeilen */

.sz-admin-config__rows {
    display: flex;
    flex-direction: column;
}

.sz-admin-config__subhead {
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--sz-news-section-border, rgba(255, 255, 255, 0.12));
}

.sz-admin-config__subhead h3 {
    margin: 0 0 0.2rem;
    font-size: 0.98rem;
    color: var(--sz-st-label, #bde0bd);
}

.sz-admin-config__subhead .sz-hint {
    margin: 0 0 0.4rem;
}

.sz-admin-config__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem 1rem;
    align-items: center;
    padding: 0.65rem 0.6rem;
    border-bottom: 1px solid rgba(130, 200, 150, 0.12);
}

/* Zebra-Streifen für leichteres zeilenweises Lesen */
.sz-admin-config__row:nth-child(even) {
    background: rgba(130, 200, 150, 0.05);
    border-radius: 6px;
}

html[data-theme="light"] .sz-admin-config__row:nth-child(even) {
    background: rgba(0, 60, 10, 0.03);
}

.sz-admin-config__row:last-child {
    border-bottom: none;
}

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

.sz-admin-config__row-main {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    min-width: 0;
}

.sz-admin-config__label {
    font-weight: 600;
    font-size: 0.95rem;
}

.sz-admin-config__row-value {
    justify-self: end;
    text-align: right;
    max-width: min(26rem, 60vw);
    overflow-wrap: anywhere;
}

.sz-admin-config__value-text {
    font-size: 0.92rem;
}

.sz-admin-config__row-help {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    opacity: 0.9;
}

.sz-admin-config__chip {
    display: inline-block;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(130, 200, 150, 0.3);
    background: rgba(130, 200, 150, 0.1);
}

.sz-admin-config__chip--on {
    border-color: rgba(130, 220, 150, 0.55);
    background: rgba(60, 160, 90, 0.22);
    color: #bdf0c8;
}

.sz-admin-config__chip--off {
    opacity: 0.7;
}

.sz-admin-config__chip--secret {
    border-color: rgba(241, 116, 50, 0.4);
    background: rgba(241, 116, 50, 0.1);
}

html[data-theme="light"] .sz-admin-config__chip--on {
    color: #0a4d1e;
    background: rgba(60, 160, 90, 0.16);
}

@media (max-width: 600px) {
    .sz-admin-config__row {
        grid-template-columns: 1fr;
    }

    .sz-admin-config__row-value {
        justify-self: start;
        text-align: left;
        max-width: 100%;
    }
}

/* —— Team crest frame (Prototype: Rahmen + neues Markenzeichen) —— */

.sz-crest {
    --sz-crest-size: 5.5rem;
    --sz-crest-radius: 12px;
    --sz-crest-mark-opacity: 0.52;
    --sz-crest-glass-strength: 1.22;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 0;
}

.sz-crest--xs {
    --sz-crest-size: 1.375rem;
    --sz-crest-radius: 5px;
    --sz-crest-mark-opacity: 0.44;
}

.sz-crest--bracket {
    --sz-crest-slot: 1.15rem;
    --sz-crest-size: 1.75rem;
    --sz-crest-radius: 5px;
    --sz-crest-mark-opacity: 0.42;
    --sz-crest-glass-strength: 1.02;
}

.sz-crest--table {
    --sz-crest-slot: 1.25rem;
    --sz-crest-size: 1.5rem;
    --sz-crest-radius: 5px;
    --sz-crest-mark-opacity: 0.42;
    --sz-crest-glass-strength: 1.02;
}

.sz-crest--sm {
    --sz-crest-size: 1.75rem;
    --sz-crest-radius: 7px;
    --sz-crest-mark-opacity: 0.46;
}

.sz-crest--home {
    --sz-crest-size: 5rem;
    --sz-crest-radius: 11px;
}

.sz-crest--compact {
    --sz-crest-size: 8rem;
    --sz-crest-radius: 13px;
}

.sz-crest--standard {
    --sz-crest-size: 8.3125rem;
    --sz-crest-radius: 14px;
}

.sz-crest--detail {
    --sz-crest-size: 6rem;
    --sz-crest-radius: 14px;
}

.sz-crest__frame {
    position: relative;
    display: block;
    width: var(--sz-crest-size);
    height: var(--sz-crest-size);
    border-radius: var(--sz-crest-radius);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(130, 200, 150, 0.38);
    background: rgba(0, 36, 14, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -2px 5px rgba(0, 0, 0, 0.38),
        0 2px 6px rgba(0, 0, 0, 0.28),
        0 5px 16px rgba(0, 0, 0, 0.32);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

/* Glas-Rand / Tiefe (Legacy-PNG-Optik) */
.sz-crest__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.36),
        inset 0 0 0 2px rgba(0, 0, 0, 0.44),
        inset 0 4px 7px rgba(255, 255, 255, 0.44),
        inset 0 -5px 12px rgba(0, 0, 0, 0.58);
}

html[data-theme="light"] .sz-crest__frame::before {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.85),
        inset 0 0 0 2px rgba(0, 40, 10, 0.14),
        inset 0 2px 4px rgba(255, 255, 255, 0.95),
        inset 0 -3px 7px rgba(0, 40, 10, 0.12);
}

html[data-theme="light"] .sz-crest__frame {
    border-color: rgba(0, 60, 10, 0.16);
    background: linear-gradient(145deg, #fff 0%, #eef5ee 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 3px 12px rgba(0, 50, 20, 0.12);
}

.sz-crest__img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(1.07) contrast(1.14) saturate(1.24);
}

/* Flaggen: einheitliches 3:2 (Mehrheit der Quellen), Cover + leichter Zoom im Crest-Frame */
.sz-crest--flag {
    --sz-crest-flag-ratio: 3 / 2;
    --sz-crest-flag-zoom: 1.06;
}

.sz-crest--flag .sz-crest__frame {
    width: var(--sz-crest-size);
    height: auto;
    aspect-ratio: var(--sz-crest-flag-ratio);
    max-width: var(--sz-crest-size);
}

.sz-crest--flag .sz-crest__img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transform: scale(var(--sz-crest-flag-zoom));
    transform-origin: center center;
}

.sz-crest--flag.sz-crest--fixed-slot .sz-crest__frame {
    width: 100%;
    max-width: 100%;
}

/* Vereinswappen (Liga): natürliches PNG-Seitenverhältnis + Premium-Rasen-Hintergrund */
.sz-crest--club {
    --sz-crest-pitch-spot: rgba(88, 210, 108, 0.32);
    --sz-crest-pitch-warm: rgba(241, 116, 50, 0.14);
    --sz-crest-pitch-stripe-a: #0a6e2c;
    --sz-crest-pitch-stripe-b: #054818;
    --sz-crest-pitch-deep: #021608;
    --sz-crest-pitch-stripe-angle: 135deg;
    --sz-crest-pitch-stripe-size: 22px;
}

.sz-crest--club .sz-crest__frame {
    width: auto;
    height: auto;
    max-width: var(--sz-crest-size);
    max-height: var(--sz-crest-size);
    border-color: rgba(110, 215, 138, 0.45);
    background:
        radial-gradient(ellipse 88% 62% at 50% 6%, var(--sz-crest-pitch-spot) 0%, transparent 56%),
        radial-gradient(ellipse 75% 45% at 50% 108%, var(--sz-crest-pitch-warm) 0%, transparent 58%);
    background-repeat: no-repeat, no-repeat;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -14px 28px rgba(0, 0, 0, 0.38),
        inset 0 0 32px rgba(0, 0, 0, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 8px 24px rgba(0, 18, 6, 0.48),
        0 0 0 1px rgba(241, 116, 50, 0.1);
}

/* Rasenstreifen (eigene Ebene → Zoom ohne Naht) */
.sz-crest--club .sz-crest__pitch {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform;
    background:
        repeating-linear-gradient(
            var(--sz-crest-pitch-stripe-angle),
            var(--sz-crest-pitch-stripe-a) 0,
            var(--sz-crest-pitch-stripe-a) var(--sz-crest-pitch-stripe-size),
            var(--sz-crest-pitch-stripe-b) var(--sz-crest-pitch-stripe-size),
            var(--sz-crest-pitch-stripe-b) calc(var(--sz-crest-pitch-stripe-size) * 2)
        ),
        linear-gradient(
            168deg,
            #128038 0%,
            var(--sz-crest-pitch-stripe-a) 36%,
            var(--sz-crest-pitch-stripe-b) 68%,
            var(--sz-crest-pitch-deep) 100%
        );
    background-repeat: repeat, no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
    .sz-crest--club .sz-crest__pitch {
        animation: sz-crest-pitch-zoom 5.5s ease-in-out infinite;
    }
}

@keyframes sz-crest-pitch-zoom {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Mittelkreis + leichte Seitenlinie (unter dem Wappen) */
.sz-crest--club .sz-crest__frame::after {
    content: "";
    position: absolute;
    inset: 5%;
    z-index: 0;
    border-radius: calc(var(--sz-crest-radius) - 2px);
    pointer-events: none;
    opacity: 0.7;
    background:
        radial-gradient(
            circle at 50% 54%,
            transparent 38%,
            rgba(255, 255, 255, 0.09) 38.6%,
            rgba(255, 255, 255, 0.14) 39.4%,
            transparent 40.2%
        ),
        radial-gradient(
            circle at 50% 54%,
            transparent 52%,
            rgba(255, 255, 255, 0.05) 53%,
            transparent 54%
        );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.07),
        inset 0 0 18px rgba(0, 0, 0, 0.12);
}

.sz-crest--club .sz-crest__img {
    width: auto;
    height: auto;
    max-width: var(--sz-crest-size);
    max-height: var(--sz-crest-size);
    object-fit: contain;
    position: relative;
    z-index: 1;
}

html[data-theme="light"] .sz-crest--club {
    --sz-crest-pitch-spot: rgba(255, 255, 255, 0.55);
    --sz-crest-pitch-warm: rgba(241, 116, 50, 0.1);
    --sz-crest-pitch-stripe-a: #c8ebd0;
    --sz-crest-pitch-stripe-b: #b0dfc0;
    --sz-crest-pitch-deep: #8ecf9e;
}

html[data-theme="light"] .sz-crest--club .sz-crest__frame {
    border-color: rgba(0, 90, 24, 0.22);
    background:
        radial-gradient(ellipse 88% 62% at 50% 6%, var(--sz-crest-pitch-spot) 0%, transparent 56%),
        radial-gradient(ellipse 75% 45% at 50% 108%, var(--sz-crest-pitch-warm) 0%, transparent 58%);
    background-repeat: no-repeat, no-repeat;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.98),
        inset 0 -8px 16px rgba(0, 50, 16, 0.08),
        0 3px 14px rgba(0, 50, 20, 0.14),
        0 0 0 1px rgba(241, 116, 50, 0.08);
}

html[data-theme="light"] .sz-crest--club .sz-crest__pitch {
    background:
        repeating-linear-gradient(
            var(--sz-crest-pitch-stripe-angle),
            var(--sz-crest-pitch-stripe-a) 0,
            var(--sz-crest-pitch-stripe-a) var(--sz-crest-pitch-stripe-size),
            var(--sz-crest-pitch-stripe-b) var(--sz-crest-pitch-stripe-size),
            var(--sz-crest-pitch-stripe-b) calc(var(--sz-crest-pitch-stripe-size) * 2)
        ),
        linear-gradient(168deg, #dff5e4 0%, var(--sz-crest-pitch-stripe-a) 40%, var(--sz-crest-pitch-deep) 100%);
    background-repeat: repeat, no-repeat;
}

html[data-theme="light"] .sz-crest--club .sz-crest__frame::after {
    opacity: 0.55;
    background:
        radial-gradient(
            circle at 50% 54%,
            transparent 38%,
            rgba(255, 255, 255, 0.65) 38.6%,
            rgba(0, 80, 20, 0.08) 39.4%,
            transparent 40.2%
        ),
        radial-gradient(
            circle at 50% 54%,
            transparent 52%,
            rgba(0, 60, 16, 0.06) 53%,
            transparent 54%
        );
}

.sz-crest--club.sz-crest--fixed-slot .sz-crest__frame {
    max-width: 100%;
    max-height: 100%;
}

/* Glas-Overlay: helle obere Hälfte, dunkle untere Hälfte, gewölbte Trennlinie */
.sz-crest__glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    opacity: var(--sz-crest-glass-strength);
    background:
        radial-gradient(
            ellipse 118% 54% at 50% -6%,
            rgba(255, 255, 255, 0.84) 0%,
            rgba(255, 255, 255, 0.4) 42%,
            transparent 62%
        ),
        radial-gradient(
            ellipse 125% 42% at 50% 108%,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.3) 48%,
            transparent 72%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.62) 0%,
            rgba(255, 255, 255, 0.28) 43%,
            rgba(255, 255, 255, 0.08) 49%,
            rgba(0, 0, 0, 0.18) 51%,
            rgba(0, 0, 0, 0.42) 100%
        );
    mix-blend-mode: soft-light;
}

.sz-crest__glass::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse 95% 24% at 50% 46%,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.24) 42%,
        transparent 68%
    );
    mix-blend-mode: screen;
    opacity: 1;
}

html[data-theme="light"] .sz-crest__glass {
    mix-blend-mode: overlay;
    background:
        radial-gradient(
            ellipse 118% 54% at 50% -6%,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.46) 42%,
            transparent 62%
        ),
        radial-gradient(
            ellipse 125% 42% at 50% 108%,
            rgba(0, 30, 10, 0.42) 0%,
            rgba(0, 30, 10, 0.16) 48%,
            transparent 72%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.78) 0%,
            rgba(255, 255, 255, 0.36) 43%,
            rgba(255, 255, 255, 0.1) 49%,
            rgba(0, 40, 10, 0.1) 51%,
            rgba(0, 40, 10, 0.26) 100%
        );
}

html[data-theme="light"] .sz-crest__glass::after {
    mix-blend-mode: soft-light;
    opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .sz-crest__sheen {
        animation: sz-crest-glass-shimmer 5.5s ease-in-out infinite;
    }
}

@keyframes sz-crest-glass-shimmer {
    0%,
    100% {
        opacity: 1;
        transform: translateX(0);
    }

    50% {
        opacity: 0.82;
        transform: translateX(2%);
    }
}

.sz-crest__mark {
    position: absolute;
    right: 3%;
    bottom: 4%;
    width: 36%;
    height: 36%;
    min-width: 12px;
    min-height: 12px;
    opacity: var(--sz-crest-mark-opacity);
    background: url("/assets/images/logos/szoccer-logo_01_trans.png") center / contain no-repeat;
    filter:
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.72))
        drop-shadow(0 1px 4px rgba(0, 0, 0, 0.62))
        brightness(1.14)
        contrast(1.06);
    pointer-events: none;
    z-index: 5;
}

html[data-theme="light"] .sz-crest__mark {
    opacity: max(var(--sz-crest-mark-opacity), 0.58);
    filter:
        drop-shadow(0 0 2px rgba(255, 255, 255, 0.95))
        drop-shadow(0 1px 3px rgba(0, 40, 10, 0.42))
        brightness(1.08)
        contrast(1.05);
}

.sz-crest__sheen {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            128deg,
            rgba(255, 255, 255, 0.62) 0%,
            rgba(255, 255, 255, 0.26) 20%,
            rgba(255, 255, 255, 0.08) 38%,
            transparent 52%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.34) 0%,
            transparent 38%
        );
    mix-blend-mode: soft-light;
    pointer-events: none;
}

html[data-theme="light"] .sz-crest__sheen {
    mix-blend-mode: overlay;
    background:
        linear-gradient(
            128deg,
            rgba(255, 255, 255, 0.92) 0%,
            rgba(255, 255, 255, 0.38) 22%,
            rgba(255, 255, 255, 0.1) 40%,
            transparent 56%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.55) 0%,
            transparent 42%
        );
}

a:hover .sz-crest__frame,
a:focus-visible .sz-crest__frame,
.sz-compact-match__club-link:hover .sz-crest__frame,
.sz-compact-match__club-link:focus-visible .sz-crest__frame {
    border-color: rgba(241, 116, 50, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 2px rgba(241, 116, 50, 0.28),
        0 6px 18px rgba(0, 0, 0, 0.34);
}

a:hover .sz-crest--club .sz-crest__frame,
a:focus-visible .sz-crest--club .sz-crest__frame,
.sz-compact-match__club-link:hover .sz-crest--club .sz-crest__frame,
.sz-compact-match__club-link:focus-visible .sz-crest--club .sz-crest__frame {
    border-color: rgba(255, 160, 90, 0.75);
    --sz-crest-pitch-spot: rgba(120, 230, 140, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 0 28px rgba(241, 116, 50, 0.12),
        0 0 0 2px rgba(241, 116, 50, 0.35),
        0 0 22px rgba(241, 116, 50, 0.22),
        0 10px 28px rgba(0, 0, 0, 0.38);
}

html[data-theme="light"] a:hover .sz-crest__frame,
html[data-theme="light"] a:focus-visible .sz-crest__frame,
html[data-theme="light"] .sz-compact-match__club-link:hover .sz-crest__frame,
html[data-theme="light"] .sz-compact-match__club-link:focus-visible .sz-crest__frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 2px rgba(241, 116, 50, 0.22),
        0 4px 14px rgba(0, 50, 20, 0.14);
}

html[data-theme="light"] a:hover .sz-crest--club .sz-crest__frame,
html[data-theme="light"] a:focus-visible .sz-crest--club .sz-crest__frame,
html[data-theme="light"] .sz-compact-match__club-link:hover .sz-crest--club .sz-crest__frame,
html[data-theme="light"] .sz-compact-match__club-link:focus-visible .sz-crest--club .sz-crest__frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 0 20px rgba(241, 116, 50, 0.1),
        0 0 0 2px rgba(241, 116, 50, 0.28),
        0 0 16px rgba(241, 116, 50, 0.15),
        0 4px 16px rgba(0, 50, 20, 0.16);
}

/* Legacy-Klassen: Frame statt nacktem img */
.sz-compact-match__crest.sz-crest,
.sz-team__crest.sz-crest,
.sz-home-match__crest.sz-crest,
.sz-match-detail-club__crest.sz-crest,
.sz-team-matches-hero__crest.sz-crest {
    width: auto;
    max-width: none;
    max-height: none;
    height: auto;
    object-fit: unset;
    filter: none;
    margin: 0;
}

/* Feste Layout-Box: Crest visuell größer, Container bleibt gleich */
.sz-crest--fixed-slot {
    flex-shrink: 0;
    width: var(--sz-crest-slot);
    height: var(--sz-crest-slot);
    min-width: var(--sz-crest-slot);
    min-height: var(--sz-crest-slot);
    display: grid;
    place-items: center;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.sz-crest--fixed-slot .sz-crest__frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.28);
}

html[data-theme="light"] .sz-crest--fixed-slot .sz-crest__frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 6px rgba(0, 50, 20, 0.1);
}

.page-team-matches .sz-compact-match__crest.sz-crest .sz-crest__frame {
    border-radius: var(--sz-crest-radius);
}

.page-team-matches .sz-compact-match__club-link:focus-visible .sz-crest__frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 2px rgba(56, 189, 248, 0.55);
}

.page-team-matches .sz-compact-match__club--focus .sz-crest__frame {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 2px var(--sz-orange, #e85d04);
}

html.sz-native-shell .page-tippspiel .sz-compact-match__crest.sz-crest {
    --sz-crest-size: 5rem;
}

/* Native App: Standard-Ansicht – keine Desktop-Wappen (8.3rem), Tipp-Zone bleibt sichtbar */
html.sz-native-shell .page-tippspiel .sz-matches--standard .sz-team__crest.sz-crest {
    --sz-crest-size: min(4.75rem, 22vw);
    max-width: min(4.75rem, 22vw) !important;
}

@media (max-width: 520px) {
    .sz-crest--compact {
        --sz-crest-size: 6rem;
    }

    html.sz-native-shell .page-tippspiel .sz-compact-match__crest.sz-crest {
        --sz-crest-size: 4.5rem;
    }

    html.sz-native-shell .page-tippspiel .sz-matches--standard .sz-team__crest.sz-crest {
        --sz-crest-size: min(4.25rem, 20vw);
        max-width: min(4.25rem, 20vw) !important;
    }

    .page-tippspiel .sz-matches--standard .sz-team__crest.sz-crest {
        --sz-crest-size: min(4.5rem, 22vw);
        max-width: min(4.5rem, 22vw) !important;
    }
}

/* —— Kontext-Switcher (Gruppen / Rivalen in Hero-Karte) —— */
.sz-ctx-switcher {
    margin-top: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: var(--sz-radius, 12px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    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-ctx-switcher {
    background: linear-gradient(145deg, rgba(0, 60, 10, 0.04), rgba(255, 255, 255, 0.9));
    border-color: rgba(0, 60, 10, 0.1);
}

.sz-ctx-switcher__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.sz-ctx-switcher__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sz-small, #888);
}

.sz-ctx-switcher__setup {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sz-orange, #e85d04);
    text-decoration: none;
}

.sz-ctx-switcher__track {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 0.55rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

.sz-ctx-switcher__pill {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 4.25rem;
    max-width: 5.5rem;
    padding: 0.35rem 0.4rem 0.3rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

html[data-theme="light"] .sz-ctx-switcher__pill {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 60, 10, 0.1);
}

.sz-ctx-switcher__pill:hover {
    border-color: rgba(232, 93, 4, 0.45);
    transform: translateY(-1px);
}

.sz-ctx-switcher__pill.is-active {
    border-color: var(--sz-orange, #e85d04);
    box-shadow: 0 0 0 1px rgba(232, 93, 4, 0.35), 0 4px 14px rgba(232, 93, 4, 0.15);
}

.sz-ctx-switcher__pill.is-pending {
    opacity: 0.72;
}

.sz-ctx-switcher__pill--rivals {
    border-color: rgba(241, 116, 50, 0.42);
    background: rgba(241, 116, 50, 0.08);
}

html[data-theme="dark"] .sz-ctx-switcher__pill--rivals {
    border-color: rgba(241, 116, 50, 0.5);
    background: rgba(241, 116, 50, 0.12);
}

.sz-ctx-switcher__pill--season {
    border-color: rgba(46, 125, 50, 0.45);
    background: rgba(46, 125, 50, 0.06);
}

html[data-theme="dark"] .sz-ctx-switcher__pill--season {
    border-color: rgba(178, 223, 219, 0.35);
    background: rgba(178, 223, 219, 0.08);
}

.sz-ctx-switcher__pill-name {
    display: block;
    width: 100%;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sz-ctx-switcher__pill-badge {
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--sz-orange, #e85d04);
}

.sz-ctx-switcher__search-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--sz-small, #888);
}

.sz-ctx-switcher__search-wrap {
    position: relative;
}

.sz-ctx-switcher__search-icon {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.55;
    pointer-events: none;
}

.sz-ctx-switcher__input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.65rem 0.5rem 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.18);
    color: inherit;
    font-size: 0.88rem;
}

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

.sz-ctx-switcher__input:focus {
    outline: none;
    border-color: var(--sz-orange, #e85d04);
    box-shadow: 0 0 0 2px rgba(232, 93, 4, 0.2);
}

.sz-ctx-switcher__results {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--sz-panel, #0f1a12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    max-height: min(16rem, 50vh);
    overflow-y: auto;
}

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

.sz-ctx-switcher__result {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 0.88rem;
}

.sz-ctx-switcher__result:hover,
.sz-ctx-switcher__result.is-active {
    background: rgba(232, 93, 4, 0.12);
}

.sz-ctx-switcher__result--status {
    justify-content: center;
    color: var(--sz-small, #888);
    font-weight: 500;
    font-size: 0.82rem;
    pointer-events: none;
}

.sz-ctx-switcher__result-av {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sz-ctx-switcher__result-av--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 4, 0.2);
    color: var(--sz-orange, #e85d04);
    font-weight: 700;
    font-size: 0.85rem;
}

.sz-ctx-switcher__result-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sz-hero--tg-ranking .sz-ctx-switcher {
    margin-top: 0.65rem;
}

.sz-ctx-switcher--compact {
    margin-top: 0.55rem;
    padding: 0.5rem 0.6rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__head {
    margin-bottom: 0.35rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__title {
    font-size: 0.65rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__track {
    gap: 0.35rem;
    padding-bottom: 0.2rem;
    margin-bottom: 0.35rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__pill {
    min-width: 3.5rem;
    max-width: 4.75rem;
    padding: 0.25rem 0.3rem 0.2rem;
    border-radius: 0.5rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__pill-name {
    font-size: 0.52rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__pill-badge {
    font-size: 0.45rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__search-label {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__input {
    padding: 0.38rem 0.55rem 0.38rem 1.85rem;
    font-size: 0.8rem;
}

.sz-ctx-switcher--compact .sz-ctx-switcher__search-icon svg {
    width: 15px;
    height: 15px;
}

.page-tipper-profile .sz-tipper-hero .sz-ctx-switcher {
    position: relative;
    z-index: 2;
    margin-top: 1rem;
    overflow: visible;
}

.page-tipper-profile .sz-tipper-hero .sz-ctx-switcher__search-wrap {
    overflow: visible;
}

/* ── Startseite: Shoutbox ─────────────────────────────────────────────── */

.page-home .sz-home-shoutbox {
    position: relative;
    width: 100%;
    margin: 0.85rem 0 0.65rem;
    padding: 0.85rem 0.9rem 0.75rem;
    border-radius: 16px;
    border: 1px solid rgba(241, 116, 50, 0.38);
    background: linear-gradient(
        145deg,
        rgba(255, 252, 247, 0.96) 0%,
        rgba(255, 241, 228, 0.88) 42%,
        rgba(232, 248, 237, 0.82) 100%
    );
    box-shadow:
        0 10px 28px rgba(15, 60, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    overflow: hidden;
}

html[data-theme="dark"] .page-home .sz-home-shoutbox {
    border-color: rgba(241, 116, 50, 0.45);
    background: linear-gradient(
        145deg,
        rgba(18, 28, 22, 0.95) 0%,
        rgba(36, 22, 10, 0.92) 45%,
        rgba(8, 42, 24, 0.9) 100%
    );
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-home .sz-home-shoutbox__details {
    position: relative;
    z-index: 1;
}

.page-home .sz-home-shoutbox__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    cursor: pointer;
    list-style: none;
    padding: 0.1rem 0.05rem 0.15rem;
    min-height: 2.35rem;
}

.page-home .sz-home-shoutbox__summary::-webkit-details-marker {
    display: none;
}

.page-home .sz-home-shoutbox__summary-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem 0.65rem;
    min-width: 0;
    flex: 0 1 auto;
}

.page-home .sz-home-shoutbox__peek {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.72rem;
    line-height: 1.25;
    color: var(--sz-muted);
}

.page-home .sz-home-shoutbox__peek-line {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}

.page-home .sz-home-shoutbox__peek-reactions {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    flex: 0 0 auto;
}

.page-home .sz-home-shoutbox__peek-reaction {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    font-size: 0.68rem;
    line-height: 1;
}

.page-home .sz-home-shoutbox__peek-reaction-emoji {
    font-size: 0.78rem;
}

.page-home .sz-home-shoutbox__peek-reaction-count {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--sz-muted);
}

.page-home .sz-home-shoutbox__peek-author {
    font-weight: 700;
    color: var(--sz-green-mid);
}

.page-home .sz-home-shoutbox__peek-sep {
    opacity: 0.65;
}

.page-home .sz-home-shoutbox__details[open] .sz-home-shoutbox__peek {
    display: none;
}

.page-home .sz-home-shoutbox__details:not([open]):has(.sz-home-shoutbox__peek:not([hidden])) .sz-home-shoutbox__live {
    display: none;
}

.page-home .sz-home-shoutbox__toggle {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sz-orange);
    white-space: nowrap;
}

.page-home .sz-home-shoutbox__details[open] .sz-home-shoutbox__toggle-closed {
    display: none;
}

.page-home .sz-home-shoutbox__details:not([open]) .sz-home-shoutbox__toggle-open {
    display: none;
}

.page-home .sz-home-shoutbox__details:not([open]) .sz-home-shoutbox__panel {
    display: none;
}

.page-home .sz-home-shoutbox__head-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 12px;
    color: var(--sz-orange);
    background: linear-gradient(135deg, rgba(241, 116, 50, 0.18), rgba(0, 122, 61, 0.12));
    border: 1px solid rgba(241, 116, 50, 0.28);
}

.page-home .sz-home-shoutbox__head-text {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.page-home .sz-home-shoutbox__kicker {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sz-orange);
}

.page-home .sz-home-shoutbox__title {
    display: block;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--sz-text);
}

.page-home .sz-home-shoutbox__live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sz-green-mid);
    background: rgba(0, 122, 61, 0.1);
    border: 1px solid rgba(0, 122, 61, 0.22);
}

.page-home .sz-home-shoutbox__live-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--sz-green-mid);
    box-shadow: 0 0 0 0 rgba(0, 122, 61, 0.45);
    animation: sz-shoutbox-pulse 2s ease-out infinite;
}

@keyframes sz-shoutbox-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 122, 61, 0.45);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 122, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 122, 61, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .sz-home-shoutbox__live-dot {
        animation: none;
    }
}

.page-home .sz-home-shoutbox__panel {
    position: relative;
    z-index: 1;
    margin-top: 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(241, 116, 50, 0.22);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    overflow: visible;
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__panel {
    background: rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.1);
}

.page-home .sz-home-shoutbox__scroll-wrap {
    position: relative;
}

.page-home .sz-home-shoutbox__scroll {
    max-height: min(16.5rem, 42vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    padding: 0.55rem 0.5rem 0.45rem;
}

.page-home .sz-home-shoutbox__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.page-home .sz-home-shoutbox__empty {
    margin: 0;
    padding: 1.1rem 0.75rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--sz-muted);
}

.page-home .sz-home-shoutbox__history-top {
    margin: 0 0 0.55rem;
    padding: 0.35rem 0.5rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sz-muted);
    opacity: 0.85;
}

.page-home .sz-home-shoutbox__item--deleted {
    grid-template-columns: minmax(0, 1fr);
}

.page-home .sz-home-shoutbox__item--deleted .sz-home-shoutbox__bubble {
    border-style: dashed;
    opacity: 0.82;
    background: rgba(0, 0, 0, 0.03);
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__item--deleted .sz-home-shoutbox__bubble {
    background: rgba(255, 255, 255, 0.04);
}

.page-home .sz-home-shoutbox__body--removed {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--sz-muted);
}

.page-home .sz-home-shoutbox__delete {
    flex-shrink: 0;
    margin: 0 0 0 auto;
    padding: 0 0.25rem;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1.05rem;
    line-height: 1;
    font-weight: 600;
    color: var(--sz-muted);
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.page-home .sz-home-shoutbox__delete:hover,
.page-home .sz-home-shoutbox__delete:focus-visible {
    opacity: 1;
    color: #c0392b;
}

.page-home .sz-home-shoutbox__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.45rem 0.55rem;
    align-items: start;
}

.page-home .sz-home-shoutbox__item--own .sz-home-shoutbox__bubble {
    border-color: rgba(0, 122, 61, 0.35);
    background: linear-gradient(135deg, rgba(0, 122, 61, 0.1), rgba(255, 255, 255, 0.65));
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__item--own .sz-home-shoutbox__bubble {
    background: linear-gradient(135deg, rgba(0, 122, 61, 0.22), rgba(255, 255, 255, 0.04));
}

.page-home .sz-home-shoutbox__bubble {
    position: relative;
    min-width: 0;
    padding: 0.42rem 0.55rem 0.48rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__bubble {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.page-home .sz-home-shoutbox__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.45rem;
    margin-bottom: 0.15rem;
    width: 100%;
}

.page-home .sz-home-shoutbox__author {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--sz-green-mid);
    text-decoration: none;
}

.page-home .sz-home-shoutbox__author:hover {
    text-decoration: underline;
}

.page-home .sz-home-shoutbox__time {
    font-size: 0.68rem;
    color: var(--sz-muted);
}

.page-home .sz-home-shoutbox__body {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.4;
    word-break: break-word;
}

.page-home .sz-home-shoutbox__body a {
    color: inherit;
    text-decoration: underline;
}

.page-home .sz-home-shoutbox__body--emoji-only {
    font-size: 1.68rem;
    line-height: 1.15;
    word-break: normal;
    text-align: center;
    padding: 0.1rem 0 0.15rem;
}

.page-home .sz-home-shoutbox__reactions {
    position: relative;
    margin-top: 0.35rem;
}

.page-home .sz-home-shoutbox__reactions--picker-only {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    margin: 0;
    overflow: visible;
    pointer-events: none;
}

.page-home .sz-home-shoutbox__reactions--picker-only .sz-home-shoutbox__reaction-picker-float {
    pointer-events: auto;
}

.page-home .sz-home-shoutbox__reaction-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    padding-top: 0.3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__reaction-summary {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.page-home .sz-home-shoutbox__reaction-picker-float {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.3rem);
    z-index: 6;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.page-home .sz-home-shoutbox__reaction-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.22rem;
    padding: 0.28rem 0.34rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__reaction-picker {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(28, 28, 28, 0.98);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.page-home .sz-home-shoutbox__bubble:hover .sz-home-shoutbox__reaction-picker-float,
.page-home .sz-home-shoutbox__bubble:focus-within .sz-home-shoutbox__reaction-picker-float,
.page-home .sz-home-shoutbox__item.is-reaction-picker-open .sz-home-shoutbox__reaction-picker-float {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (hover: none) {
    .page-home .sz-home-shoutbox__bubble:hover .sz-home-shoutbox__reaction-picker-float {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(4px);
    }
}

.page-home .sz-home-shoutbox__reaction-pill,
.page-home .sz-home-shoutbox__reaction-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0.14rem 0.38rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font-family: inherit;
    font-size: 0.78rem;
    line-height: 1.2;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__reaction-pill,
html[data-theme="dark"] .page-home .sz-home-shoutbox__reaction-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.page-home .sz-home-shoutbox__reaction-pill:hover,
.page-home .sz-home-shoutbox__reaction-pill:focus-visible,
.page-home .sz-home-shoutbox__reaction-btn:hover,
.page-home .sz-home-shoutbox__reaction-btn:focus-visible {
    border-color: rgba(0, 122, 61, 0.35);
    background: rgba(0, 122, 61, 0.1);
}

.page-home .sz-home-shoutbox__reaction-pill.is-mine,
.page-home .sz-home-shoutbox__reaction-btn.is-active {
    border-color: rgba(0, 122, 61, 0.55);
    background: rgba(0, 122, 61, 0.16);
    font-weight: 700;
}

.page-home .sz-home-shoutbox__reaction-pill-emoji {
    font-size: 0.92rem;
    line-height: 1;
}

.page-home .sz-home-shoutbox__reaction-pill-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--sz-muted);
}

.page-home .sz-home-shoutbox__reaction-btn {
    min-width: 1.85rem;
    min-height: 1.85rem;
    padding: 0.1rem;
    font-size: 1rem;
}

.page-home .sz-home-shoutbox__reaction-btn:active,
.page-home .sz-home-shoutbox__reaction-pill:active {
    transform: scale(0.94);
}

.page-home .sz-home-shoutbox__jump {
    position: absolute;
    left: 50%;
    bottom: 0.45rem;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 116, 50, 0.45);
    background: rgba(255, 255, 255, 0.95);
    color: var(--sz-orange);
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__jump {
    background: rgba(24, 24, 24, 0.95);
}

.page-home .sz-home-shoutbox__composer {
    padding: 0.55rem 0.55rem 0.6rem;
    border-top: 1px solid rgba(241, 116, 50, 0.18);
    overflow: visible;
}

.page-home .sz-home-shoutbox__composer-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
    align-items: end;
}

.page-home .sz-home-shoutbox__emoji-wrap {
    position: relative;
    align-self: end;
    overflow: visible;
}

.page-home .sz-home-shoutbox__emoji-pop {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1200;
    min-width: min(18rem, calc(100vw - 1rem));
    max-width: min(26rem, calc(100vw - 1rem));
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__emoji-pop {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.page-home .sz-home-shoutbox__emoji-pop:not([hidden]) {
    visibility: visible;
}

.page-home .sz-home-shoutbox__emoji-btn {
    flex-shrink: 0;
}

.page-home .sz-home-shoutbox__input-wrap {
    position: relative;
}

.page-home .sz-home-shoutbox__input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.55rem 2.35rem 0.55rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    color: var(--sz-text);
}

html[data-theme="dark"] .page-home .sz-home-shoutbox__input {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
}

.page-home .sz-home-shoutbox__input:focus {
    outline: 2px solid rgba(0, 122, 61, 0.45);
    outline-offset: 1px;
}

.page-home .sz-home-shoutbox__counter {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--sz-muted);
    pointer-events: none;
}

.page-home .sz-home-shoutbox__counter--warn {
    color: var(--sz-orange);
}

.page-home .sz-home-shoutbox__send {
    min-height: 2.75rem;
    min-width: 5.5rem;
    border-radius: 10px;
    font-weight: 800;
}

.page-home .sz-home-shoutbox__error {
    margin: 0;
    padding: 0 0.65rem 0.55rem;
    font-size: 0.78rem;
    color: var(--sz-danger, #c0392b);
}

.sz-shoutbox-toast {
    border-left: 3px solid var(--sz-orange);
}

@media (max-width: 520px) {
    .page-home .sz-home-shoutbox__details[open] .sz-home-shoutbox__summary {
        align-items: flex-start;
    }

    .page-home .sz-home-shoutbox__details[open] .sz-home-shoutbox__summary-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-home .sz-home-shoutbox__details:not([open]):has(.sz-home-shoutbox__peek:not([hidden])) .sz-home-shoutbox__kicker,
    .page-home .sz-home-shoutbox__details:not([open]):has(.sz-home-shoutbox__peek:not([hidden])) .sz-home-shoutbox__title {
        display: none;
    }

    .page-home .sz-home-shoutbox__composer-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .page-home .sz-home-shoutbox__send {
        grid-column: 1 / -1;
        width: 100%;
    }
}

html.sz-native-shell .page-home .sz-home-shoutbox__details:not([open]):has(.sz-home-shoutbox__peek:not([hidden])) .sz-home-shoutbox__title {
    display: none;
}

/* Dropdown über nachfolgende Karten (Stats, Reveal-Animation erzeugt eigenen Stacking-Kontext) */
.sz-tipper-hero.sz-ctx-switcher-hero-open,
.sz-hero.sz-ctx-switcher-hero-open {
    position: relative;
    z-index: 50;
}

.sz-ctx-switcher.is-open .sz-ctx-switcher__results {
    z-index: 60;
}
