.rp-stream-single-page {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: 0 -50vw;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 48px 22px 64px;
    background: linear-gradient(180deg, #2f2e2a 0%, #252422 34%, #1f1e1c 100%);
    color: #e8e0d1;
}

.rp-stream-single-page *,
.rp-stream-single-page *::before,
.rp-stream-single-page *::after {
    box-sizing: border-box;
}

.rp-stream-single-shell {
    width: min(1320px, 100%);
    max-width: 1320px;
    margin: 0 auto;
}

.rp-stream-single-hero {
    width: min(1040px, 100%);
    max-width: 1040px;
    margin: 0 auto 22px;
}

.rp-stream-single-hero-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    padding: 26px 34px 28px;
    border: 1px solid rgba(185, 155, 94, 0.28);
    border-radius: 24px;
    background:
        linear-gradient(115deg, rgba(185, 155, 94, 0.12) 0%, rgba(185, 155, 94, 0.035) 34%, rgba(185, 155, 94, 0) 62%),
        linear-gradient(145deg, rgba(50, 49, 45, 0.96) 0%, rgba(30, 29, 27, 0.985) 100%);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.34),
        0 0 24px rgba(185, 155, 94, 0.07),
        inset 0 1px 0 rgba(255, 245, 201, 0.04);
    text-align: center;
}

.rp-stream-single-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(120px, 46vw);
    margin: 0 auto 10px;
}

.rp-stream-single-hero-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(185, 155, 94, 0.10));
}

.rp-stream-single-kicker {
    display: none;
}

.rp-stream-single-title {
    max-width: 900px;
    margin: 0 auto;
    color: #c6a15b;
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(30px, 2.55vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
}

.rp-stream-single-classification {
    margin-top: 8px;
    color: rgba(245, 239, 226, 0.72);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.rp-stream-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: rgba(245, 239, 226, 0.82);
    font-size: 15px;
    line-height: 1.5;
}

.rp-stream-single-meta-dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #b99b5e;
}

.rp-stream-single-intro {
    max-width: 840px;
    margin: 10px auto 0;
    color: rgba(245, 239, 226, 0.82);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.72;
}

.rp-stream-single-content {
    width: min(1040px, 100%);
    max-width: 1040px;
    margin: 0 auto 28px;
}

.rp-stream-single-content-inner {
    padding: 28px 32px;
    border: 1px solid rgba(185, 155, 94, 0.24);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(44, 43, 40, 0.86) 0%, rgba(26, 25, 23, 0.94) 100%);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 245, 201, 0.035);
    color: rgba(245, 239, 226, 0.86);
}

.rp-stream-single-content-inner p:last-child {
    margin-bottom: 0;
}

.rp-stream-single-content-inner a {
    color: #d4af67;
}

.rp-stream-single-matches {
    width: min(1320px, 100%);
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(185, 155, 94, 0.28);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(44, 43, 40, 0.86) 0%, rgba(26, 25, 23, 0.94) 100%);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(185, 155, 94, 0.055),
        inset 0 1px 0 rgba(255, 245, 201, 0.035);
    color: #dadada;
}

.rp-stream-single-rounds {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rp-stream-single-empty {
    padding: 22px;
    border: 1px solid rgba(185, 155, 94, 0.20);
    border-radius: 18px;
    background: rgba(20, 19, 18, 0.48);
    color: rgba(245, 239, 226, 0.82);
    text-align: center;
}

.rp-stream-match-row {
    padding: 13px 18px;
    border: 1px solid rgba(185, 155, 94, 0.20);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(37, 36, 34, 0.92) 0%, rgba(20, 19, 18, 0.96) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.rp-stream-match-body {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 176px;
    align-items: center;
    gap: 16px;
}

.rp-stream-match-stage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 116px;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(185, 155, 94, 0.30);
    border-radius: 999px;
    background: rgba(185, 155, 94, 0.10);
    color: #d6c39a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.rp-stream-match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.rp-stream-match-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 18px;
    min-width: 0;
}

.rp-stream-match-side {
    min-width: 0;
}

.rp-stream-match-side--home .rp-stream-team {
    justify-content: flex-end;
    text-align: right;
}

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

.rp-stream-match-separator {
    min-width: 24px;
    color: #b99b5e;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.rp-stream-match-info {
    margin-top: 6px;
    color: rgba(245, 239, 226, 0.60);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.rp-stream-team {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.rp-stream-team--always,
.rp-stream-team--real {
    display: flex;
}

.rp-stream-team-name {
    min-width: 0;
    color: #f1efe9;
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.rp-stream-flag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    width: 68px;
    height: 48px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid rgba(185, 155, 94, 0.30);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(185, 155, 94, 0.10) 0%, rgba(37, 36, 34, 0.94) 100%);
    box-shadow:
        0 0 14px rgba(185, 155, 94, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rp-stream-flag::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.10) 100%);
    pointer-events: none;
}

.rp-stream-flag img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 7px;
}

.rp-stream-flag--placeholder {
    background: linear-gradient(180deg, rgba(52, 52, 49, 0.85) 0%, rgba(20, 20, 20, 0.96) 100%);
}

.rp-stream-flag--placeholder span {
    color: #d4af67;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.rp-stream-match-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.rp-stream-watch-btn,
.rp-stream-reveal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 43px;
    padding: 0 17px;
    border: 1px solid #b99b5e;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(185, 155, 94, 0.12) 0%, rgba(185, 155, 94, 0.04) 100%), #252422;
    box-shadow:
        0 0 0 1px rgba(185, 155, 94, 0.10),
        0 0 14px rgba(185, 155, 94, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: #d4af67;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.rp-stream-watch-btn:hover,
.rp-stream-reveal-btn:hover {
    border-color: #d4af67;
    background: linear-gradient(180deg, rgba(185, 155, 94, 0.20) 0%, rgba(185, 155, 94, 0.08) 100%), #2c2a26;
    box-shadow:
        0 0 0 1px rgba(212, 175, 103, 0.18),
        0 0 18px rgba(185, 155, 94, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #e2bf7d;
}

.rp-stream-watch-btn-icon {
    font-size: 12px;
    line-height: 1;
}

.rp-stream-reveal-label-hide {
    display: none;
}

.rp-stream-match-row.is-spoiler .rp-stream-team--real {
    display: none;
}

.rp-stream-match-row.is-spoiler.is-revealed .rp-stream-team--spoiler {
    display: none;
}

.rp-stream-match-row.is-spoiler.is-revealed .rp-stream-team--real {
    display: flex;
}

.rp-stream-match-row.is-spoiler.is-revealed .rp-stream-reveal-label-show {
    display: none;
}

.rp-stream-match-row.is-spoiler.is-revealed .rp-stream-reveal-label-hide {
    display: inline;
}

@media (max-width: 1100px) {
    .rp-stream-single-page {
        padding: 46px 18px 66px;
    }

    .rp-stream-single-hero-inner {
        min-height: 0;
        padding: 31px 28px 30px;
    }

    .rp-stream-match-body {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 14px;
    }

    .rp-stream-match-main {
        justify-content: start;
    }

    .rp-stream-match-center {
        align-items: flex-start;
        width: 100%;
    }

    .rp-stream-match-info {
        text-align: left;
    }

    .rp-stream-match-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 780px) {
    .rp-stream-single-matches {
        padding: 18px;
    }

    .rp-stream-match-main {
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 12px;
        width: 100%;
    }

    .rp-stream-match-separator {
        display: none;
    }

    .rp-stream-match-side--home .rp-stream-team,
    .rp-stream-match-side--away .rp-stream-team {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 680px) {
    .rp-stream-single-page {
        padding: 34px 16px 58px;
    }

    .rp-stream-single-hero {
        margin-bottom: 22px;
    }

    .rp-stream-single-hero-inner {
        min-height: 0;
        padding: 28px 20px 28px;
        border-radius: 20px;
    }

    .rp-stream-single-hero-logo {
        width: min(124px, 50vw);
        margin-bottom: 14px;
    }

    .rp-stream-single-hero-logo img {
        max-height: 92px;
    }

    .rp-stream-single-title {
        font-size: clamp(29px, 9vw, 38px);
    }

    .rp-stream-single-intro {
        font-size: 15px;
    }

    .rp-stream-single-content-inner,
    .rp-stream-single-matches {
        border-radius: 20px;
    }

    .rp-stream-single-content-inner {
        padding: 24px 20px;
    }

    .rp-stream-match-row {
        padding: 14px;
        border-radius: 18px;
    }

    .rp-stream-team-name {
        font-size: 18px;
    }

    .rp-stream-flag {
        flex-basis: 62px;
        width: 62px;
        height: 44px;
    }

    .rp-stream-watch-btn,
    .rp-stream-reveal-btn {
        width: 100%;
        min-height: 46px;
    }
}
