/* Tvorba Shorts – mobil ako prvý; tlačidlá aspoň 44 px; farby Slnka (krémová, tmavá bordová). */
:root {
  --pozadie: #f7f1e6;
  --karta: #fffaf2;
  --text: #2a1410;
  --tlmeny: #6b5a52;
  --hlavna: #8a2b1d;
  --hlavna-text: #fffaf2;
  --okraj: #e3d6c3;
  --ok: #2f6b3a;
  --pozor: #a35a00;
  --chyba: #a31d1d;
  --tien: 0 1px 3px rgba(42, 20, 16, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --pozadie: #1d1412;
    --karta: #2a1d1a;
    --text: #f3e9dc;
    --tlmeny: #c2ad9e;
    --hlavna: #e0a066;
    --hlavna-text: #1d1412;
    --okraj: #4a3530;
    --ok: #7fc18c;
    --pozor: #f0b35c;
    --chyba: #f08080;
    --tien: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pozadie);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--hlavna); }
h1 { font-size: 1.5rem; margin: 0.5rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.hlavicka {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--okraj); background: var(--karta);
}
.znacka { font-weight: 700; text-decoration: none; color: var(--text); }
.menu { display: flex; align-items: center; gap: 1rem; }
.v-riadku { display: inline; margin: 0; }
.obsah { max-width: 760px; margin: 0 auto; padding: 1rem; }
.paticka { text-align: center; color: var(--tlmeny); font-size: 0.85rem; padding: 2rem 1rem; }
.karta {
  background: var(--karta); border: 1px solid var(--okraj); border-radius: 12px;
  padding: 1rem; margin-bottom: 1rem; box-shadow: var(--tien);
}
.uzka { max-width: 420px; margin: 2rem auto; }
.zoznam { list-style: none; padding: 0; margin: 0; }
.nazov-karty { font-weight: 600; font-size: 1.1rem; text-decoration: none; display: block; min-height: 44px; }
.riadok-info { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; color: var(--tlmeny); font-size: 0.95rem; align-items: center; }
.stitok { border: 1px solid var(--okraj); border-radius: 999px; padding: 0 0.6rem; font-size: 0.85rem; }
.stav { font-weight: 600; }
.stav-chyba { color: var(--chyba); }
.stav-caka_na_vyber, .stav-caka_na_plagat { color: var(--pozor); }
.stav-hotove, .stav-na_disku, .stav-zverejneny { color: var(--ok); }
.formular { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-weight: 600; }
input[type="email"], input[type="text"], input[type="url"], input[type="date"], select, textarea {
  font: inherit; color: var(--text); background: var(--pozadie);
  border: 1px solid var(--okraj); border-radius: 8px; padding: 0.6rem 0.75rem; min-height: 44px; width: 100%;
}
textarea { min-height: 7rem; resize: vertical; }
.tlacidlo {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.6rem 1.2rem;
  border: 0; border-radius: 10px; background: var(--hlavna); color: var(--hlavna-text);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.tlacidlo:disabled { opacity: 0.5; cursor: not-allowed; }
.tlacidlo-druhe { background: transparent; color: var(--hlavna); border: 1px solid var(--hlavna); }
.tlacidlo-odkaz {
  background: none; border: 0; color: var(--hlavna); font: inherit; cursor: pointer; min-height: 44px; padding: 0 0.25rem;
  text-decoration: underline;
}
.upozornenie { background: rgba(163, 90, 0, 0.12); border-left: 4px solid var(--pozor); padding: 0.5rem 0.75rem; border-radius: 6px; }
.chybova { background: rgba(163, 29, 29, 0.1); border-left: 4px solid var(--chyba); padding: 0.5rem 0.75rem; border-radius: 6px; }
.drobne { font-size: 0.9rem; color: var(--tlmeny); }
.volba { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; }
.volba input[type="checkbox"], .volba input[type="radio"] { width: 24px; height: 24px; flex: none; }
.citat { font-style: italic; border-left: 3px solid var(--okraj); padding-left: 0.75rem; margin: 0.5rem 0; }
.harok { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--okraj); }
.cisla { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.4rem; margin: 0.75rem 0; }
.cisla label { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--okraj); border-radius: 8px; font-weight: 600; cursor: pointer; }
.cisla input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cisla input:checked + span { color: var(--hlavna-text); }
.cisla label:has(input:checked) { background: var(--hlavna); color: var(--hlavna-text); border-color: var(--hlavna); }
video { width: 100%; max-height: 80vh; background: #000; border-radius: 12px; }
.plagat { max-width: 220px; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--okraj); vertical-align: top; }
.cislo { text-align: right; font-variant-numeric: tabular-nums; }
.tabulka-obal { overflow-x: auto; }
.cervena { color: var(--chyba); font-weight: 700; }
.short-karta { display: flex; gap: 0.9rem; align-items: center; }
.short-text { min-width: 0; flex: 1; }
.mini-plagat { flex: none; width: 54px; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--okraj); display: block; }
.mini-plagat img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 700px) {
  .cisla { grid-template-columns: repeat(12, 1fr); }
}
