/* ==========================================================================
   Mamon.cz – styly
   Barvy jsou tokeny v :root, tmavý režim přes prefers-color-scheme nebo data-theme.
   ========================================================================== */

:root {
  /* teplý „papír“ + tmavě zelená „bankovková“ barva (proměnné --navy* zůstaly kvůli šablonám) + zlato */
  --bg: #f5f1e8;
  --surface: #fffdf9;
  --surface-2: #f4efe4;
  --text: #17211c;
  --text-2: #36443d;
  --muted: #6b766f;
  --line: #e5dece;
  --navy: #0c2a20;
  --navy-2: #113a2c;
  --navy-3: #1a5340;
  --gold: #a8740f;
  --gold-2: #ebb945;
  --gold-soft: #fbf0d6;
  --link: #176a4b;
  --up: #059669;
  --up-bg: #e7f8f1;
  --down: #dc2626;
  --down-bg: #fdecec;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(40, 30, 10, .05), 0 6px 22px rgba(40, 30, 10, .06);
  --shadow-l: 0 24px 60px rgba(4, 20, 14, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* nadpisy patkovým písmem (jen systémová písma – žádné cizí fonty); čísla vždy bezpatkově (Georgia má „skákající“ číslice) */
  --font-head: "Iowan Old Style", Charter, "Bitstream Charter", Georgia, Cambria, "Times New Roman", serif;
  --font-num: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1310; --surface: #121c18; --surface-2: #18251f; --text: #e8eee9; --text-2: #c3cfc7; --muted: #8b9a92;
    --line: #26362f; --gold: #ebb945; --gold-soft: #2a2312; --link: #7fd3ac; --up: #34d399; --up-bg: #0d2b22; --down: #f87171; --down-bg: #331717;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1310; --surface: #121c18; --surface-2: #18251f; --text: #e8eee9; --text-2: #c3cfc7; --muted: #8b9a92;
  --line: #26362f; --gold: #ebb945; --gold-soft: #2a2312; --link: #7fd3ac; --up: #34d399; --up-bg: #0d2b22; --down: #f87171; --down-bg: #331717;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35); 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: 16px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.012em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.up { color: var(--up); }
.down { color: var(--down); }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

/* ---------- Překlad / originál ---------- */
.lang-cs .t-orig, .lang-orig .t-cs { display: none; }
.lang-cs .when-orig, .lang-orig .when-cs { display: none; }

/* ---------- Hlavička ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.header-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none !important; flex-shrink: 0; }
.logo-text { font: 700 1.6rem/1 var(--font-head); letter-spacing: -.02em; color: #fff; }
.logo-tld { color: var(--gold-2); font: 700 .58em var(--font); letter-spacing: 0; margin-left: 1px; }
.main-nav { display: flex; gap: 4px; margin-right: auto; }
.main-nav a { color: #d3ddd6; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; text-decoration: none; transition: .15s; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav a.active { color: var(--navy); background: var(--gold-2); }
.site-header { border-bottom: 1px solid rgba(235, 185, 69, .18); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 0 4px 0 14px; border: 1px solid rgba(255, 255, 255, .1); }
.search input { background: none; border: 0; color: #fff; width: 150px; padding: 8px 0; font: inherit; font-size: .93rem; outline: none; }
.search input::placeholder { color: #9fb2a8; }
.search button { background: none; border: 0; color: #cbd5e8; padding: 6px 8px; cursor: pointer; display: flex; }
.tool { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); color: #e2e8f5; height: 38px; min-width: 38px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font: 700 .8rem var(--font); padding: 0 10px; }
.tool:hover { background: rgba(255, 255, 255, .16); }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.burger { display: none; flex-direction: column; gap: 4px; padding: 0; width: 38px; }
.burger span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Pruh kurzů ---------- */
.ticker { background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; font-size: .85rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.tick { display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 20px; color: #d3ddd6; font-variant-numeric: tabular-nums; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .07); text-decoration: none !important; }
.tick b { color: #fff; font-weight: 700; }
.tick em { font-style: normal; font-weight: 700; font-size: .8rem; }
.tick em.up { color: #34d399; } .tick em.down { color: #f87171; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; } }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(100deg, rgba(6, 24, 18, .96) 0%, rgba(8, 30, 23, .86) 38%, rgba(8, 30, 23, .45) 70%, rgba(8, 30, 23, .6) 100%), url(/assets/img/hero-praha.jpg) center 40% / cover no-repeat, var(--navy); color: #fff; padding: 52px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, rgba(6, 24, 18, .55)); pointer-events: none; }
.hero-credit { position: absolute; right: 12px; bottom: 6px; z-index: 2; font-size: .68rem; color: rgba(255, 255, 255, .55) !important; }
@media (max-width: 960px) { .hero { background: linear-gradient(rgba(6, 24, 18, .8), rgba(6, 24, 18, .94) 60%), url(/assets/img/hero-praha-m.jpg) center top / cover no-repeat, var(--navy); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero h1 .gold { font-style: italic; font-weight: 600; background: linear-gradient(90deg, #ffe7a3, #ebb945 55%, #d9962a); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold-2); }
.hero-lead { color: #d5e0d9; font-size: 1.1rem; max-width: 33em; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #a9bcb2; font-size: .9rem; margin: 6px 0 22px; }
.hero-meta b { color: #fff; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 6px; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hq { background: rgba(8, 30, 23, .55); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 14px; color: #fff; text-decoration: none !important; transition: .15s; display: block; backdrop-filter: blur(6px); }
.hq:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.hq-name { font-size: .78rem; color: #a9bcb2; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.hq-price { font: 800 1.25rem/1.3 var(--font-num); font-variant-numeric: tabular-nums; }
.hq-row { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.hq .spark { width: 72px; height: 26px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge.up { background: var(--up-bg); color: var(--up); }
.badge.down { background: var(--down-bg); color: var(--down); }
.hero .badge.up { background: rgba(52, 211, 153, .15); color: #34d399; }
.hero .badge.down { background: rgba(248, 113, 113, .15); color: #fca5a5; }

/* ---------- Karta s grafem ---------- */
.chart-card { background: var(--surface); color: var(--text); border-radius: 20px; box-shadow: var(--shadow-l); padding: 18px 18px 12px; }
.hero .chart-card { border: 1px solid rgba(255, 255, 255, .08); }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.chart-title { font-weight: 700; color: var(--muted); font-size: .9rem; }
.chart-price { font: 800 1.8rem/1.2 var(--font-num); font-variant-numeric: tabular-nums; }
.chart-change { font-weight: 700; font-size: .95rem; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); border-radius: 999px; padding: 6px 12px; font: 600 .84rem var(--font); cursor: pointer; transition: .15s; }
.tab:hover { border-color: var(--gold); }
.tab.active, .tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
:root[data-theme="dark"] .tab.active, :root[data-theme="dark"] .tab[aria-selected="true"] { background: var(--gold-2); color: #111; border-color: var(--gold-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tab.active, :root:not([data-theme="light"]) .tab[aria-selected="true"] { background: var(--gold-2); color: #111; border-color: var(--gold-2); } }
.ranges { display: flex; gap: 2px; background: var(--surface-2); border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.ranges button { border: 0; background: none; color: var(--muted); font: 700 .78rem var(--font); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.ranges button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.chart { position: relative; height: 280px; margin-top: 10px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart .axis-text { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .area { opacity: .18; }
.chart .line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.chart .cross { stroke: var(--muted); stroke-dasharray: 3 3; }
.chart-tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; font-size: .8rem; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -115%); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .1s; z-index: 2; }
.chart-tip b { display: block; font-size: .92rem; }
.chart-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; font-size: .8rem; color: var(--muted); }
.chart-empty { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .9rem; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--text-2); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- Sekce a karty ---------- */
.section { padding: 40px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; padding-top: 14px; background: linear-gradient(var(--gold-2), var(--gold-2)) 0 0 / 64px 4px no-repeat, linear-gradient(var(--text), var(--text)) 0 0 / 100% 1px no-repeat; }
.section-head h2 { margin: 0; }
.section-head h2 a { color: inherit; text-decoration: none; }
.section-head h2 a:hover { color: var(--link); }
.section-head h2 a::after { content: " ›"; color: var(--gold); font-weight: 400; opacity: 0; transition: opacity .15s; }
.section-head h2 a:hover::after { opacity: 1; }
.more { font-weight: 700; font-size: .92rem; white-space: nowrap; }
.more::after { content: " →"; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sticky { position: sticky; top: 120px; }

/* ---------- Zprávy ---------- */
.news-col-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.news-col-head h3 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.flag { font-size: 1.15rem; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { border-top: 1px solid var(--line); }
.news li:first-child { border-top: 0; }
.news-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 14px 0; color: var(--text); }
.news-link { display: block; color: var(--text); text-decoration: none !important; }
.news-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* celá karta klikací */
.news-link:focus-visible { outline: none; }
.news-link:focus-visible::after { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 8px; }
.news-chip { position: relative; z-index: 2; }
.news-chip:hover { background: color-mix(in srgb, var(--c, #888) 26%, transparent); }
.news-item.no-img { grid-template-columns: minmax(0, 1fr); }
.news-item:hover .news-title { color: var(--link); }
.news-title { font-family: var(--font-head); font-weight: 700; line-height: 1.3; font-size: 1.06rem; margin: 3px 0 4px; transition: color .15s; }
.news-perex { color: var(--muted); font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.news-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.news-meta .src { font-weight: 700; color: var(--text-2); }
.news-thumb { width: 96px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c, #888) 14%, transparent); color: var(--c, var(--muted)); white-space: nowrap; text-decoration: none !important; }
.tr-badge { font-size: .68rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.news-lead .news-item { grid-template-columns: minmax(0, 1fr); }
.news-lead .news-thumb { width: 100%; height: 190px; order: -1; }
.news-lead .news-title { font-size: 1.35rem; }
.news-page .news-item { grid-template-columns: minmax(0, 1fr) 150px; }
.news-page .news-thumb { width: 150px; height: 100px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.filter { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; text-decoration: none !important; }
.filter:hover { border-color: var(--gold); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.topic-panel[hidden] { display: none; }
.topic-tabs { margin-bottom: 14px; }

/* ---------- Tabulka kurzů ---------- */
.qtable { width: 100%; border-collapse: collapse; font-size: .94rem; }
.qtable th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 0 10px 8px; border-bottom: 1px solid var(--line); }
.qtable td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.qtable tr:last-child td { border-bottom: 0; }
.qtable tbody tr { transition: background .12s; }
.qtable tbody tr:hover { background: var(--surface-2); }
.qtable .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qtable .name a { color: var(--text); font-weight: 700; }
.qtable .name small { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }
.qtable .spark { width: 100px; height: 30px; }
.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.spark .spark-line { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.spark.up .spark-line { stroke: var(--up); } .spark.down .spark-line { stroke: var(--down); }
.spark .spark-fill { stroke: none; opacity: .12; }
.spark.up .spark-fill { fill: var(--up); } .spark.down .spark-fill { fill: var(--down); }
.hero .spark.up .spark-line { stroke: #34d399; } .hero .spark.down .spark-line { stroke: #f87171; }

/* ---------- Dlaždice kurzů ---------- */
.qtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.qtile { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: var(--text); text-decoration: none !important; display: block; transition: .15s; }
.qtile:hover { border-color: var(--gold); transform: translateY(-1px); }
.qtile small { color: var(--muted); font-weight: 600; font-size: .78rem; display: block; }
.qtile strong { font: 800 1.15rem/1.3 var(--font-num); display: block; font-variant-numeric: tabular-nums; }

/* ---------- Strach a chamtivost ---------- */
.gauge { text-align: center; }
.gauge svg { width: 100%; max-width: 260px; display: block; margin: 0 auto; }
.gauge-value { font: 800 2.4rem/1 var(--font-num); margin-top: -36px; }
.gauge-label { font-weight: 700; color: var(--muted); }

/* ---------- Články ---------- */
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); text-decoration: none !important; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.acard:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(40, 30, 10, .14); }
.acard-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); display: grid; place-items: center; font-size: 3.2rem; position: relative; overflow: hidden; }
.acard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.acard:hover .acard-img img { transform: scale(1.05); }
.acard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.acard-cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.acard h3 { margin: 0; font-size: 1.22rem; line-height: 1.25; }
.acard p { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-meta { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--muted); }
/* velká karta: text přes fotku */
.acard.big { grid-row: span 2; position: relative; min-height: 460px; justify-content: flex-end; background: var(--navy); border-color: transparent; }
.acard.big .acard-img { position: absolute; inset: 0; aspect-ratio: auto; font-size: 5rem; }
.acard.big .acard-body { position: relative; flex: 0 0 auto; padding: 120px 26px 24px; background: linear-gradient(rgba(6, 22, 16, 0), rgba(6, 22, 16, .78) 45%, rgba(6, 22, 16, .94)); color: #fff; }
.acard.big h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; }
.acard.big p { color: #d3ddd6; }
.acard.big .acard-meta { color: #a9bcb2; }
.acard.big .acard-cat { color: var(--gold-2); }
.articles-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }

/* ---------- Detail článku ---------- */
.article-hero { padding: 34px 0 22px; }
.article-hero h1 { max-width: 20em; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.02em; }
.article-kicker { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; text-decoration: none !important; }
.article-hero .perex { font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.32rem); line-height: 1.5; color: var(--text-2); max-width: 40em; }
.article-meta { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; padding-top: 12px; border-top: 1px solid var(--line); max-width: 52em; }
.article-meta b { color: var(--text); }
.article-photo { margin: 0 auto; }
.article-photo img { display: block; width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-photo figcaption, .photo-credit { font-size: .76rem; color: var(--muted); margin-top: 6px; }
.article-photo figcaption a, .photo-credit a { color: inherit; }
.prose > p:first-child::first-letter { font-family: var(--font-head); float: left; font-size: 3.4em; line-height: .9; padding: 4px 8px 0 0; color: var(--gold); font-weight: 700; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; opacity: .6; }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--text-2); }
.prose h2 { margin: 1.8em 0 .6em; color: var(--text); scroll-margin-top: 130px; font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.prose h3 { margin: 1.5em 0 .5em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--surface-2); }
.prose blockquote, .prose .tip { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 12px 12px 0; color: var(--text); }
.prose .warn { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--down); background: var(--down-bg); border-radius: 0 12px 12px 0; color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.toc { font-size: .92rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 6px 0; }
.toc a { color: var(--text-2); }
.calc-cta { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: var(--radius); padding: 20px; margin: 2em 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.calc-cta p { margin: 0; color: #cfdcd4; }
.disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 28px; }

/* ---------- Tlačítka a formuláře ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font: 700 .95rem var(--font); cursor: pointer; text-decoration: none !important; transition: .15s; }
.btn-gold { background: linear-gradient(135deg, #f6d27a, #e0a82e); color: #1f1603; box-shadow: 0 6px 18px rgba(200, 140, 20, .3); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.btn-dark { background: var(--navy); color: #fff; }
input[type=text], input[type=email], input[type=number], input[type=search]:not(.search input), select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 10px 12px; width: 100%; }
input:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }

/* ---------- Kalkulačky ---------- */
.ctiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ctile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--text); text-decoration: none !important; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); transition: .15s; position: relative; overflow: hidden; }
.ctile:hover { border-color: var(--gold); transform: translateY(-2px); }
.ctile-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--navy-3); background: color-mix(in srgb, var(--navy-3) 9%, transparent); border: 1px solid color-mix(in srgb, var(--navy-3) 16%, transparent); transition: .15s; }
.ctile-ico .ico { width: 22px; height: 22px; }
.ctile:hover .ctile-ico { background: var(--navy-3); color: #fff; border-color: var(--navy-3); }
.ctile h3 { margin: 6px 0 0; font-size: 1.02rem; }
.ctile p { margin: 0; color: var(--muted); font-size: .88rem; }
.calc { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc-form { display: grid; gap: 14px; }
.field label { display: flex; justify-content: space-between; font-weight: 650; font-size: .9rem; margin-bottom: 6px; gap: 8px; }
.field label output { color: var(--gold); font-weight: 800; white-space: nowrap; }
.field-row { display: flex; gap: 8px; align-items: center; }
.field-row input[type=number] { max-width: 150px; }
.field-row .unit { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.field small { color: var(--muted); font-size: .8rem; display: block; margin-top: 4px; }
input[type=range] { width: 100%; accent-color: var(--gold); margin: 6px 0 0; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.result { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.result small { color: var(--muted); font-weight: 600; font-size: .8rem; display: block; }
.result strong { font: 800 1.3rem/1.3 var(--font-num); display: block; font-variant-numeric: tabular-nums; }
.result.main { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-color: transparent; }
.result.main small { color: #a9bcb2; }
.result.main strong { color: var(--gold-2); font-size: 1.6rem; }
.calc-table { max-height: 340px; overflow: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; }
.calc-table table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.calc-table th, .calc-table td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-table th { position: sticky; top: 0; background: var(--surface-2); font-size: .78rem; color: var(--muted); }
.calc-table td:first-child, .calc-table th:first-child { text-align: left; }
.calc-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.embed-box textarea { font: 13px/1.5 ui-monospace, Consolas, monospace; min-height: 90px; resize: vertical; }
.scen { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; border-left: 5px solid var(--c); }
.scen-head { display: flex; gap: 8px; align-items: center; }
.scen-head input { font-weight: 700; padding: 6px 8px; }

/* ---------- Srovnání ---------- */
.ptable td.rate { font: 800 1.25rem var(--font-num); color: var(--up); white-space: nowrap; }
.ptable .prov { font-weight: 800; color: var(--text); }
.notice { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); color: var(--text); border-radius: 12px; padding: 10px 14px; font-size: .88rem; }
.ad-mark { font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; margin-left: 4px; }

/* ---------- Newsletter ---------- */
.nl { background: radial-gradient(600px 300px at 100% 0, rgba(235, 185, 69, .25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; border-radius: 22px; padding: 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.nl h2 { color: #fff; }
.nl p { color: #cfdcd4; margin: 0; }
.nl form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl input[type=email] { flex: 1 1 200px; border-radius: 999px; padding: 12px 18px; border: 0; color: #0f172a; background: #fff; }
.nl small { color: #a9bcb2; display: block; margin-top: 8px; font-size: .78rem; flex-basis: 100%; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 16px 0; font-weight: 600; }
.flash.ok { background: var(--up-bg); color: var(--up); }
.flash.err { background: var(--down-bg); color: var(--down); }

/* ---------- Stránkování ---------- */
.pager { display: flex; gap: 6px; justify-content: center; margin: 26px 0 10px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; color: var(--text-2); padding: 0 10px; text-decoration: none !important; }
.pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Hlavička podstránky ---------- */
.page-head { background: radial-gradient(700px 320px at 95% -20%, rgba(235, 185, 69, .2), transparent 65%), linear-gradient(160deg, var(--navy), var(--navy-2) 60%, var(--navy-3)); color: #fff; padding: 34px 0 38px; margin-bottom: 8px; position: relative; overflow: hidden; border-bottom: 3px solid var(--gold-2); }
.page-head::after { content: ""; position: absolute; right: 4%; bottom: -30px; width: 260px; height: 160px; opacity: .14; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 160'%3E%3Cpath d='M0 140 40 120 70 128 110 90 140 100 180 50 210 64 260 10' fill='none' stroke='%23ebb945' stroke-width='5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head p { color: #cfdcd4; margin: 0; max-width: 46em; }
.page-head .crumbs, .page-head .crumbs a { color: #a9bcb2; }

/* ---------- Patička ---------- */
.site-footer { background: var(--navy); border-top: 3px solid var(--gold-2); color: #b9c8bf; margin-top: 56px; padding: 44px 0 20px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 28px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #d3ddd6; }
.site-footer .logo { margin-bottom: 12px; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 28px; padding-top: 18px; font-size: .8rem; color: #8ea197; }

/* ---------- Embed (kalkulačka na cizím webu) ---------- */
body.embed { background: transparent; }
body.embed .embed-wrap { padding: 14px; }
.embed-brand { font-size: .78rem; color: var(--muted); text-align: right; margin-top: 10px; }
.embed-brand a { font-weight: 700; color: var(--gold); }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 10px; }
  .search input { width: 110px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .acard.big { grid-column: span 2; grid-row: auto; }
  .acard.big { min-height: 380px; }
}
/* menu do „hamburgeru“ – od 7 položek se vedle hledání nevejde pod ~1180 px */
@media (max-width: 1180px) {
  .burger { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 8px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 16px 30px rgba(0, 0, 0, .3); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; }
  .header-in { gap: 12px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 960px) {
  .search { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .layout-side, .calc, .nl { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .articles-grid { grid-template-columns: minmax(0, 1fr); }
  .acard.big { grid-column: auto; }
  .hero { padding: 26px 0 36px; }
  .chart { height: 220px; }
  .chart-price { font-size: 1.45rem; }
  .news-item { grid-template-columns: minmax(0, 1fr) 80px; gap: 10px; }
  .news-thumb { width: 80px; height: 60px; }
  .news-page .news-item { grid-template-columns: minmax(0, 1fr) 90px; }
  .news-page .news-thumb { width: 90px; height: 68px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 16px; }
  .nl { padding: 22px; }
  .qtable .hide-sm { display: none; }
  .logo-text { font-size: 1.25rem; }
  .logo img { width: 38px; height: 38px; }
  .section { padding-top: 26px; }
}
@media (max-width: 640px) {
  .hq-row { flex-direction: column; align-items: stretch; }
  .hq .spark { width: 100%; height: 22px; margin-top: 6px; }
  .hq-price { font-size: 1.08rem; }
}
.flag-cz { display: inline-block; width: 20px; height: 14px; border-radius: 2px; background: linear-gradient(to bottom, #fff 50%, #d7141a 50%); position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--line); vertical-align: -2px; }
.flag-cz::before { content: ""; position: absolute; left: 0; top: 0; border-style: solid; border-width: 7px 0 7px 10px; border-color: transparent transparent transparent #11457e; }

/* ---------- Linkové ikony (App\Icons) ---------- */
.ico { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.17em; }
.filter, .tab { display: inline-flex; align-items: center; gap: 7px; }
.filter .ico, .tab .ico { width: 16px; height: 16px; opacity: .7; }
.filter.active .ico, .tab[aria-selected="true"] .ico { opacity: 1; }
.ico-globe { width: 18px; height: 18px; color: var(--navy-3); }
.calc-cta-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--gold-2); flex-shrink: 0; }
.calc-cta-ico .ico { width: 24px; height: 24px; }
.acard-ico { width: 56px; height: 56px; color: rgba(235, 185, 69, .8); }
.err-code { font: 700 clamp(4.5rem, 12vw, 8rem)/1 var(--font-head); color: var(--gold); letter-spacing: -.03em; margin-bottom: 8px; }
:root[data-theme="dark"] .ctile-ico, :root[data-theme="dark"] .ico-globe { color: #7fd3ac; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ctile-ico, :root:not([data-theme="light"]) .ico-globe { color: #7fd3ac; } }
/* stejné šířky sloupců ve všech tabulkách kurzů (na mobilu se skryté sloupce vynechají) */
@media (min-width: 641px) {
  .qt-fixed { table-layout: fixed; }
  .qt-fixed th:nth-child(1) { width: 34%; }
  .qt-fixed th:nth-child(2) { width: 16%; }
  .qt-fixed th:nth-child(3), .qt-fixed th:nth-child(4), .qt-fixed th:nth-child(5) { width: 12%; }
  .qt-fixed th:nth-child(6) { width: 14%; }
  .qt-fixed .name a, .qt-fixed .name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
}

/* ---------- Sekce Startupy ---------- */
.page-head-photo { background: linear-gradient(100deg, rgba(6, 24, 18, .95) 0%, rgba(8, 30, 23, .82) 50%, rgba(8, 30, 23, .55) 100%), var(--photo) center 35% / cover no-repeat, var(--navy); padding: 46px 0 50px; }
.page-head-photo::after { display: none; }
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.way h3 { margin: 6px 0 0; font-size: 1.1rem; }
.way p { margin: 0; color: var(--muted); font-size: .9rem; flex: 1; }
.way-meta { font-size: .78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 960px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ways { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Videa ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.vcard-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #0b1310; cursor: pointer; overflow: hidden; }
.vcard-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, opacity .2s; }
.vcard-play:hover img { transform: scale(1.04); opacity: .9; }
.vcard-play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard-play.playing { cursor: default; }
.vcard-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 42, 32, .82); color: var(--gold-2); border: 2px solid rgba(235, 185, 69, .7); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: .15s; }
.vcard-btn svg { margin-left: 3px; }
.vcard-play:hover .vcard-btn, .vcard-play:focus-visible .vcard-btn { background: var(--gold-2); color: var(--navy); transform: translate(-50%, -50%) scale(1.06); }
.vcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.vcard-title { font-size: 1rem; line-height: 1.3; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcard-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .78rem; }
.vcard-full { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); border-radius: 999px; padding: 3px 10px; font: 700 .74rem var(--font); cursor: pointer; }
.vcard-full .ico { width: 13px; height: 13px; }
.vcard-full:hover { border-color: var(--gold); color: var(--text); }
/* přehrávač přes celé okno */
.vmodal { border: 0; padding: 0; background: transparent; width: min(1280px, 94vw); max-width: none; max-height: none; overflow: visible; }
.vmodal::backdrop { background: rgba(3, 10, 8, .9); }
.vmodal-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.vmodal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vmodal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; color: #fff; }
.vmodal-title { font: 700 1.05rem/1.3 var(--font-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vmodal-close { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.vmodal-close:hover { background: var(--gold-2); color: var(--navy); }
@supports not (aspect-ratio: 16 / 9) { .vmodal-frame { height: 53vw; } }
@media (orientation: landscape) and (max-height: 600px) { .vmodal { width: min(94vw, 150vh); } }
.chan { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--text-2); font-size: .9rem; font-weight: 600; text-decoration: none !important; }
.chan small { color: var(--muted); font-weight: 500; font-size: .74rem; white-space: nowrap; }
.chan:hover { background: var(--surface-2); }
.chan.active { background: var(--navy); color: #fff; }
.chan.active small { color: #a9bcb2; }
@media (max-width: 1100px) { .vgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vgrid, .vgrid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Titulní strana (blok uvod) ---------- */
.cover { padding: 26px 0 6px; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .95fr); gap: 20px; align-items: stretch; }
.cover-grid.no-videos { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.cover-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cover-main .acard.big { flex: 1 1 0; min-height: 250px; grid-row: auto; }
.cover-main .acard.big .acard-body { padding: 70px 22px 18px; }
.cover-main .acard.big h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.cover-main .acard.big p { -webkit-line-clamp: 2; font-size: .88rem; }
.cover-news { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 8px; }
.cover-more { align-self: flex-end; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.cover-more::after { content: " →"; }
.headlines { list-style: none; margin: 0; padding: 0; }
.headlines li { border-top: 1px solid var(--line); }
.headlines li:first-child { border-top: 0; }
.headlines a { display: block; padding: 10px 0; color: var(--text); text-decoration: none !important; }
.headlines a:hover .hl-title { color: var(--link); }
.hl-meta { display: flex; align-items: center; gap: 4px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.hl-meta time { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.hl-globe { width: 12px; height: 12px; opacity: .7; }
.hl-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3; margin-top: 2px; transition: color .15s; }
/* nekonečný pás videí: obsah je 2× za sebou, posun o polovinu = plynulá smyčka; pod myší / při přehrávání stojí */
.vstrip { position: relative; flex: 1 1 0; min-height: 440px; overflow: hidden; border-radius: var(--radius);
  mask-image: linear-gradient(transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.vstrip-track { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 14px; animation: vstrip calc(var(--n, 6) * 6.5s) linear infinite; }
.vstrip-clone { display: flex; flex-direction: column; gap: 14px; }
.vstrip:hover .vstrip-track, .vstrip:focus-within .vstrip-track, .vstrip.stop .vstrip-track { animation-play-state: paused; }
@keyframes vstrip { to { transform: translateY(calc(-50% - 7px)); } }
.vstrip .vcard-title { font-size: .92rem; -webkit-line-clamp: 2; margin-bottom: 2px; }
.vstrip .vcard-body { padding: 10px 12px 12px; }
.vstrip .vcard-foot .chip { display: none; }
@media (prefers-reduced-motion: reduce) {
  .vstrip { overflow-y: auto; mask-image: none; -webkit-mask-image: none; }
  .vstrip-track { position: static; animation: none; }
  .vstrip-clone { display: none; }
}
@media (max-width: 1100px) {
  .cover-grid, .cover-grid.no-videos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cover-main { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .cover-main .acard.big { flex: 1 1 300px; min-height: 300px; }
  .cover-main .cover-more { flex-basis: 100%; text-align: right; }
}
@media (max-width: 640px) {
  .cover { padding-top: 16px; }
  .cover-grid, .cover-grid.no-videos { grid-template-columns: minmax(0, 1fr); }
  .cover-main .acard.big { min-height: 280px; }
  .headlines li:nth-child(n+6) { display: none; }
  .vstrip { min-height: 0; height: 420px; flex: none; }
}


.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vcard-views { position: absolute; left: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: rgba(6, 22, 16, .82); color: #fff; font: 700 .76rem var(--font-num); font-variant-numeric: tabular-nums; }
.vcard-views .ico { width: 14px; height: 14px; color: var(--gold-2); }
.vcard-play.playing .vcard-views { display: none; }

.section-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.card .section-foot { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Cookie lišta ---------- */
.cookie-lista { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 1080px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--gold-2); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.cookie-lista[hidden] { display: none; }
.cl-in { display: flex; gap: 22px; align-items: flex-end; padding: 18px 22px; }
.cl-main { flex: 1; min-width: 0; }
.cl-main h2 { font-size: 1.2rem; margin: 0 0 6px; }
.cl-main p { margin: 0; font-size: .92rem; color: var(--text-2); }
.cl-detail { margin-top: 12px; display: grid; gap: 8px; }
.cl-detail[hidden] { display: none; }
.cl-cat { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.cl-cat input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-3); flex-shrink: 0; }
.cl-cat-off { cursor: default; opacity: .8; }
.cl-detail .cl-btn { justify-self: start; }
.cl-buttons { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.cl-btn { justify-content: center; padding: 11px 18px; }
/* „Odmítnout vše“ a „Přijmout vše“ musí být stejně výrazné */
.cl-primary { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.cl-primary:hover { background: var(--navy-3); border-color: var(--navy-3); }
.cl-link { background: transparent; color: var(--text); border: 2px solid var(--line); }
.cl-link:hover { border-color: var(--gold); }
:root[data-theme="dark"] .cl-primary { background: var(--gold-2); color: #111; border-color: var(--gold-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cl-primary { background: var(--gold-2); color: #111; border-color: var(--gold-2); } }
@media (max-width: 720px) {
  .cookie-lista { left: 8px; right: 8px; bottom: 8px; max-height: calc(100vh - 16px); overflow-y: auto; }
  .cl-in { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; }
  .cl-buttons { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .cl-buttons .cl-primary { flex: 1 1 40%; }
  .cl-buttons .cl-link { flex: 1 1 100%; }
}

/* řazení a období videí */
.vsort { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: -4px 0 18px; }
.seg { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg-label { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 0 10px; }
.seg a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--text-2); text-decoration: none !important; }
.seg a .ico { width: 15px; height: 15px; }
.seg a:hover { background: var(--surface-2); }
.seg a.active { background: var(--navy); color: #fff; }
.vsort-count { margin-left: auto; font-size: .86rem; }
.vcard-count { color: var(--text-2); font-weight: 700; }
@media (max-width: 640px) { .vsort-count { margin-left: 0; } .seg { flex-wrap: wrap; border-radius: 14px; } }
