/* Built main stylesheet: aggregated from chunk files for reliable production loading. */

@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Monoton&family=Orbitron:wght@500;700;900&family=Space+Grotesk:wght@400;500;600;700&family=Unbounded:wght@700;900&display=swap");

:root {
  --bg: #060606;
  --bg-soft: #0f0f0f;
  --panel: #151515;
  --card: #1c1c1c;
  --surface-1: rgba(255, 255, 255, 0.022);
  --surface-2: rgba(255, 255, 255, 0.04);
  --surface-glass: rgba(12, 12, 12, 0.78);
  --line: #3d3d3d;
  --line-soft: rgba(188, 188, 188, 0.24);
  --line-strong: rgba(232, 232, 232, 0.5);
  --text: #f2f2f2;
  --muted: #b2b2b2;
  --accent: #d0d0d0;
  --accent-strong: #8e8e8e;
  --accent-glow: rgba(208, 208, 208, 0.24);
  --danger: #9f9f9f;
  --success: #d7d7d7;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 10px 22px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 16px 34px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 58px rgba(0, 0, 0, 0.36);
  --motion-fast: 160ms;
  --motion-base: 190ms;
  --motion-slow: 220ms;
  --feed-sticky-top: 104px;
  --ui-heading-lg: clamp(1.34rem, 2.2vw, 1.74rem);
  --ui-heading-md: clamp(1.04rem, 1.6vw, 1.22rem);
  --ui-text-base: 0.94rem;
  --ui-text-muted: 0.82rem;
  --surface-panel:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014) 34%, rgba(255, 255, 255, 0.008)),
    rgba(15, 15, 15, 0.9);
  --surface-panel-strong:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 34%, rgba(255, 255, 255, 0.008)),
    rgba(12, 12, 12, 0.94);
  --surface-panel-soft:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
    rgba(18, 18, 18, 0.84);
  --surface-panel-border: rgba(232, 232, 232, 0.12);
  --surface-panel-border-strong: rgba(232, 232, 232, 0.2);
  --surface-panel-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 22px 44px rgba(0, 0, 0, 0.28);
  --surface-panel-shadow-strong:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 58px rgba(0, 0, 0, 0.34);
  --hero-glow: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 44%);
  --hero-bloom: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 34%);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 232, 232, 0.44) rgba(255, 255, 255, 0.05);
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(6, 6, 6, 0.86);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(166, 166, 166, 0.3)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 18px rgba(255, 255, 255, 0.06);
}

*::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(192, 192, 192, 0.42)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)) border-box;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: var(--ui-text-base);
  line-height: 1.42;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 128px;
  background:
    radial-gradient(74vw 52vh at 100% 0%, rgba(196, 196, 196, 0.18), transparent 66%),
    radial-gradient(68vw 48vh at 0% 8%, rgba(132, 132, 132, 0.12), transparent 70%),
    radial-gradient(56vw 42vh at 50% 100%, rgba(196, 196, 196, 0.08), transparent 76%),
    var(--bg);
  background-size: 130% 130%, 140% 140%, 145% 145%, 100% 100%;
  animation: ambientShift 22s ease-in-out infinite alternate;
}

body[data-ui-density="compact"] {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --ui-heading-lg: clamp(1.22rem, 2vw, 1.54rem);
  --ui-heading-md: clamp(0.98rem, 1.4vw, 1.12rem);
  --ui-text-base: 0.9rem;
  --ui-text-muted: 0.78rem;
}

body.site-intro-active {
  overflow: hidden;
}

html.site-intro-skip .site-intro-overlay {
  display: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 42vw;
  height: 42vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(36px);
  opacity: 0.45;
}

body::before {
  background: radial-gradient(circle, rgba(182, 182, 182, 0.3), transparent 68%);
  top: -12vw;
  left: -10vw;
  animation: floatingGlowA 14s ease-in-out infinite;
}

body::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(148, 148, 148, 0.24), transparent 70%);
  right: -12vw;
  bottom: -16vw;
  animation: floatingGlowB 18s ease-in-out infinite;
}

.site-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: clamp(1.4rem, 4vw, 2.8rem);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 40%, rgba(238, 238, 238, 0.14), transparent 18%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.1), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(180, 180, 180, 0.12), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(120, 120, 120, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(8, 8, 8, 0.96));
  transition:
    opacity 1040ms ease,
    visibility 1040ms ease,
    filter 1040ms ease;
}

.site-intro-overlay::before,
.site-intro-overlay::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-intro-overlay::before {
  width: 76vw;
  height: 76vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
  filter: blur(24px);
  animation: siteIntroNebulaPulse 5.2s ease-in-out infinite;
}

.site-intro-overlay::after {
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0%, rgba(255, 255, 255, 0.06) 16%, transparent 30%),
    linear-gradient(300deg, transparent 0%, rgba(255, 255, 255, 0.04) 14%, transparent 28%);
  mix-blend-mode: screen;
  animation: siteIntroSheen 4.4s linear infinite;
}

.site-intro-overlay.is-leaving {
  opacity: 0;
  visibility: hidden;
  filter: blur(14px) brightness(1.08);
  pointer-events: none;
}

.site-intro-shell {
  position: relative;
  width: min(960px, 94vw);
  display: grid;
  justify-items: center;
  gap: 1.16rem;
  text-align: center;
  perspective: 1200px;
}

.site-intro-shell::before {
  content: "";
  position: absolute;
  inset: auto 10% -4% 10%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
  filter: blur(18px);
  opacity: 0.7;
  animation: siteIntroFloorGlow 4.2s ease-in-out infinite;
}

.site-intro-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(520px, 78vw);
  height: min(520px, 78vw);
  border-radius: 50%;
  transform: translate(-50%, -52%);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(200, 200, 200, 0.08) 36%, transparent 72%);
  filter: blur(14px);
  animation: siteIntroHaloBreathe 3.8s ease-in-out infinite;
}

.site-intro-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(470px, 70vw);
  height: min(470px, 70vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-intro-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.08),
    inset 0 0 16px rgba(255, 255, 255, 0.03);
}

.site-intro-orbit-a {
  transform: rotate(18deg) scaleY(0.58);
  animation: siteIntroOrbitSpinA 6.8s linear infinite;
}

.site-intro-orbit-b {
  inset: 12%;
  opacity: 0.7;
  transform: rotate(-46deg) scaleX(0.7);
  animation: siteIntroOrbitSpinB 5.6s linear infinite reverse;
}

.site-intro-orbit-c {
  inset: 4%;
  opacity: 0.52;
  transform: rotate(82deg) scaleY(0.82);
  animation: siteIntroOrbitSpinC 9.4s linear infinite;
}

.site-intro-stage {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(760px, 82vw);
  height: 120px;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-intro-stage-line,
.site-intro-stage-core {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
}

.site-intro-stage-line {
  bottom: 18px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.2),
    0 0 48px rgba(180, 180, 180, 0.14);
  animation: siteIntroStageSweep 4.6s ease-in-out infinite;
}

.site-intro-stage-core {
  bottom: 0;
  width: 46%;
  height: 64px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
  filter: blur(16px);
  animation: siteIntroStageCorePulse 3.2s ease-in-out infinite;
}

.site-intro-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2vw, 1.34rem);
  font-size: clamp(2.8rem, 7.4vw, 5.9rem);
  opacity: 0;
  transform: translateY(28px) scale(0.9);
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.12));
  animation: siteIntroLogoReveal 1200ms cubic-bezier(.18, .86, .2, 1) 140ms forwards;
}

.site-intro-logo::after {
  content: "";
  position: absolute;
  inset: 24% -10% auto;
  height: 34%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  filter: blur(18px);
  opacity: 0.72;
  z-index: -1;
}

.site-intro-logo .brand-mark {
  --brand-mark-drop-shadow:
    drop-shadow(0 0 34px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 82px rgba(182, 182, 182, 0.16));
  width: 1.12em;
  height: 1.12em;
  min-width: 84px;
  min-height: 84px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.site-intro-logo .brand-logo-text {
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.34),
    0 0 52px rgba(210, 210, 210, 0.22),
    0 0 120px rgba(160, 160, 160, 0.14);
}

.site-intro-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.site-intro-kicker {
  margin: 0;
  color: rgba(214, 214, 214, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.7rem;
  opacity: 0;
  transform: translateY(10px);
  animation: siteIntroTextReveal 860ms ease 220ms forwards;
}

.site-intro-badge {
  margin: 0;
  width: fit-content;
  padding: 0.28rem 0.86rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 232, 232, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 18, 0.84);
  color: rgba(232, 232, 232, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  opacity: 0;
  transform: translateY(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 255, 255, 0.08);
  animation: siteIntroTextReveal 880ms ease 320ms forwards;
}

.site-intro-tagline {
  margin: 0;
  max-width: 42rem;
  color: rgba(236, 236, 236, 0.9);
  font-size: clamp(1.1rem, 2.4vw, 1.42rem);
  line-height: 1.22;
  letter-spacing: 0.015em;
  opacity: 0;
  transform: translateY(14px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  animation: siteIntroTextReveal 960ms ease 430ms forwards;
}

.site-intro-subline {
  margin: 0;
  max-width: 36rem;
  color: rgba(218, 218, 218, 0.62);
  font-size: clamp(0.92rem, 1.8vw, 1.06rem);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(16px);
  animation: siteIntroTextReveal 980ms ease 560ms forwards;
}

.site-intro-eq {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 0.42rem;
  height: 52px;
  padding: 0.34rem 0.62rem 0.18rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 10, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 20px rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(12px);
  animation: siteIntroTextReveal 920ms ease 720ms forwards;
}

.site-intro-eq span {
  width: 6px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(168, 168, 168, 0.18));
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(170, 170, 170, 0.12);
  animation: siteIntroEqPulse 1.28s ease-in-out infinite;
}

.site-intro-eq span:nth-child(1) { height: 18px; animation-delay: 0s; }
.site-intro-eq span:nth-child(2) { height: 34px; animation-delay: 0.12s; }
.site-intro-eq span:nth-child(3) { height: 24px; animation-delay: 0.24s; }
.site-intro-eq span:nth-child(4) { height: 44px; animation-delay: 0.36s; }
.site-intro-eq span:nth-child(5) { height: 22px; animation-delay: 0.48s; }
.site-intro-eq span:nth-child(6) { height: 36px; animation-delay: 0.6s; }
.site-intro-eq span:nth-child(7) { height: 20px; animation-delay: 0.72s; }

.site-intro-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-intro-overlay.is-leaving .site-intro-shell {
  transform: scale(1.04) translateY(-10px);
  opacity: 0;
  filter: blur(10px);
  transition:
    transform 1040ms ease,
    opacity 1040ms ease,
    filter 1040ms ease;
}

.bg-spheres {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.bg-sphere {
  position: absolute;
  bottom: -14vh;
  border-radius: 50%;
  border: 1px solid rgba(220, 220, 220, 0.26);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(166, 166, 166, 0.16), rgba(120, 120, 120, 0.06));
  box-shadow: 0 0 20px rgba(180, 180, 180, 0.2);
  opacity: 0.32;
  animation: riseSphere linear infinite;
}

.sphere-1 { width: 16px; height: 16px; left: 6%; animation-duration: 15s; animation-delay: 0s; }
.sphere-2 { width: 11px; height: 11px; left: 14%; animation-duration: 17s; animation-delay: 2s; }
.sphere-3 { width: 22px; height: 22px; left: 24%; animation-duration: 19s; animation-delay: 1s; }
.sphere-4 { width: 14px; height: 14px; left: 36%; animation-duration: 16s; animation-delay: 4s; }
.sphere-5 { width: 10px; height: 10px; left: 48%; animation-duration: 14s; animation-delay: 3s; }
.sphere-6 { width: 20px; height: 20px; left: 58%; animation-duration: 21s; animation-delay: 0.5s; }
.sphere-7 { width: 12px; height: 12px; left: 68%; animation-duration: 18s; animation-delay: 2.5s; }
.sphere-8 { width: 18px; height: 18px; left: 78%; animation-duration: 20s; animation-delay: 1.5s; }
.sphere-9 { width: 9px; height: 9px; left: 88%; animation-duration: 13s; animation-delay: 4.5s; }
.sphere-10 { width: 24px; height: 24px; left: 94%; animation-duration: 22s; animation-delay: 1.2s; }

.container {
  width: min(1180px, 95vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 24;
  overflow: clip;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.92), rgba(8, 8, 8, 0.84)),
    var(--surface-glass);
  border-bottom: 1px solid rgba(200, 200, 200, 0.2);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  transition:
    box-shadow var(--motion-base) ease,
    border-color var(--motion-base) ease,
    backdrop-filter var(--motion-base) ease;
}

.topbar-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0 0.68rem;
  transition:
    padding var(--motion-base) ease,
    gap var(--motion-base) ease,
    transform var(--motion-base) ease;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  transition:
    transform var(--motion-base) ease,
    opacity var(--motion-base) ease;
}

.brand-wrap h1 {
  margin: 0;
}

.brand-logo {
  text-decoration: none;
  text-transform: lowercase;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: 0.12em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: "Monoton", "Unbounded", "Orbitron", "Audiowide", "Space Grotesk", sans-serif;
  font-weight: 400;
  letter-spacing: 0.035em;
  color: #f6f6f6;
  animation: brandFloat 5.6s ease-in-out infinite;
  transition:
    font-size var(--motion-base) ease,
    gap var(--motion-base) ease,
    opacity var(--motion-base) ease,
    filter var(--motion-base) ease;
}

.brand-mark {
  --brand-mark-drop-shadow:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.1))
    drop-shadow(0 0 34px rgba(160, 160, 160, 0.12));
  position: relative;
  width: 0.98em;
  height: 0.98em;
  min-width: 34px;
  min-height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(circle, #fff 66%, #fff 99%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.24), transparent 24%),
    radial-gradient(circle at 52% 52%, rgba(255, 255, 255, 0.16), rgba(132, 132, 132, 0.08) 46%, transparent 68%),
    linear-gradient(145deg, rgba(24, 28, 36, 0.98), rgba(4, 5, 8, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  filter: var(--brand-mark-drop-shadow);
  animation: brandMarkPulse 3.6s ease-in-out infinite;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  pointer-events: none;
}

.brand-mark::before {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 22deg,
    rgba(255, 255, 255, 0.82) 42deg,
    transparent 64deg,
    transparent 130deg,
    rgba(214, 214, 214, 0.26) 154deg,
    transparent 176deg,
    transparent 232deg,
    rgba(255, 255, 255, 0.62) 264deg,
    transparent 286deg,
    transparent 360deg
  );
  opacity: 0.68;
  filter: blur(0.6px);
  animation: brandHaloSpin 7.4s linear infinite;
}

.brand-mark::after {
  inset: 8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
}

.brand-mark-orbit,
.brand-mark-core,
.brand-mark-glint,
.brand-logo-text::before,
.brand-logo-text::after {
  position: absolute;
  pointer-events: none;
}

.brand-mark-orbit {
  inset: 19%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.54);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.brand-mark-orbit-a {
  transform: rotate(18deg) scaleY(0.56);
  animation: brandOrbitSpinA 7.8s linear infinite;
}

.brand-mark-orbit-b {
  inset: 21% 25%;
  opacity: 0.66;
  transform: rotate(-54deg) scaleX(0.72);
  animation: brandOrbitSpinB 6.2s linear infinite reverse;
}

.brand-mark-core {
  inset: 34%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.34) 44%, rgba(255, 255, 255, 0.06) 76%, transparent 100%);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),
    0 0 24px rgba(220, 220, 220, 0.34);
  animation: brandCorePulse 2.8s ease-in-out infinite;
}

.brand-mark-glint {
  top: -24%;
  left: -18%;
  width: 30%;
  height: 168%;
  border-radius: 999px;
  opacity: 0.48;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(0.9px);
  mix-blend-mode: screen;
  transform: rotate(26deg);
  animation: brandGlintSweep 4.2s ease-in-out infinite;
}

.brand-logo-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #ffffff 8%, #dddddd 42%, #a8a8a8 72%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.24),
    0 0 28px rgba(200, 200, 200, 0.22),
    0 0 44px rgba(140, 140, 140, 0.18);
  animation: brandGlow 2.8s ease-in-out infinite;
}

.brand-logo-text::before {
  content: "";
  left: -10px;
  right: -10px;
  bottom: -4px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(184, 184, 184, 0.2), transparent 70%);
  filter: blur(6px);
}

.brand-logo-text::after {
  content: attr(data-brand);
  inset: 0;
  color: rgba(230, 230, 230, 0.22);
  filter: blur(10px);
  z-index: -1;
}

.brand-beta {
  margin: 0.24rem 0 0;
  color: #d8d8d8;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  width: fit-content;
  padding: 0.14rem 0.42rem;
  border: 1px solid rgba(186, 186, 186, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(176, 176, 176, 0.16), rgba(255, 255, 255, 0.03), rgba(176, 176, 176, 0.16));
  background-size: 220% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 18px rgba(170, 170, 170, 0.18);
  animation: betaPulse 2.4s ease-in-out infinite, betaSweep 4.8s linear infinite;
  max-height: 44px;
  overflow: hidden;
  transform-origin: left center;
  transition:
    max-height var(--motion-base) ease,
    opacity var(--motion-base) ease,
    transform var(--motion-base) ease,
    margin var(--motion-base) ease,
    padding var(--motion-base) ease;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  transition: gap var(--motion-base) ease;
}

.topbar-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
  align-items: center;
  max-height: 72px;
  overflow: hidden;
  transition:
    max-height var(--motion-base) ease,
    opacity var(--motion-base) ease,
    transform var(--motion-base) ease,
    margin var(--motion-base) ease;
}

.online-pill {
  border: 1px solid rgba(190, 190, 190, 0.42);
  border-radius: 999px;
  padding: 0.22rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ebebeb;
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.14), rgba(122, 122, 122, 0.08)),
    rgba(10, 10, 10, 0.8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.notifications-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.74rem;
  border-radius: 999px;
  border-color: rgba(196, 196, 196, 0.46);
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.18), rgba(196, 196, 196, 0.06)),
    rgba(14, 14, 14, 0.78);
  color: #eaeaea;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.notifications-btn-icon {
  line-height: 1;
}

.sf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  color: inherit;
  pointer-events: none;
  user-select: none;
}

.sf-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.sf-icon--xs {
  width: 0.82rem;
  height: 0.82rem;
}

.sf-icon--sm {
  width: 0.96rem;
  height: 0.96rem;
}

.sf-icon--md {
  width: 1.08rem;
  height: 1.08rem;
}

.sf-icon--lg {
  width: 1.24rem;
  height: 1.24rem;
}

.sf-icon-btn,
.sf-stat,
.sf-stat-group {
  display: inline-flex;
  align-items: center;
}

.sf-icon-btn,
.sf-stat {
  gap: 0.46rem;
}

.sf-icon-btn {
  justify-content: center;
}

.sf-icon-btn-label,
.sf-stat-label,
.sf-inline-stat-label {
  line-height: 1;
}

.sf-icon-btn--icon-only {
  gap: 0;
}

.sf-stat-group {
  flex-wrap: wrap;
  gap: 0.55rem;
}

.sf-inline-stat {
  color: inherit;
}

.notifications-btn-icon .sf-icon {
  width: 0.94rem;
  height: 0.94rem;
}

.notifications-badge {
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 0.28rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #111111;
  background: linear-gradient(180deg, #f0f0f0, #a0a0a0);
  box-shadow: 0 0 12px rgba(176, 176, 176, 0.35);
}

.tab-btn,
button {
  font: inherit;
}

.tab-btn {
  border: 1px solid rgba(150, 150, 150, 0.38);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(20, 20, 20, 0.74);
  color: #f0f0f0;
  padding: 0.54rem 0.86rem;
  min-height: 42px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color var(--motion-base) ease,
    background-color var(--motion-base) ease,
    color var(--motion-base) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-base) ease,
    filter var(--motion-base) ease,
    min-height var(--motion-base) ease,
    padding var(--motion-base) ease;
}

a.tab-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab-btn.active {
  border-color: rgba(232, 232, 232, 0.72);
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.36), rgba(196, 196, 196, 0.16)),
    rgba(20, 20, 20, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(238, 238, 238, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.26),
    0 0 0 2px rgba(196, 196, 196, 0.15);
}

.tab-btn:hover {
  border-color: rgba(232, 232, 232, 0.7);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(238, 238, 238, 0.07);
  filter: saturate(1.08);
}

.global-status {
  margin: 0;
  min-height: 1.5rem;
  padding-bottom: 0.45rem;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  max-height: 56px;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    margin 0.45s ease,
    padding 0.45s ease,
    opacity 0.45s ease,
    transform 0.45s ease,
    filter 0.45s ease,
    border-color 0.45s ease,
    background-color 0.45s ease,
    box-shadow 0.45s ease;
}

.global-status.error {
  color: var(--danger);
}

.global-status.success {
  color: var(--success);
}

.global-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.global-status.is-fading {
  opacity: 0;
  transform: translateY(-2px);
  filter: blur(1px);
}

.toast-status {
  width: fit-content;
  min-height: 0;
  padding: 0.34rem 0.72rem;
  border: 1px solid rgba(196, 196, 196, 0.3);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.2), rgba(196, 196, 196, 0.08)),
    rgba(10, 10, 10, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.24);
}

.toast-status.error {
  border-color: rgba(170, 170, 170, 0.48);
  background:
    linear-gradient(180deg, rgba(170, 170, 170, 0.2), rgba(170, 170, 170, 0.08)),
    rgba(14, 14, 14, 0.86);
}

.toast-status.success {
  border-color: rgba(210, 210, 210, 0.52);
  background:
    linear-gradient(180deg, rgba(210, 210, 210, 0.2), rgba(210, 210, 210, 0.08)),
    rgba(14, 14, 14, 0.86);
}

main {
  padding: 1rem 0 2rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: panelReveal var(--motion-slow) ease;
}

.window {
  border: 1px solid rgba(150, 150, 150, 0.34);
  border-radius: 20px;
  padding: 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008)),
    rgba(22, 22, 22, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 20px 52px rgba(0, 0, 0, 0.34);
}

body[data-ui-density="compact"] .window {
  padding: 0.82rem;
  border-radius: 16px;
}

.window-profile {
  background:
    radial-gradient(circle at 8% 10%, rgba(196, 196, 196, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(196, 196, 196, 0.09), transparent 42%),
    rgba(22, 22, 22, 0.92);
}

.window-publish {
  background:
    radial-gradient(circle at 90% 8%, rgba(196, 196, 196, 0.1), transparent 46%),
    linear-gradient(180deg, rgba(150, 150, 150, 0.11), transparent 40%),
    rgba(22, 22, 22, 0.92);
}

.window-feed {
  background:
    radial-gradient(circle at 18% 12%, rgba(196, 196, 196, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(196, 196, 196, 0.07), transparent 42%),
    rgba(22, 22, 22, 0.92);
}

.window-settings {
  background:
    radial-gradient(circle at 86% 16%, rgba(196, 196, 196, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(118, 118, 118, 0.09), transparent 42%),
    rgba(22, 22, 22, 0.92);
}

h2,
h3,
h4 {
  margin: 0 0 0.7rem;
}

h4 {
  margin-top: 0.8rem;
}

.muted {
  color: var(--muted);
}

.user-link {
  color: var(--text);
  text-decoration: none;
}

.user-link:hover {
  color: #dcdcdc;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.profile-header {
  border: 1px solid rgba(232, 232, 232, 0.24);
  border-radius: 18px;
  height: 256px;
  background:
    radial-gradient(circle at 14% 16%, rgba(232, 232, 232, 0.3), transparent 42%),
    linear-gradient(135deg, #121212, #1f1f1f 58%, #2e2e2e 100%);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 20px 40px rgba(0, 0, 0, 0.28);
}

.profile-header.is-editable {
  cursor: pointer;
}

.profile-header.is-editable:hover,
.profile-header.is-editable:focus-visible {
  border-color: rgba(232, 232, 232, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 46px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(196, 196, 196, 0.12);
}

.profile-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.14), rgba(10, 10, 10, 0.62)),
    radial-gradient(circle at 18% 18%, rgba(232, 232, 232, 0.16), transparent 48%);
  pointer-events: none;
}

.profile-avatar {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(236, 236, 236, 0.96);
  left: 1.2rem;
  bottom: 1.2rem;
  background: #111111;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(196, 196, 196, 0.34);
}

.profile-avatar.is-editable {
  cursor: pointer;
  z-index: 2;
  transition:
    transform var(--motion-fast) ease,
    box-shadow var(--motion-base) ease,
    border-color var(--motion-base) ease;
}

.profile-avatar.is-editable:hover,
.profile-avatar.is-editable:focus-visible {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 232, 232, 0.54),
    0 0 0 4px rgba(196, 196, 196, 0.16);
}

.profile-main {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
}

.profile-main-hero {
  margin-top: -0.6rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1rem 1.05rem;
  border: 1px solid var(--surface-panel-border-strong);
  border-radius: 24px;
  background:
    var(--hero-glow),
    var(--hero-bloom),
    var(--surface-panel-strong);
  box-shadow: var(--surface-panel-shadow-strong);
  align-items: end;
}

.profile-main-hero::before,
.profile-main-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.profile-main-hero::before {
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  opacity: 0.78;
}

.profile-main-hero::after {
  top: -28%;
  right: -8%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
  filter: blur(8px);
  opacity: 0.56;
}

.profile-identity {
  min-height: 92px;
  padding-left: 172px;
}

#profileBio {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#profileBio:hover {
  opacity: 0.85;
}

.profile-main h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.4rem, 3.1vw, 2.05rem);
  line-height: 1.06;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

#profileUsername,
#publicUsername {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  max-width: 100%;
  vertical-align: middle;
}

#profileUsername .profile-role-badge,
#publicUsername .profile-role-badge {
  margin-left: 0;
}

.profile-main-hero .muted {
  color: rgba(208, 208, 208, 0.88);
}

.profile-hero-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.profile-pinned-release {
  margin-top: 0.9rem;
  padding: 0.66rem;
}

#profilePinnedReleaseContent {
  margin-top: 0.52rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.52rem;
}

.profile-pinned-release-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0.62rem;
  align-items: center;
  border: 1px solid rgba(232, 232, 232, 0.1);
  border-radius: 18px;
  padding: 0.72rem;
  background: var(--surface-panel-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 16px 30px rgba(0, 0, 0, 0.2);
}

.profile-pinned-release-cover-link {
  display: block;
  width: 82px;
  height: 82px;
}

.profile-pinned-release-cover {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111111;
}

.profile-pinned-release-body {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.profile-pinned-release-body .track-title-link {
  font-size: 1rem;
  line-height: 1.2;
}

.profile-pinned-release-body .muted {
  margin: 0;
  font-size: 0.8rem;
}

.profile-pinned-release-open {
  width: fit-content;
  padding: 0.32rem 0.56rem;
}

.profile-toolbar {
  margin-top: 0.9rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--surface-panel-border);
  border-radius: 22px;
  padding: 0.88rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006)),
    rgba(11, 11, 11, 0.9);
  box-shadow: var(--surface-panel-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.profile-tab.active,
.public-profile-tab.active {
  border-color: var(--accent);
  background: rgba(196, 196, 196, 0.22);
}

.profile-panels {
  margin-top: 0.9rem;
}

.profile-panel {
  display: none;
}

.profile-panel.active {
  display: block;
  animation: panelReveal var(--motion-slow) ease;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.section-head > h3,
.section-head > h4 {
  margin: 0;
}

.section-toggle-row {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: 72px;
  overflow: hidden;
  transition:
    max-height var(--motion-base) ease,
    margin var(--motion-base) ease,
    opacity var(--motion-base) ease,
    transform var(--motion-base) ease;
}

.section-toggle-btn {
  min-height: 36px;
  padding: 0.36rem 0.7rem;
  font-size: 0.84rem;
}

.feed-sticky-bar {
  position: sticky;
  top: var(--feed-sticky-top);
  z-index: 14;
  margin: -0.12rem -0.2rem 0;
  padding: 0.3rem 0.2rem 0.5rem;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.95), rgba(22, 22, 22, 0.86)),
    rgba(22, 22, 22, 0.92);
  border: 1px solid rgba(150, 150, 150, 0.22);
  transition:
    top var(--motion-base) ease,
    padding var(--motion-base) ease,
    margin var(--motion-base) ease,
    border-radius var(--motion-base) ease,
    background var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    border-color var(--motion-base) ease;
}

body[data-ui-density="compact"] .feed-sticky-bar {
  margin: -0.08rem -0.16rem 0;
  padding: 0.22rem 0.16rem 0.38rem;
  border-radius: 12px;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.stat-box {
  min-width: 88px;
  border: 1px solid rgba(232, 232, 232, 0.1);
  border-radius: 14px;
  padding: 0.44rem 0.58rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.01)),
    rgba(14, 14, 14, 0.86);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.1;
}

.stat-box strong {
  font-size: 1rem;
  line-height: 1.18;
}

.stat-box-btn {
  appearance: none;
  min-width: 92px;
  text-align: center;
}

.stat-box-btn:hover {
  border-color: var(--accent);
  background: rgba(196, 196, 196, 0.12);
}

.sub-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.85rem;
}

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--surface-panel-border);
  border-radius: 22px;
  background: var(--surface-panel);
  padding: 0.96rem;
  box-shadow: var(--surface-panel-shadow);
  transition:
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-base) ease;
}

.card::before,
.playlist-item::before,
.selection-item::before,
.simple-item::before,
.profile-toolbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.card::after,
.playlist-item::after,
.selection-item::after,
.simple-item::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
  opacity: 0.5;
  pointer-events: none;
}

body[data-ui-density="compact"] .card {
  padding: 0.74rem;
  border-radius: 18px;
}

.card:hover {
  border-color: rgba(232, 232, 232, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

label {
  display: block;
  margin-bottom: 0.7rem;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 0.28rem;
  background: #111111;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.56rem 0.64rem;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(196, 196, 196, 0.24);
}

button {
  border: none;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #d8d8d8, #9a9a9a);
  color: #f4f4f4;
  padding: 0.56rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--motion-base) ease,
    border-color var(--motion-base) ease,
    color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-fast) ease;
}

body[data-ui-density="compact"] .tab-btn,
body[data-ui-density="compact"] button,
body[data-ui-density="compact"] .ghost {
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  font-size: 0.84rem;
}

button:hover {
  background: linear-gradient(180deg, #eeeeee, #8c8c8c);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(236, 236, 236, 0.08) inset;
}

button:active:not(:disabled),
.tab-btn:active,
.ghost:active {
  transform: translateY(1px) scale(0.985);
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ghost {
  border: 1px solid rgba(150, 150, 150, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(20, 20, 20, 0.74);
  color: #f0f0f0;
  transition:
    border-color var(--motion-base) ease,
    background-color var(--motion-base) ease,
    color var(--motion-base) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-base) ease;
}

a.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.48rem 0.72rem;
}

.ghost:hover {
  border-color: rgba(232, 232, 232, 0.68);
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.16), rgba(196, 196, 196, 0.05)),
    rgba(20, 20, 20, 0.82);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(236, 236, 236, 0.06);
}

.feed-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  transition: gap var(--motion-base) ease;
}

.feed-search {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  max-height: 96px;
  overflow: hidden;
  transition:
    max-height var(--motion-base) ease,
    margin var(--motion-base) ease,
    opacity var(--motion-base) ease,
    transform var(--motion-base) ease;
}

.quick-filters {
  margin-top: 0.52rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.42rem;
  max-height: 92px;
  overflow: hidden;
  transition:
    max-height var(--motion-base) ease,
    margin var(--motion-base) ease,
    opacity var(--motion-base) ease,
    transform var(--motion-base) ease;
}

.quick-filter-chip {
  min-height: 35px;
  border-radius: 999px;
  padding: 0.26rem 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.quick-filter-chip.active {
  border-color: rgba(232, 232, 232, 0.72);
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.24), rgba(196, 196, 196, 0.08)),
    rgba(20, 20, 20, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(236, 236, 236, 0.08),
    0 0 0 2px rgba(196, 196, 196, 0.16);
}

.quick-chip-select {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  border: 1px solid rgba(150, 150, 150, 0.4);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(20, 20, 20, 0.74);
  padding: 0.22rem 0.3rem 0.22rem 0.5rem;
  min-height: 35px;
}

.quick-chip-select span {
  color: var(--muted);
  font-size: var(--ui-text-muted);
  white-space: nowrap;
}

.quick-chip-select select {
  margin: 0;
  width: auto;
  min-width: 108px;
  border-radius: 999px;
  padding: 0.2rem 0.42rem;
  font-size: var(--ui-text-muted);
  line-height: 1.2;
}

body[data-ui-density="compact"] .feed-top {
  gap: 0.62rem;
}

body.feed-scroll-condensed .topbar {
  border-bottom-color: rgba(170, 170, 170, 0.14);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

body.feed-scroll-condensed .topbar-inner {
  gap: 0.72rem;
  padding: 0.46rem 0 0.36rem;
}

body.feed-scroll-condensed .brand-wrap {
  transform: translateY(-2px);
}

body.feed-scroll-condensed .brand-logo {
  font-size: clamp(1.22rem, 2.55vw, 1.86rem);
  gap: 0.54rem;
  filter: saturate(0.92) brightness(0.95);
}

body.feed-scroll-condensed .brand-beta {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px) scale(0.92);
}

body.feed-scroll-condensed .topbar-right {
  gap: 0.24rem;
}

body.feed-scroll-condensed .topbar-pills {
  margin: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

body.feed-scroll-condensed .tab-btn {
  min-height: 38px;
  padding: 0.42rem 0.74rem;
}

body.feed-scroll-condensed .global-status {
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.feed-scroll-condensed .feed-sticky-bar {
  margin-top: -0.08rem;
  padding: 0.16rem 0.16rem 0.18rem;
  border-radius: 12px;
  border-color: rgba(150, 150, 150, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(18, 18, 18, 0.84)),
    rgba(18, 18, 18, 0.9);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

body.feed-scroll-condensed .feed-top {
  gap: 0.5rem;
}

body.feed-scroll-condensed .feed-top > h2 {
  margin: 0;
  font-size: clamp(1.48rem, 3vw, 1.86rem);
}

body.feed-scroll-condensed .feed-search,
body.feed-scroll-condensed .quick-filters {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

#tab-feed.feed-scroll-condensed .feed-sticky-bar {
  margin-top: -0.08rem;
  padding: 0.14rem 0.16rem 0.16rem;
  border-radius: 12px;
  border-color: rgba(150, 150, 150, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.86)),
    rgba(18, 18, 18, 0.92);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

#tab-feed.feed-scroll-condensed .feed-top {
  gap: 0.48rem;
}

#tab-feed.feed-scroll-condensed .feed-top > h2 {
  margin: 0;
  font-size: clamp(1.42rem, 2.8vw, 1.8rem);
}

#tab-feed.feed-scroll-condensed .feed-search,
#tab-feed.feed-scroll-condensed .quick-filters,
#tab-feed.feed-scroll-condensed .section-toggle-row {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

#tab-feed.feed-scroll-condensed .section-toggle-row {
  margin-bottom: 0;
}

body[data-ui-density="compact"] .feed-search {
  margin-top: 0.54rem;
  gap: 0.42rem;
}

body[data-ui-density="compact"] .quick-filters {
  margin-top: 0.42rem;
  gap: 0.32rem;
}

body[data-ui-density="compact"] .quick-filter-chip,
body[data-ui-density="compact"] .quick-chip-select {
  min-height: 32px;
}

body[data-ui-density="compact"] .quick-filter-chip {
  padding: 0.18rem 0.56rem;
}

body[data-ui-density="compact"] .quick-chip-select {
  padding: 0.16rem 0.25rem 0.16rem 0.44rem;
}

.ui-density-form {
  margin-top: 0.7rem;
  border-top: 1px dashed rgba(150, 150, 150, 0.34);
  padding-top: 0.68rem;
}

.ui-density-form h4 {
  margin: 0 0 0.24rem;
}

.ui-density-form .muted {
  margin: 0 0 0.45rem;
}

.search-results {
  margin-top: 0.58rem;
  border: 1px solid rgba(150, 150, 150, 0.36);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(22, 22, 22, 0.92);
  padding: 0.55rem;
  display: grid;
  gap: 0.42rem;
  max-height: 360px;
  overflow: auto;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.search-result-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.45rem 0.55rem;
  transition:
    border-color var(--motion-base) ease,
    background-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-fast) ease;
}

.search-result-item:hover,
.search-result-item.active {
  border-color: rgba(196, 196, 196, 0.58);
  background: rgba(196, 196, 196, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.search-result-item:focus-visible {
  outline: none;
  border-color: rgba(232, 232, 232, 0.72);
  box-shadow: 0 0 0 2px rgba(196, 196, 196, 0.25);
}

.search-result-item span {
  display: block;
}

.search-result-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.author-stats-wrap {
  display: grid;
  gap: 0.7rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.55rem;
}

.stats-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.stats-box strong {
  display: block;
  font-size: 1rem;
}

.stats-bars {
  display: grid;
  gap: 0.35rem;
}

.stats-bar-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.stats-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #9a9a9a, #b8b8b8);
}

.stats-list {
  display: grid;
  gap: 0.28rem;
}

.stats-list-item {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.44rem;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
}

.stats-list-item span,
.stats-list-item strong {
  min-width: 0;
}

.stats-list-item span {
  word-break: break-word;
}

.stats-list-item strong {
  text-align: right;
  white-space: normal;
  word-break: break-word;
}

.history-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.52rem;
  background: rgba(255, 255, 255, 0.02);
}

.history-item p {
  margin: 0.16rem 0 0;
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.feed-filter.active {
  border-color: var(--accent);
  background: rgba(196, 196, 196, 0.2);
}

.selection-list,
.playlist-list,
.tracks-list,
.simple-list,
.chat-list {
  display: grid;
  gap: 0.55rem;
}

.selection-item,
.simple-item,
.playlist-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(232, 232, 232, 0.1);
  border-radius: 18px;
  padding: 0.72rem 0.76rem;
  background: var(--surface-panel-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.22);
  transition:
    border-color var(--motion-base) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-base) ease;
}

body[data-ui-density="compact"] .selection-item,
body[data-ui-density="compact"] .simple-item,
body[data-ui-density="compact"] .playlist-item,
body[data-ui-density="compact"] .stat-box {
  padding: 0.38rem 0.46rem;
}

body[data-ui-density="compact"] .profile-header {
  height: 220px;
}

body[data-ui-density="compact"] .profile-avatar {
  width: 126px;
  height: 126px;
}

body[data-ui-density="compact"] .profile-identity {
  min-height: 74px;
  padding-left: 146px;
}

body[data-ui-density="compact"] .profile-main h2 {
  font-size: clamp(1.22rem, 2.4vw, 1.72rem);
}

body[data-ui-density="compact"] .sub-grid {
  gap: 0.62rem;
}

.selection-item:hover,
.simple-item:hover,
.playlist-item:hover {
  border-color: rgba(232, 232, 232, 0.2);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 34px rgba(0, 0, 0, 0.28);
}

.selection-item p,
.simple-item p,
.playlist-item p {
  margin: 0.18rem 0 0;
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes siteIntroLogoReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes siteIntroTextReveal {
  0% {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes siteIntroHaloBreathe {
  0%,
  100% {
    transform: translate(-50%, -52%) scale(0.94);
    opacity: 0.72;
  }
  50% {
    transform: translate(-50%, -52%) scale(1.1);
    opacity: 1;
  }
}

@keyframes siteIntroNebulaPulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.16);
    opacity: 0.9;
  }
}

@keyframes siteIntroSheen {
  0% {
    transform: translateX(-30%);
    opacity: 0;
  }
  18%,
  72% {
    opacity: 1;
  }
  100% {
    transform: translateX(30%);
    opacity: 0;
  }
}

@keyframes siteIntroOrbitSpinA {
  from {
    transform: rotate(18deg) scaleY(0.58);
  }
  to {
    transform: rotate(378deg) scaleY(0.58);
  }
}

@keyframes siteIntroOrbitSpinB {
  from {
    transform: rotate(-46deg) scaleX(0.7);
  }
  to {
    transform: rotate(-406deg) scaleX(0.7);
  }
}

@keyframes siteIntroOrbitSpinC {
  from {
    transform: rotate(82deg) scaleY(0.82);
  }
  to {
    transform: rotate(442deg) scaleY(0.82);
  }
}

@keyframes siteIntroEqPulse {
  0%,
  100% {
    transform: scaleY(0.54);
    opacity: 0.56;
  }
  50% {
    transform: scaleY(1.16);
    opacity: 1;
  }
}

@keyframes siteIntroFloorGlow {
  0%,
  100% {
    transform: scaleX(0.88);
    opacity: 0.54;
  }
  50% {
    transform: scaleX(1.06);
    opacity: 0.86;
  }
}

@keyframes siteIntroStageSweep {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) scaleX(0.92);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.04);
  }
}

@keyframes siteIntroStageCorePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) scale(0.92);
  }
  50% {
    opacity: 0.96;
    transform: translateX(-50%) scale(1.08);
  }
}

.track-title-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex-wrap: wrap;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.track-title-link:hover {
  color: #e7e7e7;
  border-bottom-color: rgba(196, 196, 196, 0.4);
}

.compact-link {
  text-decoration: none;
}

.compact-link:hover {
  text-decoration: underline;
  text-decoration-color: rgba(196, 196, 196, 0.45);
}

.track-title-text {
  min-width: 0;
}

.track-title-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  flex-wrap: wrap;
}

.track-explicit-badge,
.profile-role-badge[data-tooltip] {
  position: relative;
  cursor: help;
}

.track-explicit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.36rem;
  height: 1.36rem;
  padding: 0 0.38rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(120, 120, 120, 0.12)),
    rgba(8, 8, 8, 0.9);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

.track-explicit-badge.is-compact {
  min-width: 1.18rem;
  height: 1.18rem;
  padding: 0 0.32rem;
  font-size: 0.62rem;
}

.track-explicit-badge[data-tooltip]::before,
.profile-role-badge[data-tooltip]::before,
.track-explicit-badge[data-tooltip]::after,
.profile-role-badge[data-tooltip]::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.track-explicit-badge[data-tooltip]::before,
.profile-role-badge[data-tooltip]::before {
  content: attr(data-tooltip);
  top: calc(100% + 10px);
  min-width: 180px;
  max-width: min(260px, calc(100vw - 2rem));
  padding: 0.56rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(8, 8, 8, 0.98)),
    rgba(8, 8, 8, 0.96);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(255, 255, 255, 0.04);
  color: #f2f2f2;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  z-index: 40;
}

.track-explicit-badge[data-tooltip]::after,
.profile-role-badge[data-tooltip]::after {
  content: "";
  top: calc(100% + 4px);
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 14, 0.98);
  transform: translate(-50%, 6px) rotate(45deg);
  z-index: 39;
}

.track-explicit-badge[data-tooltip]:hover::before,
.track-explicit-badge[data-tooltip]:hover::after,
.track-explicit-badge[data-tooltip]:focus-visible::before,
.track-explicit-badge[data-tooltip]:focus-visible::after,
.profile-role-badge[data-tooltip]:hover::before,
.profile-role-badge[data-tooltip]:hover::after,
.profile-role-badge[data-tooltip]:focus-visible::before,
.profile-role-badge[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.album-cover-preview {
  display: block;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  margin-top: 0.45rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: #111111;
}

.upload-form,
.mini-form,
.message-form {
  display: grid;
  gap: 0.55rem;
}

.publish-shell {
  display: grid;
  gap: 1rem;
}

.publish-shell [data-publish-panel] {
  display: none;
}

.publish-shell[data-publish-view="track"] [data-publish-panel="track"],
.publish-shell[data-publish-view="album"] [data-publish-panel="album"],
.publish-shell[data-publish-view="beat"] [data-publish-panel="beat"] {
  display: grid;
  animation: publish-panel-in 260ms ease;
}

.publish-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.95fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(14, 14, 14, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 18px 40px rgba(0, 0, 0, 0.2);
}

.publish-hero-copy {
  display: grid;
  align-content: start;
  gap: 0.7rem;
}

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

.publish-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.publish-hero-kicker-icon,
.publish-mode-icon,
.publish-form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.publish-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.publish-hero-point {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.publish-hero-point .sf-icon {
  color: rgba(255, 255, 255, 0.9);
}

.publish-mode-grid {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.publish-mode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.publish-mode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.03);
}

.publish-mode-card.active {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.16);
}

.publish-mode-icon,
.publish-form-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.publish-mode-icon .sf-icon,
.publish-form-icon .sf-icon,
.publish-hero-kicker-icon .sf-icon {
  color: rgba(255, 255, 255, 0.92);
}

.publish-mode-copy {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.publish-mode-copy strong,
.publish-mode-copy small {
  display: block;
}

.publish-mode-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.publish-form-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(16, 16, 16, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 18px 36px rgba(0, 0, 0, 0.18);
}

.publish-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
  flex-wrap: wrap;
}

.publish-form-title {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.publish-form-title h2,
.publish-form-title p {
  margin: 0;
}

.publish-form-title p {
  margin-top: 0.2rem;
  color: var(--muted);
}

.publish-form-badge,
.publish-section-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  white-space: nowrap;
}

.publish-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1rem;
}

.publish-form-column {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.publish-section-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.92rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.publish-section-card h3,
.publish-section-card p,
.publish-section-card strong {
  margin: 0;
}

.publish-section-card > label {
  margin: 0;
}

.publish-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.publish-section-head p {
  margin-top: 0.18rem;
  color: var(--muted);
}

.publish-lyrics-field,
.publish-sync-field {
  min-height: 170px;
  line-height: 1.55;
  resize: vertical;
}

.publish-lyrics-field {
  min-height: 220px;
}

.publish-details {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.22rem;
}

.publish-details summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.76rem;
  border-radius: 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.publish-details summary::-webkit-details-marker {
  display: none;
}

.publish-details[open] summary {
  background: rgba(255, 255, 255, 0.04);
}

.publish-details-body {
  padding: 0.12rem 0.45rem 0.45rem;
  display: grid;
  gap: 0.75rem;
}

.publish-details-body > label {
  margin: 0;
}

.publish-tap-sync {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.publish-tap-sync-title {
  font-size: 0.95rem;
}

.publish-tap-sync-status {
  color: var(--muted);
  font-size: 0.88rem;
}

.publish-tap-sync-status.recording {
  color: var(--text);
}

.publish-tap-sync-current {
  display: grid;
  gap: 0.3rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  white-space: pre-wrap;
  word-break: break-word;
}

.publish-tap-sync-current strong {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publish-tap-sync-line {
  display: grid;
  gap: 0.2rem;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.025);
}

.publish-tap-sync-line.is-current {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.publish-tap-sync-line.is-next {
  border: 1px solid rgba(196, 196, 196, 0.2);
  background: rgba(196, 196, 196, 0.08);
}

.publish-tap-sync-line-label {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.publish-sync-audio {
  display: none;
}

.publish-sync-audio-player {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.82rem 0.92rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    radial-gradient(circle at 86% 84%, rgba(188, 188, 188, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(10, 10, 10, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.publish-sync-audio-player::before,
.publish-sync-audio-player::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.publish-sync-audio-player::before {
  width: 180px;
  height: 180px;
  top: -88px;
  left: -54px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  filter: blur(14px);
  opacity: 0.62;
}

.publish-sync-audio-player::after {
  right: -42px;
  bottom: 0;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.48;
}

.publish-sync-audio-player.is-ready {
  border-color: rgba(255, 255, 255, 0.16);
}

.publish-sync-audio-player.is-playing {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 255, 255, 0.06);
}

.publish-sync-audio-body {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 0.5rem;
}

.publish-sync-audio-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.publish-sync-audio-copy {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.publish-sync-audio-copy strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.publish-sync-audio-copy .muted {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.publish-sync-audio-time {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  padding-top: 0.04rem;
  color: rgba(226, 226, 226, 0.76);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.publish-sync-audio-time-sep {
  color: rgba(255, 255, 255, 0.3);
}

.publish-sync-audio-btn {
  position: relative;
  z-index: 1;
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 16px;
  flex: 0 0 auto;
}

.publish-sync-audio-btn.publish-sync-audio-btn--primary {
  width: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(190, 190, 190, 0.84)),
    rgba(255, 255, 255, 0.92);
  color: #111111;
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.2),
    0 0 22px rgba(255, 255, 255, 0.14);
}

.publish-sync-audio-btn.publish-sync-audio-btn--primary .sf-icon {
  color: #111111;
}

.publish-sync-audio-btn:disabled {
  opacity: 0.52;
}

.publish-sync-audio-seek {
  --range-progress: 0%;
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.publish-sync-audio-seek:focus {
  outline: none;
}

.publish-sync-audio-seek::-webkit-slider-runnable-track {
  height: 0.42rem;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(250, 250, 250, 0.92) 0%,
      rgba(212, 212, 212, 0.92) var(--range-progress),
      rgba(255, 255, 255, 0.09) var(--range-progress),
      rgba(255, 255, 255, 0.09) 100%
    );
}

.publish-sync-audio-seek::-moz-range-track {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.publish-sync-audio-seek::-moz-range-progress {
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(250, 250, 250, 0.92), rgba(212, 212, 212, 0.92));
}

.publish-sync-audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.92rem;
  height: 0.92rem;
  margin-top: -0.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: #f5f5f5;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.28);
}

.publish-sync-audio-seek::-moz-range-thumb {
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: #f5f5f5;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 6px 14px rgba(0, 0, 0, 0.28);
}

.publish-tap-sync-tools {
  display: grid;
  gap: 0.55rem;
}

.publish-tap-sync-volume {
  display: grid;
  gap: 0.35rem;
}

.publish-tap-sync-volume input[type="range"] {
  width: 100%;
}

.publish-tap-sync-volume strong {
  font-size: 0.9rem;
}

.publish-tap-sync-speed-note {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.88rem;
}

.publish-sync-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.publish-tap-sync-help {
  margin: 0;
}

.publish-hint-card {
  align-content: start;
}

.publish-checklist {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.publish-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.publish-checklist .sf-icon {
  margin-top: 0.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.publish-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.2rem;
}

.publish-submit-row button {
  min-width: 220px;
}

@keyframes publish-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.password-field-wrap {
  position: relative;
  margin-top: 0.28rem;
}

.password-field-wrap input {
  margin-top: 0;
  padding-right: 8.9rem;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.38rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  min-width: 98px;
  padding: 0.34rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: none;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.password-toggle-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-50%);
}

.password-toggle-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.98);
}

.password-toggle-btn .sf-icon {
  font-size: 0.9rem;
}

.password-toggle-btn-label {
  white-space: nowrap;
}

body[data-ui-density="compact"] .password-field-wrap input {
  padding-right: 8.2rem;
}

body[data-ui-density="compact"] .password-toggle-btn {
  min-width: 88px;
  padding: 0.3rem 0.5rem;
}

.admin-center-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.9rem;
}

.admin-center-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-center-copy {
  display: grid;
  gap: 0.22rem;
}

.admin-center-copy h3,
.admin-center-copy p {
  margin: 0;
}

.admin-center-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
}

.admin-stat-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.admin-stat-card strong {
  font-size: 1.55rem;
  line-height: 1;
}

.admin-stat-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-center-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-center-tab.active {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.admin-center-panel {
  display: grid;
  gap: 0.8rem;
}

.admin-storage-panel,
.admin-storage-root {
  display: grid;
  gap: 0.85rem;
}

.admin-storage-hero,
.admin-storage-card,
.admin-storage-action-card,
.admin-storage-metric {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.22);
}

.admin-storage-hero {
  display: grid;
  gap: 0.9rem;
  padding: 1.05rem 1.1rem;
}

.admin-storage-hero::after,
.admin-storage-action-card::after,
.admin-storage-metric::after {
  content: "";
  position: absolute;
  inset: auto -12% -58% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  opacity: 0.55;
  pointer-events: none;
  animation: adminStoragePulse 6.8s ease-in-out infinite;
}

.admin-storage-hero-copy,
.admin-storage-card h4,
.admin-storage-card p {
  margin: 0;
}

.admin-storage-health {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-storage-health-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #f0f0f0;
  font-size: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-storage-health-pill.is-warning {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 85%),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.admin-storage-metrics,
.admin-storage-breakdown-grid,
.admin-storage-actions-grid {
  display: grid;
  gap: 0.75rem;
}

.admin-storage-metrics,
.admin-storage-breakdown-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-storage-actions-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-storage-metric,
.admin-storage-card,
.admin-storage-action-card {
  padding: 0.95rem 1rem;
}

.admin-storage-metric-head,
.admin-storage-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-storage-metric-head strong,
.admin-storage-card h4,
.admin-storage-action-card h4 {
  margin: 0;
  font-size: 1rem;
}

.admin-storage-metric-value {
  color: #fafafa;
  font-weight: 700;
  text-align: right;
}

.admin-storage-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

.admin-storage-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 2px;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(206, 206, 206, 0.58) 56%, rgba(255, 255, 255, 0.9));
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.2),
    inset 0 0 8px rgba(255, 255, 255, 0.12);
  transition: width 420ms ease;
}

.admin-storage-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-100%);
  animation: adminStorageSweep 2.8s linear infinite;
}

.admin-storage-metric {
  display: grid;
  gap: 0.65rem;
}

.admin-storage-metric-meta {
  font-size: 0.82rem;
}

.admin-storage-card {
  display: grid;
  gap: 0.55rem;
}

.admin-storage-kv {
  padding-top: 0.2rem;
  font-size: 0.92rem;
}

.admin-storage-kv span {
  color: var(--muted);
}

.admin-storage-kv strong {
  text-align: right;
  color: #f5f5f5;
}

.admin-storage-action-card {
  display: grid;
  gap: 0.65rem;
}

.admin-storage-action-meta {
  color: #f0f0f0;
  font-weight: 600;
  font-size: 0.86rem;
}

.admin-storage-action-card button {
  width: 100%;
}

.admin-storage-last-action {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 36px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(255, 255, 255, 0.06);
}

@keyframes adminStorageSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(160%);
  }
}

@keyframes adminStoragePulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.36;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.62;
  }
}

.admin-center-toolbar {
  display: flex;
  align-items: end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.admin-filter-field {
  min-width: 150px;
  display: grid;
  gap: 0.25rem;
}

.admin-filter-field span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.admin-search-form {
  flex: 1 1 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: end;
}

.admin-search-form input {
  margin-top: 0;
}

.admin-results-list,
.admin-overview-grid {
  display: grid;
  gap: 0.7rem;
}

.admin-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-overview-card,
.admin-result-card {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 26px rgba(0, 0, 0, 0.18);
}

.admin-overview-card h4,
.admin-overview-card p {
  margin: 0;
}

.admin-overview-card .simple-list,
.admin-overview-card .admin-results-list {
  gap: 0.5rem;
}

.admin-result-main {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}

.admin-result-cover,
.admin-result-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  flex: 0 0 auto;
}

.admin-result-avatar {
  border-radius: 50%;
}

.admin-result-copy {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
}

.admin-result-titleline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.admin-result-title {
  margin: 0;
  font-size: 1rem;
}

.admin-result-subtitle,
.admin-result-note {
  margin: 0;
}

.admin-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-result-actions,
.admin-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-result-actions .ghost,
.admin-result-actions button,
.admin-overview-actions .ghost,
.admin-overview-actions button {
  min-height: 38px;
}

.admin-inline-form {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

details.admin-inline-form {
  padding-top: 0;
  border-top: none;
}

details.admin-inline-form > summary {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 38px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

details.admin-inline-form > summary::-webkit-details-marker {
  display: none;
}

.admin-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-inline-form label {
  display: grid;
  gap: 0.25rem;
}

.admin-inline-form label span {
  font-size: 0.8rem;
  color: var(--muted);
}

.admin-inline-form input,
.admin-inline-form textarea,
.admin-inline-form select {
  margin-top: 0;
}

.admin-inline-form textarea {
  min-height: 88px;
  resize: vertical;
}

.admin-inline-form .inline-actions {
  margin-top: 0.1rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-badge.is-danger {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.admin-badge.is-accent {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.admin-badge.is-verified {
  border-color: rgba(215, 215, 215, 0.34);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 58%),
    rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.admin-badge.is-beatmaker {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(126, 126, 126, 0.08)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-empty-state {
  padding: 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.014);
}

.admin-center-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.admin-center-support-head p {
  margin: 0;
  max-width: 60ch;
}

.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.support-contact-panel {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 0.85rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.015);
}

.settings-support-card {
  grid-column: 1 / -1;
  overflow: hidden;
}

.settings-support-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.settings-support-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.settings-support-copy h3 {
  margin: 0;
}

.support-contact-intro {
  margin: 0;
  max-width: 58ch;
}

.settings-support-card #contactToggleBtn {
  justify-self: start;
  align-self: center;
  min-width: 210px;
}

.support-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.support-contact-link {
  min-width: 0;
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.018);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    border-color var(--motion-base) ease,
    transform var(--motion-fast) ease,
    background var(--motion-base) ease;
}

.support-contact-link:hover {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.024);
}

.support-contact-link strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-contact-link-button {
  width: 100%;
  text-align: left;
  justify-items: start;
  align-items: start;
}

.support-thread-pane {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.support-section-header {
  display: grid;
  gap: 0.18rem;
}

.support-section-header h4,
.support-section-header p {
  margin: 0;
}

.support-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.support-admin-grid > * {
  min-width: 0;
}

.support-admin-inbox,
.support-admin-thread {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.018);
}

.support-subsection-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.support-admin-thread .chat-list,
#supportThreadsList,
#supportUserChatList {
  min-width: 0;
}

#supportThreadsList {
  max-height: min(30vh, 280px);
  overflow: auto;
  padding-right: 0.15rem;
}

#supportAdminChatList,
#supportUserChatList {
  max-height: min(38vh, 360px);
  overflow: auto;
  padding-right: 0.15rem;
}

.support-thread-item {
  width: 100%;
  justify-items: stretch;
  text-align: left;
  display: grid;
  gap: 0.45rem;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
}

.support-thread-item.active {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.support-thread-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.5rem;
}

.support-thread-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-thread-meta {
  font-size: 0.78rem;
  white-space: normal;
  text-align: right;
}

.support-thread-preview {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.support-admin-thread #supportAdminThreadTitle {
  margin: 0;
}

body[data-ui-density="compact"] .support-admin-grid {
  gap: 0.55rem;
}

@media (min-width: 1380px) {
  .support-admin-grid {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .admin-inline-grid {
    grid-template-columns: 1fr;
  }

  .settings-support-card #contactToggleBtn {
    width: 100%;
    min-width: 0;
  }

  .support-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .admin-center-actions,
  .admin-search-form {
    width: 100%;
  }

  .admin-search-form {
    grid-template-columns: 1fr;
  }

  .admin-center-support-head {
    align-items: stretch;
  }

  .support-contact-panel {
    padding: 0.78rem;
    border-radius: 14px;
  }

  .support-contact-link-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .admin-result-main {
    flex-direction: column;
  }

  .admin-result-cover,
  .admin-result-avatar {
    width: 72px;
    height: 72px;
  }

  .support-thread-head {
    grid-template-columns: 1fr;
  }

  .support-thread-meta {
    text-align: left;
  }
}

.subscriptions-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.subscriptions-panel h4 {
  margin: 0 0 0.35rem;
}

.subscriptions-panel-directory {
  margin-top: 0.55rem;
}

.subscriptions-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.subscriptions-panel-head h4 {
  margin: 0;
}

.subscriptions-panel-head input {
  margin: 0;
}

.compact-user-list {
  max-height: 280px;
  overflow: auto;
  padding-right: 0.15rem;
}

.simple-user-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.simple-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #111111;
}

.simple-user-main {
  min-width: 0;
}

.simple-user-main p {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.simple-user-item .track-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-top: 0.12rem;
}

.album-tracklist-preview {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.album-tracklist-preview .muted {
  margin: 0;
}

.album-tracklist-preview-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.album-tracklist-link {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
  font-size: 0.78rem;
}

.album-track-picker {
  display: grid;
  gap: 0.5rem;
}

.album-track-picker-head {
  display: grid;
  gap: 0.18rem;
}

.album-track-picker-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.8fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.album-track-filter-group {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
}

.album-track-filter.active {
  border-color: var(--accent);
  background: rgba(196, 196, 196, 0.18);
}

.album-track-options-list {
  max-height: 360px;
  overflow: auto;
  padding-right: 0.15rem;
}

.album-track-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.album-track-option input {
  width: auto;
  margin: 0;
  margin-top: 0.2rem;
}

.album-track-option-main {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.album-track-option-title {
  line-height: 1.2;
  word-break: break-word;
}

.album-track-option-meta {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  word-break: break-word;
}

.beat-license-block {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.beat-license-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.beat-currency-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.beat-currency-inline select {
  width: auto;
  min-width: 110px;
}

.beat-license-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 140px;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.38rem 0.45rem;
  background: rgba(255, 255, 255, 0.01);
}

.beat-license-row input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.beat-license-row input[type="number"] {
  margin: 0;
}

.beat-card .track-meta {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.beat-license-list {
  display: grid;
  gap: 0.35rem;
}

.beat-license-list .muted {
  margin: 0;
}

.beat-license-chip {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.45rem;
  background: rgba(255, 255, 255, 0.02);
}

.beat-primary-actions .ghost {
  min-height: 34px;
}

.track-primary-actions,
.beat-primary-actions {
  align-items: center;
}

.track-primary-actions .ghost,
.beat-primary-actions .ghost {
  min-height: 36px;
}

.track-metric-btn {
  min-width: 0;
  padding-inline: 0.72rem;
  border-radius: 999px;
}

.track-metric-btn .sf-icon {
  color: rgba(255, 255, 255, 0.9);
}

.track-metric-btn-count {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.track-metric-btn.active {
  border-color: rgba(232, 232, 232, 0.72);
  background:
    linear-gradient(180deg, rgba(214, 214, 214, 0.24), rgba(214, 214, 214, 0.08)),
    rgba(22, 22, 22, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.audio-player .ghost {
  min-width: 118px;
}

.audio-player .muted {
  margin: 0;
  font-size: 0.8rem;
}

.track-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(232, 232, 232, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.014) 30%, rgba(255, 255, 255, 0.006)),
    rgba(16, 16, 16, 0.92);
  padding: 0.96rem;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 0.92rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 20px 40px rgba(0, 0, 0, 0.28);
  transition:
    border-color var(--motion-base) ease,
    transform var(--motion-fast) ease,
    box-shadow var(--motion-base) ease;
}

.track-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.track-card::after {
  content: "";
  position: absolute;
  inset: auto -7% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  opacity: 0.42;
  pointer-events: none;
}

.track-card:hover {
  border-color: rgba(232, 232, 232, 0.22);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 48px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.track-card.is-active-track,
.playlist-item.is-active-track {
  border-color: rgba(232, 232, 232, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 44px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.track-card.is-playing-track,
.playlist-item.is-playing-track {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018) 34%, rgba(255, 255, 255, 0.01)),
    rgba(14, 14, 14, 0.95);
}

.track-card.is-active-track .track-cover {
  border-color: rgba(232, 232, 232, 0.58);
  box-shadow: 0 0 0 1px rgba(232, 232, 232, 0.12);
}

.search-hit {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(196, 196, 196, 0.3), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.track-cover {
  width: 138px;
  height: 138px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0d0d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 28px rgba(0, 0, 0, 0.28);
}

.track-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-slow) ease;
}

.track-card:hover .track-cover img {
  transform: scale(1.04);
}

.track-main {
  display: grid;
  gap: 0.32rem;
  align-content: start;
}

.track-main h4 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.12;
  text-wrap: balance;
}

.track-meta {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.83rem;
  display: grid;
  gap: 0.18rem;
}

.track-privacy-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(196, 196, 196, 0.46);
  border-radius: 999px;
  padding: 0.08rem 0.48rem;
  font-size: 0.75rem;
  color: #e8e8e8;
  background: rgba(196, 196, 196, 0.16);
}

.profile-role-badge {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-left: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(120, 120, 120, 0.18)),
    rgba(10, 10, 10, 0.85);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f5f5f5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  vertical-align: middle;
  flex-shrink: 0;
}

.publish-checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  margin-top: 0.15rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(12, 12, 12, 0.6);
}

.publish-checkbox-field input {
  margin-top: 0.18rem;
  flex: 0 0 auto;
}

.publish-checkbox-field span {
  display: block;
  color: #e8e8e8;
  font-size: 0.88rem;
  line-height: 1.4;
}

.profile-role-badge.is-verified {
  width: 1.42rem;
  height: 1.42rem;
  margin-left: 0.55rem;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12) 45%, rgba(10, 10, 10, 0.92) 78%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(82, 82, 82, 0.12));
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.38);
}

.profile-role-badge.is-verified::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.profile-role-badge.is-beatmaker {
  width: 1.5rem;
  height: 1.34rem;
  margin-left: 0.55rem;
  padding: 0;
  border-radius: 0.42rem;
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.18), rgba(82, 82, 82, 0.12)),
    rgba(8, 8, 8, 0.88);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.28);
  clip-path: polygon(18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50%);
}

.profile-role-badge.is-beatmaker::after {
  content: "";
  position: absolute;
  inset: 0.27rem 0.32rem;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.06) 0 12%,
      transparent 12% 24%,
      rgba(255, 255, 255, 0.12) 24% 36%,
      transparent 36% 48%,
      rgba(255, 255, 255, 0.08) 48% 60%,
      transparent 60% 72%,
      rgba(255, 255, 255, 0.14) 72% 84%,
      transparent 84% 100%);
  opacity: 0.65;
  border-radius: 0.18rem;
  pointer-events: none;
}

.promo-status-note {
  margin-top: 0.7rem;
}

.promo-status-note.is-active {
  color: #f2f2f2;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.public-admin-panel {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.public-track-admin-actions {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.public-admin-checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.public-admin-checkbox input {
  width: auto;
  margin: 0;
}

.public-admin-danger {
  border-color: rgba(255, 120, 120, 0.38);
  color: #f0d2d2;
}

.public-admin-danger:hover:not(:disabled) {
  background: rgba(180, 50, 50, 0.14);
}

.track-desc {
  margin: 0.5rem 0;
  white-space: pre-wrap;
  color: #d5d5d5;
  line-height: 1.4;
}

.track-secondary {
  margin-top: 0.42rem;
  border: 1px dashed rgba(150, 150, 150, 0.42);
  border-radius: 11px;
  padding: 0.48rem 0.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)),
    rgba(16, 16, 16, 0.65);
  display: grid;
  gap: 0.36rem;
}

.track-secondary .track-meta {
  margin-top: 0;
}

.track-secondary .tag-wrap {
  margin-bottom: 0;
}

.track-details-toggle {
  margin-top: 0.35rem;
  min-height: 32px;
  padding: 0.24rem 0.62rem;
  font-size: var(--ui-text-muted);
  justify-self: start;
}

.track-details-toggle[aria-expanded="true"] {
  border-color: rgba(232, 232, 232, 0.68);
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.2), rgba(196, 196, 196, 0.06)),
    rgba(20, 20, 20, 0.86);
}

.tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-bottom: 0.4rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.08rem 0.45rem;
  font-size: 0.78rem;
}

.track-actions,
.comment-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.action-menu {
  position: relative;
  margin-top: 0.48rem;
  justify-self: start;
}

.action-menu-trigger {
  min-width: 42px;
  min-height: 38px;
  padding: 0.34rem 0.62rem;
  font-size: 1.08rem;
  line-height: 1;
}

.action-menu.open .action-menu-trigger {
  border-color: rgba(232, 232, 232, 0.75);
  background:
    linear-gradient(180deg, rgba(196, 196, 196, 0.2), rgba(196, 196, 196, 0.08)),
    rgba(20, 20, 20, 0.8);
}

.action-menu-panel {
  position: absolute;
  top: calc(100% + 0.34rem);
  left: 0;
  right: auto;
  width: min(320px, calc(100vw - 2rem));
  min-width: min(250px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  z-index: 12;
  border: 1px solid rgba(150, 150, 150, 0.45);
  border-radius: 12px;
  padding: 0.35rem;
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(20, 20, 20, 0.98)),
    rgba(20, 20, 20, 0.96);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.28rem;
}

.action-menu-item {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  border-radius: 9px;
  min-height: 34px;
  padding: 0.38rem 0.56rem;
  font-size: 0.84rem;
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.action-menu-item.danger {
  border-color: rgba(170, 170, 170, 0.5);
  color: #e6e6e6;
}

.action-menu-item.danger:hover:not(:disabled) {
  border-color: rgba(170, 170, 170, 0.72);
  background:
    linear-gradient(180deg, rgba(170, 170, 170, 0.24), rgba(170, 170, 170, 0.08)),
    rgba(16, 16, 16, 0.86);
}

.action-btn.active {
  border-color: var(--accent);
  background: rgba(196, 196, 196, 0.22);
}

.playlist-adder {
  margin-top: 0.48rem;
  display: flex;
  gap: 0.4rem;
}

.comments-wrap {
  margin-top: 0.55rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comments-head .muted {
  margin: 0;
}

.comments-body {
  display: grid;
  gap: 0.4rem;
}

.comments-more-btn,
.virtual-load-more {
  min-height: 34px;
  padding: 0.24rem 0.62rem;
  font-size: var(--ui-text-muted);
}

.comments-more-btn {
  justify-self: start;
}

.virtual-sentinel {
  margin-top: 0.46rem;
  display: flex;
  justify-content: center;
}

.comment-node {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.58rem 0.64rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.034), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.02);
  margin-top: 0.4rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.comment-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid rgba(170, 170, 170, 0.45);
  border-radius: 999px;
  padding: 0.05rem 0.36rem;
  color: #e4e4e4;
  font-size: 0.75rem;
}

.comment-author-badge img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-author-badge .sf-icon {
  width: 0.84rem;
  height: 0.84rem;
}

.comment-text {
  margin: 0.3rem 0;
  white-space: pre-wrap;
}

.replies {
  margin-left: 0.65rem;
  border-left: 1px dashed var(--line);
  padding-left: 0.45rem;
}

.reply-form,
.comment-form,
.edit-form {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.4rem;
}

.chat-list {
  max-height: 260px;
  overflow: auto;
  padding-right: 0.2rem;
}

.chat-message {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.chat-message.mine {
  border-color: rgba(196, 196, 196, 0.6);
  background: rgba(196, 196, 196, 0.16);
}

.chat-message p {
  margin: 0.2rem 0 0;
  white-space: pre-wrap;
}

body.modal-open,
body.auth-gate-active {
  overflow: hidden;
}

.auth-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: max(0.8rem, env(safe-area-inset-top)) 1rem max(0.8rem, env(safe-area-inset-bottom));
  min-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(214, 214, 214, 0.1), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(158, 158, 158, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.94), rgba(10, 10, 10, 0.96));
  backdrop-filter: blur(18px) saturate(1.08);
  animation: modalBackdropIn var(--motion-base) ease;
}

.auth-gate-dialog {
  width: min(1120px, 100%);
  max-height: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-color: rgba(214, 214, 214, 0.26);
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(10, 10, 10, 0.98)),
    rgba(10, 10, 10, 0.96);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(240, 240, 240, 0.05) inset,
    0 0 48px rgba(255, 255, 255, 0.05);
  animation: modalDialogIn var(--motion-slow) ease;
}

.auth-gate-shell {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  min-height: min(820px, calc(100dvh - 2rem));
}

.auth-gate-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.45rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 78%, rgba(178, 178, 178, 0.12), transparent 32%),
    linear-gradient(155deg, rgba(24, 24, 24, 0.96), rgba(12, 12, 12, 0.98));
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-gate-showcase::before,
.auth-gate-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.auth-gate-showcase::before {
  width: 260px;
  height: 260px;
  right: -60px;
  top: -44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  filter: blur(8px);
  animation: authGateDrift 9s ease-in-out infinite;
}

.auth-gate-showcase::after {
  left: -80px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 148, 148, 0.16), transparent 72%);
  filter: blur(24px);
  animation: authGateDrift 11s ease-in-out infinite reverse;
}

.auth-gate-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-gate-visual-ring,
.auth-gate-visual-core {
  position: absolute;
  border-radius: 50%;
}

.auth-gate-visual-ring {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 30px rgba(255, 255, 255, 0.05),
    inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.auth-gate-visual-ring-a {
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%) rotate(12deg) scaleY(0.62);
  animation: authGateOrbitSpinA 12s linear infinite;
}

.auth-gate-visual-ring-b {
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%) rotate(-34deg) scaleX(0.74);
  animation: authGateOrbitSpinB 8s linear infinite reverse;
}

.auth-gate-visual-ring-c {
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%) rotate(66deg) scaleY(0.82);
  opacity: 0.72;
  animation: authGateOrbitSpinC 14s linear infinite;
}

.auth-gate-visual-core {
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 42%, transparent 72%);
  filter: blur(8px);
  animation: authGatePulse 4.8s ease-in-out infinite;
}

.auth-gate-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
  width: fit-content;
  padding: 0.34rem 0.74rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(14, 14, 14, 0.72);
  color: rgba(232, 232, 232, 0.74);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.auth-gate-brand .brand-logo {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5rem);
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, 0.12));
  animation: authGateLogoFloat 6s ease-in-out infinite;
}

.auth-gate-brand .brand-mark {
  box-shadow:
    0 0 34px rgba(255, 255, 255, 0.15),
    0 0 80px rgba(168, 168, 168, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: authGateMarkPulse 4.2s ease-in-out infinite;
}

.auth-gate-brand .brand-logo-text {
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.28),
    0 0 54px rgba(212, 212, 212, 0.18),
    0 0 120px rgba(154, 154, 154, 0.12);
}

.auth-gate-showcase-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.66rem;
  max-width: 28rem;
}

.auth-gate-showcase-copy h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.26rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.auth-gate-showcase-copy p {
  margin: 0;
  color: rgba(224, 224, 224, 0.72);
  line-height: 1.5;
}

.auth-gate-feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.72rem;
  margin-top: auto;
}

.auth-gate-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.72rem;
  min-height: 58px;
  padding: 0.82rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 10, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.18);
  color: rgba(242, 242, 242, 0.92);
}

.auth-gate-feature .sf-icon {
  width: 1.08rem;
  height: 1.08rem;
  color: #f3f3f3;
}

.auth-gate-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(10, 10, 10, 0.99)),
    rgba(10, 10, 10, 0.98);
}

.auth-gate-head {
  margin: 0;
  position: static;
  z-index: auto;
  padding: 0;
  background: none;
  backdrop-filter: none;
  display: grid;
  gap: 0.84rem;
}

.auth-gate-head-copy {
  display: grid;
  gap: 0.7rem;
}

.auth-gate-panel-kicker {
  margin: 0;
  color: rgba(220, 220, 220, 0.78);
  font-size: 0.95rem;
}

.auth-gate-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.auth-gate-tab {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(14, 14, 14, 0.88);
  color: rgba(232, 232, 232, 0.82);
  font-weight: 700;
  transition:
    transform var(--motion-fast) ease,
    border-color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    color var(--motion-base) ease,
    background-color var(--motion-base) ease;
}

.auth-gate-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.auth-gate-tab.active {
  color: #111111;
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(250, 250, 250, 0.96), rgba(184, 184, 184, 0.84)),
    rgba(242, 242, 242, 0.92);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(255, 255, 255, 0.14);
}

.auth-gate-status {
  min-height: 1.4rem;
  margin: 0;
  width: fit-content;
}

.auth-gate-status.toast-status {
  display: inline-flex;
  align-items: center;
}

.auth-gate-grid {
  display: grid;
  min-height: 0;
}

.auth-gate-form {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(12, 12, 12, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.18);
}

.auth-gate-form h4 {
  margin: 0 0 0.25rem;
  font-size: 1.26rem;
}

.auth-gate-form-panel {
  display: none;
  gap: 0.72rem;
  animation: authGatePanelReveal 420ms cubic-bezier(.2, .85, .25, 1);
}

.auth-gate-form-panel.is-active {
  display: grid;
}

.auth-gate-form button[type="submit"] {
  margin-top: 0.18rem;
}

.auth-gate-controls {
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0.94rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(12, 12, 12, 0.64);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  max-width: none;
}

.auth-gate-language-wrap {
  display: grid;
  gap: 0.44rem;
}

.auth-gate-controls label {
  margin-bottom: 0;
}

.auth-gate-controls > button {
  justify-self: end;
  margin-top: 0;
}

@media (max-width: 980px) {
  .auth-gate-modal {
    place-items: stretch;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .auth-gate-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-gate-showcase {
    min-height: 0;
    padding-bottom: 1.1rem;
  }

  .auth-gate-main {
    padding-top: 1rem;
  }
}

@media (max-width: 860px) {
  .auth-gate-controls {
    grid-template-columns: 1fr;
  }

  .auth-gate-controls > button {
    justify-self: stretch;
    width: 100%;
  }

  .auth-gate-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 740px) {
  .auth-gate-modal {
    padding-top: max(0.4rem, env(safe-area-inset-top));
    padding-bottom: max(0.4rem, env(safe-area-inset-bottom));
  }

  .auth-gate-shell {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .auth-gate-showcase,
  .auth-gate-main {
    padding: 1rem;
  }

  .auth-gate-brand .brand-logo {
    font-size: clamp(2.5rem, 13vw, 3.5rem);
  }

  .auth-gate-showcase-copy h3 {
    font-size: clamp(1.3rem, 7vw, 1.9rem);
  }

  .auth-gate-feature {
    min-height: 0;
    padding: 0.72rem 0.82rem;
  }
}

@keyframes authGateDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10px, 18px, 0) scale(1.05); }
}

@keyframes authGateOrbitSpinA {
  from { transform: translate(-50%, -50%) rotate(12deg) scaleY(0.62); }
  to { transform: translate(-50%, -50%) rotate(372deg) scaleY(0.62); }
}

@keyframes authGateOrbitSpinB {
  from { transform: translate(-50%, -50%) rotate(-34deg) scaleX(0.74); }
  to { transform: translate(-50%, -50%) rotate(-394deg) scaleX(0.74); }
}

@keyframes authGateOrbitSpinC {
  from { transform: translate(-50%, -50%) rotate(66deg) scaleY(0.82); }
  to { transform: translate(-50%, -50%) rotate(426deg) scaleY(0.82); }
}

@keyframes authGatePulse {
  0%, 100% { opacity: 0.78; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes authGateLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes authGateMarkPulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.08) saturate(1.06); }
}

@keyframes authGatePanelReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sfera-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 96;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 5, 7, 0.68);
  backdrop-filter: blur(16px);
  animation: modalBackdropIn var(--motion-base) ease;
}

.sfera-dialog-backdrop {
  position: absolute;
  inset: 0;
}

.sfera-dialog-shell {
  position: relative;
  width: min(560px, calc(100vw - 1.5rem));
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem 1rem;
  border-radius: 28px;
  border-color: rgba(196, 196, 196, 0.26);
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 86% 86%, rgba(188, 188, 188, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 12, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 46px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: modalDialogIn var(--motion-slow) ease;
}

.sfera-dialog-shell::before,
.sfera-dialog-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.sfera-dialog-shell::before {
  top: -72px;
  right: -52px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  filter: blur(14px);
  opacity: 0.72;
}

.sfera-dialog-shell::after {
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.85rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0.5;
}

.sfera-dialog-shell.is-danger {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 28px 80px rgba(0, 0, 0, 0.52),
    0 0 52px rgba(255, 255, 255, 0.04);
}

.sfera-dialog-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.95rem;
}

.sfera-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.sfera-dialog-title-wrap {
  display: grid;
  gap: 0.35rem;
}

.sfera-dialog-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sfera-dialog-title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.1;
}

.sfera-dialog-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

.sfera-dialog-body {
  display: grid;
  gap: 0.75rem;
}

.sfera-dialog-message,
.sfera-dialog-note {
  margin: 0;
  white-space: pre-line;
  line-height: 1.5;
}

.sfera-dialog-field {
  width: 100%;
  min-width: 0;
  padding: 0.92rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
  resize: vertical;
}

.sfera-dialog-field:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 6px rgba(255, 255, 255, 0.03);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.025);
}

.sfera-dialog-field[readonly] {
  cursor: text;
}

.sfera-dialog-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.sfera-dialog-confirm {
  min-width: 132px;
}

.sfera-dialog-confirm.danger {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.22);
}

.sfera-dialog-confirm.danger:hover,
.sfera-dialog-confirm.danger:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 38px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(255, 255, 255, 0.06);
}

.messages-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 12, 12, 0.74);
  backdrop-filter: blur(8px);
  animation: modalBackdropIn var(--motion-base) ease;
}

.messages-modal-dialog {
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  border-color: rgba(196, 196, 196, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(196, 196, 196, 0.08) inset;
  animation: modalDialogIn var(--motion-slow) ease;
}

.messages-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.messages-modal-head h3 {
  margin: 0;
}

.messages-modal-head p {
  margin: 0.25rem 0 0;
}

.messages-modal-close {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
}

.messages-modal-chat-list {
  min-height: 260px;
  max-height: 52vh;
  padding-right: 0.3rem;
}

.messages-modal-form {
  margin-top: 0;
}

.messages-modal-form input {
  min-width: 0;
}

.notifications-modal {
  position: fixed;
  inset: 0;
  z-index: 59;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(8px);
  animation: modalBackdropIn var(--motion-base) ease;
}

.album-modal {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(8px);
  animation: modalBackdropIn var(--motion-base) ease;
}

.album-modal-dialog {
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.72rem;
  overflow: hidden;
  border-color: rgba(196, 196, 196, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(196, 196, 196, 0.08) inset;
  animation: modalDialogIn var(--motion-slow) ease;
}

.album-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.album-modal-title-wrap h3 {
  margin: 0;
}

.album-modal-title-wrap p {
  margin: 0.28rem 0 0;
}

.album-modal-close {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
}

.album-modal-content {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 0.84rem;
  min-height: 0;
  overflow: hidden;
}

.album-modal-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #101010;
}

.album-modal-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.52rem;
  overflow: hidden;
}

.album-modal-description {
  margin: 0;
}

.album-modal-tracks {
  min-height: 0;
  max-height: 100%;
  overflow: auto;
  padding-right: 0.2rem;
  display: grid;
  gap: 0.46rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.album-modal-track {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.52rem 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
}

.album-modal-track-order {
  color: var(--muted);
  font-weight: 600;
  min-width: 1.4rem;
}

.album-modal-track-body {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.album-modal-track-body h4 {
  margin: 0;
}

.album-modal-track-credits {
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.notifications-modal-dialog {
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  border-color: rgba(196, 196, 196, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(196, 196, 196, 0.08) inset;
  animation: modalDialogIn var(--motion-slow) ease;
}

.notifications-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.notifications-modal-head h3 {
  margin: 0;
}

.notifications-modal-head p {
  margin: 0.25rem 0 0;
}

.notifications-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.notifications-modal-close {
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
}

.notifications-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.notifications-filter-btn {
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
}

.notifications-filter-btn.active {
  border-color: rgba(196, 196, 196, 0.62);
  background: rgba(196, 196, 196, 0.16);
  box-shadow: 0 0 0 1px rgba(196, 196, 196, 0.08) inset;
}

.notifications-list {
  min-height: 180px;
  max-height: 54vh;
  overflow: auto;
  padding-right: 0.2rem;
}

.notification-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.notification-item.unread {
  border-color: rgba(196, 196, 196, 0.42);
  background: rgba(196, 196, 196, 0.07);
}

.notification-item + .notification-item {
  margin-top: 0.45rem;
}

.notification-item-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  border: 1px solid rgba(196, 196, 196, 0.24);
  background: rgba(196, 196, 196, 0.1);
}

.notification-item-icon .sf-icon {
  width: 1rem;
  height: 1rem;
}

.notification-item-body {
  min-width: 0;
}

.notification-item-title {
  margin: 0;
  font-weight: 600;
}

.notification-item-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.notification-item-preview {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-item-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.notification-item-open {
  white-space: nowrap;
}

.notification-item-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #ededed;
  box-shadow: 0 0 10px rgba(212, 212, 212, 0.45);
  margin-top: 0.45rem;
}

.skeleton-list {
  display: grid;
  gap: 0.55rem;
}

.skeleton-card {
  border: 1px solid rgba(34, 34, 34, 0.95);
  border-radius: 12px;
  padding: 0.7rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(255, 255, 255, 0.02);
}

.skeleton-line {
  height: 0.75rem;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      rgba(170, 170, 170, 0.12) 0%,
      rgba(170, 170, 170, 0.25) 45%,
      rgba(170, 170, 170, 0.12) 100%
    );
  background-size: 220% 100%;
  animation: skeletonShimmer 1.2s linear infinite;
}

.skeleton-line + .skeleton-line {
  margin-top: 0.38rem;
}

.skeleton-line.title {
  height: 0.95rem;
  width: 58%;
}

.skeleton-line.meta {
  width: 83%;
}

.skeleton-line.short {
  width: 42%;
}

.skeleton-comment {
  border: 1px solid rgba(34, 34, 34, 0.95);
  border-radius: 10px;
  padding: 0.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
}

.skeleton-comment + .skeleton-comment {
  margin-top: 0.38rem;
}

.skeleton-comment .skeleton-line.title {
  width: 36%;
}

.skeleton-comment .skeleton-line.meta {
  width: 72%;
}

.skeleton-comment .skeleton-line.short {
  width: 50%;
}

.skeleton-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.55rem;
}

.skeleton-stats-card {
  border: 1px solid rgba(34, 34, 34, 0.95);
  border-radius: 10px;
  padding: 0.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalDialogIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes skeletonShimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -20% 0;
  }
}

.hidden {
  display: none !important;
}

.equalizer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.eq-band {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  margin: 0;
}

.eq-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.equalizer-presets-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: end;
  margin-bottom: 0.55rem;
}

.equalizer-preset-label {
  margin: 0;
}

.equalizer-preset-label select {
  margin-top: 0.22rem;
}

.eq-band span {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
}

.eq-band small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.73rem;
}

.eq-band strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.eq-band input {
  margin: 0.35rem 0 0;
  width: 100%;
}

.eq-band input[type="range"],
.player-volume input[type="range"],
.player-seek input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  height: 1.35rem;
  cursor: pointer;
}

.player-volume input[type="range"],
.player-seek input[type="range"] {
  --range-progress-pct: 0%;
}

.eq-band input[type="range"]:focus,
.player-volume input[type="range"]:focus,
.player-seek input[type="range"]:focus {
  outline: none;
}

.eq-band input[type="range"]::-webkit-slider-runnable-track,
.player-volume input[type="range"]::-webkit-slider-runnable-track,
.player-seek input[type="range"]::-webkit-slider-runnable-track {
  height: 0.42rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(196, 196, 196, 0.2);
}

.player-volume input[type="range"]::-webkit-slider-runnable-track,
.player-seek input[type="range"]::-webkit-slider-runnable-track {
  background:
    linear-gradient(
      90deg,
      rgba(232, 232, 232, 0.72) 0,
      rgba(232, 232, 232, 0.72) var(--range-progress-pct),
      rgba(18, 18, 18, 0.95) var(--range-progress-pct),
      rgba(18, 18, 18, 0.95) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.eq-band input[type="range"]::-webkit-slider-thumb,
.player-volume input[type="range"]::-webkit-slider-thumb,
.player-seek input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: calc((0.42rem - 1.05rem) / 2);
  border-radius: 999px;
  border: 1px solid rgba(196, 196, 196, 0.35);
  background: #f2f2f2;
  box-shadow:
    0 0 0 2px rgba(196, 196, 196, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.eq-band input[type="range"]::-moz-range-track,
.player-volume input[type="range"]::-moz-range-track,
.player-seek input[type="range"]::-moz-range-track {
  height: 0.42rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(196, 196, 196, 0.2);
}

.eq-band input[type="range"]::-moz-range-progress,
.player-volume input[type="range"]::-moz-range-progress,
.player-seek input[type="range"]::-moz-range-progress {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(232, 232, 232, 0.28);
}

.eq-band input[type="range"]::-moz-range-thumb,
.player-volume input[type="range"]::-moz-range-thumb,
.player-seek input[type="range"]::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 196, 196, 0.35);
  background: #f2f2f2;
  box-shadow:
    0 0 0 2px rgba(196, 196, 196, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.global-player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  isolation: isolate;
  overflow: hidden;
  padding: 0.68rem 0 calc(0.68rem + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.06), rgba(10, 10, 10, 0.88)),
    rgba(8, 8, 8, 0.94);
  border-top: 1px solid rgba(232, 232, 232, 0.16);
  backdrop-filter: blur(18px);
  box-shadow:
    0 -20px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.global-player::before,
.global-player::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.global-player::before {
  background-image: var(--player-backdrop-image, none);
  background-position: center;
  background-size: cover;
  opacity: 0.16;
  filter: grayscale(1) saturate(0) blur(28px) brightness(0.5);
  transform: scale(1.14);
}

.global-player::after {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.12), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.06), rgba(6, 6, 6, 0.6));
}

.global-player.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.global-player-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 95vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(200px, 1.3fr) minmax(250px, 1.05fr) minmax(170px, 0.75fr);
  grid-template-areas:
    "cover info controls volume"
    "seek seek seek seek";
  align-items: center;
  gap: 0.54rem 0.72rem;
}

.global-player.is-mini {
  padding: 0.52rem 0 calc(0.52rem + env(safe-area-inset-bottom));
}

.global-player.is-mini .global-player-inner {
  grid-template-columns: auto minmax(160px, 1fr) auto;
  grid-template-areas: "cover info controls";
  gap: 0.42rem 0.62rem;
}

.player-cover-wrap {
  grid-area: cover;
}

.player-cover-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(232, 232, 232, 0.14);
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 24px rgba(0, 0, 0, 0.28);
}

.player-track-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-track-info strong {
  display: block;
  font-size: 1rem;
  line-height: 1.08;
}

.player-track-info span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
}

#playerTrackAuthors {
  color: #dcdcdc;
}

.player-controls {
  grid-area: controls;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.player-expand-btn {
  min-width: 40px !important;
  font-size: 0.98rem !important;
}

.global-player.is-mini [data-player-advanced="1"],
.global-player.is-mini .player-volume,
.global-player.is-mini .player-seek {
  display: none !important;
}

.global-player.is-mini .player-cover-wrap {
  width: 48px;
  height: 48px;
}

.global-player.is-mini .player-track-info strong {
  font-size: 0.89rem;
}

.global-player.is-mini .player-track-info span {
  font-size: 0.76rem;
}

.global-player.is-mini .player-track-info #playerTrackMeta {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.global-player.is-mini .player-controls {
  justify-content: flex-end;
}

.player-controls button {
  min-width: 44px;
  min-height: 40px;
  padding: 0.4rem 0.5rem;
  border-color: rgba(232, 232, 232, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
    rgba(18, 18, 18, 0.76);
  transition:
    border-color var(--motion-base) ease,
    background-color var(--motion-base) ease,
    color var(--motion-base) ease,
    box-shadow var(--motion-base) ease,
    transform var(--motion-fast) ease;
}

.player-controls button:hover:not(:disabled) {
  border-color: rgba(232, 232, 232, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(20, 20, 20, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 12px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.player-controls button:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.player-controls button .sf-icon {
  width: 1rem;
  height: 1rem;
}

#playerCloseBtn {
  min-width: 40px;
  font-weight: 700;
}

.player-controls button.active {
  border-color: rgba(232, 232, 232, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(20, 20, 20, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(236, 236, 236, 0.08),
    0 0 0 1px rgba(196, 196, 196, 0.08);
}

.player-volume {
  grid-area: volume;
  display: grid;
  justify-items: end;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.player-volume input {
  margin: 0;
  width: min(220px, 48vw);
}

.player-track-info {
  grid-area: info;
  min-width: 0;
}

.player-lyrics-btn {
  min-width: 72px !important;
  font-weight: 600;
}

.player-expanded-content {
  grid-area: details;
  display: none;
}

.global-player.is-mini .player-expanded-content {
  display: none !important;
}

body.player-overlay-open {
  overflow: hidden;
}

.global-player:not(.is-mini) {
  top: 0;
  bottom: 0;
  padding:
    calc(1rem + env(safe-area-inset-top))
    0
    calc(1rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.82), rgba(5, 5, 5, 0.97));
}

.global-player:not(.is-mini) .global-player-inner {
  width: min(1520px, 96vw);
  min-height: calc(100vh - 2rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  grid-template-columns: auto minmax(240px, 1fr) minmax(290px, auto) minmax(190px, 0.78fr);
  grid-template-areas:
    "cover info controls volume"
    "seek seek seek seek"
    "details details details details";
  align-content: start;
  gap: 1rem 1rem;
}

.global-player:not(.is-mini) .player-cover-wrap {
  width: 88px;
  height: 88px;
  border-radius: 24px;
}

.global-player:not(.is-mini) .player-track-info strong {
  font-size: clamp(1.2rem, 1.6vw, 1.48rem);
}

.global-player:not(.is-mini) .player-track-info span {
  font-size: 0.86rem;
}

.global-player:not(.is-mini) .player-controls {
  justify-content: flex-start;
  gap: 0.52rem;
}

.global-player:not(.is-mini) .player-controls button {
  min-height: 46px;
  min-width: 46px;
  border-radius: 16px;
}

.global-player:not(.is-mini) .player-expanded-content {
  display: block;
}

.player-overlay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(340px, 0.82fr);
  gap: 1.2rem;
  min-height: 0;
}

.player-overlay-main,
.player-overlay-side {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.player-overlay-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(232, 232, 232, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016) 34%, rgba(255, 255, 255, 0.006)),
    rgba(7, 7, 9, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 56px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px);
}

.player-overlay-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.player-overlay-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.player-overlay-panel-head h3 {
  margin: 0;
  font-size: 1rem;
}

.player-overlay-hero {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(6, 6, 8, 0.78);
}

.player-overlay-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--player-overlay-hero-image);
  background-position: center;
  background-size: cover;
  filter: grayscale(1) saturate(0) brightness(0.52);
  opacity: 0.22;
  transform: scale(1.08);
  pointer-events: none;
}

.player-overlay-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  pointer-events: none;
  filter: blur(16px);
}

.player-overlay-hero-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
}

.player-overlay-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.player-overlay-info {
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

.player-overlay-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.player-overlay-info h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.player-overlay-authors {
  margin: 0.1rem 0 0;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.82);
}

.player-overlay-meta {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.player-overlay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
}

.player-overlay-transport {
  position: relative;
  z-index: 1;
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  padding: 0.85rem 0.95rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.player-overlay-transport-meta {
  display: grid;
  gap: 0.2rem;
}

.player-overlay-transport-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.player-overlay-transport-position {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.player-overlay-transport-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.player-overlay-transport-btn {
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 18px !important;
}

.player-overlay-transport-btn.is-primary {
  min-width: 132px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(194, 194, 194, 0.62)),
    rgba(255, 255, 255, 0.08) !important;
  color: #060606;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(255, 255, 255, 0.08);
}

.player-overlay-actions {
  position: relative;
  z-index: 1;
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.player-overlay-actions .ghost {
  border-radius: 999px;
  padding-inline: 0.96rem;
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.02);
}

.player-overlay-bio {
  position: relative;
  z-index: 1;
  margin: 0.9rem 0 0;
  max-width: 70ch;
}

.player-lyrics-panel,
.player-queue-panel,
.player-comments-panel {
  padding: 1.08rem 1.12rem;
}

@keyframes playerLyricsReveal {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(calc(var(--player-lyrics-shift, 0px) + 16px)) scale(calc(var(--player-lyrics-scale, 1) - 0.05));
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(var(--player-lyrics-shift, 0px)) scale(var(--player-lyrics-scale, 1));
  }
}

@keyframes playerLyricsAura {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.88;
    transform: scale(1.04);
  }
}

@keyframes playerLyricsFinalFade {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
    text-shadow:
      0 0 28px rgba(255, 255, 255, 0.34),
      0 0 52px rgba(220, 220, 220, 0.16),
      0 8px 28px rgba(0, 0, 0, 0.22);
  }

  38% {
    opacity: 0.94;
    filter: blur(0.4px);
    transform: translateY(-4px) scale(0.992);
  }

  100% {
    opacity: 0;
    filter: blur(18px);
    transform: translateY(-30px) scale(0.9);
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.16),
      0 0 34px rgba(180, 180, 180, 0.08);
  }
}

@keyframes playerLyricsFinalAuraFade {
  0% {
    opacity: 0.9;
    transform: scale(0.98);
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes playerLyricsWordPulse {
  0% {
    transform: translateY(0);
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.18),
      0 0 28px rgba(208, 208, 208, 0.1);
  }

  100% {
    transform: translateY(-1px);
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.28),
      0 0 36px rgba(210, 210, 210, 0.12);
  }
}

.player-lyrics-panel.is-synced-lyrics {
  border-color: transparent;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.42), rgba(10, 10, 12, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 24px 48px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.player-lyrics-panel.is-synced-lyrics .player-overlay-panel-head {
  margin-bottom: 1.15rem;
}

.player-lyrics-viewer {
  display: grid;
  gap: 0.75rem;
  max-height: min(58vh, 780px);
  overflow: auto;
  padding-right: 0.25rem;
  scroll-behavior: smooth;
}

.player-lyrics-viewer.is-synced {
  position: relative;
  min-height: min(48vh, 480px);
  max-height: none;
  overflow: hidden;
  align-content: center;
  justify-items: center;
  gap: 0.38rem;
  padding: 1.35rem 0;
}

.player-lyrics-viewer.is-synced::before {
  content: "";
  position: absolute;
  inset: 16% 10%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 50% 65%, rgba(182, 182, 182, 0.1), rgba(182, 182, 182, 0) 48%);
  filter: blur(26px);
  pointer-events: none;
  opacity: 0.86;
}

.player-lyrics-viewer.is-synced::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.9), rgba(8, 9, 12, 0.08) 18%, rgba(8, 9, 12, 0.08) 82%, rgba(8, 9, 12, 0.9)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 56%);
  pointer-events: none;
}

.player-lyrics-line {
  position: relative;
  z-index: 1;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.34;
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-base) ease,
    color var(--motion-base) ease,
    text-shadow var(--motion-base) ease,
    filter var(--motion-base) ease;
}

.player-lyrics-viewer.is-synced .player-lyrics-line {
  --player-lyrics-shift: 0px;
  --player-lyrics-scale: 1;
  display: none;
  width: min(100%, 780px);
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  filter: blur(10px);
  opacity: 0;
  font-weight: 600;
  text-wrap: balance;
  text-shadow: none;
}

.player-lyrics-viewer.is-synced .player-lyrics-line.is-visible {
  display: block;
  animation: playerLyricsReveal 360ms cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

.player-lyrics-viewer.is-synced .player-lyrics-line.is-previous {
  --player-lyrics-shift: -14px;
  --player-lyrics-scale: 0.94;
  color: rgba(255, 255, 255, 0.24);
  opacity: 0.44;
  filter: blur(0.45px);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  text-shadow: none;
}

.player-lyrics-viewer.is-synced .player-lyrics-line.is-next {
  --player-lyrics-shift: 14px;
  --player-lyrics-scale: 0.94;
  color: rgba(255, 255, 255, 0.42);
  opacity: 0.7;
  filter: blur(0.2px);
  font-size: clamp(1rem, 1.4vw, 1.26rem);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.05);
}

.player-lyrics-viewer.is-synced .player-lyrics-line.active {
  --player-lyrics-shift: 0px;
  --player-lyrics-scale: 1;
  color: #ffffff;
  opacity: 1;
  filter: none;
  font-size: clamp(1.48rem, 2.8vw, 2.42rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow:
    0 0 26px rgba(255, 255, 255, 0.42),
    0 0 46px rgba(224, 224, 224, 0.16),
    0 6px 24px rgba(0, 0, 0, 0.28);
}

.player-lyrics-viewer.is-synced .player-lyrics-line.active::before {
  content: "";
  position: absolute;
  inset: -0.4rem -1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 50% 70%, rgba(166, 166, 166, 0.1), rgba(166, 166, 166, 0) 48%);
  filter: blur(24px);
  z-index: -1;
  animation: playerLyricsAura 2.8s ease-in-out infinite;
}

.player-lyrics-viewer.is-synced .player-lyrics-line.active.is-ending {
  opacity: 0.96;
  text-shadow:
    0 0 28px rgba(255, 255, 255, 0.48),
    0 0 54px rgba(228, 228, 228, 0.16),
    0 8px 30px rgba(0, 0, 0, 0.24);
}

.player-lyrics-viewer.is-synced .player-lyrics-line.active.is-ending::before {
  animation-duration: 1.7s;
  opacity: 0.94;
}

.player-lyrics-viewer.is-synced .player-lyrics-line.is-final-outro {
  --player-lyrics-shift: -8px;
  --player-lyrics-scale: 0.98;
  display: block;
  color: #ffffff;
  opacity: 0;
  filter: blur(18px);
  font-size: clamp(1.42rem, 2.55vw, 2.24rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  pointer-events: none;
  animation: playerLyricsFinalFade 880ms cubic-bezier(0.2, 0.74, 0.2, 1) forwards;
}

.player-lyrics-viewer.is-synced .player-lyrics-line.is-final-outro::before {
  content: "";
  position: absolute;
  inset: -0.5rem -1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 58%),
    radial-gradient(circle at 50% 68%, rgba(178, 178, 178, 0.1), rgba(178, 178, 178, 0) 48%);
  filter: blur(26px);
  z-index: -1;
  animation: playerLyricsFinalAuraFade 720ms ease-out forwards;
}

.player-lyrics-word {
  --karaoke-fill: 0%;
  display: inline-block;
  transition:
    background-size 34ms linear,
    color var(--motion-fast) ease,
    text-shadow var(--motion-fast) ease,
    opacity var(--motion-fast) ease,
    transform var(--motion-fast) ease,
    filter var(--motion-fast) ease;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .player-lyrics-word {
    background-image:
      linear-gradient(90deg, #ffffff 0%, #ececec 52%, #c9c9c9 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24));
    background-size: var(--karaoke-fill) 100%, 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.player-lyrics-viewer.is-synced .player-lyrics-line.active .player-lyrics-word {
  opacity: 0.72;
}

.player-lyrics-word.is-sung {
  opacity: 0.95;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.24),
    0 0 30px rgba(210, 210, 210, 0.08);
}

.player-lyrics-word.active {
  color: #ffffff;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.42),
    0 0 28px rgba(230, 230, 230, 0.16);
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.22));
  animation: none;
}

.player-lyrics-viewer.karaoke-disabled .player-lyrics-word,
.player-lyrics-viewer.karaoke-disabled .player-lyrics-word.active,
.player-lyrics-viewer.karaoke-disabled .player-lyrics-word.is-sung {
  background-image: none;
  background-size: 0% 100%;
  -webkit-text-fill-color: currentColor;
  color: inherit;
  opacity: inherit;
  filter: none;
  text-shadow: inherit;
}

.player-lyrics-plain {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.82;
  padding: 0.2rem 0;
  background: none;
  color: rgba(255, 255, 255, 0.86);
}

.player-lyrics-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.player-queue-list,
.player-comments-list {
  display: grid;
  gap: 0.65rem;
  min-height: 0;
}

.player-queue-list {
  max-height: 34vh;
  overflow: auto;
  padding-right: 0.2rem;
}

.player-queue-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 0.55rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
}

.player-queue-item.active {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(166, 166, 166, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.player-queue-cover {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.player-queue-text {
  min-width: 0;
}

.player-queue-text > strong,
.player-queue-text > span {
  display: block;
  min-width: 0;
}

.player-queue-text > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-queue-text .track-title-heading {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: nowrap;
  min-width: 0;
  width: fit-content;
  max-width: 100%;
  overflow: visible;
  white-space: nowrap;
}

.player-queue-text .track-title-heading .track-title-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-queue-text .track-title-heading .track-explicit-badge {
  display: inline-flex;
  flex-shrink: 0;
  overflow: visible;
}

.player-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.player-comment-form input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.player-comments-list {
  max-height: min(45vh, 520px);
  overflow: auto;
  padding-right: 0.2rem;
}

body[data-ui-density="compact"] .track-card {
  border-radius: 18px;
  padding: 0.74rem;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0.62rem;
}

body[data-ui-density="compact"] .track-cover {
  width: 118px;
  height: 118px;
}

body[data-ui-density="compact"] .track-main h4 {
  font-size: 0.98rem;
}

body[data-ui-density="compact"] .track-meta {
  font-size: 0.78rem;
}

body[data-ui-density="compact"] .track-desc {
  margin: 0.36rem 0;
  font-size: 0.88rem;
}

body[data-ui-density="compact"] .track-secondary {
  margin-top: 0.34rem;
  padding: 0.38rem 0.45rem;
  gap: 0.28rem;
}

body[data-ui-density="compact"] .track-details-toggle,
body[data-ui-density="compact"] .comments-more-btn,
body[data-ui-density="compact"] .virtual-load-more {
  min-height: 30px;
  padding: 0.18rem 0.52rem;
}

body[data-ui-density="compact"] .action-menu {
  margin-top: 0.34rem;
}

body[data-ui-density="compact"] .action-menu-trigger {
  min-height: 34px;
  min-width: 38px;
  padding: 0.28rem 0.52rem;
}
.window h2,
#profileUsername,
.card > h2 {
  font-size: var(--ui-heading-lg);
  line-height: 1.16;
}

.window h3,
.window h4,
.section-head > h3,
.profile-panel > h3,
.messages-modal-head h3,
.notifications-modal-head h3 {
  font-size: var(--ui-heading-md);
  line-height: 1.2;
}

.muted,
small,
.search-result-meta,
.track-meta,
.tag,
.comment-head,
.notification-item-meta,
.notification-item-preview,
.stats-list-item,
.player-track-info span,
.player-seek,
.player-volume {
  font-size: var(--ui-text-muted);
}

.player-seek {
  grid-area: seek;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  padding-top: 0.05rem;
}

.player-seek input {
  margin: 0;
}

.player-playing[data-playing="1"] {
  border-color: var(--accent);
  background: rgba(196, 196, 196, 0.16);
}

.global-player audio {
  display: none;
}

@media (max-width: 700px) {
  .publish-sync-audio-player {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .publish-sync-audio-btn:last-child {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .publish-sync-audio-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .publish-sync-audio-time {
    justify-content: space-between;
  }
}

@keyframes ambientShift {
  0% {
    background-position: 0% 0%, 100% 100%, center;
  }
  100% {
    background-position: 100% 20%, 0% 80%, center;
  }
}

@keyframes floatingGlowA {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12vw, 5vh) scale(1.08);
  }
  100% {
    transform: translate(3vw, 10vh) scale(0.95);
  }
}

@keyframes floatingGlowB {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10vw, -8vh) scale(1.12);
  }
  100% {
    transform: translate(-4vw, -3vh) scale(0.96);
  }
}

@keyframes brandGlow {
  0%,
  100% {
    text-shadow:
      0 0 10px rgba(232, 232, 232, 0.45),
      0 0 28px rgba(196, 196, 196, 0.35);
  }
  50% {
    text-shadow:
      0 0 16px rgba(230, 230, 230, 0.6),
      0 0 38px rgba(196, 196, 196, 0.52);
  }
}

@keyframes brandHaloSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes brandOrbitSpinA {
  from {
    transform: rotate(18deg) scaleY(0.56);
  }
  to {
    transform: rotate(378deg) scaleY(0.56);
  }
}

@keyframes brandOrbitSpinB {
  from {
    transform: rotate(-54deg) scaleX(0.72);
  }
  to {
    transform: rotate(306deg) scaleX(0.72);
  }
}

@keyframes brandMarkPulse {
  0%,
  100% {
    box-shadow:
      0 0 18px rgba(255, 255, 255, 0.1),
      0 0 34px rgba(160, 160, 160, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 24px rgba(255, 255, 255, 0.18),
      0 0 48px rgba(196, 196, 196, 0.22),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: scale(1.04);
  }
}

@keyframes brandCorePulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes brandGlintSweep {
  0%,
  100% {
    transform: translateX(-12%) rotate(26deg);
    opacity: 0.14;
  }
  46% {
    opacity: 0.62;
  }
  54% {
    transform: translateX(230%) rotate(26deg);
    opacity: 0.74;
  }
  66% {
    opacity: 0.08;
  }
}

@keyframes betaPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.03),
      0 0 18px rgba(196, 196, 196, 0.18);
    border-color: rgba(196, 196, 196, 0.32);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.05),
      0 0 26px rgba(196, 196, 196, 0.26);
    border-color: rgba(232, 232, 232, 0.48);
  }
}

@keyframes betaSweep {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 220% 50%;
  }
}

@keyframes riseSphere {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.28;
  }
  65% {
    opacity: 0.34;
  }
  100% {
    transform: translate3d(28px, -124vh, 0) scale(1.24);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    gap: 0.6rem;
  }

  .brand-mark {
    min-width: 30px;
    min-height: 30px;
  }

  .tabs-nav {
    justify-content: flex-start;
  }

  .topbar-right {
    align-items: flex-start;
  }

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

  .profile-identity {
    min-height: 0;
    padding-left: 0;
    padding-top: 148px;
  }

  .profile-avatar {
    width: 128px;
    height: 128px;
  }

  .profile-main-hero {
    margin-top: -0.2rem;
  }

  .profile-pinned-release-item {
    grid-template-columns: 1fr;
  }

  .profile-pinned-release-cover-link,
  .profile-pinned-release-cover {
    width: min(160px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  #profilePinnedReleaseContent {
    grid-template-columns: 1fr;
  }

  .profile-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-hero-actions {
    justify-content: flex-start;
  }

  .feed-search {
    grid-template-columns: 1fr;
  }

  .album-track-picker-controls {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .publish-hero-card,
  .publish-form-grid {
    grid-template-columns: 1fr;
  }

  .publish-mode-grid {
    grid-template-columns: 1fr;
  }

  .publish-mode-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .publish-form-head,
  .publish-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .publish-form-title {
    align-items: center;
  }

  .publish-submit-row {
    justify-content: stretch;
  }

  .publish-submit-row button {
    width: 100%;
    min-width: 0;
  }

  .album-track-filter-group {
    justify-content: flex-start;
  }

  .beat-license-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .beat-license-row input[type="number"] {
    grid-column: 1 / -1;
  }

  .track-card {
    grid-template-columns: 1fr;
  }

  .track-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .playlist-adder {
    flex-direction: column;
  }

  .global-player-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cover"
      "info"
      "controls"
      "volume"
      "seek";
    justify-items: stretch;
    gap: 0.52rem;
  }

  .global-player.is-mini .global-player-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "cover info controls";
    align-items: center;
  }

  .player-cover-wrap {
    width: 68px;
    height: 68px;
  }

  .global-player.is-mini .player-cover-wrap {
    width: 48px;
    height: 48px;
  }

  .player-controls {
    justify-content: flex-start;
  }

  .global-player.is-mini .player-controls {
    justify-content: flex-end;
  }

  .player-volume {
    justify-items: start;
  }

  .player-volume input {
    width: 100%;
  }

  .player-seek {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

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

  .equalizer-presets-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .subscriptions-grid {
    grid-template-columns: 1fr;
  }

  .subscriptions-panel-head {
    grid-template-columns: 1fr;
  }

  .admin-storage-metrics,
  .admin-storage-breakdown-grid,
  .admin-storage-actions-grid {
    grid-template-columns: 1fr;
  }

  .admin-storage-metric-head,
  .admin-storage-kv {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-storage-metric-value,
  .admin-storage-kv strong {
    text-align: left;
  }

  .action-menu-panel {
    left: 0;
    right: auto;
    width: min(300px, calc(100vw - 1.5rem));
    min-width: min(220px, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
  }

  .sfera-dialog-overlay {
    padding: 0.7rem;
  }

  .sfera-dialog-shell {
    width: min(100%, calc(100vw - 1rem));
    padding: 1rem 0.9rem 0.9rem;
    border-radius: 24px;
  }

  .sfera-dialog-head {
    gap: 0.65rem;
  }

  .sfera-dialog-close {
    min-width: 40px;
    min-height: 40px;
  }

  .sfera-dialog-actions {
    justify-content: stretch;
  }

  .sfera-dialog-actions > button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .album-modal-content {
    grid-template-columns: 1fr;
  }

  .album-modal-cover {
    width: min(220px, 100%);
  }

  .album-modal-tracks {
    max-height: min(44vh, 420px);
  }

  .global-player:not(.is-mini) .global-player-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas:
      "cover"
      "info"
      "controls"
      "volume"
      "seek"
      "details";
  }

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

  .player-overlay-hero-top {
    grid-template-columns: 1fr;
  }

  .player-overlay-cover {
    max-width: 320px;
  }

  .player-overlay-transport {
    padding: 0.8rem;
    gap: 0.75rem;
  }

  .player-overlay-transport-controls {
    width: 100%;
    justify-content: stretch;
  }

  .player-overlay-transport-btn {
    flex: 1 1 120px;
    justify-content: center;
  }

  .player-comment-form {
    grid-template-columns: 1fr;
  }

  .player-queue-list,
  .player-comments-list,
  .player-lyrics-viewer {
    max-height: none;
  }

  .player-lyrics-viewer.is-synced {
    min-height: min(34vh, 320px);
    padding: 0.85rem 0;
  }

  .player-lyrics-viewer.is-synced .player-lyrics-line.active {
    font-size: clamp(1.24rem, 5.6vw, 1.72rem);
  }

  .player-lyrics-viewer.is-synced .player-lyrics-line.is-previous,
  .player-lyrics-viewer.is-synced .player-lyrics-line.is-next {
    font-size: clamp(0.98rem, 4vw, 1.14rem);
  }
}

@media (max-width: 720px) {
  .site-intro-shell {
    width: min(94vw, 540px);
    gap: 0.84rem;
  }

  .site-intro-orbits {
    width: min(340px, 78vw);
    height: min(340px, 78vw);
  }

  .site-intro-stage {
    width: min(92vw, 420px);
    height: 88px;
  }

  .site-intro-logo {
    font-size: clamp(2.14rem, 10vw, 3.5rem);
    gap: 0.76rem;
  }

  .site-intro-logo .brand-mark {
    min-width: 68px;
    min-height: 68px;
  }

  .site-intro-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.24em;
  }

  .site-intro-badge {
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }

  .site-intro-tagline {
    font-size: 1rem;
    max-width: 19rem;
  }

  .site-intro-subline {
    font-size: 0.84rem;
    max-width: 18rem;
  }

  .site-intro-eq {
    gap: 0.34rem;
    height: 44px;
  }

  .site-intro-eq span {
    width: 5px;
  }
}
