:root {
  --screen-w: 393px;
  --screen-h: 852px;
  --device-offset-x: 23.5px;
  --device-offset-y: 24px;
  --device-w: 440px;
  --device-h: 900px;
  --screen-radius: 60px;
  --scene-rgb: 42 112 98;
  --screen-bg: rgb(var(--scene-rgb));
  --text-primary: #fafbff;
  --text-on-content: #ffffff;
  --text-tertiary: rgba(255, 255, 255, 0.6);
  --stroke-placeholder: rgba(229, 233, 250, 0.4);
  --fill-mask-light: rgba(0, 0, 0, 0.04);
  --fill-block: rgba(229, 236, 255, 0.1);
  --phone-scale: min(
    calc((100vw - 48px) / var(--device-w)),
    calc((100vh - 48px) / var(--device-h)),
    1
  );
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

html,
body {
  width: 100%;
  min-height: 100%;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #101820;
  font-family: "PingFang SC", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

::selection {
  background: transparent;
}

body.demo-cursor-enabled,
body.demo-cursor-enabled * {
  cursor: none !important;
}

input,
textarea,
button {
  -webkit-user-select: none;
  user-select: none;
}

button {
  border: 0;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus {
  outline: none;
}

img,
svg,
video {
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.hero-image,
.video-slide,
.entry-home-image {
  -webkit-user-drag: none;
  user-drag: none;
}

[hidden] {
  display: none !important;
}

.demo-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0);
  transition: opacity 160ms ease;
}

.demo-cursor.is-visible {
  opacity: 1;
}

.demo-cursor-ring,
.demo-cursor-core,
.demo-cursor-swipe {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.demo-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgb(255 255 255 / 0.82);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.08),
    0 10px 24px rgb(0 0 0 / 0.16),
    inset 0 0 18px rgb(255 255 255 / 0.08);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transform: translate(-50%, -50%) scale(1);
  transition:
    width 180ms cubic-bezier(0.2, 0.9, 0.2, 1),
    height 180ms cubic-bezier(0.2, 0.9, 0.2, 1),
    background 180ms ease,
    border-color 180ms ease,
    border-radius 180ms ease,
    box-shadow 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.demo-cursor-core {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 10px rgb(255 255 255 / 0.65);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    opacity 140ms ease,
    width 180ms cubic-bezier(0.2, 0.9, 0.2, 1),
    height 180ms cubic-bezier(0.2, 0.9, 0.2, 1),
    background 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.demo-cursor-swipe {
  width: 28px;
  height: 2px;
  border-radius: 4px;
  background: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scaleX(0.2);
  transition:
    opacity 160ms ease,
    transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.demo-cursor-swipe::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.demo-cursor.is-hover .demo-cursor-ring {
  width: 42px;
  height: 42px;
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.95);
}

.demo-cursor.is-pressed .demo-cursor-ring {
  width: 24px;
  height: 24px;
  background: rgb(255 255 255 / 0.16);
  transform: translate(-50%, -50%) scale(0.92);
}

.demo-cursor.is-pressed .demo-cursor-core {
  width: 8px;
  height: 8px;
  opacity: 1;
}

.demo-cursor.is-dragging .demo-cursor-ring {
  width: 52px;
  height: 52px;
  background: rgb(var(--scene-rgb) / 0.18);
  border-color: rgb(255 255 255 / 0.72);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.14),
    0 12px 28px rgb(0 0 0 / 0.2),
    inset 0 0 22px rgb(255 255 255 / 0.08);
}

.demo-cursor.is-dragging .demo-cursor-core {
  width: 14px;
  height: 4px;
  opacity: 1;
}

.demo-cursor.is-clicking .demo-cursor-ring {
  animation: demo-cursor-click 320ms ease-out;
}

.demo-cursor.is-swiping .demo-cursor-ring {
  width: 64px;
  height: 30px;
  border-radius: 18px;
  background: rgb(var(--scene-rgb) / 0.2);
}

.demo-cursor.is-swiping.is-swipe-up .demo-cursor-ring,
.demo-cursor.is-swiping.is-swipe-down .demo-cursor-ring {
  width: 30px;
  height: 64px;
}

.demo-cursor.is-swiping .demo-cursor-swipe {
  opacity: 1;
  transform: translate(-50%, -50%) scaleX(1);
}

.demo-cursor.is-swipe-left .demo-cursor-swipe {
  transform: translate(-50%, -50%) scaleX(-1);
}

.demo-cursor.is-swipe-up .demo-cursor-swipe {
  transform: translate(-50%, -50%) rotate(-90deg) scaleX(1);
}

.demo-cursor.is-swipe-down .demo-cursor-swipe {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(1);
}

@keyframes demo-cursor-click {
  0% {
    box-shadow:
      0 0 0 0 rgb(255 255 255 / 0.48),
      0 10px 24px rgb(0 0 0 / 0.16),
      inset 0 0 18px rgb(255 255 255 / 0.08);
  }
  100% {
    box-shadow:
      0 0 0 18px rgb(255 255 255 / 0),
      0 10px 24px rgb(0 0 0 / 0.16),
      inset 0 0 18px rgb(255 255 255 / 0.08);
  }
}

.phone-stage {
  position: relative;
  width: var(--device-w);
  height: var(--device-h);
  overflow: visible;
  isolation: isolate;
  background: transparent;
  filter: drop-shadow(0 26px 54px rgb(0 0 0 / 0.44));
  transform: scale(var(--phone-scale));
  transform-origin: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("./image/iPhone 16 Pro.png") center / 100% 100% no-repeat;
}

.phone-screen-clip {
  position: absolute;
  left: var(--device-offset-x);
  top: var(--device-offset-y);
  z-index: 1;
  width: var(--screen-w);
  height: var(--screen-h);
  overflow: hidden;
  border-radius: var(--screen-radius);
  background: var(--screen-bg);
  transform: translateZ(0);
}

.screen {
  position: absolute;
  inset: 0;
  width: var(--screen-w);
  height: var(--screen-h);
  overflow: hidden;
  color: var(--text-primary);
  background: var(--screen-bg);
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    background 420ms ease,
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.screen.is-inactive {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.screen.is-active {
  z-index: 3;
}

.screen.is-underlay {
  z-index: 2;
  opacity: 1;
  pointer-events: none;
  transform: translate3d(0, 0, 0) !important;
  transition: none;
}

.screen.is-entering {
  z-index: 4;
}

.screen.is-exiting {
  z-index: 4;
  opacity: 1;
  pointer-events: none;
}

.home-screen.is-inactive,
.create-screen.is-inactive {
  transform: translate3d(100%, 0, 0);
}

.music-screen.is-inactive {
  transform: translate3d(0, 100%, 0);
}

.generation-screen.is-inactive {
  transform: translate3d(100%, 0, 0);
}

.multitrack-screen.is-inactive {
  transform: translate3d(0, 100%, 0);
}

.entry-screen {
  background: #0d0d0f;
}

.entry-home-image {
  position: absolute;
  left: -2px;
  top: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  pointer-events: none;
}

.entry-ai-music {
  position: absolute;
  left: 207px;
  top: 620px;
  z-index: 4;
  width: 84px;
  height: 92px;
  border-radius: 18px;
}

.top-media {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 393px;
  height: 450px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 393px;
  height: 450px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.video-track {
  display: flex;
  width: max-content;
  height: 450px;
  transform: translateX(calc(var(--video-index, 0) * -393px));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.video-track.is-dragging,
.video-track.is-jump-reset {
  transition: none;
}

.video-track.is-dragging {
  cursor: grabbing;
}

.video-slide {
  position: relative;
  flex: 0 0 393px;
  width: 393px;
  height: 450px;
  overflow: hidden;
  background-image: var(--poster);
  background-position: center;
  background-size: cover;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: transparent;
  opacity: 0;
  transition: opacity 180ms ease;
}

.top-media.is-video-playing .hero-video {
  opacity: 1;
}

.top-media.is-video-playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.top-media.is-video-playing .hero-image {
  cursor: pointer;
}

.hero-fade {
  position: absolute;
  top: 252px;
  left: 0;
  width: 393px;
  height: 199px;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(var(--scene-rgb) / 0) 0%, rgb(var(--scene-rgb) / 0.28) 42%, var(--screen-bg) 100%);
  transition: background 420ms ease;
}

.top-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 394px;
  height: 132px;
  pointer-events: none;
  mix-blend-mode: multiply;
  background: linear-gradient(180deg, rgb(var(--scene-rgb) / 0.62) 0%, rgb(var(--scene-rgb) / 0.2) 56%, rgb(var(--scene-rgb) / 0) 100%);
  transition: background 420ms ease;
}

.navigation {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 393px;
  height: 88px;
  background: rgba(7, 106, 141, 0);
}

.status-bar {
  position: relative;
  width: 393px;
  height: 44px;
}

.status-time {
  position: absolute;
  top: 14px;
  left: 52px;
  width: 37px;
  height: 22px;
  font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
  color: var(--text-primary);
}

.status-levels {
  position: absolute;
  top: 0;
  right: 0;
  width: 140.5px;
  height: 44px;
}

.cellular {
  position: absolute;
  top: 18.53px;
  left: 29.93px;
  width: 19.2px;
  height: 12.24px;
}

.wifi {
  position: absolute;
  top: 18.64px;
  left: 56.65px;
  width: 17.142px;
  height: 12.33px;
}

.battery {
  position: absolute;
  top: 18px;
  left: 81px;
  width: 38px;
  height: 13px;
}

.battery-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 13px;
  border: 1px solid var(--text-primary);
  border-radius: 4.3px;
  opacity: 0.35;
}

.battery-cap {
  position: absolute;
  top: 4.76px;
  left: 27.5px;
  width: 1.328px;
  height: 4.07px;
}

.battery-capacity {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 9px;
  border-radius: 2.5px;
  background: var(--text-primary);
}

.nav-content {
  position: relative;
  display: flex;
  align-items: center;
  width: 393px;
  height: 44px;
  padding: 0 6px;
}

.nav-icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.nav-icon img {
  width: 24px;
  height: 24px;
}

.generation-entry {
  overflow: visible;
}

.generation-entry-history {
  transition: opacity 180ms ease;
}

.generation-entry-progress {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 36px;
  height: 36px;
  display: none;
  place-items: center;
}

.generation-entry-progress svg {
  position: absolute;
  inset: 0;
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
}

.generation-entry-track,
.generation-entry-ring {
  fill: none;
  stroke-width: 2.2;
}

.generation-entry-track {
  stroke: rgba(255, 255, 255, 0.28);
}

.generation-entry-ring {
  stroke: var(--text-primary);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--generation-progress, 0));
  transition: stroke-dashoffset 160ms linear;
}

.generation-entry-agent {
  position: relative;
  z-index: 1;
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
}

.generation-entry-dot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 7px;
  height: 7px;
  display: none;
  border-radius: 50%;
  background: #fe2a54;
}

.generation-entry.is-generating .generation-entry-history {
  opacity: 0;
}

.generation-entry.is-generating .generation-entry-progress {
  display: grid;
}

.generation-entry.has-result .generation-entry-dot {
  display: block;
}

.nav-spacer {
  width: 293px;
  height: 44px;
}

.play-button {
  position: absolute;
  top: 201px;
  left: 172px;
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease;
}

.play-button img {
  width: 24px;
  height: 24px;
}

.quick-actions {
  position: absolute;
  top: 348px;
  left: 70px;
  z-index: 4;
  width: 252px;
  height: 46px;
  --pill-ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

.quick-actions.is-live-drag .action-pill,
.quick-actions.is-live-drag .action-icon,
.quick-actions.is-live-drag .action-icon img,
.quick-actions.is-live-drag .action-label,
.quick-actions.is-live-drag .action-arrow {
  transition: none;
}

.action-pill {
  position: absolute;
  top: 0;
  left: 0;
  --pill-x: 0px;
  --pill-y: 4px;
  --pill-w: 38px;
  --pill-h: 38px;
  --pill-gap: 0px;
  --pill-pad-x: 0px;
  --pill-pad-y: 0px;
  --pill-scale: 0.98;
  --pill-border-alpha: 0.4;
  --icon-size: 16px;
  --label-w: 0px;
  --label-opacity: 0;
  --label-x: -8px;
  --label-scale: 0.96;
  --arrow-w: 0px;
  --arrow-opacity: 0;
  --arrow-x: -8px;
  --arrow-scale: 0.86;
  width: var(--pill-w);
  height: var(--pill-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--pill-gap);
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border: 1px solid rgb(229 233 250 / var(--pill-border-alpha));
  background: var(--fill-mask-light);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  color: var(--text-primary);
  overflow: hidden;
  transform: translate3d(var(--pill-x), var(--pill-y), 0) scale(var(--pill-scale));
  will-change: transform, width, height, border-radius;
  transition:
    transform 460ms var(--pill-ease),
    width 460ms var(--pill-ease),
    height 460ms var(--pill-ease),
    border-radius 460ms var(--pill-ease),
    gap 460ms var(--pill-ease),
    padding 460ms var(--pill-ease),
    background 420ms ease,
    border-color 420ms ease;
}

.action-pill.is-left {
  z-index: 1;
  --pill-x: 0px;
  --pill-y: 4px;
  --pill-scale: 0.98;
}

.action-pill.is-center {
  z-index: 3;
  --pill-x: 50px;
  --pill-y: 0px;
  --pill-w: 152px;
  --pill-h: 46px;
  --pill-gap: 10px;
  --pill-pad-x: 20px;
  --pill-pad-y: 11px;
  --pill-scale: 1;
  --pill-border-alpha: 0.5;
  --icon-size: 24px;
  --label-w: 48px;
  --label-opacity: 1;
  --label-x: 0px;
  --label-scale: 1;
  --arrow-w: 20px;
  --arrow-opacity: 1;
  --arrow-x: 0px;
  --arrow-scale: 1;
  border-radius: 30px;
  background: var(--fill-mask-light);
}

.action-pill.is-right {
  z-index: 1;
  --pill-x: 214px;
  --pill-y: 4px;
  --pill-scale: 0.98;
}

.action-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  flex: 0 0 auto;
  transition: width 460ms var(--pill-ease), height 460ms var(--pill-ease), transform 460ms var(--pill-ease);
}

.action-icon img {
  width: var(--icon-size);
  height: var(--icon-size);
  transition: width 460ms var(--pill-ease), height 460ms var(--pill-ease);
}

.action-label {
  width: var(--label-w);
  max-width: var(--label-w);
  min-width: 0;
  flex: 0 0 auto;
  overflow: hidden;
  opacity: var(--label-opacity);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transform: translateX(var(--label-x)) scale(var(--label-scale));
  transition:
    opacity 220ms ease,
    width 460ms var(--pill-ease),
    max-width 460ms var(--pill-ease),
    transform 460ms var(--pill-ease);
}

.action-arrow {
  width: var(--arrow-w);
  height: 20px;
  flex: 0 0 var(--arrow-w);
  overflow: hidden;
  opacity: var(--arrow-opacity);
  transform: translateX(var(--arrow-x)) scale(var(--arrow-scale));
  transition:
    opacity 220ms ease,
    width 460ms var(--pill-ease),
    flex-basis 460ms var(--pill-ease),
    transform 460ms var(--pill-ease);
}

.action-arrow img {
  width: 20px;
  height: 20px;
}

.popular-section {
  position: absolute;
  top: 426px;
  left: 0;
  z-index: 6;
  width: 393px;
  height: 494px;
  overflow: hidden;
  padding: 0 16px;
}

.section-header {
  position: sticky;
  top: 0;
  z-index: 2;
  width: 361px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 4px;
  background: transparent;
}

.section-header h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

.section-header img {
  width: 16px;
  height: 16px;
}

.home-filter-tabs {
  position: relative;
  width: 361px;
  height: 28px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-filter-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: var(--home-tab-pill-w, 52px);
  height: 28px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(var(--home-tab-pill-x, 0px));
  transition:
    transform 360ms cubic-bezier(0.18, 0.9, 0.2, 1),
    width 360ms cubic-bezier(0.18, 0.9, 0.2, 1);
}

.home-filter-tabs::-webkit-scrollbar {
  display: none;
}

.home-filter-tab {
  position: relative;
  z-index: 1;
  flex: none;
  min-width: 48px;
  height: 28px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: rgba(237, 240, 253, 0.5);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 180ms ease, font-weight 180ms ease;
}

.home-filter-tab.is-active {
  border-radius: 17px;
  color: var(--text-primary);
  font-weight: 500;
}

.song-list {
  width: 361px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.song-list.is-filtering {
  opacity: 0.34;
  transform: translateY(4px);
}

.song-item {
  width: 361px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.song-main {
  min-width: 0;
  flex: 1 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 56px;
}

.cover {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
}

.cover img {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.song-copy {
  min-width: 0;
  height: 56px;
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  justify-content: space-between;
  white-space: nowrap;
}

.song-copy h2,
.song-copy p {
  margin: 0;
}

.song-copy h2 {
  max-width: 162px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-on-content);
}

.song-copy p {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-tertiary);
}

.song-copy time {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-tertiary);
}

.song-actions {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.star-button {
  position: relative;
  width: 30px;
  height: 30px;
}

.star-button img {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
}

.remix-button {
  width: 52px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--fill-block);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

.bottom-panel {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 393px;
  height: 106px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(180deg, rgb(var(--scene-rgb) / 0) 0%, var(--screen-bg) 23.54%, var(--screen-bg) 100%);
  transition: background 420ms ease;
}

.bottom-content {
  width: 393px;
  height: 72px;
  padding: 24px 16px 0;
}

.create-button {
  width: 361px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 24px;
  background: var(--text-primary);
  color: #090c14;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.agent-icon {
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
  flex: none;
}

.agent-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
}

.home-indicator {
  position: relative;
  width: 393px;
  height: 34px;
}

.home-indicator span {
  position: absolute;
  left: 121px;
  bottom: 9px;
  width: 152px;
  height: 5px;
  border-radius: 100px;
  background: #ffffff;
}

.create-screen,
.music-screen,
.generation-screen {
  --screen-bg: #0e0e11;
  --create-bg-1: #0e0e11;
  --create-bg-2: #151517;
  --create-block: rgba(255, 255, 255, 0.04);
  --create-pressed: rgba(229, 236, 255, 0.14);
  --create-placeholder: rgba(229, 233, 250, 0.4);
  --create-secondary: rgba(246, 247, 254, 0.7);
  --create-tertiary: rgba(237, 240, 253, 0.5);
  --create-blue: rgba(84, 135, 255, 0.9);
  background: var(--create-bg-1);
}

.create-screen {
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.create-screen::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.create-screen .create-navigation {
  position: sticky;
  top: 0;
}

.create-navigation {
  background: var(--create-bg-1);
}

.creation-nav-content {
  justify-content: space-between;
  padding: 0 16px 0 6px;
}

.creation-nav-content .nav-icon.left {
  margin-right: 0;
}

.creator-title {
  position: absolute;
  left: 50%;
  top: 0;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 16px;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
  white-space: nowrap;
}

.chevron-down {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.88;
}

.creator-workspace {
  position: absolute;
  top: 96px;
  left: 16px;
  z-index: 2;
  width: 361px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.create-screen .creator-workspace {
  position: relative;
  top: auto;
  left: auto;
  margin: 8px 16px 146px;
}

.creator-card,
.option-card {
  width: 361px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--create-bg-2);
}

.creator-card {
  height: 358px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  transition: height 260ms ease;
}

.creator-card.is-generating,
.creator-card.has-lyrics {
  height: 548px;
}

.creator-input-block {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: var(--create-bg-2);
}

.creator-card.is-generating .creator-input-block,
.creator-card.has-lyrics .creator-input-block {
  flex: 0 0 216px;
}

.selected-music-row {
  width: 337px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 8px;
  background: var(--create-block);
}

.selected-cover {
  width: 40px;
  height: 40px;
  flex: none;
  overflow: hidden;
  border-radius: 4px;
}

.selected-cover img,
.style-art img,
.picker-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-copy {
  min-width: 0;
  height: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  line-height: 1.4;
}

.selected-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.selected-copy span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.selected-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.swap-button,
.mini-close {
  position: relative;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
}

.swap-button img,
.mini-close img {
  width: 14px;
  height: 14px;
}

.selected-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  flex: 0 0 32px;
}

.selected-tag {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  background: var(--create-block);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.selected-tag.style-tag {
  padding: 6px 8px 6px 6px;
}

.selected-tag.tone-tag {
  padding: 6px 8px;
}

.selected-tag > img:not(.tag-close) {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.selected-tag .tag-close {
  width: 14px;
  height: 14px;
  opacity: 0.82;
}

.tag-close-button {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  flex: none;
}

.reference-row {
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
}

.creator-card.has-music .reference-row {
  display: none;
}

.reference-add {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--create-pressed);
  border-radius: 8px;
}

.reference-add img {
  width: 18px;
  height: 18px;
}

.prompt-input {
  --scroll-fade-size: 14px;
  width: 100%;
  min-width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  resize: none;
  border: 0;
  outline: 0;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  background: transparent;
  color: var(--text-primary);
  font: 400 16px/1.6 "PingFang SC", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  scrollbar-width: none;
}

.prompt-input::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.prompt-input::placeholder {
  color: var(--create-placeholder);
}

.creator-card.is-generating .prompt-input,
.creator-card.has-lyrics .prompt-input {
  min-height: 77px;
}

.creator-input-footer {
  height: 26px;
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.creator-helper-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.lyric-helper,
.inspiration-helper {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: var(--create-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.inspiration-helper {
  gap: 3px;
}

.dice-stage {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: none;
  overflow: visible;
}

.dice-icon {
  --dice-dot: 2.5px;
  --dice-edge: 2px;
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.dice-icon i {
  position: absolute;
  display: none;
  width: var(--dice-dot);
  height: var(--dice-dot);
  border-radius: 50%;
  background: currentColor;
}

.dice-icon i:nth-child(1) {
  left: var(--dice-edge);
  top: var(--dice-edge);
}

.dice-icon i:nth-child(2) {
  right: var(--dice-edge);
  top: var(--dice-edge);
}

.dice-icon i:nth-child(3) {
  left: var(--dice-edge);
  top: 50%;
  transform: translateY(-50%);
}

.dice-icon i:nth-child(4) {
  right: var(--dice-edge);
  top: 50%;
  transform: translateY(-50%);
}

.dice-icon i:nth-child(5) {
  left: var(--dice-edge);
  bottom: var(--dice-edge);
}

.dice-icon i:nth-child(6) {
  right: var(--dice-edge);
  bottom: var(--dice-edge);
}

.dice-icon i:nth-child(7) {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.dice-icon[data-face="1"] i:nth-child(7),
.dice-icon[data-face="2"] i:nth-child(1),
.dice-icon[data-face="2"] i:nth-child(6),
.dice-icon[data-face="3"] i:nth-child(1),
.dice-icon[data-face="3"] i:nth-child(7),
.dice-icon[data-face="3"] i:nth-child(6),
.dice-icon[data-face="4"] i:nth-child(1),
.dice-icon[data-face="4"] i:nth-child(2),
.dice-icon[data-face="4"] i:nth-child(5),
.dice-icon[data-face="4"] i:nth-child(6),
.dice-icon[data-face="5"] i:nth-child(1),
.dice-icon[data-face="5"] i:nth-child(2),
.dice-icon[data-face="5"] i:nth-child(7),
.dice-icon[data-face="5"] i:nth-child(5),
.dice-icon[data-face="5"] i:nth-child(6),
.dice-icon[data-face="6"] i:nth-child(1),
.dice-icon[data-face="6"] i:nth-child(2),
.dice-icon[data-face="6"] i:nth-child(3),
.dice-icon[data-face="6"] i:nth-child(4),
.dice-icon[data-face="6"] i:nth-child(5),
.dice-icon[data-face="6"] i:nth-child(6) {
  display: block;
}

.inspiration-helper.is-rolling .dice-icon {
  animation: diceRoll 520ms cubic-bezier(0.18, 0.72, 0.28, 1.12);
}

.lyric-helper img {
  width: 18px;
  height: 18px;
}

.instrumental-control {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  color: var(--create-tertiary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

.instrumental-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.instrumental-control i {
  position: relative;
  width: 33px;
  height: 18px;
  border-radius: 18px;
  background: rgba(229, 233, 250, 0.24);
  transition: background 180ms ease;
}

.instrumental-control i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d9dde8;
  transition: transform 180ms ease, background 180ms ease;
}

.instrumental-control input:checked + i {
  background: #fe2a54;
}

.instrumental-control input:checked + i::after {
  transform: translateX(15px);
  background: #ffffff;
}

.creator-card.is-instrumental .lyric-helper,
.creator-card.is-instrumental .lyric-divider,
.creator-card.is-instrumental .lyrics-panel {
  display: none !important;
}

.lyric-divider {
  width: 337px;
  height: 1px;
  flex: 0 0 1px;
  background: rgba(229, 236, 255, 0.08);
}

.lyrics-panel {
  width: 337px;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  background: var(--create-bg-2);
}

.lyrics-panel h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--create-tertiary);
}

.lyrics-output {
  --scroll-fade-size: 18px;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0 2px 0 0;
  border: 0;
  outline: 0;
  resize: none;
  overflow-y: auto;
  background: transparent;
  color: var(--text-primary);
  caret-color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  white-space: pre-wrap;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: auto;
  -webkit-user-select: text;
  user-select: text;
}

.prompt-input.has-scroll-fade.fade-top.fade-bottom,
.lyrics-output.has-scroll-fade.fade-top.fade-bottom {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--scroll-fade-size), #000 calc(100% - var(--scroll-fade-size)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--scroll-fade-size), #000 calc(100% - var(--scroll-fade-size)), transparent 100%);
}

.prompt-input.has-scroll-fade.fade-top:not(.fade-bottom),
.lyrics-output.has-scroll-fade.fade-top:not(.fade-bottom) {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--scroll-fade-size), #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--scroll-fade-size), #000 100%);
}

.prompt-input.has-scroll-fade.fade-bottom:not(.fade-top),
.lyrics-output.has-scroll-fade.fade-bottom:not(.fade-top) {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--scroll-fade-size)), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - var(--scroll-fade-size)), transparent 100%);
}

.lyrics-output::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.lyrics-output::selection {
  background: rgba(30, 136, 255, 0.36);
}

.option-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.option-card h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.style-strip,
.tone-strip {
  display: flex;
  gap: 12px;
  width: calc(100% + 18px);
  margin: -5px -12px -5px -5px;
  padding: 5px 14px 5px 5px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding: 5px;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.style-strip::-webkit-scrollbar,
.tone-strip::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.style-strip.is-dragging-scroll,
.tone-strip.is-dragging-scroll,
.lyrics-output.is-dragging-scroll,
.create-screen.is-dragging-scroll,
.music-picker-list.is-dragging-scroll {
  scroll-behavior: auto;
}

.style-strip.is-dragging-scroll,
.tone-strip.is-dragging-scroll,
.music-picker-list.is-dragging-scroll {
  cursor: grabbing;
}

.style-choice {
  position: relative;
  width: 66px;
  min-height: 82px;
  flex: 0 0 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 3px 0;
  border-radius: 8px;
}

.style-art {
  position: relative;
  width: 59px;
  height: 59px;
  overflow: visible;
  border-radius: 30px;
  background: rgba(229, 236, 255, 0.1);
}

.style-art img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  transform-origin: center;
}

.style-art,
.style-name,
.style-art img {
  pointer-events: none;
}

.style-name {
  width: 66px;
  overflow: hidden;
  color: var(--create-tertiary);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-choice.is-selected::before {
  content: none;
}

.style-choice.is-selected .style-art {
  box-shadow: none;
}

.style-choice.is-playing .style-art img {
  animation: cdSpin 8s linear infinite;
}

.style-choice.is-playing .style-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 43px;
  background:
    url("./icon/创作页/pause.svg") center / 14px 14px no-repeat,
    rgba(0, 0, 0, 0.3);
}

.style-choice.is-selected .style-name {
  color: var(--text-primary);
}

.style-choice.is-selected::after {
  content: none;
}

.style-choice.is-selected .style-art::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: 3;
  border: 1.5px solid var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes cdSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes diceRoll {
  0% {
    transform: rotate(0deg) scale(1);
  }
  28% {
    transform: rotate(-22deg) scale(0.94);
  }
  58% {
    transform: rotate(380deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.tone-choice {
  position: relative;
  min-height: 44px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--create-block);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  white-space: nowrap;
}

.tone-choice > span:first-child {
  pointer-events: none;
}

.tone-preview-toggle {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 9px;
  -webkit-tap-highlight-color: transparent;
}

.tone-preview-toggle:focus {
  outline: none;
}

.tone-state-icon {
  width: 14px;
  height: 14px;
  flex: none;
}

.tone-choice.is-selected {
  outline: 1.5px solid var(--text-primary);
  outline-offset: 2px;
}

.creator-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 393px;
  height: 118px;
  padding: 0 16px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  background: linear-gradient(180deg, rgba(14, 14, 17, 0) 0%, rgba(14, 14, 17, 0.82) 28px, var(--create-bg-1) 54px, var(--create-bg-1) 100%);
}

.create-screen .creator-bottom {
  position: sticky;
  left: auto;
  bottom: 0;
  margin-top: -118px;
}

.creator-bottom .home-indicator {
  margin-left: -16px;
}

.credit-row {
  width: 361px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--create-secondary);
}

.credit-cost,
.credit-balance,
.credit-cost strong {
  display: flex;
  align-items: center;
}

.credit-cost {
  gap: 4px;
}

.credit-cost strong {
  gap: 1px;
  font-weight: 500;
  color: var(--create-secondary);
}

.credit-cost strong i {
  width: 10px;
  height: 10px;
  background: #48d5ff;
  clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%);
}

.credit-cost em {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--create-tertiary);
  border-radius: 50%;
  color: var(--create-tertiary);
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.credit-balance {
  gap: 2px;
  color: var(--create-tertiary);
}

.credit-balance strong {
  font-weight: 500;
}

.credit-balance img {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}

.generate-button {
  width: 361px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  background: var(--text-primary);
  color: #090c14;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.generate-button:disabled {
  opacity: 0.4;
}

.generation-screen {
  overflow: hidden;
  background: var(--create-bg-1);
}

.generation-navigation {
  background: var(--create-bg-1);
}

.generation-nav-content {
  padding: 0 6px;
}

.generation-title {
  font-size: 17px;
  font-weight: 600;
}

.generation-loading {
  position: absolute;
  inset: 88px 0 0;
  display: grid;
  place-items: center;
}

.generation-loading-content {
  width: 279px;
  max-width: 320px;
  min-width: 279px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(-2px);
}

.generation-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.generation-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(84, 135, 255, 0.26));
}

.generation-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.generation-copy p {
  margin: 0;
  width: 100%;
  line-height: 1.4;
}

.generation-progress-text {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.generation-eta-text {
  color: var(--create-secondary);
  font-size: 12px;
  font-weight: 400;
}

.generation-minimize {
  height: 32px;
  min-width: 66px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.generation-results {
  position: absolute;
  top: 100px;
  left: 16px;
  width: 361px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.generation-result-item {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.generation-result-main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.generation-result-cover {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
}

.generation-result-copy {
  align-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.4;
  white-space: nowrap;
}

.generation-result-copy h2,
.generation-result-copy p,
.generation-result-copy time {
  margin: 0;
}

.generation-result-copy h2 {
  color: var(--text-on-content);
  font-size: 14px;
  font-weight: 500;
}

.generation-result-copy p {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 400;
}

.generation-result-copy time {
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 400;
}

.generation-result-actions {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.generation-star {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.generation-star img {
  width: 20px;
  height: 20px;
}

.generation-use {
  height: 28px;
  min-width: 52px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--fill-block);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.generation-flyer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 30;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(197px, 380px, 0) translate(-50%, -50%) scale(1);
}

.generation-flyer img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.generation-flyer.is-active {
  animation: generationFly 640ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

@keyframes generationFly {
  0% {
    opacity: 1;
    transform: translate3d(197px, 380px, 0) translate(-50%, -50%) scale(1);
  }
  68% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(349px, 66px, 0) translate(-50%, -50%) scale(0.42);
  }
}

.multitrack-screen {
  --screen-bg: #141414;
  background: #141414;
}

.multitrack-image {
  position: absolute;
  inset: -2px;
  width: 397px;
  height: 856px;
  object-fit: cover;
  pointer-events: none;
}

.multitrack-status {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
}

.multitrack-close {
  position: absolute;
  left: 0;
  top: 44px;
  z-index: 5;
  width: 78px;
  height: 74px;
}

.music-screen .create-navigation {
  background: transparent;
}

.music-screen .creation-nav-content {
  padding: 0 16px 0 6px;
}

.close-page {
  color: var(--text-primary);
}

.close-page img {
  width: 24px;
  height: 24px;
}

.add-music-title {
  font-weight: 500;
}

.music-picker-top {
  position: absolute;
  top: 104px;
  left: 16px;
  z-index: 4;
  width: 361px;
  height: 146px;
}

.link-paste-row {
  width: 361px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: var(--create-bg-2);
}

.link-paste-row span {
  color: var(--create-tertiary);
  font-size: 14px;
  line-height: 1.6;
}

.link-paste-row button {
  width: 52px;
  height: 32px;
  border-radius: 9px;
  background: var(--text-primary);
  color: #16161d;
  font-size: 14px;
  font-weight: 500;
}

.upload-source-grid {
  position: absolute;
  top: 64px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 115px);
  gap: 8px;
}

.upload-source {
  width: 115px;
  height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  background: var(--create-bg-2);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.source-icon {
  width: 24px;
  height: 24px;
}

.music-picker-list {
  position: absolute;
  top: 266px;
  left: 0;
  width: 393px;
  height: 552px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 0 44px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16px, #000 calc(100% - 34px), transparent 100%);
}

.music-picker-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.picker-header {
  width: 361px;
  height: 22px;
  margin-left: 16px;
  display: flex;
  align-items: center;
}

.picker-header h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.picker-song-list {
  width: 361px;
  margin: 16px 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.picker-song-item {
  width: 361px;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr 30px 52px;
  align-items: center;
  column-gap: 16px;
}

.picker-main {
  min-width: 0;
  height: 56px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.picker-main img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 8px;
}

.picker-main div {
  min-width: 0;
  height: 56px;
  display: flex;
  flex-direction: column;
}

.picker-main h2,
.picker-main p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-main h2 {
  max-width: 170px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.picker-main p {
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.4;
}

.picker-main time {
  margin-top: auto;
  color: var(--text-tertiary);
  font-size: 10px;
  line-height: 1.4;
}

.picker-star {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
}

.picker-star img {
  width: 20px;
  height: 20px;
}

.picker-remix {
  width: 52px;
  height: 28px;
  border-radius: 8px;
  background: var(--fill-block);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
