.video-library { color: #eef5f7; }
.video-library [hidden] { display: none !important; }
.video-library-controls { margin: 18px 0 28px; }
.video-library-controls label {
  display: grid; gap: 6px; max-width: 470px; color: #d7e6ef; font-size: 14px; font-weight: 600;
}
.video-library-controls input {
  width: 100%; min-height: 44px; padding: 8px 13px; border: 1px solid #5f7b8f;
  border-radius: 6px; background: #132b3a; color: #f9fcfe; font: inherit;
}
.video-library-controls input::placeholder { color: #a9c0cf; }
.video-library-controls nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 2px; }
.video-library-controls nav a, .video-actions a { min-height: 40px; display: inline-flex; align-items: center; gap: 4px; color: #a9e8e9; font-size: 13px; font-weight: 650; }
.video-library-controls nav a:hover, .video-actions a:hover, .video-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.video-status { color: #b0c4d2; font-size: 13px; }
.video-collection { margin-block: 28px; scroll-margin-top: 84px; }
.video-collection-title { margin-bottom: 10px; font: 650 clamp(21px, 2.7vw, 30px)/1.2 system-ui, sans-serif; }
.video-collection ul {
  display: grid; gap: 11px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 267px), 1fr)); align-items: start;
  list-style: none; padding: 0;
}
.video-card {
  display: grid; align-content: start; min-width: 0; gap: 5px; padding: 14px;
  border: 1px solid #88aec247; border-radius: 8px; background: #162c3b; scroll-margin-top: 84px;
}
.video-card-title { font: 650 17px/1.3 system-ui, sans-serif; margin: 0; }
.video-card p { color: #c0d1db; font-size: 14px; margin: 0; line-height: 1.45; }
.video-card .video-duration { color: #b5dbdc; font-size: 12px; }
.video-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.video-actions button {
  min-height: 40px; padding: 0 9px; border: 1px solid #8bc4ce; border-radius: 5px;
  background: #235067; color: #f4fcff; font: 650 13px/1.2 system-ui, sans-serif; cursor: pointer;
}
.video-actions button:hover { background: #32647b; }
.video-player { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: #091622; }
.video-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.watch-page header { padding-block: 12px 16px; }
.watch-page h1 { font-size: clamp(36px, 6.5vw, 62px); }
.watch-page .video-player { margin-block: 16px; }
.watch-page > p { margin-block: 0 12px; }
.watch-page .video-actions { gap: 4px 18px; }
.video-library :focus-visible { outline: 2px solid #b7f3f2; outline-offset: 2px; }
