/* ================================================================
   24直播网 · 983579.com 暗黑橙风格
   背景 #0d0f12 / 卡片 #171a1f / 主色 #ff8a3d / 高亮 #f5b942
   ================================================================ */

html,body.o5-body{
  background:#0d0f12!important;background-image:none!important;
  color:#e6e8eb;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}

.jiu-wrap{width:1200px;max-width:100%;margin:0 auto;padding:0 12px;box-sizing:border-box}

/* 顶部 */
.jiu-header{background:#171a1f;height:63px;border-bottom:1px solid #22262c}
.jiu-header .jiu-wrap{display:flex;align-items:center;height:100%}
.jiu-logo{display:flex;align-items:center;gap:9px;height:100%;margin-right:22px;flex:0 0 auto}
.jiu-logo i{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#ff8a3d,#f5b942);color:#171a1f;font-style:normal;font-size:13px;font-weight:800;
}
.jiu-logo b{color:#ff9a3c;font-size:22px;font-weight:800;white-space:nowrap}
.jiu-nav{display:flex;align-items:center;height:100%;gap:4px;min-width:0}
.jiu-nav a{
  display:flex;align-items:center;color:#cfd3d8!important;font-size:15px;padding:6px 15px;
  white-space:nowrap;border-radius:6px;transition:background .2s,color .2s;
}
.jiu-nav a:hover{background:#22262c;color:#fff!important}
.jiu-nav a.on{background:#f5b942;color:#171a1f!important;font-weight:700}
.jiu-live{
  margin-left:auto;display:flex;align-items:center;gap:6px;flex:0 0 auto;
  background:#ff8a3d;color:#fff!important;font-size:14px;padding:7px 16px;border-radius:18px;white-space:nowrap;
}
.jiu-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff}

/* 主视觉 */
.jiu-hero{
  display:block;position:relative;margin:14px 0 0;height:300px;border-radius:12px;overflow:hidden;
  background:linear-gradient(120deg,#20242b,#101318 60%,#1b2027);background-size:cover;background-position:center;
}
.jiu-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70%;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,0))}
.jiu-hero-label{
  position:absolute;left:26px;top:22px;z-index:2;background:#ff8a3d;color:#171a1f;
  font-size:12px;font-weight:700;padding:3px 10px;border-radius:11px;
}
.jiu-hero-title{
  position:absolute;left:26px;right:26px;bottom:24px;z-index:2;color:#fff;
  font-size:30px;font-weight:800;line-height:1.35;margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  text-shadow:0 2px 10px rgba(0,0,0,.5);
}

/* 区块 */
.jiu-sec{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}
.jiu-sec h2{display:flex;align-items:center;gap:10px;margin:0;font-size:24px;font-weight:800;color:#fff}
.jiu-sec h2::before{content:"";width:4px;height:20px;border-radius:2px;background:#ff8a3d}
.jiu-sec a{font-size:13px;color:#8a9099}

/* 热门赛事卡片 */
.jiu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.jiu-tile{
  display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;
  background:#171a1f;border:1px solid #24282e;border-radius:8px;padding:20px 12px;text-align:center;
}
.jiu-tile:hover{border-color:#ff8a3d}
.jiu-tile img{width:56px;height:56px;max-width:56px;max-height:56px;object-fit:contain;display:block}
.jiu-tile b{font-size:15px;font-weight:700;color:#e6e8eb;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jiu-tile span{font-size:12px;color:#8a9099}
.jiu-crest{
  width:56px;height:56px;flex:0 0 56px;border-radius:50%;display:grid;place-items:center;
  background:#22262c;color:#ff8a3d;font-size:18px;font-style:normal;font-weight:800;
}

/* 赛程 */
.jiu-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.jiu-filter a{padding:7px 18px;border:1px solid #2a2f36;border-radius:18px;color:#cfd3d8;font-size:14px;white-space:nowrap}
.jiu-filter a.on{background:#ff8a3d;border-color:#ff8a3d;color:#171a1f;font-weight:700}
.jiu-day{color:#8a9099;font-size:13px;padding:10px 4px 6px;border-bottom:1px solid #22262c}
.jiu-list{background:#171a1f;border:1px solid #24282e;border-radius:8px;overflow:hidden;margin-bottom:14px}
.jiu-row{
  display:flex;align-items:center;min-height:64px;padding:10px 16px;
  border-bottom:1px solid #22262c;color:#e6e8eb;box-sizing:border-box;transition:background .15s;
}
.jiu-row:last-child{border-bottom:0}
.jiu-row:hover{background:#1c2027}
.jiu-league{flex:0 0 130px;width:130px;display:flex;align-items:center;gap:7px;font-size:14px;color:#f5b942;min-width:0}
.jiu-league span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jiu-league img{width:22px;height:22px;max-width:22px;max-height:22px;object-fit:contain;flex:0 0 22px}
.jiu-teams{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}
.jiu-team{display:flex;align-items:center;gap:9px;min-width:0;font-size:15px;font-weight:600;color:#e6e8eb}
.jiu-team span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jiu-team img{width:28px;height:28px;max-width:28px;max-height:28px;object-fit:contain;flex:0 0 28px}
.jiu-vs{color:#8a9099;font-size:13px;font-weight:700;flex:0 0 auto}
.jiu-status{
  flex:0 0 110px;width:110px;text-align:right;font-size:14px;color:#ff8a3d;white-space:nowrap;
}
.jiu-status.live{color:#ff5a3c;font-weight:700}

/* 其他页面 */
.o5-body .o5-page .o5-wrap{width:1200px!important;max-width:100%!important;padding:14px 12px 10px!important;box-sizing:border-box!important}
.o5-body .o5-page .o5-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important}
.o5-body .o5-page .o5-side{display:none!important}
.o5-body .o5-page .o5-card{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
.o5-body .o5-page .o5-sidehead,
.o5-body .o5-page .o5-main>.o5-card>.o5-sidehead{
  display:flex!important;align-items:center!important;gap:10px!important;
  background:transparent!important;color:#fff!important;font-size:24px!important;font-weight:800!important;
  padding:8px 4px 12px!important;border:0!important;border-radius:0!important;
}
.o5-body .o5-page .o5-sidehead::before{display:block!important;content:""!important;width:4px!important;height:20px!important;border-radius:2px!important;background:#ff8a3d!important}
.o5-body .o5-page .o5-days{padding:0!important;background:transparent!important}
.o5-body .o5-page .o5-day{border:0!important;border-radius:0!important;margin:0 0 14px!important;overflow:visible!important}
.o5-body .o5-page .o5-rows{background:#171a1f!important;border:1px solid #24282e!important;border-radius:8px!important;overflow:hidden!important}
.o5-body .o5-page .o5-dayhead{
  background:transparent!important;color:#8a9099!important;font-size:13px!important;font-weight:400!important;
  padding:10px 4px 6px!important;border-bottom:1px solid #22262c!important;
}
.o5-body .o5-page .o5-dayhead span{background:transparent!important;padding:0!important;color:#8a9099!important;font-size:13px!important}
.o5-body .o5-page .o5-match{
  display:flex!important;align-items:center!important;min-height:64px!important;
  padding:10px 16px!important;border:0!important;border-bottom:1px solid #22262c!important;
  background:transparent!important;color:#e6e8eb!important;gap:0!important;box-sizing:border-box!important;
}
.o5-body .o5-page .o5-match:last-child{border-bottom:0!important}
.o5-body .o5-page .o5-match:hover{background:#1c2027!important}
.o5-body .o5-page .o5-time{flex:0 0 96px!important;width:96px!important;font-size:14px!important;font-weight:400!important;color:#f5b942!important;white-space:nowrap}
.o5-body .o5-page .o5-league{flex:0 0 130px!important;width:130px!important;font-size:14px!important;font-weight:400!important;color:#f5b942!important}
.o5-body .o5-page .o5-teams{flex:1 1 auto!important;justify-content:center!important;gap:14px!important;min-width:0!important}
.o5-body .o5-page .o5-team{font-size:15px!important;font-weight:600!important;gap:9px!important;min-width:0!important;color:#e6e8eb!important}
.o5-body .o5-page .o5-team img.o5-logo-img{
  width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;
  flex:0 0 28px!important;border-radius:0!important;background:none!important;object-fit:contain!important;
}
.o5-body .o5-page .o5-crest{width:28px!important;height:28px!important;flex:0 0 28px!important;background:#22262c!important;color:#ff8a3d!important;font-size:11px!important}
.o5-body .o5-page .o5-teams em{color:#8a9099!important;font-size:13px!important;font-weight:700!important}
.o5-body .o5-page .o5-status{
  flex:0 0 110px!important;width:110px!important;min-width:110px!important;height:auto!important;
  line-height:1.6!important;margin-left:auto!important;padding:0!important;text-align:right!important;
  background:transparent!important;border:0!important;color:#ff8a3d!important;
  font-size:14px!important;font-weight:400!important;box-sizing:border-box!important;
}
.o5-body .o5-page .o5-status.live{color:#ff5a3c!important;font-weight:700!important}
.o5-body .o5-page .o5-status.wait{color:#ff8a3d!important}

/* 新闻 / 录像 / 词条 */
.o5-body .o5-newslist{padding:0 4px!important}
.o5-body .o5-newsitem{border-bottom:1px solid #22262c!important;padding:14px 0!important}
.o5-body .o5-newsitem:hover .o5-ntext h3{color:#ff8a3d}
.o5-body .o5-ntext h3{font-size:16px!important;font-weight:400!important;color:#e6e8eb!important}
.o5-body .o5-ntext p{color:#8a9099!important}
.o5-body .o5-nthumb{border-radius:6px!important;background:#22262c!important}
.o5-body .o5-videos{padding:14px 4px!important;gap:16px!important}
.o5-body .o5-vthumb{border-radius:6px!important;background-color:#22262c!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:#e6e8eb!important}
.o5-body .o5-video:hover b{color:#ff8a3d}
.o5-body .o5-video>span{color:#8a9099!important}
.o5-body .o5-tagbox{padding:14px 4px!important;gap:10px!important}
.o5-body .o5-tag{border:1px solid #2a2f36!important;border-radius:16px!important;color:#cfd3d8!important;background:#171a1f!important}
.o5-body .o5-tag:hover{background:#ff8a3d!important;border-color:#ff8a3d!important;color:#171a1f!important}

/* 分页 */
.o5-body .pagination li a,.o5-body .pagination li span{border-radius:6px!important;border:1px solid #2a2f36!important;color:#cfd3d8!important;background:#171a1f!important}
.o5-body .pagination li.active a,.o5-body .pagination li.active span{background:#ff8a3d!important;border-color:#ff8a3d!important;color:#171a1f!important}
.o5-body .pagination li a:hover{border-color:#ff8a3d!important;color:#ff8a3d!important}

/* 详情 */
.o5-body .o5-detail .o5-detailhead{border-bottom:1px solid #22262c!important;padding:18px 4px 12px!important}
.o5-body .o5-detail h1{font-size:24px!important;color:#fff!important;text-align:left!important}
.o5-body .o5-detailbody{background:transparent!important;padding:16px 4px 20px!important}
.o5-body .o5-detailbody p{color:#b9bec5!important}
.o5-body .o5-detailbody #stream-sources-mount a{border-radius:6px!important;background:#ff8a3d!important;border-color:#ff8a3d!important;color:#171a1f!important}
.o5-body .o5-chip{background:#22262c!important;color:#f5b942!important}

/* 旧结构兼容 */
body.o5-body .categorySwitch li.active a{color:#ff8a3d!important;border-color:#ff8a3d!important}
body.o5-body .showMatch .match_every .status a{background:transparent!important;border:0!important;color:#ff8a3d!important}
body.o5-body .showMatch .match_every .status.start a{background:transparent!important;border:0!important;color:#ff5a3c!important}
body.o5-body .newscolumn li article span{color:#e6e8eb!important}
body.o5-body .citiaolist ul li a:hover{background:#ff8a3d!important;border-color:#ff8a3d!important;color:#171a1f!important}

/* 页脚 */
body.o5-body .footer,body.o5-body .o5-footer{
  background:#171a1f!important;color:#8a9099!important;margin-top:24px!important;
  padding:26px 0!important;font-size:12px!important;line-height:1.9!important;border-top:1px solid #22262c!important;
}
body.o5-body .footer .content,body.o5-body .footer .w{width:1200px!important;max-width:100%!important;margin:0 auto!important;padding:0 12px!important;box-sizing:border-box!important}
body.o5-body .footer p{color:#8a9099!important;margin:0!important;text-align:center!important}
body.o5-body .footer a{color:#cfd3d8!important}

/* 平板 */
@media screen and (max-width:1200px){
  .jiu-wrap{width:100%;padding:0 12px}
  .jiu-nav a{padding:6px 11px;font-size:14px}
  .jiu-logo b{font-size:20px}
  .jiu-grid{gap:12px}
}
@media screen and (max-width:980px){
  .jiu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .jiu-hero{height:240px}
  .jiu-hero-title{font-size:24px}
  .jiu-team span{max-width:8em}
}

/* 手机 */
@media screen and (max-width:768px){
  .jiu-wrap{padding:0 10px}
  .jiu-header{height:auto}
  .jiu-header .jiu-wrap{flex-wrap:wrap;padding:7px 10px 0}
  .jiu-logo{height:38px;width:100%;margin-right:0}
  .jiu-logo b{font-size:19px}
  .jiu-live{position:absolute;right:10px;top:9px;padding:5px 11px;font-size:12px}
  .jiu-header .jiu-wrap{position:relative}
  .jiu-nav{width:100%;height:42px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;flex-wrap:nowrap}
  .jiu-nav a{padding:5px 11px;font-size:13px}
  .jiu-hero{height:190px;margin-top:10px;border-radius:8px}
  .jiu-hero-label{left:14px;top:14px}
  .jiu-hero-title{left:14px;right:14px;bottom:14px;font-size:19px}
  .jiu-sec{margin:16px 0 10px}
  .jiu-sec h2{font-size:19px}
  .jiu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .jiu-tile{padding:14px 8px}
  .jiu-tile img{width:44px;height:44px;max-width:44px;max-height:44px}
  .jiu-crest{width:44px;height:44px;flex:0 0 44px;font-size:15px}
  .jiu-tile b{font-size:13px}
  .jiu-tile span{font-size:11px}
  .jiu-filter a{padding:5px 12px;font-size:13px}
  .jiu-day{font-size:12px;padding:8px 2px 5px}
  .jiu-row{flex-wrap:wrap;min-height:0;padding:10px 10px;gap:6px 8px}
  .jiu-league{flex:0 0 auto;width:auto;font-size:12px}
  .jiu-league img{width:18px;height:18px;max-width:18px;max-height:18px;flex:0 0 18px}
  .jiu-teams{flex:1 1 100%;order:3;justify-content:flex-start;gap:8px}
  .jiu-team{font-size:13px;max-width:44%}
  .jiu-team img{width:22px;height:22px;max-width:22px;max-height:22px;flex:0 0 22px}
  .jiu-status{flex:0 0 auto;width:auto;font-size:12px;margin-left:auto}
  .jiu-vs{font-size:12px}

  .o5-body .o5-page .o5-wrap{padding:8px 10px 10px!important}
  .o5-body .o5-page .o5-grid{grid-template-columns:1fr!important}
  .o5-body .o5-page .o5-sidehead,
  .o5-body .o5-page .o5-main>.o5-card>.o5-sidehead{font-size:19px!important;padding:6px 2px 10px!important}
  .o5-body .o5-page .o5-dayhead{font-size:12px!important;padding:8px 2px 5px!important}
  .o5-body .o5-page .o5-match{flex-wrap:wrap!important;min-height:0!important;padding:10px!important;gap:6px 8px!important}
  .o5-body .o5-page .o5-time{flex:0 0 auto!important;width:auto!important;font-size:12px!important}
  .o5-body .o5-page .o5-league{flex:0 1 auto!important;width:auto!important;font-size:12px!important;max-width:45%!important}
  .o5-body .o5-page .o5-teams{flex:1 1 100%!important;order:3!important;justify-content:flex-start!important;gap:8px!important}
  .o5-body .o5-page .o5-team{font-size:13px!important;max-width:44%!important}
  .o5-body .o5-page .o5-team img.o5-logo-img{width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important;flex:0 0 22px!important}
  .o5-body .o5-page .o5-status{flex:0 0 auto!important;width:auto!important;min-width:0!important;font-size:12px!important}
  .o5-body .o5-newslist{padding:0!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 0!important}
  .o5-body .o5-video b{font-size:13px!important}
  .o5-body .o5-tagbox{padding:10px 0!important;gap:8px!important}
  .o5-body .o5-tag{padding:6px 11px!important;font-size:12px!important}
  .o5-body .o5-detail .o5-detailhead{padding:12px 2px!important}
  .o5-body .o5-detail h1{font-size:20px!important}
  .o5-body .o5-detailbody{padding:12px 2px 16px!important}
  body.o5-body .footer .content,body.o5-body .footer .w{padding:0 14px!important}
}

/* 当前菜单选中效果 */
body.o5-body .jiu-nav a.on{background:#f5b942;color:#171a1f!important;font-weight:700;box-shadow:inset 0 -3px 0 #ff8a3d}

/* 原模板内容页：修正 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}
/* 原模板内容页：白卡配深色文字 + 主题色 */
.o5-body .outside .crumbs{background:#fff!important;color:#666!important;box-shadow:none!important;border:1px solid #24282e!important;border-radius:6px!important}
.o5-body .outside .crumbs span,
.o5-body .outside .crumbs a{color:#666!important}
.o5-body .outside .crumbs ul li::after{color:#999!important}
.o5-body .outside .package .within h1{color:#222!important}
.o5-body .outside .package .definite,
.o5-body .outside .package .definite span,
.o5-body .outside .package .tiem_info,
.o5-body .outside .package .tiem_info time{color:#888!important}
.o5-body .outside .package .article,
.o5-body .outside .package .article p{color:#333!important}
.o5-body .outside .package .switchbar li span{color:#666!important}
.o5-body .outside .package .switchbar li a{color:#cc0200!important}
.o5-body .outside .package .o5-side .o5-card{background:#fff!important;border:1px solid #24282e!important;border-radius:6px!important}
.o5-body .outside .package .o5-side .o5-sidehead{background:#fff!important;color:#222!important;border-bottom:1px solid #eee!important}
.o5-body .outside .package .o5-side .o5-sidehead::before{display:block!important;background:#cc0200!important}
.o5-body .outside .package .o5-side .o5-teams2{background:#fff!important}
.o5-body .outside .package .o5-side .o5-teamtile{background:#fff!important;border-color:#eee!important}
.o5-body .outside .package .o5-side .o5-teamtile b{color:#333!important}
.o5-body .outside .package .o5-side .o5-vrow,
.o5-body .outside .package .o5-side .o5-nrow{color:#333!important;border-bottom-color:#eee!important}
.o5-body .outside .package .o5-side .o5-nrow time{color:#999!important}
.o5-body .outside .package .o5-side .o5-vrow::before{border-left-color:#cc0200!important}