/* «СоДа»: почтовое оформление, конверты и марки */
:root{--ink:#1B2350;--muted:#4B547F;--bg:#E8EEFF;--card:#fff;--red:#C42F24;--blue:#2F55D4;--sun:#FFCB3D;--mint:#116B4C;--line:#D3DBF5;
--head:'Dela Gothic One','Nunito',system-ui,sans-serif;--body:'Nunito',system-ui,-apple-system,sans-serif;
--air:repeating-linear-gradient(-45deg,#E5483B 0 12px,#fff 12px 20px,#2F55D4 20px 32px,#fff 32px 40px)}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html,body{overflow-x:hidden;overscroll-behavior-x:none}
body{background:var(--bg) radial-gradient(#CBD6FA 1.2px,transparent 1.4px) 0 0/22px 22px;color:var(--ink);font:500 16px/1.45 var(--body);touch-action:manipulation;min-height:100vh}
body.noscroll{overflow:hidden}
h1,h2,h3{font-family:var(--head);font-weight:400;line-height:1.22;overflow-wrap:break-word}
h1{font-size:34px}h2{font-size:21px}h3{font-size:16px}
h1 i,.brand i{font-style:normal;color:#E5483B}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;touch-action:manipulation}
button:disabled{cursor:default;opacity:.6}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
img{max-width:100%;display:block}
.usertext{overflow-wrap:anywhere;white-space:pre-wrap}

#top{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(env(safe-area-inset-top) + 10px) 14px 15px;background:var(--ink);color:#fff}
#top::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5px;background:var(--air)}
.brand{font:400 23px/1 var(--head)}
#top .brand i{color:var(--sun)}
.me{display:flex;align-items:center;gap:10px;background:none;border:0;color:#fff;font-weight:800;font-size:14px}
.me .ava{border:2px solid #fff}
.who{font-weight:800;font-size:14px}

#view{max-width:520px;margin:0 auto;padding:14px 14px calc(96px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}
#view[data-tab=parent]{padding-bottom:calc(30px + env(safe-area-inset-bottom))}
.card{background:var(--card);border-radius:14px;padding:16px;box-shadow:0 3px 0 var(--line);display:flex;flex-direction:column;gap:11px}
.card.tip{background:#FFF3CC;box-shadow:0 3px 0 #EBD589}
.center{text-align:center}
.muted{color:var(--muted);font-size:14px}
.label{color:var(--muted);font-size:13px;font-weight:800}
.big{font-size:19px}
.sect{margin-top:8px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 18px;border-radius:8px;border:2px solid transparent;font-weight:800;text-align:center}
.btn.red{background:var(--red);color:#fff;box-shadow:0 3px 0 #86190F}
.btn.blue{background:var(--blue);color:#fff;box-shadow:0 3px 0 #1B347F}
.btn.ghost{background:#fff;color:var(--ink);border-color:var(--ink)}
.btn.wide{width:100%}
.btn:active:not(:disabled){transform:translateY(2px);box-shadow:none}
.row{display:flex;gap:8px;flex-wrap:wrap}
.row>.btn{flex:1}
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chip{min-height:38px;padding:6px 12px;border-radius:7px;border:2px solid var(--line);background:#fff;font-weight:700;font-size:14px}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.stack{display:flex;flex-direction:column;gap:8px}
.opt{min-height:48px;width:100%;padding:11px 14px;border-radius:8px;border:2px solid var(--line);background:#fff;text-align:left;font-weight:700}
.opt.on{border-color:var(--ink);background:var(--sun)}

input[type=text],input[type=number],textarea,select{width:100%;min-height:46px;padding:10px 12px;border-radius:8px;border:2px solid var(--line);background:#fff;font-size:16px;color:var(--ink)}
textarea{resize:vertical;line-height:1.4}
input:focus,textarea:focus,select:focus{border-color:var(--blue);outline:0}
select{appearance:none;-webkit-appearance:none;padding-right:42px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231B2350' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center}
label{display:flex;flex-direction:column;gap:5px;font-weight:800;font-size:14px}
label.check{flex-direction:row;align-items:center;gap:10px;min-height:36px;font-size:15px}
label.check input{width:22px;height:22px;accent-color:var(--red)}
.form{display:flex;flex-direction:column;gap:11px}

/* зверь и яйцо */
.petsvg{display:block;overflow:visible}
.bigpet{display:flex;justify-content:center}
.bigpet svg{width:170px;height:auto}
.eggstage{display:flex;flex-direction:column;align-items:center;gap:2px}
.eggwrap{background:none;border:0;transform-origin:50% 90%}
.eggwrap svg{width:158px;height:auto;display:block;margin-top:-8px}
.eggbody{transform-origin:100px 190px;animation:eggidle 4s ease-in-out infinite}
@keyframes eggidle{0%,70%,100%{transform:rotate(0)}74%{transform:rotate(-5deg)}79%{transform:rotate(5deg)}84%{transform:rotate(-3deg)}89%{transform:rotate(0)}}
.eggstage.small .eggwrap svg{width:130px}
.eggname{font:400 19px var(--head);text-align:center}
.boing{animation:boing .55s ease}
@keyframes boing{0%{transform:scale(1)}30%{transform:scale(1.08,.9) rotate(-3deg)}60%{transform:scale(.94,1.08) rotate(3deg)}100%{transform:scale(1)}}
.scene{position:relative;height:340px;border-radius:14px;overflow:hidden;background:#AFC8FF center/cover;border:4px solid #fff;box-shadow:0 3px 0 var(--line)}
.scene.small{height:250px}
.petwrap{position:absolute;left:50%;bottom:4px;translate:-50% 0;background:none;border:0;transform-origin:50% 95%}
.petwrap svg{width:215px;height:auto;display:block}
.scene.small .petwrap svg{width:160px}
.nameplate{position:absolute;left:10px;top:10px;max-width:calc(100% - 20px);background:var(--ink);color:#fff;border-radius:8px;padding:6px 12px;z-index:1}
.nameplate b{display:block;font:400 16px/1.25 var(--head)}
.nameplate span{font-size:12px;font-weight:700}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.stats.two{grid-template-columns:1fr 1fr}
.stats div{background:#fff;border-radius:12px;padding:10px 6px;text-align:center;box-shadow:0 3px 0 var(--line)}
.stats b{display:block;font:400 18px/1.4 var(--head)}
.stats span{display:block;font-size:12px;font-weight:700;color:var(--muted);line-height:1.25}
.bar{height:12px;border-radius:6px;background:#E4E9FA;overflow:hidden}
.bar i{display:block;height:100%;background:repeating-linear-gradient(-45deg,#1F9D6B 0 8px,#27B37C 8px 16px);border-radius:6px}
.goal{background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 3px 0 var(--line);display:flex;flex-direction:column;gap:7px;border-left:7px solid #1F9D6B}
.goal.done{background:#DEF6EA}
.goal p:last-of-type{font-weight:700;font-size:14px}
.postcard,.parcel{position:relative;background:#FFFDF6;border:7px solid transparent;border-image:var(--air) 7;padding:12px 86px 12px 14px;display:flex;flex-direction:column;gap:8px;min-height:96px;box-shadow:0 3px 0 var(--line)}
.parcel .shot{width:calc(100% + 72px)}
.stamp{position:absolute;right:10px;top:10px;width:64px;min-height:58px;display:flex;align-items:center;justify-content:center;text-align:center;background:var(--sun);border:3px dashed #fff;outline:2px solid var(--sun);font-weight:800;font-size:12px;line-height:1.2;rotate:5deg}
.parcel.closed{background:#F1DDBD}
.parcel.closed p{font-weight:700;font-size:14px;max-width:240px}
.parcel.closed .btn{align-self:flex-start}

/* знакомство */
.steps{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.steps i{height:8px;border-radius:3px;background:#DDE3F8}
.steps i.done{background:#1F9D6B}
.steps i.now{background:var(--sun)}
.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.swatches button{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 2px;background:#fff;border:2px solid transparent;border-radius:8px;font-size:12px;font-weight:700}
.swatches i{width:46px;height:46px;border-radius:50%;background:var(--c);border:3px solid var(--ink)}
.swatches button.on{border-color:var(--ink);background:#EEF2FF}
.pair{display:grid;grid-template-columns:1fr 30px 1fr;align-items:center;text-align:center}
.pair span{font-size:12px;color:var(--muted);font-weight:800}
.pair button{min-height:50px;border-radius:8px;border:2px solid var(--line);background:#fff;font-weight:800;font-size:15px}
.pair button.on{background:var(--sun);border-color:var(--ink)}
.truthrow{display:flex;gap:8px;align-items:stretch}
.truthrow textarea{resize:none}
.truthrow button{flex:none;width:92px;border-radius:8px;border:2px dashed var(--muted);background:#fff;font-weight:800;font-size:13px}
.truthrow button.on{border-style:solid;border-color:var(--red);background:var(--red);color:#fff}
blockquote{background:#EEF2FF;border-left:6px solid var(--blue);border-radius:8px;padding:12px;font-weight:800}
.tapegg{background:none;border:0;align-self:center;transform-origin:50% 90%;user-select:none;-webkit-user-select:none}
.tapegg svg{width:190px;height:auto}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;text-align:center}
.duo>div{background:#EEF2FF;border-radius:12px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.dot{display:inline-block;width:16px;height:16px;border-radius:50%;border:2px solid var(--ink);margin-right:5px;vertical-align:-3px}
ul.plain{list-style:none;font-weight:800}
table.eo{width:100%;border-collapse:separate;border-spacing:0 5px;text-align:center;table-layout:fixed}
table.eo th{font-size:13px;color:var(--muted)}
table.eo td{padding:9px 4px;background:#EEF2FF;font-weight:700;font-size:14px}
table.eo tr.same td{background:#CFF1DF}
.truth ol{padding-left:22px;display:flex;flex-direction:column;gap:5px;margin:6px 0}
.truth li.lie{color:var(--red);font-weight:800}
.truth li em{font-size:12px}

/* окна */
#modal{position:fixed;inset:0;z-index:60;background:rgba(14,18,48,.66);display:flex;align-items:flex-end;justify-content:center;padding-top:calc(env(safe-area-inset-top) + 12px)}
.sheet{position:relative;width:100%;max-width:520px;max-height:100%;overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:14px 14px 0 0;padding:20px 16px calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;animation:up .28s ease}
.sheet>*{flex-shrink:0}
.sheet>h2{padding-right:46px}
@keyframes up{from{transform:translateY(40px);opacity:0}}
body.kbopen #modal{align-items:flex-start}
body.kbopen .sheet{max-height:58%;border-radius:14px}
.x{position:absolute;right:10px;top:12px;width:40px;height:40px;border-radius:8px;border:0;background:#EEF2FF;font-weight:800;z-index:2}
.zoom{width:100%;max-height:62vh;object-fit:contain;border-radius:8px;margin-top:40px}
h2+.zoom{margin-top:0}

.pad{position:relative;align-self:center;width:100%;max-width:min(100%,46vh * 2);border:3px solid var(--ink);border-radius:8px;overflow:hidden;background:#fff}
.pad canvas{display:block;width:100%;height:auto;touch-action:none}
.pad canvas[height="400"],.pad canvas[height="600"]{max-height:44vh;width:auto;max-width:100%;margin:0 auto}
.pad:has(canvas[height="400"]),.pad:has(canvas[height="600"]){width:min(100%,44vh)}
.pad.trans{background:#fff conic-gradient(#E9EDF9 25%,#fff 0 50%,#E9EDF9 0 75%,#fff 0) 0 0/20px 20px}
.pad.preview img{width:100%}
.mark{position:absolute;width:14px;height:14px;margin-left:-7px;border-radius:50%;background:var(--ink);border:3px solid var(--sun);pointer-events:none}
.mark.top{top:-4px}.mark.bottom{bottom:-4px}
.palette{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.palette button{aspect-ratio:1;border-radius:50%;border:2px solid var(--line)}
.palette button.on{border:3px solid var(--ink);scale:1.18}

.recbtn{align-self:center;display:flex;align-items:center;gap:10px;min-height:60px;padding:14px 26px;border-radius:8px;border:2px solid var(--ink);background:#fff;font-weight:800;font-size:18px}
.recbtn i{width:20px;height:20px;border-radius:50%;background:#E5483B}
.recbtn.on{background:var(--red);border-color:var(--red);color:#fff}
.recbtn.on i{background:#fff;border-radius:4px;animation:blink 1s infinite}
@keyframes blink{50%{opacity:.35}}
.voice{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 14px 8px 10px;border-radius:8px;border:2px solid var(--ink);background:var(--sun);color:var(--ink);font-weight:800;font-size:14px;align-self:flex-start}
.duo .voice{align-self:center}
.voice i{flex:none;width:0;height:0;border-left:14px solid var(--ink);border-top:9px solid transparent;border-bottom:9px solid transparent;margin-left:4px}
.voice.on i{width:14px;height:16px;border:0;border-left:5px solid var(--ink);border-right:5px solid var(--ink)}

/* главная после вылупления */
.todo{display:grid;grid-template-columns:46px 1fr 34px;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;background:#fff;border:0;border-radius:12px;padding:12px;box-shadow:0 3px 0 var(--line)}
.todo span{grid-row:1/3;font-size:30px;text-align:center}
.todo b{font:400 15px/1.3 var(--head)}
.todo small{grid-column:2;font-size:13px;font-weight:700;color:var(--muted)}
.todo i{grid-column:3;grid-row:1/3;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--sun);font-style:normal;font-weight:800;font-size:19px}
.todo.done i{background:var(--mint);color:#fff}
.online{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:14px}
.online i{width:10px;height:10px;border-radius:50%;background:#1F9D6B}
.items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 4px;border-radius:8px;border:2px solid var(--line);background:#fff;font-size:12px;font-weight:800;line-height:1.2}
.item span{font-size:28px}
.item.on{border-color:var(--ink);background:var(--sun)}
.item.lock span{filter:grayscale(1);opacity:.45}
.places{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.place{height:96px;border-radius:12px;border:4px solid transparent;background:#555 center/cover;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-shadow:0 1px 4px #000}
.place.on{border-color:var(--sun)}
.place:disabled{opacity:1;filter:grayscale(.85)}
.place small{font-weight:800}
.hero{align-items:center;text-align:center}
.unlock{background:#fff;border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;gap:7px 10px;align-items:center;box-shadow:0 3px 0 var(--line)}
.unlock span{font-size:13px;font-weight:800;color:var(--muted)}
.unlock .bar{grid-column:1/3}

/* чат */
.chatlist{display:flex;flex-direction:column;gap:8px;min-height:30vh}
.day{align-self:center;font-size:12px;font-weight:800;color:var(--muted);background:#fff;border-radius:6px;padding:3px 10px}
.msg{display:flex;gap:7px;align-items:flex-end;max-width:84%}
.msg.mine{align-self:flex-end;flex-direction:row-reverse}
.bub{position:relative;min-width:0;background:#fff;border-radius:12px;padding:9px 12px 5px;box-shadow:0 2px 0 var(--line)}
.msg.mine .bub{background:var(--ink);color:#fff;box-shadow:none}
.msg.t-sticker .bub{background:transparent;color:var(--ink);box-shadow:none;padding:0}
.bub time{display:block;font-size:11px;font-weight:700;opacity:.78;text-align:right;margin-top:2px}
.sticker{display:flex;flex-direction:column;align-items:center;font-weight:800;font-size:13px}
.sticker svg{width:118px;height:auto}
.reacts{position:absolute;left:6px;bottom:-12px;background:#fff;color:var(--ink);border:2px solid var(--line);border-radius:7px;padding:0 5px;font-size:13px;white-space:nowrap}
.msg:has(.reacts){margin-bottom:10px}
.reactbar{display:flex;gap:4px;background:#fff;border-radius:8px;padding:5px;align-self:flex-start;box-shadow:0 3px 10px rgba(27,35,80,.2)}
.reactbar.mine{align-self:flex-end}
.reactbar button{width:44px;height:42px;border:0;border-radius:7px;background:#EEF2FF;font-size:22px}
.shot{border:0;background:none;display:block;width:100%}
.shot img{width:100%;border-radius:8px}
.msg .shot img{max-width:230px;max-height:300px;object-fit:cover}
#composer{position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:25;background:#fff;border-top:2px solid var(--line);padding:8px 10px}
body.kbopen #composer{bottom:0}
.cline{display:flex;gap:6px;max-width:500px;margin:0 auto}
.cbtn{flex:none;width:44px;height:44px;border-radius:8px;border:2px solid var(--line);background:#fff;font-size:20px}
.cbtn.send{background:var(--red);border-color:var(--red);color:#fff;font-size:18px}
#msgform{flex:1;display:flex;gap:6px;min-width:0}
#msg{flex:1;min-width:0;min-height:44px}
#chint{font-size:13px;font-weight:800;color:var(--muted);text-align:center;padding-bottom:6px}
#chint:empty{display:none}
#tray{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-width:500px;margin:0 auto 8px;max-height:38vh;overflow-y:auto}
#tray button{border:0;border-radius:8px;background:#EEF2FF;padding:2px 0 6px;font-size:11px;font-weight:800;display:flex;flex-direction:column;align-items:center}
#tray svg{width:66px;height:auto}

/* рюкзак и фото дня */
.bag{background:#FBEBD0;box-shadow:0 3px 0 #E2C595}
.packbtns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.packbtns button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:13px;border-radius:8px;border:2px solid var(--ink);background:#fff;font-weight:800}
.packbtns span{font-size:28px}
.packed{display:flex;gap:12px;align-items:center;background:#fff;border-radius:12px;padding:12px}
.packed>span{font-size:36px}
.frames{display:grid;grid-template-columns:1fr 1fr;gap:10px}
figure{background:#fff;border:2px solid var(--line);border-radius:8px;padding:6px;min-width:0}
figure .shot img{aspect-ratio:3/4;object-fit:cover}
figure .empty{aspect-ratio:3/4;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:8px;font-weight:800;font-size:13px;color:var(--muted);background:#EEF2FF;border-radius:6px}
figcaption{text-align:center;font-weight:800;font-size:13px;padding-top:5px}

/* профили */
.ava{flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;font-weight:800;background:#DDE3F8;color:var(--ink)}
.ava.sonya{background:#FFC2DE}.ava.darina{background:#B7E8D6}
.ava img{width:100%;height:100%;object-fit:cover}
.phead{display:flex;gap:14px;align-items:center}
.avabtn{position:relative;background:none;border:0}
.avabtn i{position:absolute;right:-4px;bottom:-4px;width:28px;height:28px;border-radius:8px;background:var(--sun);display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:800}
dt{font-size:12px;font-weight:800;color:var(--muted)}
dd{font-weight:700;margin-bottom:7px}
.emojis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.emojis button{font-size:34px;padding:8px 0;border:0;border-radius:8px;background:#EEF2FF}

nav{position:fixed;left:0;right:0;bottom:0;z-index:26;display:flex;background:var(--ink);padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
nav button{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:52px;padding:5px 0;background:none;border:0;border-radius:8px;color:#C9D1F5;font-size:11px;font-weight:800}
nav button.on{background:var(--sun);color:var(--ink)}
nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
nav em{position:absolute;top:2px;left:calc(50% + 7px);min-width:19px;height:19px;border-radius:6px;background:var(--red);color:#fff;font-style:normal;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0 4px}
body.kbopen nav{display:none}

#lock{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}
#lock .card{max-width:420px;width:100%}
#toast{position:fixed;left:16px;right:16px;top:calc(env(safe-area-inset-top) + 68px);z-index:90;max-width:460px;margin:0 auto;background:var(--ink);color:#fff;border:2px solid var(--sun);border-radius:8px;padding:12px 14px;font-weight:800;text-align:center;opacity:0;pointer-events:none;transform:translateY(-8px);transition:.25s}
#toast.on{opacity:1;transform:none}
#upd{position:fixed;left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:55;background:var(--sun);border-radius:8px;padding:10px 14px;font-weight:800;display:flex;justify-content:space-between;align-items:center}
#upd button{background:var(--ink);color:#fff;border:0;border-radius:7px;padding:9px 14px;font-weight:800}

#game{position:fixed;inset:0;z-index:70;background:#68B2FF;touch-action:none;user-select:none;-webkit-user-select:none}
#game canvas{width:100%;height:100%;display:block}
.ghud{position:absolute;left:10px;right:10px;top:calc(env(safe-area-inset-top) + 10px);display:flex;gap:8px;pointer-events:none}
.ghud div{background:var(--ink);color:#fff;border-radius:8px;padding:5px 12px;min-width:84px}
.ghud small{display:block;font-size:11px;font-weight:700}
.ghud b{font:400 19px var(--head)}
.ghud button{pointer-events:auto;margin-left:auto;width:48px;height:48px;border-radius:8px;border:0;background:#fff;font-weight:800;font-size:18px}
.gcard{position:absolute;left:24px;right:24px;top:50%;translate:0 -50%;max-width:380px;margin:0 auto;background:#fff;border-radius:14px;padding:20px;text-align:center;display:flex;flex-direction:column;gap:10px;box-shadow:0 10px 30px rgba(14,18,48,.35)}
.rec{font-weight:800;color:var(--mint)}

.confetti{position:fixed;inset:0;z-index:80;pointer-events:none;overflow:hidden}
.confetti i{position:absolute;top:-20px;width:9px;height:15px;animation:fall 3s ease-in forwards}
@keyframes fall{to{transform:translateY(110vh) rotate(var(--r))}}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
