#video-player {
  margin-top: clamp(30px, 4vw, 52px);
  color: var(--white, #f8f8fa);
}
#video-player [hidden] { display: none !important; }
#video-player :focus-visible { outline: 2px solid var(--accent, #f5ca39); outline-offset: 3px; }
.vp-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #343438;
  border-radius: 16px;
  background: #121214;
}
.vp-empty, .vp-stage {
  display: grid;
  place-items: center;
  background: #080809;
}
.vp-empty {
  min-height: clamp(255px, 33vw, 410px);
  place-content: center;
  justify-items: center;
  gap: 13px;
  padding: 28px 16px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 120%, #1d1d21, #101012 65%);
}
.vp-empty-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 7px;
  border: 1px solid #3a3a3f;
  border-radius: 50%;
  color: var(--accent, #f5ca39);
  background: #1b1b1d;
}
.vp-empty-icon::after {
  content: '';
  margin-left: 3px;
  border-block: 7px solid transparent;
  border-left: 10px solid currentColor;
}
.vp-empty .work-primary { min-width: 150px; }
.vp-hint, .vp-meta, .vp-size, .vp-status { color: #b5b5bd; font-size: .9rem; line-height: 1.5; }
.vp-stage { width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; min-height: 175px; background: #000; }
.vp-stage video { grid-area: 1 / 1; display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.vp-message {
  grid-area: 1 / 1;
  max-width: 58ch;
  padding: 20px;
  color: #d4d4d9;
  text-align: center;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.vp-bar, .vp-actions, .vp-progress, .vp-playlist-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.vp-bar { justify-content: space-between; gap: 16px; padding: clamp(16px, 2.5vw, 26px); border-top: 1px solid #303036; }
.vp-details { flex: 1 1 200px; min-width: 0; }
.vp-name, .vp-track { overflow-wrap: anywhere; }
.vp-name { font: 650 1.08rem/1.4 var(--heading, sans-serif); }
.vp-status:not(:empty), .vp-progress:not([hidden]) { margin: 0 clamp(16px, 2.5vw, 26px) 16px; }
.vp-progress { gap: 12px; }
.vp-progress progress { width: min(340px, 62%); height: 7px; accent-color: var(--accent, #f5ca39); }
.vp-drop-indicator {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-content: center;
  border: 2px dashed var(--accent, #f5ca39);
  border-radius: inherit;
  background: rgb(20 19 15 / 94%);
  font-weight: 650;
  pointer-events: none;
}
.vp-playlist { margin-top: 20px; }
.vp-playlist-heading { justify-content: space-between; margin-bottom: 10px; }
.vp-playlist-heading h2 { font: 650 1.22rem/1.4 var(--heading, sans-serif); }
.vp-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #343438; }
.vp-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #303035;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.vp-track:hover { background: #18181c; }
.vp-track[aria-current='true'] { background: #202022; }
.vp-track-number { flex: none; min-width: 2ch; color: #a8a8af; font-variant-numeric: tabular-nums; }
.vp-track[aria-current='true'] .vp-track-number { color: var(--accent, #f5ca39); }
.vp-track .vp-size { flex: none; margin-left: auto; }
@media (max-width: 600px) {
  .vp-bar { align-items: flex-start; }
  .vp-actions { gap: 6px; }
  .vp-actions button { min-height: 44px; padding-inline: 12px; }
  .vp-stage { min-height: 155px; }
}

.vp-clock:not(:empty) { color: #dddde2; font-size: .9rem; font-variant-numeric: tabular-nums; }
.vp-subselect { max-width: min(20rem, 100%); padding: 9px; color: inherit; background: #202023; border: 1px solid #434348; border-radius: 8px; }
