/* 「もし GEAL が◯%だったら」の寄付額 — js/utils/donation-scale.js と対で使う（2026-10-22）
   色は currentColor と --gds-accent から取るので、ランディング（暗い地）でも白い画面でも読める。
   ランディングは body.hero-page p / span に明るい文字色を当てるため、.gds を前に付けて上書きする。 */
.gds { --gds-accent: #15803D; --gds-track: rgba(127, 127, 127, .18); font-family: 'Noto Sans JP', sans-serif; text-align: left; }
.gds .gds-h { margin: 0 0 10px; font-size: 1rem; font-weight: 900; line-height: 1.5; color: inherit; }
.gds .gds-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gds .gds-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.gds .gds-share { font-size: 0.85rem; color: inherit; opacity: .85; }
.gds .gds-yen { font-family: 'Space Grotesk', 'Noto Sans JP', sans-serif; font-size: 1.05rem; font-weight: 700; color: inherit; font-variant-numeric: tabular-nums; }
.gds .gds-step-all .gds-yen { font-size: 1.35rem; color: var(--gds-accent); }
.gds .gds-bar { display: block; height: 6px; margin-top: 4px; border-radius: 2px; background: var(--gds-track); overflow: hidden; }
.gds .gds-bar i { display: block; height: 100%; border-radius: 2px; background: var(--gds-accent); transition: width .3s ease; }
.gds .gds-zero { margin: 14px 0 0; font-size: 1rem; font-weight: 900; color: inherit; }
.gds .gds-more { margin: 6px 0 0; font-size: 0.85rem; line-height: 1.7; color: inherit; opacity: .9; }
.gds .gds-note { margin: 8px 0 0; font-size: 0.72rem; line-height: 1.6; color: inherit; opacity: .65; }
.gds.gds-compact .gds-steps { gap: 8px; }
.gds.gds-compact .gds-yen { font-size: 0.95rem; }
.gds.gds-compact .gds-step-all .gds-yen { font-size: 1.15rem; }

/* 暗い地（ランディング・マイページの寄付のカード）では明るい緑にする */
body.hero-page .gds { --gds-accent: #4ADE80; --gds-track: rgba(255, 255, 255, .16); }
/* マイページの寄付のカードでは、選んだ見た目の色（js/utils/donation-card.js）に合わせる */
.mf .gds { --gds-accent: var(--gdc-accent, #4ADE80); --gds-track: rgba(255, 255, 255, .16); }
/* ⓘ（白い地のモーダル）の中では、ランディングでも白い地用の色に戻す */
body.hero-page .gii .gds, .gii .gds { --gds-accent: #15803D; --gds-track: rgba(127, 127, 127, .18); }
.mf .gds .gds-step-all .gds-yen { font-size: 1.15rem; }
/* マイページでは閉じておき、押すと開く（2026-10-30 葉太） */
.mf .mf-scale-fold { margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mf .mf-scale-fold > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 12px 0 2px; list-style: none; cursor: pointer;
    font-size: 0.85rem; font-weight: 700; line-height: 1.5; color: #ffffff;
}
.mf .mf-scale-fold > summary::-webkit-details-marker { display: none; }
.mf .mf-scale-fold > summary i { flex-shrink: 0; font-size: 0.7rem; opacity: .8; transition: transform .2s ease; }
.mf .mf-scale-fold[open] > summary i { transform: rotate(180deg); }
.mf .mf-scale { margin-top: 10px; color: #ffffff; }
@media (prefers-reduced-motion: reduce) { .mf .mf-scale-fold > summary i { transition: none; } }

@media (prefers-reduced-motion: reduce) { .gds .gds-bar i { transition: none; } }
