:root {
  --green: #27bf80;
  --green-deep: #119b63;
  --ink: #172028;
  --muted: #8b969b;
  --line: #e6e9e9;
  --surface: #ffffff;
  --bg: #f6f8f8;
  --warm: #fbfbfa;
  --shell: 1180px;
  --shadow: 0 18px 45px rgba(26, 49, 45, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--bg); font-family: "DM Sans", "Noto Sans SC", sans-serif; -webkit-font-smoothing: antialiased; }
body::selection { background: rgba(39, 191, 128, 0.22); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: .18; }
.ambient-left { top: 280px; left: -240px; background: #91d9be; }
.ambient-right { top: 760px; right: -260px; background: #f6c1aa; }

.site-header { background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(18px); }
.topbar { display: flex; align-items: stretch; min-height: 76px; }
.brand { display: flex; gap: 11px; align-items: center; min-width: 208px; }
.brand-mark { width: 43px; height: 43px; display: block; position: relative; border-radius: 50%; background: linear-gradient(135deg, #ffd03e, #22c781 65%, #176c59); overflow: hidden; box-shadow: inset -4px -5px 7px rgba(0,0,0,.12); }
.brand-mark::before { content: ""; position: absolute; width: 22px; height: 10px; left: 14px; top: 5px; border-radius: 90% 0 90% 0; background: #176c59; transform: rotate(-17deg); }
.brand-mark span, .brand-mark i, .brand-mark b { position: absolute; display: block; background: #fafff4; border-radius: 50%; }
.brand-mark span { width: 15px; height: 15px; top: 13px; left: 14px; }
.brand-mark i { width: 23px; height: 23px; left: 10px; top: 17px; border: 4px solid #fafff4; background: transparent; }
.brand-mark b { width: 10px; height: 10px; top: 29px; left: 13px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { letter-spacing: -.05em; font-size: 25px; font-weight: 700; }
.brand-copy small { color: var(--muted); margin-top: 5px; font-size: 8px; letter-spacing: .21em; font-weight: 700; }
.primary-nav { display: flex; align-items: stretch; }
.primary-nav a { display: grid; place-items: center; padding: 0 21px; position: relative; font-size: 15px; color: #30383c; transition: color .2s, background .2s; }
.primary-nav a:hover { color: var(--green-deep); }
.primary-nav a.active { color: white; background: var(--green); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; gap: 17px; align-items: center; }
.search-box { display: flex; align-items: center; width: 226px; height: 36px; border: 1px solid #dfe4e3; border-radius: 3px; background: #fff; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(39,191,128,.12); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0 10px; font-size: 12px; color: var(--ink); background: transparent; }
.search-box input::placeholder { color: #a0a6a8; }
.search-box button { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border: 0; background: transparent; color: #61696c; }
.search-box svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.avatar-button { display: flex; align-items: center; gap: 7px; border: 0; color: #596164; background: transparent; padding: 5px 0; font-size: 12px; white-space: nowrap; }
.avatar-button span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: white; background: #243e39; font-size: 12px; }
.avatar-button em { font-style: normal; }
.subnav-wrap { border-top: 1px solid #f0f1f1; }
.subnav { height: 51px; display: flex; align-items: center; justify-content: center; gap: 42px; }
.subnav a { font-size: 13px; color: #4d565a; position: relative; }
.subnav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -17px; height: 2px; background: var(--green); transition: left .2s, right .2s; }
.subnav a:hover, .subnav a.active { color: var(--green-deep); }
.subnav a.active::after { left: 0; right: 0; }

main { overflow: hidden; min-height: calc(100vh - 180px); }

main [data-route-view] { display: none; }
main [data-route-view].is-active { display: block; }
main [data-route-view].discovery-band.is-active { display: flex; }

.discover-page {
  min-height: 610px;
  padding-top: 64px;
  padding-bottom: 170px;
}

.discover-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.discover-page-heading p {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}

.discover-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.discover-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 35px rgba(38, 36, 31, .05);
}

.discover-card-feature {
  color: #f6fffb;
  background: linear-gradient(135deg, #173f36, #2d765e);
}

.discover-card-feature .eyebrow { color: #9de4c5; }
.discover-card h2 { margin-top: 13px; font-size: 32px; line-height: 1.12; }
.discover-card h2 em { color: #9de4c5; font-style: normal; }
.discover-card p { max-width: 300px; margin-top: 14px; color: rgba(246, 255, 251, .68); font-size: 12px; line-height: 1.8; }
.discover-card .green-button { margin-top: 20px; }

.discover-card-stat { display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.discover-card-stat strong { color: var(--green-deep); font-family: "DM Sans", sans-serif; font-size: 58px; font-weight: 500; letter-spacing: -.09em; line-height: 1; }
.discover-card-stat span { margin-top: 12px; color: var(--muted); font-size: 13px; }
.discover-card-stat i { position: absolute; top: 24px; right: 24px; color: #b4c1bc; font-size: 23px; font-style: normal; }

.discover-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.discover-note .text-button { margin-left: auto; }
.hero { padding-top: 54px; padding-bottom: 42px; }
.hero-topline, .section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.eyebrow { color: var(--green-deep); font-size: 10px; letter-spacing: .2em; font-weight: 700; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.06em; }
h1 { margin-top: 7px; font-size: clamp(30px, 3vw, 39px); }
h2 { margin-top: 7px; font-size: clamp(28px, 3vw, 37px); }
.hero-note { color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 12px; padding-bottom: 4px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(39,191,128,.12); }
.category-tabs, .release-tabs { display: flex; align-items: center; gap: 28px; }
.category-tabs { justify-content: center; padding: 25px 0 28px; }
.category-tabs button, .release-tabs button { border: 0; background: transparent; padding: 0; color: #697277; font-size: 13px; transition: color .2s; }
.category-tabs button:hover, .category-tabs button.active, .release-tabs button:hover, .release-tabs button.active { color: var(--green-deep); }
.category-tabs button.active { font-weight: 600; }
.playlist-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.playlist-card { min-width: 0; cursor: pointer; }
.playlist-art { aspect-ratio: 1.18 / 1; position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 8px 18px rgba(31,49,46,.09); isolation: isolate; }
.playlist-art-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.playlist-art-image + .art-label,
.playlist-art-image ~ .art-title,
.playlist-art-image ~ .art-number { text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.playlist-art::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; right: -10%; top: -18%; border-radius: 50%; background: rgba(255,255,255,.2); filter: blur(1px); }
.playlist-art::after { content: ""; position: absolute; width: 46%; aspect-ratio: 1.4; left: -8%; bottom: -17%; transform: rotate(-19deg); border: 1px solid rgba(255,255,255,.45); box-shadow: 0 0 0 14px rgba(255,255,255,.08), 0 0 0 29px rgba(255,255,255,.06); }
.art-label { position: absolute; left: 18px; top: 17px; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .17em; font-weight: 700; }
.art-title { position: absolute; z-index: 1; left: 17px; bottom: 16px; max-width: 82%; color: white; line-height: .98; font-size: 22px; letter-spacing: -.08em; font-weight: 700; }
.art-number { position: absolute; z-index: 1; right: 15px; top: 15px; color: rgba(255,255,255,.72); font-size: 11px; }
.tone-violet { background: linear-gradient(135deg, #754ec0, #30205e 68%, #17162b); }
.tone-blue { background: linear-gradient(135deg, #3cabc4, #124b72 60%, #102d3c); }
.tone-orange { background: linear-gradient(135deg, #f4b24b, #d86149 56%, #733642); }
.tone-rose { background: linear-gradient(135deg, #db7892, #7d334c 66%, #392236); }
.tone-green { background: linear-gradient(135deg, #a4c76c, #2a765f 60%, #143a39); }
.tone-ink { background: linear-gradient(135deg, #3d4d5f, #151f2d 65%, #0e151e); }
.tone-sunset { background: linear-gradient(135deg, #f38f54, #7b4151 57%, #2d3349); }
.tone-silver { background: linear-gradient(135deg, #d4dbe0, #687b88 58%, #2f3b4a); }
.tone-gold { background: linear-gradient(135deg, #e4bf71, #a36b40 55%, #473247); }
.playlist-play { position: absolute; z-index: 2; right: 13px; bottom: 13px; width: 37px; height: 37px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--green-deep); background: rgba(255,255,255,.95); box-shadow: 0 8px 15px rgba(0,0,0,.16); opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.playlist-card:hover .playlist-play { opacity: 1; transform: translateY(0); }
.playlist-play::before { content: ""; margin-left: 2px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid currentColor; }
.playlist-name { margin-top: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.playlist-meta { margin-top: 5px; color: #a0a8aa; font-size: 11px; }
.carousel-dots { display: flex; justify-content: center; gap: 16px; padding-top: 32px; }
.carousel-dots i { width: 7px; height: 7px; border-radius: 50%; background: #dfe3e1; }
.carousel-dots i.active { background: #aeb8b4; }

.latest { padding-top: 64px; padding-bottom: 74px; }
.release-tabs { padding-bottom: 4px; gap: 34px; }
.latest-toolbar { display: flex; align-items: center; gap: 16px; margin-top: 27px; margin-bottom: 28px; }
.outline-button { display: inline-flex; align-items: center; gap: 9px; height: 37px; padding: 0 17px; border: 1px solid #d4dad8; border-radius: 2px; background: transparent; color: #495257; font-size: 12px; transition: border-color .2s, color .2s, background .2s; }
.outline-button:hover { border-color: var(--green); color: var(--green-deep); background: #fff; }
.play-triangle { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid currentColor; }
.toolbar-hint { color: #a3acad; font-size: 12px; }
.text-button, .view-more { color: var(--green-deep); border: 0; background: transparent; font-size: 12px; margin-left: auto; }
.text-button span, .view-more span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.text-button:hover span, .view-more:hover span { transform: translateX(4px); }
.release-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 42px; }
.release-state { grid-column: 1 / -1; min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #cfdad4; color: var(--ink); text-align: center; }
.release-state small { color: var(--muted); font-size: 12px; }
.release-item { min-width: 0; display: flex; align-items: center; min-height: 105px; border-top: 1px solid var(--line); gap: 13px; position: relative; }
.release-item:nth-child(-n+3) { border-top: 0; }
.release-cover { width: 64px; height: 64px; flex: none; position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 5px 14px rgba(30,50,45,.1); }
.cover-art > img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.release-cover::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.release-cover::after { content: ""; position: absolute; width: 9px; height: 9px; top: 50%; left: 50%; margin: -4px; border-radius: 50%; background: rgba(255,255,255,.6); }
.release-cover .cover-glyph { position: absolute; left: 9px; top: 7px; color: rgba(255,255,255,.8); font-size: 10px; letter-spacing: .12em; }
.release-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.release-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 500; }
.release-info span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #9aa2a4; font-size: 11px; }
.release-duration { margin-left: auto; flex: none; color: #a6afb0; font-size: 11px; }
.item-play { position: absolute; left: 18px; width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--green-deep); background: rgba(255,255,255,.93); box-shadow: 0 5px 13px rgba(0,0,0,.12); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s; }
.release-item:hover .item-play { opacity: 1; transform: scale(1); }
.item-play::before { content: ""; margin-left: 2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; }

.discovery-band { min-height: 330px; display: flex; align-items: center; justify-content: space-between; padding: 50px 76px; overflow: hidden; border-radius: 4px; color: #f7fffb; background: #163d36; box-shadow: var(--shadow); position: relative; }
.discovery-band::before { content: ""; position: absolute; inset: 0; opacity: .18; background: radial-gradient(circle at 88% 12%, #7fdbb9 0 1px, transparent 2px) 0 0/25px 25px; mask-image: linear-gradient(to left, black, transparent 73%); }
.discovery-copy { position: relative; z-index: 2; }
.discovery-copy .eyebrow { color: #8fdbbd; }
.discovery-copy h2 { margin-top: 12px; font-size: 38px; line-height: 1.14; }
.discovery-copy h2 em { color: #8fdbbd; font-style: normal; }
.discovery-copy p { max-width: 355px; margin-top: 17px; color: rgba(237,255,247,.66); line-height: 1.8; font-size: 13px; }
.green-button { margin-top: 26px; height: 38px; padding: 0 17px; border: 0; color: #12372f; background: #9de4c5; font-size: 12px; }
.green-button span { margin-left: 28px; font-size: 16px; }
.mix-visual { width: 460px; height: 260px; position: relative; flex: none; transform: rotate(-4deg); }
.mix-disc { position: absolute; width: 275px; height: 275px; right: 66px; top: -14px; border-radius: 50%; background: repeating-radial-gradient(circle at center, #111e1b 0 1px, #203d35 1px 3px, #152b26 3px 4px); box-shadow: 8px 14px 30px rgba(0,0,0,.27); }
.mix-disc::before { content: ""; position: absolute; inset: 31px; border: 1px solid rgba(163,231,203,.2); border-radius: 50%; }
.mix-disc::after { content: ""; position: absolute; width: 76px; height: 76px; left: 50%; top: 50%; margin: -38px; border-radius: 50%; background: #c4ebd8; box-shadow: inset 0 0 0 25px #5fa889, inset 0 0 0 27px #214a3f; }
.disc-label { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #1d4236; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.mix-card { position: absolute; z-index: 3; display: flex; flex-direction: column; padding: 18px; box-shadow: 13px 17px 28px rgba(0,0,0,.2); }
.mix-card-one { width: 135px; height: 179px; left: 24px; top: 37px; color: #f6e6ce; background: linear-gradient(150deg, #9d5845, #3b2634); }
.mix-card-one small { font-size: 8px; letter-spacing: .15em; opacity: .72; }
.mix-card-one strong { margin-top: auto; font-size: 24px; line-height: .91; letter-spacing: -.1em; }
.mix-card-one span { margin-top: 12px; font-size: 10px; opacity: .7; }
.mix-card-two { width: 91px; height: 112px; right: 9px; bottom: -4px; color: #243e38; background: #d5eea8; transform: rotate(8deg); }
.mix-card-two span { font-size: 9px; writing-mode: vertical-rl; }
.mix-card-two strong { margin-top: auto; font-size: 18px; line-height: .85; letter-spacing: -.1em; }

.ranking { padding-top: 74px; padding-bottom: 176px; }
.section-heading.compact { align-items: center; }
.view-more { margin-left: 0; }
.ranking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 31px; }
.ranking-card { min-width: 0; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.7); transition: transform .2s, box-shadow .2s; }
.ranking-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ranking-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.ranking-card-title { min-width: 0; }
.ranking-card-title .eyebrow { font-size: 9px; }
.ranking-card-title h3 { margin: 8px 0 5px; overflow: hidden; font-size: 21px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ranking-card-title small { color: var(--muted); font-size: 11px; }
.ranking-cover { position: relative; flex: 0 0 64px; width: 64px; height: 64px; overflow: hidden; display: grid; place-items: center; border-radius: 15px; box-shadow: 0 9px 18px rgba(37, 58, 48, .14); }
.ranking-cover .cover-glyph { position: relative; z-index: 0; color: rgba(255,255,255,.78); font-size: 28px; }
.ranking-cover img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ranking-track-list { display: grid; gap: 2px; margin-top: 17px; }
.ranking-track { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px; align-items: center; gap: 7px; width: 100%; min-width: 0; padding: 8px 5px; border: 0; border-top: 1px solid rgba(224, 229, 225, .78); color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.ranking-track:hover { background: #f2faf6; }
.ranking-track-number { color: #aab6b1; font-family: "DM Sans", sans-serif; font-size: 12px; font-weight: 600; }
.ranking-track:nth-child(-n+3) .ranking-track-number { color: var(--green-deep); }
.ranking-track-copy { min-width: 0; }
.ranking-track-copy strong, .ranking-track-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-track-copy strong { font-size: 13px; font-weight: 600; }
.ranking-track-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.ranking-track-action { color: var(--green-deep); font-size: 11px; opacity: 0; transition: opacity .2s ease; }
.ranking-track:hover .ranking-track-action { opacity: 1; }
.ranking-track-empty { padding: 20px 5px 5px; color: var(--muted); font-size: 12px; }
.ranking-state { grid-column: 1 / -1; min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #cfdad4; color: var(--ink); text-align: center; }
.ranking-state small { color: var(--muted); font-size: 12px; }
.ranking-state .green-button { margin-top: 8px; }
.ranking-spinner { width: 22px; height: 22px; border: 2px solid #d7e9df; border-top-color: var(--green); border-radius: 50%; animation: ranking-spin .8s linear infinite; }
.ranking-status { min-height: 20px; margin: 15px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.ranking-status.error { color: var(--accent-deep); }
@keyframes ranking-spin { to { transform: rotate(360deg); } }

.content-hub {
  margin-top: 28px;
  min-height: 610px;
  padding-top: 30px;
  padding-bottom: 176px;
  scroll-margin-top: 145px;
  padding-left: 32px;
  padding-right: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(38, 36, 31, .06);
}

.section-heading.compact {
  margin-bottom: 20px;
  align-items: end;
}

.hub-description {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.hub-heading-side { display: flex; align-items: center; gap: 18px; }
.hub-actions { display: flex; align-items: center; gap: 8px; }
.hub-action { padding: 8px 12px; border: 1px solid rgba(39, 191, 128, .25); border-radius: 999px; color: var(--green-deep); background: #f4fbf7; font-size: 11px; cursor: pointer; white-space: nowrap; }
.hub-action:hover { border-color: var(--green); background: #eaf8f0; }

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

.hub-track {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(248, 246, 241, .82);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.hub-track:hover {
  border-color: rgba(197, 88, 59, .28);
  background: #fff;
  transform: translateY(-2px);
}

.hub-track .hub-cover {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.hub-track-copy { min-width: 0; }
.hub-track-copy strong,
.hub-track-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-track-copy strong { font-size: 14px; font-weight: 700; }
.hub-track-copy small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.hub-track-action { color: var(--green-deep); font-size: 13px; }

.hub-collection-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-height: 96px; padding: 10px; border: 1px solid transparent; border-radius: 16px; color: var(--ink); background: rgba(248, 246, 241, .82); text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.hub-collection-card:hover { border-color: rgba(39, 191, 128, .28); background: #fff; transform: translateY(-2px); }
.hub-collection-cover { position: relative; display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; border-radius: 13px; color: rgba(255,255,255,.85); font-size: 23px; box-shadow: 0 8px 18px rgba(30,50,45,.1); }
.hub-collection-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hub-collection-cover > span { position: relative; z-index: 1; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hub-collection-copy { min-width: 0; }
.hub-collection-copy strong, .hub-collection-copy small, .hub-collection-copy em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-collection-copy strong { font-size: 14px; font-weight: 700; }
.hub-collection-copy small { margin-top: 6px; color: var(--muted); font-size: 12px; }
.hub-collection-copy em { margin-top: 6px; color: #a6afab; font-size: 11px; font-style: normal; }
.hub-collection-card .hub-track-action { padding-right: 5px; }

.hub-about { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 28px; padding: 36px; border-radius: 20px; color: #eefcf5; background: linear-gradient(135deg, #173e37, #286953); }
.hub-about-icon { display: grid; place-items: center; width: 136px; height: 136px; border: 1px solid rgba(255,255,255,.3); border-radius: 34px; color: #183e35; background: #a7e7c9; font-size: 23px; font-weight: 700; letter-spacing: .14em; }
.hub-about h3 { font-size: 24px; font-weight: 600; }
.hub-about p { max-width: 650px; margin-top: 12px; color: rgba(238,252,245,.72); font-size: 13px; line-height: 1.8; }
.hub-about .green-button { margin-top: 22px; }
.hub-about-points { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 17px; color: #a6e7c7; font-size: 11px; }

.public-playlist-page {
  margin-top: 28px;
  min-height: 610px;
  padding: 30px 32px 176px;
  scroll-margin-top: 145px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 50px rgba(38, 36, 31, .06);
}

.public-playlist-back {
  padding: 0;
  border: 0;
  color: var(--green-deep);
  background: transparent;
  font-size: 12px;
}

.public-playlist-back:hover { color: var(--ink); }

.public-playlist-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  margin-top: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.public-playlist-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  color: rgba(255, 255, 255, .92);
  font-size: 42px;
  box-shadow: 0 17px 30px rgba(30, 50, 45, .16);
}

.public-playlist-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.public-playlist-cover span { position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .32); }
.public-playlist-info { min-width: 0; }
.public-playlist-info h1 { margin-top: 10px; font-size: clamp(28px, 4vw, 45px); }
.public-playlist-creator { margin-top: 12px; color: var(--muted); font-size: 13px; }
.public-playlist-description { max-width: 650px; margin-top: 18px; color: #68736f; font-size: 13px; line-height: 1.8; }
.public-playlist-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; color: var(--muted); font-size: 11px; }
.public-playlist-actions .green-button { margin-top: 0; }
.public-playlist-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 27px; }
.public-playlist-heading strong { color: var(--muted); font-size: 12px; font-weight: 500; }
.public-playlist-track-list { display: grid; gap: 2px; margin-top: 12px; }
.public-playlist-track { display: grid; grid-template-columns: 34px 52px minmax(0, 1fr) auto 24px; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 1px solid transparent; border-radius: 12px; color: var(--ink); background: transparent; text-align: left; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.public-playlist-track:hover { border-color: rgba(39, 191, 128, .24); background: #fff; transform: translateY(-1px); }
.public-playlist-track-number { color: #aab5b1; font-size: 11px; text-align: center; }
.public-playlist-track-cover { width: 52px; height: 52px; border-radius: 11px; }
.public-playlist-track-cover .cover-glyph { font-size: 15px; }
.public-playlist-track-copy { min-width: 0; }
.public-playlist-track-copy strong, .public-playlist-track-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.public-playlist-track-copy strong { font-size: 13px; font-weight: 700; }
.public-playlist-track-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.public-playlist-track-duration { color: #a4aeab; font-size: 11px; }
.public-playlist-track-action { color: var(--green-deep); font-size: 12px; opacity: 0; transition: opacity .2s ease; }
.public-playlist-track:hover .public-playlist-track-action { opacity: 1; }
.public-playlist-empty { margin-top: 14px; padding: 28px 16px; border: 1px dashed #d6dfd8; border-radius: 14px; color: var(--muted); text-align: center; font-size: 12px; }
.public-playlist-state { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: var(--ink); text-align: center; }
.public-playlist-state > span:not(.ranking-spinner) { color: var(--accent-deep); font-size: 28px; font-weight: 700; }
.public-playlist-state small { color: var(--muted); font-size: 12px; }
.public-playlist-state .green-button { margin-top: 8px; }

.hub-empty {
  padding: 34px 18px;
  border: 1px dashed #d9d2c8;
  border-radius: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.hub-empty button {
  margin-top: 14px;
  padding: 9px 16px;
  border: 1px solid rgba(197, 88, 59, .38);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-deep);
  cursor: pointer;
}

.my-playlists {
  margin-bottom: 26px;
  padding: 20px;
  border: 1px solid rgba(214, 221, 214, .9);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(247, 252, 249, .92), rgba(250, 248, 243, .92));
}

.my-playlists-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.my-playlists-heading h3 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.05em;
}

.my-playlists-heading h3 small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

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

.my-playlist-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.my-playlist-card:hover {
  border-color: rgba(39, 191, 128, .25);
  background: #fff;
  transform: translateY(-2px);
}

.my-playlist-open {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.my-playlist-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 13px;
  color: rgba(255, 255, 255, .9);
  font-size: 21px;
  box-shadow: 0 8px 17px rgba(30, 50, 45, .12);
}

.my-playlist-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-playlist-cover .cover-glyph {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}

.my-playlist-copy,
.playlist-picker-copy {
  min-width: 0;
}

.my-playlist-copy strong,
.my-playlist-copy small,
.playlist-picker-copy strong,
.playlist-picker-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-playlist-copy strong,
.playlist-picker-copy strong { font-size: 13px; font-weight: 700; }
.my-playlist-copy small,
.playlist-picker-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; }

.my-playlist-card-actions,
.my-playlist-detail-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}

.my-playlist-icon,
.my-playlist-track-remove {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.my-playlist-icon:hover,
.my-playlist-track-remove:hover {
  color: var(--green-deep);
  background: #eaf8f0;
}

.my-playlist-icon.danger:hover,
.my-playlist-track-remove:hover { color: var(--accent-deep); }
.danger-text { color: var(--accent-deep); }

.my-playlist-detail {
  margin-top: 14px;
  padding: 17px;
  border-top: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .58);
}

.my-playlist-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.my-playlist-detail-head h4 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.my-playlist-detail-head p { margin-top: 5px; color: var(--muted); font-size: 11px; }
.my-playlist-detail-actions .hub-action { background: #fff; }
.my-playlist-detail-actions .outline-button { margin-top: 0; padding: 8px 12px; font-size: 11px; }

.my-playlist-track-list {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}

.my-playlist-track {
  display: grid;
  grid-template-columns: 28px 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-top: 1px solid rgba(222, 227, 221, .8);
}

.my-playlist-track-number { color: var(--muted); font-size: 10px; text-align: center; }
.my-playlist-track-cover { width: 44px; height: 44px; border-radius: 9px; }
.my-playlist-track-cover .cover-glyph { font-size: 15px; }

.my-playlist-track-open {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.my-playlist-track-open:hover strong { color: var(--green-deep); }
.my-playlist-track-open strong,
.my-playlist-track-open small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-playlist-track-open strong { font-size: 12px; font-weight: 700; }
.my-playlist-track-open small { margin-top: 4px; color: var(--muted); font-size: 11px; }

.my-playlist-empty,
.my-playlist-detail-empty {
  padding: 21px 14px;
  border: 1px dashed #d6dfd8;
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.my-playlist-empty { grid-column: 1 / -1; }
.my-playlist-empty-icon { display: block; color: var(--green); font-size: 25px; }
.my-playlist-empty strong { display: block; margin-top: 7px; color: var(--ink); font-size: 14px; }
.my-playlist-empty p { margin-top: 5px; font-size: 11px; }
.my-playlist-empty .green-button { margin-top: 13px; }

.playlist-picker,
.playlist-editor {
  width: min(440px, 100%);
  max-height: 85vh;
  overflow: auto;
  padding: 30px;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow);
}

.playlist-picker .close-button,
.playlist-editor .close-button { position: absolute; top: 14px; right: 18px; }
.playlist-picker h2,
.playlist-editor h2 { margin-top: 8px; color: var(--ink); font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.playlist-picker-hint { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.playlist-picker-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 16px;
}

.playlist-picker-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.playlist-picker-item:hover { border-color: var(--green); background: #f4fbf7; }
.playlist-picker-item:disabled { cursor: default; opacity: .62; }
.playlist-picker-item:disabled:hover { border-color: var(--line); background: #fff; }
.playlist-picker-item .my-playlist-cover { width: 44px; height: 44px; border-radius: 9px; }
.playlist-picker-state { color: var(--green-deep); font-size: 13px; }
.playlist-picker-item:disabled .playlist-picker-state { color: var(--muted); font-size: 11px; }
.playlist-picker-empty { padding: 17px 10px; border: 1px dashed #d6dfd8; border-radius: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.playlist-picker-new { display: flex; width: 100%; justify-content: center; margin-top: 0; }

.playlist-editor-label { display: grid; gap: 8px; margin-top: 25px; color: var(--muted); font-size: 12px; }
.playlist-editor-label input { height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font: inherit; }
.playlist-editor-label input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(39, 191, 128, .1); }
.playlist-editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.playlist-editor-actions .green-button { margin-top: 0; }

.artist-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin: 5px 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.artist-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.artist-region-tabs,
.artist-gender-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.artist-region-tabs button,
.artist-gender-tabs button {
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.artist-region-tabs button:hover,
.artist-region-tabs button.active,
.artist-gender-tabs button:hover,
.artist-gender-tabs button.active {
  border-color: rgba(39, 191, 128, .22);
  color: var(--green-deep);
  background: #edf9f3;
}

.artist-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
}

.artist-filter input {
  width: 150px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}

.artist-filter input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 191, 128, .1);
}

.artist-groups {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.artist-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.artist-group-heading h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.06em;
}

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

.artist-gender-section {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(218, 220, 211, .8);
  border-radius: 18px;
  background: rgba(250, 249, 245, .72);
}

.artist-subheading {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 13px;
}

.artist-subheading strong {
  color: var(--ink);
  font-size: 14px;
}

.artist-subheading small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.artist-count {
  color: var(--muted);
  font-size: 11px;
}

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

.artist-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px 12px 12px 10px;
  border: 1px solid transparent;
  border-radius: 17px;
  color: var(--ink);
  background: rgba(248, 246, 241, .82);
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.artist-card:hover {
  border-color: rgba(39, 191, 128, .28);
  background: #fff;
  box-shadow: 0 12px 28px rgba(30, 54, 47, .08);
  transform: translateY(-2px);
}

.artist-avatar {
  width: 54px;
  height: 54px;
  flex: none;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .74);
  border-radius: 50%;
  box-shadow: 0 7px 15px rgba(34, 57, 50, .15);
}

.artist-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity .25s ease;
}

.artist-photo.loaded { opacity: 1; }

.artist-avatar:has(.artist-photo.loaded)::before,
.artist-avatar:has(.artist-photo.loaded)::after { opacity: 0; }

.artist-avatar-fallback {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.08em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: opacity .2s ease;
}

.artist-photo.loaded ~ .artist-avatar-fallback { opacity: 0; }

.artist-avatar::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  top: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
}

.artist-avatar::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 25px;
  bottom: -8px;
  border-radius: 50% 50% 42% 42%;
  background: rgba(255, 255, 255, .22);
}

.artist-avatar i {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
}

.gender-female.artist-avatar i { background: #db7892; }

.artist-card-copy {
  min-width: 0;
  flex: 1;
}

.artist-card-copy strong,
.artist-card-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-card-copy strong {
  font-size: 13px;
  font-weight: 700;
}

.artist-card-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.artist-card-arrow {
  color: var(--green-deep);
  font-size: 15px;
  opacity: .5;
  transition: transform .2s ease, opacity .2s ease;
}

.artist-card:hover .artist-card-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.search-panel { position: fixed; z-index: 15; inset: 127px 0 0; overflow: auto; background: rgba(246,248,248,.98); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s, transform .25s; }
.search-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.search-panel-inner { padding: 52px 0 140px; }
.search-panel-head { display: flex; align-items: flex-end; justify-content: space-between; }
.close-button { border: 0; background: transparent; color: #6e7777; font-size: 31px; line-height: 1; padding: 0 5px; }
.search-source-tabs { display: flex; gap: 23px; margin: 27px 0; }
.search-source-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 0 0 8px; color: #8b9594; font-size: 13px; }
.search-source-tabs button.active { color: var(--green-deep); border-color: var(--green); }
.search-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 46px; }
.search-result { display: flex; align-items: center; gap: 13px; min-height: 82px; border-top: 1px solid var(--line); cursor: pointer; }
.search-result:first-child, .search-result:nth-child(2) { border-top: 0; }
.search-result:hover .result-name { color: var(--green-deep); }
.result-index { width: 22px; color: #b8c0be; font-size: 11px; }
.result-cover { width: 48px; height: 48px; flex: none; border-radius: 2px; }
.result-copy { min-width: 0; flex: 1; }
.result-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; transition: color .2s; }
.result-artist { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 5px; color: #9aa4a4; font-size: 11px; }
.result-source { color: #abb5b1; font-size: 10px; }
.empty-state { grid-column: 1/-1; padding: 60px 0; text-align: center; color: #9ca7a4; font-size: 13px; }
.search-notice { grid-column: 1/-1; margin: 0 0 10px; padding: 11px 14px; border: 1px solid rgba(39,191,128,.2); border-radius: 4px; background: rgba(39,191,128,.08); color: #4f7770; font-size: 12px; }
.search-error p { margin: 0 0 16px; }
.retry-button { border: 1px solid #b7d9cc; border-radius: 3px; padding: 8px 18px; background: #fff; color: var(--green-deep); font-size: 12px; cursor: pointer; }
.retry-button:hover { border-color: var(--green); background: #effaf5; }

.player-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; min-height: 82px; background: rgba(255,255,255,.97); border-top: 1px solid #dfe5e3; box-shadow: 0 -10px 30px rgba(26,52,44,.05); backdrop-filter: blur(18px); }
.player-shell { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.now-playing { display: flex; align-items: center; gap: 12px; width: 276px; min-width: 0; }
.now-cover { width: 52px; height: 52px; flex: none; position: relative; overflow: hidden; border-radius: 2px; }
.now-cover::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.57); }
.now-cover img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.now-cover span { position: absolute; z-index: 1; top: 18px; left: 21px; color: rgba(255,255,255,.75); font-size: 14px; }
.now-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.now-copy strong, .now-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-copy strong { font-size: 13px; font-weight: 500; }
.now-copy span { color: #9ca6a5; font-size: 11px; }
.player-center { flex: 1; min-width: 260px; max-width: 590px; }
.player-controls { height: 30px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.control-button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; background: transparent; color: #5e6868; font-size: 11px; transition: color .2s, transform .2s; }
.control-button:hover { color: var(--green-deep); transform: scale(1.08); }
.control-button.small { font-size: 17px; color: #9ba6a4; }
.play-main { width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--green); font-size: 13px; box-shadow: 0 7px 15px rgba(39,191,128,.25); }
.play-main:hover { color: white; background: var(--green-deep); }
.progress-row { display: flex; align-items: center; gap: 9px; color: #9ca5a5; font-size: 10px; }
input[type="range"] { height: 3px; min-width: 0; accent-color: var(--green); cursor: pointer; }
.progress-row input { flex: 1; }
.player-tools { width: 260px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.tool-button { min-width: 20px; border: 0; color: #8b9693; background: transparent; font-size: 12px; }
.tool-button:hover { color: var(--green-deep); }
.player-tools input { width: 70px; }
.queue-button { position: relative; font-size: 19px; }
.queue-button sup { position: absolute; top: -5px; right: -9px; min-width: 15px; height: 15px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--green); font-size: 9px; }
.favorite-button { font-size: 22px; line-height: 1; }
.favorite-button.active,
.repeat-button.active,
.volume-button[aria-pressed="true"] { color: var(--green-deep); }
.volume-range { accent-color: var(--green); }

.queue-popover {
  position: fixed;
  z-index: 35;
  right: 32px;
  bottom: 92px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(480px, calc(100vh - 130px));
  overflow: hidden;
  display: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 55px rgba(28, 31, 28, .18);
}

.queue-popover.open { display: block; }

.queue-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.queue-popover-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.queue-list { max-height: 410px; overflow: auto; padding: 8px; }

.queue-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.queue-item:hover,
.queue-item.active { background: #f4f7f4; }
.queue-item.active strong { color: var(--green-deep); }
.queue-item .queue-cover { width: 42px; height: 42px; border-radius: 7px; }
.queue-index { color: var(--muted); font-size: 11px; text-align: center; }
.queue-copy { min-width: 0; }
.queue-copy strong,
.queue-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-copy strong { font-size: 12px; font-weight: 700; }
.queue-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.queue-item-time { color: var(--muted); font-size: 11px; }
.queue-list .empty-state { padding: 28px 12px; text-align: center; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 105px; padding: 11px 17px; border-radius: 3px; color: #fff; background: rgba(23,32,40,.9); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-backdrop { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(13,29,25,.52); opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.lyric-modal { width: min(560px, 100%); max-height: min(620px, 85vh); overflow: auto; padding: 33px; position: relative; background: #fff; box-shadow: var(--shadow); }
.lyric-modal .close-button { position: absolute; top: 17px; right: 20px; }
.lyric-content { margin-top: 26px; white-space: pre-wrap; color: #66716f; line-height: 2; font-size: 13px; }

.account-modal { z-index: 60; }
.account-dialog { width: min(430px, 100%); max-height: min(680px, 90vh); overflow: auto; position: relative; padding: 34px; border: 1px solid rgba(217, 226, 220, .9); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(18, 48, 38, .22); }
.account-dialog .close-button { position: absolute; top: 15px; right: 18px; }
.account-dialog h2 { margin-top: 9px; color: var(--ink); font-size: 30px; font-weight: 600; letter-spacing: -.05em; }
.account-dialog-lead { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.account-tabs { display: flex; gap: 22px; margin-top: 25px; border-bottom: 1px solid var(--line); }
.account-tabs button { padding: 0 0 10px; border: 0; border-bottom: 2px solid transparent; color: #9aa5a2; background: transparent; font-size: 13px; cursor: pointer; }
.account-tabs button.active { color: var(--green-deep); border-color: var(--green); }
.account-form { display: grid; gap: 15px; margin-top: 22px; }
.account-form label { display: grid; gap: 7px; color: #68736f; font-size: 12px; }
.account-form input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); background: #fff; font: inherit; }
.account-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(39, 191, 128, .1); }
.account-form-hint { color: #99a5a1; font-size: 11px; line-height: 1.6; }
.account-error { min-height: 17px; color: #c65d57; font-size: 11px; line-height: 1.5; }
.account-submit { width: 100%; height: 43px; margin-top: 0; border-radius: 10px; color: #114232; cursor: pointer; }
.account-submit:disabled { cursor: wait; opacity: .62; }
.account-profile { display: flex; align-items: center; gap: 13px; margin-top: 27px; padding: 14px; border-radius: 14px; background: #f6faf7; }
.account-profile-avatar { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #1f8060, #8cd5b0); font-size: 18px; font-weight: 700; }
.account-profile strong, .account-profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-profile strong { color: var(--ink); font-size: 14px; }
.account-profile small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.account-sync-state { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--green-deep); font-size: 11px; line-height: 1.6; }
.account-sync-state .pulse-dot { width: 6px; height: 6px; flex: none; }
.account-sync-state.error { color: #c65d57; }
.account-sync-state.error .pulse-dot { background: #c65d57; box-shadow: 0 0 0 4px rgba(198, 93, 87, .12); }
.account-logout { width: 100%; justify-content: center; margin-top: 24px; border-radius: 10px; }

.lyric-widget {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  max-height: 64px;
  overflow: hidden;
  display: flex;
  align-items: center;
  cursor: grab;
  touch-action: none;
  user-select: none;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--lyric-widget-x, 0px), calc(var(--lyric-widget-y, 0px) + 12px), 0) scale(.98);
  transition: opacity .2s, transform .2s;
}

.lyric-widget.open { opacity: 1; pointer-events: auto; transform: translate3d(var(--lyric-widget-x, 0px), var(--lyric-widget-y, 0px), 0) scale(1); }
.lyric-widget.dragging { cursor: grabbing; transition: opacity .2s; }
.lyric-widget-body { width: 100%; min-width: 0; height: 62px; max-height: 62px; overflow: hidden; padding: 0 24px; display: flex; align-items: center; justify-content: center; scrollbar-width: none; }
.lyric-widget-lines { width: 100%; min-width: 0; display: grid; gap: 10px; text-align: center; }
.lyric-widget-line { display: none; width: 100%; min-width: 0; padding: 0 7px; border: 0; overflow: hidden; color: rgba(26, 48, 42, .58); background: transparent; text-align: center; text-shadow: 0 1px 8px rgba(255, 255, 255, .72); text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 1.65; transition: color .2s, transform .2s, font-size .2s; }
.lyric-widget-line:hover { color: var(--green-deep); }
.lyric-widget-line.active { display: block; color: var(--ink); font-size: 17px; font-weight: 700; transform: translateX(3px); }
.lyric-widget-empty { width: 100%; min-width: 0; overflow: hidden; padding: 0 7px; color: rgba(26, 48, 42, .62); text-align: center; text-shadow: 0 1px 8px rgba(255, 255, 255, .72); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.8; }
.tool-button.active { color: var(--green-deep); }

@media (max-width: 1040px) {
  .brand { min-width: 175px; }
  .primary-nav a { padding-inline: 14px; }
  .header-actions { gap: 10px; }
  .search-box { width: 190px; }
  .subnav { gap: 27px; }
  .player-shell { gap: 18px; }
  .now-playing { width: 225px; }
  .player-tools { width: 205px; }
}
@media (max-width: 820px) {
  .shell { width: min(var(--shell), calc(100% - 36px)); }
  .topbar { min-height: 66px; flex-wrap: wrap; }
  .brand { min-width: auto; margin-right: auto; }
  .primary-nav { order: 3; width: 100%; height: 43px; overflow-x: auto; }
  .primary-nav a { padding: 0 20px; }
  .primary-nav a:first-child { padding-left: 0; padding-right: 24px; }
  .header-actions { margin-left: 12px; }
  .avatar-button em { display: none; }
  .subnav { justify-content: flex-start; gap: 28px; overflow-x: auto; white-space: nowrap; }
  .subnav a::after { bottom: -15px; }
  .hero { padding-top: 35px; }
  .discover-page-heading { align-items: flex-start; flex-direction: column; }
  .discover-page-heading p { text-align: left; }
  .discover-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discover-card-feature { grid-column: 1 / -1; }
  .playlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .playlist-card:nth-child(n+4) { display: none; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .release-item:nth-child(3) { border-top: 1px solid var(--line); }
  .ranking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discovery-band { padding-inline: 38px; }
  .mix-visual { transform: scale(.8) rotate(-4deg); transform-origin: right center; margin-right: -70px; }
  .player-tools { display: none; }
  .player-center { min-width: 190px; }
  .content-hub { padding: 24px 22px 26px; }
  .hub-grid { grid-template-columns: 1fr; }
  .my-playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-heading-side { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hub-description { text-align: left; }
  .artist-filter-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .site-header { position: relative; }
  .discover-page { padding-top: 36px; }
  .discover-cards { grid-template-columns: 1fr; }
  .discover-card-feature { grid-column: auto; }
  .discover-card { min-height: 180px; padding: 22px; }
  .discover-note { align-items: flex-start; flex-wrap: wrap; }
  .discover-note .text-button { width: 100%; margin-left: 0; padding-left: 0; text-align: left; }
  .header-actions { width: 100%; margin: 11px 0 0; }
  .search-box { flex: 1; width: auto; }
  .primary-nav { margin-top: 5px; }
  .subnav-wrap { overflow: hidden; }
  .subnav { height: 43px; gap: 24px; }
  .hero-topline, .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-note { padding-bottom: 0; }
  .category-tabs { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 24px; padding: 23px 0; }
  .playlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 13px; }
  .playlist-card:nth-child(n+3) { display: none; }
  .playlist-art { aspect-ratio: 1 / 1; }
  .art-title { font-size: 19px; }
  .release-tabs { width: 100%; justify-content: space-between; gap: 0; }
  .latest-toolbar { flex-wrap: wrap; }
  .toolbar-hint { width: calc(100% - 130px); }
  .text-button { width: 100%; text-align: right; }
  .release-grid { display: block; }
  .release-item, .release-item:nth-child(-n+3) { min-height: 82px; border-top: 1px solid var(--line); }
  .release-cover { width: 54px; height: 54px; }
  .discovery-band { min-height: 440px; padding: 35px 24px; align-items: flex-start; }
  .discovery-copy h2 { font-size: 31px; }
  .mix-visual { position: absolute; right: -40px; bottom: -35px; transform: scale(.72) rotate(-4deg); }
  .ranking { padding-top: 55px; padding-bottom: 150px; }
  .ranking-grid { grid-template-columns: 1fr; }
  .content-hub { margin-top: 20px; padding: 22px 16px; border-radius: 18px; }
  .public-playlist-page { margin-top: 20px; padding: 22px 16px 140px; border-radius: 18px; }
  .my-playlists { padding: 15px; }
  .my-playlists-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .my-playlist-grid { grid-template-columns: 1fr; }
  .my-playlist-detail-head { align-items: flex-start; flex-direction: column; }
  .public-playlist-hero { grid-template-columns: 1fr; gap: 20px; }
  .public-playlist-cover { width: min(220px, 100%); justify-self: center; }
  .public-playlist-track { grid-template-columns: 28px 44px minmax(0, 1fr) auto; gap: 8px; padding-inline: 4px; }
  .public-playlist-track-cover { width: 44px; height: 44px; }
  .public-playlist-track-action { display: none; }
  .playlist-picker, .playlist-editor { padding: 27px 22px; }
  .section-heading.compact { display: block; }
  .hub-description { margin-top: 9px; text-align: left; }
  .hub-heading-side { margin-top: 9px; }
  .hub-collection-card { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; min-height: 78px; padding: 8px; }
  .hub-collection-cover { width: 58px; height: 58px; border-radius: 10px; }
  .hub-collection-copy strong { font-size: 13px; }
  .hub-collection-copy small { font-size: 11px; }
  .hub-collection-copy em { display: none; }
  .hub-about { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .hub-about-icon { width: 84px; height: 84px; border-radius: 22px; }
  .artist-toolbar { margin-top: 22px; }
  .artist-filter-row { display: block; }
  .artist-region-tabs,
  .artist-gender-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .artist-gender-tabs { margin-top: 10px; }
  .artist-gender-columns { grid-template-columns: 1fr; gap: 14px; }
  .artist-filter { justify-content: space-between; margin-top: 15px; }
  .artist-filter input { flex: 1; width: auto; }
  .artist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .artist-card { padding: 9px 8px; gap: 8px; border-radius: 14px; }
  .artist-avatar { width: 45px; height: 45px; }
  .artist-avatar::before { width: 21px; height: 21px; top: 7px; }
  .artist-avatar::after { width: 35px; height: 22px; }
  .artist-avatar > span { margin-top: 15px; font-size: 9px; }
  .artist-card-arrow { display: none; }
  .search-panel { inset: 170px 0 0; }
  .search-results { grid-template-columns: 1fr; }
  .search-result:nth-child(2) { border-top: 1px solid var(--line); }
  .player-bar { min-height: 72px; }
  .player-shell { min-height: 72px; gap: 10px; }
  .now-playing { width: 43%; gap: 8px; }
  .now-cover { width: 43px; height: 43px; }
  .now-cover span { top: 14px; left: 16px; }
  .now-copy strong { font-size: 11px; }
  .now-copy span { font-size: 10px; }
  .player-center { min-width: 0; }
  .queue-popover { right: 14px; bottom: 82px; width: calc(100vw - 28px); }
  .lyric-widget { top: 0; }
  .lyric-widget-body { height: 54px; max-height: 54px; padding-inline: 12px; }
  .lyric-widget-line.active { font-size: 14px; }
  .player-controls { gap: 8px; }
  .control-button.small { display: none; }
  .progress-row { gap: 5px; }
  .lyric-modal { padding: 27px 22px; }
  .account-dialog { padding: 28px 22px; }
}
