:root {
    --brand: #0a66c2;
    --brand-dark: #0d1b3e;
    --brand-mid: #0a3880;
    --accent: #f97316;
    --live: #e8362b;
    --ink: #182033;
    --muted: #6b7280;
    --line: #e5e9f0;
    --bg: #f0f4fa;
    --card: #ffffff;
    --shadow: 0 8px 28px rgba(10, 35, 90, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-mid) 54%, var(--brand) 100%);
    box-shadow: 0 3px 18px rgba(8, 20, 60, .35);
}
.topbar-inner {
    width: min(1180px, calc(100% - 32px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
    white-space: nowrap;
}
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff, #dbeafe);
    color: var(--brand);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.brand-text { font-size: 21px; }
.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav a {
    color: rgba(220,235,255,.88);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 999px;
}
.nav a:hover, .nav a.active {
    color: #fff;
    background: rgba(255,255,255,.16);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.hero {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: center;
    padding: 44px 0 32px;
}
.hero-copy h1 {
    margin: 8px 0 14px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
    letter-spacing: 0;
    color: #0f1b34;
}
.hero-copy p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}
.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e8f1fb;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 42px;
    border-radius: 999px;
    font-weight: 800;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ef4444);
    color: #fff;
    box-shadow: 0 8px 24px rgba(249, 115, 22, .25);
}
.btn-ghost {
    color: var(--brand);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--line);
}
.hero-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 16px;
}
.panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 5px rgba(232,54,43,.12);
}
.mini-event {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f6;
}
.mini-event:last-child { border-bottom: 0; }
.mini-event span { color: var(--brand); font-weight: 800; }
.mini-event b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mini-event em {
    grid-column: 2;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    align-items: start;
}
.sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}
.side-card, .content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.side-card { padding: 16px; }
.side-card h2, .section-title h2 {
    margin: 0;
    font-size: 18px;
}
.sport-list, .category-list {
    display: grid;
    gap: 7px;
    margin-top: 14px;
}
.sport-list a, .category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f8fafc;
    color: #263044;
}
.sport-list a:hover, .category-list a:hover {
    background: #e8f1fb;
    color: var(--brand);
}

.content {
    padding: 18px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 14px;
}
.section-title span {
    color: var(--muted);
    font-size: 13px;
}
.event-list {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}
.event-card {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}
.event-time {
    text-align: center;
    border-right: 1px solid var(--line);
}
.event-time strong {
    display: block;
    color: var(--brand);
    font-size: 18px;
}
.event-time span {
    color: var(--muted);
    font-size: 12px;
}
.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 5px;
}
.event-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef4ff;
    color: #31547e;
    font-size: 12px;
}
.event-main h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}
.event-main small {
    color: var(--muted);
    font-size: 12px;
    padding: 0 5px;
}
.status {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.status.live { color: #fff; background: var(--live); }
.status.upcoming { color: var(--brand); background: #e8f1fb; }
.status.ended { color: #6b7280; background: #f3f4f6; }
.empty {
    padding: 30px;
    text-align: center;
    color: var(--muted);
    background: #f8fafc;
    border-radius: 10px;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.channel-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    text-align: center;
    transition: transform .15s, box-shadow .15s;
}
.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 102, 194, .12);
}
.channel-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f5f7fb;
    overflow: hidden;
}
.channel-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.channel-card h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    min-height: 36px;
    overflow: hidden;
}
.channel-card span {
    color: var(--muted);
    font-size: 12px;
}

.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 30px auto 0;
    padding: 22px 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--line);
}

.xhx_logo_text {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-width: 170px;
}

.match_row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 10px 14px;
    margin-bottom: 8px;
    color: #26364d;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 8px;
}

.match_row:hover {
    border-color: #9bc3ef;
    color: #095fa8;
}

.match_time {
    width: 86px;
    color: #095fa8;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.match_main {
    min-width: 0;
    flex: 1;
}

.match_league {
    color: #728094;
    font-size: 12px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match_teams {
    font-size: 15px;
    font-weight: 700;
    color: #1f2d3d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

.match_vs {
    color: #9aa6b2;
    font-size: 12px;
    flex-shrink: 0;
}

.team_name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 46%;
}

.match_row .match_logo,
.match_teams img.match_logo {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    min-width: 22px;
    border-radius: 50%;
    object-fit: contain;
    background: #f3f6fa;
    border: 1px solid #e3e8ef;
    flex-shrink: 0;
    display: inline-block;
}

.match_watch {
    flex-shrink: 0;
    color: #fff;
    background: #095fa8;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.pager {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 18px 0 30px;
}

.pager a {
    min-width: 34px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    background: #fff;
    color: #516070;
    text-decoration: none;
}

.pager a.cur,
.pager a:hover {
    background: #095fa8;
    border-color: #095fa8;
    color: #fff;
}

.player_empty,
.player_overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #05070b;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.player_overlay.pre {
    background: linear-gradient(135deg, #0d1b3e, #1a3a6e);
}

easy-player {
    width: 100%;
    height: 100%;
    display: block;
}

.top_nav {
    width: 100%;
}

.top_nav_right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 720px) {
    .match_row {
        gap: 8px;
        padding: 10px;
    }

    .match_time {
        width: 52px;
        font-size: 12px;
    }

    .match_watch {
        padding: 5px 8px;
    }

    .xhx_logo_text {
        min-width: auto;
        font-size: 18px;
    }
}

.top_box {
    height: 68px !important;
    background: linear-gradient(90deg, #0e3472 0%, #1257a6 100%) !important;
    box-shadow: 0 8px 22px rgba(15, 37, 75, .24);
}

.top_dh {
    width: min(1250px, calc(100% - 56px)) !important;
    height: 68px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 26px !important;
}

.xhx_logo_text {
    min-width: 160px;
    gap: 8px;
    color: #fff !important;
    font-size: 18px;
}

.xhx_logo_text strong {
    font-weight: 900;
}

.xhx_logo_text em {
    color: #ff6b1a;
    font-style: normal;
    font-weight: 900;
}

.brand_mark {
    width: 18px;
    height: 12px;
    border-radius: 18px 18px 4px 4px;
    background: linear-gradient(90deg, #0aa4ff 0 35%, #ff4f1f 35% 62%, #ffd13b 62%);
    display: inline-block;
}

.top_nav {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
}

.top_nav_item {
    min-height: 34px;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 12px !important;
    border-radius: 10px !important;
    color: rgba(236, 244, 255, .82) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap;
}

.top_nav_item.active,
.top_nav_item:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .16) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.lang_pill {
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
}

.sign_pill {
    min-width: 100px;
    justify-content: center;
    color: #0d3471 !important;
    background: #fff !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(5, 21, 49, .12);
}

.subscribe_pill {
    min-width: 104px;
    justify-content: center;
    color: #fff !important;
    background: linear-gradient(135deg, #ff8a1c, #ff3e29) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(255, 91, 38, .3);
}

.body_box {
    width: min(1250px, calc(100% - 56px)) !important;
    margin: 28px auto 0 !important;
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 28px !important;
}

.body_left,
.body_right {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.body_left {
    display: grid;
    gap: 20px;
    align-self: start;
    position: sticky;
    top: 88px;
}

.left_list {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(24, 45, 82, .09);
}

.left_first {
    min-height: 44px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    background: #0d5cad !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.left_link {
    min-height: 42px !important;
    border-bottom: 1px solid #edf1f6 !important;
}

.left_link:last-child {
    border-bottom: 0 !important;
}

.left_link a {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 18px !important;
    color: #17345b !important;
    font-size: 14px !important;
    background: #fff !important;
}

.left_link a:hover {
    color: #0a66c2 !important;
    background: #f5f9ff !important;
}

.body_right {
    min-width: 0;
}

.date_tabs_row {
    padding: 0 0 16px !important;
    background: transparent !important;
    border: 0 !important;
}

.date_tabs {
    gap: 10px !important;
    padding: 0 !important;
}

.date_tab {
    min-width: 54px !important;
    height: 45px !important;
    padding: 7px 10px !important;
    border-radius: 9px !important;
    color: #334155 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.date_tab.active {
    color: #fff !important;
    background: #1f447f !important;
    box-shadow: 0 8px 20px rgba(31, 68, 127, .22) !important;
}

.dt_label {
    font-weight: 900;
}

.dt_week {
    font-size: 11px !important;
    opacity: .7;
}

.match_group {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 26px rgba(24, 45, 82, .08);
}

.match_group_head {
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #fff;
    font-weight: 900;
}

.match_group_head strong {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
}

.match_group_head em {
    min-width: 24px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .16);
    color: #fff;
    font-style: normal;
    line-height: 22px;
    text-align: center;
}

.match_group_live .match_group_head {
    background: #ef4438;
}

.match_group_soon .match_group_head {
    background: #f59a0b;
}

.match_group_upcoming .match_group_head {
    background: #2a89bd;
}

.match_group_body {
    border: 1px solid #e4ebf4;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.match_row {
    min-height: 54px;
    margin: 0 !important;
    padding: 0 16px !important;
    display: grid !important;
    grid-template-columns: minmax(120px, 1.25fr) 72px minmax(380px, 2.4fr) 112px !important;
    gap: 14px !important;
    align-items: center !important;
    border: 0 !important;
    border-bottom: 1px solid #e6edf5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #03142d !important;
}

.match_row:nth-child(even) {
    background: #fbfcfe !important;
}

.match_row:hover {
    background: #f5f9ff !important;
    color: #03142d !important;
}

.match_row:last-child {
    border-bottom: 0 !important;
}

.match_league {
    margin: 0 !important;
    color: #62748d !important;
    font-size: 11px !important;
}

.match_league span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.match_time {
    width: auto !important;
    color: #ff5a12 !important;
    font-size: 13px;
    text-align: left;
}

.match_teams {
    justify-content: center;
    gap: 14px !important;
    color: #061832 !important;
    font-size: 13px !important;
}

.team_name {
    max-width: none !important;
    flex: 1;
    color: #061832;
}

.team_home {
    justify-content: flex-end;
    text-align: right;
}

.team_away {
    justify-content: flex-start;
}

.match_vs {
    color: #8a98ad !important;
    font-size: 12px !important;
    font-weight: 900;
}

.match_row .match_logo,
.match_teams img.match_logo {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    min-width: 28px !important;
    border-radius: 50%;
    background: #eef3f9;
    border: 1px solid #dfe7f1;
    padding: 2px;
}

.match_watch {
    min-width: 0;
    justify-self: end;
    border-radius: 999px !important;
    padding: 7px 13px !important;
    color: #66758a !important;
    background: #eef3f9 !important;
    font-size: 12px !important;
    text-align: center;
}

.match_watch.live {
    color: #ff2f20 !important;
    background: #ffe9e8 !important;
}

.match_watch.soon {
    color: #607086 !important;
    background: #edf3fb !important;
}

.match_watch.not_started {
    color: #607086 !important;
    background: #edf3fb !important;
}

@media (max-width: 920px) {
    .top_dh,
    .body_box {
        width: min(100% - 20px, 1250px) !important;
    }

    .top_dh {
        gap: 10px !important;
    }

    .body_box {
        grid-template-columns: 1fr !important;
    }

    .body_left {
        position: static;
        grid-template-columns: 1fr;
    }

    .match_row {
        grid-template-columns: 58px 1fr 88px !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    .match_league {
        grid-column: 1 / -1;
    }

    .match_time {
        grid-column: 1;
    }

    .match_teams {
        grid-column: 2;
        justify-content: flex-start;
    }

    .match_watch {
        grid-column: 3;
    }
}

.auth_body {
    min-height: 100vh;
    background: #edf3fb;
}

.auth_top {
    box-shadow: 0 8px 22px rgba(15, 37, 75, .24);
}

.auth_wrap {
    max-width: 460px;
    margin: 0 auto;
    padding: 54px 16px 76px;
    min-height: calc(100vh - 128px);
    display: flex;
    align-items: flex-start;
}

.auth_panel {
    width: 100%;
}

.auth_intro {
    min-height: 520px;
    padding: 44px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(7, 25, 65, .96), rgba(10, 102, 194, .88)),
        url("/images/tv/import_27510.png") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.auth_intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 17, 39, .15), rgba(6, 17, 39, .86));
}

.auth_intro > * {
    position: relative;
    z-index: 1;
}

.auth_brand_mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 8px;
    background: #fff;
    color: #095fa8;
    font-size: 28px;
    font-weight: 900;
}

.auth_intro h1 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: 0;
}

.auth_intro p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.8;
}

.auth_box {
    width: 100%;
    padding: 30px;
    background: #fff;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 45, 82, .09);
}

.auth_box h2 {
    margin: 24px 0 22px;
    color: #182033;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
}

.auth_tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    border: 1px solid #e0e7f1;
    border-radius: 8px;
    background: #f5f7fb;
}

.auth_tabs a,
.auth_tabs span {
    height: 38px;
    line-height: 38px;
    border-radius: 6px;
    text-align: center;
    color: #607086;
    font-weight: 800;
    text-decoration: none;
}

.auth_tabs .active {
    background: #fff;
    color: #095fa8;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}

.auth_field {
    margin-bottom: 16px;
}

.auth_field label {
    display: block;
    margin: 0 0 7px;
    color: #46566b;
    font-size: 13px;
    font-weight: 800;
}

.auth_field input {
    width: 100%;
    height: 46px;
    border: 1px solid #d7e0ec;
    border-radius: 8px;
    padding: 0 13px;
    background: #fbfcfe;
    color: #182033;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.auth_field input:focus {
    outline: none;
    border-color: #0a66c2;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, .12);
}

.auth_box button,
.auth_button_link {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 46px;
    margin-top: 22px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #0d5cad, #1257a6);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(10, 102, 194, .24);
}

.auth_box button:hover,
.auth_button_link:hover {
    filter: brightness(1.04);
}

.auth_switch {
    margin-top: 18px;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
}

.auth_switch a {
    color: #095fa8;
    font-weight: 800;
    text-decoration: none;
}

.auth_profile_box {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(24, 45, 82, .09);
}

.show_place {
    width: min(1196px, calc(100% - 56px)) !important;
    margin: 0 auto !important;
    padding: 16px 0 10px !important;
    color: #6b7b90 !important;
}

.show_place a {
    color: #53657e !important;
}

.show_page {
    width: min(1196px, calc(100% - 56px)) !important;
    margin: 0 auto 40px !important;
}

.show_hero {
    position: relative;
    min-height: 124px;
    padding: 20px 28px 18px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, #0e3472 0%, #1257a6 100%);
    color: #fff;
    box-shadow: 0 10px 26px rgba(24, 45, 82, .09);
}

.hero_status {
    position: absolute;
    top: 16px;
    right: 18px;
    min-width: 68px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.hero_status.live {
    background: #ef4438;
}

.hero_status.pre {
    background: #f59a0b;
}

.hero_status.ended {
    background: rgba(15, 23, 42, .24);
}

.hero_matchup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 8px 90px 0;
}

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

.hero_team:first-child {
    justify-content: flex-end;
    text-align: right;
}

.hero_team:last-child {
    justify-content: flex-start;
}

.hero_team_logo {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    min-width: 52px;
    padding: 4px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .6);
}

.hero_team_name {
    max-width: 320px;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero_vs {
    text-align: center;
    color: rgba(255, 255, 255, .72);
}

.hero_vs_text {
    font-size: 18px;
    font-weight: 900;
}

.hero_match_time {
    margin-top: 4px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
}

.hero_single_event {
    padding: 16px 90px 4px 0;
}

.hero_single_title {
    max-width: 780px;
    overflow: hidden;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hero_league {
    margin-top: 12px;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 700;
}

.player_outer {
    border-radius: 0 !important;
}

.player_ratio {
    padding-bottom: 52% !important;
}

.signal_bar {
    border-radius: 0 0 8px 8px !important;
}

.show_grid {
    margin-top: 16px;
}

@media (max-width: 760px) {
    .show_place,
    .show_page {
        width: min(100% - 20px, 1196px) !important;
    }

    .show_hero {
        padding: 16px 14px;
    }

    .hero_matchup {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 34px 0 0;
    }

    .hero_team,
    .hero_team:first-child,
    .hero_team:last-child {
        justify-content: center;
        text-align: center;
    }

    .hero_single_event {
        padding: 36px 0 0;
    }

    .hero_single_title {
        font-size: 18px;
    }
}

.auth_row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f6;
}

.auth_row span {
    color: #6b7280;
}

.auth_row b {
    color: #182033;
    text-align: right;
    word-break: break-all;
}

@media (max-width: 960px) {
    .topbar, .topbar-inner { height: 62px; }
    .topbar-inner { width: calc(100% - 22px); gap: 12px; }
    .brand-text { font-size: 17px; }
    .brand-mark { width: 34px; height: 34px; }
    .nav { gap: 0; overflow-x: auto; }
    .nav a { padding: 7px 10px; font-size: 13px; }
    main { width: calc(100% - 22px); }
    .hero { grid-template-columns: 1fr; padding-top: 28px; }
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; grid-template-columns: 1fr; }
    .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .event-card { grid-template-columns: 60px 1fr; }
    .status { grid-column: 2; justify-self: start; }
    .auth_wrap {
        padding: 30px 12px 56px;
        align-items: flex-start;
    }

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

    .auth_intro {
        min-height: 230px;
        padding: 30px;
    }

    .auth_intro h1 {
        font-size: 28px;
    }

    .auth_box {
        padding: 30px;
    }
}

@media (max-width: 560px) {
    .hero-copy h1 { font-size: 38px; }
    .hero-copy p { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; }
    .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer { flex-direction: column; }
    .auth_top .top_dh {
        min-height: auto;
    }

    .auth_top .top_nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .auth_wrap {
        padding: 18px 10px 40px;
        min-height: auto;
    }

    .auth_intro {
        min-height: 190px;
        padding: 24px;
    }

    .auth_brand_mark {
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .auth_intro h1 {
        font-size: 24px;
    }

    .auth_intro p {
        font-size: 14px;
    }

    .auth_box {
        padding: 24px 18px;
    }

    .auth_box h2 {
        font-size: 22px;
        margin: 22px 0 20px;
    }

    .auth_tabs a,
    .auth_tabs span {
        height: 36px;
        line-height: 36px;
        font-size: 13px;
    }
}
