:root {
  --pozadi: #111214;
  --plocha: #191a1d;
  --plocha-2: #202126;
  --linka: rgba(255, 255, 255, 0.08);
  --linka-silna: rgba(255, 255, 255, 0.16);
  --text: #ececee;
  --tlumene: #9a9ba3;
  --akcent: #f2b33d;
  --akcent-text: #1b1406;
  --discord: #5865f2;
  --polomer: 10px;
  --pismo: "Figtree", system-ui, sans-serif;
  --pismo-nadpis: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--pozadi);
  color: var(--text);
  font: 400 16px/1.55 var(--pismo);
}

a { color: inherit; }
h1, h2 { font-family: var(--pismo-nadpis); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.15; }
h2 { font-size: 1.1rem; line-height: 1.3; }
p { margin: 0; }
.tlumene { color: var(--tlumene); }
.inline { display: inline; margin: 0; }

/* lišta */
.lista { border-bottom: 1px solid var(--linka); }
.lista-obsah, .obsah, .paticka {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.lista-obsah { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.znacka { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--pismo-nadpis); font-weight: 700; font-size: 1.1rem; }
.znacka-logo { width: 30px; height: 30px; fill: none; stroke: var(--akcent); stroke-width: 2.6; stroke-linecap: round; }
.lista-nav { display: flex; align-items: center; gap: 16px; }
.lista-nav > a:not(.btn) { text-decoration: none; color: var(--tlumene); font-weight: 500; }
.lista-nav > a:not(.btn):hover { color: var(--text); }
.uzivatel { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.uzivatel img { border-radius: 50%; }

/* tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 8px;
  font: 600 0.95rem/1 var(--pismo);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.btn-sm { height: 34px; padding: 0 13px; font-size: 0.88rem; }
.btn-hlavni { background: var(--akcent); color: var(--akcent-text); }
.btn-hlavni:hover { background: #f6c260; }
.btn-tichy { background: transparent; color: var(--text); border-color: var(--linka-silna); }
.btn-tichy:hover { background: var(--plocha-2); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #6a75f4; }

/* obsah */
.obsah { flex: 1; padding-top: 40px; padding-bottom: 64px; }
.hlavicka { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.hlavicka .tlumene { margin-top: 6px; }
.hlaska { padding: 12px 14px; border: 1px solid var(--linka-silna); border-radius: var(--polomer); margin-bottom: 20px; }

/* úvod */
.uvod { padding: 48px 0 56px; max-width: 680px; }
.uvod h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.uvod-text { margin-top: 18px; font-size: 1.15rem; color: var(--tlumene); max-width: 560px; }
.uvod-akce { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.funkce {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--linka);
}
.funkce article { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--linka); }
.funkce article:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--linka); }
.funkce p { margin-top: 8px; color: var(--tlumene); }

/* servery */
.skupina + .skupina { margin-top: 36px; }
.skupina h2 { font-size: 0.95rem; color: var(--tlumene); font-family: var(--pismo); font-weight: 600; margin-bottom: 10px; }
.seznam, .moduly { list-style: none; margin: 0; padding: 0; border: 1px solid var(--linka); border-radius: var(--polomer); background: var(--plocha); }
.server, .modul { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.server + .server, .modul + .modul { border-top: 1px solid var(--linka); }
.server-ikona { flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.server-ikona-text { display: inline-flex; align-items: center; justify-content: center; background: var(--plocha-2); font-weight: 600; color: var(--tlumene); }
.server-ikona-velka { width: 56px; height: 56px; border-radius: 14px; font-size: 1.1rem; }
.server-nazev { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prazdne { padding: 28px; border: 1px dashed var(--linka-silna); border-radius: var(--polomer); }
.prazdne .tlumene { margin-top: 6px; }

/* server */
.zpet { display: inline-block; margin-bottom: 18px; color: var(--tlumene); text-decoration: none; font-weight: 500; }
.zpet::before { content: "\2190\00a0"; }
.zpet:hover { color: var(--text); }
.hlavicka-server { justify-content: flex-start; align-items: center; }
.modul { justify-content: space-between; padding: 18px 20px; }
.modul p { margin-top: 4px; color: var(--tlumene); font-size: 0.95rem; }
.stav { flex: none; color: var(--tlumene); font-size: 0.88rem; }

.chyba { max-width: 520px; padding: 40px 0; }
.chyba .tlumene { margin: 10px 0 24px; }

/* patička */
.paticka { display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--linka); color: var(--tlumene); font-size: 0.9rem; }
.paticka a { color: var(--text); text-decoration: none; }

@media (max-width: 720px) {
  .lista-obsah, .obsah, .paticka { padding-left: 16px; padding-right: 16px; }
  .uzivatel-jmeno { display: none; }
  .lista-nav { gap: 10px; }
  .uvod { padding: 24px 0 40px; }
  .funkce { grid-template-columns: 1fr; }
  .funkce article, .funkce article:nth-child(even) { padding: 22px 0; border-left: 0; }
  .hlavicka { flex-direction: column; align-items: flex-start; }
  .hlavicka-server { flex-direction: row; align-items: center; }
  .modul { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 420px) {
  .znacka span { display: none; }
}

/* --- společné prvky stránek serveru ------------------------------------------- */
.obsah-siroky { max-width: 1120px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 0.82rem; border-radius: 6px; }
.btn:disabled { opacity: 0.4; cursor: default; }
.hlaska-ok { border-color: rgba(242, 179, 61, 0.45); }
.hlaska-chyba { border-color: rgba(240, 98, 98, 0.55); color: #f6b4b4; }
.hlavicka-server-text { min-width: 0; }
.uvodni-veta { margin: -8px 0 20px; }
.zalozky { display: flex; gap: 18px; margin-top: 8px; }
.zalozky a { color: var(--tlumene); text-decoration: none; font-weight: 500; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.zalozky a:hover { color: var(--text); }
.zalozky a.aktivni { color: var(--text); border-bottom-color: var(--akcent); }
.odkaz-ven { color: var(--tlumene); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.odkaz-ven::after { content: "\00a0\2197"; }
.odkaz-ven:hover { color: var(--text); }
.tlacitko-smazat { background: none; border: 0; padding: 0; color: var(--tlumene); font: 500 0.88rem var(--pismo); cursor: pointer; }
.tlacitko-smazat:hover { color: #f08080; }

.panel { border: 1px solid var(--linka); border-radius: var(--polomer); background: var(--plocha); }
.panel-hlava { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.panel-hlava h2 { font-size: 1rem; }
.panel-akce { display: flex; gap: 8px; flex-wrap: wrap; }
.pocet { font: 400 0.88rem var(--pismo); color: var(--tlumene); margin-left: 6px; font-variant-numeric: tabular-nums; }
.panel-prazdno { padding: 4px 20px 22px; color: var(--tlumene); }
.zpravy-seznam { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linka); }
.zpravy-seznam li { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.zpravy-seznam li + li { border-top: 1px solid var(--linka); }
.zprava-polozka { flex: 1; min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.zprava-polozka b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zprava-polozka:hover b { text-decoration: underline; }
.zprava-polozka span { font-size: 0.85rem; color: var(--tlumene); }
.zprava-polozka em { font-style: normal; }
.stav-odeslano { color: var(--akcent); }
.zprava-akce { display: flex; align-items: center; gap: 14px; flex: none; }
.zprava-akce form { display: flex; align-items: center; gap: 14px; }

/* formulářová pole */
input[type="text"], select, textarea {
  width: 100%; height: 40px; padding: 0 12px;
  background: var(--pozadi); color: var(--text);
  border: 1px solid var(--linka-silna); border-radius: 8px;
  font: 400 0.95rem var(--pismo); outline: none;
}
textarea { height: auto; padding: 10px 12px; }
input[type="text"]:focus, select:focus, textarea:focus { border-color: rgba(242, 179, 61, 0.7); }
input:disabled, select:disabled { opacity: 0.6; }
select { -webkit-appearance: none; appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9ba3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
select option, select optgroup { background: #1a1b1e; color: var(--text); }
.pole { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pole-popis { font-size: 0.85rem; font-weight: 600; color: var(--tlumene); }
.pole-popis em { font-style: normal; font-weight: 400; margin-left: 4px; }
.pole-napoveda { font-size: 0.8rem; color: var(--tlumene); }
.barva-pole { display: flex; align-items: center; gap: 10px; height: 40px; }
input[type="color"] { width: 56px; height: 36px; padding: 2px 4px; border: 1px solid var(--linka-silna); border-radius: 8px; background: var(--pozadi); cursor: pointer; }
input[type="color"]:disabled { opacity: 0.35; cursor: default; }
.prepinac { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; cursor: pointer; }
.prepinac input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.prepinac span { position: absolute; inset: 0; border-radius: 11px; background: #3a3b41; transition: background-color .15s; pointer-events: none; }
.prepinac span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.prepinac input:checked + span { background: var(--akcent); }
.prepinac input:checked + span::after { transform: translateX(18px); }
.prepinac input:focus-visible + span { outline: 2px solid var(--akcent); outline-offset: 2px; }

/* --- editor zpráv ---------------------------------------------------------------- */
.dz-nastaveni { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 20px; padding: 18px 20px; margin-bottom: 20px; }
.dz-platno { background: #313338; border: 1px solid #26272b; border-radius: var(--polomer); padding: 24px 20px; }
.dz-zprava { display: flex; gap: 14px; font-family: "gg sans", "Noto Sans", system-ui, sans-serif; color: #dbdee1; max-width: 680px; }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.dc-telo { min-width: 0; flex: 1; }
.dc-autor { font-weight: 600; color: #f2f3f5; font-size: 15px; margin-bottom: 4px; }
.dc-app { background: #5865f2; color: #fff; font-size: 10px; font-weight: 600; padding: 1px 5px; border-radius: 3px; vertical-align: 2px; }
.dc-cas { font-size: 12px; color: #949ba4; font-weight: 400; margin-left: 4px; }
.dc-zminka { background: rgba(88, 101, 242, 0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dz-ping-radek { font-size: 15px; margin-bottom: 6px; }
.dz-kontejner { background: #2b2d31; border: 1px solid #3a3c42; border-radius: 8px; padding: 14px 16px; margin-right: 46px; }
.dz-kontejner.s-barvou { border-left: 4px solid; }
.dz-prazdny-kontejner { font-size: 14px; color: #949ba4; padding: 6px 0; }
.dz-blok { position: relative; border-radius: 4px; outline: 1px dashed transparent; outline-offset: 3px; }
.dz-blok + .dz-blok { margin-top: 8px; }
.dz-blok:hover { outline-color: rgba(255, 255, 255, 0.12); }
.dz-blok.vybrany { outline-color: rgba(255, 255, 255, 0.3); }
.dz-kontejner .dz-nadpis, .dz-kontejner .dz-text { width: 100%; height: auto; background: none; border: 0; padding: 0; margin: 0; color: #f2f3f5; font-family: inherit; border-radius: 0; resize: none; overflow: hidden; display: block; }
.dz-nadpis::placeholder, .dz-text::placeholder { color: #6d6f78; }
.dz-kontejner .dz-h1 { font-size: 24px; font-weight: 700; line-height: 1.3; color: #f2f3f5; }
.dz-kontejner .dz-h2 { font-size: 20px; font-weight: 700; line-height: 1.3; color: #f2f3f5; }
.dz-kontejner .dz-h3 { font-size: 16px; font-weight: 700; line-height: 1.35; color: #f2f3f5; }
.dz-kontejner .dz-text { font-size: 14px; line-height: 1.45; color: #dbdee1; min-height: 20px; }
.dz-blok-text .dz-text { display: none; }
.dz-blok-text.pise .dz-text, .dz-blok-text.prazdny .dz-text { display: block; }
.dz-blok-text.pise .dz-render, .dz-blok-text.prazdny .dz-render { display: none; }
.dz-render { font-size: 14px; line-height: 1.45; overflow-wrap: break-word; cursor: text; }
.dz-render ul, .dz-render ol { margin: 2px 0; padding-left: 22px; }
.dz-render b { color: #f2f3f5; }
.dz-render code { background: #1e1f22; border-radius: 3px; padding: 1px 4px; font-size: 13px; }
.dz-render .dz-h1, .dz-render .dz-h2, .dz-render .dz-h3 { margin: 6px 0 2px; }
.dz-maly { font-size: 12px; color: #949ba4; }
.dz-citace { border-left: 4px solid #4e5058; padding-left: 10px; }
.dz-odkaz { color: #00a8fc; }
.dz-spoiler { background: #1e1f22; color: #1e1f22; border-radius: 3px; cursor: pointer; }
.dz-spoiler:hover { color: #dbdee1; }
.dz-obrazek { display: block; width: 100%; max-height: 420px; object-fit: contain; border-radius: 8px; background: #1e1f22; }
.dz-drop { border: 1px dashed #4e5058; border-radius: 8px; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #949ba4; cursor: pointer; text-align: center; padding: 16px; }
.dz-drop b { color: #dbdee1; font-size: 14px; font-weight: 600; }
.dz-drop span { font-size: 12px; }
.dz-drop:hover, .dz-blok-obrazek.pretahuje .dz-drop { border-color: #949ba4; color: #dbdee1; }
.dz-chyba { font-size: 13px; color: #f87171; margin-top: 6px; }
.dz-oddelovac { position: relative; }
.dz-oddelovac.mezera-1 { height: 16px; }
.dz-oddelovac.mezera-2 { height: 32px; }
.dz-oddelovac.cara::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #3f4147; }
.dz-oddelovac:not(.cara)::after { content: "mezera"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #4e5058; }

.dz-nastroje { position: sticky; top: 8px; z-index: 6; display: flex; align-items: center; flex-wrap: wrap; gap: 2px; min-height: 38px; margin: 4px 46px 10px 0; background: #1e1f22; border: 1px solid #3a3c42; border-radius: 6px; padding: 3px; font-family: var(--pismo); }
.dz-nastroje-tip { font-size: 13px; color: #949ba4; padding: 0 9px; }
.dz-nastroje-typ { font-size: 12px; color: #949ba4; padding: 0 10px 0 8px; margin-right: 4px; border-right: 1px solid #3a3c42; }
.dz-nastroje button { background: none; border: 0; color: #b5bac1; font: 13px var(--pismo); padding: 5px 9px; border-radius: 4px; cursor: pointer; min-width: 30px; display: inline-flex; align-items: center; justify-content: center; }
.dz-nastroje button:hover:not(:disabled) { background: #2e3035; color: #f2f3f5; }
.dz-nastroje button.zap { background: #3a3c42; color: #f2f3f5; }
.dz-nastroje button:disabled { opacity: 0.35; cursor: default; }
.dz-nastroje button.cervena:hover { color: #f87171; }
.dz-nastroje-akce { display: none; margin-left: auto; }
.dz-lista-oddel { width: 1px; height: 18px; background: #3a3c42; margin: 0 3px; }
.dz-akce { position: absolute; top: -4px; left: calc(100% + 26px); display: none; flex-direction: column; gap: 4px; }
.dz-blok.vybrany .dz-akce { display: flex; }
.dz-akce button { width: 30px; height: 30px; border-radius: 6px; border: 0; background: #1e1f22; color: #b5bac1; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dz-akce button:hover:not(:disabled) { background: #2e3035; color: #f2f3f5; }
.dz-akce button.cervena:hover { color: #f87171; }
.dz-akce button:disabled { opacity: 0.35; cursor: default; }
.dz-pridat { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dz-pridat button { background: none; border: 1px dashed #4e5058; color: #b5bac1; border-radius: 6px; padding: 7px 12px; font: 13px var(--pismo); cursor: pointer; }
.dz-pridat button::before { content: "+"; margin-right: 6px; }
.dz-pridat button:hover:not(:disabled) { border-color: #949ba4; color: #f2f3f5; }
.dz-pridat button:disabled { opacity: 0.4; cursor: default; }
.dz-pocitadlo { font: 12px var(--pismo); color: #949ba4; margin-top: 10px; font-variant-numeric: tabular-nums; }
.dz-pocitadlo.pres { color: #f87171; }
.dz-napoveda { font-size: 12px; color: #949ba4; line-height: 1.8; margin-top: 20px; padding-top: 14px; border-top: 1px solid #3a3c42; }
.dz-napoveda code { background: #1e1f22; border-radius: 3px; padding: 1px 5px; color: #dbdee1; white-space: nowrap; }
.dz-lista { position: sticky; bottom: 12px; z-index: 10; display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; padding: 12px 16px; background: var(--plocha); border: 1px solid var(--linka-silna); border-radius: var(--polomer); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.neulozeno { font-size: 0.88rem; color: var(--akcent); margin-right: auto; visibility: hidden; }
.neulozeno.vidit { visibility: visible; }

/* tlačítka s rolemi v náhledu */
.dz-role-nahled { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-tlacitko { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #fff; }
.dc-tlacitko.styl-1 { background: #5865f2; }
.dc-tlacitko.styl-2 { background: #4e5058; }
.dc-tlacitko.styl-3 { background: #248046; }
.dc-tlacitko.styl-4 { background: #da373c; }
.dc-tlacitko.nedokoncene { opacity: 0.5; }
.dc-emoji { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.dc-emoji-text { font-size: 16px; line-height: 1; }
.dz-role-prazdne { font-size: 13px; color: #949ba4; }
.dz-role-editor { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid #3a3c42; font-family: var(--pismo); }
.dz-blok-role.vybrany .dz-role-editor { display: block; }
.dz-role-radek { display: grid; grid-template-columns: minmax(0, 1.3fr) 40px minmax(0, 1.3fr) 104px 30px; gap: 6px; align-items: center; margin-bottom: 6px; }
.dz-role-radek input, .dz-role-radek select { height: 36px; background: #1e1f22; border-color: #3a3c42; font-size: 0.88rem; }
.dz-role-emoji { height: 36px; border: 1px solid #3a3c42; border-radius: 8px; background: #1e1f22; color: #b5bac1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.dz-role-emoji:hover { border-color: #6d6f78; color: #f2f3f5; }
.dz-role-emoji .dc-emoji { width: 20px; height: 20px; }
.dz-role-odebrat { width: 30px; height: 30px; border: 0; border-radius: 6px; background: none; color: #949ba4; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dz-role-odebrat:hover { color: #f87171; background: #2e3035; }
.dz-role-jedna { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #b5bac1; cursor: pointer; }
.dz-role-jedna input { accent-color: var(--akcent); width: 16px; height: 16px; }

/* výběr emoji */
.emoji-vyber { position: fixed; z-index: 50; width: 300px; max-height: 360px; overflow-y: auto; padding: 10px; background: var(--plocha); border: 1px solid var(--linka-silna); border-radius: var(--polomer); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.emoji-vyber[hidden] { display: none; }
.emoji-vyber input { height: 34px; margin-bottom: 10px; font-size: 0.88rem; }
.emoji-sekce { margin-bottom: 10px; }
.emoji-sekce[hidden] { display: none; }
.emoji-sekce > span { display: block; font-size: 0.8rem; color: var(--tlumene); margin-bottom: 6px; }
.emoji-sekce > div { display: flex; flex-wrap: wrap; gap: 2px; }
.emoji-sekce button { width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.emoji-sekce button:hover { background: var(--plocha-2); }
.emoji-sekce .dc-emoji { width: 24px; height: 24px; }
.emoji-nic { font-size: 0.85rem; color: var(--tlumene); }
.emoji-zadne { width: 100%; height: 32px; border: 1px solid var(--linka-silna); border-radius: 8px; background: none; color: var(--text); font: 500 0.85rem var(--pismo); cursor: pointer; }
.emoji-zadne:hover { background: var(--plocha-2); }

@media (max-width: 1000px) {
  .dz-nastaveni { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .dz-nastaveni { grid-template-columns: minmax(0, 1fr); }
  .dz-platno { padding: 18px 12px; }
  .dz-zprava .dc-avatar { display: none; }
  .dz-kontejner { margin-right: 0; padding: 12px; }
  .dz-akce, .dz-blok.vybrany .dz-akce { display: none; }
  .dz-nastroje { margin-right: 0; }
  .dz-nastroje-typ { display: none; }
  .dz-nastroje-akce { display: inline-flex; }
  .dz-lista { bottom: 8px; }
  .dz-lista .btn { flex: 1; }
  .dz-role-radek { grid-template-columns: minmax(0, 1fr) 30px 40px 30px; margin-bottom: 12px; }
  .dz-role-radek .dz-role-popisek { grid-column: 1 / 3; grid-row: 1; }
  .dz-role-radek .dz-role-emoji { grid-column: 3; grid-row: 1; }
  .dz-role-radek .dz-role-odebrat { grid-column: 4; grid-row: 1; }
  .dz-role-radek .dz-role-role { grid-column: 1; grid-row: 2; }
  .dz-role-radek .dz-role-styl { grid-column: 2 / 5; grid-row: 2; }
  .zpravy-seznam li { flex-direction: column; align-items: stretch; gap: 8px; }
  .panel-hlava { padding: 14px 16px; }
  .zpravy-seznam li, .panel-prazdno { padding-left: 16px; padding-right: 16px; }
}
.dz-role-pridat { background: none; border: 1px dashed #4e5058; color: #b5bac1; border-radius: 6px; padding: 6px 12px; font: 13px var(--pismo); cursor: pointer; margin-top: 2px; }
.dz-role-pridat::before { content: "+"; margin-right: 6px; }
.dz-role-pridat:hover { border-color: #949ba4; color: #f2f3f5; }

/* --- upozornění na streamy -------------------------------------------------------- */
.poznamka { font-size: 0.85rem; margin-top: 12px; }
.platforma-kick { color: #53fc18; }
.platforma-twitch { color: #a970ff; }
.alerty-seznam { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linka); }
.alerty-seznam li { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.alerty-seznam li + li { border-top: 1px solid var(--linka); }
.alerty-seznam li.vypnuty .alert-avatar, .alerty-seznam li.vypnuty .alert-info { opacity: 0.5; }
.alert-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.85rem; }
.alert-info { flex: 1; min-width: 0; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.alert-info b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-info:hover b { text-decoration: underline; }
.alert-info > span { font-size: 0.85rem; color: var(--tlumene); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zive { font-style: normal; font-size: 0.75rem; font-weight: 600; color: #fff; background: #d83c3e; border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.alert-akce { display: flex; align-items: center; gap: 14px; flex: none; }
.prazdny-alert p { max-width: 620px; }
.vyber-platformy { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; margin-top: 18px; }
.platforma-karta { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--linka-silna); border-radius: var(--polomer); text-decoration: none; border-left-width: 4px; }
.platforma-karta b { font-family: var(--pismo-nadpis); font-size: 1.15rem; color: var(--text); }
.platforma-karta span { font-size: 0.88rem; color: var(--tlumene); }
.platforma-karta.kick { border-left-color: #53fc18; }
.platforma-karta.twitch { border-left-color: #9146ff; }
.platforma-karta:hover { background: var(--plocha-2); }

.al-rozlozeni { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.al-formular { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
.al-nahled-sloupec { position: sticky; top: 16px; }
.al-lista { grid-column: 1 / -1; margin-top: 0; }
.segment { display: inline-flex; border: 1px solid var(--linka-silna); border-radius: 8px; padding: 3px; gap: 3px; align-self: flex-start; }
.segment-volba { position: relative; cursor: pointer; }
.segment-volba input { position: absolute; opacity: 0; pointer-events: none; }
.segment-volba span { display: block; padding: 7px 18px; border-radius: 6px; font-weight: 600; font-size: 0.92rem; color: var(--tlumene); }
.segment-volba:hover span { color: var(--text); }
.segment-volba input:checked + span { background: var(--plocha-2); color: var(--text); }
.segment-volba.kick input:checked + span { box-shadow: inset 0 -2px 0 #53fc18; }
.segment-volba.twitch input:checked + span { box-shadow: inset 0 -2px 0 #9146ff; }
.segment-volba input:focus-visible + span { outline: 2px solid var(--akcent); }
.promenne { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.82rem; color: var(--tlumene); }
.promenne button { border: 1px solid var(--linka-silna); background: none; color: var(--text); border-radius: 6px; padding: 3px 9px; font: 500 0.82rem var(--pismo); cursor: pointer; }
.promenne button:hover { background: var(--plocha-2); }
.radek-prepinac { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--linka); cursor: pointer; }
.radek-prepinac > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.radek-prepinac b { font-weight: 600; }
.radek-prepinac .tlumene { font-size: 0.85rem; }

.al-obsah { font-size: 15px; line-height: 1.4; margin-bottom: 6px; overflow-wrap: anywhere; }
.al-obsah[hidden] { display: none; }
.dc-embed { max-width: 440px; background: #2b2d31; border-left: 4px solid #4e5058; border-radius: 4px; padding: 10px 14px 12px; }
.dc-embed.kick { border-left-color: #53fc18; }
.dc-embed.twitch { border-left-color: #9146ff; }
.dc-embed-autor { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #f2f3f5; margin-bottom: 6px; }
.dc-embed-avatar { width: 22px; height: 22px; border-radius: 50%; background: #4e5058 center / cover no-repeat; flex: none; }
.dc-embed-nadpis { font-size: 15px; font-weight: 600; color: #00a8fc; margin-bottom: 8px; }
.dc-embed-pole { display: flex; gap: 32px; font-size: 14px; color: #dbdee1; margin-bottom: 10px; }
.dc-embed-pole b { display: block; font-size: 13px; color: #f2f3f5; margin-bottom: 2px; }
.dc-embed-obrazek { aspect-ratio: 16 / 9; border-radius: 4px; background: #1e1f22; display: flex; align-items: center; justify-content: center; color: #6d6f78; font-size: 13px; }
.dc-embed-pata { font-size: 12px; color: #949ba4; margin-top: 8px; }
.dc-odkaz { margin-top: 8px; }
.dc-odkaz::after { content: "\00a0\2197"; font-size: 12px; }

@media (max-width: 900px) {
  .al-rozlozeni { grid-template-columns: minmax(0, 1fr); }
  .al-nahled-sloupec { position: static; }
}
@media (max-width: 720px) {
  .alerty-seznam li { flex-wrap: wrap; padding-left: 16px; padding-right: 16px; }
  .alert-akce { width: 100%; padding-left: 54px; }
  .vyber-platformy { grid-template-columns: minmax(0, 1fr); }
  .al-formular { padding: 16px; }
}

/* --- přístup k nastavení ---------------------------------------------------------- */
.pristup-cast { padding: 18px 20px; border-bottom: 1px solid var(--linka); }
.pristup-cast h2 { font-size: 1rem; margin-bottom: 6px; }
.pristup-cast > p { max-width: 640px; font-size: 0.92rem; }
.role-vyber { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.role-vyber label { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--linka); border-radius: 8px; cursor: pointer; min-width: 0; }
.role-vyber label:hover { background: var(--plocha-2); }
.role-vyber input { accent-color: var(--akcent); width: 16px; height: 16px; flex: none; margin: 0; }
.role-vyber input:checked ~ .role-jmeno { color: var(--text); font-weight: 600; }
.role-tecka { width: 10px; height: 10px; border-radius: 50%; background: #99aab5; flex: none; }
.role-jmeno { color: var(--tlumene); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pristup .prazdne { margin-top: 14px; }
.pristup-akce { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px 20px; }

/* --- výběr serveru (karty) ---------------------------------------------------------- */
.hlavicka-stred { flex-direction: column; align-items: center; text-align: center; }
.hlavicka-stred .tlumene { max-width: 560px; }
.odkaz-tichy { color: var(--text); white-space: nowrap; }
.karty-serveru { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.karta-serveru { min-width: 0; }
.karta-serveru-banner { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: var(--polomer); overflow: hidden; background: var(--plocha-2); }
.banner-pozadi { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(18px) brightness(0.55); }
.banner-ikona { position: relative; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.85); }
.banner-ikona-text { display: inline-flex; align-items: center; justify-content: center; background: var(--plocha); color: var(--tlumene); font-weight: 600; font-size: 1.2rem; border-color: var(--linka-silna); }
.karta-serveru-banner:hover .banner-pozadi { filter: blur(18px) brightness(0.7); }
.karta-serveru-pata { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.karta-serveru-text { min-width: 0; display: flex; flex-direction: column; }
.karta-serveru-text b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.karta-serveru-text span { font-size: 0.82rem; color: var(--tlumene); }
@media (max-width: 900px) { .karty-serveru { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .karty-serveru { grid-template-columns: minmax(0, 1fr); } }

/* --- moderace ------------------------------------------------------------------------ */
.modul-karta-hlava { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--linka); }
.modul-karta-hlava h2 { font-size: 1.05rem; margin-bottom: 4px; }
.modul-karta-hlava p { max-width: 640px; font-size: 0.92rem; }
.prepinac-velky { transform: scale(1.15); transform-origin: right top; margin-top: 2px; }
.modul-karta-telo { padding: 18px 20px; border-bottom: 1px solid var(--linka); transition: opacity .15s; }
.modul-karta-telo.vypnuto { opacity: 0.5; }
.mod-mrizka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.mod-historie { margin-top: 24px; }
.stav-ban { color: #f08080; font-style: normal; }
.stav-chyba { color: var(--akcent); font-style: normal; }
@media (max-width: 720px) { .mod-mrizka { grid-template-columns: minmax(0, 1fr); } .modul-karta-hlava { padding: 16px; } }

/* --- rozložení stránek serveru (levý panel jako MEE6) ---------------------------------- */
.obsah-server { max-width: 1280px; padding-top: 28px; }
.server-rozlozeni { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.server-panel { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.server-obsah { min-width: 0; }

.prepinac-serveru { position: relative; }
.prepinac-serveru summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--linka-silna); border-radius: var(--polomer); background: var(--plocha); cursor: pointer; font-weight: 600; }
.prepinac-serveru summary::-webkit-details-marker { display: none; }
.prepinac-serveru summary img, .mini-ikona { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; }
.mini-ikona { display: inline-flex; align-items: center; justify-content: center; background: var(--plocha-2); color: var(--tlumene); font-size: 0.72rem; font-weight: 600; }
.prepinac-serveru-jmeno { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prepinac-serveru .sipka { width: 16px; height: 16px; color: var(--tlumene); transition: transform .15s; flex: none; }
.prepinac-serveru[open] .sipka { transform: rotate(180deg); }
.prepinac-serveru-seznam { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 360px; overflow-y: auto; padding: 6px; background: var(--plocha); border: 1px solid var(--linka-silna); border-radius: var(--polomer); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.prepinac-serveru-seznam a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 6px; text-decoration: none; font-size: 0.92rem; }
.prepinac-serveru-seznam a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prepinac-serveru-seznam a img, .prepinac-serveru-seznam .mini-ikona { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.prepinac-serveru-seznam a:hover { background: var(--plocha-2); }
.prepinac-serveru-vse { color: var(--tlumene); border-top: 1px solid var(--linka); border-radius: 0 0 6px 6px !important; margin-top: 4px; }

.menu-prepinac, .menu-tlacitko { display: none; }
.server-nav { display: flex; flex-direction: column; gap: 2px; }
.server-nav a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 8px; color: var(--tlumene); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.server-nav a:hover { background: var(--plocha); color: var(--text); }
.server-nav a.aktivni { background: var(--plocha-2); color: var(--text); }
.server-nav a span { flex: 1; min-width: 0; }
.server-nav .ikona { width: 19px; height: 19px; flex: none; }
.server-nav-nadpis { font-size: 0.78rem; font-weight: 600; color: var(--tlumene); padding: 16px 12px 6px; }
.tecka { width: 7px; height: 7px; border-radius: 50%; background: #55565d; flex: none; display: inline-block; }
.tecka.zapnuto { background: var(--akcent); }

.modul-hlava { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.modul-hlava h1 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.modul-hlava .tlumene { margin-top: 6px; max-width: 680px; }
.modul-prepinac { display: flex; align-items: center; gap: 10px; flex: none; margin: 4px 0 0; padding: 6px 6px 6px 12px; border: 1px solid var(--linka-silna); border-radius: 999px; }
.modul-stav { font-size: 0.88rem; font-weight: 600; }
.modul-prepinac .prepinac-velky { transform: none; margin: 0; }
.obsah-server .zpet { margin-bottom: 12px; }

/* přehled: karty modulů */
.karty-modulu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.karta-modulu { display: flex; flex-direction: column; border: 1px solid var(--linka); border-radius: var(--polomer); background: var(--plocha); }
.karta-modulu:hover { border-color: var(--linka-silna); }
.karta-modulu-odkaz { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 12px; text-decoration: none; }
.karta-modulu-ikona { width: 40px; height: 40px; border-radius: 10px; background: var(--plocha-2); display: flex; align-items: center; justify-content: center; color: var(--akcent); margin-bottom: 4px; }
.karta-modulu-ikona .ikona { width: 22px; height: 22px; }
.karta-modulu-odkaz b { font-family: var(--pismo-nadpis); font-size: 1.08rem; }
.karta-modulu-popis { font-size: 0.9rem; color: var(--tlumene); }
.karta-modulu-pata { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 16px; min-height: 50px; }
.stav-aktivni { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; background: rgba(242, 179, 61, 0.12); color: var(--akcent); font-weight: 600; font-size: 0.88rem; text-decoration: none; }
.karta-modulu-info { font-size: 0.82rem; color: var(--tlumene); }

/* role: šablony */
.sekce-nadpis { font-size: 1rem; margin-bottom: 12px; }
.sablony { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sablona { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--linka); border-radius: var(--polomer); background: var(--plocha); text-decoration: none; }
.sablona:hover { border-color: var(--linka-silna); background: var(--plocha-2); }
.sablona b { font-weight: 600; }
.sablona > span:not(.sablona-tlacitka) { font-size: 0.86rem; color: var(--tlumene); }
.sablona-tlacitka { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.sablona-tlacitka .dc-tlacitko { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 6px; }
.sablona-tlacitka .dc-emoji-text { font-size: 13px; }

/* seznamy: štítek stavu a menu ⋮ */
.stitek { flex: none; font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--plocha-2); color: var(--tlumene); }
.stitek-ok { background: rgba(242, 179, 61, 0.12); color: var(--akcent); }
.menu-akci { position: relative; flex: none; }
.menu-akci summary { list-style: none; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--tlumene); cursor: pointer; }
.menu-akci summary::-webkit-details-marker { display: none; }
.menu-akci summary:hover, .menu-akci[open] summary { background: var(--plocha-2); color: var(--text); }
.menu-akci summary svg { width: 18px; height: 18px; }
.menu-akci-seznam { position: absolute; z-index: 20; right: 0; top: calc(100% + 4px); min-width: 190px; padding: 6px; background: var(--plocha); border: 1px solid var(--linka-silna); border-radius: var(--polomer); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.menu-akci-seznam form { margin: 0; }
.menu-akci-seznam a, .menu-akci-seznam button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--text); font: 500 0.9rem var(--pismo); text-align: left; text-decoration: none; cursor: pointer; }
.menu-akci-seznam a:hover, .menu-akci-seznam button:hover { background: var(--plocha-2); }
.menu-akci-seznam .cervena { color: #f08080; }

@media (max-width: 900px) {
  .server-rozlozeni { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .server-panel { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .menu-tlacitko { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--linka-silna); border-radius: var(--polomer); font-weight: 600; cursor: pointer; }
  .menu-tlacitko svg { width: 18px; height: 18px; }
  .server-nav { display: none; grid-column: 1 / -1; padding: 6px; border: 1px solid var(--linka); border-radius: var(--polomer); background: var(--plocha); }
  .menu-prepinac:checked ~ .server-nav { display: flex; }
}
@media (max-width: 720px) {
  .modul-hlava { flex-direction: column; gap: 12px; }
  .zpravy-seznam li { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .zpravy-seznam li .zprava-polozka { flex: 1 1 100%; }
}
body:has(.obsah-server) .lista-obsah, body:has(.obsah-server) .paticka { max-width: 1280px; }
.dz-role-tip { flex-basis: 100%; color: #f2b33d; }

/* --- úvodní stránka ------------------------------------------------------------------ */
.obsah-uvod { max-width: 1120px; padding-top: 24px; }
.btn-velky { height: 48px; padding: 0 24px; font-size: 1rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0 64px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; }
.hero-popis { margin-top: 20px; font-size: 1.12rem; color: var(--tlumene); max-width: 520px; }
.hero-akce { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* náhledy Discordu (mockupy) */
.mk-okno { background: #313338; border: 1px solid #26272b; border-radius: 12px; padding: 0 0 18px; font-family: "gg sans", "Noto Sans", system-ui, sans-serif; color: #dbdee1; font-size: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); }
.mk-kanal { padding: 12px 18px; border-bottom: 1px solid #26272b; color: #f2f3f5; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.mk-kanal span { color: #80848e; margin-right: 6px; font-weight: 400; }
.mk-zprava { padding: 0 18px 0 66px; position: relative; }
.mk-zprava-druha { margin-top: 18px; }
.mk-autor { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.mk-autor img { position: absolute; left: 18px; width: 36px; height: 36px; border-radius: 50%; }
.mk-autor b { color: #f2f3f5; font-weight: 600; font-size: 15px; }
.mk-cas { font-size: 12px; color: #949ba4; margin-left: 2px; }
.mk-text { margin-bottom: 6px; line-height: 1.4; }
.mk-embed { max-width: 400px; background: #2b2d31; border-left: 4px solid #4e5058; border-radius: 4px; padding: 10px 14px 12px; margin-bottom: 8px; }
.mk-embed.kick { border-left-color: #53fc18; }
.mk-embed.twitch { border-left-color: #9146ff; }
.mk-embed.ban { border-left-color: #da373c; }
.mk-embed-autor { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #f2f3f5; margin-bottom: 6px; }
.mk-avatar { width: 22px; height: 22px; border-radius: 50%; background: #2f7d32; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mk-avatar.fialovy { background: #6441a5; }
.mk-embed-nadpis { color: #00a8fc; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.mk-embed-nadpis.bily { color: #f2f3f5; }
.mk-embed-pole { display: flex; gap: 28px; font-size: 14px; }
.mk-embed-pole.tri { gap: 20px; flex-wrap: wrap; }
.mk-embed-pole b { display: block; color: #f2f3f5; font-size: 13px; margin-bottom: 2px; }
.mk-stream { position: relative; aspect-ratio: 16 / 9; margin-top: 10px; border-radius: 4px; background: #1e1f22; overflow: hidden; }
.mk-stream::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 55%; background: #26282d; border-radius: 50% 50% 0 0; }
.mk-stream::after { content: ""; position: absolute; left: 50%; top: 22%; width: 18%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #2c2e34; }
.mk-live { position: absolute; z-index: 1; left: 10px; top: 10px; background: #d83c3e; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.mk-kontejner { max-width: 440px; background: #2b2d31; border: 1px solid #3a3c42; border-radius: 8px; padding: 14px 16px; }
.mk-kontejner.s-prouzkem { border-left: 4px solid var(--akcent); }
.mk-kontejner p { margin: 4px 0 0; line-height: 1.45; }
.mk-h { font-size: 19px; font-weight: 700; color: #f2f3f5; }
.mk-obrazek { aspect-ratio: 16 / 7; margin-top: 12px; border-radius: 8px; background: #1e1f22; display: flex; align-items: center; justify-content: center; color: #5c5e66; font-size: 12px; }
.mk-oddelovac { border-top: 1px solid #3f4147; margin: 14px 0 10px; }
.mk-maly { font-size: 12px; color: #949ba4; }
.mk-tlacitka { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mk-skryta { margin: 14px 18px 0 66px; padding: 10px 12px; border-radius: 8px; background: #2b2d31; font-size: 14px; }
.mk-skryta-popis { display: block; font-size: 12px; color: #949ba4; margin-bottom: 2px; }

.pruh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linka); border-bottom: 1px solid var(--linka); }
.pruh div { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.pruh div + div { border-left: 1px solid var(--linka); }
.pruh b { font-family: var(--pismo-nadpis); font-size: 1.1rem; }
.pruh span { color: var(--tlumene); font-size: 0.92rem; }

.funkce-sekce { padding: 32px 0; }
.funkce-radek { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; }
.funkce-radek.obracene .funkce-nahled { order: 2; }
.funkce-text h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; margin-bottom: 16px; }
.funkce-text p { color: var(--tlumene); font-size: 1.02rem; max-width: 500px; }
.funkce-text p + p { margin-top: 10px; }
.funkce-text .btn { margin-top: 24px; }

.zaver { text-align: center; padding: 64px 0 80px; border-top: 1px solid var(--linka); }
.zaver h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.zaver p { color: var(--tlumene); margin: 12px auto 28px; max-width: 480px; }

@media (max-width: 900px) {
  .hero, .funkce-radek { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding: 16px 0 48px; }
  .funkce-radek { padding: 40px 0; }
  .funkce-radek.obracene .funkce-nahled { order: 0; }
  .pruh { grid-template-columns: minmax(0, 1fr); }
  .pruh div + div { border-left: 0; border-top: 1px solid var(--linka); }
}
@media (max-width: 520px) {
  .mk-zprava { padding-left: 18px; }
  .mk-autor img { display: none; }
  .mk-skryta { margin-left: 18px; }
  .mk-embed-pole { gap: 16px; }
}
body:has(.obsah-uvod) .lista-obsah, body:has(.obsah-uvod) .paticka { max-width: 1120px; }
.hero .mk-stream { aspect-ratio: 16 / 6; }
