:root {
  --yellow: #ff4db8;
  --ink: #f8f5ff;
  --muted: #bdb3ca;
  --paper: #08030f;
  --surface: #ffffff;
  --line: rgba(255, 255, 255, 0.16);
  --green: #4df1bd;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42), 0 0 44px rgba(186, 56, 255, 0.18);
}

body {
  background:
    linear-gradient(90deg, rgba(6, 2, 14, 0.4), rgba(6, 2, 14, 0.76) 48%, rgba(6, 2, 14, 0.9)),
    linear-gradient(180deg, rgba(6, 2, 14, 0.18), rgba(6, 2, 14, 0.78)),
    url("/hi-suno/assets/hi-suno-music-stage-v1.jpg") center / cover fixed,
    var(--paper);
  color: var(--ink);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 46, 174, 0.22), transparent 30%),
    radial-gradient(circle at 77% 16%, rgba(81, 198, 255, 0.12), transparent 26%),
    repeating-linear-gradient(90deg, transparent 0 89px, rgba(255, 255, 255, 0.018) 90px);
  pointer-events: none;
  content: "";
}

.topbar {
  border-bottom-color: rgba(255, 255, 255, 0.11);
  background: rgba(8, 3, 15, 0.74);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  letter-spacing: -0.025em;
}

.brand-wave {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  background: linear-gradient(145deg, #ff35ac, #7137ee 62%, #35c8ff);
  box-shadow: 0 0 22px rgba(255, 53, 172, 0.38);
}

.brand-wave i,
.equalizer i {
  display: block;
  border-radius: 999px;
  background: currentColor;
  animation: sound-bar 1.2s ease-in-out infinite alternate;
}

.brand-wave i {
  width: 2px;
  height: 7px;
  color: #fff;
}

.brand-wave i:nth-child(2),
.brand-wave i:nth-child(4) { height: 14px; animation-delay: -0.3s; }
.brand-wave i:nth-child(3) { height: 19px; animation-delay: -0.65s; }
.brand-wave i:nth-child(5) { animation-delay: -0.85s; }

.bookmark-row {
  margin-left: 39px;
}

.bookmark-link {
  border-color: rgba(255, 95, 190, 0.56);
  color: #ffeafa;
  background: rgba(255, 66, 174, 0.17);
  box-shadow: none;
}

.copy-url-button {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.copy-url-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.17);
}

.desktop-reminder {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(115deg, rgba(255, 53, 172, 0.2), rgba(113, 55, 238, 0.22), rgba(53, 200, 255, 0.14));
  box-shadow: 0 6px 0 rgba(255, 77, 184, 0.36), inset 0 1px rgba(255, 255, 255, 0.08);
}

.desktop-reminder svg {
  color: #66d3ff;
}

.desktop-reminder small {
  color: #c9bed8;
}

.connection-pill {
  border-color: rgba(255, 255, 255, 0.15);
  color: #eee8f5;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.connection-dot {
  background: #ffb44d;
}

.workspace {
  width: min(1240px, 100%);
  grid-template-columns: minmax(330px, 0.78fr) minmax(440px, 0.92fr);
  gap: clamp(30px, 4.5vw, 70px);
}

.info-panel {
  gap: clamp(13px, 2vh, 20px);
}

.intro-block h1 {
  max-width: 520px;
  background: linear-gradient(105deg, #ffffff 7%, #ff9fd9 44%, #9b84ff 72%, #78dcff 100%);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 28px rgba(190, 50, 255, 0.16));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.suno-official-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 126, 89, 0.42);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, rgba(255, 131, 51, 0.16), rgba(255, 51, 159, 0.13));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 0 30px rgba(255, 65, 151, 0.13);
  padding: 5px 11px 5px 6px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.suno-official-link:hover {
  border-color: rgba(255, 174, 96, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.11), 0 0 36px rgba(255, 65, 151, 0.23);
  transform: translateY(-1px);
}

.suno-official-link img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 74, 102, 0.35);
}

.suno-official-link > span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.suno-official-link strong {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.suno-official-link small {
  color: #ffc9d9;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.suno-official-link > svg {
  margin-left: 2px;
  color: #ffcce0;
}

.music-art-card {
  position: relative;
  width: min(500px, 100%);
  height: clamp(118px, 17vh, 170px);
  min-height: 118px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 21px;
  background: #0a0612;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32), 0 0 36px rgba(201, 55, 255, 0.13), inset 0 1px rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.music-art-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 2, 14, 0.1), rgba(6, 2, 14, 0.36) 52%, rgba(6, 2, 14, 0.92));
  content: "";
}

.music-art-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 47%;
  transform: scale(1.03);
  animation: disc-breathe 9s ease-in-out infinite alternate;
}

.music-art-card figcaption {
  position: absolute;
  right: 17px;
  bottom: 15px;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 15px;
  color: #fff;
  text-align: right;
}

.music-art-card figcaption > span:first-child {
  display: grid;
  gap: 3px;
}

.music-art-card b {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.music-art-card small {
  color: #cabed8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.equalizer {
  height: 24px;
  display: inline-flex;
  align-items: end;
  gap: 3px;
  color: #69d8ff;
}

.equalizer i {
  width: 3px;
  height: 8px;
  box-shadow: 0 0 8px currentColor;
}

.equalizer i:nth-child(2),
.equalizer i:nth-child(5) { height: 16px; animation-delay: -0.22s; }
.equalizer i:nth-child(3) { height: 23px; animation-delay: -0.58s; }
.equalizer i:nth-child(4) { height: 12px; animation-delay: -0.8s; }
.equalizer i:nth-child(6) { animation-delay: -0.42s; }

.help-card {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: linear-gradient(145deg, rgba(20, 9, 31, 0.82), rgba(21, 10, 38, 0.58));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.help-card h2 {
  color: #efe9f7;
  letter-spacing: 0.02em;
}

.suno-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.suno-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.help-card small {
  color: #afa4bc;
}

.help-icon {
  color: #fff;
  background: linear-gradient(145deg, #f03aa8, #6a42e8);
  box-shadow: 0 8px 22px rgba(192, 53, 255, 0.24), inset 0 1px rgba(255, 255, 255, 0.22);
}

.privacy-note {
  margin: -4px 0 0;
  color: #aaa0b4;
  font-size: 11px;
  font-weight: 700;
}

.chat-column {
  position: relative;
}

.chat-column::before {
  position: absolute;
  inset: -22px -26px 22px;
  z-index: -1;
  border-radius: 42px;
  background: radial-gradient(circle at 50% 32%, rgba(178, 63, 255, 0.25), transparent 65%);
  filter: blur(20px);
  content: "";
}

.chat-stage {
  border-color: rgba(255, 255, 255, 0.4);
  background: #fff;
  box-shadow: var(--shadow);
}

.chat-stage::before {
  background: linear-gradient(90deg, #ff4db8 0 52%, #6a42e8 52% 78%, #66d3ff 78% 100%);
  box-shadow: 0 2px 18px rgba(183, 55, 255, 0.34);
}

.connect-state,
.reconnect-state {
  color: #17101f;
}

.connect-state p,
.reconnect-state p {
  color: #706679;
}

.loader {
  border-color: #eee8f2;
  border-top-color: #7534ea;
}

.support-avatar {
  color: #fff;
  background: linear-gradient(145deg, #f03aa8, #6a42e8);
  box-shadow: 5px 5px 0 #17101f, 0 0 26px rgba(240, 58, 168, 0.24);
}

.support-avatar.is-muted {
  color: #6b6076;
  background: #ece7f1;
}

.primary-button {
  color: #fff;
  background: #17101f;
}

.chat-footnote {
  color: #c5bbcf;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.primary-button:focus-visible,
.copy-url-button:focus-visible,
.brand-title:focus-visible,
.bookmark-link:focus-visible,
.suno-official-link:focus-visible {
  outline-color: rgba(180, 47, 151, 0.36);
}

@keyframes sound-bar {
  to { transform: scaleY(0.45); opacity: 0.65; }
}

@keyframes disc-breathe {
  to { transform: scale(1.09) rotate(1deg); filter: saturate(1.14); }
}

@media (max-width: 820px) {
  body {
    background:
      linear-gradient(180deg, rgba(6, 2, 14, 0.5), rgba(6, 2, 14, 0.86)),
      url("/hi-suno/assets/hi-suno-music-stage-v1.jpg") 42% center / cover fixed,
      var(--paper);
  }

  .brand-wave {
    width: 27px;
    height: 27px;
  }

  .bookmark-row {
    margin-left: 36px;
  }

  .desktop-reminder {
    box-shadow: 0 3px 0 rgba(255, 77, 184, 0.38);
  }

  .chat-column::before {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  .music-art-card {
    height: 100px;
    min-height: 100px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .brand-wave i,
  .equalizer i,
  .music-art-card img {
    animation: none;
  }
}
