/* Mockup half-life: olovený kontajner s otvoreným vekom a žiariacou vzorkou (jas = zostávajúci podiel),
   Geigerov počítač s ručičkou a blikajúcou diódou, pod tým stopa polčasov s krivkou rozpadu.
   Farby: olovo + výstražná žltá + uránové zelené sklo; svetlý režim betónová hala, tmavý režim zatemnené laboratórium. */
.hl-fig{--hl-bg:#e4e2dc;--hl-bg2:#d3d0c8;--hl-floor:#bfbab0;--hl-l1:#5c636b;--hl-l2:#8b939b;--hl-cav:#1d2226;--hl-glo:#8cff3a;--hl-yel:#f4c20d;--hl-ink:#24282c;--hl-face:#f6f1dc;--hl-mut:#6c6a62;--hl-curve:#2f8f2a;--hl-f:.3}
@media(prefers-color-scheme:dark){.hl-fig{--hl-bg:#121619;--hl-bg2:#0b0e10;--hl-floor:#1f2529;--hl-l1:#3c434a;--hl-l2:#69727b;--hl-cav:#05080a;--hl-glo:#9dff52;--hl-yel:#e0b10c;--hl-ink:#e7ecef;--hl-face:#ece6cc;--hl-mut:#9aa39a;--hl-curve:#8cff3a}}

.hl-fig{position:relative;margin:.7rem 0 .5rem;padding:.4rem .4rem 0;border-radius:14px;overflow:hidden;background:radial-gradient(120% 90% at 25% 70%,var(--hl-bg),var(--hl-bg2));border:1px solid color-mix(in srgb,var(--hl-ink) 18%,transparent)}
.hl-fig::before{content:"";position:absolute;left:0;right:0;top:0;height:8px;background:repeating-linear-gradient(-45deg,var(--hl-yel) 0 12px,#1c1c1c 12px 24px)}
.hl-lab{display:block;width:100%;max-width:600px;height:auto;margin:6px auto 0}
.hl-floor{fill:var(--hl-floor)}
.hl-l1{stop-color:var(--hl-l1)}.hl-l2{stop-color:var(--hl-l2)}
.hl-cask{stroke:rgba(0,0,0,.35);stroke-width:1.5}
.hl-cav{fill:var(--hl-cav)}
.hl-lid{filter:drop-shadow(0 3px 2px rgba(0,0,0,.25))}
.hl-lidtab{fill:var(--hl-l1)}
.hl-g0{stop-color:var(--hl-glo);stop-opacity:.95}.hl-g1{stop-color:var(--hl-glo);stop-opacity:.35}.hl-g2{stop-color:var(--hl-glo);stop-opacity:0}
.hl-halo{opacity:calc(.1 + var(--hl-f) * .9);transform-origin:125px 160px;transform:scale(calc(.45 + var(--hl-f) * .7));transition:opacity .8s,transform .8s;animation:hl-pulse 2.4s ease-in-out infinite}
@keyframes hl-pulse{50%{filter:brightness(1.25)}}
.hl-pel,.hl-pel-t,.hl-pel-b{transition:fill .8s}
.hl-pel{fill:color-mix(in srgb,var(--hl-glo) calc(var(--hl-f) * 100%),#4a5048)}
.hl-pel-b{fill:color-mix(in srgb,var(--hl-glo) calc(var(--hl-f) * 85%),#3b403a)}
.hl-pel-t{fill:color-mix(in srgb,#ffffff calc(var(--hl-f) * 60%),color-mix(in srgb,var(--hl-glo) calc(var(--hl-f) * 100%),#5a6158))}
.hl-parts circle{r:2.4px;cx:125px;cy:150px;fill:var(--hl-glo);opacity:0;animation:hl-fly 1.9s linear infinite}
.hl-parts circle:nth-child(2n){animation-delay:-.6s;animation-duration:2.3s}
.hl-parts circle:nth-child(3n){animation-delay:-1.2s;animation-duration:1.6s}
.hl-parts circle.off{display:none}
@keyframes hl-fly{0%{transform:rotate(var(--a)) translate(0,0);opacity:0}10%{opacity:.95}100%{transform:rotate(var(--a)) translate(72px,0);opacity:0}}
.hl-parts circle{transform-origin:125px 150px}
.hl-tref-bg{fill:var(--hl-yel);stroke:#1c1c1c;stroke-width:1.5}
.hl-tref-f{fill:#1c1c1c}
.hl-qty{font:800 15px/1 ui-monospace,Consolas,monospace;fill:#fff;paint-order:stroke;stroke:rgba(0,0,0,.4);stroke-width:3px}
.hl-cable{fill:none;stroke:#1f1f1f;stroke-width:4;stroke-linecap:round}
.hl-probe{fill:#2b2f33;stroke:#000;stroke-width:1}
.hl-body{fill:var(--hl-yel);stroke:#1c1c1c;stroke-width:2}
.hl-face{fill:var(--hl-face);stroke:#1c1c1c;stroke-width:2}
.hl-arc{fill:none;stroke:#1c1c1c;stroke-width:2}
.hl-arc-hot{fill:none;stroke:#d62b1f;stroke-width:5}
.hl-tk{stroke:#1c1c1c;stroke-width:1.4}
.hl-tn{font:700 8px/1 system-ui,sans-serif;fill:#3a3a3a;text-anchor:middle}
.hl-mlab{font:800 8.5px/1 system-ui,sans-serif;letter-spacing:.16em;fill:#55524a}
.hl-needle{transition:transform 1s cubic-bezier(.3,1.5,.5,1)}
.hl-needle line{stroke:#c0231a;stroke-width:2.4;stroke-linecap:round}
.hl-needle circle{fill:#1c1c1c}
.hl-fig .hl-needle{transform-box:view-box;transform-origin:394px 136px}
.hl-led{fill:#5a1b12;stroke:#1c1c1c;stroke-width:1.5;transition:fill .05s}
.hl-led.on{fill:#ff4b2b;filter:drop-shadow(0 0 5px #ff4b2b)}
.hl-pct{font:800 17px/1 ui-monospace,Consolas,monospace;fill:#1c1c1c}
.hl-grill path{stroke:#1c1c1c;stroke-width:3;stroke-linecap:round;opacity:.75}
.hl-gc.tick{animation:hl-tick .09s}
@keyframes hl-tick{50%{transform:translate(.6px,-.4px)}}
.hl-hit{fill:transparent;cursor:pointer}

.hl-track{margin:0 -.4rem;padding:.2rem .4rem .3rem;background:color-mix(in srgb,var(--hl-cav) 88%,transparent);border-top:3px solid var(--hl-yel)}
.hl-tsvg{display:block;width:100%;max-width:640px;height:auto;margin:0 auto}
.hl-base{stroke:#9aa3a8;stroke-width:1.5}
.hl-mk{stroke:#9aa3a8;stroke-width:1.2}
.hl-mt{font:700 10px/1 system-ui,sans-serif;fill:#cfd6d9;text-anchor:middle}
.hl-dot{fill:var(--hl-glo)}
.hl-curve{fill:none;stroke:#7c858a;stroke-width:1.6;stroke-dasharray:3 4}
.hl-curve-done{fill:none;stroke:var(--hl-glo);stroke-width:2.6;filter:drop-shadow(0 0 3px var(--hl-glo))}
.hl-now{transition:transform .8s cubic-bezier(.3,1.2,.5,1)}
.hl-nowl{stroke:var(--hl-yel);stroke-width:1.6;stroke-dasharray:3 2}
.hl-nowd{fill:var(--hl-yel);stroke:#1c1c1c;stroke-width:1.5}
.hl-nowt{font:800 11px/1 system-ui,sans-serif;fill:var(--hl-yel)}

.hl-ex{position:absolute;right:10px;top:14px;z-index:3;display:none;padding:.12rem .55rem;border-radius:999px;background:#1c1c1c;color:var(--hl-yel);font:700 .72rem/1.4 system-ui,sans-serif;letter-spacing:.04em}
.hl-fig.is-ex .hl-ex{display:block}
.hl-fig.is-ex .hl-lab,.hl-fig.is-ex .hl-tsvg{opacity:.6}
@media(max-width:520px){.hl-qty{font-size:19px}.hl-pct{font-size:20px}.hl-mt{font-size:13px}.hl-nowt{font-size:14px}}
@media(prefers-reduced-motion:reduce){.hl-halo,.hl-parts circle,.hl-gc.tick{animation:none}}
