/* Support the project: existing profile colors, one-time hosted checkout. */
.support-project{max-width:1120px;margin:0 auto;padding:12px 0 32px}
.support-project .section-head{padding-bottom:26px;border-bottom:1px solid var(--line);margin-bottom:36px}
.support-project .section-head h1{font-size:clamp(30px,3.4vw,42px);letter-spacing:-1.4px}
.support-project .section-head .muted{max-width:660px;line-height:1.6}
.support-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start}
.support-story{padding:4px 0}.support-heart{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;font-size:29px;color:var(--ink);margin-bottom:20px;background:var(--paper)}
.support-story h2{font-size:clamp(34px,4.3vw,52px);font-weight:750;line-height:1.08;letter-spacing:-1.8px;margin:0 0 24px;color:var(--ink)}
.support-story p{font-size:15px;line-height:1.75;max-width:480px;color:var(--muted)}
.support-story .support-lead{font-size:18px;color:var(--ink);line-height:1.65}
.support-purpose{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}
.support-purpose h3{font-size:14px;margin:0 0 12px}.support-purpose ul{list-style:none;padding:0;margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.support-purpose li{position:relative;padding-left:21px;margin:9px 0}.support-purpose li::before{content:'✓';position:absolute;left:0;color:var(--ink)}
.support-story .support-thanks{font-size:14px;font-weight:600;color:var(--ink);margin-top:27px}
.support-checkout{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:0 8px 30px rgba(24,52,73,.035)}
.support-checkout h2{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin:10px 0}
.support-checkout>.muted{font-size:14px;line-height:1.6;margin:0 0 28px}
.support-amounts{border:0;padding:0;margin:0;min-width:0}.support-amounts legend{font-size:13px;font-weight:650;margin-bottom:12px;color:var(--ink)}
.support-amounts>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.support-amount{position:relative;cursor:pointer;min-width:0;margin:0}
.support-amount input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.support-amount>span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);gap:7px;padding:10px 4px}
.support-amount strong{font-size:23px;letter-spacing:-.8px;white-space:nowrap}.support-amount small{font-size:12px;color:var(--muted);font-weight:400}
.support-amount input:checked+span{border:2px solid var(--ink);background:var(--bg);padding:9px 3px}
.support-amount input:focus-visible+span{outline:3px solid var(--ink);outline-offset:4px}
.support-amount:has(input:disabled){cursor:default}
.support-project .support-payment-mode{font-size:13px;line-height:1.55;color:var(--muted);margin:18px 0 12px}
.support-project .support-continue{width:100%;min-height:48px;border-radius:10px;font-size:15px;cursor:pointer;background:var(--ink);border:1px solid var(--ink);color:var(--paper)}
.support-project .support-continue:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.support-project .support-continue:disabled{cursor:default;opacity:.65}
.support-project .support-secure{font-size:12px;line-height:1.6;color:var(--muted);text-align:center;margin:13px 0 18px}
.support-payment-status{font-size:13px;line-height:1.65;color:var(--ink);border-top:1px solid var(--line);padding-top:18px;overflow-wrap:anywhere}
.support-project .support-small-print{font-size:12px;line-height:1.65;color:var(--muted);margin:18px 0 0}
@media(max-width:850px){.support-layout{gap:30px}.support-checkout{padding:24px}.support-amount strong{font-size:20px}}
@media(max-width:650px){.support-layout{grid-template-columns:1fr;gap:24px}.support-project .section-head{margin-bottom:26px;padding-bottom:22px}.support-story h2{font-size:38px}.support-story p{max-width:none}.support-checkout{padding:23px 20px}.support-heart{margin-bottom:16px}.support-purpose{margin-top:20px}.support-amount strong{font-size:23px}.support-project{padding-top:0}}

.support-project .support-refresh{margin-top:12px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:10px 14px;font-size:13px;cursor:pointer}
.support-project [data-support-receipt] a{color:var(--ink);font-size:14px;text-decoration:underline;text-underline-offset:3px}

/* Shared support surface: existing palette variables keep profile themes intact. */
.support-public{--bg:#f5f8f7;--paper:#fffefa;--ink:#183449;--muted:#50636d;--line:#c4d7df;--soft:#e5eff1;background:var(--bg);color:var(--ink)}
.support-public.dark{--bg:#14242d;--paper:#20333d;--ink:#eff6f6;--muted:#bdd0d7;--line:#405762;--soft:#2c4652}


.support-public main{max-width:1220px;padding:44px 32px 100px}.support-project .section-head{border:0;margin:0 0 30px;padding:0}.support-project .section-head h1{font-size:clamp(34px,4.4vw,56px);line-height:1.08;letter-spacing:-.045em;margin:10px 0 15px}.support-project .section-head .muted{font-size:16px;max-width:680px;line-height:1.6}
.support-project .support-layout{grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);gap:36px;align-items:start}.support-project .support-story{padding:0;min-width:0}.support-scene{position:relative;margin:0 0 30px;border-radius:22px;overflow:hidden;aspect-ratio:1.5;background:var(--soft)}.support-scene>img{width:100%;height:100%;object-fit:cover;display:block}.support-scene figcaption{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;background:linear-gradient(0deg,#142c3ce8,transparent 68%);color:#fff}.support-scene figcaption>span{font-size:10px;font-weight:800;letter-spacing:.17em;margin-bottom:10px}.support-scene strong{font-size:31px;line-height:1.12;letter-spacing:-.025em}.support-project .support-story h2{font-size:25px;letter-spacing:-.025em;margin:0 0 13px}.support-project .support-story p{max-width:none;font-size:15px;line-height:1.7}.support-project .support-story .support-lead{font-size:17px;margin-bottom:10px}.support-project .support-purpose{margin-top:25px;padding-top:20px}.support-purpose h3{font-size:13px}.support-project .support-purpose ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.support-purpose li b,.support-purpose li span{display:block;font-size:12px;line-height:1.5}.support-purpose li span{color:var(--muted);margin-top:6px}
.support-project .support-checkout{position:sticky;top:95px;background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 18px 45px #1834490d;min-width:0}.support-project .support-checkout h2{font-size:30px;letter-spacing:-.035em;margin:10px 0}.support-project .support-heart{margin:0 0 22px;border-color:var(--line);background:var(--soft);color:var(--profile-primary,#176b97);width:50px;height:50px;font-size:34px}.support-project .support-amounts{border:0;padding:0;margin:26px 0 0}.support-project .support-amounts legend{font-size:12px;font-weight:750;margin-bottom:11px}.support-project .support-amounts>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.support-project .support-amount{position:relative;min-width:0}.support-project .support-amount>span{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;padding:15px 3px;background:var(--paper);color:var(--ink);cursor:pointer;min-height:72px}.support-project .support-amount strong{font-size:21px;letter-spacing:-.03em}.support-project .support-amount small{font-size:10px;margin-top:4px;color:var(--muted)}.support-project .support-amount input{position:absolute;opacity:0;width:1px;height:1px}.support-project .support-amount input:checked+span{border-color:var(--profile-primary,#176b97);box-shadow:inset 0 0 0 1px var(--profile-primary,#176b97);background:var(--soft)}.support-project .support-amount input:focus-visible+span{outline:3px solid var(--profile-primary,#176b97);outline-offset:3px}.support-project .support-amount input:disabled+span{cursor:default;opacity:.65}.support-project .support-custom-choice{grid-column:1/-1}.support-project .support-custom-choice>span{min-height:48px;padding:10px;flex-direction:row;gap:10px}.support-project .support-custom-choice strong{font-size:14px}.support-project .support-custom-choice small{margin:0;font-size:12px}.support-custom{display:block;margin-top:18px;font-size:13px;font-weight:700}.support-custom[hidden]{display:none}.support-custom input{display:block;width:100%;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:13px;margin:8px 0;font-size:18px}.support-custom small{font-weight:400;color:var(--muted)}.support-project .support-continue{width:100%;min-height:50px;background:#176b97;color:white;border:0;border-radius:12px;font-size:14px;box-shadow:0 5px 15px #176b971a}.support-project .support-continue:disabled{background:var(--soft);color:var(--muted);box-shadow:none}.support-project .support-secure{font-size:12px;text-align:center;line-height:1.65;color:var(--muted)}.support-project .support-payment-status{font-size:12px;line-height:1.6}.support-project .support-payment-mode{font-size:12px;line-height:1.5;margin:18px 0 12px}.support-project .support-small-print{font-size:11px;line-height:1.65;color:var(--muted)}.support-project .support-small-print a,.support-project [data-support-receipt] a{color:var(--profile-link,#176b97);text-decoration:underline}.support-project .support-refresh{margin-top:10px;min-height:40px}
.support-memories{display:grid;grid-template-columns:1fr .9fr 1fr;gap:24px;align-items:center;margin-top:64px;padding-top:40px;border-top:1px solid var(--line)}.support-memories figure{margin:0}.support-memories img{width:100%;aspect-ratio:1.2;object-fit:cover;border-radius:16px;display:block}.support-memories figcaption{font-size:12px;margin-top:10px;color:var(--muted)}.support-memories>div{text-align:center}.support-memories h2{font-size:27px;line-height:1.2;letter-spacing:-.035em}.support-memories p{font-size:14px;line-height:1.6}.support-memories small{display:block;font-size:10px;color:var(--muted);line-height:1.6}
.cbr-support-launcher{position:fixed;z-index:45;left:max(16px,env(safe-area-inset-left));bottom:max(16px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 16px 10px 12px;border:1px solid #405762;border-radius:40px;background:#14242d;color:#eff6f6;box-shadow:0 5px 25px #15384825;font:750 12px/1.3 Inter,system-ui,sans-serif;text-decoration:none}.cbr-support-launcher img{width:32px;height:30px;object-fit:contain;filter:invert(1)}.cbr-support-launcher[hidden],body.kid .cbr-support-launcher,body:has(dialog[open]) .cbr-support-launcher,body:has(.modal.open) .cbr-support-launcher,body:has(#profileGatewayV49.open) .cbr-support-launcher{display:none!important}.cbr-support-launcher:focus-visible,.support-public a:focus-visible,.support-public button:focus-visible{outline:3px solid #176b97;outline-offset:4px}
@media(max-width:760px){.support-public main{padding:30px 18px 100px}.support-project .support-layout{grid-template-columns:1fr;gap:24px}.support-project .support-checkout{position:static;padding:24px}.support-project .support-story .support-purpose{display:none}.support-scene{aspect-ratio:1.35;margin-bottom:22px}.support-scene figcaption{padding:22px}.support-scene strong{font-size:27px}.support-memories{grid-template-columns:1fr 1fr;gap:15px;margin-top:35px;padding-top:25px}.support-memories>div{grid-column:1/-1;grid-row:1}.support-memories h2{font-size:26px}.support-memories small{margin-bottom:8px}.cbr-support-launcher{min-height:44px;padding:7px 11px;left:max(10px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));font-size:11px}.cbr-support-launcher img{width:26px;height:27px}body:has(.mobile-bottom-nav) .cbr-support-launcher,body:has(.bottom-nav) .cbr-support-launcher{bottom:calc(76px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.support-public{scroll-behavior:auto}}

body.dark .support-project .support-small-print a,body.dark .support-project [data-support-receipt] a{color:#8cd2f5}
@media print{.cbr-support-launcher{display:none!important}}

.support-receipt-button{border:0;background:transparent;padding:8px 0;color:var(--profile-link,#176b97);font:inherit;text-decoration:underline}body.dark .support-receipt-button{color:#8cd2f5}

body.dark .support-project .support-amount input:checked+span{border-color:#8cd2f5;box-shadow:inset 0 0 0 1px #8cd2f5}body.dark .support-project .support-amount input:focus-visible+span{outline-color:#8cd2f5}

/* Reuse the public site frame; the authenticated view uses the app frame. */
.support-public{--public-paper:var(--bg);--public-panel:var(--paper);--public-ink:var(--ink);--public-sub:var(--muted);--public-line:var(--line)}
.support-public #mlc-public-home{--paper:var(--bg);--panel:inherit;--ink:inherit;--sub:var(--muted);--line:inherit;--soft:inherit}
.support-public-navigation{position:sticky;top:0;z-index:310}.support-public-navigation .pc-header nav{flex-wrap:wrap}.support-public-navigation .appearance-btn{min-width:40px;min-height:40px}
