.startup-overlay { position:fixed; inset:0; z-index:100; display:grid; place-items:center; background:#000; color:#fff; pointer-events:auto; transition:opacity 380ms ease, visibility 380ms; }
.startup-mark { width:64px; height:64px; transition:transform 380ms cubic-bezier(.22,1,.36,1), filter 380ms; }
.startup-mark svg { width:100%; height:100%; overflow:visible; }
.startup-mark path { transform-box:fill-box; transform-origin:center; }
.startup-mark path:first-child { animation:joinStart 700ms cubic-bezier(.22,1,.36,1) both, breatheUpper 1800ms ease-in-out 700ms infinite; }
.startup-mark path:nth-child(2) { animation:joinEnd 700ms cubic-bezier(.22,1,.36,1) both, breatheLower 1800ms ease-in-out 700ms infinite; }
.startup-mark path:nth-child(3) { animation:joinCenter 800ms cubic-bezier(.22,1,.36,1) both, pulseCenter 1800ms ease-in-out 800ms infinite; }
@keyframes breatheUpper { 0%,100% { transform:translate(0,0) scale(1);opacity:1; } 50% { transform:translate(-2px,-2px) scale(1.04);opacity:.72; } }
@keyframes breatheLower { 0%,100% { transform:translate(0,0) scale(1);opacity:1; } 50% { transform:translate(2px,2px) scale(1.04);opacity:.72; } }
@keyframes pulseCenter { 0% { transform:rotate(0) scale(1);opacity:1; } 50% { transform:rotate(90deg) scale(.8);opacity:.65; } 100% { transform:rotate(180deg) scale(1);opacity:1; } }
.startup-overlay[data-leaving=true] { animation:revealPage 1100ms ease-in-out forwards; }
.startup-overlay[data-leaving=true] .startup-mark path { transform-box:fill-box; transform-origin:center; }
.startup-overlay[data-leaving=true] .startup-mark path:first-child { animation:exitUpper 980ms cubic-bezier(.65,0,.25,1) 120ms both; }
.startup-overlay[data-leaving=true] .startup-mark path:nth-child(2) { animation:exitLower 980ms cubic-bezier(.65,0,.25,1) 120ms both; }
.startup-overlay[data-leaving=true] .startup-mark path:nth-child(3) { animation:hideCenter 120ms ease-out both; }
.startup-overlay[data-leaving=true] .startup-progress { animation:hideProgress 180ms ease-out both; }
@keyframes exitUpper { 0% { transform:translate(0,0) scale(1);opacity:1; } 50% { transform:translate(-13vw,-13vh) scale(5);opacity:.75; } 100% { transform:translate(-65vw,-65vh) scale(18);opacity:0; } }
@keyframes exitLower { 0% { transform:translate(0,0) scale(1);opacity:1; } 50% { transform:translate(13vw,13vh) scale(5);opacity:.75; } 100% { transform:translate(65vw,65vh) scale(18);opacity:0; } }
@keyframes hideCenter { from { opacity:1;transform:scale(1); } to { opacity:0;transform:scale(.7); } }
@keyframes hideProgress { to { opacity:0; } }
@keyframes revealPage { 0%,63% { opacity:1; } 100% { opacity:0;visibility:hidden; } }
@keyframes joinStart { from { opacity:.35; transform:translate(-12px,-12px); } to { opacity:1; transform:translate(0,0); } }
@keyframes joinEnd { from { opacity:.35; transform:translate(12px,12px); } to { opacity:1; transform:translate(0,0); } }
@keyframes joinCenter { from { opacity:.35; transform:scale(.5) rotate(-45deg); } to { opacity:1; transform:scale(1) rotate(0); } }
@media(prefers-reduced-motion:reduce) { .startup-overlay,.startup-mark { transition:none; } .startup-mark path { animation:none; } }
@media(prefers-reduced-motion:reduce) { .startup-overlay[data-leaving=true] { animation:hideProgress 180ms ease-out both; } .startup-overlay[data-leaving=true] .startup-mark path { animation:none; } }

@font-face { font-family:"Loader DIN"; src:url("assets/fonts/D-DIN.ttf") format("truetype"); font-style:normal; font-weight:400; font-display:block; }
.startup-content { display:flex; flex-direction:column; align-items:center; gap:24px; }
.startup-progress { font-family:"Loader DIN",DIN,sans-serif; font-size:32px; line-height:1; font-variant-numeric:tabular-nums; }

.startup-overlay{display:none;z-index:9999}.startup-loading .startup-overlay{display:grid}.startup-loading,.startup-loading body{overflow:hidden}html body .startup-overlay,html body .startup-overlay .startup-progress{color:#fff!important}
