:root {
  --bg: #11171d;
  --surface: #151c24;
  --ink: #f8fbff;
  --ink-soft: #dfe7ee;
  --nav: #162029;
  --nav-line: #33404d;
  --muted: #a9b5c0;
  --light-muted: #b9c4cc;
  --line: #303b47;
  --pill: #202b36;
  --accent: #ff3f84;
  --teal: #14b8a6;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.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;
}

.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 12px;
  border-right: 1px solid var(--nav-line);
  background: var(--nav);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 4px 7px;
}

.brand-symbol {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-type {
  display: block;
  width: 138px;
  max-width: calc(100% - 68px);
  height: auto;
}

.side-nav {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 33px;
  padding: 0 10px;
  border-radius: 6px;
  color: #f5f8fb;
  font-size: 14px;
  font-weight: 850;
}

.side-nav a span {
  width: 20px;
  color: #f5f8fb;
  text-align: center;
}

.side-nav a.active,
.side-nav a:hover {
  background: #3a4656;
}

.side-filter-panel {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 0 4px 18px;
  overflow-y: auto;
}

.side-filter-group {
  display: grid;
  gap: 8px;
}

.side-filter-group h2 {
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #eef4f8;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
}

.side-filter-toggle:hover,
.side-filter-toggle.open {
  border-color: rgba(255, 255, 255, 0.1);
  background: #1d2732;
  color: #fff;
}

.side-filter-toggle small {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.side-filter-list {
  display: grid;
  gap: 5px;
  padding-top: 2px;
}

.side-filter-list[hidden] {
  display: none;
}

.side-filter-button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 31px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #eef4f8;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.side-filter-button:hover,
.side-filter-button.active {
  background: #26323e;
  color: #fff;
}

.side-filter-button .filter-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.side-filter-button strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-bottom {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding: 18px 10px 4px;
  border-top: 1px solid var(--nav-line);
  color: #f5f8fb;
  font-size: 13px;
  font-weight: 800;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--nav-line);
  border-radius: 999px;
  background: #24303b;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.lang-current {
  color: #f8fbff;
}

.lang-divider {
  color: var(--muted);
  font-weight: 900;
}

.lang-target {
  color: var(--accent);
  font-weight: 950;
}

.main-area {
  min-width: 0;
  padding: 0 32px 116px 48px;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 58px;
  padding-top: 1px;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(572px, 48vw);
  height: 49px;
  padding: 0 17px 0 24px;
  border-radius: 999px;
  background: #3b4654;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.search-box span {
  font-size: 24px;
}

.account-actions {
  display: flex;
  gap: 9px;
}

.soft-button,
.accent-button {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.soft-button {
  background: #3b4654;
  color: #fff;
}

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

.hero {
  position: relative;
  min-height: 430px;
  margin-top: 8px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-banner {
  background: url("./assets/hero-banner-whale-text.png") center / cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 940px;
}

.hero-live-copy {
  background:
    linear-gradient(90deg, rgba(17, 23, 29, 0.88), rgba(17, 23, 29, 0.38) 54%, rgba(17, 23, 29, 0.1)),
    url("./assets/hero-banner-whale.png") center / cover;
}

.hero-live-copy .hero-copy {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 5vw, 58px);
  width: min(760px, calc(100% - 48px));
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
}

.hero h1 {
  margin: 0;
  max-width: 1060px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
  color: #fff;
}

.hero p {
  max-width: 850px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.quick-strip {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.quick-strip::-webkit-scrollbar,
.card-rail::-webkit-scrollbar {
  display: none;
}

.quick-strip button {
  flex: 0 0 auto;
  padding: 8px 0 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.quick-strip button.active,
.quick-strip button:hover {
  border-color: #fff;
  color: #fff;
}

.shelf {
  margin-top: 28px;
}

.daily-spotlight {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(460px, 1.4fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 63, 132, 0.1), transparent 36%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    #11171d;
}

.spotlight-feature {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 186px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(21, 28, 36, 0.74);
}

.spotlight-cover {
  width: 148px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--image) center / cover;
  box-shadow:
    14px 0 0 rgba(255, 255, 255, 0.045),
    28px 0 0 rgba(255, 255, 255, 0.025),
    0 18px 34px rgba(0, 0, 0, 0.32);
}

.spotlight-feature-copy {
  min-width: 0;
  padding: 0;
}

.spotlight-label,
.spotlight-mini em {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.spotlight-feature h2 {
  margin: 9px 0 8px;
  color: #fff;
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.14;
}

.spotlight-feature p:not(.spotlight-label) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
}

.spotlight-button {
  min-height: 36px;
  margin-top: 16px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #11171d;
  font-size: 13px;
  font-weight: 950;
}

.spotlight-button:hover {
  background: var(--accent);
  color: #fff;
}

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

.spotlight-mini {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  min-height: 186px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(21, 28, 36, 0.58);
  color: #fff;
  text-align: left;
}

.spotlight-mini:hover {
  border-color: rgba(255, 63, 132, 0.58);
  background: rgba(255, 63, 132, 0.08);
}

.spotlight-mini-cover {
  align-self: start;
  width: 72px;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--image) center / cover;
}

.spotlight-mini-copy {
  min-width: 0;
}

.spotlight-mini strong,
.spotlight-mini small {
  display: block;
}

.spotlight-mini strong {
  margin-top: 7px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
}

.spotlight-mini small {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-detail {
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.back-button {
  min-height: 36px;
  margin-bottom: 18px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-weight: 900;
}

.back-button:hover {
  border-color: var(--accent);
}

.detail-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 170px;
  gap: 26px;
  align-items: center;
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line);
}

.detail-cover {
  width: 150px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--image) center / cover;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.detail-copy h2 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

.detail-copy p {
  max-width: 920px;
  margin: 0;
  color: #f3f7fb;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.related-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: #3b4654;
  color: #f8fbff;
  font-size: 11px;
  font-weight: 850;
}

.detail-side {
  display: grid;
  gap: 16px;
  align-content: center;
}

.detail-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  list-style: none;
}

.detail-points li::before {
  content: "✓";
  margin-right: 8px;
}

.category-license-badge {
  width: 132px;
  margin: 4px 0 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.category-license-badge img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.track-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.track-empty {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 28px;
  color: #dce5ee;
}

.track-empty strong {
  color: #fff;
  font-size: 16px;
}

.track-empty span {
  max-width: 560px;
  color: #9aa8b6;
  line-height: 1.65;
}

.guide-page {
  position: relative;
  margin-top: 18px;
  padding-bottom: 40px;
}

.guide-hero {
  max-width: 860px;
  padding: 18px 0 28px;
}

.guide-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

.guide-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
}

.guide-hero p:not(.guide-kicker) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.7;
  white-space: pre-line;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}

.guide-card {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.guide-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 63, 132, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.guide-card h2 {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 20px;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.6;
  white-space: pre-line;
}

.partnership-contact-card {
  border-color: rgba(255, 61, 129, 0.42);
  background: linear-gradient(180deg, rgba(255, 61, 129, 0.12), rgba(16, 21, 27, 0.96));
}

.partnership-contact-card small {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.partnership-email {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.partnership-email:hover {
  color: var(--accent);
}

.support-sections {
  display: grid;
  gap: 14px;
  max-width: 1120px;
}

.support-sections .license-section p + p {
  margin-top: 14px;
}

.support-sections strong {
  color: #fff;
}

.support-contact {
  border-color: rgba(255, 61, 129, 0.42);
  background: linear-gradient(180deg, rgba(255, 61, 129, 0.1), rgba(16, 21, 27, 0.96));
}

.support-contact a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.support-contact a:hover {
  color: var(--accent);
}

.license-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1120px;
  margin-bottom: 18px;
}

.license-summary article {
  min-height: 164px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 63, 132, 0.1), rgba(255, 255, 255, 0.02)),
    var(--surface);
}

.license-summary span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.license-summary strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: 20px;
  line-height: 1.32;
}

.license-summary p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.58;
}

.license-sections {
  display: grid;
  gap: 12px;
  max-width: min(1120px, calc(100% - 210px));
}

.license-badge {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 174px;
  margin: 0;
}

.license-badge img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.license-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 28, 36, 0.74);
}

.license-section h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
}

.license-section ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
  list-style: none;
}

.license-section li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent);
}

.license-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.certificate-section {
  border-color: rgba(255, 63, 132, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 63, 132, 0.1), rgba(255, 255, 255, 0.018)),
    rgba(21, 28, 36, 0.82);
}

.certificate-section p {
  margin-bottom: 16px;
  color: #f3f7fb;
}

.track-row {
  display: grid;
  grid-template-columns: 48px 210px 128px minmax(420px, 1fr) 42px 60px 38px;
  gap: 10px;
  align-items: center;
}

.track-play {
  position: relative;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #26323e;
  padding: 0;
}

.track-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-play span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 13px;
}

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

.track-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-info strong {
  color: #fff;
  font-size: 14px;
}

.track-info small {
  color: #fff;
  font-size: 12px;
}

.track-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 5px;
}

.track-meta-line small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-tags {
  min-width: 0;
  color: #c4cfdb;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.waveform {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  opacity: 0.76;
  overflow: hidden;
  --progress: 0%;
  border-radius: 8px;
  cursor: default;
}

.waveform span {
  flex: 1 1 0;
  align-self: center;
  min-width: 0;
  max-width: none;
  border-radius: 999px;
  background: #657382;
  transition: background 120ms ease, opacity 120ms ease, transform 180ms ease;
}

.track-row.has-audio .waveform {
  cursor: pointer;
}

.track-row.has-audio .waveform:hover span {
  background: #7f8d9a;
}

.track-row.has-audio .waveform:hover span.is-past,
.waveform span.is-past {
  background: linear-gradient(180deg, #ff5a99 0%, #ff8bb9 48%, #55d7cf 100%);
  box-shadow: 0 0 7px rgba(255, 63, 132, 0.12);
}

.track-row.has-audio .waveform:focus-visible {
  outline: 2px solid rgba(255, 63, 132, 0.78);
  outline-offset: 4px;
}

.track-row.is-playing .waveform {
  opacity: 1;
}

.track-row.is-playing .waveform span {
  animation: waveformPulse 1180ms ease-in-out infinite alternate;
  background: #8a97a5;
}

.track-row.is-playing .waveform span.is-past {
  background: linear-gradient(180deg, #ff4d91 0%, #ff7ead 46%, #40d4cc 100%);
}

.track-row.is-playing .waveform span:nth-child(3n) {
  animation-delay: 90ms;
}

.track-row.is-playing .waveform span:nth-child(4n) {
  animation-delay: 180ms;
}

.track-row.is-playing .waveform span:nth-child(5n) {
  animation-delay: 270ms;
}

@keyframes waveformPulse {
  from {
    transform: scaleY(0.94);
    opacity: 0.78;
  }
  to {
    transform: scaleY(1.04);
    opacity: 1;
  }
}

.track-row time {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.like-button,
.track-menu,
.download-button {
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 950;
}

.like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 58px;
  padding: 0 9px;
  background: #26323e;
  color: var(--muted);
  font-size: 14px;
}

.like-button small {
  font-size: 11px;
  font-weight: 900;
}

.like-button:hover,
.like-button.active {
  background: rgba(255, 63, 132, 0.16);
  color: var(--accent);
}

.track-menu {
  width: auto;
  height: 24px;
  min-width: 52px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.track-menu:hover {
  border-color: var(--accent);
  color: #fff;
}

.download-button {
  width: 32px;
  background: var(--accent);
}

.shelf-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.shelf h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.shelf-head a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.rail-controls {
  display: none;
  flex: 0 0 auto;
  gap: 8px;
}

.rail-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #17202a;
  color: #f7fbff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.rail-button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #22303d;
}

.rail-button:disabled {
  cursor: default;
  opacity: 0.35;
}

.card-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  overflow: visible;
  margin-right: 0;
  padding: 2px 0 14px;
}

.category-card {
  min-width: 0;
}

.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1.26;
  overflow: hidden;
  border-radius: 8px;
  background: #1b232d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--image) center / cover;
  transition: transform 180ms ease;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
}

.category-card:hover .cover::before {
  transform: scale(1.05);
}

.card-caption {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  color: #f8fbff;
  font-family: "Noto Sans KR", "Noto Sans CJK KR", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-bar {
  position: fixed;
  right: 18px;
  bottom: 16px;
  left: 254px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 28, 36, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.player-controls {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.skip-button,
.play-button {
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.skip-button {
  width: 36px;
  height: 36px;
  background: #26323e;
  color: #fff;
  font-size: 22px;
}

.skip-button:hover {
  background: #334151;
}

.play-button {
  width: 44px;
  height: 44px;
  background: #fff;
  color: #11171d;
}

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

.player-info strong,
.player-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-info span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 20;
  max-width: min(380px, calc(100vw - 32px));
  padding: 13px 16px;
  border: 1px solid rgba(255, 63, 132, 0.48);
  border-radius: 8px;
  background: rgba(21, 28, 36, 0.96);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.toast.warning {
  border-color: rgba(255, 189, 90, 0.72);
  color: #ffdeae;
}

.track-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.track-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151c24;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.54);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-cover {
  width: 100%;
  aspect-ratio: 1;
  align-self: start;
  border-radius: 8px;
  background: var(--image) center / cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.modal-content {
  min-width: 0;
  padding-right: 34px;
}

.modal-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.modal-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.modal-content small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.modal-content section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modal-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15px;
}

.modal-content p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
  white-space: pre-line;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

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

  .side-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding-bottom: 10px;
  }

  .main-area {
    padding: 0 18px 126px;
  }

  .topbar,
  .account-actions {
    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
  }

  .hero {
    min-height: 330px;
    padding: 30px 24px;
  }

  .detail-hero,
  .track-row,
  .guide-grid,
  .license-summary,
  .daily-spotlight,
  .spotlight-feature,
  .spotlight-list,
  .spotlight-mini {
    grid-template-columns: 1fr;
  }

  .license-sections {
    max-width: 100%;
  }

  .license-badge {
    position: static;
    width: min(190px, 58vw);
    margin-top: 18px;
  }

  .spotlight-cover {
    min-height: 240px;
  }

  .spotlight-mini-cover {
    width: 100%;
    max-width: 220px;
  }

  .track-modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-cover {
    width: min(220px, 100%);
  }

  .modal-content {
    padding-right: 0;
  }

  .detail-cover {
    width: min(180px, 100%);
  }

  .card-rail {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .player-bar {
    left: 16px;
  }
}
