:root {
  color-scheme: dark;
  --bg: #080914;
  --surface: rgba(18, 20, 38, 0.78);
  --surface-2: rgba(255, 255, 255, 0.08);
  --text: #f8f3ff;
  --muted: #a9abc5;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #7de6ff;
  --accent-2: #ffbf72;
  --sage: #9ff7c9;
  --ink: #f8f3ff;
  --violet: #a686ff;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(125, 230, 255, 0.2), transparent 17rem),
    radial-gradient(circle at 85% 8%, rgba(255, 191, 114, 0.22), transparent 14rem),
    radial-gradient(circle at 12% 74%, rgba(166, 134, 255, 0.2), transparent 16rem),
    linear-gradient(180deg, #12142a 0%, #080914 48%, #05060d 100%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(125, 230, 255, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(ellipse at 50% 44%, rgba(255, 255, 255, 0.12), transparent 32%);
  background-position: 18px 24px, 92px 148px, center;
  background-size: 96px 112px, 138px 150px, 100% 100%;
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  top: 175px;
  left: 50%;
  z-index: 0;
  width: min(86vw, 390px);
  height: min(86vw, 390px);
  border: 1px solid rgba(125, 230, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(166, 134, 255, 0.035),
    0 0 0 92px rgba(255, 191, 114, 0.026);
  content: "";
  transform: translateX(-50%) rotate(-17deg) scaleY(0.34);
  pointer-events: none;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 104px;
}

.composer {
  display: grid;
  gap: 20px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(25, 29, 55, 0.82), rgba(11, 12, 27, 0.78)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.view-panel {
  display: none;
}

.view-panel.active {
  display: grid;
}

.topbar,
.section-title,
.status-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar {
  justify-content: flex-start;
}

.topbar .limit-chip {
  margin-left: auto;
}

.profile-entry {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(125, 230, 255, 0.12);
}

.section-title,
.status-card {
  justify-content: space-between;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: 15px;
  line-height: 1.2;
}

.time-label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.limit-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px 7px 12px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.icon-button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  color: var(--accent);
  background: rgba(125, 230, 255, 0.12);
  border-radius: 50%;
}

.record-grid {
  position: relative;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 4px 0 2px;
}

.launch-animation {
  position: absolute;
  inset: -18px 0 -10px;
  z-index: 5;
  display: grid;
  place-items: center;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.launch-animation.active {
  animation: launchLayer 1.08s ease-out forwards;
}

.launch-trail {
  position: absolute;
  bottom: 72px;
  width: 10px;
  height: 176px;
  background: linear-gradient(0deg, rgba(125, 230, 255, 0), rgba(125, 230, 255, 0.86));
  border-radius: 999px;
  filter: blur(1px);
  transform: translateY(82px) scaleY(0.18);
}

.launch-animation.active .launch-trail {
  animation: launchTrail 1.08s ease-out forwards;
}

.launch-capsule {
  position: absolute;
  bottom: 86px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), transparent 13%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 50%;
  box-shadow:
    0 0 32px rgba(125, 230, 255, 0.55),
    0 0 70px rgba(166, 134, 255, 0.32);
}

.launch-capsule span {
  width: 76px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.launch-animation.active .launch-capsule {
  animation: launchCapsule 1.08s cubic-bezier(0.17, 0.84, 0.36, 1) forwards;
}

.launch-burst {
  position: absolute;
  bottom: 82px;
  display: grid;
  width: 180px;
  height: 180px;
  place-items: center;
}

.launch-burst span {
  position: absolute;
  width: 5px;
  height: 42px;
  background: linear-gradient(rgba(255, 191, 114, 0), rgba(255, 191, 114, 0.88));
  border-radius: 999px;
  opacity: 0;
  transform-origin: center 90px;
}

.launch-burst span:nth-child(1) {
  transform: rotate(20deg) translateY(22px);
}

.launch-burst span:nth-child(2) {
  transform: rotate(74deg) translateY(22px);
}

.launch-burst span:nth-child(3) {
  transform: rotate(-34deg) translateY(22px);
}

.launch-burst span:nth-child(4) {
  transform: rotate(-86deg) translateY(22px);
}

.launch-animation.active .launch-burst span {
  animation: launchBurst 0.58s ease-out forwards;
}

.timer-block {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.record-prompt {
  color: var(--text);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
}

.value-line {
  display: grid;
  gap: 6px;
  max-width: 330px;
  text-align: center;
}

.value-line h2 {
  font-size: 24px;
  font-weight: 930;
  line-height: 1.08;
}

.value-line p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.4;
}

.timer {
  font-variant-numeric: tabular-nums;
  font-size: 48px;
  font-weight: 850;
  line-height: 1;
}

.timer-cap {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wave-mini {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 5px;
}

.wave-mini span {
  width: 5px;
  height: 16px;
  background: rgba(125, 230, 255, 0.64);
  border-radius: 999px;
}

.wave-mini span:nth-child(2n) {
  height: 30px;
  background: rgba(255, 191, 114, 0.72);
}

.wave-mini span:nth-child(3n) {
  height: 10px;
  background: rgba(166, 134, 255, 0.8);
}

body.recording .wave-mini span {
  animation: wave 0.85s ease-in-out infinite alternate;
}

body.recording .wave-mini span:nth-child(2n) {
  animation-delay: 0.15s;
}

.hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hint svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.default-match-panel {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 13px 14px;
  color: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.default-match-panel h2 {
  margin-bottom: 3px;
}

.default-match-panel p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.45;
}

.match-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.default-match-panel[aria-expanded="true"] .match-chevron {
  transform: rotate(180deg);
}

.default-match-orbit {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.95), transparent 13%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(125, 230, 255, 0.26);
}

.default-match-orbit::after {
  position: absolute;
  inset: 7px -5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg) scaleY(0.48);
}

.controls-panel {
  display: grid;
  gap: 16px;
}

.hidden-options {
  display: none;
}

.hidden-options.expanded {
  display: grid;
}

.control-group {
  display: grid;
  gap: 10px;
}

.section-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.style-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.style-option,
.count-options button {
  min-height: 44px;
  padding: 10px 8px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 850;
}

.style-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.style-option.active,
.count-options button.active {
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(125, 230, 255, 0.15);
}

.style-icon {
  width: 18px;
  color: inherit;
  font-size: 13px;
}

.count-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.count-options button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.count-options span {
  padding: 2px 5px;
  color: #05060d;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 10px;
}

.status-section {
  margin-top: 16px;
}

.collab-panel {
  margin-top: 12px;
}

.collab-panel[hidden] {
  display: none;
}

.collab-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: rgba(18, 20, 38, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.collab-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.collab-head h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.collab-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.collab-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.voice-orbit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.voice-orbit {
  display: grid;
  min-height: 76px;
  place-items: center;
  gap: 5px;
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.voice-orbit span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #05060d;
  background: linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.voice-orbit.mine span {
  background: linear-gradient(145deg, var(--accent-2), var(--sage));
}

.voice-orbit p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.arrange-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.arrange-steps span {
  padding: 6px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.arrange-steps span.active {
  color: #05060d;
  background: rgba(159, 247, 201, 0.92);
}

.match-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.status-card {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 14px;
  background: rgba(18, 20, 38, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.quick-approval {
  display: grid;
  flex: 1 0 100%;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quick-approval[hidden] {
  display: none;
}

.quick-approval-summary {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
}

.quick-approval-thumb {
  width: 42px;
  height: 42px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92), transparent 14%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(125, 230, 255, 0.22);
}

.quick-approval h3 {
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-approval p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.quick-preview {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent-2), var(--sage));
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.quick-approval.playing .quick-approval-thumb {
  animation: quickPulse 0.78s ease-in-out infinite alternate;
}

.quick-approval-actions {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 9px;
}

.quick-auto-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.35;
}

.quick-accept,
.quick-reject {
  min-height: 42px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
}

.quick-accept {
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
}

.quick-reject {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.status-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(255, 191, 114, 0.12),
    0 0 22px rgba(255, 191, 114, 0.52);
}

.feed-page,
.profile-page {
  gap: 16px;
}

.feed-page.active {
  display: block;
  height: calc(100vh - 86px);
  margin: -18px -16px 0;
  overflow: hidden;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 2px 0;
}

.reset-demo-button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.feed-overlay-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  padding: 18px 16px 10px;
  background: linear-gradient(180deg, rgba(5, 6, 13, 0.82), transparent);
}

.feed-list {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.feed-list::-webkit-scrollbar {
  display: none;
}

.feed-card {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  background: #05060d;
  border: 0;
  border-radius: 0;
  scroll-snap-align: start;
}

.feed-card.just-published::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 2px solid rgba(159, 247, 201, 0.9);
  box-shadow: inset 0 0 48px rgba(125, 230, 255, 0.26);
  content: "";
  pointer-events: none;
  animation: publishGlow 1.8s ease-out forwards;
}

.feed-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  padding: 18px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.42), transparent 7px),
    radial-gradient(circle at 70% 16%, rgba(125, 230, 255, 0.36), transparent 5px),
    radial-gradient(circle at 74% 72%, rgba(255, 191, 114, 0.34), transparent 70px),
    linear-gradient(145deg, rgba(125, 230, 255, 0.2), rgba(166, 134, 255, 0.16) 46%, rgba(255, 191, 114, 0.17));
}

.feed-visual::before {
  position: absolute;
  inset: 16% 8%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
  transform: rotate(-16deg) scaleY(0.38);
}

.feed-visual::after {
  position: absolute;
  right: 22%;
  bottom: 22%;
  width: 112px;
  height: 112px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.88), transparent 13%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(125, 230, 255, 0.36);
  content: "";
}

.feed-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
}

.feed-badge {
  display: inline-flex;
  justify-self: start;
  padding: 7px 10px;
  color: #05060d;
  background: rgba(159, 247, 201, 0.92);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.feed-badge.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.feed-owner-badge {
  display: inline-flex;
  justify-self: start;
  padding: 7px 10px;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent-2), var(--sage));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.feed-lyric {
  max-width: 300px;
  font-size: 30px;
  font-weight: 920;
  line-height: 1.08;
  letter-spacing: 0;
}

.feed-wave {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 74px;
  opacity: 0.9;
}

.feed-wave span {
  width: 7px;
  height: 18px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}

.feed-wave span:nth-child(2n) {
  height: 38px;
  background: rgba(125, 230, 255, 0.84);
}

.feed-wave span:nth-child(3n) {
  height: 26px;
  background: rgba(255, 191, 114, 0.9);
}

.feed-card.playing .feed-wave span {
  animation: wave 0.76s ease-in-out infinite alternate;
}

.feed-card.playing .feed-wave span:nth-child(2n) {
  animation-delay: 0.14s;
}

.feed-info {
  position: absolute;
  right: 84px;
  bottom: 22px;
  left: 16px;
  z-index: 2;
  display: grid;
  gap: 12px;
  padding: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.feed-title-row,
.feed-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feed-title-row h2 {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-title-row p,
.feed-meta-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
}

.feed-side-actions {
  position: absolute;
  right: 12px;
  bottom: 78px;
  z-index: 3;
  display: grid;
  gap: 14px;
}

.feed-side-actions button {
  display: grid;
  width: 58px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 4px;
  padding: 7px 4px;
  color: var(--text);
  background: rgba(5, 6, 13, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 850;
}

.feed-side-actions .action-icon {
  font-size: 22px;
  line-height: 1;
}

.feed-side-actions button.active {
  color: #05060d;
  background: linear-gradient(135deg, var(--accent-2), var(--sage));
}

.approval-list {
  display: grid;
  gap: 18px;
}

.profile-section {
  display: grid;
  gap: 12px;
}

.profile-section-title {
  padding: 0 2px;
  color: var(--text);
  font-size: 16px;
}

.approval-empty {
  margin-top: 2px;
}

.approval-song-card {
  display: grid;
  gap: 15px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(25, 29, 55, 0.82), rgba(11, 12, 27, 0.78)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.approval-cover {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.42), transparent 7px),
    radial-gradient(circle at 72% 62%, rgba(255, 191, 114, 0.3), transparent 70px),
    linear-gradient(145deg, rgba(125, 230, 255, 0.18), rgba(166, 134, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.approval-cover::before {
  position: absolute;
  inset: 28px 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(-18deg) scaleY(0.4);
}

.approval-cover::after {
  position: absolute;
  right: 34px;
  bottom: 32px;
  width: 78px;
  height: 78px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.94), transparent 14%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(125, 230, 255, 0.38);
  content: "";
}

.approval-cover-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 190px;
  align-content: space-between;
  padding: 14px;
}

.approval-cover-content p {
  max-width: 260px;
  color: var(--text);
  font-size: 24px;
  font-weight: 920;
  line-height: 1.08;
}

.approval-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.approval-play {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.approval-mini-wave {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 4px;
}

.approval-mini-wave span {
  width: 4px;
  height: 14px;
  background: rgba(125, 230, 255, 0.74);
  border-radius: 999px;
}

.approval-song-card.playing .approval-mini-wave span {
  animation: wave 0.72s ease-in-out infinite alternate;
}

.approval-mini-wave span:nth-child(2n) {
  height: 30px;
  background: rgba(255, 191, 114, 0.78);
}

.approval-info {
  display: grid;
  gap: 5px;
}

.approval-info h2 {
  font-size: 20px;
}

.approval-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.analysis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 5px;
}

.analysis-tags span {
  padding: 5px 8px;
  color: #05060d;
  background: rgba(159, 247, 201, 0.9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.demo-strip {
  display: grid;
  grid-template-columns: 1fr auto 42px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.demo-strip h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.2;
}

.demo-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.demo-wave {
  display: flex;
  width: 62px;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.demo-wave span {
  width: 3px;
  height: 10px;
  background: rgba(125, 230, 255, 0.72);
  border-radius: 999px;
}

.demo-wave span:nth-child(2n) {
  height: 22px;
  background: rgba(255, 191, 114, 0.78);
}

.approval-song-card.demo-playing .demo-wave span {
  animation: wave 0.7s ease-in-out infinite alternate;
}

.demo-play {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent-2), var(--sage));
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.approval-actions {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
}

.approval-actions button {
  min-height: 46px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
}

.accept-approval {
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
}

.reject-approval {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.published-card {
  display: grid;
  grid-template-columns: 52px 1fr 64px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.published-thumb {
  width: 52px;
  height: 52px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 14%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(125, 230, 255, 0.2);
}

.published-card h2 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.published-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

.go-feed {
  min-height: 38px;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.voice-record {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.voice-record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.voice-record h2 {
  margin: 0 0 4px;
  font-size: 15px;
}

.voice-record p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

.voice-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #05060d;
  background: rgba(125, 230, 255, 0.9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.voice-record-wave {
  width: 100%;
  justify-content: flex-start;
}

.voice-record-audio {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.voice-record-play {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent-2), var(--sage));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.voice-record-play span {
  font-size: 11px;
}

.ai-result-card {
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  background: rgba(5, 6, 13, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.ai-result-card p {
  color: var(--text);
  font-size: 12px;
  font-weight: 760;
}

.ai-result-card strong {
  color: var(--accent);
}

.ai-result-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.voice-linked-song {
  padding-top: 2px;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 8px 12px max(8px, env(safe-area-inset-bottom));
  background: rgba(8, 9, 20, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  display: grid;
  min-width: 0;
  gap: 4px;
  justify-items: center;
  padding: 9px 3px;
  color: var(--muted);
  background: transparent;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 780;
}

.bottom-nav button.active {
  color: var(--accent);
  background: rgba(125, 230, 255, 0.11);
}

.bottom-nav .record-tab {
  position: relative;
  align-self: start;
  min-height: 62px;
  margin-top: -22px;
  color: #05060d;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.9), transparent 13%),
    linear-gradient(145deg, var(--accent), var(--violet));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  box-shadow:
    0 0 30px rgba(125, 230, 255, 0.34),
    0 16px 38px rgba(0, 0, 0, 0.36);
  font-size: 12px;
  font-weight: 920;
}

.bottom-nav .record-tab svg {
  width: 24px;
  height: 24px;
}

.bottom-nav .record-tab.active {
  color: #05060d;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.92), transparent 13%),
    linear-gradient(145deg, var(--accent), var(--sage) 48%, var(--violet));
}

.bottom-nav .record-tab.recording {
  transform: translateY(2px) scale(0.96);
  box-shadow:
    0 0 42px rgba(159, 247, 201, 0.52),
    0 10px 30px rgba(0, 0, 0, 0.42);
}

.bottom-nav .record-tab.recording::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(125, 230, 255, 0.56);
  border-radius: 26px;
  content: "";
  animation: tabPulse 1s ease-out infinite;
}

.bottom-nav svg {
  width: 19px;
  height: 19px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  left: 18px;
  z-index: 10;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 14px;
  color: #05060d;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes orbitPulse {
  from {
    opacity: 0.75;
    transform: rotate(-18deg) scale(1, 0.68);
  }
  to {
    opacity: 0;
    transform: rotate(-18deg) scale(1.28, 0.86);
  }
}

@keyframes launchLayer {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  76% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes launchCapsule {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.42);
  }
  18% {
    opacity: 1;
    transform: translateY(0) scale(0.74);
  }
  78% {
    opacity: 1;
    transform: translateY(-214px) scale(0.62);
  }
  100% {
    opacity: 0;
    transform: translateY(-286px) scale(0.22);
  }
}

@keyframes launchTrail {
  0% {
    opacity: 0;
    transform: translateY(90px) scaleY(0.12);
  }
  22% {
    opacity: 1;
    transform: translateY(30px) scaleY(0.7);
  }
  82% {
    opacity: 0.78;
    transform: translateY(-106px) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-150px) scaleY(0.35);
  }
}

@keyframes launchBurst {
  0% {
    opacity: 0;
    height: 8px;
  }
  28% {
    opacity: 1;
    height: 42px;
  }
  100% {
    opacity: 0;
    height: 76px;
  }
}

@keyframes quickPulse {
  from {
    transform: scale(0.96);
    box-shadow: 0 0 18px rgba(125, 230, 255, 0.18);
  }
  to {
    transform: scale(1.04);
    box-shadow: 0 0 34px rgba(125, 230, 255, 0.38);
  }
}

@keyframes publishGlow {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes tabPulse {
  from {
    opacity: 0.8;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes wave {
  from {
    transform: scaleY(0.55);
  }
  to {
    transform: scaleY(1.1);
  }
}

@media (min-width: 760px) {
  body {
    display: grid;
    align-items: start;
    padding: 30px;
  }

  .app-shell {
    min-height: auto;
    padding-bottom: 108px;
  }
}

@media (max-width: 370px) {
  .app-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .style-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timer {
    font-size: 40px;
  }

}
