/* lbw 壳层 — 对照源站 /css1/css/style4.css（青绿 #429ea5 渐变，浅底） */
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html {
  background: #f5f5f5;
  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: #f5f5f5;
}

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：青绿渐变（日期/域名/模块外框） */
.box {
  width: 100%;
  max-width: 720px;
  margin: 5px 0;
  box-sizing: border-box;
  border-radius: 5px;
  overflow: hidden;
  background-image: linear-gradient(
    to right,
    var(--home-info-bar-bg, #429ea5),
    #56b8bf,
    #63c6ce,
    #5cc4cc,
    #5ebcc3,
    #58c5ce,
    var(--home-info-bar-bg, #429ea5)
  );
}

.pad {
  padding: 4px;
}

/* —— 顶栏（style4 青绿渐变）—— */
.header {
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  background-image: linear-gradient(
    to right,
    var(--home-header-bg, #429ea5),
    #56b8bf,
    #63c6ce,
    #5cc4cc,
    #5ebcc3,
    #58c5ce,
    var(--home-header-bg, #429ea5)
  );
  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: 50px;
  padding: 0 8px 0 0;
  position: relative;
}

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

.header .logo-bar .quan {
  width: 60px;
  height: 50px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .logo-bar .quan img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 20px #000;
  animation: lbw-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 lbw-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.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: transparent;
  border-top: solid 1px #000;
  border-bottom: none;
  overflow: hidden;
}

.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: var(--home-nav2-hover, #292929);
  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 {
  /* 对齐源站 .nullbox */
  height: 100px;
}

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

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

/* —— 日期 / 易记（.news-box > .riqi）—— */
.box.news-box {
  margin: 5px 0;
}

.box.news-box .riqi {
  font-size: 19pt;
  text-align: center;
  font-weight: bold;
  padding: 6px 4px;
  line-height: 1.45;
  color: #000;
}

@media screen and (max-width: 610px) {
  .box.news-box .riqi {
    font-size: 15pt;
  }
}

@media screen and (max-width: 524px) {
  .box.news-box .riqi {
    font-size: 12pt;
  }
}

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

.box.subnav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 5px 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: 80px;
  height: 80px;
  animation-duration: 1s;
  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: lbw-fadeInLeft;
}

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

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

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

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

@keyframes lbw-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: 12pt;
  }

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

/* 开奖壳：青绿外框 + 白底内容 */
.lottery-shell {
  margin: 0;
  background: #fff;
  border-radius: 0;
}

.home-skel-module--lottery_iframe {
  margin: 5px 0;
}

.home-skel-module--lottery_iframe > .list-title {
  margin: 0;
}

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

.tie-con ul li {
  background: url(/template/frontends/lbw/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 #6eaeb3;
  background: url(/template/frontends/lbw/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/lbw/assets/img/img1.png) bottom right no-repeat #fff;
}

.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;
}

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

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

.footer dl dd {
  padding: 5px 0;
  border-bottom: solid 1px rgba(0, 0, 0, 0.25);
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

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

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

.big-con {
  background: url(/template/frontends/lbw/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;
}
.lbw-bbs-foot {
  padding: 12px 10px;
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}
