@charset "UTF-8";
/* ============================================================
   BURST SPORTS · 直播列表 / 直播详情深色版式（php-cms-15）

   只在 body.burst-dark 上生效（match_list / match_detail 两个
   render_public 传 burstDark，layout_top 据此挂类 + 装本文件）。
   令牌和 burst.css / burst-chrome.css 同源（那两份里 :root 已定义，
   这里写一遍做兜底，单独加载也能看）。
   ============================================================ */
:root {
    --ink: #10161f;
    --ink-2: #0b1016;
    --panel: #181f2a;
    --panel-2: #222a37;
    --line: rgba(255, 255, 255, .08);
    --lime: #c8ff2a;
    --orange: #ff5c1a;
    --text: #f2f5f9;
    --muted: #9aa7b8;
    --radius: 14px;
    --maxw: 1240px;
}

/* ---------- 页面底色：盖掉 arena / 背景图那层 ---------- */
body.burst-dark {
    background: var(--ink);
    color: var(--text);
}
/* 背景图照常铺：bd-row / bd-panel 都是实色，照片只从面板缝里透出来 */

/* a5 的页头/页脚底色撤掉逻辑（a5-has-bg）在这页不适用，正文自己铺深色 */
body.burst-dark .bdp { max-width: var(--maxw); margin: 0 auto; padding: 24px 24px 40px; }

/* ---------- 区块标题 ---------- */
.bd-sec {
    display: flex; align-items: baseline; gap: 12px;
    margin: 0 0 14px;
}
.bd-sec .bar { width: 5px; height: 20px; border-radius: 3px; background: var(--lime); flex: none; align-self: center; }
.bd-sec h1, .bd-sec h2 { font-size: 20px; font-weight: 900; letter-spacing: .02em; margin: 0; }
.bd-sec .sub { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bd-sec .cnt { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: auto; white-space: nowrap; }
.bd-sec .cnt b { color: var(--lime); font-weight: 800; }

/* ---------- 面板 ---------- */
.bd-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.bd-panel .bd-panel-hd {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; border-bottom: 1px solid var(--line);
}

/* ---------- 日期速选 ---------- */
.bd-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 16px; }
.bd-day {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 4px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--ink-2); color: var(--muted); text-decoration: none;
    transition: .2s;
}
.bd-day b { font-size: 13.5px; font-weight: 800; color: var(--text); }
.bd-day small { font-size: 11px; tabular-nums: 4; letter-spacing: .04em; }
.bd-day:hover { border-color: color-mix(in srgb, var(--lime) 45%, transparent); color: var(--lime); }
.bd-day.on { background: var(--lime); border-color: var(--lime); }
.bd-day.on b, .bd-day.on small { color: var(--on-accent); }

/* ---------- 筛选胶囊（运动 / 状态 / 热门联赛） ---------- */
/* gap 三值写法会整条失效（只接受 行 列 两个值），胶囊会贴死 —— 别再犯 */
.bd-filters { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 6px 16px 16px; align-items: center; }
.bd-filters .f-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); margin-right: 4px; }
.bd-chip {
    font-size: 12.5px; font-weight: 700; color: var(--muted);
    border: 1px solid var(--line); border-radius: 999px;
    padding: 5px 14px; background: var(--ink-2); text-decoration: none; transition: .2s;
}
.bd-chip:hover { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 50%, transparent); }
.bd-chip.on { background: var(--lime); border-color: var(--lime); color: var(--on-accent); }
.bd-chip.on.is-live { background: var(--orange); border-color: var(--orange); color: var(--on-live); }
.bd-reset { margin-left: auto; font-size: 12px; color: var(--muted); text-decoration: none; }
.bd-reset:hover { color: var(--lime); }

/* ---------- 比赛行 ---------- */
.bd-rows { padding: 6px 10px 10px; display: grid; gap: 6px; }
.bd-row {
    display: grid;
    grid-template-columns: 64px 88px 1fr auto;
    gap: 12px; align-items: center;
    padding: 10px 12px; border-radius: 10px;
    background: var(--ink-2); border: 1px solid var(--line);
    text-decoration: none; color: var(--text); transition: .2s;
}
.bd-row:hover { border-color: color-mix(in srgb, var(--lime) 45%, transparent); background: var(--panel-2); transform: translateX(2px); }
.bd-row.is-live { border-left: 3px solid var(--orange); }
.bd-row .r-when { display: grid; gap: 1px; }
.bd-row .r-when b { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.bd-row .r-when small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bd-row .r-lg { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-row .r-lg i { font-style: normal; color: var(--lime); }
.bd-row .r-teams { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bd-row .r-team { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; }
.bd-row .r-team.away { justify-content: flex-end; }
.bd-row .r-team .nm { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-row .r-score {
    flex: none; min-width: 56px; text-align: center;
    font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums;
    background: var(--panel-2); border-radius: 8px; padding: 3px 6px;
}
.bd-row.is-live .r-score { color: var(--lime); }
.bd-logo {
    position: relative; flex: none; width: 22px; height: 22px; border-radius: 999px;
    background: var(--panel-2); color: var(--muted); overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; text-transform: uppercase; line-height: 1;
}
.bd-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bd-row .r-state {
    flex: none; font-size: 11px; font-weight: 800; letter-spacing: .06em;
    padding: 4px 10px; border-radius: 999px; white-space: nowrap;
    background: var(--panel-2); color: var(--muted);
}
.bd-row .r-state.t-live { background: var(--orange); color: var(--on-live); }
.bd-row .r-state.t-live::before {
    content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 999px;
    background: var(--on-live); margin-right: 5px; vertical-align: 1px;
    animation: bd-blink 1.1s infinite;
}
.bd-row .r-state.t-up { background: color-mix(in srgb, var(--lime) 14%, transparent); color: var(--lime); }
@keyframes bd-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.bd-empty { padding: 44px 16px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ---------- 分页（后台 public_pager 的结构，这里翻深色） ---------- */
.bd-pager { display: flex; justify-content: center; padding: 14px 16px 18px; border-top: 1px solid var(--line); }
body.burst-dark .bd-pager .pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
body.burst-dark .bd-pager .pager-btn {
    display: inline-block; min-width: 34px; text-align: center;
    font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 8px;
    background: var(--ink-2); color: var(--muted);
    border: 1px solid var(--line) !important; text-decoration: none;
}
body.burst-dark .bd-pager a.pager-btn:hover { color: var(--lime); border-color: color-mix(in srgb, var(--lime) 50%, transparent) !important; }
body.burst-dark .bd-pager .pager-btn.current { background: var(--lime); color: var(--on-accent); border-color: var(--lime) !important; }
body.burst-dark .bd-pager .pager-btn.disabled { opacity: .4; }

/* ---------- 最新资讯（列表页底部） ---------- */
/* grid-template-columns 必须显式写 minmax(0,1fr)：不写的话隐式列按 max-content 撑开，
   而 .bd-news-row b 是 nowrap（标题整行长度）→ 手机上这一块能撑到 500px，整页横向溢出 */
.bd-news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 8px 10px 12px; }
.bd-news-row {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: 10px;
    background: var(--ink-2); border: 1px solid var(--line);
    text-decoration: none; color: var(--text); transition: .2s;
}
.bd-news-row:hover { border-color: color-mix(in srgb, var(--lime) 45%, transparent); background: var(--panel-2); }
.bd-news-row time { flex: none; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bd-news-row b { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd-news-row span { flex: none; font-size: 11px; color: var(--muted); }
.bd-more { font-size: 12px; color: var(--muted); text-decoration: none; }
.bd-more:hover { color: var(--lime); }

/* ============================================================
   详情页
   ============================================================ */
/* 顶部赛事带：墨黑渐变 + 青柠斜切 */
.bd-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, var(--ink-2) 0%, var(--panel) 55%, var(--ink-2) 100%);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 24px 20px; text-align: center;
}
.bd-hero::after {
    content: ""; position: absolute; left: -70px; bottom: -58px;
    width: 190px; height: 74px; background: var(--lime);
    transform: rotate(-24deg); opacity: .1; filter: blur(6px);
}
.bd-hero .h-league { font-size: 12px; font-weight: 800; letter-spacing: .22em; color: var(--lime); text-transform: uppercase; }
.bd-hero .h-title { margin: 8px 0 0; font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.bd-hero .h-title .sc { font-variant-numeric: tabular-nums; color: var(--lime); margin: 0 8px; }
.bd-hero .h-meta { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* 对阵大卡 */
.bd-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 30px 24px; }
.bd-vs .side { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.bd-vs .side .bd-logo { width: 62px; height: 62px; font-size: 22px; border: 1px solid var(--line); }
.bd-vs .side .nm { font-size: 16px; font-weight: 800; text-align: center; line-height: 1.4; }
.bd-vs .side .tag { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.bd-vs .mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bd-vs .mid .score { font-size: 40px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.bd-vs .mid .score.vs { color: var(--muted); font-size: 30px; }
/* 比分还没回传（isLive=false 的时间推断直播）：显示占位，别把 0:0 当真 */
.bd-vs .mid .score-note { margin-top: -4px; font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.bd-vs .mid .r-state { font-size: 12px; padding: 5px 14px; border-radius: 999px; font-weight: 800; letter-spacing: .06em; background: var(--panel-2); color: var(--muted); }
.bd-vs .mid .r-state.t-live { background: var(--orange); color: var(--on-live); }
.bd-vs .mid .r-state.t-live::before {
    content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 999px;
    background: var(--on-live); margin-right: 6px; animation: bd-blink 1.1s infinite;
}
.bd-vs .mid .r-state.t-up { background: color-mix(in srgb, var(--lime) 14%, transparent); color: var(--lime); }

/* 直播信号 / 观看线路按钮 */
.bd-signals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bd-signal {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 10px; border-radius: 12px; text-decoration: none;
    font-size: 14px; font-weight: 800;
    background: linear-gradient(135deg, color-mix(in srgb, var(--lime) 16%, transparent), color-mix(in srgb, var(--lime) 5%, transparent));
    border: 1px solid color-mix(in srgb, var(--lime) 38%, transparent); color: var(--lime);
    transition: .2s;
}
.bd-signal:hover { background: var(--lime); color: var(--on-accent); transform: translateY(-2px); }
.bd-signal .ico {
    flex: none; width: 22px; height: 22px; border-radius: 999px;
    background: color-mix(in srgb, var(--lime) 18%, transparent); display: inline-flex; align-items: center; justify-content: center;
}
.bd-signal:hover .ico { background: color-mix(in srgb, var(--ink) 18%, transparent); }
.bd-signal .ico svg { width: 11px; height: 11px; fill: currentColor; }
.bd-signal img { height: 20px; width: auto; border-radius: 4px; }
.bd-signal span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 赛事信息 */
.bd-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 16px 18px; }
.bd-info .kv { display: flex; gap: 10px; font-size: 13.5px; }
.bd-info .kv dt { flex: none; width: 64px; color: var(--muted); }
.bd-info .kv dd { margin: 0; min-width: 0; font-weight: 600; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .bd-signals { grid-template-columns: repeat(2, 1fr); }
    .bd-info { grid-template-columns: 1fr; }
    .bd-days { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
    .bdp { padding: 16px 14px 32px; }
    .bd-days { grid-template-columns: repeat(3, 1fr); }
    .bd-row { grid-template-columns: 1fr auto; grid-template-areas: "when state" "lg lg" "teams teams"; gap: 6px 10px; }
    .bd-row .r-when { grid-area: when; display: flex; gap: 6px; align-items: baseline; }
    .bd-row .r-lg { grid-area: lg; }
    .bd-row .r-teams { grid-area: teams; }
    .bd-row .r-state { grid-area: state; }
    .bd-row .r-team .nm { font-size: 13px; }
    .bd-row .r-score { min-width: 48px; font-size: 13.5px; }
    .bd-vs { padding: 22px 12px; }
    .bd-vs .mid .score { font-size: 30px; }
    .bd-vs .side .bd-logo { width: 48px; height: 48px; font-size: 18px; }
    .bd-vs .side .nm { font-size: 14px; }
    .bd-hero .h-title { font-size: 17px; }
    .bd-sec .cnt { margin-left: 0; width: 100%; order: 9; }
    .bd-sec { flex-wrap: wrap; }
}
