@font-face{font-family:Inter;src:url('./assets/ui/inter-cyrillic.woff2');font-weight:400 800;font-display:swap;unicode-range:U+0400-045F,U+2116}
@font-face{font-family:Inter;src:url('./assets/ui/inter-latin.woff2');font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20BD}
@font-face{font-family:Barlow;src:url('./assets/ui/barlow-italic.woff2');font-weight:800;font-style:italic;font-display:swap}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0%,#342922,#181718 55%,#111214);min-height:100vh;color:#f4eadd;font:500 16px/1.5 Inter,"Segoe UI",sans-serif;color-scheme:dark}
a{color:inherit;text-decoration:none}.shell{width:min(1000px,calc(100% - 40px));margin:auto}header{padding:25px 0;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:.09em;font:italic 800 32px/1 Barlow,sans-serif;letter-spacing:-.035em}.brand img{width:.85em;margin-right:.15em}.brand em{color:#ff7846}.back{font-size:14px;border:1px solid #504440;padding:6px 12px;border-radius:5px}.back:hover{background:#3c3030}
.card{display:grid;grid-template-columns:1.1fr 1fr;margin:clamp(24px,8vh,91px) 0 40px;background:#201e20;border:1px solid #58483c;border-radius:12px;overflow:hidden}
.art{position:relative;isolation:isolate;overflow:hidden;min-height:460px;display:flex;align-items:end;padding:clamp(23px,3.3vw,46px);background:#211a19}
/* The mask is at 80% of the panorama. Its rightmost fifth must fill half the panel. */
.support-portrait{position:absolute;z-index:-2;top:0;left:50%;width:auto;height:100%;min-width:250%;transform:translateX(-80%);object-fit:cover;object-position:center 22%}
.art::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,#181216f2,transparent 73%)}
h1,h2,p{margin:0}h1{font-size:clamp(27px,3.3vw,43px);line-height:1.08;letter-spacing:-.065em}h1 em{font:italic 800 clamp(54px,6.8vw,86px)/.98 Barlow,sans-serif;letter-spacing:-.025em}.art p{color:#e1d2c8;margin-top:10px}
form{padding:clamp(24px,3.1vw,48px);align-self:center;min-width:0}h2{font-size:23px;letter-spacing:-.045em;margin-bottom:16px}.amount{display:flex;align-items:center;gap:12px;background:#171618;border:1px solid #60514a;padding:9px 13px;border-radius:5px}.amount:focus-within{border-color:#ff9967}.amount input{background:none;border:0;color:inherit;width:100%;min-width:0;font:650 27px/1.25 Inter,sans-serif;outline:0}.amount>span:last-child{color:#beb0a6}
button{font:inherit;cursor:pointer}.presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:7px}.presets button{border:1px solid #4e4542;border-radius:4px;padding:5px 2px;background:#292527;color:#ded1c7;font-size:13px}.presets button[aria-pressed=true]{border-color:#ab6545;color:#ffb68b;background:#412b23}
.donor-field + .pay{margin-top:22px}
.pay{width:100%;border:1px solid #ffa379;border-radius:5px;background:#ff8050;color:#27150d;padding:11px;font-weight:700}.pay:disabled{background:#514540;border-color:#61504a;color:#ccbbb0;cursor:not-allowed}.status,#error{font-size:13px;line-height:1.45;margin-top:9px;color:#bcafa7}#error{color:#ffac91}
.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}a:focus-visible,button:focus-visible{outline:2px solid #ffd4ab;outline-offset:2px}
@media(max-width:640px){.shell{width:min(460px,calc(100% - 24px))}header{padding:15px 0}.card{grid-template-columns:1fr;margin:5px 0 20px}.art{min-height:clamp(338px,87vw,380px);padding:19px}h1{font-size:24px}h1 em{font-size:51px}.art p{font-size:14px}form{padding:20px}}
.card{margin-top:clamp(8px,3vh,36px)}
.art p{line-height:1.55;text-shadow:0 1px 6px #120e0d}
.art p strong{color:#fff0df;font-weight:650}
.donor-field{display:grid;gap:5px;margin-top:16px}
.donor-field label{font-size:14px;font-weight:650}
.donor-field label small{font-size:12px;font-weight:400;color:#aaa7a6}
.donor-field input,.donor-field textarea{width:100%;border:1px solid #5c4e48;border-radius:5px;background:#171618;color:inherit;padding:8px 11px;font:inherit;font-size:15px;line-height:1.4}
.donor-field textarea{resize:vertical;min-height:3.8em}
.donor-field :is(input,textarea):focus-visible{outline:1px solid #ff9967;border-color:#ff9967}
.status:empty{margin:0}
#nickname-error{color:#ffac91;font-size:13px;line-height:1.45}
#nickname[aria-invalid="true"]{border-color:#ffac91}
