* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #060b16;
  color: #f7f7f7;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body.app__root {
  display: grid;
  place-items: center;
  background: #060b16;
}

.app__canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: none;
  background: transparent;
  box-shadow: none;
}

.app__canvasDimensions {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.content__root {
  display: none;
}

.player {
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  z-index: 1;
}

.record-wrap {
  position: relative;
  width: min(70vw, 320px);
  height: min(70vw, 320px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.record {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  z-index: 2;
  box-shadow:
    0 0 40px rgba(255, 220, 140, 0.7),
    0 0 120px rgba(255, 170, 60, 0.6),
    0 0 220px rgba(255, 120, 20, 0.5),
    0 0 320px rgba(255, 80, 0, 0.35),
    inset 0 0 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s linear;
}

.record-wrap::before,
.record-wrap::after {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.record-wrap::before {
  background:
    radial-gradient(circle, rgba(255, 245, 200, 1) 0%, rgba(255, 210, 120, 0.75) 35%, rgba(255, 160, 40, 0.35) 60%, rgba(255, 120, 10, 0) 78%),
    conic-gradient(
      rgba(255, 230, 160, 0.0) 0deg,
      rgba(255, 210, 120, 0.6) 12deg,
      rgba(255, 230, 160, 0.0) 24deg,
      rgba(255, 190, 90, 0.55) 36deg,
      rgba(255, 230, 160, 0.0) 48deg
    );
  filter: blur(10px);
  opacity: 1;
}

.record-wrap::after {
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 230, 170, 0.7) 0%, rgba(255, 180, 70, 0.4) 40%, rgba(255, 110, 10, 0.15) 62%, rgba(255, 80, 0, 0) 75%);
  filter: blur(26px);
  opacity: 1;
}

.record.spinning {
  animation: spin 6s linear infinite;
}

.audio-hidden {
  display: none;
}

.seek-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px 18px;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(6, 11, 22, 0.95),
    rgba(6, 11, 22, 0)
  );
}

.seek {
  width: 100%;
  height: 10px;
  accent-color: #8fd3ff;
}

body > div[style*="z-index:10000"],
body > div[style*="z-index: 10000"] {
  display: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
