:root {
  --fg: #1a1a1a;
  --muted: #666;
  --border: #e2e2e2;
  --bg-soft: #f7f7f8;
  --link: #0b5fff;
  --get: #1b873f;
  --post: #1f6feb;
  --put: #9a6700;
  --patch: #9a6700;
  --delete: #cf222e;
  --sidebar-width: 300px;
  /* 旧 BASE API ドキュメント（Docusaurus）のタイポグラフィを踏襲する。 */
  --font-base: "Lato", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
    Meiryo, "メイリオ", sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.65;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
}

h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-weight: 700;
  color: var(--fg);
}

.layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  max-width: 1480px;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100vh;
  overflow: auto;
  padding: 1rem;
  border-right: 1px solid var(--border);
}

.search input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
}

.sidebar-nav {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.nav-top {
  display: block;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  color: var(--fg);
}

.nav-top.active,
.sidebar-nav a.active {
  background: var(--bg-soft);
}

.nav-group {
  margin: 0.15rem 0;
}

/* グループ見出しは折りたたみ可能な <summary>。開閉マーカーは ::before の ▸ で統一する。 */
.nav-group-title {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.4rem;
  border-radius: 4px;
}

.nav-group-title::-webkit-details-marker {
  display: none;
}

/* Firefox などはこちらでデフォルトマーカーを消す（開閉表示は ::before の ▸ に一本化）。 */
.nav-group-title::marker {
  content: none;
}

.nav-group-title::before {
  content: "▸";
  font-size: 0.6rem;
  transition: transform 0.1s;
}

.nav-group[open] > .nav-group-title::before {
  transform: rotate(90deg);
}

.nav-group-title:hover {
  background: var(--bg-soft);
}

.nav-group-count {
  margin-left: auto;
  font-weight: 400;
  letter-spacing: 0;
}

.nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 1 行目 = summary、2 行目 = method + path (curl のリクエスト行風) の 2 行構成。
   path は 1 行省略 (全文はリンクの title 属性で補完) にして行高を揃える。 */
.nav-item a {
  display: block;
  padding: 0.18rem 0.4rem 0.22rem;
  border-left: 2px solid transparent;
  border-radius: 4px;
  color: var(--fg);
}

.nav-item .nav-summary {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
}

.nav-item .nav-path {
  display: block;
  font-size: 0.68rem;
  color: #8a8a8a;
  line-height: 1.35;
  margin-top: 0.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* method はバッジではなく、コード例のシンタックスハイライトと同じ発想で
   path の前に色付きテキストとして置く (methodClass の背景色指定を打ち消す)。 */
.nav-path .nav-method {
  background: none;
  font-weight: 700;
}

.nav-path .nav-method.method-get {
  color: var(--get);
}

.nav-path .nav-method.method-post {
  color: var(--post);
}

.nav-path .nav-method.method-put {
  color: var(--put);
}

.nav-path .nav-method.method-patch {
  color: var(--patch);
}

.nav-path .nav-method.method-delete {
  color: var(--delete);
}

.nav-item a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}

.nav-item a.active {
  border-left-color: var(--link);
}

.nav-empty {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.4rem;
}

.content {
  min-width: 0;
  padding: 2rem 2.5rem 4rem;
}

/* 段落、注意書き、コード例、表は同じ幅（860px）に揃える。
   横に広く使う要素（エンドポイントの 2 カラム、リファレンスの絞り込みと一覧）だけ解除する。 */
.content > * {
  max-width: 860px;
}

.content > .ep-layout,
.content > .ref-filter,
.content > .ref-table-wrap {
  max-width: none;
}

/* ホームの注意書き。β版の断りは本文より目立たせるが、色付きの縁や記号は付けない。 */
.warn {
  background: #fbf3e0;
  border: 1px solid #ead8a9;
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}

/* ホームの基本仕様。項目名 + 説明の 2 列で、罫線は行の区切りだけにする。 */
.spec-table th,
.spec-table td {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.75rem 0.7rem 0;
}

.spec-table th {
  width: 160px;
  background: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.spec-table td p {
  margin: 0;
}

.spec-table td p + p {
  margin-top: 0.2rem;
}

.spec-table td .muted {
  font-size: 0.9rem;
}

/* ホームのカテゴリ一覧。カードではなく、リンク + 説明の箇条書き。 */
.cat-list {
  padding-left: 1.2rem;
}

.cat-list li {
  margin: 0.3rem 0;
}

.cat-list .cat-desc {
  color: var(--muted);
}

.tbd {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  vertical-align: middle;
}

/* internal 宣言の route（公開 docs 非掲載 / 社内共有プレビューでのみ表示）の目印。 */
.internal-tag {
  display: inline-block;
  margin: 0 0.4rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--patch);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}

.note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--patch);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  padding-left: 1.2rem;
}

.steps li {
  margin: 0.3rem 0;
}

/* エンドポイントページは 1 カラム構成。コード例は本文の流れに置く
   (2 カラムの sticky サイドは、本文の schema ツリーと幅を奪い合って可読性を落とすため廃止)。
   全幅だと間延びするので読みやすい幅に抑える。 */
.sample {
  max-width: 860px;
  background: #0d1117;
  color: #e6edf3;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  overflow: auto;
  font-size: 0.85rem;
}

.sample code {
  background: none;
  color: inherit;
  white-space: pre;
}

/* search.js が付与する軽量シンタックスハイライトのトークン色（GitHub Dark 系）。 */
.tok-str {
  color: #7ee787;
}
.tok-method {
  color: #ffa657;
  font-weight: 700;
}
.tok-flag {
  color: #79c0ff;
}
.tok-num {
  color: #d2a8ff;
}

.content-type {
  color: var(--muted);
  margin: 0.3rem 0;
}

/* エンドポイントページ: 本文 + ページ内目次の 2 カラム。 */
.ep-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) 170px;
  gap: 2.5rem;
  align-items: start;
}

.ep-main {
  min-width: 0;
}

.ep-main h1 {
  font-size: 1.75rem;
  margin: 0.2rem 0 0.4rem;
}

.ep-main h2 {
  font-size: 1.15rem;
  margin: 2.4rem 0 0.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.ep-desc {
  color: var(--muted);
  margin: 1rem 0 0;
}

.ep-desc > :first-child {
  margin-top: 0;
}

.ep-desc > :last-child {
  margin-bottom: 0;
}

.ep-desc p,
.ep-desc ul,
.ep-desc ol {
  margin: 0.8rem 0;
}

.ep-desc li > ul,
.ep-desc li > ol {
  margin: 0.3rem 0;
}

.ep-desc pre {
  overflow-x: auto;
  padding: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.ep-desc pre code {
  padding: 0;
  background: none;
}

.ep-content-type {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
}

/* summary を h1 に譲ったので、method + path + スコープはメタカードにまとめる。
   path 長でスコープ位置が動かないよう「method + path + コピー」「スコープ」の 2 行固定。 */
.ep-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  margin: 1rem 0 1.6rem;
}

.ep-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.ep-path {
  font-size: 0.95rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ep-meta-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.ep-meta .scope {
  background: #fff;
  border-radius: 999px;
  padding: 0 0.55rem;
  font-size: 0.78rem;
}

.copy-btn {
  margin-left: auto;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  color: var(--muted);
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--muted);
}

.codebox {
  max-width: 860px;
  border: 1px solid #30363d;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
}

.codebox .codehead {
  display: flex;
  align-items: center;
  background: #161b22;
  color: #8b949e;
  font-size: 0.78rem;
  padding: 0.3rem 0.6rem;
}

.codebox .copy-btn {
  background: none;
  border-color: #30363d;
  color: #8b949e;
}

.codebox .copy-btn:hover {
  border-color: #8b949e;
}

.codebox .sample {
  margin: 0;
  border-radius: 0;
  max-width: none;
}

.resp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 860px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.resp-status {
  font-weight: 700;
  color: #fff;
  background: var(--get);
  border-radius: 4px;
  padding: 0.05rem 0.5rem;
  font-size: 0.78rem;
}

.ep-errors-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.ep-errors {
  max-width: 860px;
  font-size: 0.88rem;
}

.ep-errors td {
  border: none;
  border-bottom: 1px solid var(--border);
}

.ep-errors tr:last-child td {
  border-bottom: none;
}

.ep-error-status {
  font-weight: 700;
}

.ep-errors tr.e4 .ep-error-status {
  color: var(--put);
}

.ep-errors tr.e5 .ep-error-status {
  color: var(--delete);
}

.ep-errors .problem-type {
  font-size: 0.8rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.03rem 0.35rem;
}

.ep-toc {
  position: sticky;
  top: 1.5rem;
  font-size: 0.8rem;
  border-left: 1px solid var(--border);
  padding-left: 0.9rem;
}

.ep-toc p {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ep-toc a {
  display: block;
  color: var(--muted);
  padding: 0.16rem 0;
}

.ep-toc a.on {
  color: var(--link);
}

@media (max-width: 1100px) {
  .ep-layout {
    grid-template-columns: 1fr;
  }

  .ep-toc {
    display: none;
  }
}

.variant-note {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--link);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}

/* スキーマとパラメータは「フィールド行」形式で見せる。
   1 行目 = 名前 + 型 + 必須/任意/nullable ピル、2 行目 = 説明。ネストは左罫線でぶら下げる。 */
.schema-tree {
  list-style: none;
  margin: 0.3rem 0;
  padding-left: 0;
}

.schema-tree li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.schema-tree li:last-child {
  border-bottom: none;
}

.schema-tree .schema-tree {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

.schema-tree .schema-tree li {
  border-bottom: none;
  padding: 0.3rem 0;
}

.frow {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}

/* リストの最終行は下線を引かない。次セクション h2 の border-top と二重線に見えるのを防ぐ。 */
.frows .frow:last-child {
  border-bottom: none;
}

.f-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.f-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.92rem;
}

.f-type {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--muted);
}

.pill {
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.02rem 0.5rem;
}

.pill-req {
  color: var(--delete);
  background: #fceded;
  border: 1px solid #f5c6c6;
}

.pill-opt {
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.pill-nul {
  color: var(--put);
  background: #fbf3e0;
  border: 1px solid #ead8a9;
}

.f-hint {
  color: var(--muted);
  font-size: 0.75rem;
}

.f-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.2rem 0 0;
}

.variants {
  margin: 0.3rem 0;
}

.variant {
  margin: 0.4rem 0;
  padding-left: 0.7rem;
  border-left: 2px dashed var(--border);
}

.v-label,
.v-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0.2rem 0;
}

.cycle {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
}

.muted {
  color: var(--muted);
}

@media (max-width: 720px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .site-footer {
    padding-left: 1.5rem;
  }
}

.lead {
  color: var(--muted);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* /reference/ 俯瞰テーブル。絞り込み（検索 + カテゴリ chip）は下へスクロールしても上に残す。 */
.ref-filter {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  margin: 1rem 0 0;
}

.ref-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.ref-controls input {
  flex: 0 1 360px;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
}

.ref-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip {
  border: 1px solid var(--border);
  background: none;
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--fg);
  cursor: pointer;
}

.chip:hover {
  background: var(--bg-soft);
}

.chip.active {
  background: var(--fg);
  border-color: var(--fg);
  color: #fff;
}

.chip-count {
  margin-left: 0.3rem;
  opacity: 0.65;
}

/* 表はグローバルの罫線付き table と違い、行区切りだけの一覧にする。
   列幅は見出し行で固定し、カテゴリ絞り込みで行が減っても比率が変わらないようにする。 */
.ref-table {
  table-layout: fixed;
  width: 100%;
  min-width: 800px;
}

.ref-table thead th:nth-child(1) {
  width: 29%;
}

.ref-table thead th:nth-child(2) {
  width: 43%;
}

.ref-table thead th:nth-child(3) {
  width: 28%;
}

.ref-table th,
.ref-table td {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.45rem 0.6rem;
}

.ref-table thead th {
  background: none;
  border-bottom: 2px solid var(--fg);
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

/* summary は短い名詞止めなので折り返さない。狭幅では列を潰さず表ごと横スクロールさせる。 */
.ref-summary {
  white-space: nowrap;
}

/* カテゴリ見出し行。表の中の区切りなので、背景は付けず余白と太字で見せる。 */
.ref-group-head th {
  background: none;
  padding: 1.5rem 0.6rem 0.35rem;
}

.ref-group-name {
  font-weight: 700;
}

.ref-group-count {
  margin-left: 0.5rem;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.ref-group-desc {
  margin-left: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.ref-path code {
  font-size: 0.85em;
  white-space: nowrap;
}

/* method はサイドバーと同じく、path に前置した色付きテキストで見せる（バッジにしない）。
   .method-* の背景色指定より詳細度を上げて打ち消す。 */
.ref-path .ref-method {
  background: none;
  font-weight: 700;
}

.ref-path .ref-method.method-get {
  color: var(--get);
}

.ref-path .ref-method.method-post {
  color: var(--post);
}

.ref-path .ref-method.method-put {
  color: var(--put);
}

.ref-path .ref-method.method-patch {
  color: var(--patch);
}

.ref-path .ref-method.method-delete {
  color: var(--delete);
}

.ref-scopes .scope {
  font-size: 0.75rem;
  margin: 0.1rem 0.25rem 0.1rem 0;
  white-space: nowrap;
}

.ref-empty {
  color: var(--muted);
}

/* nowrap な表があふれる分は横スクロールで受ける。 */
.ref-table-wrap {
  overflow-x: auto;
}

.badge {
  display: inline-block;
  min-width: 3.5rem;
  text-align: center;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.method-get {
  background: var(--get);
}
.method-post {
  background: var(--post);
}
.method-put {
  background: var(--put);
}
.method-patch {
  background: var(--patch);
}
.method-delete {
  background: var(--delete);
}

.scopes .scope,
.scope-list .scope,
.scope {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0 0.35rem;
  margin-right: 0.25rem;
}

/* Problem type（/errors/{domain}/{error}）は分岐キーなので折り返さず 1 語で見せる */
.problem-type {
  white-space: nowrap;
}

.aside-note {
  font-size: 0.85rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

th,
td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--bg-soft);
}

/* 狭い右パネルでもステータス列が縦 1 文字ずつ折れないようにする。説明列だけ折り返す。 */
.responses th:first-child,
.responses td:first-child {
  white-space: nowrap;
}

.breadcrumb {
  color: var(--muted);
}

/* フッターは .layout と同じ幅で、本文カラムの左端に揃える（ページ中央だとサイドバーの下にかかる）。 */
.site-footer {
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem 1.5rem calc(var(--sidebar-width) + 2.5rem);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

html.q9z7 {
  --fg: #f6ecff;
  --muted: #c8b6ec;
  --border: rgba(255, 255, 255, 0.2);
  --bg-soft: rgba(255, 255, 255, 0.08);
  --link: #22e0ff;
  --get: #28ffbf;
  --post: #5b8bff;
  --put: #ffe34f;
  --patch: #ffe34f;
  --delete: #ff5d8f;
  color-scheme: dark;
}

html.q9z7 body {
  background: #07021a;
  position: relative;
  overflow-x: hidden;
}

html.q9z7 body::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(255, 43, 214, 0.5), transparent 60%),
    radial-gradient(45% 55% at 80% 15%, rgba(34, 224, 255, 0.45), transparent 60%),
    radial-gradient(50% 60% at 60% 85%, rgba(155, 92, 255, 0.5), transparent 60%),
    radial-gradient(40% 50% at 10% 80%, rgba(255, 227, 79, 0.35), transparent 60%);
  filter: blur(22px) saturate(150%);
  animation: q9z-aurora 16s ease-in-out infinite alternate;
}

@keyframes q9z-aurora {
  from {
    transform: translate3d(-5%, -4%, 0) rotate(0deg) scale(1.05);
  }
  to {
    transform: translate3d(6%, 5%, 0) rotate(10deg) scale(1.2);
  }
}

html.q9z7 body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 30%, #fff, transparent),
    radial-gradient(2px 2px at 70% 18%, #ffe34f, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, #22e0ff, transparent),
    radial-gradient(2px 2px at 88% 60%, #ff2bd6, transparent),
    radial-gradient(1.5px 1.5px at 25% 88%, #fff, transparent),
    radial-gradient(2px 2px at 55% 45%, #9b5cff, transparent);
  animation: q9z-twinkle 3.5s ease-in-out infinite;
}

@keyframes q9z-twinkle {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.95;
  }
}

html.q9z7 .site-header {
  background: linear-gradient(90deg, rgba(255, 43, 214, 0.18), rgba(34, 224, 255, 0.16));
  backdrop-filter: blur(14px);
}

html.q9z7 h1,
html.q9z7 h2,
html.q9z7 .site-title {
  font-family: "Orbitron", var(--font-base);
  background: linear-gradient(110deg, #ff2bd6, #ffe34f 35%, #22e0ff 65%, #9b5cff);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(34, 224, 255, 0.5));
  animation: q9z-flow 6s linear infinite;
}

@keyframes q9z-flow {
  to {
    background-position: 260% 0;
  }
}

html.q9z7 .sidebar,
html.q9z7 .endpoint,
html.q9z7 .sample,
html.q9z7 .note {
  background: var(--bg-soft);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 36px rgba(155, 92, 255, 0.3);
}

html.q9z7 .badge {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

html.q9z7 .scope,
html.q9z7 .internal-tag {
  text-shadow: 0 0 8px currentColor;
}

html.q9z7 a:hover {
  text-shadow: 0 0 10px var(--link);
}

html.q9z7 .search input:focus {
  border-color: #ff2bd6;
  box-shadow:
    0 0 0 3px rgba(255, 43, 214, 0.3),
    0 0 20px rgba(255, 43, 214, 0.5);
}
