:root {
    --bg: #04111f;
    --bg-alt: #071827;
    --card: rgba(7, 24, 39, 0.86);
    --card-strong: rgba(7, 12, 24, 0.96);
    --line: rgba(255, 255, 255, 0.1);
    --line-neon: rgba(0, 255, 136, 0.34);
    --text: #f8fbff;
    --soft: #d9e4f3;
    --muted: #93a4bb;
    --neon: #00ff9c;
    --neon-alt: #00e676;
    --live: #ff3830;
    --amber: #ffc247;
    --cyan: #38d7ff;
    --radius: 16px;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% -6%, rgba(0, 255, 136, 0.22), transparent 23rem),
        radial-gradient(circle at 92% 3%, rgba(56, 215, 255, 0.1), transparent 24rem),
        linear-gradient(145deg, #03050d 0%, var(--bg) 48%, var(--bg-alt) 100%);
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.top-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(210px, auto) auto minmax(280px, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.62rem clamp(0.85rem, 2.4vw, 1.5rem);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.78));
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px);
}

.site-shell {
    max-width: 1920px;
    margin: 0 auto;
}

.site-ticker {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-height: 2.45rem;
    padding: 0 1rem;
    overflow: hidden;
    color: #f2f8ff;
    background: #0d141b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 900;
}

.site-ticker b {
    flex: 0 0 auto;
    padding: 0.48rem 0.72rem;
    color: #fff;
    border-radius: 3px;
    background: #ff3030;
}

.site-ticker span {
    white-space: nowrap;
}

.site-top {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: center;
    min-height: 215px;
    padding: 0.75rem 0.85rem;
    background: #17232d;
}

.site-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
}

.site-brand-logo {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: contain;
    transform: scale(2.2);
    transform-origin: center;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    padding: 0 1rem;
    color: #f0f6fb;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 900;
}

.site-nav a.active {
    color: #66ff32;
    background: rgba(102, 255, 50, 0.14);
    border-bottom: 2px solid #66ff32;
}

.site-nav a.score,
.site-nav a.member-only {
    min-width: 9.6rem;
    justify-content: center;
    color: #fff;
    border-color: rgba(102, 255, 50, 0.55);
    background: rgba(102, 255, 50, 0.1);
}

.site-nav a.member-only {
    color: #061006;
    border-color: transparent;
    background: linear-gradient(135deg, #ffc247, #66ff32);
}

.site-userbar {
    display: grid;
    gap: 0.55rem;
    justify-items: end;
}

.site-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
    color: #f0f6fb;
    font-size: 0.82rem;
    font-weight: 900;
}

.site-links span {
    display: inline-grid;
    min-width: 1.2rem;
    height: 1.2rem;
    place-items: center;
    color: #061006;
    border-radius: 999px;
    background: #66ff32;
}

.site-search {
    display: flex;
    width: min(340px, 100%);
    gap: 0.35rem;
}

.site-search input {
    min-width: 0;
    flex: 1;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #20313d;
    padding: 0.74rem 0.8rem;
}

.site-search button {
    border: 0;
    border-radius: 4px;
    padding: 0 0.75rem;
    color: #061006;
    background: #66ff32;
    font-weight: 950;
}

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

    .site-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .site-userbar {
        justify-items: start;
    }

    .member-grid {
        grid-template-columns: 1fr;
    }

    .member-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .site-ticker {
        font-size: 0.78rem;
    }

    .site-top {
        min-height: auto;
    }

    .site-brand {
        width: 190px;
        height: 190px;
    }

    .site-brand-logo {
        width: 190px;
        height: 190px;
        transform: scale(2);
    }

    .site-search {
        width: 100%;
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
}

.brand-icon {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    flex: 0 0 auto;
    place-items: center;
    color: #02130a;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--neon), var(--neon-alt));
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.35), 0 0 38px rgba(0, 255, 136, 0.48);
    font-weight: 950;
}

.brand-copy {
    display: grid;
    min-width: 0;
}

.brand strong {
    overflow: hidden;
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand small {
    color: var(--neon);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.glass-panel,
.live-summary,
.search-box {
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.live-summary {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 0.45rem;
    align-items: center;
    min-height: 2.45rem;
    padding: 0 0.85rem;
    border-color: rgba(0, 255, 136, 0.28);
    border-radius: 999px;
    white-space: nowrap;
}

.live-summary strong {
    color: var(--neon);
    font-size: 1.28rem;
    line-height: 1;
}

.live-copy {
    color: var(--muted);
    font-weight: 750;
}

.pulse-dot {
    display: inline-block;
    width: 0.58rem;
    height: 0.58rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 16px var(--neon);
    animation: livePulse 1.45s ease-in-out infinite;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.45rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(8, 14, 27, 0.78);
}

.search-box:focus-within {
    border-color: var(--line-neon);
    box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.12), 0 0 26px rgba(0, 255, 136, 0.16);
}

.search-box span {
    color: var(--neon);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    min-width: 0;
    color: var(--text);
    border: 0;
    outline: 0;
    background: transparent;
}

.search-box input::placeholder {
    color: #74849a;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.icon-button,
.outline-button,
.primary-button,
.sports-menu button,
.filter-row button,
.stat-button,
.favorite-button {
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease;
}

.icon-button,
.outline-button,
.primary-button {
    min-height: 2.45rem;
    border-radius: 999px;
}

.icon-button {
    width: 2.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
}

.outline-button {
    padding: 0 0.95rem;
    color: var(--soft);
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.05);
}

.primary-button {
    padding: 0 1rem;
    color: #02130a;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--neon), var(--neon-alt));
    box-shadow: 0 0 28px rgba(0, 255, 136, 0.25);
    font-weight: 900;
}

.icon-button:hover,
.outline-button:hover,
.primary-button:hover,
.sports-menu button:hover,
.filter-row button:hover,
.match-card:hover,
.insight-card:hover,
.side-card:hover {
    border-color: var(--line-neon);
    box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.16), 0 0 38px rgba(0, 255, 156, 0.22);
    transform: translateY(-1px);
}

.sports-menu {
    position: sticky;
    top: 3.9rem;
    z-index: 25;
    display: flex;
    gap: 0.55rem;
    padding: 0.55rem clamp(0.85rem, 2.4vw, 1.5rem);
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 5, 13, 0.62);
    backdrop-filter: blur(14px);
    scrollbar-width: none;
}

.sports-menu::-webkit-scrollbar,
.filter-row::-webkit-scrollbar {
    display: none;
}

.sports-menu button,
.filter-row button {
    flex: 0 0 auto;
    min-height: 2.18rem;
    padding: 0 0.86rem;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.sports-menu button.active,
.filter-row button.active {
    color: #02130a;
    border-color: transparent;
    background: linear-gradient(135deg, var(--neon), var(--neon-alt));
    box-shadow: 0 0 28px rgba(0, 255, 136, 0.28);
    font-weight: 900;
}

.layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 300px;
    gap: 0.85rem;
    width: min(1520px, calc(100% - 2rem));
    margin: 0.75rem auto 0;
    align-items: start;
}

.glass-panel {
    border-radius: var(--radius);
}

.left-panel,
.side-card,
.matches-area,
.hero-board {
    padding: 0.82rem;
}

.left-panel,
.right-panel {
    position: sticky;
    top: 7rem;
}

.left-panel {
    display: grid;
    gap: 0.75rem;
    border-color: rgba(0, 255, 136, 0.16);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(6, 10, 20, 0.9));
}

.league-card {
    display: grid;
    gap: 0.12rem;
}

.panel-title {
    margin-bottom: 0.55rem;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 950;
}

.league-link {
    display: flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.62rem;
    color: var(--muted);
    border-radius: 12px;
    font-size: 0.86rem;
}

.league-link:hover,
.league-link.active {
    color: var(--neon);
    background: rgba(0, 255, 136, 0.09);
}

.league-link.more {
    margin-top: 0.35rem;
    color: var(--soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-card {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 136, 0.18);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(255, 255, 255, 0.035));
}

.promo-card span {
    width: fit-content;
    padding: 0.18rem 0.42rem;
    color: #02130a;
    border-radius: 999px;
    background: var(--neon);
    font-size: 0.68rem;
    font-weight: 950;
}

.promo-card strong {
    color: var(--soft);
    font-size: 0.92rem;
}

.promo-card small {
    color: var(--muted);
}

.hero-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    min-height: auto;
    margin-bottom: 0.75rem;
    overflow: hidden;
    border-color: rgba(0, 255, 136, 0.18);
    background:
        linear-gradient(135deg, rgba(0, 255, 136, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(5, 8, 22, 0.88));
}

.section-kicker {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--neon);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 360px;
    margin-bottom: 0.25rem;
    font-size: clamp(1.2rem, 1.6vw, 1.65rem);
    line-height: 1.1;
    letter-spacing: 0;
}

.hero-board p {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.35;
}

h2 {
    margin-bottom: 0;
    font-size: 1.18rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(84px, 1fr));
    gap: 0.5rem;
}

.hero-stats div {
    padding: 0.62rem;
    border: 1px solid rgba(0, 255, 136, 0.22);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
}

.hero-stats span,
.hero-stats small {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
}

.hero-stats strong {
    display: block;
    color: var(--neon);
    font-size: 1.35rem;
    line-height: 1.05;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.68rem;
}

.filter-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.match-feed {
    display: grid;
    gap: 0.72rem;
}

.match-card {
    padding: 0.9rem;
    border: 1px solid rgba(0, 255, 136, 0.16);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 156, 0.14), transparent 18rem),
        radial-gradient(circle at 100% 0%, rgba(56, 215, 255, 0.08), transparent 14rem),
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(7, 12, 24, 0.96));
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(0, 255, 156, 0.035);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.match-topline,
.match-state,
.card-actions,
.match-subline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.match-topline {
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.match-state {
    min-width: 0;
    flex-wrap: wrap;
}

.minute {
    color: var(--neon);
    font-weight: 950;
}

.live-badge {
    position: relative;
    padding: 0.22rem 0.5rem;
    color: #fff;
    border-radius: 999px;
    background: var(--live);
    box-shadow: 0 0 18px rgba(255, 56, 48, 0.48);
    font-size: 0.68rem;
    font-weight: 950;
}

.live-badge::after {
    position: absolute;
    inset: -0.28rem;
    content: "";
    border: 1px solid rgba(255, 56, 48, 0.45);
    border-radius: inherit;
    animation: liveRing 1.5s ease-out infinite;
}

.league-name {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stat-button,
.favorite-button {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.stat-button:hover,
.favorite-button:hover {
    color: var(--neon);
    border-color: var(--line-neon);
}

.favorite-button.active {
    color: var(--amber);
    border-color: rgba(255, 194, 71, 0.45);
    box-shadow: 0 0 18px rgba(255, 194, 71, 0.2);
}

.score-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.62rem;
}

.team-block {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.team-block.away {
    justify-content: flex-end;
}

.team-logo {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 auto;
    place-items: center;
    color: var(--neon);
    border: 1px solid rgba(0, 255, 136, 0.28);
    border-radius: 50%;
    background: radial-gradient(circle at top, rgba(0, 255, 136, 0.24), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 0 16px rgba(0, 255, 136, 0.08);
    font-size: 0.75rem;
    font-weight: 950;
}

.premium-logo {
    color: #02130a;
    border-color: rgba(0, 255, 156, 0.48);
    background:
        radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.92), transparent 0.36rem),
        linear-gradient(135deg, rgba(0, 255, 156, 0.95), rgba(56, 215, 255, 0.72));
    box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.12), 0 0 24px rgba(0, 255, 156, 0.22);
}

.team-block strong {
    min-width: 0;
    overflow: hidden;
    color: var(--soft);
    font-size: 1.02rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-block.away strong {
    text-align: right;
}

.score {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon);
    font-size: 2.45rem;
    font-weight: 950;
    text-shadow: 0 0 24px rgba(0, 255, 136, 0.38);
    transition: transform 220ms ease, text-shadow 220ms ease, color 220ms ease;
}

.score.changed {
    color: #ffffff;
    transform: scale(1.08);
    text-shadow: 0 0 28px rgba(0, 255, 156, 0.72), 0 0 12px rgba(255, 255, 255, 0.35);
}

.score span {
    color: var(--muted);
    font-size: 1.2rem;
}

.match-subline {
    justify-content: center;
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
}

.metric {
    position: relative;
    overflow: hidden;
    min-height: 2.8rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.stat-widget i {
    position: absolute;
    right: 0.45rem;
    bottom: 0.38rem;
    left: 0.45rem;
    display: block;
    height: 0.16rem;
    max-width: calc(100% - 0.9rem);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--neon), rgba(56, 215, 255, 0.8));
    box-shadow: 0 0 12px rgba(0, 255, 156, 0.18);
    transform-origin: left center;
    animation: statFill 640ms ease both;
}

.match-card.goal-pulse {
    animation: goalGlow 980ms ease both;
}

.match-card.minute-updated .minute,
.minute.ticking {
    animation: minuteTick 520ms ease both;
}

.match-card.is-favorite {
    border-color: rgba(255, 194, 71, 0.35);
}

.match-card.swiped {
    transform: translateX(8px);
}

.metric span,
.metric strong {
    display: block;
}

.metric span {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric strong {
    margin-top: 0.18rem;
    color: var(--text);
    font-size: 0.86rem;
}

.metric.highlight {
    border-color: rgba(0, 255, 136, 0.28);
    background: rgba(0, 255, 136, 0.09);
}

.metric.highlight strong {
    color: var(--neon);
}

.right-panel {
    display: grid;
    gap: 0.68rem;
}

.side-card {
    border-color: rgba(0, 255, 136, 0.14);
    background:
        linear-gradient(180deg, rgba(7, 24, 39, 0.9), rgba(5, 12, 24, 0.92));
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.standing-row {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr) auto 2rem;
    gap: 0.55rem;
    align-items: center;
    min-height: 1.86rem;
    color: var(--muted);
}

.standing-row strong {
    overflow: hidden;
    color: var(--soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.standing-row b,
.standing-row span {
    color: var(--neon);
}

.match-of-day {
    display: grid;
    gap: 0.48rem;
}

.big-match {
    display: grid;
    gap: 0.28rem;
}

.big-match span,
.big-match small,
.comment-stream,
.news-list a {
    color: var(--muted);
}

.big-match strong {
    color: var(--soft);
    line-height: 1.25;
}

.mini-meter {
    height: 0.52rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.mini-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--neon), var(--cyan));
}

.side-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.side-mini-grid span {
    display: grid;
    gap: 0.12rem;
    padding: 0.45rem;
    color: var(--muted);
    border: 1px solid rgba(0, 255, 156, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.72rem;
}

.side-mini-grid b {
    color: var(--neon);
}

.sponsor-card {
    display: grid;
    gap: 0.25rem;
    border-color: rgba(0, 255, 156, 0.24);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 156, 0.18), transparent 12rem),
        var(--card);
}

.sponsor-card strong {
    color: var(--neon);
}

.sponsor-card span {
    color: var(--muted);
}

.news-list,
.comment-stream {
    display: grid;
    gap: 0.55rem;
}

.news-list a {
    display: grid;
    gap: 0.2rem;
}

.news-list span {
    color: var(--neon);
    font-size: 0.7rem;
    font-weight: 950;
}

.news-list strong {
    color: var(--soft);
    font-size: 0.88rem;
    line-height: 1.32;
}

.comment-stream p {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.35;
}

.live-comment {
    align-items: flex-start;
    padding: 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    animation: commentIn 360ms ease both;
}

.live-comment.urgent {
    border-color: rgba(255, 56, 48, 0.36);
    background: rgba(255, 56, 48, 0.08);
}

.comment-avatar {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
    place-items: center;
    color: #02130a;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon), var(--cyan));
    font-size: 0.58rem;
    font-weight: 950;
}

.toast-stack {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 70;
    display: grid;
    gap: 0.65rem;
    width: min(360px, calc(100vw - 2rem));
    pointer-events: none;
}

.notification-toast {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.72rem;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 156, 0.28);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 156, 0.18), transparent 10rem),
        rgba(5, 8, 22, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48), 0 0 28px rgba(0, 255, 156, 0.14);
    backdrop-filter: blur(18px);
    animation: toastIn 280ms ease both;
}

.notification-toast.goal {
    border-color: rgba(255, 56, 48, 0.42);
}

.notification-toast.closing {
    animation: toastOut 520ms ease both;
}

.toast-icon {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    color: #02130a;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon), var(--cyan));
    font-size: 0.66rem;
    font-weight: 950;
}

.notification-toast.goal .toast-icon {
    color: #fff;
    background: var(--live);
    box-shadow: 0 0 22px rgba(255, 56, 48, 0.42);
}

.notification-toast strong,
.notification-toast small {
    display: block;
}

.notification-toast small {
    margin-top: 0.16rem;
    color: var(--muted);
}

.mobile-live-ticker {
    display: none;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-line,
.skeleton-score,
.skeleton-grid span {
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(0, 255, 156, 0.16), rgba(255, 255, 255, 0.06));
    background-size: 220% 100%;
    animation: shimmer 1.05s linear infinite;
}

.skeleton-line {
    width: 42%;
    height: 0.85rem;
    margin-bottom: 1rem;
}

.skeleton-score {
    width: 58%;
    height: 2.8rem;
    margin: 0 auto 1rem;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
}

.skeleton-grid span {
    height: 2.8rem;
    border-radius: 12px;
}

.ad-box {
    display: grid;
    min-height: 10rem;
    margin-top: 0.75rem;
    place-items: center;
    color: var(--muted);
    border: 1px dashed rgba(147, 164, 187, 0.38);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.bottom-blocks {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    width: min(1520px, calc(100% - 2rem));
    margin: 0.75rem auto 1.5rem;
}

.insight-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.72rem;
    align-items: start;
    min-height: 5.3rem;
    padding: 0.75rem;
    border-color: rgba(0, 255, 156, 0.18);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 156, 0.12), transparent 9rem),
        rgba(7, 24, 39, 0.86);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.insight-card span {
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0;
    place-items: center;
    color: #02130a;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon), var(--neon-alt));
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.24);
    font-weight: 950;
}

.insight-card h3 {
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
}

.insight-card p {
    grid-column: 2;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.32;
}

.empty-state {
    display: none;
    padding: 2rem;
    color: var(--muted);
    text-align: center;
}

.empty-state.show {
    display: block;
}

.mobile-bottom-nav {
    display: none;
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.scoreboard {
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-color: rgba(0, 255, 156, 0.2);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 255, 156, 0.12), transparent 28rem),
        var(--card);
}

.scoreboard p {
    margin-bottom: 0;
    color: var(--muted);
    text-align: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.detail-card {
    padding: 0.9rem;
    border-color: rgba(0, 255, 156, 0.14);
}

.detail-card h2 {
    margin-bottom: 0.65rem;
}

.detail-card p {
    margin-bottom: 0.45rem;
    color: var(--muted);
    line-height: 1.42;
}

.lineup-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.lineup-list div,
.auth-form {
    display: grid;
    gap: 0.45rem;
}

.lineup-list span {
    color: var(--muted);
    font-size: 0.88rem;
}

.momentum-bars {
    display: flex;
    align-items: end;
    gap: 0.35rem;
    height: 7rem;
    margin-bottom: 0.8rem;
}

.momentum-bars i {
    flex: 1;
    min-width: 0.6rem;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, var(--neon), rgba(0, 255, 156, 0.18));
    box-shadow: 0 0 18px rgba(0, 255, 156, 0.18);
}

.momentum-board {
    position: relative;
    display: grid;
    gap: 0.65rem;
}

.momentum-svg {
    width: 100%;
    min-height: 160px;
    overflow: visible;
    border: 1px solid rgba(0, 255, 156, 0.14);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        rgba(255, 255, 255, 0.03);
    background-size: 100% 33%, 12.5% 100%;
}

.momentum-svg path,
.momentum-svg polyline {
    filter: drop-shadow(0 0 8px rgba(0, 255, 156, 0.32));
}

.momentum-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.momentum-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.momentum-legend i {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 12px rgba(0, 255, 156, 0.5);
}

.momentum-legend .away i {
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(56, 215, 255, 0.45);
}

.stat-bars {
    display: grid;
    gap: 0.55rem;
}

.stat-row {
    display: grid;
    grid-template-columns: 3.2rem minmax(0, 1fr) 3.2rem;
    gap: 0.55rem;
    align-items: center;
}

.stat-row span {
    color: var(--soft);
    font-size: 0.82rem;
    font-weight: 850;
}

.stat-track {
    position: relative;
    height: 0.62rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
}

.stat-track i {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    animation: statFill 720ms ease both;
}

.stat-track .home {
    right: 50%;
    background: linear-gradient(90deg, var(--neon), rgba(0, 255, 156, 0.5));
}

.stat-track .away {
    left: 50%;
    background: linear-gradient(90deg, rgba(56, 215, 255, 0.55), var(--cyan));
}

.stat-name {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.72rem;
    text-align: center;
}

.news-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.news-card {
    position: relative;
    overflow: hidden;
    padding: 0.9rem;
    border-color: rgba(0, 255, 156, 0.14);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.news-image {
    position: relative;
    display: grid;
    min-height: 8rem;
    margin-bottom: 0.75rem;
    place-items: center;
    color: #04111f;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.46), transparent 1.8rem),
        linear-gradient(135deg, rgba(0, 255, 156, 0.95), rgba(56, 215, 255, 0.7));
    font-weight: 950;
}

.news-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 30%, rgba(4, 17, 31, 0.68));
}

.news-card:hover {
    border-color: var(--line-neon);
    box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.15), 0 0 34px rgba(0, 255, 156, 0.18);
    transform: translateY(-2px);
}

.news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 0.45rem;
}

.category-badge,
.breaking-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0 0.48rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 950;
}

.category-badge {
    color: #02130a;
    background: var(--neon);
}

.breaking-badge {
    color: #fff;
    background: var(--live);
    box-shadow: 0 0 16px rgba(255, 56, 48, 0.32);
}

.news-card h2 {
    margin: 0.5rem 0 0.35rem;
}

.news-card p,
.news-card small {
    color: var(--muted);
}

.ad-slot {
    display: grid;
    min-height: 4.5rem;
    margin-bottom: 0.75rem;
    place-items: center;
    color: var(--muted);
    border: 1px dashed rgba(0, 255, 156, 0.22);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.ad-slot.box {
    min-height: 15rem;
}

.ad-slot.wide {
    min-height: 5.2rem;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
    padding: 0.8rem;
    border-radius: var(--radius);
}

.admin-actions span,
.admin-actions strong {
    color: var(--muted);
}

.admin-health {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
}

.auth-shell {
    display: grid;
    gap: 1rem;
    width: min(440px, calc(100% - 2rem));
    margin: 8vh auto;
    padding: 1rem;
    border-radius: var(--radius);
}

.auth-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--muted);
}

.auth-form input {
    min-height: 2.7rem;
    padding: 0 0.8rem;
    color: var(--text);
    border: 1px solid rgba(0, 255, 156, 0.16);
    border-radius: 12px;
    outline: 0;
    background: rgba(255, 255, 255, 0.045);
}

.auth-check {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    gap: 0.55rem;
    align-items: start;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 156, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.auth-check input {
    min-height: auto;
    margin-top: 0.15rem;
    padding: 0;
    accent-color: var(--neon);
}

.auth-alert {
    display: grid;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 850;
}

.auth-alert p {
    margin: 0;
}

.auth-alert.error {
    color: #fff;
    border: 1px solid rgba(255, 56, 48, 0.32);
    background: rgba(255, 56, 48, 0.14);
}

.auth-alert.success {
    color: #eafff6;
    border: 1px solid rgba(0, 255, 156, 0.25);
    background: rgba(0, 255, 156, 0.1);
}

.auth-alert a {
    color: var(--neon);
    font-weight: 950;
}

.member-shell {
    display: grid;
    gap: 0.9rem;
    width: min(1500px, calc(100% - 1.5rem));
    margin: 1rem auto 2rem;
}

.member-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius);
}

.member-hero h1 {
    margin: 0.2rem 0;
    font-size: clamp(1.7rem, 3vw, 3rem);
}

.member-hero p,
.member-account span,
.member-note {
    color: var(--muted);
}

.member-account {
    display: grid;
    min-width: min(320px, 100%);
    gap: 0.25rem;
    padding: 0.85rem;
    border: 1px solid rgba(0, 255, 156, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.member-account a {
    color: var(--neon);
    font-weight: 950;
}

.member-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 360px;
    gap: 0.9rem;
}

.member-card {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    padding: 0.95rem;
    border-radius: var(--radius);
}

.member-card h2 {
    margin: 0;
    color: var(--soft);
    font-size: 1.05rem;
}

.member-menu,
.member-comments,
.coupon-list {
    display: grid;
    gap: 0.55rem;
}

.member-menu a {
    padding: 0.72rem 0.8rem;
    color: var(--soft);
    border: 1px solid rgba(0, 255, 156, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    font-weight: 950;
    text-transform: uppercase;
}

.member-menu a:hover {
    color: #02130a;
    border-color: transparent;
    background: linear-gradient(135deg, var(--neon), var(--neon-alt));
}

.member-comments article,
.coupon-list article {
    display: grid;
    gap: 0.25rem;
    padding: 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.member-comments span,
.coupon-list small {
    color: var(--neon);
    font-size: 0.76rem;
    font-weight: 900;
}

.member-comments strong,
.coupon-list b {
    color: var(--soft);
}

.member-comments p,
.coupon-list span {
    margin: 0;
    color: var(--muted);
    line-height: 1.42;
}

.member-note {
    margin: 0;
    line-height: 1.45;
}

.members-page {
    width: min(1520px, calc(100% - 1.5rem));
    margin: 0.85rem auto 2rem;
}

.members-tabs {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0.75rem;
    overflow-x: auto;
    border: 1px solid rgba(0, 255, 156, 0.14);
    border-radius: var(--radius);
    background: rgba(7, 24, 39, 0.78);
    box-shadow: var(--shadow);
}

.members-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 3.1rem;
    padding: 0 1rem;
    color: var(--soft);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    font-weight: 950;
    white-space: nowrap;
}

.members-tabs a.active,
.members-tabs a:hover {
    color: #02130a;
    border-color: transparent;
    background: linear-gradient(135deg, var(--neon), var(--neon-alt));
}

.members-empty {
    display: grid;
    gap: 0.35rem;
    min-height: 16rem;
    margin-top: 0.85rem;
    padding: 1.1rem;
    border-radius: var(--radius);
}

.members-empty h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.members-empty p {
    margin: 0;
    color: var(--muted);
}

.analysis-grid {
    width: 100%;
    margin: 0 0 0.75rem;
}

.ai-card {
    display: grid;
    gap: 0.72rem;
    min-height: 13rem;
    padding: 0.9rem;
    border-color: rgba(0, 255, 156, 0.2);
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 255, 156, 0.18), transparent 11rem),
        linear-gradient(180deg, rgba(7, 24, 39, 0.94), rgba(4, 8, 18, 0.96));
}

.ai-card-head {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.ai-chip {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    place-items: center;
    color: #02130a;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--neon), var(--cyan));
    box-shadow: 0 0 24px rgba(0, 255, 156, 0.28);
    font-weight: 950;
}

.ai-card h3 {
    margin-bottom: 0.2rem;
    font-size: 0.98rem;
}

.ai-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.ai-score-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem;
}

.ai-score {
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.ai-score span,
.ai-score strong {
    display: block;
}

.ai-score span {
    color: var(--muted);
    font-size: 0.68rem;
}

.ai-score strong {
    color: var(--neon);
    font-size: 1rem;
}

.ai-risk-high strong {
    color: var(--live);
}

.ai-risk-mid strong {
    color: var(--amber);
}

.ai-meter {
    height: 0.4rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.ai-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--neon), var(--cyan));
    animation: statFill 720ms ease both;
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.72);
        opacity: 0.58;
    }
}

@keyframes liveRing {
    from {
        transform: scale(0.9);
        opacity: 0.78;
    }
    to {
        transform: scale(1.34);
        opacity: 0;
    }
}

@keyframes goalGlow {
    0%, 100% {
        box-shadow: 0 18px 52px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(0, 255, 156, 0.035);
    }
    36% {
        border-color: rgba(0, 255, 156, 0.72);
        box-shadow: 0 0 0 1px rgba(0, 255, 156, 0.32), 0 0 46px rgba(0, 255, 156, 0.42);
    }
}

@keyframes minuteTick {
    from {
        transform: translateY(-0.35rem);
        opacity: 0.45;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes statFill {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes shimmer {
    from {
        background-position: 120% 0;
    }
    to {
        background-position: -120% 0;
    }
}

@keyframes commentIn {
    from {
        transform: translateY(-0.4rem);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes toastIn {
    from {
        transform: translateX(1rem);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    to {
        transform: translateX(1rem);
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .top-header {
        grid-template-columns: 1fr auto;
    }

    .search-box,
    .header-actions {
        grid-column: 1 / -1;
    }

    .layout {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .right-panel {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        position: static;
    }

    .bottom-blocks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    body {
        padding-bottom: 4.8rem;
    }

    .top-header {
        grid-template-columns: 1fr auto;
        gap: 0.65rem;
        padding: 0.72rem;
    }

    .brand-icon {
        width: 2.55rem;
        height: 2.55rem;
    }

    .brand strong {
        font-size: 1rem;
    }

    .brand small {
        font-size: 0.62rem;
    }

    .live-summary {
        min-height: 2.45rem;
        padding: 0 0.78rem;
    }

    .live-summary .live-copy {
        display: none;
    }

    .search-box,
    .header-actions {
        grid-column: 1 / -1;
    }

    .header-actions {
        display: grid;
        grid-template-columns: 2.45rem minmax(0, 1fr) minmax(0, 1fr);
        justify-content: stretch;
    }

    .header-actions button {
        min-width: 0;
        padding-right: 0.55rem;
        padding-left: 0.55rem;
        overflow: hidden;
        font-size: 0.86rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sports-menu {
        top: 8.35rem;
        padding: 0.65rem 0.75rem;
    }

    .mobile-live-ticker {
        position: sticky;
        top: 12.25rem;
        z-index: 24;
        display: flex;
        gap: 0.45rem;
        align-items: center;
        width: calc(100% - 1rem);
        min-height: 2.25rem;
        margin: 0.5rem auto 0;
        padding: 0 0.75rem;
        color: var(--muted);
        border: 1px solid rgba(0, 255, 156, 0.2);
        border-radius: 999px;
        background: rgba(5, 8, 22, 0.86);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(16px);
    }

    .mobile-live-ticker strong {
        color: var(--neon);
    }

    .layout,
    .hero-board,
    .right-panel,
    .bottom-blocks,
    .detail-grid,
    .news-page-grid,
    .lineup-list,
    .admin-health {
        grid-template-columns: 1fr;
    }

    .layout,
    .bottom-blocks {
        width: calc(100% - 1rem);
    }

    .left-panel,
    .right-panel {
        position: static;
    }

    .left-panel {
        display: flex;
        gap: 0.45rem;
        overflow-x: auto;
        padding: 0.75rem;
        scrollbar-width: none;
    }

    .left-panel .panel-title,
    .promo-card {
        display: none;
    }

    .league-card {
        display: contents;
    }

    .league-link {
        flex: 0 0 auto;
        min-height: 2.2rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .match-feed {
        scroll-snap-type: x proximity;
    }

    .match-card {
        scroll-snap-align: start;
    }

    .toast-stack {
        top: auto;
        right: 0.5rem;
        bottom: 5.25rem;
        left: 0.5rem;
        width: auto;
    }

    .skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.25rem;
        padding: 0.45rem;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(5, 8, 22, 0.94);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(18px);
    }

    .mobile-bottom-nav a {
        overflow: hidden;
        padding: 0.5rem 0.2rem;
        color: var(--muted);
        border-radius: 12px;
        font-size: 0.68rem;
        font-weight: 800;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bottom-nav a.active {
        color: #02130a;
        background: var(--neon);
    }
}

@media (max-width: 560px) {
    body {
        overflow-x: hidden;
    }

    .live-summary {
        display: none;
    }

    .header-actions {
        gap: 0.35rem;
        width: calc(100vw - 1.44rem);
        max-width: 100%;
    }

    .header-actions button {
        font-size: 0.78rem;
    }

    h1 {
        font-size: 1.35rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .score-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        justify-items: stretch;
    }

    .team-block,
    .team-block.away {
        justify-content: flex-start;
    }

    .team-block.away strong {
        text-align: left;
    }

    .score {
        order: -1;
        justify-content: flex-start;
        font-size: 2.05rem;
    }

    .match-topline {
        align-items: flex-start;
    }

    .card-actions {
        flex-shrink: 0;
    }

    .ai-score-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}
