.global-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(14, 13, 18, 0.78);
  backdrop-filter: blur(22px);
}

.global-header-inner,
.global-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.global-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.global-nav a,
.nav-logout {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.global-nav a:hover,
.nav-logout:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.nav-divider {
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: var(--line);
}

.nav-logout {
  color: #a98f99;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--muted);
}

.page-main {
  min-height: calc(100vh - 146px);
}

.global-footer {
  min-height: 70px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  color: #716970;
  font-size: 11px;
}

.content-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 46px auto 64px;
}

.narrow-shell {
  max-width: 900px;
}

.page-heading {
  margin-bottom: 34px;
}

.page-heading h1 {
  margin: 14px 0;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.07;
  letter-spacing: -0.052em;
}

.page-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.compact-heading h1 {
  font-size: clamp(39px, 6vw, 65px);
}

.role-dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.music-card {
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(93, 100, 145, 0.16),
      transparent 36%
    ),
    var(--panel);
}

.dashboard-notices {
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-heading-row {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-heading-row h2 {
  margin: 6px 0 0;
  font-size: 23px;
}

.section-heading-row > a {
  color: var(--pink-soft);
  font-size: 12px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 18px;
}

.profile-identity-card,
.profile-detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.profile-identity-card {
  text-align: center;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  margin: 8px auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 167, 184, 0.24);
  border-radius: 31px;
  color: var(--pink-soft);
  background:
    linear-gradient(
      145deg,
      rgba(134, 90, 122, 0.42),
      rgba(40, 36, 44, 0.9)
    );
  font-size: 36px;
  font-weight: 800;
}

.profile-identity-card h2 {
  margin: 0;
  font-size: 26px;
}

.profile-identity-card > p {
  margin: 6px 0 18px;
  color: var(--muted);
}

.profile-role {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.owner-role {
  color: var(--pink-soft);
  border-color: rgba(217, 167, 184, 0.22);
}

.profile-detail-list {
  margin: 22px 0;
}

.profile-detail-list div {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.profile-detail-list dt {
  color: var(--muted);
}

.profile-detail-list dd {
  margin: 0;
}

.music-placeholder {
  min-height: 430px;
  padding: 44px;
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 52px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(122, 85, 112, 0.19),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(76, 81, 122, 0.18),
      transparent 30%
    ),
    var(--panel);
  box-shadow: var(--shadow);
}

.record-disc {
  width: 230px;
  height: 230px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      #211e25 0,
      #211e25 4px,
      #18161b 5px,
      #18161b 8px
    );
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.record-disc::before {
  content: "";
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #161419 0 9px, transparent 10px),
    linear-gradient(135deg, #c594a7, #62546a);
}

.music-placeholder-copy h2 {
  margin: 10px 0;
  font-size: 31px;
}

.music-placeholder-copy p {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.8;
}

.future-controls {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.future-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #7c7379;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    width: min(280px, calc(100vw - 40px));
    padding: 10px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(24, 21, 29, 0.97);
    box-shadow: var(--shadow);
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav a,
  .nav-logout {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 5px 0;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .music-placeholder {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .record-disc {
    margin: 0 auto;
  }

  .music-placeholder-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .future-controls {
    justify-content: center;
  }
}

@media (max-width: 650px) {
  .global-header-inner,
  .global-footer,
  .content-shell {
    width: min(100% - 24px, 1180px);
  }

  .role-dashboard {
    grid-template-columns: 1fr;
  }

  .global-footer {
    display: block;
    line-height: 1.8;
  }

  .music-placeholder {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .record-disc {
    width: 190px;
    height: 190px;
  }
}
