/* Vlnová dĺžka a energia fotónu – "spektroskop s energetickým rebríkom": vlna vo farbe svetla, dúhová páska 300–900 nm
   so značkou, logaritmický pás celého spektra (gama → rádio) so zoomom na viditeľné svetlo a karta s rebríkom hladín,
   kde elektrón preskočí o energiu fotónu. Paleta: perlovo-sivý papier spektrometra, grafitové písmo, tmavá karta. */
.wle-fig{--wle-bg1:#f7f7fb;--wle-bg2:#ebecf4;--wle-ink:#1b1d2a;--wle-mut:#5b6076;--wle-line:#c9ccda;--wle-card1:#1d2033;--wle-card2:#11131f;--wle-cink:#f3f4fb;--wle-cmut:#a9aec8;--wle-cgl:rgba(255,255,255,.09);--wle-pill:#ffffff;--wle-acc:#3d3f9a;
  position:relative;margin:.3rem 0 1rem;padding:.6rem .6rem .45rem;border-radius:14px;
  background:linear-gradient(180deg,var(--wle-bg1),var(--wle-bg2));border:1px solid var(--wle-line);transition:opacity .3s,filter .3s}
@media(prefers-color-scheme:dark){.wle-fig{--wle-bg1:#232737;--wle-bg2:#1b1e2b;--wle-ink:#eef0f8;--wle-mut:#aeb4cb;--wle-line:#3a3f56;--wle-card1:#0f1120;--wle-card2:#080912;--wle-pill:#2c3146;--wle-acc:#b9bcff}}
.wle-fig.is-ex{opacity:.82;filter:saturate(.8)}
.wle-ex{display:none;position:absolute;top:.45rem;right:.6rem;z-index:2;padding:.05rem .5rem;border-radius:4px;background:var(--wle-acc);color:#fff;font:800 .7rem/1.5 system-ui,sans-serif;letter-spacing:.06em}
@media(prefers-color-scheme:dark){.wle-ex{color:#11131f}}
.wle-fig.is-ex .wle-ex{display:block}
.wle-svg{display:block;width:100%;max-width:720px;height:auto;margin:0 auto;overflow:visible}
.wle-svg text{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.wle-wave-u{fill:none;stroke:var(--wle-ink);stroke-opacity:.18;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.wle-wave{fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.wle-head{stroke:var(--wle-ink);stroke-opacity:.25;stroke-width:1}
.wle-lam{fill:none;stroke:var(--wle-mut);stroke-width:1.2}
.wle-laml{fill:var(--wle-mut);font-size:11px;font-weight:700;font-style:italic;text-anchor:middle}
.wle-zoom{fill:var(--wle-ink);fill-opacity:.06;stroke:var(--wle-mut);stroke-opacity:.5;stroke-width:1;stroke-dasharray:3 3}
.wle-rib{stroke:var(--wle-ink);stroke-opacity:.25;stroke-width:1}
.wle-rz{fill:#fff;fill-opacity:.75;font-size:10px;font-weight:800;text-anchor:middle;letter-spacing:.05em}
.wle-tk{stroke:var(--wle-mut);stroke-width:1.2}
.wle-tn{fill:var(--wle-mut);font-size:10px;font-weight:700;text-anchor:middle}
.wle-tn.u{text-anchor:end}
.wle-mk{stroke:#fff;stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 1.5px rgba(0,0,0,.7))}
.wle-tri{stroke:var(--wle-ink);stroke-width:1.2;stroke-linejoin:round}
.wle-pill{fill:var(--wle-pill);stroke:var(--wle-line);stroke-width:1}
.wle-pt{fill:var(--wle-ink);font-size:10.5px;font-weight:800;text-anchor:middle}
.wle-seg{stroke:none}
.wle-sl{fill:var(--wle-mut);font-size:9px;font-weight:700;text-anchor:middle}
.wle-otri{fill:var(--wle-ink)}
.wle-card{fill:var(--wle-card2);stroke:var(--wle-line);stroke-width:1}
.wle-cap{fill:var(--wle-cmut);font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.wle-big{fill:var(--wle-cink);font-size:24px;font-weight:900;letter-spacing:-.01em}
.wle-u{fill:var(--wle-cmut);font-size:14px;font-weight:700}
.wle-sm{fill:var(--wle-cmut);font-size:11.5px;font-weight:600}
.wle-sm .b{fill:var(--wle-cink);font-weight:800}
.wle-axis{stroke:var(--wle-cmut);stroke-width:1.2}
.wle-gl{stroke:var(--wle-cgl);stroke-width:1;stroke-dasharray:2 3}
.wle-al{fill:var(--wle-cmut);font-size:8.5px;font-weight:600;text-anchor:end}
.wle-al.u{font-weight:800}
.wle-rung{stroke:var(--wle-cmut);stroke-width:3;stroke-linecap:round}
.wle-rung.hi{stroke-width:3.4;filter:drop-shadow(0 0 3px rgba(255,255,255,.35))}
.wle-jump{fill:none;stroke:var(--wle-cink);stroke-width:1.4;stroke-dasharray:3 3;opacity:.75}
.wle-ghost{fill:none;stroke:var(--wle-cmut);stroke-width:1.4;stroke-dasharray:2 2}
.wle-el{fill:#fff;stroke:var(--wle-card2);stroke-width:1.5;filter:drop-shadow(0 0 4px rgba(255,255,255,.8))}
.wle-spark{stroke:#fff;stroke-width:.8;animation:wle-tw 1.8s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes wle-tw{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.7);opacity:.6}}
@media(prefers-reduced-motion:reduce){.wle-spark{animation:none}}
.wle-br{fill:none;stroke:var(--wle-cmut);stroke-width:1.2}
@media print{.wle-fig{display:none!important}}
