/* 阿联酋红新月会独立推广页：红色行动按钮、白色内容面与深灰正文。资源本地加载。 */
:root {
  --paper: #fafafa;
  --white: #fff;
  --ink: #282a2e;
  --muted: #64666d;
  --line: #e2e3e6;
  --accent: #bd202d;
  --accent-dark: #981825;
  --brand-ink: #30302f;
  --soft: #f4f5f7;
  --highlight: #f7d8dc;
  --radius: 18px;
  --shadow: 0 18px 48px rgb(30 32 36 / 8%);
  --activity-dock-top: clamp(80px, 12vh, 132px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--activity-dock-bottom, 0px) + 24px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
a, button, label { touch-action: manipulation; }
p, h1, h2, h3 { margin: 0; }
svg { display: block; max-width: 100%; }
::selection { background: #f1d6da; color: var(--ink); }
:focus-visible { outline: 3px solid #bd202d; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -80px; inset-inline-start: 20px; padding: 12px 20px; z-index: 100; background: var(--brand-ink); color: white; border-radius: 8px; }
.skip:focus { top: 12px; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* 导航 */
.topline { background: #25272b; color: #fcf1f3; font-size: 12px; }
.topline .wrap, .language-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar-tools { display: flex; align-items: center; gap: 24px; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; }
.status-badge::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #d99aa1; }
.language-picker { position: relative; flex-shrink: 0; z-index: 60; padding-block: 6px; }
.language-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 138px; min-height: 44px; padding: 8px 13px; border: 1px solid #ffffff45; border-radius: 100px; background: #ffffff0c; color: #fcf1f3; font-size: 14px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; transition: background .18s, border-color .18s, color .18s; }
.language-trigger::-webkit-details-marker { display: none; }
.language-trigger::marker { content: ""; }
.language-trigger:hover { background: #ffffff1c; border-color: #ffffff80; }
.language-trigger:focus-visible { outline-color: var(--highlight); outline-offset: 3px; }
.language-trigger bdi { flex: 1; text-align: center; white-space: nowrap; }
.language-globe { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-chevron { width: 14px; height: 14px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.language-picker[open] .language-trigger { color: var(--brand-ink); background: #fcf1f3; border-color: #fcf1f3; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 5px); width: 264px; max-width: calc(100vw - 32px); padding: 10px; border: 1px solid #e3e5e8; border-radius: 18px; background: #fcf1f3; color: var(--ink); box-shadow: 0 18px 48px #25272b24, 0 3px 9px #25272b0b; }
.language-picker[open] .language-menu { animation: language-appear .16s ease-out; }
.language-menu-title { margin: 2px 7px 9px; padding: 5px 3px 10px; border-bottom: 1px solid #e3e5e8; color: #62656c; font-size: 12px; font-weight: 500; }
.language-option { display: flex; width: 100%; min-height: 66px; align-items: center; gap: 12px; padding: 10px; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 11px; text-align: start; transition: background .16s, border-color .16s; }
.language-option + .language-option { margin-top: 4px; }
.language-option:hover { background: #f4f5f7; }
.language-option[aria-pressed="true"] { background: #f4f5f7; border-color: #e3e5e8; }
.language-option:focus-visible { outline: 2px solid #bd202d; outline-offset: 1px; }
.language-letter { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid #e3e5e8; border-radius: 10px; background: #fcf1f3; color: #62656c; font-size: 17px; font-weight: 600; }
.language-option[aria-pressed="true"] .language-letter { background: #25272b; border-color: #25272b; color: #fcf1f3; }
.language-option-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; }
.language-native { font-size: 15px; font-weight: 650; line-height: 1.55; }
.language-caption { font-size: 12px; font-weight: 400; line-height: 1.5; color: #62656c; }
.language-check { visibility: hidden; width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: #25272b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.language-option[aria-pressed="true"] .language-check { visibility: visible; }
.language-mobile { display: none; position: relative; flex-shrink: 0; min-width: 128px; }
.language-native-select { display: block; appearance: none; -webkit-appearance: none; width: 100%; min-height: 44px; padding: 8px 36px; border: 1px solid #ffffff45; border-radius: 100px; background: #ffffff0c; color: #fff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; cursor: pointer; }
.language-native-select option { background: #fff; color: var(--ink); }
.language-native-select:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }
.language-mobile .language-globe, .language-mobile .language-chevron { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.language-mobile .language-globe { inset-inline-start: 11px; }
.language-mobile .language-chevron { inset-inline-end: 11px; }
@media (max-width: 760px), (pointer: coarse) {
  .language-picker { display: none; }
  .language-mobile { display: block; padding-block: 6px; }
}
@keyframes language-appear { from { opacity: .65; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.header { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border-bottom: 1px solid #e3e5e8; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand > div { min-width: 0; }
.brand-symbol { width: 46px; height: 46px; color: var(--brand-ink); flex-shrink: 0; }
.brand-name { font-size: 25px; font-weight: 750; letter-spacing: .035em; line-height: 1.35; }
.brand-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 14px; flex-shrink: 0; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; position: relative; transition: color .18s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 3px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .18s; }
.nav a:hover { color: var(--accent); }
.nav a:hover::after { transform: scaleX(1); }
.header-action, .closing-action { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 12px 21px; color: white; background: var(--accent); border-radius: 100px; font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .18s, transform .18s; }
.header-action:hover, .closing-action:hover { background: var(--accent-dark); transform: translateY(-2px); }
.header-action .icon { width: 18px; height: 18px; }

/* 首屏：内容与捐款入口并列，自动随阅读方向镜像。 */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 404px; grid-template-areas: "copy donate" "photo donate" "values values"; gap: 26px 56px; padding-top: 44px; align-items: start; }
.hero-copy { grid-area: copy; min-width: 0; padding-top: 8px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #941c29; font-size: 12px; font-weight: 650; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.eyebrow span { color: var(--accent); }
h1 { font-size: clamp(52px, 5vw, 72px); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; }
h1 em { font-style: normal; color: var(--accent); position: relative; display: inline-block; }
h1 em::after { content: ""; position: absolute; inset-inline: 0; bottom: -8px; height: 7px; border-top: 2px solid #d99aa1; border-radius: 50%; transform: rotate(-3deg); }
.hero-description { margin-top: 28px; max-width: 580px; font-size: 16px; line-height: 1.95; color: #62656c; }
.hero-principle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #25272b; margin-top: 21px; }
.hero-principle .icon { width: 18px; height: 18px; }
.hero-invitation { border-inline-start: 2px solid #bd202d; padding-inline-start: 14px; color: #941c29; font-size: 14px; margin-top: 18px; line-height: 1.8; }
.landscape { grid-area: photo; position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: #e3e5e8; box-shadow: 0 16px 30px #25272b0c; }
.landscape > img { width: 100%; height: auto; display: block; }
.art-label { position: absolute; z-index: 1; inset-inline-start: 18px; top: 18px; font-size: 11px; color: #fff; background: #25272bdd; border: 1px solid #ffffff3d; border-radius: 100px; padding: 5px 12px; }
.art-caption { position: relative; padding: 18px 23px; background: #25272b; display: flex; align-items: end; justify-content: space-between; gap: 20px; color: #fcf1f3; font-size: 18px; line-height: 1.6; }
.art-caption small { display: block; font-size: 12px; color: #e3e5e8; margin-top: 6px; }
.art-caption a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; flex-shrink: 0; text-decoration: underline; text-underline-offset: 4px; }

/* 捐款卡片 */
.donate-card { grid-area: donate; min-width: 0; background: #fcf1f3; border: 1px solid #e3e5e8; border-radius: 25px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 24px; }
.card-heading { padding: 23px 25px 25px; color: #fcf1f3; background: radial-gradient(ellipse at 0 0, #25272b, transparent 80%), #25272b; position: relative; }
.card-heading::after { content: ""; position: absolute; width: 126px; height: 126px; border: 1px solid #ffffff12; border-radius: 50%; inset-inline-end: -58px; top: -42px; box-shadow: 0 0 0 22px #ffffff04, 0 0 0 45px #ffffff03; pointer-events: none; }
.card-kicker { display: flex; justify-content: space-between; align-items: center; gap: 15px; color: #f1d6da; font-size: 12px; margin-bottom: 13px; position: relative; z-index: 1; }
.card-kicker .icon { width: 23px; height: 23px; color: #d99aa1; fill: #d99aa11c; }
.card-heading h2 { font-size: 25px; line-height: 1.5; font-weight: 650; position: relative; z-index: 1; }
.card-heading p { font-size: 13px; margin-top: 6px; line-height: 1.8; color: #e3e5e8; }
.payment-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid #e3e5e841; border-radius: 100px; color: #fcf1f3; margin-top: 0; font-size: 11px; }
.payment-chip .icon { width: 16px; height: 16px; }
.donate-form { padding: 24px 25px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { display: flex; align-items: center; font-size: 13px; font-weight: 650; margin-bottom: 12px; padding: 0; }
.step { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #f4f5f7; font-size: 11px; font-weight: 600; color: #62656c; margin-inline-end: 8px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid #e3e5e8; background: #f4f5f7; border-radius: 11px; }
.segmented label { min-width: 0; position: relative; cursor: pointer; }
.segmented label span { min-height: 43px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; color: #627264; transition: background .18s, color .18s; }
.segmented input:checked + span { background: var(--brand-ink); color: #fcf1f3; box-shadow: 0 3px 6px #25272b18; font-weight: 650; }
.segmented .icon { width: 16px; height: 16px; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-top: 5px; }
.amount { position: relative; cursor: pointer; min-width: 0; }
.amount > span { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 73px; padding: 9px 1px; border: 1px solid #e3e5e8; border-radius: 11px; background: #fcf1f3; color: #25272b; font-size: 23px; line-height: 1.2; font-weight: 700; transition: border-color .18s, background .18s; }
.amount small { font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-top: 5px; }
.amount input:checked + span { border-color: var(--accent); background: #fcf1f3; color: #941c29; box-shadow: inset 0 0 0 1px var(--accent); }
.amount .suggestion { position: absolute; top: -8px; inset-inline-end: 4px; background: var(--accent); color: #fcf1f3; font-size: 9px; border-radius: 5px; padding: 1px 5px; font-weight: 500; line-height: 1.6; }
.custom-amount { display: flex; align-items: center; gap: 8px; border: 1px solid #e3e5e8; background: #fcf1f3; border-radius: 11px; margin-top: 11px; min-height: 52px; padding-inline: 13px; }
.custom-amount:focus-within { border-color: var(--brand-ink); box-shadow: 0 0 0 3px #25272b18; }
.custom-amount input { border: 0; background: transparent; width: 100%; min-width: 0; padding: 11px 0; color: var(--ink); font-size: 16px; }
.custom-amount input:focus-visible { outline: 0; }
.custom-amount input::placeholder { font-size: 13px; color: #6d756b; }
.custom-amount .currency { direction: ltr; color: #62656c; font-size: 12px; border-inline-start: 1px solid var(--line); padding-inline-start: 10px; white-space: nowrap; }
.purpose-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.purpose { min-width: 0; cursor: pointer; }
.purpose span { display: flex; align-items: center; gap: 7px; height: 100%; min-height: 45px; padding: 8px 10px; border: 1px solid #e3e5e8; border-radius: 10px; color: #62656c; font-size: 12px; line-height: 1.6; transition: border-color .18s, background .18s; }
.purpose span::before { content: ""; width: 10px; height: 10px; border: 1px solid #aeb2b9; border-radius: 50%; flex-shrink: 0; }
.purpose input:checked + span { background: #f4f5f7; border-color: #aeb2b9; color: #25272b; font-weight: 650; }
.purpose input:checked + span::before { background: #25272b; border: 2px solid #f4f5f7; box-shadow: 0 0 0 1px #25272b; }
.segmented input:focus-visible + span, .amount input:focus-visible + span, .purpose input:focus-visible + span { outline: 3px solid #bd202d; outline-offset: 3px; }
.error { font-size: 12px; color: #bd202d; margin-top: 8px; }
.error:empty { display: none; }
.summary-line { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; background: #f4f5f7; border: 1px solid #e3e5e8; border-radius: 11px; padding: 13px 14px; font-size: 12px; color: #62656c; }
.total { font-variant-numeric: tabular-nums; unicode-bidi: isolate; font-size: 27px; font-weight: 750; color: #25272b; line-height: 1.4; white-space: nowrap; }
.submit { width: 100%; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; margin-top: 14px; border-radius: 12px; background: var(--accent); color: #fcf1f3; font-size: 16px; font-weight: 650; box-shadow: 0 7px 18px #941c2920; transition: background .18s, transform .18s; }
.submit > span { min-width: 0; overflow-wrap: break-word; }
.submit .icon { width: 19px; height: 19px; }
.submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.submit:active { transform: translateY(0); }
.submit:disabled { background: #e3e5e8; color: #62656c; border: 1px solid #e3e5e8; box-shadow: none; cursor: not-allowed; transform: none; }
.giving-note { text-align: center; margin-top: 13px; font-size: 12px; color: #bd202d; }
.payment-hint { display: flex; align-items: start; gap: 7px; margin-top: 12px; color: #62656c; font-size: 12px; line-height: 1.75; }
.payment-hint .icon { width: 15px; height: 15px; margin-top: 3px; }
.payment-network { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.payment-network strong { color: var(--brand-ink); font-weight: 650; }
.payment-context { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.subscription-network { color: var(--brand-ink); font-size: 12px; margin-block: 12px; }

/* 援助方向与纪实内容 */
.values { grid-area: values; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 27px 0; margin-top: 4px; border-block: 1px solid #e3e5e8; }
.value { display: flex; align-items: center; gap: 15px; min-width: 0; }
.value + .value { border-inline-start: 1px solid #e3e5e8; padding-inline-start: 28px; }
.value > .icon { width: 46px; height: 46px; padding: 11px; background: #f4f5f7; border-radius: 14px; color: #62656c; }
.value h3 { font-size: 14px; font-weight: 650; }
.value p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.foundation-intro { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; margin-top: 64px; padding: 44px; border: 1px solid #e3e5e8; border-radius: 24px; background: #fcf1f3; }
.foundation-identity { padding-inline-end: 36px; border-inline-end: 1px solid #f1d6da; min-width: 0; }
.foundation-identity .section-label { color: var(--brand-ink); font-weight: 650; }
.foundation-identity h2 { max-width: 420px; font-size: 32px; line-height: 1.55; font-weight: 650; letter-spacing: -.025em; text-wrap: balance; }
.foundation-pledge { margin-top: 22px; color: #941c29; font-size: 14px; line-height: 1.9; }
.foundation-story { min-width: 0; align-self: center; }
.foundation-story > p:not(.section-label) { color: var(--muted); font-size: 15px; line-height: 1.95; }
.foundation-story > .foundation-campaign-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.foundation-focus { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 22px 0 16px; color: var(--brand-ink); font-size: 12px; }
.foundation-focus li { display: flex; gap: 8px; align-items: center; }
.foundation-focus li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #bd202d; flex-shrink: 0; }
.foundation-link { display: inline-flex; align-items: center; min-height: 44px; gap: 18px; color: var(--brand-ink); font-size: 14px; font-weight: 600; border-bottom: 1px solid #aeb2b9; }
.foundation-link:hover { color: var(--accent); border-color: currentColor; }
.foundation-link .icon { width: 17px; height: 17px; }
.section { padding-top: 85px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 32px; }
.section-top > div { min-width: 0; }
.section-label { display: flex; align-items: center; gap: 10px; color: #bd202d; font-size: 12px; font-weight: 500; margin-bottom: 13px; }
.section-index { display: inline-grid; place-items: center; width: 31px; height: 26px; border: 1px solid #d99aa1; border-radius: 100px; font-size: 11px; }
h2.section-title { font-size: 35px; line-height: 1.5; font-weight: 650; letter-spacing: -.035em; }
.section-intro { max-width: 360px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.aid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aid-item { background: #fcf1f3; border: 1px solid #e3e5e8; border-radius: 20px; padding: 9px 9px 25px; min-width: 0; }
.aid-art { height: 190px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: 13px; overflow: hidden; margin-bottom: 23px; }
.aid-art svg { width: 100%; height: 100%; }
.aid-number { position: absolute; top: 14px; inset-inline-start: 15px; color: #25272b; font-size: 11px; }
.aid-item h3 { font-size: 21px; font-weight: 650; margin: 0 14px 9px; line-height: 1.5; }
.aid-item p { font-size: 14px; color: var(--muted); line-height: 1.9; margin-inline: 14px; }
.aid-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #941c29; margin: 16px 14px 0; }
.aid-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 17px 14px 0; padding-top: 13px; border-top: 1px solid #e3e5e8; }
.aid-footer .aid-tag { margin: 0; }
.aid-choice { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; font-weight: 600; color: var(--brand-ink); }
.aid-choice:hover { color: var(--accent); }
.aid-choice .icon { width: 16px; height: 16px; }
.aid-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #bd202d; }
.photo-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.photo-story { margin: 0; min-width: 0; }
.photo-story:nth-child(2) { margin-top: 46px; }
.photo-story img { display: block; width: 100%; height: auto; border-radius: 19px; background: #e3e5e8; }
.photo-story figcaption { padding: 22px 4px 0; }
.photo-date { color: #bd202d; font-size: 12px; margin-bottom: 9px; }
.photo-story h3 { font-size: 24px; font-weight: 650; line-height: 1.5; margin-bottom: 10px; }
.photo-story p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.photo-source { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: #25272b; text-decoration: underline; text-underline-offset: 4px; margin-top: 5px; }
.photo-context { margin-top: 32px; padding: 16px 19px; border-inline-start: 2px solid #aeb2b9; background: #f4f5f7; border-radius: 0 9px 9px 0; font-size: 12px; line-height: 1.85; color: #62656c; }
.photo-credits { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.photo-credits summary { min-height: 44px; display: list-item; padding-block: 9px; cursor: pointer; color: #25272b; }
.photo-credits ul { margin: 8px 0; padding-inline-start: 20px; }
.photo-credits li { padding: 4px 0; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }

/* 捐赠须知、问答与页尾行动 */
.commitment { position: relative; margin-top: 77px; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; border-radius: 27px; padding: 49px 48px; background: #25272b; color: #fcf1f3; overflow: hidden; }
.commitment::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 1px solid #e3e5e817; inset-inline-start: -125px; bottom: -225px; box-shadow: 0 0 0 50px #ffffff04, 0 0 0 100px #ffffff03; pointer-events: none; }
.commitment .section-label { color: #d99aa1; }
.commitment h2 { font-size: 34px; line-height: 1.6; font-weight: 550; }
.commitment p { color: #e3e5e8; font-size: 14px; line-height: 1.9; margin-top: 15px; max-width: 430px; }
.commitment-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #f1d6da; margin-top: 27px; }
.commitment-note .icon { width: 18px; height: 18px; }
.accountability { padding: 0; margin: 0; list-style: none; }
.accountability li { display: flex; gap: 18px; padding: 21px 0; border-bottom: 1px solid #ffffff26; }
.accountability li:first-child { padding-top: 0; }
.accountability li:last-child { padding-bottom: 0; border: 0; }
.accountability .num { color: #d99aa1; font-size: 12px; margin-top: 2px; }
.accountability h3 { font-size: 16px; font-weight: 600; }
.accountability p { font-size: 13px; margin-top: 6px; }
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 76px; padding: 85px 0; }
.faq-intro, .faq-list { min-width: 0; }
.faq-intro > p:last-child { color: var(--muted); font-size: 14px; margin-top: 17px; }
.faq-list { display: grid; gap: 12px; align-content: start; }
.faq-list details { border: 1px solid #e3e5e8; border-radius: 13px; background: #fcf1f3; }
.faq-list details[open] { background: #f4f5f7; border-color: #e3e5e8; }
.faq-list summary { position: relative; list-style: none; padding: 20px 23px; padding-inline-end: 54px; min-height: 62px; cursor: pointer; font-size: 15px; font-weight: 550; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; inset-inline-end: 21px; top: 16px; font-size: 23px; color: #62656c; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 23px 22px; color: #62656c; font-size: 14px; line-height: 1.95; }
.final-callout { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 40px 43px; border: 1px solid #f1d6da; border-radius: 24px; background: #f1d6da; margin-bottom: 54px; }
.final-callout .section-label { margin-bottom: 8px; }
.final-callout h2 { font-size: 30px; line-height: 1.6; font-weight: 650; }
.final-callout p:last-child { color: #941c29; font-size: 14px; margin-top: 8px; }
.closing-action { flex-shrink: 0; padding-inline: 25px; min-height: 54px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 26px; border-top: 1px solid #e3e5e8; padding: 31px 0 34px; color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-brand strong { font-size: 22px; color: var(--ink); }
.campaign-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--line); padding-block: 14px 24px; color: var(--muted); font-size: 12px; }
.campaign-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-right { display: flex; align-items: center; gap: 24px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* 配置页沿用相同的设计与交互规范。 */
.settings-wrap { width: min(1060px, calc(100% - 48px)); margin-inline: auto; }
.settings-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid var(--line); }
.settings-header strong { font-size: 26px; }
.settings-header a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--brand-ink); }
.settings-intro { padding: 43px 0 30px; }
.settings-intro h1 { font-size: 37px; line-height: 1.5; }
.settings-intro > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 750px; margin-top: 12px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 25px; padding-bottom: 48px; align-items: start; }
.settings-card { min-width: 0; background: #fcf1f3; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 12px 28px #25272b06; }
.settings-card h2 { font-size: 22px; line-height: 1.5; margin-bottom: 22px; }
.setting-field { margin-bottom: 23px; }
.setting-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.setting-field input, .setting-field select { width: 100%; min-height: 50px; border: 1px solid #e3e5e8; border-radius: 10px; padding: 11px 13px; background: #f4f5f7; color: var(--ink); font-size: 16px; }
.setting-field p { color: var(--muted); font-size: 12px; line-height: 1.85; margin-top: 7px; }
.settings-actions { display: grid; gap: 11px; margin-top: 22px; }
.settings-actions .submit { margin: 0; justify-content: center; }
.secondary-button { display: block; text-align: center; min-height: 48px; padding: 12px 17px; border: 1px solid #e3e5e8; border-radius: 10px; background: #f4f5f7; color: #25272b; font-size: 14px; cursor: pointer; }
.secondary-button:hover { background: #e3e5e8; }
.quiet-button { min-height: 44px; background: transparent; color: #62656c; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.settings-help { background: #fcf1f3; color: #941c29; padding: 15px 18px; border-radius: 11px; font-size: 13px; line-height: 1.9; margin-bottom: 21px; }
.link-preview { background: #f4f5f7; border: 1px solid #e3e5e8; border-radius: 11px; padding: 17px; color: #25272b; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; min-height: 96px; }
.example-label { font-size: 12px; color: #941c29; margin-bottom: 8px; }
.setting-steps { padding-inline-start: 20px; font-size: 13px; color: #62656c; }
.setting-steps li { padding: 7px 0; }
.setting-status { color: #25272b; font-size: 13px; line-height: 1.85; margin-top: 15px; }
.setting-status:empty { display: none; }
.setting-status[data-error="true"] { color: #bd202d; }
.settings-small { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 18px; }
.settings-card a:not(.secondary-button) { text-decoration: underline; text-underline-offset: 4px; }
.settings-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.url-example code { display: block; overflow-wrap: anywhere; text-align: left; font-size: 13px; color: var(--brand-ink); }
#payment-currency { color: #25272b; background: #f4f5f7; font-weight: 650; }
.custom-amount input, #sample-amount, #donation-url, #amount-param, #generated-link { direction: ltr; text-align: start; }
.preview-notice { background: #f1d6da; color: #941c29; padding: 11px 20px; text-align: center; font-size: 13px; }
.preview-notice a { display: inline-flex; align-items: center; min-height: 35px; margin-inline-start: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* 国际化：结构使用逻辑方向属性，金额与网址保持从左向右。 */
html[lang="en"] h1, html[lang="en"] .section-title, html[lang="en"] .final-callout h2 { font-family: inherit; font-weight: 750; letter-spacing: -.045em; }
html[lang="en"] .hero h1 { font-size: clamp(54px, 5.2vw, 74px); }
html:not([lang="zh-CN"]) .brand-name { letter-spacing: 0; }
html:not([lang="zh-CN"]) .hero-description br { display: none; }
html:not([lang="zh-CN"]) .brand-sub { max-width: 185px; }
[dir="rtl"] body { font-family: Tahoma, Arial, "PingFang SC", sans-serif; line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
[dir="rtl"] .hero h1 { font-size: clamp(47px, 4.3vw, 62px); line-height: 1.48; }
[dir="rtl"] .hero-description { line-height: 2; }

[dir="rtl"] .custom-amount input:placeholder-shown, [dir="rtl"] #donation-url:placeholder-shown { direction: rtl; text-align: start; }
[dir="rtl"] .custom-amount .currency { border-inline-start: 0; padding-inline-start: 0; border-inline-end: 1px solid var(--line); padding-inline-end: 10px; }
[dir="rtl"] .submit .icon, [dir="rtl"] .header-action .icon, [dir="rtl"] .closing-action .icon, [dir="rtl"] .aid-choice .icon { transform: scaleX(-1); }
[dir="rtl"] .photo-context { border-radius: 9px 0 0 9px; }
.hero-copy p, .section-intro, .aid-item p, .photo-story p, .faq-list p, .settings-intro p, .settings-small, .art-caption { overflow-wrap: break-word; }
.reveal { animation: arrive .3s ease-out both; }
@keyframes arrive { from { opacity: .85; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (hover: hover) {
  .amount:hover > span { border-color: #bd202d; }
  .purpose:hover span { border-color: #aeb2b9; }
  .aid-item { transition: box-shadow .2s, transform .2s; }
  .aid-item:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #25272b0b; }
}

@media (min-width: 761px) {
  .donate-form fieldset { margin-bottom: 18px; }
  .donate-form legend { margin-bottom: 10px; }
  .donate-form { padding-block: 22px; }
  .summary-line { padding-block: 10px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .hero { grid-template-columns: minmax(0, 1fr) 362px; column-gap: 32px; }
  .header { gap: 18px; }
  .brand-name { font-size: 23px; }
  .nav { gap: 15px; font-size: 12px; }
  .header-action { padding-inline: 17px; font-size: 13px; }
  .card-heading, .donate-form { padding-inline: 21px; }
  .hero h1 { font-size: 57px; }
  html[lang="en"] .hero h1 { font-size: 60px; }
  [dir="rtl"] .hero h1 { font-size: 47px; }
  .hero-description { font-size: 15px; }
  .art-caption { display: block; font-size: 16px; }
  .art-caption a { min-height: 34px; margin-top: 4px; }
  .card-heading h2 { font-size: 23px; }
  .purpose span { font-size: 11px; padding-inline: 8px; }
  .total { font-size: 25px; }
  .values { gap: 19px; }
  .value { gap: 11px; }
  .value + .value { padding-inline-start: 19px; }
  .aid-art { height: 165px; }
  .aid-item h3 { font-size: 19px; }
  .commitment { gap: 40px; padding: 38px; }
  .faq { gap: 40px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero { column-gap: 26px; grid-template-columns: minmax(0, 1fr) 340px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 50px; }
  [dir="rtl"] .hero h1 { font-size: 42px; }
  .hero-invitation { font-size: 13px; }
  .art-caption { font-size: 15px; padding: 14px 16px; }
  .hero-description { font-size: 14px; }
  .hero-principle { align-items: start; font-size: 12px; }
  .hero-principle .icon { margin-top: 3px; }
  .hero-description br { display: none; }
  .value > .icon { width: 40px; height: 40px; padding: 9px; }
  .value h3 { font-size: 13px; }
  .value p { font-size: 11px; }
  .photo-grid { gap: 24px; }
  .section-top { gap: 24px; }
  h2.section-title, .commitment h2 { font-size: 29px; }
  .final-callout { padding: 30px; }
  .final-callout h2 { font-size: 26px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .topline .wrap, .language-bar { gap: 12px; }
  .topbar-tools .status-badge { display: none; }
  .top-slogan, .language-bar > span { font-size: 11px; line-height: 1.5; }
  .language-trigger { min-width: 128px; padding-inline: 11px; gap: 8px; }
  .language-menu { width: 252px; }
  .header { min-height: 87px; gap: 12px; }
  .brand-symbol { width: 38px; height: 38px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 10px; }
  .header-action { min-height: 44px; padding: 10px 15px; font-size: 12px; gap: 8px; }
  .header-action .icon { width: 16px; height: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "photo" "donate" "values"; padding-top: 31px; gap: 25px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 11px; margin-bottom: 19px; }
  .hero h1 { font-size: 52px; line-height: 1.22; }
  html[lang="en"] .hero h1 { font-size: 52px; }
  [dir="rtl"] .hero h1 { font-size: 43px; line-height: 1.45; }
  .hero-description { margin-top: 23px; font-size: 15px; line-height: 1.9; }
  .hero-principle { font-size: 12px; margin-top: 17px; }
  .hero-invitation { font-size: 13px; margin-top: 16px; }
  .landscape { border-radius: 18px; }
  .art-caption { font-size: 16px; padding: 14px 18px; }
  .art-caption small { font-size: 11px; margin-top: 3px; }
  .art-caption a { font-size: 11px; min-height: 30px; }
  .art-label { inset-inline-start: 14px; top: 13px; font-size: 10px; }
  .donate-card { border-radius: 22px; }
  .card-heading { padding: 23px 22px; }
  .card-heading h2 { font-size: 25px; }
  .card-kicker { font-size: 12px; }
  .donate-form { padding: 23px 22px; }
  .purpose span { font-size: 12px; padding: 9px; }
  .total { font-size: 25px; }
  .values { margin-top: 1px; padding: 23px 0; grid-template-columns: 1fr; gap: 19px; }
  .value + .value { border: 0; padding: 0; }
  .value { gap: 15px; }
  .value > .icon { width: 44px; height: 44px; padding: 10px; }
  .value h3 { font-size: 14px; }
  .value p { font-size: 12px; }
  .section { padding-top: 56px; }
  .section-top { display: block; margin-bottom: 25px; }
  h2.section-title { font-size: 30px; }
  .section-intro { max-width: none; font-size: 14px; margin-top: 15px; }
  .aid-grid { grid-template-columns: 1fr; gap: 20px; }
  .aid-art { height: auto; aspect-ratio: 1.9; margin-bottom: 20px; }
  .aid-item h3 { font-size: 22px; }
  .aid-item p { font-size: 14px; }
  .photo-grid { grid-template-columns: 1fr; gap: 33px; }
  .foundation-intro { grid-template-columns: 1fr; gap: 25px; margin-top: 40px; padding: 28px 24px; }
  .foundation-identity { padding-inline-end: 0; padding-bottom: 23px; border-inline-end: 0; border-bottom: 1px solid #f1d6da; }
  .foundation-identity h2 { font-size: 28px; max-width: none; }
  .foundation-pledge { margin-top: 15px; }
  .foundation-focus { gap: 9px 15px; }
  .photo-story:nth-child(2) { margin-top: 0; }
  .photo-story h3 { font-size: 22px; }
  .photo-story figcaption { padding-top: 18px; }
  .photo-context { margin-top: 22px; padding: 14px 16px; }
  .commitment { margin-top: 50px; grid-template-columns: 1fr; padding: 29px 25px; gap: 32px; border-radius: 22px; }
  .commitment h2 { font-size: 29px; }
  .commitment p { max-width: none; }
  .commitment-note { font-size: 12px; margin-top: 20px; }
  .faq { grid-template-columns: 1fr; padding: 55px 0; gap: 25px; }
  .faq-intro > p:last-child { margin-top: 12px; }
  .faq-list summary { padding: 18px; padding-inline-end: 44px; font-size: 14px; }
  .faq-list summary::after { inset-inline-end: 18px; top: 14px; }
  .faq-list details p { padding: 0 18px 20px; font-size: 14px; }
  .final-callout { display: block; padding: 28px 24px; margin-bottom: 37px; }
  .final-callout h2 { font-size: 27px; }
  .closing-action { width: 100%; margin-top: 23px; }
  .footer { align-items: start; flex-direction: column; gap: 12px; padding: 24px 0; }
  .footer-brand { gap: 10px; }
  .footer-right { width: 100%; justify-content: space-between; gap: 20px; }
  .settings-wrap { width: calc(100% - 36px); }
  .settings-header { min-height: 84px; gap: 16px; flex-wrap: wrap; }
  .settings-intro { padding-top: 31px; }
  .settings-intro h1 { font-size: 30px; }
  .settings-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .settings-card { padding: 23px; }
  .preview-notice { font-size: 12px; text-align: start; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .brand-sub { font-size: 10px; }
  .hero h1, html[lang="en"] .hero h1 { font-size: 45px; }
  [dir="rtl"] .hero h1 { font-size: 38px; }
  .card-heading, .donate-form { padding-inline: 18px; }
  .amounts { gap: 6px; }
  .amount > span { font-size: 20px; }
  .amount .suggestion { font-size: 8px; padding-inline: 3px; inset-inline-end: 2px; }
  .purpose span { font-size: 11px; }
  .total { font-size: 20px; }
  .top-slogan { font-size: 10px; }
  .settings-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 战争关注、支持者动态与分享 */
.subscription-banner { background: #302e2b; color: #fcf1f3; border-bottom: 3px solid #bd202d; }
.subscription-inner { display: flex; align-items: center; justify-content: center; gap: 24px; padding-block: 16px; text-align: center; }
.subscription-copy { max-width: 620px; }
.subscription-copy strong { display: block; font-size: 18px; line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; }
.subscription-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; max-width: 100%; border-radius: 12px; padding: 13px 24px; min-height: 54px; background: #f1d6da; color: #941c29; flex-shrink: 0; font-size: 15px; font-weight: 650; transition: background .18s, box-shadow .18s; }
.subscription-cta:hover { background: #f1d6da; }
.subscription-price { font-size: 24px; font-weight: 750; line-height: 1; white-space: nowrap; padding-inline-start: 16px; border-inline-start: 1px solid #ffffff55; }
.subscription-price small { font-size: 11px; font-weight: 600; }
.updates-section { padding-top: 44px; }
.updates-card { display: flex; flex-direction: column; align-items: center; padding: 48px 24px; text-align: center; border: 1px solid #efd3d8; border-radius: 22px; background: radial-gradient(ellipse at top, #fce0e4, #fff7f8 75%); }
.updates-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 16px; color: var(--accent-dark); font-size: 13px; }
.updates-topics span { display: inline-flex; align-items: center; gap: 7px; }
.updates-topics .icon { width: 18px; height: 18px; }
.updates-card h2 { max-width: 680px; color: var(--accent-dark); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.45; text-wrap: balance; }
.updates-description { max-width: 600px; margin: 10px 0 25px; color: var(--muted); font-size: 16px; text-wrap: balance; }
.community-section { padding-top: 44px; }
.community-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.community-heading h2 { font-size: 34px; }
.text-link { font-size: 13px; color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }
.community-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; }
.supporter-panel { border: 1px solid #e3e5e8; border-radius: 20px; padding: 28px; background: #fcf1f3; }
.panel-heading { display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.panel-heading h3 { font-size: 18px; }
.supporter-avatar { border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; background: #f1d6da; color: #62656c; flex-shrink: 0; font-weight: 650; }
.supporter-copy { flex: 1; font-size: 14px; overflow-wrap: anywhere; }
.supporter-empty { display: flex; min-height: 160px; align-items: center; justify-content: center; text-align: center; padding: 24px; background: #fcf1f3; border: 1px dashed #f1d6da; border-radius: 12px; color: #62656c; font-size: 14px; }
.supporter-form > label, #share-fallback label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 8px; }
.supporter-input { display: flex; gap: 10px; }
.supporter-input input, #share-url { min-width: 0; width: 100%; border: 1px solid #e3e5e8; border-radius: 9px; background: #fff; padding: 11px 12px; min-height: 46px; color: var(--ink); font-size: 14px; }
.supporter-input input:disabled { color: #767d72; background: #f4f5f7; }
.like-button { display: flex; align-items: center; gap: 7px; justify-content: center; min-height: 46px; padding: 10px 15px; border-radius: 9px; background: var(--brand-ink); color: white; flex-shrink: 0; font-size: 13px; }
.like-button:hover { background: #25272b; }
.like-button[aria-pressed="true"] { color: #941c29; background: #fcf1f3; }
.like-button[aria-pressed="true"] .icon { fill: #bd202d26; }
.community-note { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.community-status { font-size: 12px; line-height: 1.7; margin-top: 9px; }
.community-status:empty { display: none; }
.share-panel { position: relative; overflow: hidden; padding: 32px; background: #f4f5f7; border-radius: 20px; display: flex; align-items: flex-start; flex-direction: column; }
.share-symbol { position: absolute; inset-inline-end: 24px; top: 8px; font-size: 105px; line-height: 1; opacity: .08; }
.share-panel h3 { font-size: 34px; line-height: 1.4; letter-spacing: -.03em; margin: 6px 0 15px; }
.share-panel > p:not(.section-label):not(.community-status) { font-size: 14px; color: #62656c; max-width: 380px; }
.share-buttons { display: flex; gap: 9px; flex-wrap: wrap; margin-top: auto; padding-top: 28px; }
.share-buttons a, .share-buttons button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid #aeb2b9; color: #25272b; font-size: 12px; border-radius: 8px; background: transparent; }
.share-buttons a:hover, .share-buttons button:hover { background: #e3e5e8; }
.share-buttons #native-share { background: #25272b; color: white; border-color: #25272b; }
#share-fallback { margin-top: 15px; width: 100%; }
.emergency-art { background: #f1d6da; position: relative; display: grid; place-items: center; }
.emergency-art svg { height: 104px; width: 100px; fill: none; stroke: #62656c; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.emergency-caption { position: absolute; inset-inline-end: 20px; bottom: 13px; font-size: 11px; color: #bd202d; }
.subscription-dialog { width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #f1d6da; border-radius: 22px; padding: 35px; color: var(--ink); background: #fcf1f3; box-shadow: 0 30px 90px #25272b55; overflow-y: auto; text-align: start; }
.subscription-dialog::backdrop { background: #25272ba6; backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 9px; inset-inline-end: 9px; width: 44px; height: 44px; background: transparent; color: var(--muted); border-radius: 50%; font-size: 25px; }
.dialog-close:hover { background: #f4f5f7; }
.subscription-dialog .section-label { padding-inline-end: 24px; }
.subscription-dialog h2 { font-size: 27px; line-height: 1.5; margin-bottom: 8px; }
#subscription-description { font-size: 13px; color: var(--muted); }
.subscription-topics { border: 0; padding: 0; margin: 23px 0 20px; min-width: 0; }
.subscription-topics legend { font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.subscription-topics label { display: flex; align-items: center; gap: 12px; border: 1px solid #e3e5e8; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; }
.subscription-topics label:has(input:checked) { border-color: #62656c; background: #f4f5f7; }
.subscription-topics input { accent-color: var(--brand-ink); width: 17px; height: 17px; flex-shrink: 0; }
.subscription-topics strong, .subscription-topics small { display: block; }
.subscription-topics strong { font-size: 14px; }
.subscription-topics small { font-size: 12px; color: var(--muted); }
.subscription-total { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.subscription-total strong { font-size: 33px; line-height: 1.5; }
.subscription-total small { font-size: 12px; }
.subscription-dialog .submit { margin-top: 18px; }
.subscription-transparency { display: block; font-size: 11px; text-align: center; color: #62656c; padding-block: 14px 0; margin-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .community-heading h2 { font-size: 29px; }
}
@media (max-width: 700px) {
  .subscription-inner { flex-direction: column; padding-block: 14px; gap: 10px; }
  .subscription-copy strong { font-size: 14px; }
  .subscription-cta { gap: 12px; padding: 12px 18px; font-size: 14px; }
  .subscription-cta > .icon { width: 18px; height: 18px; }
  .subscription-price { padding-inline-start: 12px; font-size: 22px; }
  .updates-section { padding-top: 30px; }
  .updates-card { padding: 32px 16px; border-radius: 18px; }
  .updates-card .subscription-cta { padding-inline: 12px; gap: 10px; }
  .updates-description { font-size: 14px; margin-bottom: 22px; }
  .community-section { padding-top: 30px; }
  .community-heading { display: block; margin-bottom: 18px; }
  .community-heading h2 { font-size: 28px; }
  .community-heading .text-link { margin-top: 7px; }
  .community-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .supporter-panel, .share-panel { padding: 22px; }
  .supporter-input { flex-direction: column; }
  .supporter-copy { font-size: 13px; }
  .share-panel h3 { font-size: 29px; }
  .subscription-dialog { padding: 29px 22px 20px; }
  .subscription-dialog h2 { font-size: 24px; }
}

/* 全页面的支持者动态，滚动页面时始终固定在视口上方中央。 */
.supporter-panel { min-width: 0; display: flex; flex-direction: column; }
.supporter-intro { margin-block: 12px 24px; color: var(--muted); font-size: 14px; }
.supporter-form { margin-top: auto; }
#main { padding-top: var(--activity-start-space, 0px); }
.page-activity { position: fixed; z-index: 50; inset-inline: 0; top: max(var(--activity-dock-top), var(--activity-banner-clearance, 0px), env(safe-area-inset-top)); width: min(960px, 100%); margin-inline: auto; padding: 0 max(16px, env(safe-area-inset-right)) 9px max(16px, env(safe-area-inset-left)); background: transparent; pointer-events: none; }
.activity-dock-header { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 44px; }
.activity-dock-header h2, .stream-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.activity-dock-header .icon { width: 16px; height: 16px; color: var(--accent); }
.activity-dock-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; pointer-events: auto; }
.stream-pause, .stream-toggle { min-height: 44px; padding: 8px 12px; background: #fcf1f3ed; color: #25272b; border-radius: 999px; font-size: 11px; white-space: nowrap; }
.stream-pause:hover, .stream-toggle:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 4px; }
.stream-toggle { display: inline-flex; align-items: center; gap: 8px; }
.stream-toggle::after { content: ''; width: 6px; height: 6px; border-inline-end: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-bottom: 4px; }
[dir="rtl"] .stream-toggle::after { transform: rotate(-45deg); }
.page-activity[data-collapsed="true"] .stream-toggle::after { transform: rotate(225deg); margin-bottom: -4px; }
[dir="rtl"] .page-activity[data-collapsed="true"] .stream-toggle::after { transform: rotate(135deg); }
.page-activity[data-collapsed="true"] { padding-bottom: 0; }
.supporter-streams { min-width: 0; }
.supporter-stream { min-width: 0; }
.supporter-stream + .supporter-stream { margin-top: 8px; }
.activity-viewport { min-width: 0; overflow: hidden; direction: ltr; padding-block: 3px; }
.activity-track { display: flex; width: max-content; animation: supporters-scroll var(--stream-duration, 40s) linear infinite; }
.stream-group { list-style: none; display: flex; align-items: center; justify-content: space-around; flex-shrink: 0; min-width: 100vw; gap: 28px; margin: 0; padding: 0 28px 0 0; }
.stream-item { display: flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 5px 15px; min-height: 32px; border-radius: 999px; background: #f4f5f7f2; color: #25272b; white-space: nowrap; pointer-events: auto; }
.stream-item .supporter-avatar { display: none; }
.stream-donation .stream-item { background: #fcf1f3f2; color: #941c29; }
.stream-item .supporter-copy { font-size: 12px; font-weight: 550; line-height: 1.5; }
.stream-item small { color: var(--muted); font-size: 10px; }
.supporter-streams[data-paused="true"] .activity-track, .supporter-streams:hover .activity-track { animation-play-state: paused; }
.activity-track.is-single { animation: none; padding-inline: 8px; }
.activity-track.is-single .stream-group { min-width: 0; }
.stream-empty { font-size: 12px; color: var(--muted); text-align: start; padding-inline: 10px; }
.page-activity .supporter-empty { min-height: 36px; padding: 8px 14px; font-size: 12px; border: 0; background: transparent; }
.page-activity .community-status { margin: 0; }
#activity-retry { background: transparent; padding: 0; pointer-events: auto; }
[dir="rtl"] .activity-track { animation-name: supporters-scroll-rtl; }
@keyframes supporters-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes supporters-scroll-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 700px) {
  .supporter-panel .panel-heading h3 { font-size: 17px; }
  .page-activity { padding-inline: max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-right)); }
  .activity-dock-header { gap: 6px; }
  .activity-dock-header h2 { font-size: 11px; gap: 6px; }
  .stream-pause, .stream-toggle { padding-inline: 8px; font-size: 10px; }
  .stream-item .supporter-copy { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .activity-viewport { overflow-x: auto; pointer-events: auto; }
  .stream-group { min-width: 0; }
  .stream-group[aria-hidden="true"] { display: none; }
}

/* 红新月会主题：官网红白识别、清晰的信息层级与独立推广入口。 */
.topline { background: #30302f; color: #fff; }
.status-badge::before { background: #ef746f; }
.header { padding-block: 18px; gap: 24px; }
.brand { gap: 14px; }
.brand-symbol { width: 72px; height: 72px; object-fit: contain; background: #fff; flex-shrink: 0; }
.brand-name { font-size: 22px; max-width: 270px; letter-spacing: 0; }
.brand-sub { font-size: 12px; }
.nav { gap: 17px; font-size: 13px; }
.header-action, .closing-action { border-radius: 9px; }
.subscription-banner { background: radial-gradient(ellipse at top, #fce0e4, #fff6f7 75%); color: var(--ink); border-bottom: 1px solid #f0d5d9; }
.subscription-copy strong { color: var(--accent-dark); }
.subscription-cta { background: var(--accent); color: #fff; border-radius: 100px; box-shadow: 0 5px 14px #bd202d24; }
.subscription-cta:hover { background: var(--accent-dark); }
.eyebrow { color: var(--accent); }
h1 em::after { border-color: #ea918f; bottom: -5px; }
.hero-invitation { color: var(--muted); border-color: var(--accent); }
.hero-principle { color: #565960; }
.art-caption { background: #30302f; color: #fff; }
.art-caption small { color: #dcdde0; }
.art-label { background: #25272be6; }
.donate-card { background: #fff; border-color: #e6dadd; border-radius: 18px; }
.card-heading { background: var(--accent); color: #fff; }
.card-heading p, .card-kicker, .card-kicker .icon, .payment-chip { color: #fff; }
.payment-chip { border-color: #ffffff66; }
.amount input:checked + span { background: #fff1f3; color: #a11f2c; }
.segmented input:checked + span { background: var(--accent); }
.purpose input:checked + span { background: #fff3f4; border-color: #d56c77; color: #9c1d29; }
.purpose input:checked + span::before { background: var(--accent); border-color: #fff3f4; box-shadow: 0 0 0 1px var(--accent); }
.summary-line { background: #f6f6f7; border-color: var(--line); }
.total { color: var(--accent); }
.submit { color: #fff; box-shadow: 0 6px 16px #bd202d1a; }
.submit:disabled { background: #ececee; color: #696970; border-color: #dcdce1; }
.giving-note, .payment-hint { color: var(--muted); }
.value > .icon { background: #fff0f2; color: var(--accent); border-radius: 10px; }
.foundation-intro { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 16px; background: #fff; }
.foundation-identity .section-label { color: var(--accent); }
.foundation-focus li::before { background: var(--accent); }
.foundation-link { color: var(--accent); border-color: #e3b3b9; }
.section-label { color: var(--accent); }
.aid-item { border-radius: 16px; background: #fff; }
.emergency-art { background: #f5f2f3; border-radius: 10px; }
.emergency-art svg { stroke: #b32c3a; }
.aid-number, .emergency-caption { color: #82525a; }
.commitment { background: #30302f; border-radius: 18px; }
.commitment p { color: #e0e1e3; }
.commitment .section-label, .commitment-note { color: #ffb8bd; }
.faq-list details { background: #fff; }
.faq-list details[open] { background: #fff4f5; border-color: #e8c1c7; }
.final-callout { background: #fff0f2; border: 1px solid #edd2d7; border-radius: 16px; }
.final-callout p:last-child { color: var(--muted); }
.footer-brand strong { font-size: 21px; }
.supporter-panel { background: #fff; border-radius: 16px; }
.like-button, .share-buttons #native-share { background: var(--accent); border-color: var(--accent); }
.like-button:hover { background: var(--accent-dark); }
.share-panel { background: #f2f3f5; border-radius: 16px; }
.share-panel > p:not(.section-label):not(.community-status) { color: var(--muted); }
.share-buttons a, .share-buttons button { border-color: #c9cbd0; color: #4e5057; }
.share-buttons a:hover, .share-buttons button:hover { background: #e3e5e9; }
.share-buttons #native-share { color: #fff; }
.subscription-dialog { background: #fff; }
.subscription-topics label:has(input:checked) { border-color: #d56c77; background: #fff1f3; }
.subscription-topics input { accent-color: var(--accent); }
.stream-item { background: #f1f2f5f2; color: #44464e; box-shadow: 0 2px 6px #292a3210; }
.stream-donation .stream-item { background: #fce2e7f2; color: #9a2434; }
.stream-pause, .stream-toggle { background: #ffffffed; color: #666970; }
.relief-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.relief-news-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.relief-news-card > img { display: block; width: 100%; height: auto; }
.relief-news-copy { padding: 25px 28px 21px; }
.news-date { color: var(--accent); font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.relief-news-copy h3 { font-size: 24px; line-height: 1.45; margin-bottom: 14px; text-wrap: balance; }
.relief-news-copy > p:not(.news-date) { color: var(--muted); font-size: 14px; line-height: 1.9; }
.relief-news-copy a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-size: 12px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.news-context { color: var(--muted); font-size: 12px; margin-top: 17px; line-height: 1.8; }
@media (max-width: 1180px) {
  .nav { display: none; }
}
@media (max-width: 760px) {
  .header { padding-block: 16px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-symbol { width: 54px; height: 54px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; }
  .header-action { padding-inline: 12px; }
  .hero-description { font-size: 16px; }
  .relief-news-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .relief-news-copy { padding: 22px; }
  .relief-news-copy h3 { font-size: 23px; }
  .foundation-intro { border-radius: 16px; }
}
@media (max-width: 370px) {
  .brand-name { font-size: 16px; }
  .brand-symbol { width: 48px; height: 48px; }
  .header-action { font-size: 11px; padding-inline: 10px; gap: 6px; }
}
