/* gi_loaders.css: the loader family's art (two-tone SVG in --accent-primary and --text-dim, CSS-animated, reduced
   motion honoured). The motifs themselves and their cycle lengths are in static/js/gi_loader_art.js: keep each
   animation's duration in step with its cycle there. Used by the app (giLoader in app.js; the wrappers, sizes and
   skeletons stay in styles.css) and by the public site's "What's inside" cards (whats_inside.js), so both draw the
   same loader. The technology motifs are in project_loaders.css, the data-center motif in dc_loader.css. */

/* Money loader (SEC financials, filings, PPA): a coin outline whose "$" fills from the bottom. */
.money-loader { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 16px; color: var(--text-dim); font-size: 12px; }
.money-loader-coin { position: relative; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--accent-primary) 55%, transparent); display: grid; place-items: center;
    box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent-primary) 10%, transparent); }
.money-loader-coin::before { content: ''; position: absolute; inset: 0; transform: translateY(100%);
    background: color-mix(in srgb, var(--accent-primary) 24%, transparent); animation: money-fill 1.4s ease-in-out infinite; }
.money-loader-coin span { position: relative; font: 700 19px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent-primary); }
@keyframes money-fill { 0% { transform: translateY(100%); } 55% { transform: translateY(0); } 80% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .money-loader-coin::before { animation: none; transform: translateY(40%); } }

/* Project and developer loaders (same family as the money coin). */
.gl-svg { overflow: visible; }
.gl-grid line { stroke: var(--text-dim); stroke-width: 1; opacity: .38; }
.gl-pin path { fill: color-mix(in srgb, var(--accent-primary) 22%, transparent); stroke: var(--accent-primary); stroke-width: 2; stroke-linejoin: round; }
.gl-pin circle { fill: var(--accent-primary); }
.gl-pin { transform-box: view-box; transform-origin: 32px 43px; animation: gl-drop 1.4s cubic-bezier(.3,.7,.4,1) infinite; }
.gl-ring { fill: none; stroke: var(--accent-primary); stroke-width: 1.5; opacity: 0; transform-box: view-box; transform-origin: 32px 47px; animation: gl-pulse 1.4s ease-out infinite; }
@keyframes gl-drop { 0% { transform: translateY(-18px); opacity: 0; } 20% { opacity: 1; } 42% { transform: translateY(0); } 50% { transform: translateY(-3px); } 58%, 100% { transform: translateY(0); opacity: 1; } }
@keyframes gl-pulse { 0%, 42% { transform: scale(.4); opacity: 0; } 48% { opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.gl-node { fill: color-mix(in srgb, var(--text-dim) 12%, transparent); stroke: var(--text-dim); stroke-width: 1.5; }
.gl-root { fill: color-mix(in srgb, var(--accent-primary) 24%, transparent); stroke: var(--accent-primary); }
.gl-link { fill: none; stroke: var(--accent-primary); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 42; stroke-dashoffset: 42; animation: gl-draw 1.5s ease-in-out infinite; }
.gl-l2 { animation-delay: .1s; } .gl-l3 { animation-delay: .2s; }
.gl-child { animation: gl-light 1.5s ease-in-out infinite; }
.gl-c2 { animation-delay: .1s; } .gl-c3 { animation-delay: .2s; }
@keyframes gl-draw { 0% { stroke-dashoffset: 42; opacity: 1; } 40%, 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes gl-light { 0%, 30% { fill: color-mix(in srgb, var(--text-dim) 12%, transparent); stroke: var(--text-dim); }
    45%, 80% { fill: color-mix(in srgb, var(--accent-primary) 30%, transparent); stroke: var(--accent-primary); }
    100% { fill: color-mix(in srgb, var(--text-dim) 12%, transparent); stroke: var(--text-dim); } }

/* PPA: a price line ticks across the chart and lands on the latest price, which pulses. */
.gl-price { fill: none; stroke: var(--accent-primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 70; stroke-dashoffset: 70; animation: gl-price-draw 1.4s ease-in-out infinite; }
.gl-price-dot { fill: var(--accent-primary); opacity: 0; transform-box: view-box; transform-origin: 57px 13px; animation: gl-price-dot 1.4s ease-in-out infinite; }
.gl-price-ring { fill: none; stroke: var(--accent-primary); stroke-width: 1.4; opacity: 0; transform-box: view-box; transform-origin: 57px 13px; animation: gl-price-ring 1.4s ease-out infinite; }
@keyframes gl-price-draw { 0% { stroke-dashoffset: 70; opacity: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes gl-price-dot { 0%, 50% { opacity: 0; transform: scale(.3); } 58%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes gl-price-ring { 0%, 56% { opacity: 0; transform: scale(.6); } 62% { opacity: .9; } 100% { opacity: 0; transform: scale(2.6); } }

/* Supplier -> offtaker: energy packets travel along the wire; the offtaker lights up as they land. */
.gl-wire { stroke: var(--text-dim); stroke-width: 1.4; stroke-dasharray: 2 3; opacity: .55; }
.gl-packet { fill: var(--accent-primary); opacity: 0; transform-box: view-box; animation: gl-packet 1.4s linear infinite; }
.gl-p2 { animation-delay: .35s; } .gl-p3 { animation-delay: .7s; }
@keyframes gl-packet { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(22px); opacity: 0; } }
.gl-bolt { fill: var(--accent-primary); }
.gl-sink { animation: gl-light 1.4s ease-in-out infinite; animation-delay: .3s; }
.gl-town rect { fill: var(--text-dim); opacity: .7; }

/* Contacts: three contact cards fan out from the stack and settle back. */
.gl-card rect { fill: var(--bg-secondary, var(--bg-primary)); stroke: var(--text-dim); stroke-width: 1.4; }
.gl-card { transform-box: view-box; transform-origin: 32px 40px; }
.gl-card-b1 { animation: gl-fan-l 1.5s ease-in-out infinite; }
.gl-card-b2 { animation: gl-fan-r 1.5s ease-in-out infinite; }
.gl-card-front rect { fill: color-mix(in srgb, var(--accent-primary) 14%, var(--bg-secondary, var(--bg-primary))); stroke: var(--accent-primary); }
.gl-card-front { animation: gl-lift 1.5s ease-in-out infinite; }
.gl-avatar { fill: none; stroke: var(--accent-primary); stroke-width: 1.5; stroke-linecap: round; }
.gl-text-line { stroke: var(--text-dim); stroke-width: 1.8; stroke-linecap: round; opacity: .7; }
.gl-text-line.gl-strong { stroke: var(--accent-primary); opacity: 1; }
.gl-shadow { stroke: var(--text-dim); stroke-width: 1.2; stroke-linecap: round; opacity: .25; }
@keyframes gl-fan-l { 0%, 15% { transform: rotate(0) translate(0, 0); } 45%, 70% { transform: rotate(-13deg) translate(-7px, 1px); } 100% { transform: rotate(0) translate(0, 0); } }
@keyframes gl-fan-r { 0%, 15% { transform: rotate(0) translate(0, 0); } 45%, 70% { transform: rotate(13deg) translate(7px, 1px); } 100% { transform: rotate(0) translate(0, 0); } }
@keyframes gl-lift { 0%, 15% { transform: translateY(0); } 45%, 70% { transform: translateY(-4px); } 100% { transform: translateY(0); } }

/* News: headlines scroll up the page under its masthead. */
.gl-paper { fill: color-mix(in srgb, var(--text-dim) 7%, transparent); stroke: var(--text-dim); stroke-width: 1.4; }
.gl-mast { fill: color-mix(in srgb, var(--accent-primary) 30%, transparent); stroke: var(--accent-primary); stroke-width: 1; }
.gl-head { fill: var(--accent-primary); opacity: .85; }
.gl-copy { fill: var(--text-dim); opacity: .5; }
.gl-ticker { transform-box: view-box; animation: gl-ticker 1.5s cubic-bezier(.55,.1,.35,1) infinite; }
@keyframes gl-ticker { 0%, 20% { transform: translateY(0); } 50%, 70% { transform: translateY(-17px); } 100% { transform: translateY(-34px); } }

/* Grid (dashboards, screens, exports): an even 4 x 3 board fills in a diagonal wave, holds, then clears in the same
   order. One tone for every tile. 1.4 s per cycle (CORE_CYCLE.grid): the last diagonal starts 0.35 s in and is dark
   again by 1.39 s. */
.gl-base { stroke: var(--text-dim); stroke-width: 1; opacity: .3; stroke-linecap: round; }
.gl-tile { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent);
    stroke-width: 1.2; animation: gl-fill 1.4s cubic-bezier(.4,0,.2,1) infinite; }
.gl-d1 { animation-delay: .07s; } .gl-d2 { animation-delay: .14s; } .gl-d3 { animation-delay: .21s; }
.gl-d4 { animation-delay: .28s; } .gl-d5 { animation-delay: .35s; }
@keyframes gl-fill { 0%, 6% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); }
    20%, 60% { fill: color-mix(in srgb, var(--accent-primary) 34%, transparent); stroke: var(--accent-primary); }
    74%, 100% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); } }
@media (prefers-reduced-motion: reduce) {
    .gl-tile { animation: none !important; stroke: var(--accent-primary); fill: color-mix(in srgb, var(--accent-primary) 34%, transparent); }
}

/* Company (company, developer, SEC and operator pages): the parent's headquarters sends a pulse down each line, middle,
   left, then right; each subsidiary lights up as its pulse arrives, all three hold, then settle back together.
   1.5 s per cycle (CORE_CYCLE.company). The runs are drawn with pathLength 100, so one dash pattern fits all three. */
.gl-co-wire { fill: none; stroke: var(--text-dim); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.gl-co-run { fill: none; stroke: var(--accent-primary); stroke-width: 1.7; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100;
    animation: 1.5s linear infinite; }
.gl-co-run-m { animation-name: gl-co-run-m; } .gl-co-run-l { animation-name: gl-co-run-l; } .gl-co-run-r { animation-name: gl-co-run-r; }
@keyframes gl-co-run-m { 0%, 4% { stroke-dashoffset: 100; opacity: 1; } 12.3%, 76% { stroke-dashoffset: 0; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes gl-co-run-l { 0%, 10% { stroke-dashoffset: 100; opacity: 1; } 28%, 76% { stroke-dashoffset: 0; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes gl-co-run-r { 0%, 26% { stroke-dashoffset: 100; opacity: 1; } 44%, 76% { stroke-dashoffset: 0; opacity: 1; } 90%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.gl-co-hq .gl-co-body { fill: color-mix(in srgb, var(--accent-primary) 22%, transparent); stroke: var(--accent-primary); stroke-width: 1.5; }
.gl-co-hq .gl-co-win { fill: var(--accent-primary); opacity: .9; }
.gl-co-roof { fill: color-mix(in srgb, var(--accent-primary) 22%, transparent); stroke: var(--accent-primary); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.gl-co-sub { color: var(--text-dim); fill-opacity: .1; transform-box: fill-box; transform-origin: 50% 100%; animation: 1.5s ease-out infinite; }
.gl-co-sub .gl-co-body { fill: currentColor; stroke: currentColor; stroke-width: 1.4; }
.gl-co-sub .gl-co-win { fill: currentColor; fill-opacity: 1; opacity: .6; }
.gl-co-sub-m { animation-name: gl-co-sub-m; } .gl-co-sub-l { animation-name: gl-co-sub-l; } .gl-co-sub-r { animation-name: gl-co-sub-r; }
@keyframes gl-co-sub-m { 0%, 11.5% { color: var(--text-dim); fill-opacity: .1; transform: scale(1); }
    14.5% { color: var(--accent-primary); fill-opacity: .26; transform: scale(1.08); } 19% { transform: scale(1); }
    76% { color: var(--accent-primary); fill-opacity: .26; } 90%, 100% { color: var(--text-dim); fill-opacity: .1; transform: scale(1); } }
@keyframes gl-co-sub-l { 0%, 26.5% { color: var(--text-dim); fill-opacity: .1; transform: scale(1); }
    29.5% { color: var(--accent-primary); fill-opacity: .26; transform: scale(1.08); } 34% { transform: scale(1); }
    76% { color: var(--accent-primary); fill-opacity: .26; } 90%, 100% { color: var(--text-dim); fill-opacity: .1; transform: scale(1); } }
@keyframes gl-co-sub-r { 0%, 42.5% { color: var(--text-dim); fill-opacity: .1; transform: scale(1); }
    45.5% { color: var(--accent-primary); fill-opacity: .26; transform: scale(1.08); } 50% { transform: scale(1); }
    76% { color: var(--accent-primary); fill-opacity: .26; } 90%, 100% { color: var(--text-dim); fill-opacity: .1; transform: scale(1); } }
.gl-co-dot { fill: var(--accent-primary); opacity: 0; transform-box: view-box; animation: 1.5s linear infinite; }
.gl-co-dot-m { animation-name: gl-co-dot-m; } .gl-co-dot-l { animation-name: gl-co-dot-l; } .gl-co-dot-r { animation-name: gl-co-dot-r; }
@keyframes gl-co-dot-m { 0%, 4% { transform: translate(0, 0); opacity: 0; } 4.6% { opacity: 1; }
    12.3% { transform: translate(0, 17px); opacity: 1; } 14%, 100% { transform: translate(0, 17px); opacity: 0; } }
@keyframes gl-co-dot-l { 0%, 10% { transform: translate(0, 0); opacity: 0; } 10.6% { opacity: 1; } 13.9% { transform: translate(0, 8px); }
    23.6% { transform: translate(-20px, 8px); } 28% { transform: translate(-20px, 17px); opacity: 1; } 30%, 100% { transform: translate(-20px, 17px); opacity: 0; } }
@keyframes gl-co-dot-r { 0%, 26% { transform: translate(0, 0); opacity: 0; } 26.6% { opacity: 1; } 29.9% { transform: translate(0, 8px); }
    39.6% { transform: translate(20px, 8px); } 44% { transform: translate(20px, 17px); opacity: 1; } 46%, 100% { transform: translate(20px, 17px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .gl-co-run, .gl-co-sub, .gl-co-dot { animation: none !important; }
    .gl-co-run { stroke-dashoffset: 0; }
    .gl-co-sub { color: var(--accent-primary); fill-opacity: .26; }
}
/* Reduced motion: each motif holds one still frame. */
@media (prefers-reduced-motion: reduce) {
    .gl-price, .gl-price-dot, .gl-price-ring, .gl-packet, .gl-sink, .gl-card, .gl-ticker { animation: none !important; }
    .gl-price { stroke-dashoffset: 0; }
    .gl-price-dot { opacity: 1; }
    .gl-packet { opacity: 1; } .gl-p2 { transform: translateX(10px); } .gl-p3 { transform: translateX(20px); }
    .gl-card-b1 { transform: rotate(-9deg) translate(-5px, 1px); } .gl-card-b2 { transform: rotate(9deg) translate(5px, 1px); }
    .gl-pin, .gl-ring, .gl-link, .gl-child { animation: none !important; }
    .gl-ring { opacity: .45; transform: scale(1.3); }
    .gl-link { stroke-dashoffset: 0; }
}

/* The kitchen (gi_loader_art.js kitchenArt): Studio's loader giLoader('studio'), the main Dashboard's briefing, Coco
   composing, the download banner and the Store's featured card all draw this one drawing with these rules. One loop is
   --glk-loop (3.2 s; the featured card 4 s, studio.css): the four ingredients drop into the pot one by one (2-17%, all
   in by 23%), a spatula comes in and stirs them, left, right, left (26-47%) while a swirl runs round the pot and they
   sink in (34-49%), it lifts out, the finished card rises from the pot and is plated by 62% (1.98 s of the loader's loop:
   inside giLoaderHold's 2 s), then the gold sparkle twinkles. Steam and flames are ambient. Resting styles are the
   reduced-motion still frame: the spatula resting in the pot, the swirl faint, the card plated beside it, the sparkle lit.
   The art is 96 x 56: each loader size is 1.5x the grid loader's width at its height, so nothing moves. */
.gi-loader--studio.gi-loader-sm .gl-svg { width: 60px; }
.gi-loader--studio.gi-loader-lg .gl-svg { width: 180px; }
.gi-page-loader .gi-loader--studio .gl-svg { width: 168px; }
.glst-plate, .glst-stove { fill: color-mix(in srgb, var(--text-dim) 14%, transparent); stroke: var(--text-dim); stroke-width: 1.2; }
.glst-pot { fill: color-mix(in srgb, var(--accent-primary) 10%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: 1.5; stroke-linejoin: round; }
.glst-tile { fill: var(--bg-secondary); stroke: var(--text-dim); stroke-width: 1.1; }
.glst-rim { stroke: var(--text-dim); stroke-width: 2.2; stroke-linecap: round; }
.glst-steam { fill: none; stroke: var(--text-dim); stroke-width: 1.3; stroke-linecap: round; opacity: .5; animation: glst-steam 2s ease-out infinite; }
.glst-s2 { animation-delay: -.67s; } .glst-s3 { animation-delay: -1.33s; }
.glst-flame { fill: color-mix(in srgb, var(--accent-primary) 50%, transparent); stroke: var(--accent-primary); stroke-width: .8;
    transform-box: fill-box; transform-origin: 50% 100%; animation: glst-flame 1.1s ease-in-out infinite alternate; }
.glst-f2 { animation-delay: -.55s; } .glst-f3 { animation-delay: -.825s; }
.glst-ins { opacity: 0; animation: glst-sink var(--glk-loop, 3.2s) ease-in infinite; }
.glst-in { fill: var(--accent-primary); animation: glst-drop var(--glk-loop, 3.2s) ease-in infinite backwards; }
.glst-i1 { animation-delay: calc(var(--glk-loop, 3.2s) * .02); } .glst-i2 { animation-delay: calc(var(--glk-loop, 3.2s) * .07); }
.glst-i3 { animation-delay: calc(var(--glk-loop, 3.2s) * .12); } .glst-i4 { animation-delay: calc(var(--glk-loop, 3.2s) * .17); }
.glst-in text { font: 700 4.6px ui-monospace, SFMono-Regular, Menlo, monospace; text-anchor: middle; }
.glst-ln, .glst-bars { fill: none; stroke: var(--accent-primary); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.glst-bars { stroke-width: 2; stroke-linecap: butt; }
.glst-pie { fill: color-mix(in srgb, var(--accent-primary) 35%, transparent); stroke: var(--accent-primary); stroke-width: 1.1; stroke-linejoin: round; }
.glst-handle { fill: none; stroke: var(--text-dim); stroke-width: 1.6; stroke-linecap: round; }
.glst-grip { fill: color-mix(in srgb, var(--text-dim) 45%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: .9; }
.glst-blade { fill: color-mix(in srgb, var(--accent-primary) 30%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: 1.1; }
.glst-spatula { transform-box: view-box; transform-origin: 27px 31px; animation: glst-stir var(--glk-loop, 3.2s) ease-in-out infinite; }
.glst-swirl { fill: none; stroke: var(--accent-primary); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 16 9; opacity: .5;
    animation: glst-swirl var(--glk-loop, 3.2s) linear infinite; }
.glst-card rect { fill: color-mix(in srgb, var(--accent-primary) 14%, var(--bg-secondary)); stroke: var(--accent-primary); stroke-width: 1.4; }
.glst-card { transform-box: fill-box; transform-origin: 50% 100%; animation: glst-serve var(--glk-loop, 3.2s) linear infinite; }
.glst-spark { fill: #f0a500; transform-box: fill-box; transform-origin: center; animation: glst-spark var(--glk-loop, 3.2s) ease-out infinite; }
[data-theme="light"] .glst-spark { fill: #c88a00; }
@keyframes glst-steam { 0% { transform: translateY(3px); opacity: 0; } 35% { opacity: .55; } 100% { transform: translateY(-6px); opacity: 0; } }
@keyframes glst-flame { to { transform: scale(.88, 1.2); } }
@keyframes glst-drop { 0% { transform: translateY(-18px); opacity: 0; } 1.5% { opacity: 1; } 6% { transform: translateY(.8px); }
    7.5%, 55% { transform: none; opacity: 1; } 56%, 100% { transform: translateY(-18px); opacity: 0; } }
@keyframes glst-sink { 0%, 34% { transform: none; opacity: 1; } 49%, 100% { transform: translateY(13px); opacity: 0; } }
@keyframes glst-stir { 0%, 21% { transform: translate(14px, -16px) rotate(20deg); opacity: 0; } 26% { transform: translate(0, 0) rotate(6deg); opacity: 1; }
    31% { transform: translate(-5px, 0) rotate(-12deg); } 37% { transform: translate(5px, 0) rotate(14deg); }
    43% { transform: translate(-5px, 0) rotate(-12deg); } 47% { transform: translate(0, 0) rotate(4deg); opacity: 1; }
    52%, 100% { transform: translate(14px, -16px) rotate(20deg); opacity: 0; } }
@keyframes glst-swirl { 0%, 25% { stroke-dashoffset: 0; opacity: 0; } 29%, 45% { opacity: .9; } 50%, 100% { stroke-dashoffset: -100; opacity: 0; } }
/* the card's foot starts at 26, 33 in the pot (behind its front wall), arcs over and lands on the plate */
@keyframes glst-serve { 0%, 49% { transform: translate(-47px, -14px) scale(.3); opacity: 0; } 50% { opacity: 1; }
    52% { transform: translate(-44px, -23px) scale(.45); } 54% { transform: translate(-36px, -29px) scale(.6); }
    56% { transform: translate(-24px, -31px) scale(.75); } 58% { transform: translate(-12px, -23px) scale(.9); }
    60% { transform: translate(0, .6px) scale(1.05, .94); } 62%, 90% { transform: none; opacity: 1; } 96%, 100% { transform: none; opacity: 0; } }
@keyframes glst-spark { 0%, 62% { transform: scale(0) rotate(0deg); opacity: 0; } 67% { transform: scale(1.25) rotate(45deg); opacity: 1; }
    72%, 88% { transform: scale(1) rotate(90deg); opacity: 1; } 80% { transform: scale(.75) rotate(90deg); }
    95%, 100% { transform: scale(0) rotate(90deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .glst-steam, .glst-flame, .glst-ins, .glst-in, .glst-spatula, .glst-swirl, .glst-card, .glst-spark { animation: none !important; }
}

/* The main app's playful page motifs (gi_loader_art.js PLAYFUL; GRI-814): incentives, lists, press and advancing. Each is one
   2.4 s loop (GiLoaderArt.playful.cycle); teal, the dim strokes and one gold accent. The resting styles are each motif's
   reduced-motion still frame; the keyframes drive everything while it plays. */
.glin-coin, .glli-ribbon, .glpr-gold, .glad-flag { fill: #f0a500; }
[data-theme="light"] .glin-coin, [data-theme="light"] .glli-ribbon, [data-theme="light"] .glpr-gold, [data-theme="light"] .glad-flag { fill: #c88a00; }

/* Incentives: three coins drop into the piggy bank (.42 s apart); each lights its column of the solar panel as it lands
   (15%, 32.5%, 50%), the bank squashes on each landing and hops once the panel is full (58%, inside the 1.5 s hold). */
.glin-foot { fill: color-mix(in srgb, var(--text-dim) 16%, transparent); }
.glin-body, .glin-leg { fill: color-mix(in srgb, var(--accent-primary) 10%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: 1.5; stroke-linejoin: round; }
.glin-leg { stroke-width: 1.3; }
.glin-tail { fill: none; stroke: var(--text-dim); stroke-width: 1.3; stroke-linecap: round; }
.glin-dot { fill: var(--text-dim); }
.glin-panel { fill: color-mix(in srgb, var(--text-dim) 8%, transparent); stroke: var(--text-dim); stroke-width: 1.1; }
.glin-cell { fill: color-mix(in srgb, var(--accent-primary) 34%, transparent); stroke: var(--accent-primary); stroke-width: .8; animation: 2.4s ease-out infinite; }
.glin-k1 { animation-name: glin-k1; } .glin-k2 { animation-name: glin-k2; } .glin-k3 { animation-name: glin-k3; }
.glin-slot { stroke: var(--text-dim); stroke-width: 2; stroke-linecap: round; }
.glin-ring { fill: none; stroke: color-mix(in srgb, var(--bg-secondary) 60%, transparent); stroke-width: .9; }
.glin-coin { transform-box: fill-box; transform-origin: 50% 50%; transform: translateY(-9px); animation: glin-coin 2.4s ease-in infinite backwards; }
.glin-c2, .glin-c3 { opacity: 0; }
.glin-c2 { animation-delay: .42s; } .glin-c3 { animation-delay: .84s; }
.glin-pig { transform-box: fill-box; transform-origin: 50% 100%; animation: glin-pig 2.4s ease-out infinite; }
@keyframes glin-coin { 0% { transform: translateY(-22px); opacity: 0; } 3% { opacity: 1; } 13% { transform: translateY(1px) scaleX(1); opacity: 1; }
    15% { transform: translateY(5px) scaleX(.35); opacity: 1; } 17%, 100% { transform: translateY(7px) scaleX(.35); opacity: 0; } }
@keyframes glin-k1 { 0%, 14% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); }
    18%, 78% { fill: color-mix(in srgb, var(--accent-primary) 34%, transparent); stroke: var(--accent-primary); }
    90%, 100% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); } }
@keyframes glin-k2 { 0%, 31% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); }
    35%, 78% { fill: color-mix(in srgb, var(--accent-primary) 34%, transparent); stroke: var(--accent-primary); }
    90%, 100% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); } }
@keyframes glin-k3 { 0%, 48% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); }
    52%, 78% { fill: color-mix(in srgb, var(--accent-primary) 34%, transparent); stroke: var(--accent-primary); }
    90%, 100% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); } }
@keyframes glin-pig { 0%, 14%, 19%, 31%, 36%, 48%, 53%, 63%, 100% { transform: none; }
    16%, 33.5%, 50.5% { transform: scale(1.02, .97); } 58% { transform: translateY(-2.4px); } }

/* Lists: the saved list's rows light up in turn (.34 s apart), each pin with a small hop, then the gold bookmark drops
   onto the card (lands by 57%, inside the 1.5 s hold); the ribbon lifts away first, then the rows clear in order. */
.glli-card { fill: color-mix(in srgb, var(--accent-primary) 6%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: 1.4; }
.glli-sep { stroke: var(--text-dim); stroke-width: .8; opacity: .35; }
.glli-pin { fill: color-mix(in srgb, var(--accent-primary) 30%, transparent); stroke: var(--accent-primary); stroke-width: 1.1; stroke-linejoin: round;
    transform-box: fill-box; transform-origin: 50% 100%; }
.glli-name { fill: var(--accent-primary); opacity: .85; }
.glli-sub { fill: var(--text-dim); opacity: .5; }
.glli-pin, .glli-name { animation: 2.4s ease-out infinite backwards; }
.glli-pin { animation-name: glli-pin; } .glli-name { animation-name: glli-name; }
.glli-r2 > * { animation-delay: .34s; } .glli-r3 > * { animation-delay: .68s; }
.glli-ribbon { transform-box: fill-box; transform-origin: 50% 0; animation: glli-ribbon 2.4s ease-out infinite; }
@keyframes glli-pin { 0%, 6% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); transform: none; }
    10% { transform: translateY(-1.4px); } 14%, 74% { fill: color-mix(in srgb, var(--accent-primary) 30%, transparent); stroke: var(--accent-primary); transform: none; }
    84%, 100% { fill: color-mix(in srgb, var(--text-dim) 9%, transparent); stroke: color-mix(in srgb, var(--text-dim) 60%, transparent); transform: none; } }
@keyframes glli-name { 0%, 8% { fill: var(--text-dim); opacity: .5; } 14%, 74% { fill: var(--accent-primary); opacity: .85; } 84%, 100% { fill: var(--text-dim); opacity: .5; } }
@keyframes glli-ribbon { 0%, 44% { transform: translateY(-15px); opacity: 0; } 47% { opacity: 1; } 53% { transform: translateY(1.4px) scaleY(1.06); }
    57%, 70% { transform: none; opacity: 1; } 78%, 100% { transform: none; opacity: 0; } }

/* Press: the sheet rolls up out of the slot (6% to 50%, inside the 1.5 s hold) while both wheels turn a full turn, the
   fresh headline darkens as it lands, holds, then the sheet is taken (lifts and fades) and the next one is fed. */
.glpr-paper { fill: var(--bg-secondary); stroke: var(--text-dim); stroke-width: 1.2; }
.glpr-mast { fill: color-mix(in srgb, var(--accent-primary) 30%, transparent); stroke: var(--accent-primary); stroke-width: .8; }
.glpr-head { fill: var(--accent-primary); opacity: .9; animation: glpr-ink 2.4s ease-out infinite; }
.glpr-copy { fill: var(--text-dim); opacity: .5; }
.glpr-body { fill: color-mix(in srgb, var(--accent-primary) 10%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: 1.5; }
.glpr-foot { fill: color-mix(in srgb, var(--text-dim) 30%, transparent); }
.glpr-belt { stroke: var(--text-dim); stroke-width: .9; opacity: .55; }
.glpr-wheel { fill: var(--bg-secondary); stroke: var(--text-dim); stroke-width: 1.3; }
.glpr-spokes path { fill: none; stroke: var(--accent-primary); stroke-width: 1.2; stroke-linecap: round; }
.glpr-slot { stroke: var(--text-dim); stroke-width: 2.2; stroke-linecap: round; }
.glpr-sheet { animation: glpr-feed 2.4s cubic-bezier(.4, 0, .3, 1) infinite; }
.glpr-spokes { transform-box: fill-box; transform-origin: 50% 50%; animation: glpr-turn 2.4s cubic-bezier(.4, 0, .3, 1) infinite; }
@keyframes glpr-feed { 0%, 6% { transform: translateY(28px); opacity: 1; } 46% { transform: translateY(-.8px); } 50%, 82% { transform: none; opacity: 1; }
    94% { transform: translateY(-7px); opacity: 0; } 95%, 100% { transform: translateY(28px); opacity: 0; } }
@keyframes glpr-turn { 0%, 6% { transform: rotate(0deg); } 48%, 100% { transform: rotate(360deg); } }
@keyframes glpr-ink { 0%, 46% { opacity: .5; } 54% { opacity: 1; } 62%, 100% { opacity: .9; } }

/* Advancing: the crane lowers a beam onto the foundation (lands at 22%), reels its cable back up, lowers a second beam
   onto the first (52%), and the gold milestone flag pops on top (settled by 61%, inside the 1.5 s hold); the beams and the
   flag clear (82% to 92%) and the hook waits for the next one. Each cable is scaled from the trolley (40, 11.8): the two
   stubs are the same length, so the hand-over from one to the other (34%, then 0%) does not show. */
.glad-mast, .glad-jib { fill: none; stroke: var(--text-dim); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.glad-weight, .glad-trolley { fill: color-mix(in srgb, var(--text-dim) 45%, transparent); }
.glad-cable { stroke: var(--text-dim); stroke-width: 1; transform-box: view-box; transform-origin: 40px 11.8px; }
.glad-found { fill: color-mix(in srgb, var(--text-dim) 12%, transparent); stroke: var(--text-dim); stroke-width: 1.3; }
.glad-beam { fill: color-mix(in srgb, var(--accent-primary) 30%, transparent); stroke: var(--accent-primary); stroke-width: 1.4; }
.glad-pole { fill: none; stroke: var(--text-dim); stroke-width: 1.2; stroke-linecap: round; }
.glad-mile { transform-box: view-box; transform-origin: 46px 35px; }
.glad-beam, .glad-cable, .glad-mile { animation: 2.4s cubic-bezier(.4, 0, .3, 1) infinite; }
.glad-b1 { animation-name: glad-b1; } .glad-b2 { animation-name: glad-b2; } .glad-mile { animation-name: glad-mile; }
.glad-w1 { animation-name: glad-w1; } .glad-w2 { animation-name: glad-w2; }
@keyframes glad-b1 { 0% { transform: translateY(-25px); opacity: 0; } 4% { transform: translateY(-25px); opacity: 1; } 22%, 82% { transform: none; opacity: 1; }
    92%, 100% { transform: none; opacity: 0; } }
@keyframes glad-w1 { 0%, 4% { transform: scaleY(.144); opacity: 1; } 22%, 26% { transform: none; } 34% { transform: scaleY(.144); opacity: 1; }
    35%, 100% { transform: scaleY(.144); opacity: 0; } }
@keyframes glad-b2 { 0%, 34% { transform: translateY(-19px); opacity: 0; } 37% { transform: translateY(-19px); opacity: 1; } 52%, 82% { transform: none; opacity: 1; }
    92%, 100% { transform: none; opacity: 0; } }
@keyframes glad-w2 { 0%, 34% { transform: scaleY(.181); opacity: 0; } 35%, 37% { transform: scaleY(.181); opacity: 1; } 52%, 56% { transform: none; }
    63%, 100% { transform: scaleY(.181); opacity: 1; } }
@keyframes glad-mile { 0%, 52% { transform: scale(0); opacity: 0; } 57% { transform: scale(1.12); opacity: 1; } 61%, 82% { transform: none; opacity: 1; }
    92%, 100% { transform: none; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    .glin-coin, .glin-cell, .glin-pig, .glli-pin, .glli-name, .glli-ribbon, .glpr-sheet, .glpr-spokes, .glpr-head,
    .glad-beam, .glad-cable, .glad-mile { animation: none !important; }
}

/* Coco composing an answer (app.js llmThinkingHTML): the kitchen (above), 25 px high beside Coco's 24 px face. */
.llm-pot { flex: none; width: 43px; height: 25px; margin-left: -2px; }
/* ...and the answer is plated: it rises onto the panel (readable from the first frame) with a one-shot gold garnish. */
.llm-msg.bot.llm-plated { position: relative; animation: llm-plate .42s cubic-bezier(.2, .8, .3, 1.15) both; }
.llm-msg.bot.llm-plated::after { content: ''; position: absolute; top: -5px; right: -5px; width: 11px; height: 11px; pointer-events: none; opacity: 0;
    background: #f0a500; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: llm-garnish .9s ease-out .25s both; }
[data-theme="light"] .llm-msg.bot.llm-plated::after { background: #c88a00; }
@keyframes llm-plate { from { opacity: .35; transform: translateY(5px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes llm-garnish { 0% { transform: scale(0) rotate(0deg); opacity: 0; } 35% { transform: scale(1.2) rotate(45deg); opacity: 1; }
    70% { transform: scale(1) rotate(90deg); opacity: 1; } 100% { transform: scale(0) rotate(90deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .llm-msg.bot.llm-plated, .llm-msg.bot.llm-plated::after { animation: none !important; }
}

/* Empty states (art only; the empty-state component keeps its words). A tumbleweed rolls across an empty, unlit grid (one
   pass every 5.6 s, a bounce every .62 s); an empty list is an empty pan on a cold burner with one wisp of steam. The
   resting styles are the still frames (the tumbleweed mid-grid). */
.gl-svg.gle-art { display: block; margin: 0 auto 8px; color: var(--text-dim); overflow: hidden; }
.gle-node { opacity: .6; }
.gle-roll { transform: translateX(52px); animation: gle-roll 5.6s linear infinite; }
.gle-hop { animation: gle-hop .62s infinite; }
.gle-spin { transform-box: fill-box; transform-origin: 50% 50%; animation: gle-spin 1.24s linear infinite; }
@keyframes gle-roll { 0% { transform: translateX(-26px); } 82%, 100% { transform: translateX(124px); } }
@keyframes gle-hop { 0%, 100% { transform: none; animation-timing-function: ease-out; } 50% { transform: translateY(-3.5px); animation-timing-function: ease-in; } }
@keyframes gle-spin { to { transform: rotate(360deg); } }
.gle-pan { fill: color-mix(in srgb, var(--text-dim) 8%, transparent); stroke-width: 1.5; stroke-linejoin: round; }
.gle-handle { stroke-width: 3; stroke-linecap: round; }
.gle-rim { stroke-width: 2; stroke-linecap: round; }
.gle-burner { stroke-width: 2; stroke-linecap: round; opacity: .5; }
.gle-steam { stroke-width: 1.2; stroke-linecap: round; opacity: .45; animation: gle-steam 2.4s ease-out infinite; }
@keyframes gle-steam { 0% { transform: translateY(3px); opacity: 0; } 40% { opacity: .5; } 100% { transform: translateY(-5px); opacity: 0; } }
.gle-title { display: block; margin-bottom: 4px; font-weight: 600; color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) {
    .gle-roll, .gle-hop, .gle-spin, .gle-steam { animation: none !important; }
}
.pw-empty .gle-art, .dcw-empty .gle-art { margin-left: 0; }

/* The download banner (gi_download.js): a card that slides in from the top-right corner, under the top bar and lined up
   with its right-most button (the apps cube or the bell), in the Updates panel's style: the kitchen cooking, the label
   ("Plating your report…") and the file name. Once the file is handed over it reads "Served ✓" with the name for 1.2 s
   (the kitchen held on its plated frame), then slides out. Several stack downwards. No pointer events, so it never covers
   a control; with reduced motion it appears and leaves without sliding. */
.gi-dl-stack { position: fixed; top: 56px; right: 16px; z-index: 10050; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
    pointer-events: none; }
.gi-dl { display: flex; align-items: center; gap: 12px; width: 300px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 10px 14px 10px 10px;
    background: var(--bg-secondary); border: 1px solid var(--border-primary); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    color: var(--text-primary); font-size: 12.5px; animation: gi-dl-in .32s cubic-bezier(.2, .8, .3, 1) both; }
.gi-dl .gl-svg.gi-dl-art { flex: none; width: 60px; height: auto; }
.gi-dl-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gi-dl-text { font-weight: 600; }
.gi-dl-name { font-size: 11px; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gi-dl-name:empty { display: none; }
.gi-dl-served { border-color: color-mix(in srgb, var(--success, #10b981) 45%, var(--border-primary)); }
.gi-dl-served .gi-dl-text { color: var(--success, #10b981); }
.gi-dl-served .gi-dl-art * { animation: none !important; }
.gi-dl-out { animation: gi-dl-out .26s ease-in both; }
@keyframes gi-dl-in { from { opacity: 0; transform: translateX(calc(100% + 24px)); } to { opacity: 1; transform: none; } }
@keyframes gi-dl-out { to { opacity: 0; transform: translateX(calc(100% + 24px)); } }
@media (prefers-reduced-motion: reduce) { .gi-dl, .gi-dl-out { animation: none; } }

/* The transmission loader (gi_loader_art.js TRANSMISSION, registered in transmission_page.js as giLoader('transmission',
   ...)): two pylons on the grid, a pulse of current runs each conductor from the left pylon to the right one, the lower
   conductor a beat behind. One cycle = 1.6 s. */
.gltx-tower, .gltx-arm { fill: none; stroke: var(--text-dim); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.gltx-arm { stroke-width: 1.5; }
.gltx-ins { fill: var(--accent-primary); opacity: .55; }
.gltx-wire { fill: none; stroke: var(--text-dim); stroke-width: 1; opacity: .6; }
.gltx-flow { fill: none; stroke: var(--accent-primary); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: .01 200; opacity: 0;
    animation: gltx-flow 1.6s linear infinite; }
.gltx-f2 { animation-delay: .3s; }
@keyframes gltx-flow { 0% { stroke-dashoffset: 0; opacity: 0; } 6% { opacity: 1; } 62% { stroke-dashoffset: -100; opacity: 1; }
    68%, 100% { stroke-dashoffset: -100; opacity: 0; } }
/* Reduced motion: one still frame, the current halfway along each span. */
@media (prefers-reduced-motion: reduce) {
    .gltx-flow { animation: none !important; opacity: 1; stroke-dashoffset: -50; }
    .gltx-f2 { stroke-dashoffset: -35; }
}

/* Page motifs kept with the family (not in policies.css / supply_chain.css) so the phone app's vendored copy has them. */
/* The Policies loader (gi_loader_art.js POLICY, registered in policies.js as giLoader('policy', ...)): a balance scale
   weighs a policy. One cycle = 1.8 s: the policy's lines write in, the beam tips left, tips right and settles level.
   Each pan rides with its end of the beam: 18 * sin(angle) (-12deg -> 3.7, 8deg -> 2.5, -3deg -> 0.9). */
.glpo-foot { fill: color-mix(in srgb, var(--text-dim) 20%, transparent); }
.glpo-post { fill: none; stroke: var(--text-dim); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.glpo-beam { transform-box: view-box; transform-origin: 32px 16px; animation: glpo-beam 1.8s ease-in-out infinite; }
.glpo-beam path { fill: none; stroke: var(--accent-primary); stroke-width: 2; stroke-linecap: round; }
.glpo-beam circle { fill: var(--accent-primary); }
.glpo-cord { fill: none; stroke: var(--text-dim); stroke-width: .9; opacity: .8; }
.glpo-dish { fill: color-mix(in srgb, var(--accent-primary) 12%, transparent); stroke: var(--accent-primary); stroke-width: 1.4; stroke-linejoin: round; }
.glpo-doc { fill: color-mix(in srgb, var(--accent-primary) 8%, var(--bg-secondary)); stroke: var(--accent-primary); stroke-width: 1.1; }
.glpo-line { fill: none; stroke: var(--accent-primary); stroke-width: 1; stroke-linecap: round; stroke-dasharray: 10; stroke-dashoffset: 10;
    animation: glpo-line 1.8s ease-out infinite; }
.glpo-line2 { animation-name: glpo-line2; }
.glpo-line3 { animation-name: glpo-line3; }
.glpo-weight { fill: color-mix(in srgb, var(--text-dim) 45%, transparent); stroke: var(--text-dim); stroke-width: 1; }
.glpo-pan-l { animation: glpo-pan-l 1.8s ease-in-out infinite; }
.glpo-pan-r { animation: glpo-pan-r 1.8s ease-in-out infinite; }
@keyframes glpo-beam { 0%, 22% { transform: rotate(0deg); } 40% { transform: rotate(-12deg); } 58% { transform: rotate(8deg); }
    72% { transform: rotate(-3deg); } 84%, 100% { transform: rotate(0deg); } }
@keyframes glpo-pan-l { 0%, 22% { transform: translateY(0); } 40% { transform: translateY(3.7px); } 58% { transform: translateY(-2.5px); }
    72% { transform: translateY(.9px); } 84%, 100% { transform: translateY(0); } }
@keyframes glpo-pan-r { 0%, 22% { transform: translateY(0); } 40% { transform: translateY(-3.7px); } 58% { transform: translateY(2.5px); }
    72% { transform: translateY(-.9px); } 84%, 100% { transform: translateY(0); } }
@keyframes glpo-line { 0% { stroke-dashoffset: 10; } 14%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 10; } }
@keyframes glpo-line2 { 0%, 6% { stroke-dashoffset: 10; } 20%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 10; } }
@keyframes glpo-line3 { 0%, 12% { stroke-dashoffset: 10; } 24%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 10; } }
/* Reduced motion: one still frame, the scale level and the policy written. */
@media (prefers-reduced-motion: reduce) {
    .glpo-beam, .glpo-pan-l, .glpo-pan-r, .glpo-line { animation: none !important; }
    .glpo-line { stroke-dashoffset: 0; }
}

/* The supply-chain loader (gi_loader_art.js SUPPLY, registered in supply_chain.js as giLoader('supply', ...)): a crate
   leaves the factory, rides the road and lands at the site's pin, which nods. One cycle = 1.6 s. */
.glsc-factory { fill: color-mix(in srgb, var(--accent-primary) 10%, var(--bg-secondary)); stroke: var(--text-dim); stroke-width: 1.3;
    stroke-linejoin: round; }
.glsc-stack { fill: none; stroke: var(--text-dim); stroke-width: 1.3; stroke-linecap: round; }
.glsc-smoke { fill: color-mix(in srgb, var(--text-dim) 35%, transparent); animation: glsc-smoke 1.6s ease-out infinite; }
.glsc-road { fill: none; stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 2.5 2.5; opacity: .7; }
.glsc-crate { fill: color-mix(in srgb, var(--accent-primary) 18%, var(--bg-secondary)); stroke: var(--accent-primary); stroke-width: 1.2;
    transform-box: view-box; animation: glsc-ride 1.6s ease-in-out infinite; }
.glsc-pin { fill: var(--accent-primary); transform-box: fill-box; transform-origin: 50% 100%; animation: glsc-pin 1.6s ease-in-out infinite; }
@keyframes glsc-ride { 0%, 8% { transform: translateX(0); opacity: 0; } 16% { opacity: 1; } 72% { transform: translateX(24px); opacity: 1; }
    84%, 100% { transform: translateX(24px); opacity: 0; } }
@keyframes glsc-pin { 0%, 70% { transform: scale(1); } 80% { transform: scale(1.18, .86); } 90%, 100% { transform: scale(1); } }
@keyframes glsc-smoke { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-6px); opacity: 0; } }
/* Reduced motion: one still frame, the crate on the road. */
@media (prefers-reduced-motion: reduce) {
    .glsc-crate, .glsc-pin, .glsc-smoke { animation: none !important; }
    .glsc-crate { transform: translateX(12px); }
}

/* The radius loader (gi_loader_art.js GridLoader: projects, data centers, transmission). The pin's gold dot (the one gold
   accent) fires a ring across the grid; each asset glows as the ring reaches its foot (--glr-at, in step with the ring's
   linear sweep and the asset's place in ASSETS), then fades. One loop = 2.4 s (GridLoader.cycle); the rotor turns a
   third of a turn a loop. Each size keeps the old square loader's height, so nothing around it moves. */
.glr { --glr-gold: #f0a500; --glr-glow: .34; --glr-rest: var(--text-dim); }
[data-theme="light"] .glr { --glr-gold: #c88a00; --glr-glow: .22; --glr-rest: color-mix(in srgb, var(--text-dim) 65%, transparent); }
.gi-loader-sm .gl-svg.glr { width: 60px; }
.gi-loader-lg .gl-svg.glr { width: 180px; }
.gi-page-loader .gl-svg.glr { width: 168px; }
.glr .gl-pin { animation: none; }
.glr .glr-dot { fill: var(--glr-gold); transform-box: fill-box; transform-origin: center; animation: glr-dot 2.4s ease-out infinite; }
.glr-ring { fill: color-mix(in srgb, var(--accent-primary) 7%, transparent); stroke: var(--accent-primary); stroke-width: 1.3;
    vector-effect: non-scaling-stroke; opacity: 0; animation: glr-ring 2.4s linear infinite; }
.glr-echo { fill: none; stroke-opacity: .45; animation-delay: .3s; }
.glr-ic { color: var(--glr-rest); fill-opacity: .1; }
.glr-focus { --glr-rest: color-mix(in srgb, var(--accent-primary) 55%, var(--text-dim)); --glr-glow: .45; }
.glr-line, .glr-halo { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.glr-line { stroke: currentColor; stroke-width: 1.2; }
.glr-line .glr-s { fill: currentColor; }
.glr-line .glr-f { stroke-width: .9; }
.glr-halo { stroke: var(--accent-primary); stroke-width: 3.4; opacity: 0; }
.glr-body { transform-box: fill-box; transform-origin: 50% 100%; }
.glr-ic, .glr-body, .glr-halo { animation: 2.4s ease-out var(--glr-at) infinite; }
.glr-ic { animation-name: glr-lit; } .glr-body { animation-name: glr-pop; } .glr-halo { animation-name: glr-glow; }
.glr-storage { --glr-at: .39s; } .glr-solar { --glr-at: .65s; } .glr-wind { --glr-at: .93s; } .glr-tower { --glr-at: 1.23s; }
.glr-datacenter { --glr-at: 1.45s; }
.glr-rotor { animation: glr-spin 2.4s linear infinite; }
@keyframes glr-ring { 0% { transform: scale(.1); opacity: 0; } 4% { opacity: .85; } 48% { opacity: .5; } 66%, 100% { transform: scale(1); opacity: 0; } }
@keyframes glr-dot { 0%, 20%, 100% { transform: scale(1); } 6% { transform: scale(1.4); } }
@keyframes glr-lit { 0%, 62%, 100% { color: var(--glr-rest); fill-opacity: .1; } 8%, 30% { color: var(--accent-primary); fill-opacity: .28; } }
@keyframes glr-glow { 0%, 60%, 100% { opacity: 0; } 8% { opacity: var(--glr-glow); } 30% { opacity: calc(var(--glr-glow) * .45); } }
@keyframes glr-pop { 0%, 24%, 100% { transform: scale(1); } 8% { transform: scale(1.08); } }
@keyframes glr-spin { to { transform: rotate(120deg); } }
/* Reduced motion: one still frame, the ring halfway out and every asset softly lit. */
@media (prefers-reduced-motion: reduce) {
    .glr-ring, .glr-dot, .glr-ic, .glr-body, .glr-halo, .glr-rotor { animation: none !important; }
    .glr-ring { opacity: .5; transform: scale(.55); }
    .glr-echo { opacity: .5; transform: scale(.95); }
    .glr-ic { color: var(--accent-primary); fill-opacity: .2; }
    .glr-halo { opacity: calc(var(--glr-glow) * .3); }
}
