/* cstt 壳层 — 对照源站 83151 /css/style.css（主色 #ff4400） */
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html {
  background: url(/template/frontends/cstt/assets/img/bg.jpg) top center repeat-y #fff;
  background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 720px;
  min-height: 100vh;
  margin: 0 auto;
  line-height: 1.5;
  font-size: 14px;
  font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
  word-break: break-all;
  word-wrap: break-word;
  box-sizing: border-box;
  background: #fafafa;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.box {
  width: 100%;
  max-width: 720px;
  margin: 1px 0;
  box-sizing: border-box;
  border-radius: 5px;
  background: #ff4400;
}

.pad {
  padding: 4px;
}

/* —— 顶栏（源站橙红 #ff4400）—— */
.header {
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  background: #ff4400;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99;
  border-radius: 0;
}

.header .logo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 10px 0 0;
  position: relative;
}

.header .logo-bar .logo img {
  height: 60px;
  width: auto;
  max-width: none;
  display: block;
}

.header .logo-bar .quan {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.header .logo-bar .quan img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 20px #000;
  animation: ttlt-spin 5s linear 0s infinite;
}

.header .logo-bar .home {
  line-height: 1;
  text-align: center;
  color: #fff;
  font-size: 12px;
}

.header .logo-bar .home img {
  width: 30px;
  height: 30px;
  margin-bottom: 3px;
}

.header .logo-bar .home span {
  display: block;
}

@keyframes ttlt-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 顶栏 6 锚点：对齐源站扁条 .nav（非圆钮） */
.header #nav2.nav2,
.header .nav2 {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0;
  font-size: 14px;
  color: #fff;
  background: #ff4400;
  border-top: solid 1px #000;
  border-bottom: none;
}

.header .nav2 ul {
  padding: 0;
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  text-align: center;
}

.header .nav2 ul li {
  width: 16.666%;
  box-sizing: border-box;
  padding: 0;
  list-style: none;
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}

.header .nav2 ul li a {
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0;
  text-align: center;
  color: #fff;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header .nav2 ul li a:hover {
  background: #1d79eb;
  text-decoration: none;
}

.header #nav2-stick,
.header .nav2-stick,
.header #nav2-spacer,
.header .nav2-spacer {
  display: none !important;
  height: 0 !important;
}

.header #nav2[data-fixed="fixed"],
.header .nav2[data-fixed="fixed"] {
  position: static !important;
  box-shadow: none !important;
}

.header-blank {
  height: 158px;
}

@media screen and (max-width: 720px) {
  .header .logo-bar {
    padding: 0 5px 0 0;
  }

  .header .logo-bar .quan {
    position: relative;
  }

  .header .nav2 {
    font-size: 12px;
  }
}

/* —— 最新消息 —— */
.box.news {
  display: flex;
  height: 35px;
  line-height: 35px;
  padding: 0 5px;
  color: #fff;
  background: #ff4400;
  margin: 1px 0;
}

.news-tit {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-tit img {
  width: 35px;
  height: 35px;
  margin-right: 5px;
  vertical-align: top;
}

.news-con {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.news-con marquee {
  display: block;
}

/* —— 五图标快捷入口 —— */
.box.subnav {
  line-height: 1;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  background: #e7f1fd;
  margin: 1px 0;
  border-radius: 5px;
}

.box.subnav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}

.box.subnav ul li a {
  padding: 5px 3px 8px 3px;
  text-decoration: none;
  color: #000;
}

.box.subnav ul li a img {
  display: block;
  margin: 0 auto 5px;
  width: 52px;
  height: 52px;
  animation-duration: 4s;
  animation-fill-mode: both;
}

.box.subnav ul li a span {
  display: block;
  text-shadow: 0 2px 1px #ff9c00;
}

.box.subnav ul li:nth-child(1) a img,
.box.subnav ul li:nth-child(2) a img {
  animation-name: ttlt-fadeInLeft;
}

.box.subnav ul li:nth-child(3) a img {
  animation-name: ttlt-bounceInDown;
}

.box.subnav ul li:nth-child(4) a img,
.box.subnav ul li:nth-child(5) a img {
  animation-name: ttlt-fadeInRight;
}

@keyframes ttlt-fadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ttlt-fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ttlt-bounceInDown {
  0%,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 8px, 0);
  }
  75% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, 2px, 0);
  }
  to {
    transform: none;
  }
}

@media screen and (max-width: 720px) {
  .box.subnav {
    font-size: 14.5px;
  }

  .box.subnav ul li a img {
    width: 44px;
    height: 44px;
  }
}

/* —— 易记网址 —— */
.box.url {
  line-height: 1.3;
  font-weight: bold;
  text-align: center;
  font-size: 17px;
  background: #ff4400;
  margin: 1px 0;
  padding: 6px 4px;
}

.box.url dl {
  margin: 0;
  padding: 0;
}

.box.url dl dt {
  width: 100%;
  color: #ff0;
  font-weight: bold;
  line-height: 1.45;
}

@media screen and (max-width: 720px) {
  .box.url {
    font-size: 14px;
  }
}

/* 资料模块：白底内容区（外框仍可透蓝） */
.box.pad.home-mat-box,
.home-skel-module .box.pad {
  background: transparent;
}

.ptyx,
.yxym {
  font-size: 16px;
  font-weight: bold;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
}

.ptyx th {
  font-size: 18px;
  color: #00f;
  border: solid 1px #ff4400;
  background: #ff4400;
}

.yxym th {
  height: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  border: solid 1px #e5e5e5;
  background: #ff4400;
}

.ptyx td {
  height: 32px;
  padding: 0 5px;
  color: #333;
  border: solid 1px #ff4400;
}

.yxym td {
  height: 30px;
  font-size: 15px;
  border: solid 1px #e5e5e5;
}

.tit {
  line-height: 40px;
  padding-bottom: 3px;
  color: #ff0;
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  text-shadow: 1px 4px 1px #b99b5f;
  border-bottom: solid 1px #000;
  background: linear-gradient(transparent, #dacfcf);
}

/* 源站 bbs：精华/高手列表 */
.tie-con {
  font-size: 14px;
  background: #fff;
}

.tie-con ul li {
  background: url(/template/frontends/cstt/assets/img/tj.gif) 5px center no-repeat;
}

.tie-con ul li a {
  display: block;
  padding: 0 20px 0 40px;
  line-height: 36px;
  font-weight: bold;
  border-bottom: solid 1px #b99b5f;
  background: url(/template/frontends/cstt/assets/img/arrow.png) right center no-repeat;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}

.tie-con.gaoshou {
  background: url(/template/frontends/cstt/assets/img/img1.png) bottom right no-repeat #fff;
}

/* 源站 js2xiao 输尽光 */
.yqjs {
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  font-family: "宋体", SimSun, sans-serif;
  width: 100%;
  background: #fff;
}

.yqjs td {
  height: 32px;
  border: 1px solid #007e31;
  font-weight: bold;
}

.yqjs td:nth-child(2) {
  color: #0f0;
}

.yqjs td span {
  color: #f00;
  background: #ff0;
}

.yqjs tr:nth-child(2n-1) td:nth-child(1),
.yqjs tr:nth-child(2n-1) td:nth-child(3) {
  width: 13%;
}

@media screen and (max-width: 720px) {
  .yqjs {
    border-spacing: 1px;
    font-size: 12px;
  }
}

.lottery-shell {
  margin-top: 2px;
  background: #ff4400;
}

.footer {
  padding: 5px 0;
  color: #fff;
  text-align: center;
  margin: 5px 0 40px;
  background: #ff4400;
}

.footer dl {
  padding: 0 10%;
  margin: 0;
}

.footer dl dd {
  padding: 5px 0;
  border-bottom: solid 1px #000;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.footer > div {
  padding: 5px 0;
}

.cont.center {
  text-align: center;
}

/* bbs 槽位详情（对齐 83151 .big-con） */
.big-con {
  background: url(/template/frontends/cstt/assets/img/big-bg.png) top right no-repeat #fff;
}
.big-con .big-tit {
  padding: 8px 8px 0 8px;
}
.big-con .big-tit h1 {
  padding: 8px 0 16px 0;
  font-size: 18px;
  font-weight: bold;
  border-bottom: solid 1px #ffeda4;
  margin: 0;
  color: #333;
}
.big-con .big-tit p {
  padding: 8px 0;
  font-size: 16px;
  color: #d2b335;
  border-bottom: solid 1px #ffeda4;
  margin: 0;
}
.big-con .big-txt {
  line-height: 2;
  padding: 8px;
  font-weight: bold;
  font-size: 15px;
  color: #333;
}
.big-con .big-txt hr {
  height: 1px;
  margin: 8px 0;
  border: 0;
  background: #ffeda4;
}
.cstt-bbs-foot {
  padding: 12px 10px;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}
