:root {
  --karty: #3b82f6;
  --karty-hover: #5b97f8;
  --test: #22a559;
  --test-hover: #2bbd68;
  --bg: #121510;
  --panel: #1a1e17;
  --panel-2: #232821;
  --line: #333a2f;
  --fg: #eceee6;
  --muted: #a2a897;
  --accent: #c8b273;
  --accent-soft: rgba(200, 178, 115, .15);
  --accent-ink: #1b170b;
  --ok: #3fb950;
  --ok-soft: rgba(63, 185, 80, .15);
  --bad: #f2564b;
  --bad-soft: rgba(242, 86, 75, .15);
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(26px, 5vw, 34px); }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 21, 16, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  max-width: 960px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; font-size: 18px; }
.logo:hover { text-decoration: none; }
.logo-znak {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a {
  color: var(--muted); padding: 7px 12px; border-radius: 8px; font-weight: 500; font-size: 15px;
}
.nav a:hover { color: var(--fg); background: var(--panel-2); text-decoration: none; }
.nav a.akt { color: var(--accent); background: var(--accent-soft); }

main { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 24px; }
.uzke { max-width: 640px; width: 100%; margin: 0 auto; }
.paticka { max-width: 960px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.paticka a { color: var(--muted); }

.hlavicka { display: flex; flex-direction: column; gap: 6px; }
.hlavicka p { color: var(--muted); max-width: 62ch; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stlpec { display: flex; flex-direction: column; gap: 14px; }
.riadok { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tlmene { color: var(--muted); }
.male { font-size: 13px; }
label.pole { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); flex: 1 1 200px; min-width: 0; }
input[type=text], input[type=search], input[type=password], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
textarea { resize: vertical; min-height: 80px; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; }
.filtre { display: flex; gap: 12px; flex-wrap: wrap; }

.volby { display: flex; gap: 6px; flex-wrap: wrap; }
.volby input { position: absolute; opacity: 0; pointer-events: none; }
.volby label {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel-2);
  cursor: pointer; font-size: 15px; color: var(--fg);
}
.volby input:checked + label { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.volby input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel-2); color: var(--fg);
  padding: 10px 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .08s, background .15s, border-color .15s;
}
.btn:hover { border-color: #444a52; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.hlavne { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.hlavne:hover { background: #d6c288; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #04210b; }
.btn.zle { background: var(--bad); border-color: var(--bad); color: #2a0402; }
.btn.jemne { background: transparent; }
.btn.male { padding: 6px 10px; font-size: 13px; }
.btn.velke { padding: 15px 20px; font-size: 18px; }
.btn.siroke { width: 100%; }

.stitok {
  display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 5px;
  background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); vertical-align: middle; white-space: nowrap;
}
.stitok.akcent { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-family: var(--mono); }
.vys { color: var(--muted); font-family: var(--mono); font-size: .9em; }

.hlaska { padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.hlaska.chyba { background: var(--bad-soft); color: #ff9a92; }
.hlaska.info { background: var(--accent-soft); color: var(--accent); }
.rezimy { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rezim {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px 20px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line); color: var(--fg);
}
.rezim:hover { border-color: var(--accent); text-decoration: none; }
.rezim .ikona { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.rezim p { color: var(--muted); font-size: 15px; }

.temy { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tema { display: flex; flex-direction: column; gap: 10px; }
.tema-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tema-h a { color: var(--fg); font-weight: 700; font-size: 17px; }
.tema-pocet { font-family: var(--mono); color: var(--accent); font-size: 14px; white-space: nowrap; }
.tema p { color: var(--muted); font-size: 14px; }
.podtemy { display: flex; flex-wrap: wrap; gap: 6px; }
.podtemy a {
  font-size: 13px; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 6px;
}
.podtemy a:hover { border-color: var(--accent); text-decoration: none; }
.podtemy a span { color: var(--muted); margin-left: 4px; font-family: var(--mono); font-size: 12px; }
.pismena { display: flex; flex-wrap: wrap; gap: 4px; }
.pismena button {
  font: inherit; font-size: 13px; font-weight: 600; min-width: 32px; padding: 6px 0; cursor: pointer;
  background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); border-radius: 6px;
}
.pismena button.akt { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pismena button:hover { color: var(--fg); }

.vysledky-info { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.zoznam { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.polozka { border-top: 1px solid var(--line); }
.polozka:first-child { border-top: 0; }
.polozka > button {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer; padding: 12px 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 20px; gap: 6px 16px; align-items: baseline;
}
.polozka > button:hover { background: var(--panel-2); }
.polozka > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.polozka .en { font-weight: 600; overflow-wrap: anywhere; }
.polozka .sk { color: #c9ced6; overflow-wrap: anywhere; }
.polozka .sipka { color: var(--muted); transition: transform .15s; justify-self: end; }
.polozka.otvor .sipka { transform: rotate(90deg); color: var(--accent); }
.detail { padding: 4px 16px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.detail h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.detail p { font-size: 15px; color: #d6dae0; }
.detail .meta { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 560px) {
  .polozka > button { grid-template-columns: minmax(0, 1fr) 20px; }
  .polozka .sk { grid-column: 1; grid-row: 2; }
  .polozka .sipka { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}
.strankovanie { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.prazdne { padding: 32px 16px; text-align: center; color: var(--muted); }
.postup { display: flex; flex-direction: column; gap: 8px; }
.postup-text { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.postup-text b { color: var(--fg); }
.lista { height: 6px; background: var(--panel-2); border-radius: 3px; overflow: hidden; }
.lista i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .25s; }

.karta-obal { perspective: 1400px; }
.karta {
  position: relative; width: 100%; min-height: 340px; cursor: pointer;
  transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3, .7, .3, 1);
}
.karta.otocena { transform: rotateY(180deg); }
.strana {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
}
.strana.predna { align-items: center; justify-content: center; text-align: center; }
.strana.zadna { transform: rotateY(180deg); border-color: #3a3f47; }
.karta-tema { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.karta-slovo { font-size: clamp(26px, 6vw, 38px); font-weight: 700; overflow-wrap: anywhere; }
.karta-tip { color: var(--muted); font-size: 13px; margin-top: auto; }
.karta-preklad { font-size: 24px; font-weight: 700; color: var(--accent); overflow-wrap: anywhere; }
.karta-popis h4 { margin: 0 0 3px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.karta-popis p { font-size: 15px; color: #d6dae0; }
.odpoved-tl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .karta { transition: none; } }
.otazka-box { display: flex; flex-direction: column; gap: 18px; }
.otazka-text { font-size: clamp(22px, 5vw, 30px); font-weight: 700; overflow-wrap: anywhere; }
.moznosti { display: flex; flex-direction: column; gap: 10px; }
.moznost {
  font: inherit; font-size: 16px; text-align: left; cursor: pointer; color: var(--fg);
  background: var(--panel-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px;
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start;
}
.moznost:hover:not(:disabled) { border-color: var(--accent); }
.moznost:disabled { cursor: default; }
.moznost .kl {
  width: 26px; height: 26px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted);
}
.moznost span:last-child { overflow-wrap: anywhere; padding-top: 1px; }
.moznost.spravne { border-color: var(--ok); background: var(--ok-soft); }
.moznost.spravne .kl { background: var(--ok); color: #04210b; border-color: var(--ok); }
.moznost.nespravne { border-color: var(--bad); background: var(--bad-soft); }
.moznost.nespravne .kl { background: var(--bad); color: #2a0402; border-color: var(--bad); }
.vysvetlenie { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; display: flex; flex-direction: column; gap: 6px; }
.vysvetlenie p { font-size: 15px; color: #d6dae0; }

.skore { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 10px 0; }
.skore-cislo { font-size: 56px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.chyby-zoznam { display: flex; flex-direction: column; gap: 10px; }
.chyba-p { background: var(--panel-2); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.chyba-p .zla { color: #ff9a92; text-decoration: line-through; }
.chyba-p .dobra { color: #7ee08a; }
.tabulka-obal { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.akcie { white-space: nowrap; text-align: right; }
td .en { font-weight: 600; }

.karty-tab { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.karty-tab button {
  font: inherit; font-weight: 600; background: none; border: 0; color: var(--muted); padding: 10px 14px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.karty-tab button.akt { color: var(--accent); border-bottom-color: var(--accent); }

dialog {
  width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0;
  background: var(--panel); color: var(--fg); border: 1px solid var(--line); border-radius: 12px;
}
dialog::backdrop { background: rgba(0, 0, 0, .65); }
.dialog-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 1; }
.dialog-telo { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.dialog-p { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; position: sticky; bottom: 0; background: var(--panel); }
.mriezka-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.napoveda { font-size: 12px; color: var(--muted); }

.strom { display: flex; flex-direction: column; gap: 12px; }
.strom-tema { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.strom-riadok { display: flex; align-items: center; gap: 10px; padding: 10px 14px; flex-wrap: wrap; }
.strom-riadok .nazov { flex: 1 1 200px; min-width: 0; }
.strom-tema > .strom-riadok { background: var(--panel-2); font-weight: 700; }
.strom-pod .strom-riadok { border-top: 1px solid var(--line); padding-left: 28px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .4);
}
.toast.chyba { background: var(--bad); color: #fff; }
.stlpec > label.pole, .dialog-telo > label.pole, form.stlpec > label.pole { flex: none; }

@media (max-width: 440px) {
  .logo-text { display: none; }
  .nav a { padding: 7px 10px; }
}
@media (hover: none) {
  .klavesy { display: none; }
}
.tema-akcie { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-spusti {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: 15px; color: #fff;
  transition: background .15s, transform .08s;
}
.btn-spusti svg { width: 18px; height: 18px; }
.btn-spusti:hover { text-decoration: none; }
.btn-spusti:active { transform: scale(.98); }
.btn-spusti.karticky { background: var(--karty); }
.btn-spusti.karticky:hover { background: var(--karty-hover); }
.btn-spusti.test { background: var(--test); }
.btn-spusti.test:hover { background: var(--test-hover); }
.btn.ukoncit { background: var(--bad-soft); border: 1.5px solid var(--bad); color: #ff9a92; padding: 9px 16px; font-size: 15px; }
.btn.ukoncit:hover { background: var(--bad); color: #fff; border-color: var(--bad); }
.ucet { display: flex; align-items: center; gap: 6px; }
.ucet:empty { display: none; }
.ucet-meno, .ucet-prihlas {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 8px;
  font-weight: 600; font-size: 14px; border: 1px solid var(--line); color: var(--fg); background: var(--panel-2);
}
.ucet-meno:hover, .ucet-prihlas:hover { border-color: var(--accent); text-decoration: none; }
.ucet-meno svg { color: var(--accent); }
.ucet-meno.akt, .ucet-prihlas.akt { border-color: var(--accent); }
.ucet-prihlas { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ucet-odhlas { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 6px 4px; cursor: pointer; }
.ucet-odhlas:hover { color: var(--fg); text-decoration: underline; }
@media (max-width: 640px) {
  .top-in { row-gap: 8px; }
  .nav { margin-left: 0; order: 3; width: 100%; }
  .ucet { margin-left: auto; }
}
.prihlasenie { max-width: 420px; }
.dlazdice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.dlazdica { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.dlazdica b { font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.dlazdica > span { color: var(--muted); font-size: 13px; }
.percento { font-weight: 700; font-variant-numeric: tabular-nums; }
.percento.p-vys { color: #7ee08a; } .percento.p-str { color: var(--accent); } .percento.p-niz { color: #ff9a92; }
td.cislo, th.cislo { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ulozene { font-size: 13px; color: var(--muted); text-align: center; }
td.datum { white-space: nowrap; }
#u-telo td.akcie .btn { padding: 5px 9px; }
.admin-stranka main, .admin-stranka .top-in, .admin-stranka .paticka { max-width: 1240px; }
.hlaska.varovanie { background: var(--accent-soft); color: var(--fg); border: 1px solid var(--accent); display: flex; flex-direction: column; gap: 8px; }
ul.duplicity { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
ul.duplicity li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
code { font-family: var(--mono); font-size: .95em; }
#tlac { display: none; }
.admin-stranka details > summary { cursor: pointer; }
@media print {
  html, body.tlaci { background: #fff !important; color: #000 !important; }
  body.tlaci > *:not(#tlac) { display: none !important; }
  body.tlaci #tlac { display: block; font-family: var(--font); color: #000; }
  #tlac h1 { font-size: 16pt; margin: 0 0 4pt; }
  #tlac p { font-size: 10pt; margin: 0 0 10pt; color: #333; }
  #tlac table { width: 100%; border-collapse: collapse; font-size: 10pt; }
  #tlac th, #tlac td { border: 1px solid #999; padding: 3pt 5pt; text-align: left; }
  #tlac th { background: #eee; }
  #tlac tr { break-inside: avoid; }
  .tlac-karticky { display: grid; grid-template-columns: repeat(3, 1fr); }
  .tlac-karticka { border: 1px dashed #777; padding: 9pt 11pt; break-inside: avoid; font-size: 11pt; line-height: 1.5; }
  .tlac-karticka span { color: #555; }
  .tlac-karticka .tk-adresa { font-size: 10pt; font-weight: 700; color: #000; margin-bottom: 2pt; }
  .tk-heslo { font-family: var(--mono); font-size: 13pt; letter-spacing: 1px; }
  @page { margin: 12mm; }
}
.otazka-text.dlhy { font-size: 17px; font-weight: 500; line-height: 1.55; white-space: pre-line; text-align: left; }
.strom-pod[hidden] { display: none; }
.btn.rozbal { min-width: 0; }
.obrazok-nahlad { max-width: 160px; max-height: 120px; border-radius: 8px; border: 1px solid var(--line); object-fit: cover; }
.obrazok-slovicka { display: block; max-width: 100%; max-height: 360px; margin: 6px auto 0; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; background: var(--panel-2); }
.karta .obrazok-slovicka { max-height: 200px; }
.vysvetlenie .obrazok-slovicka { max-height: 240px; margin: 8px 0 0; }
td .ikona-obrazok { font-size: 12px; margin-left: 4px; opacity: .7; }
.detail .obrazok-slovicka { grid-column: 1 / -1; justify-self: start; max-height: 320px; margin: 0; }
.nv-graf { display: flex; align-items: flex-end; gap: 4px; height: 180px; padding-top: 8px; }
.nv-den { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.nv-stlpce { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.nv-stlpce span { width: 45%; min-height: 1px; border-radius: 3px 3px 0 0; }
.nv-z, .nv-legenda.nv-z { background: var(--line); }
.nv-n, .nv-legenda.nv-n { background: var(--accent); }
.nv-datum { font-size: 10px; color: var(--muted); }
.nv-legenda { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 10px; }
.karta .obrazok-slovicka.velky { max-height: 300px; margin-top: 10px; }
.otazka-obrazok { max-height: 320px; margin: 12px auto 4px; }
.obrazok-chyba { max-width: 120px; max-height: 80px; border-radius: 6px; background: #fff; }
.detail p, .karta-popis p, .vysvetlenie p { white-space: pre-line; }
.cookie-lista {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45); font-size: 14px;
}
.cookie-lista p { margin: 0; flex: 1 1 320px; color: var(--fg); }
.cookie-lista a { white-space: nowrap; }
@media print { .cookie-lista { display: none !important; } }
