/* ==========================================================================
   VIDEO SURFACE — fullscreen-ish overlay with native <video> controls.
   Appears when a video library row is played; lets audio keep its skin
   treatment untouched.
   ========================================================================== */

.video-surface {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}
.video-surface[hidden] { display: none; }

.video-surface-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-deep, #0a0a0e);
  border-bottom: 1px solid var(--border, #2a2a3a);
  font-family: 'JetBrains Mono', monospace;
}

.video-surface-title {
  color: var(--accent, #00ff66);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: bold;
  text-shadow: 0 0 4px var(--accent-glow, rgba(0, 255, 102, 0.4));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.video-surface-close {
  background: transparent;
  border: 1px solid var(--border, #2a2a3a);
  color: var(--text-primary, #e0e0e8);
  width: 30px;
  height: 26px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
}
.video-surface-close:hover {
  color: var(--accent, #00ff66);
  border-color: var(--accent, #00ff66);
}

.video-surface-el {
  flex: 1;
  width: 100%;
  height: 100%;
  background: #000;
  display: block;
  object-fit: contain;
}
