:root {
  --papir: #f6f1e7;
  --karta: #fffdf8;
  --inkoust: #24211c;
  --sedy-text: #6c655a;
  --linka: #e2d9c8;
  --ok: #3466c2;
  --jinde: #e38b2c;
  --neni: #8a8478;
  --klavesa: #e7dfcf;
  --der: #2f62c9;
  --die: #cf3e45;
  --das: #2e8a55;
  --stin: 0 1px 2px rgba(60, 40, 10, .06), 0 6px 20px rgba(60, 40, 10, .07);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--papir);
  color: var(--inkoust);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ok); outline-offset: 2px; }

/* lišta */
.lista {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px max(14px, env(safe-area-inset-left)) 10px max(14px, env(safe-area-inset-right));
  border-bottom: 1px solid var(--linka);
  background: var(--papir);
  position: sticky; top: 0; z-index: 5;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; background: none; cursor: pointer; padding: 4px;
  font: 700 22px/1 Georgia, "Times New Roman", serif; letter-spacing: .01em;
}
.logo .nazev { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; white-space: nowrap; }
.logo small { font: 600 11px/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--sedy-text); }
.kabinet { border-bottom: 1px solid var(--linka); padding-bottom: 14px; margin-bottom: 18px; }
.kabinet h1 { font: 700 clamp(26px, 5.4vw, 38px)/1.15 Georgia, serif; margin: 4px 0 6px; }
.kabinet p { margin: 0; color: var(--sedy-text); max-width: 62ch; }
.stitek { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--jinde); }
.uvod .pomucka { font: 700 clamp(22px, 4.4vw, 28px)/1.2 Georgia, serif; margin: 2px 0 6px; }
.kosticky { display: grid; grid-template-columns: 11px 11px; gap: 2px; }
.kosticky i { width: 11px; height: 11px; border-radius: 3px; background: var(--ok); }
.kosticky i:nth-child(2), .kosticky i:nth-child(3) { background: var(--jinde); }
.lista-vpravo { display: flex; align-items: center; gap: 6px; }
.ikona {
  width: 40px; height: 40px; border-radius: 10px; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.ikona:hover { background: var(--klavesa); }
.ikona svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hrac-chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 46vw;
  border: 1px solid var(--linka); background: var(--karta); border-radius: 999px;
  padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 600;
}
.hrac-chip span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  color: #fff; font-weight: 700; font-size: 14px; background: var(--ok);
}

main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 18px 14px 28px; }

/* domů */
.uvod h1 { font: 700 clamp(26px, 5vw, 36px)/1.15 Georgia, serif; margin: 6px 0 8px; }
.uvod p { margin: 0 0 18px; color: var(--sedy-text); max-width: 60ch; }
.ukazka { display: inline-block; padding: 0 7px; border-radius: 5px; color: #fff; font-weight: 600; }
.ukazka.ok { background: var(--ok); }
.ukazka.jinde { background: var(--jinde); }
.ukazka.neni { background: var(--neni); }
.rezimy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rezim {
  background: var(--karta); border: 1px solid var(--linka); border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: var(--stin); display: flex; flex-direction: column;
}
.rezim p { margin: 6px 0 12px; color: var(--sedy-text); font-size: 15px; flex: 1; }
.rezim-hlava { display: flex; align-items: center; gap: 10px; }
.rezim h2 { margin: 0; font: 700 21px/1.2 Georgia, serif; }
.vlajka {
  display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 6px; border-radius: 8px;
  background: var(--ok); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .05em;
}
.vlajka.de { background: #24211c; }
.vlajka.geo { background: #e9f1e7; font-size: 18px; }
.vlajka.clen { background: none; gap: 2px; display: inline-flex; padding: 0; }
.vlajka.clen b { padding: 3px 5px; border-radius: 6px; color: #fff; font-size: 12px; }
.c-der { background: var(--der) !important; color: #fff !important; }
.c-die { background: var(--die) !important; color: #fff !important; }
.c-das { background: var(--das) !important; color: #fff !important; }
.stav-dne { margin: 8px 0 0 !important; font-size: 13px !important; flex: 0 !important; min-height: 1em; }
.stav-dne:empty { display: none; }

.akce { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn {
  border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer; font-weight: 650;
  background: var(--ok); color: #fff; min-height: 44px;
}
.btn:hover { filter: brightness(1.07); }
.btn.vedlejsi { background: var(--klavesa); color: var(--inkoust); }
.btn.maly { min-height: 34px; padding: 6px 11px; font-size: 14px; }
.btn.nebezpecne { background: #f4dcdc; color: #8c2323; }
select, input, textarea {
  font: inherit; color: inherit; background: #fff; border: 1px solid var(--linka); border-radius: 10px;
  padding: 9px 11px; min-height: 44px;
}
textarea { width: 100%; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 15px; }

.lekce-sekce { margin-top: 30px; }
.sekce-hlava { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.sekce-hlava h2 { margin: 0; font: 700 24px/1.2 Georgia, serif; }
.pozn { color: var(--sedy-text); font-size: 14px; margin: 8px 0 12px; }
.lekce-seznam { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lekce-karta {
  background: var(--karta); border: 1px solid var(--linka); border-radius: 14px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.lekce-karta h3 { margin: 0; font-size: 17px; }
.lekce-karta .meta { color: var(--sedy-text); font-size: 13px; }
.prazdne { color: var(--sedy-text); font-style: italic; }

/* hra */
#v-hra { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hra-hlava { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 520px; }
.hra-hlava h2 { margin: 0; font: 700 21px/1.2 Georgia, serif; }
.hra-hlava > div { flex: 1; min-width: 0; }
.napoveda { margin: 2px 0 0; color: var(--sedy-text); font-size: 14px; }
.napoveda:empty { display: none; }
.zpet {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--linka); background: var(--karta);
  font-size: 26px; line-height: 1; cursor: pointer; flex: none;
}
.postup { font-size: 14px; color: var(--sedy-text); font-weight: 600; }

.deska { --n: 5; display: grid; gap: 6px; width: min(100%, calc(var(--n) * 64px)); }
.radek-desky { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.radek-desky.trest { animation: trest .4s; }
@keyframes trest { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.dlazdice {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px;
  border: 2px solid var(--linka); background: var(--karta);
  font: 700 clamp(18px, calc(min(100vw, 520px) / var(--n) * .42), 32px)/1 system-ui, sans-serif;
  user-select: none;
}
.dlazdice.plna { border-color: #b9ad97; animation: pop .1s; }
@keyframes pop { 50% { transform: scale(1.07); } }
.dlazdice.ok, .dlazdice.jinde, .dlazdice.neni { color: #fff; border-color: transparent; animation: otoc .5s both; animation-delay: calc(var(--i) * 110ms); }
.dlazdice.ok { background: var(--ok); }
.dlazdice.jinde { background: var(--jinde); }
.dlazdice.neni { background: var(--neni); }
.dlazdice.bez-animace { animation: none !important; }
@keyframes otoc {
  0% { transform: rotateX(0); background: var(--karta); color: var(--inkoust); border-color: #b9ad97; }
  49% { transform: rotateX(90deg); background: var(--karta); color: var(--inkoust); border-color: #b9ad97; }
  50% { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}
.radek-desky.vyhra .dlazdice { animation: otoc .5s both, skok .45s calc(var(--i) * 90ms + .7s); }
@keyframes skok { 40% { transform: translateY(-14px); } 70% { transform: translateY(3px); } }

.klavesnice { width: 100%; max-width: 560px; display: grid; gap: 7px; margin-top: auto; user-select: none; }
.klav-radek { display: flex; gap: 5px; justify-content: center; }
.klavesa {
  flex: 1 1 0; min-width: 0; max-width: 46px; height: 54px; border: 0; border-radius: 8px; background: var(--klavesa);
  font-weight: 700; font-size: 17px; cursor: pointer; padding: 0;
  touch-action: manipulation;
}
.klavesa.siroka { flex: 1.6 1 0; max-width: 72px; font-size: 13px; }
.klavesa.ok { background: var(--ok); color: #fff; }
.klavesa.jinde { background: var(--jinde); color: #fff; }
.klavesa.neni { background: #bdb6a9; color: #fff; }
.klavesa:active { filter: brightness(.92); }

.clen-volba {
  width: 100%; max-width: 520px; background: var(--karta); border: 1px solid var(--linka); border-radius: 14px;
  padding: 12px 14px; text-align: center; box-shadow: var(--stin);
}
.clen-volba p { margin: 0 0 10px; font-size: 18px; }
.clen-volba .akce { justify-content: center; }
.clen-volba .btn { min-width: 84px; font-size: 18px; }

/* statistiky */
.stat-vyber { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.stat-vyber button {
  border: 1px solid var(--linka); background: var(--karta); border-radius: 999px; padding: 6px 13px; cursor: pointer; font-size: 14px;
}
.stat-vyber button[aria-selected="true"] { background: var(--inkoust); color: #fff; border-color: var(--inkoust); }
.cisla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin: 10px 0 14px; }
.cisla b { display: block; font: 700 28px/1.1 Georgia, serif; }
.cisla span { font-size: 12px; color: var(--sedy-text); }
.rozlozeni { display: grid; gap: 4px; margin: 6px 0 4px; }
.rozlozeni div { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center; font-size: 14px; }
.rozlozeni i {
  display: block; min-width: 26px; height: 22px; border-radius: 5px; background: var(--neni); color: #fff;
  font-style: normal; font-size: 13px; font-weight: 700; text-align: right; padding: 1px 7px;
}
.rozlozeni i.posledni { background: var(--ok); }
.zebricek { width: 100%; border-collapse: collapse; margin-top: 8px; background: var(--karta); border-radius: 12px; overflow: hidden; }
.zebricek th, .zebricek td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--linka); font-size: 15px; }
.zebricek th:first-child, .zebricek td:first-child, .zebricek th:nth-child(2), .zebricek td:nth-child(2) { text-align: left; }
.zebricek th { font-size: 12px; color: var(--sedy-text); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.zebricek tr.ja td { background: #eef3fc; font-weight: 650; }
.stat-blok { background: var(--karta); border: 1px solid var(--linka); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.stat-blok h3 { margin: 0 0 4px; font: 700 18px/1.2 Georgia, serif; }

/* dialogy */
.dialog {
  border: 0; border-radius: 18px; padding: 20px 20px 16px; width: min(440px, calc(100vw - 24px));
  background: var(--karta); color: var(--inkoust); box-shadow: 0 20px 60px rgba(30, 20, 5, .3);
}
.dialog.siroky { width: min(600px, calc(100vw - 24px)); }
.dialog::backdrop { background: rgba(36, 33, 28, .45); }
.dialog h2 { margin: 0 0 10px; font: 700 23px/1.2 Georgia, serif; }
.dialog .akce { margin-top: 14px; }
.pole { display: grid; gap: 5px; margin: 12px 0; font-size: 14px; font-weight: 600; }
.pole input, .pole select { width: 100%; font-weight: 400; }
.radek { display: flex; gap: 8px; }
.radek input { flex: 1; }
.prepinac { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 14px; color: var(--sedy-text); cursor: pointer; }
.prepinac b { color: var(--inkoust); font-size: 15px; }
.prepinac input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--ok); flex: none; }
.vys-slovo { font: 700 30px/1.2 Georgia, serif; margin: 2px 0 2px; letter-spacing: .02em; }
.vys-slovo small { display: block; font: 400 14px/1.4 system-ui, sans-serif; color: var(--sedy-text); letter-spacing: 0; }
.vys-clen { margin: 6px 0 0; font-weight: 600; }
.hraci-seznam { display: grid; gap: 6px; }
.hrac-radek { display: flex; align-items: center; gap: 8px; }
.hrac-radek .vybrat {
  flex: 1; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--linka); background: #fff;
  border-radius: 12px; padding: 7px 10px; cursor: pointer; font-weight: 600; min-height: 46px;
}
.hrac-radek .vybrat[aria-pressed="true"] { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok) inset; }
.odkaz-vysledek input, #sdilet-odkaz { width: 100%; font-size: 13px; }
.odkaz-vysledek { margin-top: 10px; }

.toast {
  position: fixed; left: 50%; top: 70px; transform: translateX(-50%) translateY(-10px); opacity: 0; pointer-events: none;
  background: var(--inkoust); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; z-index: 50;
  transition: opacity .18s, transform .18s; max-width: calc(100vw - 30px); text-align: center;
}
.toast.videt { opacity: 1; transform: translateX(-50%) translateY(0); }

.pata {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between;
  padding: 14px max(14px, env(safe-area-inset-left)) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linka); font-size: 12px; color: var(--sedy-text);
}
.pata a { color: inherit; }
.itl-znacka { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.itl {
  display: inline-grid; place-items: center; height: 18px; padding: 0 5px; border-radius: 5px; background: #e7dfcf;
  color: #15171a; font: 700 11px/1 system-ui, sans-serif; letter-spacing: .04em;
}
body.hraje .pata { display: none; }

@media (max-width: 480px) {
  main { padding: 12px 8px 14px; }
  .klavesa { height: 52px; font-size: 16px; }
  .klav-radek { gap: 4px; }
  .cisla b { font-size: 24px; }
  .logo { font-size: 18px; gap: 8px; }
  .logo small { display: none; }
  .hrac-chip { max-width: 36vw; }
  .ikona { width: 36px; }
}
@media (max-width: 400px) {
  .hrac-chip { padding: 3px; }
  .hrac-chip span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dlazdice, .radek-desky { animation: none !important; }
}

/* Třídní kniha – tvrdé desky, linkované listy, poznámka učitelky červeným perem */
.tk-pozvanka { margin-top: 30px; display: flex; gap: 18px; align-items: center; background: var(--karta); border: 1px solid var(--linka); border-radius: 14px; padding: 16px 18px; box-shadow: var(--stin); }
.tk-pozvanka h2 { margin: 0; font: 700 24px/1.2 Georgia, serif; }
.tk-pozvanka .pozn { margin: 6px 0 12px; }
.tk-desky { flex: none; width: 78px; aspect-ratio: 3 / 4; border-radius: 4px 10px 10px 4px; background: linear-gradient(90deg, #1f4a3a 0 13%, #2c6a52 13%); box-shadow: inset -5px 0 0 rgba(0,0,0,.15), 0 4px 12px rgba(30,40,20,.25); display: grid; place-items: center; }
.tk-desky span { border: 1.5px solid #e9d9a6; color: #f3e6bd; font: 700 11px/1.2 Georgia, serif; text-align: center; padding: 6px 5px; text-transform: uppercase; letter-spacing: .05em; }
#v-kniha { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#v-kniha[hidden] { display: none; }
.tk-hlava { max-width: 680px; }
.tk { width: 100%; max-width: 680px; display: grid; gap: 18px; }
.tk-formular { background: var(--karta); border: 1px solid var(--linka); border-radius: 14px; padding: 14px 16px; box-shadow: var(--stin); }
.tk-formular textarea { font-family: inherit; }
.tk-formular .pole small { font-weight: 400; color: var(--sedy-text); }
.tk-typy { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tk-typy legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.tk-typy label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 2px solid var(--linka); border-radius: 10px; background: var(--papir); cursor: pointer; font-size: 14px; font-weight: 600; }
.tk-typy label span { font-size: 22px; line-height: 1; }
.tk-typy input { position: absolute; opacity: 0; pointer-events: none; }
.tk-typy label:has(input:checked) { border-color: var(--ok); background: #e9effa; }
.tk-typy label:has(input:focus-visible) { outline: 3px solid var(--ok); outline-offset: 2px; }
.tk-skryte { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tk-zprava { margin: 0; font-weight: 600; font-size: 15px; }
.tk-zprava.ok { color: var(--das); }
.tk-zprava.chyba { color: var(--die); }
.tk-listy { background: #fffef9; border: 1px solid var(--linka); border-radius: 4px 12px 12px 4px; box-shadow: inset 12px 0 0 #2c6a52, var(--stin); padding-left: 12px;
  background-image: repeating-linear-gradient(#fffef9 0 27px, #dfe7f2 27px 28px); }
.tk-zapis { display: grid; grid-template-columns: 74px minmax(0, 1fr); border-bottom: 1px solid #c9d6e8; }
.tk-zapis:last-child { border-bottom: 0; }
.tk-datum { padding: 12px 8px; border-right: 2px solid #e8a3a3; font-size: 13px; color: var(--sedy-text); text-align: center; }
.tk-datum b { display: block; font-size: 20px; line-height: 1.1; }
.tk-obsah { padding: 10px 14px 12px; background: rgba(255,254,249,.88); }
.tk-typ { font-size: 13px; font-weight: 700; color: var(--sedy-text); }
.tk-text { margin: 2px 0 0; white-space: pre-line; font-size: 17px; }
.tk-podpis { margin: 4px 0 0; text-align: right; font-style: italic; color: var(--sedy-text); font-family: Georgia, serif; }
.tk-poznamka { margin: 8px 0 0; color: #c22a2a; font: italic 17px/1.4 "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; white-space: pre-line; }
.tk-poznamka small { display: block; font: 600 12px/1.3 system-ui, sans-serif; font-style: normal; color: #c22a2a; opacity: .8; }
.tk-listy .prazdne { padding: 22px; text-align: center; margin: 0; }
.tk-sprava { background: #fff6e6; border: 2px dashed var(--jinde); border-radius: 14px; padding: 12px 14px; display: grid; gap: 10px; }
.tk-sprava h3 { margin: 0; font: 700 19px/1.2 Georgia, serif; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tk-sprava .karta { background: var(--karta); border: 1px solid var(--linka); border-radius: 10px; padding: 10px 12px; }
.tk-sprava .karta.ceka { border-color: var(--jinde); }
.tk-sprava .meta { font-size: 13px; color: var(--sedy-text); }
.tk-sprava textarea { font-family: inherit; min-height: 60px; margin-top: 6px; }
.tk-sprava .akce { margin-top: 6px; }
@media (max-width: 520px) { .tk-typy { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tk-desky { display: none; } .tk-zapis { grid-template-columns: 58px minmax(0, 1fr); } }

/* Učitelský zápisník */
.zp-pozvanka { margin-top: 30px; }
.zp-pozvanka + .tk-pozvanka { margin-top: 14px; }
.zp-ikona { flex: none; width: 78px; aspect-ratio: 3 / 4; border-radius: 6px; background: #fbf7ee; border: 1px solid var(--linka); box-shadow: 4px 4px 0 var(--ok), 0 4px 12px rgba(30,40,20,.18);
  background-image: repeating-linear-gradient(transparent 0 13px, #d7e1f0 13px 14px); background-position: 0 18px; position: relative; }
.zp-ikona i { position: absolute; left: -5px; width: 10px; height: 4px; border-radius: 2px; background: var(--sedy-text); }
.zp-ikona i:nth-child(1) { top: 14px; } .zp-ikona i:nth-child(2) { top: 32px; } .zp-ikona i:nth-child(3) { top: 50px; } .zp-ikona i:nth-child(4) { top: 68px; } .zp-ikona i:nth-child(5) { top: 86px; }
#v-zapisnik { display: flex; flex-direction: column; align-items: center; gap: 14px; }
#zp-obsah { display: grid; gap: 14px; }
.zp-karta { background: var(--karta); border: 1px solid var(--linka); border-radius: 14px; padding: 14px 16px; box-shadow: var(--stin); }
.zp-karta h3 { margin: 0; font: 700 20px/1.2 Georgia, serif; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.zp-karta h3 small { font: 400 13px/1.2 system-ui, sans-serif; color: var(--sedy-text); }
.zp-karta .pozn { margin: 4px 0 10px; }
.zp-den { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--linka); }
.zp-den:first-child { border-top: 0; }
.zp-den-nazev { font-weight: 700; font-size: 14px; line-height: 1.3; }
.zp-den-nazev small { display: block; font-weight: 400; color: var(--sedy-text); }
.zp-den.dnes .zp-den-nazev { color: var(--ok); }
.zp-den.vikend .zp-den-nazev { color: var(--sedy-text); }
.zp-akce { margin: 0 0 6px; }
.zp-akce:last-child { margin-bottom: 0; }
.zp-akce b { font-weight: 600; }
.zp-cas { display: inline-block; min-width: 46px; font-variant-numeric: tabular-nums; color: var(--sedy-text); font-size: 14px; margin-right: 6px; }
.zp-meta { display: block; color: var(--sedy-text); font-size: 13px; margin-left: 52px; }
.zp-akce details { margin-left: 52px; font-size: 14px; color: var(--sedy-text); }
.zp-akce details p { margin: 4px 0 0; white-space: pre-line; }
.zp-tyden { margin: 14px 0 0; padding-top: 8px; font: 700 13px/1.2 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--jinde); }
.zp-tyden:first-child { margin-top: 4px; }
@media (max-width: 520px) { .zp-ikona { display: none; } .zp-den { grid-template-columns: 70px minmax(0, 1fr); } .zp-meta, .zp-akce details { margin-left: 0; } }
.zp-karta a.btn { text-decoration: none; display: inline-flex; align-items: center; }
