/* gxlbw 壳层 — 金棕 #b99b5f 导航 / 头图金渐变；720px；无 subnav */
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html {
  /* 源站 style1.css */
  background: #f4f4f4;
  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: #f4f4f4;
  color: #000;
}

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 外框：源站 css_style.css 浅金渐变（#ebcd92 系）
 * 禁止用 --home-info-bar-bg/#b99b5f 灌框（那是 nav2 pill 色）
 */
.box {
  width: 100%;
  max-width: 720px;
  margin: 5px 0;
  box-sizing: border-box;
  border-radius: 5px;
  overflow: hidden;
  background-image: linear-gradient(
    to right,
    #ebcd92,
    #ddbe81,
    #e2cba1,
    #d6bc87,
    #e9c88d,
    #ebc98b,
    #ebcd92
  );
}

.pad {
  padding: 4px;
}

/* —— 顶栏：与源站 .header 同浅金渐变 —— */
.header {
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  background-image: linear-gradient(
    to right,
    #ebcd92,
    #ddbe81,
    #e2cba1,
    #d6bc87,
    #e9c88d,
    #ebc98b,
    #ebcd92
  );
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99;
  border-radius: 0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.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: gxlbw-spin 5s linear 0s infinite;
}

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

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

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

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

/* 品牌行（壳层 chrome，非模块锚点）— 浅金底用黑字 */
.header .brand-row {
  text-align: center;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  line-height: 28px;
  padding: 2px 8px 4px;
  text-shadow: 1px 2px 1px #b99b5f;
  border-top: solid 1px #000;
}

.header .brand-row .brand-domain {
  color: #fff59d;
  margin-left: 6px;
}

/* nav2：源站白底 + #b99b5f 圆角 pill（两行各 5） */
.header #nav2.nav2,
.header .nav2 {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 4px;
  font-size: 13px;
  color: #000;
  background: #fff;
  border-top: solid 1px #000;
  border-bottom: none;
  overflow: hidden;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

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

.header .nav2 ul:last-child {
  margin-bottom: 0;
}

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

.header .nav2 ul li a {
  display: block;
  height: 28px;
  line-height: 28px;
  padding: 0 2px;
  text-align: center;
  color: #fff;
  border-radius: 50px;
  background: var(--home-nav2-bg, #b99b5f);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
}

.header .nav2 ul li a:hover {
  background: var(--home-nav2-hover, #da183b);
  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: 140px;
}

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

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

  .header .brand-row {
    font-size: 13px;
  }
}

/* —— 日期 / 易记 —— */
.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;
}

/* 易记黄底表（对齐源站 gxlp 形态） */
.box.gxlbw-easy-url {
  background: #fff59d;
  background-image: none;
  border: 1px solid #b99b5f;
}

.box.gxlbw-easy-url table {
  width: 100%;
  background: #fff59d;
}

.box.gxlbw-easy-url td {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 4px;
  color: #000;
}

.box.gxlbw-easy-url .easy-primary {
  color: #c00;
}

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

/* 开奖壳 */
.lottery-shell {
  margin: 0;
  background: #fff;
  border-radius: 0;
}

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

/* bbs 列表 */
.tie-con {
  font-size: 14px;
  background: #fff;
}

.tie-con ul li {
  background: url(/template/frontends/gxlbw/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 #c9b07a;
  background: url(/template/frontends/gxlbw/assets/img/arrow.png) right center no-repeat;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}

/* bbs 列表：源站 .post-list 灰白渐变圆角条 */
.post-list {
  text-align: center;
  background: #fff;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-list li {
  padding: 3px;
  background-color: #fff;
  border-radius: 0;
  list-style: none;
}

.post-list li a {
  display: block;
  height: 36px;
  line-height: 36px;
  padding: 0 8px;
  text-align: center;
  border: solid 1px #ddd;
  border-radius: 8px;
  background: #eee;
  background-image: linear-gradient(to top, #fff, #eee, #fff);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.post-list a .ci {
  font-size: 22px;
}

/* 源站 list-title / btbt：白底标题条 */
.btbt,
.list-title {
  height: 28px;
  line-height: 23px;
  font-size: 16pt;
  text-align: center;
  border-bottom: 1px solid #738e9f;
  text-shadow: 1px 4px 1px #b99b5f;
  background: #fff;
  color: #000;
  font-weight: bold;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 0;
}

.footer {
  padding: 5px 0;
  color: #000;
  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;
}

.big-con {
  background: url(/template/frontends/gxlbw/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 #e8d9b5;
  margin: 0;
  color: #333;
}
.big-con .big-tit p {
  padding: 8px 0;
  font-size: 16px;
  color: #b99b5f;
  border-bottom: solid 1px #e8d9b5;
  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: #e8d9b5;
}
