:root {
    --bg: #0b1020;
    --bg-glow: #101b35;
    --panel: #141f36;
    --panel-soft: #1a2741;
    --text: #edf3ff;
    --muted: #9cb0d6;
    --accent: #4eb7ff;
    --accent-2: #3df0b5;
    --accent-3: #7c7dff;
    --danger: #ff5777;
    --line: #2e4068;
    --gradient-card: linear-gradient(145deg, rgba(63, 181, 255, 0.25), rgba(61, 240, 181, 0.1));
    --shadow-soft: 0 12px 30px rgba(3, 8, 20, 0.45);
    --shadow-glow: 0 0 24px rgba(78, 183, 255, 0.22);
    --radius: 14px;
    --duration-fast: 180ms;
    --duration-base: 320ms;
    --duration-slow: 520ms;
    --spacing-1: 8px;
    --spacing-2: 12px;
    --spacing-3: 16px;
    --spacing-4: 20px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: radial-gradient(circle at top, var(--bg-glow) 0%, var(--bg) 45%);
    color: var(--text);
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color var(--duration-fast) ease; }
a:hover { color: #88d8ff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 16, 30, 0.9);
    backdrop-filter: blur(10px);
}
.brand { font-weight: 700; letter-spacing: 0.4px; text-shadow: 0 0 10px rgba(78, 183, 255, 0.35); display: inline-block; }
.site-header nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.locale-switcher { display: inline-flex; gap: 8px; align-items: center; }
.lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    border: 1px solid rgba(78, 183, 255, 0.35);
    background: rgba(13, 21, 38, 0.82);
    font-size: 0.75rem;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px 24px;
    display: grid;
    gap: 16px;
}

.panel {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow-soft);
    animation: fadeInUp var(--duration-slow) ease both;
}
.panel-title {
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--accent-2);
}

.live-banner { box-shadow: var(--shadow-glow); }
.live-glow { animation: liveGlow 1.8s ease-in-out infinite alternate; }
.live-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}
.team { display: flex; align-items: center; gap: 8px; }
.team-right { justify-content: flex-end; }
.score { font-size: 1.6rem; font-weight: 700; text-align: center; }
.minute {
    display: inline-block;
    margin-left: 8px;
    color: var(--danger);
    font-size: 0.9rem;
}
.team-identity { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.team-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi { border-radius: 50%; width: 20px; height: 20px; box-shadow: 0 0 0 2px rgba(13, 20, 36, 0.8), 0 0 0 3px rgba(78, 183, 255, 0.25); }

.live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 999px;
    padding: 2px 8px;
    min-width: 52px;
    text-align: center;
    font-size: 0.72rem;
    margin-left: 8px;
    color: #fff;
    background: linear-gradient(90deg, #ff4d6d, #ff7a59);
    box-shadow: 0 0 12px rgba(255, 90, 120, 0.45);
    animation: pulseLive 1.4s ease-in-out infinite;
}

.probability-stack { margin-top: 12px; }
.probability-track {
    display: flex;
    width: 100%;
    height: 8px;
    background: #29395f;
    border-radius: 999px;
    overflow: hidden;
}
.probability-segment {
    height: 100%;
    transition: width var(--duration-slow) ease;
}
.probability-segment.home { background: linear-gradient(90deg, #42b5ff, #52d8ff); }
.probability-segment.draw { background: linear-gradient(90deg, #8794b9, #a2afd0); }
.probability-segment.away { background: linear-gradient(90deg, #53e6a8, #89f7c8); }
.probability {
    margin-top: 12px;
}
.probability-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.88rem;
}

.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.horizontal-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    width: 100%;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(130, 162, 216, 0.45) rgba(15, 26, 46, 0.85);
    scrollbar-gutter: stable;
    cursor: grab;
    scroll-snap-type: none;
}
.horizontal-scroll.is-dragging {
    cursor: grabbing;
    user-select: none;
}
.wide-card {
    min-width: 0;
    scroll-snap-align: start;
}
.horizontal-scroll.today-scroll {
    grid-auto-columns: calc((100% - 12px) / 2);
}
.horizontal-scroll.group-scroll {
    grid-auto-columns: calc((100% - 12px) / 2);
}
.horizontal-scroll.news-scroll {
    grid-auto-columns: calc((100% - 12px) / 2);
}
.horizontal-scroll.is-compact {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    overflow-x: visible;
}
.horizontal-scroll::-webkit-scrollbar { height: 8px; }
.horizontal-scroll::-webkit-scrollbar-track {
    background: rgba(15, 26, 46, 0.85);
    border-radius: 999px;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(116, 152, 219, 0.45), rgba(86, 132, 210, 0.45));
    border-radius: 999px;
    border: 1px solid rgba(170, 196, 242, 0.2);
}
.horizontal-scroll.today-scroll.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.horizontal-scroll.news-scroll.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.horizontal-scroll.group-scroll.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: rgba(9, 14, 25, 0.35);
    transition: transform var(--duration-base) ease, border-color var(--duration-base) ease, box-shadow var(--duration-base) ease, background var(--duration-base) ease;
}
.card:hover { transform: translateY(-2px); border-color: rgba(78, 183, 255, 0.58); box-shadow: var(--shadow-glow); }
.gradient-card { background: var(--gradient-card), rgba(9, 14, 25, 0.45); }
.card-link { display: block; color: var(--text); text-decoration: none; }
.card-link:hover { color: var(--text); }
.match-card { position: relative; overflow: hidden; }
.match-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.match-time {
    color: #b8c9ea;
    font-size: 0.82rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.match-status-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.match-status {
    color: var(--muted);
    font-size: 0.78rem;
}
.match-card-body {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    gap: 8px 10px;
    align-items: center;
}
.match-team-row {
    min-width: 0;
    display: flex;
    align-items: center;
}
.match-team-row.away {
    justify-content: flex-end;
    text-align: right;
}
.match-team-row.away .team-identity {
    justify-content: flex-end;
}
.match-team-row.away .team-name {
    text-align: right;
}
.match-team-row .team-identity {
    width: 100%;
}
.match-team-row .team-name {
    display: inline-block;
    max-width: 100%;
    font-weight: 600;
    color: #f1f6ff;
}
.match-score-block {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 4px 8px;
    border: 1px solid rgba(78, 183, 255, 0.28);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(29, 46, 77, 0.55), rgba(13, 22, 39, 0.35));
}
.score-label {
    font-size: 0.72rem;
    color: #9fb4db;
}
.score-value {
    margin-top: 2px;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
}
.match-card-foot {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(66, 96, 146, 0.56);
    display: flex;
    justify-content: flex-end;
}
.match-card-cta {
    color: #8fd5ff;
    font-size: 0.78rem;
}
.match-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(78, 183, 255, 0.3), rgba(124, 125, 255, 0.2), rgba(61, 240, 181, 0.2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.teams-line { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.vs { color: var(--muted); font-size: 0.8rem; }
.card h3 { margin: 0 0 8px; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); line-height: 1.5; }
.meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 8px; }
.tag {
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 2px 8px;
    color: var(--accent-2);
    font-size: 0.75rem;
}
.loading,
.muted {
    color: var(--muted);
}
.text-link {
    margin-top: 8px;
    display: inline-block;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--accent);
}
.news-card { cursor: pointer; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 14, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}
.modal-overlay.hidden { display: none; }
.modal-card {
    width: min(720px, 92vw);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, #162544 0%, #101a2d 100%);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    padding: 14px;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-head h3 { margin: 0; }
.modal-close {
    border: 1px solid var(--line);
    background: rgba(18, 31, 54, 0.85);
    color: var(--text);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}
.modal-content { margin-top: 10px; color: var(--muted); line-height: 1.7; }

.group-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    background: rgba(12, 19, 36, 0.5);
}
.group-title {
    margin: 0 0 10px;
    color: var(--accent-2);
    font-size: 0.96rem;
    letter-spacing: 0.2px;
}
.group-card table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    table-layout: fixed;
}
.group-card th,
.group-card td {
    border-bottom: 1px solid #27385a;
    padding: 6px 4px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.group-card th:first-child,
.group-card td:first-child {
    width: 40%;
    text-align: left;
}
.group-card th:nth-child(2),
.group-card td:nth-child(2),
.group-card th:nth-child(3),
.group-card td:nth-child(3),
.group-card th:nth-child(4),
.group-card td:nth-child(4),
.group-card th:nth-child(5),
.group-card td:nth-child(5),
.group-card th:nth-child(6),
.group-card td:nth-child(6) {
    width: 8%;
}
.group-card th:nth-child(7),
.group-card td:nth-child(7) {
    width: 12%;
}
.group-card td .team-identity {
    width: 100%;
}
.group-card td .team-name {
    display: inline-block;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bracket-board {
    display: block;
    overflow: hidden;
    padding: 4px 0 2px;
    width: 100%;
}
.tournament-root {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(196px, 196px) minmax(0, 1fr);
    gap: 22px;
    width: 100%;
    align-items: center;
    --node-h: 70px;
}
.tournament-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.bracket-round-column { display: grid; gap: 0; }
.round-stack { display: grid; align-items: center; justify-items: stretch; gap: 10px; }
.round-gap-1 { gap: 14px; }
.round-gap-2 { gap: 98px; }
.round-gap-3 { gap: 0; }
.bracket-round-column.round-2 { padding-top: 42px; }
.bracket-round-column.round-3 { padding-top: 126px; }
.round-stack.center {
    align-content: center;
    min-height: 100%;
    justify-items: center;
}
.tournament-center {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.tournament-center .bracket-match {
    min-width: 100%;
    min-height: var(--node-h);
    border-width: 1px;
}
.bracket-match {
    position: relative;
    display: block;
    width: 100%;
    border: 1px solid rgba(66, 102, 163, 0.75);
    border-radius: 10px;
    padding: 8px 10px;
    color: var(--text);
    background: rgba(13, 22, 39, 0.72);
    transition: transform var(--duration-base) ease, border-color var(--duration-base) ease, box-shadow var(--duration-base) ease, opacity var(--duration-base) ease, filter var(--duration-base) ease;
    min-height: var(--node-h);
}
.bracket-match.is-current-round {
    border-color: rgba(92, 196, 255, 0.75);
    box-shadow: 0 0 0 1px rgba(92, 196, 255, 0.25) inset, 0 0 14px rgba(78, 183, 255, 0.22);
}
.bracket-match.is-past-round {
    opacity: 0.72;
}
.bracket-match.status-live {
    box-shadow: 0 0 0 1px rgba(255, 115, 145, 0.25) inset, 0 0 14px rgba(255, 90, 120, 0.2);
}
.bracket-match.status-pending {
    opacity: 0.86;
}
.bracket-live {
    position: absolute;
    top: -8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    line-height: 1;
    color: #d9ffe8;
    border: 1px solid rgba(52, 214, 125, 0.72);
    background: rgba(31, 148, 80, 0.3);
    box-shadow: 0 0 10px rgba(52, 214, 125, 0.35);
}
.bracket-connector {
    position: absolute;
    pointer-events: none;
}
.bracket-connector.h {
    top: calc(50% - 0.5px);
    width: 14px;
    border-top: 1px solid rgba(116, 152, 219, 0.55);
}
.bracket-connector.h.side-left { right: -14px; }
.bracket-connector.h.side-right { left: -14px; }
.bracket-connector.v {
    width: 0;
    border-right: 1px solid rgba(116, 152, 219, 0.55);
}
.bracket-connector.v.side-left { right: -14px; }
.bracket-connector.v.side-right { left: -14px; }
.bracket-connector.v.merge-down {
    top: 50%;
    height: var(--merge-size, 37px);
}
.bracket-connector.v.merge-up {
    bottom: 50%;
    height: var(--merge-size, 37px);
}
.bracket-connector.elbow {
    width: 8px;
    height: 0;
    border-top: 1px solid rgba(116, 152, 219, 0.55);
}
.bracket-connector.elbow.side-left { right: -22px; }
.bracket-connector.elbow.side-right { left: -22px; }
.bracket-connector.elbow.top { top: 50%; }
.bracket-connector.elbow.bottom { bottom: 50%; }
.team-slot-row + .team-slot-row {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(75, 101, 152, 0.42);
}
.team-slot-row {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    transition: opacity var(--duration-base) ease, filter var(--duration-base) ease, box-shadow var(--duration-base) ease, background var(--duration-base) ease;
}
.team-slot-row.winner {
    border-radius: 8px;
    padding: 2px 4px;
    background: linear-gradient(90deg, rgba(82, 225, 160, 0.26), rgba(91, 182, 255, 0.24));
    box-shadow: 0 0 0 1px rgba(82, 225, 160, 0.42) inset, 0 0 10px rgba(82, 225, 160, 0.2);
    animation: winnerPulse 1.2s ease;
}
.team-slot-row.loser {
    opacity: 0.5;
    filter: grayscale(0.75) brightness(0.8);
}
.team-slot-row.pending {
    opacity: 0.45;
}
.team-slot-row.live {
    box-shadow: 0 0 0 1px rgba(255, 128, 150, 0.32) inset;
}
.team-slot-row .team-name { max-width: 120px; line-height: 1.2; }
.slot-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}
.winner-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.64rem;
    color: #d8ffe6;
    border: 1px solid rgba(89, 223, 155, 0.66);
    background: rgba(29, 133, 84, 0.35);
    white-space: nowrap;
}
.pending-flag {
    opacity: 0.65;
    filter: grayscale(1);
}
.bracket-match.side-right .team-slot-row .team-identity { justify-content: flex-end; }
.bracket-match.side-right .team-slot-row .team-name { text-align: right; }
.finish-note {
    display: inline-block;
    margin-top: 4px;
    color: #a7bbdf;
    font-size: 0.72rem;
    line-height: 1;
}
.bracket-match:hover {
    transform: translateY(-2px);
    border-color: rgba(78, 183, 255, 0.62);
    box-shadow: 0 8px 20px rgba(10, 18, 34, 0.5), 0 0 0 1px rgba(78, 183, 255, 0.2) inset;
}
.team-compact .team-name {
    max-width: 108px;
}

.detail-meta {
    margin-top: 10px;
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    color: var(--muted);
}

.stats-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.fade-in { animation: fadeInUp var(--duration-slow) ease both; }

@keyframes pulseLive {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.04); opacity: 1; }
}

@keyframes liveGlow {
    from { box-shadow: 0 0 0 1px rgba(63, 181, 255, 0.24), 0 0 12px rgba(78, 183, 255, 0.16); }
    to { box-shadow: 0 0 0 1px rgba(63, 181, 255, 0.45), 0 0 22px rgba(78, 183, 255, 0.35); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes winnerPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 1px rgba(82, 225, 160, 0.42) inset, 0 0 0 rgba(82, 225, 160, 0); }
    50% { transform: scale(1.01); box-shadow: 0 0 0 1px rgba(82, 225, 160, 0.54) inset, 0 0 14px rgba(82, 225, 160, 0.3); }
    100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(82, 225, 160, 0.42) inset, 0 0 10px rgba(82, 225, 160, 0.2); }
}

@media (max-width: 720px) {
    .container { padding: 0 10px 20px; }
    .panel {
        padding: 10px;
        border-radius: 12px;
    }
    .panel-title {
        margin-bottom: 8px;
        font-size: 0.92rem;
    }
    .card {
        padding: 9px;
        border-radius: 10px;
    }
    .card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    .card p {
        font-size: 0.8rem;
        line-height: 1.45;
    }
    .tag {
        margin-bottom: 6px;
        font-size: 0.68rem;
    }
    .live-grid { grid-template-columns: 1fr; text-align: center; }
    .team, .team-right { justify-content: center; }
    .probability-meta { flex-wrap: wrap; gap: 6px; justify-content: center; }
    .horizontal-scroll.today-scroll,
    .horizontal-scroll.news-scroll {
        grid-auto-columns: calc((100% - 10px) / 2);
        gap: 10px;
    }
    .horizontal-scroll {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-columns: auto;
        overflow-x: hidden;
        padding-bottom: 6px;
    }
    .horizontal-scroll.is-compact {
        overflow-x: hidden;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .horizontal-scroll.today-scroll .match-card {
        min-height: 136px;
        padding: 10px;
        border-radius: 10px;
    }
    .horizontal-scroll.today-scroll .match-card-head {
        margin-bottom: 8px;
    }
    .horizontal-scroll.today-scroll .match-time {
        font-size: 0.74rem;
    }
    .horizontal-scroll.today-scroll .match-card-body {
        grid-template-columns: 1fr 64px;
        gap: 6px 8px;
    }
    .horizontal-scroll.today-scroll .match-score-block {
        min-width: 64px;
        padding: 3px 4px;
    }
    .horizontal-scroll.today-scroll .score-value {
        font-size: 0.92rem;
    }
    .horizontal-scroll.today-scroll .match-team-row .team-name {
        font-size: 0.84rem;
    }
    .horizontal-scroll.today-scroll .match-card-foot {
        margin-top: 8px;
        padding-top: 6px;
    }
    .horizontal-scroll.today-scroll .match-card-cta {
        font-size: 0.72rem;
    }
    .horizontal-scroll.group-scroll {
        grid-auto-columns: auto;
    }
    .horizontal-scroll.group-scroll.is-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bracket-board {
        padding-bottom: 4px;
    }
    .tournament-root {
        --node-h: 52px;
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .tournament-side {
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tournament-center { order: 2; }
    .tournament-center .bracket-match { min-width: 100%; min-height: 52px; }
    .bracket-match {
        min-height: 52px;
        padding: 6px 7px;
        border-radius: 8px;
    }
    .team-slot-row .team-name { max-width: 64px; font-size: 0.66rem; }
    .winner-tag { font-size: 0.56rem; padding: 1px 4px; }
    .finish-note { font-size: 0.62rem; }
    .bracket-live { font-size: 0.58rem; padding: 1px 5px; top: -7px; }
    .wide-card { min-width: 0; }
    .group-card {
        padding: 8px;
        border-radius: 10px;
    }
    .group-title { font-size: 0.84rem; margin-bottom: 6px; }
    .group-card table { font-size: 0.7rem; }
    .group-card td .team-name { max-width: 88px; }
    .match-card-body { grid-template-columns: 1fr auto; }
    .match-team-row.away { grid-column: 1; justify-content: flex-start; text-align: left; }
    .match-team-row.away .team-identity { justify-content: flex-start; }
    .match-team-row.away .team-name { text-align: left; }
    .match-score-block { min-width: 68px; padding: 4px 6px; }
    .match-team-row .team-name { font-size: 0.95rem; }
    .bracket-connector.h { width: 6px; }
    .bracket-connector.h.side-left { right: -6px; }
    .bracket-connector.h.side-right { left: -6px; }
    .bracket-connector.v.side-left { right: -6px; }
    .bracket-connector.v.side-right { left: -6px; }
    .bracket-connector.elbow.side-left { right: -12px; }
    .bracket-connector.elbow.side-right { left: -12px; }
    .round-gap-2 { gap: 50px; }
    .round-gap-3 { gap: 0; }
    .bracket-round-column.round-2 { padding-top: 22px; }
    .bracket-round-column.round-3 { padding-top: 60px; }
}

@media (min-width: 1024px) {
    .horizontal-scroll.today-scroll {
        grid-auto-columns: calc((100% - 12px) / 2);
    }
    .horizontal-scroll.news-scroll {
        grid-auto-columns: calc((100% - 36px) / 4);
    }
    .horizontal-scroll.group-scroll {
        grid-auto-columns: calc((100% - 12px) / 2);
    }
    .horizontal-scroll.group-scroll.is-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tournament-root { grid-template-columns: minmax(0, 1fr) minmax(196px, 196px) minmax(0, 1fr); }
}
