/* Classic golden treasury: luminous gold, engraved currency and visible SVG motion. */
html:has(.home-rebuild), body:has(.home-rebuild), body:has(.home-rebuild) #root { min-width: 0; }
html:has(.home-rebuild) { scroll-behavior: smooth; }
body:has(.home-rebuild) {
  --zev-ink: #21180f;
  --zev-muted: #5b3a18;
  --zev-red: #863348;
  --zev-gold: #d1a13e;
  --zev-line: #e4be69;
  background: radial-gradient(ellipse 90% 560px at 50% 0, #ffe69a 0%, #eebd44 52%, transparent 100%),
    linear-gradient(#cd9224 0, #f1c451 480px, #f8d879 860px, #f8d879 100%);
  color: var(--zev-ink);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(.home-rebuild) .site-nav-shell {
  background: linear-gradient(110deg,#794510,#8f5e20 50%,#78440f); border-bottom: 1px solid #ffe2a3;
  box-shadow: 0 6px 28px #0d091217; backdrop-filter: blur(18px);
}
body:has(.home-rebuild) .nav-inner { max-width: 1176px; padding: 0 20px; }
body:has(.home-rebuild) .nav-row-primary,
body:has(.home-rebuild) .site-bottom-nav { height: 64px; }
body:has(.home-rebuild) .nav-item {
  min-height: 64px; border: 0; border-radius: 0;
  color: #fffdf5; background: transparent; font-size: 14px; font-weight: 500;
  letter-spacing: .04em; transition: color .2s, background .2s;
}
body:has(.home-rebuild) .nav-item:hover { color: #ffffff; background: #e9bd7120; }
body:has(.home-rebuild) .nav-row .nav-item + .nav-item { border-left: 1px solid #ead1a312; }
body:has(.home-rebuild) .nav-item.active {
  color: #fffdf5; background: linear-gradient(0deg, #cda66e1c, transparent);
  box-shadow: inset 0 -2px #d2ad74;
}
body:has(.home-rebuild) .support-nav-icon {
  width: 28px; height: 28px; border: 1px solid #dabb824a;
  background: #dfb36b16; color: #fffdf5; box-shadow: none;
}
body:has(.home-rebuild) .page-container.public-page { max-width: 1296px; padding: 28px 68px 30px; }
.home-rebuild { max-width: 1160px; margin: 0 auto; color: var(--zev-ink); font-size: 15px; line-height: 1.7; gap: 24px; }
.home-rebuild > * { min-width: 0; }

/* Sculptural masthead and overlapping results panel. */
.home-rebuild .brand-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 30px; min-height: 354px; padding: 46px 48px 64px; margin: 0;
  border: 2px solid #aa741c; border-radius: 20px;
  background: radial-gradient(ellipse at 73% 20%,#fff3b7b3,transparent 43%),
    linear-gradient(118deg,#dc9e1f 0%,#ffdf77 27%,#cc890c 53%,#ffe499 77%,#b77a10 100%);
  box-shadow: inset 0 0 0 5px #ffe7949c, inset 0 0 0 6px #89520b66, 0 20px 42px #9b600c4d, 0 4px 8px #79440a35;
}
.home-rebuild .brand-hero::before {
  content: ""; position: absolute; inset: 6px; z-index: 1; pointer-events: none;
  border: 0; border-radius: 14px;
  background: url("./gilded-frame.svg") center / 100% 100% no-repeat;
  opacity: .9;
}
.home-rebuild .brand-hero::after { content: none; }
.home-rebuild .brand-identity { align-items: flex-start; gap: 22px; min-width: 0; position: relative; }
.home-rebuild .duojinbao-logo {
  width: 66px; height: 76px; flex-shrink: 0; padding: 9px; margin-top: 21px;
  border: 1px solid #e8c9926b; border-radius: 18px 18px 24px 24px;
  background: linear-gradient(145deg, #f3d79525, #5c362a33);
  filter: sepia(.45) saturate(.75) drop-shadow(0 6px 12px #14081044);
}
.home-rebuild .brand-kicker {
  display: flex; align-items: center; gap: 12px; color: #3b260f;
  font-size: 12px; font-weight: 500; letter-spacing: .14em;
}
.home-rebuild .brand-kicker::before { content: ""; width: 27px; height: 1px; background: #d4ad74; }
.home-rebuild .brand-identity h1 {
  margin: 16px 0 15px; color: #21180f;
  font-family: inherit;
  font-size: clamp(38px, 4.6vw, 58px); line-height: 1.2; letter-spacing: .045em; font-weight: 700;
  background: none; -webkit-text-fill-color: currentColor;
  text-shadow: none;
}
.home-rebuild .brand-identity p { color: #33210e; font-size: 14px; letter-spacing: .025em; font-weight: 400; }
.home-rebuild .brand-trust-list {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: 9px;
  min-width: 0; max-width: 62%; border: 0; padding: 0;
  color: #3b260f; font-size: 12px; line-height: 1.5;
}
.home-rebuild .brand-trust-list span {
  display: flex; align-items: center; gap: 7px; padding: 8px 11px;
  border: 1px solid #ebc88e2e; border-radius: 5px; background: #fff4c54a;
  color: inherit; font-size: inherit; font-weight: 400; white-space: normal;
}
.home-rebuild .brand-trust-list span::before {
  width: 13px; height: 13px; line-height: 11px; font-size: 12px; margin: 0;
  border: 1px solid #ddb7796e; background: #dbb07114; color: #efcb8e; box-shadow: none;
}
.home-rebuild .home-draw-card {
  position: relative; z-index: 1; width: calc(100% - 40px); margin: -52px auto 0;
  overflow: hidden; border: 1px solid #c59b44; border-radius: 18px;
  background: #ffeab0; box-shadow: 0 18px 38px #8b530e29, 0 2px 5px #51362b14;
}
.home-rebuild .home-draw-head {
  height: auto; min-height: 58px; padding: 17px 28px;
  border-bottom: 1px solid #d4ad57; background: linear-gradient(100deg, #efc15c, #ffe09a, #e5b34b);
  gap: 14px; align-items: center;
}
.home-rebuild .home-draw-title { color: #33210e; font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.home-rebuild .home-draw-title::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 12px 3px 0;
  border-radius: 50%; background: #aa7944; box-shadow: 0 0 0 5px #b8895013;
}
.home-rebuild .next-issue { color: #5b3a18; font-size: 12px; font-weight: 400; }
.home-rebuild .next-issue b { color: #4b2e12; font-weight: 600; }
.home-rebuild .home-draw-body {
  grid-template-columns: minmax(0,1fr) 252px; gap: 30px;
  min-height: 182px; padding: 24px 30px;
}
.home-rebuild .home-draw-main { min-width: 0; }
.home-rebuild .current-issue-line { color: #5b3a18; font-size: 12px; margin-bottom: 17px; font-weight: 400; }
.home-rebuild .current-issue-line .issue-no { color: #863348; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.home-rebuild .draw-result-home { gap: 10px; }
.home-rebuild .draw-result-home .draw-number {
  width: 49px; height: 49px; border: 2px solid #fff; border-radius: 50%; font-size: 25px;
  box-shadow: 0 2px 4px #6b4b1d20, 0 0 0 1px #dfd5c3, inset 0 1px 2px #ffffff44;
  font-weight: 700; font-variant-numeric: tabular-nums;
}
.home-rebuild .draw-number.red { background: #e31b2b; color: #fff; }
.home-rebuild .draw-number.blue { background: #0869df; color: #fff; }
.home-rebuild .draw-number.green { background: #0a842b; color: #fff; }
.home-rebuild .result-zodiac { color: #4b2e12; font-size: 12px; margin-top: 6px; font-weight: 400; }
.home-rebuild .plus-sign { color: #725025; font-weight: 400; }
.home-rebuild .home-countdown-panel {
  min-width: 0; padding: 19px 16px 15px; border: 1px solid #705345; border-radius: 12px;
  background: radial-gradient(ellipse at top, #60383a66, transparent), #2e222b;
  box-shadow: inset 0 1px #ecd1a62b, 0 5px 12px #32202714;
}
.home-rebuild .countdown-box { gap: 4px; justify-content: center; margin-bottom: 0; }
.home-rebuild .count-digit {
  width: 27px; min-width: 27px; height: 38px; font: 500 24px/38px "Segoe UI", sans-serif;
  border: 1px solid #a7856357; border-radius: 5px;
  background: linear-gradient(#544033 49%, #3f302d 50%); color: #f3d6a2;
  box-shadow: inset 0 1px #f6ddba19, 0 2px 3px #140d1580; font-variant-numeric: tabular-nums;
}
.home-rebuild .count-colon { color: #fff1cc; font-size: 22px; }
.home-rebuild .count-note { width: auto; background: none; color: #fff1cc; font-size: 12px; margin: 13px 0 0; padding: 0; letter-spacing: .18em; }
.home-rebuild .home-draw-source { background: #f7dda0; border-top: 1px solid #ddbc72; padding: 10px 18px; color: #4b2e12; font-size: 12px; }
.home-rebuild .home-draw-source a { color: #51320c; }

/* Clear, compact information sections with a distinct premium collection. */
.home-rebuild .ad-slot { margin: 0; border: 1px solid #cfa047; border-radius: 9px; background: linear-gradient(105deg,#eec461,#ffe09a,#e8b849); box-shadow: inset 0 1px #fff1b8; }
.home-rebuild .ad-slot > a { min-height: 48px; padding: 12px 18px; gap: 13px; }
.home-rebuild .ad-slot .ad-label { border: 1px solid #b8975c80; border-radius: 4px; background: #fcf5e4; color: #4b2e12; font-size: 12px; font-weight: 600; }
.home-rebuild .ad-slot .ad-copy { color: #33210e; font-size: 12px; font-weight: 500; }
.home-rebuild .ad-slot .ad-cta { color: #4b2e12; font-size: 12px; }
.home-rebuild #post-themes { display: grid; gap: 26px; }
.home-rebuild .home-post-board {
  margin: 0; overflow: hidden; border: 1px solid #bc8b2f; border-radius: 17px;
  background: linear-gradient(105deg,#f4cc6c,#ffe8a3,#efc05a); box-shadow: inset 0 0 0 3px #ffeaa76b, 0 10px 27px #87500d1c;
}
.home-rebuild .home-post-board:first-child { border-color: #b78322; box-shadow: inset 0 0 0 3px #ffeaa766,0 12px 32px #80501126; }
.home-rebuild .home-section-heading {
  min-height: 92px; padding: 22px 28px; gap: 18px; border-bottom: 1px solid #bd8c31;
  background: linear-gradient(105deg,#dca23c,#ffda80,#d5a044); color: #33210e;
}
.home-rebuild .home-post-board:first-child .home-section-heading {
  background: radial-gradient(ellipse at 90% 0, #8562454d, transparent 58%), linear-gradient(115deg, #6b3e10, #a56b20);
  border-bottom: 1px solid #bd995f; color: #fff1bd;
}
.home-rebuild .home-section-heading > div:first-child:not(.home-history-meta) { position: relative; padding-left: 0; }
.home-rebuild .home-section-heading > div:first-child:not(.home-history-meta)::before {
  content: none; position: absolute; left: 0; top: 3px; width: 40px; height: 40px;
  background: none;
}
.home-rebuild .home-post-board:first-child .home-section-heading > div:first-child::before { filter: brightness(1.3); }
.home-rebuild .home-section-heading.black > div:first-child::before { filter: hue-rotate(115deg) saturate(.6); }
.home-rebuild .home-section-heading > div > span { color: #5b3a18; font-size: 12px; letter-spacing: .22em; font-weight: 600; }
.home-rebuild .home-section-heading h2 { margin: 5px 0 0; color: #21180f; font-size: 23px; font-weight: 700; letter-spacing: .05em; }
.home-rebuild .home-post-board:first-child .home-section-heading h2 { color: #fffdf5; }
.home-rebuild .home-post-board:first-child .home-section-heading > div > span { color: #fffdf5; }
.home-rebuild .home-section-heading > b { border: 1px solid #deceb4; border-radius: 5px; background: #f8f1e3; color: #4b2e12; font-size: 12px; font-weight: 500; padding: 6px 10px; }
.home-rebuild .home-post-board:first-child .home-section-heading > b { border-color: #b896604f; background: #eec58212; color: #fffdf5; }
.home-rebuild .home-post-list { display: grid; grid-template-columns: minmax(0,1fr); padding: 18px; gap: 10px; }
.home-rebuild .home-post-item {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: center; align-items: center;
  gap: 5px 18px; position: relative; min-width: 0; min-height: 65px; padding: 16px 49px 16px 21px;
  border: 1px solid #cd9b3a; border-radius: 9px; background: linear-gradient(110deg,#ffeaaf,#f5cf75 72%,#e9bc57);
  box-shadow: inset 0 1px #fff4c2,inset 0 -1px #c08b2420,0 3px 6px #8c5b0d0d;
  text-decoration: none; transition: background .2s, border-color .2s, box-shadow .2s;
}
.home-rebuild .home-post-item::after {
  content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #aa7628; font: 25px/1 Arial,sans-serif;
}
.home-rebuild .home-post-item strong {
  grid-row: 1; grid-column: 1; min-width: 0; padding: 0; color: #21180f;
  font-size: 16px; font-weight: 600; line-height: 1.6; white-space: normal; overflow: visible; overflow-wrap: anywhere;
}
.home-rebuild .home-post-item .post-badge {
  grid-row: 1; grid-column: 2; justify-self: end; margin: 0; min-width: 0; padding: 5px 9px;
  border: 1px solid #b78930; border-radius: 4px; background: linear-gradient(#f7df94,#dcad49); color: #4b2e12;
  box-shadow: inset 0 1px #fff2b5; font-size: 12px; line-height: 1.2; font-weight: 600; white-space: nowrap;
}
.home-rebuild .home-post-item .post-badge span { color: inherit; font-size: inherit; }
.home-rebuild .home-post-item.free { background: linear-gradient(110deg,#ffeab0,#f6d68a); border-color: #cfa64d; }
.home-rebuild .home-post-item.free .post-badge,
.home-rebuild .home-post-item.paid.released .post-badge { background: #f7e7b2; color: #4b2e12; border-color: #dcb961; }
.home-rebuild .home-post-item small { grid-row: 2; grid-column: 1 / -1; margin: 0; padding: 0; color: #5b3a18; font-size: 12px; text-align: left; line-height: 1.5; }
.home-rebuild .home-post-item:hover { transform: none; border-color: #9d6b20; box-shadow: inset 3px 0 #b17e25,inset 0 1px #fff4bf,0 5px 12px #8b591b26; }
.home-rebuild .home-post-item:hover strong { color: #853448; }

/* A single current issue from selected public posts is readable on the homepage. */
.home-rebuild .zev-free-featured {
  overflow: hidden; min-width: 0; border: 2px solid #b47b1d; border-radius: 17px;
  background: linear-gradient(112deg,#e7b747,#ffdc7f 48%,#dfa52d);
  box-shadow: inset 0 0 0 4px #ffe49366,0 14px 32px #83500d2b;
}
.home-rebuild .zev-free-featured [hidden] { display: none !important; }
.home-rebuild .zev-free-header {
  position: relative; isolation: isolate; display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px 20px; padding: 26px 28px; border-bottom: 1px solid #bb852a;
  background: radial-gradient(ellipse at top right,#b7863826,transparent 65%),linear-gradient(110deg,#683d0d,#82501a);
  color: #fffdf5;
}
.home-rebuild .zev-free-header::before {
  content: ""; position: absolute; inset: 3px; z-index: -1; pointer-events: none;
  background: url("./gilded-frame.svg") center / 100% 100% no-repeat; opacity: .6;
}
.home-rebuild .zev-free-header h2 { margin: 0; font-family: inherit; font-size: 25px; line-height: 1.4; letter-spacing: .045em; color: #fffdf5; text-shadow: none; }
.home-rebuild .zev-free-header p { margin: 6px 0 0; font-size: 12px; color: #fffdf5; line-height: 1.7; }
.home-rebuild .zev-free-issue { display: inline-block; color: #fffdf5; font-size: 12px; line-height: 1.6; font-weight: 500; }
.home-rebuild .zev-free-refresh, .home-rebuild .zev-free-retry {
  min-height: 35px; padding: 7px 12px; border: 1px solid #d4a340; border-radius: 5px;
  background: linear-gradient(115deg,#ffe6a3,#e6b949); color: #3f250a;
  box-shadow: inset 0 1px #fff0b4; font: 500 12px/1.5 "Microsoft YaHei UI","Microsoft YaHei","PingFang SC",Arial,sans-serif; cursor: pointer;
}
.home-rebuild .zev-free-refresh { margin-left: auto; }
.home-rebuild .zev-free-refresh:disabled, .home-rebuild .zev-free-retry:disabled { opacity: .6; cursor: wait; }
.home-rebuild .zev-free-list { display: grid; grid-template-columns: minmax(0,1fr); padding: 18px; gap: 14px; }
.home-rebuild .zev-free-card {
  position: relative; min-width: 0; padding: 21px 24px; border: 1px solid #c9952f; border-radius: 10px;
  background: radial-gradient(ellipse at top right,#fff4c29c,transparent 60%),linear-gradient(115deg,#ffedaf,#f8d680 72%,#edbe54);
  box-shadow: inset 0 0 0 3px #fff0b247,0 5px 12px #95631517;
}
.home-rebuild .zev-free-title { margin: 0; color: #21180f; font-size: 18px; font-weight: 600; line-height: 1.7; }
.home-rebuild .zev-free-title a { color: inherit; text-decoration: none; }
.home-rebuild .zev-free-period { display: block; margin-top: 4px; color: #5b3a18; font-size: 12px; line-height: 1.7; }
.home-rebuild .zev-free-values {
  margin: 12px 0 10px; padding: 12px 15px; border: 1px solid #bc8b31; border-radius: 6px;
  background: linear-gradient(110deg,#edc873 0%,#f9dfa0 43%,#f0ca73 100%);
  box-shadow: inset 0 2px 5px #8c59151f,inset 0 -1px 0 #fff0b899,0 1px 0 #fff1bd80;
  color: #38250f; font-size: 18px; font-weight: 500; line-height: 1.7;
  font-variant-numeric: tabular-nums; letter-spacing: 0; word-spacing: 0;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.home-rebuild .zev-free-state { margin: 9px 0; color: #5b3a18; font-size: 12px; line-height: 1.8; }
.home-rebuild .zev-free-featured > .zev-free-state { margin: 0; padding: 22px 25px; }
.home-rebuild .zev-free-card[data-state="error"] .zev-free-state { color: #87371b; }
.home-rebuild .zev-free-card[data-state="pending"] .zev-free-state { color: #6d4518; }
.home-rebuild .zev-free-link { display: inline-block; color: #60350d; font-size: 12px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #bd8e36; padding-bottom: 2px; }
.home-rebuild .zev-free-link:hover { color: #633706; border-bottom-color: #875412; }
.home-rebuild a:focus-visible, .home-rebuild button:focus-visible,
body:has(.home-rebuild) .nav-item:focus-visible, body:has(.home-rebuild) .dock-item:focus-visible,
body:has(.home-rebuild) .public-floating-top:focus-visible { outline: 3px solid #b4823c; outline-offset: 3px; }

.home-rebuild .recharge-support-banner { margin: 0; overflow: hidden; border: 1px solid #c6ae87; border-radius: 15px; background: #714110; box-shadow: 0 8px 22px #4b352315; }
.home-rebuild .support-banner-main { min-height: 106px; padding: 24px 30px; gap: 20px; background: radial-gradient(ellipse at 75% 0, #b9914640, transparent 55%); color: #fffdf5; }
.home-rebuild .support-banner-copy b { color: #fffdf5; font-size: 21px; font-weight: 600; letter-spacing: .04em; }
.home-rebuild .support-banner-copy small { color: #fffdf5; font-size: 12px; margin-top: 8px; }
.home-rebuild .support-hand-icon { width: 46px; height: 46px; filter: sepia(1) saturate(.7); opacity: .8; }
.home-rebuild .support-banner-action { border: 1px solid #e3c38c; border-radius: 7px; padding: 12px 22px; background: linear-gradient(120deg, #ead1a0, #bd945c); color: #4a3024; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px #0c080a25; }
.home-rebuild .recharge-support-banner .support-banner-main:hover .support-banner-action { background: linear-gradient(120deg, #f5e3bc, #d7b075); color: #4a3024; }
.home-rebuild .support-account-strip { padding: 11px 24px; border-top: 1px solid #f1d7a322; background: #160f161f; color: #fffdf5; font-size: 12px; }
.home-rebuild .support-account-strip a { color: #fffdf5; }

/* Archive and reference tools retain their original records and controls. */
.home-rebuild .home-history { overflow: hidden; border: 1px solid #d9b461; border-radius: 17px; background: #fff7d5; box-shadow: 0 6px 22px #55483207; }
.home-rebuild .home-history-meta { gap: 9px; }
.home-rebuild .home-history-meta small { color: #5b3a18; font-size: 12px; }
.home-rebuild .home-history-meta button,
.home-rebuild .home-history-meta a,
.home-rebuild .material-toggle { border: 1px solid #d8c299; border-radius: 6px; padding: 8px 11px; background: #fae5ad; color: #4b2e12; font-size: 12px; font-weight: 500; box-shadow: inset 0 1px #fff; }
.home-rebuild .home-history-meta b { color: #5b3a18; font-size: 12px; }
.home-rebuild .draw-table th { border-color: #e6d9c5; padding: 14px; background: #f4d58b; color: #4b2e12; font-size: 12px; font-weight: 500; }
.home-rebuild .draw-table td { border-color: #f5dfa0; padding: 18px 14px; background: transparent; }
.home-rebuild .draw-table tbody tr:not(.materials-row):hover { background: #edcc7c; }
.home-rebuild .draw-table .issue-cell { color: #4b2e12; font-size: 12px; }
.home-rebuild .draw-table .issue-no { color: #843b45; font-size: 13px; }
.home-rebuild .draw-table .time-cell { color: #5b3a18; font-size: 12px; }
.home-rebuild .draw-result-table .draw-number { width: 34px; height: 36px; min-width: 0; display: grid; place-items: center; border: 0; border-radius: 0; color: #fff; box-shadow: inset 0 -3px 0 #0000001f; font-family: Arial, "Microsoft YaHei", sans-serif; font-weight: 900; font-size: 22px; line-height: 1; text-shadow: none; }
.home-rebuild .draw-result-table .plus-sign { line-height: 36px; font-size: 21px; }
.home-rebuild .material-count { margin-top: 7px; color: #5b3a18; font-size: 12px; }
.home-rebuild .pending-label { background: #edcf85; color: #4b2e12; border-color: transparent; }
.home-rebuild .materials-panel { border: 1px solid #e2d3bb; border-radius: 8px; overflow: hidden; }
.home-rebuild .materials-title { background: #f2e6d3; color: #4b2e12; border-color: #e2d3bb; padding: 13px 14px; font-size: 14px; }
.home-rebuild .materials-title small { color: #5b3a18; font-size: 12px; }
.home-rebuild .draw-topic-table td { color: #33210e; font-size: 14px; }
.home-rebuild .draw-topic-table .post-cell { color: #843b3b; font-weight: 600; }
.home-rebuild .draw-topic-table .topic-hit-value { color: #8b303a; background: #f4dfc5; border-radius: 3px; padding: 1px 3px; }
.home-rebuild .lottery-reference { margin: 0; padding: 28px; border: 1px solid #d9b461; border-radius: 17px; background: #fff7d5; box-shadow: none; }
.home-rebuild .lottery-reference > header { border-color: #e6d9c3; padding-bottom: 20px; margin-bottom: 22px; }
.home-rebuild .lottery-reference > header > span { border: 1px solid #dbc49c; border-radius: 4px; background: #f6ecd8; color: #5b3a18; font-size: 12px; }
.home-rebuild .lottery-reference h2 { color: #21180f; font-size: 22px; letter-spacing: .03em; }
.home-rebuild .lottery-reference header small { color: #5b3a18; font-size: 12px; }
.home-rebuild .zodiac-reference-grid { gap: 11px; }
.home-rebuild .zodiac-reference-grid article { padding: 16px 11px; border: 1px solid #caa04c; border-radius: 9px; background: linear-gradient(125deg,#f2d48b,#fae7b7); }
.home-rebuild .zodiac-reference-grid article > strong { color: #874548; font-family: inherit; font-size: 28px; }
.home-rebuild .reference-section-title { margin-top: 26px; border-color: #dccaab; border-radius: 5px; background: #f1e8d6; color: #4b2e12; font-size: 13px; }
.home-rebuild .property-item { border-color: #ddbf77; border-radius: 6px; background: #fff3c8; }
.home-rebuild .property-item dt { color: #4b2e12; }
.home-rebuild .property-item dd { color: #33210e; }
body:has(.home-rebuild) .public-footer { margin-top: 28px; padding: 32px 18px; border: 1px solid #d8c9b0; border-radius: 12px; background: #f5dfa0; color: #5b3a18; font-size: 12px; }
body:has(.home-rebuild) .public-footer > strong { color: #33210e; font-family: inherit; font-size: 16px; }

/* One coherent, unobtrusive shortcut dock. */
body:has(.home-rebuild) .global-floating-top,
body:has(.home-rebuild) .global-recharge-float { display: none; }
body:has(.home-rebuild) .public-floating-tools { right: max(10px, calc((100vw - 1284px) / 2)); left: auto; }
body:has(.home-rebuild) .public-floating-dock { gap: 8px; }
body:has(.home-rebuild) .dock-item,
body:has(.home-rebuild) .public-floating-top { width: 44px; height: 44px; border: 1px solid #d4bd946e; border-radius: 12px; background: #845019; color: #fffdf5; box-shadow: 0 4px 12px #2d152320; }
body:has(.home-rebuild) .dock-item.active { background: linear-gradient(145deg, #f0dbaa, #bd945b); color: #4e3229; border-color: #d8b579; }
body:has(.home-rebuild) .dock-item.dock-support { background: #9a611d; color: #fffdf5; border-color: #9e7857; }
body:has(.home-rebuild) .dock-item svg { width: 19px; height: 19px; }
body:has(.home-rebuild) .dock-item span { font-size: 12px; }

@media (max-width: 1100px) {
  body:has(.home-rebuild) .page-container.public-page { padding: 24px 24px 88px; }
  .home-rebuild .brand-hero { padding-left: 34px; padding-right: 34px; }
  .home-rebuild .brand-identity h1 { font-size: 47px; }
  .home-rebuild .brand-hero::after { width: 48%; right: -28px; }
  .home-rebuild .home-post-list { grid-template-columns: minmax(0,1fr); }
  body:has(.home-rebuild) .public-floating-tools { right: 0; left: 0; }
  body:has(.home-rebuild) .public-floating-dock { width: min(100%,768px); background: #fff1c9fa; border-color: #b493624d; gap: 3px; box-shadow: 0 -5px 25px #35203124; backdrop-filter: blur(16px); }
  body:has(.home-rebuild) .public-floating-dock .dock-item { width: auto; height: auto; min-height: 44px; border: 0; background: transparent; color: #4b2e12; box-shadow: none; border-radius: 8px; }
  body:has(.home-rebuild) .public-floating-dock .dock-item.active { background: #e9b84744; color: #33210e; }
  body:has(.home-rebuild) .public-floating-dock .dock-support { background: #efc26155; color: #4b2e12; }
}
@media (max-width: 1000px) and (min-width: 821px) {
  .home-rebuild .home-draw-body { grid-template-columns: minmax(0,1fr) 218px; gap: 18px; padding: 24px; }
  .home-rebuild .home-countdown-panel { padding-left: 10px; padding-right: 10px; }
  .home-rebuild .count-digit { width: 24px; min-width: 24px; }
  .home-rebuild .draw-result-home { gap: 7px; }
  .home-rebuild .draw-result-home .draw-number { width: 41px; height: 41px; font-size: 22px; }
  .home-rebuild .brand-identity { gap: 14px; }
  .home-rebuild .duojinbao-logo { width: 53px; height: 66px; padding: 6px; }
  .home-rebuild .brand-identity h1 { font-size: 40px; }
  .home-rebuild .brand-trust-list { max-width: 67%; }
}
@media (max-width: 820px) {
  body:has(.home-rebuild) { background: linear-gradient(#cc9121,#f1c34e 390px,#f8d575 680px); }
  body:has(.home-rebuild) .page-container.public-page { padding: 16px 14px 88px; }
  body:has(.home-rebuild) .nav-inner { padding: 0; }
  body:has(.home-rebuild) .nav-row-primary { height: 48px; }
  body:has(.home-rebuild) .nav-item { min-height: 48px; font-size: 14px; }
  .home-rebuild { gap: 18px; }
  .home-rebuild .brand-hero { min-height: 274px; padding: 32px 28px 51px; gap: 24px; border-radius: 17px; }
  .home-rebuild .brand-hero::after { width: 52%; right: -15px; top: -30px; bottom: -10px; opacity: .85; animation: none; }
  .home-rebuild .brand-hero::before { inset: 7px; border-radius: 11px; background-size: 430px auto; }
  .home-rebuild .brand-identity { gap: 13px; }
  .home-rebuild .duojinbao-logo { width: 52px; height: 64px; padding: 6px; margin-top: 16px; border-radius: 13px; }
  .home-rebuild .brand-kicker { font-size: 12px; letter-spacing: .14em; gap: 8px; }
  .home-rebuild .brand-kicker::before { width: 17px; }
  .home-rebuild .brand-identity h1 { font-size: 38px; margin: 13px 0 12px; }
  .home-rebuild .brand-identity p { font-size: 12px; letter-spacing: .025em; }
  .home-rebuild .brand-trust-list { max-width: 70%; gap: 7px; font-size: 12px; }
  .home-rebuild .brand-trust-list span { padding: 6px 8px; gap: 5px; }
  .home-rebuild .brand-trust-list span::before { width: 11px; height: 11px; font-size: 12px; line-height: 9px; }
  .home-rebuild .home-draw-card { width: calc(100% - 16px); margin-top: -44px; border-radius: 13px; }
  .home-rebuild .home-draw-head { min-height: 64px; padding: 13px 15px; gap: 5px; }
  .home-rebuild .home-draw-title { font-size: 15px; }
  .home-rebuild .next-issue { font-size: 12px; line-height: 1.7; white-space: normal; }
  .home-rebuild .home-draw-body { grid-template-columns: 1fr; padding: 21px 14px 20px; min-height: 130px; gap: 17px; }
  .home-rebuild .home-draw-main { width: 100%; min-width: 0; }
  .home-rebuild .current-issue-line { font-size: 12px; margin-bottom: 16px; }
  .home-rebuild .current-issue-line .issue-no { font-size: 16px; }
  .home-rebuild .draw-result-home { justify-content: center; gap: clamp(4px,1.8vw,10px); }
  .home-rebuild .draw-result-home .draw-number { width: clamp(29px,8vw,45px); height: clamp(29px,8vw,45px); border-width: 1px; font-size: clamp(17px,4.7vw,23px); }
  .home-rebuild .home-countdown-panel { display: none; }
  .home-rebuild .home-draw-source { padding: 9px 11px; font-size: 12px; line-height: 1.8; }
  .home-rebuild .ad-slot > a { padding: 11px; gap: 8px; min-height: 44px; }
  .home-rebuild .ad-slot .ad-copy { font-size: 12px; }
  .home-rebuild .ad-slot .ad-label { font-size: 12px; }
  .home-rebuild .ad-slot .ad-cta { font-size: 12px; white-space: nowrap; }
  .home-rebuild #post-themes { gap: 20px; }
  .home-rebuild .home-post-board { border-radius: 13px; }
  .home-rebuild .home-section-heading { min-height: 81px; padding: 18px 17px; gap: 8px; }
  .home-rebuild .home-section-heading h2 { font-size: 19px; }
  .home-rebuild .home-section-heading > div > span { font-size: 12px; letter-spacing: .15em; }
  .home-rebuild .home-section-heading > div:first-child:not(.home-history-meta) { padding-left: 0; }
  .home-rebuild .home-section-heading > div:first-child:not(.home-history-meta)::before { width: 32px; height: 32px; }
  .home-rebuild .home-section-heading > b { padding: 5px 7px; font-size: 12px; white-space: nowrap; }
  .home-rebuild .home-post-list { grid-template-columns: minmax(0,1fr); gap: 9px; padding: 12px; }
  .home-rebuild .home-post-item { min-height: 63px; padding: 13px 34px 13px 14px; gap: 5px 10px; border-radius: 7px; }
  .home-rebuild .home-post-item strong { font-size: 14px; line-height: 1.7; }
  .home-rebuild .home-post-item .post-badge { font-size: 12px; padding: 4px 7px; }
  .home-rebuild .home-post-item small { padding-right: 0; font-size: 12px; }
  .home-rebuild .home-post-item::after { right: 12px; font-size: 23px; }
  .home-rebuild .zev-free-featured { border-radius: 13px; }
  .home-rebuild .zev-free-header { padding: 23px 20px; gap: 9px 12px; }
  .home-rebuild .zev-free-header h2 { font-size: 23px; }
  .home-rebuild .zev-free-header p { font-size: 12px; }
  .home-rebuild .zev-free-issue { font-size: 12px; }
  .home-rebuild .zev-free-list { padding: 12px; gap: 12px; }
  .home-rebuild .zev-free-card { padding: 17px 16px; border-radius: 8px; }
  .home-rebuild .zev-free-title { font-size: 16px; }
  .home-rebuild .zev-free-values { margin: 10px 0; padding: 10px 11px; font-size: 18px; line-height: 1.7; }
  .home-rebuild .zev-free-state { font-size: 12px; }
  .home-rebuild .support-banner-main { min-height: 96px; padding: 21px 18px; gap: 10px; }
  .home-rebuild .support-banner-copy b { font-size: 17px; }
  .home-rebuild .support-banner-copy small { font-size: 12px; }
  .home-rebuild .support-hand-icon { display: none; }
  .home-rebuild .support-banner-action { padding: 10px 12px; font-size: 12px; white-space: nowrap; }
  .home-rebuild .support-account-strip { padding: 11px 16px; font-size: 12px; }
  .home-rebuild .home-history-meta { gap: 8px; }
  .home-rebuild .home-history-meta small { font-size: 12px; }
  .home-rebuild .home-history-meta a, .home-rebuild .home-history-meta button { padding: 7px 9px; font-size: 12px; }
  .home-rebuild .draw-table tbody tr { border-color: #e5d9c5; border-radius: 9px; box-shadow: none; }
  .home-rebuild .draw-table td { padding: 8px; }
  .home-rebuild .draw-table .issue-no { font-size: 13px; }
  .home-rebuild .draw-result-table .draw-number { width: clamp(26px,8vw,34px); height: clamp(28px,8.5vw,36px); font-size: clamp(18px,5.5vw,22px); }
  .home-rebuild .lottery-reference { padding: 20px 13px; border-radius: 13px; }
  .home-rebuild .lottery-reference h2 { font-size: 17px; }
  .home-rebuild .lottery-reference header small { font-size: 12px; }
  .home-rebuild .zodiac-reference-grid { gap: 8px; }
  .home-rebuild .zodiac-reference-grid article { padding: 12px 7px; }
  .home-rebuild .zodiac-reference-grid article > strong { font-size: 25px; }
  body:has(.home-rebuild) .public-footer { padding: 26px 15px; }
}
@media (max-width: 540px) {
  .home-rebuild .brand-hero { min-height: 318px; padding: 28px 23px 56px; justify-content: flex-start; }
  .home-rebuild .brand-hero::after { width: 258px; height: 191px; top: auto; right: -37px; bottom: 8px; opacity: .68; }
  .home-rebuild .brand-identity { z-index: 1; }
  .home-rebuild .duojinbao-logo { width: 43px; height: 54px; padding: 5px; }
  .home-rebuild .brand-identity h1 { font-size: 33px; }
  .home-rebuild .brand-identity p { font-size: 12px; letter-spacing: .025em; }
  .home-rebuild .brand-trust-list { flex-direction: column; align-items: flex-start; max-width: 55%; gap: 6px; }
  .home-rebuild .brand-trust-list span { padding: 5px 7px; }
}
@media (max-width: 360px) {
  body:has(.home-rebuild) .page-container.public-page { padding-left: 10px; padding-right: 10px; }
  .home-rebuild .brand-hero { padding: 26px 17px 50px; }
  .home-rebuild .brand-identity { gap: 10px; }
  .home-rebuild .brand-identity h1 { font-size: 28px; }
  .home-rebuild .brand-kicker { font-size: 12px; letter-spacing: .1em; }
  .home-rebuild .brand-identity p { font-size: 12px; }
  .home-rebuild .brand-hero::after { right: -53px; }
  .home-rebuild .home-draw-card { width: calc(100% - 10px); }
  .home-rebuild .home-draw-body { padding-left: 8px; padding-right: 8px; }
  .home-rebuild .draw-result-home { gap: 3px; }
  .home-rebuild .home-section-heading { padding-left: 12px; padding-right: 12px; }
  .home-rebuild .home-section-heading h2 { font-size: 17px; }
  .home-rebuild .home-post-list { padding: 9px; gap: 7px; }
  .home-rebuild .home-post-item { padding: 12px 30px 12px 11px; }
  .home-rebuild .home-post-item strong { font-size: 14px; }
  .home-rebuild .zev-free-header { padding: 20px 16px; }
  .home-rebuild .zev-free-header h2 { font-size: 21px; }
  .home-rebuild .zev-free-refresh { font-size: 12px; padding: 6px 9px; }
  .home-rebuild .zev-free-card { padding: 15px 12px; }
  .home-rebuild .zev-free-title { font-size: 16px; }
  .home-rebuild .zev-free-values { padding: 10px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.home-rebuild) { scroll-behavior: auto; }
  .home-rebuild .brand-hero::after { animation: none; }
  .home-rebuild .home-post-item, body:has(.home-rebuild) .nav-item { transition: none; }
  .home-rebuild .home-post-item:hover { transform: none; }
}
/* Inline SVG is part of the page, so animation is observable and pausable. */
.home-rebuild .zev-hero-art { position:absolute; z-index:0; pointer-events:none; width:51%; top:3px; right:-12px; bottom:13px; }
.home-rebuild .zev-hero-art > svg { display:block; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 15px 13px #8d57152a); }
.home-rebuild .brand-identity, .home-rebuild .brand-trust-list { position:relative; z-index:2; }
.home-rebuild .home-section-heading { position:relative; }
.home-rebuild .zev-section-art { position:absolute; right:20px; bottom:-9px; width:106px; height:18px; color:#bc871f; background:#fff4c9; pointer-events:none; }
.home-rebuild .zev-section-art svg { display:block; width:100%; height:100%; }
.home-rebuild .estate-ink, .home-rebuild .estate-section-ink { stroke-dasharray:1; animation:treasury-engrave 6.5s ease-in-out infinite; }
.home-rebuild .treasury-ink-symbol { animation-delay:.35s; }
.home-rebuild .treasury-ink-ornament { animation-delay:.65s; }
.home-rebuild .treasury-sheet-back { transform-box:view-box; transform-origin:310px 220px; animation:treasury-fan 5s ease-in-out infinite alternate; }
.home-rebuild .treasury-shine { animation:treasury-shine 4.5s ease-in-out infinite; }
.home-rebuild :is(.zev-hero-art,.zev-section-art) :is(.estate-ink,.estate-section-ink,.treasury-sheet-back,.treasury-shine) { animation-play-state:paused; }
.home-rebuild :is(.zev-hero-art,.zev-section-art).is-visible :is(.estate-ink,.estate-section-ink,.treasury-sheet-back,.treasury-shine) { animation-play-state:running; }
.home-rebuild :is(.zev-hero-art,.zev-section-art).is-page-hidden :is(.estate-ink,.estate-section-ink,.treasury-sheet-back,.treasury-shine) { animation-play-state:paused; }
@keyframes treasury-engrave { 0% { stroke-dashoffset:1; opacity:.95; } 48%,84% { stroke-dashoffset:0; opacity:.95; } 97%,100% { stroke-dashoffset:0; opacity:.1; } }
@keyframes treasury-fan { from { transform:translate(0,0) rotate(-2deg); } to { transform:translate(5px,-8px) rotate(4deg); } }
@keyframes treasury-shine { 0%,12% { transform:translateX(-190px); opacity:0; } 28% { opacity:.9; } 70% { opacity:.9; } 89%,100% { transform:translateX(360px); opacity:0; } }
@media(max-width:820px) { .home-rebuild .zev-hero-art { width:51%; right:-18px; top:-10px; bottom:10px; } }
@media(max-width:680px) {
  .home-rebuild .brand-hero { min-height:366px; }
  .home-rebuild .zev-hero-art { width:275px; height:205px; top:auto; right:-18px; bottom:10px; }
  .home-rebuild .brand-trust-list { max-width:48%; }
  .home-rebuild .zev-section-art { right:14px; width:85px; height:16px; bottom:-8px; }
}
@media(max-width:360px) { .home-rebuild .zev-hero-art { width:244px; right:-30px; } }
@media(prefers-reduced-motion:reduce) {
  .home-rebuild :is(.estate-ink,.estate-section-ink,.treasury-sheet-back,.treasury-shine) { animation:none; transform:none; stroke-dashoffset:0; opacity:1; }
  .home-rebuild .treasury-shine { opacity:.16; }
}
/* Readable text stays consistent after the original application's mobile rules. */
.home-rebuild :is(h1,h2,h3),
body:has(.home-rebuild) .public-footer > strong { font-family: inherit; }
.home-rebuild .brand-identity h1,
.home-rebuild .zev-free-header h2,
.home-rebuild .home-section-heading h2 { text-shadow: none; }
.home-rebuild .brand-trust-list span::before { width: 14px; height: 14px; flex: 0 0 14px; font-size: 10px; line-height: 12px; color: #654013; }
.home-rebuild .draw-result-home .result-zodiac,
.home-rebuild .draw-result-table .result-zodiac { color: #4b2e12; font-size: 12px; line-height: 1.35; }
.home-rebuild .home-post-item.paid.released small.released { font-size: 12px; font-weight: 500; }
.home-rebuild .reference-numbers b { font-size: 12px; }
.home-rebuild .zodiac-reference-grid article > small,
.home-rebuild .property-reference > .property-item { font-size: 14px; }
body:has(.home-rebuild) .public-footer small,
body:has(.home-rebuild) .public-footer .draw-source-notice { color: #5b3a18; font-size: 12px; }
body:has(.home-rebuild) .dock-item span,
body:has(.home-rebuild) .public-floating-top span { font-size: 12px; line-height: 1.2; text-align: center; }
body:has(.home-rebuild) .support-unread-badge { min-width: 22px; height: 22px; font-size: 12px; font-weight: 600; }
.home-rebuild .zev-free-values > .zev-number-chip {
  display: inline-grid; place-items: center; width: 26px; min-width: 26px; height: 28px;
  margin: 1px .5px; border-radius: 4px; color: #fff;
  font-family: Arial,"Microsoft YaHei",sans-serif; font-size: 15px; line-height: 1; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: 0; word-spacing: 0;
  vertical-align: middle; text-shadow: none;
}
.home-rebuild .zev-free-values > .zev-number-chip[data-zev-wave="red"] { background: #e31b2b; }
.home-rebuild .zev-free-values > .zev-number-chip[data-zev-wave="blue"] { background: #0869df; }
.home-rebuild .zev-free-values > .zev-number-chip[data-zev-wave="green"] { background: #0a842b; }
