/* ===== Úvodní stránka davidvas.cz — návrh A2 „Trenér, který sám závodí" (David vybral 5. 12. 2026) =====
   Styly JEN pro web/index.html. Všechno je pod třídou .uv (obal nových sekcí), ať se nic nepotká se styles.css.
   Vzniklo převodem z docs/nahledy/uvod-webu/navrh-a2.html (tam je i klikací náhled a tři původní návrhy).
   Stavové třídy dává skript na <html>: uv-js · uv-pohyb (animace zapnuté) · uv-jede (úvod smí nastoupit).
   Pravidla a co kde David upraví: docs/pravidla/web-uvod.md. Po změně zvedni ?v= u uvod.css v index.html. */
.uv, .a-st, .a-trat {
  --z-950: hsl(152 45% 6%);
  --z-900: hsl(150 35% 8%);
  --z-800: hsl(150 40% 12%);
  --z-700: hsl(150 80% 18%);
  --z-600: hsl(145 75% 28%);   /* hlavní zelená webu */
  --z-500: hsl(142 70% 40%);
  --z-400: hsl(142 70% 45%);
  --z-300: hsl(142 72% 62%);
  --z-200: hsl(142 60% 82%);
  --z-100: hsl(145 25% 95%);
  --ink: hsl(150 20% 10%);
  --mut: hsl(150 8% 40%);
  --line: hsl(145 15% 88%);
  --paper: #fff;
  --sand: #f6f4ee;
  --zlata: hsl(42 95% 62%);
  --fd: 'Montserrat', system-ui, sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --r: 18px;
  --nv-h: 64px;
}
.uv { font-family: var(--fb); color: var(--ink); }
.uv :where(h1, h2, h3, h4) { text-wrap: balance; color: inherit; }
.uv :where(p) { text-wrap: pretty; }
.uv :where(img) { height: auto; }
.uv .bb-dalsi a { text-decoration: underline; }
.uv .wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.uv .ok { display: inline-block; font-family: var(--fd); font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--z-600); }
.uv .na-tmave .ok, .uv .ok--svetla { color: var(--z-300); }

.uv .b { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem;
  border-radius: 14px; border: 2px solid transparent; font-family: var(--fd); font-weight: 800; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; text-align: center; }
.uv .b:hover { transform: translateY(-2px); }
.uv .b--vel { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.06rem; }
.uv .b--pri { background: var(--z-600); color: #fff; box-shadow: 0 12px 26px -12px hsl(145 75% 25% / .7); }
.uv .b--pri:hover { background: hsl(145 75% 24%); }
.uv .b--jasna { background: linear-gradient(135deg, hsl(142 80% 58%), hsl(145 75% 46%)); color: var(--z-950); box-shadow: 0 12px 28px -10px hsl(142 80% 45% / .6); }
.uv .b--bila { background: #fff; color: var(--z-700); }
.uv .b--duch { border-color: hsl(0 0% 100% / .4); color: #fff; background: hsl(0 0% 100% / .06); }
.uv .b--duch:hover { background: hsl(0 0% 100% / .14); }
.uv .b--obrys { border-color: var(--z-600); color: var(--z-600); background: transparent; }
.uv .b--obrys:hover { background: var(--z-100); }
.uv .sipka::after { content: '→'; font-weight: 900; }

.uv .jen-ctecka { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .uv .b:hover { transform: none; } }


/* ===== Návrh A2 — „Trenér, který sám závodí" + šest dlaždic z návrhu B + pás „Nejbližší" z návrhu C, kratší na telefonu.
   Třídy a- jsou z návrhu A, třídy bb- jsou dlaždice a panely převzaté z návrhu B (b- jsou tlačítka ze společného stylu). ===== */
.uv [hidden] { display: none !important; }
.uv :focus-visible { outline: 3px solid var(--zlata); outline-offset: 3px; border-radius: 6px; }
.uv > section { position: relative; overflow: hidden; overflow: clip; }
.uv .a-sek { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.uv .a-h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); margin-top: .5rem; }
.uv .a-pod { color: var(--mut); max-width: 60ch; margin-top: .7rem; font-size: clamp(1rem, 1.2vw, 1.12rem); }
.uv .a-zel { color: var(--z-300); }
.uv .a-odk { font-family: var(--fd); font-weight: 800; color: var(--z-600); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.uv .a-odk:hover { text-decoration: underline; }

/* ---------- 1. Úvod ---------- */
.uv .a-uvod { background: var(--z-950); color: #fff; }
.uv .a-uvod__foto { position: relative; height: clamp(250px, 40vh, 360px); height: clamp(250px, 40svh, 360px); }
.uv .a-uvod__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 22%; }
.uv .a-uvod__foto::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, hsl(152 45% 6% / .6) 0%, transparent 30%, transparent 52%, var(--z-950) 100%); }
.uv .a-uvod__telo { position: relative; margin-top: -3.2rem; padding-bottom: 1.5rem; }
.uv .a-uvod__stitek { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--fd); font-weight: 800; font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--z-300); }
.uv .a-uvod__stitek svg { width: 16px; height: 16px; flex: none; }
.uv .a-uvod h1 { font-size: clamp(1.9rem, 8.2vw, 3.4rem); line-height: 1.06; margin-top: .7rem; }
.uv .a-uvod__veta { margin-top: .8rem; max-width: 46ch; font-size: clamp(1rem, 1.35vw, 1.22rem); line-height: 1.55; color: hsl(0 0% 100% / .86); }
.uv .a-uvod__veta strong { color: #fff; }
.uv .a-uvod__cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.uv .a-uvod__cta .b { flex: 1 1 100%; padding-inline: 1rem; min-width: 0; }
.uv .a-cisla { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 1px solid hsl(0 0% 100% / .18); }
.uv .a-cisla li { min-width: 0; }
.uv .a-cisla li:last-child { grid-column: 1 / -1; }
.uv .a-cisla strong { display: block; font-family: var(--fd); font-weight: 900; font-size: clamp(1.5rem, 6.4vw, 2.2rem); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.uv .a-cisla li:nth-child(-n+2) strong { color: var(--z-300); }
.uv .a-cisla span { display: block; margin-top: .3rem; font-size: .82rem; line-height: 1.3; color: hsl(0 0% 100% / .72); }
@media (min-width: 560px) {
  .uv .a-uvod__cta .b { flex: 0 1 auto; padding-inline: 1.7rem; }
  .uv .a-cisla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .uv .a-cisla li:last-child { grid-column: auto; }
}
@media (min-width: 900px) {
  .uv .a-uvod { min-height: min(88vh, 800px); display: flex; flex-direction: column; }
  .uv .a-uvod__foto { position: absolute; inset: 0; height: auto; }
  .uv .a-uvod__foto img { object-position: 60% 28%; }
  .uv .a-uvod__foto::after { background:
    linear-gradient(90deg, var(--z-950) 0%, hsl(152 45% 6% / .93) 26%, hsl(152 45% 6% / .5) 50%, transparent 72%),
    linear-gradient(180deg, hsl(152 45% 6% / .55) 0%, transparent 22%, transparent 58%, hsl(152 45% 6% / .94) 100%); }
  .uv .a-uvod__telo { margin-top: 0; padding-top: calc(var(--nv-h) + 2rem); padding-bottom: 0; flex: 1; display: flex; flex-direction: column; }
  .uv .a-uvod__text { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: min(46rem, 58%); padding-block: 1rem 2rem; }
  .uv .a-uvod__stitek { font-size: .78rem; }
  .uv .a-uvod h1 { font-size: clamp(2.6rem, 4.3vw, 4.4rem); }
  .uv .a-uvod__cta { margin-top: 1.6rem; }
  .uv .a-cisla { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; margin-top: 0; padding-block: 1.3rem 1.6rem; }
  .uv .a-cisla strong { font-size: clamp(1.6rem, 2.9vw, 2.9rem); }
  .uv .a-cisla span { font-size: .9rem; }
}

/* ---------- 2. Kurz ---------- */
.uv .a-kurz { background: var(--z-100); }
.uv .a-kurz__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; align-items: center; padding-block: clamp(2rem, 4.5vw, 4rem); }
.uv .a-kurz__foto { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 24px 50px -28px hsl(150 40% 12% / .55); }
.uv .a-kurz__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.uv .a-kurz__foto b { position: absolute; left: .9rem; bottom: .9rem; padding: .4rem .8rem; border-radius: 999px; background: hsl(150 35% 8% / .82); color: #fff;
  font-family: var(--fd); font-weight: 800; font-size: .78rem; }
.uv .a-kurz h2 { font-size: clamp(1.75rem, 3.8vw, 3.1rem); margin-top: .55rem; }
.uv .a-kurz__fakta { margin-top: .8rem; font-family: var(--fd); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; }
.uv .a-kurz__body { list-style: none; display: grid; gap: .35rem; margin-top: .8rem; color: hsl(150 12% 26%); }
.uv .a-kurz__body li { padding-left: 1.5rem; position: relative; }
.uv .a-kurz__body li::before { content: ''; position: absolute; left: 0; top: .45em; width: .9rem; height: .5rem; border-left: 3px solid var(--z-500); border-bottom: 3px solid var(--z-500); transform: rotate(-45deg); }
.uv .a-kurz__akce { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.3rem; }
.uv .a-kurz__dni { display: inline-flex; align-items: baseline; gap: .45rem; padding: .65rem 1rem; border-radius: 14px; background: var(--z-900); color: hsl(0 0% 100% / .85); font-size: .9rem; }
.uv .a-kurz__dni strong { font-family: var(--fd); font-weight: 900; font-size: 1.9rem; line-height: 1; color: var(--z-300); }
@media (max-width: 440px) { .uv .a-kurz__akce .b { flex: 1 1 100%; } }
@media (min-width: 860px) {
  .uv .a-kurz__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 4.5rem); }
  .uv .a-kurz__foto { aspect-ratio: 4 / 3; }
}

/* ---------- 3. Inside ---------- */
.uv .a-inside { background: linear-gradient(160deg, var(--z-900) 0%, var(--z-800) 55%, hsl(145 45% 15%) 100%); color: #fff; }
.uv .a-inside::before { content: ''; position: absolute; right: -12%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, hsl(142 75% 50% / .22), transparent 65%); pointer-events: none; }
.uv .a-inside__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.2rem; align-items: center; padding-block: clamp(2.6rem, 5.5vw, 5rem); }
.uv .a-inside h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); margin-top: .55rem; }
.uv .a-inside p { margin-top: .8rem; max-width: 56ch; color: hsl(0 0% 100% / .84); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.uv .a-inside p strong { color: #fff; }
.uv .a-urovne { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.uv .a-urovne li { padding: .4rem .8rem; border-radius: 999px; border: 1px solid hsl(0 0% 100% / .22); background: hsl(0 0% 100% / .06); font-size: .88rem; white-space: nowrap; }
.uv .a-urovne b { font-family: var(--fd); font-weight: 800; color: var(--z-300); }
.uv .a-inside__cta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
.uv .a-inside__plus { display: block; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid hsl(0 0% 100% / .16); color: hsl(0 0% 100% / .84); text-decoration: none; font-size: .95rem; line-height: 1.5; max-width: 56ch; }
.uv .a-inside__plus strong { color: var(--z-300); }
.uv .a-inside__plus:hover { color: #fff; }
.uv .a-inside__tel { display: flex; justify-content: center; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); padding-block: .8rem; }
.uv .a-tel { width: min(43%, 230px); aspect-ratio: 640 / 1290; border-radius: clamp(18px, 3vw, 28px); border: 5px solid hsl(150 25% 22%); overflow: hidden; background: #000;
  box-shadow: 0 26px 54px -22px rgba(0, 0, 0, .7); }
.uv .a-tel img { width: 100%; height: 100%; object-fit: cover; object-position: top; background: #fff; }
.uv .a-tel:nth-child(1) { transform: rotate(-3deg) translateY(10px); }
.uv .a-tel:nth-child(2) { transform: rotate(3deg) translateY(-10px); }
@media (max-width: 480px) { .uv .a-inside__cta .b { flex: 1 1 100%; } }
@media (min-width: 900px) { .uv .a-inside__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 4vw, 4rem); } }

/* ---------- 4. Příběh — časová osa jako trať ---------- */
.uv .a-pribeh { background: var(--sand); }
.uv .a-osa { list-style: none; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 2rem; max-width: 46rem; }
.uv .a-osa::before { content: ''; position: absolute; left: calc(1.65rem - 2px); top: .5rem; bottom: .5rem; width: 4px; border-radius: 4px;
  background: repeating-linear-gradient(180deg, var(--z-600) 0 14px, transparent 14px 22px); }
.uv .a-osa__bod { position: relative; padding-left: 4rem; min-height: 4.8rem; }
.uv .a-osa__bod::after { content: ''; display: block; clear: both; }
.uv .a-osa__rok { position: absolute; left: 0; top: 0; z-index: 1; width: 3.3rem; height: 2rem; display: grid; place-items: center; border-radius: 999px;
  background: var(--z-700); color: #fff; font-family: var(--fd); font-weight: 800; font-size: .84rem; box-shadow: 0 0 0 4px var(--sand); }
.uv .a-osa__bod:last-child .a-osa__rok { background: var(--zlata); color: var(--z-950); }
.uv .a-osa__obr { float: right; width: 4.7rem; aspect-ratio: 1 / 1; margin: 0 0 .35rem .7rem; border-radius: 14px; overflow: hidden; background: var(--z-800); }
.uv .a-osa__obr img { width: 100%; height: 100%; object-fit: cover; }
.uv .a-osa__obr--cislo { display: grid; place-items: center; text-align: center; color: #fff; background: linear-gradient(140deg, var(--z-800), var(--z-600)); padding: .3rem; }
.uv .a-osa__obr--cislo b { display: block; font-family: var(--fd); font-weight: 900; font-size: clamp(.92rem, 1.5vw, 1.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.uv .a-osa__obr--cislo small { display: block; margin-top: .25rem; font-size: clamp(.56rem, .8vw, .78rem); line-height: 1.15; color: var(--z-200); }
.uv .a-osa__txt h3 { font-size: 1.06rem; line-height: 1.2; padding-top: .3rem; }
.uv .a-osa__txt p { margin-top: .3rem; font-size: .93rem; line-height: 1.5; color: hsl(150 10% 30%); }
@media (min-width: 1100px) {
  .uv .a-osa { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 1rem; max-width: none; }
  .uv .a-osa::before { display: none; }
  .uv .a-osa__bod { padding-left: 0; min-height: 0; display: flex; flex-direction: column; }
  .uv .a-osa__bod::before { content: ''; position: absolute; top: calc(1rem - 2px); left: -.5rem; right: -.5rem; height: 4px;
    background: repeating-linear-gradient(90deg, var(--z-600) 0 14px, transparent 14px 22px); }
  .uv .a-osa__bod:first-child::before { left: 0; }
  .uv .a-osa__bod:last-child::before { right: 0; }
  .uv .a-osa__bod::after { display: none; }
  .uv .a-osa__rok { position: relative; order: 1; align-self: flex-start; }
  .uv .a-osa__obr { order: 2; float: none; width: 100%; margin: 1rem 0 0; border-radius: 16px; }
  .uv .a-osa__txt { order: 3; margin-top: .8rem; }
  .uv .a-osa__txt h3 { padding-top: 0; }
  .uv .a-osa__txt p { font-size: .88rem; }
}
.uv .a-znacky { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid hsl(40 15% 84%); }
.uv .a-znacky > span { font-family: var(--fd); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); flex: 1 1 100%; }
.uv .a-znacky i { display: grid; place-items: center; height: 54px; padding: .45rem .9rem; border-radius: 12px; background: #fff; border: 1px solid hsl(40 15% 88%); }
.uv .a-znacky img { height: 34px; width: auto; max-width: 110px; object-fit: contain; }
@media (min-width: 700px) { .uv .a-znacky > span { flex: 0 0 auto; margin-right: .4rem; } }

/* ---------- Citát ---------- */
.uv .a-citat { background: linear-gradient(135deg, var(--z-700) 0%, var(--z-600) 60%, var(--z-500) 100%); color: #fff; }
.uv .a-citat__draha { position: absolute; right: -14%; top: 50%; width: min(90%, 980px); transform: translateY(-50%); opacity: .16; pointer-events: none; }
.uv .a-citat__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; align-items: center; padding-block: clamp(2.6rem, 5.5vw, 4.8rem); }
.uv .a-citat__foto { width: clamp(96px, 16vw, 190px); aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; border: 4px solid hsl(0 0% 100% / .5); flex: none; }
.uv .a-citat__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.uv .a-citat__velky { font-family: var(--fd); font-weight: 900; font-size: clamp(1.9rem, 5.4vw, 4.2rem); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.uv .a-citat__maly { margin-top: .9rem; font-size: clamp(1.02rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 50ch; color: hsl(0 0% 100% / .9); }
.uv .a-citat__kdo { margin-top: .8rem; font-family: var(--fd); font-weight: 800; font-size: .9rem; letter-spacing: .04em; color: var(--z-200); }
.uv .a-citat__akce { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
@media (max-width: 440px) { .uv .a-citat__akce .b { flex: 1 1 100%; } }
@media (min-width: 820px) { .uv .a-citat__in { grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); } }

/* ---------- Nabídka: šest dlaždic a panely s kroky (převzato z návrhu B) ---------- */
.uv .a-roz { background: #fff; scroll-margin-top: 4.5rem; }
.uv .a-roz .bb-dl { margin-top: 1.4rem; }
.uv-js .uv .bb-panely.bb-nic { margin-top: 0; }
.uv-js .uv .bb-panely.bb-nic::before { display: none; }
.uv .bb-dl { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.uv .bb-dl__t { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 104px; padding: 10px 11px;
  border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; color: #fff; background: var(--z-800);
  font-family: var(--fd); font-weight: 800; font-size: clamp(.8rem, 3.5vw, .95rem); line-height: 1.18; overflow-wrap: anywhere;
  transition: transform .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
.uv .bb-dl__t img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.uv .bb-dl__t::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, hsl(150 45% 7% / .1) 0%, hsl(150 45% 7% / .88) 100%); transition: background .2s ease; }
.uv .bb-dl__t:hover img { transform: scale(1.06); }
.uv .bb-dl__t[aria-expanded="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--z-500); }
.uv .bb-dl__t[aria-expanded="true"]::before { background: linear-gradient(180deg, hsl(145 75% 24% / .3) 0%, hsl(148 80% 13% / .94) 100%); }
.uv .bb-dl__c { position: absolute; top: 8px; left: 9px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: hsl(0 0% 100% / .93); color: var(--z-700); font-size: .78rem; font-weight: 900; }
.uv .bb-dl__e { position: absolute; top: 5px; right: 9px; font-size: 1.15rem; }
.uv .bb-dl__t[aria-expanded="true"] .bb-dl__c { background: var(--z-400); color: var(--z-950); }
@media (min-width: 600px) { .uv .bb-dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .uv .bb-dl__t { height: 132px; padding: 14px; font-size: 1.02rem; } .uv .bb-dl__e { font-size: 1.4rem; top: 8px; right: 12px; } }
@media (min-width: 1100px) { .uv .bb-dl { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 22px; } .uv .bb-dl__t { height: 156px; } }

/* Panely s kroky. Bez skriptu jsou vidět všechny pod sebou; se skriptem jen vybraný. */
.uv .bb-panely { position: relative; margin-top: 16px; }
.uv .bb-pn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px;
  box-shadow: 0 22px 48px -30px hsl(150 40% 15% / .5); scroll-margin-top: calc(var(--nv-h) + 12px); }
.uv .bb-pn + .bb-pn { margin-top: 14px; }
.uv-js .uv .bb-pn { display: none; margin-top: 0; }
.uv-js .uv .bb-pn.bb-on { display: grid; }
.uv .bb-pn > * { min-width: 0; }
/* David 5. 12. 2026: široký pruh fotky nahoře v panelu uřezával hlavy („některé slide moc nesedí") — pod 1100 px je fotka malý čtverec vedle nadpisu */
.uv .bb-pn__f { position: absolute; top: 14px; left: 14px; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--z-100); box-shadow: 0 0 0 3px var(--z-100); }
.uv .bb-pn__f img { width: 100%; height: 100%; object-fit: cover; object-position: var(--op-m, 50% 50%); }
.uv .bb-pn__h { min-height: 64px; padding-left: 78px; display: flex; flex-direction: column; justify-content: center; }
.uv .bb-pn__h h3 { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); }
.uv .bb-pn__h p { color: var(--mut); margin-top: .25rem; font-size: .95rem; }
.uv .bb-hl { margin-top: 12px; padding: 14px; border: 2px solid var(--z-500); border-radius: 18px; background: linear-gradient(160deg, #fff 30%, var(--z-100) 100%); }
.uv .bb-hl__st { display: inline-block; padding: .26rem .65rem; border-radius: 999px; background: var(--z-600); color: #fff; font-family: var(--fd); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.uv .bb-hl h3 { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); margin-top: .55rem; }
.uv .bb-hl h3 small { display: block; margin-top: .2rem; font-family: var(--fb); font-weight: 600; font-size: .86rem; letter-spacing: 0; color: var(--z-600); }
.uv .bb-hl p { font-size: .95rem; color: var(--mut); margin-top: .35rem; }
.uv .bb-ch { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: .7rem; }
.uv .bb-ch li { padding: .28rem .62rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.uv .bb-hl__d { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1rem; margin-top: .9rem; }
.uv .bb-hl__d .b { flex: 1 1 auto; }
.uv .bb-cena { font-family: var(--fd); font-weight: 900; font-size: 1.5rem; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.uv .bb-cena small { display: block; margin-top: .22rem; font-family: var(--fb); font-weight: 500; font-size: .78rem; color: var(--mut); white-space: normal; }
.uv .bb-d h3 { font-family: var(--fd); font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-bottom: .55rem; }
.uv .bb-kr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .8rem; align-items: center; min-height: 58px; padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.uv .bb-kr + .bb-kr { margin-top: 8px; }
.uv .bb-kr:hover { border-color: var(--z-500); background: var(--z-100); }
.uv .bb-kr__n { font-family: var(--fd); font-weight: 800; font-size: .96rem; line-height: 1.25; }
.uv .bb-kr__p { grid-column: 1; font-size: .84rem; line-height: 1.35; color: var(--mut); }
.uv .bb-kr__c { grid-column: 2; grid-row: 1 / span 2; max-width: 7.4rem; text-align: right; font-family: var(--fd); font-weight: 800; font-size: .9rem; line-height: 1.25; color: var(--z-600); }
.uv .bb-kr__c small { display: block; font-family: var(--fb); font-weight: 500; font-size: .74rem; color: var(--mut); }
.uv .bb-kr--plno { background: hsl(40 30% 97%); border-style: dashed; }
.uv .bb-kr--plno .bb-kr__c { color: var(--mut); }
.uv .bb-stitek { display: inline-block; margin-left: .35rem; padding: .08rem .45rem; border-radius: 999px; background: hsl(35 90% 88%); color: hsl(28 80% 26%); font-family: var(--fb); font-weight: 700; font-size: .68rem; vertical-align: middle; white-space: nowrap; }
@media (min-width: 700px) {
  .uv .bb-pn { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; padding: 18px; }
  .uv .bb-pn__f { top: 18px; left: 18px; width: 78px; height: 78px; border-radius: 18px; }
  .uv .bb-pn__h { min-height: 78px; padding-left: 94px; }
}
@media (min-width: 1100px) {
  .uv .bb-pn { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr) minmax(0, 1fr); gap: 24px; padding: 22px; align-items: stretch; }
  .uv .bb-pn__f { position: static; width: auto; height: auto; min-height: 310px; border-radius: 16px; box-shadow: none; }
  .uv .bb-pn__f img { object-position: var(--op-d, 50% 50%); }
  .uv .bb-pn__h { min-height: 0; padding-left: 0; display: block; }
  .uv .bb-pn__s { display: flex; flex-direction: column; }
  .uv .bb-hl { flex: 1; display: flex; flex-direction: column; }
  .uv .bb-hl__d { margin-top: auto; padding-top: .9rem; }
  .uv .bb-hl__d .b { flex: 0 0 auto; }
  .uv-js .uv .bb-panely::before { content: ''; position: absolute; z-index: 2; top: -9px; left: var(--bb-x, 8%); width: 18px; height: 18px; background: #fff;
    border-left: 1.5px solid var(--line); border-top: 1.5px solid var(--line); transform: translateX(-50%) rotate(45deg); transition: left .25s ease; }
}
.uv .bb-dalsi { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 14px; font-size: .9rem; color: var(--mut); }
.uv .bb-dalsi a { display: inline-block; padding: .35rem 0; color: var(--z-600); font-weight: 700; }

/* ---------- 6. Reference ---------- */
.uv .a-ref { background: var(--z-100); }
.uv .a-ref__hlava { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.uv .a-ref__znamka { display: inline-flex; align-items: baseline; gap: .5rem; text-decoration: none; font-family: var(--fd); font-weight: 800; min-height: 44px; }
.uv .a-ref__znamka strong { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--z-600); line-height: 1; }
.uv .a-ref__znamka span { text-decoration: underline; color: var(--mut); font-size: .95rem; }
.uv .a-ref__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.6rem; }
.uv .a-ref__k { position: relative; background: #fff; border-radius: 20px; padding: 1.5rem 1.3rem 1.2rem; border: 1px solid hsl(145 20% 86%); }
.uv .a-ref__k::before { content: '“'; position: absolute; left: 1.15rem; top: .55rem; font-family: var(--fd); font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--z-300); }
.uv .a-ref__k p { position: relative; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.5; font-weight: 500; padding-top: 1.7rem; }
.uv .a-ref__k footer { margin-top: .9rem; font-family: var(--fd); font-weight: 800; font-size: .92rem; }
.uv .a-ref__k footer span { display: block; font-family: var(--fb); font-weight: 500; font-size: .84rem; color: var(--mut); }
@media (min-width: 900px) { .uv .a-ref__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; } }

/* ---------- 7. Závody ---------- */
.uv .a-zav { background: var(--z-950); color: #fff; }
.uv .a-zav__bg { position: absolute; inset: 0; }
.uv .a-zav__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.uv .a-zav__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(152 45% 6% / .78) 0%, hsl(152 45% 6% / .86) 60%, hsl(152 45% 6% / .95) 100%); }
.uv .a-zav__in { position: relative; }
.uv .a-zav .a-pod { color: hsl(0 0% 100% / .82); }
.uv .a-zav__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; margin-top: 1.8rem; }
.uv .a-zav__k { display: flex; flex-direction: column; min-width: 0; padding: 1.3rem 1.2rem; border-radius: 22px; background: hsl(150 30% 10% / .72); border: 1px solid hsl(0 0% 100% / .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.uv .a-zav__datum { font-family: var(--fd); font-weight: 900; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; color: var(--z-300); font-variant-numeric: tabular-nums; }
.uv .a-zav__datum small { display: block; margin-bottom: .35rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: hsl(0 0% 100% / .7); }
.uv .a-zav__k h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-top: .8rem; }
.uv .a-zav__k p { margin-top: .5rem; color: hsl(0 0% 100% / .82); font-size: .98rem; }
.uv .a-zav__cisla { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1rem; }
.uv .a-zav__cisla b { display: block; font-family: var(--fd); font-weight: 900; font-size: clamp(1.05rem, 2vw, 1.6rem); line-height: 1.1; white-space: nowrap; }
.uv .a-zav__cisla span { display: block; font-size: .78rem; line-height: 1.3; color: hsl(0 0% 100% / .7); margin-top: .15rem; }
.uv .a-zav__k .b { margin-top: auto; align-self: flex-start; }
.uv .a-mezera { flex: 1; min-height: 1.2rem; }
@media (max-width: 440px) { .uv .a-zav__k .b { align-self: stretch; } }
@media (min-width: 860px) { .uv .a-zav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; } .uv .a-zav__k { padding: 1.8rem; } }

/* ---------- 8. Čtení a poslech ---------- */
.uv .a-cti { background: #fff; }
.uv .a-cti__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-top: 1.8rem; }
.uv .a-cl { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .9rem; align-items: center; min-width: 0; padding: .7rem; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.uv .a-cl:hover { border-color: var(--z-600); transform: translateY(-2px); }
.uv .a-cl__obr { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--z-800); }
.uv .a-cl__obr img { width: 100%; height: 100%; object-fit: cover; }
.uv .a-cl__obr--typo { display: grid; place-items: center; text-align: center; color: #fff; padding: .4rem; background: linear-gradient(140deg, var(--z-800), var(--z-600)); }
.uv .a-cl__obr--typo.a-cl__obr--b { background: linear-gradient(140deg, hsl(150 35% 8%), hsl(150 60% 20%)); }
.uv .a-cl__obr--typo b { display: block; font-family: var(--fd); font-weight: 900; font-size: clamp(1.25rem, 3vw, 2.6rem); line-height: 1; white-space: nowrap; }
.uv .a-cl__obr--typo small { display: block; margin-top: .3rem; font-family: var(--fd); font-weight: 700; font-size: clamp(.6rem, 1vw, .82rem); letter-spacing: .08em; text-transform: uppercase; color: var(--z-200); }
.uv .a-cl__txt { min-width: 0; }
.uv .a-cl__txt small { display: block; font-family: var(--fd); font-weight: 800; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--z-600); }
.uv .a-cl__txt h3 { font-size: 1rem; line-height: 1.25; margin-top: .25rem; font-weight: 800; letter-spacing: -.01em; }
.uv .a-cl--podcast { background: var(--z-900); border-color: var(--z-900); color: #fff; }
.uv .a-cl--podcast .a-cl__txt small { color: var(--z-300); }
.uv .a-cl--podcast p { margin-top: .3rem; font-size: .86rem; line-height: 1.4; color: hsl(0 0% 100% / .75); }
.uv .a-cti__vse { margin-top: 1.3rem; }
@media (min-width: 700px) {
  .uv .a-cti__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .uv .a-cl { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; align-items: start; align-content: start; }
  .uv .a-cl__obr { aspect-ratio: 16 / 10; border-radius: 0; }
  .uv .a-cl__txt { padding: 1rem 1.1rem 1.2rem; }
  .uv .a-cl__txt h3 { font-size: 1.1rem; }
}
@media (min-width: 1100px) { .uv .a-cti__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 9. Newsletter ---------- */
.uv .a-nl { background: linear-gradient(135deg, var(--z-600), var(--z-700)); color: #fff; }
.uv .a-nl__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.3rem; align-items: center; padding-block: clamp(2.4rem, 5vw, 4rem); }
.uv .a-nl h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
.uv .a-nl p { margin-top: .6rem; color: hsl(0 0% 100% / .86); max-width: 52ch; }
.uv .a-nl form { display: flex; flex-wrap: wrap; gap: .6rem; }
.uv .a-nl input { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: .8rem 1rem; border: 2px solid transparent; border-radius: 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.uv .a-nl .b { flex: 0 0 auto; min-height: 52px; }
.uv .a-nl__pozn { margin-top: .6rem; font-size: .82rem; color: hsl(0 0% 100% / .7); }
@media (max-width: 440px) { .uv .a-nl .b { flex: 1 1 100%; } }
@media (min-width: 900px) { .uv .a-nl__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }

/* ---------- Pás „Nejbližší" (hned pod úvodem) ---------- */
.uv .a-nej { background: #fff; border-bottom: 1px solid var(--line); }
.uv .a-nej__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; padding-block: .85rem .7rem; }
.uv .a-nej__hl { display: flex; align-items: baseline; gap: .6rem; min-width: 0; }
.uv .a-nej__hl h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--z-600); font-weight: 800; }
.uv .a-nej__hl span { font-size: .84rem; color: var(--mut); }
.uv .a-nej__pas { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) .5rem; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.uv .a-nej__pas::-webkit-scrollbar { display: none; }
.uv .a-nej__k { flex: 0 0 220px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; gap: .15rem; min-height: 88px; padding: .6rem .8rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--z-100); text-decoration: none; transition: border-color .18s ease; }
.uv .a-nej__k:hover { border-color: var(--z-500); }
.uv .a-nej__k b { font-family: var(--fd); font-weight: 900; font-size: 1.25rem; line-height: 1.05; letter-spacing: -.02em; color: var(--z-700); font-variant-numeric: tabular-nums; white-space: nowrap; }
.uv .a-nej__k strong { font-family: var(--fd); font-weight: 800; font-size: .92rem; line-height: 1.2; }
.uv .a-nej__k small { font-size: .78rem; line-height: 1.3; color: var(--mut); }
.uv .a-nej__k small i { font-style: normal; font-weight: 700; color: var(--z-600); }
.uv .a-nej__vse { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; min-height: 88px; padding: 0 .9rem; border-radius: 14px; border: 1.5px dashed var(--line);
  font-family: var(--fd); font-weight: 800; font-size: .9rem; color: var(--z-600); text-decoration: none; white-space: nowrap; }
.uv .a-nej__vse:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .uv .a-nej__in { grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 2.5vw, 2.6rem); align-items: center; padding-block: 1.1rem; }
  .uv .a-nej__hl { flex-direction: column; gap: .15rem; }
  .uv .a-nej__pas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; }
  .uv .a-nej__k { min-height: 0; padding: .2rem clamp(.7rem, 1.4vw, 1.4rem); border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; }
  .uv .a-nej__k:hover b { color: var(--z-500); }
  .uv .a-nej__k b { font-size: clamp(1.2rem, 1.7vw, 1.7rem); }
  .uv .a-nej__vse { min-height: 44px; padding: 0 0 0 clamp(.7rem, 1.4vw, 1.4rem); border: 0; border-left: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Příběh: na telefonu čtyři zastávky + tlačítko na zbytek (bez skriptu je vidět všech sedm) ---------- */
.uv .a-osa__tl { display: none; margin-top: 1.1rem; }
@media (max-width: 699px) {
  .uv-js .uv .a-osa__tl { display: inline-flex; }
  .uv-js .uv .a-osa:not(.a-osa--cela) .a-osa__bod--vic { display: none; }
}

/* ---------- Kratší stránka na telefonu ---------- */
@media (max-width: 699px) {
  .uv .a-kurz__foto { aspect-ratio: auto; height: 170px; }
  .uv .a-inside__in { gap: 1.5rem; }
  .uv .a-tel { width: min(38%, 150px); }
  .uv .a-citat__in { gap: 1rem; padding-block: 2rem 2.2rem; }
  .uv .a-citat__foto { width: 76px; }
  .uv .a-zav__grid { gap: .8rem; margin-top: 1.3rem; }
  .uv .a-zav__k { padding: 1rem 1rem 1.1rem; }
  .uv .a-zav__k h3 { margin-top: .55rem; }
  .uv .a-zav__k p { margin-top: .35rem; font-size: .92rem; }
  .uv .a-zav__cisla { grid-template-columns: minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.5fr); gap: .5rem; margin-top: .8rem; }
  .uv .a-zav__cisla b { font-size: 1rem; }
  .uv .a-mezera { min-height: .9rem; }
}
@media (max-width: 899px) {       /* reference jako řada, kterou posouváš do strany */
  .uv .a-ref__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut); }
  .uv .a-ref__k { scroll-snap-align: start; }
}

/* ===================== Pohyb a modernější vzhled (David 5. 12. 2026: „grafiku načítání webu nebo prostě více moderní") =====================
   Pohyb se zapíná až třídou a-pohyb na <html> (dává ji skript v hlavičce). Bez skriptu, s ?start=0
   a při „omezit pohyb" v systému je stránka rovnou v konečném stavu. Hýbe se jen transform, opacity a stroke-dashoffset. */
.uv, .a-st, .a-trat { --a-r: 20px; --a-stin: 0 22px 48px -30px hsl(150 40% 15% / .5); --a-ease: cubic-bezier(.2, .7, .2, 1); }
.uv .a-kurz__foto, .uv .a-ref__k, .uv .a-cl, .uv .a-zav__k, .uv .bb-pn { border-radius: var(--a-r); }
.uv .a-kurz__foto, .uv .bb-pn { box-shadow: var(--a-stin); }

/* --- úvod: záře za Davidem, čísla na „skle", větší nadpis --- */
.uv .a-uvod__foto { overflow: hidden; }
.uv .a-uvod__zare { position: absolute; right: -18%; top: -8%; width: min(92vw, 780px); aspect-ratio: 1 / 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, hsl(142 85% 52% / .32), hsl(142 85% 52% / .1) 55%, transparent 72%); mix-blend-mode: screen; opacity: .75; }
.uv .a-cisla { margin-top: 1.4rem; padding: 1rem 1.05rem 1.05rem; border: 1px solid hsl(0 0% 100% / .16); border-radius: var(--a-r);
  background: hsl(150 35% 9% / .55); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / .08), 0 24px 50px -30px rgba(0, 0, 0, .8); }
@media (min-width: 900px) {
  .uv .a-uvod h1 { font-size: clamp(2.6rem, 4.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; }
  .uv .a-cisla { margin-top: 0; margin-bottom: 1.6rem; padding: 1.15rem 1.6rem 1.25rem; }
}

/* --- nástup úvodu: slova nadpisu vyjedou zdola, pak věta, tlačítka a čísla --- */
.uv .a-sl { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .03em .12em; margin: -.16em -.03em -.12em; }
.uv .a-sl__v { display: inline-block; }
.uv-pohyb:not(.uv-jede) .uv .a-n { opacity: 0; }
.uv-pohyb:not(.uv-jede) .uv .a-sl__v { transform: translateY(118%); }
.uv-pohyb:not(.uv-jede) .uv .a-uvod__foto img { transform: scale(1.06); }
.uv-pohyb.uv-jede .uv .a-n { animation: a-nahoru .7s var(--a-ease) both; animation-delay: calc(var(--n, 0) * 80ms); }
.uv-pohyb.uv-jede .uv .a-sl__v { animation: a-slovo .85s var(--a-ease) both; animation-delay: calc(var(--n, 0) * 80ms); }
.uv-pohyb.uv-jede .uv .a-uvod__foto img { animation: a-usad 2.2s cubic-bezier(.2, .6, .2, 1) both; }
.uv-pohyb .uv .a-uvod__zare { animation: a-zare 16s ease-in-out infinite alternate; }
@keyframes a-nahoru { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes a-slovo { from { transform: translateY(118%); } to { transform: none; } }
@keyframes a-usad { from { transform: scale(1.06); } to { transform: none; } }
@keyframes a-zare { from { transform: translate3d(-4%, 3%, 0) scale(1); } to { transform: translate3d(5%, -4%, 0) scale(1.14); } }

/* --- úvodní „start": dráha se dokreslí, stopky doběhnou na 2:23:03, plocha se odhrne nahoru ---
   Plochu vkládá skript hned za <body>. Pojistka v CSS: po 2,5 s zmizí sama, i kdyby skript selhal. */
.a-st { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; color: #fff;
  background: radial-gradient(circle at 50% 42%, hsl(148 60% 14%) 0%, var(--z-950) 62%); will-change: transform;
  animation: a-st-pojistka .01s linear 2.5s forwards; }
.a-st--ven { transform: translateY(-101%); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.a-st__in { position: relative; width: min(78vw, 380px); aspect-ratio: 320 / 180; display: grid; place-items: center; }
.a-st__draha { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.a-st__draha rect { fill: none; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: a-st-kresli .8s cubic-bezier(.5, 0, .2, 1) forwards; }
.a-st__draha .a-st__d1 { stroke: var(--z-300); stroke-width: 3; }
.a-st__draha .a-st__d2 { stroke: hsl(0 0% 100% / .22); stroke-width: 2; animation-delay: .08s; }
.a-st__cas { position: relative; font-family: var(--fd); font-weight: 900; font-size: clamp(2.1rem, 11vw, 3.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.a-st__jm { position: absolute; left: 0; right: 0; top: calc(100% + 1rem); text-align: center; font-family: var(--fd); font-weight: 900; font-size: .88rem; letter-spacing: .28em; }
.a-st__jm span { color: var(--z-300); }
@keyframes a-st-kresli { to { stroke-dashoffset: 0; } }
@keyframes a-st-pojistka { to { opacity: 0; visibility: hidden; } }

/* --- ukazatel rolování („trať" nahoře přes šířku okna) --- */
.a-trat { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.a-trat i { display: block; height: 100%; background: linear-gradient(90deg, var(--z-400), var(--z-300)); transform: scaleX(0); transform-origin: 0 50%; }

/* --- sekce při rolování jemně vyjedou (jednou); skript po dojetí značku data-vj zase sundá --- */
.uv-pohyb .uv [data-vj] { transition: opacity .6s ease, transform .7s var(--a-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.uv-pohyb .uv [data-vj]:not(.a-vid) { opacity: 0; transform: translateY(18px); }
/* čára časové osy se dokreslí: na telefonu shora dolů, na počítači úsek po úseku zleva doprava */
.uv-pohyb .uv .a-osa::before { transform: scaleY(0); transform-origin: 50% 0; transition: transform 1.1s var(--a-ease); }
.uv-pohyb .uv .a-osa--jede::before { transform: none; }
@media (min-width: 1100px) {
  .uv-pohyb .uv .a-osa__bod::before { transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s ease-out; transition-delay: calc(var(--i, 0) * 110ms); }
  .uv-pohyb .uv .a-osa--jede .a-osa__bod::before { transform: none; }
}

/* --- dotek a myš --- */
.uv .sipka::after { display: inline-block; transition: transform .2s ease; }
.uv .sipka:hover::after { transform: translateX(4px); }
.uv .a-nej__k { transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.uv .bb-dl__t:active { transform: scale(.97); }
@media (hover: hover) {
  .uv .bb-dl__t:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px hsl(150 40% 12% / .7); }
  .uv .bb-dl__t[aria-expanded="true"]:hover { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--z-500), 0 16px 30px -18px hsl(150 40% 12% / .7); }
  .uv .bb-dl__t:hover:active { transform: scale(.97); }
  .uv .a-cl:hover { box-shadow: var(--a-stin); }
  .uv .a-nej__k:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -20px hsl(150 40% 15% / .6); }
}
@media (min-width: 1000px) { .uv .a-nej__k:hover { transform: none; box-shadow: none; } }

/* --- odkaz na přehrání úvodní animace (jen v náhledu) --- */
.uv .a-znovu { background: var(--z-900); text-align: center; padding: .2rem var(--gut) 0; }
.uv .a-znovu a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; color: hsl(0 0% 100% / .55); text-decoration: none; }
.uv .a-znovu a:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .uv .a-cl, .uv .a-nej__k, .uv .bb-dl__t, .uv .bb-dl__t img, .uv .bb-kr, .uv-js .uv .bb-panely::before, .uv .sipka::after { transition: none; }
  .uv .a-cl:hover, .uv .bb-dl__t:hover img, .uv .bb-dl__t:hover, .uv .bb-dl__t:active, .uv .a-nej__k:hover, .uv .sipka:hover::after { transform: none; }
  .uv .a-tel { transform: none !important; }
  .a-st, .a-trat { display: none !important; }
  .uv .a-uvod__zare { animation: none !important; }
}

/* === Dlaždice a panely, 2. kolo (David 5. 12. 2026: „ještě upravit — dlaždice a panely") ===
   Dlaždice bez čísel a emoji (čísla tvrdila pořadí, které není), jedno „+" vpravo nahoře.
   Panel = jeden „slide": od 700 px fotka s nadpisem vlevo, první krok vedle, další kroky pod tím / vpravo. */
.uv .bb-dl__plus { position: absolute; top: 9px; right: 9px; width: 28px; height: 28px; border-radius: 50%; background: hsl(0 0% 100% / .2); border: 1px solid hsl(0 0% 100% / .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s ease, background .2s ease; }
.uv .bb-dl__plus::before, .uv .bb-dl__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #fff; }
.uv .bb-dl__plus::after { transform: rotate(90deg); }
.uv .bb-dl__t[aria-expanded="true"] .bb-dl__plus { background: var(--z-400); border-color: var(--z-400); transform: rotate(45deg); }
.uv .bb-dl__t[aria-expanded="true"] .bb-dl__plus::before, .uv .bb-dl__t[aria-expanded="true"] .bb-dl__plus::after { background: var(--z-950); }
.uv .bb-dl__t { height: 112px; }
.uv .bb-dl:has(.bb-dl__t[aria-expanded="true"]) .bb-dl__t:not([aria-expanded="true"]) img { filter: saturate(.55) brightness(.9); }
.uv .bb-dl__t img { transition: transform .5s ease, filter .25s ease; }
.uv .bb-pn__fh { display: none; }
.uv-js .uv .bb-pn.bb-on { animation: bbSlide .34s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bbSlide { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (min-width: 600px) { .uv .bb-dl__t { height: 150px; } .uv .bb-dl__plus { top: 12px; right: 12px; } }
@media (min-width: 700px) {
  .uv .bb-pn { grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "f s" "d d"; align-items: stretch; }
  .uv .bb-pn__f { grid-area: f; position: relative; top: auto; left: auto; width: auto; height: auto; min-height: 300px; border-radius: 18px; box-shadow: none; }
  .uv .bb-pn__f img { position: absolute; inset: 0; object-position: var(--op-d, 50% 50%); }
  .uv .bb-pn__f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, hsl(150 45% 7% / 0) 30%, hsl(150 45% 7% / .55) 62%, hsl(150 45% 7% / .93) 100%); }
  .uv .bb-pn__fh { display: block; position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 15px; color: #fff; }
  .uv .bb-pn__fh b { display: block; font-family: var(--fd); font-weight: 900; font-size: 1.4rem; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
  .uv .bb-pn__fh span { display: block; margin-top: .35rem; font-size: .88rem; line-height: 1.4; color: hsl(0 0% 100% / .86); }
  .uv .bb-pn__s { grid-area: s; display: flex; flex-direction: column; }
  .uv .bb-pn__h { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .uv .bb-hl { margin-top: 0; flex: 1; display: flex; flex-direction: column; }
  .uv .bb-hl__d { margin-top: auto; padding-top: .9rem; }
  .uv .bb-d { grid-area: d; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; align-content: start; }
  .uv .bb-d h3 { grid-column: 1 / -1; margin-bottom: .1rem; }
  .uv .bb-d .bb-kr + .bb-kr { margin-top: 0; }
}
@media (min-width: 1100px) {
  .uv .bb-dl__t { height: 190px; font-size: 1.08rem; }
  .uv .bb-pn { grid-template-columns: 300px minmax(0, 1.12fr) minmax(0, 1fr); grid-template-areas: "f s d"; }
  .uv .bb-pn__f { min-height: 340px; }
  .uv .bb-pn__fh b { font-size: 1.6rem; }
  .uv .bb-pn__fh span { font-size: .94rem; }
  .uv .bb-d { display: block; }
  .uv .bb-d h3 { margin-bottom: .55rem; }
  .uv .bb-d .bb-kr + .bb-kr { margin-top: 8px; }
}
.uv .bb-hl__st { align-self: flex-start; }
@media (prefers-reduced-motion: reduce) { .uv-js .uv .bb-pn.bb-on { animation: none; } .uv .bb-dl__plus, .uv .bb-dl__t img { transition: none; } }

/* ===================== Jen ostrá stránka (v klikacím náhledu to není) ===================== */

/* --- Menu přes fotku: nahoře průhledné, po sjetí bílé jako jinde na webu.
       Třídu uv-nahore dává na <html> skript v hlavičce a hlídá ji /uvod.js (sjetí, otevřené mobilní menu). --- */
.navbar { transition: background .25s ease, border-color .25s ease; }
html.uv-nahore .navbar { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.uv-nahore .navbar-brand, html.uv-nahore .navbar-toggle { color: #fff; }
html.uv-nahore .navbar-brand .brand-accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: hsl(142 72% 62%); }
html.uv-nahore .navbar-links > .navbar-link:not(.navbar-link--inside),
html.uv-nahore .navbar-links > .navbar-dropdown > .navbar-link { color: hsl(0 0% 100% / .9); }
html.uv-nahore .navbar-links > .navbar-link--darky { color: hsl(142 72% 72%) !important; }
html.uv-nahore .navbar-links > .navbar-link:not(.navbar-link--inside):hover,
html.uv-nahore .navbar-links > .navbar-dropdown > .navbar-link:hover { background: hsl(0 0% 100% / .14); color: #fff; }

/* --- Úvod: malý odkaz na appku pod tlačítky (Inside musí být vidět hned v úvodu) --- */
.uv .a-uvod__inside { margin-top: .85rem; font-size: .95rem; }
.uv .a-uvod__inside a { display: inline-flex; align-items: center; min-height: 44px; color: hsl(0 0% 100% / .88); font-weight: 600; text-decoration: underline; text-decoration-color: hsl(142 72% 62% / .7); text-underline-offset: 4px; }
.uv .a-uvod__inside a:hover { color: #fff; }
/* proužek s odpočtem Valencie sedí pod menu — na počítači mu úvod uhne */
@media (min-width: 900px) { body.vlc-mini-on .uv .a-uvod__telo { padding-top: calc(var(--nv-h) + 2rem + 32px); } }

/* --- Pás Nejbližší: na počítači tolik sloupců, kolik je akcí (nejvýš čtyři) --- */
@media (min-width: 1000px) { .uv .a-nej__pas { grid-template-columns: repeat(var(--nej, 4), minmax(0, 1fr)) auto; } }

/* --- Kalendář akcí (starší blok ze styles.css) dostal jen nadpis v novém písmu --- */
.uv.uv-nadpis { text-align: center; margin-bottom: .4rem; }
.uv.uv-nadpis .a-h2 { margin-top: .4rem; }

/* --- Reference, závody, čtení --- */
.uv .a-ref__k footer .a-ref__jm { font-family: var(--fd); font-weight: 800; font-size: .92rem; color: inherit; }
.uv .a-zav__datum span { display: block; }
.uv .a-cti__clanky { display: contents; }

/* --- Newsletter: souhlas a hláška formuláře na zeleném podkladu --- */
.uv .a-nl input[type="checkbox"] { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: .1rem 0 0; border-radius: 4px; accent-color: hsl(150 80% 18%); }
.uv .a-nl__souhlas { flex: 1 1 100%; display: flex; align-items: flex-start; gap: .55rem; font-size: .84rem; line-height: 1.45; color: hsl(0 0% 100% / .86); cursor: pointer; }
.uv .a-nl__souhlas a { color: #fff; text-decoration: underline; }
.uv .a-nl__stav { flex: 1 1 100%; font-size: .92rem; font-weight: 600; }
.uv .a-nl__stav:not(:empty) { padding: .6rem .8rem; border-radius: 12px; background: #fff; }
/* proužek Valencie na telefonu: fotka začne o jeho výšku níž, ať nezakryje hlavu */
@media (max-width: 899px) { body.vlc-mini-on .uv .a-uvod { padding-top: 32px; } }
/* dlouhý název akce v pásu Nejbližší nejvýš na dva řádky */
.uv .a-nej__k strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
