:root {
  --bg: #0b1020;
  --bg-elev: #12182b;
  --bg-soft: #181f36;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8edf7;
  --muted: #93a0b8;
  --accent: #7c9cff;
  --accent-2: #5eead4;
  --get: #34d399;
  --post: #60a5fa;
  --cb: #c084fc;
  --danger: #fb7185;
  --ok: #4ade80;
  --radius: 16px;
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(42rem 28rem at 12% -8%, rgba(124, 156, 255, 0.16), transparent 55%),
    radial-gradient(36rem 24rem at 100% 8%, rgba(94, 234, 212, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
}

code, pre { font-family: var(--mono); font-size: 0.84rem; }

/* Login */
.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1rem 7.5rem;
  overflow-x: hidden;
  position: relative;
}
.auth-orbit {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40rem 28rem at 20% 10%, rgba(124, 156, 255, 0.22), transparent 55%),
    radial-gradient(32rem 24rem at 90% 80%, rgba(94, 234, 212, 0.14), transparent 50%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: min(26rem, 100%);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem 1.75rem 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.auth-lang-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 2;
  width: min(42rem, calc(100% - 2rem));
  margin: 0;
  padding: 0.75rem 0.85rem 0.85rem;
  border: 1px solid rgba(124, 156, 255, 0.28);
  border-radius: 16px;
  background: rgba(12, 18, 34, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}
.auth-lang-label {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9db4ff;
}
.auth-lang-bar .lang-switch {
  justify-content: center;
}
.auth-logo-wrap {
  display: flex;
  align-items: center;
  height: 32px;
  max-width: 140px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.auth-logo {
  display: block;
  height: 32px;
  max-height: 32px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.auth-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1020;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.auth-card h1 { margin: 0 0 0.4rem; font-size: 1.55rem; letter-spacing: -0.03em; }
.auth-lead, .auth-foot { color: var(--muted); margin: 0 0 1.2rem; line-height: 1.5; }
.auth-foot { margin: 1.1rem 0 0; font-size: 0.82rem; }
.auth-alert {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.28);
  color: #fecdd3;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.fld { display: block; margin-bottom: 0.85rem; }
.fld span { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.35rem; font-weight: 600; }
.fld input {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1324;
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  outline: none;
}
.fld input:focus { border-color: rgba(124, 156, 255, 0.6); box-shadow: 0 0 0 3px rgba(124, 156, 255, 0.15); }
.btn-primary {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 0.8rem 1rem;
  font-weight: 650;
  cursor: pointer;
  color: #081018;
  background: linear-gradient(135deg, var(--accent), #9db4ff);
}
.btn-primary:hover { filter: brightness(1.06); }

/* Docs shell */
.docs-body {
  display: grid;
  grid-template-columns: 20.5rem minmax(0, 1fr);
  min-height: 100vh;
  max-width: 100%;
}
.docs-nav {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  border-right: 1px solid var(--line);
  background: #0c1222;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.85rem;
  overflow: hidden;
}
.docs-brand { display: flex; gap: 0.7rem; align-items: center; padding: 0.2rem 0.4rem 1rem; min-width: 0; }
.docs-brand-logo-wrap {
  flex: 0 0 auto;
  width: 36px;
  height: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}
.docs-brand-logo {
  display: block;
  max-width: 36px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.docs-brand-mark {
  width: 2.1rem; height: 2.1rem; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1020; font-weight: 800; font-size: 0.78rem;
}
.docs-brand strong { display: block; font-size: 0.92rem; }
.docs-brand small { color: var(--muted); }

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.lang-switch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.32rem 0.5rem;
  margin: 0;
  line-height: 1;
  background: rgba(255,255,255,0.03);
}
.lang-flag {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
  flex: 0 0 auto;
}
.lang-code { display: block; font-size: 0.68rem; }
.lang-name { display: none; font-weight: 650; color: inherit; }
.lang-switch-item:hover { color: var(--text); border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.06); }
.lang-switch-item.is-active {
  color: #0b1020;
  background: var(--accent);
  border-color: transparent;
}
.lang-switch-item.is-active .lang-name { color: #0b1020; }
.lang-switch-bar .lang-switch-item {
  padding: 0.42rem 0.7rem;
  gap: 0.45rem;
}
.lang-switch-bar .lang-flag { width: 28px; height: 20px; }
.lang-switch-bar .lang-code { font-size: 0.74rem; }
.lang-switch-bar .lang-name { display: block; font-size: 0.78rem; }
.lang-switch-compact .lang-flag { width: 20px; height: 14px; }
.lang-switch-compact .lang-name { display: none; }

.docs-search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.8rem;
}
.docs-nav nav {
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1;
  padding-right: 0.2rem;
  min-width: 0;
}
.nav-pip {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--muted);
}
.pip-intro { background: #5eead4; }
.pip-guide { background: #60a5fa; }
.pip-wl { background: #fbbf24; }
.nav-group { margin: 0.95rem 0; padding-top: 0.45rem; border-top: 1px solid var(--line); min-width: 0; }
.nav-group-title {
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.15rem 0.45rem 0.4rem;
  color: var(--tone, var(--muted));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-group.tone-teal { --tone: #5eead4; }
.nav-group.tone-blue { --tone: #7c9cff; }
.nav-group.tone-cyan { --tone: #67e8f9; }
.nav-group.tone-amber { --tone: #fbbf24; }
.nav-group.tone-violet { --tone: #c084fc; }
.nav-group.tone-gold { --tone: #fcd34d; }
.nav-group.tone-orange { --tone: #fb923c; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
  font-size: 0.82rem;
}
.nav-link:hover, .nav-link.is-active { background: var(--bg-soft); }
.nav-link.is-active { box-shadow: inset 3px 0 0 var(--accent); }
.nav-path {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.docs-nav-foot {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  min-width: 0;
}
.docs-nav-foot .lang-switch { justify-content: flex-start; }
.docs-nav-foot > a { color: var(--muted); font-size: 0.85rem; }
.nav-demo {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 0;
  padding: 0.08rem 0.32rem;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-demo { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }

.docs-main { padding: 1.25rem 1.4rem 4rem; max-width: none; min-width: 0; }
.docs-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(124, 156, 255, 0.1), rgba(94, 234, 212, 0.06));
}
.docs-top-url { min-width: 0; flex: 1 1 14rem; }
.docs-top .lang-switch { flex: 0 1 auto; justify-content: flex-end; }
.eyebrow { font-size: 0.72rem; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; font-weight: 700; }
.base-url { font-size: 0.92rem; color: #dbe4ff; }
.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  cursor: pointer;
  margin-left: 0.4rem;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

.panel {
  --tone: var(--accent);
  margin-top: 1.6rem;
  padding: 0 0 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 18, 34, 0.55);
  box-shadow: inset 6px 0 0 var(--tone);
  overflow: visible;
}
.panel.tone-intro { --tone: #5eead4; }
.panel.tone-guide { --tone: #60a5fa; }
.panel.tone-wl { --tone: #fbbf24; }
.panel.tone-teal { --tone: #2dd4bf; }
.panel.tone-blue { --tone: #7c9cff; }
.panel.tone-cyan { --tone: #22d3ee; }
.panel.tone-amber { --tone: #fbbf24; }
.panel.tone-violet { --tone: #c084fc; }
.panel.tone-gold { --tone: #fbbf24; }
.panel.tone-orange { --tone: #fb923c; }

.panel.tone-intro .sec-head { background: rgba(94, 234, 212, 0.16); }
.panel.tone-guide .sec-head { background: rgba(96, 165, 250, 0.18); }
.panel.tone-wl .sec-head { background: rgba(251, 191, 36, 0.16); }
.panel.tone-teal .sec-head { background: rgba(45, 212, 191, 0.16); }
.panel.tone-blue .sec-head { background: rgba(124, 156, 255, 0.18); }
.panel.tone-cyan .sec-head { background: rgba(34, 211, 238, 0.16); }
.panel.tone-amber .sec-head { background: rgba(251, 191, 36, 0.16); }
.panel.tone-violet .sec-head { background: rgba(192, 132, 252, 0.18); }
.panel.tone-gold .sec-head { background: rgba(252, 211, 77, 0.16); }
.panel.tone-orange .sec-head { background: rgba(251, 146, 60, 0.16); }

.sec-head {
  display: block;
  padding: 1rem 1.2rem 0.95rem 1.35rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  position: relative;
}
.sec-head::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.75rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--tone), transparent 80%);
}
.sec-head h1, .sec-head h2 {
  margin: 0;
  letter-spacing: -0.03em;
  color: #f4f7ff;
}
.sec-head h1 { font-size: 1.55rem; }
.sec-head h2 { font-size: 1.22rem; }
.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tone);
  margin: 0 0 0.35rem;
  font-weight: 700;
}
.lead { color: var(--text); font-size: 1.02rem; line-height: 1.6; margin: 0 1.2rem 1rem; }
.intro-contact { margin: 1rem 1.2rem 0; }
.docs-section > .prose,
.docs-group > .prose,
.docs-section > .callout,
.whitelist-section > .prose,
.whitelist-section > .wl-flash,
.whitelist-section > .wl-add,
.whitelist-section > .wl-mine,
.whitelist-section > .wl-empty,
.whitelist-section > .wl-list,
.whitelist-section > .wl-contact {
  margin-left: 1.2rem;
  margin-right: 1.2rem;
}
.prose { color: var(--muted); line-height: 1.65; }
.prose a, .callout a { color: #c7d4ff; }
.prose code { color: #dbe4ff; }
.callout {
  margin-top: 0.4rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(124, 156, 255, 0.08);
  border: 1px solid rgba(124, 156, 255, 0.18);
}
.callout p { margin: 0.4rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.callout-demo {
  margin: 0 0 1rem;
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.28);
  color: #fde68a;
}
.guide-section { margin-top: 1.6rem; }
.guide-grid, .guide-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 1.2rem 0.85rem;
}
.guide-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid #60a5fa;
}
.guide-card:nth-child(2) { border-left-color: #34d399; }
.guide-card:nth-child(3) { border-left-color: #c084fc; }
.guide-card:nth-child(4) { border-left-color: #fbbf24; }
.guide-card:nth-child(5) { border-left-color: #fb7185; }
.guide-card-note { border-left-color: #5eead4; }
.guide-num {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #081018;
  background: #60a5fa;
}
.guide-card:nth-child(2) .guide-num { background: #34d399; }
.guide-card:nth-child(3) .guide-num { background: #c084fc; }
.guide-card:nth-child(4) .guide-num { background: #fbbf24; }
.guide-card:nth-child(5) .guide-num { background: #fb7185; }
.guide-card h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.guide-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.9rem; }

.docs-group { margin-top: 1.6rem; padding-bottom: 0.4rem; overflow: visible; min-width: 0; }
.docs-group > .prose { margin-bottom: 0.4rem; }

.ep {
  margin: 0.9rem 1.1rem 1.15rem;
  padding: 1.05rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(8, 13, 26, 0.35));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  min-width: 0;
}
.ep.is-hidden { display: none; }
.ep-head { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.ep-head h3 { margin: 0; font-size: 1.12rem; }
.ep-demo { border-color: rgba(251, 191, 36, 0.35); }
.pill-demo { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.ep-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-width: 0;
}
.ep-docs, .ep-code { min-width: 0; }
.ep-code {
  position: sticky;
  top: 0.75rem;
  align-self: start;
}
.ep-code-inner {
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.15rem 0.2rem 0.4rem 0;
}
.ep-code .subhead { margin-top: 0.35rem; }
.ep-code .resp-hint { margin: 0 0 0.35rem; }
.ep-code .table-wrap { margin: 0 0.55rem 0.65rem; }
.code-resp {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #080d1a;
  overflow: hidden;
}
.code-resp summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.code-resp summary::-webkit-details-marker { display: none; }
.code-resp.st-ok { border-left: 3px solid #4ade80; }
.code-resp.st-wait { border-left: 3px solid #fbbf24; }
.code-resp.st-warn { border-left: 3px solid #fb923c; }
.code-resp.st-err { border-left: 3px solid #fb7185; }
.code-resp .status { font-family: var(--mono); font-weight: 700; min-width: 2.6rem; }
.code-resp.st-ok .status { color: #4ade80; }
.code-resp.st-wait .status { color: #fbbf24; }
.code-resp.st-warn .status { color: #fb923c; }
.code-resp.st-err .status { color: #fb7185; }
.ep-path {
  margin: 0 0 1rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: #080d1a;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
.ep-path code {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ep h4, .subhead {
  margin: 1.35rem 0 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 750;
  padding: 0.35rem 0.55rem 0.35rem 0.7rem;
  border-radius: 8px;
}
.sub-req {
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.12);
  border-left: 3px solid #60a5fa;
}
.sub-resp {
  color: #99f6e4;
  background: rgba(94, 234, 212, 0.1);
  border-left: 3px solid #5eead4;
}

.mth {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 0.14rem 0.35rem;
  min-width: 2.5rem;
  text-align: center;
}
.mth-lg { font-size: 0.72rem; padding: 0.22rem 0.45rem; }
.mth-get { background: rgba(52, 211, 153, 0.15); color: var(--get); }
.mth-post { background: rgba(96, 165, 250, 0.16); color: var(--post); }

.table-wrap { overflow: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; table-layout: fixed; }
th, td { text-align: left; padding: 0.62rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; word-break: break-word; }
th { color: var(--muted); font-size: 0.75rem; font-weight: 600; background: rgba(255,255,255,0.02); }
table th:nth-child(1), table td:nth-child(1) { width: 22%; }
table th:nth-child(2), table td:nth-child(2) { width: 14%; }
table th:nth-child(3), table td:nth-child(3) { width: 22%; }
tr:last-child td { border-bottom: 0; }
.ex { margin-top: 0.28rem; color: var(--muted); font-size: 0.8rem; overflow-wrap: anywhere; }
.ex code { word-break: break-word; overflow-wrap: anywhere; }
.pill { font-size: 0.68rem; font-weight: 700; border-radius: 999px; padding: 0.12rem 0.45rem; display: inline-block; margin: 0.08rem 0.12rem 0.08rem 0; white-space: nowrap; }
.pill-req { background: rgba(251, 113, 133, 0.14); color: #fda4af; }
.pill-opt { background: rgba(52, 211, 153, 0.12); color: #86efac; }

.code-block {
  margin-top: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #080d1a;
}
.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.7rem;
  color: var(--muted);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--line);
}
pre { margin: 0; padding: 0.85rem 0.95rem; overflow: auto; }
pre code { color: #d7e3ff; }
.hljs {
  background: transparent !important;
  padding: 0 !important;
  color: #e6edf7;
}
.hljs-attr { color: #7dd3fc; }
.hljs-string { color: #86efac; }
.hljs-number { color: #fcd34d; }
.hljs-literal { color: #c4b5fd; }
.hljs-punctuation { color: #94a3b8; }

.resp-hint {
  margin: 0 0 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px dashed rgba(94, 234, 212, 0.28);
  color: #99f6e4;
  font-size: 0.86rem;
}
.resp { border: 1px solid var(--line); border-radius: 11px; margin-bottom: 0.55rem; background: var(--bg-elev); }
.resp.st-ok { border-left: 3px solid #4ade80; }
.resp.st-wait { border-left: 3px solid #fbbf24; }
.resp.st-warn { border-left: 3px solid #fb923c; }
.resp.st-err { border-left: 3px solid #fb7185; }
.resp summary {
  cursor: pointer;
  padding: 0.7rem 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  list-style: none;
}
.resp summary::-webkit-details-marker { display: none; }
.resp-sum-text { color: var(--muted); font-size: 0.88rem; flex: 1 1 8rem; min-width: 0; overflow-wrap: anywhere; }
.resp-open-hint {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--accent-2);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.resp[open] .resp-open-hint { visibility: hidden; }
.resp .status {
  font-family: var(--mono);
  font-size: 0.75rem;
  min-width: 4.2rem;
  font-weight: 700;
}
.resp.st-ok .status { color: #4ade80; }
.resp.st-wait .status { color: #fbbf24; }
.resp.st-warn .status { color: #fb923c; }
.resp.st-err .status { color: #fb7185; }
.resp .table-wrap, .resp .code-block { margin: 0 0.7rem 0.75rem; }

.whitelist-section { margin-top: 1.6rem; }
.wl-flash {
  margin: 0.9rem 1.2rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
}
.wl-flash-ok {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #bbf7d0;
}
.wl-flash-err {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.28);
  color: #fecdd3;
}
.wl-add {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.7rem;
  margin: 1rem 0 0.6rem;
}
.wl-fld { flex: 1 1 14rem; margin-bottom: 0; }
.wl-add-btn { width: auto; min-width: 6.5rem; padding: 0.7rem 1.1rem; }
.wl-mine { color: var(--muted); font-size: 0.86rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.wl-empty { margin-top: 0.8rem; }
.wl-contact { margin-top: 0.55rem; color: #fde68a; }
.wl-list { list-style: none; margin: 0.9rem 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.wl-list li {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.wl-list li:last-child { border-bottom: 0; }
.wl-list code { font-size: 0.9rem; }

@media (max-width: 1100px) {
  .ep-split { grid-template-columns: 1fr; }
  .ep-code { position: static; }
  .docs-top .lang-switch-bar .lang-name { display: none; }
}
@media (max-width: 900px) {
  .docs-body { grid-template-columns: 1fr; }
  .docs-nav { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .docs-nav nav { max-height: 16rem; }
  .docs-main { padding: 1rem; }
  .guide-grid, .guide-notes { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .auth-lang-bar .lang-name { display: none; }
}
