.osv-video-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 150px auto auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0 24px;
}

.osv-video-tools input,
.osv-video-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
  color: #111;
  padding: 0 14px;
  font: inherit;
  outline: none;
}

.osv-video-tools input:focus,
.osv-video-tools select:focus {
  border-color: #e10600;
  box-shadow: 0 0 0 3px rgba(225, 6, 0, .10);
}

.osv-video-search-button,
.osv-video-reset {
  min-height: 44px;
  border-radius: 10px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.osv-video-search-button {
  border: 0;
  background: #e10600;
  color: #fff;
  cursor: pointer;
}

.osv-video-reset {
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #111;
}

.osv-video-results-status {
  margin: -14px 0 18px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.osv-progressive-card[hidden] {
  display: none !important;
}

.osv-progressive-card.is-visible {
  animation: osvVideoReveal .22s ease both;
}

.osv-video-scroll-sentinel {
  min-height: 90px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 12px;
  font-weight: 800;
}

.osv-video-loader {
  width: 22px;
  height: 22px;
  border: 3px solid #e7e7e7;
  border-top-color: #e10600;
  border-radius: 50%;
  animation: osvVideoSpin .7s linear infinite;
}

.osv-video-scroll-sentinel.is-finished {
  min-height: 70px;
}

.osv-video-end {
  color: #777;
  font-weight: 800;
}

@keyframes osvVideoSpin {
  to { transform: rotate(360deg); }
}

@keyframes osvVideoReveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .osv-video-tools {
    grid-template-columns: 1fr 1fr;
  }

  .osv-video-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .osv-video-tools {
    grid-template-columns: 1fr;
  }

  .osv-video-search {
    grid-column: auto;
  }
}
