:root {
  --header-height: 64px;
  --sidebar-width: 304px;
  --content-width: 820px;
  --outline-width: 224px;
  --bg: #ffffff;
  --bg-soft: #f6f8f9;
  --bg-muted: #eef2f3;
  --surface: #ffffff;
  --text: #202629;
  --text-2: #586469;
  --text-3: #7d898e;
  --border: #dfe5e7;
  --border-strong: #cbd4d7;
  --accent: #0d7c73;
  --accent-hover: #09665f;
  --accent-soft: #e7f3f1;
  --code-bg: #f4f6f7;
  --warning-bg: #fff7df;
  --warning-border: #dfb64b;
  --info-bg: #eaf5f7;
  --info-border: #4c9ca5;
  --danger-bg: #fdecef;
  --danger-border: #cc5668;
  --tip-bg: #eaf6f0;
  --tip-border: #3f9d70;
  --shadow: 0 8px 28px rgb(22 40 44 / 12%);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  --bg: #15191b;
  --bg-soft: #1b2123;
  --bg-muted: #242b2e;
  --surface: #191e20;
  --text: #e8ecee;
  --text-2: #adb8bc;
  --text-3: #839095;
  --border: #30383b;
  --border-strong: #424c50;
  --accent: #4fc1b4;
  --accent-hover: #70d2c7;
  --accent-soft: #173f3c;
  --code-bg: #202628;
  --warning-bg: #3a321c;
  --warning-border: #b58d31;
  --info-bg: #1d3438;
  --info-border: #4c9ca5;
  --danger-bg: #3b2329;
  --danger-border: #b95163;
  --tip-bg: #1e382c;
  --tip-border: #3f9d70;
  --shadow: 0 12px 34px rgb(0 0 0 / 34%);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  transition: color 160ms ease, background-color 160ms ease;
}

body.drawer-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a:hover {
  color: var(--accent-hover);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
img:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 38%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 16px;
  padding: 7px 12px;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 80ms linear;
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding: 0 24px;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--text);
  font-weight: 720;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-size: 17px;
  line-height: 1;
}

.brand-name {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.header-section-name {
  color: var(--text-3);
  font-size: 13px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.icon-button:hover {
  color: var(--text);
  background: var(--bg-muted);
  border-color: var(--border);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.theme-button {
  position: relative;
  width: 40px;
  height: 24px;
  background: var(--bg-muted);
  border-color: var(--border-strong);
  border-radius: 999px;
}

.theme-button::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgb(0 0 0 / 16%);
  transition: transform 160ms ease;
}

:root[data-theme="dark"] .theme-button::before {
  transform: translateX(16px);
}

.theme-button svg {
  position: absolute;
  width: 11px;
  height: 11px;
  pointer-events: none;
}

.theme-light-icon {
  left: 5px;
}

.theme-dark-icon {
  right: 5px;
}

.sidebar {
  position: fixed;
  z-index: 50;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  width: var(--sidebar-width);
  overflow: auto;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
}

.sidebar-inner {
  padding: 26px 28px 44px 38px;
}

.sidebar-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}

.sidebar-section-toggle svg {
  width: 15px;
  transition: transform 160ms ease;
}

.sidebar-section-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}

.sidebar-links {
  display: grid;
  gap: 3px;
  padding: 0 0 10px 15px;
  border-left: 1px solid var(--border);
}

.sidebar-links[hidden] {
  display: none;
}

.sidebar-links a {
  padding: 5px 0;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.65;
}

.sidebar-links a:hover {
  color: var(--text);
}

.sidebar-links a.active {
  color: var(--accent);
  font-weight: 700;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, var(--content-width)) var(--outline-width);
  gap: 52px;
  width: min(calc(100% - var(--sidebar-width) - 72px), calc(var(--content-width) + var(--outline-width) + 52px));
  margin-top: var(--header-height);
  margin-left: calc(var(--sidebar-width) + max(36px, (100vw - var(--sidebar-width) - var(--content-width) - var(--outline-width) - 124px) / 2));
  padding: 48px 0 80px;
}

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

.outline {
  min-width: 0;
}

.outline-inner {
  position: sticky;
  top: calc(var(--header-height) + 48px);
  max-height: calc(100vh - var(--header-height) - 72px);
  padding-left: 18px;
  overflow: auto;
  border-left: 1px solid var(--border);
  scrollbar-width: thin;
}

.outline-inner > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

#desktop-outline,
#mobile-outline-panel {
  display: grid;
  gap: 1px;
}

.outline-link {
  display: block;
  padding: 3px 0;
  overflow: hidden;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outline-link.level-3 {
  padding-left: 14px;
}

.outline-link:hover,
.outline-link.active {
  color: var(--accent);
}

.mobile-only,
.mobile-outline {
  display: none;
}

.vp-doc {
  color: var(--text);
}

.vp-doc > div > :first-child:not(.guide-eyebrow) {
  margin-top: 0;
}

.vp-doc h1,
.vp-doc h2,
.vp-doc h3,
.vp-doc h4 {
  position: relative;
  color: var(--text);
  font-weight: 740;
  line-height: 1.35;
  scroll-margin-top: 0;
}

.vp-doc h1 {
  margin: 0 0 22px;
  font-size: 36px;
}

.vp-doc h2 {
  margin: 52px 0 18px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 25px;
}

.vp-doc h3 {
  margin: 34px 0 14px;
  font-size: 19px;
}

.vp-doc h4 {
  margin: 24px 0 10px;
  font-size: 16px;
}

.vp-doc p {
  margin: 16px 0;
}

.vp-doc strong {
  font-weight: 720;
}

.vp-doc ul,
.vp-doc ol {
  margin: 16px 0;
  padding-left: 24px;
}

.vp-doc li + li {
  margin-top: 7px;
}

.vp-doc blockquote {
  margin: 18px 0;
  padding: 0 0 0 15px;
  color: var(--text-2);
  border-left: 3px solid var(--border-strong);
}

.vp-doc code {
  padding: 2px 6px;
  color: #b34e5c;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

:root[data-theme="dark"] .vp-doc code {
  color: #ef9aa6;
}

.vp-doc .header-anchor {
  position: absolute;
  left: -1em;
  padding-right: 0.35em;
  color: var(--accent);
  font-weight: 500;
  opacity: 0;
}

.vp-doc .header-anchor::before {
  content: "#";
}

.vp-doc h1:hover .header-anchor,
.vp-doc h2:hover .header-anchor,
.vp-doc h3:hover .header-anchor,
.vp-doc .header-anchor:focus-visible {
  opacity: 1;
}

.guide-eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 720;
}

.guide-lead {
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.8;
}

.guide-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-facts > div {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 0 20px;
}

.guide-facts > div:first-child {
  padding-left: 0;
}

.guide-facts > div + div {
  border-left: 1px solid var(--border);
}

.guide-facts strong {
  font-size: 17px;
}

.guide-facts span {
  color: var(--text-3);
  font-size: 12px;
}

.guide-jump-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 32px 0 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-jump-nav a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  padding: 16px;
  color: var(--text);
}

.guide-jump-nav a:nth-child(even) {
  border-left: 1px solid var(--border);
}

.guide-jump-nav a:nth-child(n + 3) {
  border-top: 1px solid var(--border);
}

.guide-jump-nav a:hover {
  background: var(--bg-soft);
}

.guide-jump-nav > a > span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.guide-jump-nav strong {
  font-size: 15px;
}

.guide-jump-nav small {
  color: var(--text-3);
  font-size: 12px;
}

.custom-block {
  margin: 22px 0;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 4px solid var(--border-strong);
  border-radius: 6px;
}

.custom-block.warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

.custom-block.info {
  background: var(--info-bg);
  border-color: var(--info-border);
}

.custom-block.tip {
  background: var(--tip-bg);
  border-color: var(--tip-border);
}

.custom-block.danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
}

.custom-block-title {
  margin: 0 0 4px !important;
  font-weight: 720;
}

.custom-block > :last-child {
  margin-bottom: 0;
}

.custom-block > :first-child {
  margin-top: 0;
}

.guide-flow,
.refund-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.guide-flow > div,
.refund-timeline > div {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 18px;
}

.guide-flow > div + div,
.refund-timeline > div + div {
  border-left: 1px solid var(--border);
}

.guide-flow span,
.refund-timeline span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.guide-flow p,
.refund-timeline p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.refund-timeline {
  grid-template-columns: repeat(2, 1fr);
}

.guide-rules {
  padding-left: 0 !important;
  counter-reset: rules;
  list-style: none;
}

.guide-rules li {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 13px 14px 13px 56px;
  border-top: 1px solid var(--border);
  counter-increment: rules;
}

.guide-rules li:last-child {
  border-bottom: 1px solid var(--border);
}

.guide-rules li::before {
  position: absolute;
  top: 15px;
  left: 14px;
  color: var(--accent);
  content: counter(rules, decimal-leading-zero);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.guide-rules span {
  color: var(--text-2);
  font-size: 14px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.policy-item {
  padding: 18px;
  background: var(--surface);
}

.policy-item > :first-child {
  margin-top: 0;
}

.policy-item > :last-child {
  margin-bottom: 0;
}

.guide-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.guide-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 680;
}

.guide-button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.guide-button--primary,
.guide-button--primary:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.guide-button--primary:hover {
  background: var(--accent-hover);
}

.guide-button svg {
  width: 16px;
  height: 16px;
}

.guide-final-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 26px 0 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-final-action > div {
  display: grid;
}

.guide-final-action span {
  color: var(--text-2);
  font-size: 13px;
}

.guide-reference-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
}

.vp-doc table {
  display: block;
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  scrollbar-width: thin;
}

.vp-doc thead,
.vp-doc tbody {
  display: table;
  width: 100%;
  min-width: 620px;
  table-layout: fixed;
}

.vp-doc th,
.vp-doc td {
  padding: 12px 14px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.vp-doc th {
  background: var(--bg-soft);
  font-size: 14px;
  font-weight: 700;
}

.vp-doc td {
  color: var(--text-2);
  font-size: 14px;
}

.vp-doc tr:last-child td {
  border-bottom: 0;
}

.vp-doc th:last-child,
.vp-doc td:last-child {
  border-right: 0;
}

.language-text,
.language-json,
.language-bash {
  position: relative;
  margin: 20px 0;
}

.vp-code {
  margin: 0;
  padding: 20px 18px;
  overflow: auto;
  color: var(--text);
  background: var(--code-bg) !important;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre;
  scrollbar-width: thin;
}

.vp-code code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}

.vp-code .line {
  display: block;
  min-height: 1.7em;
}

:root[data-theme="dark"] .vp-code span {
  color: var(--shiki-dark, inherit) !important;
}

.lang {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 46px;
  color: var(--text-3);
  font-size: 11px;
  text-transform: uppercase;
}

.copy {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--text-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
}

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

.copy svg {
  width: 15px;
  height: 15px;
}

.details.custom-block {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--border);
}

.details summary {
  position: relative;
  padding: 13px 44px 13px 16px;
  background: var(--bg-soft);
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.details summary::-webkit-details-marker {
  display: none;
}

.details summary::after {
  position: absolute;
  top: 12px;
  right: 17px;
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.details[open] summary::after {
  content: "−";
}

.details .language-text {
  margin: 0;
}

.details .vp-code {
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
}

.vp-doc img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: zoom-in;
}

.guide-image-caption {
  margin-top: 7px !important;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

.doc-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.last-updated {
  margin: 0 0 18px;
  color: var(--text-3);
  font-size: 12px;
}

.pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pager a {
  display: grid;
  gap: 2px;
  min-height: 76px;
  padding: 14px 16px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.pager a.next {
  text-align: right;
}

.pager a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.pager small {
  color: var(--text-3);
  font-size: 12px;
}

.pager strong {
  font-size: 14px;
  line-height: 1.45;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast {
  position: fixed;
  z-index: 110;
  right: 24px;
  bottom: 76px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 9px 13px;
  color: #fff;
  background: #202629;
  border-radius: 5px;
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.image-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 40px 20px 18px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-dialog::backdrop {
  background: rgb(0 0 0 / 72%);
  backdrop-filter: blur(3px);
}

.image-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  margin: auto;
  object-fit: contain;
}

.image-dialog.qr-preview {
  width: min(560px, calc(100vw - 48px));
}

.image-dialog.qr-preview img {
  max-height: calc(100vh - 140px);
}

.image-dialog p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 13px;
  text-align: center;
}

.image-dialog-close {
  position: absolute;
  top: 7px;
  right: 7px;
}

.drawer-backdrop {
  position: fixed;
  z-index: 48;
  inset: var(--header-height) 0 0;
  background: rgb(0 0 0 / 45%);
}

@media (max-width: 1199px) {
  .page-shell {
    display: block;
    width: min(calc(100% - var(--sidebar-width) - 64px), var(--content-width));
    margin-left: calc(var(--sidebar-width) + 32px);
  }

  .outline {
    display: none;
  }

  .mobile-outline {
    position: fixed;
    z-index: 44;
    top: var(--header-height);
    right: 0;
    left: var(--sidebar-width);
    display: block;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
  }

  .mobile-outline > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 42px;
    padding: 0 24px;
    color: var(--text-2);
    background: transparent;
    border: 0;
    font-size: 13px;
    cursor: pointer;
  }

  .mobile-outline svg {
    width: 15px;
    transition: transform 160ms ease;
  }

  .mobile-outline > button[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  #mobile-outline-panel {
    max-height: 55vh;
    padding: 10px 24px 16px;
    overflow: auto;
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  #mobile-outline-panel[hidden] {
    display: none;
  }

  .page-shell {
    padding-top: 76px;
  }
}

@media (max-width: 959px) {
  .site-header {
    gap: 10px;
    padding: 0 16px;
  }

  .mobile-only {
    display: inline-grid;
  }

  .brand-name {
    max-width: 44vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-section-name {
    display: none;
  }

  .sidebar {
    width: min(324px, calc(100vw - 48px));
    transform: translateX(-104%);
    transition: transform 190ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow);
  }

  .sidebar-inner {
    padding: 20px 24px 40px;
  }

  .mobile-outline {
    left: 0;
  }

  .page-shell {
    width: min(100% - 40px, var(--content-width));
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 639px) {
  body {
    font-size: 15px;
  }

  .site-header {
    height: 58px;
  }

  :root {
    --header-height: 58px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 14px;
  }

  .page-shell {
    width: calc(100% - 32px);
    padding-top: 68px;
    padding-bottom: 56px;
  }

  .vp-doc h1 {
    margin-bottom: 18px;
    font-size: 29px;
  }

  .vp-doc h2 {
    margin-top: 42px;
    padding-top: 24px;
    font-size: 22px;
  }

  .vp-doc h3 {
    font-size: 18px;
  }

  .vp-doc .header-anchor {
    position: static;
    padding-left: 4px;
    opacity: 0.4;
  }

  .guide-lead {
    font-size: 16px;
  }

  .guide-facts {
    grid-template-columns: 1fr;
  }

  .guide-facts > div,
  .guide-facts > div:first-child {
    padding: 10px 0;
  }

  .guide-facts > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .guide-jump-nav,
  .guide-flow,
  .refund-timeline,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .guide-jump-nav a:nth-child(even) {
    border-left: 0;
  }

  .guide-jump-nav a + a {
    border-top: 1px solid var(--border);
  }

  .guide-flow > div + div,
  .refund-timeline > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .guide-final-action {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-final-action .guide-button {
    justify-content: center;
  }

  .pager {
    grid-template-columns: 1fr;
  }

  .pager a.next {
    text-align: left;
  }

  .vp-doc thead,
  .vp-doc tbody {
    min-width: 560px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .toast {
    right: 16px;
    bottom: 62px;
  }

  .image-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
