/* STAVMUSIC — Minimal Rounded Redesign */

:root,
[data-theme="dark"] {
  --bg: #0b0d12;
  --surface: #151922;
  --surface2: #1b202a;
  --surface3: #242b37;
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.14);
  --accent: #4da3ff;
  --accent2: #ff9a7a;
  --accent3: #30c08d;
  --text: #f5f7fb;
  --text2: #ccd3df;
  --muted: #8a93a6;
  --admin: #7b9cff;
  --admin2: #9ab2ff;
  --mod: #59c1ff;
  --mod2: #8ad8ff;
  --nav-bg: rgba(21, 25, 34, 0.76);
  --player-bg: rgba(21, 25, 34, 0.82);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-sm: 0 16px 36px rgba(0, 0, 0, 0.24);
  --radius: 30px;
  --radius-sm: 20px;
  --content-max: 1240px;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --surface-ring: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
  --bg: #f4f6fa;
  --surface: rgba(255, 255, 255, 0.9);
  --surface2: #f8fafc;
  --surface3: #eef2f7;
  --border: rgba(15, 23, 42, 0.08);
  --border2: rgba(15, 23, 42, 0.14);
  --accent: #0071e3;
  --accent2: #ff845c;
  --accent3: #27ae60;
  --text: #101828;
  --text2: #475467;
  --muted: #6b7280;
  --admin: #5378ff;
  --admin2: #6d8dff;
  --mod: #1695ff;
  --mod2: #50b3ff;
  --nav-bg: rgba(255, 255, 255, 0.74);
  --player-bg: rgba(255, 255, 255, 0.84);
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.11);
  --shadow-sm: 0 18px 36px rgba(15, 23, 42, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.8);
  --surface-ring: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

html {
  background: var(--bg);
}

body {
  font-family: "Nunito", "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.012em;
  background:
    radial-gradient(circle at top left, rgba(77, 163, 255, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 154, 122, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    var(--bg);
  padding-bottom: 136px;
  position: relative;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

body::before {
  width: 24rem;
  height: 24rem;
  top: -8rem;
  left: -6rem;
  background: rgba(77, 163, 255, 0.18);
}

body::after {
  width: 18rem;
  height: 18rem;
  top: 8rem;
  right: -5rem;
  background: rgba(255, 154, 122, 0.16);
}

.page,
nav,
#player,
#playerPeek,
#toast,
#notifPanel,
.bottom-nav,
.more-drawer {
  z-index: 1;
}

.page.active {
  animation: page-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #66b4ff 46%, var(--accent2));
  border-radius: 0 999px 999px 0;
  box-shadow: 0 4px 12px rgba(77, 163, 255, 0.28);
}

:where(
  .nav-logo,
  .hero h1,
  .aftitle,
  .pv h1,
  .evvtitle,
  .evname,
  .evday,
  .ptitle,
  .ac-title,
  .prname,
  .adhdr h1,
  .abox h2,
  .alogo,
  .mpit,
  .pait,
  .sup-ticket-title,
  .review-item-title,
  .rules-body h1,
  .rules-body h2,
  .auth-gate-title,
  #fsCoverTitle
) {
  font-family: "Nunito", "Manrope", sans-serif;
  letter-spacing: -0.04em;
  font-weight: 900;
}

nav {
  top: 14px;
  width: calc(100% - 32px);
  max-width: var(--content-max);
  margin: 0 auto 18px;
  min-height: 76px;
  height: auto;
  padding: 12px 14px;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--nav-bg);
  box-shadow: var(--shadow-sm), var(--surface-ring);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-logo {
  font-size: 1.34rem;
  color: var(--text);
  gap: 0.16rem;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  gap: 8px;
  padding: 0;
  margin-left: auto;
}

.nav-links > * {
  min-width: 0;
}

.nb,
.notif-btn {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: transparent;
}

.nb svg,
.notif-btn svg {
  width: 1.02em;
  height: 1.02em;
}

.nb:hover,
.notif-btn:hover {
  color: var(--text);
  background: var(--surface3);
  border-color: var(--border);
}

.nb.active {
  color: var(--text);
  background: var(--surface2);
  border-color: var(--border);
  box-shadow: var(--surface-ring);
}

.nb.hl {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.18);
}

.nb.hl:hover {
  filter: none;
  transform: translateY(-1px);
}

.nb.adm {
  background: rgba(83, 120, 255, 0.16);
  color: #fff;
  border-color: rgba(83, 120, 255, 0.18);
}

.nb.adm:hover {
  background: rgba(83, 120, 255, 0.26);
}

.theme-btn {
  width: 56px;
  height: 34px;
  margin-left: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface3);
  box-shadow: var(--surface-ring);
}

.theme-btn::before {
  width: 22px;
  height: 22px;
  top: 5px;
  left: 5px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

[data-theme="light"] .theme-btn::before {
  transform: translateX(22px);
  background: var(--accent);
}

.notif-badge {
  top: 5px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), #ff6f7d);
  font-size: 0.62rem;
  box-shadow: 0 8px 18px rgba(255, 132, 92, 0.34);
}

.hero,
.section,
.afhdr-in,
.affilters,
.evwrap,
.msbar,
.mwrap,
.adwrap {
  width: calc(100% - 32px);
  max-width: var(--content-max);
  padding-left: 0;
  padding-right: 0;
}

.hero {
  margin: 26px auto 0;
  padding: clamp(30px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  box-shadow: var(--shadow), var(--surface-ring);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -42% 44%;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.22), transparent 52%);
  pointer-events: none;
}

.hero > div:first-child {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface3);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.04em;
}

.eyebrow::before {
  display: none;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 6.8vw, 5.35rem);
  line-height: 0.95;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  max-width: 56ch;
  margin-bottom: 1.6rem;
  color: var(--text2);
  font-size: 1rem;
  line-height: 1.85;
}

.hero-btns {
  gap: 0.8rem;
}

.hero-vis {
  min-height: 360px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(77, 163, 255, 0.14), rgba(255, 154, 122, 0.12)),
    var(--surface2);
  position: relative;
  overflow: hidden;
}

.disc {
  width: min(300px, 76%);
  height: auto;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.16) 34%, rgba(77, 163, 255, 0.26) 72%, rgba(255, 154, 122, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 28px 60px rgba(0, 0, 0, 0.18);
  animation: hero-float 12s ease-in-out infinite;
}

.disc::after {
  inset: 58px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.disc::before {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.needle {
  width: 136px;
  height: 112px;
  top: 28px;
  right: 28px;
  left: auto;
  transform: none;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(8deg);
  }
}

.ticker {
  width: calc(100% - 32px);
  max-width: var(--content-max);
  margin: 18px auto 0;
  padding: 0.85rem 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.ticker-inner span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.ticker-inner .dot {
  font-size: 0.58rem;
}

.section {
  margin: 0 auto;
  padding-top: 28px;
}

:where(
  .hero,
  .pc,
  .ac,
  .pv,
  .comments-section,
  .audio-blk,
  .evc,
  .tg-banner,
  .prhdr,
  .mpi,
  .pai,
  .sup-ticket,
  .sup-thread,
  .review-item,
  .abox,
  .mbox,
  .crop-box,
  .gate-login-msg,
  .ap,
  .cs,
  .notif-panel,
  .more-drawer-inner
) {
  min-width: 0;
  overflow: hidden;
}

:where(
  .ptitle,
  .ac-title,
  .evname,
  .evvtitle,
  .pl-title,
  .prname,
  .mpit,
  .pait,
  .review-item-title,
  .sup-ticket-title,
  .notif-title
) {
  overflow-wrap: anywhere;
}

:where(
  .pexc,
  .hero-sub,
  .pvbody,
  .comment-text,
  .review-preview,
  .rules-body,
  .notif-text,
  .prbio
) {
  overflow-wrap: anywhere;
}

.sh {
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: none;
  gap: 0.8rem;
}

.st {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface3);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.sc {
  font-size: 0.84rem;
  color: var(--text2);
}

.pg,
.ag {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.pc {
  grid-column: span 4;
  min-height: 100%;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
  display: flex;
  flex-direction: column;
}

.pc.has-media {
  padding-top: 18px;
}

.pc-media {
  position: relative;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 22px;
}

.pc:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: var(--shadow);
}

.pc-thumb {
  height: 184px;
  margin-bottom: 0;
  border-radius: 22px;
}

.pc-media .pt {
  position: absolute;
  top: 14px;
  left: 14px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.84);
  color: #101828;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pc.has-media .ftag {
  top: 32px;
  right: 32px;
}

.pt,
.pvtag,
.evbdg,
.pending-notice-pill,
.adbdg,
.pl-queue {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 800;
}

.pt,
.pvtag {
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent);
  border: 1px solid rgba(0, 113, 227, 0.12);
}

.ptitle {
  font-size: 1.18rem;
  line-height: 1.24;
  margin-bottom: 0.58rem;
}

.pexc {
  flex: 1;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.72;
}

.pmeta {
  gap: 0.6rem;
}

.pmeta-right {
  column-gap: 14px;
  row-gap: 8px;
}

.pauth,
.pdate,
.pmeta-stat {
  font-size: 0.74rem;
}

.ftag {
  top: 18px;
  right: 18px;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #101828;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.afhdr,
.mhdr {
  background: none;
  border: none;
  padding: 28px 0 0;
}

.afhdr-in,
.mhdr > div {
  width: calc(100% - 32px);
  max-width: var(--content-max) !important;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.aftitle {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  margin-bottom: 0.75rem;
}

.afdesc {
  max-width: 56ch;
  font-size: 0.96rem;
  line-height: 1.75;
}

.affilters,
.msbar,
.mwrap,
.evwrap {
  margin: 0 auto;
  padding-top: 18px;
}

.fb {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.fb:hover,
.fb.on {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}

.evc {
  padding: 20px 22px;
  margin-bottom: 14px;
  border-radius: 28px;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.evc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.evday {
  font-size: 2.45rem;
  color: var(--text);
}

.evmon,
.evwd,
.evven,
.evtp {
  font-size: 0.76rem;
}

.evbdg {
  margin-bottom: 0.6rem;
}

.evname {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.evact {
  align-items: stretch;
}

.tktbtn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.evvhero {
  padding: 28px 30px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.evvhero::before {
  display: none;
}

.evvtitle {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.evvday {
  font-size: 3rem;
  color: var(--text);
}

.evmg {
  gap: 14px;
}

.evmi {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.msinp,
.mssort {
  min-height: 50px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--surface-ring);
  font-size: 0.92rem;
}

.ac {
  grid-column: span 3;
  min-height: 100%;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
  display: flex;
  flex-direction: column;
}

.ac:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ac-cover,
.ac-nocover {
  margin-bottom: 14px;
  border-radius: 22px;
}

.ac-title {
  font-size: 1rem;
  line-height: 1.28;
}

.ac-artist {
  font-size: 0.8rem;
  margin-bottom: 0.24rem;
}

.ac-author {
  margin-top: 0.1rem;
  font-size: 0.74rem;
}

.ac-meta {
  margin-top: auto;
  padding-top: 0.75rem;
}

.plays,
.dur {
  font-size: 0.72rem;
}

.playbtn {
  position: static;
  width: 42px;
  height: 42px;
  margin-top: 0.9rem;
  margin-left: auto;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 14px 24px rgba(16, 24, 40, 0.16);
}

.playbtn:hover {
  transform: translateY(-2px);
  filter: none;
}

.pv,
.comments-section,
.evview,
.sup-wrap,
.rules-wrap,
.prwrap {
  width: calc(100% - 32px);
  max-width: 960px;
  padding-left: 0;
  padding-right: 0;
}

.pv {
  margin: 28px auto 0;
  padding: 30px 32px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.back {
  min-height: 42px;
  padding: 0 16px;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface3);
  color: var(--text2);
  font-size: 0.82rem;
}

.back:hover {
  color: var(--text);
  background: var(--surface2);
}

.pv h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.98;
  margin-bottom: 0.95rem;
}

.pvmeta {
  padding-bottom: 18px;
  margin-bottom: 1.8rem;
}

.pvbody {
  font-size: 1rem;
  line-height: 1.92;
}

.pvimg {
  max-height: 520px;
  border-radius: 28px;
}

.audio-blk {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.aplay {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
}

.comments-section {
  margin: 20px auto 34px;
  padding: 28px 30px 30px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.comments-title {
  margin-bottom: 1.4rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 0.76rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.comment-form {
  margin-bottom: 1.3rem;
}

.comment-av {
  width: 40px;
  height: 40px;
  border-radius: 16px;
}

.comment-inp,
.reply-form .comment-inp,
.reject-reason-inp {
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface2);
  font-size: 0.9rem;
}

.comment-item {
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.comment-thread {
  margin-left: 18px;
  margin-top: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.reply-form {
  margin-left: 0;
}

.comments-login-hint {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.field {
  margin-bottom: 1.15rem;
}

.field label,
.tr2 label,
.sr2 label,
.togr > label:first-child {
  margin-bottom: 0.45rem;
  color: var(--text2);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.field input,
.field textarea,
.field select,
.tr2 input,
.tr2 textarea,
.sr2 select {
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface2);
  box-shadow: var(--surface-ring);
  font-size: 0.92rem;
}

.field textarea,
.tr2 textarea {
  min-height: 140px;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.tr2 input:focus,
.tr2 textarea:focus,
.sr2 select:focus,
.comment-inp:focus,
.reject-reason-inp:focus,
.msinp:focus {
  border-color: rgba(0, 113, 227, 0.26);
  box-shadow:
    0 0 0 4px rgba(0, 113, 227, 0.12),
    var(--surface-ring);
}

.toolbar {
  gap: 0.32rem;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.tbtn {
  padding: 0.58rem 0.86rem;
  border-radius: 16px;
  color: var(--text2);
  font-size: 0.78rem;
  font-weight: 700;
}

.tbtn:hover {
  color: var(--text);
  background: var(--surface3);
}

.tsep {
  margin: 4px 2px;
}

.uz {
  padding: 1.6rem 1.2rem;
  border-radius: 26px;
  border: 1px dashed var(--border2);
  background: var(--surface2);
}

.fp {
  padding: 0.55rem 0.72rem;
  border-radius: 18px;
  background: var(--surface2);
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.12);
}

.btn:hover {
  transform: translateY(-2px);
  filter: none;
}

.btn-g {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--surface-ring);
}

.btn-g:hover {
  background: var(--surface3);
  border-color: var(--border2);
}

.btn-a {
  background: var(--accent);
  color: #fff;
}

.btn-a:hover {
  background: #1884f0;
}

.btn-d {
  background: #ff453a;
  color: #fff;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.78rem;
}

.btn-full {
  min-height: 52px;
}

.awrap {
  width: calc(100% - 32px);
  max-width: 520px;
  padding: 44px 0 26px;
}

.alogo {
  font-size: 1.8rem;
  color: var(--text);
}

.alogo span {
  color: var(--accent);
}

.atag {
  font-size: 0.76rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.abox {
  padding: 28px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.abox h2 {
  font-size: 1.55rem;
  margin-bottom: 1.3rem;
}

.alrt {
  border-left: none;
  border-radius: 18px;
}

.prwrap {
  max-width: var(--content-max);
  margin: 28px auto 0;
  padding-top: 0;
}

.prhdr {
  padding: 28px 30px;
  margin-bottom: 20px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.av {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  font-family: "Nunito", sans-serif;
}

.prname {
  font-size: 2rem;
}

.prhandle {
  font-size: 0.88rem;
}

.prbio {
  max-width: 68ch;
  font-size: 0.92rem;
}

.prstats {
  gap: 1.1rem;
}

.pstat {
  min-width: 128px;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.pstat .num {
  font-family: "Nunito", "Manrope", sans-serif;
  font-size: 1.4rem;
}

.tabs {
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
  border-bottom: none;
}

.tabb {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tabb.on {
  color: var(--bg);
  background: var(--text);
  border-color: transparent;
}

.tc {
  padding-top: 0;
}

.mpi,
.pai {
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.mpi:hover,
.pai:hover {
  transform: translateY(-2px);
  background: var(--surface);
}

.mpit,
.pait {
  font-size: 1rem;
}

.mpim,
.paim {
  font-size: 0.74rem;
}

.ab {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.social-link,
.badge-warn {
  border-radius: 999px;
}

.tg-banner {
  padding: 1rem 1.15rem;
  border-radius: 28px;
  border-left: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), transparent 40%), var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.tg-banner-left,
.tg-text {
  min-width: 0;
}

.tg-banner-left {
  flex: 1;
}

.tg-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sup-wrap,
.rules-wrap,
.evview {
  margin: 28px auto 0;
}

.sup-ticket,
.sup-thread,
.review-item,
.mbox,
.crop-box,
.gate-login-msg {
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.sup-ticket,
.sup-thread,
.review-item {
  padding: 22px 24px;
}

.sup-ticket:hover {
  transform: translateY(-2px);
}

.sup-ticket-title {
  font-size: 1.05rem;
}

.sup-msg-bubble {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface2);
}

.sup-msg.staff .sup-msg-bubble {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.12);
}

.rules-body {
  padding: 28px 30px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
  font-size: 0.98rem;
}

.rules-body h1 {
  font-size: 2rem;
}

.rules-body h2 {
  font-size: 1.3rem;
}

.adwrap {
  margin: 28px auto 0;
  padding: 0 0 40px;
}

.adhdr {
  padding: 26px 30px;
  margin-bottom: 20px;
  border-bottom: none;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.adbdg {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 113, 227, 0.12);
}

.adgrid {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.adsb {
  padding: 14px;
  border-radius: 32px;
  top: 104px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.ani {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.01em;
}

.ani:hover {
  background: var(--surface2);
  border-color: var(--border);
}

.ani.on {
  background: var(--text);
  color: var(--bg);
}

.ang {
  padding: 0.5rem 0.9rem 0.2rem;
  font-size: 0.64rem;
  text-transform: none;
  letter-spacing: 0.02em;
}

.ap {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.ap > h2 {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.sg {
  gap: 16px;
}

.sc2,
.cs,
.review-preview,
.review-track {
  border-radius: 26px;
  border: 1px solid var(--border);
}

.sc2 {
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
}

.sc2 .big {
  font-family: "Nunito", "Manrope", sans-serif;
}

.cs {
  padding: 22px 24px;
  background: var(--surface2);
}

.cs h3 {
  color: var(--text2);
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.cs h3::before {
  display: none;
}

.tr2,
.sr2,
.togr {
  gap: 12px;
}

.dt {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.dt table,
.dt tbody,
.dt thead {
  width: 100%;
}

.dt th,
.dt td {
  white-space: nowrap;
}

.sb {
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.notif-panel {
  top: 86px;
  right: 16px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow), var(--surface-ring);
}

.notif-header {
  padding: 14px 16px;
}

.notif-header-title {
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

.notif-item,
.notif-page-item {
  border-bottom-color: var(--border);
}

.notif-item {
  padding: 14px 16px;
}

.notif-page-item {
  padding: 16px 0;
}

.notif-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.review-item-header,
.review-actions {
  gap: 0.8rem;
}

.review-item-meta,
.notif-time,
.sup-ticket-meta,
.sup-msg-meta {
  font-size: 0.72rem;
}

.pending-notice,
.comments-login-hint,
.empty,
#toast {
  border-radius: 22px;
}

footer {
  width: calc(100% - 32px);
  max-width: var(--content-max);
  margin: 36px auto 24px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-sm), var(--surface-ring);
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.01em;
}

#toast {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--surface-ring);
}

#player,
#playerPeek {
  background: var(--player-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--surface-ring);
}

#player {
  gap: 14px;
  padding: 14px 16px;
  border-radius: 26px;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 360px) auto;
}

.pl-topline {
  display: none;
}

.pl-cov {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}

.pl-info {
  gap: 0.12rem;
}

.pl-title {
  font-size: 0.95rem;
}

.pl-meta {
  gap: 0.55rem;
}

.pl-artist,
.pl-auth {
  font-size: 0.73rem;
}

.pl-center {
  gap: 0.5rem;
}

.pl-ctrl {
  gap: 0.5rem;
}

.pl-prog {
  gap: 0.62rem;
}

.pl-t {
  width: 34px;
  font-size: 0.66rem;
}

.pl-state {
  letter-spacing: 0.04em;
}

.plb,
.pl-vi,
.pl-hide {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.pl-play {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 14px 28px rgba(16, 24, 40, 0.18);
}

.pl-bar,
.pl-vbar {
  background: rgba(127, 140, 160, 0.2);
}

.pl-vbar {
  width: 82px;
}

.pl-fill {
  background: linear-gradient(90deg, var(--accent), #78bbff 55%, var(--accent2));
}

.pl-fill::after {
  width: 10px;
  height: 10px;
  background: #fff;
}

#playerPeek {
  gap: 0.65rem;
  min-width: 0;
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 18px;
}

.player-peek-cover {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--surface2);
  color: var(--muted);
}

.player-peek-copy {
  gap: 0.1rem;
}

.player-peek-label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.player-peek-title {
  font-size: 0.74rem;
}

.player-peek-artist {
  font-size: 0.68rem;
}

.bottom-nav {
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 74px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--nav-bg);
  box-shadow: var(--shadow), var(--surface-ring);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.bn-item {
  gap: 4px;
  border-radius: 18px;
}

.bn-item:hover,
.bn-item.active {
  background: var(--surface3);
}

.bn-label {
  font-size: 0.62rem;
}

.bn-badge {
  top: 8px;
  right: calc(50% - 17px);
  border-radius: 999px;
}

.more-drawer {
  background: rgba(7, 10, 16, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.more-drawer-inner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: 30px 30px 0 0;
  box-shadow: var(--shadow), var(--surface-ring);
  padding: 0 12px calc(env(safe-area-inset-bottom, 0px) + 78px);
}

.more-drawer-handle {
  width: 44px;
  height: 5px;
  margin: 14px auto 10px;
  border-radius: 999px;
}

.more-item {
  min-height: 58px;
  padding: 0 12px;
  border-bottom-color: var(--border);
  border-radius: 18px;
  font-size: 0.92rem;
}

.more-item:hover,
.more-item:active {
  background: var(--surface2);
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .pc {
    grid-column: span 6;
  }

  .ac {
    grid-column: span 4;
  }

  .adgrid {
    grid-template-columns: 1fr;
  }

  .adsb {
    position: static;
  }
}

@media (max-width: 820px) {
  nav,
  .hero,
  .section,
  .afhdr-in,
  .mhdr > div,
  .affilters,
  .msbar,
  .mwrap,
  .evwrap,
  .pv,
  .comments-section,
  .evview,
  .sup-wrap,
  .rules-wrap,
  .prwrap,
  .adwrap,
  .awrap,
  footer {
    width: calc(100% - 20px);
  }

  nav {
    min-height: 70px;
    top: 10px;
    padding: 10px 12px;
    border-radius: 24px;
    margin-bottom: 14px;
  }

  .nav-links {
    display: none !important;
  }

  .hero {
    margin-top: 18px;
    padding: 24px;
    border-radius: 34px;
  }

  .hero-vis {
    min-height: 300px;
  }

  .section,
  .affilters,
  .msbar,
  .mwrap,
  .evwrap {
    padding-top: 18px;
  }

  .pc,
  .ac {
    grid-column: span 6;
  }

  .pv,
  .comments-section,
  .evview,
  .afhdr-in,
  .mhdr > div,
  .prhdr,
  .abox,
  .adhdr,
  .ap,
  .adsb,
  .cs,
  .sup-ticket,
  .sup-thread,
  .review-item,
  .mbox,
  .crop-box,
  .rules-body {
    padding: 22px;
  }

  .prhdr {
    gap: 20px;
  }

  .tabs {
    overflow-x: auto;
  }

  .bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 166px;
  }

  #player {
    left: 10px;
    right: 10px;
    bottom: 92px;
    grid-template-columns: auto 1fr auto;
    border-radius: 24px;
    padding: 12px 14px;
    gap: 10px;
  }

  #playerPeek {
    left: 10px;
    right: 10px;
    bottom: 92px;
    max-width: none;
    border-radius: 24px;
    padding: 9px 12px;
  }

  .pl-vol,
  .pl-queue {
    display: none;
  }

  .pl-center {
    grid-column: 2 / -1;
  }

  .pl-cov {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .plb,
  .pl-hide {
    width: 34px;
    height: 34px;
  }

  .pl-play {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }

  .pl-prog {
    gap: 0.45rem;
  }

  .pl-t {
    width: 28px;
    font-size: 0.6rem;
  }

  #toast {
    bottom: 172px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.45rem);
  }

  .hero-vis {
    display: none;
  }

  .pg,
  .ag {
    gap: 14px;
  }

  .pc,
  .ac {
    grid-column: 1 / -1;
  }

  .pc-media .pt {
    top: 12px;
    left: 12px;
  }

  .evc {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 18px;
  }

  .evact {
    display: none;
  }

  .sh {
    align-items: flex-start;
  }

  .sh .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-btns .btn,
  .msinp,
  .mssort {
    width: 100%;
  }

  .msbar {
    gap: 12px;
  }

  .pmeta,
  .pvmeta {
    gap: 10px;
  }

  .prstats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pstat {
    min-width: 0;
  }

  .notif-panel {
    left: 10px;
    right: 10px;
    width: auto;
  }
}

@media (max-width: 460px) {
  .hero,
  .pv,
  .comments-section,
  .evview,
  .abox,
  .adhdr,
  .ap,
  .adsb,
  .cs,
  .sup-ticket,
  .sup-thread,
  .review-item,
  .rules-body {
    border-radius: 26px;
  }

  .prname,
  .aftitle,
  .pv h1,
  .evvtitle {
    line-height: 1.02;
  }

  .prstats {
    grid-template-columns: 1fr;
  }

  .tabb {
    padding: 0 14px;
    font-size: 0.76rem;
  }

  #player,
  #playerPeek {
    border-radius: 22px;
  }

  .player-peek-cover {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}
