@charset "UTF-8";
/*
 * QQ直播 主样式。
 * 页面宽度、配色、模块间距、列表密度、断点全部按 Reference 实测值还原，
 * 代码由本站重新实现。
 */

* { margin: 0; padding: 0; }
body {
  font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif;
  color: #000;
  background: #f1f1f1;
}
li { list-style: none; }
img { border: 0; vertical-align: middle; }
a { text-decoration: none; color: #000; }
a:hover { color: #cc0000; }
h1, h2, h3, h4, h5 { font-size: 100%; font-weight: normal; }

.clear, .blank { clear: both; width: 100%; overflow: hidden; }
.blank { height: 20px; }
.box, article { width: 1170px; margin: auto; overflow: hidden; }
.whitebg { background: #fff; border: 1px solid #eee; }

/* ---------------- header ---------------- */
header { margin: 0; width: 100%; z-index: 9; background: #fff; }
.logo-section { padding: 10px 0; }
.logo { overflow: hidden; display: block; float: left; }
.logo img { width: 150px; float: left; margin-right: 10px; }
.logo-title { font-size: 28px; color: #cc0000; float: left; line-height: 46px; }
.topnav { width: 100%; background: #cc0000; }
.topnav h2 {
  color: #fff; position: fixed; top: 0; padding-left: 10px; font-weight: normal;
  height: 40px; line-height: 40px; display: none; z-index: 10;
}
nav { text-align: center; line-height: 70px; width: 100%; }
nav #starlist { margin: auto; width: 1170px; overflow: hidden; }
#starlist li { position: relative; display: inline; float: left; font-size: 15px; margin-right: 5px; }
#starlist li a { display: inline; float: left; padding: 0 10px; color: #fff; }
#starlist li a:hover { background: #cc0033; color: #fff; }
#starlist a#selected { background: #cc0033; color: #fff; }
#mnavh { display: none; width: 70px; height: 40px; background: #cc0000; text-align: center; }
.navicon { display: block; position: relative; width: 30px; height: 3px; background: #fff; margin-top: 20px; float: left; margin-left: 20px; }
.navicon:before, .navicon:after {
  content: ''; display: block; width: 30px; height: 3px; position: absolute; background: #fffefe;
}
.navicon:before { margin-top: -10px; }
.navicon:after { margin-top: 10px; }

/* ---------------- 首页 banner + 头条 ---------------- */
.banner { width: 60%; float: right; height: 340px; overflow: hidden; position: relative; }
.banner .slides { height: 340px; }
.banner .slide { display: none; height: 340px; }
.banner .slide.on { display: block; }
.banner .slide img { width: 100%; height: 340px; display: block; }
.banner .dots { position: absolute; bottom: 12px; width: 100%; text-align: center; }
.banner .dots span {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .55); margin: 0 4px; cursor: pointer;
}
.banner .dots span.on { background: #fff; }

.headline-box { width: 38%; float: left; }
.headline-news { overflow: hidden; padding: 17px 31px 21px; }
.headline-news-title { margin-bottom: 8px; overflow: hidden; color: #0092d8; font-size: 18px; }
.headline-news-title span { float: left; font-size: 16px; font-weight: bold; padding: 0 5px; border-radius: 3px; color: #cc0000; margin: 4px 8px 0 0; }
.headline-news-list { border-top: #ddd 1px solid; }
.headline-news-list li {
  padding-left: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 30px; position: relative;
}
.headline-news-list li:before {
  position: absolute; content: ""; width: 3px; height: 3px; background: #000;
  border-radius: 10px; left: 0; top: 15px;
}

/* ---------------- 通用模块标题 ---------------- */
.news-title { border-bottom: #e4e3e3 1px solid; margin: 20px; padding-bottom: 10px; overflow: hidden; }
.news-title h1, .news-title h2 {
  color: #cc0000; font-size: 16px; font-weight: normal; position: relative;
  min-width: 120px; text-align: center; float: left;
}
.news-title h1:after, .news-title h2:after {
  content: ""; background: #cc0000; width: 100%; height: 2px; position: absolute; bottom: -11px; left: 0;
}
.news-title span.hnav { float: right; font-size: 14px; }
.news-title span.hnav a { color: #888; }

/* ---------------- 首页直播 Tab ---------------- */
.gd-box { overflow: hidden; }
#tab { border-bottom: #e4e3e3 1px solid; margin: 20px; overflow: hidden; }
#tab li { cursor: pointer; display: inline-block; font-size: 16px; margin-right: 20px; padding: 0 10px 10px; position: relative; color: #333; }
#tab li:after {
  content: ""; background: #cc0000; width: 20%; height: 2px; position: absolute;
  bottom: -1px; left: 40%; opacity: 0; transition: all .3s ease;
}
#tab li.tab-current { color: #cc0000; }
#tab li.tab-current:after, #tab li:hover:after { opacity: 1; width: 100%; left: 0; }
#tab-content { margin: 20px; overflow: hidden; }
#tab-content section { display: none; }
#tab-content section.on { display: block; }

/* ---------------- 赛事列表（Reference .new_list_item） ---------------- */
/* 宽度跟随父容器：写死 1200px 时会被 1170px 的 article 裁掉右边 30px，
   最右一列的文字和面板右内边距都会丢失 */
.list-box { width: 100%; max-width: 1200px; margin: auto; }
.new_content_box {
  width: 100%; background: #fff; max-width: 1200px; margin: 0 auto;
  text-align: center; display: flex; flex-direction: column;
}
.new_content_box .match_daohang { width: 100%; text-align: left; margin: 1rem 0; }
.new_content_box .match_daohang div { margin-left: .94rem; text-align: left; font-size: .88rem; }
.new_content_h1 {
  width: 100%; background: #F2F5FF; min-height: 50px; line-height: 50px; text-align: center;
}
.new_content_h1 h1, .new_content_h1 h2 { font-size: 18px; color: #cc0000; line-height: 50px; font-weight: 600; }
.new_list_item {
  width: 100%; word-break: break-all; font-size: 16px;
  border-bottom: 1px solid #f4f4f4; padding: 20px 0 10px;
}
.new_list_item_title {
  width: 98%; text-align: center; font-size: 14px; color: #666; margin: 0 auto; min-height: 2.2rem;
}
.new_list_item_title a { color: #666; }
.new_list_item_info {
  width: 80%; margin: 0 auto; text-align: center; min-height: 2.5rem;
  display: flex; font-size: 18px; color: #333; font-weight: 600; align-items: center;
}
.new_list_item_info_team { width: 30%; }
.new_list_item_info_score { width: 14%; }
.new_list_item_info_logo { width: 12%; }
.new_list_item_info_logo img { width: 24px; height: 24px; margin: 0 auto; }
.new_list_item_button { width: 100%; text-align: center; line-height: 2.5rem; }
.new_list_item_button a {
  background: #cc0000; border: 1px solid #cc0000; border-radius: 13.5px;
  padding: 4px 15px; font-size: 16px; color: #fff; font-weight: 600;
}
.new_list_item_button a:hover { background: #a50000; color: #fff; }
.new_list_item_more { color: #999; font-size: .875rem; line-height: 2rem; margin-bottom: 1rem; }

/* ---------------- 标签区（频道入口） ---------------- */
.tags { position: relative; overflow: hidden; }
.tags ul { margin: 0 20px 20px; overflow: hidden; }
.tags ul a {
  display: block; float: left; font-size: 12px; width: 10%; text-align: center; height: 16px;
  margin-bottom: 4px; background: #f1f1f1; color: #615f5f; padding: 10px 0; position: relative;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tags ul a:after, .tags ul a:before { content: ""; background: #fff; top: 0; width: 2px; height: 100%; position: absolute; }
.tags ul a:after { right: 0; }
.tags ul a:before { left: 0; }
.tags ul a:hover, .tags ul a.thisclass { background: #cc0000; color: #fff; }

/* ---------------- 赛事资料表（球队 / 积分 / 射手榜 / 比分） ---------------- */
.rank-table { width: 100%; overflow-x: auto; }
.rank-table table { width: 100%; border-collapse: collapse; background: #fff; }
.rank-table th, .rank-table td {
  border: 1px solid #eee; padding: 12px 8px; text-align: center; font-size: 15px; line-height: 22px;
}
.rank-table th { font-weight: 600; color: #333; background: #fafafa; white-space: nowrap; }
.rank-table td a { color: #000; }
.rank-table td a:hover { color: #cc0000; }
.rank-table td .hot { color: #cc0000; }
.rank-table tr:hover td { background: #fcfcfc; }

/* ---------------- 频道页底部面板 ---------------- */
.panel.liveview { width: 100%; margin-top: 10px; background: #fff; }
.panel-title { padding: 16px 0 0 16px; }
.panel-title h2 { font-size: 16px; color: #000; font-weight: 600; }
.panel-body { overflow: hidden; padding: 10px 16px 16px; }
/* 一行两列：三列及以上时中文标题（尤其是集锦标题）会被大量截断 */
.panel-body li {
  height: 30px; line-height: 30px; font-size: 14px; width: 50%; float: left;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left;
  padding-right: 16px; box-sizing: border-box;
}
.panel-body li time { color: #999; margin-right: 6px; }

/* ---------------- 左右分栏 ---------------- */
.left-box { width: 830px; float: left; }
.right-box { width: 320px; float: right; }
.right-box .news-title { margin: 0; }

/* 文章列表 */
.wztitle-list { padding: 0 20px 40px; }
.wztitle-list li {
  padding-left: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  line-height: 30px; position: relative;
}
.wztitle-list li:before {
  position: absolute; content: ""; width: 3px; height: 3px; background: #000;
  border-radius: 10px; left: 0; top: 15px;
}
.wztitle-list li span { float: right; color: #888; font-size: 12px; }
.wztitle-list li:nth-child(10n) { margin-bottom: 20px; border-bottom: #eee 1px solid; padding-bottom: 20px; }

/* Sidebar */
.side-title {
  font-size: 16px; border-bottom: 1px solid #eee; color: #484848; font-weight: normal;
  position: relative; margin-bottom: 10px; padding-bottom: 10px;
}
.side-title:after { content: ""; position: absolute; width: 64px; height: 2px; background: #000; left: 0; bottom: -1px; }
.paihang { padding: 20px; }
.paihang ul { overflow: hidden; }
.paihang ul li {
  height: 30px; line-height: 30px; margin-bottom: 10px; padding-left: 5px;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.paihang ul li i {
  display: block; width: 16px; height: 16px; background: #B1B1B1; float: left;
  margin-top: 8px; margin-right: 10px; font-style: normal; color: #fff;
  font-size: 9px; line-height: 16px; text-align: center;
}
.paihang ul li:nth-child(-n+3) i { background: #FF6600; }
.cloud { padding: 20px; overflow: hidden; }
.cloud ul { overflow: hidden; padding-top: 10px; }
.cloud ul a {
  font-size: 14px; line-height: 24px; height: 24px; display: block; background: #f1f1f1;
  float: left; padding: 3px 10px; margin: 10px 5px 0 0; border-radius: 3px; color: #525252;
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cloud ul a:hover { background: #cc0000; color: #fff; }
.cloud ul span.grp { display: block; clear: both; float: left; width: 100%; color: #cc0000; margin-top: 10px; }
.suiji { padding: 20px; overflow: hidden; }
.suiji ul { overflow: hidden; padding-top: 10px; }
.suiji li {
  line-height: 22px; margin-bottom: 10px; position: relative; padding-left: 15px;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
.suiji li:before { position: absolute; content: ""; width: 3px; height: 3px; background: #000; border-radius: 10px; left: 0; top: 10px; }

/* ---------------- 内容详情 ---------------- */
.picview-box { margin: 0 20px; }
.news-title-h1 { font-size: 22px; color: #000; line-height: 32px; margin: 10px 0 15px; font-weight: 600; }
.picview-other { overflow: hidden; color: #888; margin-bottom: 15px; font-size: 13px; }
.picview-other span { float: left; margin-right: 15px; }
.newstext { line-height: 24px; margin-bottom: 20px; overflow: hidden; }
.newstext p { margin-bottom: 20px; }
.newstext div { margin-bottom: 10px; }
.newstext img { max-width: 100% !important; height: auto !important; margin: 10px auto; }
.newstext h3 { font-size: 16px; margin: 20px 0; position: relative; padding-left: 10px; font-weight: 600; }
.newstext h3:before { position: absolute; content: ""; background: #cc0000; width: 3px; height: 100%; left: 0; bottom: 0; }
.reping-list li { line-height: 32px; }
.play-link {
  display: inline-block; background: #cc0000; color: #fff; border-radius: 13.5px;
  padding: 3px 14px; font-size: 14px; margin: 4px 8px 4px 0;
}
.play-link:hover { background: #a50000; color: #fff; }
.otherlink ul { padding: 0 20px 20px; overflow: hidden; }
.otherlink ul li { position: relative; line-height: 30px; width: 48%; float: left; }
.otherlink ul li:nth-child(even) { float: right; }
.otherlink ul li a { display: block; padding-left: 15px; position: relative; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.otherlink ul li:before { position: absolute; content: ""; width: 3px; height: 3px; background: #000; border-radius: 10px; left: 0; top: 14px; }

/* ---------------- 分页 ---------------- */
.fenye { display: flex; justify-content: center; align-items: center; padding: 20px 0; }
.fenye .epages { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.fenye .epages a {
  display: inline-block; min-width: 36px; height: 36px; line-height: 36px; text-align: center;
  padding: 0 10px; border: 1px solid #e4e3e3; background: #fff; color: #555; border-radius: 3px;
}
.fenye .epages a.on, .fenye .epages a:hover { background: #cc0000; border-color: #cc0000; color: #fff; }

/* ---------------- 比赛详情 ---------------- */
.live_detail { background: #fff; max-width: 1200px; margin: 0 auto; }
.live_detail_match {
  width: 100%; min-height: 195px;
  background-image: linear-gradient(137deg, #cc0000 0%, #ff5a4d 100%);
  border-radius: 13px; margin: 1rem auto; background-size: cover;
}
.live_detail_match_title { width: 90%; padding-top: 2rem; display: flex; margin: 0 auto; text-align: center; }
.live_detail_match_cname {
  width: 100%; line-height: 25px; font-size: 18px; color: #fff; text-align: center; font-weight: 600;
}
.live_detail_match_competition { width: 95%; display: flex; margin: 0 auto; padding: 1rem 0; }
.live_detail_match_team { width: 30%; }
.live_detail_match_info { width: 40%; text-align: center; }
.live_detail_match_logo {
  width: 43px; height: 43px; background: #fff; border-radius: 28px; margin: auto;
  line-height: 42px; padding: 7px; box-sizing: border-box;
}
.live_detail_match_logo img { width: 100%; height: 100%; }
.live_detail_match_tname {
  line-height: 24px; min-height: 40px; font-size: 16px; color: #fff; font-weight: 600;
  margin-top: .5rem; text-align: center;
}
.live_detail_match_info_1 { padding-bottom: .6rem; font-size: 16px; color: #fff; text-align: center; line-height: 18px; font-weight: 600; min-height: 2rem; }
.live_detail_match_info_2,
.live_detail_match_info_3,
.live_detail_match_info_4 { font-size: 14px; color: #fff; text-align: center; line-height: 22px; }
/* 开赛倒计时 */
.live_detail_match_countdown {
  font-size: 14px; color: #fff; text-align: center; line-height: 22px; margin-top: .4rem;
}
.live_detail_match_countdown .cd-value {
  display: inline-block; min-width: 116px; font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: .5px;
}

/* 直播线路按钮：页面主行动点，做成醒目的大按钮 */
.live_detail_match_info_5 { margin-top: 1.1rem; }
.live_detail_match_info_5 a.play-btn {
  display: inline-block; min-width: 190px; font-size: 19px; line-height: 46px; font-weight: 700;
  color: #cc0000; background: #fff; border: 2px solid #fff; border-radius: 25px;
  padding: 0 30px; margin: 0 6px 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.live_detail_match_info_5 a.play-btn:before { content: "▶ "; font-size: 15px; }
.live_detail_match_info_5 a.play-btn:hover {
  color: #a50000; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

/* 网友评论 */
.live_detail_comment { padding: 18px 16px 6px; }
.comment-intro { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 14px; text-align: left; }
.comment-list { text-align: left; }
.comment-list li { line-height: 30px; font-size: 15px; color: #333; }
.comment-list li b { color: #cc0000; font-weight: 600; margin-right: 2px; }
.comment-form { margin: 14px 0 4px; text-align: left; }
.comment-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #e4e3e3; border-radius: 4px;
  padding: 10px; font: 14px/22px "Microsoft YaHei", Arial, sans-serif; resize: vertical;
}
.comment-form textarea:focus { outline: none; border-color: #cc0000; }
.comment-form button {
  margin-top: 10px; background: #cc0000; color: #fff; border: 0; border-radius: 18px;
  padding: 8px 28px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.comment-form button:hover { background: #a50000; }
.live_detail_tab { width: 100%; line-height: 2.5rem; margin-top: .5rem; overflow: auto; display: flex; }
.live_detail_tab_item {
  padding: .6rem; font-size: 16px; color: #999; line-height: 20px; margin-right: .6rem; cursor: pointer;
}
.live_detail_tab .active { color: #333; font-weight: 700; border-bottom: 3px solid #ccc; }
.live_detail_blank { width: 100%; height: .5rem; }
.new_table { display: none; padding: 0 16px 16px; text-align: left; }
.new_table_active { display: block; padding: 0 16px 16px; text-align: left; }
.new_table p { line-height: 28px; margin-bottom: 8px; }
.new_table a { color: #cc0000; }
.jijinluxiang p { line-height: 30px; text-align: left; }
.zb-list table { width: 100%; border-collapse: collapse; }
.zb-list th, .zb-list td { border: 1px solid #eee; padding: 8px; text-align: center; font-size: 14px; }

/* ---------------- footer ---------------- */
footer { background: #333; width: 100%; padding: 30px 0; color: #777; font-size: 14px; position: relative; overflow: hidden; margin-top: 20px; }
footer:before { content: ""; background: linear-gradient(to left, #cc0000, #ff8a80, #cc0000); height: 10px; width: 100%; position: absolute; top: 0; left: 0; }
.endnav p { margin-bottom: 5px; line-height: 24px; }
.endnav a { color: #999; }
.icon-top {
  background: #fff; width: 40px; height: 40px; position: fixed; right: 10px; bottom: 10%;
  border: #ccc 1px solid; border-radius: 100%; text-align: center; line-height: 38px; color: #cc0000;
}

/* ================= 响应式（断点与 Reference 一致） ================= */
/* 一级导航 13 项，中等宽度下逐级收紧字距，保证始终只占一行 */
@media screen and (min-width: 900px) and (max-width: 1220px) {
  #starlist li { margin-right: 2px; }
  #starlist li a { padding: 0 6px; font-size: 14px; }
}
@media screen and (min-width: 840px) and (max-width: 899px) {
  #starlist li { margin-right: 1px; }
  #starlist li a { padding: 0 4px; font-size: 13px; }
}
@media screen and (min-width: 1024px) and (max-width: 1220px) {
  .box, article, nav #starlist, .list-box { width: 100%; }
  .left-box { width: 68%; }
  .right-box { width: 31%; }
}
@media screen and (min-width: 960px) and (max-width: 1023px) {
  .box, article, nav #starlist, .list-box { width: 100%; }
  .left-box { width: 68%; }
  .right-box { width: 31%; }
}
@media screen and (max-width: 959px) {
  .box, article, nav #starlist, .list-box { width: 100%; }
  #starlist li { margin-right: 0; }
  .left-box { width: 68%; }
  .right-box { width: 31%; }
  .tags ul a { width: 14%; }
}
@media screen and (max-width: 839px) {
  body { overflow-x: hidden; }
  .box, article, .list-box { width: 100%; }
  nav { text-align: center; line-height: 40px; width: 100%; }
  .logo-section { margin-top: 40px; }
  .topnav { position: fixed; top: 0; z-index: 9; background: rgba(0, 0, 0, .6); border-top: #cc0000 40px solid; }
  .topnav h2 { display: block; }
  #mnavh { display: block; top: -40px; position: absolute; right: 0; }
  #starlist { display: none; }
  #starlist.open { display: block; }
  #starlist li { width: 60%; margin: 0; background: #fff; border-bottom: #eee 10px solid; display: block; float: none; }
  #starlist li a, #starlist a#selected { text-align: left; text-indent: 2em; color: #000; width: 100%; padding: 0; background: #fff; display: block; float: none; }
  #starlist li a:hover { color: #cc0000; background: #fff; }
  .banner { width: 50%; }
  .headline-box { width: 48%; }
  .tags ul a { width: 14%; }
}
@media screen and (max-width: 768px) {
  .left-box { width: 100%; }
  aside.right-box { width: 0 !important; height: 0 !important; overflow: hidden; display: none; }
}
@media screen and (max-width: 700px) {
  .logo-section { display: none; }
  article { margin-top: 30px; }
  .banner, .headline-box { width: 100%; }
  .banner, .banner .slides, .banner .slide, .banner .slide img { height: 200px; }
  .headline-news { padding: 12px 15px 15px; }
}
@media only screen and (max-width: 640px) {
  .new_list_item_info { width: 95%; }
  .panel-body li { width: 100%; padding-right: 0; }
  .otherlink ul li { width: 100%; float: none; }
  .live_detail_match_info_5 a.play-btn {
    min-width: 0; width: 86%; font-size: 17px; line-height: 42px; padding: 0 16px; margin: 0 0 10px;
  }
  .live_detail_comment { padding: 14px 10px 4px; }
  .rank-table th, .rank-table td { padding: 9px 4px; font-size: 13px; }
  .tags ul a { width: 20%; font-size: 12px; }
  .news-title, #tab, #tab-content { margin: 10px; }
  .wztitle-list { padding: 0 10px 20px; }
}
@media only screen and (max-width: 400px) {
  body { min-width: 280px; }
  .new_list_item { font-size: 14px; }
  .new_list_item_title { font-size: 12px; }
  .new_list_item_info { font-size: 16px; }
  .new_list_item_button a { padding: 4px 12px; font-size: 12px; }
  .new_content_h1 { min-height: 34px; line-height: 34px; }
  .new_content_h1 h1, .new_content_h1 h2 { font-size: 16px; line-height: 34px; }
  .tags ul a { width: 25%; }
}
