@charset "utf-8";

html {
  scroll-padding-top: 236px;
  background: #f2f2f2;
}

body#index-page {
  max-width: 1280px !important;
  margin: 0 auto !important;
  background: #fff !important;
  color: #111;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --hct-display-font: "PingFang SC", "Microsoft YaHei", "STHeiti", "Heiti SC", "SimHei", "Hiragino Sans GB", Arial, sans-serif;
  --hct-display-stroke: .9px #101010;
  --hct-display-shadow:
    -1px -1px 0 #101010,
    1px -1px 0 #101010,
    -1px 1px 0 #101010,
    1px 1px 0 #101010,
    0 2px 0 #101010,
    0 3px 1px rgba(0, 0, 0, .16);
}

body#index-page [id] {
  scroll-margin-top: 236px;
}

body#index-page .header.index-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 99;
  width: 100%;
  max-width: 1280px !important;
  height: auto !important;
  transform: translateX(-50%);
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  overflow: visible !important;
}

.hct-site-header {
  display: flex;
  flex-direction: column;
}

.hct-brand-row {
  order: 1;
  display: grid;
  grid-template-columns: minmax(138px, 180px) 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 4px 42px;
  border: 1px solid #ddd;
  border-bottom: 0;
  background: #fff;
  line-height: 1;
}

.hct-brand-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.hct-brand-logo {
  display: block;
  width: 138px;
  max-width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: center;
}

.hct-service {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  color: #c40000;
  font-size: 24px;
  line-height: 34px;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
}

.hct-service:hover {
  color: #e60000;
  text-decoration: none;
}

.hct-stamp,
.hct-seal {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  line-height: 1.04;
  text-align: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.hct-stamp {
  color: #fff;
  font-size: 18px;
  border: 2px solid #fff;
  background: #c80000;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #c80000;
}

.hct-seal {
  display: none;
  border: 3px solid #0f8f41;
  border-radius: 50%;
  color: #087a34;
  font-size: 11px;
  background: radial-gradient(circle at 50% 48%, #f3fff7 0, #f3fff7 42%, #fff 43%, #fff 100%);
}

.hct-permanent {
  order: 2;
  min-height: 50px;
  padding: 6px 12px;
  border-top: 1px solid #008929;
  border-bottom: 1px solid #006d20;
  background: linear-gradient(180deg, #079b2b 0%, #007719 100%);
  color: #fff;
  text-align: center;
  font-size: 30px;
  line-height: 38px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 1px rgba(0, 0, 0, .42);
}

.hct-permanent a {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  color: #fff;
  line-height: inherit;
  text-decoration: none;
  text-overflow: clip;
}

.hct-permanent .hct-url {
  font-size: 34px;
  letter-spacing: 1px;
}

.hct-lottery-strip {
  order: 3;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 10px 40px;
  background: linear-gradient(180deg, #fff 0%, #fff 64%, #fff9e4 100%);
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.hct-period-box {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  min-width: 0;
}

.hct-period-main {
  color: #d60000;
  font-size: 31px;
  line-height: 34px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 2px;
}

.hct-history-link {
  display: block;
  min-height: 22px;
  color: #0868b5;
  font-size: 17px;
  line-height: 21px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hct-ball-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(48px, 1fr)) 38px minmax(48px, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hct-top-ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  aspect-ratio: 1;
  height: auto;
  min-height: 48px;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .28),
    inset 0 -4px 0 rgba(0, 0, 0, .16),
    0 1px 3px rgba(0, 0, 0, .16);
}

.hct-ball-num {
  display: block;
  font-size: 1.28em;
  line-height: .95;
  font-weight: 900;
}

.hct-ball-sx {
  display: block;
  font-size: .58em;
  line-height: 1;
  font-weight: 900;
}

.hct-special-top {
  outline: 2px solid #ffd95a;
  outline-offset: 1px;
}

.hct-ball-red {
  background: linear-gradient(180deg, #fb1515 0%, #c90000 100%);
}

.hct-ball-green {
  background: linear-gradient(180deg, #09a138 0%, #087723 100%);
}

.hct-ball-blue {
  background: linear-gradient(180deg, #0f77db 0%, #0055ad 100%);
}

.hct-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #777;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.hct-date-strip {
  order: 4;
  min-height: 33px;
  border-top: 1px solid #efe4b2;
  border-bottom: 1px solid #efe4b2;
  background: #fff7d8;
  color: #151515;
  text-align: center;
  font-size: 22px;
  line-height: 33px;
  font-weight: 900;
  letter-spacing: 2px;
}

.hct-home {
  max-width: 1190px;
  margin: 0 auto;
  padding: 10px 44px 88px;
  background: #fff;
}

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

.hct-permanent,
.hct-green-title,
.hct-green-ribbon,
.hct-update-band span,
.hct-main-claim,
.hct-vip-banner,
.hct-forum-card,
body#index-page .local-promo-bottom span {
  font-family: var(--hct-display-font);
  font-weight: 900;
  -webkit-text-stroke: var(--hct-display-stroke);
  -webkit-font-smoothing: antialiased;
  paint-order: stroke fill;
  text-rendering: geometricPrecision;
  text-shadow: var(--hct-display-shadow);
}

.hct-nowrap {
  white-space: nowrap;
}

.hct-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 10px 0 12px;
}

.hct-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 10px 6px 9px;
  min-width: 0;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fff 64%, #fbfbfb 100%);
  text-align: center;
  color: #111;
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
  white-space: nowrap;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .08),
    inset 0 1px 0 rgba(255, 255, 255, .92);
}

.hct-shortcut-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 3px;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .34), inset 0 -3px 0 rgba(0, 0, 0, .16);
}

.hct-shortcut-image {
  width: 68px;
  height: 60px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  font-size: 0;
}

.hct-shortcut-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hct-shortcut-red {
  background: #e00000;
}

.hct-shortcut-blue {
  background: #0876dc;
}

.hct-shortcut-gold {
  background: linear-gradient(180deg, #ecc746, #c89612);
}

.hct-shortcut-purple {
  background: #7932bd;
}

.hct-shortcut-green {
  background: #0d9a38;
}

.hct-green-title,
.hct-green-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  margin: 8px 0;
  padding: 6px 14px;
  border: 1px solid #0a8a24;
  border-radius: 999px;
  background: linear-gradient(180deg, #06a334 0%, #007819 100%);
  color: #fff !important;
  overflow: hidden;
  text-align: center;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow:
    0 12px 18px rgba(0, 0, 0, .14),
    inset 0 2px 0 rgba(255, 255, 255, .18),
    inset 0 -3px 0 rgba(0, 0, 0, .12);
}

.hct-green-title::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px 10px 13px 13px;
  background: linear-gradient(180deg, #ffe98c 0%, #e9bd38 52%, #c88a13 100%);
  color: #03772b;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  -webkit-text-stroke: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .58);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .65),
    0 2px 3px rgba(0, 0, 0, .18);
}

.hct-green-title {
  font-size: 33px;
}

@keyframes hct-finger-nudge {
  0%, 60%, 100% { transform: translateX(0); }
  75% { transform: translateX(-7px); }
  88% { transform: translateX(-2px); }
}

.hct-green-ribbon {
  min-height: 42px;
  margin: 6px 0;
  padding: 6px 14px 6px 14px;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1px;
}

.hct-green-ribbon::after {
  content: "\1F448";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  font-size: 22px;
  line-height: 1;
  margin-left: auto;
  padding-left: 4px;
  -webkit-text-stroke: 0;
  text-shadow: none;
  animation: hct-finger-nudge 0.9s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
}

.hct-green-ribbon::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .35),
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 2px 5px rgba(0, 0, 0, .2);
  -webkit-text-stroke: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  margin-right: 2px;
  flex-shrink: 0;
}

.hct-ribbon-tianji::before {
  content: "★";
  color: #ffe044;
  font-size: 18px;
}

.hct-ribbon-haoyun::before {
  content: "✓";
  color: #fff;
  font-size: 19px;
}

.hct-result-panel,
.hct-pick-panel,
.hct-split-card,
.hct-tail-panel,
.hct-expert-section,
.hct-category-section {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.hct-result-panel {
  display: block;
  margin: 8px 0;
  padding: 12px 16px 11px;
  border-color: #d8d8d8;
  background:
    linear-gradient(180deg, #fff 0%, #fff 58%, #fbfffc 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .92),
    0 2px 7px rgba(0, 0, 0, .06);
}

.hct-ad-stack {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.hct-ad-stack-compact {
  margin: 8px 0;
}

.hct-ad-banner {
  display: block;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
}

.hct-ad-banner img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 58px;
  object-fit: cover;
  object-position: center;
}

.hct-ad-banner-inset {
  margin-top: 8px;
}

.hct-ad-banner-inset img {
  object-fit: fill;
  object-position: center;
  background: #fff;
}

.hct-ad-banner img[src*="home-purple-jinqi-toujiang"],
.hct-ad-banner img[src*="home-red-liuhe-gift"],
.hct-ad-banner img[src*="home-gold-neibu-secret"],
.hct-ad-banner img[src*="home-blue-data-predict"] {
  object-fit: fill;
  object-position: center;
}

.hct-result-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.hct-result-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  color: #111;
  font-size: 29px;
  line-height: 34px;
  font-weight: 900;
  white-space: nowrap;
}

.hct-result-title strong {
  display: inline-block;
  margin-left: 0;
  color: #111;
  font-size: .96em;
}

.hct-result-small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 70px 4px 0;
  color: #555;
  text-align: center;
  font-size: 22px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.hct-result-small span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}

.hct-result-history {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 2px;
  color: #075cc3;
  font-size: 17px;
  line-height: 30px;
  font-weight: 800;
  white-space: nowrap;
}

.hct-draw-balls {
  display: grid;
  grid-template-columns: repeat(6, minmax(54px, 1fr)) 12px minmax(54px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 1px;
}

.hct-draw-ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 54px;
  max-width: 100%;
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  color: #fff;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .32);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .3),
    inset 0 -4px 0 rgba(0, 0, 0, .16),
    0 1px 3px rgba(0, 0, 0, .18);
}

.hct-draw-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  font-size: 25px;
  line-height: 27px;
}

.hct-draw-sx {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 13px;
  font-size: 13px;
  line-height: 13px;
}

.hct-draw-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 13px;
  font-size: 13px;
  line-height: 13px;
}

.hct-draw-wx {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 13px;
  color: #fff36a;
  font-size: .92em;
  line-height: 13px;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45), 0 0 2px rgba(0, 0, 0, .28);
}

.hct-special-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.hct-special-wrap .hct-draw-ball {
  outline: 2px solid #ffd95a;
  outline-offset: 1px;
}

.hct-special-label {
  display: block;
  color: #e02b00;
  text-align: center;
  font-size: 12px;
  line-height: 15px;
  font-weight: 800;
}

.hct-divider {
  width: 1px;
  height: 50px;
  margin: 0 auto;
  border-left: 2px dotted #9b9b9b;
}

.hct-draw-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  padding: 8px 4px 0;
  color: #444;
  font-size: 17px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hct-draw-time span {
  white-space: nowrap;
}

.hct-reco-table {
  position: relative;
  margin: 8px 0 0;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.hct-detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.hct-table-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 42px;
  color: #d40000;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 5px;
}

.hct-reco-table table,
.hct-mini-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.hct-reco-table td,
.hct-mini-table td {
  border: 1px solid #cfcfcf;
  text-align: center;
  color: #111;
  font-size: 20px;
  line-height: 33px;
  font-weight: 900;
}

.hct-reco-table td:nth-child(2),
.hct-reco-table td:nth-child(3) {
  letter-spacing: 5px;
}

.hct-hit {
  color: #00872a;
}

.hct-red-text {
  color: #d50000;
}

.hct-blue-text {
  color: #074ca9;
}

.hct-claim {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(390px, 90%);
  height: 44px;
  margin: 10px auto 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #08aa38 0%, #007719 100%);
  color: #fff !important;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 5px;
}

.hct-update-band {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(520px, calc(100% - 38px));
  min-height: 46px;
  margin: 12px auto 8px;
  padding: 6px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #079d31 0%, #008523 54%, #007119 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  box-shadow:
    0 14px 22px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.hct-update-band .hct-gold-btn {
  display: none;
}

.hct-update-band span {
  display: inline-block;
  white-space: nowrap;
  transform: scaleX(.94);
  transform-origin: center;
}

.hct-gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  height: 48px;
  padding: 0 28px;
  border: 2px solid #fff5a3;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff07a 0%, #f3c226 45%, #c98908 100%);
  color: #111;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55);
}

.hct-pick-panel {
  position: relative;
  margin: 0 0 8px;
  padding: 8px 12px 12px;
  text-align: center;
}

.hct-pick-title,
.hct-block-title {
  color: #c60000;
  text-align: center;
  font-size: 28px;
  line-height: 34px;
  font-weight: 900;
  letter-spacing: 4px;
}

.hct-pick-numbers {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 2px;
}

.hct-pick-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 44px;
  border: 3px solid #0757a8;
  border-radius: 50%;
  color: #0757a8;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.hct-pick-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #00862a;
  font-size: 23px;
  line-height: 28px;
  font-weight: 900;
}

.hct-diamond {
  display: inline-block;
  width: 13px;
  height: 13px;
  background: #00942d;
  transform: rotate(45deg);
}

.hct-main-claim {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(390px, 90%);
  min-height: 54px;
  margin: 7px auto 0;
  border: 2px solid #0d821e;
  border-radius: 10px;
  background: linear-gradient(180deg, #75f218 0%, #08a02a 45%, #006b18 100%);
  color: #fff !important;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
}

.hct-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.hct-split-card {
  padding: 8px 12px 12px;
}

.hct-mini-table td:first-child {
  width: 30%;
}

.hct-mini-table td {
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 1px;
}

.hct-vip-banner {
  display: block;
  margin: 8px 0;
  padding: 6px 16px;
  border: 2px solid #05a326;
  border-radius: 8px;
  background:
    radial-gradient(circle at 2% 50%, rgba(255, 255, 0, .95) 0 2px, rgba(255, 255, 0, .35) 3px, transparent 12px),
    radial-gradient(circle at 98% 50%, rgba(255, 255, 0, .95) 0 2px, rgba(255, 255, 0, .35) 3px, transparent 12px),
    linear-gradient(180deg, #45e927 0%, #069d23 45%, #007218 100%);
  color: #fff !important;
  text-align: center;
  font-size: 31px;
  line-height: 42px;
  font-weight: 900;
  letter-spacing: 2px;
}

.hct-tail-forum {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 40px;
  align-items: stretch;
  margin: 8px 0;
}

.hct-tail-panel {
  padding: 8px 12px 12px;
}

.hct-forum-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  border: 2px solid #08a32c;
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 18%, rgba(255, 255, 0, .85) 0 2px, transparent 13px),
    linear-gradient(180deg, #27db23 0%, #099f25 50%, #006d18 100%);
  color: #fff !important;
  text-align: center;
  font-size: 31px;
  line-height: 42px;
  font-weight: 900;
  letter-spacing: 3px;
}

.hct-material-section {
  margin: 8px 0;
  padding: 8px 12px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fffef4 100%);
  overflow: hidden;
}

.hct-material-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.hct-material-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 9px;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid #dfe3d9;
  border-radius: 8px;
  background: #fff;
  color: #111;
}

.hct-material-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  border-radius: 999px;
  background: #fff7d7;
  color: #c60000;
  font-size: 13px;
  line-height: 24px;
  font-weight: 900;
}

.hct-material-card strong {
  min-width: 0;
  overflow: hidden;
  color: #c60000;
  font-size: 20px;
  line-height: 26px;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hct-material-card em {
  grid-column: 1 / 3;
  color: #0757a8;
  font-style: normal;
  font-size: 17px;
  line-height: 22px;
  font-weight: 900;
}

.hct-material-action {
  grid-row: 1 / 3;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(180deg, #09a83a, #00791e);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.hct-material-board {
  margin-top: 8px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.hct-material-board-title {
  padding: 7px 10px;
  background: #fff8db;
  color: #08792a;
  text-align: center;
  font-size: 20px;
  line-height: 26px;
  font-weight: 900;
}

.hct-material-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 68px;
  align-items: center;
  min-height: 38px;
  border-top: 1px solid #e5e5e5;
  color: #111;
  text-align: center;
  font-size: 16px;
  line-height: 22px;
  font-weight: 900;
}

.hct-material-row span,
.hct-material-row b,
.hct-material-row em {
  min-width: 0;
  padding: 0 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hct-material-row span {
  color: #0757a8;
}

.hct-material-row em {
  color: #d00000;
  font-style: normal;
}

.hct-ziliao-section {
  margin-top: 10px;
}

.hct-ziliao-loading {
  padding: 14px 10px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  color: #08792a;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 900;
}

.am-ziliao-list {
  display: grid;
  gap: 9px;
}

.am-ziliao-card {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.am-panel-title,
.am-section-title {
  margin: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, #09a638 0%, #007719 100%);
  color: #fff;
  text-align: center;
  font-family: var(--hct-display-font);
  font-size: 21px;
  line-height: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  -webkit-text-stroke: var(--hct-display-stroke);
  paint-order: stroke fill;
  text-shadow: var(--hct-display-shadow);
}

.am-ziliao-content {
  padding: 8px;
  background: #fff;
  color: #111;
  font-size: 16px;
  line-height: 24px;
  font-weight: 800;
}

.am-ziliao-content * {
  max-width: 100%;
  box-sizing: border-box;
}

.am-ziliao-content table {
  width: 100% !important;
  height: auto !important;
  margin: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;
}

.am-ziliao-content table + table {
  margin-top: 6px;
}

.am-ziliao-content tr {
  height: auto !important;
}

.am-ziliao-content td,
.am-ziliao-content th {
  height: auto !important;
  border: 1px solid #d0d0d0;
  padding: 7px 6px;
  color: #111;
  text-align: center;
  vertical-align: middle;
  font-size: 15px;
  line-height: 22px;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.am-ziliao-content td > :first-child,
.am-ziliao-content th > :first-child {
  margin-top: 0;
}

.am-ziliao-content td > :last-child,
.am-ziliao-content th > :last-child {
  margin-bottom: 0;
}

.am-ziliao-content table.qxtable {
  table-layout: fixed;
}

.am-ziliao-content table.qxtable td:not([colspan]),
.am-ziliao-content table.qxtable th:not([colspan]) {
  text-align: left;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.am-ziliao-content table.qxtable td[colspan],
.am-ziliao-content table.qxtable th[colspan] {
  text-align: center;
}

.am-ziliao-content table.am-ziliao-compact-lines .am-ziliao-line-row td,
.am-ziliao-content table.am-ziliao-compact-lines .am-ziliao-line-row th {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.am-ziliao-content p,
.am-ziliao-content div:not(.am-ziliao-down) {
  margin: 0;
  line-height: inherit;
}

.am-ziliao-content font {
  font-weight: 900;
}

.am-ziliao-content font,
.am-ziliao-content span,
.am-ziliao-content b,
.am-ziliao-content strong,
.am-ziliao-content i,
.am-ziliao-content em {
  line-height: inherit;
  vertical-align: baseline;
}

.am-ziliao-content tr:nth-child(odd) td {
  background-color: #fbfffc;
}

.am-ziliao-content tr:nth-child(even) td {
  background-color: #fff;
}

.am-ziliao-mark {
  display: inline;
  padding: 0 2px;
  background: #fff04b;
  color: inherit;
  font-weight: 900;
}

.am-ziliao-down {
  margin: 8px 0 0;
}

.am-ziliao-down a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #08aa38 0%, #007719 100%);
  color: #fff !important;
  text-align: center;
  font-size: 17px;
  line-height: 24px;
  font-weight: 900;
}

.am-ziliao-img-ad {
  display: block;
  margin: 9px 0;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
}

.am-ziliao-img-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.hct-expert-section,
.hct-category-section {
  margin-top: 8px;
  padding: 8px 20px 12px;
}

.hct-attribute-section {
  margin-top: 8px;
  padding: 8px 12px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.hct-attribute-frame-wrap {
  margin-top: 8px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.hct-attribute-frame {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: #fff;
}

.hct-expert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px;
  margin-top: 8px;
}

.hct-expert-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.hct-grad-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #009a35;
  font-size: 32px;
  line-height: 1;
}

.hct-expert-name {
  color: #111;
  font-size: 18px;
  line-height: 23px;
  font-weight: 800;
}

.hct-expert-rate {
  color: #d30000;
  font-size: 24px;
  line-height: 28px;
  font-weight: 900;
}

.hct-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(180deg, #09a83a, #00791e);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.hct-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 18px;
  margin-top: 8px;
}

.hct-category-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 20px;
  font-weight: 800;
}

.hct-category-btn i {
  color: #079b2f;
  font-style: normal;
  font-size: 25px;
  line-height: 1;
}

.hct-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.hct-bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  color: #111;
  font-size: 17px;
  font-weight: 800;
  border-right: 1px solid #eee;
}

.hct-bottom-nav a:last-child {
  border-right: 0;
}

.hct-copyright {
  color: #777;
  text-align: center;
  font-size: 15px;
  line-height: 30px;
}

body#index-page.local-promo-bottom-visible {
  padding-bottom: 58px !important;
}

#local-promo-root {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

#local-promo-root a {
  color: inherit;
  text-decoration: none;
}

body#index-page .local-promo-float {
  position: fixed;
  right: 8px;
  top: 280px;
  z-index: 600;
  display: block;
  width: 118px;
  text-align: center;
  line-height: 0;
}

body#index-page .local-promo-float img {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 8px;
  border: 0;
}

body#index-page .local-promo-float-close {
  position: fixed;
  right: 8px;
  top: 264px;
  z-index: 601;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: #f20202;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

body#index-page .local-promo-bottom {
  display: block !important;
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: 1280px !important;
  height: 58px !important;
  margin: 0 !important;
  transform: translateX(-50%);
  border-top: 1px solid #fff !important;
  background: linear-gradient(180deg, #049a2d 0%, #006f19 100%) !important;
  color: #fff !important;
  font-size: 31px !important;
  line-height: 58px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-align: center;
  box-sizing: border-box;
  z-index: 998 !important;
}

body#index-page .local-promo-bottom a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  height: 58px;
  max-width: 920px;
  margin: 0 auto;
  color: #fff !important;
}

body#index-page .local-promo-bottom b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 232px;
  height: 44px;
  border: 2px solid #fff8a5;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff27a 0%, #f2be22 48%, #c68707 100%);
  color: #111 !important;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 8px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

body#index-page .local-promo-bottom span {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

body#index-page .local-promo-bottom-close {
  display: none !important;
}

@media screen and (min-width: 821px) and (max-width: 1023px) {
  .hct-brand-row {
    grid-template-columns: minmax(132px, 170px) 1fr auto;
    gap: 12px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .hct-brand-logo {
    width: 142px;
    height: 74px;
  }

  .hct-service {
    font-size: 22px;
  }

  .hct-lottery-strip {
    grid-template-columns: 118px repeat(6, minmax(56px, 1fr)) 58px minmax(56px, 1fr);
    gap: 8px;
    min-height: 66px;
    padding: 9px 18px 7px;
  }

  .hct-period-main {
    font-size: 26px;
    line-height: 29px;
    letter-spacing: 1px;
  }

  .hct-history-link {
    font-size: 15px;
    line-height: 18px;
  }

  .hct-top-ball,
  .hct-refresh {
    height: 36px;
    border-radius: 7px;
    font-size: 23px;
  }

  .hct-date-strip {
    font-size: 19px;
    letter-spacing: 1px;
  }
}

@media screen and (max-width: 820px), screen and (min-width: 821px) {
  html {
    scroll-padding-top: 190px;
  }

  body#index-page {
    max-width: 100% !important;
  }

  body#index-page .header.index-header {
    max-width: 100% !important;
  }

  .hct-brand-row {
    grid-template-columns: 118px 1fr;
    gap: 8px;
    min-height: 78px;
    padding: 3px 11px;
  }

  .hct-brand-logo {
    width: 112px;
    height: 74px;
    object-fit: contain;
    object-position: center;
  }

  .hct-service,
  .hct-seal {
    display: none;
  }

  .hct-stamp {
    display: flex;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .hct-lottery-strip {
    order: 2;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    min-height: 62px;
    padding: 6px 8px;
  }

  .hct-permanent {
    order: 3;
    min-height: 34px;
    padding: 3px 8px;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
  }

  .hct-permanent a {
    overflow: hidden;
  }

  .hct-permanent .hct-url {
    font-size: 20px;
  }

  .hct-period-main {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    white-space: nowrap;
    background: #fff;
    color: #111 !important;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2px 6px;
    text-shadow: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  }

  .hct-history-link {
    display: none;
  }

  .hct-ball-track {
    grid-template-columns: repeat(6, minmax(31px, 1fr)) 28px minmax(31px, 1fr);
    gap: 4px;
  }

  .hct-top-ball {
    min-height: 35px;
    border-width: 1px;
    font-size: 14px;
  }

  .hct-refresh {
    width: 27px;
    height: 27px;
    font-size: 13px;
  }

  .hct-date-strip {
    min-height: 27px;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
  }

  .hct-home {
    padding: 8px 14px 76px;
  }

  .hct-shortcuts {
    gap: 5px;
    padding-top: 2px;
  }

  .hct-shortcut {
    font-size: 14px;
  }

  .hct-shortcut-icon {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  .hct-shortcut-image {
    width: 60px;
    height: 53px;
  }

  .hct-green-title {
    min-height: 42px;
    gap: 6px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 17px;
    letter-spacing: 0;
    line-height: 25px;
    white-space: nowrap;
  }

  .hct-green-title::before {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 24px;
  }

  .hct-green-ribbon {
    min-height: 38px;
    gap: 5px;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 25px;
  }

  .hct-green-ribbon::after {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 18px;
  }

  .hct-green-ribbon::before {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 14px;
  }

  .hct-ribbon-tianji::before {
    font-size: 15px;
  }

  .hct-ribbon-haoyun::before {
    font-size: 16px;
  }

  .hct-result-panel {
    padding: 8px 9px 10px;
  }

  .hct-ad-stack {
    gap: 6px;
    margin: 7px 0;
  }

  .hct-ad-banner {
    border-radius: 7px;
  }

  .hct-result-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }

  .hct-result-title {
    gap: 8px;
    font-size: 20px;
    line-height: 27px;
  }

  .hct-result-title strong {
    margin-left: 0;
  }

  .hct-result-small {
    gap: 13px;
    margin: 0 66px 3px 0;
    font-size: 15px;
    line-height: 18px;
  }

  .hct-result-history {
    font-size: 13px;
    line-height: 25px;
  }

  .hct-draw-balls {
    grid-template-columns: repeat(6, minmax(35px, 1fr)) 7px minmax(35px, 1fr);
    gap: 5px;
    margin-top: 0;
  }

  .hct-draw-ball {
    width: 38px;
    border-width: 1px;
  }

  .hct-draw-num {
    min-height: 19px;
    font-size: 17px;
    line-height: 19px;
  }

  .hct-draw-sx {
    min-height: 9px;
    font-size: 9px;
    line-height: 9px;
  }

  .hct-draw-meta,
  .hct-draw-wx {
    min-height: 9px;
    font-size: 9px;
    line-height: 9px;
  }

  .hct-divider {
    height: 39px;
  }

  .hct-special-label {
    font-size: 10px;
    line-height: 12px;
  }

  .hct-draw-time {
    gap: 2px 9px;
    padding-top: 7px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0;
  }

  .hct-table-title {
    height: 34px;
    font-size: 18px;
    letter-spacing: 2px;
    gap: 10px;
  }

  .hct-reco-table td,
  .hct-mini-table td {
    font-size: 14px;
    line-height: 28px;
  }

  .hct-claim {
    height: 40px;
    font-size: 20px;
    letter-spacing: 3px;
  }

  .hct-update-band {
    width: min(520px, calc(100% - 24px));
    min-height: 44px;
    padding: 6px 16px;
    font-size: 19px;
    letter-spacing: 0;
  }

  .hct-gold-btn {
    min-width: 134px;
    height: 40px;
    padding: 0 14px;
    font-size: 21px;
    letter-spacing: 5px;
  }

  .hct-pick-panel {
    padding: 6px 8px 10px;
  }

  .hct-pick-title,
  .hct-block-title {
    font-size: 20px;
    line-height: 27px;
    letter-spacing: 2px;
  }

  body#index-page [id] {
    scroll-margin-top: 190px;
  }

  .hct-pick-numbers {
    gap: 12px;
  }

  .hct-pick-numbers span {
    width: 48px;
    height: 38px;
    font-size: 27px;
  }

  .hct-pick-sub {
    font-size: 17px;
  }

  .hct-main-claim {
    min-height: 49px;
    font-size: 25px;
  }

  .hct-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hct-tail-forum {
    grid-template-columns: .94fr 1.06fr;
    gap: 8px;
  }

  .hct-material-section {
    padding: 7px 8px 10px;
  }

  .hct-material-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hct-material-card {
    min-height: 56px;
    padding: 7px 8px;
  }

  .hct-material-tag {
    min-width: 42px;
    height: 22px;
    font-size: 12px;
    line-height: 22px;
  }

  .hct-material-card strong {
    font-size: 17px;
    line-height: 23px;
  }

  .hct-material-card em {
    font-size: 14px;
    line-height: 19px;
  }

  .hct-material-action {
    min-width: 48px;
    height: 30px;
    font-size: 13px;
  }

  .hct-material-board-title {
    font-size: 17px;
    line-height: 23px;
  }

  .hct-material-row {
    grid-template-columns: 78px minmax(0, 1fr) 58px;
    min-height: 34px;
    font-size: 13px;
    line-height: 19px;
  }

  .am-ziliao-list {
    gap: 8px;
  }

  .am-panel-title,
  .am-section-title {
    padding: 7px 8px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 1px;
  }

  .am-ziliao-content {
    padding: 7px 6px;
    font-size: 15px;
    line-height: 22px;
  }

  .am-ziliao-content td,
  .am-ziliao-content th {
    padding: 6px 4px;
    font-size: 14px;
    line-height: 21px;
  }

  .am-ziliao-content table.qxtable td,
  .am-ziliao-content table.qxtable th {
    padding: 6px 3px;
    font-size: 12px;
    line-height: 18px;
  }

  .am-ziliao-content table.am-ziliao-compact-lines .am-ziliao-line-row td,
  .am-ziliao-content table.am-ziliao-compact-lines .am-ziliao-line-row th {
    padding: 6px 3px;
    font-size: 12px;
    line-height: 18px;
  }

  .am-ziliao-down a {
    min-height: 36px;
    font-size: 15px;
    line-height: 22px;
  }

  .am-ziliao-img-ad {
    margin: 8px 0;
    border-radius: 7px;
  }

  .hct-split-card,
  .hct-tail-panel {
    padding: 6px 8px 8px;
  }

  .hct-split-card .hct-block-title,
  .hct-tail-panel .hct-block-title {
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  .hct-mini-table td {
    font-size: 13px;
    letter-spacing: 0;
  }

  .hct-vip-banner {
    font-size: 22px;
    line-height: 34px;
    letter-spacing: 1px;
  }

  .hct-forum-card {
    min-height: 92px;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 1px;
  }

  .hct-expert-section,
  .hct-category-section {
    padding: 7px 20px 10px;
  }

  .hct-attribute-section {
    padding: 7px 8px 10px;
  }

  .hct-attribute-frame {
    min-height: 980px;
  }

  .hct-expert-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hct-expert-card {
    grid-template-columns: 42px 1fr auto;
    gap: 8px;
    min-height: 50px;
    padding: 5px 8px;
  }

  .hct-grad-icon {
    width: 36px;
    height: 36px;
    font-size: 27px;
  }

  .hct-expert-name {
    font-size: 13px;
    line-height: 18px;
  }

  .hct-expert-rate {
    font-size: 21px;
  }

  .hct-view-btn {
    min-width: 50px;
    height: 32px;
    font-size: 14px;
  }

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

  .hct-category-btn {
    gap: 8px;
    min-height: 36px;
    font-size: 16px;
  }

  .hct-category-btn i {
    font-size: 21px;
  }

  .hct-bottom-nav a {
    min-height: 38px;
    font-size: 12px;
    gap: 3px;
    white-space: nowrap;
  }

  .hct-copyright {
    font-size: 12px;
    line-height: 26px;
  }

  body#index-page .local-promo-bottom {
    height: 50px !important;
    max-width: 100% !important;
    font-size: 20px !important;
    line-height: 50px !important;
    letter-spacing: 1px;
  }

  .hct-permanent,
  .hct-green-title,
  .hct-green-ribbon,
  .hct-update-band span,
  .hct-main-claim,
  .hct-vip-banner,
  .hct-forum-card,
  body#index-page .local-promo-bottom span {
    -webkit-text-stroke: var(--hct-display-stroke);
    text-shadow: var(--hct-display-shadow);
  }

  body#index-page .local-promo-bottom a {
    grid-template-columns: minmax(0, 1fr) auto;
    height: 50px;
    max-width: none;
    padding: 0 8px;
    gap: 8px;
  }

  body#index-page .local-promo-bottom b {
    min-width: 112px;
    height: 36px;
    font-size: 17px;
    letter-spacing: 2px;
  }

  body#index-page .local-promo-float {
    top: auto;
    right: 4px;
    bottom: 58px;
    width: 92px;
  }

  body#index-page .local-promo-float img {
    width: 78px;
  }

  body#index-page .local-promo-float-close {
    top: auto;
    right: 4px;
    bottom: 136px;
  }
}

@media screen and (min-width: 821px) {
  body#index-page {
    max-width: 640px !important;
  }

  body#index-page .header.index-header,
  body#index-page .local-promo-bottom {
    max-width: 640px !important;
  }

  body#index-page .local-promo-float {
    right: 8px;
    top: 280px;
    bottom: auto;
    width: 118px;
  }

  body#index-page .local-promo-float img {
    width: 96px;
  }

  body#index-page .local-promo-float-close {
    right: 8px;
    top: 264px;
    bottom: auto;
  }

  .hct-green-ribbon {
    font-size: 16px;
    white-space: nowrap;
  }

  .hct-draw-ball {
    width: 40px;
  }

  .hct-draw-num {
    min-height: 22px;
    font-size: 20px;
    line-height: 22px;
  }

  .hct-draw-sx {
    min-height: 10px;
    font-size: 10px;
    line-height: 10px;
  }

  .hct-material-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 390px), screen and (min-width: 821px) {
  .hct-brand-row {
    grid-template-columns: 110px 1fr;
    min-height: 76px;
    padding-left: 9px;
    padding-right: 9px;
  }

  .hct-brand-logo {
    width: 104px;
    height: 72px;
  }

  .hct-lottery-strip {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 5px;
    padding-left: 6px;
    padding-right: 6px;
  }

  .hct-ball-track {
    grid-template-columns: repeat(6, minmax(31px, 1fr)) 27px minmax(31px, 1fr);
    gap: 4px;
  }

  .hct-top-ball {
    font-size: 14px;
  }

  .hct-home {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hct-shortcut {
    font-size: 12px;
  }

  .hct-shortcut-icon {
    width: 46px;
    height: 46px;
    font-size: 27px;
  }

  .hct-shortcut-image {
    width: 56px;
    height: 50px;
  }

  .hct-green-title {
    font-size: 15px;
  }

  .hct-draw-ball {
    width: 38px;
  }

  .hct-update-band {
    font-size: 19px;
    letter-spacing: 0;
  }

  .hct-gold-btn {
    min-width: 122px;
    font-size: 19px;
  }

  body#index-page .local-promo-bottom {
    font-size: 17px !important;
  }

  body#index-page .local-promo-bottom b {
    min-width: 110px;
  }
}

@media screen and (max-width: 370px) {
  .hct-lottery-strip {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 3px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .hct-ball-track {
    grid-template-columns: repeat(6, minmax(29px, 1fr)) 25px minmax(29px, 1fr);
    gap: 3px;
  }

  .hct-permanent {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .hct-permanent .hct-url {
    font-size: 19px;
    letter-spacing: 0;
  }

  .hct-period-main {
    font-size: 17px;
    letter-spacing: 0;
  }

  .hct-history-link {
    font-size: 11px;
    line-height: 16px;
  }

  .hct-top-ball {
    font-size: 12px;
  }

  .hct-refresh {
    width: 25px;
    height: 25px;
    font-size: 13px;
  }

  .hct-green-title {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 15px;
  }

  .hct-green-ribbon {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .hct-tail-forum {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hct-tail-panel .hct-block-title {
    white-space: normal;
  }
}

@media screen and (max-width: 340px) {
  html {
    scroll-padding-top: 184px;
  }

  .hct-brand-row {
    grid-template-columns: 104px 1fr;
    gap: 6px;
    min-height: 74px;
    padding: 4px 8px;
  }

  .hct-brand-logo {
    width: 98px;
    height: 68px;
  }

  .hct-stamp {
    display: none;
  }

  .hct-lottery-strip {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 2px;
    min-height: 58px;
    padding: 5px 4px;
  }

  .hct-ball-track {
    grid-template-columns: repeat(6, minmax(27px, 1fr)) 23px minmax(27px, 1fr);
    gap: 2px;
  }

  .hct-permanent {
    font-size: 15px;
    line-height: 25px;
  }

  .hct-permanent .hct-url {
    font-size: 17px;
  }

  .hct-period-main {
    font-size: 17px;
    line-height: 21px;
    letter-spacing: 0;
  }

  .hct-history-link {
    font-size: 11px;
    line-height: 16px;
  }

  .hct-top-ball,
  .hct-refresh {
    font-size: 12px;
  }

  .hct-top-ball {
    min-height: 31px;
  }

  .hct-refresh {
    width: 23px;
    height: 23px;
  }

  .hct-date-strip {
    font-size: 12px;
    letter-spacing: 0;
  }

  .hct-shortcuts {
    gap: 3px;
  }

  .hct-shortcut {
    font-size: 11px;
  }

  .hct-shortcut-icon {
    width: 42px;
    height: 42px;
    font-size: 25px;
  }

  .hct-shortcut-image {
    width: 50px;
    height: 44px;
  }

  .hct-green-title,
  .hct-green-ribbon {
    line-height: 25px;
  }

  .hct-green-title {
    min-height: 42px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hct-green-ribbon {
    font-size: 12px;
  }

  .hct-result-panel {
    padding-left: 7px;
    padding-right: 7px;
  }

  .hct-result-title {
    gap: 5px;
    font-size: 19px;
    line-height: 25px;
  }

  .hct-result-title strong {
    margin-left: 0;
  }

  .hct-result-history {
    min-height: 24px;
    font-size: 12px;
    line-height: 24px;
  }

  .hct-result-small {
    gap: 10px;
    margin-right: 57px;
    font-size: 14px;
    line-height: 17px;
  }

  .hct-draw-balls {
    grid-template-columns: repeat(6, minmax(30px, 1fr)) 5px minmax(30px, 1fr);
    gap: 3px;
  }

  .hct-draw-ball {
    width: 30px;
  }

  .hct-draw-num {
    min-height: 17px;
    font-size: 15px;
    line-height: 17px;
  }

  .hct-draw-sx {
    min-height: 8px;
    font-size: 8px;
    line-height: 8px;
  }

  .hct-draw-meta,
  .hct-draw-wx {
    min-height: 8px;
    font-size: 8px;
    line-height: 8px;
  }

  .hct-divider {
    height: 33px;
  }

  .hct-draw-time {
    padding-left: 0;
    padding-right: 0;
    gap: 2px 6px;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0;
  }

  .hct-two-col,
  .hct-tail-forum {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hct-tail-panel .hct-block-title,
  .hct-split-card .hct-block-title {
    white-space: normal;
  }

  .hct-pick-numbers {
    gap: 8px;
  }

  .hct-pick-numbers span {
    width: 42px;
    height: 34px;
    font-size: 24px;
  }

  .hct-vip-banner,
  .hct-forum-card {
    font-size: 19px;
    line-height: 28px;
  }

  .hct-expert-grid {
    grid-template-columns: 1fr;
  }

  .hct-expert-card {
    grid-template-columns: 38px 1fr auto;
    min-height: 50px;
  }

  .hct-category-btn {
    gap: 4px;
    font-size: 14px;
  }

  .hct-bottom-nav a {
    font-size: 11px;
  }

  body#index-page .local-promo-bottom {
    font-size: 16px !important;
    letter-spacing: 0;
  }

  .hct-update-band {
    width: min(520px, calc(100% - 20px));
    min-height: 42px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 18px;
    letter-spacing: 0;
  }

  body#index-page .local-promo-bottom a {
    gap: 4px;
    padding: 0 6px;
  }

  body#index-page .local-promo-bottom b {
    min-width: 98px;
    font-size: 15px;
    letter-spacing: 2px;
  }
}

@media screen and (min-width: 821px) {
  .hct-draw-ball {
    width: 42px;
  }

  .hct-draw-num {
    min-height: 23px;
    font-size: 20px;
    line-height: 23px;
  }

  .hct-draw-sx {
    min-height: 10px;
    font-size: 10px;
    line-height: 10px;
  }

  .hct-draw-meta,
  .hct-draw-wx {
    min-height: 10px;
    font-size: 10px;
    line-height: 10px;
  }
}

:root {
  --hct-home-header-space: calc(20.6vw + 173px);
}

html {
  scroll-padding-top: var(--hct-home-header-space);
}

body#index-page [id] {
  scroll-margin-top: var(--hct-home-header-space);
}

body#index-page .nullbox {
  height: var(--hct-home-header-space);
}

.hct-brand-row.hct-brand-row-image {
  display: block;
  min-height: 0;
  padding: 0;
  border: 1px solid #ddd;
  border-bottom: 0;
  background: #fff;
  line-height: 0;
  overflow: hidden;
}

.hct-brand-row-image .hct-brand-link {
  display: block;
  width: 100%;
  min-width: 0;
}

.hct-brand-row-image .hct-brand-logo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media screen and (min-width: 821px) {
  :root {
    --hct-home-header-space: 282px;
  }
}

@media screen and (max-width: 640px) {
  :root {
    --hct-home-header-space: calc(20.6vw + 148px);
  }
}

@media screen and (max-width: 480px) {
  :root {
    --hct-home-header-space: calc(20.6vw + 136px);
  }
}

@media screen and (max-width: 390px) {
  :root {
    --hct-home-header-space: calc(20.6vw + 128px);
  }
}

@media screen and (min-width: 700px) and (max-width: 820px) {
  body#index-page {
    max-width: 704px !important;
  }

  body#index-page .header.index-header,
  body#index-page .local-promo-bottom {
    max-width: 704px !important;
  }
}

/* Polished home header */
body#index-page .header.index-header {
  padding: 8px 8px 0;
  box-sizing: border-box;
  background: #f2f2f2 !important;
  box-shadow: none;
}

.hct-site-header {
  overflow: hidden !important;
  border: 1px solid rgba(210, 210, 210, .86);
  border-radius: 18px 18px 16px 16px;
  background: #fff;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .12),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

.hct-brand-row.hct-brand-row-image {
  border: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 232, 198, .5), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff7f1 100%);
}

.hct-brand-row-image .hct-brand-logo {
  filter: drop-shadow(0 2px 2px rgba(160, 40, 20, .08));
}

.hct-lottery-strip {
  position: relative;
  gap: 10px;
  border: 0;
  background:
    radial-gradient(ellipse at 8% 50%, rgba(255, 200, 200, .13), transparent 38%),
    linear-gradient(180deg, #fff 0%, #fff8f8 60%, #fff6e4 100%);
  box-shadow:
    0 -1px 0 rgba(200, 0, 0, .08) inset,
    0 1px 0 rgba(255, 255, 255, .95) inset;
}

.hct-period-box {
  align-items: flex-start;
  padding-left: 4px;
}

.hct-period-main {
  letter-spacing: 1px;
}

.hct-history-link {
  color: #0a6cb5;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(10, 108, 181, .35);
  text-underline-offset: 2px;
}

.hct-ball-track {
  gap: 7px;
}

.hct-top-ball {
  border-color: rgba(255, 255, 255, .92);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .42),
    inset 0 -4px 0 rgba(0, 0, 0, .22),
    0 4px 10px rgba(0, 0, 0, .22);
}

.hct-special-top {
  outline: 3px solid #ffd93f;
  outline-offset: 1px;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .42),
    inset 0 -4px 0 rgba(0, 0, 0, .22),
    0 4px 10px rgba(0, 0, 0, .28),
    0 0 10px rgba(255, 210, 0, .4);
}

.hct-refresh {
  border-color: #b0b0b0;
  background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
  color: #444;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(0, 0, 0, .1),
    0 2px 6px rgba(0, 0, 0, .14);
}

.hct-permanent {
  border: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .18) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, .18) 100%),
    linear-gradient(180deg, #10b840 0%, #068424 55%, #006b1c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -2px 0 rgba(0, 0, 0, .18),
    0 2px 6px rgba(0, 100, 20, .25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .18);
}

.hct-date-strip {
  border: 0;
  background: linear-gradient(180deg, #fffae8 0%, #ffedaa 60%, #ffe680 100%);
  color: #5a3800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -1px 0 rgba(200, 140, 0, .2);
  letter-spacing: 1px;
}

@media screen and (max-width: 820px), screen and (min-width: 821px) {
  body#index-page .header.index-header {
    padding: 6px 7px 0;
  }

  .hct-site-header {
    border-radius: 16px 16px 14px 14px;
  }

  .hct-lottery-strip {
    gap: 5px;
  }

  .hct-period-box {
    padding-left: 6px;
  }

  .hct-history-link {
    font-size: 13px;
  }
}

@media screen and (max-width: 370px) {
  body#index-page .header.index-header {
    padding-right: 5px;
    padding-left: 5px;
  }
}

/* ===== 全页面层次感提升 ===== */

/* 1. 页面底色：暖灰色背景让卡片浮起 */
.hct-home {
  background: linear-gradient(180deg, #f5f1ec 0%, #f2efe9 100%);
}

/* 2. 快捷导航区：白色圆角托盘 */
.hct-shortcuts {
  background: #fff;
  border: 1px solid rgba(215, 205, 190, .55);
  border-radius: 16px;
  padding: 10px 8px 12px;
  margin-bottom: 2px;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, .07),
    0 1px 0 rgba(255, 255, 255, .95) inset;
}

/* 3. 快捷按钮卡片：精致渐变 + 立体感 */
.hct-shortcut {
  border: 1px solid rgba(215, 205, 185, .5);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #faf7f2 100%);
  box-shadow:
    0 5px 16px rgba(0, 0, 0, .08),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

/* 4. 开奖结果卡片 */
.hct-result-panel {
  border: 1px solid rgba(205, 198, 180, .6);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #f8fffe 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, .10),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

/* 5. 广告横幅：更圆润 */
.hct-ad-banner {
  border-radius: 16px;
  border-color: rgba(200, 192, 178, .45);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, .13),
    0 2px 0 rgba(255, 255, 255, .6) inset;
}

/* 6. 绿色主标题按钮 */
.hct-green-title {
  border-radius: 14px;
  box-shadow:
    0 10px 24px rgba(0, 100, 20, .28),
    0 2px 0 rgba(255, 255, 255, .22) inset,
    0 -3px 0 rgba(0, 0, 0, .14) inset;
}

/* 7. 绿色丝带 */
.hct-green-ribbon {
  border-radius: 12px;
  box-shadow:
    0 6px 18px rgba(0, 90, 18, .22),
    0 1px 0 rgba(255, 255, 255, .20) inset,
    0 -3px 0 rgba(0, 0, 0, .12) inset;
}

/* 8. 区块标题：左侧红色竖条装饰 */
.hct-block-title {
  position: relative;
  padding-left: 14px;
  text-align: left;
}
.hct-block-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  min-height: 22px;
  height: 78%;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff4040 0%, #c20000 100%);
}

/* 9. 通用白色卡片：更大圆角 + 阴影 */
.hct-pick-panel,
.hct-split-card,
.hct-tail-panel,
.hct-expert-section,
.hct-category-section,
.hct-attribute-section {
  border: 1px solid rgba(210, 202, 185, .55);
  border-radius: 16px;
  box-shadow:
    0 5px 18px rgba(0, 0, 0, .08),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

/* 10. 资料区 */
.hct-material-section {
  border: 1px solid rgba(210, 202, 185, .55);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffef8 0%, #fffbee 100%);
  box-shadow:
    0 5px 18px rgba(0, 0, 0, .07),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

/* 11. 资料小卡片 */
.hct-material-card {
  border-radius: 12px;
  border-color: rgba(215, 208, 190, .55);
  background: linear-gradient(180deg, #fff 0%, #fdfcf5 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

/* 12. 高手推荐卡片 */
.hct-expert-card {
  border-radius: 14px;
  border-color: rgba(215, 208, 192, .55);
  background: linear-gradient(180deg, #fff 0%, #fdfdf8 100%);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, .07),
    0 1px 0 rgba(255, 255, 255, .9) inset;
}

/* 13. 分类按钮 */
.hct-category-btn {
  border-radius: 12px;
  border-color: rgba(212, 205, 190, .55);
  background: linear-gradient(180deg, #fff 0%, #f8f6f0 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .06);
}

/* 14. 属性栏外框 */
.hct-attribute-frame-wrap {
  border-radius: 12px;
  border-color: rgba(210, 202, 188, .5);
}

/* 15. 底部导航 */
.hct-bottom-nav {
  border-radius: 14px;
  border-color: rgba(210, 202, 188, .55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

/* 16. 资料卡片（ziliao） */
.am-ziliao-card {
  border-radius: 14px;
  border-color: rgba(210, 202, 186, .5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

/* 17. 推荐表格 */
.hct-reco-table {
  border-radius: 14px;
  border-color: rgba(210, 202, 186, .55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

/* 18. 资料加载中占位 */
.hct-ziliao-loading {
  border-radius: 14px;
  border-color: rgba(210, 202, 186, .5);
}

/* === 移动端响应调整 === */
@media screen and (max-width: 820px), screen and (min-width: 821px) {
  .hct-shortcuts {
    padding: 6px 5px 8px;
    gap: 4px;
    border-radius: 14px;
  }
  .hct-shortcut {
    min-height: 90px;
    padding: 6px 4px 7px;
    border-radius: 12px;
  }
  .hct-result-panel,
  .hct-material-section,
  .hct-pick-panel,
  .hct-split-card,
  .hct-tail-panel,
  .hct-expert-section,
  .hct-category-section,
  .hct-attribute-section,
  .hct-green-title {
    border-radius: 14px;
  }
  .hct-ad-banner,
  .am-ziliao-card,
  .hct-reco-table,
  .hct-expert-card,
  .hct-bottom-nav {
    border-radius: 12px;
  }
  .hct-green-ribbon {
    border-radius: 10px;
  }
  .hct-block-title {
    padding-left: 12px;
  }
}

@media screen and (max-width: 390px), screen and (min-width: 821px) {
  .hct-shortcuts {
    padding: 5px 4px 7px;
    gap: 3px;
    border-radius: 12px;
  }
  .hct-shortcut {
    min-height: 86px;
    padding: 5px 3px 6px;
  }
}

@media screen and (max-width: 340px) {
  .hct-shortcuts {
    padding: 4px 3px 6px;
  }
  .hct-shortcut {
    min-height: 82px;
    padding: 4px 2px 5px;
  }
}

/* 手机端右浮窗不要遮住资料区首屏横幅。 */
@media screen and (max-width: 820px) {
  body#index-page .local-promo-float {
    top: auto !important;
    right: 4px !important;
    bottom: 72px !important;
    width: 82px !important;
    z-index: 590 !important;
  }

  body#index-page .local-promo-float img {
    width: 70px !important;
  }

  body#index-page .local-promo-float-close {
    top: auto !important;
    right: 4px !important;
    bottom: 146px !important;
    z-index: 591 !important;
  }

  body#index-page .hct-material-section .hct-ad-banner-inset {
    position: relative;
    z-index: 610;
  }
}
