/*
 * Layout/card/button adaptations: shadcn-landing-page
 * https://github.com/leoMirandaa/shadcn-landing-page
 * Revision: ae3716dbce5c8a26815222bb743994b5717938f1
 *
 * MIT License
 * Copyright (c) 2024 Leopoldo Miranda
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
 * LCA 网页全部外观与亮暗配色集中于本主题文件。
 */
:root {
  color-scheme: light;
  --background: #f7f8f5;
  --card: #ffffff;
  --surface: #eef2ec;
  --text: #25352b;
  --text-secondary: #6c776f;
  --border: #dfe5dc;
  --accent: #356349;
  --accent-hover: #284d38;
  --accent-text: #ffffff;
  --accent-soft: #e9f0e6;
  --shadow: 0 18px 54px -22px color-mix(in srgb, var(--text) 20%, transparent);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background: var(--background);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --background: #141b17;
    --card: #1b251f;
    --surface: #202e25;
    --text: #edf3ed;
    --text-secondary: #a5b5a9;
    --border: #314236;
    --accent: #a1c9a5;
    --accent-hover: #b7d9b9;
    --accent-text: #17291c;
    --accent-soft: #283c2c;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a, button, input, select { transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
svg { display: block; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip-link { position: absolute; top: 8px; left: 16px; padding: 10px 16px; background: var(--card); border: 1px solid var(--accent); border-radius: 8px; z-index: 2; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 24px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 23px; letter-spacing: -.04em; font-weight: 800; line-height: 1.3; }
.brand-mark { display: block; flex-shrink: 0; width: 43px; height: 43px; object-fit: contain; }
.brand-caption { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; letter-spacing: .08em; color: var(--text-secondary); }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.nav-link { color: var(--text-secondary); }
.nav-link:hover, .text-link:hover, .site-footer > a:last-child:hover { color: var(--accent); text-decoration: underline; }
.nav-button { display: inline-flex; align-items: center; gap: 20px; border: 1px solid var(--border); padding: 9px 16px; border-radius: 8px; background: var(--card); font-weight: 600; }
.nav-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 76px; padding-top: 68px; padding-bottom: 80px; align-items: start; }
.hero-copy { min-width: 0; padding-top: 17px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .055em; }
.status-dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); margin: 0 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(36px, 4.1vw, 54px); font-weight: 750; line-height: 1.43; letter-spacing: -.055em; }
.title-accent { color: var(--accent); }
.hero-description { color: var(--text-secondary); font-size: 15px; line-height: 1.95; margin-bottom: 21px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 600; }
.text-link > span { font-size: 19px; line-height: 1; }
.support-stats { display: flex; align-items: center; gap: 42px; padding: 30px 0; margin-top: 34px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.support-stats > div + div { padding-left: 38px; border-left: 1px solid var(--border); }
.stat-label { display: block; color: var(--text-secondary); font-size: 11px; margin-bottom: 8px; }
.support-stats strong { font-family: system-ui, "Microsoft YaHei UI", sans-serif; font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.currency { font-size: 18px; font-weight: 500; }
.stat-unit { margin-left: 10px; font-size: 11px; letter-spacing: 0; font-weight: 400; color: var(--text-secondary); }
.project-note { margin-top: 36px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.note-heading { display: flex; align-items: center; gap: 10px; }
.note-symbol { color: var(--accent); font-size: 25px; line-height: 1; }
.note-heading h2 { margin: 0; font-size: 14px; font-weight: 600; }
.project-note p { margin: 15px 0 20px; font-size: 12px; line-height: 1.9; color: var(--text-secondary); }
.note-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.note-tags span { border: 1px solid var(--border); border-radius: 5px; padding: 3px 9px; font-size: 10px; color: var(--text-secondary); background: var(--background); }
.personal-note { margin: 20px 0 0; color: var(--text-secondary); font-size: 11px; }
.card { border-radius: 16px; border: 1px solid var(--border); background: var(--card); color: var(--text); box-shadow: 0 1px 2px color-mix(in srgb, var(--text) 3%, transparent); }
.support-card { box-shadow: var(--shadow); min-width: 0; scroll-margin-top: 24px; }
.card-header { display: flex; align-items: center; gap: 16px; padding: 26px 28px 23px; border-bottom: 1px solid var(--border); }
.coffee-icon { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border-radius: 12px; width: 48px; height: 48px; flex-shrink: 0; }
.coffee-icon svg { width: 29px; height: 29px; }
.card-header h2 { margin: 0 0 4px; font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.card-description { color: var(--text-secondary); font-size: 11px; margin: 0; }
.card-content { padding: 23px 28px 21px; }
.amount-options { min-width: 0; padding: 0; margin: 0 0 21px; border: 0; }
.amount-options legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; }
.amount-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.amount-choice { display: flex; flex-direction: column; align-items: center; padding: 12px 4px 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); border-radius: 9px; min-width: 0; }
.amount-choice strong { display: flex; align-items: baseline; gap: 3px; font-family: system-ui, sans-serif; font-size: 23px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; }
.amount-choice strong span { font-size: 12px; font-weight: 400; }
.amount-choice > span { color: var(--text-secondary); font-size: 10px; margin-top: 3px; }
.amount-choice:hover, .amount-choice[aria-pressed=true] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.amount-choice[aria-pressed=true] { box-shadow: inset 0 0 0 1px var(--accent); }
.amount-choice[aria-pressed=true] > span { color: var(--accent); }
.amount-label { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 8px; }
.amount-label label, .field label { font-size: 12px; font-weight: 600; }
.amount-label > span { color: var(--text-secondary); font-size: 10px; }
.amount-input { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--background); }
.amount-input:focus-within { border-color: var(--accent); }
.amount-input > span:first-child { font-size: 19px; color: var(--text-secondary); }
.amount-input > span:last-child { font-size: 12px; color: var(--text-secondary); }
#amount { width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--text); font-family: system-ui, sans-serif; font-size: 27px; font-weight: 550; line-height: 1.5; }
.field { margin-top: 15px; }
.field label { display: flex; justify-content: space-between; margin-bottom: 7px; }
.field label span { color: var(--text-secondary); font-size: 10px; font-weight: 400; }
.field input, .field select { display: block; width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; color: var(--text); background: var(--card); font-size: 12px; line-height: 1.5; }
.field input::placeholder { color: var(--text-secondary); font-size: 11px; }
.field input:hover, .field select:hover { border-color: var(--text-secondary); }
.payment-field { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 0 13px; margin-top: 0; border-bottom: 1px solid var(--border); }
.payment-field label { flex-shrink: 0; margin: 0; }
.payment-field select { width: 145px; background: var(--background); padding: 6px 9px; }
.public-choice { display: flex; gap: 9px; align-items: flex-start; margin: 20px 0; font-size: 11px; cursor: pointer; }
.public-choice input { flex-shrink: 0; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--accent); }
.public-choice small { display: block; font-size: 10px; color: var(--text-secondary); margin-top: 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.submit-button { width: 100%; justify-content: space-between; padding-left: 20px; padding-right: 20px; }
.button > span { font-size: 20px; line-height: 1; font-weight: 400; }
.wall { border-top: 1px solid var(--border); padding-top: 50px; padding-bottom: 44px; scroll-margin-top: 28px; }
.wall-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.wall-heading .eyebrow { margin-bottom: 12px; font-size: 10px; }
.wall h2 { margin: 0 0 10px; font-size: 32px; font-weight: 650; letter-spacing: -.04em; line-height: 1.5; }
.section-description { margin: 0; color: var(--text-secondary); font-size: 12px; }
.wall-count { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; background: var(--accent-soft); border-radius: 7px; color: var(--accent); font-size: 10px; white-space: nowrap; }
.sponsors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; align-items: start; }
.sponsor-card { position: relative; min-width: 0; min-height: 164px; padding: 23px; border-radius: 11px; overflow-wrap: anywhere; }
.sponsor-heading { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; border-radius: 50%; font-size: 14px; color: var(--accent); background: var(--accent-soft); }
.sponsor-name { flex: 1; min-width: 0; }
.sponsor-name strong { display: block; font-size: 12px; font-weight: 600; }
.sponsor-name time { display: block; margin-top: 3px; font-size: 9px; color: var(--text-secondary); }
.sponsor-amount { flex-shrink: 0; padding: 3px 8px; border: 1px solid var(--border); border-radius: 5px; color: var(--accent); font-family: system-ui, sans-serif; font-size: 11px; }
.sponsor-message { font-size: 12px; line-height: 1.9; margin: 20px 0 17px; }
.quiet-thanks { color: var(--text-secondary); }
.thanks-mark { position: absolute; bottom: 11px; right: 20px; color: var(--accent); font-size: 20px; line-height: 1; }
.empty-wall { display: flex; align-items: center; gap: 26px; padding: 38px; border: 1px dashed var(--border); background: var(--surface); border-radius: 12px; }
.empty-heart { display: grid; place-items: center; flex-shrink: 0; width: 72px; height: 72px; font-size: 47px; color: var(--accent); background: var(--card); border: 1px solid var(--border); border-radius: 50%; line-height: 1; }
.empty-wall h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.empty-wall p { color: var(--text-secondary); font-size: 12px; line-height: 1.9; margin: 0; }
.empty-wall .text-link { margin-left: auto; }
.wall-bottom { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding-top: 20px; }
.pagination { color: var(--text-secondary); font-size: 10px; margin: 0; }
.pagination { display: flex; gap: 16px; flex-shrink: 0; }
.pagination a { color: var(--accent); }
.pagination a:hover { text-decoration: underline; }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 28px; min-height: 110px; border-top: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 16px; font-family: system-ui, sans-serif; font-size: 17px; font-weight: 700; }
.footer-brand span { color: var(--text-secondary); font-family: "Microsoft YaHei UI", sans-serif; font-size: 10px; font-weight: 400; }
.site-footer p, .site-footer > a:last-child { color: var(--text-secondary); font-size: 10px; margin: 0; }
.result { max-width: 620px; text-align: center; margin: 72px auto; padding: 44px; box-shadow: var(--shadow); }
.result-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 36px; line-height: 1; }
.result .eyebrow { justify-content: center; margin-bottom: 16px; }
.result h1 { font-size: 34px; line-height: 1.5; margin-bottom: 22px; }
.result-description { font-size: 13px; line-height: 1.95; color: var(--text-secondary); overflow-wrap: anywhere; }
.result-description strong { color: var(--text); font-family: system-ui, sans-serif; font-size: 20px; }
.result form { margin: 28px 0 20px; }
.result .button { margin-top: 10px; }
.hint { color: var(--text-secondary); font-size: 12px; }
.sponsorship-purpose { margin: 12px 0 0; text-align: center; }
@media (max-width: 1050px) {
  .hero { gap: 40px; }
  h1 { font-size: 42px; }
  .support-stats { gap: 24px; }
  .support-stats > div + div { padding-left: 24px; }
  .support-stats strong { font-size: 27px; }
  .card-header { padding-left: 22px; padding-right: 22px; }
  .card-content { padding-left: 22px; padding-right: 22px; }
  .sponsors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 34px; padding-bottom: 48px; }
  .hero-copy { padding-top: 0; }
  h1 { font-size: clamp(30px, 7.6vw, 44px); letter-spacing: -.05em; line-height: 1.5; margin-bottom: 20px; }
  .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .hero-description { font-size: 13px; margin-bottom: 16px; }
  .project-note, .personal-note { display: none; }
  .support-stats { margin-top: 26px; padding: 22px 0; gap: 38px; }
  .support-stats > div + div { padding-left: 32px; }
  .support-stats strong { font-size: 29px; }
  .hero .support-card { max-width: 560px; width: 100%; justify-self: center; }
  .wall { padding-top: 34px; }
  .wall h2 { font-size: 27px; }
  .wall-heading { align-items: flex-start; flex-wrap: wrap; gap: 18px; }
  .empty-wall { flex-wrap: wrap; padding: 26px; gap: 20px; }
  .empty-wall .text-link { margin-left: 0; }
  .wall-bottom { flex-direction: column; align-items: flex-start; gap: 15px; }
  .site-footer { padding-top: 26px; padding-bottom: 26px; }
  .site-footer p { order: 2; width: 100%; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .site-header { min-height: 84px; gap: 14px; }
  .brand { font-size: 20px; gap: 9px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-caption { font-size: 8px; letter-spacing: 0; }
  .site-header nav { gap: 14px; font-size: 11px; }
  .nav-button { padding: 7px 10px; gap: 10px; }
  .nav-link { display: none; }
  .hero-description br { display: none; }
  .support-stats { gap: 26px; }
  .support-stats > div + div { padding-left: 24px; }
  .support-stats strong { font-size: 26px; }
  .stat-unit { margin-left: 8px; font-size: 10px; }
  .card-header { padding: 23px 20px 20px; gap: 12px; }
  .card-header h2 { font-size: 17px; }
  .coffee-icon { width: 42px; height: 42px; }
  .coffee-icon svg { width: 25px; height: 25px; }
  .card-content { padding: 20px; }
  .amount-grid { gap: 7px; }
  .amount-choice strong { font-size: 21px; }
  .amount-choice > span { font-size: 9px; }
  .amount-label > span { font-size: 9px; }
  .sponsors { grid-template-columns: 1fr; gap: 12px; }
  .sponsor-card { padding: 22px; min-height: 155px; }
  .empty-wall { align-items: flex-start; }
  .empty-heart { width: 52px; height: 52px; font-size: 35px; }
  .empty-wall h3 { font-size: 13px; }
  .empty-wall p { font-size: 11px; }
  .empty-wall .text-link { width: 100%; margin-top: 2px; }
  .result { margin: 38px auto; padding: 30px 22px; }
  .result h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  a, button, input, select { transition: none; }
}
