.rrtp-public-wrap {
    max-width: 680px;
    margin: 1.5rem 0;
}

.rrtp-form p {
    margin-bottom: 1rem;
}

.rrtp-form label {
    display: block;
    font-weight: 700;
    margin-bottom: .35rem;
}

.rrtp-form input {
    box-sizing: border-box;
    width: 100%;
    max-width: 420px;
    padding: .65rem .75rem;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
}

.rrtp-button,
.rrtp-form button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: .65rem 1rem;
    background: #1d2327;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.rrtp-box {
    border-radius: 8px;
    padding: .85rem 1rem;
    margin: 1rem 0;
}

.rrtp-success {
    background: #d1e7dd;
    color: #0f5132;
}

.rrtp-error {
    background: #f8d7da;
    color: #842029;
}

.rrtp-info {
    background: #cff4fc;
    color: #055160;
}

.rrtp-wrap {
    max-width: 1100px;
    margin: 1.5rem 0;
}

.rrtp-box {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 12px 0;
    background: #fff;
}

.rrtp-success {
    border-color: #00a32a;
}

.rrtp-error {
    border-color: #d63638;
}

.rrtp-match-list {
    display: grid;
    gap: 14px;
}

.rrtp-match-card {
    border: 1px solid #dcdcde;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.rrtp-match-card.rrtp-locked {
    opacity: .78;
}

.rrtp-match-head,
.rrtp-match-meta,
.rrtp-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.rrtp-match-meta {
    justify-content: flex-start;
    color: #646970;
    font-size: .92rem;
    margin-top: 6px;
}

.rrtp-score-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: end;
    margin-top: 14px;
}

.rrtp-score-row label span,
.rrtp-winner-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.rrtp-score-row input {
    width: 100%;
    max-width: 110px;
    padding: 8px;
}

.rrtp-score-separator {
    font-weight: 700;
    padding-bottom: 9px;
}

.rrtp-winner-row {
    margin-top: 12px;
}

.rrtp-winner-row select {
    max-width: 320px;
    width: 100%;
    padding: 7px;
}

.rrtp-card-actions {
    justify-content: flex-start;
    margin-top: 14px;
}

.rrtp-button {
    display: inline-block;
    border: 0;
    border-radius: 8px;
    padding: 9px 14px;
    background: #1d2327;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.rrtp-button:hover {
    color: #fff;
}

.rrtp-badge,
.rrtp-points {
    display: inline-block;
    border-radius: 999px;
    padding: 5px 10px;
    background: #f0f0f1;
    font-size: .9rem;
}

.rrtp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.rrtp-table th,
.rrtp-table td {
    border: 1px solid #dcdcde;
    padding: 9px 10px;
    text-align: left;
}

.rrtp-table th {
    background: #f6f7f7;
}

@media (max-width: 700px) {
    .rrtp-score-row {
        grid-template-columns: 1fr;
    }
    .rrtp-score-separator {
        display: none;
    }
    .rrtp-table {
        display: block;
        overflow-x: auto;
    }
}

.rrtp-bonus-card select,
.rrtp-bonus-card input[type="text"],
.rrtp-bonus-card input[type="number"] {
    max-width: 420px;
    width: 100%;
}
.rrtp-muted {
    color: #666;
    margin-top: -6px;
}
.rrtp-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f0f0f1;
    font-weight: 600;
}

.rrtp-standings-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 32px;
    margin: 1.4rem 0 2.6rem;
}

.rrtp-ko-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 1rem 0 2rem;
}

.rrtp-card {
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}

.rrtp-standing-card h3,
.rrtp-ko-round h3 {
    margin-top: 0;
}

.rrtp-standing-card {
    padding: 18px;
}

.rrtp-standing-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

@media (max-width: 1200px) {
    .rrtp-standings-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .rrtp-standings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
        row-gap: 26px;
    }
}

@media (max-width: 640px) {
    .rrtp-standings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.rrtp-compact-table th,
.rrtp-compact-table td {
    padding: 6px 8px;
    font-size: .92rem;
}

.rrtp-ko-card .rrtp-match-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.rrtp-ko-teams {
    display: grid;
    gap: 6px;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.rrtp-ko-winner {
    font-weight: 700;
}

/* v0.2.4 frontend polish */
.rrtp-wrap,
.rrtp-public-wrap {
    font-family: inherit;
    color: #1d2327;
}

.rrtp-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.rrtp-page-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.rrtp-kicker {
    margin: 0 0 4px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #646970;
}

.rrtp-toolbar {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 240px);
    gap: 12px;
    align-items: end;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.rrtp-toolbar label,
.rrtp-winner-row label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.rrtp-toolbar input,
.rrtp-toolbar select,
.rrtp-winner-row select,
.rrtp-score-row input,
.rrtp-form input,
.rrtp-form select {
    min-height: 42px;
    border: 1px solid #c3c4c7;
    border-radius: 10px;
    padding: 8px 10px;
    background: #fff;
}

.rrtp-table-scroll {
    overflow-x: auto;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    background: #fff;
}

.rrtp-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.rrtp-table th,
.rrtp-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf0f2;
    text-align: left;
    vertical-align: middle;
}

.rrtp-table th {
    background: #f6f7f7;
    font-size: .82rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #50575e;
}

.rrtp-table tr:last-child td {
    border-bottom: 0;
}

.rrtp-table tbody tr:hover {
    background: #fbfbfc;
}

.rrtp-pill,
.rrtp-badge,
.rrtp-points {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
}

.rrtp-pill {
    background: #f0f0f1;
    color: #1d2327;
}

.rrtp-badge {
    background: #fcf0f1;
    color: #8a2424;
}

.rrtp-points {
    background: #edfaef;
    color: #0f5132;
}

.rrtp-muted {
    color: #8c8f94;
}

.rrtp-match-card,
.rrtp-card,
.rrtp-standing-card,
.rrtp-ko-card {
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rrtp-match-card:hover,
.rrtp-card:hover,
.rrtp-standing-card:hover,
.rrtp-ko-card:hover {
    transform: translateY(-1px);
    border-color: #c3c4c7;
    box-shadow: 0 10px 24px rgba(0,0,0,.07);
}

.rrtp-match-head strong {
    font-size: 1rem;
}

.rrtp-score-row label span {
    display: block;
    min-height: 2.4em;
    font-weight: 800;
}

.rrtp-score-row input {
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
}

.rrtp-score-separator {
    padding-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 900;
}

.rrtp-button,
.rrtp-form button {
    font-weight: 800;
    transition: transform .14s ease, opacity .14s ease;
}

.rrtp-button:hover,
.rrtp-form button:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.rrtp-button:disabled,
.rrtp-form button:disabled {
    cursor: not-allowed;
    opacity: .6;
    transform: none;
}

.rrtp-ko-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.rrtp-ko-round {
    margin-top: 24px;
}

.rrtp-ko-teams {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.rrtp-ko-teams > div {
    padding: 9px 10px;
    border-radius: 10px;
    background: #f6f7f7;
    font-weight: 800;
}

.rrtp-ko-winner {
    outline: 2px solid #00a32a;
    background: #edfaef !important;
}

@media (max-width: 700px) {
    .rrtp-toolbar {
        grid-template-columns: 1fr;
    }

    .rrtp-match-head,
    .rrtp-match-meta,
    .rrtp-card-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .rrtp-score-row {
        grid-template-columns: 1fr auto 1fr;
    }
}

/* v0.2.6: farbigeres, kompakteres Frontend */
.rrtp-wrap,
.rrtp-public-wrap {
    --rrtp-blue: #2563eb;
    --rrtp-purple: #7c3aed;
    --rrtp-pink: #db2777;
    --rrtp-orange: #f97316;
    --rrtp-green: #16a34a;
    --rrtp-yellow: #facc15;
    --rrtp-soft-blue: #eff6ff;
    --rrtp-soft-purple: #f5f3ff;
    --rrtp-soft-pink: #fdf2f8;
    --rrtp-soft-orange: #fff7ed;
    --rrtp-soft-green: #f0fdf4;
    --rrtp-text: #172033;
    color: var(--rrtp-text);
}

.rrtp-wrap h1,
.rrtp-wrap h2,
.rrtp-wrap h3,
.rrtp-public-wrap h1,
.rrtp-public-wrap h2,
.rrtp-public-wrap h3 {
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #182033;
}

.rrtp-wrap h1,
.rrtp-public-wrap h1 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.rrtp-wrap h2,
.rrtp-public-wrap h2 {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.rrtp-wrap h3,
.rrtp-public-wrap h3 {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.rrtp-match-card,
.rrtp-card,
.rrtp-bonus-card,
.rrtp-ko-round,
.rrtp-box {
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(239,246,255,.96), rgba(255,255,255,.9) 48%, rgba(253,242,248,.82));
    box-shadow: 0 10px 30px rgba(37, 99, 235, .08);
}

.rrtp-match-card:nth-child(4n+1) { border-top: 5px solid var(--rrtp-blue); }
.rrtp-match-card:nth-child(4n+2) { border-top: 5px solid var(--rrtp-purple); }
.rrtp-match-card:nth-child(4n+3) { border-top: 5px solid var(--rrtp-orange); }
.rrtp-match-card:nth-child(4n+4) { border-top: 5px solid var(--rrtp-green); }

.rrtp-badge,
.rrtp-points,
.rrtp-status {
    border: 0;
    color: #172033;
    background: linear-gradient(135deg, #dbeafe, #f5d0fe);
    font-weight: 750;
}

.rrtp-points {
    background: linear-gradient(135deg, #dcfce7, #fef3c7);
}

.rrtp-match-card.rrtp-locked .rrtp-badge,
.rrtp-match-card.rrtp-locked .rrtp-points {
    background: linear-gradient(135deg, #fee2e2, #ffedd5);
}

.rrtp-button,
.rrtp-form button,
.rrtp-card-actions button {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--rrtp-blue), var(--rrtp-purple));
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.rrtp-button.secondary,
.rrtp-card-actions .button-secondary {
    background: linear-gradient(135deg, #475569, #64748b);
}

.rrtp-form input,
.rrtp-form select,
.rrtp-score-row input,
.rrtp-winner-row select,
.rrtp-toolbar input,
.rrtp-toolbar select,
.rrtp-bonus-card input,
.rrtp-bonus-card select {
    border: 1px solid rgba(37, 99, 235, .25);
    border-radius: 12px;
    background: rgba(255,255,255,.92);
}

.rrtp-table {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37, 99, 235, .07);
}

.rrtp-table th {
    border-color: rgba(37, 99, 235, .12);
    background: linear-gradient(135deg, #dbeafe, #f5f3ff);
    color: #172033;
    font-size: .9rem;
}

.rrtp-table td {
    border-color: rgba(37, 99, 235, .10);
}

.rrtp-table tr:nth-child(even) td {
    background: rgba(239,246,255,.42);
}

.rrtp-ko-teams > div {
    background: linear-gradient(135deg, #fff7ed, #eff6ff);
    border-left: 4px solid var(--rrtp-orange);
}

.rrtp-ko-winner {
    outline: 2px solid var(--rrtp-green);
    background: linear-gradient(135deg, #dcfce7, #ecfeff) !important;
}

.rrtp-success { background: linear-gradient(135deg, #dcfce7, #ecfdf5); color: #14532d; }
.rrtp-error { background: linear-gradient(135deg, #fee2e2, #fff1f2); color: #7f1d1d; }
.rrtp-info { background: linear-gradient(135deg, #dbeafe, #ecfeff); color: #164e63; }


/* v0.3.3: Elementor-friendly dark/white typography theme */
.rrtp-wrap,
.rrtp-public-wrap {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
}

.rrtp-wrap *,
.rrtp-public-wrap * {
    font-family: Arial, Helvetica, sans-serif !important;
}

.rrtp-wrap h1,
.rrtp-wrap h2,
.rrtp-wrap h3,
.rrtp-wrap h4,
.rrtp-wrap h5,
.rrtp-wrap h6,
.rrtp-wrap p,
.rrtp-wrap label,
.rrtp-wrap span,
.rrtp-wrap strong,
.rrtp-wrap small,
.rrtp-wrap div,
.rrtp-wrap li,
.rrtp-public-wrap h1,
.rrtp-public-wrap h2,
.rrtp-public-wrap h3,
.rrtp-public-wrap h4,
.rrtp-public-wrap h5,
.rrtp-public-wrap h6,
.rrtp-public-wrap p,
.rrtp-public-wrap label,
.rrtp-public-wrap span,
.rrtp-public-wrap strong,
.rrtp-public-wrap small,
.rrtp-public-wrap div,
.rrtp-public-wrap li {
    color: #ffffff;
}

.rrtp-page-head {
    border-bottom-color: rgba(255,255,255,.22);
}

.rrtp-match-card,
.rrtp-card,
.rrtp-standing-card,
.rrtp-bonus-card,
.rrtp-ko-round,
.rrtp-ko-card,
.rrtp-box,
.rrtp-toolbar,
.rrtp-table-scroll {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.18) !important;
    background: linear-gradient(135deg, rgba(11, 34, 86, .96), rgba(22, 62, 145, .92) 48%, rgba(9, 30, 70, .96)) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;
}

.rrtp-table {
    background: rgba(8, 29, 73, .96) !important;
    color: #ffffff !important;
}

.rrtp-table th,
.rrtp-table td {
    color: #ffffff !important;
    border-color: rgba(255,255,255,.14) !important;
    background: rgba(8, 29, 73, .72) !important;
}

.rrtp-table th {
    background: linear-gradient(135deg, #0b5ed7, #084298) !important;
    color: #ffdd00 !important;
}

.rrtp-table tr:nth-child(even) td,
.rrtp-table tbody tr:hover {
    background: rgba(255,255,255,.08) !important;
}

.rrtp-muted,
.rrtp-kicker,
.rrtp-match-meta {
    color: rgba(255,255,255,.78) !important;
}

.rrtp-pill,
.rrtp-badge,
.rrtp-points,
.rrtp-status {
    color: #ffdd00 !important;
    background: #0b5ed7 !important;
    border: 1px solid rgba(255,221,0,.35) !important;
}

.rrtp-ko-teams > div {
    color: #ffffff !important;
    background: rgba(255,255,255,.10) !important;
    border-left-color: #ffdd00 !important;
}

.rrtp-ko-winner {
    outline-color: #ffdd00 !important;
    background: rgba(11, 94, 215, .48) !important;
}

.rrtp-success,
.rrtp-error,
.rrtp-info {
    color: #ffffff !important;
}

.rrtp-success { background: linear-gradient(135deg, #117a37, #0f5132) !important; }
.rrtp-error { background: linear-gradient(135deg, #b02a37, #842029) !important; }
.rrtp-info { background: linear-gradient(135deg, #0b5ed7, #084298) !important; }

.rrtp-button,
.rrtp-form button,
.rrtp-card-actions button,
.rrtp-wrap button,
.rrtp-public-wrap button {
    background: #0b5ed7 !important;
    color: #ffdd00 !important;
    border: 1px solid rgba(255,221,0,.55) !important;
    border-radius: 999px !important;
    text-shadow: none !important;
}

.rrtp-button:hover,
.rrtp-form button:hover,
.rrtp-card-actions button:hover,
.rrtp-wrap button:hover,
.rrtp-public-wrap button:hover {
    background: #084298 !important;
    color: #ffdd00 !important;
}

.rrtp-form input,
.rrtp-form select,
.rrtp-form textarea,
.rrtp-score-row input,
.rrtp-winner-row select,
.rrtp-toolbar input,
.rrtp-toolbar select,
.rrtp-bonus-card input,
.rrtp-bonus-card select,
.rrtp-wrap input,
.rrtp-wrap select,
.rrtp-wrap textarea,
.rrtp-public-wrap input,
.rrtp-public-wrap select,
.rrtp-public-wrap textarea {
    background: #ffffff !important;
    color: #111827 !important;
    border-color: rgba(255,221,0,.65) !important;
}

.rrtp-form input::placeholder,
.rrtp-toolbar input::placeholder,
.rrtp-wrap input::placeholder,
.rrtp-public-wrap input::placeholder {
    color: #6b7280 !important;
}


/* v0.3.4: password reset color fix */
.rrtp-password-reset,
.rrtp-password-reset *:not(input):not(select):not(textarea):not(option) {
    color: #ffffff !important;
}

.rrtp-password-reset h1,
.rrtp-password-reset h2,
.rrtp-password-reset h3,
.rrtp-password-reset p,
.rrtp-password-reset label,
.rrtp-password-reset .rrtp-help,
.rrtp-password-reset .rrtp-box,
.rrtp-password-reset .rrtp-box * {
    color: #ffffff !important;
}

.rrtp-password-reset input,
.rrtp-password-reset select,
.rrtp-password-reset textarea {
    background: #ffffff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.rrtp-password-reset input::placeholder,
.rrtp-password-reset textarea::placeholder {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

.rrtp-password-reset button,
.rrtp-password-reset .rrtp-button {
    background: #0b5ed7 !important;
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
}


/* v0.3.5: login color fix */
.rrtp-login,
.rrtp-login *:not(input):not(select):not(textarea):not(option) {
    color: #ffffff !important;
}

.rrtp-login h1,
.rrtp-login h2,
.rrtp-login h3,
.rrtp-login p,
.rrtp-login label,
.rrtp-login .rrtp-help,
.rrtp-login .rrtp-box,
.rrtp-login .rrtp-box * {
    color: #ffffff !important;
}

.rrtp-login input,
.rrtp-login select,
.rrtp-login textarea {
    background: #ffffff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.rrtp-login input::placeholder,
.rrtp-login textarea::placeholder {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

.rrtp-login button,
.rrtp-login .rrtp-button {
    background: #0b5ed7 !important;
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
}


/* v0.3.6: global public color consistency for all shortcodes */
.rrtp-wrap,
.rrtp-public-wrap,
.rrtp-wrap :where(h1,h2,h3,h4,h5,h6,p,label,span,strong,small,div,li,td,th,em,b,i,a),
.rrtp-public-wrap :where(h1,h2,h3,h4,h5,h6,p,label,span,strong,small,div,li,td,th,em,b,i,a) {
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.rrtp-wrap a,
.rrtp-public-wrap a {
    color: #ffdd00 !important;
    text-decoration-color: rgba(255,221,0,.65) !important;
}

.rrtp-wrap a:hover,
.rrtp-public-wrap a:hover {
    color: #fff3a3 !important;
}

.rrtp-wrap :where(input,select,textarea,option),
.rrtp-public-wrap :where(input,select,textarea,option) {
    background: #ffffff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

.rrtp-wrap :where(input,textarea)::placeholder,
.rrtp-public-wrap :where(input,textarea)::placeholder {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

.rrtp-wrap :where(button,.rrtp-button,input[type=submit],input[type=button]),
.rrtp-public-wrap :where(button,.rrtp-button,input[type=submit],input[type=button]) {
    background: #0b5ed7 !important;
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
    border: 1px solid rgba(255,221,0,.55) !important;
}

.rrtp-wrap :where(button,.rrtp-button,input[type=submit],input[type=button]):hover,
.rrtp-public-wrap :where(button,.rrtp-button,input[type=submit],input[type=button]):hover {
    background: #084298 !important;
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
}

.rrtp-form :where(.description,.rrtp-help),
.rrtp-toolbar :where(label,span),
.rrtp-card :where(.description,.rrtp-muted),
.rrtp-bonus-card :where(.description,.rrtp-muted),
.rrtp-match-card :where(.description,.rrtp-muted),
.rrtp-standing-card :where(.description,.rrtp-muted) {
    color: rgba(255,255,255,.86) !important;
}

.rrtp-table caption {
    color: #ffffff !important;
}

/* v0.4.0: global logout and team flags */
.rrtp-global-logout {
    display: flex;
    justify-content: flex-end;
    margin: .75rem 0 1rem;
}

.rrtp-team-with-flag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    vertical-align: middle;
}

.rrtp-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.38), 0 1px 3px rgba(0,0,0,.25);
    flex: 0 0 auto;
}

.rrtp-score-row .rrtp-team-with-flag {
    justify-content: center;
}

.rrtp-global-logout {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    margin: 0;
}

@media (max-width: 640px) {
    .rrtp-global-logout {
        right: 12px;
        bottom: 12px;
    }
}

/* v0.4.1: predictions table grouped by stage and group */
.rrtp-prediction-sections {
    display: grid;
    gap: 28px;
}

.rrtp-prediction-stage {
    display: grid;
    gap: 18px;
}

.rrtp-prediction-stage > h3 {
    margin: 0;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(11,94,215,.92), rgba(30,64,175,.82));
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    font-size: 1.25rem;
}

.rrtp-prediction-group-block {
    border-radius: 18px;
    background: rgba(11,94,215,.18);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 14px 32px rgba(0,0,0,.20);
    overflow: hidden;
}

.rrtp-prediction-group-block > h4 {
    margin: 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255,221,0,.22), rgba(255,255,255,.08));
    font-size: 1.05rem;
    letter-spacing: .02em;
}

.rrtp-prediction-table-scroll {
    border: 0;
    border-radius: 0;
    background: rgba(0,0,0,.08);
}

.rrtp-prediction-table {
    min-width: 940px;
}

.rrtp-prediction-table th {
    background: rgba(3,37,108,.92) !important;
}

.rrtp-prediction-table td {
    background: rgba(8,66,152,.34);
}

.rrtp-prediction-table tr:nth-child(even) td {
    background: rgba(8,66,152,.48) !important;
}

.rrtp-prediction-table tbody tr:hover td {
    background: rgba(11,94,215,.58) !important;
}

.rrtp-prediction-table tr.rrtp-locked td {
    opacity: .82;
}

.rrtp-col-match {
    width: 72px;
    text-align: center !important;
}

.rrtp-col-date {
    width: 120px;
}

.rrtp-col-time {
    width: 82px;
}

.rrtp-col-place {
    min-width: 190px;
}

.rrtp-col-teams {
    min-width: 260px;
    font-weight: 800;
}

.rrtp-col-prediction {
    min-width: 260px;
}

.rrtp-prediction-table-form,
.rrtp-inline-score-inputs,
.rrtp-prediction-actions-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rrtp-inline-score-inputs input[type="number"] {
    width: 64px;
    min-height: 38px;
    text-align: center;
    font-weight: 800;
}

.rrtp-prediction-table-form .rrtp-score-separator {
    padding: 0;
    font-size: 1.1rem;
}

.rrtp-button-small {
    padding: 7px 10px !important;
    border-radius: 10px !important;
    font-size: .88rem;
}

.rrtp-prediction-teamline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.rrtp-versus {
    opacity: .8;
    font-weight: 900;
}

@media (max-width: 760px) {
    .rrtp-prediction-stage > h3 {
        font-size: 1.08rem;
    }
    .rrtp-prediction-group-block > h4 {
        font-size: 1rem;
    }
}


/* v0.4.2: full-width frontend layout for wider prediction tables */
.rrtp-wrap,
.rrtp-public-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.rrtp-page-head,
.rrtp-toolbar,
.rrtp-prediction-sections,
.rrtp-prediction-stage,
.rrtp-prediction-group-block,
.rrtp-table-scroll,
.rrtp-prediction-table-scroll {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.rrtp-prediction-table {
    width: 100% !important;
    min-width: 1080px;
}

.rrtp-col-place {
    min-width: 220px;
}

.rrtp-col-teams {
    min-width: 320px;
}

.rrtp-col-prediction {
    min-width: 300px;
}

.rrtp-prediction-table th,
.rrtp-prediction-table td {
    padding-left: 14px;
    padding-right: 14px;
}

@media (min-width: 1200px) {
    .rrtp-prediction-table {
        min-width: 100%;
    }
}


/* v0.4.3: equal prediction column widths across all group tables */
.rrtp-prediction-table {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 1180px;
}

.rrtp-prediction-table col.rrtp-col-match { width: 7%; }
.rrtp-prediction-table col.rrtp-col-date { width: 11%; }
.rrtp-prediction-table col.rrtp-col-time { width: 8%; }
.rrtp-prediction-table col.rrtp-col-place { width: 23%; }
.rrtp-prediction-table col.rrtp-col-teams { width: 28%; }
.rrtp-prediction-table col.rrtp-col-prediction { width: 23%; }

.rrtp-prediction-table th,
.rrtp-prediction-table td {
    vertical-align: middle;
}

.rrtp-prediction-table .rrtp-col-place,
.rrtp-prediction-table .rrtp-col-teams {
    white-space: normal;
    overflow-wrap: anywhere;
}

.rrtp-prediction-table .rrtp-col-match,
.rrtp-prediction-table .rrtp-col-date,
.rrtp-prediction-table .rrtp-col-time {
    white-space: nowrap;
}

.rrtp-prediction-table .rrtp-col-prediction {
    overflow: visible;
}

@media (max-width: 900px) {
    .rrtp-prediction-table {
        min-width: 1120px;
    }
}

/* v0.5.0: Frontend menu bar */
.rrtp-menu-bar {
    width: 100%;
    margin: 0 0 24px;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    position: relative;
    z-index: 50;
}
.rrtp-menu-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #003b8f 0%, #0057d9 48%, #0072ff 100%);
    box-shadow: 0 12px 28px rgba(0, 32, 96, 0.28);
    border: 1px solid rgba(255,255,255,0.18);
}
.rrtp-menu-brand {
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #ffd900 !important;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
}
.rrtp-menu-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rrtp-menu-list li {
    position: relative;
    margin: 0;
    padding: 0;
}
.rrtp-menu-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #ffd900 !important;
    background: rgba(0,0,0,0.16);
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1.2;
    transition: transform 0.15s ease, background 0.15s ease;
}
.rrtp-menu-list a:hover,
.rrtp-menu-list a:focus {
    background: rgba(0,0,0,0.32);
    transform: translateY(-1px);
    color: #ffffff !important;
}
.rrtp-menu-list .rrtp-menu-logout {
    background: #ffd900;
    color: #0047b3 !important;
}
.rrtp-menu-list .rrtp-menu-logout:hover,
.rrtp-menu-list .rrtp-menu-logout:focus {
    background: #ffe866;
    color: #003b8f !important;
}
.rrtp-menu-missing {
    opacity: 0.65;
}
.rrtp-menu-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    max-height: 70vh;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: #003b8f;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(0, 20, 60, 0.36);
    border: 1px solid rgba(255,255,255,0.2);
}
.rrtp-menu-has-submenu:hover .rrtp-menu-submenu,
.rrtp-menu-has-submenu:focus-within .rrtp-menu-submenu {
    display: block;
}
.rrtp-menu-submenu li {
    display: block;
}
.rrtp-menu-submenu a {
    display: flex;
    width: 100%;
    border-radius: 10px;
    justify-content: flex-start;
    background: transparent;
    color: #ffd900 !important;
    padding: 9px 10px;
}
.rrtp-menu-submenu a:hover,
.rrtp-menu-submenu a:focus {
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
}
@media (max-width: 760px) {
    .rrtp-menu-inner {
        align-items: flex-start;
        border-radius: 14px;
    }
    .rrtp-menu-list {
        width: 100%;
        align-items: stretch;
    }
    .rrtp-menu-list li {
        flex: 1 1 auto;
    }
    .rrtp-menu-list a {
        justify-content: center;
        width: 100%;
    }
    .rrtp-menu-submenu {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 8px;
    }
}

/* v0.5.6: clearer prediction lock and scoring information */
.rrtp-points-explain {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    margin-bottom: 18px;
}

.rrtp-points-explain strong {
    width: 100%;
    font-size: 1rem;
}

.rrtp-points-explain span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 214, 0, 0.14);
    border: 1px solid rgba(255, 214, 0, 0.42);
    color: #fff !important;
}

.rrtp-lock-info {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 0.78rem;
    line-height: 1.25;
    color: #fff !important;
    opacity: 0.92;
}

.rrtp-badge-locked {
    background: #ffd600 !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    border-color: #ffd600 !important;
}

.rrtp-prediction-table tr.rrtp-locked td {
    opacity: 0.9;
}

/* v0.6.0: clearer bonus prediction frontend */
.rrtp-bonus .rrtp-bonus-intro {
    color: #fff !important;
    margin: 0 0 18px;
    font-size: 0.98rem;
}

.rrtp-bonus-section {
    margin-top: 24px;
}

.rrtp-bonus-section > h3 {
    color: #fff !important;
    font-size: 1.2rem;
    margin: 0 0 14px;
}

.rrtp-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.rrtp-bonus-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-left: 7px solid #ffd600;
}

.rrtp-bonus-card h3 {
    color: #fff !important;
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.rrtp-bonus-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.rrtp-bonus-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rrtp-bonus-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff !important;
    font-size: 0.82rem;
    padding: 5px 9px;
}

.rrtp-bonus-pill-open {
    background: #ffd600 !important;
    border-color: #ffd600 !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.rrtp-bonus-pill-locked {
    background: rgba(255, 255, 255, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.rrtp-bonus-form {
    display: grid;
    gap: 12px;
}

.rrtp-bonus-form label {
    display: grid;
    gap: 7px;
    color: #fff !important;
    font-weight: 700;
}

.rrtp-bonus-form label > span {
    color: #fff !important;
}

.rrtp-bonus-form select,
.rrtp-bonus-form input[type="text"],
.rrtp-bonus-form input[type="number"] {
    width: 100%;
}

.rrtp-bonus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.rrtp-bonus-locked {
    opacity: 0.9;
    border-left-color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
    .rrtp-bonus-grid {
        grid-template-columns: 1fr;
    }
}


/* v0.7.2 account page */
.rrtp-account .rrtp-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}
.rrtp-account .rrtp-account-card {
    padding: 1.25rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(7, 32, 89, .96), rgba(5, 76, 150, .92));
    border: 1px solid rgba(255, 213, 0, .35);
    box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.rrtp-account .rrtp-account-card h3,
.rrtp-account .rrtp-account-card p,
.rrtp-account .rrtp-account-card label,
.rrtp-account .rrtp-account-card .rrtp-muted {
    color: #fff !important;
}
.rrtp-account .rrtp-account-card input {
    background: #fff !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
}
.rrtp-account .rrtp-account-card input[readonly] {
    background: #f0f0f0 !important;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
}
@media (max-width: 800px) {
    .rrtp-account .rrtp-account-grid {
        grid-template-columns: 1fr;
    }
}

/* v0.7.3 my predictions overview */
.rrtp-my-predictions .rrtp-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}
.rrtp-my-predictions .rrtp-summary-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(7, 32, 89, .96), rgba(5, 76, 150, .92));
    border: 1px solid rgba(255, 213, 0, .35);
    box-shadow: 0 12px 26px rgba(0,0,0,.16);
}
.rrtp-my-predictions .rrtp-summary-card span,
.rrtp-my-predictions .rrtp-summary-card strong {
    display: block;
    color: #fff !important;
}
.rrtp-my-predictions .rrtp-summary-card strong {
    margin-top: 8px;
    font-size: 1.7rem;
    line-height: 1;
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
}
.rrtp-my-predictions-table {
    table-layout: fixed;
    width: 100%;
}
.rrtp-my-predictions-table th,
.rrtp-my-predictions-table td {
    vertical-align: middle;
}
.rrtp-my-predictions-table th:nth-child(1),
.rrtp-my-predictions-table td:nth-child(1) { width: 7%; }
.rrtp-my-predictions-table th:nth-child(2),
.rrtp-my-predictions-table td:nth-child(2) { width: 10%; }
.rrtp-my-predictions-table th:nth-child(3),
.rrtp-my-predictions-table td:nth-child(3) { width: 7%; }
.rrtp-my-predictions-table th:nth-child(4),
.rrtp-my-predictions-table td:nth-child(4) { width: 13%; }
.rrtp-my-predictions-table th:nth-child(5),
.rrtp-my-predictions-table td:nth-child(5) { width: 26%; }
.rrtp-my-predictions-table th:nth-child(6),
.rrtp-my-predictions-table td:nth-child(6) { width: 10%; }
.rrtp-my-predictions-table th:nth-child(7),
.rrtp-my-predictions-table td:nth-child(7) { width: 9%; }
.rrtp-my-predictions-table th:nth-child(8),
.rrtp-my-predictions-table td:nth-child(8) { width: 8%; }
.rrtp-my-predictions-table th:nth-child(9),
.rrtp-my-predictions-table td:nth-child(9) { width: 10%; }
@media (max-width: 900px) {
    .rrtp-my-predictions .rrtp-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .rrtp-my-predictions .rrtp-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* v0.7.4 all predictions overview */
.rrtp-all-predictions .rrtp-all-predictions-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rrtp-all-predictions-card {
    margin: 0 0 22px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(7, 32, 89, .97), rgba(3, 87, 162, .94));
    border: 1px solid rgba(255, 213, 0, .28);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.rrtp-all-predictions-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
.rrtp-all-predictions-head h3 {
    margin: 4px 0 0;
    color: #fff !important;
    font-size: 1.05rem;
    line-height: 1.35;
}
.rrtp-all-predictions-meta {
    color: #ffd600 !important;
    font-weight: 700;
    font-size: .9rem;
}
.rrtp-all-predictions-table {
    table-layout: fixed;
    width: 100%;
}
.rrtp-all-predictions-table th:nth-child(1),
.rrtp-all-predictions-table td:nth-child(1) { width: 45%; }
.rrtp-all-predictions-table th:nth-child(2),
.rrtp-all-predictions-table td:nth-child(2) { width: 18%; }
.rrtp-all-predictions-table th:nth-child(3),
.rrtp-all-predictions-table td:nth-child(3) { width: 15%; }
.rrtp-all-predictions-table th:nth-child(4),
.rrtp-all-predictions-table td:nth-child(4) { width: 22%; }
@media (max-width: 800px) {
    .rrtp-all-predictions .rrtp-all-predictions-summary {
        grid-template-columns: 1fr;
    }
    .rrtp-all-predictions-head {
        display: block;
    }
    .rrtp-all-predictions-head .rrtp-badge {
        margin-top: 10px;
    }
}


/* v0.7.5 personal stats */
.rrtp-stats .rrtp-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}
.rrtp-stats .rrtp-summary-card,
.rrtp-stats .rrtp-stats-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(7, 32, 89, .96), rgba(5, 76, 150, .92));
    border: 1px solid rgba(255, 213, 0, .35);
    box-shadow: 0 12px 26px rgba(0,0,0,.16);
}
.rrtp-stats .rrtp-summary-card span,
.rrtp-stats .rrtp-summary-card strong,
.rrtp-stats .rrtp-stats-card,
.rrtp-stats .rrtp-stats-card h3,
.rrtp-stats .rrtp-stats-card span,
.rrtp-stats .rrtp-stats-card strong {
    color: #fff !important;
}
.rrtp-stats .rrtp-summary-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.7rem;
    line-height: 1;
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
}
.rrtp-stats .rrtp-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}
.rrtp-stats .rrtp-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rrtp-stats .rrtp-stats-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.rrtp-stats .rrtp-stats-list li:last-child {
    border-bottom: 0;
}
.rrtp-stats .rrtp-stats-list strong {
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
}
@media (max-width: 900px) {
    .rrtp-stats .rrtp-summary-grid,
    .rrtp-stats .rrtp-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 620px) {
    .rrtp-stats .rrtp-summary-grid,
    .rrtp-stats .rrtp-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* v0.7.6 match center */
.rrtp-match-center .rrtp-match-center-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* v0.9.33 Spielcenter: keep summary values aligned, but closer to their labels. */
.rrtp-match-center .rrtp-match-center-summary .rrtp-summary-card {
    display: grid;
    grid-template-columns: minmax(8.75rem, max-content) minmax(2.25rem, auto);
    align-items: center;
    justify-content: start;
    column-gap: 14px;
}
.rrtp-match-center .rrtp-match-center-summary .rrtp-summary-card span {
    min-width: 0;
}
.rrtp-match-center .rrtp-match-center-summary .rrtp-summary-card strong {
    justify-self: end;
    min-width: 2.25rem;
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .rrtp-match-center .rrtp-match-center-summary .rrtp-summary-card {
        grid-template-columns: minmax(8.75rem, max-content) minmax(2.25rem, auto);
    }
}
@media (max-width: 480px) {
    .rrtp-match-center .rrtp-match-center-summary .rrtp-summary-card {
        grid-template-columns: minmax(0, max-content) minmax(2.25rem, auto);
        column-gap: 12px;
    }
}
.rrtp-match-center-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}
.rrtp-match-center-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(7, 32, 89, .97), rgba(3, 87, 162, .94));
    border: 1px solid rgba(255, 213, 0, .32);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.rrtp-match-center-card,
.rrtp-match-center-card h3,
.rrtp-match-center-card p,
.rrtp-match-center-card span,
.rrtp-match-center-card dt,
.rrtp-match-center-card dd,
.rrtp-match-center-card strong {
    color: #fff !important;
}
.rrtp-match-center-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.rrtp-match-center-area {
    margin: 0 0 8px;
    color: #ffd600 !important;
    font-weight: 700;
}
.rrtp-match-center-card h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    line-height: 1.35;
}
.rrtp-match-center-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}
.rrtp-match-center-facts div {
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
}
.rrtp-match-center-facts dt {
    margin: 0 0 4px;
    font-size: .78rem;
    font-weight: 700;
    color: #ffd600 !important;
}
.rrtp-match-center-facts dd {
    margin: 0;
    font-weight: 700;
}
.rrtp-match-center-resultline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.18);
}
.rrtp-match-center-resultline span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 213, 0, .13);
}
.rrtp-match-center .rrtp-badge-soft {
    background: #ffd600 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}
@media (max-width: 900px) {
    .rrtp-match-center-grid,
    .rrtp-match-center .rrtp-match-center-summary {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .rrtp-match-center-facts {
        grid-template-columns: 1fr;
    }
}

/* v0.7.7 Team overview */
.rrtp-teams-overview,
.rrtp-teams-overview * {
    font-family: Arial, Helvetica, sans-serif;
}
.rrtp-teams-head h2,
.rrtp-teams-head p {
    color: #fff !important;
}
.rrtp-team-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}
.rrtp-team-card {
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(7, 32, 89, .97), rgba(3, 87, 162, .94));
    border: 1px solid rgba(255, 213, 0, .32);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}
.rrtp-team-card,
.rrtp-team-card h3,
.rrtp-team-card h4,
.rrtp-team-card p,
.rrtp-team-card span,
.rrtp-team-card li {
    color: #fff !important;
}
.rrtp-team-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}
.rrtp-team-titleline {
    display: flex;
    gap: 12px;
    align-items: center;
}
.rrtp-team-card-flag {
    width: 52px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
    background: #fff;
}
.rrtp-team-card h3 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    line-height: 1.25;
}
.rrtp-team-card p {
    margin: 0;
}
.rrtp-team-card p span {
    display: inline-block;
    margin: 0 7px 5px 0;
    color: #ffd600 !important;
    font-weight: 700;
}
.rrtp-team-position-block {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.10);
}
.rrtp-team-position-block h4 {
    margin: 0 0 8px;
    font-size: .95rem;
    color: #ffd600 !important;
}
.rrtp-team-position-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.rrtp-team-position-block li {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.rrtp-team-position-block li:last-child {
    border-bottom: 0;
}
.rrtp-shirt-number {
    min-width: 28px;
    display: inline-flex;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ffd600;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    font-weight: 800;
}
.rrtp-team-empty {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
}
.rrtp-team-card .rrtp-badge-soft {
    background: #ffd600 !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    white-space: nowrap;
}
@media (max-width: 1100px) {
    .rrtp-team-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .rrtp-team-overview-grid {
        grid-template-columns: 1fr;
    }
    .rrtp-team-card-head {
        flex-direction: column;
    }
}


/* v0.7.8 Rules page */
.rrtp-rules .rrtp-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.rrtp-rules .rrtp-rules-card {
    background: linear-gradient(135deg, rgba(0, 63, 146, .96), rgba(0, 34, 92, .98));
    border: 1px solid rgba(255, 221, 0, .35);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
    color: #fff;
}
.rrtp-rules .rrtp-rules-card-wide {
    grid-column: 1 / -1;
}
.rrtp-rules .rrtp-rules-card h3,
.rrtp-rules .rrtp-rules-card p,
.rrtp-rules .rrtp-rules-card li,
.rrtp-rules .rrtp-rules-card th,
.rrtp-rules .rrtp-rules-card td {
    color: #fff;
}
.rrtp-rules .rrtp-rules-card h3 {
    margin-top: 0;
    color: #ffdd00;
    font-size: 1.15rem;
}
.rrtp-rules-table {
    width: 100%;
    border-collapse: collapse;
}
.rrtp-rules-table th,
.rrtp-rules-table td {
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding: 10px 8px;
    text-align: left;
}
.rrtp-rules-table td {
    font-weight: 700;
    color: #ffdd00 !important;
}
.rrtp-rules-list {
    margin: 0;
    padding-left: 1.15rem;
}
.rrtp-rules-list li {
    margin-bottom: .55rem;
}


/* v0.7.9 Tipper dashboard */
.rrtp-dashboard .rrtp-dashboard-hero,
.rrtp-dashboard .rrtp-dashboard-card,
.rrtp-dashboard .rrtp-dashboard-panel {
    background: linear-gradient(135deg, rgba(7, 32, 89, .97), rgba(3, 87, 162, .94));
    border: 1px solid rgba(255, 213, 0, .35);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(0,0,0,.20);
}
.rrtp-dashboard .rrtp-dashboard-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 24px;
    margin-bottom: 20px;
}
.rrtp-dashboard .rrtp-dashboard-hero,
.rrtp-dashboard .rrtp-dashboard-hero h2,
.rrtp-dashboard .rrtp-dashboard-hero p,
.rrtp-dashboard .rrtp-dashboard-card,
.rrtp-dashboard .rrtp-dashboard-card span,
.rrtp-dashboard .rrtp-dashboard-panel,
.rrtp-dashboard .rrtp-dashboard-panel h3,
.rrtp-dashboard .rrtp-dashboard-panel p,
.rrtp-dashboard .rrtp-dashboard-panel li,
.rrtp-dashboard .rrtp-dashboard-panel span,
.rrtp-dashboard .rrtp-dashboard-panel td,
.rrtp-dashboard .rrtp-dashboard-panel th {
    color: #fff !important;
}
.rrtp-dashboard .rrtp-dashboard-kicker,
.rrtp-dashboard .rrtp-dashboard-panel h3,
.rrtp-dashboard .rrtp-dashboard-section-head a,
.rrtp-dashboard .rrtp-dashboard-panel a {
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
    font-weight: 800;
}
.rrtp-dashboard .rrtp-dashboard-hero h2 {
    margin: 0 0 8px;
    font-size: 1.65rem;
}
.rrtp-dashboard .rrtp-dashboard-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
}
.rrtp-dashboard .rrtp-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}
.rrtp-dashboard .rrtp-dashboard-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}
.rrtp-dashboard .rrtp-dashboard-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rrtp-dashboard .rrtp-dashboard-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rrtp-dashboard .rrtp-dashboard-card,
.rrtp-dashboard .rrtp-dashboard-panel {
    padding: 18px;
}
.rrtp-dashboard .rrtp-dashboard-card strong {
    display: block;
    margin-top: 8px;
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
    font-size: 1.8rem;
    line-height: 1;
}
.rrtp-dashboard .rrtp-dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rrtp-dashboard .rrtp-dashboard-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.rrtp-dashboard .rrtp-dashboard-list li:last-child {
    border-bottom: 0;
}
.rrtp-dashboard .rrtp-dashboard-list strong {
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
}
.rrtp-dashboard .rrtp-dashboard-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.rrtp-dashboard .rrtp-dashboard-section-head h3 {
    margin: 0;
}
.rrtp-dashboard .rrtp-dashboard-next-table {
    table-layout: fixed;
    width: 100%;
}
.rrtp-dashboard .rrtp-dashboard-next-table th:nth-child(1),
.rrtp-dashboard .rrtp-dashboard-next-table td:nth-child(1) { width: 8%; }
.rrtp-dashboard .rrtp-dashboard-next-table th:nth-child(2),
.rrtp-dashboard .rrtp-dashboard-next-table td:nth-child(2) { width: 12%; }
.rrtp-dashboard .rrtp-dashboard-next-table th:nth-child(3),
.rrtp-dashboard .rrtp-dashboard-next-table td:nth-child(3) { width: 9%; }
.rrtp-dashboard .rrtp-dashboard-next-table th:nth-child(4),
.rrtp-dashboard .rrtp-dashboard-next-table td:nth-child(4) { width: 34%; }
.rrtp-dashboard .rrtp-dashboard-next-table th:nth-child(5),
.rrtp-dashboard .rrtp-dashboard-next-table td:nth-child(5) { width: 22%; }
.rrtp-dashboard .rrtp-dashboard-next-table th:nth-child(6),
.rrtp-dashboard .rrtp-dashboard-next-table td:nth-child(6) { width: 15%; }
@media (max-width: 900px) {
    .rrtp-dashboard .rrtp-dashboard-hero,
    .rrtp-dashboard .rrtp-dashboard-section-head {
        display: block;
    }
    .rrtp-dashboard .rrtp-dashboard-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }
    .rrtp-dashboard .rrtp-dashboard-summary,
    .rrtp-dashboard .rrtp-dashboard-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 620px) {
    .rrtp-dashboard .rrtp-dashboard-summary,
    .rrtp-dashboard .rrtp-dashboard-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* v0.8.0 Public tournament home */
.rrtp-home .rrtp-home-hero,
.rrtp-home .rrtp-home-card,
.rrtp-home .rrtp-home-panel {
    background: linear-gradient(135deg, rgba(7, 32, 89, .97), rgba(3, 87, 162, .94));
    border: 1px solid rgba(255, 213, 0, .36);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(0,0,0,.20);
}
.rrtp-home .rrtp-home-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 26px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}
.rrtp-home .rrtp-home-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,221,0,.30), rgba(255,221,0,0) 70%);
    pointer-events: none;
}
.rrtp-home .rrtp-home-hero,
.rrtp-home .rrtp-home-hero h2,
.rrtp-home .rrtp-home-hero p,
.rrtp-home .rrtp-home-card,
.rrtp-home .rrtp-home-card span,
.rrtp-home .rrtp-home-panel,
.rrtp-home .rrtp-home-panel h3,
.rrtp-home .rrtp-home-panel p,
.rrtp-home .rrtp-home-panel li,
.rrtp-home .rrtp-home-panel span,
.rrtp-home .rrtp-home-panel strong,
.rrtp-home .rrtp-home-panel small {
    color: #fff !important;
}
.rrtp-home .rrtp-home-kicker,
.rrtp-home .rrtp-home-section-head h3,
.rrtp-home .rrtp-home-section-head a,
.rrtp-home .rrtp-home-panel a,
.rrtp-home .rrtp-home-card strong {
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
    font-weight: 800;
}
.rrtp-home .rrtp-home-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.05;
}
.rrtp-home .rrtp-home-kicker {
    margin: 0 0 7px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .82rem;
}
.rrtp-home .rrtp-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}
.rrtp-home .rrtp-home-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}
.rrtp-home .rrtp-home-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.rrtp-home .rrtp-home-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rrtp-home .rrtp-home-card,
.rrtp-home .rrtp-home-panel {
    padding: 18px;
}
.rrtp-home .rrtp-home-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.75rem;
    line-height: 1;
}
.rrtp-home .rrtp-home-next {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.rrtp-home .rrtp-home-next h3 {
    margin: 0 0 8px;
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
    font-size: 1.35rem;
}
.rrtp-home .rrtp-home-list,
.rrtp-home .rrtp-home-ranking {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rrtp-home .rrtp-home-list li,
.rrtp-home .rrtp-home-ranking li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.rrtp-home .rrtp-home-list li {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.rrtp-home .rrtp-home-list li span,
.rrtp-home .rrtp-home-list li strong {
    display: block;
    width: 100%;
    text-align: center;
}
.rrtp-home .rrtp-home-list li:last-child,
.rrtp-home .rrtp-home-ranking li:last-child {
    border-bottom: 0;
}
.rrtp-home .rrtp-home-list strong,
.rrtp-home .rrtp-home-ranking strong {
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
    white-space: nowrap;
}
.rrtp-home .rrtp-home-section-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.rrtp-home .rrtp-home-section-head h3 {
    margin: 0;
}
.rrtp-home .rrtp-home-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
}
.rrtp-home .rrtp-home-quicklinks a {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255,221,0,.45);
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255,255,255,.08);
}
.rrtp-home .rrtp-home-muted {
    opacity: .88;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .rrtp-home .rrtp-home-hero,
    .rrtp-home .rrtp-home-next {
        display: block;
    }
    .rrtp-home .rrtp-home-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }
    .rrtp-home .rrtp-home-summary,
    .rrtp-home .rrtp-home-panels {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 620px) {
    .rrtp-home .rrtp-home-summary,
    .rrtp-home .rrtp-home-panels {
        grid-template-columns: 1fr;
    }
}

/* v0.8.1 Results page */
.rrtp-results .rrtp-results-summary {
    margin-bottom: 22px;
}

.rrtp-results-table {
    table-layout: fixed;
    width: 100%;
}

.rrtp-results-table th:nth-child(1),
.rrtp-results-table td:nth-child(1) { width: 7%; }
.rrtp-results-table th:nth-child(2),
.rrtp-results-table td:nth-child(2) { width: 11%; }
.rrtp-results-table th:nth-child(3),
.rrtp-results-table td:nth-child(3) { width: 8%; }
.rrtp-results-table th:nth-child(4),
.rrtp-results-table td:nth-child(4) { width: 14%; }
.rrtp-results-table th:nth-child(5),
.rrtp-results-table td:nth-child(5) { width: 20%; }
.rrtp-results-table th:nth-child(6),
.rrtp-results-table td:nth-child(6) { width: 23%; }
.rrtp-results-table th:nth-child(7),
.rrtp-results-table td:nth-child(7) { width: 9%; }
.rrtp-results-table th:nth-child(8),
.rrtp-results-table td:nth-child(8) { width: 8%; }

.rrtp-results-table td {
    vertical-align: middle;
}

.rrtp-results-teams,
.rrtp-results-table td {
    overflow-wrap: anywhere;
}

.rrtp-results-score strong {
    color: #ffdc3a !important;
    font-size: 1.05rem;
}

.rrtp-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.15;
    color: #041b43 !important;
    -webkit-text-fill-color: #041b43 !important;
    background: #ffdc3a;
    white-space: normal;
}

.rrtp-status-finished { background: #88f0b0; }
.rrtp-status-live { background: #ff7b7b; }
.rrtp-status-locked { background: #ffd27a; }
.rrtp-status-upcoming { background: #9fd8ff; }

@media (max-width: 900px) {
    .rrtp-results-table {
        min-width: 980px;
    }
}

/* v0.8.2 Hall of Fame */
.rrtp-hall-of-fame .rrtp-hof-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px;
    margin-bottom: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #063a8d, #0d1d5d 55%, #007a4d);
    border: 1px solid rgba(255, 221, 0, .35);
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.rrtp-hall-of-fame .rrtp-hof-kicker {
    color: #ffdc3a !important;
    -webkit-text-fill-color: #ffdc3a !important;
    margin: 0 0 4px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.rrtp-hall-of-fame .rrtp-hof-hero h2 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin: 0 0 6px;
    font-size: clamp(1.8rem, 4vw, 3.1rem);
}
.rrtp-hall-of-fame .rrtp-hof-hero p {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin-bottom: 0;
}
.rrtp-hall-of-fame .rrtp-hof-trophy {
    font-size: clamp(3rem, 8vw, 6rem);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.rrtp-hof-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}
.rrtp-hof-stat,
.rrtp-hof-podium-card {
    border-radius: 20px;
    padding: 18px;
    background: rgba(6,58,141,.92);
    border: 1px solid rgba(255,221,0,.25);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.rrtp-hof-stat span,
.rrtp-hof-stat strong,
.rrtp-hof-podium-card h3,
.rrtp-hof-podium-card p,
.rrtp-hof-points,
.rrtp-hof-scorers li span,
.rrtp-hof-scorers li strong {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
.rrtp-hof-stat span {
    display: block;
    opacity: .9;
    font-size: .9rem;
}
.rrtp-hof-stat strong {
    display: block;
    font-size: 1.8rem;
    margin-top: 5px;
}
.rrtp-hof-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}
.rrtp-hof-podium-card {
    text-align: center;
}
.rrtp-hof-podium-card.rrtp-hof-rank-1 {
    background: linear-gradient(135deg, #0d4eb3, #082963);
    border-color: rgba(255,220,58,.7);
    transform: translateY(-8px);
}
.rrtp-hof-medal {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.rrtp-hof-podium-card h3 {
    margin: 0 0 8px;
}
.rrtp-hof-points {
    color: #ffdc3a !important;
    -webkit-text-fill-color: #ffdc3a !important;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 8px;
}
.rrtp-hof-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 18px;
}
.rrtp-hof-scorers {
    margin: 0;
    padding-left: 22px;
}
.rrtp-hof-scorers li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.rrtp-hof-scorers li strong {
    color: #ffdc3a !important;
    -webkit-text-fill-color: #ffdc3a !important;
}
@media (max-width: 900px) {
    .rrtp-hof-summary,
    .rrtp-hof-podium,
    .rrtp-hof-grid {
        grid-template-columns: 1fr;
    }
    .rrtp-hof-podium-card.rrtp-hof-rank-1 {
        transform: none;
    }
}


/* v0.8.3 Spielhinweise */
.rrtp-match-note {
    margin: 12px 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 214, 10, 0.14);
    border: 1px solid rgba(255, 214, 10, 0.45);
    color: #ffffff;
}
.rrtp-match-note strong { color: #ffd60a; }
.rrtp-admin-matches-table textarea {
    width: 100%;
    min-width: 220px;
    color: #111827;
    background: #ffffff;
}

/* v0.8.4 Datenschutz/Teilnahmebedingungen Registrierung */
.rrtp-consent-field {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 214, 10, 0.12);
    border: 1px solid rgba(255, 214, 10, 0.35);
}
.rrtp-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
.rrtp-checkbox-label input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    margin-top: 3px;
    accent-color: #ffd60a;
}
.rrtp-checkbox-label span,
.rrtp-checkbox-label a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.rrtp-checkbox-label a {
    color: #ffd60a !important;
    -webkit-text-fill-color: #ffd60a !important;
    font-weight: 700;
}

/* v0.8.5 Registrierung Spam-Schutz */
.rrtp-captcha-field {
    display: grid;
    gap: 8px;
}
.rrtp-captcha-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 90px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 214, 10, 0.18);
    color: #ffd60a;
    font-weight: 800;
    border: 1px solid rgba(255, 214, 10, 0.45);
}
.rrtp-field-help {
    color: rgba(255,255,255,0.86);
    font-size: 0.9rem;
}

/* v0.9.13: Home - Nächste Spiele zweizeilig und sauber zentriert */
.rrtp-home .rrtp-home-upcoming-list li.rrtp-home-match-item {
    display: block !important;
    text-align: center !important;
}
.rrtp-home .rrtp-home-match-meta {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
    margin-bottom: 5px;
}
.rrtp-home .rrtp-home-match-teams {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffd600 !important;
    flex-wrap: wrap;
}
.rrtp-home .rrtp-home-match-team,
.rrtp-home .rrtp-home-match-separator {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
.rrtp-home .rrtp-home-match-teams .rrtp-team-with-flag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* v0.9.14: Home - Nächste Spiele exakt zweizeilig: Meta-Zeile und Begegnung-Zeile */
.rrtp-home ul.rrtp-home-upcoming-list > li.rrtp-home-match-item {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    padding: 12px 0 !important;
}
.rrtp-home ul.rrtp-home-upcoming-list > li.rrtp-home-match-item .rrtp-home-match-meta,
.rrtp-home ul.rrtp-home-upcoming-list > li.rrtp-home-match-item .rrtp-home-match-teams {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.rrtp-home ul.rrtp-home-upcoming-list > li.rrtp-home-match-item .rrtp-home-match-meta {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
}
.rrtp-home ul.rrtp-home-upcoming-list > li.rrtp-home-match-item .rrtp-home-match-teams {
    color: #ffd600 !important;
    -webkit-text-fill-color: #ffd600 !important;
    font-weight: 900 !important;
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
}

/* v0.9.20: Blue frontend buttons must always use yellow text. */
.rrtp-public .rrtp-button,
.rrtp-public a.rrtp-button,
.rrtp-public button.rrtp-button,
.rrtp-public input[type="submit"].rrtp-button,
.rrtp-menu a,
.rrtp-global-logout .rrtp-button,
.rrtp-button {
    background: #0b5ed7 !important;
    border-color: rgba(255,221,0,.70) !important;
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
    text-shadow: none !important;
}

.rrtp-public .rrtp-button *,
.rrtp-menu a *,
.rrtp-global-logout .rrtp-button * {
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
    text-shadow: none !important;
}

.rrtp-public .rrtp-button:hover,
.rrtp-public a.rrtp-button:hover,
.rrtp-public button.rrtp-button:hover,
.rrtp-menu a:hover,
.rrtp-global-logout .rrtp-button:hover,
.rrtp-button:hover {
    background: #084298 !important;
    color: #ffdd00 !important;
    -webkit-text-fill-color: #ffdd00 !important;
}


/* v0.9.35 - Registrierung: Login-Link nach erfolgreicher Registrierung. */
/* v0.9.36 - Tipper-Loeschung gibt Benutzername und E-Mail fuer erneute Registrierung frei. */
.rrtp-register-login-link {
    margin: 14px 0 0;
}

.rrtp-register-login-link .rrtp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* v0.9.37 - Login nur mit Benutzername, TAB-Reihenfolge und Login-Weiterleitung. */


/* v0.9.39 - Top-Scorers: Titel im Shortcode sicher weiss darstellen. */
.rrtp-public .rrtp-top-scorers > h2,
.rrtp-wrap .rrtp-top-scorers > h2,
.rrtp-public-wrap .rrtp-top-scorers > h2,
div.rrtp-box.rrtp-top-scorers > h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: none !important;
}
