:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: rgba(18, 20, 25, 0.78);
  --surface-strong: rgba(22, 24, 30, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --text: #fbf6ec;
  --muted: #aeb4bf;
  --gold: #ffd166;
  --warm: #ff8a2a;
  --green: #2fd6a3;
  --blue: #78aaff;
  --pink: #ff6da8;
  --violet: #9b7bff;
  --ink: #120d06;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  min-height: 100vh;
  margin: 0;
  padding-bottom: 96px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(47, 214, 163, 0.12), transparent 34rem),
    linear-gradient(225deg, rgba(255, 138, 42, 0.12), transparent 34rem),
    var(--bg);
}

button, input { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.app {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 22px;
  display: grid;
  gap: 18px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(8, 9, 11, 0.78);
  backdrop-filter: blur(18px);
}

.brand, .topnav, .hero-actions, .player-buttons, .lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark, .mini-cover {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 950;
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.brand strong, .brand small, .player-info strong, .player-info span {
  display: block;
}

.brand small, .player-info span, .section-title small, .section-heading p, .track small, .reason-card li, .hero-copy p, .hero-reasons {
  color: var(--muted);
}

.topnav {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}
.topnav a, .topnav button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.topnav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.topnav button, .member-strip button, .player-buttons .play {
  color: var(--ink);
  font-weight: 850;
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.lang-switch {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch button {
  min-width: 38px;
  min-height: 30px;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
}

.lang-switch button.is-active {
  color: var(--ink);
  background: var(--green);
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.hero-copy, .state-console, .now-card, .reason-card, .playlist, .member-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  min-height: 100%;
  padding: clamp(34px, 5vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.12), transparent 13rem),
    linear-gradient(135deg, rgba(47, 214, 163, 0.14), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.time-chip {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: #071e16;
  background: var(--green);
  font-size: 13px;
  font-weight: 850;
}

h1 {
  margin-top: 22px;
  max-width: 780px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-copy p {
  max-width: 660px;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.75;
}

.hero-copy.is-context h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
}

.hero-copy.is-context p {
  max-width: 720px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-reasons {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}

.hero-reasons[hidden] {
  display: none;
}

.hero-reasons li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 209, 102, 0.075);
  line-height: 1.45;
}

.hero-actions { margin-top: 28px; flex-wrap: wrap; }
.hero-actions button, .section-heading button, .track button, .member-strip button, .player-buttons button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero-actions .primary {
  min-height: 48px;
  padding: 0 18px;
  color: #061913;
  font-weight: 950;
  background: linear-gradient(135deg, #ecfff7, var(--green));
  box-shadow: 0 18px 46px rgba(47, 214, 163, 0.28);
}
.ghost { border: 1px solid var(--line); }

.state-console {
  min-height: 100%;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}
.section-title, .section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.section-title span { font-weight: 900; }

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  align-items: start;
}

.state-card {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  position: relative;
}

.state-card.is-active {
  grid-column: 1 / -1;
  min-height: 196px;
  padding: 22px;
}

.state-card.is-compact {
  justify-content: center;
}

.state-card:hover, .state-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.state-card.is-active {
  animation: selectedPulse 2.4s ease-in-out infinite;
  border-color: rgba(255, 209, 102, 0.64);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.18), 0 18px 54px rgba(255, 209, 102, 0.14);
}

.state-card.is-active::after {
  content: none;
}

@keyframes selectedPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.18), 0 18px 54px rgba(255, 209, 102, 0.14);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.12), 0 22px 64px rgba(255, 209, 102, 0.2);
  }
}

.state-card strong {
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.state-card.is-active strong {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
}

.state-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.55;
}

.state-card span {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.now-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.now-card {
  padding: 22px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 24% 24%, rgba(120, 170, 255, 0.2), transparent 22rem),
    var(--surface);
}

.cover-orb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 54px;
  font-weight: 950;
  color: var(--ink);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, var(--blue), var(--gold));
}

.now-card span {
  color: var(--blue);
  font-weight: 850;
}

.now-card h2 {
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.now-card p { margin-top: 12px; color: var(--muted); line-height: 1.65; }
.reason-card {
  padding: 16px 18px;
  background: var(--surface-strong);
}
.reason-card h3 { font-size: 20px; }
.reason-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.55;
}

.playlist, .member-strip, .search-panel, .account-panel, .member-panel, .my-page { padding: 22px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2 { font-size: 32px; letter-spacing: -0.035em; }

.track-list { display: grid; gap: 10px; }
.track {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(236px, auto);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.track.current {
  border-color: rgba(120, 170, 255, 0.38);
  background: rgba(120, 170, 255, 0.1);
}

.track span { color: var(--green); font-weight: 950; }
.track strong, .track small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track small { margin-top: 4px; }
.track-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.track-actions button {
  min-width: 74px;
  padding-inline: 12px;
}
.track-favorite,
.track-download {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}
.track-favorite.is-saved {
  color: var(--gold);
  border-color: rgba(245, 197, 107, 0.42);
  background: rgba(245, 197, 107, 0.1);
}
.track-download {
  color: var(--ink);
  font-weight: 850;
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.track-download.is-locked {
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.34);
  background: rgba(255, 209, 102, 0.08);
}

.empty-state {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-state strong { display: block; color: var(--text); margin-bottom: 6px; }

.member-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(255, 138, 42, 0.18), rgba(255, 255, 255, 0.04)),
    var(--surface);
}
.member-strip span { color: var(--gold); font-weight: 850; }
.member-strip h2 { margin-top: 4px; font-size: 30px; letter-spacing: -0.04em; }

.account-panel, .member-panel, .my-page {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(340px, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.account-center {
  padding-bottom: 120px;
}

.account-hero {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 22%, rgba(47, 214, 163, 0.2), transparent 20rem),
    var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.account-hero > div:first-child span,
.account-section > span {
  color: var(--green);
  font-weight: 900;
}

.account-hero h1 {
  margin-top: 8px;
  font-size: clamp(44px, 6vw, 82px);
}

.account-hero p,
.account-section p,
.account-note p,
.pack-grid p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.account-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 6px;
  background: var(--surface);
}

.account-sidebar button {
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: left;
  background: transparent;
  font-weight: 850;
}

.account-sidebar button.is-active,
.account-sidebar button:hover {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.account-main {
  min-height: 430px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.account-note,
.account-section {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.account-section h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.pack-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.pack-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pack-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.my-page {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.account-panel span, .member-panel span, .my-profile > span {
  color: var(--gold);
  font-weight: 850;
}

.account-panel h2, .member-panel h2, .my-profile h2 {
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.access-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.access-ladder article {
  min-height: 124px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  display: grid;
  align-content: start;
  gap: 5px;
}

.access-ladder span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.access-ladder strong {
  display: block;
  font-size: 18px;
}

.access-ladder p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.member-register-button {
  min-height: 34px;
  width: fit-content;
  margin-top: 2px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.member-free-status {
  width: fit-content;
  margin-top: 2px;
  padding: 6px 9px;
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(47, 214, 163, 0.12);
}

.my-profile {
  display: grid;
  gap: 16px;
  align-content: start;
}

.my-workspace {
  display: grid;
  gap: 14px;
}

.my-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.my-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.my-drawer-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 104px;
  width: min(560px, calc(100vw - 24px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  align-content: start;
  gap: 14px;
  color: var(--text);
  background: rgba(15, 16, 19, 0.96);
  box-shadow: -18px 24px 90px rgba(0, 0, 0, 0.48);
  transform: translateX(calc(100% + 24px));
  transition: transform 0.24s ease;
  overflow: auto;
}

.my-drawer.is-open {
  pointer-events: auto;
}

.my-drawer.is-open .my-drawer-backdrop {
  opacity: 1;
}

.my-drawer.is-open .my-drawer-panel {
  transform: translateX(0);
}

.my-drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.my-drawer-head span {
  color: var(--gold);
  font-weight: 900;
}

.my-drawer-head h2 {
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.my-drawer-head button,
.drawer-full-link {
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.drawer-full-link {
  width: fit-content;
  justify-self: start;
  align-self: start;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.drawer-upgrade {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.08);
}

.drawer-upgrade strong,
.drawer-upgrade p {
  display: block;
}

.drawer-upgrade p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.drawer-upgrade button {
  min-height: 42px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--warm));
  font-weight: 900;
}

.drawer-open {
  overflow: hidden;
}

.my-tabs {
  width: fit-content;
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.my-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
}

.my-tabs button.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.my-tab-panel {
  min-height: 220px;
}

.my-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.my-stats article, .my-empty, .my-list-row {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.my-stats span, .my-list-row small {
  color: var(--muted);
}

.my-stats strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.my-list {
  display: grid;
  gap: 10px;
}

.my-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.my-list-row strong, .my-list-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-list-row button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 850;
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.auth-form div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-form button, .account-card button, .plan-card button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.auth-form .primary, .plan-card button {
  color: var(--ink);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.auth-form small {
  min-height: 18px;
  color: var(--warm);
}

.account-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 209, 102, 0.06);
}

.account-card strong {
  font-size: 22px;
}

.account-card span {
  color: rgba(255, 255, 255, 0.74);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-card {
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.plan-card strong {
  font-size: 34px;
  letter-spacing: -0.04em;
}

.plan-card small, .plan-card p {
  color: var(--muted);
  line-height: 1.45;
}

.plan-card ul {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.plan-card button {
  margin-top: auto;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 16px;
  align-items: start;
}

.checkout-confirm, .checkout-side {
  display: grid;
  gap: 14px;
}

.checkout-confirm {
  min-height: 520px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.checkout-confirm > span, .checkout-region span, .checkout-side .account-card > span {
  color: var(--green);
  font-weight: 850;
}

.checkout-confirm h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

.checkout-confirm > p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.36fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.checkout-plan small, .checkout-price span, .checkout-price small {
  color: var(--muted);
}

.checkout-plan strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.checkout-plan p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.checkout-price {
  display: grid;
  align-content: center;
  gap: 6px;
}

.checkout-price strong {
  color: var(--gold);
  font-size: 34px;
}

.checkout-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-benefits li {
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.checkout-alternatives {
  display: grid;
  gap: 10px;
}

.checkout-alternatives > span {
  color: var(--green);
  font-weight: 850;
}

.checkout-plan-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkout-plan-options button {
  min-height: 112px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
}

.checkout-plan-options button.is-active {
  border-color: rgba(255, 209, 102, 0.62);
  background: rgba(255, 209, 102, 0.1);
}

.checkout-plan-options span,
.checkout-plan-options strong,
.checkout-plan-options small {
  display: block;
}

.checkout-plan-options span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-plan-options strong {
  margin-top: 5px;
  color: var(--gold);
  font-size: 20px;
}

.checkout-plan-options small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

.checkout-region {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(180px, 240px);
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-region strong {
  display: block;
  margin-top: 4px;
}

.checkout-region label {
  color: var(--muted);
}

.checkout-region select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--surface-strong);
}

.checkout-side .account-card p {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-pay-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--warm));
}

.checkout-pay-button:disabled {
  cursor: not-allowed;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.1);
}

.checkout-side small {
  min-height: 18px;
  color: var(--warm);
  line-height: 1.35;
}

.search-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: center;
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

.search-panel span, .my-strip span {
  color: var(--green);
  font-weight: 850;
}

.search-panel h2 {
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.search-box input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.player {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 52px 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: rgba(15, 16, 19, 0.92);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.46);
  overflow: hidden;
}

.mini-cover {
  width: 52px;
  height: 52px;
  font-size: 13px;
}

.player-spectrum {
  height: 34px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  opacity: 0.48;
}

.player-spectrum i {
  width: 3px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--warm));
  transform-origin: bottom;
}

.player.is-playing .player-spectrum {
  opacity: 1;
}

.player.is-playing .player-spectrum i {
  animation: spectrumBeat 0.86s ease-in-out infinite;
}

.player.is-playing .player-spectrum i:nth-child(2) { animation-delay: -0.18s; }
.player.is-playing .player-spectrum i:nth-child(3) { animation-delay: -0.34s; }
.player.is-playing .player-spectrum i:nth-child(4) { animation-delay: -0.08s; }
.player.is-playing .player-spectrum i:nth-child(5) { animation-delay: -0.26s; }
.player.is-playing .player-spectrum i:nth-child(6) { animation-delay: -0.42s; }

@keyframes spectrumBeat {
  0%, 100% { transform: scaleY(0.42); opacity: 0.58; }
  35% { transform: scaleY(1.65); opacity: 1; }
  68% { transform: scaleY(0.78); opacity: 0.76; }
}

.player-info {
  min-width: 0;
}

.player-info.is-switching {
  animation: playerInfoSwitch 0.34s ease both;
}

@keyframes playerInfoSwitch {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.player-info span { margin-top: 4px; }
.player-buttons button { border: 1px solid var(--line); }
.player-buttons .play { color: var(--ink); border: 0; }
.player-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.player-progress i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--warm));
}

@media (max-width: 1120px) {
  .hero, .now-section, .now-card { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-orb { width: min(100%, 280px); }
  .account-hero, .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: 154px; }
  .app { padding: 16px; }
  .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .brand {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc(100% - 144px);
  }
  .brand > div {
    min-width: 0;
  }
  .brand strong, .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lang-switch {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
    justify-content: flex-start;
  }
  .topnav {
    width: 100%;
    order: 3;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 5px;
  }
  .section-heading, .member-strip { align-items: flex-start; flex-direction: column; }
  .state-grid { grid-template-columns: 1fr; }
  .state-card.is-active { grid-column: auto; }
  .search-panel, .account-panel, .member-panel, .my-page, .plan-grid, .my-stats, .account-sidebar, .access-ladder, .checkout-layout, .checkout-plan, .checkout-benefits, .checkout-plan-options, .checkout-region { grid-template-columns: 1fr; }
  .checkout-region { align-items: stretch; }
  .my-tabs { width: 100%; overflow-x: auto; }
  .track { grid-template-columns: 42px minmax(0, 1fr); }
  .track-actions { grid-column: 2; justify-self: start; flex-wrap: wrap; }
  .player { grid-template-columns: 52px 30px minmax(0, 1fr); }
  .my-drawer-panel {
    top: 8px;
    right: 8px;
    bottom: 154px;
    width: calc(100vw - 16px);
  }
  .player-buttons { grid-column: 1 / -1; width: 100%; }
  .player-buttons button { flex: 1; }
}
