/* jrtt / 今日头条 — 对照源站 /98217.html（红 pill + 800 栏宽） */

body.frontend-jrtt {
  margin: 0;
  background: #f5f5f5;
  font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
}

.jrtt-brand-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 0;
  background: #fff;
}

.jrtt-brand-banner__link {
  display: block;
}

.jrtt-brand-banner__img {
  display: block;
  width: 100%;
  height: auto;
}

.header.jrtt-header-nav {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-blank {
  display: none !important;
  height: 0 !important;
}

/* 品牌行 + 红 pill（源站 #fa1414 / hover #1E90FF） */
.header #nav2.nav2,
.header .nav2 {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 2px;
  font-size: 13px;
  background: #fff;
}

.header .nav2 ul {
  padding: 2px 0;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
}

.header .nav2 ul li {
  width: 100%;
  box-sizing: border-box;
  padding: 0 2px;
}

.header .nav2 ul li a {
  display: block;
  padding: 3px 0;
  text-align: center;
  color: #fff !important;
  border-radius: 10px;
  background: var(--home-nav2-bg, #fa1414);
  text-decoration: none !important;
  font-weight: 700;
}

.header .nav2 ul li a:hover {
  background: var(--home-nav2-hover, #1e90ff);
}

.header .nav2 ul.nav2-brand-row li a {
  background: #fff;
  color: #fa1414 !important;
  border: 1px solid #fa1414;
  border-radius: 6px;
}

.header .nav2 ul.nav2-brand-row li a:hover {
  background: #fff5f5;
  color: #1e90ff !important;
  border-color: #1e90ff;
}

.box.pad {
  width: 100%;
  max-width: 800px;
  margin: 6px auto;
  box-sizing: border-box;
  background: #fff;
}

.footer {
  padding: 12px;
  font-size: 13px;
  color: #333;
}

.footer dt {
  font-weight: 700;
  margin-bottom: 6px;
}

@media screen and (min-width: 800px) {
  .header .nav2 {
    padding: 4px;
    font-size: 14px;
  }

  .header .nav2 ul {
    padding: 4px 0;
  }

  .header .nav2 ul li {
    padding: 0 4px;
  }

  .header .nav2 ul li a {
    padding: 10px 0;
  }
}

/* 命中高亮（对齐源站黄底红字） */
.home-mat-box .highlight,
.home-mat-box span.highlight {
  background-color: #ffff00 !important;
  color: #ff0000 !important;
}

/* 资料板红 tit（源站 .tit） */
.home-mat-box .tit,
.box.pad .tit {
  color: #ff0;
  text-align: center;
  font-weight: bold;
  font-size: 28px;
  background: #f00;
  padding: 6px 4px;
  margin: 0 0 4px;
}

.home-mat-box .yxym td {
  padding: 2px 5px;
  border: solid 1px #e5e5e5;
  color: #f00;
  font-weight: bold;
  font-size: 16px;
  font-family: KaiTi, "华文楷体", serif;
}

.home-mat-box .yxym tfoot th {
  padding: 2px 5px;
  text-align: center;
  border: solid 1px #e5e5e5;
}

/* bt4 板头（源站蓝青白渐变） */
.home-mat-box th.bt4,
.home-mat-box .bt4 {
  padding: 3px 0;
  height: 45px;
  background: linear-gradient(#0099ff, #66ffff, #ffffff);
  box-shadow: 0 5px 4px 0 rgb(171 166 166), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
  font-weight: 700;
}

/* bbs 三池：源站 .topic-list.gs（不热链 tt.gif/rm.gif） */
.jrtt-gsb__head {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(90deg, #fa1414, #ff4d4d, #fa1414);
  padding: 10px 8px;
  margin: 0 0 4px;
}

ul.topic-list.gs {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.topic-list.gs li {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  box-sizing: border-box;
}

ul.topic-list.gs li a {
  display: block;
  padding: 8px 72px 8px 8px;
  color: #000;
  text-decoration: none;
  text-align: center;
}

ul.topic-list.gs div.author {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 13px !important;
  color: #666;
}

ul.topic-list.gs span.badge {
  display: inline-block;
  height: 25px;
  line-height: 25px;
  padding: 0 5px;
  color: #fff;
  border-radius: 6px;
  background-color: #ff0000;
  margin-right: 4px;
  vertical-align: middle;
  font-weight: 700;
}

ul.topic-list.gs span.title {
  display: inline-block;
  height: 25px;
  line-height: 25px;
  vertical-align: middle;
}
