body{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body>#main{flex:1 0 auto;min-width:0}
body>#topbar,body>#service-footer{flex:none}
.account-avatar{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;overflow:hidden;color:var(--ink);background:var(--surface);font-size:12px;font-weight:650;line-height:1}
.account-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.account-avatar svg{display:block;width:56%;height:56%}
/* Static architectural 32 px grid + Variant 1 retro 4x4 paper-colored pixel checkerboard punched through violet & blue radial glows (user choice 23.11.2026). */
#pixel-background{
  position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;
  --brief-grid-line:rgb(137 164 206 / .085);--grid-glow:rgb(150 128 255);--grid-glow-blue:rgb(84 166 255);--grid-glow-strong:rgb(178 160 255);
  --grid-hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='66'%3E%3Cpath d='M0.5 11L19.5 0L38.5 11M0.5 11V33L19.5 44L38.5 33M19.5 44V66' fill='none' stroke='%2389a4ce' stroke-opacity='.085'/%3E%3C/svg%3E");
  --brief-glow-v-core:rgb(148 120 245 / .44);
  --brief-glow-v-mid:rgb(143 116 238 / .20);
  --brief-glow-b-core:rgb(75 161 241 / .36);
  --brief-glow-b-mid:rgb(75 161 241 / .16);
  --brief-glow-bottom:rgb(143 116 238 / .24);
  background-color:var(--paper);
  background-image:
    var(--grid-hex),
    repeating-conic-gradient(var(--paper) 0% 25%,transparent 0% 50%),
    /* The brief's own spots (user request 24.11.2026), keeping their shape at any width; the blue spot cut in half by both side
       edges is the storefront's too (styles.css), so the pages' backgrounds join while they slide; the others stay clear of the edges. */
    radial-gradient(min(640px,60vw) min(420px,40vw) at 0% var(--seam-left,44%),var(--brief-glow-b-core) 0%,var(--brief-glow-b-mid) 36%,transparent 68%),
    radial-gradient(min(640px,60vw) min(420px,40vw) at 100% var(--seam-right,44%),var(--brief-glow-b-core) 0%,var(--brief-glow-b-mid) 36%,transparent 68%),
    radial-gradient(min(520px,44vw) min(340px,30vw) at 64% 12%,var(--brief-glow-v-core) 0%,var(--brief-glow-v-mid) 36%,transparent 68%),
    radial-gradient(min(520px,44vw) min(340px,30vw) at 40% 92%,var(--brief-glow-bottom) 0%,transparent 68%);
  background-size:38px 66px,4px 4px,100% 100%,100% 100%,100% 100%,100% 100%;
}
:root[data-theme=light] #pixel-background{
  --brief-grid-line:rgb(36 63 107 / .075);--grid-glow:rgb(98 72 222);--grid-glow-blue:rgb(30 116 214);--grid-glow-strong:rgb(80 48 212);--grid-hex:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='66'%3E%3Cpath d='M0.5 11L19.5 0L38.5 11M0.5 11V33L19.5 44L38.5 33M19.5 44V66' fill='none' stroke='%23243f6b' stroke-opacity='.075'/%3E%3C/svg%3E");
  --brief-glow-v-core:rgb(124 98 232 / .34);
  --brief-glow-v-mid:rgb(124 98 232 / .14);
  --brief-glow-b-core:rgb(58 146 230 / .28);
  --brief-glow-b-mid:rgb(58 146 230 / .12);
  --brief-glow-bottom:rgb(124 98 232 / .18);
}
html{background:var(--paper)}body{background:transparent}
/* The pointer's glow on the grid, as on the storefront (styles.css, pixel-background.mjs; user request 24.11.2026). */
.grid-glow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;mix-blend-mode:screen}
.grid-glow[data-mode=light]{mix-blend-mode:multiply}
@media (prefers-reduced-motion:reduce),(hover:none),(pointer:coarse){.grid-glow{display:none}}
