/* 体育资讯 样式：从老站快照整理，只保留页面上用到的规则（首页、列表页、详情页） */

* {
  box-sizing: border-box;
}

body.channel-navy {
  margin: 0;
  background: #f3f5f8;
  color: #1b2430;
  font: 15px / 1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #e03131;
}

.cn-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.cn-top {
  background: #10284a;
  color: #ffffff;
}

.cn-top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.cn-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cn-logo b {
  font-size: 22px;
  letter-spacing: 1px;
}

.cn-logo span {
  font-size: 13px;
  color: #9fb3cf;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
}

.cn-logo:hover {
  color: #ffffff;
}

.cn-acts a {
  margin-left: 16px;
  font-size: 13px;
  color: #c9d6e8;
}

.cn-nav {
  background: #ffffff;
  border-bottom: 1px solid #dde3ea;
}

.cn-nav .cn-wrap {
  display: flex;
}

.cn-nav a {
  padding: 0 20px;
  line-height: 46px;
  font-size: 16px;
  font-weight: 600;
  color: #10284a;
  border-bottom: 3px solid transparent;
}

.cn-nav a.on {
  border-bottom-color: #e03131;
  color: #e03131;
}

.cn-main {
  padding-top: 16px;
  padding-bottom: 34px;
}

.cn-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #dde3ea;
  height: 40px;
  padding: 0 14px;
  margin-bottom: 16px;
  overflow: hidden;
}

.cn-ticker b {
  flex: 0 0 auto;
  background: #e03131;
  color: #ffffff;
  font-size: 13px;
  padding: 2px 8px;
}

.cn-ticker div {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
  mask-image: linear-gradient(90deg, #000000 90%, transparent);
}

.cn-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.cn-hero-main {
  position: relative;
  display: block;
  background: #10284a;
}

.cn-hero-main img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cn-hero-main span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 40, 74, 0.9);
  padding: 14px 18px;
  color: #ffffff;
}

.cn-hero-main b {
  font-size: 22px;
  line-height: 1.4;
}

.cn-hero-main:hover {
  color: #ffffff;
}

.cn-hero-side {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cn-hero-side a {
  display: block;
  background: #ffffff;
  height: 100%;
}

.cn-hero-side img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cn-hero-side b {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.cn-sec {
  background: #ffffff;
  border: 1px solid #dde3ea;
  padding: 14px 18px 18px;
  margin-bottom: 16px;
}

.cn-h2 {
  display: flex;
  align-items: center;
  margin: 0 0 14px;
  font-size: 18px;
  color: #10284a;
  padding-left: 12px;
  border-left: 4px solid #e03131;
  line-height: 1.1;
}

.cn-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}

.cn-img {
  position: relative;
  display: block;
}

.cn-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cn-img i {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #e03131;
  color: #ffffff;
  font-style: normal;
  font-size: 12px;
  padding: 1px 7px;
}

.cn-card h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 2px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cn-card time {
  font-size: 12px;
  color: #8592a3;
}

.cn-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cn-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cn 0;
}

.cn-lines li {
  counter-increment: cn 1;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f5;
}

.cn-lines li::before {
  content: counter(cn);
  flex: 0 0 auto;
  width: 20px;
  color: #8592a3;
  font-weight: 700;
}

.cn-lines li:nth-child(-n+3)::before {
  color: #e03131;
}

.cn-lines a {
  flex: 1 1 0%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cn-lines time {
  flex: 0 0 auto;
  font-size: 12px;
  color: #8592a3;
}

.cn-crumb {
  font-size: 13px;
  color: #6b778a;
  margin-bottom: 12px;
}

.cn-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

.cn-article {
  background: #ffffff;
  border: 1px solid #dde3ea;
  padding: 24px 30px;
}

.cn-article h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 10px;
  color: #10284a;
}

.cn-info {
  font-size: 13px;
  color: #6b778a;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f5;
}

.cn-content {
  font-size: 17px;
  line-height: 1.9;
}

.cn-side {
  background: #ffffff;
  border: 1px solid #dde3ea;
  padding: 14px 16px;
  align-self: start;
}

.cn-footer {
  background: #10284a;
  color: #9fb3cf;
  font-size: 13px;
  padding: 22px 0 28px;
  text-align: center;
}

.cn-foot-links a {
  margin: 0 12px;
  color: #c9d6e8;
}

.cn-footer p {
  margin: 10px 0 0;
}

@media (max-width: 1000px) {
  .cn-hero {
    grid-template-columns: 1fr;
  }

  .cn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-two,
  .cn-cols {
    grid-template-columns: 1fr;
  }
}

/* 标签栏（页头下面，「放导航」的标签）和文章页的标签（见 src/content/tags.js） */
.bw-tagbar {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 12px auto;
  padding: 0 16px;
}
.bw-tagbar-in {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bw-tagbar-in::-webkit-scrollbar { display: none; }
.bw-tagbar a,
.bw-article-tags a {
  flex: none;
  padding: 4px 14px;
  border: 1px solid rgba(127, 127, 127, .35);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.bw-tagbar a:hover,
.bw-article-tags a:hover { border-color: currentColor; }
.bw-tagbar a.is-on { border-color: currentColor; font-weight: 700; }
.bw-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  font-size: 14px;
}
.bw-article-tags > span { opacity: .6; }
.bw-article-tags a { padding: 2px 12px; font-size: 13px; }

/* 分页（还原源代码时统一生成） */
.pager {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  font-size: 14px;
}
.pager.bw-pages { gap: 6px; flex-wrap: wrap; }
.pager.bw-pages a,
.pager.bw-pages span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(127, 127, 127, .35);
  border-radius: 4px;
  text-decoration: none;
}
.pager.bw-pages .bw-page-on { border-color: currentColor; font-weight: 700; }
.pager.bw-pages .bw-page-gap { border: 0; min-width: 20px; padding: 0; }

/* 文章正文：采到的图片、视频、表格不超出正文宽度（老站常靠脚本缩图，新站不跑老站脚本） */
.bw-content img,
.bw-content video {
  max-width: 100% !important;
  height: auto !important;
}
.bw-content iframe {
  max-width: 100%;
}
/* 放不了的视频（老站靠脚本取地址）：封面点了在新窗口打开原文看。位置、播放图标的样式写在元素上（src/collect/dead-players.js），这里只管鼠标移上去 */
.bw-video-link img {
  display: block;
}
.bw-video-link:hover .bw-video-play {
  background: rgba(0, 0, 0, .75) !important;
}
.bw-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
/* 标签栏和老站页头一样宽 */
.bw-tagbar {
  max-width: 1200px;
  padding: 0;
}


/* 新站首页内容区（按分类列最新文章；页头页脚沿用老站） */
.bw-home {
  box-sizing: border-box;
  display: block !important;
  float: none !important;
  height: auto !important;
  overflow: visible !important;
  margin: 20px auto 36px;
  padding: 0 16px;
}
.bw-home-sec { margin: 0 0 32px; }
.bw-home-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 0 0 8px;
  border-bottom: 2px solid currentColor;
}
.bw-home-hd h2 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.4; }
.bw-home-hd a { font-size: 14px; color: inherit; opacity: .7; text-decoration: none; }
.bw-home-hd a:hover { opacity: 1; }
.bw-home-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bw-home-item { margin: 0; padding: 0; list-style: none; }
.bw-home-item a { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; }
.bw-home-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: rgba(0, 0, 0, .05); }
.bw-home-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bw-home-item a:hover .bw-home-title { text-decoration: underline; }
.bw-home-date { font-size: 12px; opacity: .6; }
.bw-home-empty { padding: 40px 0; text-align: center; opacity: .6; }
/* 和老站页头一样宽 */
.bw-home {
  max-width: 1200px;
  padding: 0;
}

/* ==== 自己加的样式（网站 → 编辑代码 → custom.css）==== */
/* bw:list-layout 文章列表的排法（在「换样子 → 配色和字体」里改，别手改这几行）*/
:root{--bw-list:masonry;--bw-cols:3}
/* /bw:list-layout */
/* 瀑布流卡片的样子（跟着这套皮肤） */
:root{--bw-card-radius:0;--bw-card-border:1px solid #dde3ea;--bw-card-bg:#fff;--bw-gap:16px;--bw-card-title:15px}
/* 体育频道：整套样式（首页、列表页、文章页模板用到的都在这里） */
*{box-sizing:border-box}body.channel-navy{margin:0;background:#f3f5f8;color:#1b2430;font:15px/1.6 -apple-system,"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
a{color:inherit;text-decoration:none}a:hover{color:#e03131}
.cn-wrap{width:1200px;max-width:100%;margin:0 auto;padding:0 16px}
.cn-top{background:#10284a;color:#fff}.cn-top-in{display:flex;align-items:center;justify-content:space-between;height:64px}
.cn-logo{display:flex;align-items:center;gap:10px}.cn-logo b{font-size:22px;letter-spacing:1px}.cn-logo span{font-size:13px;color:#9fb3cf;border-left:1px solid #ffffff33;padding-left:10px}.cn-logo:hover{color:#fff}
.cn-acts a{margin-left:16px;font-size:13px;color:#c9d6e8}
.cn-nav{background:#fff;border-bottom:1px solid #dde3ea}.cn-nav .cn-wrap{display:flex}.cn-nav a{padding:0 20px;line-height:46px;font-size:16px;font-weight:600;color:#10284a;border-bottom:3px solid transparent}.cn-nav a.on{border-bottom-color:#e03131;color:#e03131}
.cn-main{padding-top:16px;padding-bottom:34px}
.cn-ticker{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #dde3ea;height:40px;padding:0 14px;margin-bottom:16px;overflow:hidden}.cn-ticker b{flex:none;background:#e03131;color:#fff;font-size:13px;padding:2px 8px}
.cn-ticker div{display:flex;gap:30px;white-space:nowrap;overflow:hidden;font-size:14px;mask-image:linear-gradient(90deg,#000 90%,transparent)}
.cn-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:12px;margin-bottom:22px}
.cn-hero-main{position:relative;display:block;background:#10284a}.cn-hero-main img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.cn-hero-main span{position:absolute;left:0;right:0;bottom:0;background:#10284ae6;padding:14px 18px;color:#fff}.cn-hero-main b{font-size:22px;line-height:1.4}.cn-hero-main:hover{color:#fff}
.cn-hero-side{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.cn-hero-side a{display:block;background:#fff;height:100%}.cn-hero-side img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.cn-hero-side b{display:block;padding:8px 10px;font-size:14px;line-height:1.45;font-weight:600}
.cn-sec{background:#fff;border:1px solid #dde3ea;padding:14px 18px 18px;margin-bottom:16px}
.cn-h2{display:flex;align-items:center;margin:0 0 14px;font-size:18px;color:#10284a;padding-left:12px;border-left:4px solid #e03131;line-height:1.1}
.cn-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px}
.cn-img{position:relative;display:block}.cn-img img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.cn-img i{position:absolute;left:0;bottom:0;background:#e03131;color:#fff;font-style:normal;font-size:12px;padding:1px 7px}
.cn-card h3{font-size:15px;line-height:1.5;margin:8px 0 2px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cn-card time{font-size:12px;color:#8592a3}
.cn-two{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.cn-lines{margin:0;padding:0;list-style:none;counter-reset:cn}.cn-lines li{counter-increment:cn;display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #eef1f5}.cn-lines li:before{content:counter(cn);flex:none;width:20px;color:#8592a3;font-weight:700}.cn-lines li:nth-child(-n+3):before{color:#e03131}.cn-lines a{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cn-lines time{flex:none;font-size:12px;color:#8592a3}
.cn-crumb{font-size:13px;color:#6b778a;margin-bottom:12px}.cn-title{font-size:22px}
.cn-pager{display:flex;gap:6px;justify-content:center;padding:22px 0 0}.cn-pager a{padding:4px 12px;background:#fff;border:1px solid #dde3ea}.cn-pager a.on{background:#10284a;color:#fff;border-color:#10284a}
.cn-cols{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.cn-article{background:#fff;border:1px solid #dde3ea;padding:24px 30px}.cn-article h1{font-size:28px;line-height:1.4;margin:0 0 10px;color:#10284a}.cn-info{font-size:13px;color:#6b778a;padding-bottom:14px;border-bottom:1px solid #eef1f5}
.cn-content{font-size:17px;line-height:1.9}.cn-content p{margin:16px 0}.cn-content img{display:block;max-width:100%;margin:0 auto}
.cn-side{background:#fff;border:1px solid #dde3ea;padding:14px 16px;align-self:start}
.cn-footer{background:#10284a;color:#9fb3cf;font-size:13px;padding:22px 0 28px;text-align:center}.cn-foot-links a{margin:0 12px;color:#c9d6e8}.cn-footer p{margin:10px 0 0}
@media(max-width:1000px){.cn-hero{grid-template-columns:1fr}.cn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cn-two,.cn-cols{grid-template-columns:1fr}}
/* 登录注册页（读者账号） */
body #bwAccount{background:#fff;border:1px solid #dde3ea;border-top:4px solid #10284a;border-radius:0}body #bwAccount h2{color:#10284a}body #bwAccount input{border-radius:2px}body #bwAccount .bw-primary{background:#e03131;border-radius:2px}body #bwAccount .bw-primary:hover{background:#c92a2a}
/* 手机（H5） */
@media(max-width:768px){html{-webkit-text-size-adjust:100%}
.cn-wrap{padding:0 10px}.cn-top-in{height:52px}.cn-logo b{font-size:18px}.cn-logo span,.cn-acts a+a{display:none}
.cn-nav .cn-wrap{overflow-x:auto;scrollbar-width:none}.cn-nav .cn-wrap::-webkit-scrollbar{display:none}.cn-nav a{flex:none;padding:0 14px;line-height:42px;font-size:15px}
.cn-main{padding-top:10px}.cn-ticker{margin-bottom:10px}.cn-hero-main b{font-size:17px}.cn-hero-main span{padding:10px 12px}.cn-hero-side b{font-size:13px}
.cn-sec{padding:12px;margin-left:-10px;margin-right:-10px;border-left:0;border-right:0}.cn-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.cn-card h3{font-size:14px}
.cn-article{padding:16px 14px;margin:0 -10px;border-left:0;border-right:0}.cn-article h1{font-size:22px}.cn-content{font-size:16.5px}
body #bwAccount{margin:16px 0;padding:22px 18px}}
img[src=""]{visibility:hidden}
/* 作者：没有作者时连分隔符一起不显示（不留一个孤零零的「/」「·」） */
.bw-author:empty{display:none}.bw-sep-dot::before{content:" · "}.bw-sep-slash::after{content:" / "}.bw-sep-gap::after{content:"　"}.sb-info span:empty{display:none}
.pr-kick:empty,.sf-tag:empty,.wr-cat:empty,.cn-img i:empty,.fw-kick:empty{display:none}
.pg-meta em:empty,.ln-img i:empty,.ln-tag:empty,.cb-kicker:empty,.mb-cap em:empty,.mb-art-head em:empty,.sb-ch:empty,.pg-info span:empty{display:none}
.pager{display:flex;gap:14px;justify-content:center;align-items:center;margin:24px 0 6px;font-size:14px}.pager a{padding:4px 14px;border:1px solid currentColor;border-radius:4px;opacity:.85}.pager a:hover{opacity:1}
/* 页码分页：上一页 1 2 3 … N 下一页（颜色跟着皮肤的文字色） */
.pager.bw-pages{gap:6px;flex-wrap:wrap;margin:28px 0 6px}.pager.bw-pages a,.pager.bw-pages span{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border:1px solid currentColor;border-radius:4px;opacity:.7;line-height:1;text-decoration:none}
.pager.bw-pages a:hover{opacity:1}.pager.bw-pages .bw-page-on{opacity:1;font-weight:700;border-width:2px}.pager.bw-pages .bw-page-gap{border:0;min-width:20px;padding:0}
.ko-tag:empty,.cc-cat:empty,.ul-tag:empty,.mp-kick:empty,.sc-cat:empty,.lw-cat:empty,.td-cat:empty,.cn2-cat:empty,.af-cat:empty,.ds-cat:empty,.ds-face em:empty{display:none}
