/* Lightweight three-site polish — colors, spacing and card hierarchy only. */

html[data-site='shiqu']:root {
  --paper: #fff7fb;
  --surface: #fff;
  --ink: #2b2230;
  --muted: #746777;
  --line: #f0dce7;
  --accent: #d62b86;
  --soft: #ffe9f4;
  --deep: #4b1d3e;
  --brand-night: #fff;
  --brand-bright: #d62b86;
  --art-wash: #fff4f9;
  --feature-a: #fff0f7;
  --feature-b: #f8efff;
  --section-tint: #fff2f8;
  --polish-accent-2: #ff6aa6;
  --polish-border: #e9bfd6;
  --polish-shadow: 0 14px 42px rgb(111 26 75 / 9%);
}

html[data-site='guanlan']:root {
  --paper: #f3f8fb;
  --surface: #fff;
  --ink: #142f46;
  --muted: #657986;
  --line: #d9e6ea;
  --accent: #0c9387;
  --soft: #e5f7f4;
  --deep: #0f3857;
  --brand-night: #fff;
  --brand-bright: #1677d2;
  --art-wash: #edf7fb;
  --feature-a: #e8f3ff;
  --feature-b: #e2f7f3;
  --section-tint: #eef7f8;
  --lottery-ink: #142f46;
  --lottery-accent: #0c9387;
  --lottery-primary: #1677d2;
  --polish-accent-2: #1677d2;
  --polish-border: #bdd7dd;
  --polish-shadow: 0 14px 42px rgb(13 65 91 / 9%);
  --c-accent: #0c9387;
  --c-accentText: #0c9387;
  --c-accentSoft: #e8f7f5;
  --c-accentHover: #d7f1ed;
  --c-accentBorder: #9bded5;
  --c-rowHover: #f1faf9;
}

html[data-site='shixu']:root {
  --paper: #f4faf7;
  --surface: #fff;
  --ink: #193a33;
  --muted: #627970;
  --line: #d8e8e0;
  --accent: #078a70;
  --soft: #e3f6ee;
  --deep: #123f36;
  --brand-night: #fff;
  --brand-bright: #078a70;
  --art-wash: #eef8f3;
  --feature-a: #e2f6ed;
  --feature-b: #edf7f4;
  --section-tint: #eef8f3;
  --lottery-ink: #193a33;
  --lottery-accent: #078a70;
  --lottery-primary: #078a70;
  --polish-accent-2: #32b68d;
  --polish-border: #bdd9cd;
  --polish-shadow: 0 14px 42px rgb(16 75 61 / 8%);
}

html[data-site='shiqu'][data-theme='dark']:root {
  --paper: #171318;
  --surface: #211a22;
  --ink: #f8edf4;
  --muted: #c5b3c0;
  --line: #443340;
  --accent: #ff73b5;
  --soft: #3a2231;
  --deep: #120d12;
  --brand-night: #211a22;
  --brand-bright: #ff73b5;
  --art-wash: #2b1e29;
  --feature-a: #34212f;
  --feature-b: #2b2437;
  --section-tint: #2a1e27;
  --polish-border: #594151;
  --polish-shadow: 0 16px 44px rgb(0 0 0 / 22%);
}

html[data-site='guanlan'][data-theme='dark']:root {
  --paper: #0f171d;
  --surface: #16232c;
  --ink: #eaf4f7;
  --muted: #a9bdc5;
  --line: #30444d;
  --accent: #36c8b8;
  --soft: #183b3d;
  --deep: #091118;
  --brand-night: #16232c;
  --brand-bright: #61aef1;
  --art-wash: #172a35;
  --feature-a: #1b3040;
  --feature-b: #173b3b;
  --section-tint: #172b32;
  --lottery-ink: #eaf4f7;
  --lottery-accent: #36c8b8;
  --lottery-primary: #61aef1;
  --polish-border: #35525c;
  --polish-shadow: 0 16px 44px rgb(0 0 0 / 22%);
  --c-accent: #36c8b8;
  --c-accentText: #7ae2d6;
  --c-accentSoft: #183b3d;
  --c-accentHover: #1d4b4a;
  --c-accentBorder: #355f61;
  --c-rowHover: #172b32;
}

html[data-site='shixu'][data-theme='dark']:root {
  --paper: #101915;
  --surface: #17251f;
  --ink: #eaf5f0;
  --muted: #adc0b7;
  --line: #30473d;
  --accent: #38c99c;
  --soft: #183d31;
  --deep: #0a1511;
  --brand-night: #17251f;
  --brand-bright: #38c99c;
  --art-wash: #1a2d26;
  --feature-a: #19392e;
  --feature-b: #1b302c;
  --section-tint: #192c25;
  --lottery-ink: #eaf5f0;
  --lottery-accent: #38c99c;
  --lottery-primary: #38c99c;
  --polish-border: #395447;
  --polish-shadow: 0 16px 44px rgb(0 0 0 / 22%);
}

html[data-site] body {
  background:
    radial-gradient(circle at 6% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 26rem),
    var(--paper);
}

html[data-site] body .site-header {
  padding-top: 0;
  color: var(--ink);
  background: var(--surface) !important;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 9px 28px rgb(31 48 61 / 6%);
}

html[data-site='guanlan'] body .site-header {
  border-top-color: var(--polish-accent-2);
}

html[data-site] body .site-header .c28-brand-row {
  background: transparent;
}

html[data-site] body .site-header .masthead {
  min-height: 64px;
}

html[data-site] body .site-header .brand {
  color: var(--ink) !important;
  font-weight: 760;
}

html[data-site] body .site-header .brand img,
html[data-site] body .site-header .lottery-brand-mark {
  border-radius: 13px;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--accent) 14%, transparent);
}

html[data-site] body .site-header .lottery-brand-mark {
  color: #fff;
  background: linear-gradient(145deg, var(--polish-accent-2), var(--accent));
}

html[data-site] body .site-header .brand small,
html[data-site] body .site-header .brand-tag {
  color: var(--muted) !important;
}

html[data-site] body .site-header .theme-toggle {
  color: var(--accent) !important;
  background: var(--surface);
  border: 1px solid var(--line) !important;
  border-radius: 999px;
}

html[data-site] body .site-header .c28-ads {
  padding-block: 4px 8px !important;
}

html[data-site] body .site-header .c28-label {
  color: var(--muted) !important;
}

html[data-site] body .site-header .c28-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)) !important;
}

html[data-site] body .site-header .c28-card {
  width: auto !important;
  max-width: none !important;
  min-height: 68px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgb(43 40 95 / 11%) !important;
}

html[data-site] body .site-header .nav {
  margin-top: 0;
  padding: 5px 6px;
  color: var(--ink);
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px 14px 0 0;
}

html[data-site] body .site-header .nav-group {
  background: transparent !important;
  border-color: transparent !important;
}

html[data-site] body .site-header .nav-group > span {
  color: var(--muted) !important;
}

html[data-site] body .site-header .nav a {
  color: var(--ink) !important;
  border-radius: 9px;
}

html[data-site] body .site-header .nav a:hover {
  color: var(--accent) !important;
  background: var(--soft) !important;
}

html[data-site] body .site-header .nav a[aria-current='page'] {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--polish-accent-2)) !important;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 20%, transparent) !important;
}

html[data-site='guanlan'] body .site-header .nav a[aria-current='page'] {
  background: linear-gradient(135deg, var(--polish-accent-2), var(--accent)) !important;
}

html[data-site] body .site-header .nav a[aria-current='page']::after {
  display: none;
}

html[data-site] body .site-header .nav-icon {
  color: currentColor !important;
}

html[data-site] body main.wrap {
  padding-top: 16px;
}

html[data-site] body .result,
html[data-site] body .table-wrap,
html[data-site] body .toolbar,
html[data-site] body .filter-form,
html[data-site] body .trend-scroll,
html[data-site] body .chat-shell,
html[data-site] body .streak-card,
html[data-site] body .missing-cell,
html[data-site] body .compare-cards > section,
html[data-site] body .game-tile {
  border-color: var(--line);
  box-shadow: 0 7px 22px color-mix(in srgb, var(--accent) 6%, transparent);
}

html[data-site] body .history-table tbody tr:hover {
  background: var(--soft);
}

html[data-site] body .site-footer {
  margin-top: 44px;
  border-top: 2px solid var(--accent);
}

/* 28pc.fun — keep the existing layout, refine it in pink. */
html[data-site='shiqu'] body[data-page='home'] .draw-panel,
html[data-site='shiqu'] body[data-page='home'] .recent {
  background: var(--surface);
  border-color: var(--polish-border);
  border-radius: 18px;
  box-shadow: var(--polish-shadow);
}

html[data-site='shiqu'] body[data-page='home'] .panel-heading {
  background: linear-gradient(90deg, #fff0f7, #fbf5ff 68%, #fff);
  border-bottom-color: var(--line);
}

html[data-site='shiqu'][data-theme='dark'] body[data-page='home'] .panel-heading {
  background: linear-gradient(90deg, #34212f, #2b2437 68%, #211a22);
}

html[data-site='shiqu'] body[data-page='home'] .panel-heading h2 svg {
  color: #fff;
  background: linear-gradient(145deg, var(--polish-accent-2), var(--accent));
}

html[data-site='shiqu'] body[data-page='home'] .home-dashboard .result {
  background: linear-gradient(135deg, #fff, #fff5fa) !important;
}

html[data-site='shiqu'][data-theme='dark'] body[data-page='home'] .home-dashboard .result {
  background: linear-gradient(135deg, #211a22, #2a1d27) !important;
}

html[data-site='shiqu'] body[data-page='home'] .home-result-modes button[aria-pressed='true'] {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--polish-accent-2));
  border-color: transparent;
}

html[data-site='shiqu'] body[data-page='home'] .home-dashboard .balls span {
  color: #b51f73;
  background: linear-gradient(145deg, #fff6fa, #ffd8ea);
  border-color: #f0b9d5;
}

html[data-site='shiqu'] body[data-page='home'] .home-dashboard .balls span:nth-of-type(2) {
  color: #963cb1;
  background: linear-gradient(145deg, #fcf6ff, #ebdaf8);
}

html[data-site='shiqu'] body[data-page='home'] .home-dashboard .balls strong {
  color: #fff;
  background: linear-gradient(145deg, #ec4f9e, #b81872);
  box-shadow: 0 7px 16px rgb(180 24 114 / 20%);
}

html[data-site='shiqu'] body[data-page='home'] .home-dashboard .countdown {
  background: linear-gradient(90deg, #fff0f7, #f8efff);
  border: 1px solid var(--line);
}

html[data-site='shiqu'][data-theme='dark'] body[data-page='home'] .home-dashboard .countdown {
  background: linear-gradient(90deg, #34212f, #2b2437);
}

html[data-site='shiqu'] body[data-page='home'] .history-table th {
  color: #fff;
  background: #4b1d3e;
}

html[data-site='shiqu'] body[data-page='home'] .quick-tools > a {
  border: 1px solid var(--line);
  box-shadow: 0 5px 15px rgb(126 38 84 / 5%);
}

/* 28pc.men — retain sections, switch the result surface to blue/teal. */
html[data-site='guanlan'] body[data-page='home'] {
  --ref-accent: #0c9387;
  --ref-accent-2: #1677d2;
  --ref-accent-soft: #e8f7f5;
  --ref-bg: #f3f8fb;
  --ref-text: #142f46;
  --ref-muted: #657986;
  --ref-line: #d9e6ea;
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] {
  --ref-accent: #36c8b8;
  --ref-accent-2: #61aef1;
  --ref-accent-soft: #183b3d;
  --ref-bg: #0f171d;
  --ref-text: #eaf4f7;
  --ref-muted: #a9bdc5;
  --ref-line: #30444d;
}

html[data-site='guanlan'] body[data-page='home'] .lottery-brand-mark {
  background: linear-gradient(145deg, var(--polish-accent-2), var(--accent)) !important;
  box-shadow: 0 8px 20px rgb(12 147 135 / 20%) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-title > a {
  padding: 6px 11px;
  color: var(--polish-accent-2);
  background: #eaf4ff;
  border: 1px solid #cfe3f6;
  border-radius: 999px;
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] .market-title > a {
  color: #8cc8ff;
  background: #1b3040;
  border-color: #35525c;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .result {
  min-height: 168px;
  padding: 20px 24px;
  color: var(--ink) !important;
  background:
    radial-gradient(circle at 84% 12%, rgb(37 185 164 / 14%), transparent 11rem),
    linear-gradient(135deg, #fff, #f1f9fa) !important;
  border: 1px solid var(--polish-border) !important;
  border-top: 1px solid var(--polish-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--polish-shadow);
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] .market-live .result {
  background: linear-gradient(135deg, #16232c, #172b32) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .result-top,
html[data-site='guanlan'] body[data-page='home'] .market-live .result-bottom,
html[data-site='guanlan'] body[data-page='home'] .market-live .draw-time {
  color: var(--muted) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .live-status {
  color: #fff !important;
  background: linear-gradient(135deg, var(--polish-accent-2), var(--accent)) !important;
  box-shadow: 0 6px 16px rgb(12 147 135 / 18%) !important;
  font-weight: 700;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .balls span,
html[data-site='guanlan'] body[data-page='home'] .market-live .balls strong {
  width: 58px;
  height: 60px;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgb(18 80 112 / 13%) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .balls span:nth-of-type(1) {
  background: linear-gradient(145deg, #42a8ff, #1677d2) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .balls span:nth-of-type(2) {
  background: linear-gradient(145deg, #44cfbb, #0c9387) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .balls span:nth-of-type(3) {
  background: linear-gradient(145deg, #5eb7ff, #2183db) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .balls strong {
  color: #0e3d55 !important;
  background: #fff !important;
  border: 2px solid #9bded5 !important;
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] .market-live .balls strong {
  color: #baf5ec !important;
  background: #16313a !important;
  border-color: #36c8b8 !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live [data-labels] {
  display: flex !important;
  flex-flow: row wrap !important;
  justify-content: flex-end;
  gap: 5px;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .tag {
  color: var(--ink) !important;
  background: rgb(255 255 255 / 72%) !important;
  border: 1px solid var(--line);
  border-radius: 6px;
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] .market-live .tag {
  background: rgb(15 23 29 / 62%) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-live .countdown b {
  color: var(--polish-accent-2) !important;
}

html[data-site='guanlan'] body[data-page='home'] .market-history,
html[data-site='guanlan'] body[data-page='home'] .home-interval,
html[data-site='guanlan'] body[data-page='home'] .market-aside {
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgb(13 65 91 / 6%);
}

html[data-site='guanlan'] body[data-page='home'] .market-heading {
  background: linear-gradient(90deg, #eef7ff, #edf9f7);
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] .market-heading {
  background: linear-gradient(90deg, #1b3040, #173b3b);
}

html[data-site='guanlan'] body[data-page='home'] .market-history .history-table th {
  color: #eaf7ff;
  background: #123e5c;
}

html[data-site='guanlan'] body[data-page='home'] .market-history .history-table tbody tr:first-child td {
  background: #f1faf9;
}

html[data-site='guanlan'][data-theme='dark'] body[data-page='home'] .market-history .history-table tbody tr:first-child td {
  background: #172f31;
}

html[data-site='guanlan'] body[data-page='home'] .ux-primary-tools > a {
  border-color: var(--line);
  border-radius: 11px;
  box-shadow: 0 5px 14px rgb(13 65 91 / 5%);
}

html[data-site='guanlan'] body[data-page='home'] .home-interval {
  border-left-color: var(--polish-accent-2);
}

/* jnd28.date — retain the archive layout, soften it into green cards. */
html[data-site='shixu'] body[data-page='home'] .archive-mast {
  padding-inline: 12px;
  background: linear-gradient(90deg, var(--surface), var(--section-tint));
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 6px 18px rgb(16 75 61 / 5%);
}

html[data-site='shixu'] body[data-page='home'] .archive-mast > a {
  padding: 5px 9px;
  background: var(--soft);
  border-radius: 999px;
}

html[data-site='shixu'] body[data-page='home'] .archive-current {
  overflow: hidden;
  background: linear-gradient(135deg, #fff, #f5fbf8) !important;
  border-color: var(--polish-border);
  border-radius: 15px;
  box-shadow: var(--polish-shadow);
}

html[data-site='shixu'][data-theme='dark'] body[data-page='home'] .archive-current {
  background: linear-gradient(135deg, #17251f, #192c25) !important;
}

html[data-site='shixu'] body[data-page='home'] .archive-tab {
  color: var(--accent);
  background: var(--soft);
  border-color: var(--polish-border);
  border-radius: 6px;
}

html[data-site='shixu'] body[data-page='home'] .archive-current .result {
  color: var(--ink) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none;
}

html[data-site='shixu'] body[data-page='home'] .archive-current .result-top,
html[data-site='shixu'] body[data-page='home'] .archive-current .result-bottom,
html[data-site='shixu'] body[data-page='home'] .archive-current .draw-time {
  color: var(--muted) !important;
}

html[data-site='shixu'] body[data-page='home'] .archive-current .live-status {
  color: var(--accent) !important;
  font-weight: 700;
}

html[data-site='shixu'] body[data-page='home'] .archive-current .balls span,
html[data-site='shixu'] body[data-page='home'] .archive-current .balls strong {
  color: #14554a !important;
  background: linear-gradient(145deg, #f3fffa, #d7f3e9) !important;
  border: 1px solid #9fd9c7 !important;
  border-radius: 11px !important;
  box-shadow: 0 6px 15px rgb(16 75 61 / 8%) !important;
}

html[data-site='shixu'] body[data-page='home'] .archive-current .balls strong {
  color: #fff !important;
  background: linear-gradient(145deg, #2eba94, #078a70) !important;
  border-color: transparent !important;
}

html[data-site='shixu'][data-theme='dark'] body[data-page='home'] .archive-current .balls span {
  color: #baf1dd !important;
  background: #1b3a30 !important;
  border-color: #37735e !important;
}

html[data-site='shixu'] body[data-page='home'] .archive-current .countdown b {
  color: var(--accent) !important;
}

html[data-site='shixu'] body[data-page='home'] .date-switch,
html[data-site='shixu'] body[data-page='home'] .home-calendar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgb(16 75 61 / 5%);
}

html[data-site='shixu'] body[data-page='home'] .date-switch button[aria-pressed='true'] {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

html[data-site='shixu'] body[data-page='home'] .ledger-record {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 13px rgb(16 75 61 / 4%);
}

@media (max-width: 700px) {
  html[data-site] body .site-header .masthead {
    min-height: 58px;
  }

  html[data-site] body .site-header .c28-card {
    min-height: 62px !important;
  }

  html[data-site] body .site-header .nav {
    border-inline: 0 !important;
    border-radius: 0;
  }

  html[data-site] body main.wrap,
  html[data-site] body .site-footer {
    width: calc(100% - 20px);
  }

  html[data-site] body main.wrap {
    padding-top: 10px;
  }

  html[data-site='shiqu'] body[data-page='home'] .draw-panel,
  html[data-site='shiqu'] body[data-page='home'] .recent {
    border-radius: 14px;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live {
    min-width: 0;
    max-width: 100%;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .result.compact {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-template-areas: none !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 12px 10px 14px !important;
    border: 1px solid var(--polish-border) !important;
    border-radius: 14px !important;
    background:
      radial-gradient(circle at 84% 12%, rgb(37 185 164 / 14%), transparent 11rem),
      linear-gradient(135deg, #fff, #f1f9fa) !important;
    box-shadow: var(--polish-shadow) !important;
    overflow: hidden !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .result.compact::before {
    display: none !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .result-top,
  html[data-site='guanlan'] body[data-page='home'] .market-live .balls,
  html[data-site='guanlan'] body[data-page='home'] .market-live .result-bottom,
  html[data-site='guanlan'] body[data-page='home'] .market-live .draw-time {
    grid-area: auto !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    min-width: 0;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .result-top,
  html[data-site='guanlan'] body[data-page='home'] .market-live .draw-time {
    margin: 0;
    padding: 0 !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .balls {
    display: flex !important;
    justify-content: center;
    gap: 5px !important;
    padding: 7px 0 !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .balls span,
  html[data-site='guanlan'] body[data-page='home'] .market-live .balls strong {
    width: 46px !important;
    height: 48px !important;
    font-size: 27px !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .balls > i {
    font-size: 20px !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .result-bottom {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 6px;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live [data-labels] {
    grid-area: auto !important;
    min-width: 0;
    flex: 1 1 165px !important;
    justify-content: flex-start;
    padding: 0 !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .countdown {
    display: flex !important;
    grid-area: auto !important;
    width: 150px !important;
    max-width: 100%;
    min-width: 0;
    min-height: 0 !important;
    flex: 0 0 150px !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
    padding: 6px 8px !important;
    background: var(--section-tint) !important;
    border: 1px solid var(--line) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    text-align: left;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .countdown::before {
    display: none !important;
  }

  html[data-site='guanlan'] body[data-page='home'] .market-live .countdown b {
    margin: 0;
    font-size: 24px !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current {
    padding-left: 26px;
    border-radius: 13px;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .result {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px 8px 12px;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .result-top,
  html[data-site='shixu'] body[data-page='home'] .archive-current .balls,
  html[data-site='shixu'] body[data-page='home'] .archive-current .result-bottom,
  html[data-site='shixu'] body[data-page='home'] .archive-current .draw-time {
    grid-column: 1;
    grid-row: auto;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .balls {
    justify-content: center;
    padding: 5px 0;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .balls span,
  html[data-site='shixu'] body[data-page='home'] .archive-current .balls strong {
    width: 44px;
    height: 46px;
    font-size: 26px;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .result-bottom {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current [data-labels] {
    display: flex !important;
    gap: 4px;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .countdown {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: var(--section-tint);
    border-radius: 9px;
  }

  html[data-site='shixu'] body[data-page='home'] .archive-current .countdown b {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-site] body *,
  html[data-site] body *::before,
  html[data-site] body *::after {
    transition: none !important;
  }
}
