:root {
  --pozadi:       #0c0e0f;
  --pozadi-2:     #111416;
  --pozadi-3:     #181b1d;
  --ohraniceni:   #252a2c;
  --ohraniceni-2: #2e3336;
  --akcent:       #e8000d;
  --text:         #e2e2e2;
  --text-tlumeny: #888;
  --text-dim:     #444;
  --bila:         #fff;
  --font-mono:    'IBM Plex Mono', monospace;
  --font-sans:    'IBM Plex Sans', sans-serif;
  --prechod:      0.15s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--pozadi);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--akcent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--pozadi); }
::-webkit-scrollbar-thumb { background: var(--ohraniceni-2); }

.hlavicka {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pozadi);
  border-bottom: 1px solid var(--ohraniceni);
}

.hlavicka-vnitrni {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bila);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding-right: 24px;
  border-right: 1px solid var(--ohraniceni);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover { color: var(--akcent); text-decoration: none; }

.navigace {
  display: flex;
  height: 100%;
  border-right: 1px solid var(--ohraniceni);
}

.nav-tlacitko {
  background: none;
  border: none;
  border-right: 1px solid var(--ohraniceni);
  color: var(--text-tlumeny);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--prechod);
}
.nav-tlacitko:hover { color: var(--text); background: var(--pozadi-3); }
.nav-tlacitko.aktivni { color: var(--bila); border-bottom: 2px solid var(--akcent); }

.pocet-oblibenych {
  background: var(--akcent);
  color: var(--bila);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
  display: none;
}
.pocet-oblibenych.viditelny { display: inline-block; }

.hlavicka-akce {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 100%;
  border-left: 1px solid var(--ohraniceni);
}

.tlacitko-ikona {
  background: none;
  border: none;
  border-right: 1px solid var(--ohraniceni);
  color: var(--text-tlumeny);
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--prechod);
}
.tlacitko-ikona:hover { color: var(--text); background: var(--pozadi-3); }

.tlacitko-prihlaseni {
  background: none;
  border: none;
  color: var(--text-tlumeny);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 16px;
  height: 100%;
  transition: all var(--prechod);
}
.tlacitko-prihlaseni:hover { color: var(--text); background: var(--pozadi-3); }
.tlacitko-prihlaseni.prihlasen { color: var(--akcent); }
.tlacitko-prihlaseni.prihlasen:hover { background: var(--pozadi-3); }

.panel-hledani {
  border-top: 1px solid var(--ohraniceni);
  background: var(--pozadi-2);
}
.panel-hledani input {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 10px 20px;
  outline: none;
}
.panel-hledani input::placeholder { color: var(--text-dim); }

.hlavni-obsah {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.lista-filtru {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--ohraniceni);
  margin-bottom: 0;
}

.skupina-filtru {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-right: 1px solid var(--ohraniceni);
}

.skupina-filtru label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  white-space: nowrap;
}

.skupina-razeni { margin-left: auto; border-right: none; border-left: 1px solid var(--ohraniceni); }

select {
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 20px 2px 0;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23444'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  letter-spacing: 0.03em;
}
select option { background: var(--pozadi-2); }

.stav-nacitani, .stav-chyby {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-tlumeny);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.kruznice-nacitani {
  width: 20px;
  height: 20px;
  border: 2px solid var(--ohraniceni-2);
  border-top-color: var(--akcent);
  border-radius: 50%;
  animation: toceni 0.7s linear infinite;
  margin: 0 auto 12px;
}
@keyframes toceni { to { transform: rotate(360deg); } }

.zadne-vysledky {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--ohraniceni);
}

.mrizka-her {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  border-left: 1px solid var(--ohraniceni);
}

.karta-hry {
  background: var(--pozadi);
  border-right: 1px solid var(--ohraniceni);
  border-bottom: 1px solid var(--ohraniceni);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: background var(--prechod);
}
.karta-hry:hover { background: var(--pozadi-2); }

.nahled-hry {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--pozadi-3);
}
.nahled-hry img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--prechod);
}
.karta-hry:hover .nahled-hry img { opacity: 0.85; }

.stitek-platformy {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--pozadi);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 6px;
  border-bottom: 1px solid var(--ohraniceni);
  border-right: 1px solid var(--ohraniceni);
}

.tlacitko-oblibene {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--pozadi);
  border: none;
  border-bottom: 1px solid var(--ohraniceni);
  border-left: 1px solid var(--ohraniceni);
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--prechod);
  z-index: 2;
}
.tlacitko-oblibene:hover { color: var(--akcent); }
.tlacitko-oblibene.ulozeno { color: var(--akcent); }

.info-karty {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--ohraniceni);
}
.zanr-hry {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--akcent);
  text-transform: uppercase;
}
.nazev-hry {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bila);
  line-height: 1.2;
}
.vyvojar-hry {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 4px;
}

.nadpis-sekce {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-tlumeny);
  padding: 12px 0 12px;
  border-bottom: 1px solid var(--ohraniceni);
  margin-bottom: 0;
}

.prekryti-panelu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 199;
}

.panel-detailu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(480px, 100vw);
  background: var(--pozadi-2);
  border-left: 1px solid var(--ohraniceni);
  z-index: 200;
  overflow-y: auto;
  animation: vysunutí 0.25s ease;
}
@keyframes vysunutí {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.panel-detailu-vnitrni { padding-bottom: 40px; }

.zavrit-panel {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--ohraniceni);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 16px;
  width: 100%;
  text-align: left;
  transition: all var(--prechod);
}
.zavrit-panel:hover { color: var(--text); background: var(--pozadi-3); }

.detail-obrazek img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.detail-telo { padding: 16px 20px; border-bottom: 1px solid var(--ohraniceni); }

.detail-nazev {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bila);
  line-height: 1.2;
  margin-bottom: 10px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid var(--ohraniceni);
}
.meta-stitek {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-tlumeny);
  padding: 4px 10px;
  border-right: 1px solid var(--ohraniceni);
  text-transform: uppercase;
}
.meta-stitek:last-child { border-right: none; }
.meta-stitek.akcent { color: var(--akcent); }

.detail-popis {
  font-size: 0.8rem;
  color: var(--text-tlumeny);
  line-height: 1.6;
  margin-bottom: 14px;
}

.prumerne-hodnoceni {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid var(--ohraniceni);
  background: var(--pozadi-3);
}
.skore-hodnoceni {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--akcent);
}
.popis-hodnoceni {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.detail-odkazy {
  display: flex;
  gap: 8px;
}

.tlacitko-hlavni {
  background: var(--akcent);
  color: var(--bila);
  border: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  transition: opacity var(--prechod);
  text-transform: uppercase;
}
.tlacitko-hlavni:hover { opacity: 0.85; }

.tlacitko-vedlejsi {
  background: none;
  color: var(--text-tlumeny);
  border: 1px solid var(--ohraniceni);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  transition: all var(--prechod);
  text-transform: uppercase;
}
.tlacitko-vedlejsi:hover { color: var(--text); border-color: var(--text-dim); }

.sekce-komentaru { padding: 0 20px 20px; }

.nadpis-komentaru {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--ohraniceni);
  margin-bottom: 12px;
}

.seznam-komentaru {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 16px;
  background: var(--ohraniceni);
  border: 1px solid var(--ohraniceni);
}

.polozka-komentare {
  background: var(--pozadi-2);
  padding: 10px 12px;
}
.hlavicka-komentare {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.uzivatel-komentare {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--akcent);
  letter-spacing: 0.04em;
}
.stitek-hodnoceni-komentare {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.datum-komentare {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-dim);
  margin-left: auto;
}
.text-komentare {
  font-size: 0.78rem;
  color: var(--text-tlumeny);
  line-height: 1.5;
}

.formular-komentare {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vstup-hodnoceni {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.hvezdicky { display: flex; gap: 1px; }
.hvezdicka {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1;
  padding: 1px;
  transition: color var(--prechod);
}
.hvezdicka.aktivni { color: var(--akcent); }
.hvezdicka:hover { color: var(--akcent); }
#hodnota-hodnoceni {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--akcent);
  min-width: 20px;
}

textarea {
  background: var(--pozadi-3);
  border: 1px solid var(--ohraniceni);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  padding: 8px 10px;
  resize: vertical;
  outline: none;
  transition: border-color var(--prechod);
  line-height: 1.5;
}
textarea:focus { border-color: var(--text-dim); }
textarea::placeholder { color: var(--text-dim); }

.vyzva-prihlaseni {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 0.04em;
}
.odkaz-tlacitko {
  background: none;
  border: none;
  color: var(--akcent);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  letter-spacing: inherit;
}
.odkaz-tlacitko:hover { text-decoration: underline; }

.prekryti-modalu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.prekryti-modalu.otevreno { display: flex; }

.telo-modalu {
  background: var(--pozadi-2);
  border: 1px solid var(--ohraniceni-2);
  padding: 32px 28px;
  width: 100%;
  max-width: 360px;
  position: relative;
}

.zavrit-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.zavrit-modal:hover { color: var(--text); }

.nadpis-modalu {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bila);
  margin-bottom: 4px;
}
.podnadpis-modalu {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.formular-modalu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.formular-modalu input {
  background: var(--pozadi-3);
  border: 1px solid var(--ohraniceni);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 9px 12px;
  outline: none;
  width: 100%;
  transition: border-color var(--prechod);
  letter-spacing: 0.02em;
}
.formular-modalu input:focus { border-color: var(--text-dim); }
.formular-modalu input::placeholder { color: var(--text-dim); }

.prepnout-modal {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 14px;
  letter-spacing: 0.03em;
}

.chyba-modalu {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--akcent);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.notifikace {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--pozadi-2);
  border: 1px solid var(--ohraniceni-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
  pointer-events: none;
}
.notifikace.zobrazena {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.paticka {
  text-align: center;
  padding: 16px 20px;
  border-top: 1px solid var(--ohraniceni);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .hlavicka-vnitrni { padding: 0 12px; }
  .logo { font-size: 0.8rem; padding-right: 12px; }
  .nav-tlacitko { padding: 0 10px; font-size: 0.62rem; }
  .hlavni-obsah { padding: 0 12px 60px; }
  .lista-filtru { gap: 0; }
  .skupina-filtru { padding: 8px 10px; }
  .skupina-razeni { border-left: none; border-top: 1px solid var(--ohraniceni); width: 100%; }
  .mrizka-her { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .panel-detailu { width: 100%; }
}

@media (max-width: 480px) {
  .mrizka-her { grid-template-columns: 1fr 1fr; }
  .tlacitko-prihlaseni { padding: 0 10px; font-size: 0.6rem; }
}

.detail-nacitani {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding: 8px 0;
}

.detail-popis-plny {
  margin-top: 10px;
  border-top: 1px solid var(--ohraniceni);
  padding-top: 12px;
}

.detail-video {
  margin: 16px 0 0;
  border: 1px solid var(--ohraniceni);
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.detail-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.detail-screenshoty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ohraniceni);
  border: 1px solid var(--ohraniceni);
  margin-top: 1px;
}
.detail-screenshoty img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity var(--prechod);
}
.detail-screenshoty img:hover { opacity: 0.8; cursor: zoom-in; }

.detail-pozadavky {
  margin-top: 16px;
  border: 1px solid var(--ohraniceni);
}
.pozadavky-nadpis {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 7px 12px;
  border-bottom: 1px solid var(--ohraniceni);
  background: var(--pozadi-3);
}
.pozadavky-tabulka {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.67rem;
}
.pozadavky-tabulka tr { border-bottom: 1px solid var(--ohraniceni); }
.pozadavky-tabulka tr:last-child { border-bottom: none; }
.pozadavky-tabulka td {
  padding: 6px 12px;
  vertical-align: top;
  line-height: 1.4;
}
.pozadavky-tabulka td:first-child {
  color: var(--text-dim);
  width: 48px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pozadavky-tabulka td:last-child { color: var(--text-tlumeny); }

.screenshot-klik { cursor: pointer; }
.screenshot-klik:hover { opacity: 0.8; }

.detail-video { position: relative; }
.video-fullscreen-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  border: 1px solid var(--ohraniceni-2);
  color: var(--text-tlumeny);
  font-size: 1rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--prechod);
  z-index: 2;
}
.video-fullscreen-btn:hover { color: var(--bila); border-color: var(--text-dim); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: zobrazeni 0.15s ease;
}

.lightbox-obsah {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.12s ease;
}

.lightbox-pocitadlo {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.lightbox-zavrit {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 1px solid var(--ohraniceni-2);
  color: var(--text-tlumeny);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  transition: all var(--prechod);
}
.lightbox-zavrit:hover { color: var(--bila); border-color: var(--text-dim); }

.lightbox-prev, .lightbox-next {
  background: none;
  border: 1px solid var(--ohraniceni-2);
  color: var(--text-tlumeny);
  font-size: 1.8rem;
  line-height: 1;
  width: 40px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--prechod);
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--bila); border-color: var(--text-dim); }

@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 32px; font-size: 1.4rem; }
  .lightbox-img { max-height: 75vh; }
}

.prehravac {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: var(--pozadi-2);
  border-top: 1px solid var(--ohraniceni);
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 150;
  font-family: var(--font-mono);
}

.prehravac-stopa {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-right: 1px solid var(--ohraniceni);
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.prehravac-znacka {
  color: var(--akcent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.prehravac-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.prehravac-nazev {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prehravac-autor {
  font-size: 0.58rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prehravac-ovladani {
  display: flex;
  align-items: center;
  height: 100%;
  border-right: 1px solid var(--ohraniceni);
  flex-shrink: 0;
}

.ovladani-btn {
  background: none;
  border: none;
  border-right: 1px solid var(--ohraniceni);
  color: var(--text-dim);
  font-size: 0.75rem;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--prechod);
}
.ovladani-btn:last-child { border-right: none; }
.ovladani-btn:hover { color: var(--text); background: var(--pozadi-3); }
.ovladani-play { color: var(--akcent); font-size: 0.85rem; }
.ovladani-play:hover { color: var(--akcent); }

.prehravac-progress {
  flex: 2;
  height: 100%;
  background: var(--pozadi);
  cursor: pointer;
  position: relative;
  border-right: 1px solid var(--ohraniceni);
  overflow: hidden;
}
.prehravac-progress:hover .progress-bar { opacity: 1; }

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--ohraniceni-2);
  opacity: 0.7;
  transition: width 1s linear;
  pointer-events: none;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: var(--akcent);
}

.prehravac-cas {
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding: 0 14px;
  flex-shrink: 0;
}

.paticka { padding-bottom: 60px; }

@media (max-width: 480px) {
  .prehravac-stopa { padding: 0 10px; gap: 6px; }
  .prehravac-cas { display: none; }
  .ovladani-btn { width: 34px; }
}