body {
      font-family: Arial, sans-serif;
      background: #f0f0f0 url('bg.jpg');
      margin: 0;
      padding: 10px;
    }
    .accordion {
      background: #fff;
      border-radius: 8px;
      margin-bottom: 10px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .accordion-header {
      padding: 10px 15px;
      font-weight: bold;
      background: #ddd;
      cursor: pointer;
    }
    .accordion-content {
      display: none;
      padding: 10px;
    }
    .accordion.active .accordion-content {
      display: block;
    }
    .video-block {
      background: white;
      display: inline-block;
        width: 250px;
      margin: 10px;
      vertical-align: top;
      position: relative;
    }
    .video-block img, .video-block .no-thumb {
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: 4px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      margin-bottom: 5px;
      cursor: pointer;
    }
    .video-block .no-thumb {
      background: #ccc;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #555;
    }
    .video-time {
      font-size: 12px;
      color: #555;
    }
    .delete-button {
      display: none;
      margin-top: 5px;
      padding: 4px 8px;
      font-size: 12px;
      cursor: pointer;
      border-radius: 4px;
      border: none;
      background: #c00;
      color: white;
    }
    body.delete-mode .delete-button {
      display: inline-block;
    }
    .fav-button, .animal-button {
      position: absolute;
      padding: 4px 6px;
      font-size: 14px;
      cursor: pointer;
      border-radius: 4px;
      border: none;
    }
    .fav-button {
      top: 5px;
      right: 5px;
      background: #eee;
      color: #555;
    }
    .fav-button.active {
      background: #ff9800;
      color: black;
      font-weight: bold;
    }
    .animal-button {
      top: 5px;
      left: 5px;
      background: #eee;
      color: #555;
    }
    .animal-button.active {
      background: #4caf50;
      color: white;
    }
    .animal-menu {
      position: absolute;
      top: -30px;
left: 45px;
      background: white;
      border: 1px solid #ccc;
      border-radius: 4px;
      z-index: 10;
      font-size: 12px;
    }
    .animal-menu div {
      padding: 6px 10px;
      cursor: pointer;
    }
    .animal-menu div:hover {
      background: #eee;
    }
    .delete-toggle {
      margin-top: 30px;
      padding: 10px 15px;
      font-size: 14px;
      border: none;
      background: #444;
      color: white;
      border-radius: 5px;
      cursor: pointer;
      display: block;
      text-align: center;
    }
    .lightbox {
      display: none;
      position: fixed;
      z-index: 999;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
    }
    .lightbox.active {
      display: flex;
    }
    .lightbox-inner {
      position: relative;
    }
    .lightbox video {
      max-width: 90vw;
      max-height: 80vh;
    }
    .lightbox-close {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 30px;
      color: white;
      cursor: pointer;
      z-index: 1000;
    }
    .lightbox-buttons {
      text-align: center;
      margin-top: 10px;
    }
    .lightbox-buttons button {
      margin: 0 5px;
      padding: 8px 12px;
      font-size: 14px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
@media (max-width: 500px) {
    .video-block{
        width: CALC(100% - 20px);
    }
}


/* Sichtbarkeit der Zeit unter Thumbnails beibehalten */
.video-time { display: block; font-size: 12px; color: #555; margin-top: -6px; }


/* Filter styles */
.filters {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}
.filters div {
  background: #fafafa;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.filters label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}
