:root {
  color-scheme: dark;
  --bg: #050706;
  --ink: #f4f6f1;
  --muted: #a9afa7;
  --soft: rgba(244, 246, 241, 0.66);
  --line: rgba(244, 246, 241, 0.16);
  --panel: rgba(11, 14, 13, 0.66);
  --panel-strong: rgba(8, 10, 10, 0.86);
  --green: #7cffb0;
  --violet: #ba8bff;
  --amber: #e4c375;
  --red: #ff6b6b;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
}

button,
a {
  font: inherit;
}

.stage {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 48px 18px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.82), rgba(5, 7, 6, 0.33) 45%, rgba(5, 7, 6, 0.82)),
    linear-gradient(180deg, rgba(5, 7, 6, 0.18), rgba(5, 7, 6, 0.78)),
    url("assets/producer-studio-bg.png") center / cover no-repeat;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(125deg, rgba(124, 255, 176, 0.18), transparent 34%),
    linear-gradient(300deg, rgba(186, 139, 255, 0.14), transparent 38%);
  mix-blend-mode: screen;
  opacity: 0.76;
}

.screen-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.profile-shell {
  position: relative;
  z-index: 3;
  width: min(94vw, 640px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(125%);
}

.profile-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
}

.cover-strip {
  height: 118px;
  border-bottom: 1px solid rgba(244, 246, 241, 0.12);
  background: url("assets/jayto-banner.jpg") center / cover no-repeat;
}

.profile-head {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr 44px;
  gap: 16px;
  align-items: center;
  padding: 0 24px 18px;
}

.avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-top: -36px;
  place-items: center;
  border: 1px solid rgba(244, 246, 241, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(124, 255, 176, 0.2), rgba(186, 139, 255, 0.12)),
    rgba(9, 12, 12, 0.9);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.avatar.has-image {
  overflow: hidden;
  padding: 0;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-copy {
  min-width: 0;
  padding-top: 18px;
}

.eyebrow,
.meta {
  margin: 0;
  color: var(--soft);
  font-size: 0.82rem;
}

.eyebrow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

h1 {
  margin: 2px 0 1px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.05;
}

.status-line {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 0 24px 18px;
  padding: 8px 12px;
  border: 1px solid rgba(124, 255, 176, 0.22);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.42);
  color: var(--muted);
  font-size: 0.9rem;
}

.pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(124, 255, 176, 0.1), 0 0 18px rgba(124, 255, 176, 0.7);
}

.link-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 24px 20px;
}

.link-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(244, 246, 241, 0.14);
  border-radius: 8px;
  background: rgba(9, 12, 12, 0.56);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(124, 255, 176, 0.38);
  background: rgba(13, 18, 17, 0.82);
  outline: none;
}

.link-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(124, 255, 176, 0.18);
}

.link-icon,
.track-art {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 246, 241, 0.12);
  border-radius: 8px;
  background: rgba(244, 246, 241, 0.06);
  color: var(--green);
}

.link-title {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-subtitle {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-player {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(244, 246, 241, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.track-art {
  width: 48px;
  height: 48px;
  color: var(--violet);
  overflow: hidden;
  padding: 0;
}

.track-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.track-main {
  min-width: 0;
}

.track-text {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.track-text span {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-text small {
  flex: 0 0 auto;
  color: var(--muted);
}

.progress-wrap {
  position: relative;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 246, 241, 0.14);
}

.progress-wrap span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--violet), var(--amber));
}

.player-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(244, 246, 241, 0.14);
  border-radius: 8px;
  background: rgba(244, 246, 241, 0.06);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(124, 255, 176, 0.36);
  background: rgba(244, 246, 241, 0.1);
  outline: none;
}

.icon-button.primary {
  background: var(--ink);
  color: var(--bg);
}

.icon-button.ghost {
  margin-top: 12px;
}

svg {
  display: block;
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 5;
  transform: translate(-50%, 16px);
  min-width: 88px;
  padding: 10px 14px;
  border: 1px solid rgba(244, 246, 241, 0.16);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 620px) {
  .stage {
    align-items: start;
    padding: 22px 12px 34px;
  }

  .profile-shell {
    width: calc(100vw - 24px);
    max-width: 500px;
  }

  .profile-head {
    grid-template-columns: 72px 1fr 40px;
    gap: 12px;
    padding: 0 16px 16px;
  }

  .cover-strip {
    height: 92px;
  }

  .avatar {
    width: 72px;
    height: 72px;
    font-size: 1.25rem;
  }

  h1 {
    font-size: 1.56rem;
  }

  .eyebrow,
  .meta {
    font-size: 0.74rem;
  }

  .status-line,
  .link-list {
    margin-right: 16px;
    margin-left: 16px;
    padding-right: 0;
    padding-left: 0;
  }

  .status-line {
    padding-right: 10px;
    padding-left: 10px;
  }

  .link-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .link-card {
    grid-template-columns: 42px minmax(0, 1fr) 22px;
    min-height: 58px;
  }

  .link-icon {
    width: 42px;
    height: 42px;
  }

  .mini-player {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px 16px 16px;
  }

  .track-art {
    width: 42px;
    height: 42px;
  }

  .player-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .track-text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
