/* FilmMind VK most discussed today section-mode v5 */

.random-pick-v1 {
  gap: 18px !important;
  row-gap: 12px !important;
}

.random-pick-v1 .random-pick-btn-v1,
.random-pick-v1 .fm-vk-today-btn-v1 {
  margin: 0 !important;
}

.fm-vk-today-btn-v1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(158, 232, 237, 0.42);
  background: rgba(18, 24, 34, 0.72);
  color: #f4f0e8;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.fm-vk-today-btn-v1:hover {
  transform: translateY(-1px);
  border-color: rgba(158, 232, 237, 0.7);
  background: rgba(23, 32, 45, 0.88);
}

.fm-vk-today-btn-v1 small {
  color: rgba(244, 240, 232, 0.62);
  font-size: 12px;
  font-weight: 580;
}

.fm-vk-today-panel-v1 {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 16, 23, 0.78);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.fm-vk-today-panel-v1[hidden] {
  display: none !important;
}

.fm-vk-today-grid-v1 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.fm-vk-today-card-v1 {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}

.fm-vk-today-card-v1:hover {
  transform: translateY(-2px);
  border-color: rgba(158, 232, 237, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.fm-vk-today-poster-v1 {
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, rgba(158, 232, 237, 0.14), rgba(255, 255, 255, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 240, 232, 0.64);
  font-weight: 800;
}

.fm-vk-today-poster-v1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fm-vk-today-body-v1 {
  padding: 10px 10px 12px;
}

.fm-vk-today-meta-v1 {
  color: rgba(158, 232, 237, 0.78);
  font-size: 11px;
  font-weight: 760;
  margin-bottom: 5px;
}

.fm-vk-today-title-v1 {
  font-size: 13px;
  font-weight: 780;
  line-height: 1.22;
  min-height: 32px;
}

.fm-vk-today-signal-v1 {
  margin-top: 8px;
  color: rgba(244, 240, 232, 0.58);
  font-size: 11px;
  line-height: 1.25;
}

.fm-vk-today-state-v1 {
  padding: 18px;
  color: rgba(244, 240, 232, 0.72);
  font-size: 14px;
}

.fm-vk-today-state-v1.is-error {
  color: #ffb4b4;
}

@media (max-width: 900px) {
  .fm-vk-today-grid-v1 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .random-pick-v1 {
    gap: 10px !important;
  }

  .fm-vk-today-btn-v1 {
    width: 100%;
  }

  .fm-vk-today-btn-v1 small {
    display: none;
  }
  .fm-vk-today-panel-v1 {
    border-radius: 18px;
    padding: 10px;
  }

  .fm-vk-today-grid-v1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fm-vk-today-title-v1 {
    font-size: 12px;
  }
}

/* /FilmMind VK most discussed today section-mode v5 */
