/* DJD – Dnes jsem se dozvěděl · styly webu */
:root {
  --bg: #000000;
  --band: #000000;
  --surface: #0c0c0c;
  --surface-2: #0c0c0c;
  --raised: #1c1c1c;
  --line: #222222;
  --line-2: #333333;
  --text: #ffffff;
  --text-2: #cccccc;
  --muted: #888888;
  --accent: #00e5ff;
  --accent-ink: #00141a;
  --dot-3: #888888;
  --radius: 20px;
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }

/* Typografie */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.025em; margin: 0; }
.h-xl { font-size: clamp(44px, 5.6vw, 66px); line-height: 1.06; }
.h-lg { font-size: clamp(36px, 5vw, 60px); }
.h-md { font-size: clamp(30px, 3.8vw, 46px); }
.title-card { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* Prvky značky DJD */
.label-line { display: inline-flex; align-items: center; gap: 14px; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.label-line::before, .label-line::after { content: ""; width: 36px; height: 2px; background: var(--accent); }
.hl { background: var(--accent); color: #000; padding: 0 .1em; border-radius: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.card { overflow: hidden; }
.card:not(.card-lg)::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:not(.card-lg):hover::before { transform: scaleX(1); }

/* Hlavička */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 35px; height: auto; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 500; font-size: 15px; }
.site-nav a { color: var(--text); text-decoration: none; padding: 8px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer; min-height: 48px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #7df3ff; color: var(--accent-ink); }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; background: var(--raised); color: var(--text); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; }
.icon-btn:hover { background: var(--accent); color: var(--accent-ink); }
.icon-btn.lg { width: 48px; height: 48px; flex-basis: 48px; }
.icon-btn svg, .btn svg { width: 20px; height: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Úvod */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 44px; align-items: center; padding-top: 40px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero-copy p { margin: 0; font-size: 19px; color: #bbbbbb; max-width: 520px; }
.latest { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.latest-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.num-big { font-family: var(--display); font-weight: 900; line-height: 1; color: var(--accent); }
.triad { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.triad svg { flex: 0 0 120px; }

/* Fakty 1-2-3 */
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.triad .facts { flex: 1 1 240px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.facts .dot { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: -1px; }
.facts li:nth-child(1) .dot { background: var(--accent); color: var(--accent-ink); }
.facts li:nth-child(2) .dot { background: var(--text); color: var(--bg); }
.facts li:nth-child(3) .dot { background: var(--dot-3); color: #000; }

/* Sekce */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 64px; padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head a { font-weight: 700; }

/* Karty epizod */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #333333; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-head .title-card { font-size: 20px; }
.card-head a { color: var(--text); text-decoration: none; }
.card-head a:hover { color: var(--accent); }
.badge { background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; line-height: 1.2; }
.badge-lg { font-size: 18px; padding: 9px 18px; }
.meta { font-size: 14px; color: var(--muted); }
.card .facts { gap: 8px; font-size: 14px; }
.card .facts .dot { flex-basis: 22px; height: 22px; font-size: 12px; }
.card-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.card-actions .btn { margin-left: auto; min-height: 44px; padding: 10px 14px; font-size: 14px; }
.card-lg { padding: 28px; border-radius: 22px; gap: 18px; background: var(--surface); }
.card-lg .card-head .title-card { font-size: 25px; }
.card-lg .facts { font-size: 15px; gap: 12px; }
.card-lg .facts .dot { flex-basis: 26px; height: 26px; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #1a1a1a; color: #bbbbbb; text-decoration: none; }
a.chip:hover { background: var(--accent); color: var(--accent-ink); }

/* Témata */
.topics { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { font: inherit; font-size: 14px; font-weight: 600; color: var(--text); border: 1px solid var(--line-2); background: transparent; padding: 9px 14px; border-radius: 999px; text-decoration: none; cursor: pointer; min-height: 40px; }
.pill:hover { border-color: var(--text); color: var(--text); }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pill .n { opacity: .7; font-weight: 500; margin-left: 4px; }

/* Videa */
.feature-video { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; color: var(--text); text-decoration: none; margin-bottom: 20px; }
.feature-video:hover { color: var(--text); border-color: #333333; }
.thumb { position: relative; border-radius: 14px; overflow: hidden; background: #1a1a1d; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.wide { aspect-ratio: 16 / 9; }
.thumb.tall { aspect-ratio: 9 / 16; }
.thumb .play { position: absolute; inset: auto auto 12px 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; }
.shorts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); }
.short { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.short:hover { color: var(--accent); }
.videos-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.video { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.video:hover { color: var(--accent); }
.soon { border: 1px dashed var(--line-2); border-radius: 22px; padding: 32px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: center; }
.soon p { margin: 0; color: #bbbbbb; font-size: 17px; }

/* Archiv */
.toolbar { display: flex; flex-direction: column; gap: 24px; padding-top: 36px; padding-bottom: 12px; }
.toolbar-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); flex: 0 1 380px; }
.field input { background: var(--surface); border: 1px solid var(--line-2); color: var(--text); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; }
.field input:focus { border-color: var(--accent); outline: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); }
.tab { font: inherit; font-size: 16px; font-weight: 700; padding: 12px 16px; background: transparent; cursor: pointer; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.series-info { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; }
.series-info[hidden] { display: none; }
.series-info h2 { margin: 0; font-size: 34px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 80px; }
.pager-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.pg { font: inherit; min-width: 44px; height: 44px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; background: var(--surface); color: var(--text); border: 1px solid #2a2a2a; }
.pg[aria-current="page"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pg:disabled { opacity: .35; cursor: default; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 16px; }
.js .pager[hidden], .empty[hidden], .card[hidden] { display: none; }

/* Detail epizody */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.ep-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 40px; align-items: start; padding-top: 28px; padding-bottom: 56px; }
.ep-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ep-num { font-size: clamp(64px, 9vw, 104px); }
.ep-title { font-size: clamp(36px, 5.2vw, 64px); }
.ep-intro { font-size: 18px; color: #cccccc; margin: 0; max-width: 640px; white-space: pre-line; }
.player { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.player iframe { width: 100%; border: 0; border-radius: 12px; min-height: 152px; }
.player .lbl { font-size: 13px; color: var(--muted); }
.ff { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.ff-item { display: flex; flex-direction: column; gap: 12px; }
.ff-item .dot { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.ff-item:nth-child(1) .dot { background: var(--accent); color: var(--accent-ink); }
.ff-item:nth-child(2) .dot { background: var(--text); color: var(--bg); }
.ff-item:nth-child(3) .dot { background: var(--dot-3); color: #000; }
.ff-item p { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.35; }
.block { padding-top: 56px; }
.block > h2 { margin-bottom: 24px; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 12px; font-size: 13px; color: var(--muted); }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.sources a { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--text); text-decoration: none; font-weight: 600; height: 100%; }
.sources a:hover { border-color: var(--accent); color: var(--text); }
.sources .host { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.sources .arrow { color: var(--accent); flex: 0 0 auto; }
.quiz { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.quiz details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0; }
.quiz summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; display: flex; gap: 12px; align-items: flex-start; }
.quiz summary::-webkit-details-marker { display: none; }
.quiz summary .q-n { color: var(--accent); font-weight: 900; min-width: 22px; }
.quiz summary .chev { margin-left: auto; color: var(--muted); transition: transform .2s; flex: 0 0 auto; }
.quiz details[open] summary .chev { transform: rotate(180deg); }
.quiz .answer { padding: 0 18px 16px 52px; color: var(--accent); font-weight: 700; }
.quiz-tools { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.ep-nav { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); padding-top: 64px; padding-bottom: 80px; }
.ep-nav a { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.ep-nav a:hover { border-color: var(--accent); color: var(--text); }
.ep-nav .next { text-align: right; }
.ep-nav .lbl { font-size: 13px; color: var(--muted); }
.ep-nav strong { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 19px; line-height: 1.1; letter-spacing: -0.01em; }
.yt-embed { aspect-ratio: 16 / 9; width: 100%; border: 0; border-radius: 16px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 14px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 80vh; border-radius: 10px; }
.lightbox p { margin: 0; color: var(--text-2); text-align: center; }
.lightbox button { position: absolute; top: 16px; right: 16px; }

/* Patička */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 52px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0; max-width: 560px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; font-weight: 600; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-nav { gap: 4px 18px; }
  .hero { padding-bottom: 64px; gap: 32px; }
  .latest, .ff, .player { padding: 20px; }
  .card-lg { padding: 22px; }
  .triad svg { flex-basis: 96px; width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Karta značky: tyrkysová linka nahoře */
.latest, .card-lg, .ff { border-top: 2px solid var(--accent); }
