/* ==========================================================================
   太阳鑫会馆 · 共享样式 /assets/site.css
   分区：重置 → 变量 → 基础排版 → 外壳 → 侧边轨道 → 顶栏与抽屉 → 页脚
        → 通用组件 → 工具类 → 响应式与动效降级
   ========================================================================== */

/* ---------- 1. 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }

ul, ol { list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

img, svg, video { display: block; max-width: 100%; }

main { display: block; }

:focus-visible {
  outline: 3px solid #F5A623;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --tx-gold: #F5A623;
  --tx-orange: #FF6B35;
  --tx-sand: #FFD79A;
  --tx-deep: #0B2545;
  --tx-navy: #123B63;
  --tx-milk: #FFF7EC;
  --tx-coral: #FF5A5F;
  --tx-mint: #2AA198;
  --tx-ink: #1C1C1E;
  --tx-mist: #6B7A8F;

  --tx-rail: 88px;
  --tx-topbar: 64px;
  --tx-maxw: 1180px;

  --tx-font-head: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --tx-font-body: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --tx-font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;

  --tx-line: rgba(11, 37, 69, 0.12);
  --tx-line-light: rgba(255, 215, 154, 0.22);
  --tx-shadow-soft: 0 18px 40px rgba(11, 37, 69, 0.10);
  --tx-ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--tx-font-body);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--tx-ink);
  background-color: var(--tx-milk);
  background-image:
    radial-gradient(900px 520px at 100% -8%, rgba(245, 166, 35, 0.14), transparent 62%),
    radial-gradient(700px 420px at -10% 8%, rgba(18, 59, 99, 0.10), transparent 66%);
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-top: var(--tx-topbar);
}

.tx-h1, .tx-h2, .tx-h3 {
  font-family: var(--tx-font-head);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--tx-deep);
}

.tx-h1 { font-size: clamp(34px, 7.2vw, 68px); line-height: 1.06; }
.tx-h2 { font-size: clamp(26px, 4.2vw, 42px); line-height: 1.14; }
.tx-h3 { font-size: 24px; line-height: 1.3; }

.tx-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--tx-mist);
  max-width: 58ch;
}

.tx-mono {
  font-family: var(--tx-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.tx-eyebrow {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--tx-mist);
  text-transform: uppercase;
}

/* ---------- 4. 外壳与容器 ---------- */
#main-content { display: block; scroll-margin-top: var(--tx-topbar); }

[data-spy-section] { scroll-margin-top: calc(var(--tx-topbar) + 16px); }

.tx-wrap {
  width: 100%;
  max-width: var(--tx-maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.tx-section { padding: 52px 0; }
.tx-section--tight { padding: 34px 0; }

.tx-section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}

.tx-band { position: relative; }
.tx-band--deep {
  background-image: linear-gradient(160deg, #0B2545 0%, #123B63 58%, #0B2545 100%);
  color: var(--tx-milk);
}
.tx-band--sand {
  background-image: linear-gradient(160deg, #FFF7EC 0%, #FFE9C4 55%, #FFF7EC 100%);
}
.tx-band--glass {
  background-image: linear-gradient(180deg, rgba(245, 166, 35, 0.12), rgba(255, 107, 53, 0.06));
}

.tx-band--deep .tx-h1,
.tx-band--deep .tx-h2,
.tx-band--deep .tx-h3 { color: var(--tx-milk); }

.tx-band--deep .tx-lead,
.tx-band--deep p { color: rgba(255, 247, 236, 0.78); }

.tx-band--deep .tx-rule { background-color: rgba(255, 215, 154, 0.20); }
.tx-band--deep .tx-eyebrow { color: rgba(255, 215, 154, 0.72); }

.tx-rule {
  position: relative;
  height: 1px;
  border: 0;
  background-color: var(--tx-line);
  margin: 30px 0;
}
.tx-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 72px;
  height: 11px;
  background-image: repeating-linear-gradient(90deg, var(--tx-gold) 0 2px, transparent 2px 8px);
}

.tx-skip {
  position: fixed;
  top: -120px;
  left: 14px;
  z-index: 99;
  padding: 12px 18px;
  border-radius: 12px;
  background-color: var(--tx-deep);
  color: var(--tx-sand);
  font-weight: 700;
  transition: top 0.2s var(--tx-ease);
}
.tx-skip:focus { top: 14px; }

.tx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  background-color: rgba(11, 37, 69, 0.12);
  pointer-events: none;
}
.tx-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background-image: linear-gradient(90deg, #F5A623, #FF6B35, #FFD79A);
  transition: width 0.12s linear;
}

/* ---------- 5. 侧边轨道导航（桌面） ---------- */
.tx-rail { display: none; }

.tx-home-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 215, 154, 0.68);
  background-color: rgba(255, 215, 154, 0.08);
  color: var(--tx-sand);
  transition: background-color 0.2s var(--tx-ease), border-color 0.2s var(--tx-ease), color 0.2s var(--tx-ease);
}
.tx-home-btn:hover {
  background-color: rgba(255, 215, 154, 0.22);
  border-color: var(--tx-gold);
  color: #FFFFFF;
}
.tx-home-btn--sm { width: 38px; height: 38px; flex: 0 0 auto; }
.tx-home-btn__icon { width: 22px; height: 22px; }
.tx-home-btn--sm .tx-home-btn__icon { width: 20px; height: 20px; }

.tx-nav { width: 100%; }
.tx-nav__list { display: flex; flex-direction: column; gap: 6px; }

.tx-nav__link {
  position: relative;
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  color: var(--tx-milk);
  transition: background-color 0.2s var(--tx-ease), color 0.2s var(--tx-ease);
}
.tx-nav__link:hover { background-color: rgba(255, 215, 154, 0.14); color: #FFFFFF; }

.tx-nav__link[aria-current="page"] {
  background-image: linear-gradient(135deg, #FFD79A, #F5A623);
  color: #0B2545;
  font-weight: 700;
}

@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-left: var(--tx-rail);
  }
  #main-content { scroll-margin-top: 24px; }
  [data-spy-section] { scroll-margin-top: 40px; }

  .tx-rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--tx-rail);
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 18px 0 22px;
    overflow-y: auto;
    scrollbar-width: none;
    background-image: linear-gradient(180deg, #0B2545 0%, #123B63 62%, #0B2545 100%);
    border-right: 1px solid var(--tx-line-light);
    box-shadow: 8px 0 26px rgba(11, 37, 69, 0.14);
  }
  .tx-rail::-webkit-scrollbar { width: 0; height: 0; }

  .tx-rail__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .tx-rail__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .tx-rail__mark {
    writing-mode: vertical-rl;
    font-family: var(--tx-font-head);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.16em;
    color: var(--tx-milk);
  }

  .tx-rail__tagline {
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: rgba(255, 215, 154, 0.85);
  }

  .tx-nav--rail {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    margin: 20px 0;
  }
  .tx-nav--rail .tx-nav__list { align-items: center; gap: 3px; }
  .tx-nav--rail .tx-nav__link {
    writing-mode: vertical-rl;
    padding: 10px 9px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-align: center;
    color: rgba(255, 247, 236, 0.72);
  }
  .tx-nav--rail .tx-nav__link[aria-current="page"] {
    color: #0B2545;
    box-shadow: 0 0 0 1px rgba(255, 215, 154, 0.5), 0 8px 20px rgba(245, 166, 35, 0.28);
  }

  .tx-rail__foot {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 12px;
  }
  .tx-rail__cta {
    writing-mode: vertical-rl;
    display: block;
    padding: 16px 8px;
    border-radius: 14px;
    background-image: linear-gradient(180deg, #F5A623, #FF6B35);
    color: #0B2545;
    font-family: var(--tx-font-head);
    font-weight: 800;
    font-size: 13.5px;
    letter-spacing: 0.2em;
    box-shadow: 0 12px 26px rgba(255, 107, 53, 0.3);
    transition: transform 0.2s var(--tx-ease), box-shadow 0.2s var(--tx-ease);
  }
  .tx-rail__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 107, 53, 0.38);
  }
}

@media (min-width: 1024px) and (max-height: 860px) {
  .tx-rail__tagline { display: none; }
  .tx-rail { padding: 14px 0 16px; }
  .tx-nav--rail { margin: 12px 0; }
  .tx-nav--rail .tx-nav__link { padding: 8px 9px; font-size: 12.5px; }
  .tx-rail__cta { padding: 13px 8px; font-size: 12.5px; }
}

/* ---------- 6. 顶部栏 / 汉堡按钮 / 抽屉 ---------- */
.tx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--tx-topbar);
  padding: 0 14px;
  background-image: linear-gradient(100deg, #0B2545 0%, #123B63 100%);
  border-bottom: 1px solid var(--tx-line-light);
}

.tx-topbar__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin-right: auto;
  line-height: 1.25;
}
.tx-topbar__name {
  font-family: var(--tx-font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--tx-milk);
}
.tx-topbar__sub {
  font-family: var(--tx-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 215, 154, 0.9);
}

.tx-nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 154, 0.42);
  color: var(--tx-sand);
  background-color: rgba(255, 215, 154, 0.08);
  transition: background-color 0.2s var(--tx-ease), border-color 0.2s var(--tx-ease);
}
.tx-nav-toggle:hover { background-color: rgba(255, 215, 154, 0.2); border-color: var(--tx-gold); }
.tx-nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}
.tx-nav-toggle__bars::before,
.tx-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
  transition: transform 0.2s var(--tx-ease), top 0.2s var(--tx-ease);
}
.tx-nav-toggle__bars::before { top: -6px; }
.tx-nav-toggle__bars::after { top: 6px; }

html[data-nav-open="true"] .tx-nav-toggle__bars { background-color: transparent; }
html[data-nav-open="true"] .tx-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
html[data-nav-open="true"] .tx-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

.tx-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background-color: rgba(11, 37, 69, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--tx-ease), visibility 0.3s var(--tx-ease);
}
html[data-nav-open="true"] .tx-scrim { opacity: 1; visibility: visible; }

.tx-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  width: min(86vw, 330px);
  padding: 0 18px 24px;
  overflow-y: auto;
  background-image: linear-gradient(180deg, #0B2545 0%, #123B63 70%, #0B2545 100%);
  border-right: 1px solid var(--tx-line-light);
  box-shadow: 18px 0 40px rgba(11, 37, 69, 0.28);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.3s var(--tx-ease), visibility 0.3s var(--tx-ease);
}
html[data-nav-open="true"] .tx-drawer { transform: translateX(0); visibility: visible; }

.tx-drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 14px;
  background-image: linear-gradient(180deg, #0B2545 70%, rgba(11, 37, 69, 0.86));
  border-bottom: 1px solid var(--tx-line-light);
}
.tx-drawer__title {
  font-family: var(--tx-font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--tx-milk);
}
.tx-drawer__title:hover { color: var(--tx-gold); }

.tx-nav--drawer { flex: 1 1 auto; margin: 16px 0; }
.tx-nav--drawer .tx-nav__list { counter-reset: txnav; }
.tx-nav--drawer .tx-nav__item { counter-increment: txnav; }
.tx-nav--drawer .tx-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: rgba(255, 247, 236, 0.05);
}
.tx-nav--drawer .tx-nav__link::after {
  content: "0" counter(txnav);
  font-family: var(--tx-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 215, 154, 0.6);
}
.tx-nav--drawer .tx-nav__link[aria-current="page"]::after { color: rgba(11, 37, 69, 0.7); }

.tx-drawer__foot { display: flex; flex-direction: column; gap: 12px; }
.tx-drawer__cta {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  background-image: linear-gradient(135deg, #F5A623, #FF6B35);
  color: #0B2545;
  font-family: var(--tx-font-head);
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 26px rgba(255, 107, 53, 0.28);
}
.tx-drawer__note {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 215, 154, 0.78);
}

html[data-nav-open="true"],
html[data-nav-open="true"] body { overflow: hidden; }

@media (min-width: 1024px) {
  .tx-topbar { display: none; }
  .tx-scrim { display: none; }
  .tx-drawer { display: none; }
  html[data-nav-open="true"],
  html[data-nav-open="true"] body { overflow: visible; }
}

/* ---------- 7. 页脚 ---------- */
.tx-footer {
  position: relative;
  margin-top: 48px;
  padding: 52px 0 28px;
  background-image: linear-gradient(170deg, #0B2545 0%, #123B63 55%, #0B2545 100%);
  color: rgba(255, 247, 236, 0.82);
  border-top: 1px solid var(--tx-line-light);
}
.tx-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-image: linear-gradient(90deg, #F5A623, #FF6B35, rgba(245, 166, 35, 0));
}
.tx-footer__inner {
  width: 100%;
  max-width: var(--tx-maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.tx-footer__top { display: grid; gap: 32px; }
.tx-footer__wordmark {
  font-family: var(--tx-font-head);
  font-weight: 900;
  font-size: 27px;
  letter-spacing: 0.05em;
  color: var(--tx-milk);
}
.tx-footer__slogan {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 215, 154, 0.88);
}
.tx-footer__copy {
  margin-top: 14px;
  font-family: var(--tx-font-mono);
  font-size: 12px;
  color: rgba(255, 247, 236, 0.55);
}
.tx-footer__cols {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}
.tx-footer__coltitle {
  font-family: var(--tx-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--tx-sand);
}
.tx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.tx-footer__links a {
  font-size: 14px;
  color: rgba(255, 247, 236, 0.78);
  transition: color 0.18s var(--tx-ease);
}
.tx-footer__links a:hover { color: var(--tx-gold); }

.tx-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 215, 154, 0.18);
  font-size: 13px;
  color: rgba(255, 247, 236, 0.7);
}
.tx-footer__line { line-height: 1.7; }
.tx-footer__update {
  font-family: var(--tx-font-mono);
  font-size: 12.5px;
  color: rgba(255, 247, 236, 0.55);
}
.tx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 4px;
}
.tx-footer__legal a {
  font-size: 13px;
  color: rgba(255, 247, 236, 0.82);
  border-bottom: 1px dotted rgba(255, 215, 154, 0.45);
}
.tx-footer__legal a:hover { color: var(--tx-gold); border-bottom-color: currentColor; }
.tx-footer__icp {
  font-family: var(--tx-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 215, 154, 0.82);
}

@media (min-width: 900px) {
  .tx-footer__top {
    grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr);
    gap: 48px;
  }
  .tx-footer__meta { margin-top: 42px; }
}

/* ---------- 8. 通用组件 ---------- */
.tx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--tx-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.18s var(--tx-ease), box-shadow 0.18s var(--tx-ease),
              background-color 0.18s var(--tx-ease), color 0.18s var(--tx-ease),
              border-color 0.18s var(--tx-ease);
}
.tx-btn--primary {
  background-image: linear-gradient(135deg, #F5A623, #FF6B35);
  color: #0B2545;
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.28);
}
.tx-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 107, 53, 0.34); }
.tx-btn--ghost {
  background-color: #FFFFFF;
  border-color: rgba(11, 37, 69, 0.22);
  color: var(--tx-deep);
}
.tx-btn--ghost:hover { border-color: var(--tx-gold); background-color: #FFF3DF; }
.tx-btn--light {
  background-color: rgba(255, 215, 154, 0.08);
  border-color: rgba(255, 215, 154, 0.5);
  color: var(--tx-sand);
}
.tx-btn--light:hover { background-color: rgba(255, 215, 154, 0.2); color: #FFFFFF; }

.tx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--tx-mist);
}
.tx-breadcrumb a {
  color: var(--tx-mist);
  border-bottom: 1px dashed rgba(107, 122, 143, 0.5);
}
.tx-breadcrumb a:hover { color: var(--tx-orange); border-bottom-color: currentColor; }
.tx-breadcrumb__sep { color: rgba(107, 122, 143, 0.7); }
.tx-breadcrumb [aria-current="page"] { color: var(--tx-ink); font-weight: 700; }

.tx-band--deep .tx-breadcrumb,
.tx-band--deep .tx-breadcrumb a { color: rgba(255, 247, 236, 0.62); }
.tx-band--deep .tx-breadcrumb a:hover { color: var(--tx-gold); }
.tx-band--deep .tx-breadcrumb__sep { color: rgba(255, 215, 154, 0.6); }
.tx-band--deep .tx-breadcrumb [aria-current="page"] { color: var(--tx-sand); }

.tx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(245, 166, 35, 0.42);
  background-color: rgba(255, 215, 154, 0.42);
  color: #7A4A06;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tx-tag--mint {
  border-color: rgba(42, 161, 152, 0.4);
  background-color: rgba(42, 161, 152, 0.14);
  color: #1D6F68;
}
.tx-tag--coral {
  border-color: rgba(255, 90, 95, 0.4);
  background-color: rgba(255, 90, 95, 0.14);
  color: #A32A2E;
}
.tx-tag--deep {
  border-color: rgba(11, 37, 69, 0.16);
  background-color: rgba(11, 37, 69, 0.08);
  color: var(--tx-deep);
}
.tx-tag .tx-mono { font-size: 12px; }

.tx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tx-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 37, 69, 0.18);
  background-color: #FFFFFF;
  color: var(--tx-deep);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  transition: background-color 0.18s var(--tx-ease), border-color 0.18s var(--tx-ease), color 0.18s var(--tx-ease);
}
.tx-chip:hover { border-color: var(--tx-gold); color: #7A4A06; }
.tx-chip[aria-pressed="true"] {
  border-color: transparent;
  background-image: linear-gradient(135deg, #F5A623, #FF6B35);
  color: #0B2545;
  font-weight: 700;
}

.tx-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--tx-line);
  border-radius: 20px;
  background-color: #FFFFFF;
}
.tx-card--glass {
  background-color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--tx-shadow-soft);
}
.tx-card--deep {
  border-color: var(--tx-line-light);
  background-image: linear-gradient(160deg, #123B63, #0B2545);
  color: var(--tx-milk);
}
.tx-card--deep .tx-h3 { color: var(--tx-milk); }

.tx-grid { display: grid; gap: 20px; }
.tx-grid--2, .tx-grid--3 { grid-template-columns: 1fr; }
.tx-split { display: grid; gap: 28px; }

@media (min-width: 700px) {
  .tx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .tx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tx-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
}

.tx-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background-image: linear-gradient(140deg, #0B2545, #123B63 55%, #1D4D7A);
}
.tx-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tx-media--wide { aspect-ratio: 21 / 9; }
.tx-media--tall { aspect-ratio: 4 / 5; }
.tx-media--square { aspect-ratio: 1 / 1; }
.tx-media--glass {
  background-color: rgba(255, 255, 255, 0.6);
  background-image: linear-gradient(140deg, rgba(255, 215, 154, 0.5), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.tx-media--sun::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -34%;
  width: 68%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-image: radial-gradient(circle, rgba(245, 166, 35, 0.55), rgba(255, 107, 53, 0) 68%);
  pointer-events: none;
}
.tx-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 16px 13px;
  font-family: var(--tx-font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #FFF7EC;
  background-image: linear-gradient(0deg, rgba(11, 37, 69, 0.85), rgba(11, 37, 69, 0));
}

.tx-acc {
  border: 1px solid var(--tx-line);
  border-radius: 16px;
  background-color: #FFFFFF;
  overflow: hidden;
}
.tx-acc + .tx-acc { margin-top: 10px; }
.tx-acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-family: var(--tx-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--tx-deep);
  cursor: pointer;
  list-style: none;
}
.tx-acc__q::-webkit-details-marker { display: none; }
.tx-acc__q::after {
  content: "+";
  font-family: var(--tx-font-mono);
  font-size: 18px;
  color: var(--tx-orange);
}
.tx-acc[open] .tx-acc__q::after { content: "–"; }
.tx-acc__body {
  padding: 0 18px 18px;
  font-size: 15.5px;
  color: var(--tx-mist);
  animation: tx-fade 0.24s ease-out both;
}

@keyframes tx-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.tx-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(11, 37, 69, 0.28);
  background-color: #FFFFFF;
  font-family: var(--tx-font-mono);
  font-size: 13.5px;
  color: var(--tx-deep);
  transition: border-color 0.2s var(--tx-ease), background-color 0.2s var(--tx-ease), color 0.2s var(--tx-ease);
}
.tx-copy:hover { border-color: var(--tx-gold); }
.tx-copy__value { letter-spacing: 0.02em; }
.tx-copy__hint {
  font-family: var(--tx-font-body);
  font-size: 12px;
  color: var(--tx-mist);
}
.tx-copy.is-copied {
  border-style: solid;
  border-color: var(--tx-mint);
  background-color: rgba(42, 161, 152, 0.12);
  color: #1D6F68;
}
.tx-copy.is-copied .tx-copy__hint { color: #1D6F68; }

.tx-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--tx-line);
}
.tx-stat__num {
  font-family: var(--tx-font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  color: var(--tx-deep);
}
.tx-stat__label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--tx-mist);
}
.tx-band--deep .tx-stat {
  background-color: rgba(255, 247, 236, 0.07);
  border-color: var(--tx-line-light);
}
.tx-band--deep .tx-stat__num { color: var(--tx-sand); }
.tx-band--deep .tx-stat__label { color: rgba(255, 247, 236, 0.66); }

.tx-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 26px;
}
.tx-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-image: linear-gradient(180deg, #F5A623, #FF6B35, rgba(245, 166, 35, 0.14));
}
.tx-timeline__item { position: relative; }
.tx-timeline__item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #FFF7EC;
  border: 3px solid var(--tx-gold);
}
.tx-timeline__time {
  display: block;
  font-family: var(--tx-font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--tx-mist);
}
.tx-band--deep .tx-timeline__time { color: rgba(255, 215, 154, 0.82); }
.tx-band--deep .tx-timeline__item::before { background-color: #0B2545; }

/* ---------- 9. 工具类与动效 ---------- */
.tx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tx-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
[data-reveal] {
  transition: opacity 0.5s var(--tx-ease), transform 0.5s var(--tx-ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .tx-js [data-reveal] { opacity: 1; transform: none; }
  .tx-progress__bar { transition: none; }
}
