:root {
  --bg: #faf6ef;
  --surface: #fffdf8;
  --surface-2: #f3ead8;
  --text: #1a1612;
  --text-muted: #4a433a;
  --gold: #9a7a18;
  --gold-deep: #6b5410;
  --ink: #1a1612;
  --link: #6b5410;
  --border: #e2d4b8;
  --border-soft: #efe4cf;
  --cta: #2a2118;
  --cta-wash: rgba(201, 162, 39, 0.28);
  --cta-line: rgba(255, 236, 179, 0.55);
  --fs-h1: 28px;
  --fs-h2: 20px;
  --fs-body: 16px;
  --fs-small: 13px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-sm: 3px;
  --container: 1100px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --cta-loop: 2.9s;
  --cta-space: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Tahoma, Helvetica, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(250, 246, 239, 0.92) 0%, rgba(250, 246, 239, 0.88) 55%, rgba(250, 246, 239, 0.55) 100%),
    url("jinguo-silk.webp");
  background-size: cover, min(42vw, 520px) auto;
  background-position: center, right top;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  overflow-wrap: anywhere;
  padding-bottom: var(--cta-space);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--gold-deep); text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
h1, h2, h3 {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 700; line-height: 1.3; margin: 0 0 var(--space-4);
  color: var(--ink);
}
h1 { font-size: 28px; }
h2 { font-size: 20px; margin-top: var(--space-6); color: var(--gold-deep); }
h3 { font-size: 17px; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--gold); padding: 8px 12px;
}
.skip:focus { left: 8px; }

.toptb {
  background: linear-gradient(90deg, #1a1612, #2a2118 50%, #1a1612);
  border-bottom: 1px solid var(--gold);
  font-size: var(--fs-small);
  color: #d8c8a0;
}
.toptb-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 6px 12px;
  display: flex; justify-content: space-between; gap: 12px;
}

.hd {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.hd-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 14px 12px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: inherit; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  background: #111;
}
.brand-mark {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 22px; font-weight: 700; color: var(--ink); margin: 0;
  letter-spacing: 0.04em;
}
.brand-sub { font-size: var(--fs-small); color: var(--text-muted); margin: 2px 0 0; }

.nv {
  background: linear-gradient(180deg, #2a2118 0%, var(--ink) 60%, #0f0d0b 100%);
  min-height: 42px;
  border-top: 1px solid rgba(201, 162, 39, 0.45);
  border-bottom: 2px solid var(--gold);
}
.nv-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.nv a {
  display: inline-flex; align-items: center;
  padding: 0 14px; min-height: 42px;
  color: #f3e6c0; font-weight: 700; font-size: 14px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  border-right: 1px solid rgba(201, 162, 39, 0.22);
}
.nv a:hover { background: rgba(201, 162, 39, 0.16); text-decoration: none; color: #fff8e0; }
.nv a[aria-current="page"] {
  background: rgba(201, 162, 39, 0.28);
  color: #fff8e0;
}

.menu-btn {
  display: none;
  appearance: none; border: 1px solid var(--gold);
  background: var(--ink); color: var(--gold);
  min-height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  font: inherit; cursor: pointer;
}
.drawer {
  display: none; background: var(--surface); border-bottom: 1px solid var(--border);
}
.drawer.open { display: block; }
.drawer a {
  display: block; padding: 12px 16px; border-bottom: 1px solid var(--border-soft);
  color: var(--text); font-family: "Microsoft YaHei", sans-serif;
}
.drawer a[aria-current="page"] { color: var(--gold-deep); font-weight: 700; }

.wrap {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: var(--space-4) 12px var(--space-7);
}
.pt {
  font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--space-3);
}

.notice {
  margin-bottom: var(--space-4);
  padding: 12px 14px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 1px rgba(26, 22, 18, 0.04);
  font-size: 15px;
}

.bm {
  margin-bottom: var(--space-4);
  border: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 28px rgba(26, 22, 18, 0.06);
}
.bm_h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 14px;
  min-height: 38px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff9ef 0%, var(--surface-2) 100%);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.bm_h span { font-weight: 400; font-size: 12px; color: var(--gold-deep); }

.fl_tb { width: 100%; border-collapse: collapse; }
.fl_tb td {
  padding: 14px 12px;
  border-top: 1px dashed var(--border-soft);
  vertical-align: top;
}
.fl_tb tr:first-child td { border-top: none; }
.fl_icn {
  width: 42px;
  font-size: 18px;
  color: var(--gold-deep);
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  text-align: center;
}
.fl_g a {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.fl_g a:hover { color: var(--gold-deep); }
.fl_g p { margin: 6px 0 0; color: var(--text-muted); font-size: 14px; }
.fl_i {
  width: 96px; text-align: right; color: var(--text-muted); font-size: 13px; white-space: nowrap;
}
.fl_i em { display: block; color: var(--gold-deep); font-style: normal; font-weight: 700; }

.band { margin-top: var(--space-6); }
.band > p, .band > ul, .band > ol, .fold, .table-wrap, .notice, .bm {
  background-clip: padding-box;
}
.fold {
  border: 1px solid var(--border); background: rgba(255, 253, 248, 0.94); margin-bottom: var(--space-3);
}
.fold summary {
  cursor: pointer; list-style: none; padding: 12px 14px; min-height: 44px;
  font-family: "Microsoft YaHei", sans-serif; font-weight: 700;
}
.fold summary::-webkit-details-marker { display: none; }
.fold[open] summary { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.fold .fold-body { padding: 12px 14px 14px; }

.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td {
  border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top;
}
.compare th { background: var(--surface-2); color: var(--ink); }
.table-wrap { overflow-x: auto; margin-bottom: var(--space-4); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--space-4) 0; }
.chip {
  display: inline-flex; padding: 6px 10px;
  border: 1px solid var(--gold);
  background: var(--ink);
  color: #f3e6c0; font-size: 13px;
  font-family: "Microsoft YaHei", sans-serif; border-radius: var(--radius-sm);
}

#ft {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 12px var(--space-7);
  background: linear-gradient(180deg, rgba(255,253,248,0.9), #f3ead8);
  color: var(--text-muted); font-size: var(--fs-small);
}
.ft-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid; gap: 12px;
}
.brand-link {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.ft-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }

.site-cta {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px;
  width: min(520px, 38vw);
  padding: 0 22px;
  background: var(--cta);
  color: #f3e6c0;
  text-decoration: none;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px; font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 22px rgba(26, 22, 18, 0.28), inset 0 0 0 1px rgba(201, 162, 39, 0.2);
  overflow: hidden; isolation: isolate;
}
.site-cta:hover, .site-cta:focus-visible { color: #fff8e0; text-decoration: none; filter: brightness(1.08); }
.site-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 160% at 30% 55%, var(--cta-wash) 0%, transparent 72%);
  opacity: 0; z-index: -1;
  animation: gold-nectar-bloom var(--cta-loop) var(--ease) infinite;
}
.site-cta::after {
  content: "";
  position: absolute; left: 20%; right: 20%; bottom: 8px; height: 4px;
  background: var(--cta-line);
  border-radius: 2px;
  transform: scaleX(0.96) translateY(0);
  opacity: 0.45; z-index: -1;
  animation: bite-press var(--cta-loop) var(--ease) infinite;
}
@keyframes gold-nectar-bloom {
  0%, 54% { opacity: 0; transform: scale(0.96); }
  68% { opacity: 0.3; transform: scale(1); }
  86%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes bite-press {
  0%, 60% { transform: scaleX(0.96) translateY(0); opacity: 0.4; box-shadow: none; }
  72% { transform: scaleX(1) translateY(1px); opacity: 0.9; box-shadow: 0 2px 0 rgba(0,0,0,0.18); }
  88%, 100% { transform: scaleX(0.96) translateY(0); opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .site-cta::before, .site-cta::after { animation: none; }
  .site-cta::before { opacity: 0.18; }
  .site-cta::after { transform: scaleX(1); opacity: 0.55; }
}

@media (max-width: 900px) {
  .nv-inner { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .fl_i { display: none; }
  .site-cta { width: calc(100% - 28px); font-size: 16px; }
  .brand-mark { font-size: 18px; }
  body {
    background-size: cover, min(70vw, 360px) auto;
    background-position: center, right -20px top;
  }
}
@media (max-width: 640px) {
  h1 { font-size: 24px; }
  .fl_tb td { display: block; width: auto; border-top: none; }
  .fl_tb tr { display: block; border-top: 1px dashed var(--border-soft); padding: 8px 0; }
  .fl_tb tr:first-child { border-top: none; }
  .fl_icn { display: none; }
  body {
    background-image:
      linear-gradient(180deg, rgba(250, 246, 239, 0.94) 0%, rgba(250, 246, 239, 0.88) 100%),
      url("jinguo-silk.webp");
    background-size: cover, 180px auto;
    background-position: center, right top;
    background-attachment: scroll, scroll;
  }
}
