:root {
  --bg: #080808;
  --surface: #111210;
  --surface-2: #181917;
  --line: #292a27;
  --text: #f3efe5;
  --muted: #96978f;
  --lime: #0b50f5;
  --black: #080808;
  --radius-lg: 30px;
  --radius-md: 20px;
  color-scheme: dark;
}

html { --admob-banner-height: 0px; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Pretendard, "Segoe UI", Arial, sans-serif;
  min-width: 320px;
}
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; }
.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  padding: 34px 24px;
  border-right: 1px solid var(--line);
  background: #0b0b0a;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand { display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: none; }
.brand-name { font-size: 26px; font-weight: 760; letter-spacing: -1.2px; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-mark {
  width: 30px;
  height: 27px;
  border: 7px solid var(--lime);
  border-radius: 9px 15px 15px 9px;
  transform: skewX(-8deg);
  display: grid;
  place-items: center;
}
.brand-mark span { width: 7px; height: 7px; background: var(--bg); transform: skewX(8deg) rotate(45deg); }
.desktop-nav { margin-top: 48px; display: grid; gap: 8px; }
.nav-item {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 14px;
  cursor: pointer;
  transition: .2s ease;
}
.desktop-nav .nav-item { padding: 13px 14px; text-align: left; font-size: 15px; display: flex; gap: 13px; align-items: center; }
.desktop-nav .nav-item > span:first-child { font-size: 20px; width: 20px; flex: 0 0 20px; text-align: center; }
.desktop-nav .nav-label { width: auto; min-width: 0; font-size: 15px; white-space: nowrap; text-align: left; }
.nav-item:hover, .nav-item.active { color: var(--text); background: #1b1c19; }
.nav-item.active span { color: var(--lime); }
.side-footer { margin-top: auto; display: grid; gap: 10px; }
.sidebar-install { width: 100%; min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 10px; padding: 9px; border: 1px solid #3a451b; border-radius: 16px; background: #15180f; color: var(--text); text-align: left; cursor: pointer; }
.sidebar-install:hover { border-color: var(--lime); background: #1b2110; }
.sidebar-install img { width: 36px; height: 36px; border-radius: 10px; }
.sidebar-install span { min-width: 0; }
.sidebar-install strong, .sidebar-install small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sidebar-install strong { font-size: 12px; }
.sidebar-install small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.sidebar-install svg, .install-trigger.round-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-install > svg { color: var(--lime); }
.artist-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.artist-card strong { display: block; font-size: 20px; margin: 6px 0; }
.artist-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.sidebar-account, .home-account {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.sidebar-account:hover, .home-account:hover { border-color: #4b4d46; background: #171815; }
.sidebar-account { width: 100%; border-radius: 18px; padding: 11px; display: flex; align-items: center; gap: 11px; text-align: left; }
.account-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; background: var(--lime); color: var(--black); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.account-copy { min-width: 0; }
.account-copy strong, .account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-copy strong { font-size: 13px; }
.account-copy small { color: var(--muted); margin-top: 3px; font-size: 10px; }

.main-content { margin-left: 232px; padding: 48px clamp(34px, 5vw, 76px) 150px; max-width: 1510px; }
.mobile-header, .bottom-nav { display: none; }
.page { display: none; animation: appear .25s ease; }
.page.active { display: block; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } }
.eyebrow { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.welcome-row p { margin: 0 0 9px; }
h1, h2, h3, p { text-wrap: balance; }
.welcome-row h1, .page-title h1 { font-size: clamp(30px, 3.2vw, 49px); line-height: 1.05; letter-spacing: -2.2px; margin: 0; }
.profile-button, .round-button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.profile-button { background: var(--lime); color: var(--black); font-weight: 900; }
.home-account { min-height: 46px; border-radius: 99px; padding: 5px 16px 5px 6px; display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 760; }
.welcome-actions { display: flex; align-items: center; gap: 9px; }
.admin-upload-button { min-height: 46px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--lime); border-radius: 99px; background: var(--lime); color: var(--black); padding: 0 17px; cursor: pointer; font-size: 12px; font-weight: 850; white-space: nowrap; word-break: keep-all; box-shadow: 0 0 0 0 #0b50f540; transition: transform .2s ease, box-shadow .2s ease; }
.admin-upload-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px #0b50f526; }
.admin-upload-button > span { font-size: 20px; font-weight: 500; line-height: 1; }
@media (max-width: 1050px) {
  .admin-upload-button { width: 46px; padding: 0; justify-content: center; }
  .admin-upload-button strong { display: none; }
}
.market-pill { min-height: 46px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--text); padding: 0 15px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.market-pill:hover { border-color: var(--lime); background: #171915; }
.market-pill > span { color: var(--lime); font-size: 18px; line-height: 1; }
.market-pill strong { font-size: 11px; letter-spacing: .7px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.market-button { display: grid; place-items: center; color: var(--lime); }
.market-button .market-code { font-size: 9px; font-weight: 900; letter-spacing: .3px; }
.install-trigger.round-button { display: grid; place-items: center; color: var(--lime); }
.mobile-account { padding: 3px; }
.mobile-account .account-avatar { width: 32px; height: 32px; }

.hero-card {
  min-height: 400px;
  border-radius: var(--radius-lg);
  background: var(--lime);
  color: var(--black);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  position: relative;
}
.hero-copy { padding: clamp(34px, 5vw, 66px); z-index: 2; align-self: center; }
.hero-label { display: inline-block; background: var(--black); color: var(--lime); border-radius: 99px; padding: 8px 12px; font-size: 11px; font-weight: 750; }
.hero-copy h2 { font-size: clamp(36px, 5vw, 68px); line-height: .98; letter-spacing: -3.4px; margin: 23px 0 16px; max-width: 660px; }
.hero-copy p { margin: 0 0 27px; color: #34372d; font-size: 14px; }
.primary-button, .secondary-button {
  border: 0; border-radius: 99px; cursor: pointer; font-weight: 780; transition: transform .2s ease, background .2s ease;
}
.primary-button { padding: 14px 22px; background: var(--black); color: var(--text); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-button > span:first-child { color: var(--lime); margin-right: 8px; }
.hero-art { position: relative; min-height: 390px; }
.hero-disc { position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 64px solid var(--black); top: 38px; right: 52px; }
.hero-disc::after { content: ""; position: absolute; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); top: 80px; left: 80px; }
.hero-line { position: absolute; height: 14px; background: var(--black); border-radius: 20px; transform: rotate(-32deg); }
.line-one { width: 245px; top: 99px; right: -12px; }
.line-two { width: 150px; bottom: 70px; left: 16px; }
.hero-dot { position: absolute; width: 24px; height: 24px; background: var(--black); border-radius: 50%; right: 44px; bottom: 42px; }

.content-section { margin-top: 62px; }
.content-section.compact { margin-top: 42px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.section-heading p { margin: 0 0 7px; }
.section-heading h2, .results-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.8px; }
.section-note { color: var(--muted); font-size: 11px; }
.section-actions { display: flex; align-items: center; gap: 7px; }
.carousel-button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.carousel-button:hover { border-color: #4b4d46; color: var(--lime); }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.text-button:hover { color: var(--lime); }
.situation-grid { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 12px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; scroll-snap-type: x proximity; }
.situation-grid::-webkit-scrollbar { display: none; }
.situation-card { flex: 1 0 132px; height: 142px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); padding: 18px; text-align: left; cursor: pointer; transition: .2s ease; display: flex; flex-direction: column; align-items: flex-start; scroll-snap-align: start; }
.situation-card:hover { border-color: #4b4d46; transform: translateY(-3px); }
.situation-card:disabled { opacity: .42; cursor: default; }
.situation-card:disabled:hover { border-color: var(--line); transform: none; }
.situation-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; aspect-ratio: 1; border-radius: 12px; background: var(--lime); color: var(--black); margin-bottom: 20px; line-height: 0; transform: none; }
.situation-icon svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.situation-icon svg .icon-fill { fill: currentColor; stroke: none; }
.situation-card strong { display: block; font-size: 14px; margin-top: auto; }
.situation-card small { display: block; color: var(--muted); margin-top: 4px; }

.world-grid { display: flex; gap: 13px; overflow-x: auto; padding: 0 0 7px; scrollbar-width: none; scroll-snap-type: x proximity; }
.world-grid::-webkit-scrollbar { display: none; }
.world-card {
  flex: 0 0 calc((100% - 26px) / 3);
  min-height: 205px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--world);
  color: var(--world-ink);
  padding: 21px;
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, filter .22s ease;
  scroll-snap-align: start;
}
.world-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -60px; bottom: -68px; border: 22px solid currentColor; border-radius: 50%; opacity: .12; }
.world-card:hover { transform: translateY(-4px); filter: brightness(1.03); }
.world-card:disabled { cursor: default; filter: saturate(.42) brightness(.72); }
.world-card:disabled:hover { transform: none; }
.world-code { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 900; }
.world-status { position: absolute; top: 25px; right: 21px; font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
.world-card strong { display: block; margin-top: 38px; font-size: clamp(25px, 2.5vw, 38px); letter-spacing: -1.6px; }
.world-card small { display: block; margin-top: 5px; font-size: 11px; opacity: .7; }
.world-arrow { position: absolute; right: 21px; bottom: 17px; font-size: 24px; }

.future-grid { display: flex; gap: 13px; overflow-x: auto; padding: 0 0 7px; scrollbar-width: none; scroll-snap-type: x proximity; }
.future-grid::-webkit-scrollbar { display: none; }
.future-card { flex: 0 0 200px; min-height: 186px; position: relative; overflow: hidden; border: 1px solid #30322c; border-radius: 20px; background: #11120f; padding: 16px; scroll-snap-align: start; }
.future-card::after { content: ""; position: absolute; width: 92px; height: 92px; right: -48px; top: 43px; border: 1px solid var(--lime); border-radius: 50%; opacity: .13; }
.future-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.future-code { display: inline-grid; place-items: center; min-width: 43px; height: 28px; padding: 0 9px; border-radius: 99px; background: var(--lime); color: var(--black); font-size: 9px; font-weight: 900; letter-spacing: .5px; }
.future-status { color: #74776d; font-size: 8px; font-weight: 850; letter-spacing: 1.2px; }
.future-pulse { display: flex; align-items: center; gap: 4px; height: 26px; margin: 18px 0 8px; }
.future-pulse i { display: block; width: 3px; border-radius: 4px; background: var(--lime); opacity: .85; }
.future-pulse i:nth-child(1) { height: 9px; }
.future-pulse i:nth-child(2) { height: 22px; }
.future-pulse i:nth-child(3) { height: 16px; }
.future-pulse i:nth-child(4) { height: 26px; }
.future-card h3 { margin: 0; max-width: 92%; font-size: 19px; line-height: 1.08; letter-spacing: -.7px; }
.future-card p { display: -webkit-box; min-height: 30px; margin: 7px 0 12px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.future-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.future-tags span { border: 1px solid #363930; border-radius: 99px; color: #c9cbc2; padding: 5px 8px; font-size: 8px; }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.collection-card { min-width: 0; padding: 0; color: inherit; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 23px; overflow: hidden; cursor: pointer; transition: .2s ease; }
.collection-card:hover { transform: translateY(-4px); border-color: #3d3f39; }
.collection-art { height: 204px; position: relative; overflow: hidden; background: var(--cover); }
.collection-art::before, .collection-art::after { content: ""; position: absolute; border: 2px solid var(--ink); opacity: .9; }
.collection-art::before { width: 145px; height: 145px; border-radius: 50%; right: -20px; bottom: -35px; }
.collection-art::after { width: 84px; height: 84px; transform: rotate(45deg); left: 30px; top: 32px; }
.collection-number { position: absolute; left: 22px; bottom: 18px; color: var(--ink); font-size: 56px; font-weight: 900; letter-spacing: -4px; }
.collection-info { padding: 18px 19px 20px; }
.collection-info strong { display: block; font-size: 16px; }
.collection-info p { color: var(--muted); font-size: 12px; margin: 7px 0 0; line-height: 1.45; }

.track-list { display: grid; }
.track-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 34px 36px; align-items: center; gap: 12px; padding: 11px 8px; border-bottom: 1px solid var(--line); border-radius: 12px; transition: .18s ease; }
.track-row:hover { background: #121311; }
.track-row.playing { color: var(--lime); }
.track-main { min-width: 0; display: flex; align-items: center; gap: 13px; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.track-cover, .mini-cover { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; position: relative; overflow: hidden; }
.track-cover::after, .mini-cover::after { content: ""; position: absolute; width: 46%; height: 46%; border: 8px solid currentColor; border-radius: 50%; inset: 27%; opacity: .85; }
.track-text { min-width: 0; }
.track-text strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.track-text small { color: var(--muted); display: block; margin-top: 4px; font-size: 11px; }
.track-tags { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heart-button { border: 0; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; }
.heart-button.liked { color: var(--lime); }
.track-action-button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.track-action-button:hover { border-color: var(--line); color: var(--lime); background: var(--surface-2); }

.page-title { margin-bottom: 30px; }
.page-title .eyebrow { margin: 0 0 10px; }
.page-title p:last-child { color: var(--muted); margin: 13px 0 0; }
.search-box { height: 58px; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: center; gap: 13px; background: var(--surface); padding: 0 17px; margin-bottom: 30px; }
.search-box span { color: var(--lime); font-size: 23px; }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 15px; }
.search-box kbd { color: var(--muted); border: 1px solid #353632; padding: 4px 7px; border-radius: 7px; font-size: 10px; }
.filter-block { display: flex; gap: 20px; align-items: center; margin: 17px 0; }
.filter-title { color: var(--muted); font-size: 12px; width: 38px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--muted); padding: 9px 14px; font-size: 12px; cursor: pointer; }
.chip.active { background: var(--lime); color: var(--black); border-color: var(--lime); font-weight: 760; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin: 42px 0 18px; }
.results-heading span { color: var(--muted); font-size: 12px; }
.browse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.browse-load-more { grid-column: 1 / -1; justify-self: center; min-width: 180px; margin: 18px 0 8px; padding: 13px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 750; cursor: pointer; }
.track-card { background: var(--surface); border: 1px solid var(--line); padding: 12px; border-radius: 19px; min-width: 0; position: relative; transition: .2s ease; }
.track-card:hover { transform: translateY(-3px); border-color: #42443d; }
.card-cover { aspect-ratio: 1; border-radius: 14px; position: relative; overflow: hidden; margin-bottom: 13px; }
.card-cover::before { content: ""; position: absolute; width: 48%; height: 48%; border: 11px solid currentColor; border-radius: 50%; left: 26%; top: 26%; }
.card-play { position: absolute; right: 20px; top: calc(100% - 93px); width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--lime); color: var(--black); cursor: pointer; box-shadow: 0 8px 25px #0008; }
.card-add { position: absolute; right: 20px; top: 20px; width: 32px; height: 32px; border: 1px solid #ffffff30; border-radius: 50%; background: #090a08c9; color: var(--text); cursor: pointer; font-size: 18px; backdrop-filter: blur(8px); }
.card-add:hover { color: var(--lime); border-color: var(--lime); }
.preview-pill { position: absolute; left: 18px; top: 18px; z-index: 2; border: 1px solid #ffffff28; border-radius: 99px; background: #090a08d9; color: var(--lime); padding: 6px 9px; font-size: 9px; font-weight: 800; backdrop-filter: blur(8px); }
.track-card strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-card p { color: var(--muted); font-size: 11px; margin: 5px 0 0; }

.library-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.library-summary div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.library-summary strong { font-size: 30px; color: var(--lime); display: block; }
.library-summary span { color: var(--muted); font-size: 11px; }
.compact-button { padding: 9px 14px; font-size: 11px; }
.user-playlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.user-playlist-card { min-width: 0; display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: var(--text); text-align: left; cursor: pointer; transition: .2s ease; }
.user-playlist-card:hover { transform: translateY(-2px); border-color: #4b4d46; }
.user-playlist-cover { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--playlist-color, var(--lime)); color: #090a08; font-size: 27px; font-weight: 900; overflow: hidden; position: relative; }
.user-playlist-cover::after { content: ""; position: absolute; width: 38px; height: 38px; border: 6px solid currentColor; border-radius: 50%; right: -12px; bottom: -12px; opacity: .35; }
.user-playlist-copy { min-width: 0; }
.user-playlist-copy strong, .user-playlist-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-playlist-copy strong { font-size: 13px; }
.user-playlist-copy small { color: var(--muted); margin-top: 5px; font-size: 10px; }
.playlist-detail { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #0d0e0c; }
.playlist-detail.hidden { display: none; }
.playlist-detail-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.playlist-detail-header h3 { margin: 5px 0 4px; font-size: 24px; }
.playlist-detail-header p { margin: 0; color: var(--muted); font-size: 11px; }
.playlist-detail-actions { display: flex; align-items: center; gap: 7px; }
.playlist-play-all { border: 0; border-radius: 99px; background: var(--lime); color: var(--black); padding: 11px 16px; font-weight: 850; cursor: pointer; }
.playlist-detail-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; }
.playlist-detail .track-list { margin-top: 8px; }
.empty-state { display: none; text-align: center; padding: 58px 20px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.empty-state.visible { display: block; }
.browse-grid > .empty-state { grid-column: 1 / -1; }
.empty-state > span { font-size: 36px; color: var(--lime); }
.empty-state h3 { color: var(--text); margin: 13px 0 6px; }
.empty-state p { margin: 0 0 20px; font-size: 13px; }
.secondary-button { background: var(--surface-2); border: 1px solid var(--line); padding: 11px 17px; }

.mini-player { position: fixed; z-index: 40; left: 250px; right: 18px; bottom: 18px; min-height: 76px; background: #20211eee; backdrop-filter: blur(18px); border: 1px solid #3a3b36; border-radius: 19px; display: grid; grid-template-columns: 280px 140px 1fr 42px; align-items: center; gap: 18px; padding: 10px 18px 10px 10px; box-shadow: 0 16px 50px #0009; }
.mini-player.hidden { display: none; }
.mini-track { min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; background: transparent; border: 0; cursor: pointer; }
.mini-meta { min-width: 0; }
.mini-meta strong, .mini-meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-meta small { color: var(--muted); margin-top: 3px; }
.mini-controls { display: flex; justify-content: center; align-items: center; gap: 13px; }
.mini-controls button, .full-controls button { border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.mini-controls > button:not(.play-button) { font-size: 27px; color: var(--muted); }
.play-button { width: 42px; height: 42px; border-radius: 50% !important; background: var(--lime) !important; color: var(--black) !important; }
.control-icon { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.control-icon.play-glyph { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.15; transform: translateX(1px); }
.control-icon.pause-glyph { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.desktop-progress { display: grid; grid-template-columns: 35px 1fr 35px; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
input[type="range"] { accent-color: var(--lime); cursor: pointer; }

.player-sheet { width: min(470px, calc(100% - 20px)); border: 1px solid var(--line); border-radius: 30px; background: #10110f; color: var(--text); padding: 22px 28px 30px; box-shadow: 0 24px 90px #000d; }
.player-sheet::backdrop { background: #000b; backdrop-filter: blur(9px); }
.sheet-handle { display: none; }
.close-player { position: absolute; right: 20px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.close-player:hover { background: var(--surface-2); color: var(--text); }
.now-playing-label { text-align: center; color: var(--muted); font-size: 10px; letter-spacing: 1.8px; margin: 2px 0 20px; }
.full-cover { width: 100%; aspect-ratio: 1; border-radius: 24px; position: relative; overflow: hidden; color: #0c0c0b; }
.cover-logo { position: absolute; width: 46%; height: 46%; object-fit: contain; left: 50%; top: 50%; transform: translate(-53%, -53%); opacity: .58; filter: grayscale(1) brightness(.18); }
.full-meta { display: flex; justify-content: space-between; align-items: center; margin: 22px 3px 16px; }
.full-meta h2 { margin: 0 0 5px; font-size: 23px; }
.full-meta p { margin: 0; color: var(--muted); font-size: 12px; }
.heart-button.large { font-size: 29px; }
.full-progress { width: 100%; }
.time-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.full-controls { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; margin: 17px 0 22px; }
.full-controls button { height: 48px; }
.full-controls .main-play { width: 62px; height: 62px; border-radius: 50%; background: var(--lime); color: var(--black); justify-self: center; }
.full-controls .main-play .control-icon { width: 25px; height: 25px; }
.full-controls button.active { color: var(--lime); }
.player-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 18px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: #090a08; }

.collection-dialog { width: min(720px, calc(100% - 24px)); max-height: 88vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 28px; background: #10110f; color: var(--text); padding: 28px; box-shadow: 0 24px 90px #000d; }
.collection-dialog::backdrop { background: #000c; backdrop-filter: blur(9px); }
.collection-list-hero { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 22px; padding: 8px 36px 22px 0; }
.collection-list-art { width: 126px; height: 126px; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 22px; background: var(--collection-color, var(--lime)); color: var(--collection-ink, #111); }
.collection-list-art::after { content: ""; position: absolute; width: 78px; height: 78px; right: -25px; bottom: -25px; border: 10px solid currentColor; border-radius: 50%; opacity: .28; }
.collection-list-art span { position: relative; z-index: 1; font-size: 43px; font-weight: 900; letter-spacing: -3px; }
.collection-list-copy h2 { margin: 5px 0 7px; font-size: 30px; letter-spacing: -1.5px; }
.collection-list-copy p:not(.eyebrow) { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.collection-list-copy small { color: #777a72; font-size: 11px; }
.collection-play-all { border: 0; border-radius: 99px; background: var(--lime); color: var(--black); padding: 12px 18px; font-weight: 850; cursor: pointer; }
.collection-track-list { margin-top: 17px; border-top: 1px solid var(--line); }
.player-tab { border: 0; border-radius: 9px; background: transparent; color: var(--muted); padding: 9px 5px; font-size: 10px; font-weight: 750; cursor: pointer; }
.player-tab.active { background: var(--surface-2); color: var(--lime); }
.player-panel { display: none; min-height: 112px; padding-top: 17px; }
.player-panel.active { display: block; }
.track-story { padding-top: 1px; }
.track-story p { color: #bbbcb5; font-size: 12px; line-height: 1.7; margin: 9px 0 0; }
.lyrics-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.lyrics-modes { display: flex; gap: 4px; }
.lyrics-modes button { border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); padding: 5px 9px; font-size: 9px; cursor: pointer; }
.lyrics-modes button.active { border-color: var(--lime); color: var(--lime); }
.lyrics-content { color: #d4d5ce; font-size: 13px; line-height: 2; white-space: pre-line; }
.lyrics-empty { display: grid; place-items: center; text-align: center; min-height: 95px; color: var(--muted); }
.lyrics-empty span { color: var(--lime); font-size: 25px; margin-bottom: 7px; }
.lyrics-empty strong { color: var(--text); font-size: 12px; }
.lyrics-empty small { margin-top: 3px; font-size: 10px; }
.up-next { padding-top: 1px; }
.up-next-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.up-next-heading small { color: var(--muted); font-size: 10px; }
.up-next-list { display: grid; }
.up-next-item { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 4px; border: 0; border-bottom: 1px solid #242521; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.up-next-item:last-child { border-bottom: 0; }
.up-next-number { color: var(--muted); font-size: 10px; text-align: center; }
.up-next-item strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.up-next-item small { color: var(--muted); font-size: 9px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 105px; transform: translate(-50%, 15px); background: var(--text); color: var(--black); padding: 11px 16px; border-radius: 99px; font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.auth-dialog {
  width: min(440px, calc(100% - 24px));
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #10110f;
  color: var(--text);
  padding: 34px;
  box-shadow: 0 26px 100px #000e;
}
.auth-dialog::backdrop { background: #000c; backdrop-filter: blur(10px); }
.auth-dialog[open] { animation: authAppear .22s ease; }
@keyframes authAppear { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.auth-dialog .hidden { display: none !important; }
.auth-close { position: absolute; right: 20px; top: 17px; border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
.auth-close:hover { color: var(--text); }
.auth-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.auth-brand img { width: 31px; height: 31px; object-fit: contain; }
.auth-dialog h2 { font-size: 30px; line-height: 1.08; letter-spacing: -1.5px; margin: 10px 0 10px; max-width: 320px; }
.auth-intro { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 25px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 4px; background: #090a08; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 22px; }
.auth-tab { border: 0; border-radius: 10px; padding: 10px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.auth-tab.active { background: var(--surface-2); color: var(--lime); }
.auth-form { display: grid; gap: 14px; }
.auth-field { display: grid; gap: 7px; color: #d3d4ce; font-size: 11px; font-weight: 700; }
.auth-field > input, .password-wrap { width: 100%; height: 49px; border: 1px solid var(--line); border-radius: 13px; background: #181917; }
.auth-field input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); padding: 0 14px; font-size: 14px; }
.auth-field > input:focus, .password-wrap:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px #0b50f515; }
.password-wrap { display: flex; align-items: center; }
.password-wrap input { flex: 1; height: 100%; }
.password-wrap button { border: 0; background: transparent; color: var(--muted); padding: 0 13px; font-size: 11px; cursor: pointer; }
.agreement { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11px; line-height: 1.45; cursor: pointer; }
.agreement input { margin-top: 2px; accent-color: var(--lime); }
.agreement a { color: #dfe3d4; text-underline-offset: 2px; }
.agreement a:hover { color: var(--lime); }
.auth-error { min-height: 16px; color: #ff8a70; font-size: 11px; margin: -2px 0; }
.auth-submit { width: 100%; border: 0; border-radius: 13px; background: var(--lime); color: var(--black); padding: 14px 18px; font-weight: 850; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.auth-submit:hover { transform: translateY(-1px); filter: brightness(1.04); }
.local-note { color: #6f706a; text-align: center; font-size: 10px; margin: -1px 0 0; }
.legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin: 15px 0 3px; }
.legal-links a { color: var(--muted); font-size: 10px; text-underline-offset: 3px; }
.legal-links a:hover { color: var(--lime); }
.ad-privacy-button { width: 100%; border: 0; background: transparent; color: var(--muted); padding: 10px 14px 4px; cursor: pointer; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.ad-privacy-button:hover { color: var(--lime); }
.account-view { padding-top: 8px; }
.account-hero { display: flex; align-items: center; gap: 16px; margin: 18px 0 27px; }
.account-avatar-large { width: 66px; height: 66px; font-size: 24px; }
.account-hero h2 { margin: 0 0 5px; font-size: 26px; }
.account-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.account-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 20px; }
.account-stats div { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.account-stats strong, .account-stats span { display: block; }
.account-stats strong { color: var(--lime); font-size: 24px; }
.account-stats span { color: var(--muted); font-size: 10px; margin-top: 4px; }
.logout-button { width: 100%; border: 0; background: transparent; color: var(--muted); padding: 14px; margin-top: 6px; cursor: pointer; font-size: 12px; }
.logout-button:hover { color: #ff8a70; }
.delete-account-button { width: 100%; border: 0; background: transparent; color: #70716b; padding: 5px 14px 10px; cursor: pointer; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.delete-account-button:hover { color: #ff8a70; }

.artist-account-button { width: 100%; margin-top: 9px; border: 1px solid #41482a; border-radius: 13px; background: #171b10; color: var(--lime); padding: 12px 16px; font-size: 11px; font-weight: 800; cursor: pointer; }
.artist-account-button:hover { border-color: var(--lime); }

.artist-hero { min-height: 390px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 35px; padding: clamp(35px, 5vw, 68px); border: 1px solid #303329; border-radius: var(--radius-lg); background: #11130d; }
.artist-hero::before { content: ""; position: absolute; width: 330px; height: 330px; right: -120px; top: -150px; border: 62px solid var(--lime); border-radius: 50%; opacity: .08; }
.artist-hero-copy { position: relative; z-index: 1; }
.artist-hero-copy h1 { max-width: 600px; margin: 10px 0 19px; font-size: clamp(32px, 3.4vw, 52px); line-height: 1.2; letter-spacing: -2px; }
.artist-hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 0; color: #b1b3aa; font-size: 14px; line-height: 1.7; }
.artist-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.artist-hero-actions > span { color: #787a71; font-size: 10px; }
.artist-signal { min-height: 235px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.artist-signal span { width: clamp(14px, 2.2vw, 27px); border-radius: 999px; background: var(--lime); box-shadow: none; }
.artist-signal span:nth-child(1), .artist-signal span:nth-child(5) { height: 68px; opacity: .38; }
.artist-signal span:nth-child(2), .artist-signal span:nth-child(4) { height: 145px; opacity: .7; }
.artist-signal span:nth-child(3) { height: 225px; }
.artist-submission-section, .artist-flow-section { margin-top: 58px; }
.artist-submission-section.hidden { display: none; }
.artist-submission-list { display: grid; gap: 9px; }
.artist-submission-card { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.artist-submission-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: #242a17; color: var(--lime); font-size: 20px; }
.artist-submission-copy { min-width: 0; }
.artist-submission-copy strong, .artist-submission-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artist-submission-copy strong { font-size: 13px; }
.artist-submission-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.artist-status { border: 1px solid #465128; border-radius: 999px; color: var(--lime); padding: 7px 10px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.artist-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.artist-step-grid article { min-height: 190px; padding: 23px; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); }
.artist-step-grid b { display: block; color: var(--lime); font-size: 11px; letter-spacing: 1px; }
.artist-step-grid strong { display: block; margin-top: 39px; font-size: 17px; }
.artist-step-grid p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.artist-revenue-card { margin-top: 10px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px 45px; align-items: center; padding: 32px; border: 1px solid #39451d; border-radius: 23px; background: #15190e; }
.artist-revenue-card h2 { margin: 7px 0 0; font-size: 25px; }
.artist-revenue-card > p { margin: 0; color: #b2b5a7; font-size: 12px; line-height: 1.7; }
.artist-revenue-card code { grid-column: 1 / -1; display: block; padding: 15px 17px; border-radius: 13px; background: #090b07; color: var(--lime); font-family: inherit; font-size: 11px; }

.artist-dialog { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; border: 1px solid var(--line); border-radius: 28px; background: #10110f; color: var(--text); padding: 34px; box-shadow: 0 26px 100px #000e; }
.artist-dialog::backdrop { background: #000d; backdrop-filter: blur(10px); }
.artist-dialog[open] { animation: authAppear .22s ease; }
.artist-dialog-heading h2 { margin: 8px 0 9px; font-size: 31px; letter-spacing: -1.4px; }
.artist-dialog-heading > p:last-child { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.artist-form { display: grid; gap: 15px; }
.artist-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.artist-field { display: grid; gap: 7px; color: #d3d4ce; font-size: 11px; font-weight: 700; }
.artist-field-wide { grid-column: 1 / -1; }
.artist-field input, .artist-field select, .artist-field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #181917; color: var(--text); padding: 0 14px; font: inherit; font-size: 13px; }
.artist-field input, .artist-field select { height: 49px; }
.artist-field textarea { resize: vertical; min-height: 110px; padding-top: 13px; line-height: 1.6; }
.artist-field input:focus, .artist-field select:focus, .artist-field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px #0b50f515; }
.artist-upload { min-height: 88px; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px dashed #52564a; border-radius: 16px; background: #141512; cursor: pointer; }
.artist-upload:hover { border-color: var(--lime); }
.artist-upload input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.artist-upload-icon { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: var(--lime); color: var(--black); font-size: 24px; }
.artist-upload strong, .artist-upload small { display: block; }
.artist-upload strong { font-size: 12px; overflow-wrap: anywhere; }
.artist-upload small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.artist-agreement { padding: 2px 1px; }
.artist-beta-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: #181a15; color: #85877e; font-size: 10px; line-height: 1.55; }

html.ad-banner-visible .mini-player { bottom: calc(18px + var(--admob-banner-height)); }

.market-dialog {
  width: min(500px, calc(100% - 24px));
  max-height: min(760px, calc(100dvh - 24px));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #10110f;
  color: var(--text);
  padding: 34px;
  box-shadow: 0 26px 100px #000e;
}
.market-dialog::backdrop { background: #000d; backdrop-filter: blur(10px); }
.market-dialog[open] { animation: authAppear .22s ease; }
.market-dialog h2 { margin: 8px 0 9px; font-size: 29px; line-height: 1.1; letter-spacing: -1.3px; max-width: 390px; }
.market-brand { margin-bottom: 24px; }
.market-intro { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 20px; }
.market-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.market-option { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--text); padding: 11px; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.market-option:hover { border-color: #4b4d46; transform: translateY(-1px); }
.market-option.active { border-color: var(--lime); background: #181c11; box-shadow: 0 0 0 2px #0b50f510; }
.market-option-code { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #24251f; color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .5px; }
.market-option > span:nth-child(2) { min-width: 0; }
.market-option strong, .market-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-option strong { font-size: 12px; }
.market-option small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.market-option i { color: var(--lime); font-style: normal; opacity: 0; }
.market-option.active i { opacity: 1; }
.market-privacy { margin: 15px 0 20px; color: #777971; font-size: 10px; line-height: 1.5; }

.playlist-dialog { width: min(430px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 26px; background: #10110f; color: var(--text); padding: 31px; box-shadow: 0 26px 100px #000e; }
.playlist-dialog::backdrop { background: #000c; backdrop-filter: blur(10px); }
.playlist-dialog h2 { margin: 9px 0 5px; font-size: 27px; letter-spacing: -1px; }
.playlist-target { color: var(--muted); min-height: 18px; margin: 0 0 19px; font-size: 11px; }
.playlist-create-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.playlist-create-form input { min-width: 0; height: 47px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: var(--surface-2); color: var(--text); padding: 0 14px; }
.playlist-create-form input:focus { border-color: var(--lime); }
.playlist-create-form button { border: 0; border-radius: 13px; background: var(--lime); color: var(--black); padding: 0 17px; font-weight: 850; cursor: pointer; }
.playlist-choice-list { display: grid; gap: 7px; max-height: 260px; overflow-y: auto; }
.playlist-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); padding: 12px 13px; text-align: left; cursor: pointer; }
.playlist-choice:hover { border-color: var(--lime); }
.playlist-choice:disabled { opacity: .48; cursor: default; }
.playlist-choice:disabled:hover { border-color: var(--line); }
.playlist-choice strong, .playlist-choice small { display: block; }
.playlist-choice small { color: var(--muted); margin-top: 3px; font-size: 9px; }
.playlist-choice > span:last-child { color: var(--lime); font-size: 20px; }

.install-dialog { width: min(420px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 28px; background: #10110f; color: var(--text); padding: 34px; box-shadow: 0 26px 100px #000e; }
.install-dialog::backdrop { background: #000c; backdrop-filter: blur(10px); }
.install-dialog[open] { animation: authAppear .22s ease; }
.install-app-icon { width: 74px; height: 74px; border-radius: 21px; margin: 3px 0 21px; box-shadow: 0 12px 32px #0008; }
.install-dialog h2 { margin: 8px 0 10px; font-size: 28px; letter-spacing: -1.2px; }

.upload-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; border: 1px solid var(--line); border-radius: 30px; background: #10110f; color: var(--text); padding: 34px; box-shadow: 0 26px 100px #000e; }
.upload-dialog::backdrop { background: #000d; backdrop-filter: blur(10px); }
.upload-dialog[open] { animation: authAppear .22s ease; }
.upload-heading h2 { margin: 8px 0 9px; font-size: 32px; letter-spacing: -1.5px; }
.upload-heading > p:last-child { margin: 0 38px 24px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.admin-file-drop { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px dashed #56642b; border-radius: 24px; background: #15190f; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.admin-file-drop:hover { border-color: var(--lime); background: #1a2010; }
.admin-file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.admin-file-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--black); font-size: 31px; line-height: 1; }
.admin-file-drop strong { font-size: 18px; }
.admin-file-drop small { color: var(--muted); font-size: 11px; }
.auto-feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.auto-feature-row span { padding: 10px 6px; border: 1px solid var(--line); border-radius: 99px; color: #c9cbc2; text-align: center; font-size: 9px; }
.upload-progress { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.upload-progress.hidden, .upload-results.hidden, .upload-pick.hidden { display: none; }
.analysis-orbit { width: 102px; height: 102px; position: relative; display: grid; place-items: center; margin-bottom: 26px; border: 1px solid #34401c; border-radius: 50%; }
.analysis-orbit::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 35px #0b50f588; }
.analysis-orbit i { position: absolute; width: 8px; border-radius: 8px; background: var(--lime); animation: analyzeWave .8s ease-in-out infinite alternate; }
.analysis-orbit i:nth-child(1) { height: 34px; left: 20px; }
.analysis-orbit i:nth-child(2) { height: 54px; right: 20px; animation-delay: .2s; }
.analysis-orbit i:nth-child(3) { width: 46px; height: 1px; opacity: .2; }
@keyframes analyzeWave { to { transform: scaleY(.42); opacity: .45; } }
.upload-progress > strong { font-size: 21px; }
.upload-progress > p { margin: 8px 0 22px; color: var(--muted); font-size: 12px; }
.analysis-bar { width: min(360px, 90%); height: 5px; overflow: hidden; border-radius: 99px; background: #252722; }
.analysis-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lime); transition: width .35s ease; }
.upload-result-summary { display: flex; align-items: center; gap: 13px; margin: 4px 0 18px; padding: 15px; border-radius: 18px; background: #18200f; }
.upload-result-summary > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--black); font-weight: 900; }
.upload-result-summary strong, .upload-result-summary small { display: block; }
.upload-result-summary small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.upload-result-list { display: grid; gap: 8px; max-height: 330px; overflow-y: auto; }
.upload-result-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.upload-result-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); color: var(--black); font-size: 13px; font-weight: 900; }
.upload-result-copy { min-width: 0; }
.upload-result-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.upload-result-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.upload-result-tags span { padding: 4px 7px; border-radius: 99px; background: #22251e; color: #bfc1b8; font-size: 8px; }
.upload-local-note { margin: 14px 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.upload-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; }
.upload-actions .auth-submit { margin: 0; }
.admin-login-dialog { width: min(430px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 28px; background: #10110f; color: var(--text); padding: 34px; box-shadow: 0 26px 100px #000e; }
.admin-login-dialog::backdrop { background: #000d; backdrop-filter: blur(10px); }
.admin-login-dialog[open] { animation: authAppear .22s ease; }
.admin-login-dialog h2 { margin: 8px 0 8px; font-size: 29px; letter-spacing: -1.2px; }
.admin-login-intro { margin: 0 28px 23px 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-login-form { display: grid; gap: 13px; }
.admin-login-form label > span { display: block; margin-bottom: 7px; color: #c9cbc2; font-size: 10px; font-weight: 760; }
.admin-login-form input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: var(--surface); color: var(--text); padding: 0 14px; }
.admin-login-form input:focus { border-color: var(--lime); }
.install-intro { margin: 0 0 23px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.install-steps { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: install-step; }
.install-steps li { counter-increment: install-step; display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 10px; color: #d7d8d1; font-size: 12px; line-height: 1.45; }
.install-steps li::before { content: counter(install-step); width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: #24261f; color: var(--lime); font-size: 10px; font-weight: 850; }

@media (max-width: 1080px) {
  .browse-grid { grid-template-columns: repeat(3, 1fr); }
  .mini-player { grid-template-columns: 230px 120px 1fr 36px; }
  .hero-disc { width: 280px; height: 280px; border-width: 55px; right: 20px; top: 60px; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(150px + var(--admob-banner-height)); }
  .side-nav { display: none; }
  .main-content { margin: 0; padding: 0 17px 70px; }
  .mobile-header { height: 72px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 15; background: var(--bg); }
  .mobile-header .brand-name { font-size: 23px; }
  .welcome-row { margin: 20px 3px 22px; }
  .welcome-row h1 { font-size: 34px; max-width: 280px; }
  .welcome-row .home-account { display: none; }
  .welcome-row .market-pill { display: none; }
  .admin-upload-button { width: 46px; padding: 0; justify-content: center; }
  .admin-upload-button strong { display: none; }
  .hero-card { min-height: 530px; display: block; }
  .hero-copy { padding: 31px 27px; }
  .hero-copy h2 { font-size: 43px; letter-spacing: -2.4px; }
  .hero-art { min-height: 220px; position: absolute; left: 0; right: 0; bottom: 0; opacity: .95; }
  .hero-disc { width: 230px; height: 230px; border-width: 47px; top: 20px; right: -18px; }
  .line-one { top: 43px; }
  .line-two { bottom: 35px; left: 24px; }
  .content-section { margin-top: 44px; }
  .section-heading h2 { font-size: 21px; }
  .situation-grid { gap: 8px; margin: 0 -17px; padding: 0 17px 5px; }
  .situation-card { flex: 0 0 118px; height: 116px; padding: 13px; }
  .situation-icon { flex-basis: 36px; width: 36px; height: 36px; margin-bottom: 15px; }
  .situation-icon svg { width: 19px; height: 19px; }
  .situation-card small { display: none; }
  .section-note { display: none; }
  .carousel-button { display: none; }
  .world-grid { gap: 10px; margin: 0 -17px; padding: 0 17px 5px; }
  .world-card { flex: 0 0 78vw; min-height: 185px; }
  .world-card strong { font-size: 30px; }
  .future-grid { gap: 10px; margin: 0 -17px; padding: 0 17px 5px; }
  .future-card { flex: 0 0 172px; min-height: 180px; }
  .future-card h3 { font-size: 18px; }
  .collection-grid { display: flex; overflow-x: auto; gap: 11px; margin: 0 -17px; padding: 0 17px 5px; scrollbar-width: none; }
  .collection-card { flex: 0 0 76vw; }
  .collection-art { height: 180px; }
  .track-row { grid-template-columns: minmax(0, 1fr) 30px 32px; gap: 6px; padding: 10px 3px; }
  .track-tags { display: none; }
  .page-title { padding-top: 24px; }
  .page-title h1 { font-size: 38px; }
  .page-title p:last-child { font-size: 13px; }
  .filter-block { display: block; }
  .filter-title { display: block; margin-bottom: 9px; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 0 -17px; padding: 0 17px 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .track-card { padding: 9px; border-radius: 16px; }
  .card-play { right: 16px; top: calc(100% - 82px); width: 37px; height: 37px; }
  .preview-pill { left: 14px; top: 14px; padding: 5px 7px; font-size: 8px; }
  .library-summary { gap: 7px; }
  .library-summary div { padding: 15px 12px; }
  .library-summary strong { font-size: 25px; }
  .user-playlist-grid { grid-template-columns: 1fr; }
  .playlist-detail { padding: 15px; }
  .playlist-detail-header h3 { font-size: 20px; }
  .bottom-nav { position: fixed; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); left: 8px; right: 8px; bottom: calc(max(7px, env(safe-area-inset-bottom)) + var(--admob-banner-height)); height: 64px; padding: 6px; border: 1px solid #33342f; border-radius: 20px; background: #171815f2; backdrop-filter: blur(18px); }
  .bottom-nav .nav-item { display: grid; place-items: center; gap: 0; padding: 4px; }
  .bottom-nav .nav-item span { font-size: 20px; line-height: 1; }
  .bottom-nav .nav-item small { font-size: 9px; }
  .mini-player, html.ad-banner-visible .mini-player { left: 8px; right: 8px; bottom: calc(78px + var(--admob-banner-height)); min-height: 67px; grid-template-columns: minmax(0, 1fr) 92px 32px; gap: 8px; border-radius: 17px; padding: 8px 9px; }
  .mini-cover { width: 48px; height: 48px; }
  .mini-controls { gap: 5px; }
  .mini-controls #miniPrev { display: none; }
  .mini-controls > button:not(.play-button) { font-size: 23px; }
  .play-button { width: 39px; height: 39px; }
  .desktop-progress { display: none; }
  .player-sheet { max-height: 96vh; overflow-y: auto; padding: 18px 22px 26px; border-radius: 28px 28px 0 0; width: 100%; max-width: none; margin: auto 0 0; }
  .sheet-handle { display: block; width: 44px; height: 4px; border-radius: 4px; background: #464740; margin: -5px auto 12px; }
  .full-cover { width: min(100%, 390px); margin: 0 auto; }
  .toast { bottom: calc(154px + var(--admob-banner-height)); }
  .auth-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 29px 22px max(27px, env(safe-area-inset-bottom)); }
  .auth-dialog h2 { font-size: 28px; }
  .market-dialog { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 28px 20px max(25px, env(safe-area-inset-bottom)); }
  .market-dialog h2 { font-size: 27px; }
  .market-options { grid-template-columns: 1fr; }
  .playlist-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 29px 22px max(27px, env(safe-area-inset-bottom)); }
  .collection-dialog { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 26px 18px max(27px, env(safe-area-inset-bottom)); }
  .collection-list-hero { grid-template-columns: 92px minmax(0, 1fr); gap: 15px; padding: 7px 32px 18px 0; }
  .collection-list-art { width: 92px; height: 92px; border-radius: 18px; }
  .collection-list-art span { font-size: 33px; }
  .collection-list-copy h2 { font-size: 23px; }
  .collection-list-copy p:not(.eyebrow) { font-size: 11px; }
  .collection-play-all { width: 100%; }
  .install-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 29px 22px max(27px, env(safe-area-inset-bottom)); }
  .upload-dialog { width: 100%; max-width: none; max-height: 95dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 29px 20px max(27px, env(safe-area-inset-bottom)); }
  .admin-login-dialog { width: 100%; max-width: none; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 29px 22px max(27px, env(safe-area-inset-bottom)); }
  .auto-feature-row { grid-template-columns: repeat(2, 1fr); }
  .admin-file-drop { min-height: 205px; }
  .artist-hero { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); padding: 30px 24px; gap: 28px; }
  .artist-hero-copy h1 { margin-top: 11px; font-size: clamp(28px, 7vw, 42px); letter-spacing: -1.5px; }
  .artist-hero-copy > p:not(.eyebrow) { font-size: 12px; }
  .artist-hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .artist-signal { position: static; min-height: 150px; }
  .artist-signal span:nth-child(1), .artist-signal span:nth-child(5) { height: 44px; }
  .artist-signal span:nth-child(2), .artist-signal span:nth-child(4) { height: 92px; }
  .artist-signal span:nth-child(3) { height: 145px; }
  .artist-step-grid { display: flex; overflow-x: auto; gap: 9px; margin: 0 -17px; padding: 0 17px 5px; scrollbar-width: none; }
  .artist-step-grid article { flex: 0 0 210px; min-height: 180px; }
  .artist-revenue-card { grid-template-columns: 1fr; gap: 15px; padding: 24px; }
  .artist-revenue-card code { grid-column: auto; overflow-wrap: anywhere; }
  .artist-submission-card { grid-template-columns: 43px minmax(0, 1fr); }
  .artist-status { grid-column: 2; justify-self: start; }
  .artist-dialog { width: 100%; max-width: none; max-height: 95dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 29px 20px max(27px, env(safe-area-inset-bottom)); }
  .artist-form-grid { grid-template-columns: 1fr; }
  .artist-field-wide { grid-column: auto; }
}

@media (display-mode: standalone) {
  body { min-height: 100dvh; }
  .mobile-header { padding-top: env(safe-area-inset-top); height: calc(72px + env(safe-area-inset-top)); }
}

@media (max-width: 760px) {
  html.native-app body { min-height: 100dvh; }
  html.native-app .mobile-header { padding-top: env(safe-area-inset-top); height: calc(72px + env(safe-area-inset-top)); }
  html.native-app .main-content { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

@media (max-width: 390px) {
  .hero-copy h2 { font-size: 38px; }
  .situation-card strong { font-size: 12px; }
  .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep Korean words intact and let narrow content areas stack naturally. */
h1, h2, h3, p, .artist-step-grid strong, .artist-hero-actions { word-break: keep-all; overflow-wrap: break-word; }
.artist-card p { text-wrap: pretty; }
.artist-hero-copy { min-width: 0; }
.artist-hero-actions .primary-button { flex: 0 0 auto; max-width: 100%; white-space: nowrap; background: var(--lime); color: var(--black); padding: 15px 22px; }
#artistPage { container-type: inline-size; }
@container (max-width: 740px) {
  .artist-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 32px; gap: 24px; }
  .artist-hero-copy h1 { font-size: clamp(28px, 6cqi, 42px); }
  .artist-signal { position: static; min-height: 100px; gap: 10px; }
  .artist-signal span { width: 17px; }
  .artist-signal span:nth-child(1), .artist-signal span:nth-child(5) { height: 30px; }
  .artist-signal span:nth-child(2), .artist-signal span:nth-child(4) { height: 65px; }
  .artist-signal span:nth-child(3) { height: 100px; }
  .artist-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artist-revenue-card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px; }
}

@media (max-width: 760px) { .bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The listening app keeps its recommendation readable at every content width. */
#homePage { container-type: inline-size; }
.hero-card { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); min-height: 340px; }
.hero-copy { min-width: 0; padding: 36px; }
.hero-copy h2 { font-size: clamp(30px, 4.5cqi, 52px); line-height: 1.16; letter-spacing: -1.7px; }
.hero-copy p { line-height: 1.6; }
.hero-art { position: relative; inset: auto; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 28px; }
.hero-disc { position: static; width: 100%; max-width: 240px; height: auto; aspect-ratio: 1; border-width: 40px; }
.hero-disc::after, .hero-line, .hero-dot { display: none; }
@container (max-width: 740px) {
  .hero-card { display: block; min-height: 0; }
  .hero-copy { padding: clamp(24px, 5cqi, 36px); }
  .hero-copy h2 { font-size: clamp(28px, 6cqi, 40px); }
  .hero-art { display: none; }
}

.home-genre-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px; }
.home-genre { text-align:left; padding:20px; border:1px solid var(--line); border-radius:18px; background:var(--surface); cursor:pointer; }
.home-genre strong, .home-genre small { display:block; white-space:nowrap; }
.home-genre small { margin-top:9px; color:var(--muted); font-size:12px; }
.home-genre:hover:not(:disabled) { border-color:var(--lime); color:var(--lime); }
.home-genre:disabled { opacity:.45; cursor:default; }


/* Keep tablet controls inside their available space. */
.filter-title { flex: 0 0 38px; white-space: nowrap; word-break: keep-all; }
.chip-row { min-width: 0; flex: 1; }
.search-box input { min-width: 0; }
.card-cover .card-play { top: auto; bottom: 8px; right: 8px; z-index: 3; }
.card-cover .card-add { top: 8px; right: 8px; }
.card-cover .preview-pill { top: 8px; left: 8px; max-width: calc(100% - 52px); }
.track-card strong { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
.track-card p { line-height: 1.5; word-break: keep-all; }
.mini-player > * { min-width: 0; }
.desktop-progress { min-width: 0; }
.desktop-progress input { min-width: 0; width: 100%; }
@media (min-width: 761px) {
  .mini-player { grid-template-columns: minmax(0, 1fr) 120px minmax(80px, .7fr) 32px; gap: 10px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .mini-player { grid-template-columns: minmax(0, 1fr) 120px 32px; }
  .mini-player .desktop-progress { display: none; }
  .browse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box kbd { display: none; }
}

.sidebar-toggle { position:fixed; top:12px; left:184px; width:40px; height:40px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); color:var(--lime); z-index:50; font-size:26px; cursor:pointer; }
@media (min-width:761px) {
 html.sidebar-collapsed .side-nav { display:none; }
 html.sidebar-collapsed .main-content { margin-left:0; padding-top:70px; }
 html.sidebar-collapsed .mini-player { left:18px; }
 html.sidebar-collapsed .sidebar-toggle { left:12px; }
}
@media (max-width:760px) { .sidebar-toggle { display:none; } }

/* Tablet portrait navigation; landscape retains the collapsible sidebar. */
@media (min-width: 761px) and (orientation: portrait) {
  body { padding-bottom: calc(165px + var(--admob-banner-height) + env(safe-area-inset-bottom)); }
  .side-nav, .sidebar-toggle { display: none; }
  .main-content, html.sidebar-collapsed .main-content { margin-left: 0; padding: 0 28px 40px; max-width: none; }
  .mobile-header { display: flex; align-items: center; justify-content: space-between; position: relative; height: calc(72px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); }
  .welcome-row .home-account, .welcome-row .market-pill { display: none; }
  .bottom-nav { position: fixed; z-index: 45; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); left: 12px; right: 12px; bottom: calc(max(7px, env(safe-area-inset-bottom)) + var(--admob-banner-height)); height: 64px; padding: 6px; border: 1px solid #33342f; border-radius: 20px; background: #171815f2; backdrop-filter: blur(18px); }
  .bottom-nav .nav-item { display: grid; place-items: center; gap: 0; padding: 4px; }
  .bottom-nav .nav-item span { font-size: 20px; line-height: 1; }
  .bottom-nav .nav-item small { font-size: 11px; }
  .mini-player, html.ad-banner-visible .mini-player, html.sidebar-collapsed .mini-player { left: 12px; right: 12px; bottom: calc(max(7px, env(safe-area-inset-bottom)) + 74px + var(--admob-banner-height)); min-height: 70px; grid-template-columns: minmax(0, 1fr) 120px 32px; gap: 10px; padding: 9px 12px; }
  .desktop-progress { display: none; }
  .toast { bottom: calc(160px + var(--admob-banner-height) + env(safe-area-inset-bottom)); }
}

/* PLYVE light player: fewer surfaces, denser lists, lime only as an action color. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f0f1eb;
  --line: #dedfd7;
  --text: #11120f;
  --muted: #73766d;
  --black: #11120f;
  color-scheme: light;
}
html, body, .app-shell, .main-content { background: #ffffff; }
.side-nav { background: #fff; }
.nav-item:hover, .nav-item.active { background: #eff1e8; }
.sidebar-account:hover, .home-account:hover, .market-pill:hover { background: #f3f4ee; }
.artist-card, .sidebar-account, .home-account, .market-pill, .round-button, .profile-button { box-shadow: none; }
.eyebrow { color: #0b50f5; }
.future-section, .world-section { display: none; }
.welcome-row { margin-bottom: 22px; }
.welcome-row h1, .page-title h1 { letter-spacing: -1.7px; }
.content-section { margin-top: 34px; }

.situation-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 1px 7px;
  scrollbar-width: none;
}
.situation-grid::-webkit-scrollbar { display: none; }
.situation-card {
  flex: 0 0 auto;
  min-height: 0;
  width: 92px;
  height: 94px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.situation-card::before, .situation-card::after { display: none; }
.situation-card .situation-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0 0 8px;
  border: 1px solid #d9dbd1;
  border-radius: 50%;
  background: #fff;
  color: #11120f;
}
.situation-card .situation-icon svg { width: 20px; height: 20px; }
.situation-card strong { width: 100%; margin: 0; font-size: 12px; line-height: 1.25; white-space: normal; word-break: keep-all; }
.situation-card small { display: none; }
.situation-card:hover { transform: none; }
.situation-card:hover .situation-icon { border-color: #11120f; background: var(--lime); }

.home-genre-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.home-genre {
  width: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
}
.home-genre strong, .home-genre small { display: inline; margin: 0; font-size: 12px; }
.home-genre small { margin-left: 5px; }
.home-genre:hover:not(:disabled) { color: #11120f; border-color: #11120f; }
.home-genre:disabled { display: none; }

.track-list, .collection-track-list { border-top: 1px solid var(--line); }
.track-row {
  min-height: 62px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.track-row:hover { background: #f0f1eb; }
.track-cover { width: 42px; height: 42px; border-radius: 50%; }
.track-text strong { font-size: 13px; }
.track-text small { color: var(--muted); }
.track-action-button, .heart-button { background: transparent; }

.collection-dialog, .player-sheet, .auth-dialog, .market-dialog, .playlist-dialog,
.install-dialog, .upload-dialog, .admin-login-dialog {
  background: #fff;
  color: var(--text);
  box-shadow: 0 24px 70px #20221b26;
}
.collection-dialog::backdrop, .player-sheet::backdrop { background: #11130f55; }
.collection-list-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 4px 38px 15px 0; }
.collection-list-art { display: none; }
.collection-list-copy h2 { margin-top: 4px; font-size: 28px; }
.collection-play-all { padding: 11px 17px; }
.collection-track-list { margin-top: 14px; }

.mini-player {
  background: #fffffff5;
  border-color: #d7d9cf;
  box-shadow: 0 12px 35px #22251a1f;
}
.mini-cover { border-radius: 50%; }
.bottom-nav { background: #fffffff2 !important; border-color: #d7d9cf !important; }
.bottom-nav .nav-item.active { background: #eff1e8; }
.sidebar-toggle { background: #fff; color: #11120f; }
.toast { background: #11120f; color: #fff; }

@media (max-width: 760px), (min-width: 761px) and (orientation: portrait) {
  .main-content, html.sidebar-collapsed .main-content { background: var(--bg); }
  .content-section { margin-top: 29px; }
  .section-heading { margin-bottom: 13px; }
  .section-heading h2 { font-size: 20px; }
  .browse-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .track-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 10px 2px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  .track-card .card-cover { grid-row: 1 / span 2; width: 54px; height: 54px; aspect-ratio: 1; border-radius: 50%; }
  .track-card > strong, .track-card > p { grid-column: 2; margin: 0; }
  .track-card > strong { align-self: end; padding-right: 38px; }
  .track-card > p { align-self: start; margin-top: 4px; }
  .track-card .preview-pill { display: none; }
  .track-card .card-add { display: none; }
  .track-card .card-play { width: 32px; height: 32px; right: 11px; bottom: 11px; }
  .collection-list-hero { grid-template-columns: minmax(0, 1fr); padding-top: 4px; }
  .collection-play-all { width: auto; }
}

/* v67 · image-led mobile home */
.text-link { border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.home-feature {
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, .85fr);
  align-items: center;
  gap: 22px;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #edf3ff 0%, #dbe7ff 100%);
  box-shadow: 0 18px 42px #1b4aa510;
}
.home-feature-copy { position: relative; z-index: 2; }
.home-feature-kicker { color: var(--lime); font-size: 10px; font-weight: 850; letter-spacing: 1.5px; }
.home-feature h2 { max-width: 520px; margin: 10px 0 8px; font-size: clamp(28px, 4vw, 52px); line-height: 1.02; letter-spacing: -2px; }
.home-feature p { margin: 0 0 20px; color: #6f7787; font-size: 12px; }
.home-feature-play { border: 0; border-radius: 999px; padding: 12px 18px; background: #151822; color: #fff; font-weight: 800; cursor: pointer; }
.home-feature-art {
  justify-self: end;
  width: min(240px, 100%);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #fff !important;
  color: var(--lime) !important;
  box-shadow: 0 22px 46px #274c8b26;
  cursor: pointer;
}
.home-feature-art::before {
  content: "" !important;
  display: block !important;
  width: 48%;
  height: 48%;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: #edf3ff;
  transform: translate(-50%, -50%);
}
.home-feature-art::after {
  content: "" !important;
  display: block !important;
  width: 0;
  height: 0;
  position: absolute;
  left: 53%;
  top: 50%;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 25px solid var(--lime);
  transform: translate(-50%, -50%);
}
.home-feature-art span { position: absolute; right: 14px; bottom: 12px; color: #9da6b6; font-size: 9px; font-weight: 850; letter-spacing: 1.2px; }
.home-trending { display: flex; gap: 13px; overflow-x: auto; padding: 1px 1px 8px; scrollbar-width: none; }
.home-trending::-webkit-scrollbar { display: none; }
.home-trend-card { flex: 0 0 150px; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.home-trend-cover { width: 150px; height: 150px; position: relative; display: block; overflow: hidden; border-radius: 20px; background: #eef3ff !important; }
.home-trend-cover::before, .home-trend-cover::after { display: none !important; }
.home-trend-cover i { width: 38px; height: 38px; display: grid; place-items: center; position: absolute; right: 10px; bottom: 10px; border-radius: 50%; background: #fff; color: var(--lime); font-size: 12px; font-style: normal; box-shadow: 0 8px 20px #1f335d26; }
.home-trend-card strong { display: block; margin: 10px 2px 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.home-trend-card small { display: block; margin: 0 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 10px; }
.home-playlist-section .collection-grid { display: flex; overflow-x: auto; gap: 13px; padding: 1px 1px 8px; scrollbar-width: none; }
.home-playlist-section .collection-grid::-webkit-scrollbar { display: none; }
.home-playlist-section .collection-card { flex: 0 0 210px; border: 0; border-radius: 20px; background: transparent; }
.home-playlist-section .collection-art { height: 128px; border-radius: 20px; }
.home-playlist-section .collection-info { padding: 10px 2px 4px; }
.home-playlist-section .collection-info p { color: var(--muted); }

@media (max-width: 760px), (min-width: 761px) and (orientation: portrait) {
  .welcome-row { margin-bottom: 17px; }
  .welcome-row .eyebrow { display: none; }
  .welcome-row h1 { font-size: 25px; }
  .home-feature { min-height: 196px; grid-template-columns: minmax(0, 1.2fr) minmax(118px, .8fr); gap: 8px; padding: 21px; border-radius: 23px; }
  .home-feature h2 { margin: 8px 0 6px; font-size: 24px; letter-spacing: -1.1px; }
  .home-feature p { max-width: 210px; margin-bottom: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .home-feature-play { padding: 10px 14px; font-size: 11px; }
  .home-feature-art { width: 128px; border-radius: 21px; }
  .home-feature-art::after { border-top-width: 11px; border-bottom-width: 11px; border-left-width: 16px; }
  .home-trending-section { margin-top: 25px; }
  .home-trending { margin: 0 -20px; padding: 1px 20px 8px; }
  .home-trend-card { flex-basis: 116px; }
  .home-trend-cover { width: 116px; height: 116px; border-radius: 17px; }
  .home-playlist-section .collection-grid { margin: 0 -20px; padding: 1px 20px 8px; }
  .home-playlist-section .collection-card { flex-basis: 190px; }
  #homePage > .content-section:last-of-type { display: none; }
}

/* Blue PLYVE identity on white. */
.brand-logo { border-radius: 9px; }
.eyebrow { color: var(--lime); }
.account-avatar, .profile-button, .admin-upload-button, .chip.active,
.card-play, .playlist-play-all, .play-button, .full-controls .main-play,
.collection-play-all, .auth-submit, .playlist-create-form button,
.artist-upload-icon, .admin-file-icon, .upload-result-summary > span,
.upload-result-number, .artist-hero-actions .primary-button {
  color: #fff !important;
}
.situation-card:hover .situation-icon { border-color: var(--lime); color: #fff; }
.market-pill > span, .market-button, .install-trigger.round-button { color: var(--lime); }
.market-option.active { border-color: var(--lime); background: #edf3ff; box-shadow: 0 0 0 2px #0b50f512; }
.cover-logo { display: none; }
.bottom-nav .nav-item.active span, .nav-item.active span { color: var(--lime); }
.track-cover, .mini-cover, .card-cover, .full-cover { background: var(--cover-bg) !important; color: var(--cover-ink) !important; }
.track-cover, .mini-cover { border-radius: 10px; }
.cover-art::before, .cover-art::after { content: ""; position: absolute; display: block; color: inherit; }
.cover-variant-0::before { width: 56%; height: 56%; left: 12%; top: 14%; border: .12em solid currentColor; border-radius: 50%; }
.cover-variant-0::after { width: 20%; height: 20%; right: 12%; bottom: 12%; background: currentColor; border-radius: 50%; }
.cover-variant-1::before { width: 14%; height: 58%; left: 25%; top: 22%; border-radius: 99px; background: currentColor; box-shadow: .34em -.1em 0 -.02em currentColor, .68em .08em 0 -.03em currentColor; }
.cover-variant-1::after { width: 24%; height: 24%; right: 14%; top: 12%; border: .1em solid currentColor; border-radius: 50%; opacity: .55; }
.cover-variant-2::before { width: 64%; height: 34%; left: 18%; top: 30%; border: .12em solid currentColor; border-left: 0; border-right: 0; border-radius: 50%; transform: rotate(-18deg); }
.cover-variant-2::after { width: 18%; height: 18%; left: 18%; bottom: 13%; background: currentColor; border-radius: 4px; transform: rotate(45deg); }
.cover-variant-3::before { width: 48%; height: 48%; left: 26%; top: 20%; border-radius: 28% 72% 64% 36%; background: currentColor; transform: rotate(26deg); }
.cover-variant-3::after { width: 13%; height: 13%; right: 14%; bottom: 14%; border: .09em solid currentColor; border-radius: 50%; }
.cover-variant-4::before { width: 72%; height: 44%; left: 14%; top: 28%; border: .12em solid currentColor; border-radius: 50% 50% 45% 55%; transform: rotate(12deg); }
.cover-variant-4::after { width: 42%; height: 10%; left: 29%; top: 45%; border-radius: 99px; background: currentColor; transform: rotate(-18deg); }
.cover-variant-5::before { width: 58%; height: 58%; left: 21%; top: 20%; background: currentColor; clip-path: polygon(8% 0, 100% 50%, 8% 100%); border-radius: 14%; }
.cover-variant-5::after { width: 16%; height: 16%; left: 12%; top: 12%; background: #fff; border-radius: 50%; opacity: .75; }
.card-cover .card-play { background: #fff !important; color: var(--lime) !important; box-shadow: 0 5px 18px #001b6530; }

/* Editorial album artwork set. */
.cover-art { background-position: center !important; background-size: cover !important; background-repeat: no-repeat !important; }
.cover-art::before, .cover-art::after { display: none !important; }
.cover-variant-0 { background-image: url("assets/album-cover-0.jpg") !important; }
.cover-variant-1 { background-image: url("assets/album-cover-1.jpg") !important; }
.cover-variant-2 { background-image: url("assets/album-cover-2.jpg") !important; }
.cover-variant-3 { background-image: url("assets/album-cover-3.jpg") !important; }
.cover-variant-4 { background-image: url("assets/album-cover-4.jpg") !important; }
.cover-variant-5 { background-image: url("assets/album-cover-5.jpg") !important; }

/* Minimal playback marker instead of album artwork. */
dialog:not([open]) {
  display: none !important;
  pointer-events: none !important;
}
dialog[open] { pointer-events: auto; }
.app-shell, .main-content, .page.active { pointer-events: auto; }
html.native-app button,
html.native-app a,
html.native-app input,
html.native-app [role="button"],
html.native-app [role="tab"] { touch-action: manipulation; }
html.native-app .page {
  animation: none !important;
  transform: none !important;
}
html.native-app .page.active {
  opacity: 1 !important;
  visibility: visible !important;
}
html.native-app .bottom-nav,
html.native-app .mini-player,
html.native-app dialog {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html.native-app dialog[open] {
  position: fixed !important;
  z-index: 200 !important;
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  width: min(680px, calc(100vw - 24px)) !important;
  max-height: calc(100dvh - 28px) !important;
  margin: 0 !important;
  overflow: auto !important;
  transform: translate(-50%, -50%) !important;
  box-shadow: 0 0 0 100vmax #11130f66, 0 24px 70px #20221b35 !important;
}

.cover-art { background: #edf3ff !important; background-image: none !important; color: var(--lime) !important; }
.track-cover, .mini-cover { width: 38px; height: 38px; border-radius: 50%; }
.track-cover::before, .mini-cover::before { display: none !important; }
.track-cover::after, .mini-cover::after {
  display: block !important;
  width: 0;
  height: 0;
  inset: 50% auto auto 53%;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--lime);
  border-radius: 1px;
  background: transparent !important;
  box-shadow: none !important;
  clip-path: none !important;
  opacity: 1;
  transform: translate(-50%, -50%);
}
.track-row.playing .track-cover::after, .mini-cover.is-playing::after {
  width: 4px;
  height: 14px;
  inset: 50% auto auto 42%;
  border: 0;
  border-radius: 2px;
  background: var(--lime) !important;
  box-shadow: 7px 0 0 var(--lime) !important;
  transform: translate(-50%, -50%);
}
.card-cover::before, .card-cover::after { display: none !important; }
.full-cover::before {
  display: block !important;
  width: 88px;
  height: 88px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
}
.full-cover::after {
  display: block !important;
  width: 0;
  height: 0;
  left: calc(50% + 4px);
  top: 50%;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
  transform: translate(-50%, -50%);
}

/* v66 · PLYVE mobile editorial interface */
:root {
  --bg: #fff;
  --surface: #fff;
  --surface-2: #f4f6fb;
  --line: #e9ebf1;
  --text: #111318;
  --muted: #8b909a;
  --lime: #0b50f5;
}
body { color: var(--text); font-family: Inter, Pretendard, "Noto Sans KR", system-ui, sans-serif; }
.mobile-header { border-bottom: 0; background: #fff; }
.mobile-header .brand { gap: 9px; }
.mobile-header .brand-name { font-weight: 850; letter-spacing: -1.2px; }
.round-button { width: 38px; height: 38px; border: 0; background: #f5f6f9; }
.welcome-row h1, .page-title h1 { font-weight: 850; letter-spacing: -1.5px; }
.page-title > p:not(.eyebrow), .section-note { color: var(--muted); }
.content-section { border: 0; }

.situation-grid { gap: 17px; }
.situation-card { width: 64px; height: 88px; }
.situation-card .situation-icon {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border: 0;
  background: #f3f5fa;
  color: #171a22;
}
.situation-card strong { font-size: 11px; font-weight: 720; }
.situation-card:hover .situation-icon { border: 0; background: #eaf0ff; color: var(--lime); }

.home-genre-grid { gap: 7px; }
.home-genre { border-color: #e7e9ef; background: #fff; padding: 9px 13px; }
.home-genre:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }

.track-list, .collection-track-list { border-color: var(--line); }
.track-row { min-height: 66px; padding: 9px 3px; border-color: var(--line); }
.track-row:hover { background: #f8f9fc; }
.track-cover, .mini-cover { width: 44px; height: 44px; border-radius: 12px; background: #eef3ff !important; }
.track-text strong { font-size: 13px; font-weight: 780; }
.track-text small { font-size: 10px; color: var(--muted); }
.track-action-button, .heart-button { color: #7f8590; }

.mini-player {
  border: 1px solid #e3e6ee;
  background: #161922;
  color: #fff;
  box-shadow: 0 12px 34px #15192424;
}
.mini-meta small { color: #aeb4c0; }
.mini-player .heart-button { color: #fff; }
.mini-controls button { color: #fff; }
.mini-controls .play-button { background: #fff !important; color: #111318 !important; }

.bottom-nav {
  border: 0 !important;
  border-top: 1px solid #e9ebf1 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 -8px 24px #11131808;
}
.bottom-nav .nav-item { border-radius: 14px; color: #999ea8; }
.bottom-nav .nav-item.active { background: transparent; color: var(--lime); }
.bottom-nav .nav-item.active span { color: var(--lime); }
.bottom-nav .nav-item small { font-weight: 700; }

.player-sheet {
  width: min(430px, calc(100% - 24px));
  max-height: min(94dvh, 820px);
  padding: 18px 24px 28px;
  border: 0;
  border-radius: 32px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 90px #1a20353d;
}
.player-sheet::backdrop { background: #dfe3edb8; backdrop-filter: blur(12px); }
.sheet-handle { display: none; }
.close-player { left: 17px; right: auto; top: 13px; color: #222630; }
.now-playing-label { margin: 2px 0 18px; color: #242731; font-size: 11px; font-weight: 800; letter-spacing: 0; }
.now-playing-label::first-letter { text-transform: uppercase; }
.full-cover {
  width: min(100%, 310px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  border-radius: 26px;
  background: linear-gradient(145deg, #edf2ff, #dce7ff) !important;
  box-shadow: 0 18px 38px #24488a22;
}
.full-cover::before {
  width: 112px;
  height: 112px;
  background: #fff;
  box-shadow: 0 13px 35px #0b50f52b;
}
.full-cover::after { border-left-color: var(--lime); }
.full-meta { margin: 0 2px 16px; text-align: center; align-items: center; }
.full-meta > div { min-width: 0; flex: 1; }
.full-meta h2 { margin: 0; font-size: 24px; font-weight: 850; letter-spacing: -.8px; }
.full-meta p { margin: 6px 0 0; color: var(--muted); }
.full-meta .heart-button { width: 35px; height: 35px; }
.player-waveform { height: 34px; display: flex; align-items: center; justify-content: center; gap: 3px; margin: 0 5px 6px; overflow: hidden; }
.player-waveform i { display: block; width: 2px; height: 10px; border-radius: 9px; background: #d7dbe4; }
.player-waveform i:nth-child(3n) { height: 22px; }
.player-waveform i:nth-child(4n) { height: 15px; }
.player-waveform i:nth-child(5n) { height: 28px; background: #76839b; }
.player-waveform i:nth-child(-n+10) { background: var(--lime); }
.full-progress { accent-color: var(--lime); height: 3px; }
.time-row { color: var(--muted); font-size: 10px; }
.full-controls { margin: 13px 0 4px; }
.full-controls > button { color: #515661; }
.full-controls .main-play { width: 58px; height: 58px; background: #171a22 !important; color: #fff !important; box-shadow: 0 10px 25px #1113182b; }
.player-tabs { margin-top: 17px; border: 0; background: #f2f4f8; }
.player-tab { color: #868b95; }
.player-tab.active { background: #fff; color: #111318; box-shadow: 0 2px 8px #14182410; }
.player-panel { min-height: 90px; }
.up-next-item { border-color: var(--line); color: var(--text); }

.collection-dialog {
  width: min(680px, calc(100% - 24px));
  border: 0;
  border-radius: 30px;
  padding: 28px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 28px 90px #1a20353d;
}
.collection-list-hero { grid-template-columns: 108px minmax(0, 1fr); gap: 18px; padding: 4px 38px 20px 0; }
.collection-list-art { display: grid; width: 108px; height: 108px; border-radius: 22px; background: #e9efff; color: var(--lime); }
.collection-list-art::after { border-color: var(--lime); }
.collection-list-copy h2 { font-size: 27px; }
.collection-play-all { border-radius: 12px; background: #171a22 !important; color: #fff !important; }

@media (max-width: 760px), (min-width: 761px) and (orientation: portrait) {
  body { padding-bottom: calc(150px + var(--admob-banner-height) + env(safe-area-inset-bottom)); }
  .main-content, html.sidebar-collapsed .main-content { padding: 0 20px 36px; }
  .mobile-header { height: calc(66px + env(safe-area-inset-top)); }
  .welcome-row { margin-top: 7px; }
  .welcome-row h1 { font-size: 27px; line-height: 1.12; }
  .page-title { padding-top: 12px; }
  .bottom-nav {
    left: 0 !important;
    right: 0 !important;
    bottom: var(--admob-banner-height) !important;
    height: calc(66px + env(safe-area-inset-bottom));
    padding: 7px 24px max(7px, env(safe-area-inset-bottom));
  }
  .mini-player, html.ad-banner-visible .mini-player, html.sidebar-collapsed .mini-player {
    left: 12px;
    right: 12px;
    bottom: calc(76px + var(--admob-banner-height) + env(safe-area-inset-bottom));
    min-height: 64px;
    border-radius: 18px;
    padding: 8px 10px;
  }
  .player-sheet { width: 100%; max-height: 100dvh; border-radius: 0; padding: 16px 24px 25px; }
  .full-cover { width: min(78vw, 330px); border-radius: 24px; }
  .collection-dialog { width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; padding: 24px 20px max(25px, env(safe-area-inset-bottom)); }
  .collection-list-hero { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; }
  .collection-list-art { width: 86px; height: 86px; border-radius: 18px; }
  .browse-grid { border-color: var(--line); }
  .track-card { border-color: var(--line); }
  .track-card .card-cover { border-radius: 12px; background: #eef3ff !important; }
}

