/* Verejne stranky katalogu pro vyhledavace (app/routes/verejne.py). Rychle: zadne externi fonty ani skripty. */
:root {
  --bg: #F6F6FB; --surface: #FFFFFF; --surface-2: #EEEFF6; --text: #11142A; --muted: #62677D; --line: #E3E5EE;
  --brand: #4044EE; --brand-ink: #FFFFFF; --navy: #0A132D; --accent: #4044EE; --i-sun: none; --i-moon: grid; --ts-x: 0px; --ts-sun: #FFFFFF; --ts-moon: var(--muted);
  --ease: cubic-bezier(.16, 1, .3, 1); color-scheme: only light;   /* „only“: vynucene ztmaveni prohlizece by svetly vzhled prebarvilo */
}
/* Vzhled: vychozi je svetly (15. 11. 2026), i na zarizeni s tmavym rezimem. Tmavy = volba prepinacem v hlavicce
   (web/twa-verejne.js nastavi data-theme na <html>; stejna volba jako v aplikaci - ep_theme). */
:root[data-theme="dark"] { --bg: #0B1020; --surface: #141A2E; --surface-2: #1C2440; --text: #EEF0F8; --muted: #A2A8BE; --line: #252D48;
  --brand: #6B6EF5; --accent: #A5A8FF; --i-sun: grid; --i-moon: none; --ts-x: 36px; --ts-sun: var(--muted); --ts-moon: #FFFFFF; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
/* odkazy v textu (odstavce, drobečková navigace, patička) nejen barvou – přístupnost */
p a, li a, .crumbs a, .foot a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
p a.btn, li a.btn, .card a, a.card, .eps a, .chips a, .chip { text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2 { font-family: Ubuntu, Roboto, system-ui, sans-serif; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(26px, 4vw, 38px); margin: 4px 0 8px; }
h2 { font-size: 21px; margin: 0 0 14px; }
.muted { color: var(--muted); }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px max(16px, calc((100% - 1180px) / 2));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
/* dotyková zařízení: rozmazání pod přilepenou lištou se při posouvání přepočítává každý snímek (jako v aplikaci) */
@media (pointer: coarse) { .top { background: var(--bg); backdrop-filter: none; } }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 22px/1 Ubuntu, Roboto, sans-serif; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 14px; flex: 1; font-weight: 500; overflow-x: auto; white-space: nowrap; }
.nav a { color: var(--text); position: relative; padding: 6px 0; }
.nav a:hover { text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--accent); }
/* hledani v hlavicce -> /hledat?q= (vyhledavani v aplikaci); na mobilu jen lupa */
.hledat { display: flex; align-items: center; flex: 0 1 300px; min-width: 0; height: 40px; padding-left: 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.hledat:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.hledat input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; outline: none; }
.hledat input::placeholder { color: var(--muted); opacity: 1; }
.ico-btn { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px;
  background: none; color: var(--text); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.ico-btn:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.ico-btn:active { transform: scale(.9); }
.ico-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* přepínač světlý / tmavý: jezdec pod sluncem (světlý) nebo měsícem (tmavý); na mobilu jen jedna ikona (místo v hlavičce) */
.tema-sw { position: relative; display: inline-flex; align-items: center; flex: none; width: 76px; height: 40px; padding: 3px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s; }
.tema-sw:hover { border-color: var(--accent); }
.tema-sw::before { content: ""; position: absolute; left: 3px; top: 3px; width: 34px; height: 32px; border-radius: 999px; background: var(--brand);
  transform: translateX(var(--ts-x)); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.tema-sw span { position: relative; display: grid; place-items: center; width: 34px; height: 32px; transition: color .25s; }
.tema-sw .sun { color: var(--ts-sun); }
.tema-sw .moon { color: var(--ts-moon); }
.tema-sw svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.hledat input:focus-visible { outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font-weight: 600; border: 1px solid var(--brand); white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 48px; display: grid; gap: 30px; }
.crumbs { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.lead { font-size: 17px; color: var(--muted); max-width: 70ch; margin: 0; }
section > p, .detail p { max-width: 75ch; }

.detail { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.detail .cover img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(10, 19, 45, .25); }
.kicker { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.by { margin: 0 0 14px; font-size: 18px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 18px; }
.price { margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; }
.price b { font: 700 30px/1.1 Ubuntu, Roboto, system-ui, sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.price { flex-wrap: wrap; }
.price .rrp { flex-basis: 100%; color: var(--muted); font-size: 14px; }
.price + .cta { margin-top: 10px; }
.perks { list-style: none; margin: -6px 0 18px; padding: 0; display: grid; gap: 4px; font-size: 14.5px; color: var(--muted); }
.perks li { padding-left: 24px; position: relative; }
.twa .price, .twa .perks, .twa .cta .buy, .twa .card .p, .twa .kupit-lista { display: none !important; }   /* aplikace z Google Play: bez cen a nákupu */
.perks li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 11px; height: 6px; border-left: 2px solid #1E9E61; border-bottom: 2px solid #1E9E61; transform: rotate(-45deg); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.why ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
/* UX 21. 11. 2026: počítač – údaje o titulu jako karta vpravo vedle nákupu (dřív úzký sloupec a prázdná pravá polovina) */
@media (min-width: 1000px) {
  .detail > .info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); grid-template-rows: repeat(10, auto) 1fr;
    column-gap: 36px; align-items: start; }
  .detail > .info > * { grid-column: 1; }
  .detail > .info > .facts { grid-column: 2; grid-row: 1 / -1; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface); font-size: 14.5px; }
}
/* dárek u nákupu jako tlačítka (dřív drobný odkaz) */
.darek-odkaz.buy { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.darek-odkaz.buy .btn { min-height: 44px; font-weight: 500; color: var(--text); border-color: var(--line); }
.darek-odkaz.buy .btn:hover { border-color: var(--brand); }
.twa .nav-darek { display: none !important; }
/* 404: hledání */
.hledat-404 { display: flex; gap: 8px; max-width: 560px; margin: 4px 0 14px; }
.hledat-404 input { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-size: 16px; }
.hledat-404 input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.card { display: grid; gap: 4px; color: var(--text); align-content: start; }
.card:hover { text-decoration: none; }
.card:hover .t { color: var(--brand); }
.card img, .card .ph { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.card.pod img, .card.audio img, .card.audio .ph { aspect-ratio: 1; }
.card .ph { display: grid; place-items: center; padding: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.card .t { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .a, .card .m { font-size: 13px; color: var(--muted); line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .p { font-size: 14px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px; }
.chip span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--brand); text-decoration: none; }

.eps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.eps li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.eps li a { font-weight: 500; }
.eps .muted { font-size: 14px; }

.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 18px; font-size: 15px; }

.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 24px 16px 36px; display: grid; gap: 8px; font-size: 14px; }
.foot p { margin: 0; }

@media (max-width: 720px) {
  .top { flex-wrap: wrap; gap: 2px 6px; padding-block: 8px 4px; }
  .nav a { padding: 4px 0 6px; }
  .top .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .hledat { flex: none; margin-left: auto; height: auto; padding: 0; border: 0; background: none; }
  .hledat input { display: none; }
  .hledat:focus-within { box-shadow: none; }
  .ico-btn { width: 36px; height: 36px; }
  .tema-sw { width: 36px; height: 36px; padding: 0; border: 0; background: none; justify-content: center; }
  .tema-sw::before { display: none; }
  .tema-sw .sun { display: var(--i-sun); color: var(--text); }
  .tema-sw .moon { display: var(--i-moon); color: var(--text); }
  .nav { order: 3; flex: 1 1 100%; gap: 16px; font-size: 15px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }   /* naznačí, že jde posunout */
  .nav::-webkit-scrollbar { display: none; }
  /* mobil: obalka vedle nazvu a autora (cena a Koupit jsou o ~110 px vys), zbytek pres celou sirku */
  .detail { grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; }
  .detail > :not(.cover) { display: contents; }
  .detail > .cover { grid-row: 1 / span 3; align-self: start; margin-bottom: 12px; }
  .detail > :not(.cover) > * { grid-column: 1 / -1; }
  .detail > :not(.cover) > :is(.kicker, h1, .by) { grid-column: 2; }
  .detail > :not(.cover) > h1 { font-size: 24px; }
  .detail > :not(.cover) > .by { align-self: start; }
  .cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
}

/* tematicke vybery (/tema/<slug>, /temata) */
.tema-hero { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 16px; margin: 4px 0 18px; background: var(--surface-2); }
.lead p { margin: 0 0 10px; }
@media (min-width: 700px) { .tema-hero { aspect-ratio: 3 / 1; max-height: 380px; } }
@media (min-width: 1000px) { .tema-hero ~ .lead { column-count: 2; column-gap: 40px; max-width: none; } .tema-hero ~ .lead p { break-inside: avoid-column; } }
.tema-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 18px; }
.tema-card { display: grid; gap: 6px; color: var(--text); }
.tema-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.tema-card .t { font-weight: 700; font-size: 17px; }
.tema-card .a { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* informacni stranky (jak nakupovat, caste dotazy, kontakt) */
.info-page { max-width: 760px; }
.info-page h2 { font-size: 20px; margin: 22px 0 6px; }
.steps { padding-left: 22px; display: grid; gap: 10px; }
.steps b { display: block; }

/* clanky (/clanky/<slug>) */
.article .article-body { font-size: 17px; line-height: 1.65; }
.article .article-body h2 { font-size: 22px; margin: 26px 0 8px; }
.article .article-body img { max-width: min(100%, 280px); height: auto; border-radius: 8px; margin: 4px 0 14px 24px; float: right; }
.article .article-body table { border-collapse: collapse; display: block; overflow-x: auto; }
.article .article-body td, .article .article-body th { border: 1px solid var(--line, #ddd); padding: 6px 10px; }
@media (max-width: 560px) { .article .article-body img { float: none; display: block; margin: 8px auto 14px; } }
/* pruvodci (app/routes/pruvodce.py): srovnavaci tabulky a rozcestnik */
.tbl { overflow-x: auto; margin: 10px 0 14px; }
.cmp { border-collapse: collapse; width: 100%; font-size: 15px; }
.cmp th, .cmp td { border-bottom: 1px solid var(--line, rgba(127,127,127,.25)); padding: 8px 10px; text-align: left; vertical-align: top; }
.cmp thead th { font-weight: 600; }
.cmp tbody th { font-weight: 600; white-space: nowrap; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.guide h3 { font-size: 17px; margin: 16px 0 4px; }

/* knihy pro posluchace podcastu: hned pod prehravacem epizody / podcastu, jedna rada */
.ep-books { margin-top: 8px; }
.ep-books > p.muted { margin: -4px 0 14px; font-size: 15px; }

/* mobil: spodni lista „Koupit“ na strance titulu (web/kupit-lista.js) */
.kupit-lista { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(10, 19, 45, .12); }
.kupit-lista[hidden] { display: none; }
.kupit-lista .kl-t { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.kupit-lista b { font: 700 19px/1.2 Ubuntu, Roboto, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.kupit-lista small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kupit-lista .btn { min-height: 44px; padding: 0 26px; }
.kupit-on body { padding-bottom: 72px; }
@media (min-width: 721px) { .kupit-lista { display: none !important; } .kupit-on body { padding-bottom: 0; } }

/* strankovani jako tlacitka, vetsi dotykove cile v paticce */
.pager a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 500; transition: border-color .2s, transform .2s var(--ease); }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager.nums { flex-wrap: wrap; gap: 6px; }
.pager.nums a { min-width: 40px; padding: 0 12px; justify-content: center; }
.pager.nums .now { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px;
  border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 600; }
@media (pointer: coarse) { .foot nav { line-height: 2.2; } }
@media (max-width: 380px) { .top { padding-inline: 12px; } .brand { font-size: 19px; gap: 7px; } .brand img { width: 30px; height: 30px; } }
@media (max-width: 345px) { .brand span { display: none; } }

/* ================================================================ pohyb
   Jen transform / opacity (GPU), zadny skript a zadna knihovna. Obsah je v HTML porad cely; kde prohlizec posuvne animace
   neumi nebo si uzivatel pohyb vypnul, je stranka staticka. Prvni obrazovka se neschovava (LCP beze zmeny). */
.btn { transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s; }
.btn:active { transform: scale(.97); }
.chip { transition: border-color .2s, background-color .2s, transform .2s var(--ease); }
.card img, .card .ph, .tema-card img { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card .t, .tema-card .t { transition: color .2s; }
.detail .cover img { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 38%, transparent); }
  .btn.ghost:hover { box-shadow: none; background: color-mix(in srgb, var(--brand) 9%, transparent); }
  .card:hover img, .card:hover .ph, .tema-card:hover img { transform: translateY(-5px) scale(1.02); box-shadow: 0 16px 32px rgba(10, 19, 45, .24); }
  .tema-card:hover .t { color: var(--accent); }
  .chip:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
  .pager a:hover { transform: translateY(-1px); }
  .detail .cover:hover img { transform: scale(1.025) rotate(-.6deg); box-shadow: 0 26px 54px rgba(10, 19, 45, .32); }
  .eps li { transition: background-color .2s, padding-left .25s var(--ease); }
  .eps li:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); padding-left: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* plynuly prechod mezi strankami katalogu (hlavicka stoji, obsah se prolne) */
  @view-transition { navigation: auto; }
  .top { view-transition-name: ep-top; }
  ::view-transition-old(root) { animation: .16s ease both vtOut; }
  ::view-transition-new(root) { animation: .28s var(--ease) both vtIn; }
  /* prepnuti vzhledu: novy vzhled se rozbali kruhem od tlacitka */
  .tema-vt::view-transition-old(root) { animation: none; }
  .tema-vt::view-transition-new(root) { animation: .55s var(--ease) both temaIn; }
  .tema-vt::view-transition-old(ep-top), .tema-vt::view-transition-new(ep-top) { animation: none; }
  .tema-vt .top { view-transition-name: none; }
  /* nacteni stranky: nadpis a uvod jemne najedou (jen posun - text je videt od prvniho snimku) */
  .wrap > h1, .wrap > .lead, .detail > .cover, .detail > :not(.cover) { animation: najezd .6s var(--ease) backwards; }
  .wrap > .lead, .detail > :not(.cover) { animation-delay: .06s; }
  /* posouvani: karty, nadpisy sekci a radky epizod se odhaluji, jak prijizdeji do obrazovky; hlavicka dostane stin */
  @supports (animation-timeline: view()) {
    .grid > .card, .tema-grid > .tema-card { animation: odhal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .wrap > section > h2, .eps li, .faq > h3, .guide-list > li { animation: odhalX linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .top { animation: topStin linear both; animation-timeline: scroll(root); animation-range: 0 90px; }
  }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes temaIn { from { clip-path: circle(0 at var(--tx, 100%) var(--ty, 0)); } to { clip-path: circle(150vmax at var(--tx, 100%) var(--ty, 0)); } }
@keyframes najezd { from { transform: translateY(14px); } }
@keyframes otoc { from { transform: rotate(-90deg) scale(.6); } }
@keyframes odhal { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes odhalX { from { opacity: 0; transform: translateX(-14px); } }
@keyframes topStin { to { box-shadow: 0 6px 24px rgba(10, 19, 45, .14); } }

/* ---- káva GentleFox: blok se slevovým kódem na /knihy-o/kave (data-kava-* obsluhuje web/kava-lista.js) */
.kafe-box { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; margin: 4px 0 8px; padding: 16px 18px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.kafe-box img { width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.kafe-t b { display: block; font-size: 16px; margin-bottom: 2px; }
.kafe-t span { color: var(--muted); font-size: 14px; }
.kafe-k { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.kafe-code { font-size: 20px; letter-spacing: .06em; padding: 6px 14px; border-radius: 10px; background: var(--surface-2); user-select: all; }
@media (max-width: 520px) { .kafe-box { padding: 14px; gap: 8px 12px; } .kafe-k .btn { flex: 1 1 auto; } }
.kafe-compact { margin: 22px 0; }
.kafe-compact .kafe-t span a { white-space: nowrap; }
/* Darkovy poukaz a karta daru (app/routes/darky.py) */
.poukaz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.poukaz-v { display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.poukaz-v b { font-size: 26px; letter-spacing: -.01em; }
.poukaz-v span { color: var(--brand); font-weight: 600; font-size: 14px; }
.poukaz-v:hover { border-color: var(--brand); text-decoration: none; }
.twa .poukaz-grid, .twa .twa-skryt { display: none !important; }
.darek-nove { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); margin: 0 0 16px; }
.darek-karta { max-width: 560px; margin: 8px 0 18px; padding: 28px 24px; border-radius: 20px; background: var(--surface);
  border: 2px dashed var(--brand); text-align: center; }
.darek-pro { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.darek-msg { font-style: italic; color: var(--muted); margin: 0 0 14px; white-space: normal; }
.darek-co { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 10px 0 16px; }
.darek-titul { flex-direction: row; gap: 14px; text-align: left; justify-content: center; }
.darek-titul img { width: 96px; height: auto; border-radius: 8px; }
.darek-hodnota { font-size: 44px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.darek-kod-l { margin: 0; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.darek-kod { font-size: 26px; font-weight: 700; letter-spacing: .12em; margin: 4px 0 10px; user-select: all; font-variant-numeric: tabular-nums; }
.darek-hint { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
@media print { .top, .foot, .crumbs, .no-print, .kupit-lista { display: none !important; } body { background: #fff; }
  .darek-karta { border-color: #4044EE; margin: 40px auto; } }
.darek-odkaz { margin: -6px 0 16px; font-size: 14.5px; }
.twa .darek-odkaz { display: none !important; }
.recenze .hv { color: #E8A317; letter-spacing: 1px; }
.rec-sum { font-size: 17px; margin: 0 0 12px; }
.rec { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--line); background: var(--surface); border-radius: 0 10px 10px 0; }
.rec p { margin: 0 0 6px; }
.rec footer { font-size: 13.5px; color: var(--muted); }
.rec .ok { color: #1E8E3E; font-weight: 600; }
.rec-note { font-size: 13.5px; }

/* most epizoda -> kniha (21. 11. 2026): kniha, ktera v epizode zazni, hned pod tlacitkem Prehrat */
.ep-feat { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 14px; border: 1px solid var(--line, #ddd);
  border-radius: 12px; max-width: 520px; }
.ep-feat-c img { display: block; width: 72px; height: auto; border-radius: 6px; }
.ep-feat .kicker { margin: 0 0 2px; }
.ep-feat-t { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.3; }
.ep-feat-t a { color: inherit; }
.ep-feat .muted { margin: 2px 0 8px; font-size: 14px; }
.ep-feat p:last-child { margin: 0; }
