body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: #0a0a0a;
    color: white;
    display: flex;
    justify-content: center;
  }

  .container {
    width: 100%;
    max-width: 100%; /* rozšírení na celú šírku */
    background-color: #1f1f1f;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-shadow: none; /* žádný shadow na fullwidth */
    position: relative;
  }

  nav {
    width: 100%;
    height: 54px; /* o trošku vyšší */
    background-color: #111111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 2px solid #b3bf0a; /* žlutá čára místo tmavé */
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .logo img {
    height: 34px;
    display: block;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .nav-links a {
    color: white;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .nav-links a:hover {
    opacity: 1;
  }

  /* --- RESZTA STRONY --- */
  main {
    display: flex;
    flex: 1;
    align-items: stretch;
    box-sizing: border-box;
  }

  .ramowka {
    width: 300px;
    min-width: 300px;
    background-color: #141414;
    border-right: 1px solid #1a1a1a;
    padding: 8px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
  }

  #searchInput {
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid #2a2a2a;
    background-color: #0f0f0f;
    color: #eee;
    font-size: 0.78rem;
    outline: 0;
    margin-bottom: 6px;
    transition: border-color 0.2s;
  }

  #searchInput:focus {
    border-bottom-color: #b3bf0a;
  }
  
.search-wrapper {
  padding: 0 10px;  /* stejný padding jako .ramowka */
  box-sizing: border-box;
  width: 100%;
}

.search-wrapper input {
  width: 100%;
  box-sizing: border-box;  /* toto je klíčové */
  padding: 9px 36px 9px 12px;
  border: 1px solid #2a2a2a;
  border-radius: 3px;
  background-color: #0d0d0d;
  color: #eee;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.2px;
}

.search-wrapper input::placeholder {
  color: #555;
}

.search-wrapper input:focus {
  border-color: #b3bf0a;
  background: #111;
}

.search-wrapper .fas.fa-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  font-size: 0.75rem;
  pointer-events: none;
  transition: color 0.2s;
}

.search-wrapper input:focus ~ .fas.fa-search {
  color: #b3bf0a;
}

#ramowkaList {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #222 transparent;
}

#ramowkaList::-webkit-scrollbar { width: 3px; }
#ramowkaList::-webkit-scrollbar-track { background: transparent; }
#ramowkaList::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 2px; }

.event-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: #181818;
  padding: 5px 8px;
  margin-bottom: 1px;
  cursor: pointer;
  border-left: 2px solid transparent;
  border-radius: 2px;
  transition: background 0.12s, border-color 0.12s;
}

.event-item:hover {
  background-color: #222;
  border-left-color: #b3bf0a;
}

.event-item .time {
  font-weight: 700;
  font-size: 0.68rem;
  margin-right: 0;
  white-space: nowrap;
  color: #888;
  min-width: 34px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.event-item .emoji {
  font-size: 0.7rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.event-item .match {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.2px;
}

  .main-content {
    flex: 1;
    background-color: #242424;
    padding: 10px 20px;
    box-sizing: border-box;
    color: #fff;
  }

  .placeholder img {
    width: 100%;
    display: block;
    height: auto;
    border: 0;
    margin: 0 auto;
  }

  .player-box {
    position: relative;
    width: 100%;
    padding-top: 40.25%;
    background-color: #000;
    border: 1px solid #333;
    margin-bottom: 15px;
  }

  .player-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  .link-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1a1a;
    border: 1px solid #222;
    padding: 8px 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
  }

  .copy-link {
    color: #ccc;
    text-decoration: none;
    word-break: break-all;
  }

  .copy-btn {
    background-color: #333;
    color: #fff;
    border: 0;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
  }

  .copy-btn:hover {
    background-color: #444;
  }

  .quality-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
  }

  .quality-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .cinema-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #b3bf0a;
    color: #fff;
    border: 0;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .add-source-btn {
    background-color: #b3bf0a;
    color: #000;
    border: 0;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
  }

  .add-source-btn:hover {
    background-color: #d4e010;
    transform: translateY(-1px);
  }

  .cinema-btn:hover {
    background: #c80812;
  }

  .language-block {
    margin-bottom: 6px;
    color: #eee;
    font-size: 0.85rem;
  }

  .quality-option {
    cursor: pointer;
    font-family: Calibri, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin: 0 8px;
    text-decoration: underline;
    text-decoration-color: #fff;
  }

  .quality-option.active {
    text-decoration-color: #ff0000;
    color: #fff;
  }

  .chat-panel {
    width: 282px;
    min-width: 282px;
    background-color: #1a1a1a;
    border-left: 1px solid #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .chat-panel iframe {
    width: 282px;
    height: 650px;
    border: 0;
    background-color: #000;
    margin-bottom: 8px;
  }

  details {
    width: 90%;
    margin-bottom: 8px;
    background-color: #181818;
    padding: 6px 8px;
    font-size: 0.8rem;
    color: #ccc;
    border: 1px solid #111;
  }

  summary {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
  }

  details p {
    margin: 5px 0;
    color: #aaa;
    line-height: 1.4;
  }

  details img {
    max-width: 100%;
  }