/* ===== Mockup: Objem a povrch gule a polgule – guľa prerezaná na rovníku, horná polguľa nadvihnutá ako vrchnák;
   rezná plocha (jadro = objem) s kótou polomeru, obrys vrchnáka = povrch. Vedľa odčítania V, S, ½V a jednotková kocka v mierke. ===== */
.sbl-fig{
  --sbl-bg:#eef6f4;--sbl-bg2:#dcebe7;--sbl-skin:#2bb3a3;--sbl-skin2:#0f6f66;--sbl-hi:#bff3ea;--sbl-core:#ffd27a;--sbl-core2:#f29b38;
  --sbl-ink:#11312d;--sbl-mut:#5c7e78;--sbl-line:#0b4d47;--sbl-surf:#0ea5e9;--sbl-chip:#ffffff;--sbl-chipb:#cfe3de;--sbl-shadow:#0b3b36;
  position:relative;margin:.2rem 0 .9rem;padding:.55rem .6rem .35rem;border-radius:20px;overflow:hidden;
  background:linear-gradient(180deg,var(--sbl-bg) 0 62%,var(--sbl-bg2) 62% 100%);
  border:1px solid var(--sbl-chipb)
}
@media(prefers-color-scheme:dark){
  .sbl-fig{--sbl-bg:#1f2a33;--sbl-bg2:#18222a;--sbl-skin:#2fb8a8;--sbl-skin2:#11564f;--sbl-hi:#a6efe4;--sbl-core:#ffcf73;--sbl-core2:#d9822a;
    --sbl-ink:#eef6f4;--sbl-mut:#a5bdb8;--sbl-line:#e9fffb;--sbl-surf:#5fd0ff;--sbl-chip:#26333d;--sbl-chipb:#3a4c57;--sbl-shadow:#000}
}
.sbl-svg{display:block;width:100%;height:auto;overflow:visible;font-family:"Segoe UI",system-ui,-apple-system,sans-serif}
.sbl-ex{position:absolute;top:.55rem;right:.7rem;z-index:1;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--sbl-mut);border:1px dashed var(--sbl-mut);border-radius:999px;padding:.08rem .5rem;display:none}
.sbl-fig.is-ex .sbl-ex{display:block}
.sbl-fig.is-ex .sbl-svg{opacity:.8;filter:saturate(.75)}

.sbl-shadow{fill:var(--sbl-shadow);opacity:.18}
.sbl-ghost{fill:none;stroke:var(--sbl-mut);stroke-width:1.2;stroke-dasharray:4 5;opacity:.55}
.sbl-body{stroke:var(--sbl-skin2);stroke-width:1.2}
.sbl-cut{stroke:var(--sbl-skin2);stroke-width:1.6}
.sbl-rad{stroke:var(--sbl-ink);stroke-width:2.2;stroke-linecap:round}
.sbl-fig .sbl-rad{stroke:#3b2a10}
.sbl-radarr{fill:none;stroke:#3b2a10;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sbl-ctr{fill:#3b2a10}
.sbl-rlab{fill:#3b2a10;font-size:13.5px;font-weight:800;text-anchor:middle;font-variant-numeric:tabular-nums}
.sbl-half{fill:#fff;font-size:17px;font-weight:800;text-anchor:middle;opacity:.92}
.sbl-lid{animation:sbl-lift .7s cubic-bezier(.3,.7,.2,1)}
.sbl-skinline{fill:none;stroke:var(--sbl-surf);stroke-width:4;stroke-linecap:round;opacity:.9}
.sbl-rim{fill:none;stroke:var(--sbl-skin2);stroke-width:1.6}
.sbl-gloss{fill:#fff;opacity:.45}
.sbl-liftarr{fill:none;stroke:var(--sbl-mut);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:3 3}
.sbl-slab{fill:#fff;font-size:17px;font-weight:800;text-anchor:middle}

.sbl-cube .f1{fill:var(--sbl-core);stroke:var(--sbl-line);stroke-width:1}
.sbl-cube .f2{fill:color-mix(in srgb,var(--sbl-core) 60%,#fff);stroke:var(--sbl-line);stroke-width:1}
.sbl-cube .f3{fill:var(--sbl-core2);stroke:var(--sbl-line);stroke-width:1}
.sbl-cubel{fill:var(--sbl-mut);font-size:11px;font-weight:700;text-anchor:middle}

.sbl-chip{fill:var(--sbl-chip);stroke:var(--sbl-chipb);stroke-width:1.2}
.sbl-ic{fill:var(--sbl-skin);stroke:var(--sbl-skin2);stroke-width:1.2}
.sbl-ic-s{fill:none;stroke:var(--sbl-surf);stroke-width:3.4;stroke-linecap:round}
.sbl-row.sbl-rw-half .sbl-ic{fill:var(--sbl-core2)}
.sbl-row.sbl-rw-whole .sbl-ic{fill:url(#sbl-shade)}
.sbl-k{fill:var(--sbl-mut);font-size:15px;font-weight:800}
.sbl-v{fill:var(--sbl-ink);font-size:17px;font-weight:800;text-anchor:end;font-variant-numeric:tabular-nums}
.sbl-row.sbl-rw-surf .sbl-chip{stroke:var(--sbl-surf)}
.sbl-row.sbl-rw-half .sbl-chip{stroke:var(--sbl-core2)}
.sbl-note{fill:var(--sbl-mut);font-size:12px;font-weight:600;white-space:pre}

@keyframes sbl-lift{from{transform:translateY(54px)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.sbl-lid{animation:none}}
