/* Minimal, early-internet-esque styling */
:root {
  color-scheme: light dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  /* TODO: Consider hosting a Papyrus-like webfont for consistent rendering */
  font-family: "Papyrus", fantasy, cursive;
  background: #f4f4f4;
  color: #111;
}

@media (prefers-color-scheme: dark) {
  html, body { background: #0f0f0f; color: #f2f2f2; }
}

.container {
  max-width: 680px;
  margin: 8vh auto;
  padding: 16px;
  border: 2px solid currentColor;
  background: inherit;
}

h1 {
  font-size: 28px;
  margin: 0 0 8px 0;
}

.tagline {
  margin: 0 0 24px 0;
  opacity: 0.7;
}

.hero {
  margin: 12px 0 24px 0;
}

.spin-stage {
  perspective: 900px;
  display: grid;
  place-items: center;
  padding: 8px 0;
}

.spin-object {
  width: min(340px, 90%);
  transform-style: preserve-3d;
  animation: spinY 6s linear infinite;
  image-rendering: auto;
}

@keyframes spinY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .spin-object { animation: none; }
}

.player {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.btn {
  font: inherit;
  padding: 8px 14px;
  border: 2px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  min-height: 1.2em;
  opacity: 0.8;
}

.volume {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  align-items: center;
}

.fallback a {
  color: inherit;
}

/* TODO: Add loading animation if desired */



