.sec-results {
    background: #050505;
    color: #ffffff;
    padding: 0px 20px 100px 20px;
}

.sec-results__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sec-results__header {
    text-align: center;
    margin-bottom: 35px;
}

.sec-results__label {
    display: inline-block;
    color: #e5a623;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sec-results__header h2 {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.sec-results__header p {
    margin: 0;
    color: #d6d6d6;
}

.sec-results__category-tabs,
.sec-results__content-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.sec-results__category-btn,
.sec-results__tab-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.2s ease;
}

.sec-results__category-btn.active,
.sec-results__tab-btn.active,
.sec-results__category-btn:hover,
.sec-results__tab-btn:hover {
    background: #e5a623;
    border-color: #e5a623;
    color: #050505;
}

.sec-results__status {
    background: #ffffff;
    color: #050505;
    padding: 14px 18px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 18px;
}

.sec-results__status.is-error {
    background: #ffe8e8;
    color: #a40000;
}

.sec-results__updated {
    text-align: center;
    color: #bdbdbd;
    font-size: 14px;
    margin-bottom: 25px;
}

.sec-results__panel {
    display: none;
}

.sec-results__panel.active {
    display: block;
}

.sec-results__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sec-results__category-tabs {
       gap:0px;
       margin-botom:30px !important
}

.sec-results__category-tabs .sec-results__category-btn:first-child {
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius:25px 0 0 25px;
     
}
.sec-results__category-tabs .sec-results__category-btn:last-child {
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius:0 25px 25px 0;
     
}

.team-card,
.match-card,
.stat-card,
.results-block {
    background: #ffffff;
    color: #050505;
    border-radius: 18px;
    padding: 18px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.team-card--button {
    width: 100%;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.team-card--button:hover,
.match-card--button:hover {
    transform: translateY(-2px);
}

.team-card__logo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 54px;
    overflow: hidden;
}

.team-card__logo img {
    width: 78%;
    height: 78%;
    object-fit: contain;
}

.team-card h3 {
    margin: 0;
    font-size: 17px;
}

.team-card p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #555555;
}

.results-block {
    margin-bottom: 25px;
}

.results-block h3 {
    margin: 0 0 18px;
    font-size: 26px;
    text-transform: uppercase;
}

.round-block {
    margin-top: 20px;
}

.round-block h4 {
    margin: 0 0 12px;
    font-size: 18px;
}

.table-responsive,
.squad-table-wrap {
    overflow-x: auto;
}

.results-table,
.squad-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table {
    min-width: 720px;
}

.results-table--compact {
    min-width: 620px;
}

.results-table th,
.results-table td,
.squad-table th,
.squad-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eeeeee;
    text-align: center;
    font-size: 14px;
}

.results-table th {
    background: #f5f5f5;
    font-weight: 800;
}

.squad-table th {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    text-align: left;
}

.squad-table td {
    text-align: left;
}

.results-table__team {
    text-align: left !important;
    font-weight: 700;
}

.team-link,
.match-card__team-btn,
.scorer-row__team {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-align: left;
}

.team-link:hover,
.match-card__team-btn:hover,
.scorer-row__team:hover {
    color: #e5a623;
}

.matches-list {
    display: grid;
    gap: 12px;
}

.match-card {
    border: 1px solid #eeeeee;
}

.match-card--button {
    cursor: pointer;
}

.match-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    color: #666666;
    font-size: 13px;
    margin-bottom: 10px;
}

.match-card__main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.match-card__main strong:first-child,
.match-card__team-btn:first-child {
    text-align: right;
}

.match-card__main strong:last-child,
.match-card__team-btn:last-child {
    text-align: left;
}

.match-card__score {
    background: #050505;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
    min-width: 62px;
}

.group-standings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.group-standing-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    overflow: hidden;
}

.group-standing-card h4 {
    margin: 0;
    padding: 14px 18px;
    background: #050505;
    color: #e5a623;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.04em;
}

.sec-results__stats,
.stats-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stats-summary {
    margin-bottom: 25px;
}

.stat-card {
    text-align: center;
}

.stat-card span {
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-card strong {
    display: block;
    font-size: 46px;
    line-height: 1;
    color: #e5a623;
}

.stat-card small {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    color: #444444;
}

.scorer-list {
    display: grid;
    gap: 10px;
}

.scorer-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 14px;
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
}

.scorer-row__position {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffd400;
    color: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
        padding: 5px 8px;
    font-size: 17px !important;
}

.scorer-row span,
.scorer-row__team {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-top: 3px;
    font-weight: 600;
}

.sec-results__empty {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 18px;
    border-radius: 14px;
    text-align: center;
}

.results-block .sec-results__empty,
.team-modal__body .sec-results__empty,
.match-modal__body .sec-results__empty {
    background: #f5f5f5;
    color: #555555;
}

/* Modais */

body.team-modal-open,
body.match-modal-open {
    overflow: hidden;
}

.team-modal,
.match-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.team-modal.active,
.match-modal.active {
    display: block;
}

.team-modal__overlay,
.match-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.team-modal__content,
.match-modal__content {
    position: relative;
    width: min(680px, calc(100% - 30px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 20px auto;
    background: #ffffff;
    color: #111827;
    border-radius: 22px;
}

.team-modal__content {
    width: min(760px, calc(100% - 30px));
}

.match-modal__content {
    width: min(980px, calc(100% - 30px));
}

.team-modal__header,
.match-modal__header {
    background: linear-gradient(135deg, #050505 0%, #1f2937 100%);
    color: #ffffff;
    padding: 28px;
}

.team-modal__header {
    display: flex;
    gap: 18px;
    align-items: center;
}

.team-modal__header h3,
.match-modal__header h3 {
    margin: 0;
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.1;
}

.team-modal__header p,
.match-modal__header p {
    margin: 8px 0 0;
    color: #d1d5db;
}

.match-modal__header span {
    display: block;
    color: #e5a623;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.team-modal__logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #ffffff;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    overflow: hidden;
    flex: 0 0 76px;
}

.team-modal__logo img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.team-modal__close,
.match-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.team-modal__body,
.match-modal__body {
    padding: 26px;
}

.team-modal__body h4,
.match-modal__body h4 {
    margin: 0 0 14px;
    text-transform: uppercase;
    font-size: 15px;
    color: #6b7280;
    letter-spacing: 0.08em;
}

.team-modal__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 26px;
}

.team-modal__stats div {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.team-modal__stats strong {
    display: block;
    font-size: 24px;
    color: #050505;
}

.team-modal__stats span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
}

/* Plantel */

.squad-table-wrap {
    margin-bottom: 24px;
}

.squad-table__photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    overflow: hidden;
}

.squad-table__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.squad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.squad-player-card {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #f9fafb;
    border-radius: 14px;
    padding: 12px;
}

.squad-player-card__photo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    overflow: hidden;
}

.squad-player-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.squad-player-card strong {
    display: block;
    font-size: 14px;
}

.squad-player-card span {
    display: block;
    font-size: 12px;
    color: #6b7280;
}

/* Jogos no modal da equipa */

.team-modal-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
}

.team-modal-match span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
}

.team-modal-match > strong {
    white-space: nowrap;
}

.team-modal-match--button {
    width: 100%;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.team-modal-match--button:hover {
    background: #f3f4f6;
}

/* Modal jogo */

.match-modal__score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    padding: 30px 26px;
    text-align: center;
    background: #ffffff;
}

.match-modal__score > div {
    font-size: 18px;
    font-weight: 800;
}

.match-modal__score span {
    background: #050505;
    color: #ffffff;
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 900;
    font-size: 28px;
}

/* Timeline cronol贸gica */

.match-timeline-teams {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.match-timeline-team {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border-radius: 16px;
    padding: 14px;
}

.match-timeline-team--away {
    justify-content: flex-end;
    text-align: right;
}

.match-timeline-team img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.match-timeline-team strong {
    font-size: 15px;
}

.match-timeline-line {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 10px 0;
}

.match-timeline-line::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    background: #e5a623;
    border-radius: 999px;
}

.timeline-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.timeline-row__event {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 14px;
    min-height: 72px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.timeline-row--home .timeline-row__event {
    grid-column: 1;
    margin-right: 28px;
    text-align: right;
    flex-direction: row-reverse;
}

.timeline-row--away .timeline-row__event {
    grid-column: 2;
    margin-left: 28px;
}

.timeline-row__dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translateX(-50%);
    background: #050505;
    border: 4px solid #e5a623;
    border-radius: 50%;
    z-index: 2;
}

.timeline-row__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    background: #f3f4f6;
    color: #050505;
        padding: 13px;
    font-size: 20px !important;
}

.timeline-row__event strong,
.timeline-row__event span,
.timeline-row__event small {
    display: block;
}

.timeline-row__event strong {
    font-size: 15px;
    margin-bottom: 4px;
}

.timeline-row__event span {
    color: #374151;
    font-size: 14px;
}

.timeline-row__event small {
    color: #6b7280;
    font-size: 13px;
    margin-top: 2px;
}

.timeline-row--goal .timeline-row__icon,
.timeline-row--penalty_goal .timeline-row__icon {
    background: #dcfce7;
}

.timeline-row--yellow_card .timeline-row__icon {
    background: #fef9c3;
}

.timeline-row--red_card .timeline-row__icon {
    background: #fee2e2;
}

.timeline-row--white_card .timeline-row__icon {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

/* Responsive */

@media (max-width: 992px) {
    .sec-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec-results__stats,
    .stats-summary,
    .group-standings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sec-results {
        padding: -30px 15px;
    }

    .sec-results__grid,
    .squad-grid,
    .match-timeline-teams {
        grid-template-columns: 1fr;
    }

    .match-card__main,
    .match-modal__score {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .match-card__main strong:first-child,
    .match-card__main strong:last-child,
    .match-card__team-btn:first-child,
    .match-card__team-btn:last-child {
        text-align: center;
    }

    .match-card__meta {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .team-modal__stats {
        grid-template-columns: 1fr 1fr;
    }

    .team-modal-match {
        align-items: flex-start;
        flex-direction: column;
    }

    .match-timeline-team--away {
        justify-content: flex-start;
        text-align: left;
    }

    .match-timeline-line::before {
        left: 20px;
    }

    .timeline-row {
        grid-template-columns: 1fr;
        padding-left: 44px;
    }

    .timeline-row--home .timeline-row__event,
    .timeline-row--away .timeline-row__event {
        grid-column: 1;
        margin: 0;
        text-align: left;
        flex-direction: row;
    }

    .timeline-row__dot {
        left: 20px;
    }
}

.match-modal-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.match-modal-team__logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 900;
}

.match-modal-team__logo img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.match-modal__score > div {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {

    .squad-table__photo {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        max-width: 5px !important;
        border-radius: 50%;
        overflow: hidden;
    }

    .squad-table__photo img {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        object-fit: cover !important;
        display: block;
    }

    .squad-table td:first-child,
    .squad-table th:first-child {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        padding: 4px !important;
    }

}

.match-card__main--logos {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.match-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.match-card__team-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 700;
}

.match-card__team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.match-card__team strong {
    font-size: 15px;
    line-height: 1.15;
}

@media (max-width: 768px) {
    .match-card__main--logos {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        
    }

    .match-card__score {
        order: 2;
        width: 100%;
        padding: 10px;
        border-radius: 999px;
        background: #000;
        color: #fff;
        text-align: center;
    }

    .match-card__team:first-child {
        order: 1;
    }

    .match-card__team:last-child {
        order: 3;
    }

    .match-card__team-logo {
        width: 52px;
        height: 52px;
    }

    .match-card__team strong {
        font-size: 14px;
    }
    .match-stage-filter button:first-child {
        display:none;
    }
}

.results-category-tabs {
    display: inline-flex;
    background: #000;
    border: 2px solid #000;
    border-radius: 999px;
    overflow: hidden;
    padding: 0;
    gap: 0;
}

.results-category-tabs button,
[data-category] {
    min-width: 150px;
    padding: 14px 24px;
    border: 0;
    border-radius: 0;
    background: #000;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.results-category-tabs button.active,
[data-category].active {
    background: #f5c400;
    color: #000;
}

@media (max-width: 768px) {
    .results-category-tabs {
        width: 100%;
        display: flex;
    }

    .results-category-tabs button,
    [data-category] {
        flex: 1;
        min-width: 0;
        font-size: 18px;
        padding: 16px 10px;
    }
}


@media (max-width: 768px) {

    .match-modal__content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 20px 16px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .match-modal__teams {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
    }

    .match-modal-team {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .match-modal-team__logo {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        border-radius: 50%;
        background: #fff;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .match-modal-team__logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 6px;
        box-sizing: border-box;
        display: block;
    }

    .match-modal__score {
        width: 100%;
        padding: 12px;
        border-radius: 999px;
        background: #000;
        color: #fff;
        font-size: 26px;
        text-align: center;
        box-sizing: border-box;
    }

    .match-timeline-line {
        position: relative;
        padding: 0;
        margin-top: 20px;
    }

    .timeline-row {
        width: 100% !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        display: block !important;
    }

    .timeline-row__event {
        width: 100%;
        max-width: 100%;
        background: #f5f6f8;
        border-radius: 14px;
        padding: 12px;
        box-sizing: border-box;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        text-align: left;
    }

    .timeline-row__icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .timeline-row__event strong {
        font-size: 14px;
        line-height: 1.2;
    }

    .timeline-row__event span,
    .timeline-row__event small {
        font-size: 13px;
        line-height: 1.3;
    }

    .timeline-row__dot {
        display: none !important;
    }
}

.share-button {
    border: 0;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-weight: 800;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 14px;
}

.share-button:hover {
    opacity: .9;
}

/* ===============================
   MODAL JOGO - MOBILE CORRIGIDO
================================ */

@media (max-width: 768px) {

    .match-modal__content {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        background: #fff !important;
    }

    .match-modal__header {
        padding: 26px 18px 22px !important;
        border-radius: 0 !important;
    }

    .match-modal__header h3 {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    .match-modal__body {
        padding: 18px !important;
    }

    /* BLOCO DO RESULTADO */
    .match-modal__score {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 18px !important;
        margin: 0 0 24px !important;
        background: #050505 !important;
        border-radius: 22px !important;
        text-align: center !important;
    }

    .match-modal__score > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.2 !important;
    }

    .match-modal__score > span,
    [data-match-modal-score] {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #111 !important;
        color: #fff !important;
        border-radius: 999px !important;
        padding: 12px 18px !important;
        font-size: 30px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .match-modal-team {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .match-modal-team__logo {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 0 !important;
    }

    .match-modal-team__logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    .match-modal-team strong {
        color: #fff !important;
        font-size: 18px !important;
        line-height: 1.15 !important;
        text-align: center !important;
    }

    /* TIMELINE MOBILE */
    .match-timeline-line {
        display: block !important;
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .match-timeline-line::before {
        display: none !important;
        content: none !important;
    }

    .timeline-row {
        display: block !important;
        width: 100% !important;
        grid-template-columns: none !important;
        padding: 0 !important;
        margin: 0 0 12px !important;
    }

    .timeline-row--home .timeline-row__event,
    .timeline-row--away .timeline-row__event,
    .timeline-row__event {
        grid-column: auto !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: left !important;
        background: #f5f6f8 !important;
        border-radius: 16px !important;
        box-shadow: none !important;
    }

    .timeline-row__dot {
        display: none !important;
    }

    .timeline-row__icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        flex: 0 0 42px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        font-size: 23px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .timeline-row__event strong {
        font-size: 15px !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
    }

    .timeline-row__event span,
    .timeline-row__event small {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
}

/* ===============================
   MODAL JOGO - MOBILE FINAL
================================ */

@media (max-width: 768px) {

    .match-modal__content {
        width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        overflow-y: auto !important;
    }

    .match-modal__header {
        padding: 24px 18px 22px !important;
    }

    .match-modal__header h3 {
        font-size: 28px !important;
        line-height: 1.08 !important;
    }

    .match-modal__body {
        padding: 18px !important;
    }

    /* Resultado igual ao desktop, mas adaptado */
    .match-modal__score {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        gap: 10px !important;
        background: #fff !important;
        border-radius: 0 !important;
        padding: 18px 0 26px !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .match-modal__score > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        color: #111827 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
    }

    .match-modal-team {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .match-modal-team__logo {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 1px solid #e5e7eb !important;
        overflow: hidden !important;
    }

    .match-modal-team__logo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    .match-modal-team strong {
        color: #111827 !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        max-width: 120px !important;
    }

    .match-modal__score > span,
    [data-match-modal-score] {
        background: #050505 !important;
        color: #fff !important;
        border-radius: 999px !important;
        padding: 12px 18px !important;
        font-size: 24px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        min-width: 76px !important;
        width: auto !important;
        margin: 0 !important;
    }

    /* Timeline limpa */
    .match-timeline-line {
        display: grid !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .match-timeline-line::before {
        display: none !important;
        content: none !important;
    }

    .timeline-row {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .timeline-row__dot {
        display: none !important;
    }

    .timeline-row--home .timeline-row__event,
    .timeline-row--away .timeline-row__event,
    .timeline-row__event {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: left !important;
        background: #f5f6f8 !important;
        border-radius: 16px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .timeline-row__icon {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        flex: 0 0 46px !important;
        padding: 0 !important;
        border-radius: 14px !important;
        font-size: 22px !important;
    }

    .timeline-row__event strong {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }

    .timeline-row__event span,
    .timeline-row__event small {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
}


/* ===============================
   TIMELINE MOBILE DIVIDIDA
================================ */

@media (max-width: 768px) {

    .match-timeline-line {
        position: relative !important;
        display: grid !important;
        gap: 18px !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }

    .match-timeline-line::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 50% !important;
        width: 3px !important;
        transform: translateX(-50%) !important;
        background: #e5a623 !important;
        border-radius: 999px !important;
    }

    .timeline-row {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .timeline-row__dot {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        width: 14px !important;
        height: 14px !important;
        transform: translateX(-50%) !important;
        background: #050505 !important;
        border: 3px solid #e5a623 !important;
        border-radius: 50% !important;
        z-index: 2 !important;
    }

    .timeline-row--home .timeline-row__event {
        grid-column: 1 !important;
        margin-right:34px !important;
        margin-left: 0 !important;
        text-align: right !important;
        flex-direction: row-reverse !important;
    }

    .timeline-row--away .timeline-row__event {
        grid-column: 2 !important;
        margin-left: 34px !important;
        margin-right: 0 !important;
        text-align: left !important;
        flex-direction: row !important;
    }
    
        .timeline-row__dot {
        width: 16px !important;
        height: 16px !important;
    }

    .timeline-row__event {
        width: auto !important;
        max-width: none !important;
        min-height: 66px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: #f5f6f8 !important;
        border-radius: 14px !important;
        box-shadow: none !important;
    }

    .timeline-row__icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        flex: 0 0 34px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        font-size: 18px !important;
    }

    .timeline-row__event strong {
        font-size: 13px !important;
        line-height: 1.15 !important;
        margin-bottom: 3px !important;
    }

    .timeline-row__event span,
    .timeline-row__event small {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
}


@media (max-width: 768px) {

    .match-modal__score {
        align-items: start !important;
    }

    .match-modal-team {
        justify-content: flex-start !important;
    }

    .match-modal-team__logo {
        margin-bottom: 8px;
    }

    .match-modal-team strong {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        max-width: 120px;
        margin: 0 auto;
    }

    .match-modal__score > span {
        margin-top: 22px !important;
    }
}

@media (max-width: 768px) {

    .match-timeline-line::before {
        width: 2px !important;
    }
}


body.player-modal-open {
    overflow: hidden;
}

.player-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.player-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}

.player-modal__content {
    position: relative;
    width: min(620px, calc(100% - 30px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 20px auto;
    background: #fff;
    color: #111827;
    border-radius: 22px;
}

.player-modal__header {
    background: linear-gradient(135deg, #050505 0%, #1f2937 100%);
    color: #fff;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.player-modal__header span {
    color: #e5a623;
    font-weight: 900;
    text-transform: uppercase;
}

.player-modal__header h3 {
    margin: 4px 0;
    font-size: 28px;
    line-height: 1.1;
}

.player-modal__header p {
    margin: 0;
    color: #d1d5db;
}

.player-modal__photo {
    width: 82px;
    height: 82px;
    min-width: 82px;
    border-radius: 50%;
    background: #fff;
    color: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 900;
}

.player-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.player-modal__body {
    padding: 26px;
}

.player-modal__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.player-modal__stats div {
    background: #f3f4f6;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.player-modal__stats strong {
    display: block;
    font-size: 24px;
}

.player-modal__stats span {
    display: block;
    margin-top: 4px;
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
}

.player-events-list {
    display: grid;
    gap: 10px;
}

.player-event-card {
    background: #f9fafb;
    border-radius: 14px;
    padding: 14px;
}

.player-event-card strong,
.player-event-card span,
.player-event-card small {
    display: block;
}

.player-event-card span {
    margin-top: 4px;
}

.player-event-card small {
    margin-top: 4px;
    color: #6b7280;
}

.squad-player-row {
    cursor: pointer;
}

.squad-player-row:hover {
    background: #f9fafb;
}

@media (max-width: 768px) {
    .player-modal__content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .player-modal__header {
        padding: 24px 18px;
    }

    .player-modal__body {
        padding: 18px;
    }

    .player-modal__stats {
        grid-template-columns: 1fr;
    }
}


.match-squads {
    margin-top: 30px;
}

.match-squads h4 {
    margin: 0 0 16px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: .08em;
}

.match-squads__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.match-squad-column {
    background: #f9fafb;
    border-radius: 16px;
    padding: 14px;
}

.match-squad-column h5 {
    margin: 0 0 12px;
    font-size: 16px;
}

.match-squad-player {
    width: 100%;
    border: 0;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.match-squad-player__photo {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-squad-player__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-squad-player span {
    font-size: 13px;
    line-height: 1.2;
}

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

.match-squad-player {
    justify-content: space-between;
}

.match-squad-player__icons {
    display: inline-flex;
    gap: 4px;
    margin-left: auto;
    font-size: 16px;
    white-space: nowrap;
}


.player-modal__photo {
    width: 110px;
    height: 110px;
    min-width: 110px;
}

.match-squad-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.match-squad-player__main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-align: left;
}

.match-squad-player__name {
    text-align: left;
    font-size: 13px;
    line-height: 1.2;
}

.match-squad-player__icons {
    display: inline-flex;
    gap: 4px;
    margin-left: auto;
    font-size: 16px;
    white-space: nowrap;
}

.stats-summary {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.stat-card {
    background:#fff;
    border-radius:18px;
    padding:24px;
    text-align:center;
}

.stat-card strong{
    font-size:48px;
    color:#e5a623;
}

.live-clock {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.match-score-live, .match-card__score--live {
    background: #ffd400 !important;
    color: #000 !important;
    padding: 6px 12px;
    font-weight: 800;
}

.match-card__score-wrap{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
}

.match-card__live-icon {
    position: absolute;
    top: 60px;
    font-size: 18px;
    line-height: 1;
    z-index: 2;
}

.match-penalties{
    display:block;
    font-size:13px;
    font-weight:700;
    color:#666;
    line-height:1;
    margin:5px 0 0 0;
}



.match-card__score--live {
    background: #ffd400 !important;
    color: #000 !important;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 900;
}

.results-block--stats {
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stats-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.stats-card__title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.stats-card__value {
    display: block;
    font-size: 38px;
    line-height: 1;
    color: #111;
    margin-bottom: 6px;
}

.stats-card__label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.stats-card__team {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.stats-table-wrap {
    overflow-x: auto;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ececec;
}

.stats-table th,
.stats-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    vertical-align: middle;
}

.stats-table th {
    background: #f7f7f7;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
}

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

.stats-table tr:last-child th {
    border-bottom: 0;
    padding: 14px 5px;
}

.stats-position {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffd400;
    color: #000;
    font-weight: 900;
}

.stats-goals {
    display: inline-flex;
    min-width: 36px;
    height: 30px;
    align-items: end;
    justify-content: end;
    border-radius: 999px;
    color: #111;
}

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

    .stats-card {
        padding: 18px;
    }

    .stats-card__value {
        font-size: 32px;
    }

    .stats-table th,
    .stats-table td {
        padding: 12px;
        font-size: 13px;
    }
}


[data-results-stats] {
    display: block !important;
}

[data-results-stats] .results-block--stats {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px;
}

[data-results-stats] .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 18px;
}

[data-results-stats] .stats-card {
    min-height: 170px;
}
/*
[data-results-stats] .stats-table {
    table-layout: fixed;
}*/

[data-results-stats] .stats-table th:nth-child(1),
[data-results-stats] .stats-table td:nth-child(1) {
    width: 20px;
}

[data-results-stats] .stats-table th:nth-child(4),
[data-results-stats] .stats-table td:nth-child(4) {
    width: 90px;
    text-align: center;
}

[data-results-stats] .stats-table th:nth-child(2),
[data-results-stats] .stats-table td:nth-child(2),
[data-results-stats] .stats-table th:nth-child(3),
[data-results-stats] .stats-table td:nth-child(3) {
    word-break: normal;
}

@media (max-width: 900px) {
    
    .match-card__score-wrap{
    order:2;
}

    [data-results-stats] .stats-grid {
        grid-template-columns: 1fr;
    }

    [data-results-stats] .stats-table {
        table-layout: auto;
    }
}

.scorer-list--photos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scorer-row--button {
    width: 100%;
    display: grid;
    grid-template-columns: 44px 54px 1fr 54px;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.scorer-row--button:hover {
    background: #fafafa;
}

.scorer-row__photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.scorer-row__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scorer-row__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #000;
}

.scorer-row__info small {
    color: #000;
    font-size: 13px;
}

.scorer-row__goals {
    justify-self: end;
    color: #000;
    border-radius: 999px;
    min-width: 36px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size:17px;
}

.stats-extra-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 900px) {
    .stats-extra-grid {
        grid-template-columns: 1fr;
    }
}

.league-classification-note {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #777;
}

.group-standing-card .sec-results__empty {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.match-card__meta {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.match-card__meta span:first-child {
    justify-self: start;
    text-align: left;
}

.match-card__meta span:nth-child(2) {
    justify-self: center;
    text-align: center;
}

.match-card__meta span:last-child {
    justify-self: end;
    text-align: right;
}


.final-brackets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
}

.final-bracket-card {
    background: #fff;
    border-radius: 22px;
    padding: 0;
}

.final-bracket-card h4 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 900;
}

.final-bracket {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

.final-bracket__column {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.final-bracket__label {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    color: #777;
    letter-spacing: .04em;
}

.final-bracket__label--third {
    margin-top: 18px;
}

.bracket-match {
    position: relative;
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fafafa;
    padding: 10px;
    cursor: pointer;
    text-align: left;
}

.bracket-match--highlight {
    border-color: #ffd400;
    background: #fff8cc;
}

.bracket-match--empty {
    cursor: default;
    opacity: .55;
}

.bracket-match__team {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 7px 8px;
    font-size: 14px;
    font-weight: 400;
    opacity: .72;
}

.bracket-match__team--winner {
    font-weight: 900;
    opacity: 1;
}

.bracket-match__team + .bracket-match__team {
    border-top: 1px solid #e8e8e8;
}

.bracket-match__team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bracket-match__team-info img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.bracket-match__team-info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bracket-match__team strong {
    font-size: 16px;
    font-weight: 900;
}

.bracket-match__team strong small {
    font-size: 11px;
    margin-left: 3px;
    opacity: .75;
}

/* Linhas das meias para a final */
.final-bracket__column:first-child .bracket-match:nth-of-type(1)::after,
.final-bracket__column:first-child .bracket-match:nth-of-type(2)::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #d8d8d8;
}

.final-bracket__column:first-child::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 75px;
    width: 2px;
    height: 100px;
    background: #d8d8d8;
}

.final-bracket__column--final .bracket-match--highlight::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 50%;
    width: 39px;
    height: 2px;
    background: #d8d8d8;
}

/* Sem linhas no 3º/4º */
.final-bracket__column--final .bracket-match:not(.bracket-match--highlight)::before,
.final-bracket__column--final .bracket-match:not(.bracket-match--highlight)::after {
    display: none !important;
}

@media (max-width: 900px) {
    .final-brackets-grid,
    .final-bracket {
        grid-template-columns: 1fr;
    }

    .final-bracket__column:first-child::after,
    .final-bracket__column:first-child .bracket-match::after,
    .final-bracket__column--final .bracket-match--highlight::before {
        display: none !important;
    }
}

.match-stage-filter {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 20px -50px 0;
    flex-wrap: wrap;
}


.match-stage-filter button {
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.match-stage-filter button.active {
    background: #ffd400;
    border-color: #ffd400;
    color: #000;
}

@media (max-width: 768px) {
    .match-stage-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
           margin: 0 0 18px 0 ;
    }

    .match-stage-filter button {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {

    .sec-results__content-tabs{
        display:flex;
        width:100%;
        flex-wrap:nowrap;
        gap:0;
        border:1px solid #ddd;
        border-radius:999px;
        overflow:hidden;
    }

    .sec-results__tab-btn{
        flex:1 1 25%;
        min-width:0;          /* importante */
        padding:10px 6px;
        font-size:13px;
        white-space:nowrap;   /* impede quebra de linha */
        overflow:hidden;
        text-overflow:ellipsis;
        border:0;
        border-right:1px solid #ddd;
        border-radius:0;
    }

    .sec-results__tab-btn:last-child{
        border-right:none;
    }
}


.team-link--logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-link__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}