.watch-page {
    background: #0b0b0e;
}

.back-live {
    justify-self: end;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
}

.watch-shell {
    width: min(1100px, calc(100% - 40px));
    margin: auto;
    padding: 34px 0 70px;
}

.watch-heading {
    margin-bottom: 18px;
}

.watch-heading > a {
    color: #777982;
    font-size: 12px;
}

.watch-heading p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 4px;
    color: #757780;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}

.watch-heading p span {
    padding: 3px 7px;
    color: #111;
    background: var(--gold);
    border-radius: 2px;
}

.watch-heading h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    text-transform: uppercase;
}

.watch-heading h1 em {
    margin: 0 8px;
    color: var(--gold);
    font-size: .56em;
    font-style: normal;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
    background: #111216;
    border: 1px solid rgba(255,255,255,.1);
}

.watch-main {
    min-width: 0;
    border-right: 1px solid rgba(255,255,255,.1);
}

.match-scorebar {
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    align-items: center;
    min-height: 98px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #111219, #191a20 50%, #111219);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.score-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.score-team:last-child {
    flex-direction: row-reverse;
    text-align: right;
}

.score-team img,
.mini-crest {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    object-fit: contain;
    place-items: center;
}

.mini-crest {
    color: #111;
    background: var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
}

.score-team strong {
    overflow: hidden;
    font-family: var(--font-display);
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.score-centre {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-centre b {
    color: white;
    font-family: var(--font-display);
    font-size: 27px;
}

.score-centre small {
    color: #777982;
    font-size: 9px;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff6773;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
}

.live-pill i,
.player-toolbar > span i {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.watch-player {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(255,196,0,.12), transparent 28%),
        linear-gradient(135deg, #13151b, #050507);
}

.watch-player::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
}

.watch-player video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: #000;
}

.watch-placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #72747d;
    text-align: center;
}

.watch-placeholder strong {
    margin-top: 18px;
    color: #d5d6da;
    font-family: var(--font-display);
    font-size: 15px;
    letter-spacing: .1em;
}

.watch-placeholder small {
    margin-top: 4px;
}

.watch-play {
    display: grid;
    width: 78px;
    height: 78px;
    padding-left: 5px;
    place-items: center;
    color: #111;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 0 13px rgba(255,196,0,.07);
    font-size: 26px;
}

.player-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    color: #7e8088;
    background: #08090b;
    border-top: 1px solid #24262d;
    font-size: 10px;
}

.player-toolbar > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-weight: 700;
}

.player-toolbar p {
    margin: 0;
    text-align: center;
}

.player-toolbar button {
    padding: 6px 8px;
    color: #aaa;
    background: #1a1b20;
    border: 1px solid #2c2e35;
    border-radius: 3px;
    font-family: var(--font-display);
    font-size: 9px;
    cursor: pointer;
}

.channel-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 9px 14px;
    background: #0d0e11;
    border-top: 1px solid #24262d;
}

.channel-title {
    color: #55575f;
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

#channel-options {
    display: flex;
    gap: 7px;
    overflow-x: auto;
}

.channel-button {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 110px;
    padding: 6px 9px;
    color: #d2d3d7;
    background: #23242a;
    border: 1px solid #35363e;
    border-radius: 3px;
    cursor: pointer;
}

.channel-button.active,
.channel-button:hover {
    color: #111;
    background: var(--gold);
    border-color: var(--gold);
}

.channel-button i {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    background: rgba(0,0,0,.2);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.channel-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.05;
}

.channel-button small {
    margin-top: 3px;
    opacity: .55;
    font-size: 8px;
}

.watch-sidebar {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: #18191d;
}

.sidebar-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0d0e11;
    border-bottom: 1px solid #303139;
}

.sidebar-tabs button {
    min-width: 0;
    padding: 13px 3px;
    color: #7d7f87;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.sidebar-tabs button.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.sidebar-panel {
    display: none;
    min-height: 420px;
    flex: 1;
}

.sidebar-panel.active {
    display: flex;
    flex-direction: column;
}

.chat-feed {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 13px;
    padding: 15px;
    overflow-y: auto;
    font-size: 11px;
}

#chat-comments {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.system-message,
.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.system-message i,
.chat-message b {
    display: grid;
    min-width: 27px;
    height: 21px;
    padding: 0 3px;
    place-items: center;
    color: #111;
    background: var(--gold);
    border-radius: 2px;
    font-size: 8px;
    font-style: normal;
}

.chat-message b {
    overflow: hidden;
    width: 27px;
    color: white;
    background: #1d7fca;
    text-transform: uppercase;
}

.system-message p,
.chat-message p {
    margin: 0;
}

.system-message strong,
.chat-message strong {
    margin-right: 4px;
    color: var(--gold);
}

.chat-message p {
    min-width: 0;
    color: #c7c8cd;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.chat-message time {
    display: block;
    margin-top: 2px;
    color: #60626a;
    font-size: 8px;
}

.system-message span {
    display: block;
    color: #aaa;
}

.chat-empty {
    display: grid;
    flex: 1;
    place-content: center;
    color: #5e6068;
    text-align: center;
}

.chat-empty[hidden] {
    display: none;
}

.chat-empty > i {
    color: #363841;
    font-size: 28px;
}

.chat-disabled {
    min-height: 420px;
    padding: 24px;
}

.chat-tools {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 12px;
    color: #6f7179;
    border-top: 1px solid #35363c;
}

.chat-tools span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chat-tools b {
    font-size: 9px;
    font-weight: 600;
}

.chat-tools i {
    font-size: 14px;
}

.chat-composer {
    display: grid;
    grid-template-columns: minmax(76px, .65fr) minmax(110px, 1.35fr) auto;
    margin: 0 12px;
    overflow: hidden;
    border: 1px solid #505158;
    border-radius: 4px;
}

.chat-composer input,
.chat-composer button {
    min-width: 0;
    padding: 12px 8px;
    color: #888a91;
    background: #141519;
    border: 0;
    font-size: 11px;
}

#guest-comment {
    border-left: 1px solid #35363c;
}

.chat-composer button:last-child {
    color: #111;
    background: var(--gold);
    font-family: var(--font-display);
    font-weight: 800;
    cursor: pointer;
}

.chat-composer button:disabled {
    color: #777;
    background: #d5d5d7;
    cursor: wait;
}

.chat-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.chat-feedback {
    min-height: 16px;
    margin: 5px 12px 8px;
    color: #858790;
    font-size: 9px;
}

.chat-feedback.error {
    color: #ff6b6b;
}

.chat-feedback.success {
    color: var(--green);
}

.stat-summary {
    padding: 16px;
}

.stat-summary p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0;
    padding: 15px 4px;
    border-bottom: 1px solid #2c2d33;
}

.stat-summary span {
    color: #777982;
    font-size: 11px;
}

.stat-summary strong {
    font-family: var(--font-display);
    font-size: 13px;
    text-align: right;
}

.green-text {
    color: var(--green);
}

.centre-message {
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #666871;
    text-align: center;
}

.centre-message > i {
    font-size: 36px;
}

.centre-message strong {
    margin-top: 12px;
    color: #d4d5d8;
    font-family: var(--font-display);
}

.centre-message p {
    max-width: 240px;
    margin: 5px 0 0;
    font-size: 11px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 28px 0 12px;
}

.section-title > span {
    width: 3px;
    height: 27px;
    background: var(--gold);
}

.section-title h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.data-grid article {
    min-height: 155px;
    background: #121317;
    border: 1px solid #292a30;
}

.data-grid header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #17181d;
    border-bottom: 1px solid #292a30;
    font-family: var(--font-display);
    font-size: 13px;
}

.data-grid header > i {
    color: var(--gold);
}

.overview-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    padding: 25px;
}

.overview-teams p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.overview-teams p:last-child {
    align-items: flex-end;
    text-align: right;
}

.overview-teams b {
    font-family: var(--font-display);
}

.overview-teams span {
    color: #5d5f66;
    font-size: 9px;
}

.overview-teams em {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
}

.stats-coming {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 30px;
}

.stats-coming i {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0,215,104,.08);
}

.stats-coming p {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.stats-coming strong {
    font-family: var(--font-display);
    font-size: 13px;
}

.stats-coming span {
    color: #74767e;
    font-size: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.related-grid a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
    padding: 16px;
    background: #121317;
    border: 1px solid #292a30;
}

.related-grid small {
    grid-column: 1 / -1;
    color: #6e7078;
    font-size: 9px;
}

.related-grid strong {
    font-family: var(--font-display);
    font-size: 15px;
}

.related-grid em {
    margin: 0 5px;
    color: var(--gold);
    font-style: normal;
}

.related-grid span {
    align-self: center;
    color: var(--green);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
}

.not-found {
    display: grid;
    min-height: 70vh;
    place-content: center;
    text-align: center;
}

.not-found > i {
    font-size: 50px;
}

.not-found h1 {
    margin: 15px 0 0;
    font-family: var(--font-display);
    font-size: 42px;
}

.not-found p {
    color: #777982;
}

@media (max-width: 900px) {
    .back-live {
        display: none;
    }

    .watch-layout {
        grid-template-columns: 1fr;
    }

    .watch-main {
        border-right: 0;
    }

    .watch-sidebar {
        min-height: 430px;
        border-top: 1px solid #303139;
    }
}

@media (max-width: 650px) {
    .watch-shell {
        width: calc(100% - 20px);
        padding-top: 24px;
    }

    .watch-heading h1 {
        font-size: 29px;
    }

    .match-scorebar {
        grid-template-columns: 1fr 82px 1fr;
        min-height: 84px;
        padding-inline: 10px;
    }

    .score-team {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .score-team:last-child {
        flex-direction: column;
        text-align: center;
    }

    .score-team img,
    .mini-crest {
        width: 40px;
        height: 40px;
    }

    .score-team strong {
        max-width: 100px;
        font-size: 12px;
    }

    .score-centre b {
        font-size: 21px;
    }

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

    .player-toolbar button {
        display: none;
    }

    .channel-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .channel-title {
        padding-top: 3px;
    }

    #channel-options {
        width: 100%;
    }

    .chat-composer {
        grid-template-columns: minmax(72px, .55fr) minmax(100px, 1.45fr) auto;
    }

    .data-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}
