/* Mockup projectile: strelnica za úsvitu – široký panoramatický graf dráhy v mierke, pod ním tri farebne kódované
   "značkovacie kolíky" (dosah = červená vlajka, výška = tyrkysový vrchol, čas = jantárová guľa). */
.has-pj{--pj-sky-a:#cfe3fb;--pj-sky-b:#fdf0d5;--pj-grid:rgba(30,58,95,.13);--pj-ax:#475569;--pj-ground:#7aa64a;--pj-ground2:#4d7c27;--pj-arc:#ea580c;--pj-ghost:#64748b;--pj-apex:#0f9488;--pj-flag:#dc2626;--pj-ball:#b45309;--pj-iron:#334155;--pj-wood:#92400e;--pj-ink:#0f172a}
@media(prefers-color-scheme:dark){.has-pj{--pj-sky-a:#0b1226;--pj-sky-b:#3b2f5c;--pj-grid:rgba(203,213,225,.12);--pj-ax:#cbd5e1;--pj-ground:#2f4a1f;--pj-ground2:#4d7c27;--pj-arc:#fb923c;--pj-ghost:#94a3b8;--pj-apex:#2dd4bf;--pj-flag:#f87171;--pj-ball:#fbbf24;--pj-iron:#cbd5e1;--pj-wood:#d97706;--pj-ink:#f1f5f9}}

.pj-range{position:relative;margin:.9rem 0 .2rem;border-radius:10px;overflow:hidden;border:1px solid var(--line);cursor:pointer;line-height:0}
.pj-svg{display:block;width:100%}
.pj-sky-a{stop-color:var(--pj-sky-a)}.pj-sky-b{stop-color:var(--pj-sky-b)}
.pj-grid line{stroke:var(--pj-grid);stroke-width:1}
.pj-ax{font:600 10.5px ui-monospace,SFMono-Regular,Consolas,monospace;fill:var(--pj-ax)}
.pj-axx{text-anchor:middle;fill:#f8fafc}
.pj-axy{text-anchor:end}
.pj-unit{text-anchor:end;fill:#f8fafc;font-weight:800}
.pj-ground{fill:var(--pj-ground)}
.pj-groundline{stroke:var(--pj-ground2);stroke-width:3}
.pj-ghost{fill:none;stroke:var(--pj-ghost);stroke-width:1.6;stroke-dasharray:2 5;stroke-linecap:round;opacity:.8}
.pj-ghost-l{font:700 10px system-ui,sans-serif;fill:var(--pj-ghost);text-anchor:middle}
.pj-arc{fill:none;stroke:var(--pj-arc);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pj-apex{stroke:var(--pj-apex);stroke-width:1.6;stroke-dasharray:5 4}
.pj-apex-dot{fill:var(--pj-apex)}
.pj-dim{stroke:var(--pj-flag);stroke-width:2;stroke-dasharray:1 4;stroke-linecap:round;opacity:.9}
.pj-flag line{stroke:var(--pj-iron);stroke-width:2}
.pj-flag path{fill:var(--pj-flag)}
.pj-lab{font:800 12px ui-monospace,SFMono-Regular,Consolas,monospace;paint-order:stroke;stroke:var(--pj-sky-b);stroke-width:4px;stroke-linejoin:round}
.pj-lab-h{fill:var(--pj-apex)}.pj-lab-r{fill:var(--pj-flag)}.pj-lab-a{fill:var(--pj-ink);font-size:11px}
.pj-barrel{fill:var(--pj-iron)}
.pj-wheel{fill:none;stroke:var(--pj-wood);stroke-width:3.5}
.pj-hub{fill:var(--pj-wood)}
.pj-ball{fill:var(--pj-ball);stroke:rgba(0,0,0,.25);stroke-width:1}
.pj-replay{position:absolute;right:8px;top:6px;font:700 14px/1 system-ui,sans-serif;color:var(--pj-ax);opacity:.55;line-height:1}
.pj-ex{display:none;position:absolute;left:8px;top:7px;z-index:2;font:700 .62rem/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--mut);background:var(--card);padding:3px 8px;border-radius:999px;box-shadow:0 0 0 1px var(--line)}
.pj-range.is-example .pj-ex{display:inline-block}
.pj-range.is-example .pj-arc,.pj-range.is-example .pj-ball,.pj-range.is-example .pj-cannon,.pj-range.is-example .pj-flag,.pj-range.is-example .pj-apex,.pj-range.is-example .pj-apex-dot,.pj-range.is-example .pj-lab,.pj-range.is-example .pj-dim{opacity:.55}

/* kolíky s hodnotami */
.has-pj #out{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-top:.7rem}
.has-pj #out .tile,.has-pj #out .tile:first-child{grid-column:auto;display:block;text-align:left;background:var(--card);border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;padding:.75rem .9rem .8rem;position:relative;box-shadow:inset 0 5px 0 var(--pj-c,var(--pj-arc))}
.has-pj #out .tile:nth-child(1){--pj-c:var(--pj-flag)}
.has-pj #out .tile:nth-child(2){--pj-c:var(--pj-apex)}
.has-pj #out .tile:nth-child(3){--pj-c:var(--pj-ball)}
.has-pj #out .tile dt,.has-pj #out .tile:first-child dt{margin-top:.2rem;color:var(--mut);font-size:.8rem;font-weight:600}
.has-pj #out .tile dt::before{content:"";display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:2px;background:var(--pj-c);vertical-align:0}
.has-pj #out .tile:nth-child(2) dt::before{border-radius:50%}
.has-pj #out .tile:nth-child(3) dt::before{border-radius:50%;box-shadow:inset -2px -2px 0 rgba(0,0,0,.25)}
.has-pj #out .tile dd,.has-pj #out .tile:first-child dd{text-align:left;font-size:clamp(1.15rem,3.2vw,1.7rem);font-weight:800;letter-spacing:-.01em;line-height:1.2;color:var(--fg);-webkit-text-fill-color:currentColor;background:none}
.has-pj #out .tile:first-child dd{color:var(--pj-flag)}

@media(max-width:520px){
  .has-pj #out{gap:.4rem}
  .has-pj #out .tile,.has-pj #out .tile:first-child{padding:.6rem .55rem .65rem}
  .has-pj #out .tile dt,.has-pj #out .tile:first-child dt{font-size:.72rem}
  .has-pj #out .tile dt::before{display:block;margin:0 0 4px}
}
