:root {
  --hud: #7fe8d4;
  --hud-rgb: 127, 232, 212;
  --ink: #041018;
  --ink-rgb: 4, 16, 24;
  --visor-rgb: 0, 8, 16;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #010305;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@keyframes playGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--hud-rgb), 0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(var(--hud-rgb), 0.12);
  }
}

#visor {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 48%, transparent 36%, rgba(var(--visor-rgb), 0.55) 72%, rgba(0, 0, 0, 0.82) 100%);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
}

#player {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 24;
  width: min(380px, calc(100% - 24px));
  transform: translateX(-50%);
  pointer-events: auto;
  font-family: "IBM Plex Mono", monospace;
  color: var(--hud);
}

#player .sheet {
  margin-bottom: 8px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.38s ease, opacity 0.28s ease, transform 0.38s ease;
}

#player.open .sheet {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
}

#player.open #list-toggle {
  background: rgba(var(--hud-rgb), 0.14);
}

#playlist {
  list-style: none;
  max-height: 228px;
  overflow: auto;
  padding: 6px;
  background: linear-gradient(180deg, rgba(var(--ink-rgb), 0.72), rgba(var(--ink-rgb), 0.9));
  border: 1px solid rgba(var(--hud-rgb), 0.16);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#playlist::-webkit-scrollbar {
  width: 4px;
}

#playlist::-webkit-scrollbar-thumb {
  background: rgba(var(--hud-rgb), 0.28);
  border-radius: 99px;
}

#playlist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  color: rgba(var(--hud-rgb), 0.55);
}

#playlist li:hover {
  background: rgba(var(--hud-rgb), 0.08);
  color: #fff;
}

#playlist li.active {
  background: rgba(var(--hud-rgb), 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(var(--hud-rgb), 0.18);
}

#playlist li .idx {
  opacity: 0.38;
  min-width: 1.5em;
  font-variant-numeric: tabular-nums;
}

#dock {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 5px;
}

.transport {
  display: flex;
  align-items: center;
  gap: 1px;
}

.icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--hud);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(var(--hud-rgb), 0.1);
}

.icon-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

a.icon-btn {
  text-decoration: none;
  color: inherit;
}

#dl svg,
#list-toggle svg {
  width: 16px;
  height: 16px;
}

#dl.is-off {
  display: none;
}

#play {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(var(--hud-rgb), 0.9);
}

#play.waiting {
  /* animation: playGlow 2s ease-in-out infinite; */
  background: rgba(var(--hud-rgb), 0.15);
}

#play svg {
  width: 14px;
  height: 14px;
}

.meta {
  min-width: 0;
}

#track-title {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  letter-spacing: 0.14em;
  font: 500 0.68rem/1.2 "IBM Plex Mono", monospace;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  padding: 4px 2px;
}

#track-title:hover {
  color: var(--hud);
}

#vol {
  -webkit-appearance: none;
  appearance: none;
  margin-right: 10px;
  width: 52px;
  height: 24px;
  background: transparent;
  outline: none;
  cursor: pointer;
}

#vol::-webkit-slider-runnable-track {
  height: 2px;
  border: 0;
  border-radius: 99px;
  background: rgba(var(--hud-rgb), 0.5);
}

#vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 3px;
  height: 10px;
  margin-top: -4px;
  border: 0;
  border-radius: 0;
  background: var(--hud);
}

#vol::-moz-range-track {
  height: 2px;
  border: 0;
  border-radius: 99px;
  background: rgba(var(--hud-rgb), 0.5);
}

#vol::-moz-range-thumb {
  width: 3px;
  height: 10px;
  border: 0;
  border-radius: 0;
  background: var(--hud);
}

.side {
  display: flex;
  align-items: center;
  gap: 4px;
}

#list-toggle {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  #vol {
    display: none;
  }
  #player {
    width: calc(100% - 20px);
    bottom: 12px;
  }
}

#chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px 0;
  pointer-events: none;
  font-family: "IBM Plex Mono", monospace;
}

#chrome ul {
  display: flex;
  gap: 18px;
  list-style: none;
}

#chrome nav a {
  pointer-events: auto;
  color: var(--hud);
  text-decoration: none;
  letter-spacing: 0.18em;
  font: 400 0.65rem/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
  padding: 8px 2px;
}

#chrome nav a:hover {
  color: #fff;
}

#chrome a:focus-visible {
  outline: 1px solid rgba(var(--hud-rgb), 0.45);
  outline-offset: 4px;
  border-radius: 2px;
}

#brand {
  pointer-events: auto;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.22em;
  font: 500 0.78rem/1 "IBM Plex Mono", monospace;
  padding: 8px 2px;
}

#brand:hover {
  color: var(--hud);
}

@media (max-width: 480px) {
  #chrome {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 0;
    gap: 16px;
  }
  #chrome ul {
    gap: 14px;
  }
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

canvas.ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  canvas {
    transition-duration: 0.4s;
  }
}

/*# sourceMappingURL=front-page.map */