:root {
  color: #dce7f2;
  background: #06101a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #06101a;
  --panel: #0b1420;
  --panel-2: #101924;
  --line: #243348;
  --line-strong: #31566b;
  --text: #dce7f2;
  --muted: #9fb0c3;
  --teal: #22d8cc;
  --teal-dim: rgba(34, 216, 204, 0.12);
  --amber: #e6aa4e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 76% 8%, rgba(34, 216, 204, 0.08), transparent 30rem), #06101a;
  color: var(--text);
}
a { color: inherit; }
.site-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(36, 51, 72, 0.78);
  background: rgba(6, 16, 26, 0.9);
  backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 730; text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(34, 216, 204, 0.32), transparent 48%), var(--panel-2);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 10px; border-radius: 7px; color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--teal-dim); color: var(--text); }
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 72px; justify-content: center; align-items: start; padding: 46px 0 90px; }
.docs-sidebar { position: sticky; top: 94px; max-height: calc(100vh - 112px); overflow-y: auto; }
.docs-sidebar a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.docs-sidebar a:hover, .docs-sidebar a[aria-current="page"] { background: var(--teal-dim); color: var(--text); }
.docs-sidebar a[aria-current="page"] { box-shadow: inset 2px 0 var(--teal); }
.docs-group { margin-bottom: 20px; }
.docs-group strong { display: block; margin: 0 10px 7px; color: var(--teal); font-family: monospace; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.breadcrumbs { margin-bottom: 28px; color: var(--muted); font-size: 0.88rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { margin: 0 7px; color: #66788f; }
.docs-content { min-width: 0; }
.docs-header { margin-bottom: 42px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.docs-kind { margin: 0 0 12px; color: var(--teal); font-family: monospace; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
h1, h2, h3 { color: #eef9ff; letter-spacing: -0.025em; }
h1 { margin: 0 0 16px; font-size: clamp(2.7rem, 7vw, 4.6rem); line-height: 0.98; }
h2 { margin: 48px 0 16px; font-size: 1.85rem; }
h3 { margin: 32px 0 12px; font-size: 1.18rem; }
.docs-summary { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.docs-body { color: var(--muted); font-size: 1rem; line-height: 1.72; }
.docs-body p, .docs-body ul, .docs-body ol { margin: 0 0 18px; }
.docs-body strong { color: var(--text); }
.docs-body a { color: var(--teal); text-underline-offset: 3px; }
.docs-body code { color: #d9fbf8; font-family: "SFMono-Regular", Consolas, monospace; }
.docs-body pre { margin: 20px 0 26px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 8px; background: #07111c; overflow-x: auto; }
.docs-body pre code { white-space: pre; }
.docs-body table { width: 100%; margin: 20px 0 28px; border-collapse: collapse; font-size: 0.93rem; }
.docs-body th, .docs-body td { padding: 11px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.docs-body th { background: var(--panel-2); color: var(--text); }
.docs-body blockquote { margin: 24px 0; padding: 15px 18px; border-left: 3px solid var(--amber); background: rgba(230, 170, 78, 0.08); }
.docs-body blockquote p:last-child { margin-bottom: 0; }
.docs-body .outcome { padding: 17px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--teal-dim); color: var(--text); }
.docs-body .expected { padding: 14px 16px; border-left: 3px solid var(--teal); background: rgba(11, 20, 32, 0.75); }
.guide-shot { margin: 28px 0 34px; }
.guide-shot-frame { position: relative; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--panel); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28); overflow: hidden; }
.guide-shot img { display: block; width: 100%; height: auto; }
.guide-shot-highlight { position: absolute; left: var(--shot-x); top: var(--shot-y); width: var(--shot-width); height: var(--shot-height); border: 3px solid var(--amber); border-radius: 8px; background: rgba(230, 170, 78, 0.08); box-shadow: 0 0 0 9999px rgba(3, 8, 13, 0.24), 0 0 22px rgba(230, 170, 78, 0.45); pointer-events: none; }
.guide-shot figcaption { margin-top: 10px; color: var(--muted); font-size: 0.88rem; line-height: 1.5; }
.page-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.page-link { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11, 20, 32, 0.7); text-decoration: none; }
.page-link span { display: block; margin-bottom: 4px; color: var(--teal); font-family: monospace; font-size: 0.72rem; text-transform: uppercase; }
.page-link strong { color: var(--text); }
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.docs-home-hero { padding: 76px 0 58px; border-bottom: 1px solid var(--line); }
.docs-home { padding: 54px 0 90px; }
.docs-home-feature { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding: 28px; border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(120deg, var(--teal-dim), rgba(11, 20, 32, 0.78)); }
.docs-home-feature h2, .docs-home-section h2 { margin: 0 0 12px; }
.docs-home-feature p:not(.docs-kind) { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.65; }
.docs-home-action { flex: 0 0 auto; padding: 12px 16px; border: 1px solid rgba(34, 216, 204, 0.5); border-radius: 7px; color: var(--text); font-weight: 700; text-decoration: none; }
.docs-home-section { padding-top: 64px; }
.docs-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.docs-card { min-height: 128px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(11, 20, 32, 0.7); text-decoration: none; }
.docs-card:hover { border-color: var(--line-strong); background: var(--teal-dim); }
.docs-card strong, .docs-card span { display: block; }
.docs-card strong { margin-bottom: 8px; color: var(--text); }
.docs-card span { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.docs-home-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.docs-link-list { display: grid; gap: 2px; margin-top: 20px; }
.docs-link-list a, .docs-index-links a { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.docs-link-list a:hover, .docs-index-links a:hover { color: var(--teal); }
.docs-index { margin-top: 18px; color: var(--muted); }
.docs-index summary { cursor: pointer; color: var(--teal); }
.docs-index-links { display: grid; margin-top: 8px; }
@media (max-width: 820px) {
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-sidebar { position: static; display: flex; gap: 8px; overflow-x: auto; }
  .docs-group { min-width: 180px; }
  .docs-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .nav-links a:not([aria-current="page"]) { display: none; }
  .docs-sidebar { display: none; }
  .page-links { grid-template-columns: 1fr; }
  .docs-body table { display: block; overflow-x: auto; }
  .docs-home-feature { display: block; }
  .docs-home-action { display: inline-block; margin-top: 22px; }
  .docs-card-grid, .docs-home-split { grid-template-columns: 1fr; }
}
