/* ===== 重置 & 变量 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1e4d8c;
  --primary-dark: #163a6b;
  --primary-darker: #0f2a4d;
  --primary-light: #e8f0fa;
  --primary-mid: #2a6bc4;

  --red: #1e4d8c;
  --red-dark: #163a6b;
  --red-light: #e8f0fa;
  --gold: #c9a227;
  --gold-light: #f5e6a8;
  --green: #1e4d8c;
  --green-light: #e8f0fa;
  --blue: #1565c0;
  --bg: #f0f3f8;
  --white: #ffffff;
  --text: #1a2433;
  --text-muted: #5a6575;
  --border: #d5deea;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(30,77,140,.12);
  --radius: 8px;
  --red-ball: #e53935;
  --blue-ball: #1e88e5;
  --green-ball: #43a047;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,122,77,.12);
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  background: linear-gradient(180deg, #f2f5fa 0%, #e6ecf4 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(12px, 4vw, 24px);
}

a { color: inherit; text-decoration: none; }

/* ===== 顶部信息栏 ===== */
.top-bar {
  background: var(--red-dark);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  height: 32px;
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.top-marquee {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.marquee-label {
  background: var(--gold);
  color: #000;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.marquee-track {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  position: relative;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 18s linear infinite;
}

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

.top-live {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ===== 官方头部 ===== */
.site-header {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-bottom: none;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-darker) 0%, var(--primary) 50%, var(--primary-mid) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo：外圈绿色 + 内圈绿色 */
.brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #005a38;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,122,77,.35);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.emblem-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b368, var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: .04em;
}

.official-seal {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #e8c040);
  color: var(--primary-darker);
  font-size: .62rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.brand-text p {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 4px;
}

.main-nav a {
  padding: 8px 16px;
  font-size: .88rem;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all .2s;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-wechat {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0,122,77,.3);
}

.nav-wechat:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-darker)) !important;
  color: #fff !important;
}

/* ===== 横幅 ===== */
.banner {
  position: relative;
  background: linear-gradient(135deg, #003d26 0%, var(--primary-dark) 30%, var(--primary) 65%, #00a060 100%);
  padding: 48px 0;
  color: #fff;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,.02) 40px,
      rgba(255,255,255,.02) 41px
    );
  pointer-events: none;
}

.banner-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,215,0,.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(7,193,96,.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
  pointer-events: none;
}

.banner-deco::before,
.banner-deco::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
}

.banner-deco::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
}

.banner-deco::after {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -40px;
}

.banner .container {
  position: relative;
  z-index: 1;
}

.banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.period-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: .85rem;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.period-tag strong { font-size: 1.1rem; color: var(--gold-light); }

.banner h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
  letter-spacing: .06em;
}

.banner-official-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.official-seal-lg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  backdrop-filter: blur(4px);
}

.price-official-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--gold), #e8c040);
  color: var(--primary-darker);
  padding: 5px 16px;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.price-official-badge strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.banner-desc {
  opacity: .9;
  font-size: .9rem;
  margin-bottom: 12px;
}

.banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.feature-tag.feature-hot {
  background: linear-gradient(135deg, rgba(212,160,23,.35), rgba(240,192,64,.25));
  border-color: rgba(240,192,64,.5);
  color: var(--gold-light);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(240,192,64,0); }
  50% { box-shadow: 0 0 12px rgba(240,192,64,.4); }
}

.banner-urgent {
  display: inline-block;
  background: rgba(255,215,0,.15);
  border: 1px solid rgba(255,215,0,.35);
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.banner-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 18px 0;
  backdrop-filter: blur(8px);
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  opacity: .8;
  margin-top: 4px;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* ===== 卖点亮点条 ===== */
.highlights-bar {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5fbf8, #fff);
  border: 1px solid #c8e6d4;
  border-radius: 10px;
  padding: 14px 12px;
  transition: transform .2s, box-shadow .2s;
}

.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,122,77,.12);
}

.highlight-card strong {
  display: block;
  font-size: .88rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-card.highlight-price {
  background: linear-gradient(135deg, #fff9e6, #fff);
  border-color: #e8d48a;
}

.highlight-card.highlight-price strong {
  color: #8a6d00;
  font-size: 1rem;
}

.highlight-card p {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ===== 平特卡片 ===== */
.yixiao-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.15);
  color: var(--text);
  border: 2px solid rgba(0,160,96,.35);
  max-width: 100%;
  min-width: 0;
}

.yixiao-card-top {
  background: linear-gradient(90deg, #b8860b, #d4a017, #f0c040);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.official-badge {
  font-size: .8rem;
  font-weight: 800;
  color: #000;
  letter-spacing: .05em;
  white-space: nowrap;
}

.update-time {
  font-size: .75rem;
  color: rgba(0,0,0,.65);
  white-space: nowrap;
  font-weight: 700;
}

/* ===== 加密 / 刮刮乐区域 ===== */
.yixiao-reveal-area {
  position: relative;
  min-height: 180px;
}

.yixiao-main {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 20px;
}

/* 锁定面板 */
.lock-panel {
  padding: 16px 16px 18px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.yixiao-reveal-area.locked .yixiao-main {
  visibility: hidden;
  position: absolute;
  pointer-events: none;
}

.encrypted-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f4fbf7 0%, #eaf4ee 100%);
  border: 1px solid rgba(0,122,77,.14);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 14px;
  min-height: 176px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.enc-ghost {
  position: absolute;
  inset: -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  filter: blur(11px);
  opacity: .72;
  transform: scale(1.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.enc-ghost-balls {
  display: flex;
  gap: 12px;
}

.enc-ghost-balls span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4efe3, #fff);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(0,122,77,.18);
}

.enc-ghost-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.enc-ghost-nums {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: .12em;
}

.enc-frost {
  position: relative;
  z-index: 1;
  padding: 22px 16px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.46) 100%);
}

.encrypted-box .ico-xl {
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 24px rgba(0,61,38,.16);
  margin-bottom: 8px;
  color: var(--primary-darker);
}

.encrypted-box .svg-icon {
  stroke: currentColor;
}

.enc-icon { font-size: 2rem; margin-bottom: 6px; }

.enc-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--primary-darker);
  margin-bottom: 6px;
  letter-spacing: .04em;
}

.enc-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.enc-zodiac {
  font-size: 2rem;
  font-weight: 900;
  color: #ccc;
  letter-spacing: 4px;
  filter: blur(2px);
  user-select: none;
}

.enc-nums {
  font-size: 1rem;
  color: #bbb;
  letter-spacing: .1em;
  filter: blur(1px);
  user-select: none;
}

.enc-sub {
  font-size: .78rem;
  color: #6b7c74;
}

.code-form {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.code-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  text-align: center;
  letter-spacing: .15em;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}

.code-input:focus { border-color: var(--red); }

.code-input.shake {
  animation: shake .4s;
  border-color: var(--red);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.btn-verify {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  font-family: inherit;
}

.btn-verify:hover { background: var(--red-dark); }

.code-error {
  font-size: .78rem;
  color: var(--red);
  min-height: 18px;
  margin-bottom: 4px;
}

.code-footer {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.link-wechat {
  color: #07c160;
  font-weight: 700;
}

.link-wechat:hover { text-decoration: underline; }

/* 刮刮乐 */
.scratch-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

#scratchCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.scratch-tip {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  color: rgba(0,0,0,.5);
  pointer-events: none;
  z-index: 11;
  background: rgba(255,255,255,.7);
  padding: 3px 12px;
  border-radius: 10px;
  white-space: nowrap;
}

.zodiac-triple {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.zodiac-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,122,77,.2);
}

.zodiac-char {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.zodiac-label {
  font-size: .75rem;
  color: var(--text-muted);
  margin: 4px 0 6px;
}

.yixiao-title {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.yixiao-numbers {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.yixiao-hint {
  font-size: .75rem;
  color: #aaa;
}


/* ===== 倒计时条 ===== */
.countdown-bar {
  background: linear-gradient(90deg, #fff 0%, var(--primary-light) 50%, #fff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0,122,77,.06);
}

.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cd-label { font-size: .9rem; color: var(--text-muted); }
.cd-label strong { color: var(--red); }

.cd-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cd-block {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  text-align: center;
  min-width: 52px;
  box-shadow: 0 2px 8px rgba(0,122,77,.25);
}

.cd-block b {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.cd-block small { font-size: .65rem; opacity: .8; }

.cd-sep {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  padding-bottom: 12px;
}

.cd-time { font-size: .8rem; color: var(--text-muted); }

/* ===== 通用区块 ===== */
.section { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head-left {
  flex: 1;
  min-width: 200px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}

.title-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,122,77,.3);
}

.section-desc {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-desc a {
  color: var(--primary);
  font-weight: 700;
}

.hit-badge {
  background: var(--green-light);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .85rem;
  border: 1px solid #a5d6a7;
  font-weight: 600;
}

.hit-badge strong { font-size: 1.1rem; }

/* ===== 历史中奖表格 ===== */
.history-section {
  background: var(--white);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--gold)) 1;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow);
}

.hit-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: .88rem;
}

.hit-table thead {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: #fff;
}

.hit-table th {
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  font-size: .82rem;
}

.hit-table td {
  padding: 11px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.hit-table tbody tr:hover td { background: var(--red-light); }

.hit-table tbody tr.row-hit td { background: #f9fff9; }

.hit-table tbody tr.row-pending td {
  background: linear-gradient(90deg, #fffbeb, #fff8e8);
}

.hit-table tbody tr.row-pending:hover td {
  background: #fff3d6;
}

.td-zodiac-locked {
  color: #c9a227 !important;
  letter-spacing: .12em;
  font-size: .9rem !important;
}

.pending-dash {
  color: #c4a035;
  font-weight: 700;
  font-size: .82rem;
}

.td-period { font-weight: 700; color: var(--text); }

.td-zodiac {
  font-size: .95rem;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}

.td-special-num {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}

/* 表格内迷你球号 */
.td-pingma { padding: 8px 10px !important; }

.mini-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  justify-content: center;
  max-width: 260px;
  margin: 0 auto;
}

.mini-ball-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mini-zodiac {
  font-size: .68rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.mini-ball-item.is-hit .mini-ball {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold), 0 0 12px rgba(201, 162, 39, .55);
  transform: scale(1.08);
}

.mini-zodiac.is-hit,
.tema-zodiac.is-hit {
  color: #b8860b;
  background: linear-gradient(180deg, #fff4c2, #f0d060);
  padding: 1px 5px;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(201, 162, 39, .45);
}

.tema-cell.is-hit .mini-ball {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold), 0 0 12px rgba(201, 162, 39, .55);
}

.mini-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mini-ball.red { background: var(--red-ball); }
.mini-ball.blue { background: var(--blue-ball); }
.mini-ball.green { background: var(--green-ball); }

.mini-ball.special {
  width: 32px;
  height: 32px;
  font-size: .72rem;
  border: 2px solid var(--gold);
}

.tema-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tema-zodiac {
  font-size: 1rem;
  font-weight: 800;
  color: var(--red);
}

.td-date {
  white-space: nowrap;
  font-size: .8rem;
}

.badge-hit {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 700;
}

.badge-miss {
  display: inline-block;
  background: #e0e0e0;
  color: #999;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: .75rem;
}

.badge-pending {
  display: inline-block;
  background: #fff3e0;
  color: #e65100;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: .75rem;
  font-weight: 600;
}

/* ===== 开奖结果 ===== */
.draw-section {
  background: var(--white);
  padding-top: 28px;
  padding-bottom: 20px;
}

.draw-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  text-align: center;
  position: relative;
}

.draw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--gold));
}

.draw-card-head {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.draw-card-head strong { color: var(--red); font-size: 1rem; }

.draw-balls-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(6px, 1.5vw, 10px);
}

.draw-special-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 10px);
  flex-shrink: 0;
  height: clamp(36px, 9vw, 46px);
}

.balls-row {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(6px, 1.5vw, 10px);
  margin-bottom: 0;
  flex-shrink: 0;
}

.ball-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ball-zodiac {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.balls-divider {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 4px;
}

.ball {
  width: clamp(36px, 9vw, 46px);
  height: clamp(36px, 9vw, 46px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(.75rem, 2.5vw, .95rem);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  flex-shrink: 0;
}

.ball.red { background: var(--red-ball); }
.ball.blue { background: var(--blue-ball); }
.ball.green { background: var(--green-ball); }

.special-tag {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 700;
  background: #fffde7;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid var(--gold-light);
  flex-shrink: 0;
}

.ball.special {
  width: clamp(36px, 9vw, 46px);
  height: clamp(36px, 9vw, 46px);
  font-size: clamp(.75rem, 2.5vw, .95rem);
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.special-zodiac {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
}

/* ===== 战绩卡片 ===== */
.record-section { background: var(--bg); }

.record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.record-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}

.record-card.hit {
  border-color: #66bb6a;
  background: linear-gradient(180deg, #e8f5e9, #f1f8f2);
  box-shadow: 0 2px 12px rgba(46,125,50,.15);
}

.record-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.record-period {
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.record-zodiac {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.record-status {
  font-size: .72rem;
  font-weight: 700;
}

.record-card.hit .record-status { color: var(--green); }
.record-card.miss .record-status { color: #bbb; }

/* ===== 微信联系 ===== */
.contact-section { background: var(--white); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #f0fff4 0%, #fff 50%, #fff8f0 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  position: relative;
}

.contact-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  z-index: -1;
}

.contact-left h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-left > p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  margin-bottom: 24px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child { border-bottom: none; }

.step-num {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.wechat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.wechat-label { font-size: .8rem; color: var(--text-muted); }

.wechat-id {
  font-size: 1.3rem;
  font-weight: 800;
  color: #07c160;
  flex: 1;
}

.btn-copy {
  background: #07c160;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: .82rem;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s;
}

.btn-copy:hover { background: #06ad56; }

.qr-wrap {
  width: 160px;
  height: 160px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-placeholder {
  text-align: center;
  color: #bbb;
  font-size: .75rem;
  padding: 12px;
}

.qr-placeholder span { font-size: 2rem; display: block; margin-bottom: 6px; }
.qr-placeholder code { font-size: .65rem; color: #999; }

.qr-img { width: 100%; height: 100%; object-fit: contain; }

.qr-tip {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: linear-gradient(180deg, var(--primary-darker) 0%, #002a1a 100%);
  color: rgba(255,255,255,.65);
  padding: 32px 0;
  text-align: center;
  font-size: .8rem;
  border-top: 3px solid var(--primary);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-links a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: #fff; }

.footer-disclaimer {
  max-width: 500px;
  margin: 0 auto 8px;
  line-height: 1.6;
  color: rgba(255,255,255,.4);
}

.footer-copy { color: rgba(255,255,255,.25); }

/* ===== 资料页（开奖 / 生肖对照） ===== */
.seo-page {
  padding: 28px 0 48px;
  min-height: 60vh;
}

.crumb {
  display: flex;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.crumb a { color: var(--primary); }

.seo-page h1 {
  font-size: 1.55rem;
  color: var(--primary-darker);
  margin-bottom: 10px;
}

.seo-lead {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.seo-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.seo-block h2 {
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.seo-block h3 {
  font-size: .95rem;
  margin: 12px 0 6px;
}

.seo-text p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.seo-text a { color: var(--primary); font-weight: 700; }

.seo-loading { text-align: center; color: var(--text-muted); padding: 24px; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

a.brand { text-decoration: none; color: inherit; }

.sx-sequence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-weight: 700;
}

.sx-chip b { color: var(--primary); }

.sx-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.sx-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  background: #f7fbf8;
}

.sx-name { font-size: .78rem; font-weight: 700; color: var(--primary-dark); }

.sx-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sx-group {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: #f9fdfb;
}

.sx-group h3 {
  font-size: .9rem;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.sx-group.sx-year {
  background: #fff9e6;
  border-color: #e8d48a;
}

/* ===== 移动端底部导航 ===== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.1);
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--gold));
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 4px 12px;
  font-size: .68rem;
  color: var(--text-muted);
  transition: all .2s;
  position: relative;
}

.mobile-nav-item .ico-nav,
.mobile-nav-item .nav-icon {
  line-height: 1;
  transition: transform .2s;
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item.active .ico-nav,
.mobile-nav-item.active .nav-icon {
  transform: scale(1.15);
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 3px 3px;
}

.mobile-nav-wechat {
  color: var(--primary-mid) !important;
  font-weight: 700;
}

.mobile-nav-wechat.active {
  color: var(--primary-mid) !important;
}

.mobile-nav-wechat.active::after {
  background: var(--primary-mid);
}

/* ===== 锚点滚动偏移（避开固定头部） ===== */
#pingte, #draw, #history, #contact {
  scroll-margin-top: 72px;
}

/* ===== 移动端快捷支付栏 ===== */
.mobile-cta-bar {
  display: none;
}

.table-scroll-hint {
  display: none;
}

/* ===== 响应式 ===== */

/* 平板 */
@media (max-width: 900px) {
  .banner-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
  }

  .banner-right,
  .yixiao-card {
    width: 100%;
    max-width: 440px;
    min-width: 0;
    margin: 0 auto;
  }

  .banner-right {
    order: -1;
  }

  .banner-left {
    text-align: center;
    min-width: 0;
    width: 100%;
  }

  .period-tag { margin-bottom: 12px; }

  .banner-stats {
    max-width: 420px;
    margin: 0 auto;
  }

  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
    text-align: center;
  }

  .contact-list li { justify-content: center; }
  .wechat-row { justify-content: center; flex-wrap: wrap; }
  .contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* 手机 */
@media (max-width: 640px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }

  body:has(.mobile-cta-bar) {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0));
  }

  .main-nav { display: none; }
  .mobile-nav { display: flex; }

  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: calc(56px + env(safe-area-inset-bottom, 0));
    left: 0;
    right: 0;
    z-index: 199;
    padding: 8px 14px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 16px rgba(0,0,0,.06);
  }

  .mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: #fff;
    border-radius: 24px;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .03em;
    box-shadow: 0 3px 14px rgba(0,122,77,.35);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-cta-btn:active {
    opacity: .88;
    transform: scale(.98);
  }

  .container {
    padding: 0 14px;
    max-width: 100%;
  }

  .top-bar {
    height: auto;
    min-height: 30px;
    padding: 5px 0;
  }

  .top-bar-inner {
    justify-content: space-between;
    gap: 6px;
  }

  .top-marquee {
    display: none;
  }

  .top-date { font-size: .68rem; flex: 1; }
  .top-live { font-size: .68rem; }

  .header-inner {
    height: 54px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-emblem {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .emblem-core {
    font-size: 1.15rem;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text h1 {
    font-size: 1.05rem;
  }

  .brand-text p {
    font-size: .65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }

  .official-seal {
    font-size: .58rem;
    padding: 1px 5px;
  }

  .banner {
    padding: 16px 0 20px;
  }

  .banner-inner {
    gap: 14px;
  }

  .banner-right,
  .yixiao-card {
    max-width: 100%;
  }

  .period-tag,
  .banner h2,
  .banner-official-row,
  .banner-desc,
  .banner-urgent {
    display: none;
  }

  .banner-features {
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    width: 100%;
  }

  .feature-tag {
    font-size: .7rem;
    padding: 4px 9px;
  }

  .banner-stats {
    width: 100%;
    max-width: 100%;
    padding: 12px 4px;
    border-radius: 10px;
  }

  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: .62rem; }
  .stat-divider { height: 28px; }

  .yixiao-card {
    border-radius: 12px;
    border-width: 1px;
  }

  .yixiao-card-top {
    padding: 8px 12px;
    gap: 8px;
  }

  .official-badge {
    font-size: .72rem;
    letter-spacing: 0;
  }

  .update-time {
    font-size: .7rem;
  }

  .lock-panel {
    padding: 12px 12px 14px;
  }

  .encrypted-box {
    min-height: 132px;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .enc-frost {
    padding: 16px 10px 14px;
    background: rgba(255,255,255,.28);
  }

  .enc-ghost {
    filter: blur(8px);
    opacity: .8;
  }

  .enc-ghost-title,
  .enc-ghost-nums {
    display: none;
  }

  .enc-ghost-balls span {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }

  .enc-title {
    font-size: .88rem;
    margin-bottom: 4px;
  }

  .enc-sub {
    font-size: .72rem;
  }

  .encrypted-box .ico-xl {
    width: 46px;
    height: 46px;
    padding: 11px;
    margin-bottom: 6px;
    color: var(--primary-darker);
  }

  .lock-panel .pay-price-tag {
    margin-bottom: 10px;
    font-size: .78rem;
    padding: 5px 12px;
  }

  .lock-panel .pay-btns {
    margin-top: 0;
    gap: 8px;
  }

  .lock-panel .pay-btns .btn-pay {
    min-height: 46px;
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
  }

  .code-footer {
    margin-top: 10px;
    font-size: .72rem;
  }

  .highlights-bar { padding: 12px 0; }

  .highlights-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 8px;
    grid-template-columns: none;
    margin: 0 -14px;
    padding: 0 14px 4px;
    scrollbar-width: none;
  }

  .highlights-grid::-webkit-scrollbar { display: none; }

  .highlight-card {
    flex: 0 0 68%;
    max-width: 220px;
    padding: 10px;
    gap: 8px;
    scroll-snap-align: start;
  }

  .highlight-icon { font-size: 1.2rem; }
  .highlight-card strong { font-size: .8rem; }
  .highlight-card p { font-size: .65rem; }

  .section { padding: 24px 0; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 1rem;
  }

  .section-desc {
    font-size: .78rem;
    margin-bottom: 0;
  }

  .hit-badge {
    align-self: stretch;
    text-align: center;
    font-size: .78rem;
    padding: 8px 12px;
  }

  .draw-section {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .draw-card {
    padding: 16px 10px;
    border-radius: 10px;
  }

  .draw-card-head {
    font-size: .78rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .draw-balls-line {
    flex-wrap: nowrap;
    gap: 3px;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
  }

  .draw-balls-line::-webkit-scrollbar { display: none; }

  .balls-row {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3px;
    width: auto;
  }

  .draw-special-line {
    flex: 0 0 auto;
    justify-content: center;
    gap: 3px;
  }

  .ball {
    width: 30px;
    height: 30px;
    font-size: .68rem;
  }

  .draw-special-line {
    height: 30px;
  }

  .ball-zodiac {
    font-size: .62rem;
  }

  .mini-zodiac {
    font-size: .58rem;
  }

  .ball.special {
    width: 32px;
    height: 32px;
    font-size: .7rem;
    border-width: 2px;
  }

  .special-tag {
    font-size: .58rem;
    padding: 1px 4px;
  }

  .special-zodiac {
    font-size: .82rem;
  }

  .balls-divider {
    font-size: .75rem;
    padding: 0 1px;
  }

  .countdown-bar {
    padding: 14px 0;
  }

  .countdown-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .cd-label {
    font-size: .8rem;
    width: 100%;
  }

  .cd-timer {
    width: 100%;
    justify-content: center;
  }

  .cd-time {
    font-size: .75rem;
    width: 100%;
  }

  .table-scroll-hint {
    display: none;
  }

  .table-wrap {
    border-radius: 10px;
    margin: 0;
    overflow-x: visible;
  }

  .table-wrap::before {
    display: none;
  }

  .hit-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
    font-size: .68rem;
  }

  .hit-table th,
  .hit-table td {
    padding: 6px 2px;
  }

  .hit-table th:nth-child(6),
  .hit-table td:nth-child(6) {
    display: none;
  }

  .hit-table th:nth-child(1) { width: 14%; }
  .hit-table th:nth-child(2) { width: 17%; }
  .hit-table th:nth-child(3) { width: 36%; }
  .hit-table th:nth-child(4) { width: 22%; }
  .hit-table th:nth-child(5) { width: 11%; }

  .td-period {
    font-size: .68rem;
    white-space: nowrap;
  }

  .td-zodiac {
    font-size: .68rem;
    letter-spacing: -0.02em;
  }

  .td-pingma {
    padding: 4px 1px !important;
  }

  .mini-ball {
    width: 17px;
    height: 17px;
    font-size: .48rem;
  }

  .mini-ball.special {
    width: 19px;
    height: 19px;
    font-size: .5rem;
    border-width: 1px;
  }

  .mini-balls {
    max-width: none;
    gap: 1px;
    flex-wrap: nowrap;
  }

  .tema-cell {
    gap: 2px;
  }

  .tema-zodiac {
    font-size: .68rem;
  }

  .badge-hit,
  .badge-miss {
    font-size: .58rem;
    padding: 1px 5px;
    border-radius: 6px;
  }

  .cd-block {
    min-width: 44px;
    padding: 6px 10px;
    border-radius: 8px;
  }

  .cd-block b { font-size: 1.25rem; }

  .cd-sep { padding-bottom: 10px; font-size: 1.2rem; }

  .contact-pay-cta {
    width: 100%;
  }

  .contact-pay-cta .btn-pay {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
  }

  .contact-pay-cta .order-query-form {
    width: 100%;
  }

  .contact-pay-cta .btn-query {
    min-height: 48px;
    font-size: 16px;
  }

  .mobile-nav-item {
    min-height: 48px;
    padding: 8px 4px 10px;
  }

  .yixiao-reveal-area {
    min-height: 0;
  }

  .badge-pending {
    font-size: .58rem;
    padding: 1px 5px;
    font-weight: 700;
  }

  .td-zodiac-locked {
    font-size: .62rem !important;
    letter-spacing: .04em;
  }

  .pending-dash {
    font-size: .62rem;
  }

  .code-form {
    flex-direction: column;
  }

  .code-input {
    font-size: 16px;
    padding: 12px;
  }

  .btn-verify {
    width: 100%;
    padding: 12px;
  }

  .record-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .record-card {
    padding: 10px 6px;
    border-radius: 8px;
  }

  .record-period { font-size: .68rem; }

  .record-zodiac {
    font-size: .85rem;
  }

  .record-status { font-size: .65rem; }

  .contact-section { padding-bottom: 20px; }

  .contact-wrap {
    padding: 22px 16px;
    gap: 22px;
    border-radius: 12px;
  }

  .contact-left h2 { font-size: 1.1rem; }

  .contact-left > p { font-size: .82rem; margin-bottom: 14px; }

  .contact-list li {
    font-size: .82rem;
    padding: 6px 0;
    justify-content: flex-start;
    text-align: left;
  }

  .wechat-row {
    flex-wrap: wrap;
    padding: 10px 12px;
    justify-content: space-between;
  }

  .wechat-id { font-size: 1rem; }

  .qr-wrap {
    width: 130px;
    height: 130px;
  }

  .site-footer {
    padding: 22px 0 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: .75rem;
  }

  .footer-disclaimer {
    padding: 0 8px;
    font-size: .68rem;
  }
}

/* 小屏手机 */
@media (max-width: 380px) {
  .brand-text p { display: none; }

  .ball {
    width: 27px;
    height: 27px;
    font-size: .62rem;
  }

  .draw-special-line {
    height: 27px;
  }

  .ball.special {
    width: 29px;
    height: 29px;
    font-size: .64rem;
  }

  .balls-row { gap: 2px; }

  .draw-balls-line { gap: 2px; }

  .mini-ball {
    width: 15px;
    height: 15px;
    font-size: .44rem;
  }

  .mini-ball.special {
    width: 17px;
    height: 17px;
    font-size: .46rem;
  }

  .banner-stats { padding: 12px 0; }

  .stat-num { font-size: 1.2rem; }

  .record-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-tag { font-size: .68rem; padding: 3px 8px; }

  .highlights-grid { gap: 6px; }

  .seo-page { padding: 18px 0 32px; }
  .seo-page h1 { font-size: 1.28rem; }
  .seo-block { padding: 14px 12px; }
  .sx-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .sx-groups { grid-template-columns: 1fr 1fr; }
}

/* 大屏电脑 */
@media (min-width: 1200px) {
  .container {
    max-width: 1100px;
  }

  .banner {
    padding: 44px 0;
  }

  .banner-inner {
    gap: 48px;
  }
}
