/* ================================================================
   24直播网 · jssjmy.com 首页布局风格
   统一样式：橙红 #fd5732 / 白底 / 1200 容器
   只覆盖主题，不动原始数据接口
   ================================================================ */

html,body.o5-body{
  background:#fff!important;
  background-image:none!important;
  color:#333;
  font:14px/1.6 "Microsoft YaHei","PingFang SC",Arial,sans-serif;
}
body.o5-body a{text-decoration:none;color:inherit}
body.o5-body img{border:0}

/* ---------- 容器 ---------- */
.js-wrap{width:1200px;max-width:100%;margin:0 auto;padding:0 10px;box-sizing:border-box}

/* ---------- 顶部导航 ---------- */
.js-header{background:#fd5732;height:68px}
.js-header .js-wrap{display:flex;align-items:center;height:100%}
.js-logo{display:flex;align-items:center;height:100%;margin-right:20px;flex:0 0 auto}
.js-logo img{max-height:44px;width:auto;display:block;filter:brightness(0) invert(1)}
.js-logo b{color:#fff;font-size:30px;font-weight:700;white-space:nowrap;letter-spacing:1px}
.js-nav{display:flex;align-items:stretch;height:100%;min-width:0;overflow:visible}
.js-nav a{
  display:flex;align-items:center;color:#fff!important;font-size:15px;
  padding:0 20px;white-space:nowrap;transition:background .2s;
}
.js-nav a:hover,.js-nav a.on{background:#d74625;color:#fff!important;box-shadow:inset 0 -3px 0 #7aa5cc}

/* ---------- 主体两栏 ---------- */
.js-cols{
  display:grid;grid-template-columns:minmax(0,1fr) 278px;
  gap:26px;align-items:start;padding-top:16px;
}
.js-main{min-width:0}
.js-side{min-width:0}

/* ---------- 栏目标题 ---------- */
.js-sec{
  font-size:28px;font-weight:700;color:#fd5732;line-height:1.15;
  border-bottom:2px solid #d6d6d6;padding-bottom:9px;margin:6px 0 8px;
}
.js-sec span{color:#333}
.js-sec-sub{
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:2px solid #d6d6d6;padding-bottom:9px;margin:22px 0 8px;
}
.js-sec-sub h2{font-size:26px;font-weight:700;color:#fd5732;margin:0}
.js-sec-sub a{font-size:12px;color:#9d9d9d}

/* ---------- 筛选 ---------- */
.js-filter{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0 8px}
.js-filter a{
  display:block;padding:5px 12px;border-radius:20px;font-size:14px;
  color:#6b6b6b;background:#f2f2f2;line-height:1.4;
}
.js-filter a.on{background:#fd5732;color:#fff}

/* ---------- 日期分组 ---------- */
.js-dayhead{
  background:#e8e8e8;color:#383838;font-size:16px;
  padding:8px 10px;margin-top:12px;
}
.js-rows{background:#fff}

/* ---------- 比赛行 ---------- */
.js-row{
  display:flex;align-items:center;height:48px;padding:0 12px 0 7px;
  border-bottom:1px solid #efefef;color:#333;font-size:14px;
  box-sizing:border-box;cursor:pointer;transition:background .15s;
}
.js-row:hover{background:#fff6f3}
.js-time{width:13%;flex:0 0 13%;font-size:14px;color:#333;white-space:nowrap;padding-right:10px;box-sizing:border-box}
.js-league{
  width:15%;flex:0 0 15%;display:flex;align-items:center;gap:6px;
  color:#333;min-width:0;padding-right:10px;box-sizing:border-box;
}
.js-league strong{font-weight:400;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.js-hot{
  flex:0 0 auto;background:#ff2d2d;color:#fff;font-size:11px;
  line-height:1.2;padding:1px 4px;border-radius:2px;font-weight:700;
}
.js-teams{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}
.js-team{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;color:#333}
.js-team span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.js-team img{width:20px;height:20px;max-width:20px;max-height:20px;object-fit:contain;flex:0 0 20px}
.js-vs{color:#999;font-size:13px;font-weight:700;flex:0 0 auto}
.js-btns{width:32%;flex:0 0 32%;display:flex;justify-content:flex-end;gap:8px}
.js-btn{
  display:inline-block;min-width:76px;text-align:center;padding:4px 10px;
  border-radius:5px;font-size:14px;line-height:1.5;white-space:nowrap;
  background:rgba(30,43,59,.7);color:#fff;
}
.js-btn.live{background:#fd5732}
.js-crest{
  width:20px;height:20px;flex:0 0 20px;border-radius:50%;
  display:inline-grid;place-items:center;background:#ffece7;color:#fd5732;
  font-size:10px;font-style:normal;font-weight:700;
}

/* ---------- 右侧栏 ---------- */
.o5-body .js-side .o5-side{display:flex;flex-direction:column;gap:26px}
.o5-body .js-side .o5-card{
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;padding:0!important;
}
.o5-body .js-side .o5-sidehead{
  display:block!important;font-size:20px!important;font-weight:700!important;color:#333!important;
  padding:0 0 8px!important;border-bottom:2px solid #cbcbcb!important;
  margin:0 0 6px!important;background:transparent!important;line-height:1.2!important;
}
.o5-body .js-side .o5-sidehead::before{display:none!important}
.o5-body .js-side .o5-teams2{
  display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;
  padding:8px 0 0!important;background:transparent!important;
}
.o5-body .js-side .o5-teamtile{
  border:1px solid #efefef!important;border-radius:4px!important;
  padding:9px 4px!important;background:#fff!important;gap:5px!important;
}
.o5-body .js-side .o5-teamtile:hover{border-color:#fd5732!important}
.o5-body .js-side .o5-teamtile img.o5-tile-logo{
  width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;
  object-fit:contain!important;display:block!important;margin:0 auto!important;
}
.o5-body .js-side .o5-teamtile .o5-crest{width:34px!important;height:34px!important;font-size:12px!important;display:grid!important;place-items:center!important}
.o5-body .js-side .o5-teamtile b{font-size:12px!important;font-weight:400!important;color:#333!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.o5-body .js-side .o5-vlist,.o5-body .js-side .o5-nlist{padding:0!important;background:transparent!important}
.o5-body .js-side .o5-vrow,.o5-body .js-side .o5-nrow{
  display:flex!important;align-items:center!important;gap:8px!important;
  padding:11px 0!important;border-bottom:1px dotted #cbcbcb!important;
  font-size:13px!important;color:#3f3f3f!important;background:transparent!important;
}
.o5-body .js-side .o5-vrow::before{
  content:""!important;flex:0 0 0!important;width:0!important;height:0!important;
  border-left:6px solid #fd5732!important;border-top:4px solid transparent!important;border-bottom:4px solid transparent!important;
  background:none!important;
}
.o5-body .js-side .o5-vrow span,.o5-body .js-side .o5-nrow span{
  flex:1!important;min-width:0!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
.o5-body .js-side .o5-vrow:hover span,.o5-body .js-side .o5-nrow:hover span{color:#fd5732!important}
.o5-body .js-side .o5-nrow time{font-size:12px!important;color:#9d9d9d!important;flex:0 0 auto}

/* ================================================================
   其他页面（新闻 / 录像 / 集锦 / 词条 / 联赛 / 球队 / 详情）
   统一橙红主题
   ================================================================ */

/* 页面容器 */
.o5-body .o5-page .o5-wrap{width:1200px!important;max-width:100%!important;padding:16px 10px!important;box-sizing:border-box!important}
.o5-body .o5-page .o5-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 278px!important;gap:26px!important;align-items:start!important}
.o5-body .o5-page .o5-main,.o5-body .o5-page .o5-side{min-width:0!important}
.o5-body .o5-page .o5-card{
  background:#fff!important;border:1px solid #efefef!important;border-radius:0!important;
  box-shadow:none!important;overflow:hidden!important;
}
.o5-body .o5-page .o5-side{gap:26px!important}

/* 栏目标题 */
.o5-body .o5-page .o5-sidehead{
  display:block!important;font-size:24px!important;font-weight:700!important;color:#333!important;
  padding:10px 14px!important;border-bottom:2px solid #d6d6d6!important;
  background:#fff!important;line-height:1.3!important;
}
.o5-body .o5-page .o5-sidehead::before{display:none!important}
.o5-body .o5-page .o5-main>.o5-card>.o5-sidehead{
  font-size:28px!important;color:#fd5732!important;border-bottom-color:#d6d6d6!important;
  padding:6px 12px 10px!important;
}

/* 右侧卡片标题 */
.o5-body .o5-page .o5-side .o5-sidehead{
  font-size:20px!important;padding:0 0 8px!important;
  border-bottom:2px solid #cbcbcb!important;background:transparent!important;
}
.o5-body .o5-page .o5-side .o5-card{
  border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;
}
.o5-body .o5-page .o5-side .o5-teams2{padding:8px 0 0!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important}
.o5-body .o5-page .o5-side .o5-teamtile{border:1px solid #efefef!important;padding:9px 4px!important}
.o5-body .o5-page .o5-side .o5-teamtile img.o5-tile-logo{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
.o5-body .o5-page .o5-side .o5-vlist,.o5-body .o5-page .o5-side .o5-nlist{padding:0!important}
.o5-body .o5-page .o5-side .o5-vrow,.o5-body .o5-page .o5-side .o5-nrow{padding:11px 0!important;border-bottom:1px dotted #cbcbcb!important;font-size:13px!important}
.o5-body .o5-page .o5-side .o5-vrow::before{border-left-color:#fd5732!important}
.o5-body .o5-page .o5-side .o5-teamtile b{font-size:12px!important;font-weight:400!important}

/* 比赛列表 */
.o5-body .o5-page .o5-days{padding:12px 14px 14px!important;background:#fff!important}
.o5-body .o5-page .o5-day{border:0!important;border-radius:0!important;margin-bottom:14px!important;overflow:visible!important}
.o5-body .o5-page .o5-rows{background:#fff!important}
.o5-body .o5-page .o5-dayhead{
  background:#e8e8e8!important;color:#383838!important;font-size:16px!important;
  padding:8px 10px!important;margin:0!important;
}
.o5-body .o5-page .o5-dayhead span{background:transparent!important;padding:0!important;border-radius:0!important;color:#383838!important;font-size:16px!important}
.o5-body .o5-page .o5-match{
  display:flex!important;align-items:center!important;height:48px!important;
  padding:0 10px!important;border-top:0!important;border-bottom:1px solid #efefef!important;
  gap:0!important;background:#fff!important;color:#333!important;
}
.o5-body .o5-page .o5-match:hover{background:#fff6f3!important}
.o5-body .o5-page .o5-time{width:12%!important;flex:0 0 12%!important;font-size:14px!important;font-weight:400!important;color:#333!important}
.o5-body .o5-page .o5-league{width:15%!important;flex:0 0 15%!important;font-size:14px!important;font-weight:400!important;color:#333!important}
.o5-body .o5-page .o5-teams{flex:1 1 auto!important;justify-content:center!important;gap:14px!important}
.o5-body .o5-page .o5-team{font-size:14px!important;font-weight:400!important;gap:6px!important}
.o5-body .o5-page .o5-team img.o5-logo-img{
  width:20px!important;height:20px!important;max-width:20px!important;max-height:20px!important;
  flex:0 0 20px!important;border-radius:0!important;background:none!important;object-fit:contain!important;
}
.o5-body .o5-page .o5-crest{width:20px!important;height:20px!important;flex:0 0 20px!important;background:#ffece7!important;color:#fd5732!important;font-size:10px!important}
.o5-body .o5-page .o5-teams em{color:#999!important;font-size:13px!important}
.o5-body .o5-page .o5-status{
  width:auto!important;flex:0 0 auto!important;min-width:76px!important;margin-left:auto!important;
  padding:4px 10px!important;border:0!important;border-radius:5px!important;
  background:rgba(30,43,59,.7)!important;color:#fff!important;font-size:14px!important;font-weight:400!important;
}
.o5-body .o5-page .o5-status.live{background:#fd5732!important;color:#fff!important}
.o5-body .o5-page .o5-status.wait{background:rgba(30,43,59,.7)!important;color:#fff!important}

/* 新闻列表 */
.o5-body .o5-newslist{padding:0 16px!important}
.o5-body .o5-newsitem{border-bottom:1px solid #efefef!important;padding:14px 0!important}
.o5-body .o5-newsitem:hover .o5-ntext h3{color:#fd5732}
.o5-body .o5-ntext h3{font-size:16px!important;font-weight:400!important;color:#333!important}
.o5-body .o5-ntext p{color:#888!important}
.o5-body .o5-nthumb{border-radius:0!important;background:#f3f3f3!important}

/* 视频 / 集锦列表 */
.o5-body .o5-videos{padding:16px!important;gap:16px!important}
.o5-body .o5-vthumb{border-radius:0!important;background-color:#1b1b1b!important;background-image:none!important}
.o5-body .o5-vthumb::before{border-color:#fff!important;background-color:rgba(0,0,0,.35)!important}
.o5-body .o5-vthumb::after{border-left-color:#fff!important}
.o5-body .o5-video b{font-size:14px!important;color:#333!important}
.o5-body .o5-video:hover b{color:#fd5732}
.o5-body .o5-video>span{color:#9d9d9d!important}

/* 词条 */
.o5-body .o5-tagbox{padding:16px!important;gap:10px!important}
.o5-body .o5-tag{border:1px solid #e2e2e2!important;border-radius:3px!important;color:#555!important;background:#fff!important}
.o5-body .o5-tag:hover{background:#fd5732!important;border-color:#fd5732!important;color:#fff!important}

/* 分页 */
.o5-body .pagination li a,.o5-body .pagination li span{border-radius:3px!important;border:1px solid #e2e2e2!important;color:#555!important}
.o5-body .pagination li.active a,.o5-body .pagination li.active span{background:#fd5732!important;border-color:#fd5732!important;color:#fff!important}
.o5-body .pagination li a:hover{border-color:#fd5732!important;color:#fd5732!important}

/* 标签 / 小分类 */
.o5-body .o5-tabs a.on{color:#fd5732!important;border-color:#fd5732!important}
.o5-body .o5-chip{background:#f3f3f3!important;color:#666!important}

/* 详情页 */
.o5-body .o5-detail .o5-detailhead{border-bottom:1px solid #efefef!important;padding:22px 24px 14px!important}
.o5-body .o5-detail h1{font-size:26px!important;color:#222!important;text-align:left!important}
.o5-body .o5-detailbody{background:#fff!important}
.o5-body .o5-detailbody p{color:#444!important}
.o5-body .o5-detailbody #stream-sources-mount a{border-radius:5px!important;background:#fd5732!important;border-color:#fd5732!important;color:#fff!important}

/* 原始模板兼容层（旧列表结构） */
body.o5-body .showMatch .match_every .kind .category{color:#333!important}
body.o5-body .showMatch .match_every .status a{border-radius:5px!important}
body.o5-body .showMatch .match_every .status.start a{background:#fd5732!important;border-color:#fd5732!important;color:#fff!important}
body.o5-body .showMatch .match_every .status a{background:rgba(30,43,59,.7)!important;border-color:transparent!important;color:#fff!important}
body.o5-body .categorySwitch li.active a{color:#fd5732!important;border-color:#fd5732!important}
body.o5-body .newscolumn li article span{color:#333!important}
body.o5-body .video_arrange li{border-radius:0!important}
body.o5-body .citiaolist ul li a{border-radius:3px!important}
body.o5-body .citiaolist ul li a:hover{background:#fd5732!important;border-color:#fd5732!important;color:#fff!important}

/* 页脚 */
body.o5-body .footer,body.o5-body .o5-footer{
  background:#313131!important;color:#bbb!important;margin-top:30px!important;
  padding:26px 0!important;font-size:12px!important;line-height:1.9!important;
}
body.o5-body .footer .content,body.o5-body .footer .w{width:1200px!important;max-width:100%!important;margin:0 auto!important;padding:0 10px!important;box-sizing:border-box!important}
body.o5-body .footer p{color:#bbb!important;margin:0!important;text-align:center!important}
body.o5-body .footer a{color:#ddd!important}

/* ---------- 平板 ---------- */
@media screen and (max-width:1180px){
  .js-wrap{width:100%;padding:0 14px}
  .js-nav a{padding:0 14px;font-size:14px}
  .js-logo b{font-size:24px}
  .js-logo img{max-height:38px}
  .js-cols{grid-template-columns:minmax(0,1fr) 250px;gap:18px}
  .o5-body .o5-page .o5-grid{grid-template-columns:minmax(0,1fr) 250px!important;gap:18px!important}
}
@media screen and (max-width:980px){
  .js-cols{grid-template-columns:1fr}
  .js-side .o5-side{display:grid!important;grid-template-columns:1fr 1fr;gap:20px!important}
  .o5-body .o5-page .o5-grid{grid-template-columns:1fr!important}
  .o5-body .o5-page .o5-side{display:grid!important;grid-template-columns:1fr 1fr;gap:20px!important}
}

/* ---------- 手机 ---------- */
@media screen and (max-width:768px){
  .js-wrap{padding:0 10px}
  .js-header{height:auto}
  .js-header .js-wrap{flex-wrap:wrap;height:auto;padding:7px 10px 0}
  .js-logo{margin-right:0;height:40px;width:100%}
  .js-logo b{font-size:22px}
  .js-logo img{max-height:32px}
  .js-nav{
    width:100%;height:42px;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;flex-wrap:nowrap;
  }
  .js-nav a{padding:0 12px;font-size:13px;height:42px}
  .js-nav a.on,.js-nav a:hover{box-shadow:inset 0 -2px 0 #7aa5cc}
  .js-cols{padding-top:10px;gap:16px}
  .js-side .o5-side{grid-template-columns:1fr!important}

  .js-sec{font-size:20px;padding-bottom:7px;margin:4px 0 6px}
  .js-sec-sub h2{font-size:20px}
  .js-filter a{padding:4px 11px;font-size:13px}

  .js-row{flex-wrap:wrap;height:auto;padding:9px 8px;gap:5px 8px}
  .js-time{width:auto;flex:0 0 auto;font-size:12px;color:#888}
  .js-league{width:auto;flex:0 0 auto;font-size:12px;max-width:40%}
  .js-league strong{font-size:12px}
  .js-btns{width:auto;flex:0 0 auto;margin-left:auto;gap:5px}
  .js-btn{min-width:0;padding:3px 8px;font-size:12px;border-radius:4px}
  .js-teams{flex:1 1 100%;order:5;justify-content:flex-start;gap:8px}
  .js-team{font-size:13px;max-width:46%}
  .js-team img{width:18px;height:18px;max-width:18px;max-height:18px;flex:0 0 18px}
  .js-crest{width:18px;height:18px;flex:0 0 18px;font-size:9px}
  .js-vs{font-size:12px}

  .js-dayhead{font-size:13px;padding:7px 9px;margin-top:10px}

  /* 其他页面手机适配 */
  .o5-body .o5-page .o5-wrap{padding:10px!important}
  .o5-body .o5-page .o5-grid{grid-template-columns:1fr!important;gap:16px!important}
  .o5-body .o5-page .o5-side{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
  .o5-body .o5-page .o5-main>.o5-card>.o5-sidehead{font-size:20px!important}
  .o5-body .o5-page .o5-days{padding:8px!important}
  .o5-body .o5-page .o5-dayhead{font-size:13px!important;padding:7px 9px!important}
  .o5-body .o5-page .o5-match{flex-wrap:wrap!important;height:auto!important;padding:9px 8px!important;gap:5px 8px!important}
  .o5-body .o5-page .o5-time{width:auto!important;flex:0 0 auto!important;font-size:12px!important;color:#888!important}
  .o5-body .o5-page .o5-league{width:auto!important;flex:0 0 auto!important;font-size:12px!important;max-width:40%!important}
  .o5-body .o5-page .o5-teams{flex:1 1 100%!important;order:5!important;justify-content:flex-start!important;gap:8px!important}
  .o5-body .o5-page .o5-team{font-size:13px!important;max-width:46%!important}
  .o5-body .o5-page .o5-team img.o5-logo-img{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;flex:0 0 18px!important}
  .o5-body .o5-page .o5-status{width:auto!important;min-width:0!important;margin-left:auto!important;padding:3px 8px!important;font-size:12px!important}
  .o5-body .o5-newslist{padding:0 12px!important}
  .o5-body .o5-newsitem{display:block!important;padding:12px 0!important}
  .o5-body .o5-nthumb{width:100%!important;height:170px!important;margin-bottom:8px!important}
  .o5-body .o5-ntext h3{font-size:15px!important}
  .o5-body .o5-videos{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:10px!important}
  .o5-body .o5-video b{font-size:13px!important}
  .o5-body .o5-tagbox{padding:12px!important;gap:8px!important}
  .o5-body .o5-tag{padding:6px 11px!important;font-size:12px!important}
  .o5-body .o5-detail .o5-detailhead{padding:14px!important}
  .o5-body .o5-detail h1{font-size:20px!important}
  .o5-body .o5-detailbody{padding:12px 14px 16px!important}
  .o5-body .footer .content,body.o5-body .footer .w{padding:0 14px!important}
}

body.o5-body .js-nav a{color:#fff!important}
body.o5-body .js-nav a.on,body.o5-body .js-nav a:hover{color:#fff!important}

/* 当前菜单选中效果 */
body.o5-body .js-nav a.on{background:#c9300f;color:#fff!important;font-weight:700;box-shadow:inset 0 -3px 0 #ffd166}

/* 原模板内容页：修正 within 70% 导致的空白 */
.o5-body .outside .package .within{width:100%!important;max-width:100%!important;float:none!important}
.o5-body .outside .package .within .together{width:100%!important;max-width:100%!important}
.o5-body .outside .package .o5-side{width:100%!important;max-width:100%!important;float:none!important}