:root {
  --bg: #f5f7fa;
  --surface: #e9eef4;
  --panel: #fff;
  --text: #1c2a3a;
  --muted: #576579;
  --line: #d4dce6;
  --accent: #255db1;
  --accent-text: #fff;
  --accent-soft: #e4edfb;
  --wrap: min(1180px, 88vw);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #19222f; --surface: #233043; --panel: #253347; --text: #edf2f9;
  --muted: #b4c0d0; --line: #45576d; --accent: #91baff; --accent-text: #172b49; --accent-soft: #2d4261; color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #19222f; --surface: #233043; --panel: #253347; --text: #edf2f9;
    --muted: #b4c0d0; --line: #45576d; --accent: #91baff; --accent-text: #172b49; --accent-soft: #2d4261; color-scheme: dark;
  }
}
* { box-sizing: border-box }
html { scroll-padding-top: 92px }
.inner-page {
  margin: 0; color: var(--text); background: var(--bg);
  font: 16px/1.75 "PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}
.inner-page :is(button,input,select,textarea) { font: inherit; color: inherit }
.inner-page button { cursor: pointer }
.inner-page a { color: inherit }
.inner-page [hidden] { display: none !important }
.inner-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
.tx-skip { position: fixed; left: 1rem; top: -10rem; background: var(--panel); color: var(--accent); padding: .5rem 1rem; z-index: 40 }
.tx-skip:focus { top: .5rem }
.tx-header { position:sticky; z-index:15; top:0; background:var(--bg); border-bottom:1px solid var(--line) }
.tx-bar { width: var(--wrap); min-height:72px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:22px }
.tx-brand, .tx-nav a, .tx-menu summary, .tx-menu a, .tx-foot a { text-decoration:none }
.tx-brand { font-size:24px; font-weight:650; letter-spacing:.12em; white-space:nowrap }
.tx-brand span { margin-left:18px; padding-left:18px; border-left:1px solid var(--line); font-weight:400; font-size:12px; color:var(--muted); letter-spacing:.06em; vertical-align:middle }
.tx-nav { display:flex; gap:clamp(15px,2.5vw,39px); align-items:center }
.tx-nav a, .tx-menu a { font-size:14px; padding:10px 0; text-underline-offset:7px }
.tx-nav a:hover,.tx-nav a[aria-current],.tx-menu a[aria-current],.tx-foot a:hover { color:var(--accent); text-decoration:underline }
.tx-tools { display:flex; align-items:center; gap:14px }
.tx-theme,.tx-menu summary { cursor:pointer; background:none; border:0; padding:10px 0; font-size:14px; line-height:1.5; list-style:none; white-space:nowrap }
.tx-menu summary::-webkit-details-marker { display:none }
.tx-menu { display:none }
.tx-menu nav { position:absolute; background:var(--panel); border:1px solid var(--line); top:100%; left:4vw; right:4vw; box-shadow:0 12px 26px rgba(24,38,60,.12); padding:12px 24px; display:grid }
.tx-foot { border-top:1px solid var(--line); background:var(--bg); color:var(--text) }
.tx-foot-inner { width:var(--wrap); margin:auto; padding:38px 0 44px; display:flex; align-items:flex-start; flex-wrap:wrap; gap:24px 64px }
.tx-foot-brand { margin-right:auto }
.tx-foot-brand strong { display:block; font-size:20px; letter-spacing:.12em }
.tx-foot-brand small { display:block; margin-top:4px; color:var(--muted) }
.tx-foot-links { display:flex; flex-wrap:wrap; gap:10px 24px; font-size:14px; padding:4px 0 }
.tx-foot-links a { color:var(--muted) }
@media (max-width:1000px) { .tx-brand span { display:none } }
@media (max-width:767px) {
  html { scroll-padding-top:76px }
  .tx-bar { min-height:62px; width:90vw }
  .tx-brand { font-size:21px }
  .tx-nav { display:none }
  .tx-menu { display:block }
  .tx-foot-inner { padding:28px 0; gap:18px }
  .tx-foot-brand { width:100% }
}
