/* Echo 的示意画面: 播放页 (逐字歌词) + 桌面组件 */

.echo-mock {
  position: relative;
  padding: 2rem 3rem 3rem 0;
}

.phone--echo {
  transform: rotate(-4deg);
}

.echo-screen {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  overflow: hidden;
  padding: 2.6rem 1.05rem 1.2rem;
  border-radius: 31px;
  background: linear-gradient(180deg, #13261f 0%, #0e0f11 58%);
}

.echo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--stage-text-3);
  font-size: 0.6rem;
  font-weight: 600;
}

.echo-source {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: var(--echo-accent);
}

.echo-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgb(255 255 255 / 0.18), transparent 45%),
    conic-gradient(from 210deg at 60% 60%, #0b3b30, #00af88, #83e499, #0f5c4a, #0b3b30);
  box-shadow: 0 18px 36px -18px var(--echo-accent);
}

.echo-bars {
  display: flex;
  align-items: center;
  gap: 9%;
  width: 46%;
  height: 52%;
}

.echo-bars i {
  flex: 1;
  height: 60%;
  border-radius: 999px;
  background: linear-gradient(#f2fff6, #c4f5d3);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
  animation: eq 1.3s var(--ease-out-expo) infinite alternate;
}

.echo-bars i:nth-child(2) {
  height: 100%;
  animation-delay: -0.45s;
}

.echo-bars i:nth-child(3) {
  height: 75%;
  animation-delay: -0.9s;
}

@keyframes eq {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

.echo-lyrics {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.2rem;
  color: var(--stage-text-3);
  font-size: 0.64rem;
  line-height: 1.4;
}

.echo-lyrics p:first-child {
  opacity: 0.45;
}

.echo-lyrics .is-current {
  font-size: 0.82rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--echo-accent) 50%, rgb(255 255 255 / 0.4) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sing 5s linear infinite;
}

@keyframes sing {
  to { background-position: 0 0; }
}

.echo-progress {
  height: 3px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
}

.echo-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--echo-accent);
  transform-origin: left;
  animation: progress 24s linear infinite;
}


.echo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.echo-controls i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
}

.echo-controls .c-play {
  width: 42px;
  height: 42px;
  background: var(--echo-accent);
}

.echo-controls .c-play::before {
  content: "";
  width: 12px;
  height: 14px;
  border-left: 4px solid #04140e;
  border-right: 4px solid #04140e;
}

.echo-controls .c-prev::before,
.echo-controls .c-next::before {
  content: "";
  border-block: 5px solid transparent;
  border-left: 7px solid rgb(255 255 255 / 0.7);
}

.echo-controls .c-prev::before {
  transform: scaleX(-1);
}

.echo-widget {
  position: absolute;
  right: 0;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 200px;
  padding: 0.7rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 22px;
  background: rgb(23 25 29 / 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 24px 40px -18px #000;
  animation: float 6s ease-in-out infinite;
}

.echo-widget-art {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(160deg, #83e499, #00af88);
}

.echo-bars--small {
  width: 52%;
  height: 52%;
}

.echo-bars--small i {
  background: #04140e;
  box-shadow: none;
}

.echo-widget-text {
  display: grid;
  min-width: 0;
  font-size: 0.7rem;
  line-height: 1.4;
}

.echo-widget-text span {
  color: var(--stage-text-3);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

@media (max-width: 480px) {
  .echo-widget {
    width: 170px;
    right: -0.5rem;
  }
}
