/* ==========================================================================
   dktongda 主题补充样式
   1) 头部搜索框 / logo
   2) 比赛状态与比分占位（配合 score.js）
   3) 页脚
   4) 响应式（目标站原版固定 1240px，这里做自适应）
   ========================================================================== */

/* ---------- 1. 头部 ---------- */
.header-main {
  gap: 16px;
}
.header-main .logo {
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.head-search {
  flex-shrink: 0;
  margin-right: auto;
}
.head-search form {
  display: flex;
  align-items: center;
  width: 216px;
  height: 34px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.head-search input {
  flex: 1;
  min-width: 0;
  height: 32px;
  padding: 0 10px;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #333;
}
.head-search input::placeholder {
  color: #b3b3b3;
}
.head-search button {
  width: 52px;
  height: 32px;
  border: none;
  background: #F23632;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.head-search button:hover {
  background: #D02723;
}
.menu-list {
  flex-shrink: 0;
}

/* ---------- 2. 比赛行 ---------- */
.hot-list .list .detail .team-name {
  max-width: 118px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hot-list .list .detail .group1 .team-name {
  text-align: right;
}

/* 未开赛：隐藏比分块，中间显示 vs（需压过 .hot-list .list .detail .count 的显示规则） */
.count.is-wait,
.hot-list .list .detail .count.is-wait,
.bisai-box .bisai-list .bisai-line .detail .count.is-wait {
  display: none;
}
.space.is-wait,
.hot-list .list .detail .space.is-wait,
.bisai-box .bisai-list .bisai-line .detail .space.is-wait {
  width: auto;
  flex: 0 0 auto;
  padding: 0 10px;
  font-size: 14px;
  font-weight: normal;
  color: #999;
}

/* 状态按钮：由 score.js 通过 data-sb 切换。
   style.css 里 .hot-list .list .status（灰底渐变）与 .bisai-line .status 特异性为 0,3,0 / 0,2,0，
   单类 .status[data-sb] 只有 0,2,0 压不过，会全部落回灰底，所以这里带上级选择器提升特异性。 */
.hot-list .list .status[data-sb="wait"],
.bisai-box .bisai-list .bisai-line .status[data-sb="wait"] {
  background: linear-gradient(90deg, #929292 0%, #C1C1C1 100%);
  color: #fff;
  font-weight: normal;
}
.hot-list .list .status[data-sb="live"],
.hot-list .list .status.yellow,
.bisai-box .bisai-list .bisai-line .status[data-sb="live"],
.bisai-box .bisai-list .bisai-line .status.yellow {
  background: linear-gradient(90deg, #F63030 0%, #FF6E6E 100%);
  color: #fff;
  font-weight: bold;
}
.hot-list .list .status[data-sb="end"],
.bisai-box .bisai-list .bisai-line .status[data-sb="end"] {
  background: #F2F2F2;
  color: #999;
  font-weight: normal;
}
.hot-list .list .status[data-sb="cut"],
.bisai-box .bisai-list .bisai-line .status[data-sb="cut"] {
  background: linear-gradient(90deg, #D08A2A 0%, #E8B35E 100%);
  color: #fff;
  font-weight: normal;
}

/* 比分数字：直播中高亮（同样需要压过 .hot-list .list .detail .count 的 #000） */
.hot-list .list .detail .count.is-live,
.bisai-box .bisai-list .bisai-line .detail .count.is-live {
  color: #F23632;
}

/* ---------- 3. 页脚 ---------- */
.footer .container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 12px;
  text-align: center;
  line-height: 22px;
}
.footer-desc {
  color: #999;
}
.footer-links {
  margin-top: 8px;
}
.footer-links a {
  display: inline-block;
  margin: 0 6px;
  color: #b5b5b5;
}
.footer-links a:hover {
  color: #fff;
}
.footer-note {
  margin-top: 8px;
  color: #7d8484;
}

/* 回到顶部 */
.to-top {
  transform: translateX(620px);
}
.to-top.show {
  display: block;
}
.to-top.hide {
  display: none;
}

/* ---------- 4. 响应式 ---------- */
@media (max-width: 1240px) {
  .page-main,
  .header-main {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
  /* 750 + 20 + 430 = 1200，窄于 1240 时两栏放不下，直接改为单栏堆叠 */
  .top-left-box,
  .top-right-box,
  .news-sub-page-list .news-left,
  .news-sub-page-list .news-right {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .top-left-box,
  .news-sub-page-list .news-left {
    margin-bottom: 16px;
  }
  .top-left-box .top-hot-box,
  .top-left-box .video-box,
  .top-right-box .top-news-box {
    width: 100%;
  }
  .top-right-box,
  .news-sub-page-list .news-right {
    margin-bottom: 16px;
  }
  .to-top {
    transform: none;
    right: 16px;
    left: auto;
  }
}

@media (max-width: 1240px) {
  .page-header {
    height: auto;
    padding-bottom: 8px;
  }
  .header-main {
    height: auto;
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 0;
  }
  .head-search {
    order: 0;
    flex: 1 1 200px;
    width: auto;
    min-width: 0;
    margin: 0 0 8px;
  }
  .head-search form {
    width: 100%;
  }
  .menu-list {
    width: 100%;
    margin-top: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .menu-list .menu-line {
    flex-wrap: wrap;
    width: auto;
  }
  .menu-list .menu-line .menu a {
    margin-left: 0;
    margin-right: 8px;
  }
  .footer .container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-main .logo {
    font-size: 26px;
  }
  .page-main {
    padding-left: 10px;
    padding-right: 10px;
  }
  .box-title {
    height: 48px;
    padding: 0 12px;
    font-size: 16px;
  }
  .box-title img {
    height: 20px;
  }
  .box-title .more {
    height: 26px;
  }

  /* 比赛行改为两行：状态+时间+联赛 / 队名+比分 */
  .hot-list .line {
    height: auto;
    padding: 10px 12px;
  }
  .hot-list .list {
    height: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 6px;
  }
  .hot-list .list > a:first-child {
    width: auto;
    justify-content: flex-start;
  }
  .hot-list .list .status {
    width: 62px;
    height: 24px;
    margin-right: 8px;
    line-height: 24px;
    font-size: 12px;
  }
  .hot-list .list .time {
    font-size: 13px;
    margin-right: 0;
  }
  .hot-list .list .name {
    width: auto;
    margin-left: 10px;
    font-size: 13px;
    color: #666;
  }
  .hot-list .list > a.flex-1 {
    width: 100%;
    flex: none;
  }
  .hot-list .list .detail {
    width: 100%;
  }
  .hot-list .list .detail .team-name {
    max-width: 40vw;
  }
  .hot-list .list .detail .group1 .team-name {
    font-size: 14px;
  }
  .hot-list .list .detail img {
    height: 20px;
    margin: 0 5px;
  }
  .hot-list .list .detail .count {
    width: 44px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
  }
  .hot-list .list .detail .space {
    width: 14px;
  }

  /* 资讯 */
  .news-list {
    padding: 12px 12px 0;
  }
  .news-list .bold-news .name {
    font-size: 15px;
  }
  .news-list .default-news .name {
    font-size: 13px;
  }

  /* 页脚 */
  .footer-links a {
    margin: 0 4px;
    font-size: 12px;
  }
  .footer-desc,
  .footer-note {
    font-size: 11px;
  }
  .bottom-desc {
    padding: 14px 12px;
    font-size: 13px;
  }
  .to-top {
    display: none;
  }
}

/* ---------- 5. 详情页 ---------- */
.bisai-detail {
  min-height: 0;
}
.bisai-score .count .space {
  font-size: 24px;
  color: #fff;
}
.bisai-score .count-num.is-wait {
  display: none;
}
.bisai-score .count .space.is-wait {
  width: auto;
  padding: 0;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}
.bisai-score .status {
  cursor: default;
}
/* 信号源广告位：与目标站 thea1.js 注入的一致 —— 红底白字 160x64 */
.source-box .source-list .list {
  width: 160px;
  height: 64px;
  margin: 0 16px 0 0;
  padding: 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.2;
  color: #fff;
  background: #E92724;
  border: 2px solid #D3E1E2;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}
.source-box .source-list .list:hover {
  color: #fff;
  border-color: #F23632;
}
.bisai-score .score-left span,
.bisai-score .score-right span {
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 按赛事类型切换右侧录像列表 */
body.mtype-zq .box-lq,
body.mtype-lq .box-zq {
  display: none;
}

@media (max-width: 1240px) {
  .bisai-detail-bg {
    top: 102px;
  }
}
@media (max-width: 1000px) {
  .bisai-detail-bg {
    position: relative;
    top: 0;
    height: auto;
    padding: 0;
    background: linear-gradient(90deg, #292E2E 0%, #F23632 50%, #292E2E 100%);
  }
  .bisai-score {
    height: auto;
    padding: 24px 10px;
    flex-wrap: nowrap;
  }
  .bisai-score .score-left .logo,
  .bisai-score .score-right .logo {
    width: 56px;
    height: 56px;
    padding: 8px;
    margin-right: 8px;
  }
  .bisai-score .score-right .logo {
    margin-left: 8px;
    margin-right: 0;
  }
  .bisai-score .score-left .logo img,
  .bisai-score .score-right .logo img {
    width: 40px;
    height: 40px;
  }
  .bisai-score .score-left,
  .bisai-score .score-right {
    font-size: 14px;
  }
  .bisai-score .score-left span,
  .bisai-score .score-right span {
    max-width: 24vw;
  }
  .bisai-score .score-center .time {
    font-size: 12px;
    padding: 3px 10px;
    height: 30px;
    line-height: 22px;
    white-space: nowrap;
  }
  .bisai-score .score-center .count {
    margin: 12px 0;
    font-size: 26px;
    height: 32px;
    line-height: 32px;
  }
  .bisai-score .score-center .status {
    width: 110px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
  .source-box {
    margin-top: 16px;
  }
  .source-box .source-list {
    padding: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .source-box .source-list .list {
    width: auto;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    font-size: 15px;
    border: none;
  }
}

@media (max-width: 768px) {
  .bisai-box {
    padding: 12px;
  }
  .bisai-box .tabs .tab {
    width: 50%;
    font-size: 14px;
    padding: 8px 0;
  }
  .bisai-box .time-line {
    margin: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .bisai-box .time-line .time-box {
    width: 72px;
    height: 54px;
    margin-right: 8px;
    flex-shrink: 0;
    font-size: 12px;
  }
  .bisai-box .bisai-list .bisai-line {
    height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .bisai-line .status {
    width: 60px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    margin-right: 8px;
  }
  .bisai-line .info .name {
    margin-left: 8px;
    width: auto;
    font-size: 13px;
    color: #666;
  }
  .bisai-line .detail .count {
    width: 40px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
  }
  .bisai-line .detail img {
    height: 20px;
    margin: 0 4px;
  }
  .bisai-line .detail .name {
    width: auto;
    min-width: 0;
    flex: 1;
  }
  .bisai-line .detail .name .team-name {
    max-width: 28vw;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .bisai-line .right-btn {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .right-btn .btn {
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    padding: 0 10px;
  }
}

/* ---------- 6. 资讯正文与分页 ---------- */
.news-content-box .news-content-detail img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.news-content-box .news-content-detail p {
  margin: 0 0 14px;
}
.article-tags {
  margin-top: 12px;
  font-size: 14px;
  color: #999;
}
.article-tags a {
  margin-right: 10px;
  color: #666;
}
.article-tags a:hover {
  color: #F23632;
}
.article-page {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  line-height: 26px;
  color: #666;
}
.article-page a {
  color: #333;
}
.article-page a:hover {
  color: #F23632;
}

/* 分页（易优 pagelist 输出 ul > li） */
.page-box {
  padding: 16px;
  border-top: 1px solid #eee;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.pagination li {
  display: inline-block;
}
.pagination li a,
.pagination li span {
  display: block;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border: 1px solid #D3E1E2;
  border-radius: 4px;
  background: #fff;
}
.pagination li a:hover {
  border-color: #F23632;
  color: #F23632;
}
.pagination li.active a,
.pagination li.active span {
  background: #F23632;
  border-color: #F23632;
  color: #fff;
}
.pagination li.disabled span {
  color: #c9c9c9;
  cursor: not-allowed;
}

/* 空数据提示 */
.no-data {
  padding: 40px 16px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* 通用内容块（频道 / 球队 / 球员页复用） */
.content-box {
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  padding: 16px;
}
.content-box .article-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 34px;
  color: #292E2E;
  margin-bottom: 12px;
}
.content-box .article-meta {
  font-size: 13px;
  color: #999;
  padding-bottom: 14px;
  border-bottom: 1px solid #D3E1E2;
  margin-bottom: 16px;
}
.content-box .article-body {
  font-size: 16px;
  line-height: 32px;
  color: #292E2E;
}
.content-box .article-body img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .news-sub-page-list .news-left .list-box .news {
    min-height: 0;
    padding: 12px 12px 0;
  }
  .news-left .list-box .news-detail img {
    width: 100px;
    height: 75px;
    margin-right: 12px;
  }
  .news-left .list-box .news-detail .news-content {
    padding-top: 0;
  }
  .news-content .name {
    font-size: 14px;
    line-height: 20px;
  }
  .news-content .desc {
    display: none;
  }
  .news-content .time {
    font-size: 12px;
  }
  .news-content-box {
    padding: 14px;
  }
  .news-content-box .content-title {
    font-size: 20px;
    line-height: 28px;
  }
  .news-content-box .news-content-detail {
    font-size: 15px;
    line-height: 28px;
  }
}

/* ---------- 7. 搜索页 ---------- */
.search-head {
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  gap: 16px;
}
.search-head .tab {
  width: 140px;
  font-size: 16px;
  text-align: center;
  color: #F23632;
  border: 1px solid #F23632;
  border-radius: 4px;
  padding: 8px 0;
  font-weight: bold;
}
.search-form {
  display: flex;
  align-items: center;
  width: 320px;
  height: 38px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  overflow: hidden;
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border: none;
  font-size: 14px;
  color: #333;
}
.search-form button {
  width: 64px;
  height: 36px;
  border: none;
  background: #F23632;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.search-form button:hover {
  background: #D02723;
}
.search-result {
  margin-top: 8px;
}
.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(211, 225, 226, .6);
  color: #000;
}
.search-item:hover {
  background: #F1F9F9;
}
.search-item:hover .si-title {
  color: #F23632;
}
.si-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.si-date {
  flex-shrink: 0;
  width: 56px;
  font-size: 13px;
  color: #999;
}
.si-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
}
.si-go {
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 13px;
  color: #999;
}

/* 标签云（热门联赛） */
.tag-box {
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 16px;
}
.tag-box .tag-main {
  padding: 14px 16px 6px;
}
.tag-box .tag-main .tag {
  display: inline-block;
  height: 28px;
  padding: 4px 12px;
  line-height: 20px;
  margin-right: 8px;
  margin-bottom: 8px;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
}
.tag-box .tag-main .tag:hover {
  background: #F23632;
  border-color: #F23632;
  color: #fff;
}

@media (max-width: 768px) {
  .search-head {
    flex-wrap: wrap;
  }
  .search-head .tab {
    width: 100%;
  }
  .search-form {
    width: 100%;
  }
  .si-date {
    width: 46px;
    font-size: 12px;
  }
  .si-title {
    font-size: 13px;
  }
}

/* ---------- 8. 列表页细节修正 ---------- */
.bisai-box .time-line {
  flex-wrap: nowrap;
}
.bisai-box .time-line .time-box {
  width: auto;
  flex: 1;
  min-width: 0;
  margin-right: 10px;
  box-sizing: border-box;
}
.bisai-box .time-line .time-box:last-child {
  margin-right: 0;
}
.bisai-box .time-line .time-box div {
  line-height: 20px;
}

.bisai-line .detail .name {
  width: 140px;
  flex-shrink: 0;
  overflow: hidden;
}
.bisai-line .detail .name .team-name {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bisai-line .detail .name:first-child {
  justify-content: flex-end;
}
.bisai-line .info .name {
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.bisai-line .status {
  flex-shrink: 0;
}

@media (max-width: 1000px) {
  .bisai-box .time-line .time-box {
    width: 76px;
    flex: none;
    margin-right: 8px;
  }
}

/* 详情页 tab 自适应宽度，避免长标题被裁 */
.bisai-detail .tabs .tab {
  width: auto;
  padding: 0 26px;
  white-space: nowrap;
}
.bisai-detail .tabs .tab.active:after {
  left: 50%;
  margin-left: -32px;
}
/* ==========================================================================
   9. 移动端适配（≤768px）
   说明：style.css 自带一套 768px 媒体查询，选择器多为 .page-header .xxx 双类，
   单类写法会被压过，因此这里统一使用同款双类/三类的写法覆盖。
   版式：logo + 搜索并排一行 → 导航单行横向滚动（第二行联赛快捷入口在移动端收起）
   ========================================================================== */
@media (max-width: 768px) {
  /* ---- 头部整体 ---- */
  .page-header {
    height: auto;
    padding-bottom: 0;
    position: sticky;
    top: 0;
    box-shadow: 0 1px 0 #eee;
  }
  .page-header .header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 7px 12px 0;
    gap: 0;
  }
  .page-header .header-main .logo {
    display: block;
    height: 30px;
    line-height: 30px;
    padding: 0;
    margin-right: 10px;
    font-size: 22px;
    flex: 0 0 auto;
  }
  .page-header .header-main .logo img {
    height: 24px;
    vertical-align: middle;
  }

  /* ---- 搜索框：与 logo 同一行，靠右自适应 ---- */
  .page-header .head-search {
    display: block;
    order: 0;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 30px;
    margin: 0;
  }
  .page-header .head-search form {
    width: 100%;
    height: 30px;
    border-radius: 15px;
    box-sizing: border-box;
  }
  .page-header .head-search input {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 28px;
    padding: 0 12px;
    font-size: 13px;
    box-sizing: border-box;
  }
  .page-header .head-search button {
    flex: 0 0 44px;
    width: 44px;
    height: 28px;
    padding: 0;
    font-size: 13px;
  }

  /* ---- 导航：单行横向滚动 ---- */
  .page-header .menu-list {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 44px;
    margin-top: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .page-header .menu-list::-webkit-scrollbar {
    display: none;
  }
  .page-header .menu-list .menu-line:nth-child(1),
  .page-header .menu-list .menu-line:nth-child(2) {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    height: 44px;
    flex: 0 0 auto;
  }
  .page-header .menu-list .menu {
    height: 44px;
    background: transparent;
    border-right: 0;
    flex: 0 0 auto;
  }
  .page-header .menu-list .menu a {
    height: 44px;
    line-height: 44px;
    padding: 0 12px;
    margin: 0;
    font-size: 15px;
    font-weight: normal;
    color: #333;
    border-radius: 0;
    background: transparent;
  }
  .page-header .menu-list .menu a:hover,
  .page-header .menu-list .menu.active a {
    background: transparent;
    color: #F23632;
    font-weight: bold;
    border-bottom: 2px solid #F23632;
    border-radius: 0;
    box-sizing: border-box;
  }
  /* 移动端不展示“更多”下拉 */
  .page-header .menu-list .menu.more {
    display: none;
  }
  .page-header .menu-list .menu.more .sub-menu-list {
    display: none;
  }
}

/* ==========================================================================
   10. 移动端内容区
   style.css 自带的 768px 规则把比赛行改成了「绝对定位队徽 + 左侧挂比分」的竖排结构，
   与本站两行卡片式布局冲突，这里逐项 reset 回 flex 排布。
   ========================================================================== */
@media (max-width: 768px) {
  .page-main {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-main .top-left-box,
  .page-main .top-right-box {
    width: 100%;
    margin: 0 0 12px;
  }
  .news-sub-page-list .news-left,
  .news-sub-page-list .news-right {
    width: 100%;
    margin: 0 0 12px;
  }

  /* ---- 比赛行：第一行 状态+时间+联赛，第二行 队名+队徽+比分 ---- */
  .hot-list .line {
    height: auto;
    padding: 10px 12px;
  }
  .hot-list .list {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    row-gap: 8px;
    padding: 0;
    font-size: 13px;
  }
  .hot-list .list > a:first-child {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .hot-list .list .status {
    width: 62px;
    height: 24px;
    line-height: 24px;
    margin-right: 8px;
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    flex-shrink: 0;
  }
  /* 状态配色需要带 .hot-list 前缀，否则被 style.css 移动端的 background:none 压过 */
  .hot-list .list .status[data-sb="wait"] {
    background: linear-gradient(90deg, #929292 0%, #C1C1C1 100%);
    color: #fff;
  }
  .hot-list .list .status[data-sb="live"],
  .hot-list .list .status.yellow {
    background: linear-gradient(90deg, #F63030 0%, #FF6E6E 100%);
    color: #fff;
    font-weight: bold;
  }
  .hot-list .list .status[data-sb="end"] {
    background: #F2F2F2;
    color: #999;
  }
  .hot-list .list .status[data-sb="cut"] {
    background: linear-gradient(90deg, #D08A2A 0%, #E8B35E 100%);
    color: #fff;
  }
  .hot-list .list .time {
    width: auto;
    margin: 0;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hot-list .list .name {
    width: auto;
    max-width: 34vw;
    margin: 0 0 0 10px;
    font-size: 13px;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    flex: 0 1 auto;
  }
  .hot-list .list > a.flex-1 {
    flex: 0 0 100%;
    width: 100%;
    display: block;
  }

  /* reset：取消原站移动端的绝对定位与左内边距 */
  .hot-list .list .detail {
    position: static;
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 0;
    line-height: inherit;
  }
  .hot-list .list .detail .group1,
  .hot-list .list .detail .group2 {
    position: static;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    padding-right: 0;
    text-align: left;
  }
  .hot-list .list .detail .group1 {
    justify-content: flex-end;
  }
  .hot-list .list .detail .group2 {
    justify-content: flex-start;
  }
  .hot-list .list .detail .group1 .team-name,
  .hot-list .list .detail .group2 .team-name {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .hot-list .list .detail .group1 .team-name {
    text-align: right;
  }
  .hot-list .list .detail img {
    position: static;
    left: auto;
    top: auto;
    width: 18px;
    height: 18px;
    margin: 0 4px;
    flex-shrink: 0;
  }
  .hot-list .list .detail .count {
    position: static;
    left: auto;
    width: 40px;
    height: 26px;
    line-height: 26px;
    font-size: 13px;
    font-weight: bold;
    color: #000;
    background: #F5F5F5;
    border-radius: 4px;
    flex: 0 0 40px;
    text-align: center;
  }
  .hot-list .list .detail .count.is-wait {
    display: none;
  }
  .hot-list .list .detail .space {
    display: block;
    width: 14px;
    flex: 0 0 14px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
  }
  .hot-list .list .detail .space.is-wait {
    display: block;
    width: auto;
    flex: 0 0 auto;
    padding: 0 4px;
    font-weight: normal;
    color: #999;
  }
  .hot-list .list .detail .play-icon {
    display: none;
  }

  /* ---- 页脚 / 回到顶部 ---- */
  .footer .container {
    width: 100%;
    padding: 14px 12px;
    font-size: 12px;
  }
  .to-top {
    right: 12px;
    left: auto;
    transform: none;
  }
}

/* ==========================================================================
   11. 移动端：列表页比赛行 / 详情页比分卡
   style.css 移动端把 .bisai-line 改成了绝对定位的「对角线 VS 卡」，
   把 .bisai-detail-bg 改成整块背景带；本站结构不同，这里统一 reset。
   ========================================================================== */
@media (max-width: 768px) {
  /* ---- 日期时间轴 ---- */
  .bisai-box .time-line {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bisai-box .time-line::-webkit-scrollbar {
    display: none;
  }

  /* ---- 列表页比赛行：两行卡片 ---- */
  .bisai-box .bisai-list .bisai-line {
    position: static;
    display: block;
    height: auto;
    padding: 10px 12px;
  }
  .bisai-box .bisai-list .bisai-line > .flex-1 {
    display: block;
    width: 100%;
  }
  .bisai-box .bisai-list .bisai-line a {
    width: auto;
  }
  .bisai-box .bisai-list .bisai-line > .flex-1 > a.flex-1 {
    display: block;
    width: 100%;
  }

  /* 第一行：状态 + 时间 + 联赛 */
  .bisai-box .bisai-list .bisai-line .info {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: auto;
    margin-bottom: 8px;
    transform: none;
  }
  .bisai-box .bisai-list .bisai-line .info > a {
    display: flex;
    align-items: center;
    width: auto;
  }
  .bisai-box .bisai-list .bisai-line .info .status {
    position: static;
    transform: none;
    width: 62px;
    height: 24px;
    padding: 0;
    font-size: 12px;
    font-weight: normal;
    line-height: 24px;
    text-align: center;
    border-radius: 4px;
    background: #F2F2F2;
    color: #999;
  }
  .bisai-box .bisai-list .bisai-line .info .status[data-sb="wait"] {
    background: linear-gradient(90deg, #929292 0%, #C1C1C1 100%);
    color: #fff;
  }
  .bisai-box .bisai-list .bisai-line .info .status[data-sb="live"],
  .bisai-box .bisai-list .bisai-line .info .status.yellow {
    background: linear-gradient(90deg, #F63030 0%, #FF6E6E 100%);
    color: #fff;
    font-weight: bold;
  }
  .bisai-box .bisai-list .bisai-line .info .status[data-sb="end"] {
    background: #F2F2F2;
    color: #999;
  }
  .bisai-box .bisai-list .bisai-line .info .status[data-sb="cut"] {
    background: linear-gradient(90deg, #D08A2A 0%, #E8B35E 100%);
    color: #fff;
  }
  .bisai-box .bisai-list .bisai-line .info .time {
    position: static;
    transform: none;
    margin-left: 8px;
    font-size: 13px;
    color: #666;
    text-align: left;
  }
  .bisai-box .bisai-list .bisai-line .info .name {
    position: static;
    transform: none;
    width: auto;
    max-width: 36vw;
    margin: 0 0 0 10px;
    font-size: 13px;
    color: #666;
    line-height: normal;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 第二行：队名 队徽 比分 : 比分 队徽 队名 */
  .bisai-box .bisai-list .bisai-line .detail {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .bisai-box .bisai-list .bisai-line .detail .name {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    margin: 0;
    padding: 0;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 13px;
    line-height: 18px;
  }
  .bisai-box .bisai-list .bisai-line .detail .name:first-child {
    justify-content: flex-end;
  }
  .bisai-box .bisai-list .bisai-line .detail .name:last-child {
    justify-content: flex-start;
    padding-left: 0;
  }
  .bisai-box .bisai-list .bisai-line .detail .name .team-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .bisai-box .bisai-list .bisai-line .detail .name:first-child .team-name {
    text-align: right;
  }
  .bisai-box .bisai-list .bisai-line .detail .name img {
    position: static;
    left: auto;
    top: auto;
    width: 18px;
    height: 18px;
    margin: 0 4px;
    flex-shrink: 0;
  }
  .bisai-box .bisai-list .bisai-line .detail .count {
    flex: 0 0 38px;
    width: 38px;
    height: 26px;
    font-size: 13px;
    line-height: 26px;
    color: #000;
    background: #F5F5F5;
    border-radius: 4px;
    text-align: center;
  }
  .bisai-box .bisai-list .bisai-line .detail .count.is-wait {
    display: none;
  }
  .bisai-box .bisai-list .bisai-line .detail .space {
    flex: 0 0 14px;
    width: 14px;
    padding: 0;
    font-size: 13px;
    text-align: center;
  }
  .bisai-box .bisai-list .bisai-line .detail .space.is-wait {
    flex: 0 0 auto;
    width: auto;
    padding: 0 4px;
    font-weight: normal;
    color: #999;
  }

  /* ---- 详情页：比分卡自带底色，不再依赖背景带 ---- */
  .bisai-detail-bg {
    display: none;
  }
  .bisai-score {
    height: auto;
    padding: 20px 10px 22px;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-bottom: 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #292E2E 0%, #F23632 50%, #292E2E 100%);
  }
  .bisai-score .score-left,
  .bisai-score .score-right {
    position: static;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    font-size: 13px;
  }
  .bisai-score .score-right {
    flex-direction: column-reverse;
  }
  .bisai-score .score-left .logo,
  .bisai-score .score-right .logo {
    position: static;
    width: 54px;
    height: 54px;
    margin: 0 0 8px;
    padding: 9px;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
  }
  .bisai-score .score-left .logo img,
  .bisai-score .score-right .logo img {
    width: 36px;
    height: 36px;
  }
  .bisai-score .score-left span,
  .bisai-score .score-right span {
    max-width: 100%;
    font-size: 13px;
    line-height: 18px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .bisai-score .score-center {
    flex: 0 0 auto;
    width: auto;
    padding: 4px 4px 0;
  }
  .bisai-score .score-center .time {
    height: 26px;
    margin-bottom: 8px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 24px;
    color: #fff;
    white-space: nowrap;
    border: 1px solid #FFFFFF;
    border-radius: 13px;
    background: transparent;
  }
  .bisai-score .score-center .count {
    height: auto;
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 30px;
  }
  .bisai-score .score-center .status {
    width: auto;
    min-width: 80px;
    height: 24px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: normal;
    line-height: 24px;
  }

  /* ---- 页脚：保留简介，不被 style.css 隐藏 ---- */
  .footer .container {
    display: block;
  }
}
