.tippspiel {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.tippspiel-filter {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tippspiel-filter label {
    font-weight: 600;
}

.tippspiel-table-wrap {
    width: 100%;
    overflow-x: auto;
}

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

.tippspiel-table th,
.tippspiel-table td {
    padding: .55rem .65rem;
    white-space: nowrap;
    vertical-align: middle;
}

.tippspiel-table th {
    font-weight: 700;
    border-bottom: 2px solid currentColor;
}

.tippspiel-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.tippspiel-table tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, .04);
}

.tippspiel-num {
    text-align: right;
}

.tippspiel-player {
    display: flex;
    align-items: center;
    gap: .4rem;
    min-width: 160px;
}

.tippspiel-logo,
.tippspiel-avatar {
    display: inline-block;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain;
    flex: 0 0 22px;
}


.tippspiel-avatar {
    border-radius: 5%;
    object-fit: cover;
}


.tippspiel-player img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
}

.tippspiel-points {
    font-weight: 700;
}

@media (max-width: 640px) {
    .tippspiel {
        padding: 1rem .5rem;
    }

    .tippspiel-table th,
    .tippspiel-table td {
        padding: .45rem .45rem;
        font-size: .9rem;
    }

    .tippspiel-player {
        min-width: 130px;
    }
}

.tippspiel-profile {
    max-width: 900px;
    margin: 0 auto;
}

.tippspiel-profile-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tippspiel-profile-avatar img,
.tippspiel-profile-placeholder {
    width: 160px;
    height: 160px;
    border-radius: 10%;
    object-fit: cover;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.tippspiel-profile-info h2 {
    margin-top: 0;
    margin-bottom: .25rem;
}

.tippspiel-profile-meta {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.tippspiel-profile-list {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: .75rem 1.5rem;
    margin: 0;
}

.tippspiel-profile-list dt {
    font-weight: 700;
}

.tippspiel-profile-list dd {
    margin: 0;
}

@media (max-width: 700px) {
    .tippspiel-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tippspiel-profile-list {
        grid-template-columns: 1fr;
    }
}

/* Tippspiel UI Basis 2026 */
:root {
    --tippspiel-blue: #244a9b;
    --tippspiel-blue-dark: #1c3d80;
    --tippspiel-text: #1f2937;
    --tippspiel-heading: #1f355e;
    --tippspiel-border: #d7dee8;
    --tippspiel-soft: #f5f7fb;
    --tippspiel-card-shadow: 0 8px 24px rgba(0, 0, 0, .10);
}

.tippspiel {
    color: var(--tippspiel-text);
}

.tippspiel h1,
.tippspiel h2,
.tippspiel h3 {
    color: var(--tippspiel-heading);
    font-weight: 700;
}

.tippspiel h1 {
    margin: 0 0 1.25rem 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.tippspiel .lead {
    max-width: 760px;
    margin-bottom: 1.5rem;
    color: #526174;
    font-size: 1.08rem;
}

.tippspiel-card,
.tippspiel-profile-card,
.tippspiel-register form {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--tippspiel-card-shadow);
    padding: 24px;
    box-sizing: border-box;
}

.tippspiel-register {
    max-width: 640px;
}

.tippspiel-register form,
.tippspiel-profile-card {
    display: block;
}

.tippspiel .mb-3,
.tippspiel .form-group {
    margin-bottom: 1rem;
}

.tippspiel .form-label,
.tippspiel label {
    display: block;
    margin-bottom: .35rem;
    color: var(--tippspiel-text);
    font-weight: 600;
}

.tippspiel .form-control,
.tippspiel .form-select,
.tippspiel input[type="text"],
.tippspiel input[type="email"],
.tippspiel input[type="password"],
.tippspiel input[type="file"],
.tippspiel select,
.tippspiel textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: .55rem .75rem;
    border: 1px solid var(--tippspiel-border);
    border-radius: 8px;
    background-color: #fff;
    color: #111827;
    font-size: 1rem;
    box-sizing: border-box;
}

.tippspiel .form-control:focus,
.tippspiel .form-select:focus,
.tippspiel input:focus,
.tippspiel select:focus,
.tippspiel textarea:focus {
    border-color: var(--tippspiel-blue);
    outline: 0;
    box-shadow: 0 0 0 .18rem rgba(36, 74, 155, .16);
}

.tippspiel .form-text {
    margin-top: .35rem;
    color: #64748b;
    font-size: .92rem;
}

.tippspiel .btn,
.tippspiel button[type="submit"],
.tippspiel input[type="submit"] {
    border-radius: 8px;
    padding: .7rem 1rem;
    font-weight: 700;
}

.tippspiel .btn-primary,
.tippspiel button[type="submit"],
.tippspiel input[type="submit"] {
    border: 0;
    background: var(--tippspiel-blue);
    color: #fff;
}

.tippspiel .btn-primary:hover,
.tippspiel button[type="submit"]:hover,
.tippspiel input[type="submit"]:hover {
    background: var(--tippspiel-blue-dark);
    color: #fff;
}

/* Joomla-Login-Modul auf Tippspiel-/Nicepage-Seiten */
.u-block .mod-login,
.tippspiel-login .mod-login,
.tippspiel .mod-login {
    max-width: 360px;
    margin: 30px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--tippspiel-card-shadow);
    box-sizing: border-box;
}

.u-block .u-block-header,
.tippspiel-login-title {
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
    color: var(--tippspiel-heading);
}

.u-block .mod-login .input-group,
.tippspiel .mod-login .input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 14px;
}

.u-block .mod-login input.form-control,
.tippspiel .mod-login input.form-control {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--tippspiel-border) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
}

.u-block .mod-login .input-group-text,
.tippspiel .mod-login .input-group-text {
    display: none !important;
}

.u-block .mod-login .input-password-toggle,
.tippspiel .mod-login .input-password-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin-left: 6px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: #eef3f8 !important;
    color: var(--tippspiel-heading) !important;
    border: 1px solid var(--tippspiel-border) !important;
}

.u-block .mod-login__remember,
.tippspiel .mod-login__remember {
    margin: 4px 0 16px 0 !important;
}

.u-block .mod-login .form-check,
.tippspiel .mod-login .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.u-block .mod-login .form-check-input,
.tippspiel .mod-login .form-check-input {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
}

.u-block .mod-login .form-check-label,
.tippspiel .mod-login .form-check-label {
    font-size: 16px;
    color: var(--tippspiel-text);
}

.u-block .mod-login .plg_system_webauthn_login_button,
.tippspiel .mod-login .plg_system_webauthn_login_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    margin: 8px 0 12px 0 !important;
    padding: 0 14px !important;
    background: var(--tippspiel-soft) !important;
    color: var(--tippspiel-heading) !important;
    border: 1px solid var(--tippspiel-border) !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
    box-shadow: none !important;
}

.u-block .mod-login .plg_system_webauthn_login_button svg,
.tippspiel .mod-login .plg_system_webauthn_login_button svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    fill: currentColor !important;
}

.u-block .mod-login button[type="submit"],
.tippspiel .mod-login button[type="submit"] {
    width: 100% !important;
    height: 46px !important;
    margin-top: 8px !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--tippspiel-blue) !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.u-block .mod-login button[type="submit"]:hover,
.tippspiel .mod-login button[type="submit"]:hover {
    background: var(--tippspiel-blue-dark) !important;
}

.u-block .mod-login__options,
.tippspiel .mod-login__options {
    margin: 22px 0 0 0 !important;
    padding: 18px 0 0 0 !important;
    border-top: 1px solid #e5e7eb !important;
    list-style: none !important;
}

.u-block .mod-login__options li,
.tippspiel .mod-login__options li {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.u-block .mod-login__options a,
.tippspiel .mod-login__options a {
    color: var(--tippspiel-blue) !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.u-block .mod-login__options a:hover,
.tippspiel .mod-login__options a:hover {
    text-decoration: underline !important;
}

.u-block .mod-login__options li:last-child a,
.tippspiel .mod-login__options li:last-child a {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 14px;
    background: #2f9e44;
    color: #fff !important;
    border-radius: 7px;
    font-weight: 700;
}

.u-block .mod-login__options li:last-child a:hover,
.tippspiel .mod-login__options li:last-child a:hover {
    background: #237a35;
    text-decoration: none !important;
}

@media (max-width: 640px) {

    .tippspiel-card,
    .tippspiel-profile-card,
    .tippspiel-register form,
    .u-block .mod-login,
    .tippspiel .mod-login {
        padding: 18px;
        border-radius: 12px;
    }
}

/* Bonustipps: einzelne Bonusfragen als klare Gruppen darstellen */
.tippspiel-bonus form:not(.tippspiel-filter) {
    margin-top: 1.25rem;
}

.tippspiel-bonus-card {
    position: relative;
    margin: 0 0 1.75rem 0;
    padding: 1.35rem 1.5rem 1.45rem;
    background: #ffffff;
    border: 1px solid var(--tippspiel-border, #d6dce5);
    border-left: 6px solid var(--tippspiel-blue, #244a9b);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.tippspiel-bonus-card+.tippspiel-bonus-card {
    margin-top: 1.5rem;
}

.tippspiel-bonus-card h3 {
    margin: 0 0 1rem 0;
    padding-bottom: .75rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--tippspiel-heading, #1f355e);
    font-size: 1.45rem;
    font-weight: 800;
}

.tippspiel-bonus-card .text-muted {
    color: #5f6b7a !important;
}

.tippspiel-bonus-points {
    margin: 1rem 0 1.15rem;
    padding: .9rem 1rem;
    background: var(--tippspiel-soft, #f5f7fb);
    border-radius: 10px;
}

.tippspiel-bonus-points strong {
    display: block;
    margin-bottom: .45rem;
    color: var(--tippspiel-heading, #1f355e);
}

.tippspiel-bonus-points ul {
    margin: 0;
    padding-left: 1.2rem;
}

.tippspiel-bonus .form-label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 700;
    color: var(--tippspiel-text, #1f2937);
}

.tippspiel-bonus .small.text-muted {
    margin-top: .45rem;
    font-size: .95rem;
}

.tippspiel-bonus>form>.btn,
.tippspiel-bonus>form>button[type="submit"] {
    margin-top: .5rem;
}

@media (max-width: 640px) {
    .tippspiel-bonus-card {
        padding: 1rem;
        border-left-width: 4px;
        border-radius: 12px;
    }

    .tippspiel-bonus-card h3 {
        font-size: 1.25rem;
    }
}

/* Spieletipps: Gruppierung nach Datum und Anstoß */
.tippspiel-tips form:not(.tippspiel-filter) {
    margin-top: 1.25rem;
}

.tippspiel-match-groups {
    display: block;
}

.tippspiel-match-date {
    margin: 2rem 0 .75rem 0;
    padding: .65rem 1rem;
    background: linear-gradient(90deg, var(--tippspiel-blue, #244a9b), var(--tippspiel-blue-dark, #1c3d80));
    color: #ffffff !important;
    border-radius: 12px;
    font-size: 1.25rem !important;
    font-weight: 800;
}

.tippspiel-match-date:first-child {
    margin-top: 0;
}

.tippspiel-kickoff-group {
    margin: 1.05rem 0 .65rem 0;
}

.tippspiel-kickoff-time {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .8rem;
    background: var(--tippspiel-soft, #f5f7fb);
    border: 1px solid var(--tippspiel-border, #d7dee8);
    border-radius: 999px;
    color: var(--tippspiel-heading, #1f355e);
    font-weight: 800;
    font-size: .98rem;
}

.tippspiel-kickoff-time::before {
    content: "⚽";
    font-size: .95rem;
}

.tippspiel-match-card {
    margin: 0 0 1rem 0;
    padding: 1rem 1.2rem;
    background: #ffffff;
    border: 1px solid var(--tippspiel-border, #d7dee8);
    border-left: 6px solid var(--tippspiel-blue, #244a9b);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
}

.tippspiel-match-card.is-locked {
    border-left-color: #94a3b8;
    background: #fbfcfe;
}

.tippspiel-match-main {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 1.2rem;
}

.tippspiel-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-width: 0;
    text-align: center;
}

.tippspiel-match-logo {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    object-fit: contain;
    flex: 0 0 54px;
}

.tippspiel-match-logo-placeholder {
    display: inline-block;
    border-radius: 10%;
    background: var(--tippspiel-soft, #f5f7fb);
    border: 1px dashed var(--tippspiel-border, #d7dee8);
}

.tippspiel-match-team-name {
    color: var(--tippspiel-heading, #1f355e);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.tippspiel-match-center {
    min-width: 178px;
    text-align: center;
}

.tippspiel-match-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}

.tippspiel .tippspiel-score-input {
    width: 58px !important;
    min-width: 58px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: .35rem .25rem !important;
    text-align: center;
    font-size: 1.2rem !important;
    font-weight: 800;
}

.tippspiel-score-separator {
    color: var(--tippspiel-heading, #1f355e);
    font-size: 1.45rem;
    font-weight: 900;
}

.tippspiel-match-result {
    margin-top: .45rem;
    color: #64748b;
    font-size: .92rem;
    font-weight: 600;
}

.tippspiel-match-location {
    margin-top: .85rem;
    padding-top: .75rem;
    border-top: 1px solid #e5e7eb;
    color: #526174;
    text-align: center;
    font-size: .95rem;
}

.tippspiel-match-location::before {
    content: "📍 ";
}

.tippspiel-empty {
    color: #526174;
    font-weight: 600;
}

@media (max-width: 760px) {
    .tippspiel-match-main {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    .tippspiel-match-center {
        order: 2;
        min-width: 0;
    }

    .tippspiel-match-team-home {
        order: 1;
    }

    .tippspiel-match-team-away {
        order: 3;
    }

    .tippspiel-match-logo {
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
        flex-basis: 46px;
    }

    .tippspiel-match-team-name {
        font-size: 1.02rem;
    }
}

@media (max-width: 520px) {
    .tippspiel-match-card {
        padding: .9rem;
        border-left-width: 4px;
    }

    .tippspiel-match-date {
        font-size: 1.12rem !important;
    }

    .tippspiel .tippspiel-score-input {
        width: 54px !important;
        min-width: 54px !important;
    }
}

/* Spieletipps: Datum kompakter und Punkteblock bei berechneten Spielen */
.tippspiel-match-date {
    display: inline-flex;
    align-items: center;
    margin-left: .75rem !important;
    padding: .35rem .85rem !important;
    border-radius: 999px !important;
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
}

.tippspiel-match-date::before {
    content: "📅";
    margin-right: .45rem;
    font-size: .95rem;
}

.tippspiel-match-card.has-points .tippspiel-match-main {
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr) 120px;
}

.tippspiel-match-points {
    align-self: stretch;
    min-width: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: .75rem .8rem;
    background: #ffffff;
    border: 1px solid var(--tippspiel-border, #d7dee8);
    border-left: 5px solid #94a3b8;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    text-align: center;
}

.tippspiel-match-points-title {
    color: var(--tippspiel-heading, #1f355e);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.1;
}

.tippspiel-match-points-value {
    margin-top: .25rem;
    color: #64748b;
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 1;
}

.tippspiel-match-points-value::after {
    content: " Pkt.";
    display: block;
    margin-top: .2rem;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

.tippspiel-match-points-tendency,
.tippspiel-match-points-draw_tendency {
    border-left-color: #198754;
}

.tippspiel-match-points-tendency .tippspiel-match-points-value,
.tippspiel-match-points-draw_tendency .tippspiel-match-points-value {
    color: #198754;
}

.tippspiel-match-points-difference {
    border-left-color: #0d6efd;
}

.tippspiel-match-points-difference .tippspiel-match-points-value {
    color: #0d6efd;
}

.tippspiel-match-points-exact {
    border-left-color: #dc3545;
}

.tippspiel-match-points-exact .tippspiel-match-points-value {
    color: #dc3545;
}

.tippspiel-match-points-none {
    border-left-color: #94a3b8;
}

.tippspiel-match-points-none .tippspiel-match-points-value {
    color: #64748b;
}

@media (max-width: 900px) {
    .tippspiel-match-card.has-points .tippspiel-match-main {
        grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
    }

    .tippspiel-match-points {
        grid-column: 1 / -1;
        min-height: 74px;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }

    .tippspiel-match-points-value {
        margin-top: 0;
        font-size: 2rem;
    }
}

@media (max-width: 520px) {
    .tippspiel-match-date {
        margin-left: .35rem !important;
        font-size: .98rem !important;
    }
}

/* Spieletipps: Spieltagssumme und öffentliche Tippübersicht */
.tippspiel-save-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.tippspiel-matchday-total {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem .85rem;
    border: 1px solid var(--tippspiel-border, #d7dee8);
    border-radius: 999px;
    background: var(--tippspiel-soft, #f5f7fb);
    color: var(--tippspiel-heading, #1f355e);
    font-weight: 700;
}

.tippspiel-matchday-total strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 .45rem;
    border-radius: 999px;
    background: var(--tippspiel-blue, #244a9b);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
}

.tippspiel-public-tips {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.tippspiel-public-tips h2 {
    margin: 0 0 .35rem 0;
    font-size: 1.45rem;
}

.tippspiel-public-tips-note {
    margin: 0 0 1rem 0;
    color: #64748b;
    font-weight: 600;
}

.tippspiel-public-match {
    margin: 0 0 1rem 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--tippspiel-border, #d7dee8);
    border-left: 5px solid var(--tippspiel-blue, #244a9b);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .055);
}

.tippspiel-public-match-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: .85rem;
    color: var(--tippspiel-heading, #1f355e);
}

.tippspiel-public-match-header strong {
    font-size: 1.05rem;
}

.tippspiel-public-match-header span {
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

.tippspiel-tip-distribution {
    display: grid;
    gap: .45rem;
    margin-bottom: .85rem;
}

.tippspiel-tip-distribution-row {
    display: grid;
    grid-template-columns: 120px minmax(80px, 1fr) 34px;
    align-items: center;
    gap: .65rem;
    font-size: .95rem;
    font-weight: 700;
}

.tippspiel-tip-distribution-row>div {
    height: .8rem;
    overflow: hidden;
    background: #eef2f7;
    border-radius: 999px;
}

.tippspiel-tip-distribution-row i {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: inherit;
}

.tippspiel-tip-distribution-home i {
    background: #22c55e;
}

.tippspiel-tip-distribution-draw i {
    background: #facc15;
}

.tippspiel-tip-distribution-away i {
    background: #ef4444;
}

.tippspiel-tip-distribution-row strong {
    color: var(--tippspiel-heading, #1f355e);
    text-align: right;
}

.tippspiel-public-tip-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .45rem .75rem;
    margin-top: .75rem;
}

.tippspiel-public-tip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .45rem .65rem;
    background: var(--tippspiel-soft, #f5f7fb);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.tippspiel-public-tip-row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.tippspiel-public-tip-row strong {
    color: var(--tippspiel-heading, #1f355e);
    white-space: nowrap;
}

.tippspiel-public-empty,
.tippspiel-public-locked {
    margin-top: .75rem;
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 640px) {
    .tippspiel-save-row {
        justify-content: stretch;
    }

    .tippspiel-save-row .btn,
    .tippspiel-matchday-total {
        width: 100%;
        justify-content: center;
    }

    .tippspiel-public-match-header {
        display: block;
    }

    .tippspiel-public-match-header span {
        display: block;
        margin-top: .25rem;
    }

    .tippspiel-tip-distribution-row {
        grid-template-columns: 98px minmax(70px, 1fr) 28px;
        gap: .45rem;
        font-size: .88rem;
    }
}

/* Kompakte Spieltags-Tipptabelle */
.tippspiel-public-tips-compact {
    margin-top: 2rem;
}

.tippspiel-public-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #9fb2c8;
    border-radius: 10px;
    background: #cfe0ec;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .08);
}

.tippspiel-public-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .92rem;
}

.tippspiel-public-table th,
.tippspiel-public-table td {
    border-right: 1px solid rgba(255, 255, 255, .65);
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    padding: .35rem .45rem;
    vertical-align: middle;
}

.tippspiel-public-table thead th {
    background: #2d8dcc;
    color: #071d36;
    text-align: center;
    font-weight: 700;
}

.tippspiel-public-player-head {
    width: 220px;
    min-width: 220px;
    text-align: left !important;
    color: #0b2442 !important;
}

.tippspiel-public-player-head>span:first-child {
    display: block;
    margin-bottom: .55rem;
    color: #0b2442;
}

.tippspiel-public-legend {
    position: relative;
    display: block;
    margin: .25rem 0;
    padding-left: 4.1rem;
    font-weight: 500;
    line-height: 1.25;
}

.tippspiel-public-legend::before {
    content: "";
    position: absolute;
    left: .1rem;
    top: .15rem;
    width: 3.35rem;
    height: .9rem;
    border-radius: 2px;
}

.tippspiel-public-legend-home::before {
    background: #38f05a;
}

.tippspiel-public-legend-draw::before {
    background: #fff44f;
}

.tippspiel-public-legend-away::before {
    background: #ff4b4b;
}

.tippspiel-public-match-head {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
}

.tippspiel-public-head-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .25rem;
    min-height: 34px;
}

.tippspiel-public-head-teams img {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    object-fit: contain;
    justify-self: center;
}

.tippspiel-public-head-result {
    margin: .15rem 0 .25rem;
    color: #061a32;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
}

.tippspiel-public-mini-distribution {
    display: flex;
    height: 11px;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, .5);
    border-radius: 2px;
}

.tippspiel-public-mini-distribution span {
    display: block;
    min-width: 2px;
    height: 100%;
}

.tippspiel-public-mini-distribution .home {
    background: #38f05a;
}

.tippspiel-public-mini-distribution .draw {
    background: #fff44f;
}

.tippspiel-public-mini-distribution .away {
    background: #ff4b4b;
}

.tippspiel-public-table tbody th,
.tippspiel-public-table tbody td {
    background: #d7e6f0;
}

.tippspiel-public-table tbody tr:nth-child(even) th,
.tippspiel-public-table tbody tr:nth-child(even) td {
    background: #c9dce8;
}

.tippspiel-public-player-name {
    color: #000;
    text-align: left;
    font-weight: 800;
    white-space: nowrap;
}

.tippspiel-public-tip-cell {
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tippspiel-public-tip-cell strong {
    color: #061a32;
    font-size: .98rem;
    font-weight: 800;
}

.tippspiel-public-tip-cell.is-hidden strong,
.tippspiel-public-tip-closed,
.tippspiel-public-no-tip {
    color: #6b7b8b;
    font-weight: 700;
}

.tippspiel-public-empty {
    text-align: center;
    padding: 1rem !important;
}

@media (max-width: 700px) {
    .tippspiel-public-table {
        min-width: 680px;
        font-size: .84rem;
    }

    .tippspiel-public-player-head {
        width: 170px;
        min-width: 170px;
    }

    .tippspiel-public-match-head {
        width: 68px;
        min-width: 68px;
    }

    .tippspiel-public-head-teams img {
        width: 25px !important;
        height: 25px !important;
    }
}

/* Punkte in kompakter Mitspieler-Tipptabelle */
.tippspiel-public-total-head,
.tippspiel-public-total-cell {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    text-align: center !important;
    font-weight: 900;
}

.tippspiel-public-total-head {
    color: #071d36 !important;
}

.tippspiel-public-total-cell {
    color: #061a32;
    background: #e5eef6 !important;
    font-size: .98rem;
}

.tippspiel-public-tip-points {
    margin-left: .12rem;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
    vertical-align: super;
}

.tippspiel-public-tip-points-tendency,
.tippspiel-public-tip-points-draw_tendency {
    color: #198754;
}

.tippspiel-public-tip-points-difference {
    color: #0d6efd;
}

.tippspiel-public-tip-points-exact {
    color: #dc3545;
}

.tippspiel-public-tip-points-none {
    color: #64748b;
}


/* Ranglisten: Titel-Bilder bei Mitspielern */
.tippspiel-player-titles {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .16rem;
    margin-left: .35rem;
    vertical-align: middle;
}

.tippspiel-title-icon {
    width: 21px;
    height: 21px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18));
}

.tippspiel-title-icon-cup {
    height: 23px;
}

.tippspiel-title-icon-current {
    width: 22px;
    height: 22px;
}

.tippspiel-title-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem 1.1rem;
    margin-top: 1rem;
    padding: .8rem 1rem;
    background: #f8fafc;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    color: #1f355e;
    font-size: .95rem;
}

.tippspiel-title-legend strong {
    margin-right: .15rem;
}

.tippspiel-title-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}

.tippspiel-title-legend img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15));
}

@media (max-width: 700px) {
    .tippspiel-title-icon {
        width: 18px;
        height: 18px;
    }

    .tippspiel-title-icon-cup,
    .tippspiel-title-icon-current {
        height: 20px;
    }

    .tippspiel-title-legend {
        font-size: .86rem;
    }
}

/* Ranglisten-Unterüberschrift */
.tippspiel-ranking-subtitle {
    margin: 20px 0 12px;
    color: #12356b;
    font-size: 1.35rem;
    font-weight: 700;
}

.tippspiel-ranking-subtitle small {
    margin-left: 10px;
    color: #5b6b82;
    font-size: .9rem;
    font-weight: 600;
}
/* Ranglisten: Tippgruppen */
.tippspiel-ranking-entry .tippspiel-group-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dce5ef;
    padding: 2px;
}

.tippspiel-ranking-note {
    margin: .75rem 0 0;
    color: #475569;
    font-size: .95rem;
}

/* Mobile-Fix Spieletipps: Teams nebeneinander, Ergebnis nicht vertikal, Punkte unten */
@media (max-width: 760px) {
    .tippspiel-match-main,
    .tippspiel-match-card.has-points .tippspiel-match-main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: .65rem !important;
    }

    .tippspiel-match-team-home {
        order: 1 !important;
        grid-column: 1 !important;
    }

    .tippspiel-match-center {
        order: 2 !important;
        grid-column: 2 !important;
        min-width: 116px !important;
        max-width: 136px !important;
    }

    .tippspiel-match-team-away {
        order: 3 !important;
        grid-column: 3 !important;
    }

    .tippspiel-match-result {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        line-height: 1.25 !important;
        font-size: .82rem !important;
    }

    .tippspiel-match-location {
        word-break: normal !important;
        overflow-wrap: normal !important;
        line-height: 1.35 !important;
    }

    .tippspiel-match-points {
        order: 4 !important;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: .85rem 0 0 0 !important;
        padding: .65rem .8rem !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: .75rem !important;
        border-left-width: 0 !important;
        border-top: 5px solid #94a3b8 !important;
        box-shadow: none !important;
    }

    .tippspiel-match-points-tendency,
    .tippspiel-match-points-draw_tendency {
        border-top-color: #198754 !important;
    }

    .tippspiel-match-points-difference {
        border-top-color: #0d6efd !important;
    }

    .tippspiel-match-points-exact {
        border-top-color: #dc3545 !important;
    }

    .tippspiel-match-points-none {
        border-top-color: #94a3b8 !important;
    }

    .tippspiel-match-points-title {
        font-size: .9rem !important;
    }

    .tippspiel-match-points-value {
        margin-top: 0 !important;
        font-size: 1.8rem !important;
    }
}

@media (max-width: 420px) {
    .tippspiel-match-card {
        padding: .75rem .6rem !important;
    }

    .tippspiel-match-main,
    .tippspiel-match-card.has-points .tippspiel-match-main {
        gap: .45rem !important;
    }

    .tippspiel-match-center {
        min-width: 104px !important;
        max-width: 116px !important;
    }

    .tippspiel .tippspiel-score-input {
        width: 44px !important;
        min-width: 44px !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 1.05rem !important;
    }

    .tippspiel-score-separator {
        font-size: 1.15rem !important;
    }

    .tippspiel-match-logo {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
    }

    .tippspiel-match-team-name {
        font-size: .92rem !important;
        line-height: 1.15 !important;
    }
}


/* Mobile Feinjustierung: Wochentag im Datum und kompaktere Teamnamen */
@media (max-width: 760px) {
    .tippspiel-match-team-name {
        font-size: .86rem !important;
        line-height: 1.08 !important;
        letter-spacing: -0.01em !important;
        max-width: 94px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 420px) {
    .tippspiel-match-team-name {
        font-size: .78rem !important;
        line-height: 1.05 !important;
        max-width: 82px !important;
    }

    .tippspiel-match-date {
        font-size: .95rem !important;
        padding: .32rem .7rem !important;
    }
}

/* Ehrentafel */
.tippspiel-honor-table th,
.tippspiel-honor-table td {
    white-space: nowrap;
}

.tippspiel-honor-table tbody tr:nth-child(even) {
    background: rgba(36, 74, 155, 0.06);
}

.tippspiel-honor-table tbody tr:nth-child(odd) {
    background: rgba(0, 166, 180, 0.05);
}

.tippspiel-muted {
    color: #8a97a8;
}

@media (max-width: 768px) {
    .tippspiel-honor-table th,
    .tippspiel-honor-table td {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* Profilbild-Zuschnitt */
.tippspiel-userpic-cropper {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #f8fbff;
}

.tippspiel-userpic-cropper-title {
    margin-bottom: 12px;
    color: #102f63;
    font-weight: 700;
}

.tippspiel-userpic-cropper-stage {
    width: 300px;
    max-width: 100%;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #244a9b;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 47, 99, 0.14);
}

.tippspiel-userpic-cropper-stage canvas {
    display: block;
    width: 100%;
    height: auto;
}

.tippspiel-userpic-cropper-controls {
    display: grid;
    grid-template-columns: 160px minmax(140px, 1fr);
    gap: 10px 14px;
    align-items: center;
}

.tippspiel-userpic-cropper-controls label {
    margin: 0;
    color: #334155;
    font-size: .95rem;
    font-weight: 600;
}

.tippspiel-userpic-cropper-controls input[type="range"] {
    width: 100%;
}

.tippspiel-userpic-cropper-hint {
    margin-top: 12px;
    color: #64748b;
    font-size: .9rem;
}

@media (max-width: 560px) {
    .tippspiel-userpic-cropper-controls {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* Frontend-Tippgruppen im Profil */
.tippspiel-group-create,
.tippspiel-group-admin {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid #d8e1ee;
    border-radius: 12px;
    background: #f8fbff;
}

.tippspiel-group-create h3,
.tippspiel-group-admin h3 {
    margin-top: 0;
    color: #12366e;
    font-size: 1.2rem;
}

.tippspiel-help {
    margin-bottom: 1rem;
    color: #4b5b73;
}

.tippspiel-group-admin-form {
    padding: .75rem 0;
    border-top: 1px solid #d8e1ee;
}

.tippspiel-group-admin-form:first-of-type {
    border-top: 0;
}

.tippspiel-inline-form {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.tippspiel-inline-form .form-control {
    max-width: 420px;
}

@media (max-width: 640px) {
    .tippspiel-inline-form {
        display: block;
    }

    .tippspiel-inline-form .btn {
        width: 100%;
        margin-top: .75rem;
    }
}


/* Frontend: Tippgruppe bearbeiten */
.tippspiel-profile-groupadmin-link {
    margin-top: .75rem;
}

.tippspiel-groupadmin .tippspiel-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 37, 72, .08);
}

.tippspiel-groupadmin-head {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.tippspiel-groupadmin-image {
    width: 180px;
    height: 140px;
    border: 1px solid #dbe5f2;
    border-radius: 12px;
    background: #f6f9fd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tippspiel-groupadmin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tippspiel-groupadmin-image span {
    font-size: 3rem;
}

.tippspiel-groupadmin-members {
    display: grid;
    gap: .6rem;
}

.tippspiel-groupadmin-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem .9rem;
    border: 1px solid #e0e8f3;
    border-radius: 10px;
    background: #f9fbfe;
}

.tippspiel-badge {
    display: inline-block;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #e8f1ff;
    color: #164b91;
    font-size: .85rem;
    font-weight: 700;
}

@media (max-width: 700px) {
    .tippspiel-groupadmin-head {
        grid-template-columns: 1fr;
    }

    .tippspiel-groupadmin-image {
        width: 100%;
        max-width: 260px;
    }

    .tippspiel-groupadmin-member {
        align-items: flex-start;
        flex-direction: column;
    }

    .tippspiel-groupadmin-member form,
    .tippspiel-groupadmin-member button {
        width: 100%;
    }
}


/* Profil: Button zur separaten Tippgruppen-Verwaltung */
.tippspiel-profile-groupadmin-link {
    margin-top: .75rem;
}

.tippspiel-profile-groupadmin-link .btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}


.tippspiel-groupadmin-member-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 700px) {
    .tippspiel-groupadmin-member-actions {
        width: 100%;
        justify-content: stretch;
    }

    .tippspiel-groupadmin-member-actions form,
    .tippspiel-groupadmin-member-actions button {
        width: 100%;
    }
}


/* Kleine Gruppenbilder in Gruppentabellen */
.tippspiel-rankings-groups .tippspiel-ranking-entry {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.tippspiel-group-table-image,
.tippspiel-group-table-placeholder {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #d8e1ee;
    background: #f6f9fd;
    vertical-align: middle;
}

.tippspiel-group-table-placeholder {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 640px) {
    .tippspiel-group-table-image,
    .tippspiel-group-table-placeholder {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .tippspiel-rankings-groups .tippspiel-ranking-entry {
        gap: .35rem;
    }
}


/* Kompakte Tippgruppen-Rangliste */
.tippspiel-rankings-groups .tippspiel-rankings-table {
    font-size: .92rem;
    table-layout: auto;
    width: 100%;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th,
.tippspiel-rankings-groups .tippspiel-rankings-table td {
    padding: 6px 8px;
    white-space: nowrap;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(2),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(2) {
    width: 42%;
    white-space: normal;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th:first-child,
.tippspiel-rankings-groups .tippspiel-rankings-table td:first-child {
    width: 48px;
}

.tippspiel-rankings-groups .tippspiel-compact-stats {
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.tippspiel-rankings-groups .tippspiel-group-table-image,
.tippspiel-rankings-groups .tippspiel-group-table-placeholder {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 4px;
}

.tippspiel-rankings-groups .tippspiel-title-icon {
    width: 18px;
    height: 18px;
}

.tippspiel-rankings-groups .tippspiel-table-wrap {
    overflow-x: visible;
}

@media (max-width: 900px) {
    .tippspiel-rankings-groups .tippspiel-rankings-table {
        font-size: .85rem;
    }

    .tippspiel-rankings-groups .tippspiel-rankings-table th,
    .tippspiel-rankings-groups .tippspiel-rankings-table td {
        padding: 5px 6px;
    }

    .tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(2),
    .tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(2) {
        width: auto;
    }
}


/* Tippgruppen-Tabelle: einzelne Zahlen-Spalten rechtsbündig */
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(n+3),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(n+3) {
    text-align: right;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(3),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(4),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(5),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(6),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(7),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(8),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(9),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(10) {
    text-align: right;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(5),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(6),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(7),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(8),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(5),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(6),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(7),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(8) {
    width: 44px;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(9),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(9),
.tippspiel-rankings-groups .tippspiel-rankings-table th:nth-child(10),
.tippspiel-rankings-groups .tippspiel-rankings-table td:nth-child(10) {
    width: 74px;
}

.tippspiel-rankings-groups .tippspiel-rankings-table th,
.tippspiel-rankings-groups .tippspiel-rankings-table td {
    padding-left: 6px;
    padding-right: 6px;
}

/* Einheitliche Ausrichtung aller Ranglisten */
.tippspiel-rankings-table th:nth-child(n+3),
.tippspiel-rankings-table td:nth-child(n+3) {
    text-align: right;
}

.tippspiel-rankings-table th:nth-child(3),
.tippspiel-rankings-table td:nth-child(3) {
    width: 70px;
}

.tippspiel-rankings-table th:nth-child(4),
.tippspiel-rankings-table th:nth-child(5),
.tippspiel-rankings-table th:nth-child(6),
.tippspiel-rankings-table th:nth-child(7),
.tippspiel-rankings-table td:nth-child(4),
.tippspiel-rankings-table td:nth-child(5),
.tippspiel-rankings-table td:nth-child(6),
.tippspiel-rankings-table td:nth-child(7) {
    width: 45px;
}

.tippspiel-rankings-table th:last-child,
.tippspiel-rankings-table td:last-child {
    width: 80px;
}


/* Top 3 Ranglisten */
.tippspiel-rank-1{
    background:linear-gradient(90deg,#fff7c2,#ffe082)!important;
}
.tippspiel-rank-2{
    background:linear-gradient(90deg,#f5f5f5,#d9d9d9)!important;
}
.tippspiel-rank-3{
    background:linear-gradient(90deg,#f5e3d2,#ddb892)!important;
}

/* Platz + Name näher zusammen */
.tippspiel-rankings-table th:first-child,
.tippspiel-rankings-table td:first-child{
    width:55px;
}
.tippspiel-rankings-table th:nth-child(2),
.tippspiel-rankings-table td:nth-child(2){
    padding-left:4px;
}


/* Direktvergleich unter Spielkarten */
.tippspiel-h2h {
    margin: .65rem 1.25rem 1rem;
    padding-top: .65rem;
    border-top: 1px solid #e0e8f3;
    color: #40516b;
    font-size: .88rem;
}

.tippspiel-h2h-title {
    margin-bottom: .35rem;
    font-weight: 700;
    color: #12366e;
}

.tippspiel-h2h-scale {
    display: flex;
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f8;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.tippspiel-h2h-scale span {
    display: block;
    min-width: 0;
    height: 100%;
}

.tippspiel-h2h-scale .home {
    background: #2fbf71;
}

.tippspiel-h2h-scale .draw {
    background: #f0d84c;
}

.tippspiel-h2h-scale .away {
    background: #f25c5c;
}

.tippspiel-h2h-labels {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .35rem;
    font-size: .82rem;
}

.tippspiel-h2h-labels span:nth-child(1) {
    color: #1f8d55;
}

.tippspiel-h2h-labels span:nth-child(2) {
    color: #8a7600;
    text-align: center;
}

.tippspiel-h2h-labels span:nth-child(3) {
    color: #b73434;
    text-align: right;
}

@media (max-width: 640px) {
    .tippspiel-h2h {
        margin: .55rem .8rem .85rem;
        font-size: .8rem;
    }

    .tippspiel-h2h-labels {
        font-size: .75rem;
        gap: .4rem;
    }
}


/* Favoriten-Auswahl mit Logo-Vorschau */
.tippspiel-logo-select-preview {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .45rem;
    padding: .35rem .55rem;
    border: 1px solid #dbe5f2;
    border-radius: 8px;
    background: #f8fbff;
    color: #18345f;
    font-size: .92rem;
    font-weight: 600;
}

.tippspiel-logo-select-preview[hidden] {
    display: none;
}

.tippspiel-logo-select-preview img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}


/* Frontend-Regelseite */
.tippspiel-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tippspiel-rules-card {
    padding: 1.1rem;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 37, 72, .06);
}

.tippspiel-rules-card-wide {
    grid-column: 1 / -1;
}

.tippspiel-rules-card h2 {
    margin-top: 0;
    color: #12366e;
    font-size: 1.25rem;
}

.tippspiel-rules-table {
    width: 100%;
    border-collapse: collapse;
}

.tippspiel-rules-table th,
.tippspiel-rules-table td {
    padding: .55rem .35rem;
    border-bottom: 1px solid #e5ecf5;
}

.tippspiel-rules-table th {
    text-align: left;
}

.tippspiel-rules-table td {
    text-align: right;
    font-weight: 700;
}

.tippspiel-rules-list {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.tippspiel-rules-list li {
    margin: .25rem 0;
}

.tippspiel-rules-round-table th:nth-child(n+2),
.tippspiel-rules-round-table td:nth-child(n+2) {
    text-align: right;
}

@media (max-width: 780px) {
    .tippspiel-rules-grid {
        grid-template-columns: 1fr;
    }
}


/* Frontend-Administration Ergebnisse */
.tippspiel-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1rem 0;
}

.tippspiel-admin-results-table th,
.tippspiel-admin-results-table td {
    vertical-align: middle;
}

.tippspiel-admin-match {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 260px;
}

.tippspiel-admin-match img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.tippspiel-admin-score {
    display: inline-block;
    width: 58px;
    text-align: center;
}

.tippspiel-admin-results-table td:nth-child(3),
.tippspiel-admin-results-table td:nth-child(4) {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .tippspiel-admin-actions .btn {
        width: 100%;
    }

    .tippspiel-admin-match {
        min-width: 210px;
        font-size: .9rem;
    }

    .tippspiel-admin-score {
        width: 50px;
    }
}


/* Frontend-Administration Layout-Fix */
.tippspiel-frontendadmin .tippspiel-filter {
    align-items: end;
}

.tippspiel-admin-actions {
    align-items: center;
}

.tippspiel-admin-action-btn,
.tippspiel-admin-actions .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .55rem .9rem !important;
    border-radius: 8px !important;
    border: 1px solid #244a9b !important;
    background: #244a9b !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1.2;
}

.tippspiel-admin-actions .btn-secondary,
.tippspiel-admin-actions .tippspiel-admin-action-btn.btn-secondary {
    background: #f5f8fd !important;
    color: #17458f !important;
    border-color: #c8d6ea !important;
}

.tippspiel-admin-results-table {
    table-layout: fixed;
    width: 100%;
    font-size: .94rem;
}

.tippspiel-admin-results-table th,
.tippspiel-admin-results-table td {
    padding: .55rem .6rem;
}

.tippspiel-admin-results-table th:nth-child(1),
.tippspiel-admin-results-table td:nth-child(1) {
    width: 34%;
}

.tippspiel-admin-results-table th:nth-child(2),
.tippspiel-admin-results-table td:nth-child(2) {
    width: 145px;
}

.tippspiel-admin-results-table th:nth-child(3),
.tippspiel-admin-results-table td:nth-child(3),
.tippspiel-admin-results-table th:nth-child(4),
.tippspiel-admin-results-table td:nth-child(4) {
    width: 125px;
    text-align: center;
}

.tippspiel-admin-results-table th:nth-child(5),
.tippspiel-admin-results-table td:nth-child(5) {
    width: 150px;
}

.tippspiel-admin-score-pair {
    display: inline-grid;
    grid-template-columns: 46px 12px 46px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.tippspiel-admin-score-pair span {
    text-align: center;
    font-weight: 800;
}

.tippspiel-admin-score {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 36px;
    padding: .25rem .2rem !important;
    text-align: center;
}

.tippspiel-admin-results-table .form-select {
    min-width: 120px;
    max-width: 140px;
    height: 36px;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

.tippspiel-admin-match {
    min-width: 0;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: .35rem;
}

.tippspiel-admin-match strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tippspiel-admin-match img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.tippspiel-admin-kickoff {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .tippspiel-admin-results-table {
        table-layout: auto;
        min-width: 850px;
    }

    .tippspiel-admin-results-table th:nth-child(1),
    .tippspiel-admin-results-table td:nth-child(1),
    .tippspiel-admin-results-table th:nth-child(2),
    .tippspiel-admin-results-table td:nth-child(2),
    .tippspiel-admin-results-table th:nth-child(3),
    .tippspiel-admin-results-table td:nth-child(3),
    .tippspiel-admin-results-table th:nth-child(4),
    .tippspiel-admin-results-table td:nth-child(4),
    .tippspiel-admin-results-table th:nth-child(5),
    .tippspiel-admin-results-table td:nth-child(5) {
        width: auto;
    }
}


/* KO-Ergebnisse: Frontend-Admin Zusatzspalten */
.tippspiel-admin-results-table th:nth-child(3),
.tippspiel-admin-results-table td:nth-child(3),
.tippspiel-admin-results-table th:nth-child(4),
.tippspiel-admin-results-table td:nth-child(4),
.tippspiel-admin-results-table th:nth-child(5),
.tippspiel-admin-results-table td:nth-child(5),
.tippspiel-admin-results-table th:nth-child(6),
.tippspiel-admin-results-table td:nth-child(6) {
    width: 108px;
    text-align: center;
}

.tippspiel-admin-results-table th:nth-child(7),
.tippspiel-admin-results-table td:nth-child(7) {
    width: 135px;
}

.tippspiel-admin-score-pair {
    grid-template-columns: 40px 10px 40px;
}

.tippspiel-admin-score {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
}

.tippspiel-match-result-extra {
    font-size: .88em;
    color: #4b5b73;
}


/* Frontend-Admin: n.V. / Elfmeterschießen optional einblenden */
.tippspiel-frontendadmin .tippspiel-ko-column {
    display: none;
}

.tippspiel-frontendadmin.show-ko-columns .tippspiel-ko-column {
    display: table-cell;
}

.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table th:nth-child(1),
.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table td:nth-child(1) {
    width: 40%;
}

.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table th:nth-child(3),
.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table td:nth-child(3),
.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table th:nth-child(4),
.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table td:nth-child(4) {
    width: 125px;
}

.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table th:nth-child(7),
.tippspiel-frontendadmin:not(.show-ko-columns) .tippspiel-admin-results-table td:nth-child(7) {
    width: 150px;
}


/* Profilkarte */
.tippspiel-playercard-link {
    color: inherit;
    text-decoration: none;
}

.tippspiel-playercard-link:hover {
    text-decoration: underline;
}

.tippspiel-playercard {
    max-width: 920px;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 37, 72, .08);
    overflow: hidden;
}

.tippspiel-playercard-head {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.35rem;
    background: linear-gradient(135deg, #eaf4ff, #ffffff);
    border-bottom: 1px solid #dbe5f2;
}

.tippspiel-playercard-avatar {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(15, 37, 72, .18);
    background: #f3f7fd;
}

.tippspiel-playercard-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.tippspiel-playercard-title h1 {
    margin: 0;
    color: #12366e;
    font-size: 2rem;
}

.tippspiel-playercard-title p {
    margin: .25rem 0 .45rem;
    color: #52637b;
    font-size: 1.05rem;
}

.tippspiel-playercard-tournament {
    display: inline-flex;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #e9f1ff;
    color: #12366e;
    font-weight: 700;
    font-size: .9rem;
}

.tippspiel-playercard-rank {
    min-width: 92px;
    padding: .65rem .9rem;
    text-align: center;
    border-radius: 12px;
    background: #12366e;
    color: #fff;
}

.tippspiel-playercard-rank span {
    display: block;
    font-size: .8rem;
}

.tippspiel-playercard-rank strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.tippspiel-playercard-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid #eef3fa;
}

.tippspiel-playercard-info div {
    padding: .8rem;
    border: 1px solid #e0e8f3;
    border-radius: 12px;
    background: #f8fbff;
}

.tippspiel-playercard-info span,
.tippspiel-playercard-stats span {
    display: block;
    color: #52637b;
    font-size: .82rem;
    margin-bottom: .25rem;
}

.tippspiel-playercard-info strong {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
}

.tippspiel-playercard-info img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.tippspiel-playercard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    padding: 1.1rem 1.35rem;
}

.tippspiel-playercard-stats div {
    padding: .8rem;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e0e8f3;
}

.tippspiel-playercard-stats strong {
    display: block;
    color: #12366e;
    font-size: 1.35rem;
    line-height: 1.1;
}

.tippspiel-playercard-section {
    padding: 0 1.35rem 1.35rem;
}

.tippspiel-playercard-section h2 {
    color: #12366e;
    font-size: 1.25rem;
}

.tippspiel-playercard-wins {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tippspiel-playercard-wins span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: #fff7d1;
    border: 1px solid #ead57a;
    color: #12366e;
}

@media (max-width: 760px) {
    .tippspiel-playercard-head {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .tippspiel-playercard-info,
    .tippspiel-playercard-stats {
        grid-template-columns: 1fr;
    }
}


/* Profilkarte: Saisonverlauf und Rekorde */
.tippspiel-playercard-chart {
    width: 100%;
    max-width: 780px;
    padding: .8rem;
    border: 1px solid #e0e8f3;
    border-radius: 14px;
    background: #f8fbff;
}

.tippspiel-playercard-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.tippspiel-playercard-chart .axis {
    stroke: #b7c6db;
    stroke-width: 1;
}

.tippspiel-playercard-chart .curve {
    stroke: #126bff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tippspiel-playercard-chart .curve-point {
    fill: #126bff;
    stroke: #fff;
    stroke-width: 2;
}

.tippspiel-playercard-chart .axis-label,
.tippspiel-playercard-chart .tick-label {
    fill: #52637b;
    font-size: 13px;
}

.tippspiel-playercard-records {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.tippspiel-playercard-records div {
    padding: .85rem;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e0e8f3;
}

.tippspiel-playercard-records span {
    display: block;
    color: #52637b;
    font-size: .82rem;
    margin-bottom: .25rem;
}

.tippspiel-playercard-records strong {
    display: block;
    color: #12366e;
    font-size: 1.25rem;
    line-height: 1.1;
}

.tippspiel-playercard-records small {
    display: block;
    margin-top: .25rem;
    color: #52637b;
    font-size: .78rem;
}

@media (max-width: 760px) {
    .tippspiel-playercard-records {
        grid-template-columns: 1fr;
    }
}


/* Profilkarte: Platzierung im Saisonverlauf */
.tippspiel-playercard-chart .rank-label {
    fill: #12366e;
    font-size: 13px;
    font-weight: 800;
}

.tippspiel-playercard-chart-note {
    margin: .5rem 0 0;
    color: #52637b;
    font-size: .86rem;
}


/* Profilkarte: Kombi-Diagramm Punkte und Rang */
.tippspiel-playercard-chart-combo .grid {
    stroke: #c6d1df;
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.tippspiel-playercard-chart-combo .points-bar {
    fill: #9dc5ef;
    opacity: .85;
}

.tippspiel-playercard-chart-combo .rank-line-overall {
    stroke: #2fc14f;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tippspiel-playercard-chart-combo .rank-line-matchday {
    stroke: #6fa0d8;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tippspiel-playercard-chart-combo .rank-point-overall {
    fill: #2fc14f;
    stroke: #fff;
    stroke-width: 1.5;
}

.tippspiel-playercard-chart-combo .rank-point-matchday {
    fill: #6fa0d8;
    stroke: #fff;
    stroke-width: 1.5;
}

.tippspiel-playercard-chart-combo .axis-title-left,
.tippspiel-playercard-chart-combo .axis-title-right,
.tippspiel-playercard-chart-combo .rank-axis-label {
    fill: #26384f;
    font-size: 12px;
}

.tippspiel-playercard-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: center;
    margin-top: .65rem;
    color: #52637b;
    font-size: .86rem;
}

.tippspiel-playercard-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.tippspiel-playercard-chart-legend i {
    display: inline-block;
    width: 13px;
    height: 13px;
}

.tippspiel-playercard-chart-legend .legend-bar {
    background: #9dc5ef;
}

.tippspiel-playercard-chart-legend .legend-overall {
    background: #2fc14f;
}

.tippspiel-playercard-chart-legend .legend-matchday {
    background: #6fa0d8;
}


/* Profilkarte: alle Spieltagssiege und Erfolge */
.tippspiel-playercard-wins-table th:nth-child(2),
.tippspiel-playercard-wins-table th:nth-child(3),
.tippspiel-playercard-wins-table td:nth-child(2),
.tippspiel-playercard-wins-table td:nth-child(3) {
    text-align: right;
}

.tippspiel-playercard-achievements div {
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.tippspiel-playercard-achievements div:nth-child(1),
.tippspiel-playercard-achievements div:nth-child(4),
.tippspiel-playercard-achievements div:nth-child(8) {
    border-color: #d6c071;
    background: linear-gradient(180deg, #fff9d8, #ffffff);
}


/* Gruppenkarte */
.tippspiel-groupcard-members {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

.tippspiel-groupcard-members a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    align-items: center;
    gap: .5rem;
    padding: .55rem;
    border: 1px solid #e0e8f3;
    border-radius: 10px;
    background: #f8fbff;
    color: inherit;
    text-decoration: none;
}

.tippspiel-groupcard-members a:hover {
    background: #eef6ff;
}

.tippspiel-groupcard-members img,
.tippspiel-groupcard-members span {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 6px;
}

.tippspiel-groupcard-members img.team {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 0;
}

.tippspiel-groupcard-members strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .tippspiel-groupcard-members {
        grid-template-columns: 1fr;
    }
}


/* Spiele/Tippansicht: Gruppenansicht */
.tippspiel-match-group-title {
    margin: 1.4rem 0 .7rem;
    padding: .55rem .85rem;
    border-left: 6px solid #244a9b;
    border-radius: 10px;
    background: linear-gradient(90deg, #eaf4ff, #ffffff);
    color: #12366e;
    font-size: 1.35rem;
    font-weight: 800;
}

.tippspiel-match-card.is-group-view {
    margin-bottom: .85rem;
}

.tippspiel-match-group-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: .6rem .8rem 0;
    color: #52637b;
    font-size: .86rem;
}

.tippspiel-match-group-meta strong {
    display: inline-flex;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: #eef5ff;
    color: #12366e;
}

@media (max-width: 640px) {
    .tippspiel-match-group-title {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    .tippspiel-match-group-meta {
        font-size: .78rem;
    }
}


/* Gruppenansicht Spiele: Schalter, Gruppenbuttons, Tabelle */
.tippspiel-button-switch,
.tippspiel-group-tabs-row,
.tippspiel-group-matchday-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.tippspiel-button-switch a,
.tippspiel-group-tabs-row a,
.tippspiel-group-matchday-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .75rem;
    border: 1px solid #c9d8ed;
    border-radius: 999px;
    background: #f8fbff;
    color: #12366e;
    font-weight: 700;
    text-decoration: none;
}

.tippspiel-button-switch a.active,
.tippspiel-group-tabs-row a.active,
.tippspiel-group-matchday-tabs a.active {
    background: #244a9b;
    border-color: #244a9b;
    color: #fff;
}

.tippspiel-group-tabs {
    margin: 1rem 0 1.25rem;
}

.tippspiel-group-tabs-row {
    margin-bottom: .7rem;
}

.tippspiel-group-matchday-tabs {
    margin-bottom: .9rem;
}

.tippspiel-group-standings-wrap {
    margin: .8rem 0 1.2rem;
}

.tippspiel-group-standings {
    max-width: 820px;
}

.tippspiel-group-standings th:nth-child(n+3),
.tippspiel-group-standings td:nth-child(n+3) {
    text-align: right;
}

.tippspiel-standings-team {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.tippspiel-standings-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tippspiel-view-switch label {
    display: block;
}

@media (max-width: 640px) {
    .tippspiel-group-standings {
        min-width: 680px;
    }
}


/* Tippfrist-Hinweis */
.tippspiel-deadline-note {
    color: #52637b;
    font-size: .82rem;
}


/* Bonustipp-Hinweis in der Tippabgabe */
.tippspiel-bonus-reminder {
    margin: 1rem 0;
    padding: .9rem 1rem;
    border: 1px solid #f0d37a;
    border-left: 6px solid #f5b400;
    border-radius: 12px;
    background: #fff8d8;
    color: #3e3100;
}

.tippspiel-bonus-reminder strong {
    display: block;
    margin-bottom: .2rem;
    color: #12366e;
}

.tippspiel-bonus-reminder a {
    display: inline-flex;
    margin-left: .35rem;
    font-weight: 800;
    color: #17458f;
}


.tippspiel-rank-cell{white-space:nowrap;font-size:.9rem}
.rank-prev{font-size:.75rem;font-style:italic;color:#777}
.rank-up{color:#178a2d;font-weight:700}
.rank-down{color:#d71d1d;font-weight:700}
.rank-same{color:#888;font-weight:700}


/* Backend Ergebnisverwaltung */
.tippspiel-backend-resultadmin {
    max-width: 100%;
}

.tippspiel-backend-resultadmin .tippspiel-filter {
    margin-top: 1rem;
}


/* Ranglisten: Platzbewegung korrekt berechnet */
.tippspiel-rankings-table td:first-child,
.tippspiel-rankings-table th:first-child {
    width: 86px;
}

.tippspiel-rank-cell {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "rank arrow"
        "prev arrow";
    align-items: center;
    justify-content: start;
    column-gap: .35rem;
    line-height: 1.05;
    white-space: nowrap;
}

.tippspiel-rank-current {
    grid-area: rank;
    font-weight: 800;
}

.tippspiel-rank-previous {
    grid-area: prev;
    color: #5f6f86;
    font-size: .68rem;
    font-style: italic;
}

.tippspiel-rank-arrow {
    grid-area: arrow;
    display: inline-flex;
    align-items: center;
    gap: .08rem;
    font-size: .82rem;
    font-weight: 900;
}

.tippspiel-rank-arrow small {
    font-size: .72rem;
    font-weight: 900;
}

.tippspiel-rank-arrow-up { color: #168b32; }
.tippspiel-rank-arrow-down { color: #d51f1f; }
.tippspiel-rank-arrow-same { color: #8a8f99; }


/* Ehrentafel kompakter und ohne horizontalen Scroll auf normalen Desktopbreiten */
.tippspiel-honor-table {
    font-size: 0.86rem;
    table-layout: fixed;
    width: 100%;
}

.tippspiel-honor-table th,
.tippspiel-honor-table td {
    padding: 0.45rem 0.55rem;
    line-height: 1.2;
    vertical-align: middle;
}

.tippspiel-honor-table th:first-child,
.tippspiel-honor-table td:first-child {
    width: 18%;
}

.tippspiel-honor-table th:nth-child(2),
.tippspiel-honor-table td:nth-child(2) {
    width: 7%;
    text-align: center;
}

.tippspiel-honor-table th:nth-child(n+3),
.tippspiel-honor-table td:nth-child(n+3) {
    width: 15%;
}

.tippspiel-honor-player-link {
    color: inherit;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.tippspiel-honor-player-link:hover,
.tippspiel-honor-player-link:focus {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .tippspiel-honor-table {
        font-size: 0.8rem;
    }

    .tippspiel-honor-table th,
    .tippspiel-honor-table td {
        padding: 0.35rem 0.4rem;
    }
}


.tippspiel-playercard-name {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.tippspiel-playercard-title-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    vertical-align: middle;
}

.tippspiel-playercard-title-icons .tippspiel-title-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


.tippspiel-bonus-result {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding: .55rem .7rem;
    border-radius: .65rem;
    background: #edf7ff;
    border: 1px solid #cfe7ff;
    color: #0b2b57;
    font-size: .92rem;
}

.tippspiel-bonus-distribution {
    padding: .7rem;
    border-radius: .75rem;
    background: #f7f9fc;
    border: 1px solid #d9e3f1;
}

.tippspiel-bonus-distribution-title {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
    font-weight: 800;
    color: #102b55;
}

.tippspiel-bonus-distribution-title span {
    font-weight: 600;
    color: #607089;
}

.tippspiel-bonus-dist-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 2fr) 90px;
    gap: .5rem;
    align-items: center;
    margin-top: .35rem;
    font-size: .88rem;
}

.tippspiel-bonus-dist-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tippspiel-bonus-dist-bar-wrap {
    height: .65rem;
    border-radius: 999px;
    overflow: hidden;
    background: #e3e9f2;
}

.tippspiel-bonus-dist-bar {
    height: 100%;
    min-width: 2px;
    border-radius: 999px;
    background: #2d65b8;
}

.tippspiel-bonus-dist-value {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
}

.tippspiel-bonus-dist-value small {
    color: #607089;
    font-weight: 600;
}

@media (max-width: 650px) {
    .tippspiel-bonus-dist-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .tippspiel-bonus-dist-value {
        text-align: left;
    }
}


.tippspiel-bonus-answer-result {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .35rem;
}

.tippspiel-bonus-correct {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: .65rem .8rem;
    border-radius: .65rem;
    background: #edf7ff;
    border: 1px solid #cfe7ff;
    color: #0b2b57;
    font-size: .95rem;
}

.tippspiel-bonus-points-box {
    flex: 0 0 105px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: .65rem;
    border: 1px solid #d4ddea;
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 45, 80, .08);
    color: #0b2b57;
    border-left: 5px solid #9aa8bd;
}

.tippspiel-bonus-points-box.is-positive {
    border-left-color: #1f9a4b;
}

.tippspiel-bonus-points-box.is-zero {
    border-left-color: #d33f49;
}

.tippspiel-bonus-points-box span {
    font-weight: 800;
    font-size: .82rem;
    line-height: 1;
}

.tippspiel-bonus-points-box strong {
    font-weight: 900;
    font-size: 2.35rem;
    line-height: .95;
    color: #168a3d;
}

.tippspiel-bonus-points-box.is-zero strong {
    color: #d33f49;
}

.tippspiel-bonus-points-box small {
    font-weight: 800;
    font-size: .78rem;
}

@media (max-width: 650px) {
    .tippspiel-bonus-answer-result {
        flex-direction: column;
    }

    .tippspiel-bonus-points-box {
        flex-basis: auto;
        width: 120px;
        align-self: flex-end;
    }
}


/* Ehrentafel responsive Karten */
.tippspiel-honor-cards{display:grid;gap:.85rem;margin-top:1rem}
.tippspiel-honor-card{border:1px solid #d7e1ee;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 14px rgba(16,43,85,.06)}
.tippspiel-honor-card-header{display:flex;justify-content:space-between;gap:.75rem;align-items:center;padding:.65rem .8rem;background:#f0f6fc;border-bottom:1px solid #d7e1ee;color:#102b55}
.tippspiel-honor-card-header strong{font-size:1rem}
.tippspiel-honor-card-header span{white-space:nowrap;font-size:.85rem;font-weight:800;color:#3b4f70}
.tippspiel-honor-places{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.tippspiel-honor-place{padding:.6rem .7rem;border-right:1px solid #e4edf7;min-width:0}
.tippspiel-honor-place:last-child{border-right:0}
.tippspiel-honor-place-label{display:block;font-size:.76rem;font-weight:900;color:#2d57a5;margin-bottom:.18rem}
.tippspiel-honor-place-name{display:block;font-weight:900;min-width:0;overflow-wrap:anywhere}
.tippspiel-honor-player-link{color:#102b55;text-decoration:none}
.tippspiel-honor-player-link:hover{text-decoration:underline}
@media(max-width:700px){
.tippspiel-honor-cards{gap:.65rem}
.tippspiel-honor-card-header{padding:.55rem .65rem;align-items:flex-start;flex-direction:column;gap:.15rem}
.tippspiel-honor-places{grid-template-columns:1fr}
.tippspiel-honor-place{display:grid;grid-template-columns:84px minmax(0,1fr);gap:.5rem;align-items:center;padding:.42rem .65rem;border-right:0;border-bottom:1px solid #e4edf7}
.tippspiel-honor-place:last-child{border-bottom:0}
.tippspiel-honor-place-label{margin-bottom:0;font-size:.78rem}
}

/* Aktiv/Inaktiv Status */
.tippspiel-active-square{display:inline-block;width:.85rem;height:.85rem;border-radius:.18rem;vertical-align:-.08em;margin-right:.25rem;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.tippspiel-active-square.is-active{background:#23a455}
.tippspiel-active-square.is-inactive{background:#d64040}
.tippspiel-status-cell{text-align:center;white-space:nowrap}

.tippspiel-profile-mailsettings{padding:1rem;border:1px solid #d7e1ee;border-radius:12px;background:#f8fbff;}


.tippspiel-player-group-name {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.72em;
    font-weight: 400;
    color: #38516f;
    opacity: 0.85;
    vertical-align: baseline;
}

.tippspiel-rankings .tippspiel-player-group-name {
    white-space: nowrap;
}


a.tippspiel-player-group-name {
    text-decoration: none;
}

a.tippspiel-player-group-name:hover {
    text-decoration: underline;
}


.tippspiel-player-group-name {
    margin-left: 4px;
    color: #6c757d;
    opacity: 0.9;
    text-decoration: none;
    font-weight: 400;
}

.tippspiel-player-group-name small {
    font-size: 0.68em;
}

.tippspiel-player-group-name:hover {
    text-decoration: underline;
}


/* Ranking group name: small/decent override v1.9.49 */
.tippspiel-rankings .tippspiel-ranking-entry .tippspiel-player-group-name,
.tippspiel-rankings .tippspiel-ranking-entry a.tippspiel-player-group-name,
.tippspiel-rankings table .tippspiel-player-group-name {
    display: inline !important;
    margin-left: 5px !important;
    font-size: 0.58em !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #6c757d !important;
    opacity: 0.9 !important;
    text-decoration: none !important;
    vertical-align: baseline !important;
}

.tippspiel-rankings .tippspiel-ranking-entry .tippspiel-player-group-name *,
.tippspiel-rankings .tippspiel-ranking-entry .tippspiel-player-group-name-inner,
.tippspiel-rankings table .tippspiel-player-group-name-inner {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 400 !important;
    color: inherit !important;
}

.tippspiel-rankings .tippspiel-ranking-entry a.tippspiel-player-group-name:hover {
    text-decoration: underline !important;
}


/* Gruppenlink Hover */
a.tippspiel-player-group-name:hover,
a.tippspiel-player-group-name:hover .tippspiel-player-group-name-inner {
    text-decoration: underline !important;
    color: #495057 !important;
}


.tippspiel-match-points-live {
    border-color: #dc3545 !important;
    background: #fff5f5 !important;
}

.tippspiel-match-points-live .tippspiel-match-points-title::before {
    content: "● ";
    color: #dc3545;
    font-weight: 900;
}


/* group ranking mobile scroll v1.9.69 */
@media (max-width: 768px) {
    .tippspiel-group-rankings-wrapper,
    .tippspiel-group-ranking-wrapper,
    .tippspiel-groupranking-wrapper,
    .tippspiel-ranking-groups-wrapper,
    .tippspiel-rankings-groups .tippspiel-table-wrap,
    .tippspiel-rankings-groups .tippspiel-table-wrapper,
    .tippspiel-rankings-groups .tippspiel-table-responsive,
    .tippspiel-rankings-groups {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tippspiel-group-rankings-table,
    .tippspiel-group-ranking-table,
    .tippspiel-groupranking-table,
    .tippspiel-rankings-groups table {
        min-width: 720px;
        width: max-content;
    }

    .tippspiel-rankings-groups table th:first-child,
    .tippspiel-rankings-groups table td:first-child,
    .tippspiel-group-rankings-table th:first-child,
    .tippspiel-group-rankings-table td:first-child,
    .tippspiel-groupranking-table th:first-child,
    .tippspiel-groupranking-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 3;
        background: inherit;
        box-shadow: 1px 0 0 rgba(0,0,0,0.08);
    }

    .tippspiel-rankings-groups table th:first-child,
    .tippspiel-group-rankings-table th:first-child,
    .tippspiel-groupranking-table th:first-child {
        z-index: 4;
    }
}


/* all rankings sticky rank v1.9.70 */
@media (max-width: 768px) {
    .tippspiel-rankings .tippspiel-table-wrap,
    .tippspiel-rankings .tippspiel-table-wrapper,
    .tippspiel-rankings .tippspiel-table-responsive,
    .tippspiel-rankings .tippspiel-table-wrap,
    .tippspiel-rankings {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tippspiel-rankings table,
    .tippspiel-rankings-table,
    table.tippspiel-rankings-table {
        min-width: 720px;
        width: max-content;
    }

    .tippspiel-rankings table th:first-child,
    .tippspiel-rankings table td:first-child,
    .tippspiel-rankings-table th:first-child,
    .tippspiel-rankings-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 5;
        background: inherit;
        box-shadow: 1px 0 0 rgba(0,0,0,0.08);
    }

    .tippspiel-rankings table th:first-child,
    .tippspiel-rankings-table th:first-child {
        z-index: 6;
    }

    .tippspiel-rankings table tbody tr:nth-child(odd) td:first-child {
        background-color: inherit;
    }

    .tippspiel-rankings table tbody tr:nth-child(even) td:first-child {
        background-color: inherit;
    }
}


@media (max-width: 768px) {
    .tippspiel-rankings-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* own ranking row v1.9.71 */
.tippspiel-table tbody tr.tippspiel-own-ranking-row,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row {
    background: #fff3cd !important;
    outline: 2px solid #f0ad4e;
    outline-offset: -2px;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row td {
    background: #fff3cd !important;
}

.tippspiel-own-ranking-row .tippspiel-playercard-link strong {
    color: #7a4d00;
}

.tippspiel-own-ranking-row .tippspiel-rank-current::after {
    content: " Du";
    display: inline-block;
    margin-left: 4px;
    font-size: .72em;
    font-weight: 700;
    color: #7a4d00;
}


/* ranking colors restore v1.9.72 */
.tippspiel-table tbody tr.tippspiel-rank-1 td,
.tippspiel-rankings table tbody tr.tippspiel-rank-1 td {
    background: #fff2a8 !important;
}

.tippspiel-table tbody tr.tippspiel-rank-2 td,
.tippspiel-rankings table tbody tr.tippspiel-rank-2 td {
    background: #eeeeee !important;
}

.tippspiel-table tbody tr.tippspiel-rank-3 td,
.tippspiel-rankings table tbody tr.tippspiel-rank-3 td {
    background: #ead3bb !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row td {
    background: #dff3ff !important;
    box-shadow: inset 4px 0 0 #0d6efd;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-1 td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-1 td {
    background: linear-gradient(90deg, #dff3ff 0, #dff3ff 8px, #fff2a8 8px) !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-2 td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-2 td {
    background: linear-gradient(90deg, #dff3ff 0, #dff3ff 8px, #eeeeee 8px) !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-3 td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-3 td {
    background: linear-gradient(90deg, #dff3ff 0, #dff3ff 8px, #ead3bb 8px) !important;
}

.tippspiel-own-ranking-row .tippspiel-rank-current::after {
    content: " Du";
    display: inline-block;
    margin-left: 4px;
    font-size: .72em;
    font-weight: 700;
    color: #0d6efd;
}


/* softer own ranking highlight v1.9.73 */
.tippspiel-table tbody tr.tippspiel-own-ranking-row td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row td {
    background: #eaf5ff !important;
    box-shadow: none !important;
    border: none !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row:hover td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row:hover td {
    background: #dceeff !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-1 td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-1 td {
    background: #f8f2c7 !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-2 td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-2 td {
    background: #eef5fc !important;
}

.tippspiel-table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-3 td,
.tippspiel-rankings table tbody tr.tippspiel-own-ranking-row.tippspiel-rank-3 td {
    background: #ead8c8 !important;
}


/* remove own-player label v1.9.74 */
.tippspiel-own-ranking-row .tippspiel-rank-current::after {
    content: none !important;
    display: none !important;
}


/* team form last six v1.9.75 */
.tippspiel-team-form {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.tippspiel-team-form-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.tippspiel-team-form-win {
    background: #198754;
}

.tippspiel-team-form-draw {
    background: #ffc107;
    color: #1f2937;
}

.tippspiel-team-form-loss {
    background: #dc3545;
}

@media (max-width: 640px) {
    .tippspiel-team-form-box {
        min-width: 20px;
        height: 20px;
        font-size: 11px;
        padding: 0 4px;
    }
}


/* info buttons mobile v1.9.77 */
.tippspiel-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    margin-left: 6px;
    border: 1px solid #b8c7dc;
    border-radius: 50%;
    background: #f5f8fc;
    color: #244a9b;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
}

.tippspiel-info-button:hover,
.tippspiel-info-button:focus {
    background: #e8f1ff;
    border-color: #244a9b;
}

.tippspiel-info-panel {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    background: #f8fbff;
    color: #1f2937;
    font-size: .92rem;
    text-align: left;
}

.tippspiel-info-line {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 4px 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.tippspiel-info-line:first-of-type {
    border-top: 0;
}

.tippspiel-info-date {
    min-width: 78px;
    color: #6c757d;
    white-space: nowrap;
}

.tippspiel-team-form-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tippspiel-team-form {
    align-items: center;
}

.tippspiel-team-form-info {
    width: 18px;
    height: 18px;
    font-size: 11px;
    margin-left: 2px;
}

.tippspiel-team-form-panel {
    max-width: min(320px, 90vw);
}

.tippspiel-h2h-panel {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .tippspiel-info-panel {
        font-size: .86rem;
    }

    .tippspiel-info-line {
        flex-direction: column;
        gap: 2px;
    }

    .tippspiel-info-date {
        min-width: 0;
    }
}


/* playercard placements v1.9.80 */
.tippspiel-placement-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 6px;
    border: 1px solid #b8c7dc;
    border-radius: 50%;
    background: #f5f8fc;
    color: #244a9b;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.tippspiel-placement-toggle:hover,
.tippspiel-placement-toggle:focus {
    background: #e8f1ff;
    border-color: #244a9b;
}

.tippspiel-placement-details > td {
    background: #f8fbff;
    padding: 12px !important;
}

.tippspiel-playercard-match-table {
    margin: 0;
    font-size: .92rem;
}

.tippspiel-playercard-match-table th,
.tippspiel-playercard-match-table td {
    white-space: nowrap;
}


/* playercard season placements v1.9.81 */
.tippspiel-playercard-matchday-table {
    margin: 0;
    font-size: .92rem;
}


/* placement toggle fix v1.9.82 */
.tippspiel-placement-toggle[aria-expanded="true"] {
    background: #e8f1ff;
    border-color: #244a9b;
}


/* rank colors v1.9.83 */
.tippspiel-rank-gold > td {
    background: #fff6d6 !important;
}

.tippspiel-rank-silver > td {
    background: #f2f4f7 !important;
}

.tippspiel-rank-bronze > td {
    background: #f6e2d3 !important;
}


/* playercard placement alignment v1.9.84 */
.tippspiel-playercard-placements-table,
.tippspiel-playercard-matchday-table {
    table-layout: fixed;
    width: 100%;
}

.tippspiel-playercard-placements-table th,
.tippspiel-playercard-placements-table td,
.tippspiel-playercard-matchday-table th,
.tippspiel-playercard-matchday-table td {
    text-align: center !important;
    vertical-align: middle;
}

.tippspiel-playercard-placements-table th:first-child,
.tippspiel-playercard-placements-table td:first-child {
    text-align: left !important;
}

.tippspiel-playercard-placements-table th:last-child,
.tippspiel-playercard-placements-table td:last-child,
.tippspiel-playercard-matchday-table th:last-child,
.tippspiel-playercard-matchday-table td:last-child {
    text-align: right !important;
    padding-right: 16px;
}

.tippspiel-playercard-placements-table tr.tippspiel-rank-gold > td,
.tippspiel-playercard-matchday-table tr.tippspiel-rank-gold > td {
    background: #fff6d6 !important;
}

.tippspiel-playercard-placements-table tr.tippspiel-rank-silver > td,
.tippspiel-playercard-matchday-table tr.tippspiel-rank-silver > td {
    background: #f2f4f7 !important;
}

.tippspiel-playercard-placements-table tr.tippspiel-rank-bronze > td,
.tippspiel-playercard-matchday-table tr.tippspiel-rank-bronze > td {
    background: #f6e2d3 !important;
}

.tippspiel-playercard-placements-table .tippspiel-num,
.tippspiel-playercard-matchday-table .tippspiel-num {
    text-align: center !important;
}

.tippspiel-playercard-placements-table td:last-child.tippspiel-num,
.tippspiel-playercard-matchday-table td:last-child.tippspiel-num {
    text-align: right !important;
}


/* playercard placement mobile layout fix v1.9.85 */
.tippspiel-playercard-placements-table,
.tippspiel-playercard-matchday-table {
    width: 100%;
    border-collapse: collapse;
}

.tippspiel-playercard-placements-table th,
.tippspiel-playercard-placements-table td,
.tippspiel-playercard-matchday-table th,
.tippspiel-playercard-matchday-table td {
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
}

.tippspiel-playercard-placements-table th:first-child,
.tippspiel-playercard-placements-table td:first-child {
    text-align: left !important;
}

.tippspiel-playercard-placements-table th:last-child,
.tippspiel-playercard-placements-table td:last-child,
.tippspiel-playercard-matchday-table th:last-child,
.tippspiel-playercard-matchday-table td:last-child {
    text-align: right !important;
}

.tippspiel-playercard-placements-table tr.tippspiel-rank-gold > td,
.tippspiel-playercard-matchday-table tr.tippspiel-rank-gold > td {
    background: #fff6d6 !important;
}

.tippspiel-playercard-placements-table tr.tippspiel-rank-silver > td,
.tippspiel-playercard-matchday-table tr.tippspiel-rank-silver > td {
    background: #f2f4f7 !important;
}

.tippspiel-playercard-placements-table tr.tippspiel-rank-bronze > td,
.tippspiel-playercard-matchday-table tr.tippspiel-rank-bronze > td {
    background: #f6e2d3 !important;
}

@media (max-width: 768px) {
    .tippspiel-playercard-placements-table,
    .tippspiel-playercard-matchday-table {
        min-width: 640px;
        table-layout: auto !important;
    }

    .tippspiel-playercard-placements-table th,
    .tippspiel-playercard-placements-table td,
    .tippspiel-playercard-matchday-table th,
    .tippspiel-playercard-matchday-table td {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tippspiel-playercard-placements-table th:first-child,
    .tippspiel-playercard-placements-table td:first-child {
        min-width: 190px;
    }
}


/* playercard placement width hard fix v1.9.86 */
.tippspiel-playercard-placements-table,
.tippspiel-playercard-matchday-table {
    width: 100% !important;
    border-collapse: collapse;
    table-layout: fixed !important;
}

.tippspiel-playercard-placements-table th,
.tippspiel-playercard-placements-table td,
.tippspiel-playercard-matchday-table th,
.tippspiel-playercard-matchday-table td {
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* Haupttabelle: Saison breit, Rest gleichmäßig */
.tippspiel-playercard-placements-table th:nth-child(1),
.tippspiel-playercard-placements-table td:nth-child(1) {
    width: 36% !important;
    min-width: 260px !important;
    text-align: left !important;
}

.tippspiel-playercard-placements-table th:nth-child(2),
.tippspiel-playercard-placements-table td:nth-child(2) {
    width: 10% !important;
}

.tippspiel-playercard-placements-table th:nth-child(3),
.tippspiel-playercard-placements-table td:nth-child(3) {
    width: 11% !important;
}

.tippspiel-playercard-placements-table th:nth-child(4),
.tippspiel-playercard-placements-table td:nth-child(4),
.tippspiel-playercard-placements-table th:nth-child(5),
.tippspiel-playercard-placements-table td:nth-child(5),
.tippspiel-playercard-placements-table th:nth-child(6),
.tippspiel-playercard-placements-table td:nth-child(6) {
    width: 8% !important;
}

.tippspiel-playercard-placements-table th:nth-child(7),
.tippspiel-playercard-placements-table td:nth-child(7) {
    width: 11% !important;
    text-align: right !important;
    padding-right: 18px !important;
}

/* Untertabelle: komplett zentriert, Punkte rechts */
.tippspiel-playercard-matchday-table th:nth-child(1),
.tippspiel-playercard-matchday-table td:nth-child(1),
.tippspiel-playercard-matchday-table th:nth-child(2),
.tippspiel-playercard-matchday-table td:nth-child(2),
.tippspiel-playercard-matchday-table th:nth-child(3),
.tippspiel-playercard-matchday-table td:nth-child(3) {
    width: 14% !important;
}

.tippspiel-playercard-matchday-table th:nth-child(4),
.tippspiel-playercard-matchday-table td:nth-child(4),
.tippspiel-playercard-matchday-table th:nth-child(5),
.tippspiel-playercard-matchday-table td:nth-child(5),
.tippspiel-playercard-matchday-table th:nth-child(6),
.tippspiel-playercard-matchday-table td:nth-child(6) {
    width: 12% !important;
}

.tippspiel-playercard-matchday-table th:nth-child(7),
.tippspiel-playercard-matchday-table td:nth-child(7) {
    width: 18% !important;
    text-align: right !important;
    padding-right: 18px !important;
}

.tippspiel-placement-season-cell {
    display: table-cell !important;
}

.tippspiel-placement-toggle {
    flex: 0 0 auto;
    margin-right: 8px !important;
}

/* Farben sicher nach allen anderen Tabellenregeln */
.tippspiel-playercard-placements-table tbody tr.tippspiel-rank-gold > td,
.tippspiel-playercard-matchday-table tbody tr.tippspiel-rank-gold > td {
    background: #fff6d6 !important;
}

.tippspiel-playercard-placements-table tbody tr.tippspiel-rank-silver > td,
.tippspiel-playercard-matchday-table tbody tr.tippspiel-rank-silver > td {
    background: #f2f4f7 !important;
}

.tippspiel-playercard-placements-table tbody tr.tippspiel-rank-bronze > td,
.tippspiel-playercard-matchday-table tbody tr.tippspiel-rank-bronze > td {
    background: #f6e2d3 !important;
}

@media (max-width: 768px) {
    .tippspiel-playercard-placements-table {
        min-width: 720px !important;
    }

    .tippspiel-playercard-matchday-table {
        min-width: 620px !important;
    }
}


/* teamcard v1.9.87 */
.tippspiel-teamcard-note {
    margin: 14px 0 0;
}

.tippspiel-teamcard-season-table,
.tippspiel-teamcard-match-table {
    width: 100%;
    border-collapse: collapse;
}

.tippspiel-teamcard-season-table th,
.tippspiel-teamcard-season-table td,
.tippspiel-teamcard-match-table th,
.tippspiel-teamcard-match-table td {
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
}

.tippspiel-teamcard-season-table th:first-child,
.tippspiel-teamcard-season-table td:first-child,
.tippspiel-teamcard-match-table th:nth-child(2),
.tippspiel-teamcard-match-table td:nth-child(2) {
    text-align: left !important;
}

.tippspiel-teamcard-season-table th:last-child,
.tippspiel-teamcard-season-table td:last-child,
.tippspiel-teamcard-match-table th:last-child,
.tippspiel-teamcard-match-table td:last-child {
    text-align: right !important;
}

.tippspiel-teamcard-mini-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

.tippspiel-teamcard-link {
    text-decoration: none;
}

.tippspiel-teamcard-link:hover,
.tippspiel-teamcard-link:focus {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tippspiel-teamcard-season-table {
        min-width: 720px;
    }

    .tippspiel-teamcard-match-table {
        min-width: 760px;
    }
}


/* teamcard card style v1.9.89 */
.tippspiel-teamcard {
    max-width: 1180px;
    margin: 0 auto;
}

.tippspiel-teamcard .tippspiel-playercard-card {
    background: #fff;
    border: 1px solid #d9e4f2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 35, 70, .08);
    overflow: hidden;
}

.tippspiel-teamcard-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
    border-bottom: 1px solid #e6edf7;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.tippspiel-teamcard-avatar {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    border-radius: 18px;
    background: #f3f7fc;
    border: 1px solid #d9e4f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tippspiel-teamcard-avatar img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.tippspiel-teamcard .tippspiel-playercard-title h1 {
    margin: 0 0 6px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    color: #244a9b;
}

.tippspiel-teamcard .tippspiel-playercard-title p {
    margin: 0;
    color: #53657d;
    font-size: 1.05rem;
}

.tippspiel-teamcard-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid #e6edf7;
}

.tippspiel-teamcard-info > div {
    background: #f7faff;
    border: 1px solid #d9e4f2;
    border-radius: 14px;
    padding: 16px;
}

.tippspiel-teamcard-info span {
    display: block;
    color: #53657d;
    font-size: .95rem;
    margin-bottom: 6px;
}

.tippspiel-teamcard-info strong {
    display: block;
    color: #08224a;
    font-size: 1.18rem;
}

.tippspiel-teamcard-note {
    margin: 20px 28px 0 !important;
    padding: 12px 14px;
    border-left: 5px solid #244a9b;
    border-radius: 12px;
    background: #f3f7ff;
}

.tippspiel-teamcard .tippspiel-playercard-section {
    padding: 24px 28px 30px;
}

.tippspiel-teamcard .tippspiel-playercard-section h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    .tippspiel-teamcard-header {
        align-items: flex-start;
        padding: 22px 18px;
    }

    .tippspiel-teamcard-avatar {
        width: 84px;
        height: 84px;
        flex-basis: 84px;
    }

    .tippspiel-teamcard-avatar img {
        width: 66px;
        height: 66px;
    }

    .tippspiel-teamcard-info {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .tippspiel-teamcard-note {
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    .tippspiel-teamcard .tippspiel-playercard-section {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* teamcard hard external v1.9.90 - fallback lives in template */


/* teamcard match table tip fix v1.9.91 */
.tippspiel-teamcard-match-table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse;
}

.tippspiel-teamcard-match-table th,
.tippspiel-teamcard-match-table td {
    padding: 10px 12px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.tippspiel-teamcard-match-table th:nth-child(1),
.tippspiel-teamcard-match-table td:nth-child(1) {
    width: 90px;
    text-align: center !important;
}

.tippspiel-teamcard-match-table th:nth-child(2),
.tippspiel-teamcard-match-table td:nth-child(2) {
    text-align: left !important;
    min-width: 320px;
}

.tippspiel-teamcard-match-table th:nth-child(n+3),
.tippspiel-teamcard-match-table td:nth-child(n+3) {
    text-align: center !important;
    width: 110px;
}

.tippspiel-teamcard-match-table th:last-child,
.tippspiel-teamcard-match-table td:last-child {
    text-align: right !important;
}

.tippspiel-teamcard-match-table a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.tippspiel-teamcard-match-table a:hover,
.tippspiel-teamcard-match-table a:focus {
    text-decoration: underline;
}

.tippspiel-teamcard-mini-logo {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
}


/* teamcard stats clean subtable v1.9.93 */
.tippspiel-teamcard-tipper-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid #e6edf7;
}

.tippspiel-teamcard-tipper-stats > div {
    background: #f7faff;
    border: 1px solid #d9e4f2;
    border-radius: 14px;
    padding: 14px 16px;
}

.tippspiel-teamcard-tipper-stats span {
    display: block;
    color: #53657d;
    font-size: .92rem;
    margin-bottom: 6px;
}

.tippspiel-teamcard-tipper-stats strong {
    color: #08224a;
    font-size: 1.35rem;
}

.tippspiel-teamcard .tippspiel-placement-details > td {
    background: #f8fbff !important;
    padding: 14px !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    font-size: .94rem;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th,
.tippspiel-teamcard .tippspiel-teamcard-match-table td {
    padding: 12px 14px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #d7dee8;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th {
    background: #edf2f8 !important;
    border-bottom: 2px solid #1f2937 !important;
    font-weight: 800 !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(1),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(1) {
    width: 10%;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(2),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(2) {
    width: 44%;
    text-align: left !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(n+3),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(n+3) {
    width: 11.5%;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table a {
    display: inline !important;
    text-decoration: none;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .tippspiel-teamcard-tipper-stats {
        grid-template-columns: 1fr 1fr;
        padding: 18px;
    }

    .tippspiel-teamcard .tippspiel-teamcard-match-table {
        min-width: 760px !important;
    }
}


/* teamcard final visual fix v1.9.94 */
.tippspiel-teamcard .tippspiel-teamcard-tipper-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 22px 28px !important;
    border-bottom: 1px solid #e6edf7 !important;
}
.tippspiel-teamcard .tippspiel-teamcard-tipper-stats > div {
    display: block !important;
    background: #f7faff !important;
    border: 1px solid #d9e4f2 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    min-height: 76px !important;
}
.tippspiel-teamcard .tippspiel-teamcard-tipper-stats span {
    display: block !important;
    color: #53657d !important;
    font-size: .95rem !important;
    margin: 0 0 7px !important;
    line-height: 1.2 !important;
}
.tippspiel-teamcard .tippspiel-teamcard-tipper-stats strong {
    display: block !important;
    color: #08224a !important;
    font-size: 1.45rem !important;
    line-height: 1.15 !important;
}
.tippspiel-teamcard .tippspiel-teamcard-season-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}
.tippspiel-teamcard .tippspiel-teamcard-season-table th,
.tippspiel-teamcard .tippspiel-teamcard-season-table td {
    padding: 12px 14px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}
.tippspiel-teamcard .tippspiel-teamcard-season-table th:first-child,
.tippspiel-teamcard .tippspiel-teamcard-season-table td:first-child {
    width: 34% !important;
    text-align: left !important;
}
.tippspiel-teamcard .tippspiel-teamcard-season-table th:last-child,
.tippspiel-teamcard .tippspiel-teamcard-season-table td:last-child {
    text-align: right !important;
}
.tippspiel-teamcard .tippspiel-placement-details > td {
    background: #f8fbff !important;
    padding: 14px !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    font-size: .94rem !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table th,
.tippspiel-teamcard .tippspiel-teamcard-match-table td {
    padding: 12px 14px !important;
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    border-bottom: 1px solid #d7dee8 !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table th {
    background: #edf2f8 !important;
    border-bottom: 2px solid #1f2937 !important;
    font-weight: 800 !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(1),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(1) {
    width: 10% !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(2),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(2) {
    width: 44% !important;
    text-align: left !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(n+3),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(n+3) {
    width: 11.5% !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    text-decoration: none !important;
}
.tippspiel-teamcard .tippspiel-teamcard-match-table a:hover {
    text-decoration: underline !important;
}
.tippspiel-teamcard .tippspiel-teamcard-mini-logo {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
@media (max-width: 768px) {
    .tippspiel-teamcard .tippspiel-teamcard-tipper-stats {
        grid-template-columns: 1fr 1fr !important;
        padding: 18px !important;
    }
    .tippspiel-teamcard .tippspiel-teamcard-season-table {
        min-width: 720px !important;
    }
    .tippspiel-teamcard .tippspiel-teamcard-match-table {
        min-width: 820px !important;
    }
}


/* Teamcard mobile table fix */
.tippspiel-teamcard-match-wrapper{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    width:100%;
}
.tippspiel-teamcard-match-table tbody tr:nth-child(odd){
    background:#ffffff;
}
.tippspiel-teamcard-match-table tbody tr:nth-child(even){
    background:#f7f9fc;
}
.tippspiel-teamcard-match-table tbody tr:hover{
    background:#d7e9ff;
}
@media (max-width:768px){
    .tippspiel-teamcard-match-table{
        min-width:850px !important;
    }
}


/* teamcard scroll sticky fix v1.9.95 */
.tippspiel-teamcard-season-wrapper,
.tippspiel-teamcard-match-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
}

.tippspiel-teamcard .tippspiel-teamcard-season-table,
.tippspiel-teamcard .tippspiel-teamcard-match-table {
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.tippspiel-teamcard .tippspiel-teamcard-season-table {
    min-width: 760px !important;
    width: 100% !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table {
    min-width: 900px !important;
    width: 100% !important;
}

.tippspiel-teamcard .tippspiel-teamcard-season-table thead th,
.tippspiel-teamcard .tippspiel-teamcard-match-table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 8 !important;
    background: #edf2f8 !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:first-child,
.tippspiel-teamcard .tippspiel-teamcard-match-table td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 7 !important;
    background: inherit !important;
    box-shadow: 1px 0 0 rgba(0,0,0,.08) !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table thead th:first-child {
    z-index: 10 !important;
    background: #edf2f8 !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table tbody tr:nth-child(odd) td {
    background: #ffffff !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table tbody tr:nth-child(even) td {
    background: #f7f9fc !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table tbody tr:hover td {
    background: #d7e9ff !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table tbody tr:nth-child(odd) td:first-child {
    background: #ffffff !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table tbody tr:nth-child(even) td:first-child {
    background: #f7f9fc !important;
}

.tippspiel-teamcard .tippspiel-teamcard-season-table th:first-child,
.tippspiel-teamcard .tippspiel-teamcard-season-table td:first-child {
    min-width: 260px !important;
    width: 34% !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:first-child,
.tippspiel-teamcard .tippspiel-teamcard-match-table td:first-child {
    width: 95px !important;
    min-width: 95px !important;
    text-align: center !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(2),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(2) {
    width: 430px !important;
    min-width: 430px !important;
    text-align: left !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table th:nth-child(n+3),
.tippspiel-teamcard .tippspiel-teamcard-match-table td:nth-child(n+3) {
    width: 120px !important;
    min-width: 120px !important;
    text-align: center !important;
}


/* teamcard separator + stats tournament fix v1.9.96 */
.tippspiel-teamcard .tippspiel-teamcard-pairing-separator {
    display: inline-block !important;
    margin: 0 7px !important;
    color: #53657d !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table a {
    text-decoration: none !important;
}

.tippspiel-teamcard .tippspiel-teamcard-match-table a:hover,
.tippspiel-teamcard .tippspiel-teamcard-match-table a:focus {
    text-decoration: underline !important;
}


/* teamcard total + season stats v1.9.98 */
.tippspiel-teamcard-stats-title {
    margin: 22px 28px 10px !important;
    font-size: 1.35rem !important;
    color: #244a9b !important;
}

.tippspiel-teamcard-season-stats-title {
    margin-top: 6px !important;
}

.tippspiel-teamcard .tippspiel-teamcard-season-stats {
    padding-top: 0 !important;
}



/* rules view style fix v1.9.99 */
.tippspiel-rules {
    max-width: 1180px;
    margin: 0 auto;
}

.tippspiel-rules > h1 {
    margin-bottom: 22px;
    color: #244a9b;
}

.tippspiel-rules .tippspiel-filter {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tippspiel-rules .tippspiel-filter > div {
    min-width: 220px;
}

.tippspiel-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tippspiel-rules-card {
    background: #fff;
    border: 1px solid #d9e4f2;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 35, 70, .08);
    padding: 22px 24px;
}

.tippspiel-rules-card-wide {
    grid-column: 1 / -1;
}

.tippspiel-rules-card h2 {
    margin: 0 0 14px;
    color: #244a9b;
    font-size: 1.55rem;
}

.tippspiel-rules-card p {
    margin: 0 0 12px;
}

.tippspiel-rules-card p:last-child {
    margin-bottom: 0;
}

.tippspiel-rules-list {
    margin-bottom: 0;
}

.tippspiel-rules-table {
    width: 100%;
    border-collapse: collapse;
}

.tippspiel-rules-table th,
.tippspiel-rules-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #d7dee8;
    vertical-align: middle;
}

.tippspiel-rules-table th {
    text-align: left;
    color: #08224a;
    font-weight: 800;
}

.tippspiel-rules-table td {
    text-align: right;
    font-weight: 800;
}

.tippspiel-rules-round-table {
    width: 100%;
}

.tippspiel-rules-round-table th,
.tippspiel-rules-round-table td {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .tippspiel-rules-grid {
        grid-template-columns: 1fr;
    }

    .tippspiel-rules-card {
        padding: 18px;
    }

    .tippspiel-rules .tippspiel-filter {
        display: block;
    }

    .tippspiel-rules .tippspiel-filter > div {
        margin-bottom: 12px;
        min-width: 0;
    }

    .tippspiel-rules-round-table {
        min-width: 620px;
    }
}



/* Mobile spacing fix for rules view */
@media (max-width: 768px){
    .tippspiel-rules{
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .tippspiel-rules-card{
        padding:20px 18px !important;
    }

    .tippspiel-rules-card h2{
        font-size:2rem !important;
        line-height:1.15 !important;
        word-break:normal !important;
    }

    .tippspiel-rules-card p,
    .tippspiel-rules-card li,
    .tippspiel-rules-card td,
    .tippspiel-rules-card th{
        padding-right:10px !important;
    }

    .tippspiel-table-wrap,
    .tippspiel-rules-table{
        margin-right:6px !important;
    }
}


/* rules mobile balanced spacing fix v1.9.101 */
@media (max-width: 768px) {
    .tippspiel-rules {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .tippspiel-rules > h1 {
        font-size: 2.15rem !important;
        line-height: 1.12 !important;
        margin: 0 0 18px !important;
    }

    .tippspiel-rules-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 14px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
    }

    .tippspiel-rules-card h2 {
        font-size: 1.85rem !important;
        line-height: 1.14 !important;
        margin-bottom: 14px !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .tippspiel-rules-card p,
    .tippspiel-rules-card li {
        font-size: 1rem !important;
        line-height: 1.55 !important;
        padding-right: 0 !important;
        text-align: left !important;
        word-spacing: normal !important;
    }

    .tippspiel-rules-table {
        width: 100% !important;
        table-layout: auto !important;
        margin: 0 !important;
    }

    .tippspiel-rules-table th,
    .tippspiel-rules-table td {
        padding: 11px 8px !important;
        font-size: .98rem !important;
        line-height: 1.25 !important;
        padding-right: 8px !important;
    }

    .tippspiel-rules-table td:last-child,
    .tippspiel-rules-table th:last-child {
        text-align: right !important;
        padding-right: 4px !important;
        white-space: nowrap !important;
    }

    .tippspiel-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .tippspiel-filter {
        margin-bottom: 22px !important;
    }
}



/* Mobile spacing optimization */
@media (max-width: 768px) {
    .tippspiel-matches,
    .tippspiel-matchday-container,
    .tippspiel-games-wrapper,
    .tippspiel-games,
    .tippspiel-tipping-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .tippspiel-match-card,
    .match-card,
    .tippspiel-game-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}


/* playercard team/group links v1.9.105 */
.tippspiel-playercard-info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit !important;
    text-decoration: none !important;
}

.tippspiel-playercard-info-link:hover,
.tippspiel-playercard-info-link:focus {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

.tippspiel-playercard-info-link img {
    flex: 0 0 auto;
}



/* teamcard text alignment fix v1.9.106 */
.tippspiel-teamcard .tippspiel-teamcard-stats-title {
    margin-left: 36px !important;
    margin-right: 36px !important;
}

.tippspiel-teamcard .tippspiel-teamcard-stats-subtitle {
    padding-left: 36px !important;
    padding-right: 36px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .tippspiel-teamcard .tippspiel-teamcard-stats-title {
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    .tippspiel-teamcard .tippspiel-teamcard-stats-subtitle {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}


/* playercard team stats v1.9.107 */
.tippspiel-playercard-section-toggle {
    width: 28px;
    height: 28px;
    border: 1px solid #b9cbe4;
    border-radius: 50%;
    background: #f7fbff;
    color: #244a9b;
    font-weight: 800;
    line-height: 1;
    margin-right: 8px;
}

.tippspiel-playercard-teamstats-table {
    width: 100%;
    border-collapse: collapse;
}

.tippspiel-playercard-teamstats-table th,
.tippspiel-playercard-teamstats-table td {
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
}

.tippspiel-playercard-teamstats-table th:first-child,
.tippspiel-playercard-teamstats-table td:first-child {
    text-align: left !important;
}

.tippspiel-playercard-teamstats-table tbody tr:nth-child(odd) td {
    background: #fff;
}

.tippspiel-playercard-teamstats-table tbody tr:nth-child(even) td {
    background: #f7f9fc;
}

.tippspiel-playercard-teamstats-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.tippspiel-playercard-teamstats-link:hover,
.tippspiel-playercard-teamstats-link:focus {
    text-decoration: underline;
}

.tippspiel-playercard-teamstats-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .tippspiel-playercard-teamstats-table {
        min-width: 720px;
    }
}



/* playercard team stats all tournaments v1.9.109 */
.tippspiel-playercard-teamstats-section h2 small {
    font-size: .55em;
    color: #53657d;
    font-weight: 600;
}



/* playercard teamstats accordion fix v1.9.110 */
.tippspiel-playercard-teamstats-section .tippspiel-playercard-collapsible:not([hidden]) {
    display: block !important;
}

.tippspiel-playercard-teamstats-section .tippspiel-placement-toggle,
.tippspiel-playercard-teamstats-section .tippspiel-playercard-section-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin-right: 10px !important;
    border: 1px solid #b9cbe4 !important;
    border-radius: 50% !important;
    background: #f7fbff !important;
    color: #244a9b !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.tippspiel-playercard-teamstats-section h2 {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}



/* playercard accordion repair v1.9.111 */
.tippspiel-playercard-collapsible:not([hidden]),
.tippspiel-placement-details:not([hidden]) {
    display: table-row;
}
div.tippspiel-playercard-collapsible:not([hidden]) {
    display: block !important;
}
.tippspiel-playercard-teamstats-section .tippspiel-playercard-collapsible:not([hidden]) {
    display: block !important;
}


/* playercard single accordion toggle v1.9.112 */
tr.tippspiel-placement-details:not([hidden]) {
    display: table-row !important;
}

div.tippspiel-playercard-collapsible:not([hidden]) {
    display: block !important;
}

.tippspiel-playercard-teamstats-section h2 {
    display: flex !important;
    align-items: center !important;
}




/* tippspiel scoped lighter table colors v1.9.117 */
.tippspiel-table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):not(.tippspiel-own-row) > td,
.tippspiel-table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):not(.tippspiel-own-row) > th {
    background: #ffffff !important;
}

.tippspiel-table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):not(.tippspiel-own-row) > td,
.tippspiel-table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):not(.tippspiel-own-row) > th {
    background: #eef5fc !important;
}

.tippspiel-table tbody tr:not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):not(.tippspiel-own-row):hover > td,
.tippspiel-table tbody tr:not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):not(.tippspiel-own-row):hover > th {
    background: #eef4ff !important;
}


/* rank colors restore v1.9.127 */
.tippspiel tr.tippspiel-rank-gold > th,
.tippspiel tr.tippspiel-rank-gold > td,
.tippspiel tr.rank-1 > th,
.tippspiel tr.rank-1 > td,
.tippspiel tr.tp-rank-1 > th,
.tippspiel tr.tp-rank-1 > td,
.tippspiel tr.is-rank-1 > th,
.tippspiel tr.is-rank-1 > td,
.tippspiel tr[data-rank="1"] > th,
.tippspiel tr[data-rank="1"] > td {
    background: #fff3bf !important;
}

.tippspiel tr.tippspiel-rank-silver > th,
.tippspiel tr.tippspiel-rank-silver > td,
.tippspiel tr.rank-2 > th,
.tippspiel tr.rank-2 > td,
.tippspiel tr.tp-rank-2 > th,
.tippspiel tr.tp-rank-2 > td,
.tippspiel tr.is-rank-2 > th,
.tippspiel tr.is-rank-2 > td,
.tippspiel tr[data-rank="2"] > th,
.tippspiel tr[data-rank="2"] > td {
    background: #e9edf3 !important;
}

.tippspiel tr.tippspiel-rank-bronze > th,
.tippspiel tr.tippspiel-rank-bronze > td,
.tippspiel tr.rank-3 > th,
.tippspiel tr.rank-3 > td,
.tippspiel tr.tp-rank-3 > th,
.tippspiel tr.tp-rank-3 > td,
.tippspiel tr.is-rank-3 > th,
.tippspiel tr.is-rank-3 > td,
.tippspiel tr[data-rank="3"] > th,
.tippspiel tr[data-rank="3"] > td {
    background: #ead6c1 !important;
}

.tippspiel tr.tippspiel-own-row > th,
.tippspiel tr.tippspiel-own-row > td {
    outline: 2px solid #ff9f2e;
    outline-offset: -2px;
}


/* Hover heller blau, Silber deutlicher abgesetzt */
.tippspiel table tbody tr:hover td,
.tippspiel table tbody tr:hover th,
.tippspiel .tippspiel-table tbody tr:hover td,
.tippspiel .tippspiel-table tbody tr:hover th {
    background: #d7e9ff !important;
}

/* Silber etwas dunkler als Standardzeilen */
.tippspiel tr.tippspiel-rank-silver > td,
.tippspiel tr.tippspiel-rank-silver > th,
.tippspiel tr.rank-2 > td,
.tippspiel tr.rank-2 > th,
.tippspiel tr[data-rank="2"] > td,
.tippspiel tr[data-rank="2"] > th {
    background: #dde3eb !important;
}


/* Zebra-Tabellen für bessere Lesbarkeit */
.tippspiel table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) td,
.tippspiel table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) th {
    background:#ffffff !important;
}

.tippspiel table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) td,
.tippspiel table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) th {
    background:#eef5fc !important;
}

/* Hover */
.tippspiel table tbody tr:hover td,
.tippspiel table tbody tr:hover th {
    background:#d7e9ff !important;
}

/* Platzierungen behalten Vorrang */
.tippspiel-rank-gold td,
.tippspiel-rank-gold th { background:#fff3bf !important; }

.tippspiel-rank-silver td,
.tippspiel-rank-silver th { background:#dde3eb !important; }

.tippspiel-rank-bronze td,
.tippspiel-rank-bronze th { background:#ead6c1 !important; }


/* zebra rows force v1.9.128 */
.tippspiel table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > td,
.tippspiel table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > th,
.tippspiel table.table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > td,
.tippspiel table.table tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > th,
.tippspiel table.table-striped tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > td,
.tippspiel table.table-striped tbody tr:nth-child(odd):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > th {
    background-color: #ffffff !important;
    background: #ffffff !important;
    --bs-table-bg: #ffffff !important;
    --bs-table-striped-bg: #ffffff !important;
    --bs-table-accent-bg: #ffffff !important;
}

.tippspiel table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > td,
.tippspiel table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > th,
.tippspiel table.table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > td,
.tippspiel table.table tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > th,
.tippspiel table.table-striped tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > td,
.tippspiel table.table-striped tbody tr:nth-child(even):not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze) > th {
    background-color: #eef5fc !important;
    background: #eef5fc !important;
    --bs-table-bg: #eef5fc !important;
    --bs-table-striped-bg: #eef5fc !important;
    --bs-table-accent-bg: #eef5fc !important;
}

.tippspiel table tbody tr:not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):hover > td,
.tippspiel table tbody tr:not(.tippspiel-rank-gold):not(.tippspiel-rank-silver):not(.tippspiel-rank-bronze):hover > th {
    background-color: #d7e9ff !important;
    background: #d7e9ff !important;
    --bs-table-bg: #d7e9ff !important;
    --bs-table-striped-bg: #d7e9ff !important;
    --bs-table-accent-bg: #d7e9ff !important;
}

.tippspiel tr.tippspiel-rank-gold > td,
.tippspiel tr.tippspiel-rank-gold > th {
    background-color: #fff3bf !important;
    background: #fff3bf !important;
    --bs-table-bg: #fff3bf !important;
    --bs-table-striped-bg: #fff3bf !important;
    --bs-table-accent-bg: #fff3bf !important;
}

.tippspiel tr.tippspiel-rank-silver > td,
.tippspiel tr.tippspiel-rank-silver > th {
    background-color: #dde3eb !important;
    background: #dde3eb !important;
    --bs-table-bg: #dde3eb !important;
    --bs-table-striped-bg: #dde3eb !important;
    --bs-table-accent-bg: #dde3eb !important;
}

.tippspiel tr.tippspiel-rank-bronze > td,
.tippspiel tr.tippspiel-rank-bronze > th {
    background-color: #ead6c1 !important;
    background: #ead6c1 !important;
    --bs-table-bg: #ead6c1 !important;
    --bs-table-striped-bg: #ead6c1 !important;
    --bs-table-accent-bg: #ead6c1 !important;
}

.tippspiel tr.tippspiel-zebra-odd > td,
.tippspiel tr.tippspiel-zebra-odd > th {
    background-color: #ffffff !important;
    background: #ffffff !important;
    --bs-table-bg: #ffffff !important;
    --bs-table-striped-bg: #ffffff !important;
    --bs-table-accent-bg: #ffffff !important;
}
.tippspiel tr.tippspiel-zebra-even > td,
.tippspiel tr.tippspiel-zebra-even > th {
    background-color: #eef5fc !important;
    background: #eef5fc !important;
    --bs-table-bg: #eef5fc !important;
    --bs-table-striped-bg: #eef5fc !important;
    --bs-table-accent-bg: #eef5fc !important;
}


/* sticky tips overview table v1.9.129 */
.tippspiel .tippspiel-peer-tips-wrap,
.tippspiel .tippspiel-tips-overview-wrap,
.tippspiel .tippspiel-other-tips-wrap,
.tippspiel .tippspiel-table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mitspieler-Tipps: Kopfzeile oben fixieren */
.tippspiel table.tippspiel-peer-tips-table thead th,
.tippspiel table.tippspiel-tips-overview-table thead th,
.tippspiel table.tippspiel-other-tips-table thead th,
.tippspiel .tippspiel-peer-tips thead th,
.tippspiel .tippspiel-other-tips thead th,
.tippspiel .tippspiel-tips-overview thead th {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #2f94cf !important;
    background-color: #2f94cf !important;
}

/* Falls die Tippverteilung in tbody/th sitzt */
.tippspiel table.tippspiel-peer-tips-table tbody tr:first-child th,
.tippspiel table.tippspiel-tips-overview-table tbody tr:first-child th,
.tippspiel table.tippspiel-other-tips-table tbody tr:first-child th,
.tippspiel .tippspiel-peer-tips tbody tr:first-child th,
.tippspiel .tippspiel-other-tips tbody tr:first-child th,
.tippspiel .tippspiel-tips-overview tbody tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 30;
}

/* Erste Spalte mit Namen links fixieren */
.tippspiel table.tippspiel-peer-tips-table th:first-child,
.tippspiel table.tippspiel-peer-tips-table td:first-child,
.tippspiel table.tippspiel-tips-overview-table th:first-child,
.tippspiel table.tippspiel-tips-overview-table td:first-child,
.tippspiel table.tippspiel-other-tips-table th:first-child,
.tippspiel table.tippspiel-other-tips-table td:first-child,
.tippspiel .tippspiel-peer-tips th:first-child,
.tippspiel .tippspiel-peer-tips td:first-child,
.tippspiel .tippspiel-other-tips th:first-child,
.tippspiel .tippspiel-other-tips td:first-child,
.tippspiel .tippspiel-tips-overview th:first-child,
.tippspiel .tippspiel-tips-overview td:first-child {
    position: sticky;
    left: 0;
    z-index: 25;
    min-width: 210px;
    max-width: 280px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 2px 0 0 rgba(8, 43, 95, .08);
}

/* Zebra auch in der fixierten Namensspalte */
.tippspiel table.tippspiel-peer-tips-table tbody tr:nth-child(even) td:first-child,
.tippspiel table.tippspiel-tips-overview-table tbody tr:nth-child(even) td:first-child,
.tippspiel table.tippspiel-other-tips-table tbody tr:nth-child(even) td:first-child,
.tippspiel .tippspiel-peer-tips tbody tr:nth-child(even) td:first-child,
.tippspiel .tippspiel-other-tips tbody tr:nth-child(even) td:first-child,
.tippspiel .tippspiel-tips-overview tbody tr:nth-child(even) td:first-child {
    background: #eef5fc !important;
    background-color: #eef5fc !important;
}

/* Linke obere Ecke: gleichzeitig sticky oben und links */
.tippspiel table.tippspiel-peer-tips-table thead th:first-child,
.tippspiel table.tippspiel-tips-overview-table thead th:first-child,
.tippspiel table.tippspiel-other-tips-table thead th:first-child,
.tippspiel .tippspiel-peer-tips thead th:first-child,
.tippspiel .tippspiel-other-tips thead th:first-child,
.tippspiel .tippspiel-tips-overview thead th:first-child,
.tippspiel table.tippspiel-peer-tips-table tbody tr:first-child th:first-child,
.tippspiel table.tippspiel-tips-overview-table tbody tr:first-child th:first-child,
.tippspiel table.tippspiel-other-tips-table tbody tr:first-child th:first-child,
.tippspiel .tippspiel-peer-tips tbody tr:first-child th:first-child,
.tippspiel .tippspiel-other-tips tbody tr:first-child th:first-child,
.tippspiel .tippspiel-tips-overview tbody tr:first-child th:first-child {
    left: 0;
    z-index: 50;
    background: #2f94cf !important;
    background-color: #2f94cf !important;
    box-shadow: 2px 0 0 rgba(8, 43, 95, .12);
}

/* Generischer Fallback für Tabellen im Bereich "Tipps der Mitspieler" */
.tippspiel .tippspiel-peers-table thead th,
.tippspiel .tippspiel-peers-table tbody tr:first-child th {
    position: sticky;
    top: 0;
    z-index: 30;
}

.tippspiel .tippspiel-peers-table th:first-child,
.tippspiel .tippspiel-peers-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 25;
    min-width: 210px;
    background: #ffffff !important;
    box-shadow: 2px 0 0 rgba(8, 43, 95, .08);
}

.tippspiel .tippspiel-peers-table thead th:first-child,
.tippspiel .tippspiel-peers-table tbody tr:first-child th:first-child {
    z-index: 50;
}

/* Handy: erste Spalte etwas schmaler */
@media (max-width: 768px) {
    .tippspiel table.tippspiel-peer-tips-table th:first-child,
    .tippspiel table.tippspiel-peer-tips-table td:first-child,
    .tippspiel table.tippspiel-tips-overview-table th:first-child,
    .tippspiel table.tippspiel-tips-overview-table td:first-child,
    .tippspiel table.tippspiel-other-tips-table th:first-child,
    .tippspiel table.tippspiel-other-tips-table td:first-child,
    .tippspiel .tippspiel-peer-tips th:first-child,
    .tippspiel .tippspiel-peer-tips td:first-child,
    .tippspiel .tippspiel-other-tips th:first-child,
    .tippspiel .tippspiel-other-tips td:first-child,
    .tippspiel .tippspiel-tips-overview th:first-child,
    .tippspiel .tippspiel-tips-overview td:first-child,
    .tippspiel .tippspiel-peers-table th:first-child,
    .tippspiel .tippspiel-peers-table td:first-child {
        min-width: 150px;
        max-width: 190px;
    }
}


/* public tips sticky header and player column v1.9.130 */
.tippspiel-public-table-wrap {
    overflow: auto !important;
    max-width: 100% !important;
    max-height: 75vh;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.tippspiel-public-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* Kopfzeile fixieren */
.tippspiel-public-table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    background: #2f94cf !important;
    background-color: #2f94cf !important;
}

/* Erste Spalte fixieren */
.tippspiel-public-table .tippspiel-public-player-head,
.tippspiel-public-table .tippspiel-public-player-name {
    position: sticky !important;
    left: 0 !important;
    z-index: 35 !important;
    min-width: 230px !important;
    max-width: 260px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 3px 0 0 rgba(8, 43, 95, .14) !important;
}

/* Ecke oben links muss über allem liegen */
.tippspiel-public-table thead .tippspiel-public-player-head {
    top: 0 !important;
    z-index: 70 !important;
    background: #2f94cf !important;
    background-color: #2f94cf !important;
}

/* Zebra in der fixierten Namensspalte */
.tippspiel-public-table tbody tr:nth-child(even) .tippspiel-public-player-name {
    background: #eef5fc !important;
    background-color: #eef5fc !important;
}

.tippspiel-public-table tbody tr:nth-child(odd) .tippspiel-public-player-name {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Hover auch über die fixierte Namensspalte */
.tippspiel-public-table tbody tr:hover .tippspiel-public-player-name,
.tippspiel-public-table tbody tr:hover td {
    background: #d7e9ff !important;
    background-color: #d7e9ff !important;
}

/* Kleine Anpassung mobil */
@media (max-width: 768px) {
    .tippspiel-public-table-wrap {
        max-height: 72vh;
    }

    .tippspiel-public-table .tippspiel-public-player-head,
    .tippspiel-public-table .tippspiel-public-player-name {
        min-width: 155px !important;
        max-width: 180px !important;
    }
}


/* Fix: Platz-Spalte nicht verbreitern */
.tippspiel-table th:first-child,
.tippspiel-table td:first-child,
.tippspiel-ranking-table th:first-child,
.tippspiel-ranking-table td:first-child{
    width:60px !important;
    min-width:60px !important;
    max-width:60px !important;
}


/* top 3 full-row colors v1.9.131 */
.tippspiel table tbody tr.tippspiel-rank-gold > td,
.tippspiel table tbody tr.tippspiel-rank-gold > th,
.tippspiel table tbody tr.rank-1 > td,
.tippspiel table tbody tr.rank-1 > th,
.tippspiel table tbody tr[data-rank="1"] > td,
.tippspiel table tbody tr[data-rank="1"] > th {
    background: #fff3bf !important;
    background-color: #fff3bf !important;
    --bs-table-bg: #fff3bf !important;
    --bs-table-striped-bg: #fff3bf !important;
    --bs-table-accent-bg: #fff3bf !important;
}

.tippspiel table tbody tr.tippspiel-rank-silver > td,
.tippspiel table tbody tr.tippspiel-rank-silver > th,
.tippspiel table tbody tr.rank-2 > td,
.tippspiel table tbody tr.rank-2 > th,
.tippspiel table tbody tr[data-rank="2"] > td,
.tippspiel table tbody tr[data-rank="2"] > th {
    background: #dde3eb !important;
    background-color: #dde3eb !important;
    --bs-table-bg: #dde3eb !important;
    --bs-table-striped-bg: #dde3eb !important;
    --bs-table-accent-bg: #dde3eb !important;
}

.tippspiel table tbody tr.tippspiel-rank-bronze > td,
.tippspiel table tbody tr.tippspiel-rank-bronze > th,
.tippspiel table tbody tr.rank-3 > td,
.tippspiel table tbody tr.rank-3 > th,
.tippspiel table tbody tr[data-rank="3"] > td,
.tippspiel table tbody tr[data-rank="3"] > th {
    background: #ead6c1 !important;
    background-color: #ead6c1 !important;
    --bs-table-bg: #ead6c1 !important;
    --bs-table-striped-bg: #ead6c1 !important;
    --bs-table-accent-bg: #ead6c1 !important;
}

/* Top-3-Farben müssen auch auf Sticky-Zellen durchschlagen */
.tippspiel table tbody tr.tippspiel-rank-gold > td:first-child,
.tippspiel table tbody tr.tippspiel-rank-gold > th:first-child,
.tippspiel table tbody tr.rank-1 > td:first-child,
.tippspiel table tbody tr.rank-1 > th:first-child,
.tippspiel table tbody tr[data-rank="1"] > td:first-child,
.tippspiel table tbody tr[data-rank="1"] > th:first-child {
    background: #fff3bf !important;
    background-color: #fff3bf !important;
}

.tippspiel table tbody tr.tippspiel-rank-silver > td:first-child,
.tippspiel table tbody tr.tippspiel-rank-silver > th:first-child,
.tippspiel table tbody tr.rank-2 > td:first-child,
.tippspiel table tbody tr.rank-2 > th:first-child,
.tippspiel table tbody tr[data-rank="2"] > td:first-child,
.tippspiel table tbody tr[data-rank="2"] > th:first-child {
    background: #dde3eb !important;
    background-color: #dde3eb !important;
}

.tippspiel table tbody tr.tippspiel-rank-bronze > td:first-child,
.tippspiel table tbody tr.tippspiel-rank-bronze > th:first-child,
.tippspiel table tbody tr.rank-3 > td:first-child,
.tippspiel table tbody tr.rank-3 > th:first-child,
.tippspiel table tbody tr[data-rank="3"] > td:first-child,
.tippspiel table tbody tr[data-rank="3"] > th:first-child {
    background: #ead6c1 !important;
    background-color: #ead6c1 !important;
}


/* group view buttons + Nicepage frontend edit hide v1.9.132 */
.edit-nicepage-button,
a.edit-nicepage-button,
body .edit-nicepage-button {
    display: none !important;
    visibility: hidden !important;
}

.tippspiel-group-tabs {
    margin: 1rem 0 1.35rem;
}

.tippspiel-group-tabs-row,
.tippspiel-group-matchday-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .55rem !important;
    align-items: center !important;
}

.tippspiel-group-tabs-row {
    margin-bottom: .8rem !important;
}

.tippspiel-group-matchday-tabs {
    margin-bottom: 1rem !important;
    padding-top: .15rem;
}

.tippspiel-group-tabs-row a,
.tippspiel-group-matchday-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: .48rem .9rem !important;
    border-radius: 999px !important;
    border: 1px solid #c9d8ed !important;
    background: #f8fbff !important;
    color: #12366e !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(8, 43, 95, .06);
}

.tippspiel-group-tabs-row a.active,
.tippspiel-group-matchday-tabs a.active {
    background: #244a9b !important;
    border-color: #244a9b !important;
    color: #fff !important;
}

.tippspiel-group-tabs-row a:hover,
.tippspiel-group-matchday-tabs a:hover {
    background: #d7e9ff !important;
    color: #082b5f !important;
}

.tippspiel-group-tabs-row a.active:hover,
.tippspiel-group-matchday-tabs a.active:hover {
    background: #1d3f85 !important;
    color: #fff !important;
}

/* group standings must not inherit sticky peer-tip column widths */
.tippspiel-group-standings th:first-child,
.tippspiel-group-standings td:first-child {
    position: static !important;
    width: 62px !important;
    min-width: 62px !important;
    max-width: 62px !important;
}

@media (max-width: 768px) {
    .tippspiel-group-tabs-row,
    .tippspiel-group-matchday-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .25rem;
    }

    .tippspiel-group-tabs-row a,
    .tippspiel-group-matchday-tabs a {
        flex: 0 0 auto !important;
        min-width: 48px !important;
        white-space: nowrap !important;
    }
}


/* Tippverteilung in Mitspieler-Tabelle kompakter / wie normale Ansicht v1.9.133 */
.tippspiel-public-table .tippspiel-public-player-head {
    vertical-align: top !important;
    padding: 12px 12px !important;
}

.tippspiel-public-table .tippspiel-public-player-head > span:first-child {
    display: block;
    margin-bottom: 10px;
    font-weight: 900;
}

.tippspiel-public-table .tippspiel-public-legend {
    display: grid !important;
    grid-template-columns: 68px 1fr;
    align-items: center;
    gap: 10px;
    margin: 6px 0 !important;
    white-space: nowrap;
    font-weight: 500 !important;
}

.tippspiel-public-table .tippspiel-public-legend::before {
    content: "";
    display: block;
    width: 68px;
    height: 18px;
    border-radius: 3px;
}

.tippspiel-public-table .tippspiel-public-legend-home::before {
    background: #31f45f;
}

.tippspiel-public-table .tippspiel-public-legend-draw::before {
    background: #fff34a;
}

.tippspiel-public-table .tippspiel-public-legend-away::before {
    background: #ff4c59;
}

/* Mobile: Tippverteilung schmaler, damit die erste Sticky-Spalte nicht alles überdeckt */
@media (max-width: 768px) {
    .tippspiel-public-table .tippspiel-public-player-head,
    .tippspiel-public-table .tippspiel-public-player-name {
        min-width: 135px !important;
        max-width: 145px !important;
        width: 140px !important;
    }

    .tippspiel-public-table .tippspiel-public-player-head {
        padding: 8px 8px !important;
    }

    .tippspiel-public-table .tippspiel-public-player-head > span:first-child {
        margin-bottom: 7px;
        font-size: .92rem;
    }

    .tippspiel-public-table .tippspiel-public-legend {
        grid-template-columns: 42px 1fr;
        gap: 7px;
        margin: 4px 0 !important;
        font-size: .82rem !important;
        line-height: 1.1 !important;
    }

    .tippspiel-public-table .tippspiel-public-legend::before {
        width: 42px;
        height: 14px;
    }
}


/* public tips table: same compact sticky behavior as normal view v1.9.134 */
.tippspiel-public-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
    border: 1px solid #9fbbc8 !important;
    border-radius: 10px !important;
    background: #fcf0ec !important;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .08) !important;
}

.tippspiel-public-table {
    width: max-content !important;
    min-width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
}

.tippspiel-public-table .tippspiel-public-player-head,
.tippspiel-public-table .tippspiel-public-player-name {
    position: sticky !important;
    left: 0 !important;
    z-index: 45 !important;
    width: 185px !important;
    min-width: 185px !important;
    max-width: 185px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tippspiel-public-table .tippspiel-public-player-head {
    top: 0 !important;
    z-index: 90 !important;
    background: #2f94cf !important;
    background-color: #2f94cf !important;
    padding: 10px 10px !important;
    box-shadow: 3px 0 0 rgba(8, 43, 95, .18) !important;
}

.tippspiel-public-table .tippspiel-public-player-name {
    background: #ffffff !important;
    background-color: #ffffff !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    box-shadow: 3px 0 0 rgba(8, 43, 95, .12) !important;
}

.tippspiel-public-table tbody tr:nth-child(even) .tippspiel-public-player-name {
    background: #eef5fc !important;
    background-color: #eef5fc !important;
}

.tippspiel-public-table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: #2f94cf !important;
    background-color: #2f94cf !important;
}

/* Spielspalten kompakt halten */
.tippspiel-public-table .tippspiel-public-match-head,
.tippspiel-public-table .tippspiel-public-tip-cell {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
    box-sizing: border-box !important;
}

.tippspiel-public-table .tippspiel-public-total-head,
.tippspiel-public-table .tippspiel-public-total-cell {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    box-sizing: border-box !important;
}

/* Tippverteilung in der linken Kopfzelle kompakt */
.tippspiel-public-table .tippspiel-public-player-head > span:first-child {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 900 !important;
}

.tippspiel-public-table .tippspiel-public-legend {
    display: grid !important;
    grid-template-columns: 70px 1fr !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 5px 0 !important;
    white-space: nowrap !important;
    font-size: .86rem !important;
    line-height: 1.1 !important;
}

.tippspiel-public-table .tippspiel-public-legend::before {
    content: "" !important;
    display: block !important;
    width: 70px !important;
    height: 18px !important;
    border-radius: 3px !important;
}

.tippspiel-public-table .tippspiel-public-legend-home::before {
    background: #31f45f !important;
}

.tippspiel-public-table .tippspiel-public-legend-draw::before {
    background: #fff34a !important;
}

.tippspiel-public-table .tippspiel-public-legend-away::before {
    background: #ff4c59 !important;
}

.tippspiel-public-table tbody tr:hover .tippspiel-public-player-name,
.tippspiel-public-table tbody tr:hover td {
    background: #d7e9ff !important;
    background-color: #d7e9ff !important;
}

@media (max-width: 768px) {
    .tippspiel-public-table .tippspiel-public-player-head,
    .tippspiel-public-table .tippspiel-public-player-name {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
    }

    .tippspiel-public-table .tippspiel-public-match-head,
    .tippspiel-public-table .tippspiel-public-tip-cell {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
    }

    .tippspiel-public-table .tippspiel-public-total-head,
    .tippspiel-public-table .tippspiel-public-total-cell {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
    }

    .tippspiel-public-table .tippspiel-public-legend {
        grid-template-columns: 58px 1fr !important;
        gap: 7px !important;
        font-size: .82rem !important;
    }

    .tippspiel-public-table .tippspiel-public-legend::before {
        width: 58px !important;
        height: 15px !important;
    }
}


/* einfache Korrektur Mitspieler-Tipps Gruppenansicht v1.9.135 */
.tippspiel-public-table-wrap {
    overflow: auto !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
}

.tippspiel-public-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    width: max-content !important;
    min-width: 0 !important;
}

/* erste Spalte anheften */
.tippspiel-public-table .tippspiel-public-player-head,
.tippspiel-public-table .tippspiel-public-player-name {
    position: sticky !important;
    left: 0 !important;
    z-index: 60 !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-shadow: 3px 0 0 rgba(8,43,95,.14) !important;
}

.tippspiel-public-table .tippspiel-public-player-head {
    top: 0 !important;
    z-index: 100 !important;
    background: #2f94cf !important;
}

.tippspiel-public-table .tippspiel-public-player-name {
    background: #fff !important;
}

.tippspiel-public-table tbody tr:nth-child(even) .tippspiel-public-player-name {
    background: #eef5fc !important;
}

/* Kopfzeile oben fixieren */
.tippspiel-public-table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    background: #2f94cf !important;
}

/* Spielspalten deutlich kleiner */
.tippspiel-public-table .tippspiel-public-match-head,
.tippspiel-public-table .tippspiel-public-tip-cell {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    box-sizing: border-box !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

.tippspiel-public-table .tippspiel-public-total-head,
.tippspiel-public-table .tippspiel-public-total-cell {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    box-sizing: border-box !important;
}

/* Tippverteilung kompakt in der linken Kopfzelle */
.tippspiel-public-table .tippspiel-public-player-head {
    padding: 10px 8px !important;
}

.tippspiel-public-table .tippspiel-public-player-head > span:first-child {
    display: block !important;
    margin-bottom: 7px !important;
}

.tippspiel-public-table .tippspiel-public-legend {
    display: grid !important;
    grid-template-columns: 52px 1fr !important;
    gap: 6px !important;
    align-items: center !important;
    margin: 5px 0 !important;
    font-size: .82rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

.tippspiel-public-table .tippspiel-public-legend::before {
    content: "" !important;
    display: block !important;
    width: 52px !important;
    height: 14px !important;
    border-radius: 3px !important;
}

.tippspiel-public-table .tippspiel-public-legend-home::before { background: #31f45f !important; }
.tippspiel-public-table .tippspiel-public-legend-draw::before { background: #fff34a !important; }
.tippspiel-public-table .tippspiel-public-legend-away::before { background: #ff4c59 !important; }

/* alte zu breite Regeln überstimmen */
@media (max-width: 768px) {
    .tippspiel-public-table .tippspiel-public-player-head,
    .tippspiel-public-table .tippspiel-public-player-name {
        width: 145px !important;
        min-width: 145px !important;
        max-width: 145px !important;
    }

    .tippspiel-public-table .tippspiel-public-match-head,
    .tippspiel-public-table .tippspiel-public-tip-cell {
        width: 84px !important;
        min-width: 84px !important;
        max-width: 84px !important;
    }

    .tippspiel-public-table .tippspiel-public-total-head,
    .tippspiel-public-table .tippspiel-public-total-cell {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    .tippspiel-public-table .tippspiel-public-legend {
        grid-template-columns: 42px 1fr !important;
        font-size: .76rem !important;
    }

    .tippspiel-public-table .tippspiel-public-legend::before {
        width: 42px !important;
        height: 13px !important;
    }
}


/* Playercard Teamstatistik Tabellen-Layout v1.9.136 */
.tippspiel-playercard-teamstats-section .tippspiel-table-wrap,
.tippspiel-playercard-teamstats-section .tippspiel-teamstats-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.tippspiel-playercard-teamstats-section table,
.tippspiel-playercard-teamstats-section .tippspiel-table {
    width: 100% !important;
    min-width: 720px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.tippspiel-playercard-teamstats-section th,
.tippspiel-playercard-teamstats-section td {
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.tippspiel-playercard-teamstats-section th:first-child,
.tippspiel-playercard-teamstats-section td:first-child {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    text-align: left !important;
}

.tippspiel-playercard-teamstats-section th:not(:first-child),
.tippspiel-playercard-teamstats-section td:not(:first-child) {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    text-align: right !important;
}

.tippspiel-playercard-teamstats-section td:first-child a,
.tippspiel-playercard-teamstats-section td:first-child .tippspiel-team-link,
.tippspiel-playercard-teamstats-section .tippspiel-teamstat-team,
.tippspiel-playercard-teamstats-section .tippspiel-teamstats-team {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.tippspiel-playercard-teamstats-section td:first-child a {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tippspiel-playercard-teamstats-section td:first-child img,
.tippspiel-playercard-teamstats-section .tippspiel-teamstat-team img,
.tippspiel-playercard-teamstats-section .tippspiel-teamstats-team img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
}

/* Keine Sticky-Platzspalten-Regel aus Ranglisten auf Teamstatistik anwenden */
.tippspiel-playercard-teamstats-section table th:first-child,
.tippspiel-playercard-teamstats-section table td:first-child {
    position: static !important;
    left: auto !important;
}

/* Mobile: bewusst horizontal scrollbar, damit Spalten nicht ineinanderlaufen */
@media (max-width: 768px) {
    .tippspiel-playercard-teamstats-section table,
    .tippspiel-playercard-teamstats-section .tippspiel-table {
        min-width: 680px !important;
    }

    .tippspiel-playercard-teamstats-section th,
    .tippspiel-playercard-teamstats-section td {
        padding: 9px 10px !important;
        font-size: .92rem !important;
    }

    .tippspiel-playercard-teamstats-section th:first-child,
    .tippspiel-playercard-teamstats-section td:first-child {
        width: 235px !important;
        min-width: 235px !important;
        max-width: 235px !important;
    }

    .tippspiel-playercard-teamstats-section th:not(:first-child),
    .tippspiel-playercard-teamstats-section td:not(:first-child) {
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
    }
}


/* Ranglisten-Sticky-Zellen dürfen nicht über das Seitenmenü laufen v1.9.137 */
.u-header,
header.u-header,
header,
.u-menu,
.u-nav-container {
    z-index: 5000 !important;
}

/* Ranglisten: Sticky-Spalten bewusst unter dem Menü halten */
.tippspiel:not(.tippspiel-tips) .tippspiel-table th:first-child,
.tippspiel:not(.tippspiel-tips) .tippspiel-table td:first-child,
.tippspiel:not(.tippspiel-tips) .tippspiel-table th:nth-child(2),
.tippspiel:not(.tippspiel-tips) .tippspiel-table td:nth-child(2),
.tippspiel:not(.tippspiel-tips) .tippspiel-ranking-table th:first-child,
.tippspiel:not(.tippspiel-tips) .tippspiel-ranking-table td:first-child,
.tippspiel:not(.tippspiel-tips) .tippspiel-ranking-table th:nth-child(2),
.tippspiel:not(.tippspiel-tips) .tippspiel-ranking-table td:nth-child(2) {
    z-index: 2 !important;
}

/* Tabellenkopf ebenfalls unter dem Menü halten */
.tippspiel:not(.tippspiel-tips) .tippspiel-table thead th,
.tippspiel:not(.tippspiel-tips) .tippspiel-ranking-table thead th {
    z-index: 3 !important;
}

/* Ecke links oben nur innerhalb der Tabelle priorisieren, nicht über der Website-Navigation */
.tippspiel:not(.tippspiel-tips) .tippspiel-table thead th:first-child,
.tippspiel:not(.tippspiel-tips) .tippspiel-ranking-table thead th:first-child {
    z-index: 4 !important;
}

/* Mitspieler-Tipps behalten ihre eigene Sticky-Logik */
.tippspiel-tips .tippspiel-public-table thead th {
    z-index: 50 !important;
}

.tippspiel-tips .tippspiel-public-table .tippspiel-public-player-head {
    z-index: 90 !important;
}


/* Eigene Zeile: vollständiger Rahmen auch bei Top-3-Farben v1.9.138 */
.tippspiel table tbody tr.tippspiel-own-row > th,
.tippspiel table tbody tr.tippspiel-own-row > td,
.tippspiel table tbody tr.is-own > th,
.tippspiel table tbody tr.is-own > td,
.tippspiel table tbody tr.own-row > th,
.tippspiel table tbody tr.own-row > td {
    border-top: 2px solid #ff9f2e !important;
    border-bottom: 2px solid #ff9f2e !important;
    outline: none !important;
}

.tippspiel table tbody tr.tippspiel-own-row > th:first-child,
.tippspiel table tbody tr.tippspiel-own-row > td:first-child,
.tippspiel table tbody tr.is-own > th:first-child,
.tippspiel table tbody tr.is-own > td:first-child,
.tippspiel table tbody tr.own-row > th:first-child,
.tippspiel table tbody tr.own-row > td:first-child {
    border-left: 2px solid #ff9f2e !important;
}

.tippspiel table tbody tr.tippspiel-own-row > th:last-child,
.tippspiel table tbody tr.tippspiel-own-row > td:last-child,
.tippspiel table tbody tr.is-own > th:last-child,
.tippspiel table tbody tr.is-own > td:last-child,
.tippspiel table tbody tr.own-row > th:last-child,
.tippspiel table tbody tr.own-row > td:last-child {
    border-right: 2px solid #ff9f2e !important;
}

/* Fallback, falls die eigene Zeile nur per Outline markiert wurde */
.tippspiel tr.tippspiel-own-row,
.tippspiel tr.is-own,
.tippspiel tr.own-row {
    box-shadow: inset 0 0 0 2px #ff9f2e !important;
}


/* Eigene Ranglisten-Zeile: kompletter Rahmen v1.9.139 */
.tippspiel table tbody tr.tippspiel-own-ranking-row > th,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td,
.tippspiel table tbody tr.tippspiel-own-player-row > th,
.tippspiel table tbody tr.tippspiel-own-player-row > td,
.tippspiel table tbody tr.tippspiel-own-group-row > th,
.tippspiel table tbody tr.tippspiel-own-group-row > td {
    border-top: 2px solid #ff9f2e !important;
    border-bottom: 2px solid #ff9f2e !important;
    outline: none !important;
}

/* linker Rand */
.tippspiel table tbody tr.tippspiel-own-ranking-row > th:first-child,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td:first-child,
.tippspiel table tbody tr.tippspiel-own-player-row > th:first-child,
.tippspiel table tbody tr.tippspiel-own-player-row > td:first-child,
.tippspiel table tbody tr.tippspiel-own-group-row > th:first-child,
.tippspiel table tbody tr.tippspiel-own-group-row > td:first-child {
    border-left: 2px solid #ff9f2e !important;
}

/* rechter Rand */
.tippspiel table tbody tr.tippspiel-own-ranking-row > th:last-child,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td:last-child,
.tippspiel table tbody tr.tippspiel-own-player-row > th:last-child,
.tippspiel table tbody tr.tippspiel-own-player-row > td:last-child,
.tippspiel table tbody tr.tippspiel-own-group-row > th:last-child,
.tippspiel table tbody tr.tippspiel-own-group-row > td:last-child {
    border-right: 2px solid #ff9f2e !important;
}

/* Bei Sticky-Spalten die Rahmen nicht verlieren */
.tippspiel table tbody tr.tippspiel-own-ranking-row > th:first-child,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td:first-child,
.tippspiel table tbody tr.tippspiel-own-ranking-row > th:nth-child(2),
.tippspiel table tbody tr.tippspiel-own-ranking-row > td:nth-child(2) {
    background-clip: padding-box !important;
}

/* Zusätzliche Sicherheit: kompletter Innenrahmen über Zell-Schatten */
.tippspiel table tbody tr.tippspiel-own-ranking-row > th,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td {
    box-shadow: inset 0 2px 0 #ff9f2e, inset 0 -2px 0 #ff9f2e !important;
}

.tippspiel table tbody tr.tippspiel-own-ranking-row > th:first-child,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td:first-child {
    box-shadow: inset 2px 0 0 #ff9f2e, inset 0 2px 0 #ff9f2e, inset 0 -2px 0 #ff9f2e !important;
}

.tippspiel table tbody tr.tippspiel-own-ranking-row > th:last-child,
.tippspiel table tbody tr.tippspiel-own-ranking-row > td:last-child {
    box-shadow: inset -2px 0 0 #ff9f2e, inset 0 2px 0 #ff9f2e, inset 0 -2px 0 #ff9f2e !important;
}


/* Team-Statistik darf keine Gold/Silber/Bronze-Ranglistenfarben bekommen v1.9.142 */
.tippspiel-playercard-teamstats-section tr.tippspiel-rank-gold > th,
.tippspiel-playercard-teamstats-section tr.tippspiel-rank-gold > td,
.tippspiel-playercard-teamstats-section tr.tippspiel-rank-silver > th,
.tippspiel-playercard-teamstats-section tr.tippspiel-rank-silver > td,
.tippspiel-playercard-teamstats-section tr.tippspiel-rank-bronze > th,
.tippspiel-playercard-teamstats-section tr.tippspiel-rank-bronze > td {
    background: inherit !important;
    background-color: inherit !important;
    --bs-table-bg: transparent !important;
    --bs-table-striped-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
}

.tippspiel-playercard-teamstats-section tbody tr:nth-child(odd) > th,
.tippspiel-playercard-teamstats-section tbody tr:nth-child(odd) > td {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.tippspiel-playercard-teamstats-section tbody tr:nth-child(even) > th,
.tippspiel-playercard-teamstats-section tbody tr:nth-child(even) > td {
    background: #eef5fc !important;
    background-color: #eef5fc !important;
}

.tippspiel-playercard-teamstats-section tbody tr:hover > th,
.tippspiel-playercard-teamstats-section tbody tr:hover > td {
    background: #d7e9ff !important;
    background-color: #d7e9ff !important;
}


/* Frontend-Administration: Ergebnis-Tabelle besser lesbar v1.9.144 */
.tippspiel-frontendadmin .tippspiel-admin-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 22px 0 26px !important;
}

.tippspiel-frontendadmin .tippspiel-admin-action-btn {
    margin: 0 !important;
    white-space: nowrap !important;
}

.tippspiel-frontendadmin .tippspiel-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table {
    width: 100% !important;
    min-width: 1040px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table th,
.tippspiel-frontendadmin .tippspiel-admin-results-table td {
    padding: 12px 12px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #d7e1ee !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table th {
    font-weight: 900 !important;
    border-bottom: 2px solid #17223a !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table tbody tr:nth-child(odd) {
    background: #ffffff !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table tbody tr:nth-child(even) {
    background: #eef5fc !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table tbody tr:hover {
    background: #d7e9ff !important;
}

/* Spaltenbreiten */
.tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(1),
.tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(1) {
    width: 390px !important;
    min-width: 390px !important;
    max-width: 390px !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(2),
.tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(2) {
    width: 165px !important;
    min-width: 165px !important;
    max-width: 165px !important;
    white-space: nowrap !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(3),
.tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(3),
.tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(4),
.tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(4) {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    text-align: center !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(5),
.tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(5),
.tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(6),
.tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(6) {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    text-align: center !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table th:last-child,
.tippspiel-frontendadmin .tippspiel-admin-results-table td:last-child {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
}

/* Spiel-Spalte: Teams/Flaggen nicht zusammenquetschen */
.tippspiel-frontendadmin .tippspiel-admin-results-table td:first-child {
    white-space: normal !important;
    overflow: visible !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table td:first-child img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
    margin: 0 5px !important;
}

/* Falls Teams als Kürzel ausgegeben werden: Abstand um den Trenner */
.tippspiel-frontendadmin .tippspiel-admin-results-table td:first-child {
    font-weight: 700 !important;
}

/* Ergebnisfelder kompakter nebeneinander */
.tippspiel-frontendadmin .tippspiel-admin-results-table input[type="number"],
.tippspiel-frontendadmin .tippspiel-admin-results-table input[type="text"] {
    width: 52px !important;
    max-width: 52px !important;
    text-align: center !important;
    display: inline-block !important;
    margin: 0 4px !important;
}

.tippspiel-frontendadmin .tippspiel-admin-results-table select {
    min-width: 155px !important;
    max-width: 170px !important;
}

/* Mobile: horizontal scrollen, aber Spielspalte bleibt breit genug */
@media (max-width: 768px) {
    .tippspiel-frontendadmin .tippspiel-admin-results-table {
        min-width: 980px !important;
    }

    .tippspiel-frontendadmin .tippspiel-admin-results-table th:nth-child(1),
    .tippspiel-frontendadmin .tippspiel-admin-results-table td:nth-child(1) {
        width: 330px !important;
        min-width: 330px !important;
        max-width: 330px !important;
    }

    .tippspiel-frontendadmin .tippspiel-admin-actions {
        gap: 10px !important;
    }

    .tippspiel-frontendadmin .tippspiel-admin-action-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}


/* Gruppenprofil: Tipper-Rangliste sauber ausrichten v1.9.146 */
.tippspiel-groupcard-member-rankings {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.tippspiel-groupcard-member-ranking-table,
.tippspiel-groupcard-member-ranking-subtable {
    width: 100% !important;
    min-width: 860px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.tippspiel-groupcard-member-ranking-table th,
.tippspiel-groupcard-member-ranking-table td,
.tippspiel-groupcard-member-ranking-subtable th,
.tippspiel-groupcard-member-ranking-subtable td {
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

/* Die globale Platz-Spalten-Regel darf diese Tabelle nicht zusammendrücken */
.tippspiel-groupcard-member-ranking-table th:first-child,
.tippspiel-groupcard-member-ranking-table td:first-child {
    width: 290px !important;
    min-width: 290px !important;
    max-width: 290px !important;
    text-align: left !important;
    position: static !important;
    left: auto !important;
}

.tippspiel-groupcard-member-ranking-table th:nth-child(2),
.tippspiel-groupcard-member-ranking-table td:nth-child(2) {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    text-align: left !important;
    position: static !important;
    left: auto !important;
}

.tippspiel-groupcard-member-ranking-table th:nth-child(n+3),
.tippspiel-groupcard-member-ranking-table td:nth-child(n+3) {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    text-align: right !important;
}

/* Ausklapptabelle */
.tippspiel-groupcard-member-ranking-subtable th:first-child,
.tippspiel-groupcard-member-ranking-subtable td:first-child {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    text-align: right !important;
    position: static !important;
    left: auto !important;
}

.tippspiel-groupcard-member-ranking-subtable th:nth-child(2),
.tippspiel-groupcard-member-ranking-subtable td:nth-child(2) {
    width: 310px !important;
    min-width: 310px !important;
    max-width: 310px !important;
    text-align: left !important;
    position: static !important;
    left: auto !important;
}

.tippspiel-groupcard-member-ranking-subtable th:nth-child(n+3),
.tippspiel-groupcard-member-ranking-subtable td:nth-child(n+3) {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    text-align: right !important;
}

.tippspiel-groupcard-player-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.tippspiel-groupcard-mini-avatar,
.tippspiel-groupcard-mini-team {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
}

/* Mobile: lieber horizontal scrollen als Spalten überlagern */
@media (max-width: 768px) {
    .tippspiel-groupcard-member-ranking-table {
        min-width: 820px !important;
    }

    .tippspiel-groupcard-member-ranking-subtable {
        min-width: 720px !important;
    }

    .tippspiel-groupcard-member-ranking-table th,
    .tippspiel-groupcard-member-ranking-table td,
    .tippspiel-groupcard-member-ranking-subtable th,
    .tippspiel-groupcard-member-ranking-subtable td {
        padding: 9px 10px !important;
        font-size: .94rem !important;
    }

    .tippspiel-groupcard-member-ranking-table th:first-child,
    .tippspiel-groupcard-member-ranking-table td:first-child {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
    }

    .tippspiel-groupcard-member-ranking-table th:nth-child(2),
    .tippspiel-groupcard-member-ranking-table td:nth-child(2) {
        width: 190px !important;
        min-width: 190px !important;
        max-width: 190px !important;
    }
}


/* Gruppenprofil: Saison-Kopfzeilen als Gruppensumme/Ø v1.9.147 */
.tippspiel-groupcard-member-ranking-table th:nth-child(1),
.tippspiel-groupcard-member-ranking-table td:nth-child(1) {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
}

.tippspiel-groupcard-member-ranking-table th:nth-child(2),
.tippspiel-groupcard-member-ranking-table td:nth-child(2) {
    width: 95px !important;
    min-width: 95px !important;
    max-width: 95px !important;
    text-align: right !important;
}

.tippspiel-groupcard-member-ranking-table th:nth-child(n+3),
.tippspiel-groupcard-member-ranking-table td:nth-child(n+3) {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    text-align: right !important;
}

.tippspiel-groupcard-season-row {
    font-weight: 500;
}

.tippspiel-groupcard-season-row td:first-child {
    font-weight: 500 !important;
}


/* Gruppenprofil: Untertabelle + Mindesttipper-Rang sauber v1.9.148 */
.tippspiel-groupcard-member-ranking-table {
    min-width: 1040px !important;
}

.tippspiel-groupcard-member-ranking-table th:first-child,
.tippspiel-groupcard-member-ranking-table td:first-child {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    text-align: left !important;
}

.tippspiel-groupcard-member-ranking-table th:nth-child(n+2),
.tippspiel-groupcard-member-ranking-table td:nth-child(n+2) {
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    text-align: right !important;
    position: static !important;
    left: auto !important;
}

.tippspiel-groupcard-member-ranking-subtable {
    width: 100% !important;
    min-width: 820px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.tippspiel-groupcard-member-ranking-subtable th,
.tippspiel-groupcard-member-ranking-subtable td {
    position: static !important;
    left: auto !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

.tippspiel-groupcard-member-ranking-subtable th:first-child,
.tippspiel-groupcard-member-ranking-subtable td:first-child {
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    text-align: right !important;
}

.tippspiel-groupcard-member-ranking-subtable th:nth-child(2),
.tippspiel-groupcard-member-ranking-subtable td:nth-child(2) {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    text-align: left !important;
}

.tippspiel-groupcard-member-ranking-subtable th:nth-child(n+3),
.tippspiel-groupcard-member-ranking-subtable td:nth-child(n+3) {
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    text-align: right !important;
}

.tippspiel-groupcard-member-ranking-subtable .tippspiel-groupcard-player-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.tippspiel-groupcard-member-ranking-subtable .tippspiel-groupcard-mini-avatar,
.tippspiel-groupcard-member-ranking-subtable .tippspiel-groupcard-mini-team {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
}

@media (max-width: 768px) {
    .tippspiel-groupcard-member-ranking-table {
        min-width: 980px !important;
    }

    .tippspiel-groupcard-member-ranking-subtable {
        min-width: 760px !important;
    }
}


/* Playercard/Profilecard darf nicht über den Seitenheader/Banner laufen v1.9.149 */
.u-header,
header.u-header,
header,
.u-menu,
.u-nav-container {
    z-index: 5000 !important;
}

.tippspiel-playercard,
.tippspiel-groupcard {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
}

.tippspiel-playercard-header,
.tippspiel-playercard-hero,
.tippspiel-groupcard-header,
.tippspiel-groupcard-hero {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    margin-top: 0 !important;
    top: auto !important;
}

/* Profilbild nicht mehr in den Banner/Header hochziehen */
.tippspiel-playercard-avatar,
.tippspiel-playercard-avatar-wrap,
.tippspiel-playercard-photo,
.tippspiel-groupcard-avatar,
.tippspiel-groupcard-avatar-wrap,
.tippspiel-groupcard-photo {
    margin-top: 0 !important;
    top: auto !important;
    transform: none !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Falls der Headerbereich wegen der alten Überlappung zu knapp war */
.tippspiel-playercard-header,
.tippspiel-groupcard-header {
    padding-top: 28px !important;
}

@media (max-width: 768px) {
    .tippspiel-playercard-header,
    .tippspiel-groupcard-header {
        padding-top: 22px !important;
    }
}


/* Playercard: Alle Spieltagssiege sauber ausrichten v1.9.150 */
.tippspiel-playercard-matchdaywins,
.tippspiel-playercard-allmatchdaywins,
.tippspiel-playercard-section:has(.tippspiel-playercard-matchdaywins-table),
.tippspiel-playercard-section:has(.tippspiel-playercard-allmatchdaywins-table) {
    width: 100% !important;
    max-width: 100% !important;
}

.tippspiel-playercard-matchdaywins-table,
.tippspiel-playercard-allmatchdaywins-table {
    width: 100% !important;
    min-width: 620px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

.tippspiel-playercard-matchdaywins-table th,
.tippspiel-playercard-matchdaywins-table td,
.tippspiel-playercard-allmatchdaywins-table th,
.tippspiel-playercard-allmatchdaywins-table td {
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
    position: static !important;
    left: auto !important;
}

.tippspiel-playercard-matchdaywins-table th:first-child,
.tippspiel-playercard-matchdaywins-table td:first-child,
.tippspiel-playercard-allmatchdaywins-table th:first-child,
.tippspiel-playercard-allmatchdaywins-table td:first-child {
    width: 310px !important;
    min-width: 310px !important;
    max-width: 310px !important;
    text-align: left !important;
}

.tippspiel-playercard-matchdaywins-table th:nth-child(2),
.tippspiel-playercard-matchdaywins-table td:nth-child(2),
.tippspiel-playercard-allmatchdaywins-table th:nth-child(2),
.tippspiel-playercard-allmatchdaywins-table td:nth-child(2) {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    text-align: right !important;
}

.tippspiel-playercard-matchdaywins-table th:nth-child(3),
.tippspiel-playercard-matchdaywins-table td:nth-child(3),
.tippspiel-playercard-allmatchdaywins-table th:nth-child(3),
.tippspiel-playercard-allmatchdaywins-table td:nth-child(3) {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    text-align: right !important;
}

/* Fallback für Tabellen ohne eigene Klasse im Abschnitt "Alle Spieltagssiege" */
.tippspiel-playercard-section--matchdaywins table,
.tippspiel-playercard-section--allmatchdaywins table {
    width: 100% !important;
    min-width: 620px !important;
    table-layout: fixed !important;
}

.tippspiel-playercard-section--matchdaywins th,
.tippspiel-playercard-section--matchdaywins td,
.tippspiel-playercard-section--allmatchdaywins th,
.tippspiel-playercard-section--allmatchdaywins td {
    position: static !important;
    left: auto !important;
    white-space: nowrap !important;
}

.tippspiel-playercard-section--matchdaywins th:first-child,
.tippspiel-playercard-section--matchdaywins td:first-child,
.tippspiel-playercard-section--allmatchdaywins th:first-child,
.tippspiel-playercard-section--allmatchdaywins td:first-child {
    width: 310px !important;
    text-align: left !important;
}

.tippspiel-playercard-section--matchdaywins th:not(:first-child),
.tippspiel-playercard-section--matchdaywins td:not(:first-child),
.tippspiel-playercard-section--allmatchdaywins th:not(:first-child),
.tippspiel-playercard-section--allmatchdaywins td:not(:first-child) {
    width: 130px !important;
    text-align: right !important;
}

@media (max-width: 768px) {
    .tippspiel-playercard-matchdaywins-table,
    .tippspiel-playercard-allmatchdaywins-table,
    .tippspiel-playercard-section--matchdaywins table,
    .tippspiel-playercard-section--allmatchdaywins table {
        min-width: 560px !important;
    }

    .tippspiel-playercard-matchdaywins-table th:first-child,
    .tippspiel-playercard-matchdaywins-table td:first-child,
    .tippspiel-playercard-allmatchdaywins-table th:first-child,
    .tippspiel-playercard-allmatchdaywins-table td:first-child,
    .tippspiel-playercard-section--matchdaywins th:first-child,
    .tippspiel-playercard-section--matchdaywins td:first-child,
    .tippspiel-playercard-section--allmatchdaywins th:first-child,
    .tippspiel-playercard-section--allmatchdaywins td:first-child {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
    }
}


/* Wilde Liga: Auswahltipps/Sonderergebnisse optisch hervorheben v2.0.11 */
.tippspiel-match-card.is-selection-tip {
    border-left-color: #f59e0b;
    background: linear-gradient(180deg, #fffaf0 0%, #ffffff 42%);
}

.tippspiel-selection-match {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.tippspiel-selection-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--tippspiel-border, #d7dee8);
}

.tippspiel-selection-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .32rem .7rem;
    border-radius: 999px;
    background: #fff3cd;
    border: 1px solid #f7d36a;
    color: #7a4b00;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
}

.tippspiel-selection-title {
    margin: 0 !important;
    color: var(--tippspiel-heading, #1f355e);
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.2;
}

.tippspiel-selection-body {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: stretch;
    gap: 1rem;
}

.tippspiel-selection-tip {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
}

.tippspiel-selection-label {
    color: var(--tippspiel-heading, #1f355e);
    font-weight: 800;
}

.tippspiel-selection-result {
    padding: .65rem .8rem;
    background: #f8fafc;
    border: 1px solid var(--tippspiel-border, #d7dee8);
    border-radius: 10px;
    color: #475569;
}

@media (max-width: 768px) {
    .tippspiel-selection-body {
        grid-template-columns: 1fr;
    }

    .tippspiel-selection-title {
        font-size: 1.12rem;
    }

    .tippspiel-match-card.is-selection-tip .tippspiel-match-points {
        min-width: 100%;
    }
}
