/* Cover full-page startup until the real fruit has drawn, then reveal it gently. */
@view-transition { navigation:auto; }
html.hub-leaving { background:#0c0c0e; }
html.hub-leaving body { opacity:0;transition:opacity .2s ease; }
html[data-hub-return]::after { content:'';position:fixed;inset:0;z-index:9999;pointer-events:none;background:radial-gradient(ellipse at center,#24202b,#0c0c0e 65%);opacity:1;transition:opacity .7s ease; }
html[data-hub-return]::before { content:'';position:fixed;inset:calc(50% - 28px) calc(50% - 28px);z-index:10000;pointer-events:none;background:url('/hub-logo.png') center/contain no-repeat;opacity:.7;animation:hub-seed 1.2s ease-in-out infinite alternate; }
html[data-hub-return='ready']::after,html[data-hub-return='ready']::before { opacity:0;transition:opacity .7s ease; }
@keyframes hub-seed { from{transform:scale(.65)} to{transform:scale(1)} }
@media(prefers-reduced-motion:reduce) {
 html[data-hub-return]::before { animation:none; }
 html[data-hub-return]::after,html[data-hub-return='ready']::after,html[data-hub-return='ready']::before { transition-duration:.22s; }
}
