:root {
    color-scheme: dark;
    --paper: #0b1020;
    --surface: #151d32;
    --forest: #b8f34a;
    --pitch: #39d5e8;
    --brass: #b8f34a;
    --ink: #f4f7fc;
    --muted: #9aa7be;
    --line: #28344d;
    --shadow: 0 16px 38px rgba(2, 6, 17, 0.28);
    --display: "Segoe UI", Arial, sans-serif;
    --body: "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.55;
}

.arena-live-fixtures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin: 20px 0 0;
}

.arena-fixture {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.arena-fixture__status {
    grid-column: 1 / -1;
    color: var(--pitch);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.arena-fixture__teams {
    align-self: center;
    margin: 0;
    font-size: 1rem;
}

.arena-fixture__score {
    align-self: center;
    color: var(--forest);
    font-size: 1.4rem;
    white-space: nowrap;
}

.arena-fixture__kickoff,
.arena-live-source,
.arena-live-empty {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.78rem;
}

.arena-live-source {
    margin: 4px 0 0;
}

body::before,
body::after {
    display: none;
    content: none;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(46, 139, 87, 0.35);
    outline-offset: 3px;
}

.wrap {
    width: min(1260px, calc(100% - 48px));
    margin: 0 auto;
}

.topbar {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--forest);
    font-family: var(--body);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px 9px 9px 3px;
    color: var(--surface);
    background: var(--forest);
    box-shadow: none;
    font-family: var(--display);
}

nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 650;
}

nav a:hover,
nav a.back {
    color: var(--forest);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 30px;
    padding: 36px 0 28px;
}

.kicker,
.section-head > div > p,
.panel .tag {
    color: var(--pitch);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 680px;
    margin: 11px 0 14px;
    color: var(--forest);
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
    text-transform: none;
}

.hero h1 em {
    color: var(--pitch);
}

.hero p {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--forest);
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 750;
}

.button.primary {
    color: var(--surface);
    background: var(--forest);
    box-shadow: none;
}

.button.ghost {
    color: var(--forest);
    border-color: #cdd9ce;
    background: var(--surface);
}

.button:hover {
    transform: translateY(-1px);
}

.player-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid #d9e1d5;
    border-radius: 18px;
    background: #e9f0e3;
    box-shadow: var(--shadow);
    animation: none;
}

.player-card::before {
    width: 250px;
    height: 250px;
    right: -80px;
    top: -95px;
    border: 1px solid rgba(18, 59, 42, 0.2);
    box-shadow: 0 0 0 20px rgba(18, 59, 42, 0.04), 0 0 0 42px rgba(18, 59, 42, 0.025);
}

.player-card::after {
    height: 35%;
    background: linear-gradient(transparent, rgba(46, 139, 87, 0.12));
}

.player-svg {
    right: 22px;
    bottom: 8px;
    width: 68%;
    height: 87%;
    filter: drop-shadow(0 14px 12px rgba(18, 59, 42, 0.13));
}

.card-readout {
    z-index: 2;
    padding: 8px 11px;
    border: 1px solid rgba(18, 59, 42, 0.13);
    border-radius: 999px;
    color: var(--forest);
    background: rgba(255, 254, 250, 0.85);
    font-family: var(--body);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
}

.metric {
    display: grid;
    justify-items: end;
    max-width: calc(100% - 28px);
    padding: 10px 13px;
    border-radius: 11px;
    color: rgba(255, 254, 250, 0.75);
    background: var(--forest);
    overflow-wrap: anywhere;
    text-align: right;
}

.metric strong {
    color: #e5c778;
    font-family: var(--display);
    font-size: 1.45rem;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 13px;
}

.section-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-transform: none;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel .tag {
    font-size: 0.65rem;
}

.panel h3 {
    margin: 10px 0 6px;
    color: var(--ink);
    font-size: 1rem;
}

.panel p {
    color: var(--muted);
    line-height: 1.55;
}

.signal {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.73rem;
}

.dot {
    flex: 0 0 auto;
    background: var(--brass);
    box-shadow: 0 0 0 4px rgba(211, 168, 79, 0.15);
}

.empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    margin-top: 14px;
    padding: 20px;
    border: 1px dashed #cbd6c9;
    border-radius: 15px;
    background: rgba(255, 254, 250, 0.7);
}

.empty-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: var(--forest);
    background: #e8eee4;
}

.empty h3 {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 0.97rem;
}

.empty p {
    margin: 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.channels {
    margin: 35px 0 48px;
}

.channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 9px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.channel strong {
    display: block;
    color: var(--ink);
}

.channel span {
    color: var(--muted);
    font-size: 0.78rem;
}

.channel a {
    color: var(--forest);
    font-size: 0.8rem;
    font-weight: 750;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.74rem;
}

footer a {
    color: var(--forest);
}

@media (max-width: 780px) {
    .wrap {
        width: min(100% - 28px, 620px);
    }

    .topbar {
        min-height: 70px;
    }

    nav {
        gap: 12px;
    }

    nav a:not(.back) {
        display: none;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 28px 0 20px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

    .player-card {
        min-height: 270px;
    }

    .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .channel,
    footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    background:
        radial-gradient(ellipse at 50% -25%, rgba(57, 213, 232, 0.08), transparent 48%),
        var(--paper);
}

.brand,
.back,
nav a:hover,
nav a.back,
.channel a,
footer a {
    color: var(--forest);
}

.topbar {
    border-color: var(--line);
}

.mark {
    color: var(--paper);
    background: var(--forest);
    font-family: var(--body);
}

nav a {
    color: var(--muted);
}

.hero h1 {
    color: var(--ink);
}

.hero h1 em,
.kicker,
.section-head > div > p,
.panel .tag {
    color: var(--pitch);
}

.hero p,
.section-head p,
.panel p,
.empty p,
.channel span {
    color: var(--muted);
}

.button.primary {
    color: var(--paper);
    background: var(--forest);
}

.button.ghost {
    border-color: #34415b;
    color: var(--ink);
    background: var(--surface);
}

.player-card {
    border-color: var(--line);
    background:
        radial-gradient(circle at 72% 32%, rgba(57, 213, 232, 0.18), transparent 31%),
        linear-gradient(145deg, #192541, #10182b 68%, #0b1020);
    box-shadow: var(--shadow);
}

.player-card::before {
    border-color: rgba(57, 213, 232, 0.24);
    box-shadow: 0 0 0 20px rgba(57, 213, 232, 0.04), 0 0 0 42px rgba(184, 243, 74, 0.025);
}

.player-card::after {
    background: linear-gradient(transparent, rgba(57, 213, 232, 0.1));
}

.card-readout {
    border-color: rgba(57, 213, 232, 0.25);
    color: var(--pitch);
    background: rgba(15, 23, 41, 0.88);
}

.metric {
    color: var(--ink);
    background: #10182b;
}

.metric strong {
    color: var(--forest);
}

.player-svg linearGradient stop:first-child {
    stop-color: var(--forest);
}

.player-svg linearGradient stop:last-child {
    stop-color: var(--pitch);
}

.player-svg circle:first-of-type {
    fill: var(--forest);
}

.player-svg circle:last-of-type {
    fill: var(--surface);
    stroke: var(--pitch);
}

.player-svg path:nth-of-type(2) {
    fill: var(--forest);
}

.player-svg path:nth-of-type(3) {
    fill: var(--pitch);
}

.panel,
.channel {
    border-color: var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.signal {
    border-color: var(--line);
    color: var(--muted);
}

.dot {
    background: var(--forest);
    box-shadow: 0 0 0 4px rgba(184, 243, 74, 0.15);
}

.empty {
    border-color: #40506c;
    background: #111a2d;
}

.empty-icon {
    color: var(--pitch);
    background: #182b43;
}

footer {
    border-color: var(--line);
    color: var(--muted);
}
