@charset "UTF-8";

.sp-match-single-page {
    display: grid;
    gap: clamp(26px, 4vw, 48px);
    padding-bottom: 44px;
}

.sp-match-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sp-match-single-main {
    display: grid;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sp-match-section,
.sp-match-hero {
    min-width: 0;
}

.sp-match-single-sidebar {
    position: sticky;
    top: calc(var(--sp-header-height) + 18px);
    min-width: 0;
}

.sp-match-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: clamp(360px, 44vw, 560px);
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-lg);
    background-image: url("../img/match_fone.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    box-shadow: var(--sp-shadow);
    isolation: isolate;
}





.sp-match-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: clamp(12px, 2vw, 22px);
    min-height: 100%;
    padding: clamp(24px, 4vw, 46px);
    text-align: center;
}

.sp-match-hero__top {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-match-hero__meta,
.sp-match-hero__status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-pill);
    background: var(--sp-glass-dark-72);
    color: var(--sp-text-soft);
    font-size: var(--sp-fs-xs);
    font-weight: var(--sp-fw-norm);
    line-height: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sp-match-hero__status {
    color: var(--sp-accent-text);
    border-color: var(--sp-card-border);
}

.sp-match-hero__title {
    max-width: 920px;
    margin: 0;
    color: var(--sp-text);
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.05;
    font-weight: var(--sp-fw-medium);
    letter-spacing: -.045em;
    text-align: center;
    text-wrap: balance;
}

.sp-match-hero__datetime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    color: var(--sp-text-soft);
    font-size: clamp(15px, 1.5vw, 20px);
    font-weight: var(--sp-fw-medium);
    line-height: 1.25;
    white-space: nowrap;
}

.sp-match-hero__scoreboard {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: start;
    gap: clamp(18px, 4vw, 58px);
    width: min(880px, 100%);
    margin-top: clamp(8px, 1.5vw, 18px);
}

.sp-match-hero-score {
    align-self: start;
    margin-top: clamp(18px, 3vw, 34px);
}

.sp-match-hero-team {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    gap: 12px;
    color: var(--sp-text);
    text-align: center;
}

.sp-match-hero-team:hover .sp-match-hero-team__logo-wrap {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--sp-card-border-hover);
}

.sp-match-hero-team__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(96px, 10vw, 144px);
    height: clamp(96px, 10vw, 144px);
    border: 1px solid var(--sp-card-border);
    border-radius: 50%;
    background: var(--sp-white-95);
    box-shadow: 0 18px 48px var(--sp-black-45);
    transition:
        transform var(--sp-transition-fast),
        border-color var(--sp-transition-fast);
}

.sp-match-hero-team__logo {
    width: 72%;
    height: 72%;
    object-fit: contain;
}

.sp-match-hero-team__logo.sp-team-logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-gradient-accent);
    color: var(--sp-accent-contrast);
    font-size: 42px;
    font-weight: var(--sp-fw-black);
}

.sp-match-hero-team__name {
    display: block;
    width: 100%;
    max-width: 100%;
    color: var(--sp-text);
    font-size: clamp(16px, 1.7vw, 24px);
    font-weight: var(--sp-fw-medium);
    line-height: 1.18;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.sp-match-hero-score {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    min-width: clamp(124px, 13vw, 190px);
    min-height: clamp(70px, 7vw, 96px);
    padding: 14px 20px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-md);
    background: var(--sp-glass-dark-78);
    color: var(--sp-text);
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 18px 48px var(--sp-black-38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.sp-match-hero-score__main {
    font-size: clamp(36px, 5vw, 74px);
    line-height: 1;
    font-weight: var(--sp-fw-medium);
    letter-spacing: -.055em;
}

.sp-match-hero-score__suffix {
    position: relative;
    top: -.08em;
    color: var(--sp-text-soft);
    font-size: clamp(15px, 1.8vw, 26px);
    line-height: 1;
    font-weight: var(--sp-fw-medium);
    letter-spacing: .02em;
}

.sp-match-section,
.sp-match-sidebar-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-lg);
    background:
        radial-gradient(620px 240px at 8% 0%, var(--sp-accent-alpha-12), transparent 64%),
        var(--sp-gradient-surface);
    box-shadow: var(--sp-shadow-soft);
}

.sp-match-section {
    display: grid;
    gap: clamp(18px, 2.5vw, 28px);
    padding: clamp(22px, 3vw, 34px);
}

.sp-match-section::before,
.sp-match-sidebar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 220px at 8% 0%, var(--sp-accent-alpha-12), transparent 64%);
    pointer-events: none;
}

.sp-match-section__head {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sp-card-border);
}

.sp-match-section__label {
    display: inline-flex;
    width: max-content;
    color: var(--sp-accent);
    font-size: var(--sp-fs-xs);
    font-weight: var(--sp-fw-black);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sp-match-section__head h1,
.sp-match-section__head h2,
.sp-match-sidebar-card h2 {
    margin: 0;
    color: var(--sp-text);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.sp-match-section__head h1 {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: var(--sp-fw-medium);
    letter-spacing: -.055em;
}

.sp-match-section__head h2,
.sp-match-sidebar-card h2 {
    font-size: clamp(25px, 2.8vw, 40px);
}

.sp-match-section__lead {
    max-width: 780px;
    margin: 0;
    color: var(--sp-text-soft);
    font-size: var(--sp-fs-body);
    line-height: 1.65;
}

.sp-match-facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.sp-match-facts__item {
    display: grid;
    gap: 7px;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-card-small);
    background: var(--sp-white-04);
}

.sp-match-facts dt {
    color: var(--sp-muted);
    font-size: var(--sp-fs-xs);
    font-weight: var(--sp-fw-bold);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sp-match-facts dd {
    margin: 0;
    color: var(--sp-text);
    font-size: var(--sp-fs-sm);
    font-weight: var(--sp-fw-medium);
    line-height: 1.35;
}

.sp-match-periods {
    position: relative;
    z-index: 1;
    display: grid;
    overflow: hidden;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-md);
    background: var(--sp-white-035);
}

.sp-match-periods__row {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(90px, .55fr) minmax(90px, .55fr);
    gap: 12px;
    align-items: center;
    min-height: 56px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--sp-card-border);
}

.sp-match-periods__row:last-child {
    border-bottom: 0;
}

.sp-match-periods__row span {
    color: var(--sp-text-soft);
    font-weight: var(--sp-fw-medium);
}

.sp-match-periods__row strong {
    color: var(--sp-text);
    font-size: 22px;
    font-weight: var(--sp-fw-norm);
    text-align: center;
}

.sp-match-periods__row--head {
    background: var(--sp-white-045);
}

.sp-match-periods__row--head span {
    color: var(--sp-muted);
    font-size: var(--sp-fs-xs);
    font-weight: var(--sp-fw-black);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sp-match-periods__row--total {
    background: var(--sp-accent-alpha-08);
}

.sp-match-periods__row--total span,
.sp-match-periods__row--total strong {
    color: var(--sp-text);
}

.sp-match-periods-compact {
    position: relative;
    z-index: 1;
    display: none;
    gap: 10px;
}

.sp-match-periods-compact__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-card-small);
    background: var(--sp-white-04);
}

.sp-match-periods-compact__team-name {
    min-width: 0;
    color: var(--sp-text);
    font-size: var(--sp-fs-sm);
    line-height: 1.2;
    font-weight: var(--sp-fw-black);
    text-align: center;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.sp-match-periods-compact__vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-pill);
    background: var(--sp-white-045);
    color: var(--sp-muted);
    font-size: 10px;
    font-weight: var(--sp-fw-black);
    letter-spacing: .08em;
}

.sp-match-periods-compact__rows {
    display: grid;
    gap: 8px;
}

.sp-match-periods-compact__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-card-small);
    background: var(--sp-white-035);
}

.sp-match-periods-compact__label {
    min-width: 0;
    color: var(--sp-text-soft);
    font-size: var(--sp-fs-sm);
    line-height: 1.2;
    font-weight: var(--sp-fw-medium);
}

.sp-match-periods-compact__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 7px 10px;
    border-radius: var(--sp-radius-pill);
    background: var(--sp-white-06);
    color: var(--sp-text);
    font-size: 20px;
    line-height: 1;
    font-weight: var(--sp-fw-black);
    letter-spacing: -.035em;
    white-space: nowrap;
}

.sp-match-periods-compact__row--total {
    border-color: var(--sp-card-border);
    background: var(--sp-accent-alpha-08);
}

.sp-match-periods-compact__row--total .sp-match-periods-compact__label {
    color: var(--sp-text);
    font-weight: var(--sp-fw-black);
}

.sp-match-periods-compact__row--total .sp-match-periods-compact__score {
    background: var(--sp-accent-alpha-12);
    color: var(--sp-accent-text);
}

.sp-match-team-links {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sp-match-team-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-card-small);
    background: var(--sp-white-04);
    transition:
        transform var(--sp-transition-fast),
        border-color var(--sp-transition-fast),
        background var(--sp-transition-fast);
}

.sp-match-team-link:hover {
    transform: translateY(-2px);
    border-color: var(--sp-card-border-hover);
    background: var(--sp-white-06);
}

.sp-match-team-link__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    border: 1px solid var(--sp-card-border);
    border-radius: var(--sp-radius-logo);
    background: var(--sp-white-055);
}

.sp-match-team-link__img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.sp-match-team-link__img.sp-team-logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-gradient-accent);
    color: var(--sp-accent-contrast);
    font-weight: var(--sp-fw-black);
}

.sp-match-team-link span:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.sp-match-team-link em {
    color: var(--sp-muted);
    font-size: var(--sp-fs-xs);
    font-style: normal;
    font-weight: var(--sp-fw-bold);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sp-match-team-link strong {
    color: var(--sp-text);
    font-size: var(--sp-fs-body);
    font-weight: var(--sp-fw-black);
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
}

.sp-match-sidebar-card {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.sp-match-sidebar-card > * {
    position: relative;
    z-index: 1;
}

.sp-match-sidebar-card p {
    margin: 0;
    color: var(--sp-text-soft);
    font-size: var(--sp-fs-sm);
    line-height: 1.6;
}

@media (max-width: 1180px) {
    .sp-match-hero__scoreboard {
        gap: 22px;
    }

    .sp-match-hero-team__logo-wrap {
        width: 108px;
        height: 108px;
    }

    .sp-match-hero-score {
        min-width: 132px;
        font-size: 46px;
    }
}

@media (max-width: 900px) {
    .sp-match-single-layout {
        grid-template-columns: 1fr;
    }

    .sp-match-single-sidebar {
        display: none;
    }
}

@media (max-width: 767px) {
    .sp-match-single-page {
        gap: 28px;
    }

    .sp-match-hero {
    height: auto;
    min-height: 360px;
    aspect-ratio: auto;
    background-attachment: scroll;
    border-radius: var(--sp-radius-mobile);
}

    .sp-match-hero__content {
        padding: 5px 6px;
    }

    .sp-match-hero__title {
    font-size: clamp(18px, 5.6vw, 26px);
    line-height: 1.12;
}

.sp-match-section__head h1 {
    font-size: clamp(28px, 8vw, 40px);
}

    .sp-match-hero__datetime {
    font-size: clamp(14px, 4vw, 17px);
    white-space: nowrap;
}

    .sp-match-hero__scoreboard {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 10px;
        width: 100%;
    }

    .sp-match-hero-team {
        gap: 8px;
    }

    .sp-match-hero-team__logo-wrap {
        width: clamp(74px, 22vw, 96px);
        height: clamp(74px, 22vw, 96px);
    }

    .sp-match-hero-team__name {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(13px, 3.8vw, 16px);
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

    .sp-match-hero-score {
    min-width: 92px;
    min-height: 58px;
    padding: 10px 12px;
    gap: 6px;
    border-radius: var(--sp-radius-card-small);
}

.sp-match-hero-score__main {
    font-size: clamp(26px, 8vw, 38px);
    letter-spacing: -.04em;
}

.sp-match-hero-score__suffix {
    top: -.06em;
    font-size: clamp(11px, 3vw, 15px);
    font-weight: var(--sp-fw-norm);
}

    .sp-match-section {
        padding: 20px;
        border-radius: var(--sp-radius-mobile);
    }

    .sp-match-facts {
        grid-template-columns: 1fr;
    }

    .sp-match-team-links {
        grid-template-columns: 1fr;
    }


    
    .sp-match-periods--desktop {
    display: none;
}

.sp-match-periods-compact {
    display: grid;
}
}

@media (max-width: 430px) {
    .sp-match-hero__top {
        gap: 7px;
    }

    .sp-match-hero__meta,
    .sp-match-hero__status {
        min-height: 30px;
        padding: 7px 9px;
        font-size: 10px;
    }
    
    .sp-match-hero {
    min-height: 270px;
}

.sp-match-hero-team__name {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.12;
    text-align: center;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

    .sp-match-hero__scoreboard {
        gap: 3px;
    }

    .sp-match-hero-team__logo-wrap {
        width: 68px;
        height: 68px;
    }

    .sp-match-hero-score {
    min-width: 82px;
    min-height: 52px;
    padding: 9px 10px;
    gap: 5px;
}

.sp-match-hero-score__main {
    font-size: 28px;
}

.sp-match-hero-score__suffix {
    font-size: 10px;
    font-weight: var(--sp-fw-norm);
}}

    .sp-match-periods__row {
        font-size: 13px;
    }

    .sp-match-periods__row strong {
        font-size: 18px;
    }
    
    .sp-match-periods-compact__teams {
    gap: 7px;
    padding: 12px;
}

.sp-match-periods-compact__team-name {
    font-size: 12px;
    line-height: 1.15;
}

.sp-match-periods-compact__vs {
    min-width: 30px;
    height: 25px;
    padding: 0 7px;
    font-size: 9px;
}

.sp-match-periods-compact__row {
    min-height: 44px;
    gap: 10px;
    padding: 10px 11px;
}

.sp-match-periods-compact__label {
    font-size: 13px;
}

.sp-match-periods-compact__score {
    min-width: 64px;
    padding: 7px 9px;
    font-size: 18px;
}
}

@media (hover:none), (pointer:coarse) {
    .sp-match-hero-team:hover .sp-match-hero-team__logo-wrap,
    .sp-match-team-link:hover {
        transform: none;
    }
}