/* PDF review refinements, layered after the existing design system. */
html .donei-hero-showcase.is-ready .showcase-window{transform-origin:50% 54%;animation:donor-preview-sway 8s ease-in-out infinite}
html .donei-hero-showcase .showcase-avatar{overflow:hidden}
html .donei-hero-showcase .showcase-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
html .donei-hero-showcase .showcase-message{background:#fff;border-color:#e3e3df}
@keyframes donor-preview-sway{0%,100%{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg)}}
html .wrap:not(.backend-wrap) .simple-home .hg-payment-grid article{border-bottom:0}
html .simple-home .artist-avatar-grid{max-width:650px;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:center;gap:clamp(12px,1.8vw,22px)}
html .simple-home .artist-avatar .artist-visual{aspect-ratio:1;height:auto}
html .wrap:not(.backend-wrap) .home-guide .hg-faq{max-width:820px;margin:60px auto 32px;padding:0 4px}
html .wrap:not(.backend-wrap) .home-guide .hg-faq h3{margin:9px 0 22px;font-size:clamp(25px,3vw,34px);letter-spacing:-.04em}
html .wrap:not(.backend-wrap) .home-guide .hg-faq details{border-bottom:1px solid #e5e5df}
html .wrap:not(.backend-wrap) .home-guide .hg-faq details:first-of-type{border-top:1px solid #e5e5df}
html .wrap:not(.backend-wrap) .home-guide .hg-faq summary{padding:18px 2px;font-size:16px}
html .wrap:not(.backend-wrap) .home-guide .hg-faq>a{display:inline-block;margin-top:22px;color:#755a00;font-weight:700;text-underline-offset:4px}
html .wrap .quick-donate .quick-identity{margin-top:-65px}
html .wrap .quick-donate .quick-identity>.artist-visual{width:144px;height:144px}
html .wrap .quick-donate .quick-identity>div:not(.artist-visual):not(.actions){padding-top:68px}
html .wrap .quick-donate .quick-layout{grid-template-columns:minmax(260px,300px) minmax(0,1fr);gap:clamp(22px,3vw,46px)}
html .wrap .quick-donate .donation-method:hover{background:#fff;border-color:#888985}
html .wrap .quick-donate .donation-method.active{background:#fff;border-color:#c19b15;box-shadow:inset 3px 0 #e6b611}
html .wrap .quick-donate .donation-method.active .method-icon{background:#f3f3ef}
html .wrap .quick-donate .donation-method:focus-visible,
html .wrap .quick-donate .ranking-periods button:focus-visible{outline:3px solid #b58a00;outline-offset:3px}
html .wrap .quick-donate .donate-options .check{flex-wrap:nowrap;align-items:flex-start}
html .wrap .quick-donate .donate-options .check span{flex:1;min-width:0;line-height:1.55}
html .wrap .quick-donate .donate-options p{margin:5px 0 0 28px;line-height:1.6}
html .wrap .quick-donate .message-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%}
html .wrap .quick-donate .message-label-row small{font-variant-numeric:tabular-nums;white-space:nowrap}
html .wrap .quick-donate .payment-choice-options label:has(input:checked){border-color:#252522;background:#fff;box-shadow:inset 2px 0 #252522}
html .wrap .quick-donate .payment-choice-options label:hover{background:#fff;border-color:#777}
html .wrap .quick-donate .donor-steps li.active{background:#fff;border-bottom:3px solid #d6a900}
html .wrap .quick-donate .ranking-periods{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid #dfdfda;border-radius:999px;background:#f4f4f1}
html .wrap .quick-donate .ranking-periods button{min-height:36px;padding:5px 16px;border:0;border-radius:999px;background:transparent;color:#656761;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
html .wrap .quick-donate .ranking-periods button[aria-pressed=true]{background:#252522;color:#fff}
html .wrap .quick-donate .ranking-periods button:hover:not([aria-pressed=true]){background:#e9e9e5}
html .wrap:not(.backend-wrap):has(#ranking-filter) .page-title{margin-bottom:24px}
html .wrap:not(.backend-wrap):has(#ranking-filter) #ranking-filter{padding:24px 0;border:0;border-top:1px solid #dcdcd7;border-bottom:1px solid #dcdcd7;border-radius:0;background:transparent}
html .wrap:not(.backend-wrap):has(#member-login)>.page-title h1,
html .wrap:not(.backend-wrap):has(#member-profile)>.page-title h1{max-width:none;white-space:nowrap;font-size:clamp(29px,3.2vw,46px)}
html .wrap:not(.backend-wrap) .contact-options .btn{background:#f3c323;border-color:#f3c323;color:#252522}
html .wrap:not(.backend-wrap) .contact-options .btn:hover{background:#e5b612;border-color:#e5b612}
html[data-color-mode=dark] .donei-hero-showcase .showcase-message,
html[data-color-mode=dark] .wrap .quick-donate .donation-method.active,
html[data-color-mode=dark] .wrap .quick-donate .donation-method:hover,
html[data-color-mode=dark] .wrap .quick-donate .payment-choice-options label:has(input:checked){background:#1b2531;color:#fff}
@media(max-width:760px){
 html .wrap .quick-donate .quick-layout{grid-template-columns:minmax(0,1fr)}
 html .wrap .quick-donate .quick-identity{margin-top:-44px}
 html .wrap .quick-donate .quick-identity>.artist-visual{width:96px;height:96px}
 html .wrap .quick-donate .quick-identity>div:not(.artist-visual):not(.actions){padding-top:47px}
 html .simple-home .artist-avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:430px}
 html .wrap:not(.backend-wrap):has(#member-login)>.page-title h1,
 html .wrap:not(.backend-wrap):has(#member-profile)>.page-title h1{white-space:normal}
}
@media(max-width:430px){
 html .wrap .quick-donate .ranking-periods{width:100%;justify-content:space-between}
 html .wrap .quick-donate .ranking-periods button{flex:1;padding-inline:8px}
 html .wrap .quick-donate .donor-steps li{white-space:normal;line-height:1.3}
 html .wrap:not(.backend-wrap) .home-guide .hg-faq{margin-top:42px}
}
@media(prefers-reduced-motion:reduce){html .donei-hero-showcase.is-ready .showcase-window{animation:none;transform:none}}

html .wrap:not(.backend-wrap):has(#ranking-filter) .ranking-filter-period{display:grid;align-content:start;gap:9px;font-size:13px;font-weight:700}
html .wrap:not(.backend-wrap):has(#ranking-filter) .ranking-periods{display:inline-flex;gap:4px;padding:4px;border:1px solid #dfdfda;border-radius:999px;background:#f4f4f1}
html .wrap:not(.backend-wrap):has(#ranking-filter) .ranking-periods button{min-height:36px;padding:5px 15px;border:0;border-radius:999px;background:transparent;color:#656761;font:inherit;cursor:pointer}
html .wrap:not(.backend-wrap):has(#ranking-filter) .ranking-periods button[aria-pressed=true]{background:#252522;color:#fff}
html .wrap:not(.backend-wrap):has(#ranking-filter) .ranking-periods button:focus-visible{outline:3px solid #b58a00;outline-offset:3px}
