/* sgnn 壳层 — 叶绿 #008800 导航 / hover #da183b；800px；无品牌行 */
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html {
  background: #f4f4f4;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 800px;
  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 {
  width: 100%;
  max-width: 800px;
  margin: 5px 0;
  box-sizing: border-box;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pad {
  padding: 4px;
}

/* —— 源站红框「紧急通知」（域宣；内容走易记配置） —— */
.box.sgnn-urgent-notice {
  margin: 6px 0;
  background: #fff;
  box-shadow: none;
}

.sgnn-urgent-notice__card {
  border: 4px solid #8b0000;
  border-radius: 2px;
  background: #fff;
  padding: 12px 10px 14px;
  text-align: center;
  box-sizing: border-box;
}

.sgnn-urgent-notice__title {
  margin: 0 0 8px;
  color: #c00;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sgnn-urgent-notice__line {
  margin: 4px 0;
  color: #111;
  font-size: 16px;
  font-weight: 600;
}

.sgnn-urgent-notice__domain {
  margin: 2px 0 6px;
  color: #c00;
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  word-break: break-all;
}

.sgnn-urgent-notice__tip {
  margin: 8px 0 12px;
  color: #111;
  font-size: 15px;
  font-weight: 600;
}

.sgnn-urgent-notice__cta {
  margin: 0;
}

.sgnn-urgent-notice__cta a {
  display: inline-block;
  min-width: 58%;
  padding: 8px 18px;
  border-radius: 999px;
  background: #8b0000;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.sgnn-urgent-notice__cta a:hover {
  background: #a40000;
  text-decoration: none !important;
}

/* —— 源站水果横幅（随页滚动，不吸顶） —— */
.sgnn-brand-banner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #fffaf0;
  line-height: 0;
}

.sgnn-brand-banner__link {
  display: block;
  position: relative;
  width: 100%;
  text-decoration: none;
}

.sgnn-brand-banner__link:hover {
  text-decoration: none;
}

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

/* —— 顶栏：仅 nav2 吸顶（对齐源站） —— */
.header,
.header.sgnn-header-nav {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  background: #fff;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 99;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

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

.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;
  padding: 3px 0;
  height: auto;
  line-height: 1.35;
  text-align: center;
  color: #fff;
  border-radius: 50px;
  background: var(--home-nav2-bg, #008800);
  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;
}

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

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

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

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

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

/* sticky nav 不再需要占位；保留节点以免旧脚本报错 */
.header-blank {
  display: none !important;
  height: 0 !important;
}

/* 源站无旧 logo-bar（???? / 转盘 / 返回首页），禁止再渲染 */
.logo-bar,
.header .logo-bar,
.header .quan,
.header .home {
  display: none !important;
}

@media screen and (max-width: 800px) {
  .header .nav2 {
    font-size: 12px;
  }
}

@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: 3px 0;
    height: 30px;
    line-height: 30px;
  }
}

/* —— 易记网址（黄底表；域走 frontend_easy_url_primary）—— */
.box.sgnn-easy-url {
  background: #fff59d;
  background-image: none;
  border: 1px solid #008800;
}

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

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

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

/* —— 静态今日话题（无多说 JS）—— */
.sgnn-topic-box {
  background: #fff;
  margin: 5px 0;
  padding: 10px 12px;
  border-radius: 5px;
  border: 1px solid #008800;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.sgnn-topic-box__title {
  color: #008800;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.sgnn-topic-box__body {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.sgnn-topic-box__accent {
  color: #008800;
  font-weight: bold;
}

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

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

/* 源站 list-title / btbt：白底标题条 */
.btbt,
.list-title {
  height: 28px;
  line-height: 23px;
  font-size: 16pt;
  text-align: center;
  border-bottom: 1px solid #008800;
  text-shadow: 1px 2px 1px rgba(0, 136, 0, 0.25);
  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, 136, 0, 0.2);
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

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

/* bbs 详情页 */
.big-con {
  background: #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 #cce8cc;
  margin: 0;
  color: #333;
}

/* 网红资料壳：紫底品牌条 + 蓝字作者〖玩法〗 */
.sgnn-wh-bar {
  margin: 0 0 8px;
  padding: 10px 8px;
  background: #800080;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  border-radius: 2px;
}

.sgnn-wh-sub {
  margin: 0;
  padding: 10px 0 12px !important;
  text-align: center;
  font-size: 18px !important;
  color: #0000FF !important;
  border-bottom: solid 1px #cce8cc;
}

.big-con .big-tit p {
  padding: 8px 0;
  font-size: 16px;
  color: #008800;
  border-bottom: solid 1px #cce8cc;
  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: #cce8cc;
}

.sgnn-bbs-foot .cont.center {
  text-align: center;
  padding: 8px 0;
}

.sgnn-bbs-foot .bbs-detail-declaration {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}
