:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #05060c; color: #e8eaf6; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; overflow: hidden; }
canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.panel {
  position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  width: min(94vw, 640px);
  padding: 0.9rem 1rem;
  text-align: center;
  background: rgba(14, 16, 32, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}
h1 { margin: 0 0 0.6rem; font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
button, .file {
  font: inherit; color: inherit; cursor: pointer;
  padding: 0.5rem 0.9rem; border-radius: 8px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18);
}
button:hover, .file:hover { border-color: #5be3f5; }
button:focus-visible, .file:focus-within { outline: 2px solid #5be3f5; outline-offset: 2px; }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file { position: relative; }
audio { width: 100%; margin-top: 0.7rem; }
#status { margin: 0.6rem 0 0; font-size: 0.85rem; color: #9aa3c7; }
[hidden] { display: none !important; }
