* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #111; color: #eee; min-height: 100vh;
}
.app { max-width: 960px; margin: 0 auto; padding: 16px; }
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
h1 { font-size: 1.4rem; }
.controls-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
select {
  padding: 6px 10px; border-radius: 6px; border: 1px solid #333;
  background: #1c1c1c; color: #eee; font-size: 0.95rem;
}
#status { font-size: 0.85rem; color: #888; }
.player-wrap { background: #000; border-radius: 8px; overflow: hidden; }
video { width: 100%; display: block; max-height: 70vh; background: #000; }
.controls-bottom {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 12px; padding: 10px; background: #1c1c1c; border-radius: 8px;
}
button {
  padding: 8px 14px; border-radius: 6px; border: none; cursor: pointer;
  background: #2a2a2a; color: #eee; font-size: 0.95rem; transition: background 0.2s;
}
button:hover:not(:disabled) { background: #3a3a3a; }
button:disabled { opacity: 0.4; cursor: not-allowed; }
#time-display { font-variant-numeric: tabular-nums; color: #aaa; font-size: 0.9rem; }
.volume { margin-left: auto; display: flex; align-items: center; gap: 6px; color: #aaa; font-size: 0.9rem; }
.volume input { width: 100px; }