@charset "UTF-8";

:root {
  color-scheme: dark;
  background: #000;
  color: #fff;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
[hidden] { display: none !important; }

.app {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
}

.ready-view { position: relative; text-align: center; }

#start-button {
  display: block;
  border: 0;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

#start-button:disabled { cursor: wait; }
#start-button:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

#playback-status {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90vw;
  margin: 8px 0 0;
  color: #fff;
  font-size: 14px;
}

.player { position: absolute; inset: 0; background: #000; }
.player:fullscreen { width: 100%; height: 100%; background: #000; }
.player:-webkit-full-screen { width: 100%; height: 100%; background: #000; }

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.fallback { color: #fff; text-decoration: none; }
