/* An independent page: no dependency on homepage styles or a third-party runtime. */
:root {
  color-scheme: light;
  --bg: #fcfcff;
  --text: #24283e;
  --muted: #606981;
  --line: #e8e5f0;
  --accent: #7360b7;
  --accent-hover: #57428f;
  --soft: #f1eefb;
  --focus: #6550ba;
  --font: 'Segoe UI Variable Text', 'Segoe UI', 'Microsoft YaHei UI', sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #101322;
  --text: #f2f3ff;
  --muted: #a7afc8;
  --line: #30344b;
  --accent: #b6a9ff;
  --accent-hover: #d4cbff;
  --soft: #1c2035;
  --focus: #b6a9ff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #101322;
    --text: #f2f3ff;
    --muted: #a7afc8;
    --line: #30344b;
    --accent: #b6a9ff;
    --accent-hover: #d4cbff;
    --soft: #1c2035;
    --focus: #b6a9ff;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.85 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
button { color: inherit; font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
[data-lang='en'] { display: none; }
:root[data-language='en'] [data-lang='zh-CN'] { display: none; }
:root[data-language='en'] [data-lang='en'] { display: revert; }
.js-only { display: none; }
.js .js-only { display: inline-flex; }
.shell { width: min(880px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 12px; left: 16px; padding: 8px 16px; background: var(--soft); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 20px; font-weight: 650; letter-spacing: -.5px; }
.brand img { border-radius: 10px; }
.header-links { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.header-links a { color: var(--muted); text-decoration: none; }
.text-button, .theme-button { padding: 0; border: 0; background: none; }
.text-button { color: var(--muted); min-height: 40px; align-items: center; }
.theme-button { width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--soft); border-radius: 50%; }
.theme-button svg { width: 19px; height: 19px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sun-icon { display: none; }
:root[data-theme='dark'] .sun-icon { display: block; }
:root[data-theme='dark'] .moon-icon { display: none; }
.intro { position: relative; text-align: center; padding: 51px 0 68px; }
.intro-star { width: 54px; height: 54px; margin-bottom: 22px; fill: var(--accent); }
h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.4; font-weight: 550; letter-spacing: -.035em; text-wrap: balance; }
.intro-copy { max-width: 660px; margin: 24px auto 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.support-note { margin: 23px auto 0; color: var(--muted); font-size: 14px; }
.acknowledgement-cta { margin: 28px auto 0; text-align: center; }
.acknowledgement-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 9px; background: var(--accent); color: var(--bg); font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; box-shadow: 0 6px 18px #7360b72a; }
.acknowledgement-button:hover { background: var(--accent-hover); color: var(--bg); }
.acknowledgement-button:focus-visible { border-radius: 9px; outline-offset: 5px; }
.acknowledgement-button svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.project-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 22px; font-size: 14px; text-decoration: none; font-weight: 600; }
.project-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.donation-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.qr-panel { display: none; max-width: 430px; margin: 20px auto 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); text-align: center; scroll-margin-top: 24px; }
.qr-panel:target { display: block; }
.intro:has(#pay-wechat:target) a[href='#pay-wechat'], .intro:has(#pay-alipay:target) a[href='#pay-alipay'] { outline: 2px solid var(--accent); outline-offset: 3px; }
.qr-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.qr-heading h2 { margin: 0; font-size: 18px; }
.qr-close { color: var(--accent); font-size: 14px; padding: 8px 0 8px 12px; }
.payment-code { display: block; max-width: 100%; width: 290px; height: auto; margin: 0 auto 18px; background: white; border-radius: 4px; }
.qr-panel p { font-size: 14px; line-height: 1.75; color: var(--muted); }
.qr-unavailable { padding: 18px 0; }
.qr-local-form { display: inline-flex; margin-top: 8px; color: var(--accent); font-weight: 600; }
.qr-panel:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.button { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; padding: 9px 21px; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.supporters-section { padding: 16px 0 68px; }
.section-heading { display: flex; align-items: center; justify-content: center; gap: 24px; }
.section-heading h2 { flex-shrink: 0; font-size: 23px; font-weight: 550; text-align: center; }
.heading-line { height: 1px; width: 85px; background: var(--line); }
.section-description { text-align: center; margin-top: 10px; color: var(--muted); font-size: 14px; }
.empty-state { max-width: 580px; margin: 44px auto 0; text-align: center; padding: 20px 30px 35px; }
.empty-orbit { width: 110px; height: 110px; overflow: visible; }
.empty-orbit circle { fill: none; stroke: var(--line); stroke-width: 1.3; }
.empty-orbit path { fill: var(--soft); stroke: var(--accent); stroke-width: 1.2; }
.empty-orbit .orbit-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 4; }
.empty-state h3 { margin-top: 12px; font-size: 18px; font-weight: 550; }
.empty-state p { max-width: 420px; margin: 12px auto 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.supporter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 140px)); justify-content: center; gap: 38px 18px; margin: 54px 0 0; padding: 0; list-style: none; }
.supporter-grid li { min-width: 0; }
.supporter { display: flex; flex-direction: column; align-items: center; gap: 15px; height: 100%; padding: 7px 4px; color: var(--text); text-decoration: none; text-align: center; }
.avatar-frame { display: inline-flex; width: 104px; height: 104px; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.avatar-frame img, .avatar-initials { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--accent); font-size: 25px; font-weight: 500; }
.supporter-name { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; line-height: 1.6; }
a.supporter:hover .avatar-frame { border-color: var(--accent); }
.email-acknowledgement { max-width: 680px; margin: 44px auto 0; padding-top: 28px; border-top: 1px solid var(--line); text-align: left; scroll-margin-top: 24px; }
.email-acknowledgement h2 { font-size: 19px; margin: 0 0 14px; }
.email-acknowledgement p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.email-acknowledgement .contact-address { margin-block: 16px 12px; font-size: 18px; color: var(--accent); overflow-wrap: anywhere; }
.email-acknowledgement .contact-private { font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; gap: 25px; padding-block: 42px 32px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.footer-links a { text-decoration: none; }
.footer-links a:last-child { margin-left: 12px; }
@media (max-width: 600px) {
  .shell { width: calc(100% - 40px); }
  .site-header { padding-block: 17px; }
  .header-links { gap: 16px; }
  .home-link { display: none; }
  .intro { padding: 42px 0 52px; }
  .intro-star { width: 46px; height: 46px; margin-bottom: 20px; }
  h1 { font-size: 35px; }
  .intro-copy { margin-top: 22px; font-size: 16px; }
  .desktop-break { display: none; }
  .support-note { max-width: 290px; font-size: 13px; }
  .acknowledgement-button { width: 100%; max-width: 340px; padding-inline: 16px; }
  .section-heading { gap: 15px; }
  .section-heading h2 { font-size: 19px; flex-shrink: 1; }
  .heading-line { width: 34px; flex-shrink: 1; }
  .section-description { font-size: 13px; }
  .empty-state { padding-inline: 12px; margin-top: 28px; }
  .empty-state h3 { font-size: 17px; }
  .empty-state p { font-size: 14px; }
  .supporters-section { padding-bottom: 43px; }
  .supporter-grid { grid-template-columns: repeat(auto-fit, minmax(95px, 104px)); column-gap: 10px; row-gap: 30px; margin-top: 36px; }
  .avatar-frame { width: 92px; height: 92px; }
  .avatar-frame img, .avatar-initials { width: 78px; height: 78px; }
  .site-footer { flex-direction: column; align-items: center; gap: 15px; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
