:root { color-scheme: dark; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  height: 100dvh;
  background: #0b0d12;
  color: #e4e7ef;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 10px;
}

.zappy-header {
  flex: 0 0 auto;
  font-size: 13px;
  color: rgba(228, 231, 239, 0.55);
}
.zappy-header a {
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.zappy-header a:hover { color: #e4e7ef; }

.zappy-wrap {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  body { padding: 10px; }
  video { border-radius: 8px; }
}
