/* =====================================================================
   EVOLF WEB – styly
   Barvy jsou stejné jako v journalu: vzhled Azure (výchozí) a Crimson.
   Odstín změníš v blocích „VZHLED“ níže, zbytek webu se přebarví sám.
   ===================================================================== */

/* ---------- Písma (licence OFL, soubory jsou ve složce assets/fonts) ---------- */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/chakra-petch-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/chakra-petch-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/chakra-petch-600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/chakra-petch-700-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-sans-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-sans-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-sans-400i-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/plex-sans-400i-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/plex-sans-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/plex-sans-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/plex-sans-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(../fonts/plex-sans-600-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* =====================================================================
   VZHLED: Azure (výchozí) – stejné hodnoty jako index.css v journalu
   ===================================================================== */
:root,
[data-theme="azure"] {
  color-scheme: dark;
  --bg: 5 7 11;
  --g950: 5 7 11;  --g900: 10 13 19;  --g800: 16 20 28;  --g700: 26 32 43;  --g600: 38 46 59;
  --g500: 104 115 136; --g400: 149 160 179; --g300: 194 202 216; --g200: 221 227 238; --g100: 238 242 248;
  --a100: 210 239 255; --a200: 174 227 255; --a300: 143 220 255; --a400: 76 195 255; --a500: 42 157 244;
  --a600: 26 127 232;  --a700: 20 99 209;   --a800: 15 71 160;   --a900: 11 42 92;   --a950: 8 27 61;
  --hi: 143 220 255;                 /* jemná linka a detaily */
  --glow-1: 42 157 244;
  --glow-2: 20 99 209;
  --btn: linear-gradient(135deg, #4cc3ff 0%, #1a7fe8 55%, #1463d1 100%);
  --up: 25 200 160;                  /* rostoucí svíčka, nákup */
  --down: 240 72 92;                 /* klesající svíčka, prodej */
  /* tóny nápisu EVOLF (z loga vlka) */
  --tone-1: 119 221 250; --tone-2: 91 206 248; --tone-3: 45 187 241; --tone-4: 3 161 231; --tone-5: 2 119 203;
  /* heatmapa – paleta Evolf Ice */
  --h1: 8 22 48; --h2: 12 48 104; --h3: 22 96 186; --h4: 52 160 240; --h5: 150 215 255; --h6: 236 248 255;
}

/* =====================================================================
   VZHLED: Crimson – čistá černá, grafit, červená a zlatý detail
   ===================================================================== */
[data-theme="crimson"] {
  --bg: 3 3 3;
  --g950: 3 3 3;  --g900: 10 10 11;  --g800: 18 18 20;  --g700: 29 29 32;  --g600: 43 43 47;
  --g500: 108 108 114; --g400: 155 155 161; --g300: 200 200 204; --g200: 228 228 230; --g100: 242 242 243;
  --a100: 255 222 219; --a200: 255 188 182; --a300: 255 143 134; --a400: 255 90 79; --a500: 240 58 46;
  --a600: 212 36 25;   --a700: 173 26 18;   --a800: 125 20 14;   --a900: 74 13 9;    --a950: 42 7 5;
  --hi: 212 168 67;                  /* zlatá jako kroužky v grafu */
  --glow-1: 212 36 25;
  --glow-2: 120 16 10;
  --btn: linear-gradient(135deg, #ff5a4f 0%, #d42419 55%, #9e150e 100%);
  --tone-1: 240 46 37; --tone-2: 233 36 29; --tone-3: 216 27 22; --tone-4: 197 17 14; --tone-5: 161 11 9;
  /* heatmapa – paleta Evolf Lava */
  --h1: 34 6 4; --h2: 92 12 8; --h3: 176 28 16; --h4: 236 84 28; --h5: 246 172 64; --h6: 255 238 200;
}

/* ---------- Jazyk a vzhled: ukáže se jen aktivní varianta ---------- */
html[data-lang="cs"] body [lang="en"],
html[data-lang="en"] body [lang="cs"] { display: none !important; }
html[data-theme="crimson"] .only-azure,
html:not([data-theme="crimson"]) .only-crimson { display: none !important; }
html[data-discord="live"] .discord-soon,
html:not([data-discord="live"]) .discord-live { display: none !important; }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: rgb(var(--bg));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  min-height: 100vh;
  font: 400 1rem/1.6 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: rgb(var(--g300));
  background: rgb(var(--bg));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* nasvícení v barvách vzhledu – stejné jako v journalu */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 50% -10%, rgb(var(--glow-1) / 0.12), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgb(var(--glow-2) / 0.10), transparent 70%);
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: rgb(var(--a300)); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: rgb(var(--a200)); }
h1, h2, h3, h4 {
  font-family: "Chakra Petch", "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
  color: rgb(var(--g100));
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgb(var(--a500) / 0.35); color: #fff; }
:focus-visible { outline: 2px solid rgb(var(--a400)); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: rgb(var(--g800)); color: rgb(var(--g100));
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
html.theme-anim, html.theme-anim * {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, stop-color .35s ease !important;
}

/* ---------- Rozvržení ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap-narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section + .section { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem); }
.section-head p { margin-top: 14px; font-size: 1.075rem; color: rgb(var(--g300)); }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: rgb(var(--g300)); max-width: 62ch; }
.muted { color: rgb(var(--g400)); }
.small { font-size: .875rem; }
.brand-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--a500) / .6) 25%, rgb(var(--hi) / .8) 50%, rgb(var(--a500) / .6) 75%, transparent);
}
.rule { height: 1px; background: rgb(var(--g100) / .08); border: 0; margin: 0; }
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.even { grid-template-columns: 1fr 1fr; }
  .split.center { align-items: center; }
}

/* ---------- Broušené rohy (jako plošky vlka) ----------
   .facet = panel s vlasovým okrajem a seříznutým levým horním a pravým dolním rohem */
.facet {
  --c: 14px;
  --edge: rgb(var(--g100) / .09);
  --fill: rgb(var(--g800) / .92);
  position: relative;
  isolation: isolate;
  background: var(--edge);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.facet::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--fill);
  clip-path: polygon(calc(var(--c) - .586px) 0, 100% 0, 100% calc(100% - var(--c) + .586px), calc(100% - var(--c) + .586px) 100%, 0 100%, 0 calc(var(--c) - .586px));
}
a.facet, button.facet { transition: background-color .2s ease; }
a.facet:hover, button.facet:hover { --edge: rgb(var(--a400) / .55); }
.facet:focus-visible { outline: 2px solid rgb(var(--a400)); outline-offset: -5px; }

/* ---------- Tlačítka ---------- */
.btn {
  --c: 9px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  line-height: 1.1; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: filter .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { color: #fff; background: var(--btn); }
.btn-primary:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { color: rgb(var(--g100)); background: rgb(var(--g100) / .07); box-shadow: inset 0 0 0 1px rgb(var(--g100) / .14); }
.btn-ghost:hover { color: #fff; background: rgb(var(--g100) / .12); }
.btn-sm { --c: 7px; min-height: 36px; padding: 0 14px; font-size: .9rem; gap: 8px; }
.btn-sm svg { width: 16px; height: 16px; }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }
.btn[aria-disabled="true"] { cursor: default; opacity: .6; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* textový odkaz s šipkou dolů/doprava jen tam, kde vede dál */
.link {
  font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 600;
  color: rgb(var(--a300)); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.link:hover { color: rgb(var(--a200)); text-decoration: underline; }

/* ---------- Štítky ---------- */
.chip {
  --c: 6px;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 26px; padding: 3px 10px;
  font-size: .8rem; font-weight: 500; line-height: 1.25; color: rgb(var(--g300));
  background: rgb(var(--g100) / .065);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--g400)); flex: none; }
.chip.live .dot { background: rgb(var(--up)); box-shadow: 0 0 0 3px rgb(var(--up) / .18); }
.chip.soon .dot { background: rgb(var(--a400)); box-shadow: 0 0 0 3px rgb(var(--a400) / .18); }
.chip.lab .dot { background: rgb(var(--hi)); }
.chip.need { color: rgb(var(--g200)); background: rgb(var(--a500) / .12); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(var(--bg) / .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.site-header .bar { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 27px; height: auto; }
.brand .wm { height: 15px; width: auto; }
.nav { display: none; align-items: center; gap: clamp(14px, 1.7vw, 24px); }
.nav a {
  position: relative;
  font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 600; font-size: .95rem;
  color: rgb(var(--g300)); text-decoration: none; padding: 20px 0;
}
.nav a:hover { color: rgb(var(--g100)); }
.nav a[aria-current="page"] { color: rgb(var(--a400)); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 2px; background: rgb(var(--a400));
}
.tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tools .seg { display: none; }
.open-journal .long { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .tools .seg { display: flex; }
  .menu-btn { display: none !important; }
  .open-journal .long { display: inline; }
  .open-journal .short { display: none; }
}

/* přepínače jazyka a vzhledu – stejné jako v journalu */
.seg {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1);
}
.seg button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 5px 9px; font-size: 11px; font-weight: 700; line-height: 1; color: rgb(var(--g400));
}
.seg button:hover { color: #fff; }
.seg button[aria-checked="true"] { background: rgb(255 255 255 / .15); color: #fff; }
.seg.theme button { padding: 3px; display: flex; align-items: center; gap: 6px; opacity: .6; }
.seg.theme button[aria-checked="true"] { opacity: 1; padding: 3px 9px 3px 3px; }
.seg.theme button .nm { display: none; font-size: 11px; font-weight: 600; color: rgb(var(--g200)); }
.seg.theme button[aria-checked="true"] .nm { display: inline; }
.sw { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgb(255 255 255 / .2); }
.sw-azure { background: linear-gradient(135deg, #8fdcff, #1a7fe8 55%, #0b2a5c); }
.sw-crimson { background: linear-gradient(135deg, #ff5a4f, #d42419 45%, #0a0a0b 75%, #d4a843); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; background: rgb(var(--g100) / .07); cursor: pointer; color: rgb(var(--g100));
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.menu-btn svg { width: 20px; height: 20px; }
.mnav { border-top: 1px solid rgb(var(--g100) / .06); background: rgb(var(--bg) / .97); }
.mnav[hidden] { display: none; }
.mnav .wrap { padding-top: 10px; padding-bottom: 20px; }
.mnav a.mlink {
  display: block; padding: 13px 2px; font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 600; font-size: 1.15rem;
  color: rgb(var(--g200)); text-decoration: none; border-bottom: 1px solid rgb(var(--g100) / .06);
}
.mnav a.mlink[aria-current="page"] { color: rgb(var(--a400)); }
.mnav .mtools { display: flex; gap: 10px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.mnav .seg { display: flex; }

/* ---------- Úvod (hero) s heatmapou ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(600px, 92vh, 880px);
  display: grid;
  place-items: center;
}
.hero canvas.heat { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 44% 56% at 50% 46%, rgb(var(--bg) / .93) 0%, rgb(var(--bg) / .82) 45%, rgb(var(--bg) / .4) 78%, rgb(var(--bg) / .22) 100%),
    linear-gradient(to bottom, rgb(var(--bg) / .6) 0%, transparent 24%, transparent 70%, rgb(var(--bg)) 100%);
}
.hero-inner { text-align: center; padding-top: 56px; padding-bottom: 88px; }
.hero .wolf { width: clamp(132px, 15vw, 196px); margin: 0 auto; filter: drop-shadow(0 0 30px rgb(var(--glow-1) / .4)); }
.hero .wm { height: clamp(30px, 4.4vw, 50px); width: auto; margin: 22px auto 0; }
.hero-tag {
  margin: 30px auto 0; max-width: 22ch;
  font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 600;
  font-size: clamp(1.55rem, 1.1rem + 2vw, 2.4rem); line-height: 1.12; color: rgb(var(--g100));
  text-wrap: balance;
}
.hero-sub { max-width: 56ch; margin: 16px auto 0; font-size: clamp(1rem, .96rem + .3vw, 1.125rem); color: rgb(var(--g300)); }
.hero-tag, .hero-sub { text-shadow: 0 1px 14px rgb(var(--bg)), 0 0 2px rgb(var(--bg)); }
.hero .btn-row { justify-content: center; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: rgb(var(--g400)); }

/* úvod podstránek */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); max-width: 18ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .chips { margin-top: 22px; }

/* ---------- Ilustrace (SVG kreslené podle vzhledu) ---------- */
.ill { width: 100%; height: auto; }
.ill .bg { fill: rgb(var(--g900)); }
.ill .panel { fill: rgb(var(--g800)); }
.ill .grid { stroke: rgb(var(--g100) / .06); stroke-width: 1; }
.ill .axis { fill: rgb(var(--g950) / .9); }
.ill .t { fill: rgb(var(--g400)); font: 500 9px "IBM Plex Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.ill .tb { fill: rgb(var(--g100)); font: 600 9.5px "IBM Plex Sans", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.ill .tl { fill: rgb(var(--g100)); font: 600 11px "Chakra Petch", system-ui, sans-serif; }
.ill .up { fill: rgb(var(--up)); }
.ill .dn { fill: rgb(var(--down)); }
.ill .up-s { stroke: rgb(var(--up)); }
.ill .dn-s { stroke: rgb(var(--down)); }
.ill .up-t { fill: rgb(var(--up) / .16); }
.ill .dn-t { fill: rgb(var(--down) / .16); }
.ill .acc { fill: rgb(var(--a500)); }
.ill .acc-t { fill: rgb(var(--a500) / .16); }
.ill .acc-s { stroke: rgb(var(--a400)); }
.ill .hi { fill: rgb(var(--hi)); }
.ill .hi-t { fill: rgb(var(--hi) / .14); }
.ill .hi-s { stroke: rgb(var(--hi)); }
.ill .wick { stroke: rgb(var(--g400)); stroke-width: 1; }
.ill .line { fill: none; stroke: rgb(var(--g100)); stroke-width: 1.5; }
.ill .dash { stroke-dasharray: 3 3; }
.ill .h1 { fill: rgb(var(--h1)); } .ill .h2 { fill: rgb(var(--h2)); } .ill .h3 { fill: rgb(var(--h3)); }
.ill .h4 { fill: rgb(var(--h4)); } .ill .h5 { fill: rgb(var(--h5)); } .ill .h6 { fill: rgb(var(--h6)); }
.ill .bar { fill: rgb(var(--g500) / .55); }
.ill .bar-va { fill: rgb(var(--a500) / .55); }
.ill .gauge-bg { fill: none; stroke: rgb(var(--g100) / .08); }
.ill .gauge { fill: none; stroke: rgb(var(--a400)); }
.ill .plate { fill: rgb(var(--g900) / .95); stroke: rgb(var(--g100) / .16); }
.ill .plate-up { fill: rgb(var(--up)); }
.ill .plate-dn { fill: rgb(var(--down)); }
.ill .sp-up stop.a { stop-color: rgb(255 255 255 / .95); } .ill .sp-up stop.b { stop-color: rgb(var(--up)); } .ill .sp-up stop.c { stop-color: rgb(var(--up) / .35); }
.ill .sp-dn stop.a { stop-color: rgb(255 255 255 / .95); } .ill .sp-dn stop.b { stop-color: rgb(var(--down)); } .ill .sp-dn stop.c { stop-color: rgb(var(--down) / .35); }

/* ---------- Kategorie indikátorů (úvodní stránka) ---------- */
.rack { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 620px) { .rack { grid-template-columns: 1fr 1fr; } }
.rack a { --c: 14px; display: block; text-decoration: none; color: inherit; }
.rack .in { padding: 12px 12px 16px; }
.rack .ill { aspect-ratio: 16 / 9; }
.ill .chip-bg { fill: rgb(var(--g900)); stroke: rgb(var(--g100) / .1); stroke-width: 1; }
.ill .dot-off { fill: rgb(var(--g100) / .25); }
img.ill.shot { display: block; height: auto; object-fit: cover; background: #161a20; }
.shot-fig { margin: 18px 0 0; }
.modal .shot-fig .ill { margin-top: 0; }
.shot-fig figcaption { margin-top: 6px; font-size: .78rem; color: rgb(var(--g400)); }
.rack h3 { font-size: 1.1rem; margin-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rack h3 .count { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: .85rem; font-weight: 500; color: rgb(var(--g400)); }
.rack p { margin-top: 6px; font-size: .9rem; color: rgb(var(--g400)); }
.req-line { margin-top: 22px; padding-left: 14px; border-left: 2px solid rgb(var(--hi) / .7); color: rgb(var(--g300)); font-size: .95rem; }

/* ---------- Katalog indikátorů ---------- */
.filters {
  position: sticky; top: 65px; z-index: 20;
  padding: 14px 0; margin-bottom: 18px;
  background: rgb(var(--bg) / .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(var(--g100) / .06);
}
.filters .wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tabs button {
  --c: 6px;
  border: 0; cursor: pointer; padding: 7px 12px; font-size: .875rem; font-weight: 500; color: rgb(var(--g300));
  background: rgb(var(--g100) / .06);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.cat-tabs button:hover { color: #fff; background: rgb(var(--g100) / .1); }
.cat-tabs button[aria-pressed="true"] { color: #fff; background: rgb(var(--a500) / .28); box-shadow: inset 0 -2px 0 rgb(var(--a400)); }
.cat-tabs .n { color: rgb(var(--g400)); margin-left: 4px; font-variant-numeric: tabular-nums; }
.search {
  position: relative; flex: 1 1 220px; max-width: 320px;
}
.search input {
  width: 100%; height: 38px; padding: 0 12px 0 36px;
  font: inherit; font-size: .9rem; color: rgb(var(--g100));
  background: rgb(var(--g100) / .06); border: 1px solid rgb(var(--g100) / .1); border-radius: 0;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.search input::placeholder { color: rgb(var(--g500)); }
.search input:focus { outline: none; border-color: rgb(var(--a400)); }
.search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: rgb(var(--g400)); pointer-events: none; }

.grid-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; text-align: left; width: 100%; border: 0; cursor: pointer; padding: 0; color: inherit; font: inherit; }
.card .in { padding: 12px 12px 18px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.card .ill { aspect-ratio: 16 / 9; }
.card .top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 4px; }
.card h3 { font-size: 1.15rem; }
.card .ver { font-size: .78rem; color: rgb(var(--g400)); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card p { font-size: .9rem; color: rgb(var(--g400)); }
.card .chips { margin-top: auto; padding-top: 4px; }
.empty { padding: 48px 0; text-align: center; color: rgb(var(--g400)); }

/* ---------- Okno s detailem ---------- */
.modal-root { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal-root[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal {
  --c: 18px; --fill: rgb(var(--g900));
  position: relative; width: min(860px, 100%); max-height: min(90vh, 900px); overflow: auto;
}
.modal .in { padding: clamp(18px, 3vw, 32px); }
.modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 38px; height: 38px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgb(var(--g100) / .08); color: rgb(var(--g100));
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.modal-close:hover { background: rgb(var(--g100) / .14); }
.modal-close svg { width: 18px; height: 18px; }
.modal h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); padding-right: 44px; }
.modal .meta { margin-top: 8px; color: rgb(var(--g400)); font-size: .9rem; }
.modal .ill { margin-top: 18px; }
.detail-grid { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 760px) { .detail-grid { grid-template-columns: 1.3fr 1fr; } }
.detail-grid h3 { font-size: 1rem; margin-bottom: 10px; color: rgb(var(--g200)); }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 20px; color: rgb(var(--g300)); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  background: rgb(var(--a400)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps > li { counter-increment: s; position: relative; padding-left: 40px; color: rgb(var(--g300)); }
.steps > li::before {
  content: counter(s);
  position: absolute; left: 0; top: -1px; width: 26px; height: 26px; display: grid; place-items: center;
  font: 700 .85rem "Chakra Petch", system-ui, sans-serif; color: rgb(var(--g100));
  background: rgb(var(--a500) / .25);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.steps strong, .ticks strong { color: rgb(var(--g100)); font-weight: 600; }
code, kbd {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em;
  padding: 1px 5px; background: rgb(var(--g100) / .08); color: rgb(var(--g100)); border-radius: 3px;
}
.callout {
  margin-top: 22px; padding: 14px 16px; font-size: .92rem; color: rgb(var(--g300));
  background: rgb(var(--a500) / .08); border-left: 2px solid rgb(var(--a400));
}

/* ---------- Journal (náhled aplikace) ---------- */
.jmock { --c: 18px; --fill: rgb(var(--g950)); }
.jmock .in { padding: 0 0 18px; }
.jm-top { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 16px 10px; }
.jm-top img { width: 64px; height: auto; filter: drop-shadow(0 0 16px rgb(var(--glow-1) / .45)); }
.jm-top .wm { height: 16px; margin-top: 10px; }
.jm-pills { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.jm-pill { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.jm-pill span { font-size: 9px; font-weight: 700; padding: 3px 6px; border-radius: 99px; color: rgb(var(--g400)); }
.jm-pill span.on { background: rgb(255 255 255 / .15); color: #fff; }
.jm-pill i { width: 13px; height: 13px; border-radius: 50%; display: block; margin: 1px; }
.jm-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 8px 12px 0; font-size: 12px; font-weight: 600; color: rgb(var(--g300)); }
.jm-tabs span { padding-bottom: 6px; border-bottom: 2px solid transparent; white-space: nowrap; }
.jm-tabs span.on { color: rgb(var(--a400)); border-color: rgb(var(--a400)); }
.jm-body { padding: 14px 14px 0; display: grid; gap: 10px; }
.jm-card { background: rgb(var(--g800)); border: 1px solid rgb(255 255 255 / .06); border-radius: 12px; padding: 12px 14px; }
.jm-card .lbl { font-size: 11px; color: rgb(var(--g400)); }
.jm-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jm-big { font: 700 1.6rem/1.1 "IBM Plex Sans", system-ui, sans-serif; color: rgb(var(--g100)); font-variant-numeric: tabular-nums; margin-top: 4px; }
.jm-big small { font-size: .8rem; font-weight: 500; color: rgb(var(--g400)); }
.jm-sub { margin-top: 6px; font-size: 11px; color: rgb(var(--g400)); }
.jm-bar { height: 6px; border-radius: 6px; background: rgb(255 255 255 / .06); overflow: hidden; margin-top: 10px; }
.jm-bar i { display: block; height: 100%; border-radius: 6px; background: var(--btn); }
.jm-bar.risk i { background: linear-gradient(90deg, rgb(var(--down)), rgb(var(--down) / .6)); }
.jm-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.jm-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.jm-cal i { aspect-ratio: 1; border-radius: 4px; background: rgb(255 255 255 / .05); }
.jm-cal i.w { background: rgb(var(--up) / .55); }
.jm-cal i.l { background: rgb(var(--down) / .5); }
.jm-cal i.w2 { background: rgb(var(--up) / .85); }
.jm-demo { position: absolute; left: 16px; bottom: 6px; font-size: 10px; color: rgb(var(--g500)); }
.jm-fab {
  position: absolute; right: 16px; bottom: 28px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--btn); color: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1;
  box-shadow: 0 6px 18px -6px rgb(var(--a600) / .8);
}

/* seznam funkcí (journal, lab) */
.feat { display: grid; gap: clamp(20px, 3vw, 28px); }
@media (min-width: 720px) { .feat.two { grid-template-columns: 1fr 1fr; } }
.feat h3 { font-size: 1.15rem; }
.feat p { margin-top: 8px; color: rgb(var(--g400)); }
.feat .item { padding-top: 16px; border-top: 1px solid rgb(var(--g100) / .08); }

/* ---------- Strategie ---------- */
.strat-list { display: grid; gap: 12px; }
.strat { --c: 14px; }
.strat .in { padding: 18px 20px 20px; display: grid; gap: 10px; }
.strat .head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.strat h3 { font-size: 1.2rem; }
.strat .spec { font-size: .85rem; color: rgb(var(--g400)); }
.strat p { color: rgb(var(--g300)); font-size: .95rem; }
.strat .tools-used { font-size: .85rem; color: rgb(var(--g400)); }
.strat .tools-used a { color: rgb(var(--a300)); }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.group-title h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.group-title p { color: rgb(var(--g400)); font-size: .9rem; max-width: 46ch; text-align: right; }

/* ---------- Články ---------- */
.post-list { list-style: none; border-top: 1px solid rgb(var(--g100) / .08); }
.post-list li { border-bottom: 1px solid rgb(var(--g100) / .08); }
.post-list a { display: grid; gap: 6px; padding: 22px 0; text-decoration: none; color: inherit; }
@media (min-width: 760px) { .post-list a { grid-template-columns: 150px 1fr auto; gap: 24px; align-items: baseline; } }
.post-list time { font-size: .85rem; color: rgb(var(--g400)); font-variant-numeric: tabular-nums; }
.post-list h3 { font-size: 1.25rem; transition: color .2s ease; }
.post-list a:hover h3 { color: rgb(var(--a300)); }
.post-list p { margin-top: 6px; color: rgb(var(--g400)); font-size: .95rem; max-width: 64ch; }
.post-list .rt { font-size: .85rem; color: rgb(var(--g400)); white-space: nowrap; }

.article { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.article .back { font-size: .9rem; }
.article h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); margin-top: 18px; }
.article .meta { margin-top: 14px; color: rgb(var(--g400)); font-size: .9rem; }
.prose { margin-top: 36px; font-size: 1.0625rem; line-height: 1.72; color: rgb(var(--g300)); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { font-size: 1.55rem; margin-top: 2em; }
.prose > h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose > h2 + *, .prose > h3 + * { margin-top: .7em; }
.prose strong { color: rgb(var(--g100)); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: rgb(var(--a400)); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 2px solid rgb(var(--hi) / .8); color: rgb(var(--g200)); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 9px 12px; border-bottom: 1px solid rgb(var(--g100) / .08); white-space: nowrap; }
.prose th { color: rgb(var(--g100)); font-weight: 600; background: rgb(var(--g100) / .04); }
.prose img { margin: 1.6em 0; }
.prose hr { border: 0; height: 1px; background: rgb(var(--g100) / .1); margin: 2.2em 0; }
.prose .note { font-size: .9rem; color: rgb(var(--g400)); }
.lang-note { margin-top: 24px; padding: 10px 14px; font-size: .9rem; color: rgb(var(--g300)); background: rgb(var(--a500) / .1); }

/* ---------- Komunita (Discord) ---------- */
.server { --c: 18px; --fill: rgb(var(--g900)); }
.server .in { display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .server .in { grid-template-columns: 250px 1fr; } }
.server .side { padding: 18px 12px; background: rgb(var(--g950) / .6); }
.server .sname { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px; font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 700; color: rgb(var(--g100)); border-bottom: 1px solid rgb(var(--g100) / .07); }
.server .sname img { width: 26px; }
.server .grp { margin-top: 14px; padding: 0 8px 4px; font-size: .72rem; font-weight: 600; color: rgb(var(--g500)); letter-spacing: .04em; }
.server .ch {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 6px 8px; border: 0; background: transparent; cursor: pointer; color: rgb(var(--g400)); font-size: .95rem; border-radius: 4px;
}
.server .ch:hover { background: rgb(var(--g100) / .05); color: rgb(var(--g200)); }
.server .ch[aria-selected="true"] { background: rgb(var(--g100) / .09); color: rgb(var(--g100)); }
.server .ch .hash { color: rgb(var(--g500)); font-weight: 600; }
.server .main { padding: clamp(18px, 3vw, 30px); min-height: 280px; }
.server .main h3 { font-size: 1.35rem; display: flex; gap: 8px; align-items: baseline; }
.server .main h3 .hash { color: rgb(var(--g500)); }
.server .main p { margin-top: 12px; color: rgb(var(--g300)); max-width: 54ch; }
.server .msg { margin-top: 20px; display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.server .msg img { width: 36px; }
.server .msg b { color: rgb(var(--g100)); font-weight: 600; font-size: .95rem; }
.server .msg .text { display: block; color: rgb(var(--g400)); font-size: .92rem; margin-top: 2px; }

.band { position: relative; overflow: hidden; }
.band .in { padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .band .in { grid-template-columns: 1.2fr 1fr; } }
.band h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.band p { margin-top: 12px; color: rgb(var(--g300)); }
.band .chan { list-style: none; display: grid; gap: 6px; font-size: .95rem; color: rgb(var(--g300)); }
.band .chan li { display: flex; gap: 8px; }
.band .chan .hash { color: rgb(var(--g500)); font-weight: 600; }
.band .chan .d { color: rgb(var(--g500)); }

/* ---------- Lab ---------- */
.lab-fig { --c: 18px; --fill: rgb(var(--g900)); }
.lab-fig .in { padding: 16px; }
.lab-fig figcaption { margin-top: 10px; font-size: .85rem; color: rgb(var(--g400)); }
.mc .band-out { fill: rgb(var(--a500) / .12); }
.mc .band-in { fill: rgb(var(--a500) / .22); }
.mc .path { fill: none; stroke: rgb(var(--g100) / .1); stroke-width: 1; }
.mc .real { fill: none; stroke: rgb(var(--hi)); stroke-width: 2; }
.mc .med { fill: none; stroke: rgb(var(--a300)); stroke-width: 1.5; stroke-dasharray: 4 3; }
.mc .mll { stroke: rgb(var(--down)); stroke-width: 1; stroke-dasharray: 2 3; }
.mc .t { fill: rgb(var(--g400)); font: 500 10px "IBM Plex Sans", system-ui, sans-serif; }

/* ---------- Instalace aplikace (journal) ---------- */
.platforms { display: grid; gap: 14px; }
@media (min-width: 900px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
.platforms .facet .in { padding: 20px 20px 22px; }
.platforms h3 { font-size: 1.1rem; margin-bottom: 14px; }

/* ---------- Právní text ---------- */
.legal h2 { font-size: 1.35rem; margin: 2.2em 0 .7em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: rgb(var(--g300)); max-width: 72ch; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- Patička ---------- */
.site-footer { margin-top: clamp(48px, 7vw, 96px); }
.foot { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot-brand .brand img { width: 32px; }
.foot-brand .brand .wm { height: 17px; }
.foot-brand p { margin-top: 14px; color: rgb(var(--g400)); font-size: .92rem; max-width: 34ch; }
.foot h2 { font-family: "Chakra Petch", system-ui, sans-serif; font-size: .95rem; color: rgb(var(--g200)); margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a { color: rgb(var(--g400)); text-decoration: none; font-size: .92rem; }
.foot a:hover { color: rgb(var(--g100)); }
.foot .soon { color: rgb(var(--g400)); font-size: .92rem; }
.foot-legal { padding-top: 20px; padding-bottom: 36px; border-top: 1px solid rgb(var(--g100) / .06); display: grid; gap: 10px; }
.foot-legal p { font-size: .82rem; color: rgb(var(--g400)); max-width: 110ch; }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.nf img { width: 120px; margin: 0 auto; filter: drop-shadow(0 0 24px rgb(var(--glow-1) / .4)); }
.nf h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-top: 26px; }
.nf p { margin-top: 12px; color: rgb(var(--g400)); }
.nf .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Omezený pohyb ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Nápis EVOLF (tóny z loga vlka, mění se se vzhledem) ---------- */
.wm .t1 { fill: rgb(var(--tone-1)); }
.wm .t2 { fill: rgb(var(--tone-2)); }
.wm .t3 { fill: rgb(var(--tone-3)); }
.wm .t4 { fill: rgb(var(--tone-4)); }
.wm .t5 { fill: rgb(var(--tone-5)); }
.hero .wm, .nf .wm { filter: drop-shadow(0 4px 18px rgb(var(--a600) / .5)); }

/* ---------- Doplňky ---------- */
[hidden] { display: none !important; }
.h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.75rem); }
.h2 + .lead, .h2 + p { margin-top: 16px; }
.faq { margin-top: 22px; border-top: 1px solid rgb(var(--g100) / .08); }
.faq details { border-bottom: 1px solid rgb(var(--g100) / .08); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0;
  font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 600; font-size: 1.08rem; color: rgb(var(--g100));
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font-size: 1.45rem; line-height: 1; color: rgb(var(--a400)); }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 0 20px; color: rgb(var(--g300)); max-width: 68ch; margin: 0; }
.lab-teaser { display: block; text-decoration: none; color: inherit; --fill: rgb(var(--g900)); }
.lab-teaser .in { padding: 16px 16px 22px; }
.lab-teaser h3 { font-size: 1.35rem; margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lab-teaser p { margin-top: 8px; color: rgb(var(--g400)); }
.band .chan li { align-items: baseline; }
.band .chan .nm { color: rgb(var(--g100)); min-width: 128px; }

/* jazyk v náhledu journalu */
.jm-pill .l-cs, .jm-pill .l-en { background: transparent; color: rgb(var(--g400)); }
html[data-lang="cs"] .jm-pill .l-cs, html[data-lang="en"] .jm-pill .l-en { background: rgb(255 255 255 / .15); color: #fff; }
.jm-pill .sw { width: 13px; height: 13px; margin: 1px; }
a.facet, a.card { color: inherit; text-decoration: none; }
.card h3 { color: rgb(var(--g100)); }
a.card:hover h3 { color: rgb(var(--a300)); }
@media (min-width: 900px) { .strat-list.cols { grid-template-columns: 1fr 1fr; } }
.strat p { max-width: 72ch; }
.link svg { width: 18px; height: 18px; flex: none; }
.article .back { display: inline-flex; }
.modal svg.ill { aspect-ratio: 2.6 / 1; }
.modal img.ill.shot { aspect-ratio: 16 / 9; }
.modal img.ill.shot.real { aspect-ratio: auto; width: auto; max-width: 100%; max-height: min(70vh, 760px); margin: 0 auto; object-fit: contain; background: #000; }
.shot-fig.real { background: #000; }
.shot-fig.real figcaption { background: rgb(var(--g900)); padding-top: 6px; margin-top: 0; }
