/* 3D illustrations (route boards and port scenes). The hero map is not affected. */

/* ---------- route diagrams on a tilted board ---------- */
.b3-board{background:radial-gradient(120% 90% at 50% 18%,#15284a 0%,#0c1a30 55%,#081222 100%)}
.b3-board text{font:600 16px Inter,system-ui,sans-serif;fill:#fff;paint-order:stroke;stroke:#0a1526;stroke-width:4px;stroke-linejoin:round}
.b3-floor{fill:#000;opacity:.35;filter:blur(18px)}
.b3-face{fill:url(#b3top);stroke:#4d6a93;stroke-width:1}
.b3-edge-f{fill:#0d1a2e;stroke:#2c4466;stroke-width:1}
.b3-edge-r{fill:#091425;stroke:#2c4466;stroke-width:1}
.b3-grid{fill:none;stroke:#294266;stroke-width:1;opacity:.45}
.b3-board .pc-land{fill:#22395b;stroke:#4d6a93;stroke-width:1.4}
.b3-board .pc-d{fill:#3d5680;stroke:#7f97ba}
.b3-board .pc-o{fill:none;stroke:#7f97ba;stroke-width:2}
.b3-board .pc-r0{stroke:#2f4568;stroke-width:7;stroke-linecap:round}
.b3-board .pc-r{stroke:#ff8a1f;stroke-width:7;stroke-linecap:round}
/* tokens */
.b3-board .pc-v{fill:url(#b3tok);stroke:#0a1526;stroke-width:1.2}
.b3-board .pc-v.b3-flat{fill:#fff}
.b3-board .pc-v .pc-l{fill:none;stroke:#3a5072}
.b3-board .pc-v circle{fill:url(#b3ball)}
.b3-board .pc-v .pc-w{fill:#0a1526;stroke:#c9d6e8}
/* pins */
.b3-shadow{fill:#000;opacity:.45}
.b3-stem{fill:url(#b3stem)}
.b3-head{fill:url(#b3pin);stroke:#fff;stroke-width:1.6}
.b3-shine{fill:#fff;opacity:.75}
.b3-ring{fill:none;stroke:#ff8a1f;stroke-width:2;opacity:0;transform-box:fill-box;transform-origin:center}
.b3-pin{transform-box:fill-box;transform-origin:50% 100%;transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.b3-board .pc-s{transition:opacity .45s}
.b3-board .pc-s.off{opacity:.55}
.b3-board .pc-s.off .b3-pin{transform:scale(.82)}
.b3-board .pc-s.off .b3-head{fill:url(#b3pinoff);stroke:#7f97ba}
.b3-board .pc-s.off .b3-shine{opacity:.35}
.b3-board .pc-s.off text{fill:#9fb2cc}
.b3-board.pc-on .pc-s:not(.off) .b3-ring{animation:b3-ring 2.4s cubic-bezier(.2,.7,.3,1) infinite}
@keyframes b3-ring{0%{opacity:.9;transform:scale(.5)}100%{opacity:0;transform:scale(1.9)}}
/* warehouse chart: upright building and crates */
.b3-ups .pc-o{fill:rgba(45,66,98,.55);stroke:#8aa5c9;stroke-width:2;stroke-linejoin:round}
.b3-crate .pc-d{fill:#d9893a;stroke:#ffcf99;stroke-width:1.2}
.b3-crate.off .pc-d{fill:#2b4061;stroke:#4d6a93}
.b3-crate{transition:opacity .4s,transform .5s cubic-bezier(.34,1.56,.64,1)}
.b3-board .b3-crate.off{opacity:.5}

/* ---------- port scenes with depth ---------- */
.b3-scene .b3-sky{fill:url(#b3sky)}
.b3-scene .pc-sea{fill:url(#b3sea)}
.b3-scene .pc-land{fill:url(#b3land);stroke:#5b769c;filter:url(#b3o)}
.b3-scene .pc-hull{fill:url(#b3hull);stroke:#9fb6d6;stroke-width:1.2;filter:url(#b3o)}
.b3-scene .pc-boot{fill:url(#b3boot)}
.b3-scene .pc-hold,.b3-scene .gr-hold,.b3-scene .gr-pit{fill:#081325;stroke:#6f8db5}
.b3-scene .pc-win{fill:#ffc27a;filter:url(#b3glow)}
.b3-scene .gr-silo{fill:url(#b3silo);stroke:#9fb6d6;stroke-width:1.4;filter:url(#b3o)}
.b3-scene .gr-shed{fill:rgba(61,86,128,.75);stroke:#9fb6d6;filter:url(#b3o)}
.b3-scene .gr-belt{stroke:#5b769c;stroke-width:8}
.b3-scene .pc-r.gr-fill{stroke:#e9ad45} /* a gradient on a straight vertical line has a zero-width box and would not paint */
.b3-scene .gr-flow{filter:url(#b3glow)}
.b3-scene .pc-v{fill:url(#b3tok);filter:url(#b3o)}
.b3-scene .pc-v .gr-load{fill:url(#b3grain)}
.b3-scene .pc-ramp{stroke:#e6edf7}
.b3-scene .pc-lash{filter:url(#b3glow)}
.b3-water{pointer-events:none}
.b3-glint{fill:#7fb2e6;opacity:.35}
.b3-wave{fill:none;stroke:#8cc0ee;stroke-width:1.4;stroke-linecap:round;opacity:.45}
.b3-scene.pc-on .b3-wave{animation:b3-wave 6s linear infinite}
@keyframes b3-wave{to{transform:translateX(-46px)}}

@media (prefers-reduced-motion:reduce){.b3-wave,.b3-ring{animation:none!important}.b3-pin,.b3-crate{transition:none}}
/* small truck and wagon boxes on the home page: lighter depth */
.gr-box.b3-scene .pc-v,.gr-box.b3-scene .pc-land{filter:url(#b3os)}
