*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #cc0000;
  --red-dark: #990000;
  --orange: #ff6600;
  --orange-dark: #e55a00;
  --green: #008800;
  --green-dark: #006600;
  --blue: #00bcd4;
  --blue-dark: #0097a7;
  --cyan-light: #29b6f6;
  --cyan: #00bcd4;
  --cyan-gradient: linear-gradient(to right, #29b6f6, #00bcd4);
  --cyan-gradient-v: linear-gradient(180deg, #29b6f6 0%, #00bcd4 100%);
  --cyan-dark: #0097a7;
  --cyan-bg-light: #e0f7fa;
  --cyan-bg-stripe: #b3e5fc;
  --cyan-highlight: #80deea;
  --keyword-blue: #00bcd4;
  --keyword-blue-dark: #0097a7;
  --gold: #ffcc00;
  --gold-dark: #e6b800;
  --purple: #660099;
  --bg: #fff;
  --white: #fff;
  --text: #333;
  --text-light: #666;
  --border: #ccc;
  --ball-red: #cc0000;
  --ball-blue: #0066cc;
  --ball-green: #008800;
  --radius: 6px;
  --radius-sm: 4px;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: SimSun, "宋体", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
}

/* ===== 顶部品牌条 ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--cyan-gradient-v);
  border-bottom: 1px solid var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
}

.site-header-emblem {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #4fc3f7 0%, #0288d1 45%, #01579b 100%);
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  position: relative;
}

.site-header-emblem::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 18px;
  height: 12px;
  margin-left: -9px;
  background: #fff;
  border-radius: 50% 50% 45% 45%;
  box-shadow:
    -8px 2px 0 -2px #fff,
    8px 2px 0 -2px #fff,
    0 6px 0 -1px #fff;
}

.site-header-emblem::after {
  content: "★★★★★";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 34px;
  margin-left: -17px;
  font-size: 5px;
  line-height: 1;
  letter-spacing: 1px;
  color: #ffd700;
  text-align: center;
}

.site-header-logo {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-header-text {
  min-width: 0;
}

.site-header-title {
  font-family: "Microsoft YaHei", "微软雅黑", SimSun, "宋体", serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffff00;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.site-header-domain {
  margin-top: 2px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.site-domain-red {
  color: #ffff00;
}

.site-domain-blue {
  color: #fff;
}

.site-domain-black {
  color: #fff;
}

.site-header-seal {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--cyan-dark);
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.site-header-seal span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
}

/* ===== header 下方品牌推荐条 / 紧急通知（仿参考站双框） ===== */
.site-brand-promo,
.site-urgent-notice {
  margin: 4px 6px;
  padding: 12px 10px 14px;
  border-style: solid;
  border-width: 5px;
  border-radius: 0;
  text-align: center;
}

/* 上框：绿边 + 白底（参考图） */
.site-brand-promo {
  background: #fff;
  border-color: #008800;
}

/* 下框：深红边 + 浅灰底（参考图） */
.site-urgent-notice {
  background: #f3f3f3;
  border-color: #8b0000;
}

/* 上框标题：红色加粗 */
.site-brand-promo-title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  color: #cc0000;
}

.site-brand-promo .promo-star {
  color: #cc0000;
  font-weight: 900;
}

/* 上框正文：黑色，关键字分色 */
.site-brand-promo-body {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  color: #111;
}

.site-brand-promo-body p {
  margin: 0 0 2px;
  color: #111;
}

.site-brand-promo-body p:last-child {
  margin-bottom: 0;
}

.site-brand-promo .promo-domain,
.site-brand-promo .promo-kw {
  color: #cc0000;
  font-weight: 900;
}

.site-brand-promo .promo-kw-alt {
  color: #6b8e23;
  font-weight: 900;
}

.site-brand-promo .promo-kw-accent {
  color: #cc0066;
  font-weight: 900;
}

.site-brand-promo-btn {
  display: block;
  width: 88%;
  max-width: 340px;
  margin: 6px auto 0;
  padding: 10px 14px;
  background: #008800;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 0;
  line-height: 1.35;
  border: none;
  box-shadow: none;
}

.site-brand-promo-btn:active {
  background: #006600;
}

/* 下框标题：红色加粗 */
.site-urgent-notice-title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  color: #cc0000;
}

.site-urgent-notice .promo-star {
  color: #cc0000;
  font-weight: 900;
}

.site-urgent-notice-line {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.45;
  color: #111;
}

.site-urgent-notice-domain {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #cc0000;
  letter-spacing: 0.5px;
}

.site-urgent-notice-label {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.45;
  color: #111;
}

.site-urgent-notice-footer {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.45;
  color: #111;
}

.site-urgent-notice-btn {
  display: block;
  width: 88%;
  max-width: 340px;
  margin: 6px auto 0;
  padding: 10px 14px;
  background: #8b0000;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 0;
  line-height: 1.35;
  border: none;
  box-shadow: none;
}

.site-urgent-notice-btn:active {
  background: #660000;
}

/* ===== 固定顶栏（域名 + 彩种切换 + 开奖条） ===== */
.site-fixed-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-fixed-top-spacer {
  height: 168px;
}

.site-top-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 10px 14px;
  background: #1b5e20;
}

.site-top-center-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.site-top-brand {
  display: block;
  min-width: 0;
  text-decoration: none;
  line-height: 0;
  z-index: 1;
}

.site-top-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(100%, 280px);
  object-fit: contain;
}

.site-top-domain {
  font-family: "Microsoft YaHei", "微软雅黑", SimHei, "黑体", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: #cc0000;
  -webkit-text-stroke: 1.5px #fff;
  paint-order: stroke fill;
  text-shadow:
    2px 0 0 #fff,
    -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1px 1px 0 #fff,
    -1px -1px 0 #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 彩种切换（台湾 / 香港 / 澳门） ===== */
.lottery-type-switch {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.lottery-type-tab {
  flex: 1;
  margin: 0;
  padding: 10px 8px;
  border: none;
  border-radius: 6px;
  background: #ececec;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}

.lottery-type-tab.active {
  background: #e60012;
  color: #fff;
}

.lottery-type-tab:active {
  opacity: 0.92;
}

/* ===== 顶部开奖条 ===== */
.draw-header {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 8px 10px 8px 12px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.draw-header-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-right: 10px;
  text-align: center;
}

.draw-header-issue {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  line-height: 1.2;
  white-space: nowrap;
}

.draw-header-refresh {
  margin: 0;
  padding: 2px 10px;
  border: none;
  border-radius: 4px;
  background: #e60012;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.4;
  transition: opacity 0.2s;
}

.draw-header-record {
  display: inline-block;
  padding: 1px 6px;
  font-size: 13px;
  font-weight: bold;
  color: #e60012;
  text-decoration: none;
  background: #ffff00;
  line-height: 1.35;
}

.draw-header-balls {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.draw-header-refresh:disabled,
.draw-header-refresh.is-refreshing {
  opacity: 0.75;
  cursor: wait;
}

.draw-header.is-refreshing {
  opacity: 0.92;
}

.header-ball-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-ball {
  width: 100%;
  max-width: 42px;
  height: 42px;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: bold;
  color: #111;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
}

.header-ball-label {
  margin-top: 3px;
  font-size: 13px;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
  line-height: 1.2;
}

.draw-header-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  font-size: 15px;
  font-weight: bold;
  color: var(--orange);
}

.draw-header-loading-spin {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(242, 113, 28, 0.25);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: refresh-spin 0.7s linear infinite;
}

.draw-header-balls.refresh-done {
  animation: header-balls-in 0.45s ease;
}

@keyframes refresh-spin {
  to { transform: rotate(360deg); }
}

@keyframes header-balls-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.draw-header-pending {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  color: var(--orange);
  min-height: 50px;
}

.page.refresh-done {
  animation: page-refresh-in 0.45s ease;
}

.page-refresh-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(238, 242, 246, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  pointer-events: none;
}

.page-refresh-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-refresh-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.page-refresh-spin {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 102, 0, 0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: refresh-spin 0.7s linear infinite;
}

.page-refresh-text {
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
}

@keyframes page-refresh-in {
  from { opacity: 0.85; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page.is-refreshing {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.2s;
}

.ball {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  color: #111;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
}

.ball-label {
  font-size: 11px;
  color: var(--text-light);
  white-space: nowrap;
  line-height: 1.1;
  text-align: center;
}

/* ===== 最新消息条 ===== */
.top-info-strip {
  padding: 0;
  background: #fff;
}

.top-news-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #005a20;
  border-top: 2px solid #004818;
  overflow: hidden;
}

.top-news-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  line-height: 0;
}

.top-news-label {
  flex-shrink: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.top-news-scroll {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
}

.top-news-scroll span {
  display: inline-block;
  padding-left: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  animation: marquee 20s linear infinite;
}

/* ===== 开奖记录下横幅 ===== */
.site-banner-module {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #fff;
}

.site-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

/* ===== 配置图位（独立模块） ===== */
.site-image-strip {
  margin-top: 8px;
  padding: 0;
  background: transparent;
}

.site-image-item {
  display: block;
  margin: 0 0 6px;
  line-height: 0;
}

.site-image-item:last-child {
  margin-bottom: 0;
}

.site-image-item img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

/* ===== 主导航 ===== */
.main-nav {
  display: flex;
  overflow-x: auto;
  background: var(--cyan-gradient);
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--blue-dark);
}

.main-nav::-webkit-scrollbar { display: none; }

.main-nav a {
  flex-shrink: 0;
  padding: 8px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
}

.main-nav a.active,
.main-nav a:first-child {
  background: var(--blue-dark);
}

/* ===== 滚动公告（最新消息等） ===== */
.notice-tag {
  flex-shrink: 0;
  background: var(--cyan-gradient);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: bold;
}

.notice-scroll {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  color: #333;
}

.notice-scroll span {
  display: inline-block;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== 图标网格 ===== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 8px 2px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 2px;
  text-decoration: none;
  color: var(--text);
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--cyan-bg-light);
  border: 1px solid var(--cyan);
}

.icon-item:nth-child(even) .icon-circle {
  background: var(--cyan-bg-stripe);
  border-color: var(--cyan);
}

.icon-item:nth-child(3n) .icon-circle {
  background: var(--cyan-bg-light);
  border-color: var(--cyan);
}

.icon-label {
  font-size: 12px;
  font-weight: normal;
  text-align: center;
  line-height: 1.3;
  color: var(--text);
}

.bottom-icons {
  margin-top: 6px;
  border-top: 1px solid var(--border);
  margin-left: 6px;
  margin-right: 6px;
  overflow: hidden;
}

/* ===== 开奖区 ===== */
.lottery-block {
  margin: 6px;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lottery-tabs {
  display: flex;
  background: var(--cyan-bg-light);
  border-bottom: 1px solid var(--cyan);
}

.lottery-tabs .tab {
  flex: 1;
  padding: 8px 4px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-light);
  cursor: pointer;
  font-weight: normal;
  border-right: 1px solid var(--border);
}

.lottery-tabs .tab:last-child {
  border-right: none;
}

.lottery-tabs .tab.active {
  background: var(--cyan-gradient);
  color: #fff;
  font-weight: bold;
}

.draw-panel {
  padding: 10px;
  background: var(--white);
}

.draw-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}

.draw-top b {
  color: var(--red);
  font-size: 18px;
  font-weight: bold;
}

.countdown {
  font-size: 13px;
  color: var(--text-light);
}

.countdown b {
  color: var(--orange);
  font-size: 15px;
}

.balls-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
}

.ball-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ball-wrap.special {
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px dashed #999;
}

.ball-wrap.special .ball {
  border: none;
}

.draw-bottom {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.status-ok {
  color: var(--green);
  font-weight: bold;
  font-size: 13px;
}

/* ===== 官网域名提示 ===== */
.domain-notice {
  margin-top: 10px;
  padding: 12px 10px 14px;
  background: #007b32;
  border-radius: 8px;
  overflow: hidden;
}

.domain-notice-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.4;
}

.domain-title-yellow {
  color: #ffff00;
}

.domain-title-cyan {
  color: #00ffff;
}

.domain-notice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.domain-notice-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.domain-notice-col span {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
  word-break: break-all;
}

.domain-notice-col:nth-child(1) {
  align-items: flex-start;
  text-align: left;
}

.domain-notice-col:nth-child(2) {
  align-items: center;
  text-align: center;
}

.domain-notice-col:nth-child(3) {
  align-items: flex-end;
  text-align: right;
}

/* ===== 链接网格 ===== */
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
  margin: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.link-grid a {
  display: block;
  padding: 10px 4px;
  text-align: center;
  background: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  border: 1px solid var(--border);
}

.link-grid a.red { color: var(--red); }
.link-grid a.blue { color: var(--blue); }
.link-grid a.green { color: var(--green); }
.link-grid a.purple { color: var(--purple); }

.link-grid-2 { margin-top: 0; }

/* ===== 横幅 ===== */
.banner {
  margin: 6px;
  padding: 12px 14px;
  border-radius: 0;
  text-decoration: none;
  display: block;
  border: 1px solid var(--border);
}

.banner.red,
.banner.green,
.banner.gold,
.banner.blue {
  background: var(--cyan-gradient);
  color: #fff;
  border-color: var(--blue-dark);
  border-radius: var(--radius-sm);
}

.banner-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
}

.banner-sub {
  font-size: 12px;
}

/* ===== 双列链接 ===== */
.two-col-block {
  margin: 6px;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--border);
}

.two-col-row {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.two-col-row:last-child { border-bottom: none; }

.two-col-row a {
  flex: 1;
  padding: 10px 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  color: var(--blue);
  text-align: center;
  border-right: 1px solid var(--border);
}

.two-col-row a:last-child { border-right: none; }

/* ===== 内容区块 ===== */
.block {
  margin: 6px;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--border);
}

.group-title,
.block-header,
.block-header.green,
.block-header.orange,
.block-header.blue,
.block-header.red,
.plan-module-header,
.feature-module-header,
.bs-module-header,
.th-module-header,
.kz-module-header {
  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, .19);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  border: none;
  border-radius: 0;
  text-shadow: none;
}

.group-title {
  margin: 8px 6px 4px;
  border-left: none;
}

.block-header {
  color: #000;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
}

.block-header.green,
.block-header.orange,
.block-header.blue,
.block-header.red {
  background: linear-gradient(#0099FF, #66FFFF, #FFFFFF);
}

.block-list a {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  gap: 6px;
}

.block-list a:last-child { border-bottom: none; }

.item-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}

.item-tag {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: var(--cyan-gradient);
}

.item-tag.hot,
.item-tag.热,
.item-tag.准,
.item-tag.荐,
.item-tag.新,
.item-tag.VIP,
.item-tag.顶,
.item-tag.中,
.item-tag.稳 {
  background: var(--cyan-gradient);
}

.block-list a.hot-item .item-text {
  color: var(--red);
  font-weight: bold;
}

/* ===== API 预测数据 ===== */
.api-loading {
  margin: 10px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--border);
}

.api-error {
  margin: 10px;
  padding: 12px;
  font-size: 13px;
  color: var(--blue-dark);
  background: var(--cyan-bg-light);
  border: 1px solid var(--cyan);
}

.api-meta-bar {
  margin: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text-light);
  background: var(--cyan-bg-light);
  border: 1px solid var(--cyan);
}

.api-meta-bar b { color: var(--keyword-blue); }

/* ===== 计划模块（平特一尾等） ===== */
.plan-module {
  margin: 6px;
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  overflow: hidden;
}

.plan-module-header {
  border-bottom: none;
}

.plan-domain-num {
  color: #ffff00;
  font-weight: 900;
}

.plan-domain-suf {
  color: #fff;
  font-weight: 900;
}

.plan-module-title {
  color: #fff;
  font-weight: 900;
}

.plan-module-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.plan-module-table td {
  padding: 7px 5px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  line-height: 1.3;
  font-weight: bold;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.plan-module-table tr:nth-child(even) td {
  background: var(--cyan-bg-light);
}

.plan-module-table tr.pending td {
  background: var(--cyan-bg-stripe);
}

.plan-col-period {
  width: 18%;
  color: #990000;
  font-weight: 900;
  font-size: 21px;
}

.plan-col-pred {
  color: var(--keyword-blue);
  font-weight: bold;
  font-size: 20px;
}

.plan-pred-main {
  color: var(--keyword-blue);
  font-weight: 900;
}

.plan-pred-slogan {
  color: var(--keyword-blue);
  font-weight: normal;
  font-size: 20px;
}

.plan-col-result {
  width: 22%;
  color: #cc0000;
  font-weight: 900;
  font-size: 20px;
}

/* ===== 单行列表模块（单双中特等） ===== */
.feature-module {
  margin: 6px;
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-module-header {
  border-bottom: none;
}

.feature-domain-num {
  color: #ffff00;
  font-weight: 900;
}

.feature-domain-suf {
  color: #fff;
  font-weight: 900;
}

.feature-module-title {
  color: #fff;
  font-weight: 900;
}

.feature-list {
  background: var(--white);
}

.feature-row {
  padding: 7px 8px;
  text-align: center;
  font-size: 20px;
  line-height: 1.35;
  border-bottom: 1px solid #ddd;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

#nav-odd_even_special .feature-row {
  font-size: 19px;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row.pending {
  background: var(--cyan-bg-stripe);
}

.feature-period {
  color: #008080;
  font-weight: bold;
}

.feature-pred {
  margin: 0 2px;
}

.feature-bracket {
  color: var(--keyword-blue);
  font-weight: bold;
}

.feature-prefix {
  color: var(--keyword-blue);
  font-weight: bold;
}

.feature-part {
  color: var(--keyword-blue);
  font-weight: bold;
}

.feature-part-hit {
  background: var(--cyan-highlight);
  color: var(--keyword-blue-dark);
}

.feature-kai {
  color: #cc0000;
  font-weight: bold;
}

.feature-hit {
  color: #cc0000;
  font-weight: bold;
}

/* ===== 大小中特表格模块 ===== */
.bs-module {
  margin: 6px;
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  overflow: hidden;
}

.bs-module-header {
  border-bottom: none;
}

.bs-domain-num {
  color: #ffff00;
  font-weight: 900;
}

.bs-domain-suf {
  color: #fff;
  font-weight: 900;
}

.bs-module-title {
  color: #fff;
  font-weight: 900;
}

.bs-module-table-wrap {
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.bs-module-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.bs-module-table td {
  padding: 7px 5px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.bs-module-table tr:nth-child(even) td {
  background: var(--cyan-bg-light);
}

.bs-module-table tr.pending td {
  background: var(--cyan-bg-stripe);
}

.bs-col-issue {
  width: 28%;
  color: #111;
  font-weight: 900;
  font-size: 21px;
}

.bs-col-pred {
  color: var(--keyword-blue);
  font-weight: bold;
  font-size: 20px;
}

.bs-col-result {
  width: 25%;
  color: #cc0000;
  font-weight: 900;
  font-size: 20px;
}

/* ===== 三头中特表格模块 ===== */
.th-module {
  margin: 6px;
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  overflow: hidden;
}

.th-module-header {
  border-bottom: none;
}

.th-domain-num {
  color: #ffff00;
  font-weight: 900;
}

.th-domain-suf {
  color: #fff;
  font-weight: 900;
}

.th-module-title {
  color: #fff;
  font-weight: 900;
}

.th-module-table-wrap {
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.th-module-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.th-module-table td {
  padding: 7px 5px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.th-module-table tr:nth-child(even) td {
  background: var(--cyan-bg-light);
}

.th-module-table tr.pending td {
  background: var(--cyan-bg-stripe);
}

.th-col-issue {
  width: 28%;
  color: #111;
  font-weight: 900;
  font-size: 21px;
}

.th-col-pred {
  color: var(--keyword-blue);
  font-size: 20px;
}

.th-part {
  color: var(--keyword-blue);
  font-weight: bold;
}

.th-part-hit {
  background: var(--cyan-highlight);
  color: var(--keyword-blue-dark);
}

.th-col-result {
  width: 25%;
  color: #cc0000;
  font-weight: 900;
  font-size: 20px;
}

/* ===== 绝杀专区表格模块 ===== */
.kz-module {
  margin: 6px;
  background: var(--white);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  overflow: hidden;
}

.kz-module-header {
  border-bottom: none;
}

.kz-domain-num {
  color: #ffff00;
  font-weight: 900;
}

.kz-domain-suf {
  color: #fff;
  font-weight: 900;
}

.kz-module-title {
  color: #fff;
  font-weight: 900;
}

.kz-module-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 19px;
}

.kz-module-table thead th {
  padding: 7px 4px;
  border: 1px solid #ddd;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  background: var(--cyan-gradient);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.kz-module-table tbody td {
  padding: 7px 4px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-size: 19px;
  line-height: 1.35;
  background: #fff;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.kz-module-table tr.pending td {
  background: var(--cyan-bg-stripe);
}

.kz-col-period {
  color: #111;
}

#nav-lose_all_zodiac .kz-module-table th:first-child,
#nav-lose_all_zodiac .kz-col-period,
#nav-best_eight_zodiac .kz-module-table th:first-child,
#nav-best_eight_zodiac .kz-col-period,
#nav-insider_3x .kz-module-table th:first-child,
#nav-insider_3x .kz-col-period,
#nav-insider_5x .kz-module-table th:first-child,
#nav-insider_5x .kz-col-period,
#nav-insider_domestic .kz-module-table th:first-child,
#nav-insider_domestic .kz-col-period,
#nav-triple_must .kz-module-table th:first-child,
#nav-triple_must .kz-col-period {
  width: 46%;
}

#nav-insider_odd_even .kz-module-table th:first-child,
#nav-insider_odd_even .kz-col-period {
  width: 50%;
}

.kz-col-pred {
  color: var(--keyword-blue);
  word-break: break-word;
}

.kz-col-te {
  color: #cc0000;
  font-weight: 900;
}

.kz-col-nums {
  font-size: 16px;
  font-weight: bold;
  word-break: break-word;
}

.kz-val-red {
  color: #cc0000;
  font-weight: 900;
}

.kz-wave-red {
  color: #cc0000;
}

.kz-wave-green {
  color: #008800;
}

.kz-wave-blue {
  color: #0066cc;
}

.kz-part {
  color: var(--keyword-blue);
}

.kz-part-hit {
  background: var(--cyan-highlight);
  color: var(--keyword-blue-dark);
}

.kz-prefix {
  color: var(--keyword-blue);
}

.kz-empty {
  color: #999;
  font-weight: normal;
}

.kz-module-history {
  margin: 6px;
}

.pred-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 19px;
}

.pred-table th {
  background: var(--cyan-gradient);
  color: #fff;
  padding: 7px 5px;
  border: 1px solid var(--border);
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.pred-table td {
  padding: 7px 5px;
  border: 1px solid var(--border);
  vertical-align: middle;
  font-size: 19px;
  font-weight: bold;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.pred-table tr:nth-child(even) td { background: var(--cyan-bg-light); }
.pred-table tr.pending td { background: var(--cyan-bg-stripe); }

.pred-period {
  text-align: center;
  color: var(--text);
  font-weight: 900;
  font-size: 20px;
  width: 28%;
}

.pred-content {
  text-align: center;
  line-height: 1.45;
  font-size: 19px;
  font-weight: bold;
  color: var(--keyword-blue);
}

.pred-line {
  margin-bottom: 4px;
  color: var(--keyword-blue);
}

.pred-num-cell {
  padding: 3px 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--keyword-blue);
}

.pred-result {
  text-align: center;
  font-weight: 900;
  font-size: 19px;
  width: 22%;
  color: #cc0000;
}

.pred-highlight {
  background: var(--cyan-highlight);
  color: var(--keyword-blue-dark);
  padding: 0 2px;
}

.result-hit { color: var(--red); }
.result-miss { color: var(--green); }
.result-pending { color: #999; font-weight: normal; }

.kill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.kill-tag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 17px;
  font-weight: bold;
  border: 1px solid var(--cyan);
  background: var(--cyan-bg-light);
  color: var(--keyword-blue);
}

.triple-results {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.8;
}

.triple-hit-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  font-size: 14px;
  color: #fff;
  background: var(--cyan-gradient);
  border-radius: var(--radius-sm);
}

.triple-miss-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  font-size: 14px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: var(--radius-sm);
}

.pred-subtitle {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 4px;
}

.pred-main-nums {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.8;
  margin-top: 4px;
}

.pred-main-label {
  color: var(--keyword-blue);
  font-weight: bold;
}

.pred-num-grid {
  display: grid;
  gap: 2px;
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}

.kill-tag.kill-empty {
  color: #999;
  background: var(--cyan-bg-light);
}

.draw-status-pending {
  color: var(--orange);
  font-weight: bold;
}

/* ===== 表格 ===== */
.table-block {
  margin: 6px;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--border);
}

.table-block .block-header { position: sticky; left: 0; top: 0; z-index: 1; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}

.data-table th {
  background: var(--cyan-gradient);
  color: #fff;
  padding: 8px 6px;
  border: 1px solid var(--border);
  font-weight: bold;
  font-size: 17px;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.data-table td {
  padding: 8px 6px;
  border: 1px solid var(--border);
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.data-table tr:nth-child(even) td { background: var(--cyan-bg-light); }

.td-hot { color: var(--red); font-weight: bold; }
.td-cold { color: var(--blue); font-weight: bold; }
.td-up { color: var(--red); font-weight: bold; }
.td-down { color: var(--green); font-weight: bold; }

.wave-red { color: var(--ball-red); font-weight: bold; }
.wave-blue { color: var(--ball-blue); font-weight: bold; }
.wave-green { color: var(--ball-green); font-weight: bold; }

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  padding: 16px 12px 14px;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  background: #1b5e20;
  color: #fff;
  margin-top: 0;
}

.footer-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

.footer-text {
  margin: 0 0 6px;
  color: #fff;
  font-weight: normal;
}

.footer-text:last-child {
  margin-bottom: 0;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  margin: 10px 10px;
}

.footer-decor {
  margin-top: 8px;
  text-align: center;
  line-height: 0;
}

.footer-decor img {
  display: inline-block;
  max-width: 300px;
  width: 72%;
  height: auto;
  opacity: 0.9;
  filter: brightness(1.15);
}

.footer-decor-css {
  height: 18px;
  margin: 4px auto 0;
  max-width: 280px;
  background:
    radial-gradient(circle at 0 50%, transparent 6px, rgba(120, 200, 120, 0.55) 7px) left center / 40px 18px no-repeat,
    radial-gradient(circle at 100% 50%, transparent 6px, rgba(120, 200, 120, 0.55) 7px) right center / 40px 18px no-repeat,
    linear-gradient(180deg, rgba(120, 200, 120, 0.5), rgba(80, 160, 80, 0.45)) center / 60% 10px no-repeat;
}

.footer p {
  margin: 0 0 6px;
  color: #fff;
}

.footer p:last-child {
  margin-bottom: 0;
}

.footer-sub {
  margin-top: 6px;
  font-size: 13px;
}

/* ===== 悬浮回到顶部 ===== */
.scroll-top-btn {
  position: fixed;
  right: max(12px, calc(50% - 320px + 12px));
  bottom: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: var(--cyan-gradient);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(0, 188, 212, 0.45),
    0 2px 4px rgba(0, 0, 0, 0.12);
  transform: translateY(16px) scale(0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:active {
  transform: translateY(0) scale(0.94);
  box-shadow:
    0 2px 8px rgba(0, 188, 212, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

.scroll-top-icon {
  display: block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.scroll-top-text {
  display: block;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

/* ===== 24 模块论坛列表样式（参考蓝月亮论坛） ===== */
#sections .plan-module,
#sections .feature-module,
#sections .bs-module,
#sections .th-module,
#sections .kz-module,
#sections .block {
  margin: 0;
  border: 1px solid #bbb;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

#sections .group-title,
#sections .block-header,
#sections .plan-module-header,
#sections .feature-module-header,
#sections .bs-module-header,
#sections .th-module-header,
#sections .kz-module-header {
  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, .19);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  border: none;
  border-radius: 0;
  border-bottom: none;
  text-shadow: none;
}

#sections .mh-blue { color: #0000cc; font-weight: bold; }
#sections .mh-red { color: #cc0000; font-weight: bold; }
#sections .mh-black { color: #000; font-weight: bold; }
#sections .mh-module-title {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
}

#sections .pred-table thead,
#sections .kz-module-table thead,
#sections .th-module-table thead,
#sections .bs-module-table thead {
  display: none;
}

#sections .pred-table,
#sections .kz-module-table,
#sections .plan-module-table,
#sections .th-module-table,
#sections .bs-module-table {
  border: none;
}

#sections .pred-table tbody tr,
#sections .kz-module-table tbody tr,
#sections .plan-module-table tbody tr,
#sections .th-module-table tbody tr,
#sections .bs-module-table tbody tr {
  display: block;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 12px;
  line-height: 1.45;
}

#sections .pred-table tbody tr:last-child,
#sections .kz-module-table tbody tr:last-child,
#sections .plan-module-table tbody tr:last-child,
#sections .th-module-table tbody tr:last-child,
#sections .bs-module-table tbody tr:last-child {
  border-bottom: none;
}

#sections .pred-table tbody tr.pending,
#sections .kz-module-table tbody tr.pending,
#sections .plan-module-table tbody tr.pending,
#sections .th-module-table tbody tr.pending,
#sections .bs-module-table tbody tr.pending {
  background: #fff;
}

#sections .pred-table tbody td,
#sections .kz-module-table tbody td,
#sections .plan-module-table td,
#sections .th-module-table td,
#sections .bs-module-table td {
  display: inline;
  border: none;
  padding: 0;
  background: transparent !important;
  font-family: SimSun, "宋体", serif;
  font-weight: bold;
  font-size: 17px;
  text-align: left;
  vertical-align: baseline;
  white-space: normal;
  word-break: break-word;
}

#sections .pred-table tbody td + td::before,
#sections .kz-module-table tbody td + td::before,
#sections .plan-module-table td + td::before,
#sections .th-module-table td + td::before,
#sections .bs-module-table td + td::before {
  content: "";
}

#sections .pred-period,
#sections .plan-col-period,
#sections .th-col-issue,
#sections .bs-col-issue,
#sections .kz-col-period,
#sections .feature-period {
  color: #000080 !important;
}

#sections .pred-content,
#sections .pred-content .pred-line,
#sections .pred-content .pred-num-cell,
#sections .pred-content .pred-main-label,
#sections .plan-col-pred,
#sections .plan-pred-main,
#sections .plan-pred-slogan,
#sections .th-col-pred,
#sections .th-part,
#sections .bs-col-pred,
#sections .kz-col-pred,
#sections .kz-part,
#sections .kz-prefix,
#sections .feature-part,
#sections .feature-prefix,
#sections .feature-bracket,
#sections .kill-tag {
  color: #000 !important;
}

#sections .pred-result,
#sections .plan-col-result,
#sections .th-col-result,
#sections .bs-col-result,
#sections .kz-col-te,
#sections .feature-kai,
#sections .feature-hit {
  color: #cc0000 !important;
}

#sections .pred-highlight,
#sections .th-part-hit,
#sections .kz-part-hit,
#sections .feature-part-hit {
  background: #ffff00 !important;
  color: #000 !important;
  padding: 0 1px;
}

#sections .feature-list {
  background: #fff;
}

#sections .feature-row {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

#sections .feature-row:last-child {
  border-bottom: none;
}

#sections .feature-row.pending {
  background: #fff;
}

#sections .pred-num-grid {
  display: inline;
  max-width: none;
}

#sections .pred-num-cell {
  display: inline;
  padding: 0 1px;
}

#sections .pred-content,
#sections .pred-content .pred-line,
#sections .plan-col-pred,
#sections .th-col-pred,
#sections .bs-col-pred,
#sections .kz-col-pred,
#sections .feature-pred,
#sections .plan-pred-main,
#sections .plan-pred-slogan,
#sections .feature-prefix,
#sections .feature-bracket,
#sections .kz-prefix,
#sections .poem-row-body {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

#sections .th-part,
#sections .feature-part,
#sections .kz-part,
#sections .pred-num-cell,
#sections .pred-highlight,
#sections .panel-style-xuanji .poem-part {
  display: inline;
  white-space: normal;
  word-break: normal;
}

#sections .bs-module-table-wrap {
  border: none;
}

/* ===== 前三个模块：导航内幕绿色三列表格样式 ===== */
#sections .insider-grid-module {
  margin: 0 0 8px;
  border: 2px solid #008000 !important;
  background: #fff !important;
}

#sections .insider-grid-module .plan-module-header,
#sections .insider-grid-module .feature-module-header,
#sections .insider-grid-module .bs-module-header,
#sections .insider-grid-module .th-module-header,
#sections .insider-grid-module .kz-module-header,
#sections .insider-grid-module .block-header {
  height: auto;
  min-height: 34px;
  padding: 5px 8px;
  background: #90ee90 !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px solid #008000 !important;
  color: #000 !important;
  font-size: 22px;
  font-weight: 900;
}

#sections .insider-grid-module .mh-module-title {
  font-size: 22px;
  font-weight: 900;
}

#sections .insider-grid-module .mh-blue,
#sections .insider-grid-module .mh-red,
#sections .insider-grid-module .mh-black {
  color: #000 !important;
}

#sections .insider-grid-module .plan-module-table,
#sections .insider-grid-module .th-module-table,
#sections .insider-grid-module .bs-module-table,
#sections .insider-grid-module .kz-module-table,
#sections .insider-grid-module .pred-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: none;
}

#sections .insider-grid-module .plan-module-table tbody tr,
#sections .insider-grid-module .th-module-table tbody tr,
#sections .insider-grid-module .bs-module-table tbody tr,
#sections .insider-grid-module .kz-module-table tbody tr,
#sections .insider-grid-module .pred-table tbody tr {
  display: table-row;
  padding: 0;
  border: none;
  background: #fff !important;
}

#sections .insider-grid-module .plan-module-table td,
#sections .insider-grid-module .th-module-table td,
#sections .insider-grid-module .bs-module-table td,
#sections .insider-grid-module .kz-module-table td,
#sections .insider-grid-module .pred-table td {
  display: table-cell;
  border: 1px solid #008000 !important;
  padding: 6px 6px !important;
  background: #fff !important;
  font-family: SimSun, "宋体", serif;
  font-size: 21px !important;
  font-weight: 900 !important;
  text-align: center;
  vertical-align: middle;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

#sections .insider-grid-module .plan-col-period,
#sections .insider-grid-module .th-col-issue,
#sections .insider-grid-module .bs-col-issue,
#sections .insider-grid-module .kz-col-period,
#sections .insider-grid-module .pred-period,
#sections .insider-grid-module .feature-period {
  width: 28%;
  color: #000 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

#sections .insider-grid-module .plan-col-pred,
#sections .insider-grid-module .th-col-pred,
#sections .insider-grid-module .bs-col-pred,
#sections .insider-grid-module .kz-col-pred,
#sections .insider-grid-module .pred-content,
#sections .insider-grid-module .feature-pred,
#sections .insider-grid-module .plan-pred-main,
#sections .insider-grid-module .plan-pred-slogan,
#sections .insider-grid-module .th-part,
#sections .insider-grid-module .kz-part,
#sections .insider-grid-module .kz-prefix,
#sections .insider-grid-module .feature-part,
#sections .insider-grid-module .feature-prefix,
#sections .insider-grid-module .feature-bracket {
  color: #cc0000 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

#sections .insider-grid-module .plan-col-result,
#sections .insider-grid-module .th-col-result,
#sections .insider-grid-module .bs-col-result,
#sections .insider-grid-module .pred-result,
#sections .insider-grid-module .feature-result,
#sections .insider-grid-module .feature-kai,
#sections .insider-grid-module .feature-hit,
#sections .insider-grid-module .kz-col-te,
#sections .insider-grid-module .kz-val-red {
  color: #000 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
}

#sections .insider-grid-module .pred-highlight,
#sections .insider-grid-module .th-part-hit,
#sections .insider-grid-module .kz-part-hit,
#sections .insider-grid-module .feature-part-hit {
  background: #ffff00 !important;
  color: #000 !important;
}

#sections .insider-grid-module .feature-list {
  background: #fff;
  border: none;
}

#sections .insider-grid-module .feature-row {
  display: table;
  width: 100%;
  table-layout: fixed;
  padding: 0;
  border: none;
  background: #fff !important;
}

#sections .insider-grid-module .feature-row .feature-period,
#sections .insider-grid-module .feature-row .feature-pred,
#sections .insider-grid-module .feature-row .feature-result {
  display: table-cell;
  border: 1px solid #008000 !important;
  padding: 6px 6px !important;
  vertical-align: middle;
  text-align: center;
  font-size: 21px !important;
  font-weight: 900 !important;
}

#sections .insider-grid-module .bs-module-table-wrap {
  border: none;
}

#sections .insider-grid-module .plan-module-table td + td::before,
#sections .insider-grid-module .th-module-table td + td::before,
#sections .insider-grid-module .bs-module-table td + td::before,
#sections .insider-grid-module .kz-module-table td + td::before,
#sections .insider-grid-module .pred-table td + td::before {
  content: none;
}

/* ===== th-module 内幕网格（仿参考图两列样式） ===== */
#sections .insider-grid-module.th-module.insider-th-grid,
#sections .insider-grid-module.insider-th-grid {
  margin: 0 0 8px;
  border: 2px solid #008000 !important;
  border-radius: 0;
  background: #fff !important;
  overflow: hidden;
}

#sections .insider-th-grid .th-module-header {
  min-height: 36px;
  padding: 8px 10px;
  background: #008000 !important;
  border: none !important;
  border-bottom: 1px solid #008000 !important;
  text-align: center;
}

#sections .insider-th-grid .insider-th-header-text {
  color: #fff !important;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

#sections .insider-th-grid .th-module-table-wrap {
  border: none;
}

#sections .insider-th-grid .th-module-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#sections .insider-th-grid .th-module-table td {
  border: 1px solid #008000 !important;
  padding: 8px 10px !important;
  background: #fff !important;
  font-family: "Microsoft YaHei", "微软雅黑", SimHei, sans-serif;
  font-size: 16px !important;
  font-weight: normal !important;
  vertical-align: middle;
  text-align: left;
}

#sections .insider-th-grid .insider-th-label {
  width: 22%;
  color: #990099 !important;
  font-weight: bold !important;
  text-align: center !important;
}

#sections .insider-th-grid .insider-th-value {
  width: 78%;
  color: #e60012 !important;
  text-align: left !important;
  line-height: 1.45;
}

#sections .insider-th-grid .insider-th-value-hit {
  color: #000 !important;
  font-size: 20px !important;
  font-weight: bold !important;
}

#sections .insider-th-grid .insider-th-value-hit .th-part,
#sections .insider-th-grid .insider-th-value-hit .th-part-hit {
  color: #000 !important;
  background: transparent !important;
  font-size: 20px !important;
  font-weight: bold !important;
}

#sections .insider-th-grid .insider-th-value .th-part,
#sections .insider-th-grid .insider-th-value .th-part-hit {
  color: #e60012 !important;
  background: transparent !important;
  font-weight: normal !important;
}

#sections .insider-th-grid .insider-th-result {
  color: #000 !important;
  font-weight: bold !important;
}

#sections .insider-th-grid .insider-th-footer {
  padding: 8px 10px 10px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  background: #fff;
}

#sections .insider-th-grid .insider-th-footer-blue {
  color: #0066cc;
}

#sections .insider-th-grid .insider-th-footer-black {
  color: #000;
}

/* ===== 模块2-3：六肖卡片样式（仅样式，保留原内容） ===== */
#sections .panel-style-zodiac {
  margin: 0 0 8px;
  border: 2px solid #008000;
  background: #fff;
  overflow: hidden;
}

#sections .panel-style-zodiac .plan-module-header,
#sections .panel-style-zodiac .feature-module-header,
#sections .panel-style-zodiac .bs-module-header,
#sections .panel-style-zodiac .th-module-header,
#sections .panel-style-zodiac .kz-module-header,
#sections .panel-style-zodiac .block-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  background: #006633 !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
}

#sections .panel-style-zodiac .mh-module-title,
#sections .panel-style-zodiac .mh-blue,
#sections .panel-style-zodiac .mh-red,
#sections .panel-style-zodiac .mh-black {
  color: #fff !important;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 0 2px #00ffff, 0 0 6px rgba(0, 255, 255, 0.45);
}

#sections .panel-style-zodiac thead {
  display: none;
}

#sections .panel-style-zodiac tbody tr:first-child,
#sections .panel-style-zodiac .feature-row:first-child {
  padding: 7px 10px !important;
  background: #ffffe0 !important;
  border-top: 1px solid #888 !important;
  border-bottom: 1px solid #888 !important;
  text-align: center !important;
  font-weight: bold;
}

#sections .panel-style-zodiac tbody tr:first-child td,
#sections .panel-style-zodiac .feature-row:first-child span {
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
}

#sections .panel-style-zodiac .th-col-issue,
#sections .panel-style-zodiac .feature-period,
#sections .panel-style-zodiac .plan-col-period,
#sections .panel-style-zodiac .bs-col-issue,
#sections .panel-style-zodiac .kz-col-period,
#sections .panel-style-zodiac .pred-period {
  color: #008000 !important;
}

#sections .panel-style-zodiac .th-col-pred,
#sections .panel-style-zodiac .feature-pred,
#sections .panel-style-zodiac .plan-col-pred,
#sections .panel-style-zodiac .bs-col-pred,
#sections .panel-style-zodiac .pred-content {
  color: #e60012 !important;
}

#sections .panel-style-zodiac .feature-kai,
#sections .panel-style-zodiac .th-col-result,
#sections .panel-style-zodiac .feature-result,
#sections .panel-style-zodiac .plan-col-result,
#sections .panel-style-zodiac .pred-result {
  color: #008000 !important;
}

#sections .panel-style-zodiac .feature-hit,
#sections .panel-style-zodiac .th-part-hit,
#sections .panel-style-zodiac .pred-highlight {
  display: inline-block;
  padding: 0 4px;
  color: #e60012 !important;
  background: #ffff00 !important;
}

#sections .panel-style-zodiac tbody tr:not(:first-child),
#sections .panel-style-zodiac .feature-row:not(:first-child) {
  display: block;
  padding: 10px 8px !important;
  text-align: center !important;
  border: none !important;
  background: #fff !important;
}

#sections .panel-style-zodiac tbody tr:not(:first-child) td,
#sections .panel-style-zodiac .feature-row:not(:first-child) span {
  display: inline;
  border: none !important;
  color: #000 !important;
  font-size: 17px !important;
  font-weight: bold !important;
}

#sections .panel-style-zodiac .th-part,
#sections .panel-style-zodiac .feature-part,
#sections .panel-style-zodiac .pred-num-cell {
  color: #0000cc !important;
}

#sections .panel-style-zodiac .th-part-hit,
#sections .panel-style-zodiac .feature-part-hit,
#sections .panel-style-zodiac .pred-highlight {
  color: #e60012 !important;
  background: #ffff00 !important;
}

#sections .panel-style-zodiac .feature-list,
#sections .panel-style-zodiac .plan-module-table,
#sections .panel-style-zodiac .th-module-table,
#sections .panel-style-zodiac .bs-module-table,
#sections .panel-style-zodiac .kz-module-table,
#sections .panel-style-zodiac .pred-table {
  border: none !important;
}

/* ===== 模块4-5：四肖八码列表样式（仅样式，保留原内容） ===== */
#sections .panel-style-xuanji {
  margin: 0 0 8px;
  padding: 0;
  border: 3px solid #008000;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

#sections .panel-style-xuanji .plan-module-header,
#sections .panel-style-xuanji .feature-module-header,
#sections .panel-style-xuanji .bs-module-header,
#sections .panel-style-xuanji .th-module-header,
#sections .panel-style-xuanji .kz-module-header,
#sections .panel-style-xuanji .block-header,
#sections .panel-style-xuanji .poem-list-header {
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, #52c878 0%, #4a7a28 45%, #8b6914 100%) !important;
  border: none !important;
  border-bottom: 1px solid #008000 !important;
  box-shadow: none !important;
  text-align: center;
}

#sections .panel-style-xuanji .mh-module-title,
#sections .panel-style-xuanji .mh-blue,
#sections .panel-style-xuanji .mh-red,
#sections .panel-style-xuanji .mh-black,
#sections .panel-style-xuanji .poem-list-header-text {
  color: #ffff00 !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 1px #000;
}

#sections .panel-style-xuanji thead {
  display: none;
}

#sections .panel-style-xuanji tbody tr,
#sections .panel-style-xuanji .feature-row,
#sections .panel-style-xuanji .poem-list-row {
  display: block;
  padding: 8px 10px 10px;
  text-align: center !important;
  border-bottom: 1px solid #000 !important;
  background: #fff !important;
  line-height: 1.55;
}

#sections .panel-style-xuanji tbody tr:last-child,
#sections .panel-style-xuanji .feature-row:last-child,
#sections .panel-style-xuanji .poem-list-row:last-child {
  border-bottom: none !important;
}

#sections .panel-style-xuanji .pred-period,
#sections .panel-style-xuanji .plan-col-period,
#sections .panel-style-xuanji .th-col-issue,
#sections .panel-style-xuanji .bs-col-issue,
#sections .panel-style-xuanji .kz-col-period,
#sections .panel-style-xuanji .feature-period {
  display: inline;
  color: #0000cc !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
}

#sections .panel-style-xuanji .pred-content,
#sections .panel-style-xuanji .plan-col-pred,
#sections .panel-style-xuanji .th-col-pred,
#sections .panel-style-xuanji .bs-col-pred,
#sections .panel-style-xuanji .kz-col-pred,
#sections .panel-style-xuanji .feature-pred,
#sections .panel-style-xuanji .poem-row-body {
  display: block;
  margin-top: 4px;
  color: #000 !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
  text-align: center !important;
}

#sections .panel-style-xuanji .plan-col-pred,
#sections .panel-style-xuanji .feature-pred {
  color: #800000 !important;
}

#sections .panel-style-xuanji .plan-pred-main,
#sections .panel-style-xuanji .feature-part,
#sections .panel-style-xuanji .th-part,
#sections .panel-style-xuanji .kz-part,
#sections .panel-style-xuanji .pred-num-cell,
#sections .panel-style-xuanji .poem-part {
  color: #000 !important;
  font-weight: bold;
}

#sections .panel-style-xuanji .pred-result,
#sections .panel-style-xuanji .plan-col-result,
#sections .panel-style-xuanji .th-col-result,
#sections .panel-style-xuanji .bs-col-result,
#sections .panel-style-xuanji .kz-col-te,
#sections .panel-style-xuanji .feature-result,
#sections .panel-style-xuanji .poem-row-result {
  display: block;
  margin-top: 6px;
  color: #000 !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
  text-align: center !important;
}

#sections .panel-style-xuanji .feature-kai {
  color: #000 !important;
}

#sections .panel-style-xuanji .result-hit,
#sections .panel-style-xuanji .feature-hit,
#sections .panel-style-xuanji .kz-val-red {
  display: inline;
  color: #cc0000 !important;
  background: #ffff00;
  padding: 0 2px;
}

#sections .panel-style-xuanji .result-miss,
#sections .panel-style-xuanji .feature-result .result-miss {
  color: #cc0000 !important;
  background: transparent;
}

#sections .panel-style-xuanji .pred-highlight,
#sections .panel-style-xuanji .th-part-hit,
#sections .panel-style-xuanji .kz-part-hit,
#sections .panel-style-xuanji .feature-part-hit,
#sections .panel-style-xuanji .poem-part-hit {
  background: #ffff00 !important;
  color: #cc0000 !important;
  padding: 0 1px;
}

#sections .panel-style-xuanji tbody td,
#sections .panel-style-xuanji .feature-row span,
#sections .panel-style-xuanji .poem-row-meta {
  display: inline;
  border: none !important;
  padding: 0;
  background: transparent !important;
  vertical-align: baseline;
}

#sections .panel-style-xuanji .poem-row-meta {
  display: block;
  margin-bottom: 4px;
}

#sections .panel-style-xuanji .poem-row-period,
#sections .panel-style-xuanji .poem-row-label {
  color: #0000cc !important;
  font-weight: bold;
}

#sections .panel-style-xuanji .poem-row-label {
  color: #800000 !important;
}

#sections .panel-style-xuanji .plan-module-table,
#sections .panel-style-xuanji .th-module-table,
#sections .panel-style-xuanji .bs-module-table,
#sections .panel-style-xuanji .kz-module-table,
#sections .panel-style-xuanji .pred-table,
#sections .panel-style-xuanji .feature-list,
#sections .panel-style-xuanji .poem-list-body-wrap {
  border: none !important;
  width: 100%;
}

#sections .panel-style-xuanji .plan-module-table-wrap,
#sections .panel-style-xuanji .bs-module-table-wrap,
#sections .panel-style-xuanji .th-module-table-wrap {
  border: none !important;
}

#sections .panel-style-xuanji .plan-pred-slogan,
#sections .panel-style-xuanji .feature-bracket,
#sections .panel-style-xuanji .feature-prefix,
#sections .panel-style-xuanji .kz-prefix {
  color: #000 !important;
  font-weight: bold;
}

/* ===== 第4-5模块：导航论坛列表样式 ===== */
#sections .gate-nav-module {
  margin: 0 0 8px;
  border: 3px double #008000 !important;
  background: #fff !important;
}

#sections .gate-nav-module .gate-nav-top {
  padding: 4px 8px;
  text-align: center;
  background: #fff;
  border-bottom: 3px double #008000;
}

#sections .gate-nav-module .gate-nav-top-text {
  color: #0000cc;
  font-family: SimSun, "宋体", serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.35;
}

#sections .gate-nav-module .plan-module-header,
#sections .gate-nav-module .feature-module-header,
#sections .gate-nav-module .bs-module-header,
#sections .gate-nav-module .th-module-header,
#sections .gate-nav-module .kz-module-header,
#sections .gate-nav-module .block-header {
  height: auto;
  min-height: 34px;
  padding: 5px 8px;
  background: #90ee90 !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1px solid #008000 !important;
  color: #000 !important;
  font-size: 18px;
  font-weight: bold;
}

#sections .gate-nav-module .mh-blue,
#sections .gate-nav-module .mh-red,
#sections .gate-nav-module .mh-black,
#sections .gate-nav-module .mh-module-title {
  color: #000 !important;
  font-weight: bold;
}

#sections .gate-nav-module .pred-table tbody tr,
#sections .gate-nav-module .plan-module-table tbody tr,
#sections .gate-nav-module .th-module-table tbody tr,
#sections .gate-nav-module .bs-module-table tbody tr,
#sections .gate-nav-module .kz-module-table tbody tr {
  display: block;
  padding: 6px 10px;
  text-align: center;
  border-bottom: 1px solid #008000;
  background: #fff !important;
  line-height: 1.45;
}

#sections .gate-nav-module .pred-table tbody tr:last-child,
#sections .gate-nav-module .plan-module-table tbody tr:last-child,
#sections .gate-nav-module .th-module-table tbody tr:last-child,
#sections .gate-nav-module .bs-module-table tbody tr:last-child,
#sections .gate-nav-module .kz-module-table tbody tr:last-child {
  border-bottom: none;
}

#sections .gate-nav-module .pred-table tbody td,
#sections .gate-nav-module .plan-module-table td,
#sections .gate-nav-module .th-module-table td,
#sections .gate-nav-module .bs-module-table td,
#sections .gate-nav-module .kz-module-table td {
  display: inline;
  border: none;
  padding: 0;
  background: transparent !important;
  font-family: SimSun, "宋体", serif;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  vertical-align: baseline;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

#sections .gate-nav-module .feature-list {
  background: #fff;
}

#sections .gate-nav-module .feature-row {
  display: block;
  text-align: center;
  padding: 6px 10px;
  border-bottom: 1px solid #008000;
  background: #fff !important;
  line-height: 1.45;
}

#sections .gate-nav-module .feature-row:last-child {
  border-bottom: none;
}

#sections .gate-nav-module .feature-period,
#sections .gate-nav-module .feature-pred,
#sections .gate-nav-module .feature-result {
  display: inline;
}

#sections .gate-nav-module .pred-period,
#sections .gate-nav-module .plan-col-period,
#sections .gate-nav-module .th-col-issue,
#sections .gate-nav-module .bs-col-issue,
#sections .gate-nav-module .kz-col-period {
  color: #000 !important;
}

#sections .gate-nav-module .kz-prefix,
#sections .gate-nav-module .feature-prefix {
  color: #0000cc !important;
}

#sections .gate-nav-module .pred-content,
#sections .gate-nav-module .plan-col-pred,
#sections .gate-nav-module .plan-pred-main,
#sections .gate-nav-module .th-col-pred,
#sections .gate-nav-module .bs-col-pred,
#sections .gate-nav-module .kz-col-pred,
#sections .gate-nav-module .kz-part,
#sections .gate-nav-module .th-part,
#sections .gate-nav-module .feature-part,
#sections .gate-nav-module .feature-bracket,
#sections .gate-nav-module .feature-pred {
  color: #cc0099 !important;
}

#sections .gate-nav-module .plan-pred-slogan {
  color: #0000cc !important;
}

#sections .gate-nav-module .pred-result,
#sections .gate-nav-module .plan-col-result,
#sections .gate-nav-module .th-col-result,
#sections .gate-nav-module .bs-col-result,
#sections .gate-nav-module .kz-col-te,
#sections .gate-nav-module .kz-val-red,
#sections .gate-nav-module .feature-kai,
#sections .gate-nav-module .feature-result {
  color: #000 !important;
}

#sections .gate-nav-module .feature-hit,
#sections .gate-nav-module .result-hit,
#sections .gate-nav-module .result-miss {
  color: #cc0000 !important;
}

#sections .gate-nav-module .pred-highlight,
#sections .gate-nav-module .kz-part-hit,
#sections .gate-nav-module .th-part-hit,
#sections .gate-nav-module .feature-part-hit {
  background: #ffff00 !important;
  color: #000 !important;
  padding: 0 1px;
}

#sections .gate-nav-module .bs-module-table-wrap {
  border: none;
}

/* ===== 第6个起：欲钱解特双行列表样式 ===== */
#sections .poem-list-module {
  margin: 0 0 8px;
  border: 2px solid #008000;
  background: #fff;
  overflow: hidden;
}

#sections .poem-list-header {
  min-height: 34px;
  padding: 5px 8px;
  background: #90ee90;
  border-bottom: 1px solid #008000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#sections .poem-list-header-text {
  color: #000 !important;
  font-family: SimSun, "宋体", serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

#sections .poem-list-body-wrap {
  background: #fff;
}

#sections .poem-list-row {
  padding: 8px 10px 10px;
  text-align: center;
  border-bottom: 1px solid #008000;
  background: #fff;
  line-height: 1.5;
}

#sections .poem-list-row:last-child {
  border-bottom: none;
}

#sections .poem-list-row.pending {
  background: #fff;
}

#sections .poem-row-meta {
  font-family: SimSun, "宋体", serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 5px;
}

#sections .poem-row-period,
#sections .poem-row-result {
  color: #000 !important;
  font-weight: 900;
}

#sections .poem-row-label {
  color: #ff00ff !important;
  font-weight: 900;
  margin: 0 4px;
}

#sections .poem-row-body {
  font-family: SimSun, "宋体", serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

#sections .poem-part {
  display: inline;
  white-space: normal;
  word-break: normal;
  color: #0000ff !important;
  font-weight: 900;
}

#sections .poem-part-hit {
  display: inline;
  white-space: normal;
  word-break: normal;
  background: #ffff00 !important;
  color: #0000ff !important;
  font-weight: 900;
  padding: 0 2px;
}

/* ===== 第6-7模块：澳利澳解特诗三栏样式 ===== */
#sections .panel-style-poem {
  margin: 0 0 8px;
  border: 2px solid #008000;
  background: #800000;
  overflow: hidden;
}

#sections .panel-style-poem .poem-list-header {
  min-height: 36px;
  padding: 6px 10px;
  background: linear-gradient(180deg, #d4a755 0%, #a07830 45%, #633516 100%) !important;
  border-bottom: 1px solid #008000 !important;
}

#sections .panel-style-poem .poem-list-header-text,
#sections .panel-style-poem .mh-blue,
#sections .panel-style-poem .mh-red,
#sections .panel-style-poem .mh-black {
  color: #ffff00 !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}

#sections .panel-style-poem .poem-list-body-wrap {
  background: #800000;
}

#sections .panel-style-poem .poem-list-row {
  display: grid;
  grid-template-columns: minmax(48px, 64px) minmax(0, 1fr) minmax(48px, 64px);
  grid-template-rows: auto auto;
  padding: 0;
  margin: 0;
  text-align: center;
  border-bottom: 1px solid #008000;
  background: #800000 !important;
  line-height: 1.45;
}

#sections .panel-style-poem .poem-list-row:last-child {
  border-bottom: none;
}

#sections .panel-style-poem .poem-row-meta {
  display: contents;
  margin: 0;
}

#sections .panel-style-poem .poem-row-period {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  color: #fff !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
  border-right: 1px solid #008000;
}

#sections .panel-style-poem .poem-row-label {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin: 0;
  padding: 6px 8px;
  min-width: 0;
  color: #00ff00 !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
  border-bottom: 1px solid #008000;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

#sections .panel-style-poem .poem-row-result {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  color: #fff !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
  border-left: 1px solid #008000;
}

#sections .panel-style-poem .poem-row-body {
  grid-column: 2;
  grid-row: 2;
  display: block;
  padding: 6px 8px 8px;
  min-width: 0;
  color: #fff !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.5;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}

#sections .panel-style-poem .poem-part {
  display: inline;
  white-space: normal;
  word-break: normal;
  color: #fff !important;
  font-weight: bold;
}

#sections .panel-style-poem .poem-part-hit {
  display: inline;
  background: #ffff00 !important;
  color: #cc0000 !important;
  font-weight: bold;
  padding: 0 2px;
}

/* ===== 第8-10模块：三个半波样式 ===== */
#sections .panel-style-bobo {
  margin: 0 0 8px;
  border: 2px solid #008000;
  background: #fff;
  overflow: hidden;
}

#sections .panel-style-bobo .poem-list-header {
  min-height: 36px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #1b5e20 0%, #4a7a28 55%, #8bc34a 100%) !important;
  border-bottom: 2px solid #333 !important;
}

#sections .panel-style-bobo .poem-list-header-text,
#sections .panel-style-bobo .mh-blue,
#sections .panel-style-bobo .mh-red,
#sections .panel-style-bobo .mh-black {
  color: #ffff00 !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: bold;
}

#sections .panel-style-bobo .poem-list-body-wrap {
  background: #fff;
}

#sections .panel-style-bobo .poem-list-row {
  display: block;
  padding: 12px 10px 10px;
  text-align: center;
  border-bottom: 1px dashed #ccc;
  background: #fff !important;
  line-height: 1.55;
}

#sections .panel-style-bobo .poem-list-row:last-child {
  border-bottom: none;
}

#sections .panel-style-bobo .poem-row-meta {
  display: block;
  margin-bottom: 6px;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

#sections .panel-style-bobo .poem-row-period,
#sections .panel-style-bobo .poem-row-result {
  color: #000 !important;
  font-weight: bold;
}

#sections .panel-style-bobo .poem-row-label {
  color: #e60012 !important;
  font-weight: bold;
  margin: 0 2px;
}

#sections .panel-style-bobo .poem-row-label::before {
  content: "【";
  color: #e60012;
}

#sections .panel-style-bobo .poem-row-label::after {
  content: "】";
  color: #e60012;
}

#sections .panel-style-bobo .poem-row-body {
  display: block;
  margin-top: 2px;
  color: #0000ff !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.55;
  text-align: center;
}

#sections .panel-style-bobo .poem-part {
  display: inline;
  white-space: normal;
  word-break: normal;
  color: #0000ff !important;
  font-weight: bold;
}

#sections .panel-style-bobo .poem-part-hit {
  background: #ffff00 !important;
  color: #cc0000 !important;
  display: inline;
  padding: 0 2px;
}

#sections .panel-style-bobo .poem-row-footer {
  margin-top: 10px;
  text-align: center;
}

#sections .panel-style-bobo .poem-row-footer-img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ===== 第11-12模块：特码总纲样式 ===== */
#sections .panel-style-zonggang {
  margin: 0 0 8px;
  border: 2px solid #008000;
  background: #fff;
  overflow: hidden;
}

#sections .panel-style-zonggang .poem-list-header {
  min-height: 36px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #1b5e20 0%, #4a7a28 55%, #8bc34a 100%) !important;
  border-bottom: 2px solid #333 !important;
}

#sections .panel-style-zonggang .poem-list-header-text,
#sections .panel-style-zonggang .mh-blue,
#sections .panel-style-zonggang .mh-red,
#sections .panel-style-zonggang .mh-black {
  color: #ffff00 !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}

#sections .panel-style-zonggang .poem-list-body-wrap {
  background: #fff;
}

#sections .panel-style-zonggang .poem-list-row {
  display: block;
  padding: 12px 10px 10px;
  text-align: center;
  border-bottom: 1px dashed #ccc;
  background: #fff !important;
  line-height: 1.55;
}

#sections .panel-style-zonggang .poem-list-row:last-child {
  border-bottom: none;
}

#sections .panel-style-zonggang .poem-row-meta {
  display: block;
  margin-bottom: 6px;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

#sections .panel-style-zonggang .poem-row-period,
#sections .panel-style-zonggang .poem-row-result {
  color: #e60012 !important;
  font-weight: bold;
}

#sections .panel-style-zonggang .poem-row-label {
  display: inline;
  color: #e60012 !important;
  font-weight: bold;
  background: #ffff00;
  padding: 0 4px;
  margin: 0 2px;
}

#sections .panel-style-zonggang .poem-row-label::before {
  content: "【";
  color: #e60012;
}

#sections .panel-style-zonggang .poem-row-label::after {
  content: "】";
  color: #e60012;
}

#sections .panel-style-zonggang .poem-row-body {
  display: block;
  margin-top: 4px;
  color: #000 !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.55;
  text-align: center;
}

#sections .panel-style-zonggang .poem-part {
  display: inline;
  white-space: normal;
  word-break: normal;
  color: #000 !important;
  font-weight: bold;
}

#sections .panel-style-zonggang .poem-part-hit {
  background: #ffff00 !important;
  color: #e60012 !important;
  display: inline;
  padding: 0 2px;
}

/* ===== 第13-16模块：波色输精光样式 ===== */
#sections .panel-style-wave {
  margin: 0 0 8px;
  border: 2px solid #1b5e20;
  border-radius: 10px 10px 0 0;
  background: #fff;
  overflow: hidden;
}

#sections .panel-style-wave .poem-list-header {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #1b5e20 0%, #3d6b2a 42%, #8b4513 100%) !important;
  border-bottom: 1px dashed #333 !important;
}

#sections .panel-style-wave .poem-list-header-text,
#sections .panel-style-wave .mh-blue,
#sections .panel-style-wave .mh-red,
#sections .panel-style-wave .mh-black {
  color: #ffff00 !important;
  font-family: SimHei, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 2px #000;
}

#sections .panel-style-wave .poem-list-body-wrap {
  background: #fff;
}

#sections .panel-style-wave .poem-list-row {
  display: block;
  padding: 10px 10px 12px;
  text-align: center;
  border-bottom: 1px dashed #ccc;
  background: #fff !important;
  line-height: 1.55;
}

#sections .panel-style-wave .poem-list-row:last-child {
  border-bottom: none;
}

#sections .panel-style-wave .poem-row-meta {
  display: block;
  margin-bottom: 5px;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}

#sections .panel-style-wave .poem-row-period,
#sections .panel-style-wave .poem-row-result {
  color: #000 !important;
  font-weight: bold;
}

#sections .panel-style-wave .poem-row-label {
  color: #e60012 !important;
  font-weight: bold;
  margin: 0 4px;
}

#sections .panel-style-wave .poem-row-body {
  display: block;
  margin-top: 2px;
  color: #0000ff !important;
  font-family: SimSun, "宋体", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.55;
  text-align: center;
}

#sections .panel-style-wave .poem-part {
  display: inline;
  white-space: normal;
  word-break: normal;
  color: #0000ff !important;
  font-weight: bold;
}

#sections .panel-style-wave .poem-part-hit {
  background: #ffff00 !important;
  color: #cc0000 !important;
  display: inline;
  padding: 0 2px;
}

#sections .panel-style-wave .poem-module-footer {
  padding: 8px 10px 10px;
  text-align: center;
  background: #fff;
  border-top: 1px dashed #ccc;
}

#sections .panel-style-wave .poem-module-footer-img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (min-width: 481px) {
  .page {
    min-height: 100vh;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}
