.video-test-nav {
  border-color: rgba(255, 224, 224, 0.96) !important;
  background: linear-gradient(180deg, #ff4747 0%, #d70a0a 46%, #980000 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(224, 0, 0, 0.34);
}

.video-test-page {
  min-height: 70vh;
}

.video-board {
  padding-top: clamp(24px, 4vw, 44px);
}

.video-board-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  border-bottom: 1px solid var(--panel-line);
  margin-bottom: 10px;
  padding-bottom: 12px;
}

.video-board-heading span {
  color: #ff4747;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.video-board-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 4.2vw, 4.1rem);
  line-height: 0.9;
  text-align: right;
  white-space: nowrap;
}

.video-test-status {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.video-test-status:empty {
  display: none;
}

.video-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.28fr);
  gap: 18px;
  align-items: start;
}

.featured-video-card,
.video-picker-card {
  overflow: hidden;
  border: 1px solid rgba(224, 0, 0, 0.35);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.featured-video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--panel-line);
  background: #050505;
  cursor: pointer;
  padding: 0;
}

.featured-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 180ms ease, filter 180ms ease;
}

.featured-video-thumb::before {
  display: none;
}

.featured-video-meta {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 20px;
}

.featured-video-meta span {
  color: #ff4747;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.featured-video-meta h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.05;
}

.featured-video-watch {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 224, 224, 0.72);
  border-radius: 7px;
  background: linear-gradient(180deg, #ff4747 0%, #d70a0a 48%, #980000 100%);
  color: #fff;
  font: inherit;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 16px;
}

.video-picker {
  max-height: min(72vh, 760px);
  overflow: auto;
  padding-right: 4px;
}

.video-picker-list {
  display: grid;
  gap: 12px;
}

.video-picker-card {
  min-height: 120px;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 950;
  line-height: 1.25;
  text-align: left;
  padding: 18px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.video-picker-card span {
  display: block;
  margin-top: 10px;
  color: #ff4747;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.video-picker-card:hover,
.video-picker-card:focus-visible,
.video-picker-card.is-active {
  border-color: rgba(224, 0, 0, 0.92);
  background: linear-gradient(135deg, rgba(224, 0, 0, 0.34), rgba(224, 0, 0, 0.08));
  outline: none;
}

.video-picker-card:hover,
.video-picker-card:focus-visible {
  transform: translateY(-1px);
}

.featured-video-card:hover .featured-video-thumb img,
.featured-video-card:focus-within .featured-video-thumb img {
  filter: brightness(1.08);
  transform: scale(1.035);
}

.featured-video-thumb:focus-visible,
.featured-video-watch:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

  .video-board-heading h1 {
    text-align: left;
  }

  .video-board-layout {
    grid-template-columns: 1fr;
  }

  .video-picker {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .video-board {
    padding-top: 18px;
  }

  .video-board-heading h1 {
    font-size: clamp(1.35rem, 5.9vw, 2rem);
  }

  .featured-video-meta {
    display: grid;
    padding: 15px;
  }

  .featured-video-watch {
    width: 100%;
  }

  .video-picker-card {
    min-height: 94px;
    padding: 15px;
  }
}
