/* ==========================================================================
   Mir6 API — Signal Deck 设计系统
   深墨底（非纯黑） / 信号青为主交互色 / 洋红仅作告警 / 琥珀仅作价格
   等宽字体承担「机器元数据」，无衬线承担「人读的句子」
   ========================================================================== */

:root {
  color-scheme: dark;
  --void: #05070c;
  --deck: #0a1018;
  --deck-2: #0e1621;
  --rail: #121b28;
  --line: rgba(132, 168, 214, .14);
  --line-2: rgba(132, 168, 214, .26);
  --sig: #3df2c4;
  --sig-dim: #1c9c80;
  --sig-glow: rgba(61, 242, 196, .18);
  --hot: #ff2f87;
  --amber: #ffb528;
  --txt: #dde7f3;
  --txt-2: #9aa9bd;
  --txt-3: #67768c;
  --sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --r: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar: 60px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: #05070c; }

body {
  margin: 0;
  background: transparent;
  color: var(--txt);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(61, 242, 196, .07), transparent 60%),
    radial-gradient(700px 400px at 88% 4%, rgba(255, 47, 135, .05), transparent 62%),
    linear-gradient(180deg, #070b12 0%, #05070c 58%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(132, 168, 214, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 168, 214, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 600px at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(1200px 600px at 50% 0%, #000 20%, transparent 78%);
}

main, header, footer, nav, section { position: relative; z-index: 1; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code, pre, kbd { font-family: var(--mono); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(61, 242, 196, .26); color: #fff; }

:focus-visible {
  outline: 2px solid var(--sig);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--txt-2); }
.hot { color: var(--hot); }
.sig { color: var(--sig); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------------------------
   顶栏
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.topbar__in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -.02em;
  font-size: 16px;
  white-space: nowrap;
  flex: none;
}

.brand svg { width: 22px; height: 22px; flex: none; color: var(--sig); }
.brand em { font-style: normal; color: var(--txt-3); font-weight: 400; }

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.topnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--txt-2);
  border-radius: var(--r);
  transition: color .18s var(--ease), background .18s var(--ease);
}

.topnav a:hover { color: var(--txt); background: rgba(132, 168, 214, .07); }
.topnav a.on { color: var(--sig); }

.topbar__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: transparent;
  color: var(--txt);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
  white-space: nowrap;
}

.btn:hover { border-color: rgba(61, 242, 196, .5); color: var(--sig); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn--sig {
  background: var(--sig);
  border-color: var(--sig);
  color: #04120e;
  font-weight: 600;
}
.btn--sig:hover { background: #57ffd4; border-color: #57ffd4; color: #04120e; }

.btn--ghost { border-color: transparent; color: var(--txt-2); }
.btn--ghost:hover { border-color: var(--line); background: rgba(132, 168, 214, .06); color: var(--txt); }

.btn--block { width: 100%; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn--hot { border-color: rgba(255, 47, 135, .5); color: var(--hot); }
.btn--hot:hover { background: rgba(255, 47, 135, .1); border-color: var(--hot); color: #ff6aa6; }

.burger {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: transparent;
  color: var(--txt);
  cursor: pointer;
}
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor;
  transition: transform .2s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: var(--topbar) 0 auto auto;
  z-index: 59;
  width: min(84vw, 320px);
  height: calc(100vh - var(--topbar));
  padding: 18px;
  background: var(--deck);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform .26s var(--ease);
  display: none;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer.open { transform: none; box-shadow: -24px 0 60px rgba(0, 0, 0, .55); }
.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  color: var(--txt-2);
  font-size: 15px;
}
.drawer a:last-child { border-bottom: 0; }
.drawer a:hover { color: var(--sig); }
.drawer .btn {
  justify-content: center;
  height: 44px;
  margin-top: 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  color: var(--txt);
  font-size: 14px;
}
.drawer .btn--sig {
  background: var(--sig);
  border-color: var(--sig);
  color: #04120e;
  font-weight: 600;
}
.drawer .btn--sig:hover { background: #57ffd4; border-color: #57ffd4; color: #04120e; }
.drawer .btn { margin-top: 14px; }
.drawer__sep { margin: 12px 4px 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--txt-3); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* Hero — 整个顶部是一个终端窗口 */
.deck-hero { padding: 40px 0 0; }

.deck {
  position: relative;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0b1220, #070c14);
  box-shadow: 0 46px 110px -70px #000, 0 0 0 1px rgba(61, 242, 196, .05) inset;
  overflow: hidden;
}

.deck__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(132, 168, 214, .03);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--txt-3);
}

.deck__dots { display: flex; gap: 5px; flex: none; }
.deck__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(132, 168, 214, .25); }
.deck__dots i:nth-child(1) { background: rgba(255, 47, 135, .6); }
.deck__dots i:nth-child(2) { background: rgba(255, 181, 40, .55); }
.deck__dots i:nth-child(3) { background: rgba(61, 242, 196, .55); }

.deck__path { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--txt-2); }
.deck__meta { margin-left: auto; flex: none; letter-spacing: .1em; white-space: nowrap; }

.deck__body {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 64px;
  padding: 52px 56px 46px;
  align-items: stretch;
}

.deck__lead { min-width: 0; }

.deck__kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--sig);
}

.deck h1 {
  margin-top: 18px;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 700;
}
.deck h1 b { color: var(--sig); font-weight: 700; }

.deck__sub {
  margin-top: 20px;
  max-width: 30em;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--txt-2);
}

.deck__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.deck__cta .btn { height: 46px; padding: 0 22px; font-size: 14px; }
.deck__cta .btn svg { width: 15px; height: 15px; }

.deck__note { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--txt-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--txt-2);
  margin-bottom: 22px;
}
.eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sig);
  box-shadow: 0 0 0 3px rgba(61, 242, 196, .12);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61, 242, 196, .12); }
  50% { box-shadow: 0 0 0 6px rgba(61, 242, 196, .04); }
}

.deck__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-width: 0; }

.deck__facts { display: flex; flex-direction: column; }
.deck__facts > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.deck__facts b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; color: var(--sig); }
.deck__facts span { font-size: 13.5px; color: var(--txt-2); }

.deck__find {
  display: flex;
  align-items: center;
  height: 48px;
  border: 1px solid var(--line-2);
  background: rgba(5, 9, 15, .7);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.deck__find:focus-within { border-color: rgba(61, 242, 196, .55); box-shadow: 0 0 0 3px var(--sig-glow); }
.deck__find svg { width: 15px; height: 15px; margin-left: 14px; color: var(--txt-3); flex: none; }
.deck__find input { flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: transparent; outline: none; font-size: 13.5px; }
.deck__find input::placeholder { color: var(--txt-3); }
.deck__find button {
  height: 100%;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid var(--line);
  background: rgba(61, 242, 196, .08);
  color: var(--sig);
  font-size: 12.5px;
  cursor: pointer;
  transition: background .18s var(--ease);
}
.deck__find button:hover { background: rgba(61, 242, 196, .16); }

.deck__strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-2);
  background: #060a11;
}
.deck__strip > div { min-width: 0; padding: 16px 24px 18px; }
.deck__strip > div + div { border-left: 1px solid var(--line); }
.deck__strip .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--txt-3); }
.deck__strip .lbl b { color: var(--sig); font-weight: 500; }
.deck__strip pre {
  margin: 9px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--txt-2);
  white-space: pre-wrap;
  word-break: break-word;
}
.deck__strip .k { color: #7fb0ff; }
.deck__strip .s { color: var(--sig); }
.deck__strip .n { color: var(--amber); }
.deck__strip .c { color: var(--txt-3); }

.deck-gauge {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.deck-gauge > div { padding: 16px 0 18px 22px; border-left: 1px solid var(--line); }
.deck-gauge > div:first-child { border-left: 0; padding-left: 0; }
.deck-gauge b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--txt); }
.deck-gauge b i { font-style: normal; font-size: 12px; color: var(--txt-3); margin-left: 3px; }
.deck-gauge span { display: block; margin-top: 5px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--txt-3); }

/* --------------------------------------------------------------------------
   接口货架
   -------------------------------------------------------------------------- */
.shelf { padding: 54px 0 70px; }
#listApi { scroll-margin-top: 78px; }

.shelf__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.shelf__head h2 { font-size: 22px; letter-spacing: -.02em; }
.shelf__head h2 span { color: var(--txt-3); font-weight: 400; }
.shelf__head p { margin-top: 6px; color: var(--txt-3); font-size: 13px; }
.shelf__hint {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--txt-3);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--r);
  white-space: nowrap;
}

.rack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.slot {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, rgba(14, 22, 33, .92), rgba(9, 14, 22, .92));
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .18s var(--ease);
  overflow: hidden;
}
.slot::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 242, 196, .55), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.slot:hover { border-color: rgba(61, 242, 196, .34); background: linear-gradient(180deg, rgba(17, 27, 39, .95), rgba(10, 16, 24, .95)); transform: translateY(-2px); }
.slot:hover::before { transform: scaleX(1); }

.slot__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

.slot__icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(61, 242, 196, .06);
  color: var(--sig);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  flex: none;
}

.slot__count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--txt-3);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.slot__count.success { color: var(--sig); border-color: rgba(61, 242, 196, .24); }
.slot__count.danger { color: var(--hot); border-color: rgba(255, 47, 135, .3); }

.slot h3 {
  margin-top: 16px;
  font-size: 16px;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slot__desc {
  margin-top: 7px;
  color: var(--txt-2);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.slot__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--txt-3);
}
.slot__foot .go { display: inline-flex; align-items: center; gap: 6px; color: var(--txt-2); }
.slot:hover .slot__foot .go { color: var(--sig); }
.slot__foot svg { width: 13px; height: 13px; }
.slot__alias { color: var(--txt-3); opacity: .8; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 空状态 */
.empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  color: var(--txt-3);
}
.empty b { display: block; font-family: var(--mono); font-size: 13px; color: var(--txt-2); margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 16, .7);
  padding: 44px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .9fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .08em;
  color: var(--txt-3);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer p { color: var(--txt-2); font-size: 13px; line-height: 1.8; }
.footer p + p { margin-top: 8px; }
.footer a { color: var(--txt-2); border-bottom: 1px solid transparent; transition: color .16s var(--ease), border-color .16s var(--ease); }
.footer a:hover { color: var(--sig); border-bottom-color: rgba(61, 242, 196, .4); }

.prose h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt-3);
  font-weight: 500;
  margin-bottom: 12px;
}
.prose h4 a { color: var(--txt); }
.prose p { color: var(--txt-2); font-size: 13px; line-height: 1.8; }
.prose p + p { margin-top: 8px; }
.prose a { color: var(--txt-2); border-bottom: 1px solid rgba(132, 168, 214, .28); }
.prose a:hover { color: var(--sig); border-bottom-color: rgba(61, 242, 196, .5); }

.footer__mail { margin-top: 12px; }
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 13px; }
.footer__links a { display: inline-block; width: fit-content; }
.footer__stat { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--txt-3); line-height: 1.9; }
.footer__stat b { color: var(--sig); font-weight: 500; }

.qr-row { display: flex; gap: 12px; }
.qr {
  width: 86px;
  flex: none;
  text-align: center;
  cursor: zoom-in;
  outline: none;
}
.qr__pic { position: relative; display: block; }
.qr img {
  display: block;
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
  padding: 3px;
  transition: border-color .18s var(--ease);
}
.qr:hover img, .qr:focus-visible img { border-color: rgba(61, 242, 196, .55); }
.qr__zoom {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(5, 7, 12, .74);
  border: 1px solid rgba(61, 242, 196, .32);
  color: var(--sig);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  pointer-events: none;
}
.qr__zoom svg { width: 11px; height: 11px; }
.qr:hover .qr__zoom, .qr:focus-visible .qr__zoom { opacity: 1; transform: none; }
.qr__cap {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--txt-2);
  line-height: 1.3;
}

/* 二维码放大层 */
.qrl {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.qrl.is-open { display: flex; }
.qrl__mask {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, .88);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}
.qrl__card {
  position: relative;
  width: 348px;
  max-width: 100%;
  padding: 26px 26px 18px;
  text-align: center;
  border: 1px solid rgba(61, 242, 196, .22);
  border-radius: var(--r);
  background: linear-gradient(180deg, #0b1520, #070d14);
  box-shadow: 0 44px 110px -46px rgba(0, 0, 0, .95), 0 0 0 1px rgba(61, 242, 196, .06) inset;
  animation: qrlIn .26s var(--ease) both;
}
.qrl__card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sig), transparent);
  opacity: .75;
}
.qrl__x {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(132, 168, 214, .07);
  color: var(--txt-2);
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.qrl__x svg { width: 14px; height: 14px; }
.qrl__x:hover { color: var(--sig); border-color: rgba(61, 242, 196, .5); background: rgba(61, 242, 196, .1); }
.qrl__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sig);
}
.qrl__title {
  margin-top: 9px;
  font-size: 17.5px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--txt);
}
.qrl__frame {
  margin: 18px auto 0;
  width: 232px;
  max-width: 68vw;
  aspect-ratio: 1;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(61, 242, 196, .16), 0 18px 44px -24px rgba(0, 0, 0, .9);
}
.qrl__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qrl__cap {
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--txt-2);
}
.qrl__hint {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--txt-3);
}
@keyframes qrlIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qrl__card { animation: none; }
  .qr img, .qr__zoom { transition: none; }
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--txt-3);
}
.footer__bottom a { color: var(--txt-3); }
.footer__bottom a:hover { color: var(--sig); }

/* --------------------------------------------------------------------------
   文档页
   -------------------------------------------------------------------------- */
.doc-head { padding-top: 34px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--txt-3);
}
.crumbs a { color: var(--txt-3); }
.crumbs a:hover { color: var(--sig); }
.crumbs i { color: var(--txt-3); opacity: .5; font-style: normal; }

.doc-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 18px; }
.doc-title h1 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; }
.doc-title p { margin-top: 8px; color: var(--txt-2); font-size: 14px; max-width: 46em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 12px;
  color: var(--txt-2);
  background: rgba(132, 168, 214, .04);
}
.chip b { font-family: var(--mono); font-weight: 500; color: var(--txt); }
.chip--on { border-color: rgba(61, 242, 196, .3); color: var(--sig); }
.chip--on b { color: var(--sig); }

.tabs {
  display: flex;
  gap: 2px;
  margin: 30px 0 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  flex: none;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--txt-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .16s var(--ease), border-color .16s var(--ease);
  user-select: none;
}
.tab:hover { color: var(--txt); }
.tab.active { color: var(--sig); border-bottom-color: var(--sig); }

.doc-body { padding: 26px 0 64px; }
.panel-grid { display: grid; gap: 16px; }

.panel {
  background: linear-gradient(180deg, rgba(14, 22, 33, .8), rgba(9, 14, 22, .8));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.panel__hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--txt-2);
}
.panel__hd b { color: var(--txt); font-weight: 600; font-size: 14px; }
.panel__hd .mono { margin-left: auto; font-size: 11px; color: var(--txt-3); }
.panel__bd { padding: 18px; }
.panel__bd.tight { padding: 0; }

.kv { display: grid; grid-template-columns: 132px 1fr; gap: 2px 18px; }
.kv > * { min-width: 0; }
.kv__k { padding: 11px 0; font-size: 13px; color: var(--txt-3); border-bottom: 1px solid rgba(132, 168, 214, .08); }
.kv__v { padding: 11px 0; font-size: 13px; border-bottom: 1px solid rgba(132, 168, 214, .08); word-break: break-all; }
.kv > :nth-last-child(-n+2) { border-bottom: 0; }

.copyval {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 8px;
  margin: -3px 0;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--sig);
  background: rgba(61, 242, 196, .06);
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.copyval:hover { border-color: rgba(61, 242, 196, .34); background: rgba(61, 242, 196, .1); }
.copyval span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copyval svg { width: 13px; height: 13px; flex: none; opacity: .7; }

/* 表格 */
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.tbl th {
  text-align: left;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: .04em;
  color: var(--txt-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td { padding: 11px 18px; border-bottom: 1px solid rgba(132, 168, 214, .08); color: var(--txt-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(132, 168, 214, .035); }
.tbl code { font-size: 12px; color: var(--sig); background: rgba(61, 242, 196, .07); padding: 1px 5px; border-radius: var(--r); }
.tbl .num { font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--txt-3); }
.tbl__empty { text-align: center; color: var(--txt-3); padding: 26px 0 !important; }

.req {
  display: inline-block;
  white-space: nowrap;
  padding: 1px 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--hot);
  border: 1px solid rgba(255, 47, 135, .3);
  border-radius: var(--r);
}
.opt { font-size: 11.5px; color: var(--txt-3); }

/* 代码块 */
.code {
  position: relative;
  margin: 0;
  padding: 16px 18px;
  background: #060a10;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: #b9c8dc;
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.code--wrap { white-space: pre-wrap; word-break: break-word; }
.out { min-height: 120px; color: var(--sig); }

/* 在线测试 */
.test__row { display: flex; flex-wrap: wrap; gap: 10px; }
.test__row select, .test__row input, .pl input, .pl select, .pl textarea {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(6, 10, 16, .85);
  color: var(--txt);
  font-size: 13px;
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.test__row select { width: 108px; flex: none; }
.test__row .url { flex: 1; min-width: 200px; font-family: var(--mono); font-size: 12.5px; color: var(--txt-2); }
.test__row input:focus, .pl input:focus, .pl textarea:focus { border-color: rgba(61, 242, 196, .5); box-shadow: 0 0 0 3px var(--sig-glow); }

.pl { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.pl input { flex: 1; min-width: 0; }
.pl input.k { flex: 0 0 32%; font-family: var(--mono); font-size: 12.5px; }
.pl button {
  flex: none;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--txt-3);
  font-size: 12px;
  border-radius: var(--r);
  cursor: pointer;
}
.pl button:hover { color: var(--hot); border-color: rgba(255, 47, 135, .4); }

.hint { margin-top: 14px; font-size: 12.5px; color: var(--txt-3); line-height: 1.7; }
.hint b { color: var(--txt-2); font-weight: 500; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .25s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 999;
  transform: translate(-50%, 12px);
  padding: 9px 16px;
  background: #0e1926;
  border: 1px solid rgba(61, 242, 196, .35);
  border-radius: var(--r);
  color: var(--txt);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 12px 30px -12px #000;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   登录 / 注册 / 找回密码
   -------------------------------------------------------------------------- */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: clamp(420px, 30vw, 680px) minmax(0, 1fr);
}
.auth__side {
  position: relative;
  padding: clamp(34px, 3vw, 50px) clamp(34px, 2.6vw, 52px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(61, 242, 196, .08), transparent 65%),
    radial-gradient(500px 300px at 80% 85%, rgba(255, 47, 135, .07), transparent 65%);
}
.auth__side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(132, 168, 214, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 168, 214, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 70% at 40% 45%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 40% 45%, #000, transparent 85%);
  pointer-events: none;
}
.auth__side > * { position: relative; }
.auth__claim { margin: auto 0; max-width: 22em; }
.auth__claim h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
.auth__claim h2 b { color: var(--sig); font-weight: 700; }
.auth__claim p { margin-top: 16px; color: var(--txt-2); font-size: 14px; }
.auth__list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.auth__list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--txt-2); }
.auth__list svg { width: 15px; height: 15px; color: var(--sig); flex: none; }

.auth__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(24px, 3.5vw, 96px);
}
.auth__stage {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 480px);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
  justify-content: center;
}
.auth__box { width: 100%; }

.auth__brief {
  padding-left: clamp(24px, 3vw, 44px);
  padding-top: 6px;
  border-left: 1px solid var(--line);
}
.brief__hd {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--txt-3);
  margin-bottom: 20px;
}
.brief__hd i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sig);
  box-shadow: 0 0 0 3px rgba(61, 242, 196, .12);
}
.brief__steps {
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: st;
  display: grid;
  gap: 16px;
}
.brief__steps li {
  counter-increment: st;
  position: relative;
  padding-left: 34px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--txt-2);
}
.brief__steps li::before {
  content: "0" counter(st);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--sig);
  border: 1px solid rgba(61, 242, 196, .26);
  border-radius: 2px;
  padding: 1px 5px;
}
.brief__steps b {
  display: block;
  margin-bottom: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--txt);
}
.brief__code {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(8, 13, 20, .72);
  overflow: hidden;
}
.brief__code-hd {
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--txt-3);
}
.brief__code pre {
  margin: 0;
  padding: 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--txt-2);
  white-space: pre-wrap;
  word-break: break-all;
}
.brief__code pre b { color: var(--sig); font-weight: 500; }
.auth__box h1 { font-size: 22px; letter-spacing: -.02em; }
.auth__box .lead { margin-top: 8px; color: var(--txt-3); font-size: 13px; }

.form { margin-top: 26px; display: grid; gap: 16px; }
.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--txt-2);
  margin-bottom: 7px;
}
.field label a { color: var(--txt-3); font-size: 12px; }
.field label a:hover { color: var(--sig); }
.input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(6, 10, 16, .85);
  color: var(--txt);
  font-size: 14px;
  outline: none;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.input::placeholder { color: var(--txt-3); font-size: 13px; }
.input:focus { border-color: rgba(61, 242, 196, .55); box-shadow: 0 0 0 3px var(--sig-glow); background: rgba(8, 14, 20, .95); }
textarea.input { height: auto; padding: 11px 13px; line-height: 1.7; resize: vertical; }

.field--code { display: grid; grid-template-columns: 1fr 118px; gap: 10px; align-items: stretch; }
.field--code .captcha {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #0b1219;
  cursor: pointer;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 44px;
}
.field--code .captcha img { display: block; height: 100%; width: 100%; object-fit: fill; }
.field--code .captcha:hover { border-color: rgba(61, 242, 196, .42); }
.field--code .captcha:hover img { opacity: .88; }
.field--code .send {
  height: 44px;
  border: 1px solid var(--line-2);
  background: rgba(61, 242, 196, .07);
  color: var(--sig);
  font-size: 12.5px;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
}
.field--code .send:hover { background: rgba(61, 242, 196, .14); }

.auth__foot {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--txt-3);
}
.auth__foot a { color: var(--txt-2); }
.auth__foot a:hover { color: var(--sig); }
.auth__msg { margin-top: 14px; font-size: 12.5px; color: var(--hot); min-height: 18px; }
.auth .btn--block { height: 44px; }

.agree { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--txt-3); }
.agree input { accent-color: var(--sig); width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   用户中心（控制台）
   -------------------------------------------------------------------------- */
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 228px 1fr;
}

.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: rgba(8, 13, 20, .92);
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
  z-index: 55;
}
.rail__brand {
  height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -.02em;
  flex: none;
}
.rail__brand svg { width: 20px; height: 20px; color: var(--sig); flex: none; }
.rail__brand em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--txt-3); margin-left: auto; }

.rail__user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 38px; height: 38px;
  flex: none;
  display: block;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.avatar svg { display: block; width: 100%; height: 100%; }
.rail__user b { display: block; font-size: 13px; font-weight: 500; max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail__user > div > span { display: block; font-family: var(--mono); font-size: 11px; color: var(--txt-3); }

.profile { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.profile__meta { min-width: 0; }
.profile__meta b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile__meta > span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--txt-3); }

.rail__nav { padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.rail__group { margin: 14px 10px 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--txt-3); }
.rail__item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--r);
  color: var(--txt-2);
  font-size: 13.5px;
  border-left: 2px solid transparent;
  transition: color .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}
.rail__item svg { width: 16px; height: 16px; flex: none; opacity: .8; }
.rail__item:hover { color: var(--txt); background: rgba(132, 168, 214, .06); }
.rail__item.on { color: var(--sig); background: rgba(61, 242, 196, .07); border-left-color: var(--sig); }
.rail__item .badge { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); }

.rail__foot { margin-top: auto; padding: 12px 18px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); line-height: 1.7; }

.console { display: flex; flex-direction: column; min-width: 0; }

.console__bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.console__bar h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.console__bar h2 span { color: var(--txt-3); font-weight: 400; font-family: var(--mono); font-size: 11px; margin-left: 8px; }
.console__bar .end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.console__bar .btn { height: 32px; padding: 0 12px; font-size: 13px; }

.console__body { padding: 26px 28px 40px; }
.console__body > * + * { margin-top: 18px; }

.pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pagehead h1 { font-size: 22px; letter-spacing: -.025em; }
.pagehead p { margin-top: 6px; color: var(--txt-3); font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.cols { display: grid; grid-template-columns: 1.55fr .92fr; gap: 14px; align-items: start; }
.cols > * { min-width: 0; }

.dl { display: grid; }
.dl__r {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(132, 168, 214, .08);
  font-size: 13px;
}
.dl__r:last-child { border-bottom: 0; }
.dl__r > span { color: var(--txt-3); white-space: nowrap; }
.dl__r > b { font-weight: 500; color: var(--txt); text-align: right; word-break: break-all; }

.quick { display: grid; gap: 2px; }
.quick a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(132, 168, 214, .08);
  font-size: 13px;
  color: var(--txt-2);
}
.quick a:last-child { border-bottom: 0; }
.quick a:hover { color: var(--sig); }
.quick a svg { width: 14px; height: 14px; opacity: .6; flex: none; }
.quick a:hover svg { opacity: 1; }
.stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(14, 22, 33, .8), rgba(9, 14, 22, .7));
}
.stat__l { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--txt-3); }
.stat__l svg { width: 14px; height: 14px; color: var(--sig-dim); }
.stat__v { margin-top: 10px; font-family: var(--mono); font-size: 24px; letter-spacing: -.02em; color: var(--txt); line-height: 1.2; }
.stat__v small { font-size: 12px; color: var(--txt-3); margin-left: 3px; font-family: var(--sans); }
.stat__meta { margin-top: 4px; font-size: 11.5px; color: var(--txt-3); font-family: var(--mono); }
.stat--hot .stat__v { color: var(--amber); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(13, 21, 31, .85), rgba(9, 14, 22, .8));
  overflow: hidden;
}
.card__hd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.card__hd h3 { font-size: 14px; }
.card__hd .mono { margin-left: auto; font-size: 11px; color: var(--txt-3); }
.card__bd { padding: 18px; }
.card__bd.flush { padding: 0; }

.notice {
  display: flex;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(61, 242, 196, .22);
  border-left: 2px solid var(--sig);
  border-radius: var(--r);
  background: rgba(61, 242, 196, .05);
  font-size: 13px;
  color: var(--txt-2);
}
.notice svg { width: 16px; height: 16px; color: var(--sig); flex: none; margin-top: 2px; }
.notice b { color: var(--txt); font-weight: 600; }
.notice--warn { border-color: rgba(255, 181, 40, .25); border-left-color: var(--amber); background: rgba(255, 181, 40, .05); }
.notice--warn svg { color: var(--amber); }

/* 控制台表格 */
.ct { width: 100%; border-collapse: collapse; font-size: 13px; }
.ct thead th {
  padding: 11px 18px;
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--txt-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: rgba(132, 168, 214, .02);
}
.ct tbody td { padding: 13px 18px; border-bottom: 1px solid rgba(132, 168, 214, .08); color: var(--txt-2); vertical-align: middle; }
.ct th.is-sortable { cursor: pointer; user-select: none; }
.ct th.is-sortable:hover { color: var(--txt-2); }
.ct th.is-sortable::after { content: "↕"; margin-left: 6px; opacity: .4; font-size: 10px; }
.ct th.is-sortable.asc::after { content: "↑"; opacity: 1; color: var(--sig); }
.ct th.is-sortable.desc::after { content: "↓"; opacity: 1; color: var(--sig); }
.ct tbody tr:last-child td { border-bottom: 0; }
.ct tbody tr:hover td { background: rgba(132, 168, 214, .03); }
.ct .t { color: var(--txt); font-weight: 500; }
.ct .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ct .muted { color: var(--txt-3); font-size: 12px; }
.ct .key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sig);
  background: rgba(61, 242, 196, .07);
  border: 1px solid rgba(61, 242, 196, .16);
  padding: 3px 7px;
  border-radius: var(--r);
  cursor: pointer;
}
.ct .key:hover { border-color: rgba(61, 242, 196, .4); }
.ct .key span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ct .acts { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.ct .num { white-space: nowrap; }
.ct .acts a { font-size: 12.5px; color: var(--txt-2); border-bottom: 1px solid rgba(132, 168, 214, .25); }
.ct .acts a:hover { color: var(--sig); border-bottom-color: rgba(61, 242, 196, .5); }
.ct .acts a.danger { color: var(--hot); border-bottom-color: rgba(255, 47, 135, .3); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--txt-2);
  white-space: nowrap;
}
.tag--ok { color: var(--sig); border-color: rgba(61, 242, 196, .28); background: rgba(61, 242, 196, .06); }
.tag--bad { color: var(--hot); border-color: rgba(255, 47, 135, .3); background: rgba(255, 47, 135, .06); }
.tag--vip { color: var(--amber); border-color: rgba(255, 181, 40, .3); background: rgba(255, 181, 40, .07); }

/* 时间线（最新动态） */
.tline { padding: 4px 0; }
.tline__item { position: relative; padding: 0 0 20px 26px; border-left: 1px solid var(--line); margin-left: 6px; }
.tline__item:last-child { border-left-color: transparent; padding-bottom: 0; }
.tline__item::before {
  content: "";
  position: absolute;
  left: -4px; top: 6px;
  width: 7px; height: 7px;
  background: var(--deck);
  border: 1px solid var(--sig-dim);
  border-radius: 50%;
}
.tline__item:first-child::before { background: var(--sig); border-color: var(--sig); box-shadow: 0 0 0 3px rgba(61, 242, 196, .12); }
.tline__time { font-family: var(--mono); font-size: 11px; color: var(--txt-3); }
.tline__t { margin-top: 4px; font-size: 13.5px; color: var(--txt); }
.tline__d { margin-top: 3px; font-size: 12.5px; color: var(--txt-3); line-height: 1.65; }

/* 内嵌弹层页（购买/续费/配置文件） */
.embed { padding: 18px; }
.embed .field + .field { margin-top: 14px; }
.embed h1 { font-size: 16px; letter-spacing: -.01em; }
.embed .lead { margin-top: 6px; font-size: 12.5px; color: var(--txt-3); }

.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.plan label { position: relative; display: block; cursor: pointer; }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan span {
  display: block;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 12.5px;
  color: var(--txt-2);
  background: rgba(6, 10, 16, .6);
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}
.plan span b { display: block; font-family: var(--mono); font-size: 15px; color: var(--txt); margin-top: 4px; font-weight: 500; }
.plan input:checked + span { border-color: var(--sig); background: rgba(61, 242, 196, .08); color: var(--sig); }
.plan input:checked + span b { color: var(--sig); }

.total {
  margin: 18px 0 16px;
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  font-size: 13px;
  color: var(--txt-2);
}
.total b { font-family: var(--mono); font-size: 22px; color: var(--amber); font-weight: 500; }
.total b small { font-size: 12px; color: var(--txt-3); margin-left: 3px; font-family: var(--sans); }

/* 移动端控制台菜单按钮 */
.rail-toggle { display: none; width: 36px; height: 36px; border: 1px solid var(--line-2); background: transparent; color: var(--txt); border-radius: var(--r); align-items: center; justify-content: center; cursor: pointer; }
.rail-toggle svg { width: 17px; height: 17px; }
.rail-mask { display: none; }

/* --------------------------------------------------------------------------
   覆盖 layer 弹层样式，使其与站点一致
   -------------------------------------------------------------------------- */
.layui-layer { border-radius: 3px !important; border: 1px solid rgba(132, 168, 214, .2) !important; background: #0c1420 !important; box-shadow: 0 30px 80px -30px #000 !important; }
.layui-layer-title { background: #0a111a !important; color: #dde7f3 !important; border-bottom: 1px solid rgba(132, 168, 214, .14) !important; font-size: 14px !important; height: 44px !important; line-height: 44px !important; }
.layui-layer-setwin { top: 15px !important; }
.layui-layer-setwin .layui-layer-close2, .layui-layer-setwin a { color: #67768c !important; }
.layui-layer-content { color: #dde7f3; }
.layui-layer-btn { border-top: 1px solid rgba(132, 168, 214, .14) !important; background: #0a111a !important; padding: 9px 12px !important; }
.layui-layer-btn a { background: transparent !important; border: 1px solid rgba(132, 168, 214, .26) !important; color: #dde7f3 !important; height: 32px !important; line-height: 30px !important; border-radius: 2px !important; font-size: 13px !important; }
.layui-layer-btn .layui-layer-btn0 { background: #3df2c4 !important; border-color: #3df2c4 !important; color: #04120e !important; font-weight: 600 !important; }
.layui-layer-dialog .layui-layer-content { color: #dde7f3 !important; font-size: 14px !important; }
.layui-layer-msg { background: #0e1926 !important; border: 1px solid rgba(61, 242, 196, .3) !important; color: #dde7f3 !important; }
.layui-layer-loading { background: transparent !important; }

/* --------------------------------------------------------------------------
   自适应
   -------------------------------------------------------------------------- */
@media (max-width: 1439px) {
  .auth__stage { grid-template-columns: minmax(0, 384px); }
  .auth__brief { display: none; }
}

@media (max-width: 1360px) {
  .ct thead th, .ct tbody td { padding-left: 14px; padding-right: 14px; }
  .console__body { padding: 24px 22px 38px; }
}

@media (max-width: 1080px) {
  .deck__body { grid-template-columns: 1fr .92fr; gap: 40px; padding: 44px 38px 38px; }
  .rack { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .footer__grid > .footer__qr { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
  .shell { grid-template-columns: 200px 1fr; }
}

@media (max-width: 940px) {
  .topnav { display: none; }
  .burger { display: inline-flex; }
  .drawer { display: flex; }
  .topbar__end .btn--ghost { display: none; }
  .deck-hero { padding: 26px 0 0; }
  .deck__body { grid-template-columns: 1fr; gap: 32px; padding: 34px 28px 32px; }
  .deck__aside { gap: 26px; }
  .deck__meta { display: none; }
  .deck__strip { grid-template-columns: 1fr; }
  .deck__strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .deck h1 { max-width: none; font-size: clamp(38px, 5.2vw, 46px); }
  .auth { grid-template-columns: 1fr; align-content: start; }
  .auth__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 26px; min-height: auto; gap: 16px; }
  .auth__claim { margin: 22px 0 0; }
  .auth__claim h2 { font-size: 24px; }
  .auth__list { display: none; }
  .auth__main { padding: 34px 22px 48px; }
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: fixed;
    left: 0; top: 0;
    width: 264px;
    transform: translateX(-102%);
    transition: transform .26s var(--ease);
    border-right: 1px solid var(--line-2);
    background: #080d14;
    z-index: 80;
  }
  .rail.open { transform: none; }
  .rail-toggle { display: inline-flex; }
  .rail-mask { position: fixed; inset: 0; background: rgba(3, 6, 10, .68); z-index: 79; }
  .rail-mask.show { display: block; }
  .console__bar { padding: 0 18px; }
  .console__body { padding: 20px 18px 34px; }
  .doc-title { align-items: flex-start; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .rack { grid-template-columns: 1fr; }
  .deck__bar { height: 40px; padding: 0 15px; gap: 9px; font-size: 10px; }
  .deck__body { padding: 28px 20px 26px; gap: 26px; }
  .deck h1 { font-size: 31px; }
  .deck__sub { margin-top: 16px; font-size: 13.5px; }
  .deck__cta { margin-top: 26px; }
  .deck__cta .btn { height: 44px; flex: 1 1 44%; padding: 0 12px; font-size: 13.5px; }
  .deck__note { font-size: 10.5px; }
  .deck__facts > div { padding: 10px 0; }
  .deck__facts span { font-size: 13px; }
  .deck__strip > div { padding: 14px 18px 16px; }
  .deck__strip pre { font-size: 11px; line-height: 1.85; }
  .deck-gauge { grid-template-columns: repeat(2, 1fr); }
  .deck-gauge > div { padding: 14px 0 15px 18px; }
  .deck-gauge > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .deck-gauge > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .deck-gauge b { font-size: 20px; }
  .shelf { padding: 38px 0 52px; }
  .shelf__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer { padding-top: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; padding-bottom: 26px; }
  .footer__grid > .footer__about { grid-column: 1 / -1; }
  .footer__grid > .footer__qr { grid-column: 1 / -1; }
  .qr__zoom { opacity: 1; transform: none; width: 22px; height: 22px; }
  .qr__zoom svg { width: 12px; height: 12px; }
  .qrl { padding: 18px; }
  .qrl__card { width: 100%; padding: 24px 20px 18px; }
  .qrl__x { width: 36px; height: 36px; right: 10px; top: 10px; }
  .qrl__x svg { width: 15px; height: 15px; }
  .qrl__title { font-size: 16.5px; }
  .qrl__frame { width: min(232px, 64vw); margin-top: 16px; }
  .qrl__esc { display: none; }
  .slot__desc { -webkit-line-clamp: 3; min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat__v { font-size: 20px; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .kv__k { padding: 10px 0 0; border-bottom: 0; font-size: 12px; }
  .kv__v { padding: 4px 0 11px; border-bottom: 1px solid rgba(132, 168, 214, .08); }
  .doc-title { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pl { flex-wrap: wrap; }
  .pl input.k { flex: 1 1 40%; }
  .pl input.v { flex: 1 1 40%; }
  .pagehead { flex-direction: column; align-items: flex-start; }
  .console__body { padding: 18px 14px 30px; }
  .card__bd { padding: 14px; }
  .embed { padding: 14px; }
  .plan span { padding: 10px 6px; }

  /* 表格转卡片 */
  .tbl--params thead { display: none; }
  .tbl--params, .tbl--params tbody, .tbl--params tr, .tbl--params td { display: block; width: 100%; min-width: 0; }
  .tbl--params { min-width: 0; font-size: 12.5px; }
  .tbl--params tr { padding: 11px 14px; border-bottom: 1px solid var(--line); }
  .tbl--params tr:last-child { border-bottom: 0; }
  .tbl--params td { padding: 3px 0; border: 0; }
  .tbl--params td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .04em;
    color: var(--txt-3);
  }
  .tbl--params td code { word-break: break-all; }

  .ct--stack thead { display: none; }
  .ct--stack, .ct--stack tbody, .ct--stack tr, .ct--stack td { display: block; width: 100%; }
  .ct--stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ct--stack tr:last-child { border-bottom: 0; }
  .ct--stack tr td + td { margin-top: 6px; }
  .ct--stack td { display: block; padding: 4px 0; border: 0; }
  .ct--stack td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .04em;
    color: var(--txt-3);
    margin-bottom: 1px;
  }
  .ct--stack td:empty { display: none; }
  .ct--stack td .acts { gap: 10px; }
  .ct--stack td.ct__full::before { content: attr(data-label); }
  .ct--stack .key { max-width: 100%; }
  .ct--stack tr:hover td { background: transparent; }
}

@media (max-width: 400px) {
  .brand { font-size: 15px; }
  .deck h1 { font-size: 27px; }
  .qr { width: 78px; }
  .qr img { width: 78px; height: 78px; }
  .field--code { grid-template-columns: 1fr 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .slot:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   大屏自适应：逐档放大容器与字号，避免高分辨率下内容缩在中间
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .wrap { max-width: 1320px; }
  .deck-hero { padding: 50px 0 0; }
  .deck__body { gap: 72px; padding: 58px 62px 52px; }
  .deck h1 { font-size: 58px; }
  .deck__sub { font-size: 15.5px; max-width: 31em; }
  .deck__facts > div { padding: 14px 0; }
  .deck__facts span { font-size: 14.5px; }
  .deck__find { height: 52px; }
  .deck__find input { font-size: 14px; }
  .deck__strip > div { padding: 18px 28px 20px; }
  .deck__strip pre { font-size: 12.5px; }
  .deck-gauge > div { padding: 18px 0 20px 26px; }
  .deck-gauge b { font-size: 26px; }
  .deck-gauge span { font-size: 11px; }
  .shelf { padding: 66px 0 88px; }
  .shelf__head h2 { font-size: 26px; }
  .shelf__head p { font-size: 14px; }
  .slot { min-height: 196px; padding: 20px 20px 16px; }
  .slot h3 { font-size: 17px; }
  .slot__desc { font-size: 13.5px; min-height: 44px; }
  .slot__foot { font-size: 12px; }

  .doc-head { padding-top: 44px; }
  .doc-title h1 { font-size: clamp(30px, 2.2vw, 40px); }
  .doc-title p { font-size: 15px; }
  .tab { padding: 13px 22px; font-size: 14.5px; }
  .doc-body { padding: 32px 0 80px; }
  .panel-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; }
  .panel-grid > .panel { align-self: start; }
  .panel__hd { padding: 15px 22px; }
  .panel__hd b { font-size: 14.5px; }
  .panel__hd .mono { font-size: 11.5px; }
  .panel__bd { padding: 22px; }
  .kv { grid-template-columns: 152px 1fr; gap: 2px 22px; }
  .kv__k, .kv__v { padding: 12px 0; font-size: 14px; }
  .tbl { font-size: 14px; }
  .tbl th { font-size: 12px; padding: 11px 20px; }
  .tbl td { padding: 12px 20px; }
  .tbl code { font-size: 13px; }
  .code { font-size: 13px; padding: 18px 20px; }
}

@media (min-width: 1680px) {
  .wrap { max-width: 1440px; }
  .deck-hero { padding: 58px 0 0; }
  .deck__body { gap: 84px; padding: 66px 72px 58px; }
  .deck h1 { font-size: 66px; }
  .deck__sub { font-size: 16.5px; }
  .deck__bar { height: 48px; font-size: 11.5px; }
  .deck__strip pre { font-size: 13px; }
  .deck-gauge b { font-size: 29px; }
  .deck-gauge span { font-size: 11.5px; }
  .slot { min-height: 204px; }
  .panel-grid { gap: 22px; }
}

@media (min-width: 1920px) {
  .wrap { max-width: 1590px; }
  .deck-hero { padding: 64px 0 0; }
  .deck__body { gap: 96px; padding: 70px 84px 58px; }
  .deck h1 { font-size: 76px; }
  .deck__sub { font-size: 17.5px; }
  .deck__facts span { font-size: 15.5px; }
  .deck__find { height: 56px; }
  .deck-gauge b { font-size: 32px; }
  .deck-gauge span { font-size: 12px; }
  .doc-title h1 { font-size: 44px; }
  .doc-title p { font-size: 16px; }
  .panel__bd { padding: 26px; }
  .kv { grid-template-columns: 172px 1fr; }
  .kv__k, .kv__v { font-size: 14.5px; }
  .tbl { font-size: 14.5px; }
  .tbl td { padding: 13px 22px; }
}

@media (min-width: 2400px) {
  .wrap { max-width: 1760px; }
  .deck__body { gap: 110px; padding: 78px 96px 64px; }
  .deck__aside { justify-content: center; gap: 56px; }
  .deck h1 { font-size: 86px; }
  .deck__sub { font-size: 18.5px; }
  .deck__strip pre { font-size: 13.5px; }
  .deck-gauge b { font-size: 36px; }
  .panel__bd { padding: 30px; }
}

@media (min-width: 2880px) {
  .wrap { max-width: 1960px; }
  .deck-hero { padding: 84px 0 0; }
  .deck__body { gap: 128px; padding: 94px 112px 78px; }
  .deck h1 { font-size: 96px; }
  .deck__sub { font-size: 19px; }
  .deck__facts span { font-size: 16.5px; }
  .deck__find { height: 62px; }
  .deck__find input { font-size: 15px; }
  .deck__strip > div { padding: 22px 36px 24px; }
  .deck__strip pre { font-size: 14px; }
  .deck-gauge > div { padding: 22px 0 24px 30px; }
  .deck-gauge b { font-size: 40px; }
  .deck-gauge span { font-size: 12.5px; }
  .shelf { padding: 92px 0 118px; }
  .slot { min-height: 232px; }
}

@media (min-width: 1680px) {
  .auth .input { height: 48px; font-size: 14.5px; }
  .auth .field--code { grid-template-columns: 1fr 132px; }
  .auth .field--code .captcha,
  .auth .field--code .send { height: 48px; }
  .auth .btn--block { height: 48px; font-size: 15px; }
  .auth__box h1 { font-size: 26px; }
  .auth__box .lead { font-size: 13.5px; }
  .auth .form { gap: 18px; }
  .brief__hd { font-size: 11.5px; }
  .brief__steps li { font-size: 13.5px; }
  .brief__steps b { font-size: 14px; }
  .brief__code pre { font-size: 12.5px; }
  .auth__claim { max-width: 25em; }
  .auth__claim h2 { font-size: clamp(32px, 1.9vw, 44px); }
  .auth__claim p { font-size: 15px; }
  .auth__list li { font-size: 13.5px; }
}
