:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f0f0f2;
  background: #111216;
  color-scheme: dark;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible { outline: 3px solid #c6c1ed; outline-offset: 7px; }
main { display: grid; place-items: center; flex: 1; padding: 32px; }
section { width: 100%; max-width: 780px; }
.video-preview { display: block; width: 100%; position: relative; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 1px solid #343740; border-radius: 16px; background: #1c1e25; color: white; cursor: pointer; box-shadow: 0 20px 50px -20px #000b; }
.video-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #080a102e 0, transparent 28%, transparent 50%, #080a10b3 100%); }
.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid #ffffff66; border-radius: 50%; background: #171920e6; color: #f2f0ff; box-shadow: 0 4px 20px #0006; transition: background 160ms, scale 160ms; }
.play-overlay svg { width: 34px; height: 34px; fill: currentColor; transform: translateX(-2px); }
.video-preview:hover .play-overlay { background: #30333f; scale: 1.06; }
.video-preview:active .play-overlay { scale: .96; }
.is-playing .play-overlay { display: none; }
.pause-icon { display: none; }
.is-playing .play-icon { display: none; }
.is-playing .pause-icon { display: block; }
.video-controls { position: absolute; left: 22px; right: 22px; bottom: 19px; }
.controls-row { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 10px; font-variant-numeric: tabular-nums; }
.small-play { width: 18px; height: 18px; fill: currentColor; }
.progress-track { display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 3px; background: #ffffff50; }
#progress { display: block; height: 100%; width: 0; background: #d3cdfa; }
@media (max-width: 520px) {
  main { padding: 20px; }
  .video-preview { border-radius: 12px; }
  .play-overlay { width: 58px; height: 58px; }
  .play-overlay svg { width: 29px; height: 29px; }
  .video-controls { left: 14px; right: 14px; bottom: 12px; }
  .controls-row { margin-bottom: 7px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
