*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--font);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-synthesis:none;font-optical-sizing:auto;background:var(--bg);color:var(--ink);line-height:1.5;min-height:100vh;overflow-x:hidden}
/* Whispy smoke background (Revision 4, no-flash in Revision 5). Two fixed layers behind everything: a generated image (bg-smoke.webp, themeable
   through --smoke-img / --smoke-i) and a slow-drifting layer of soft colour blooms blended with "screen". Both sit under page content, so text
   keeps its contrast. NEUTRAL BY DEFAULT: until <html data-smoke> is set (js/boot-brand.js sets it before first paint from the server value or from
   the last value this browser saw), both layers are empty, so a visitor never sees a wrong background for a moment. Switching fades over .3s. */
body::before,body::after{content:"";position:fixed;pointer-events:none;opacity:0;transition:opacity .3s ease}
body::before{inset:0;z-index:-2;background:center bottom/cover no-repeat}
body::after{inset:-12% -8%;z-index:-1;mix-blend-mode:screen;will-change:transform;animation:smoke-drift 80s ease-in-out infinite alternate;
background:radial-gradient(46% 38% at 12% 78%,var(--smoke-a),transparent 70%),radial-gradient(40% 34% at 88% 24%,var(--smoke-c),transparent 70%),radial-gradient(52% 30% at 55% 106%,var(--smoke-b),transparent 72%),radial-gradient(30% 24% at 70% 70%,var(--smoke-d),transparent 70%)}
@keyframes smoke-drift{0%{transform:translate3d(-2.5%,1%,0) scale(1)}50%{transform:translate3d(1.5%,-2%,0) scale(1.06)}100%{transform:translate3d(3%,1.5%,0) scale(1.02)}}
html[data-smoke=smoke] body::before{background-image:var(--smoke-img);opacity:var(--smoke-i)}
html[data-smoke=smoke] body::after{opacity:calc(var(--smoke-i)*.6)}
html[data-smoke=custom] body::before{background:linear-gradient(rgba(6,10,34,.5),rgba(6,10,34,.5)),var(--smoke-img) center/cover no-repeat;opacity:var(--smoke-i)}
html[data-smoke=custom] body::after,html[data-smoke=off] body::after{display:none}
html[data-bg-fade] body::before,html[data-bg-fade] body::after{opacity:0!important}
body.admin::before,body.admin::after{display:none}
@media(max-width:700px){html[data-smoke=smoke] body::before{background-image:var(--smoke-img-m);background-position:center bottom}body::after{animation:none;inset:0}html[data-smoke=smoke] body::after{opacity:calc(var(--smoke-i)*.45)}}
@media(prefers-reduced-motion:reduce),(update:slow){body::after{animation:none}}
img,video,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid #9ab4ff;outline-offset:2px}
.ic{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hand{font-family:var(--hand);font-style:normal;font-weight:700;line-height:1.1}
.grad{background:linear-gradient(90deg,#b66cff,#f246d6 40%,#6fa8ff 85%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.muted{color:var(--mut-l);font-size:13px}
[hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
