.results-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.results-filters .form-row {
    margin: 0;
}

.results-filters .form-row label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 600;
}

.results-list {
    display: grid;
    gap: 24px;
    margin-top: 28px;
}

.result-card {
    padding: 20px 20px 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.result-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.result-card__header h2 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--text);
    font-weight: 800;
}

.result-week {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(91, 140, 255, 0.12);
    color: #dbe6ff;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.result-scoreboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.team-score {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid rgba(255, 255, 255, 0.055);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-score h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: var(--text);
    font-weight: 700;
}

.team-score p {
    margin: 5px 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.score-main {
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 900;
    color: var(--text) !important;
    letter-spacing: -0.02em;
}

.points-line {
    margin-top: 10px !important;
    color: var(--accent) !important;
    font-weight: 800;
}

.score-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 auto;
}

.result-footer {
    margin-top: 16px;
}

.result-footer--public-note {
    margin-top: 14px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(243, 201, 105, 0.12);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
}

.match-details-native {
    margin-top: 16px;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.014);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.match-details-native summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    color: var(--text);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.018);
    transition: background 0.2s ease;
    user-select: none;
}

.match-details-native summary::-webkit-details-marker {
    display: none;
}

.match-details-native summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 10px;
    color: var(--accent);
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.match-details-native[open] summary::before {
    transform: rotate(90deg);
}

.match-details-native[open] summary {
    background: rgba(255, 255, 255, 0.026);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-details-native summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.match-details-inner {
    padding: 14px 14px 16px;
    display: grid;
    gap: 18px;
}

.details-team-block {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid rgba(255, 255, 255, 0.045);
}

.details-team-block h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    background: rgba(255, 255, 255, 0.012);
}

.results-table {
    width: 100%;
    min-width: 1040px;
    border-collapse: collapse;
    background: transparent;
}

.results-table th,
.results-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
    white-space: nowrap;
    color: var(--text);
    vertical-align: middle;
}

.results-table th {
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
    font-weight: 700;
}

.results-table th:first-child,
.results-table td:first-child {
    text-align: left;
    min-width: 150px;
}

.results-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.018);
}

.blind-player-row td {
    background: rgba(91, 140, 255, 0.03);
}

.blind-player-row:hover td {
    background: rgba(91, 140, 255, 0.06) !important;
}

.blind-inline-label {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(91, 140, 255, 0.12);
    border: 1px solid rgba(91, 140, 255, 0.18);
    color: #bfd0ff;
    font-size: 0.78rem;
    font-weight: 700;
    vertical-align: middle;
}

.totals-row td {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 700;
}

.points-row td {
    background: rgba(91, 140, 255, 0.075);
    font-weight: 800;
}

.empty-state {
    margin-top: 24px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
}

@media (max-width: 980px) {
    .result-scoreboard {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .score-divider {
        display: none;
    }

    .team-score {
        min-height: auto;
    }
}

@media (max-width: 760px) {
    .results-filters {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .result-card {
        padding: 18px 16px 16px;
        border-radius: 20px;
    }

    .result-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .result-card__header h2 {
        font-size: 1.2rem;
    }

    .score-main {
        font-size: 2.1rem;
    }

    .match-details-inner {
        padding: 12px;
        gap: 14px;
    }

    .details-team-block {
        padding: 12px;
        border-radius: 14px;
    }

    .match-details-native summary {
        padding: 12px 14px;
    }
}

@media (max-width: 560px) {
    .blind-inline-label {
        margin-left: 0;
        margin-top: 6px;
    }

    .results-table th:first-child,
    .results-table td:first-child {
        min-width: 170px;
    }
}