/* The shop floor centrepiece. floor.js draws it; the colours of every machine part are here.
   Three states, each with its own colour AND its own word on screen:
   running #45F0AE (mint), stopped #FF6B5E (red), being worked on #FFC857 (amber).
   Every machine carries a signal tower (red over amber over green) that shows the same thing. */

.floor{display:grid;grid-template-columns:minmax(0,1fr) 384px;border:1px solid #1F2838;border-radius:24px;background:#0B101B;overflow:hidden;box-shadow:0 40px 120px rgba(0,0,0,.5),inset 0 1px 0 rgba(220,227,238,.04)}
.fl-stage{position:relative;min-width:0;padding:22px 24px 16px;background-color:#0B101B;background-image:radial-gradient(ellipse 62% 52% at 50% 56%,rgba(69,240,174,.055),transparent 70%),radial-gradient(#182033 1px,transparent 1px);background-size:auto,24px 24px;transition:background-color .9s ease}
.fl-hud{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;pointer-events:none}
.fl-clock{font-size:56px;font-weight:500;letter-spacing:-.05em;line-height:1;margin:8px 0 9px;color:#DCE3EE;font-variant-numeric:tabular-nums}
.fl-lost{text-align:right}
.fl-lost b{display:block;margin-top:6px;font-size:34px;font-weight:600;letter-spacing:-.04em;line-height:1.05;color:#45F0AE;font-variant-numeric:tabular-nums;transition:color .5s ease}
.floor[data-state=stop] .fl-lost b{color:#FF6B5E}
.floor[data-state=work] .fl-lost b{color:#FFC857}
.is-live .fl-scene{margin-top:-96px}
.fl-inner{position:relative}
.fl-svg{display:block;width:100%;height:auto;overflow:visible}
.fl-nojs{color:#9AA6BA;padding:60px 0}
.cam{transition:transform 1s cubic-bezier(.45,.05,.2,1)}

/* the floor */
.fl-svg polygon,.fl-svg path,.fl-svg ellipse{stroke:rgba(8,11,19,.55);stroke-width:.6;stroke-linejoin:round}
.fl-svg .slab-t{stroke:#33466E;stroke-width:1}
.fl-svg .slab-l,.fl-svg .slab-r{stroke:#1F2B45;stroke-width:1}
.fl-svg .under{fill:#45F0AE;stroke:none;opacity:.06;filter:blur(38px)}
.grid{stroke:rgba(140,165,210,.085);stroke-width:1}
.grid.fine{stroke:rgba(140,165,210,.035)}
.fl-svg .walk{fill:rgba(140,165,210,.035);stroke:none}
.paint{stroke:rgba(220,227,238,.17);stroke-width:1.2;stroke-linecap:round}
.fl-svg .zebra{fill:rgba(220,227,238,.13);stroke:none}
.fl-svg .zone{fill:none;stroke:rgba(220,227,238,.14);stroke-width:1.1;stroke-dasharray:7 6}
.slab,.bays,.names{transition:opacity .9s ease}
.trail{fill:none;stroke:#DCE3EE;stroke-width:1.6;stroke-dasharray:1.5 7;stroke-linecap:round;opacity:.5;animation:trail .7s linear infinite}

/* each bay: a tile set into the floor, lit in its machine's state colour */
.m{--s:#45F0AE}
.m.stop{--s:#FF6B5E}
.m.work{--s:#FFC857}
.fl-svg .pad{fill:rgba(140,165,210,.03);stroke:rgba(140,165,210,.16);stroke-width:1;transition:fill .5s ease,stroke .5s ease}
.fl-svg .plant .pad{fill:color-mix(in srgb,var(--s) 5%,transparent);stroke:color-mix(in srgb,var(--s) 34%,transparent)}
.fl-svg .plant.on .pad{fill:color-mix(in srgb,var(--s) 15%,transparent);stroke:color-mix(in srgb,var(--s) 80%,transparent);stroke-width:1.3}
.fl-svg .plan{fill:none;stroke:rgba(140,165,210,.2);stroke-width:.9;stroke-dasharray:2.5 4.5;transition:opacity .3s ease}
.fl-svg .plant .plan{stroke:color-mix(in srgb,var(--s) 38%,transparent)}
.m.on .plan{opacity:0}
.fl-svg .pool{stroke:none;opacity:0;transition:opacity .7s ease}
.m.plant.on .pool{opacity:.62}
.m.plant.on.stop .pool{animation:poolp 1.25s ease-in-out infinite}
.fl-svg .wave,.fl-svg .alarm{fill:none;stroke:var(--s);stroke-width:2;opacity:0}
.m.on .wave{animation:wave 1s cubic-bezier(.2,.7,.3,1) var(--d,0s) 1 both}
.m.on.stop .alarm{animation:alarm 1.9s cubic-bezier(.2,.6,.3,1) infinite}
.fl-svg .tring{fill:none;stroke:var(--s);stroke-width:1.3;opacity:.5;animation:tring 3.4s ease-out infinite}
.fl-svg .tdot{fill:var(--s);stroke:none;opacity:.85;transition:fill .4s ease}
.beacon{transition:opacity .3s ease}
.m.on .beacon{opacity:0}
.bays .m.plant{cursor:pointer}
.fl-svg .bays .m.plant:hover .pad,.fl-svg .bays .m.picked .pad{stroke:#DCE3EE;stroke-width:1.6}

/* names, painted on the floor in front of each bay */
.nm{font:500 12px 'Geist Mono',ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase;text-anchor:middle;fill:#5D6A86;transition:fill .4s ease}
.nm.up{fill:#B4BED0}
.nm.up.stop{fill:#FF6B5E}.nm.up.work{fill:#FFC857}

/* A machine lies hidden in its bay until the story reaches it, then comes up out of the floor. */
.rise{opacity:0;transform:translateY(16px) scale(.5);transition:transform .4s cubic-bezier(.5,0,.8,.4),opacity .28s ease;pointer-events:none}
.m.on .rise{opacity:1;transform:none;transition:transform .8s cubic-bezier(.2,1.38,.35,1) var(--d,0s),opacity .22s ease var(--d,0s);pointer-events:auto}
.fl-svg .mshade{stroke:none;opacity:.9}
.things .m.plant{cursor:pointer;outline:none}
.things .m.plant:focus-visible .rise{filter:drop-shadow(0 0 0 #fff) drop-shadow(0 0 5px rgba(255,255,255,.9))}

/* machine parts */
.hole,.glass{fill:#080B13}
.plate{fill:#222C45}
.door{fill:#8D99B2}
.panel{fill:#5E6A86}
.vent{fill:#2A3550}
.bedtop{fill:#141B2D}
.btn{fill:var(--s)}
.rib{fill:#39435C}
.ln{fill:#66728D}.ln.act{fill:#45F0AE}.ln.warn{fill:#FFC857}.ln.dk{fill:#8E9AB0}
.screen{fill:#0A0E17;stroke:#3A4662!important}
.screen.big{fill:#0C1322}
.board{fill:#DCE3EE}
.lbl{fill:#DCE3EE;opacity:.8}.lbl.dk{fill:#66728D}
.drawer{fill:#141B2D;stroke:#2F3B58!important}
.pegs{fill:#0F1524;stroke:#2A3550!important}
.peg,.slat,.strap,.hook,.cut,.guard-l,.gframe{fill:none;stroke-linecap:round}
.peg{stroke:#66728D;stroke-width:1.3}
.slat{stroke:#080B13;stroke-width:.8;opacity:.8}
.strap{stroke:#7C88A2;stroke-width:.9;opacity:.7}
.hook{stroke:#66728D;stroke-width:1}
.cut{stroke:#8E9AB0;stroke-width:.8}
.wline{fill:#080B13;opacity:.55}
.rdoor{fill:#1C2640;stroke:#33466E!important}
.fl-svg .guard{fill:rgba(220,227,238,.07);stroke:rgba(220,227,238,.55);stroke-width:.9;transition:stroke .4s ease}
.guard-l{stroke:rgba(220,227,238,.3);stroke-width:.7;transition:stroke .4s ease}
.m.stop .guard,.m.stop .guard-l{stroke:#FF6B5E}
.fl-svg .mesh{fill:rgba(150,170,210,.1);stroke:rgba(190,205,230,.42);stroke-width:.8}
.fl-svg .gwall{fill:rgba(170,200,240,.07);stroke:rgba(200,215,240,.3);stroke-width:.8}
.gframe{stroke:rgba(220,227,238,.55);stroke-width:1.1}
.raw{fill:#525D79}.done{fill:#F2F5FA}
.fl-svg .fly-rim{fill:#1A2238;stroke:#C9D2E0;stroke-width:.03}
.fl-svg .fly-d{fill:#56627F;stroke:none}
.fl-svg .fly-o{fill:#141B2D;stroke:none}
.fl-svg .fly-h{fill:#DCE3EE;stroke:#141B2D;stroke-width:.012}
.bar{stroke:#7E8AA4;stroke-linecap:round}
.bar.hi{stroke:#F2F5FA}
.torch{stroke:#1A2238;stroke-width:3.2;stroke-linecap:round}
.fl-svg .jt{fill:#222C45;stroke:#0A0E17;stroke-width:.8}
.fl-svg .jt-c{fill:#8E9AB0;stroke:none}
.fl-svg .dark.ct{fill:#2F3B58}.fl-svg .frost.ct{fill:#F4F7FB}.fl-svg .steel.ct{fill:#7C88A2}
.quill{fill:#A5B0C5}.tool{fill:#DCE3EE}.vtable{fill:#39435C}
.fl-svg .arc,.fl-svg .spark,.fl-svg .beam,.fl-svg .spin{stroke:none;opacity:0}
.spark,.beam{fill:#FFFFFF}
.spin{fill:#9EE8FF}

/* the signal tower */
.lens{--l:#1F2840;fill:var(--l);transition:fill .3s ease}
.lens.fl{fill:color-mix(in srgb,var(--l) 60%,#0A0E17)}
.lens.fr{fill:color-mix(in srgb,var(--l) 82%,#0A0E17)}
.m.run .lens.g{--l:#45F0AE}
.m.work .lens.a{--l:#FFC857}
.m.stop .lens.r{--l:#FF6B5E}
.fl-svg .halo{stroke:none;opacity:.85;pointer-events:none}
.m.stop.on .halo{animation:halop 1.25s ease-in-out infinite}

/* Machines only move while they run. Anything else and they stop dead, wherever they were. */
.m.on .ram{animation:ram 1.7s cubic-bezier(.65,0,.35,1) infinite paused}
.m.on .fly{animation:turn 1.3s linear infinite paused}
.m.on .gantry{animation:gantry 3.8s ease-in-out infinite alternate paused}
.m.on .head{animation:head 2.3s ease-in-out infinite alternate paused}
.m.on .arm1{animation:arm1 3.1s ease-in-out infinite alternate paused}
.m.on .arm2{animation:arm2 1.9s ease-in-out infinite alternate paused}
.m.on .spindle{animation:quill 1.3s ease-in-out infinite alternate paused}
.m.on .part{animation:conv 3.2s linear infinite paused}
.m.on .part.p0,.m.on .part.q0{animation-name:conv-in}
.m.on .part.q1{animation-name:conv-out}
.m.on.run :is(.ram,.fly,.gantry,.head,.arm1,.arm2,.spindle,.part){animation-play-state:running}
.m.on.run .spark,.m.on.run .beam{animation:flick .42s steps(2,jump-none) infinite}
.m.on.run .arc{animation:arc .42s ease-in-out infinite alternate}
.m.on.run .spin{animation:spin 1.3s ease-in-out infinite alternate}
.m.weld:nth-of-type(odd) :is(.arm1,.arm2,.spark,.arc){animation-delay:-.9s}
.floor.asleep *{animation-play-state:paused!important}

/* people */
.actor{transition:opacity .45s ease;pointer-events:none}
.fl-svg .shade{stroke:none;opacity:.8}
.leg{fill:#1A2238;stroke:rgba(8,11,19,.6);stroke-width:.7}
.torso,.sleeve{fill:#DCE3EE;stroke:rgba(8,11,19,.55);stroke-width:.7}
.sleeve{fill:#C3CCDB}
.fl-svg .head{fill:#EEF2F8;stroke:rgba(8,11,19,.55);stroke-width:.7}
.fl-svg .hat{fill:#FFFFFF;stroke:rgba(8,11,19,.55);stroke-width:.6}
.actor.sam .torso{fill:#FFC857}.actor.sam .sleeve{fill:#E5AE3D}
.fl-svg .actor.sam .hat{fill:#FFC857}
.band{fill:#FFF3D1;opacity:.9}
.actor.stores .torso{fill:#7C8BA8}.actor.stores .sleeve{fill:#66728D}
.actor.lead .torso,.actor.days .torso,.actor.nights .torso,.actor.priya .torso{fill:#8FA0BD}
.actor.lead .sleeve,.actor.days .sleeve,.actor.nights .sleeve,.actor.priya .sleeve{fill:#7888A6}
.actor.nights .torso{fill:#5E6C8B}.actor.nights .sleeve{fill:#4D5A78}
.kit.crate-k{fill:#DCE3EE;stroke:rgba(8,11,19,.55);stroke-width:.7}
.kit.tape{fill:#66728D}
.kit.tools-k{fill:#222C45;stroke:#8E9AB0;stroke-width:.8}
.kit.grip{fill:#8E9AB0}
.kit.down,.working .kit.held{display:none}
.working .kit.down{display:inline}
.tagname{font:600 11px 'Geist',system-ui,sans-serif;letter-spacing:-.01em;text-anchor:middle;fill:#DCE3EE;paint-order:stroke;stroke:#0A0E17;stroke-width:3.5px;stroke-linejoin:round}
.lb,.lf{transform-origin:0 -15px}
.arm{transform-origin:.3px -27.5px;transition:transform .3s ease}
.walking .bob{animation:bob .26s ease-in-out infinite alternate}
.walking .lb{animation:stride .52s ease-in-out infinite alternate}
.walking .lf{animation:stride .52s ease-in-out infinite alternate-reverse}
.walking .arm{animation:swing .52s ease-in-out infinite alternate}
.working .arm{transform:rotate(-68deg);animation:wrench .7s ease-in-out infinite alternate}
.actor.stores .arm{transform:rotate(-58deg);animation:none}

/* handover: the lights go down everywhere but the office */
.floor.night .fl-stage{background-color:#06080E}
.floor.night .slab,.floor.night .bays,.floor.night .names{opacity:.55}
.things .m,.things .fx{transition:filter .9s ease}
.floor.night .things .m:not(.office),.floor.night .things .fx{filter:brightness(.5)}

/* call-outs */
.fl-bubbles{position:absolute;inset:0;pointer-events:none;z-index:3;transition:opacity .4s ease .5s}
.floor.waiting .fl-bubbles,.floor.waiting .actor{opacity:0!important}
.fl-b{--c:#DCE3EE;--dx:0px;--dy:0px;position:absolute;transform:translate(calc(-50% + var(--dx)),calc(-100% + var(--dy)));margin-top:-16px;display:flex;flex-direction:column;gap:1px;white-space:nowrap;background:rgba(15,21,34,.94);border:1px solid #2A3550;border-radius:10px;padding:8px 13px 9px 12px;box-shadow:0 14px 34px rgba(0,0,0,.55),inset 0 1px 0 rgba(220,227,238,.05);animation:pop .5s cubic-bezier(.2,1.25,.4,1) both}
.fl-b b{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;letter-spacing:-.01em}
.fl-b b::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 10px var(--c)}
.fl-b span{padding-left:16px;font:400 11.5px 'Geist Mono',ui-monospace,monospace;color:#9AA6BA}
.fl-b::after{content:"";position:absolute;left:calc(50% - var(--dx));top:100%;width:1.5px;height:16px;background:linear-gradient(var(--c),transparent);opacity:.8}
.fl-b.loose::after{display:none}
.fl-b.stop{--c:#FF6B5E;border-color:#6E2E2A}
.fl-b.stop b::before{animation:blink 1.25s ease-in-out infinite}
.fl-b.work,.fl-b.flag{--c:#FFC857;border-color:#6B5524}
.fl-b.run{--c:#45F0AE;border-color:#1F4A3D}

/* a machine's figures */
.fl-pop{position:absolute;z-index:5;width:236px;transform:translate(34px,-50%);background:#0A0E17;border:1px solid #2A3550;border-radius:14px;padding:14px 14px 12px;box-shadow:0 20px 50px rgba(0,0,0,.6)}
.fl-pop.flip{transform:translate(calc(-100% - 34px),-50%)}
.fl-pop-h{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fl-pop-h b{font-size:16px;font-weight:600;letter-spacing:-.02em}
.fl-pop p{margin:8px 0 11px;font-size:13.5px;line-height:1.4;color:#9AA6BA}
.fl-pop-f{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #1F2838;padding-top:9px;font-size:12.5px;color:#9AA6BA}
.fl-pop-f b{font:500 12.5px 'Geist Mono',ui-monospace,monospace;color:#DCE3EE}
.tagx{font:500 10.5px 'Geist Mono',ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;padding:3px 8px;border-radius:999px;border:1px solid #1F4A3D;color:#45F0AE}
.tagx.stop{color:#FF6B5E;border-color:#6E2E2A}
.tagx.work{color:#FFC857;border-color:#6B5524}

.fl-legend{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:12.5px;color:#9AA6BA}
.fl-legend span{display:inline-flex;align-items:center;gap:7px}
.fl-legend i{width:8px;height:8px;border-radius:50%}
.s-run{background:#45F0AE}.s-stop{background:#FF6B5E}.s-work{background:#FFC857}
.fl-hint{margin-left:auto}

/* the side panel: what is happening, and the job filling in */
.fl-side{display:flex;flex-direction:column;min-width:0;border-left:1px solid #1F2838;background:#0D1220}
.fl-now{display:flex;flex-direction:column;gap:10px;min-height:222px;padding:26px 24px 20px}
.fl-now h2{font-size:25px;line-height:1.12;font-weight:600;letter-spacing:-.035em;text-wrap:balance}
.fl-now p{font-size:15.5px;color:#9AA6BA}
.fl-job{flex-grow:1;display:flex;flex-direction:column;margin:0 12px 12px;border:1px solid #1F2838;border-radius:14px;background:#0A0E17;overflow:hidden}
.fl-job .job-h{display:block;padding:15px 16px 0;border-bottom:0}
.job-e{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.fl-job .job-h b{font-size:16px}
.fl-job .tag{transition:color .4s ease,border-color .4s ease}
.fl-job .tag.s-reported{color:#FF6B5E;border-color:#6E2E2A}
.fl-job .tag.s-in-progress{color:#FFC857;border-color:#6B5524}
.fl-job .tag.s-for-review{color:#DCE3EE;border-color:#3A4662}
.job-d{--k:#45F0AE;display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:13px;padding:11px 0 12px;border-top:1px solid #1F2838;border-bottom:1px solid #1F2838}
.job-d.stop{--k:#FF6B5E}.job-d.work{--k:#FFC857}
.job-dl{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:#9AA6BA}
.job-dl i{width:7px;height:7px;border-radius:50%;background:var(--k);transition:background .4s ease}
.job-d.stop .job-dl i,.job-d.work .job-dl i{animation:blink 1.25s ease-in-out infinite}
.fl-job .job-d b{font-size:19px;font-weight:500;letter-spacing:-.01em;color:var(--k);font-variant-numeric:tabular-nums;transition:color .4s ease}
.fl-rows{--done:1;padding:6px 0 8px}
.fl-rows li{position:relative;display:grid;grid-template-columns:42px 18px minmax(0,1fr);gap:10px;align-items:center;padding:8px 16px;font-size:14px;line-height:1.35;color:#DCE3EE;transition:color .4s ease,background .4s ease}
.fl-rows .t{grid-column:1;grid-row:1;font-size:12.5px;color:#9AA6BA}
.fl-rows .r{grid-column:3;grid-row:1}
.fl-rows .tick{position:relative;z-index:1;grid-column:2;grid-row:1;justify-self:center;width:16px;height:16px;background:#45F0AE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230A0E17' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.3 2.3 4.7-5.3'/%3E%3C/svg%3E") center/10px no-repeat;box-shadow:0 0 0 3px #0A0E17;transition:background-color .35s ease,transform .35s cubic-bezier(.2,1.4,.4,1),box-shadow .35s ease}
.fl-rows li::before,.fl-rows li::after{content:"";position:absolute;left:76px;width:2px;margin-left:-1px;background:#45F0AE;transition:background .4s ease}
.fl-rows li::before{top:0;height:50%}
.fl-rows li::after{top:50%;height:50%}
.fl-rows li:first-child::before,.fl-rows li:last-child::after{display:none}
.is-live .fl-rows li{color:#6F7B91;cursor:pointer}
.is-live .fl-rows li:not(.on) .t{color:#55627D}
.is-live .fl-rows li:not(.on) .tick{background-color:#0A0E17;background-image:none;box-shadow:0 0 0 3px #0A0E17,inset 0 0 0 2px #2A3550;transform:scale(.7)}
.is-live .fl-rows li:not(.on)::before,.is-live .fl-rows li.cur::after,.is-live .fl-rows li:not(.on)::after{background:#1F2838}
.is-live .fl-rows li.on{color:#DCE3EE}
.is-live .fl-rows li.cur{background:linear-gradient(90deg,rgba(69,240,174,.07),transparent 85%)}
.is-live .fl-rows li.cur .tick{box-shadow:0 0 0 3px #0A0E17,0 0 0 5px rgba(69,240,174,.28)}
.is-live .fl-rows li:hover{color:#DCE3EE}

/* the timeline */
.fl-bar{grid-column:1 / -1;display:flex;align-items:flex-start;gap:8px;padding:28px 24px 12px;border-top:1px solid #1F2838;background:#0A0E17}
.fl-bar .steps-s{flex:1 1 0;min-width:0}
.fl-bar .steps{margin-bottom:0}
.fl-bar .track{top:6px;height:2px;border-radius:2px;overflow:hidden}
.fl-bar .track span{width:100%;transform:scaleX(0);transform-origin:0 50%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.fl-bar .st{min-height:70px;gap:9px;border-radius:8px}
.fl-bar .st::before{width:14px;height:14px}
.fl-bar .st.on::before{box-shadow:0 0 0 5px rgba(69,240,174,.16),0 0 18px rgba(69,240,174,.55)}
.fl-bar .st .t{font-size:14.5px;font-variant-numeric:tabular-nums}
.fl-play{flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;margin-top:-15px;border-radius:50%;border:1px solid #2A3550;background:#121826;color:#DCE3EE;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.fl-play:hover{background:#1B2438;border-color:#45F0AE}
.fl-play:focus-visible{outline:2px solid #45F0AE;outline-offset:3px}
.floor.playing .i-play,.floor:not(.playing) .i-pause{display:none}

@keyframes wave{from{opacity:.9;transform:scale(.3)}to{opacity:0;transform:scale(1.7)}}
@keyframes alarm{0%{opacity:.85;transform:scale(1)}80%,100%{opacity:0;transform:scale(1.55)}}
@keyframes poolp{0%,100%{opacity:.5}50%{opacity:.95}}
@keyframes halop{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
@keyframes tring{0%{opacity:.55;transform:scale(.6)}70%,100%{opacity:0;transform:scale(2.2)}}
@keyframes trail{to{stroke-dashoffset:-8.5}}
@keyframes ram{0%,100%{transform:translateY(0)}42%,54%{transform:translateY(15px)}}
@keyframes turn{to{transform:rotate(360deg)}}
@keyframes gantry{from{transform:translate(0,0)}to{transform:translate(31px,17.9px)}}
@keyframes head{from{transform:translate(14.5px,-8.4px)}to{transform:translate(-14.5px,8.4px)}}
@keyframes arm1{from{transform:rotate(-4deg)}to{transform:rotate(3deg)}}
@keyframes arm2{from{transform:rotate(-7deg)}to{transform:rotate(5deg)}}
@keyframes quill{from{transform:translateY(0)}to{transform:translateY(5px)}}
@keyframes conv{from{transform:translate(0,0)}to{transform:translate(17.6px,10.1px)}}
@keyframes conv-in{0%{transform:translate(0,0);opacity:0}18%{opacity:1}100%{transform:translate(17.6px,10.1px);opacity:1}}
@keyframes conv-out{0%{transform:translate(0,0);opacity:1}70%{opacity:1}100%{transform:translate(17.6px,10.1px);opacity:0}}
@keyframes flick{from{opacity:.15}to{opacity:1}}
@keyframes arc{from{opacity:.35}to{opacity:.95}}
@keyframes spin{from{opacity:.1}to{opacity:.42}}
@keyframes bob{from{transform:translateY(0)}to{transform:translateY(-1.4px)}}
@keyframes stride{from{transform:rotate(-24deg)}to{transform:rotate(24deg)}}
@keyframes swing{from{transform:rotate(22deg)}to{transform:rotate(-22deg)}}
@keyframes wrench{from{transform:rotate(-58deg)}to{transform:rotate(-84deg)}}
@keyframes pop{from{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-88% + var(--dy))) scale(.92)}to{opacity:1;transform:translate(calc(-50% + var(--dx)),calc(-100% + var(--dy))) scale(1)}}

@media (min-width:1340px){
.floor{margin-inline:-44px}
}
@media (max-width:1000px){
.floor{grid-template-columns:minmax(0,1fr)}
.fl-side{border-left:0;border-top:1px solid #1F2838}
.fl-now{min-height:0}
.fl-stage{padding:18px 16px 14px}
.fl-clock{font-size:44px}
.fl-lost b{font-size:26px}
.is-live .fl-scene{margin-top:-60px}
.fl-legend .fl-hint{display:none}
.fl-bar{padding:28px 16px 12px}
.fl-bar .steps-s{overflow:visible}
.fl-bar .steps{min-width:0}
}
@media (max-width:700px){
.fl-scene{margin:8px -16px 0;overflow:hidden}
.fl-stage{padding-bottom:12px}
.fl-legend{margin-top:10px;gap:6px 16px}
.nm{font-size:12.5px}
.tagname{font-size:13px}
.fl-b{padding:7px 11px 8px 10px}
.fl-b b{font-size:13px}
.fl-pop{width:200px}
.fl-bar{gap:4px;padding:26px 12px 30px}
.fl-bar .st{min-height:44px;gap:8px}
.fl-bar .st .t{font-size:11px;letter-spacing:-.02em}
.fl-bar .st .n{display:none}
.fl-bar .st.on .n{display:block;position:absolute;top:calc(100% + 2px);left:50%;transform:translateX(-50%);white-space:nowrap;font-size:12.5px}
.fl-bar .st.on:first-of-type .n{left:0;transform:none}
.fl-bar .st.on:last-of-type .n{left:auto;right:0;transform:none}
}
