:root {
  --bg: #02040a;
  --bg-soft: #070a16;
  --panel: rgba(10, 14, 27, .86);
  --panel-strong: rgba(13, 18, 34, .94);
  --line: rgba(36, 200, 255, .2);
  --line-strong: rgba(123, 53, 255, .36);
  --text: #f7f3ff;
  --muted: #a9a2c0;
  --dim: #79728f;
  --violet: #7b35ff;
  --blue: #24c8ff;
  --magenta: #cf40ff;
  --green: #35d07f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(123, 53, 255, .24), transparent 30rem),
    radial-gradient(circle at 82% 16%, rgba(36, 200, 255, .16), transparent 28rem),
    radial-gradient(circle at 50% 115%, rgba(207, 64, 255, .14), transparent 34rem),
    linear-gradient(135deg, var(--bg), var(--bg-soft) 48%, #010208);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 26%, black, transparent 70%);
}

.profile {
  width: min(980px, 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(123, 53, 255, .25), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(36, 200, 255, .14), transparent 22rem),
    linear-gradient(145deg, rgba(12, 17, 34, .96), rgba(5, 8, 17, .98));
  box-shadow: 0 34px 110px rgba(0,0,0,.56), 0 0 0 1px rgba(255,255,255,.035) inset;
}

.profile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--blue), var(--magenta), transparent);
  opacity: .9;
}

.top {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.avatar {
  width: 152px;
  height: 152px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(36, 200, 255, .78);
  border-radius: 50%;
  color: #071018;
  font-size: 3rem;
  background:
    linear-gradient(145deg, #e8fbff, #24c8ff 55%, #7b35ff),
    rgba(36, 200, 255, .35);
  box-shadow:
    0 0 0 9px rgba(36, 200, 255, .08),
    0 0 42px rgba(36, 200, 255, .28),
    0 24px 70px rgba(123, 53, 255, .24);
}

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

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(36, 200, 255, .2);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(3, 6, 16, .42);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  font-weight: 950;
}

.label i {
  color: var(--blue);
}

h1,
.profile-title {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(2.55rem, 7vw, 5.2rem);
  line-height: .92;
  letter-spacing: 0;
  font-weight: 950;
  text-shadow: 0 18px 42px rgba(0,0,0,.54);
}

.show {
  margin-top: 16px;
  color: #dff8ff;
  font-size: 1.24rem;
  font-weight: 950;
}

.line {
  max-width: 62ch;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 1.02rem;
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 200, 255, .28);
  border-radius: 50%;
  color: #e9faff;
  background:
    linear-gradient(135deg, rgba(123, 53, 255, .3), rgba(36, 200, 255, .14)),
    rgba(5, 7, 15, .5);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(123, 53, 255, .18);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 200, 255, .68);
  box-shadow: 0 16px 42px rgba(36, 200, 255, .18);
}

.bio {
  padding: clamp(28px, 5vw, 52px);
  color: #e9e3f8;
  font-size: 1.05rem;
  line-height: 1.75;
  background: rgba(1, 3, 8, .18);
}

.bio :first-child {
  margin-top: 0;
}

.bio :last-child {
  margin-bottom: 0;
}

.bio a {
  color: var(--blue);
  font-weight: 850;
}

.profile-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(28px, 5vw, 52px) clamp(28px, 5vw, 52px);
  background: rgba(1, 3, 8, .18);
}

.profile-panel {
  overflow: hidden;
  border: 1px solid rgba(36, 200, 255, .18);
  border-radius: 16px;
  background: rgba(4, 8, 18, .58);
}

.profile-panel-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 17px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #dff8ff;
}

.profile-panel-head i { color: var(--blue); }
.profile-panel-head h2 { margin: 0; font-size: .88rem; letter-spacing: .07em; text-transform: uppercase; }
.profile-list-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 13px 17px; border-bottom: 1px solid rgba(255,255,255,.055); }
.profile-list-row:last-child { border-bottom: 0; }
.profile-list-row span { color: var(--blue); font-size: .78rem; font-weight: 900; white-space: nowrap; }
.profile-list-row strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.profile-list-row small { grid-column: 2; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.profile-recordings-panel { grid-column: 1 / -1; }
.profile-recording-list { display: grid; }
.profile-recording-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 16px; align-items: center; padding: 14px 17px; border-bottom: 1px solid rgba(255,255,255,.055); }
.profile-recording-row:last-child { border-bottom: 0; }
.profile-recording-row strong { overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.profile-recording-row audio { width: 100%; height: 34px; accent-color: var(--blue); }

.empty {
  padding: clamp(28px, 5vw, 52px);
  color: var(--muted);
  font-weight: 800;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 15px;
  border: 1px solid rgba(36, 200, 255, .22);
  border-radius: 999px;
  color: #e9faff;
  background: rgba(3, 6, 16, .46);
  text-decoration: none;
  font-weight: 950;
}

.back:hover {
  border-color: rgba(36, 200, 255, .55);
}

body.embed {
  height: 100vh;
  min-height: 0;
  display: block;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

body.embed::before {
  display: none;
}

body.embed .profile {
  width: 100%;
  height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(123, 53, 255, .24), transparent 18rem),
    radial-gradient(circle at 88% 8%, rgba(36, 200, 255, .12), transparent 18rem),
    linear-gradient(145deg, rgba(12, 17, 34, .98), rgba(3, 5, 12, .99));
  display: flex;
  flex-direction: column;
}

body.embed .top {
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 34px 26px;
}

body.embed .avatar {
  width: 124px;
  height: 124px;
  font-size: 2.35rem;
}

body.embed .profile-title {
  max-width: calc(100% - 54px);
  font-size: clamp(2.2rem, 8vw, 4.35rem);
}

body.embed .bio {
  min-height: 0;
  overflow: auto;
  padding: 28px 34px 38px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(255,255,255,.06);
}

body.embed .bio::-webkit-scrollbar {
  width: 10px;
}

body.embed .bio::-webkit-scrollbar-track {
  background: rgba(255,255,255,.045);
  border-radius: 999px;
}

body.embed .bio::-webkit-scrollbar-thumb {
  border: 2px solid rgba(8, 10, 18, .96);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--violet), var(--blue));
}

body.embed .bio::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--magenta), var(--blue));
}

@media (max-width: 640px) {
  body {
    padding: 14px;
    place-items: start center;
  }

  .top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 18px;
  }

  .avatar {
    width: 118px;
    height: 118px;
  }

  .line {
    max-width: none;
  }

  .profile-socials {
    justify-content: center;
  }

  .profile-extras { grid-template-columns: 1fr; padding: 0 22px 34px; }
  .profile-recording-row { grid-template-columns: 1fr; gap: 10px; }

  body.embed {
    padding: 0;
  }

  body.embed .top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 52px 22px 24px;
  }

  body.embed .profile-title {
    max-width: 100%;
  }

  body.embed .bio {
    padding: 24px 22px 34px;
  }
}
