/* Společný vzhled živého webu. Barvy a osy písma nastavuje js/stav.js podle aktuálního stavu. */
:root{
  --sky:#cfe6ee; --ink:#16181d; --dim:rgba(22,24,29,.62); --line:rgba(22,24,29,.2); --panel:rgba(255,255,255,.66); --acc:#e4572e;
  --swim:#2f7fd6; --bike:#e4572e; --run:#5c9a2e; --trans:#8f8b84; --you:#d6246e;
  --wght:600; --wdth:100;
  --flex:"Roboto Flex",system-ui,sans-serif; --mono:"Roboto Mono",ui-monospace,monospace;
}
*{ box-sizing:border-box; }
html{ background:var(--sky); transition:background 1.2s; scroll-behavior:smooth; }
body{ margin:0; color:var(--ink); font-family:var(--flex); -webkit-font-smoothing:antialiased; transition:color 1.2s; overflow-x:hidden; }
a{ color:inherit; }
.mono{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--dim); }
/* Písmo je měřák: tloušťka = energie, šířka = objem tréninku. */
.live{ font-variation-settings:"wght" var(--wght), "wdth" var(--wdth), "opsz" 144; transition:font-variation-settings 1.4s cubic-bezier(.3,.8,.3,1); letter-spacing:-.025em; }
.live em{ font-style:normal; color:var(--acc); }
h1,h2,h3{ margin:0; }
button,.btn{ font:inherit; font-family:var(--mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; background:none; color:inherit; border:1.5px solid currentColor; border-radius:999px; padding:7px 12px; cursor:pointer; text-decoration:none; display:inline-block; white-space:nowrap; }
button.on,.btn.on,button:hover,.btn:hover{ background:var(--ink); color:var(--sky); border-color:var(--ink); }
.btn.primary{ background:var(--acc); border-color:var(--acc); color:#fff; }
nav.top{ position:fixed; z-index:20; left:0; right:0; top:0; display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px clamp(16px,3vw,40px); }
nav.top .brand{ font-family:var(--mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase; text-decoration:none; font-weight:500; }
nav.top .links{ display:flex; gap:clamp(10px,2vw,22px); }
nav.top .links a{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; text-decoration:none; opacity:.75; }
nav.top .links a:hover{ opacity:1; text-decoration:underline; }
body.asleep .breathes{ animation:breathe 6s ease-in-out infinite; }
@keyframes breathe{ 50%{ opacity:.55; } }
.leg{ display:inline-block; width:9px; height:9px; border-radius:2px; margin-right:7px; }
@media (max-width:640px){ nav.top .links a:nth-child(n+4){ display:none; } }
