/* studiotour/bg.css — the moving art-tour map behind the signed-out pages and Change password (see bg.php, bg.js).
   Faint streets + river, slow paint washes drifting, little trips being planned (pins, hearts, routes, ratings, notes,
   ✓ visited) and white line sketches of art things drawing themselves. Behind everything; purely decorative. */
.bg { position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.bg svg { position:absolute; inset:0; width:100%; height:100%; }
.bg .glow { position:absolute; width:70vmax; height:70vmax; border-radius:50%; will-change:transform;
            background:radial-gradient(closest-side, rgba(255,122,69,.30), rgba(255,122,69,0)); animation:drift 40s ease-in-out infinite alternate; }
.bg .g1 { left:-24vmax; top:-30vmax; }
.bg .g2 { right:-26vmax; bottom:-32vmax; background:radial-gradient(closest-side, rgba(63,208,182,.26), rgba(63,208,182,0));
          animation-duration:52s; animation-direction:alternate-reverse; }
.bg .g3 { right:-30vmax; top:-34vmax; width:60vmax; height:60vmax; background:radial-gradient(closest-side, rgba(195,155,255,.24), rgba(195,155,255,0));
          animation-duration:46s; }
@keyframes drift { to { transform:translate(14vmax, 10vmax) scale(1.12); } }
#bgRiver { fill:none; stroke:rgba(120,175,255,.14); stroke-width:26; stroke-linecap:round; }
#bgFlow { fill:none; stroke:rgba(190,215,255,.18); stroke-width:2; stroke-linecap:round; stroke-dasharray:18 46; animation:flow 30s linear infinite; }
@keyframes flow { to { stroke-dashoffset:-640; } }
#bgTrips .rline, #bgTrips .rglow { fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1 1; }
#bgTrips .rline { stroke-width:3; stroke-opacity:.9; }
#bgTrips .rglow { stroke-width:10; stroke-opacity:.18; }
#bgTrips .ring { fill:none; stroke-width:2; }
#bgTrips .shadow { fill:rgba(0,0,20,.35); }
#bgTrips text { font:800 8px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; text-anchor:middle; }
/* reactions over the pins: heart, star rating (on a dark chip), note bubble with typing dots, green ✓ visited */
#bgTrips .heart { fill:#ff4d6d; stroke:#fff; stroke-width:1.2; }
#bgTrips .chip { fill:rgba(0,18,60,.6); }
#bgTrips .star { fill:none; stroke:rgba(255,255,255,.55); stroke-width:.9; stroke-linejoin:round; }
#bgTrips .star.on { fill:#ffcf4d; stroke:#ffcf4d; }
#bgTrips .bubble { fill:#fff; }
#bgTrips .typing { animation:typing 1.2s ease-in-out infinite; }
@keyframes typing { 0%, 60%, 100% { opacity:.35; transform:translateY(0); } 30% { opacity:1; transform:translateY(-1.5px); } }
#bgTrips .donec { fill:#22b05a; stroke:#fff; stroke-width:1.5; }
#bgTrips .donek { fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
#bgArt .sk { fill:none; stroke:rgba(255,255,255,.72); stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
             stroke-dasharray:1 1; vector-effect:non-scaling-stroke; }
#bgArt .wash { fill-opacity:.24; }   /* fill-opacity: the fade-in animates opacity itself */
@media (prefers-reduced-motion: reduce) { .bg .glow, #bgFlow, #bgTrips .typing { animation:none; } }
/* everything else on the page sits above the background (dialogs are in the top layer already) */
body > .bg ~ :not(dialog):not(script):not(link) { position:relative; z-index:1; }
