/* ================================================================
   24直播网 · gsmtdz146.com 红色卡片风格
   主色 #cc0200 / 页面底 #f7f8fa / 白色圆角卡片
   已去掉「热门比赛」下的 SEO 文字块和「推荐比赛」字样
   ================================================================ */

html,body.o5-body{
  background:#f7f8fa!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}

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

/* 顶部 */
.gs-header{background:#cc0200;height:75px}
.gs-header .gs-wrap{display:flex;align-items:center;height:100%}
.gs-logo{display:flex;align-items:center;height:100%;margin-right:20px;flex:0 0 auto}
.gs-logo b{color:#fff;font-size:26px;font-weight:800;white-space:nowrap;letter-spacing:.5px}
.gs-nav{display:flex;align-items:stretch;height:100%;min-width:0;flex:1;justify-content:center}
.gs-nav a{display:flex;align-items:center;color:#fff!important;font-size:20px;padding:0 26px;white-space:nowrap}
.gs-nav a:hover,.gs-nav a.on{background:#b00200}

/* 二级联赛导航 */
.gs-sub{background:#fff;border-bottom:1px solid #eee}
.gs-sub .gs-wrap{display:flex;align-items:center;height:57px;gap:26px;overflow-x:auto;white-space:nowrap}
.gs-sub a{font-size:17px;color:#333;white-space:nowrap}
.gs-sub a:hover{color:#cc0200}

/* 内容卡 */
.gs-card{
  background:#fff;border:1px solid #f0d6d6;border-radius:10px;
  box-shadow:0 4px 16px rgba(204,2,0,.05);padding:18px 22px 22px;margin:16px 0 20px;
}
.gs-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:6px}
.gs-title h1{margin:0;font-size:22px;font-weight:800;color:#cc0200;padding-left:10px;border-left:4px solid #cc0200;line-height:1.3}
.gs-title time{font-size:15px;color:#888;white-space:nowrap}

/* 日期 */
.gs-day{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  color:#cc0200;font-size:18px;font-weight:800;padding:14px 4px;border-bottom:1px solid #f2f2f2;
}
.gs-day::after{content:"\2304";font-size:18px;color:#cc0200;line-height:1}
.gs-list{background:#fff}

/* 比赛行（上下两队） */
.gs-row{display:flex;align-items:center;padding:12px 4px;border-bottom:1px solid #f4f4f4;color:#333;box-sizing:border-box;transition:background .15s}
.gs-row:hover{background:#fffafa}
.gs-left{flex:0 0 150px;width:150px;min-width:0}
.gs-time{font-size:20px;color:#333;line-height:1.3;white-space:nowrap}
.gs-league{font-size:13px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gs-teams{flex:1 1 auto;display:flex;flex-direction:column;gap:6px;min-width:0;padding:0 10px}
.gs-team{display:flex;align-items:center;gap:8px;min-width:0;font-size:16px;color:#333}
.gs-team span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gs-team img{width:30px;height:30px;max-width:30px;max-height:30px;object-fit:contain;flex:0 0 30px}
.gs-crest{
  width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:inline-grid;place-items:center;
  background:#fdeaea;color:#cc0200;font-size:12px;font-style:normal;font-weight:700;
}
.gs-watch{flex:0 0 96px;width:96px;text-align:right;color:#cc0200;font-size:15px;white-space:nowrap}

/* 其他页面 */
.o5-body .o5-page .o5-wrap{width:1200px!important;max-width:100%!important;padding:16px 12px 20px!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:#fff!important;border:1px solid #f0d6d6!important;border-radius:10px!important;
  box-shadow:0 4px 16px rgba(204,2,0,.05)!important;overflow:hidden!important;
}
.o5-body .o5-page .o5-sidehead,
.o5-body .o5-page .o5-main>.o5-card>.o5-sidehead{
  display:flex!important;align-items:center!important;
  background:#fff!important;color:#cc0200!important;font-size:22px!important;font-weight:800!important;
  padding:16px 18px 10px!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;background:#cc0200!important;border-radius:2px!important;margin-right:10px!important}
.o5-body .o5-page .o5-days{padding:0 16px 16px!important;background:#fff!important}
.o5-body .o5-page .o5-day{border:0!important;border-radius:0!important;margin:0!important;overflow:visible!important}
.o5-body .o5-page .o5-rows{background:#fff!important}
.o5-body .o5-page .o5-dayhead{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fff!important;color:#cc0200!important;font-size:18px!important;font-weight:800!important;
  padding:14px 4px!important;border-bottom:1px solid #f2f2f2!important;
}
.o5-body .o5-page .o5-dayhead::after{content:"\2304";font-size:18px;color:#cc0200;line-height:1}
.o5-body .o5-page .o5-dayhead span{background:transparent!important;padding:0!important;color:#cc0200!important;font-size:18px!important;font-weight:800!important}
.o5-body .o5-page .o5-match{
  display:flex!important;align-items:center!important;min-height:64px!important;
  padding:12px 4px!important;border:0!important;border-bottom:1px solid #f4f4f4!important;
  background:#fff!important;color:#333!important;gap:0!important;box-sizing:border-box!important;
}
.o5-body .o5-page .o5-match:hover{background:#fffafa!important}
.o5-body .o5-page .o5-time{flex:0 0 120px!important;width:120px!important;font-size:18px!important;font-weight:400!important;color:#333!important;white-space:nowrap}
.o5-body .o5-page .o5-league{flex:0 0 110px!important;width:110px!important;font-size:14px!important;font-weight:400!important;color:#999!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:16px!important;font-weight:400!important;gap:8px!important;min-width:0!important}
.o5-body .o5-page .o5-team img.o5-logo-img{
  width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;
  flex:0 0 30px!important;border-radius:0!important;background:none!important;object-fit:contain!important;
}
.o5-body .o5-page .o5-crest{width:30px!important;height:30px!important;flex:0 0 30px!important;background:#fdeaea!important;color:#cc0200!important;font-size:12px!important}
.o5-body .o5-page .o5-teams em{color:#cc0200!important;font-size:14px!important;font-weight:700!important}
.o5-body .o5-page .o5-status{
  flex:0 0 96px!important;width:96px!important;min-width:96px!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:#cc0200!important;
  font-size:15px!important;font-weight:400!important;box-sizing:border-box!important;
}
.o5-body .o5-page .o5-status.live,.o5-body .o5-page .o5-status.wait{color:#cc0200!important}

/* 新闻 / 录像 / 词条 */
.o5-body .o5-newslist{padding:0 18px 14px!important}
.o5-body .o5-newsitem{border-bottom:1px solid #f4f4f4!important;padding:14px 0!important}
.o5-body .o5-newsitem:hover .o5-ntext h3{color:#cc0200}
.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:6px!important;background:#f4f4f4!important}
.o5-body .o5-videos{padding:14px 18px 18px!important;gap:16px!important}
.o5-body .o5-vthumb{border-radius:6px!important;background-color:#2a2a2a!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:#cc0200}
.o5-body .o5-video>span{color:#999!important}
.o5-body .o5-tagbox{padding:14px 18px 18px!important;gap:10px!important}
.o5-body .o5-tag{border:1px solid #f0d6d6!important;border-radius:18px!important;color:#333!important;background:#fff!important}
.o5-body .o5-tag:hover{background:#cc0200!important;border-color:#cc0200!important;color:#fff!important}

/* 分页 */
.o5-body .pagination li a,.o5-body .pagination li span{border-radius:6px!important;border:1px solid #f0d6d6!important;color:#333!important}
.o5-body .pagination li.active a,.o5-body .pagination li.active span{background:#cc0200!important;border-color:#cc0200!important;color:#fff!important}
.o5-body .pagination li a:hover{border-color:#cc0200!important;color:#cc0200!important}

/* 详情 */
.o5-body .o5-detail .o5-detailhead{border-bottom:1px solid #f4f4f4!important;padding:18px 18px 12px!important}
.o5-body .o5-detail h1{font-size:24px!important;color:#222!important;text-align:left!important}
.o5-body .o5-detailbody{background:#fff!important;padding:16px 18px 20px!important}
.o5-body .o5-detailbody p{color:#444!important}
.o5-body .o5-detailbody #stream-sources-mount a{border-radius:18px!important;background:#cc0200!important;border-color:#cc0200!important;color:#fff!important}
.o5-body .o5-chip{background:#fdeaea!important;color:#cc0200!important}

/* 旧结构兼容 */
body.o5-body .categorySwitch li.active a{color:#cc0200!important;border-color:#cc0200!important}
body.o5-body .showMatch .match_every .status a{background:#cc0200!important;border:0!important;color:#fff!important;border-radius:4px!important}
body.o5-body .showMatch .match_every .status.start a{background:#cc0200!important;border:0!important;color:#fff!important}
body.o5-body .newscolumn li article span{color:#333!important}
body.o5-body .citiaolist ul li a:hover{background:#cc0200!important;border-color:#cc0200!important;color:#fff!important}

/* 页脚 */
body.o5-body .footer,body.o5-body .o5-footer{
  background:#fff!important;color:#999!important;margin-top:18px!important;
  padding:22px 0!important;font-size:12px!important;line-height:1.9!important;border-top:1px solid #eee!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:#999!important;margin:0!important;text-align:center!important}
body.o5-body .footer a{color:#cc0200!important}

/* 平板 */
@media screen and (max-width:1200px){
  .gs-wrap{width:100%;padding:0 12px}
  .gs-nav a{padding:0 16px;font-size:18px}
  .gs-logo b{font-size:23px}
  .gs-sub .gs-wrap{gap:18px}
  .gs-sub a{font-size:15px}
}
@media screen and (max-width:980px){
  .gs-nav a{padding:0 10px;font-size:16px}
  .gs-team span{max-width:12em}
}

/* 手机 */
@media screen and (max-width:768px){
  .gs-wrap{padding:0 10px}
  .gs-header{height:auto}
  .gs-header .gs-wrap{flex-wrap:wrap;padding:7px 10px 0}
  .gs-logo{height:38px;width:100%;margin-right:0}
  .gs-logo b{font-size:20px}
  .gs-nav{width:100%;height:42px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;justify-content:flex-start;flex:0 0 100%}
  .gs-nav a{padding:0 12px;font-size:14px;height:42px}
  .gs-sub .gs-wrap{height:auto;padding:8px 10px;gap:14px}
  .gs-sub a{font-size:13px}
  .gs-card{margin:10px 0 12px;padding:12px 12px 14px;border-radius:8px}
  .gs-title h1{font-size:18px}
  .gs-title time{font-size:12px}
  .gs-day{font-size:15px;padding:11px 2px}
  .gs-row{padding:10px 2px;gap:8px}
  .gs-left{flex:0 0 84px;width:84px}
  .gs-time{font-size:16px}
  .gs-league{font-size:12px}
  .gs-team{font-size:14px;gap:6px}
  .gs-team img{width:24px;height:24px;max-width:24px;max-height:24px;flex:0 0 24px}
  .gs-crest{width:24px;height:24px;flex:0 0 24px;font-size:10px}
  .gs-watch{flex:0 0 68px;width:68px;font-size:13px}

  .o5-body .o5-page .o5-wrap{padding: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:18px!important;padding:12px 12px 8px!important}
  .o5-body .o5-page .o5-days{padding:0 10px 12px!important}
  .o5-body .o5-page .o5-dayhead{font-size:15px!important;padding:11px 2px!important}
  .o5-body .o5-page .o5-dayhead span{font-size:15px!important}
  .o5-body .o5-page .o5-match{flex-wrap:wrap!important;min-height:0!important;padding:10px 2px!important;gap:6px 8px!important}
  .o5-body .o5-page .o5-time{flex:0 0 auto!important;width:auto!important;font-size:13px!important;color:#999!important}
  .o5-body .o5-page .o5-league{flex:0 1 auto!important;width:auto!important;font-size:12px!important;max-width:40%!important}
  .o5-body .o5-page .o5-teams{flex:1 1 100%!important;justify-content:flex-start!important;gap:8px!important;order:3!important}
  .o5-body .o5-page .o5-team{font-size:14px!important;max-width:44%!important}
  .o5-body .o5-page .o5-team img.o5-logo-img{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;flex:0 0 24px!important}
  .o5-body .o5-page .o5-status{flex:0 0 auto!important;width:auto!important;min-width:0!important;font-size:13px!important}
  .o5-body .o5-newslist{padding:0 12px 10px!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 12px 12px!important}
  .o5-body .o5-video b{font-size:13px!important}
  .o5-body .o5-tagbox{padding:10px 12px 12px!important;gap:8px!important}
  .o5-body .o5-tag{padding:6px 11px!important;font-size:12px!important}
  .o5-body .o5-detail .o5-detailhead{padding:12px!important}
  .o5-body .o5-detail h1{font-size:20px!important}
  .o5-body .o5-detailbody{padding:12px!important}
  body.o5-body .footer .content,body.o5-body .footer .w{padding:0 14px!important}
}

/* 当前菜单选中效果 */
body.o5-body .gs-nav a.on{background:#a80000;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}
/* 首页右侧：热门新闻 / 热门录像 */
.gs-cols{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:20px;align-items:start}
.gs-main{min-width:0}
.gs-side{min-width:0;display:flex;flex-direction:column}
.gs-sidecard{background:#fff;border:1px solid #f0d6d6;border-radius:10px;box-shadow:0 4px 16px rgba(204,2,0,.05);padding:14px 16px 16px;margin-top:16px}
.gs-sidetitle{display:flex;align-items:center;font-size:18px;font-weight:800;color:#cc0200;padding-left:9px;border-left:4px solid #cc0200;line-height:1.3;margin-bottom:6px}
.gs-newslist{display:flex;flex-direction:column}
.gs-newsitem{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #f4f4f4;min-width:0}
.gs-newsitem:last-child{border-bottom:0}
.gs-newsthumb{flex:0 0 52px;width:52px;height:52px;border-radius:6px;overflow:hidden;background:#f4f4f4;display:block}
.gs-newsthumb img{width:100%;height:100%;object-fit:cover;display:block}
.gs-newstext{flex:1;min-width:0;font-size:14px;color:#333;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gs-newsitem:hover .gs-newstext{color:#cc0200}
.gs-vlist{display:flex;flex-direction:column}
.gs-vrow{display:flex;align-items:flex-start;gap:8px;padding:9px 0;border-bottom:1px solid #f4f4f4;font-size:14px;color:#333;line-height:1.5;min-width:0}
.gs-vrow:last-child{border-bottom:0}
.gs-vrow::before{content:"";flex:0 0 auto;width:0;height:0;border-left:6px solid #cc0200;border-top:4px solid transparent;border-bottom:4px solid transparent;margin-top:6px}
.gs-vrow span{flex:1;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gs-vrow:hover{color:#cc0200}
@media screen and (max-width:1180px){
  .gs-cols{grid-template-columns:minmax(0,1fr) 330px;gap:16px}
}
@media screen and (max-width:980px){
  .gs-cols{grid-template-columns:minmax(0,1fr) 300px;gap:14px}
}
@media screen and (max-width:768px){
  .gs-cols{grid-template-columns:1fr;gap:0}
  .gs-sidecard{margin-top:10px;padding:12px 12px 14px}
  .gs-sidetitle{font-size:16px}
  .gs-newsthumb{flex:0 0 46px;width:46px;height:46px}
  .gs-newstext{font-size:13px}
  .gs-vrow{font-size:13px}
}