@import url("./workspace.css");
@font-face {
  font-family: Inter;
  src: url("./inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #162f51;
  --dark: #152f52;
  --accent: #245fcf;
  --accent-dark: #174baf;
  --highlight: #70b5ff;
  --soft: #edf5ff;
  --muted: #51677d;
  --line: #d9e5f1;
  --bg: #f5f8fc;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button {
  border: 0;
  background: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #2b61ad;
  outline-offset: 3px;
}
input,
select,
textarea {
  min-width: 0;
  border: 1px solid #c8d1da;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  line-height: 1.5;
  width: 100%;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #6a7687;
}
select {
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, #4c596c 50%),
    linear-gradient(135deg, #4c596c 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 13px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
strong {
  line-height: 1.3;
}
h1,
h2,
h3 {
  font-weight: 750;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}
h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}
h3 {
  font-size: 1.26rem;
}
p {
  color: var(--muted);
}
code,
pre,
kbd,
.mono {
  font-family: var(--mono);
}
pre {
  margin: 0;
  white-space: pre;
  overflow: auto;
  tab-size: 2;
}
code {
  font-size: 0.92em;
}
summary {
  cursor: pointer;
}
small {
  font-size: 0.82rem;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, 89%);
  margin-inline: auto;
}
.section {
  padding-block: 66px 88px;
}
.narrow {
  width: min(580px, 90%);
  margin: auto;
}
.narrow p {
  margin: 18px 0;
}
.boot {
  padding: 7vw;
  font-size: 1.2rem;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  left: 15px;
  top: 10px;
  background: #fff;
  padding: 8px;
  z-index: 30;
}
.mobile-only {
  display: none !important;
}
.muted-text {
  color: var(--muted);
}
.textlink,
.linkbtn {
  color: var(--accent);
  font-weight: 620;
}
.textlink:hover,
.linkbtn:hover {
  text-decoration: underline;
}
.linkbtn {
  padding: 3px;
  font-size: 0.9rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 43px;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  color: #fff;
}
.btn.primary:hover {
  background: var(--accent-dark);
}
.btn.mint,
.dark .btn.primary {
  background: var(--highlight);
  color: #0f1c2f;
}
.btn.mint:hover,
.dark .btn.primary:hover {
  background: #bcddff;
}
.btn.ghost,
.btn.light {
  border-color: var(--line);
  background: #fff;
  color: #212e41;
}
.btn.ghost:hover,
.btn.light:hover {
  border-color: #8ba1b8;
  background: #f5f8fa;
}
.btn.outline-dark {
  color: #eaf2f9;
  border-color: #455366;
  background: rgba(19, 52, 40, 0.6);
}
.btn.outline-dark:hover {
  background: #213046;
}
.btn.danger {
  background: #ab4039;
  color: #fff;
}
.actions,
.inline-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.iconbtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  flex-shrink: 0;
  color: inherit;
}
.iconbtn:hover {
  background: #869db41d;
}
.iconbtn i {
  font-size: 1.12rem;
}
.section-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-head p,
.panel-head p {
  margin-top: 7px;
}
.small-tag,
.status {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: nowrap;
}
.small-tag,
.status.muted {
  color: #535e6e;
  background: #eff2f5;
}
.status.ok {
  color: #0c6544;
  background: #e5f6e9;
}
.site-header {
  height: 74px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.site-header.dark {
  color: #f2f6fa;
  background: #08101c;
  border-color: #ffffff18;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 52px;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.brand-api {
  font-weight: 490;
  letter-spacing: -0.075em;
}
.brand-symbol {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
  transform: rotate(-4deg);
}
.brand-symbol b {
  display: block;
  width: 6px;
  background: #0b3f87;
  transform: skew(-24deg);
  border-radius: 2px;
}
.brand-symbol b:first-child {
  height: 16px;
  align-self: flex-end;
  margin-bottom: 4px;
}
.brand-symbol b:nth-child(2) {
  height: 26px;
}
.brand-symbol b:nth-child(3) {
  height: 17px;
  align-self: flex-start;
  margin-top: 3px;
}
.dark .brand-symbol b,
.auth-art .brand-symbol b {
  background: var(--highlight);
}
.top-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.top-links a,
.login-link {
  font-size: 0.94rem;
  font-weight: 550;
}
.dark .top-links a {
  color: #bfcad4;
}
.top-links a:hover,
.top-links a.current,
.login-link:hover {
  color: var(--accent);
}
.dark .top-links a:hover,
.dark .login-link:hover {
  color: var(--highlight);
}
.nav-actions {
  margin-left: auto;
  gap: 22px;
}
.nav-actions .btn {
  min-height: 38px;
  padding: 7px 17px;
}
.site-header #mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: white;
  color: var(--ink);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 24px #0f1a2a14;
}
.site-header #mobile-nav a {
  display: block;
  padding: 9px;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  background: #edf6ff;
  color: #132d52;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: -2;
  background-image:
    linear-gradient(
      90deg,
      #edf6ff 0%,
      rgba(237, 246, 255, 0.83) 10%,
      rgba(237, 246, 255, 0.15) 29%,
      transparent 51%
    ),
    url("./data-wave.webp");
  background-size: cover;
  background-position:
    center,
    53% 52%;
  background-repeat: no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0%, #000 17%, transparent 58%);
  background-image:
    linear-gradient(#71a7dd15 1px, transparent 1px),
    linear-gradient(90deg, #71a7dd15 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-inner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding-block: 52px 58px;
}
.hero-copy {
  max-width: 625px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #215ba8;
  border: 1px solid #b8d6f4;
  background: #ffffffbf;
  border-radius: 50px;
  padding: 5px 13px;
  font-size: 0.85rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero-tag i {
  font-size: 0.9rem;
}
.hero h1 {
  font-size: clamp(3.3rem, 5.2vw, 5.05rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.13;
}
.hero h1 em {
  font-style: normal;
  color: #2464d1;
}
.hero p {
  color: #435f7c;
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.75;
  margin: 19px 0 27px;
}
.hero .btn {
  padding: 12px 20px;
  min-height: 46px;
}
.art-caption {
  position: absolute;
  right: 1%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 13px;
  color: #22476d;
  border: 1px solid #bed8ee;
  background: #ffffffce;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px #1c5d9b15;
  border-radius: 8px;
  font: 0.84rem var(--mono);
}
.art-caption > i {
  font-size: 0.95rem;
  color: #4976aa;
}
.method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #093066;
  background: #e3ecf6;
  border-radius: 5px;
  padding: 4px 8px;
  line-height: 1.3;
}
.method.hero-method {
  color: #1c58ab;
  background: #dcedff;
}
.fact-band {
  background: #f5faff;
  border-block: 1px solid #d7e6f5;
}
.facts {
  display: flex;
  min-height: 62px;
  align-items: center;
}
.facts > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: 34px;
  padding-right: 35px;
  position: relative;
}
.facts > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: #cbd6e0;
}
.facts i {
  color: #3e5c87;
  font-size: 1.1rem;
  margin-right: 2px;
}
.facts span {
  font-size: 0.87rem;
  color: #455264;
}
.facts strong {
  font-size: 1.08rem;
}
.catalog-section {
  padding-block: 48px 62px;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}
.section-head p {
  font-size: 0.98rem;
}
.searchbar {
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid #d1d9e1;
  border-radius: 9px;
  padding: 0 12px;
  background: #fff;
  min-width: 220px;
}
.searchbar i {
  color: #5e6b7e;
}
.searchbar input {
  border: 0;
  outline: none !important;
  background: none;
  min-width: 0;
  padding: 10px 0;
  font-size: 0.91rem;
}
.searchbar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px #2a528a20;
}
.searchbar kbd {
  font-size: 0.78rem;
  border: 1px solid #d7dde3;
  border-radius: 4px;
  padding: 0 6px;
  color: #6a7687;
}
.pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 24px 0 19px;
}
.pill {
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 6px 15px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4e5b6d;
  background: #f2f4f7;
  font-weight: 550;
}
.pill.active {
  color: #fff;
  background: #245fcf;
}
.pill:not(.active):hover {
  background: #e5ebf0;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.platform-grid > .empty {
  grid-column: 1/-1;
}
.platform-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 21px 13px;
  border: 1px solid #d8dfe6;
  border-radius: 13px;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.platform-card:hover {
  border-color: #829cb6;
  box-shadow: 0 7px 20px #18283e0d;
  transform: translateY(-2px);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}
.platform-icon.rednote {
  background: #ff3454;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: -0.085em;
}
.platform-icon.douyin {
  background: #17191d;
  color: #fff;
  font-size: 2rem;
  text-shadow:
    -1.5px -1px #36d6e2,
    1.5px 1px #f7456e;
}
.platform-icon.bili {
  color: #fff;
  background: #22aada;
}
.platform-icon.weibo {
  color: #e32f37;
  background: #fff1d3;
}
.platform-icon.taobao {
  color: #fff;
  background: #ff6e22;
}
.platform-icon.jd {
  color: #e3323b;
  background: #ffebeb;
  font-weight: 760;
}
.platform-icon.wechat {
  color: #fff;
  background: #18a85d;
}
.platform-icon.tools {
  color: #315281;
  background: #e6ecf3;
}
.platform-icon.small {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.platform-icon.small.rednote {
  font-size: 0.52rem;
}
.platform-card h3 {
  margin: 0 0 6px;
}
.platform-card > p {
  font-size: 0.9rem;
  margin-bottom: 17px;
  line-height: 1.6;
}
.card-bottom {
  border-top: 1px solid #e9edf1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.81rem;
  color: #5c697a;
}
.card-bottom i {
  color: #667790;
}
.view-doc {
  margin-left: auto;
  color: #435c7f;
}
.start-section {
  border-top: 1px solid var(--line);
  background: #f3f5f8;
  padding: 54px 0 63px;
}
.start-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 65px;
}
.start-grid > div > p {
  margin-top: 13px;
}
.steps {
  padding-left: 23px;
  margin: 20px 0 25px;
}
.steps li {
  padding-left: 5px;
  margin: 10px 0;
}
.steps li::marker {
  color: var(--accent);
  font-weight: 700;
}
.steps p {
  margin: 5px 0;
}
.contact-footer { padding: 28px 0; border-bottom: 1px solid var(--line); }
.contact-inner, .contact-cards { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.contact-inner { justify-content: space-between; }
.contact-inner h2 { margin: 0 0 8px; font-size: 1.2rem; }
.contact-cards figure { margin: 0; text-align: center; }
.contact-cards img, .contact-preview { display: block; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: white; }
.contact-cards small, .contact-cards strong { display: block; max-width: 160px; overflow-wrap: anywhere; }
.contact-cards figcaption { margin-top: 6px; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  color: #4e5b6d;
}
.site-footer > .container,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer .brand {
  font-size: 1.35rem;
  color: var(--ink);
  gap: 5px;
}
.site-footer .brand-symbol {
  transform: scale(0.83);
}
.site-footer nav {
  margin-left: auto;
  font-size: 0.88rem;
}
.site-footer .container > span {
  font-size: 0.84rem;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 23px;
  background: #fff;
  min-width: 0;
}
.panel h2,
.panel-head h2 {
  font-size: 1.2rem;
  line-height: 1.5;
}
.panel-head {
  margin-bottom: 17px;
}
.panel-head p {
  font-size: 0.91rem;
}
.panel > h2 {
  margin-bottom: 13px;
}
.panel-head h2 small {
  margin-left: 8px;
  font-weight: 500;
}
.tablewrap {
  max-width: 100%;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}
th,
td {
  border-bottom: 1px solid #e4e9ed;
  padding: 12px 10px;
  vertical-align: middle;
}
th {
  font-size: 0.83rem;
  font-weight: 620;
  color: #5b6879;
  white-space: nowrap;
  background: #f4f6f8;
}
td small {
  display: block;
  margin-top: 3px;
}
td code {
  overflow-wrap: anywhere;
}
tr:last-child td {
  border-bottom: 0;
}
.empty {
  text-align: center;
  padding: 32px 14px;
  border-radius: 10px;
  color: #566376;
}
.empty > i {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 7px;
  color: #677fa1;
}
.empty strong {
  display: block;
  font-weight: 630;
}
.empty p {
  font-size: 0.9rem;
  margin-top: 6px;
}
.stack {
  display: grid;
  gap: 15px;
}
label:not(.searchbar) {
  display: grid;
  gap: 5px;
  font-size: 0.91rem;
  font-weight: 550;
}
label small {
  font-weight: 400;
}
.stack > .btn,
.calculator > .btn {
  justify-self: start;
}
.feedback {
  color: #a12f2a;
  font-size: 0.9rem;
}
.feedback:empty {
  display: none;
}
.notice {
  padding: 12px 15px;
  border: 1px solid #d8e0e7;
  background: #eff3f7;
  border-radius: 8px;
  font-size: 0.93rem;
  margin: 12px 0;
  color: #3c4b5f;
}
.lead,
.work-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
}
.docs-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
  min-height: 75vh;
}
.docs-side {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
  padding: 30px 16px 35px 0;
  border-right: 1px solid var(--line);
}
.docs-side > details > summary {
  font-weight: 700;
  margin-bottom: 15px;
}
.docs-side .searchbar {
  min-width: 0;
}
.doc-start {
  display: grid;
  gap: 2px;
  margin: 15px 0;
}
.doc-start a,
.tree-group > a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  font-size: 0.9rem;
  border-radius: 6px;
}
.doc-start a:hover,
.tree-group > a:hover,
.doc-start a.active,
.tree-group > a.active {
  background: #e8eef5;
  color: var(--accent);
}
.tree-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 3px;
}
.tree-group summary > i {
  margin-left: auto;
  font-size: 0.75rem;
}
.tree-group[open] summary > i {
  transform: rotate(180deg);
}
.tree-group > a {
  margin-left: 12px;
}
.verb {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
}
.doc-content {
  max-width: 850px;
  min-width: 0;
  padding: 40px 0 70px;
}
.crumb {
  font-size: 0.86rem;
  color: #5b697c;
  margin: 0 0 12px;
}
.doc-content h1,
.page-intro h1 {
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  margin: 8px 0 12px;
}
.doc-content h2 {
  font-size: 1.38rem;
  margin: 30px 0 13px;
}
.doc-content > p {
  margin-bottom: 15px;
}
.doc-content p code,
.steps code {
  background: #ecf0f4;
  border-radius: 4px;
  padding: 2px 5px;
}
.endpoint-line,
.token-line {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: #f5f7f9;
}
.endpoint-line > button,
.token-line > button:first-of-type {
  margin-left: auto;
}
.doc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.86rem;
  margin: 14px 0;
  color: #445266;
}
.doc-meta i {
  margin-right: 4px;
}
.codebox,
.plain-code {
  background: #112743;
  border: 1px solid #274261;
  color: #def0ff;
  border-radius: 10px;
  min-width: 0;
}
.codehead {
  border-bottom: 1px solid #2a384c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 0;
}
.code-tabs {
  display: flex;
  gap: 7px;
}
.code-tabs button {
  font-size: 0.8rem;
  color: #a1b0c0;
  padding: 8px 10px 9px;
  border-bottom: 2px solid transparent;
  font-family: var(--mono);
}
.code-tabs button.active {
  color: var(--highlight);
  border-bottom-color: var(--highlight);
}
.codebox pre,
.plain-code {
  padding: 19px 20px;
  font-size: 0.88rem;
  line-height: 1.7;
}
.codebox pre code {
  font-size: inherit;
}
.codehead .code-choice {
  margin: 0 4px 4px auto;
  width: auto;
  padding: 3px 5px;
  color: #e2edfa;
  background: #243d57;
  border: 1px solid #526881;
  border-radius: 5px;
  font: 0.8rem var(--mono);
}
.codehead .iconbtn {
  color: #c8d6e5;
}
.platform-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.endpoint-list {
  border-top: 1px solid var(--line);
  margin-top: 12px;
}
.endpoint-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 5px;
  border-bottom: 1px solid var(--line);
}
.endpoint-row:hover {
  background: #f3f6f9;
}
.endpoint-row code {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  font-size: 0.82rem;
}
.row-price {
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--accent);
}
.page-intro {
  margin-bottom: 28px;
}
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 22px;
  align-items: start;
}
.pricing-layout .tablewrap {
  margin-top: 15px;
}
.calculator {
  display: grid;
  gap: 15px;
  background: #f1f4f8;
  position: sticky;
  top: 18px;
}
.calculator h2 {
  margin: 0;
}
.panel-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #dbe6f0;
  color: #204476;
  font-size: 1.35rem;
}
.amount-result {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: grid;
}
.amount-result span {
  font-size: 0.84rem;
  color: var(--muted);
}
.amount-result strong {
  color: var(--accent);
  font-size: 2rem;
}
.admin-access {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at top, #e1f0ff, #f5f9fd 65%);
}
.admin-access-panel { width: min(100%, 410px); padding: clamp(24px, 5vw, 40px); }
.admin-access-panel h1 { margin: 10px 0 4px; font-size: 1.85rem; }
.admin-access-panel > .textlink { justify-self: start; }
.auth-layout {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 6vw, 90px);
  align-items: center;
  padding-block: 50px;
  max-width: 1070px;
}
.auth-art {
  background:
    linear-gradient(180deg, #f1f8ffd9, transparent 75%),
    url("./data-wave.webp") center/cover;
  border: 1px solid #d1e3f3;
  border-radius: 18px;
  min-height: 455px;
  align-self: stretch;
  color: #1a3e67;
  padding: 38px;
}
.auth-art h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-top: 42px;
  line-height: 1.2;
}
.auth-panel h1 {
  font-size: 2.1rem;
}
.auth-panel > p {
  margin: 12px 0 23px;
}
.auth-panel .btn {
  width: 100%;
  margin-top: 5px;
}
.signup-code { display: grid; gap: 7px; min-width: 0; }
.signup-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.signup-code-row input { min-width: 0; }
.auth-panel .signup-code-row .btn { width: auto; margin: 0; padding-inline: 14px; white-space: nowrap; }
.signup-code small { color: var(--muted); overflow-wrap: anywhere; }
.form-switch {
  text-align: center;
  font-size: 0.9rem;
}
.check {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 15px;
  font-size: 0.86rem;
}
.pager .btn {
  min-height: 34px;
  padding: 6px 10px;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 12px);
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 10px 18px;
  background: #14263f;
  color: #fff;
  border-radius: 9px;
  z-index: 50;
  transition: 0.15s;
}
#toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
dialog {
  width: min(490px, 92vw);
  max-height: 90vh;
  padding: 23px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 90px #0b17273a;
}
dialog::backdrop {
  background: #08111e80;
}
dialog > p {
  margin: 12px 0 18px;
}
.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.modal-top h2 {
  font-size: 1.3rem;
}
@media (max-width: 1050px) {
  .container {
    width: 91%;
  }
  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .docs-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
  }
  .hero-inner {
    min-height: 432px;
  }
  .nav-inner {
    gap: 30px;
  }
  .start-grid {
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .container {
    width: 91%;
  }
  .site-header {
    height: 60px;
  }
  .brand {
    font-size: 1.45rem;
  }
  .brand-symbol {
    transform: scale(0.9);
  }
  .top-links {
    display: none;
  }
  .nav-inner {
    gap: 8px;
  }
  .nav-actions {
    gap: 12px;
  }
  .mobile-only {
    display: inline-flex !important;
  }
  .nav-actions .btn {
    padding: 6px 12px;
    min-height: 35px;
  }
  .hero-inner {
    min-height: 392px;
    padding-block: 38px;
  }
  .hero-art {
    inset: 0 -18% 0 20%;
    opacity: 0.62;
    background-position:
      center,
      50% 50%;
  }
  .hero-copy {
    max-width: min(460px, 88%);
  }
  .hero h1 {
    font-size: clamp(2.85rem, 7.4vw, 3.9rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .art-caption {
    display: none;
  }
  .facts {
    justify-content: space-between;
    min-height: 53px;
  }
  .facts > div {
    margin: 0;
    padding: 0;
    gap: 4px;
  }
  .facts > div:not(:last-child)::after {
    display: none;
  }
  .facts i {
    font-size: 0.95rem;
  }
  .facts span {
    font-size: 0.76rem;
  }
  .facts strong {
    font-size: 0.94rem;
  }
  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .catalog-section {
    padding: 34px 0 42px;
  }
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .start-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }
  .calculator {
    position: static;
  }
  .start-section {
    padding: 35px 0;
  }
  .site-footer > .container {
    flex-wrap: wrap;
    gap: 9px 14px;
  }
  .site-footer nav {
    margin-left: 0;
    gap: 14px;
  }
  .docs-layout {
    display: block;
  }
  .docs-side {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    max-height: 40vh;
  }
  .docs-side > details > summary {
    margin: 0;
  }
  .docs-side > details[open] > summary {
    margin-bottom: 10px;
  }
  .doc-content {
    padding: 25px 0 42px;
  }
  .auth-layout {
    display: block;
    max-width: 460px;
    padding-block: 38px;
  }
  .auth-art {
    display: none;
  }
  .section {
    padding-block: 35px 48px;
  }
  .site-footer .container > span {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-art {
    inset: 0 -65% 0 -1%;
    opacity: 0.4;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-inner {
    min-height: 363px;
  }
  .hero-tag {
    margin-bottom: 13px;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .hero .btn {
    padding: 10px 15px;
    min-height: 42px;
  }
  .hero .wide-only {
    display: none;
  }
  .hero p {
    margin: 14px 0 22px;
  }
  .facts i {
    display: none;
  }
  .facts span {
    font-size: 0.76rem;
  }
  .section-head > .searchbar {
    width: 100%;
  }
  .platform-card {
    padding: 14px 13px 10px;
  }
  .platform-icon {
    width: 37px;
    height: 37px;
    border-radius: 9px;
  }
  .platform-card h3 {
    font-size: 1.08rem;
  }
  .platform-card > p {
    font-size: 0.84rem;
  }
  .card-top {
    margin-bottom: 12px;
  }
  .card-top .small-tag {
    font-size: 0.74rem;
    padding: 2px 5px;
  }
  .view-doc {
    display: none;
  }
  .pills {
    gap: 5px;
    margin: 16px 0;
  }
  .pill {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
  .section-head p {
    font-size: 0.93rem;
  }
  .endpoint-row {
    gap: 7px;
  }
  .panel {
    padding: 16px;
  }
  .plain-code,
  .codebox pre {
    padding: 13px;
  }
  .btn {
    padding: 8px 12px;
  }
  .site-footer nav {
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 480px) {
  .site-header .brand {
    font-size: 1.2rem;
    gap: 4px;
  }
  .site-header .brand-symbol {
    width: 24px;
    transform: scale(0.78);
  }
  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .nav-actions .btn {
    white-space: nowrap;
    min-height: 33px;
    font-size: 0.84rem;
    padding: 6px 9px;
  }
  .login-link {
    white-space: nowrap;
    font-size: 0.84rem;
  }
  .nav-actions .iconbtn {
    width: 28px;
  }
}
@media (max-width: 350px) {
  .site-header .brand {
    font-size: 1.03rem;
  }
  .nav-inner,
  .nav-actions {
    gap: 4px;
  }
}
.published-tiers {
  margin-top: 24px;
}

.doc-test-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 30px 0 14px; }
.doc-content .doc-test-heading h2 { margin: 0; }
