/* VitePress 首页模板：公共样式（配色变量、顶栏、语言切换、按钮、公告、客服、页脚）。
 * 变量名与 VitePress 默认主题一致；主色取本站 logo 的绿 #2faf61。
 * 深色由 <html class="dark"> 切换，head.html 里的小脚本在样式生效前定好。 */

:root {
  --vp-c-white: #ffffff;
  --vp-c-black: #000000;
  --vp-c-neutral: var(--vp-c-black);
  --vp-c-neutral-inverse: var(--vp-c-white);

  --vp-c-gray-1: #dddde3;
  --vp-c-gray-2: #e4e4e9;
  --vp-c-gray-3: #ebebef;
  --vp-c-gray-soft: rgba(142, 150, 170, 0.14);

  /* brand-3 是 logo 原色，用来点缀；brand-1 加深到白底上当文字也看得清 */
  --vp-c-brand-1: #16854a;
  --vp-c-brand-2: #1f9d57;
  --vp-c-brand-3: #2faf61;
  --vp-c-brand-soft: rgba(47, 175, 97, 0.14);

  --vp-c-yellow-1: #915930;
  --vp-c-yellow-2: #946300;
  --vp-c-yellow-3: #9f6a00;
  --vp-c-yellow-soft: rgba(234, 179, 8, 0.14);
  --vp-c-red-1: #b8272c;
  --vp-c-red-2: #d5393e;
  --vp-c-red-3: #e0575b;
  --vp-c-red-soft: rgba(244, 63, 94, 0.14);

  --vp-c-bg: #ffffff;
  --vp-c-bg-alt: #f6f6f7;
  --vp-c-bg-elv: #ffffff;
  --vp-c-bg-soft: #f6f6f7;

  --vp-c-border: #c2c2c4;
  --vp-c-divider: #e2e2e3;
  --vp-c-gutter: #e2e2e3;

  --vp-c-text-1: #3c3c43;
  --vp-c-text-2: #67676c;
  --vp-c-text-3: #929295;

  --vp-c-default-1: var(--vp-c-gray-1);
  --vp-c-default-2: var(--vp-c-gray-2);
  --vp-c-default-3: var(--vp-c-gray-3);
  --vp-c-default-soft: var(--vp-c-gray-soft);

  --vp-c-tip-1: var(--vp-c-brand-1);
  --vp-c-tip-soft: var(--vp-c-brand-soft);
  --vp-c-warning-1: var(--vp-c-yellow-1);
  --vp-c-warning-soft: var(--vp-c-yellow-soft);
  --vp-c-danger-1: var(--vp-c-red-1);
  --vp-c-danger-soft: var(--vp-c-red-soft);

  --vp-font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --vp-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --vp-shadow-2: 0 3px 12px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.07);
  --vp-shadow-3: 0 12px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.08);
  --vp-shadow-4: 0 14px 44px rgba(0, 0, 0, 0.12), 0 3px 9px rgba(0, 0, 0, 0.12);

  --vp-z-index-local-nav: 20;
  --vp-z-index-nav: 30;
  --vp-z-index-layout-top: 40;
  --vp-z-index-backdrop: 50;
  --vp-z-index-sidebar: 60;
  --vp-z-index-search: 70;

  --vp-layout-max-width: 1440px;
  --vp-nav-height: 64px;
  --vp-nav-bg-color: var(--vp-c-bg);
  --vp-nav-logo-height: 28px;
  --vp-sidebar-width: 272px;
  --vp-sidebar-bg-color: var(--vp-c-bg-alt);

  --vp-button-brand-text: var(--vp-c-white);
  --vp-button-brand-bg: var(--vp-c-brand-1);
  --vp-button-brand-hover-bg: #117040;
  --vp-button-brand-active-bg: #0e5f36;
  --vp-button-alt-text: var(--vp-c-text-1);
  --vp-button-alt-bg: var(--vp-c-default-3);
  --vp-button-alt-hover-bg: var(--vp-c-default-2);
  --vp-button-alt-active-bg: var(--vp-c-default-1);

  --vp-input-border-color: var(--vp-c-border);
  --vp-input-switch-bg-color: var(--vp-c-default-soft);
  --vp-backdrop-bg-color: rgba(0, 0, 0, 0.6);

  color-scheme: light;
}

html.dark {
  --vp-c-neutral: var(--vp-c-white);
  --vp-c-neutral-inverse: var(--vp-c-black);

  --vp-c-gray-1: #515c67;
  --vp-c-gray-2: #414853;
  --vp-c-gray-3: #32363f;
  --vp-c-gray-soft: rgba(101, 117, 133, 0.16);

  --vp-c-brand-1: #3dd68c;
  --vp-c-brand-2: #30a46c;
  --vp-c-brand-3: #2faf61;
  --vp-c-brand-soft: rgba(47, 175, 97, 0.16);

  --vp-c-yellow-1: #f9b44e;
  --vp-c-yellow-2: #da8b17;
  --vp-c-yellow-3: #a46a0a;
  --vp-c-yellow-soft: rgba(234, 179, 8, 0.16);
  --vp-c-red-1: #f66f81;
  --vp-c-red-2: #f14158;
  --vp-c-red-3: #b62a3c;
  --vp-c-red-soft: rgba(244, 63, 94, 0.16);

  --vp-c-bg: #1b1b1f;
  --vp-c-bg-alt: #161618;
  --vp-c-bg-elv: #202127;
  --vp-c-bg-soft: #202127;

  --vp-c-border: #3c3f44;
  --vp-c-divider: #2e2e32;
  --vp-c-gutter: #000000;

  --vp-c-text-1: #dfdfd6;
  --vp-c-text-2: #98989f;
  --vp-c-text-3: #6a6a71;

  --vp-button-brand-bg: #298459;
  --vp-button-brand-hover-bg: #2f9a63;
  --vp-button-brand-active-bg: #257a52;

  color-scheme: dark;
}

/* ---------- 基础 ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; margin: 0; width: 100%; min-width: 320px; min-height: 100vh;
  line-height: 24px; font-family: var(--vp-font-family-base); font-size: 16px; font-weight: 400;
  color: var(--vp-c-text-1); background-color: var(--vp-c-bg);
  font-synthesis: style; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s;
}
h1, h2, h3, h4, h5, h6, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: inherit; }
button { margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; }
kbd { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--vp-c-brand-3); outline-offset: 2px; }
html.zp-lock { overflow: hidden; }

/* logo 内嵌的 <style> 对全页生效：字是近黑色，深色下改成正文色 */
html.dark .VPNavBarTitle-link .cls-1,
html.dark .VPFooter-logo .cls-1 { fill: var(--vp-c-text-1); }

/* ---------- 按钮 ---------- */
.VPButton {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; text-align: center; font-weight: 600; white-space: nowrap;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.VPButton.small { border-radius: 16px; padding: 0 14px; line-height: 30px; font-size: 13px; }
.VPButton.medium { border-radius: 20px; padding: 0 20px; line-height: 38px; font-size: 14px; }
.VPButton.big { border-radius: 24px; padding: 0 24px; line-height: 46px; font-size: 16px; }
.VPButton.brand { color: var(--vp-button-brand-text); background-color: var(--vp-button-brand-bg); }
.VPButton.brand:hover { background-color: var(--vp-button-brand-hover-bg); }
.VPButton.brand:active { background-color: var(--vp-button-brand-active-bg); }
.VPButton.alt { color: var(--vp-button-alt-text); background-color: var(--vp-button-alt-bg); }
.VPButton.alt:hover { background-color: var(--vp-button-alt-hover-bg); }
.VPButton.alt:active { background-color: var(--vp-button-alt-active-bg); }
.VPButton:disabled, .VPButton[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }

/* ---------- 顶栏 ---------- */
.VPNav { position: sticky; top: 0; z-index: var(--vp-z-index-nav); width: 100%; }
.VPNavBar {
  height: var(--vp-nav-height); border-bottom: 1px solid var(--vp-c-gutter);
  background-color: var(--vp-nav-bg-color); white-space: nowrap; transition: background-color 0.25s;
}
.VPNavBar-wrapper { height: 100%; padding: 0 8px 0 24px; }
.VPNavBar-container { display: flex; align-items: center; margin: 0 auto; max-width: calc(var(--vp-layout-max-width) - 64px); height: 100%; }
.VPNavBarTitle { flex-shrink: 0; display: flex; align-items: center; height: 100%; }
.VPNavBarTitle-link { display: flex; align-items: center; height: 100%; }
.VPNavBarTitle-link svg { height: var(--vp-nav-logo-height); width: auto; aspect-ratio: 267.31 / 52.92; }
/* 英文没有中文字标，换成 Z 图标 + Zpay 文字；图标是方形，比中文字标窄很多，改自己的宽高比。 */
.VPBrand { display: inline-flex; align-items: center; gap: 6px; }
.VPNavBarTitle-link .VPBrand svg, .VPFooter-logo .VPBrand svg { aspect-ratio: 48.61 / 52.92; }
.VPBrand-text { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; line-height: 1; color: var(--vp-c-text-1); }
.VPNavBar-content { flex-grow: 1; display: flex; align-items: center; justify-content: flex-end; min-width: 0; height: 100%; }

.VPNavBarMenu, .VPNavBarAppearance, .VPNavBarAccount { display: none; }
.VPNavBarMenuLink {
  display: flex; align-items: center; padding: 0 12px; line-height: var(--vp-nav-height);
  font-size: 14px; font-weight: 500; color: var(--vp-c-text-1); transition: color 0.25s;
}
.VPNavBarMenuLink:hover, .VPNavBarMenuLink.active { color: var(--vp-c-brand-1); }
.VPNavBarAccount .VPButton { margin-left: 4px; }

.VPNavBarHamburger { display: flex; justify-content: center; align-items: center; width: 48px; height: var(--vp-nav-height); }
.VPNavBarHamburger-bars { position: relative; width: 16px; height: 14px; overflow: hidden; }
.VPNavBarHamburger-bars span {
  position: absolute; left: 0; width: 16px; height: 2px; background-color: var(--vp-c-text-1);
  transition: top 0.25s, background-color 0.5s, transform 0.25s;
}
.VPNavBarHamburger-bars .top { top: 0; transform: translateX(0); }
.VPNavBarHamburger-bars .middle { top: 6px; transform: translateX(8px); }
.VPNavBarHamburger-bars .bottom { top: 12px; transform: translateX(4px); }
.VPNavBarHamburger:hover .top { transform: translateX(4px); }
.VPNavBarHamburger:hover .middle { transform: translateX(0); }
.VPNavBarHamburger:hover .bottom { transform: translateX(8px); }
.VPNavBarHamburger.active .top { top: 6px; transform: translateX(0) rotate(225deg); }
.VPNavBarHamburger.active .middle { top: 6px; transform: translateX(16px); }
.VPNavBarHamburger.active .bottom { top: 6px; transform: translateX(0) rotate(135deg); }

@media (min-width: 768px) {
  .VPNavBar-wrapper { padding: 0 32px; }
  .VPNavBarMenu { display: flex; }
  .VPNavBarAppearance, .VPNavBarAccount { display: flex; align-items: center; }
  .VPNavBarAppearance::before, .VPNavBarAccount::before {
    content: ""; margin: 0 16px 0 8px; width: 1px; height: 24px; background-color: var(--vp-c-divider);
  }
  .VPNavBarHamburger { display: none; }
}
/* 顶栏放不下时（nav.html 紧跟顶栏的内联段量出来，给 #zp-nav 加 is-compact）整条换成手机形态：菜单、语言、深浅色、
 * 登录注册收进汉堡菜单（手机菜单里本来就全有），文档页的搜索只留放大镜（见 doc.css）。没有脚本就没有这个类，顶栏照旧。 */
.VPNav.is-compact .VPNavBarMenu,
.VPNav.is-compact .VPNavBarTranslations,
.VPNav.is-compact .VPNavBarAppearance,
.VPNav.is-compact .VPNavBarAccount { display: none; }
.VPNav.is-compact .VPNavBarHamburger { display: flex; }
/* 量宽度的那一下（同一段脚本里加上又撤掉，画不出来）：各项按自身宽度排，文档页的搜索框不撑开 */
.VPNav.is-measuring .VPNavBar-content > * { flex-grow: 0; }

/* 手机菜单 */
.VPNavScreen {
  position: fixed; top: var(--vp-nav-height); right: 0; bottom: 0; left: 0;
  padding: 0 32px; background-color: var(--vp-c-bg); overflow-y: auto;
}
.VPNavScreen-container { margin: 0 auto; padding: 24px 0 96px; max-width: 288px; }
.VPNavScreenMenuLink {
  display: block; border-bottom: 1px solid var(--vp-c-divider); padding: 12px 0 11px;
  line-height: 24px; font-size: 14px; font-weight: 500; color: var(--vp-c-text-1); transition: color 0.25s;
}
.VPNavScreenMenuLink:hover, .VPNavScreenMenuLink.active { color: var(--vp-c-brand-1); }
.VPNavScreenAppearance {
  display: flex; justify-content: space-between; align-items: center; margin-top: 24px;
  border-radius: 8px; padding: 12px 14px 12px 16px; background-color: var(--vp-c-bg-soft);
}
.VPNavScreenAppearance-text { line-height: 24px; font-size: 12px; font-weight: 500; color: var(--vp-c-text-2); }
/* 768 起顶栏是桌面形态，手机菜单不出；顶栏收起（is-compact）时汉堡还在，菜单照常能开 */
@media (min-width: 768px) { .VPNav:not(.is-compact) .VPNavScreen { display: none !important; } }

/* 语言切换：照 VitePress 顶栏右侧的语言下拉（鼠标移上去或点按钮展开）；手机菜单里是一栏可展开的语言列表 */
.VPNavBarTranslations { display: none; }
.VPFlyout { position: relative; }
.VPFlyout-button {
  display: flex; align-items: center; gap: 4px; padding: 0 12px; height: var(--vp-nav-height);
  color: var(--vp-c-text-1); transition: color 0.25s;
}
.VPFlyout:hover .VPFlyout-button, .VPFlyout.open .VPFlyout-button { color: var(--vp-c-text-2); }
.VPFlyout-icon, .VPFlyout-chevron, .VPNavScreenTranslations-icon, .VPNavScreenTranslations-chevron {
  flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.VPFlyout-icon { width: 16px; height: 16px; }
.VPFlyout-chevron { width: 14px; height: 14px; }
.VPFlyout-menu {
  position: absolute; top: calc(var(--vp-nav-height) / 2 + 20px); right: 0;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.VPFlyout.open .VPFlyout-menu { opacity: 1; visibility: visible; }
@media (hover: hover) { .VPFlyout:hover .VPFlyout-menu { opacity: 1; visibility: visible; } }
.VPMenu {
  min-width: 128px; max-height: calc(100vh - var(--vp-nav-height)); overflow-y: auto; padding: 12px;
  border: 1px solid var(--vp-c-divider); border-radius: 12px; background-color: var(--vp-c-bg-elv); box-shadow: var(--vp-shadow-3);
}
.VPMenu-title { padding: 0 24px 0 12px; line-height: 32px; font-size: 14px; font-weight: 700; color: var(--vp-c-text-1); white-space: nowrap; }
.VPMenu-link {
  display: block; width: 100%; padding: 0 12px; border-radius: 6px; text-align: left; white-space: nowrap;
  line-height: 32px; font-size: 14px; font-weight: 500; color: var(--vp-c-text-1); transition: background-color 0.25s, color 0.25s;
}
.VPMenu-link:hover { color: var(--vp-c-brand-1); background-color: var(--vp-c-default-soft); }
@media (min-width: 768px) { .VPNavBarTranslations { display: flex; align-items: center; } }

.VPNavScreenTranslations { margin-top: 24px; }
.VPNavScreenTranslations-title {
  display: flex; align-items: center; gap: 8px; line-height: 24px; font-size: 14px; font-weight: 500; color: var(--vp-c-text-1);
}
.VPNavScreenTranslations-icon { width: 16px; height: 16px; }
.VPNavScreenTranslations-chevron { width: 14px; height: 14px; margin-left: -4px; transition: transform 0.25s; }
.VPNavScreenTranslations-title[aria-expanded="true"] .VPNavScreenTranslations-chevron { transform: rotate(180deg); }
.VPNavScreenTranslations-list { padding: 4px 0 0 24px; }
.VPNavScreenTranslations-link {
  display: block; line-height: 32px; font-size: 13px; color: var(--vp-c-text-1); text-align: left; transition: color 0.25s;
}
.VPNavScreenTranslations-link:hover { color: var(--vp-c-brand-1); }

/* 深浅色开关 */
.VPSwitch {
  position: relative; display: block; flex-shrink: 0; width: 40px; height: 22px;
  border: 1px solid var(--vp-input-border-color); border-radius: 11px;
  background-color: var(--vp-input-switch-bg-color); transition: border-color 0.25s;
}
.VPSwitch:hover { border-color: var(--vp-c-brand-1); }
.VPSwitch-check {
  position: absolute; top: 1px; left: 1px; width: 18px; height: 18px; border-radius: 50%;
  background-color: var(--vp-c-neutral-inverse); box-shadow: var(--vp-shadow-1); transition: transform 0.25s;
}
html.dark .VPSwitch-check { transform: translateX(18px); }
.VPSwitch-icon { position: relative; display: block; width: 18px; height: 18px; border-radius: 50%; overflow: hidden; }
.VPSwitch-icon svg {
  position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; fill: none; stroke: currentColor;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: var(--vp-c-text-2); transition: opacity 0.25s;
}
.VPSwitch-moon { opacity: 0; }
html.dark .VPSwitch-sun { opacity: 0; }
html.dark .VPSwitch-moon { opacity: 1; color: var(--vp-c-text-1); }

/* ---------- 首页公告（横栏 + 弹窗） ---------- */
.VPNotice {
  display: block; width: 100%; padding: 8px 48px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  background-color: var(--vp-c-brand-soft); color: var(--vp-c-brand-1);
  font-size: 14px; font-weight: 500; line-height: 24px; text-align: center; cursor: pointer; transition: color 0.25s;
}
.VPNotice:hover { color: var(--vp-c-brand-2); }
.VPNoticeDialog {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--vp-c-divider); border-radius: 12px; overflow: hidden;
  background-color: var(--vp-c-bg-elv); color: var(--vp-c-text-1); box-shadow: var(--vp-shadow-4);
}
.VPNoticeDialog[open] { display: flex; flex-direction: column; }
.VPNoticeDialog::backdrop { background-color: var(--vp-backdrop-bg-color); }
.VPNoticeDialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--vp-c-divider);
}
.VPNoticeDialog-head h2 { font-size: 16px; font-weight: 600; line-height: 24px; }
.VPNoticeDialog-close {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; font-size: 22px; line-height: 32px;
  color: var(--vp-c-text-2); transition: background-color 0.25s, color 0.25s;
}
.VPNoticeDialog-close:hover { background-color: var(--vp-c-default-soft); color: var(--vp-c-text-1); }
.VPNoticeDialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 20px; }
.VPNoticeItem { padding: 16px 0; }
.VPNoticeItem + .VPNoticeItem { border-top: 1px solid var(--vp-c-divider); }
.VPNoticeItem-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.VPNoticeItem-title { font-size: 15px; font-weight: 600; line-height: 24px; overflow-wrap: anywhere; }
.VPNoticeItem-head time { flex-shrink: 0; font-size: 12px; color: var(--vp-c-text-3); }
.VPNoticeItem-content {
  margin-top: 8px; font-size: 14px; line-height: 24px; color: var(--vp-c-text-2);
  white-space: pre-line; overflow-wrap: anywhere;
}

/* ---------- 在线客服（后台填了客服 QQ 才有） ---------- */
.zhanpay-rightbar { position: fixed; right: 20px; bottom: 24px; z-index: var(--vp-z-index-layout-top); }
.zhanpay-rightbar li { list-style: none; }
.zhanpay-rightbar a {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background-color: var(--vp-button-brand-bg); box-shadow: var(--vp-shadow-3); transition: background-color 0.25s;
}
.zhanpay-rightbar a:hover { background-color: var(--vp-button-brand-hover-bg); }
.zhanpay-rightbar a::before {
  content: ""; width: 24px; height: 24px; background-color: #ffffff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3Cpath d='M8 12h.01M12 12h.01M16 12h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3Cpath d='M8 12h.01M12 12h.01M16 12h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.zhanpay-rightbar i { display: none; }

/* ---------- 页脚 ---------- */
.VPFooter {
  margin-top: auto; padding: 40px 24px 32px; border-top: 1px solid var(--vp-c-gutter);
  background-color: var(--vp-c-bg-alt); transition: background-color 0.25s;
}
.VPFooter-container { margin: 0 auto; max-width: 1152px; }
.VPFooter-main { display: flex; flex-direction: column; gap: 32px; }
.VPFooter-brand { display: flex; align-items: flex-start; }
.VPFooter-logo svg { height: 32px; width: auto; aspect-ratio: 267.31 / 52.92; }
.VPFooter-logo .VPBrand-text { font-size: 22px; }
.VPFooter-tm { margin-left: 2px; font-size: 10px; font-weight: 600; line-height: 1; color: var(--vp-c-text-3); }
.VPFooter-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.VPFooter-col { display: flex; flex-direction: column; min-width: 0; }
.VPFooter-colTitle { margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 24px; color: var(--vp-c-text-1); }
.VPFooter-col a { font-size: 14px; line-height: 28px; color: var(--vp-c-text-2); transition: color 0.25s; }
.VPFooter-col a:hover { color: var(--vp-c-brand-1); }
.VPFooter-qr img {
  width: 96px; height: 96px; padding: 4px; border: 1px solid var(--vp-c-divider); border-radius: 8px;
  background-color: #ffffff; object-fit: contain;
}
.zhanpay-index-footer-custom {
  margin-top: 24px; font-size: 13px; line-height: 22px; color: var(--vp-c-text-2); text-align: center; overflow-wrap: anywhere;
}
.zhanpay-index-footer-custom a { color: var(--vp-c-text-2); text-decoration: underline; text-underline-offset: 2px; }
.VPFooter-bottom {
  display: flex; flex-direction: column; gap: 6px; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--vp-c-divider); font-size: 12px; line-height: 20px; color: var(--vp-c-text-3); text-align: center;
}
.VPFooter-line { overflow-wrap: anywhere; }
.VPFooter-bottom a { color: var(--vp-c-text-2); transition: color 0.25s; }
.VPFooter-bottom a:hover, .zhanpay-index-footer-custom a:hover { color: var(--vp-c-brand-1); }
.VPFooter n { display: inline-block; margin: 0 8px; color: var(--vp-c-border); }

@media (min-width: 640px) {
  .VPFooter-columns { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; }
}
@media (min-width: 768px) {
  .VPFooter { padding: 48px 32px 32px; }
  .VPFooter-columns { grid-template-columns: repeat(5, minmax(0, auto)); gap: 24px 48px; }
}
@media (min-width: 960px) {
  .VPFooter-main { flex-direction: row; justify-content: space-between; gap: 48px; }
}
