/* 王中王论坛 — 对齐参考站布局 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #eef5fa;
  color: #111;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
.site-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}
.site-head { background: #fff; }
.club-banner-wrap { line-height: 0; }
.club-banner {
  display: block;
  width: 100%;
  height: auto;
}

.nav2 {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 2px;
  background: #fff;
  z-index: 50;
}
.nav2 ul {
  list-style: none;
  margin: 0;
  padding: 2px 0;
  display: flex;
  justify-content: space-between;
}
.nav2 li { width: 25%; padding: 0 2px; }
.nav2 a {
  display: block;
  padding: 7px 2px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border-radius: 50px;
  background: #0a5cda;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav2[data-fixed="fixed"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* 开奖区：沿用默认站 home-lottery-stack / border-ws / tabs 样式 */
.skin-lottery-stack {
  margin: 3px 0;
  padding: 0 2px;
  max-width: 100%;
}
.skin-lottery-stack .tabs {
  margin-left: 0;
  margin-right: 0;
}
.skin-lottery-stack .tabs button {
  background: #e8eef8;
  color: #0a3f96;
}
.skin-lottery-stack .tabs button:not(.active) .tab-date {
  color: #6a8fc0;
}
.skin-lottery-stack .tabs button.active {
  background: #0a5cda;
  color: #fff;
}
.skin-lottery-stack #widget.border-ws {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.skin-notice {
  margin: 6px 3px;
  padding: 8px 10px;
  background: #fff8e6;
  border: 1px solid #f0d9a0;
  font-size: 14px;
  line-height: 1.5;
}

.home-showcase { margin: 6px 0 10px; }
.national-banner {
  display: block;
  width: 100%;
  height: auto;
}
.zodiac-hall {
  margin: 8px 6px 0;
  border: 2px solid #d9a632;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1208, #0c0906);
  color: #f7d47c;
}
.zodiac-hall-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 8px 6px;
  font-size: 18px;
}
.zodiac-hall-title b {
  letter-spacing: 1px;
}
.hall-seal {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f7d47c;
  border-radius: 50%;
  font-size: 13px;
  color: #fff5c9;
}
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px 10px 14px;
}
.zodiac-grid span {
  text-align: center;
  padding: 8px 0;
  border: 1px solid rgba(247, 212, 124, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 16px;
  font-weight: 700;
}

.modules { padding: 0 0 12px; }
.module {
  margin: 8px 3px;
  border: 1px solid #c5d4ea;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 86px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(10, 92, 218, 0.06);
}
.module-title {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  padding: 10px 22px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  color: #fff8dc;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(180deg, #1f6fe0 0%, #0a5cda 55%, #0849b0 100%);
  border-bottom: 1px solid #0849b0;
  white-space: normal;
  word-break: keep-all;
}
.module-title::before,
.module-title::after {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, #b8860b 0%, #ffd700 35%, #fff8dc 50%, #ffd700 65%, #8b6914 100%);
}
.module-title::before { left: 8px; }
.module-title::after { right: 8px; }
.module-body {
  font-size: 15px;
  padding: 0;
  overflow-x: auto;
  background: #fff;
}
.module-body .muted,
.skin-panel-loading {
  color: #888;
  text-align: center;
  padding: 18px 12px;
}
.skin-material-panel .jmxc-rows-inner {
  padding: 8px 8px 12px;
}
.skin-material-panel .jmxc-tip {
  padding: 8px 10px 4px;
  background: #fff;
  border-bottom: 1px solid #e8eef8;
}
.skin-material-panel .jmxc-tip-row {
  font-size: 14px;
  color: #0a3f96;
}
/* 吃肉吃菜吃草：肉 / 菜 / 草 左中右三组 */
.skin-material-panel .jmxc-tip-row--ccr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.skin-material-panel .jmxc-tip-row--ccr > span {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
}
.skin-material-panel .jmxc-tip-row--ccr > span:nth-child(1) {
  text-align: left;
}
.skin-material-panel .jmxc-tip-row--ccr > span:nth-child(2) {
  text-align: center;
}
.skin-material-panel .jmxc-tip-row--ccr > span:nth-child(3) {
  text-align: right;
}
.skin-material-panel .jmxc-rows-inner .text.juzhong.waibiankuang {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 6px;
  padding: 10px 8px;
  text-align: center;
  border: 1px solid #0a5cda;
  border-radius: 5px;
  background: #fff;
  color: #0a3f96;
  font-weight: 700;
}
.skin-material-panel .jmxc-hl-hit,
.skin-material-panel .jmxc-rows-inner .text.juzhong.waibiankuang .jmxc-hl-hit,
.skin-material-panel .jmxc-rows-inner .text.juzhong.waibiankuang .bg-ffeb3b {
  background-color: #ffff00 !important;
  color: #ff0000 !important;
  font-weight: 800;
  padding: 0 2px;
  border-radius: 2px;
}
.skin-material-panel .jmxc-hl-miss,
.skin-material-panel .jmxc-rows-inner .text.juzhong.waibiankuang .jmxc-hl-miss {
  background-color: #ff0000 !important;
  color: #ffff00 !important;
  font-weight: 800;
  padding: 0 2px;
  border-radius: 2px;
}
.skin-material-panel .jmxc-rows-inner .text.juzhong.waibiankuang:last-child {
  margin-bottom: 0;
}
.skin-material-panel .lw12m-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.skin-material-panel .lw12m-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 10px;
  line-height: 1.5;
}
.skin-material-panel .lw12m-title {
  color: #0a3f96;
  font-weight: 800;
}
.skin-material-panel .lw12m-line {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  column-gap: 16px;
  width: 100%;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: center;
}
.skin-material-panel .lw12m-group {
  white-space: nowrap;
  text-align: center;
}
.skin-material-panel .lx12m-block .lw12m-group {
  min-width: 5.5em;
}
.skin-material-panel .ds4x-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.skin-material-panel .ds4x-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 10px;
  line-height: 1.5;
  width: 100%;
}
.skin-material-panel .ds4x-line {
  line-height: 1.55;
  text-align: center;
  width: 100%;
}
.skin-material-panel .ds10-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.skin-material-panel .ds10-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 10px;
  line-height: 1.5;
  width: 100%;
}
.skin-material-panel .ds10-title {
  color: #0a3f96;
  font-weight: 800;
}
.skin-material-panel .ds10-line {
  line-height: 1.55;
  text-align: center;
  width: 100%;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.skin-material-panel .ds10-line .jmxc-hl-hit {
  padding: 0 2px;
}
.skin-material-panel .ma16-block {
  gap: 2px;
}
.skin-material-panel .ma16-block .ds10-head {
  gap: 4px 8px;
}
.skin-material-panel .bxbm-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.skin-material-panel .bxbm-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 8px;
  line-height: 1.5;
  width: 100%;
}
.skin-material-panel .bxbm-title {
  color: #0a3f96;
  font-weight: 800;
}
.skin-material-panel .bxbm-body {
  display: inline-grid;
  grid-template-columns: max-content max-content;
  column-gap: 0;
  row-gap: 2px;
  justify-items: start;
  align-items: baseline;
  text-align: left;
}
.skin-material-panel .bxbm-line {
  display: contents;
}
.skin-material-panel .bxbm-lab {
  white-space: nowrap;
  line-height: 1.55;
}
.skin-material-panel .bxbm-val {
  white-space: nowrap;
  line-height: 1.55;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.skin-material-panel .bxbm-block .jmxc-hl-hit {
  padding: 0 !important;
}
.skin-material-panel .x2m8-block .st15m-line {
  text-align: center;
}
.skin-material-panel .x2m8-block .st15m-lines {
  align-items: center;
}
.skin-material-panel .st15m-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.skin-material-panel .st15m-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 8px;
  line-height: 1.5;
  width: 100%;
}
.skin-material-panel .st15m-title {
  color: #0a3f96;
  font-weight: 800;
}
.skin-material-panel .st15m-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.skin-material-panel .st15m-line {
  line-height: 1.55;
  text-align: left;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* 命中高亮不加左右 padding，避免撑宽导致【错位 */
.skin-material-panel .st15m-block .jmxc-hl-hit {
  padding: 0 !important;
}
.skin-material-panel .jmxc-rows-inner .text.juzhong.waibiankuang.cf9x8m-block {
  padding: 8px 4px;
}
.skin-material-panel .cf9x8m-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.skin-material-panel .cf9x8m-line1 {
  width: 100%;
  text-align: center;
  line-height: 1.4;
  overflow: hidden;
}
.skin-material-panel .cf9x8m-line1-inner {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(10.5px, 3.05vw, 15px);
  max-width: 100%;
}
.skin-material-panel .cf9x8m-line1-inner > .color-1e90ff,
.skin-material-panel .cf9x8m-line1-inner > .cf9x8m-tag,
.skin-material-panel .cf9x8m-line1-inner > .cf9x8m-zodiacs,
.skin-material-panel .cf9x8m-line1-inner > .cf9x8m-open {
  margin: 0 2px;
}
.skin-material-panel .cf9x8m-tag {
  color: #c41e3a;
  font-weight: 800;
}
.skin-material-panel .cf9x8m-zodiacs {
  color: #0a3f96;
  font-weight: 800;
  letter-spacing: 0;
}
.skin-material-panel .cf9x8m-zodiacs .jmxc-hl-hit {
  padding: 0 1px;
}
.skin-material-panel .cf9x8m-block .jmxc-result-chip {
  padding: 0 2px;
}
.skin-material-panel .cf9x8m-line2 {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 8px;
  line-height: 1.45;
  width: 100%;
  white-space: nowrap;
  font-size: clamp(12px, 3.3vw, 15px);
}
.skin-material-panel .cf9x8m-lab {
  color: #c41e3a;
  font-weight: 800;
  flex-shrink: 0;
}
.skin-material-panel .cf9x8m-nums {
  color: #0a3f96;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.skin-material-panel .cf9x8m-line3 {
  color: #c41e3a;
  font-weight: 800;
  font-size: clamp(12px, 3.2vw, 14px);
  line-height: 1.45;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.skin-material-image-wrap {
  padding: 8px;
}
.skin-material-image-wrap .material-tips-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.skin-material-panel .material-feed-content {
  padding: 0;
}
.skin-material-panel .material-feed-row {
  border-bottom-color: #e8eef8;
}
.skin-material-panel a.material-feed-row:hover {
  background: rgba(10, 92, 218, 0.06);
}
.skin-material-panel .material-feed-badge {
  background: #0a5cda;
}
.skin-material-panel .material-feed-period {
  color: #c00;
  font-weight: 700;
}

.feed-row {
  display: grid;
  grid-template-columns: 72px 90px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 8px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}
.feed-badge {
  background: #0a5cda;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 12px;
}
.feed-period { color: #c00; }
.feed-author { color: #666; font-size: 12px; }

.home-ads { padding: 4px 6px; }
.home-ads img {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px 0;
  border-radius: 4px;
}
.site-footer {
  text-align: center;
  color: #888;
  font-size: 12px;
  padding: 12px 8px 24px;
}

.skin-history-modal[hidden] { display: none !important; }
.skin-history-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.skin-history-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 48, 0.52);
  backdrop-filter: blur(2px);
}
.skin-history-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  height: min(88vh, 920px);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(10, 40, 100, 0.28);
  border: 1px solid #0a5cda;
}
.skin-history-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f3f8ff 0%, #fff 100%);
  border-bottom: 1px solid #d6e4f7;
  color: #0a3f96;
  font-size: 17px;
  line-height: 1.3;
}
.skin-history-header b {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.skin-history-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef4fc;
  color: #355a93;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.skin-history-close:hover {
  background: #dce9fb;
  color: #0a5cda;
}
.skin-history-list {
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  background: #f5f8fc;
  -webkit-overflow-scrolling: touch;
}
.skin-history-body {
  padding: 10px 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skin-history-status {
  padding: 48px 16px;
  text-align: center;
  color: #6b7f9c;
  font-size: 14px;
}
.skin-history-status--error { color: #c0392b; }
.skin-history-foot {
  padding: 12px 10px 20px;
  text-align: center;
  color: #7a8fa8;
  font-size: 12px;
}
.skin-history-foot--error { color: #c0392b; }
.skin-history-foot[hidden] { display: none; }
.skin-history-item {
  background: #fff;
  border: 1px solid #d9e5f5;
  border-radius: 10px;
  padding: 10px 10px 8px;
  box-shadow: 0 1px 0 rgba(10, 92, 218, 0.04);
}
.skin-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding: 0 2px 6px;
  border-bottom: 1px dashed #e2ebf6;
}
.skin-history-period {
  color: #123a74;
  font-size: 14px;
  font-weight: 700;
}
.skin-history-date {
  color: #6a7f9c;
  font-size: 12px;
  white-space: nowrap;
}
.skin-history-balls {
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.skin-history-balls .border-box-body,
.skin-history-balls .border-box-body-bd {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.skin-history-balls .van-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}
.skin-history-balls .tp,
.skin-history-balls .tc {
  flex: 0 0 auto;
}
.skin-history-balls .icon-text {
  transform-origin: top center;
}
.skin-history-balls .connect {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 28px;
  padding: 0 1px;
}

@media (min-width: 800px) {
  .site-shell,
  .nav2 { max-width: 1080px; }
  .module-title { font-size: 28px; }
  .nav2 a { font-size: 16px; padding: 8px; }
}
@media (max-width: 520px) {
  .nav2 a { font-size: 12px; padding: 6px 1px; }
  .module-title { font-size: 18px; }
  .feed-row { grid-template-columns: 64px 1fr; }
  .feed-period,
  .feed-author { display: none; }
  .zodiac-hall-title { font-size: 15px; }
  .skin-history-modal { padding: 0; align-items: stretch; }
  .skin-history-dialog {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .skin-history-period { font-size: 13px; }
  .skin-history-date { font-size: 11px; }
  .skin-history-balls .icon-text {
    transform: scale(0.92);
  }
}

/* 右下角回顶部 */
.floating-nav .skin-btn-top {
  background: #0a5cda;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
}
.floating-nav .skin-btn-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.floating-nav .skin-btn-top:hover {
  background: #0849b0;
}

/* —— 穿插卡：今日焦点 / 财经快报 —— */
.jrjd-card {
  --jrjd-primary: #006644;
  --jrjd-border: #2e8b57;
  --jrjd-bg: #f3faf5;
  --jrjd-yellow: #fff8e0;
  --jrjd-beige: #faf6eb;
  --jrjd-orange-border: #e8c98a;
  --jrjd-ball: #2aa89a;
  margin: 8px 6px;
  padding: 10px 12px 12px;
  border: 1px solid var(--jrjd-border);
  border-radius: 6px;
  background: var(--jrjd-bg);
}
.jrjd-card[data-theme="blue"] {
  --jrjd-primary: #0a4f8a;
  --jrjd-border: #3a7fc0;
  --jrjd-bg: #f2f7fc;
  --jrjd-yellow: #e8f2ff;
  --jrjd-beige: #eef4fa;
  --jrjd-orange-border: #9bb8d4;
  --jrjd-ball: #3a8fd4;
}
.jrjd-card[data-theme="red"] {
  --jrjd-primary: #a02828;
  --jrjd-border: #c45a5a;
  --jrjd-bg: #fdf5f5;
  --jrjd-yellow: #fff0e8;
  --jrjd-beige: #faf0ee;
  --jrjd-orange-border: #e0b0a0;
  --jrjd-ball: #d45a5a;
}
.jrjd-card[data-theme="purple"] {
  --jrjd-primary: #5a2a7a;
  --jrjd-border: #8a5aaa;
  --jrjd-bg: #f8f4fb;
  --jrjd-yellow: #f5ecff;
  --jrjd-beige: #f3eef8;
  --jrjd-orange-border: #c4a8d8;
  --jrjd-ball: #8a5aaa;
}
.jrjd-card[data-theme="orange"] {
  --jrjd-primary: #8a4a10;
  --jrjd-border: #d4a060;
  --jrjd-bg: #fffaf2;
  --jrjd-yellow: #fff3d9;
  --jrjd-beige: #faf4e8;
  --jrjd-orange-border: #e0c090;
  --jrjd-ball: #d4893a;
}
.jrjd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.jrjd-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--jrjd-primary);
  line-height: 1.2;
  flex: 0 1 auto;
}
.jrjd-lot {
  flex: 1 1 auto;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--jrjd-primary);
  line-height: 1.2;
  white-space: nowrap;
}
.jrjd-period {
  font-size: 14px;
  color: var(--jrjd-primary);
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
}
.jrjd-rule {
  height: 0;
  border: 0;
  border-top: 1px solid var(--jrjd-border);
  margin: 8px 0 10px;
}
.jrjd-six {
  background: var(--jrjd-yellow);
  border-radius: 6px;
  text-align: center;
  padding: 8px 6px;
}
.jrjd-six-lab {
  font-size: 14px;
  color: var(--jrjd-primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.jrjd-six-zodiacs {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #2a1a0a;
  padding-left: 0.28em;
}
.jrjd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0;
}
.jrjd-cell {
  background: #f7f7f5;
  border-radius: 4px;
  text-align: center;
  padding: 6px 4px;
}
.jrjd-cell .lab {
  font-size: 12px;
  color: #556;
  margin-bottom: 2px;
}
.jrjd-cell .val {
  font-size: 16px;
  font-weight: 700;
  color: var(--jrjd-primary);
  word-break: break-all;
}
.jrjd-eight {
  border: 1px solid var(--jrjd-orange-border);
  background: var(--jrjd-beige);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
}
.jrjd-eight-lab {
  font-size: 14px;
  font-weight: 600;
  color: var(--jrjd-primary);
}
.jrjd-balls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  justify-items: center;
  margin-top: 8px;
}
.jrjd-ball {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--jrjd-ball);
  color: #fff;
  font-weight: 700;
  line-height: 36px;
  font-size: 14px;
  text-align: center;
}
.jrjd-poem {
  text-align: center;
  margin-top: 10px;
  line-height: 1.55;
  color: #222;
  font-size: 14px;
}
.jrjd-poem-title {
  color: var(--jrjd-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

/* —— 穿插卡：泳池 / 红运（后台底图） —— */
.wzw-promo {
  --promo-badge: linear-gradient(90deg, #3a7fd4, #1a3a7a);
  --promo-badge-glow: rgba(80, 150, 255, 0.55);
  margin: 8px 6px;
  min-height: 420px;
  border-radius: 12px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.wzw-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.05) 38%,
    rgba(0, 0, 0, 0.35) 62%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}
.wzw-promo > * {
  position: relative;
  z-index: 1;
}
.wzw-promo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 0;
  gap: 8px;
}
.wzw-promo-period,
.wzw-promo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
}
.wzw-promo-period {
  background: rgba(30, 30, 30, 0.72);
}
.wzw-promo-tag {
  background: #c41e1e;
}
.wzw-promo-hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 16px 12px;
  gap: 10px;
}
.wzw-promo-brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 2px rgba(0, 0, 0, 0.4);
  line-height: 1.15;
}
.wzw-promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  max-width: calc(100% - 24px);
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--promo-badge);
  box-shadow: 0 0 0 2px var(--promo-badge-glow), 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.wzw-promo[data-promo="hongyun"] {
  --promo-badge: #a6434d;
  --promo-badge-glow: rgba(180, 70, 80, 0.45);
}
.wzw-promo-panel {
  margin: 0 10px 12px;
  padding: 12px 14px 14px;
  border-radius: 14px;
  background: rgba(28, 28, 28, 0.62);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wzw-promo-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.wzw-promo-row .lab {
  flex: 0 0 auto;
  color: #f1d882;
  font-weight: 700;
  white-space: nowrap;
}
.wzw-promo-row .val {
  flex: 1;
  text-align: right;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  word-break: break-all;
}
.wzw-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.wzw-promo-cell {
  background: rgba(0, 0, 0, 0.38);
  border-radius: 10px;
  text-align: center;
  padding: 8px 6px;
}
.wzw-promo-cell .lab {
  font-size: 13px;
  color: #f1d882;
  font-weight: 700;
  margin-bottom: 2px;
}
.wzw-promo-cell .val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .jrjd-title { font-size: 17px; }
  .jrjd-lot { font-size: 13px; }
  .jrjd-period { font-size: 12px; }
  .jrjd-six-zodiacs { font-size: 17px; letter-spacing: 0.18em; }
  .jrjd-ball { width: 32px; height: 32px; line-height: 32px; font-size: 13px; }
  .wzw-promo { min-height: 380px; }
  .wzw-promo-brand { font-size: 24px; }
  .wzw-promo-badge { font-size: 14px; min-height: 28px; }
  .wzw-promo-row { font-size: 13px; }
  .wzw-promo-cell .val { font-size: 15px; }
}
