/* ================================================
   RETRO SCOREBOARD COUNTDOWN — Styles
   ================================================ */

/* İçerik z-index */
.scoreboard-page,
.scoreboard-hero,
.scoreboard-section,
.scoreboard-share-strip {
    position: relative;
    z-index: 3;
}

/* ================================================
   HERO
   ================================================ */

.scoreboard-hero {
    background-image:
        linear-gradient(rgba(255,0,0,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,0,0,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    border-bottom: 4px solid #550000;
    padding: 40px 32px;
    text-align: center;
}

.sb-hero-eyebrow {
    font-size: 7px;
    color: #ff0000;
    letter-spacing: 3px;
    margin-bottom: 12px;
    animation: blink 1.2s step-end infinite;
}

.sb-hero-title {
    font-size: clamp(16px, 2.8vw, 30px);
    color: #ffffff;
    letter-spacing: 3px;
    text-shadow: 4px 4px 0 #880000, 6px 6px 0 #550000;
    margin-bottom: 10px;
}

.sb-hero-sub {
    font-size: 7px;
    color: #cc9999;
    letter-spacing: 2px;
    line-height: 2.2;
}

/* ================================================
   SECTION WRAPPER
   ================================================ */

.scoreboard-section {
    background-color: #050000;
}

.scoreboard-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 32px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}


/* ================================================
   7-SEGMENT DISPLAY — Shared with Match Hub
   ================================================ */

@keyframes sb-led-seq {
    0%, 49% { background: #ff0000; box-shadow: 0 0 6px #ff0000; }
    50%,100% { background: #220000; box-shadow: none; }
}


.seg {
    position: absolute;
    background-color: #1a0000;  /* off */
    transition: none;
}

/* Horizontal segments */
.seg-a { top: 3px;    left: 5px; right: 5px; height: 5px; }
.seg-g { top: 50%;    left: 5px; right: 5px; height: 5px; transform: translateY(-50%); }
.seg-d { bottom: 3px; left: 5px; right: 5px; height: 5px; }

/* Vertical segments */
.seg-f { top: 8px;    left: 3px;  width: 5px; height: calc(50% - 10px); }
.seg-b { top: 8px;    right: 3px; width: 5px; height: calc(50% - 10px); }
.seg-e { bottom: 8px; left: 3px;  width: 5px; height: calc(50% - 10px); }
.seg-c { bottom: 8px; right: 3px; width: 5px; height: calc(50% - 10px); }

/* ---- ACTIVE segment — Neon Red glow ---- */
.seg--on {
    background-color: #ff0000 !important;
    box-shadow:
        0 0 4px  #ff0000,
        0 0 10px #ff0000,
        0 0 18px #cc0000;
}

/* Unit label */


/* ================================================
   TAB BAR
   ================================================ */

.sb-tabs-bar {
    background-color: #030000;
    border-bottom: 4px solid #330000;
    position: relative;
    z-index: 3;
}

.sb-tabs-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    gap: 0;
}

.sb-tab {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: #550000;
    background-color: transparent;
    border: none;
    border-bottom: 4px solid transparent;
    padding: 18px 24px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: none;
    margin-bottom: -4px; /* sit on the bottom border */
    position: relative;
}

.sb-tab:hover {
    color: #cc0000;
    background-color: #0a0000;
}

.sb-tab--active {
    color: #ff0000;
    border-bottom-color: #ff0000;
    background-color: #0a0000;
    text-shadow: 0 0 8px rgba(255,0,0,0.5);
}

/* ================================================
   TAB PANELS
   ================================================ */

.sb-tab-panel {
    display: none;
}

.sb-tab-panel--active {
    display: block;
}

/* ================================================
   STANDINGS SECTION WRAPPER
   ================================================ */

.standings-section {
    background-color: #050000;
    position: relative;
    z-index: 3;
    min-height: 60vh;
}

.standings-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 64px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ================================================
   LEAGUE HEADER
   ================================================ */

.st-league-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 7px;
    color: #880000;
    letter-spacing: 3px;
}

.st-league-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #cc0000;
    box-shadow: 0 0 6px #ff0000;
    animation: sb-led-seq 1.2s steps(1,end) infinite;
}

.st-league-dot:last-child {
    animation-delay: 0.6s;
}

/* ================================================
   LEGEND
   ================================================ */

.st-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.st-legend-item {
    font-size: 5px;
    letter-spacing: 1px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.st-legend-item--playoff    { color: #33cc44; }
.st-legend-item--relegation { color: #cc3322; }
.st-legend-item--champion   { color: #FFD700; }

/* ================================================
   TABLE WRAPPER
   ================================================ */

.st-wrap {
    overflow-x: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ================================================
   TABLE
   ================================================ */

.st-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 5px;
    table-layout: auto;
}

/* ---- Header row ---- */

.st-head-row {
    background-color: #8b0000;
}

.st-th {
    font-family: 'Press Start 2P', monospace;
    font-size: 6px;
    color: #ffffff;
    letter-spacing: 2px;
    padding: 12px 14px;
    text-align: center;
    font-weight: normal;
    background-color: #8b0000;
    border-top: 3px solid #cc0000;
    border-bottom: 3px solid #550000;
    white-space: nowrap;
}

.st-th--team {
    text-align: left;
    padding-left: 16px;
    min-width: 200px;
}

.st-th--rank {
    width: 40px;
}

.st-th--pts {
    color: #ffcc00;
}

/* ---- Data rows ---- */

.st-row {
    background-color: #0c0000;
    position: relative;
    transition: none;
}

.st-row:hover {
    background-color: #160000;
}

/* Floating card feel — shared shadow on each row */
.st-row td:first-child {
    box-shadow: -4px 0 0 0 transparent; /* overridden per variant */
}

/* Playoff line — green left accent */
.st-row--playoff td:first-child {
    box-shadow: -4px 0 0 0 #33cc44;
    border-left: 4px solid #33cc44;
}

/* Relegation line — red left accent */
.st-row--relegation td:first-child {
    border-left: 4px solid #cc3322;
    box-shadow: -4px 0 0 0 #cc3322;
}

/* Champion row: gold glow */
.st-row--champion {
    background-color: #130d00;
    box-shadow:
        0 0 0 2px #553300,
        0 0 12px rgba(255, 215, 0, 0.12),
        6px 6px 0 0 #000;
}

.st-row--champion:hover {
    background-color: #1a1000;
}

/* Normal rows get a subtle offset shadow */
.st-row:not(.st-row--champion) {
    box-shadow: 4px 4px 0 0 #000;
}

/* ---- Cells ---- */

.st-td {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: #cc9999;
    padding: 14px 14px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    border-top: 1px solid #1a0000;
    border-bottom: 1px solid #1a0000;
}

.st-td:first-child {
    border-left: 2px solid #1a0000;
}

.st-td:last-child {
    border-right: 2px solid #1a0000;
}

/* Rank number */
.st-td--rank {
    font-size: 10px;
    color: #550000;
    width: 40px;
    min-width: 40px;
    padding-left: 16px;
    text-align: left;
}

.st-row--champion .st-td--rank {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255,215,0,0.6);
}

/* Team cell */
.st-td--team {
    text-align: left;
    padding-left: 12px;
    padding-right: 20px;
}

.st-team-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.st-logo-wrap {
    width: 36px;
    height: 36px;
    background-color: #050000;
    border: 2px solid #2a0000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    flex-shrink: 0;
}

.st-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    display: block;
}

.st-name-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.st-name {
    font-size: 7px;
    color: #ffcccc;
    letter-spacing: 1px;
    white-space: nowrap;
}

.st-row--champion .st-name {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255,215,0,0.4);
}

/* Şampiyon adayı tag */
.st-champion-tag {
    font-size: 5px;
    color: #FFD700;
    letter-spacing: 1px;
    animation: st-champion-blink 1.6s steps(2,end) infinite;
}

@keyframes st-champion-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Win count */
.st-td--win {
    color: #ffffff;
    font-size: 9px;
}

/* Points */
.st-td--pts {
    font-size: 11px;
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255,215,0,0.5);
}

.st-row--relegation .st-td--pts {
    color: #cc5544;
    text-shadow: none;
}

/* Average */
.st-td--av {
    color: #44cc66;
}

.st-av--neg {
    color: #cc4433;
}

/* ================================================
   DIVIDER ROWS
   ================================================ */

.st-divider-row td {
    padding: 4px 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.st-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 5px;
    color: #33cc44;
    letter-spacing: 2px;
    padding: 0 16px;
}

.st-divider::before,
.st-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #1a3a1a;
}

.st-divider--relegation {
    color: #cc3322;
}

.st-divider--relegation::before,
.st-divider--relegation::after {
    background-color: #3a1a1a;
}

/* ================================================
   FOOTER NOTE
   ================================================ */

.st-footer-note {
    font-size: 5px;
    color: #330000;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 8px;
}

/* ================================================
   RESPONSIVE — hide M and AV on small screens
   ================================================ */

@media (max-width: 640px) {
    .st-hide-sm {
        display: none;
    }

    .sb-tabs-inner {
        padding: 0 16px;
    }

    .sb-tab {
        font-size: 6px;
        padding: 14px 12px;
        letter-spacing: 1px;
    }

    .standings-inner {
        padding: 32px 12px 48px;
    }

    .st-name {
        font-size: 6px;
    }

    .st-td {
        font-size: 7px;
        padding: 12px 8px;
    }

    .st-td--rank {
        font-size: 8px;
        padding-left: 10px;
    }

    .st-logo-wrap {
        width: 28px;
        height: 28px;
    }

    .st-champion-tag {
        display: none;
    }
}

/* ================================================
   BROADCAST — 8-bit Haftalık Özel Yayın
   ================================================ */

.broadcast-section {
    background: #020000;
    position: relative;
    z-index: 3;
    min-height: 70vh;
}

.broadcast-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 72px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

/* ---- Antenna ---- */

.tv-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tv-antenna {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 60px;
    height: 52px;
    position: relative;
    margin-bottom: -2px;
}

.tv-ant-rod {
    width: 4px;
    height: 50px;
    background: #cc0000;
    position: relative;
}
.tv-ant-rod--l { transform: rotate(-22deg); transform-origin: bottom center; }
.tv-ant-rod--r { transform: rotate(22deg);  transform-origin: bottom center; }

.tv-ant-ball {
    width: 10px;
    height: 10px;
    background: #ff0000;
    box-shadow: 0 0 8px #ff0000, 0 0 16px #cc0000;
    align-self: center;
    margin-bottom: 4px;
    animation: blink 1.4s step-end infinite;
}

/* ---- TV Body ---- */

.tv-body {
    background: #160400;
    border: 6px solid #cc0000;
    box-shadow:
        0 0 0 3px #550000,
        0 0 0 9px #110000,
        12px 12px 0 0 #2a0000,
        inset 0 0 24px rgba(0,0,0,0.85);
    padding: 14px 16px 14px;
}

.tv-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 4px;
}

.tv-ch {
    font-size: 5px;
    color: #550000;
    letter-spacing: 2px;
}

.tv-station {
    font-size: 6px;
    color: #ff0000;
    letter-spacing: 3px;
    text-shadow: 0 0 6px rgba(255,0,0,0.5);
    animation: sb-flicker 5s step-end infinite;
}

.tv-time {
    font-size: 5px;
    color: #440000;
    letter-spacing: 2px;
}

/* ---- Screen Bezel ---- */

.tv-bezel {
    position: relative;
    border: 8px solid #090000;
    box-shadow:
        inset 0 0 14px rgba(0,0,0,0.95),
        inset 4px 4px 0 #1a0000,
        0 0 0 2px #2a0000;
    background: #000;
    overflow: hidden;
}

.tv-bezel canvas {
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    width: 480px;
    height: 270px;
}

.tv-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0,0,0,0.22) 2px,
        rgba(0,0,0,0.22) 3px
    );
    pointer-events: none;
    z-index: 1;
}

/* Screen edge glow */
.tv-bezel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,40,0,.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 2;
}

/* ---- Controls bar ---- */

.tv-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 12px;
}

.tv-btns {
    display: flex;
    gap: 6px;
}

.tv-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 6px;
    color: #660000;
    background: #0a0000;
    border: 3px solid #2a0000;
    box-shadow: 3px 3px 0 #000;
    padding: 9px 14px;
    cursor: pointer;
    letter-spacing: 1px;
    line-height: 1;
}

.tv-btn:hover {
    color: #cc0000;
    border-color: #660000;
    background: #110000;
}

.tv-btn:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.tv-btn--play {
    color: #ff0000;
    border-color: #880000;
    padding: 9px 18px;
}

/* ---- Speaker ---- */

.tv-speaker {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 4px;
}

.tv-speaker span {
    display: block;
    width: 36px;
    height: 3px;
    background: #220000;
    box-shadow: inset 0 1px 0 #110000;
}

/* ---- Info strip ---- */

.tv-strip {
    margin-top: 10px;
    font-size: 5px;
    color: #550000;
    letter-spacing: 2px;
    text-align: center;
    padding: 7px 4px;
    border-top: 2px solid #1a0000;
    overflow: hidden;
    white-space: nowrap;
    animation: blink 2.4s step-end infinite;
}

/* ---- Playlist ---- */

.tv-playlist {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: stretch;
}

.tv-playlist-hd {
    font-size: 7px;
    color: #ff0000;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2a0000;
    text-shadow: 0 0 6px rgba(255,0,0,.4);
}

.tv-playlist-item {
    background: #060000;
    border: 2px solid #1a0000;
    padding: 12px 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}

.tv-playlist-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: transparent;
}

.tv-playlist-item:hover {
    border-color: #440000;
    background: #0c0000;
}

.tv-playlist-item--active {
    border-color: #880000;
    background: #0e0000;
}

.tv-playlist-item--active::before {
    background: #cc0000;
}

.tv-playlist-week {
    font-size: 5px;
    color: #440000;
    letter-spacing: 2px;
}

.tv-playlist-teams {
    font-size: 6px;
    color: #996666;
    letter-spacing: 1px;
    line-height: 1.8;
}

.tv-playlist-score {
    font-size: 11px;
    color: #ffcccc;
    letter-spacing: 4px;
}

.tv-playlist-score--win {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255,215,0,.4);
}

/* ---- Broadcast Responsive ---- */

@media (max-width: 860px) {
    .broadcast-inner {
        flex-direction: column;
        align-items: center;
        padding: 32px 16px 56px;
        gap: 24px;
    }
    .tv-bezel canvas {
        width: 100%;
        height: auto;
        max-width: 480px;
    }
    .tv-playlist {
        max-width: 100%;
        width: 100%;
    }
    .tv-wrap {
        width: 100%;
        max-width: 512px;
    }
    .tv-body {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .tv-btn { font-size: 5px; padding: 8px 10px; }
    .tv-btn--play { padding: 8px 12px; }
}

/* ================================================
   MATCH HUB — Dynamic Card Layout
   ================================================ */

.mh-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 64px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mh-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mh-section-hd {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid #220000;
}

.mh-hd-dot {
    width: 10px;
    height: 10px;
    background: #440000;
    flex-shrink: 0;
}

.mh-hd-dot--live {
    background: #00cc44;
    box-shadow: 0 0 8px #00ff55;
    animation: mh-live-pulse 1s step-end infinite;
}

.mh-hd-text {
    font-size: 9px;
    color: #cc0000;
    letter-spacing: 3px;
    flex: 1;
}

.mh-hd-count {
    font-size: 6px;
    color: #440000;
    letter-spacing: 2px;
}

.mh-cards {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ================================================
   BASE CARD
   ================================================ */

.mh-card {
    position: relative;
    background-color: #000000;
    overflow: hidden;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.mh-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,0,0,.03) 1px, transparent 1px);
    background-size: 8px 8px;
    pointer-events: none;
}

.mh-rivet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #cc0000;
    border: 2px solid #ff4444;
    box-shadow: inset 2px 2px 0 #ff6666, inset -2px -2px 0 #880000;
    z-index: 2;
}
.mh-rivet--tl { top: 6px;    left: 6px; }
.mh-rivet--tr { top: 6px;    right: 6px; }
.mh-rivet--bl { bottom: 6px; left: 6px; }
.mh-rivet--br { bottom: 6px; right: 6px; }

/* ================================================
   UPCOMING CARD
   ================================================ */

.mh-card--upcoming {
    border: 6px solid #cc0000;
    box-shadow:
        0 0 0 3px #550000,
        0 0 0 6px #1a0000,
        8px 8px 0 0 #330000,
        inset 0 0 20px rgba(255,0,0,.08);
    padding: 24px 28px 20px;
}

.mh-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.mh-week-tag {
    font-size: 6px;
    color: #ff0000;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(255,0,0,.5);
}

.mh-week-tag--past {
    color: #550000;
    text-shadow: none;
}

.mh-venue-tag {
    font-size: 5px;
    color: #550000;
    letter-spacing: 1px;
    text-align: right;
}

.mh-led-row {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin: 10px 0;
}

.mh-led {
    width: 8px;
    height: 8px;
    background: #ff0000;
    box-shadow: 0 0 4px #ff0000;
    animation: mh-led-seq 1.6s steps(1, end) infinite;
}

.mh-led:nth-child(odd)  { animation-delay: 0s; }
.mh-led:nth-child(even) { animation-delay: 0.8s; }

.mh-led--dim {
    background: #220000;
    box-shadow: none;
    animation: none;
}

.mh-led--live {
    background: #00cc44;
    box-shadow: 0 0 4px #00ff55;
    animation: mh-live-led-seq 1.6s steps(1, end) infinite;
}

.mh-led--live:nth-child(even) { animation-delay: 0.8s; }

.mh-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin: 8px 0;
}

.mh-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mh-logo-box {
    width: 64px;
    height: 64px;
    border: 3px solid #330000;
    box-shadow: 0 0 6px rgba(255,0,0,.3), inset 0 0 8px rgba(0,0,0,.8);
    background-color: #050000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.mh-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.mh-tname {
    font-size: 7px;
    color: #ff0000;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.8;
    text-shadow: 0 0 4px rgba(255,0,0,.6);
}

.mh-trec {
    font-size: 6px;
    color: #550000;
    letter-spacing: 2px;
}

.mh-vs-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mh-vs {
    font-size: 18px;
    color: #ff0000;
    letter-spacing: 4px;
    text-shadow:
        0 0 8px #ff0000,
        0 0 20px #ff0000,
        0 0 40px #cc0000;
    animation: mh-vs-pulse 2s step-end infinite;
}

.mh-date-str {
    font-size: 6px;
    color: #880000;
    letter-spacing: 1px;
    text-align: center;
    line-height: 2;
}

/* ================================================
   7-SEGMENT COUNTDOWN
   ================================================ */

.mh-cd {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 8px;
}

.mh-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mh-seg-pair {
    display: flex;
    gap: 6px;
}

.mh-digit-wrap {
    position: relative;
    width: 36px;
    height: 60px;
    background-color: #0a0000;
    border: 2px solid #1a0000;
    box-shadow: inset 0 0 8px rgba(0,0,0,.9);
}

.mh-cd-lbl {
    font-size: 5px;
    color: #550000;
    letter-spacing: 2px;
}

.mh-cd-colon {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 60px;
    padding-top: 2px;
    gap: 8px;
}

.mh-cd-colon b {
    display: block;
    width: 6px;
    height: 6px;
    background: #ff0000;
    box-shadow: 0 0 6px #ff0000;
    animation: mh-colon-blink 1s step-end infinite;
    font-style: normal;
    font-weight: normal;
}

/* ================================================
   LIVE CARD
   ================================================ */

.mh-card--live {
    border: 6px solid #00cc44;
    box-shadow:
        0 0 0 3px #003311,
        0 0 0 6px #001108,
        8px 8px 0 0 #002208,
        inset 0 0 20px rgba(0,204,68,.06);
    padding: 24px 28px 20px;
    animation: mh-live-pulse-border 2s step-end infinite;
}

.mh-live-badge {
    font-size: 8px;
    color: #00ff55;
    letter-spacing: 3px;
    text-shadow: 0 0 8px #00ff55, 0 0 16px #00cc44;
    animation: mh-live-pulse 1s step-end infinite;
}

.mh-live-score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mh-live-score {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mh-live-pts {
    font-size: clamp(24px, 4vw, 40px);
    color: #00ff55;
    text-shadow: 0 0 12px #00ff55, 0 0 24px #00cc44;
}

.mh-live-sep {
    font-size: 20px;
    color: #004422;
    letter-spacing: 2px;
}

/* ================================================
   PAST CARD
   ================================================ */

.mh-card--past {
    border: 3px solid #1a0000;
    box-shadow: 3px 3px 0 0 #0d0000;
    padding: 14px 20px;
    background-color: #040000;
}

.mh-past-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #110000;
}

.mh-past-date {
    font-size: 5px;
    color: #330000;
    letter-spacing: 1px;
}

.mh-past-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.mh-past-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mh-past-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    filter: grayscale(60%) brightness(0.7);
}

.mh-past-name {
    font-size: 6px;
    color: #440000;
    letter-spacing: 1px;
    text-align: center;
}

.mh-past-name--win {
    color: #cc3333;
    text-shadow: 0 0 4px rgba(204,51,51,.4);
}

.mh-past-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mh-final-stamp {
    font-size: 6px;
    color: #660000;
    letter-spacing: 3px;
    border: 2px solid #440000;
    padding: 3px 8px;
    transform: rotate(-2deg);
}

.mh-past-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mh-past-pts {
    font-size: 18px;
    color: #550000;
}

.mh-past-pts--win {
    color: #ff4444;
    text-shadow: 0 0 6px rgba(255,68,68,.5);
}

.mh-past-dash {
    font-size: 12px;
    color: #220000;
}

.mh-past-venue {
    font-size: 5px;
    color: #2a0000;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.8;
}

/* ================================================
   ARCHIVE DIVIDER
   ================================================ */

.mh-archive-hd {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.mh-archive-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        #330000 0px,
        #330000 4px,
        transparent 4px,
        transparent 8px
    );
}

.mh-archive-label {
    font-size: 6px;
    color: #550000;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* ================================================
   EMPTY STATES
   ================================================ */

.mh-empty {
    font-size: 7px;
    color: #330000;
    letter-spacing: 2px;
    text-align: center;
    padding: 40px 20px;
    border: 2px solid #110000;
}

.mh-empty--past {
    padding: 20px;
}

/* ================================================
   EXPIRING ANIMATION
   ================================================ */

@keyframes mh-expire {
    0%   { opacity: 1;   transform: scale(1); }
    25%  { opacity: 0.5; transform: scale(1.02) skewX(2deg); }
    50%  { opacity: 0.8; transform: scale(0.99) skewX(-1deg); }
    75%  { opacity: 0.3; transform: scale(1.01); }
    100% { opacity: 0;   transform: scale(0.96); }
}

.mh-card--expiring {
    animation: mh-expire 0.9s steps(4, end) forwards;
    pointer-events: none;
}

/* ================================================
   MATCH HUB KEYFRAMES
   ================================================ */

@keyframes mh-led-seq {
    0%, 49%  { background: #ff0000; box-shadow: 0 0 6px #ff0000; }
    50%, 100% { background: #220000; box-shadow: none; }
}

@keyframes mh-live-led-seq {
    0%, 49%  { background: #00cc44; box-shadow: 0 0 6px #00ff55; }
    50%, 100% { background: #002211; box-shadow: none; }
}

@keyframes mh-vs-pulse {
    0%, 100% { text-shadow: 0 0 8px #ff0000, 0 0 20px #ff0000, 0 0 40px #cc0000; }
    50%       { text-shadow: 0 0 4px #ff4444; }
}

@keyframes mh-live-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

@keyframes mh-live-pulse-border {
    0%, 100% { border-color: #00cc44; }
    50%       { border-color: #005522; }
}

@keyframes mh-colon-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.1; }
}

/* ================================================
   MATCH HUB RESPONSIVE
   ================================================ */

@media (max-width: 640px) {
    .mh-wrap {
        padding: 32px 12px 48px;
        gap: 24px;
    }

    .mh-card--upcoming,
    .mh-card--live {
        padding: 20px 16px 16px;
    }

    .mh-card--past {
        padding: 12px 14px;
    }

    .mh-logo-box {
        width: 48px;
        height: 48px;
    }

    .mh-tname {
        font-size: 6px;
    }

    .mh-vs {
        font-size: 14px;
    }

    .mh-date-str {
        font-size: 5px;
    }

    .mh-digit-wrap {
        width: 28px;
        height: 46px;
    }

    .mh-cd {
        gap: 4px;
    }

    .mh-cd-colon {
        height: 46px;
    }

    .mh-past-logo {
        width: 36px;
        height: 36px;
    }

    .mh-past-pts {
        font-size: 14px;
    }

    .mh-past-name {
        font-size: 5px;
    }

    .mh-archive-label {
        font-size: 5px;
    }
}
