@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#101018;--panel:#191923;--panel2:#20202c;--muted:#9696a8;--text:#f5f4fb;--accent:#b6f36a;--line:#2b2b38}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif}.app-shell{display:flex;min-height:calc(100vh - 100px)}.sidebar{width:238px;background:#14141d;border-right:1px solid var(--line);padding:27px 18px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-family:Manrope,sans-serif;font-size:17px;font-weight:600;letter-spacing:.4px}.brand b,.mobile-brand b{color:var(--accent)}.brand small{display:block;color:var(--muted);font:9px 'DM Sans';letter-spacing:2px;margin-top:3px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--accent);color:#141414;border-radius:13px;font-weight:800;font-size:17px}.nav-label,.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:700}.nav-label{margin:48px 10px 14px}.nav-item{width:100%;border:0;background:none;color:#aaaaba;text-align:left;padding:13px 12px;border-radius:10px;display:flex;align-items:center;gap:13px;font-size:15px;cursor:pointer;margin:3px 0}.nav-item span{font-size:13px}.nav-item:hover,.nav-item.active{background:#252630;color:var(--accent)}.sidebar-bottom{margin-top:auto}.private-badge{font-size:10px;letter-spacing:1.3px;color:#c9e9a5;padding:10px 12px;margin-bottom:12px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:8px;box-shadow:0 0 10px var(--accent)}.side-note{font-size:11px;color:#6f6f80;padding:8px 12px;line-height:1.6}.main{flex:1;min-width:0;padding:0 42px 130px}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;gap:20px}.search{width:min(440px,70%);height:43px;background:var(--panel);border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;padding:0 14px;gap:10px;color:var(--muted)}.search span{font-size:25px}.search input{background:none;border:0;outline:0;color:var(--text);width:100%;font:13px 'DM Sans'}.avatar{width:38px;height:38px;border-radius:50%;border:1px solid #4d593c;background:#293321;color:var(--accent);font-weight:800;cursor:pointer}.mobile-brand{display:none}.view{display:none}.view.active{display:block}.hero{min-height:300px;border:1px solid #333344;border-radius:22px;overflow:hidden;background:radial-gradient(circle at 75% 50%,#35412b 0,#252a2a 27%,#20202c 57%,#1b1b27 100%);display:flex;align-items:center;justify-content:space-between;padding:38px 6%;position:relative}.hero-copy{max-width:490px;position:relative;z-index:1}.hero h1,.page-heading h1{font:800 clamp(32px,4vw,51px)/1.12 Manrope,sans-serif;letter-spacing:-2px;margin:15px 0}.hero h1 em{color:var(--accent);font-style:normal}.hero p,.page-heading p{color:#b4b4c1;line-height:1.7;font-size:14px;max-width:420px}.primary-btn,.outline-btn,.upload-btn{border:0;border-radius:9px;background:var(--accent);color:#171a12;padding:13px 17px;font-weight:700;font-size:12px;cursor:pointer;margin-top:16px}.primary-btn span{margin-left:20px}.hero-art{width:220px;height:220px;position:relative;display:grid;place-items:center;flex-shrink:0}.vinyl{width:195px;height:195px;border-radius:50%;background:repeating-radial-gradient(circle,#111 0 3px,#292934 4px 5px);display:grid;place-items:center;box-shadow:0 15px 45px #0008}.vinyl div{width:65px;height:65px;border-radius:50%;background:var(--accent);border:10px solid #25252d}.art-caption{position:absolute;right:-8px;bottom:5px;font:800 10px/1.5 Manrope;letter-spacing:2px;color:#e8f7d7;transform:rotate(-8deg)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:43px 0 17px}.section-heading h2,.page-heading h1{font-family:Manrope;margin:7px 0 0}.section-heading h2{font-size:23px}.text-btn{border:0;background:none;color:var(--accent);cursor:pointer}.empty-state{min-height:220px;border:1px dashed #3a3a49;border-radius:16px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;color:var(--muted)}.empty-icon{font-size:30px;color:var(--accent);width:58px;height:58px;display:grid;place-items:center;background:#292e24;border-radius:17px;margin-bottom:8px}.empty-state h3{color:var(--text);font:700 16px Manrope;margin:8px}.empty-state p{font-size:12px;max-width:400px;line-height:1.6;margin:4px}.outline-btn{background:transparent;border:1px solid #596647;color:var(--accent);margin-top:15px}.page-heading{padding:34px 0 23px}.page-heading h1{font-size:38px}.toolbar{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;margin-bottom:18px}.upload-btn{margin:0;display:inline-block}.upload-btn input{display:none}.track-list{display:grid;gap:5px}.track-row{display:grid;grid-template-columns:38px 1fr auto auto;gap:13px;align-items:center;padding:9px 12px;border-radius:10px}.track-row:hover{background:var(--panel)}.track-number{color:var(--muted);font-size:12px}.track-meta b{display:block;font-size:13px}.track-meta span{font-size:11px;color:var(--muted)}.track-play,.heart{border:0;background:none;color:var(--muted);font-size:16px;cursor:pointer}.track-play:hover,.heart:hover{color:var(--accent)}.duration-label{font-size:11px;color:var(--muted)}.device-card{display:flex;gap:17px;padding:24px;border:1px solid var(--line);border-radius:15px;background:var(--panel);max-width:760px}.device-icon{width:48px;height:48px;border-radius:13px;background:#2a3024;color:var(--accent);display:grid;place-items:center;font-size:23px;flex-shrink:0}.device-card h3{margin:2px 0 8px;font:700 15px Manrope}.device-card p,.security-note{font-size:12px;line-height:1.7;color:var(--muted)}.security-note{margin-top:17px;padding:17px;border-left:2px solid var(--accent);background:#191922;max-width:760px}.security-note b{color:var(--text)}.player{height:100px;position:fixed;bottom:0;left:0;right:0;background:#171720;border-top:1px solid #333341;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,1.2fr) auto auto;align-items:center;padding:12px 25px;gap:16px}
.player-more-wrap{grid-column:4;grid-row:1;justify-self:end}
.player > .volume-control{grid-column:3;grid-row:1;justify-self:end}
.now-playing{display:flex;align-items:center;gap:12px;min-width:0}.cover{width:52px;height:52px;border-radius:9px;background:linear-gradient(135deg,#38472c,#252532);display:grid;place-items:center;color:var(--accent);font-size:22px;flex-shrink:0}.now-playing b,.now-playing span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.now-playing b{font-size:12px}.now-playing span{font-size:10px;color:var(--muted);margin-top:5px}.heart{font-size:21px;margin-left:5px}.player-controls{max-width:520px;width:100%;justify-self:center}.buttons{display:flex;align-items:center;justify-content:center;gap:20px}.buttons button{background:none;border:0;color:#c8c8d1;cursor:pointer;font-size:13px}.buttons .play-button{width:33px;height:33px;border-radius:50%;background:var(--accent);color:#151712;font-size:12px}.timeline{display:flex;align-items:center;gap:9px;margin-top:7px;color:var(--muted);font-size:9px}.timeline input,.volume-control input{width:100%;accent-color:var(--accent);height:3px;cursor:pointer}.volume-control{display:flex;align-items:center;gap:12px;max-width:150px;justify-self:end;color:var(--muted)}@media(max-width:760px){.sidebar{display:none}.main{padding:0 17px 125px}.topbar{height:70px}.mobile-brand{display:block;font:700 15px Manrope}.search{width:auto;flex:1}.hero{min-height:280px;padding:28px 22px}.hero-art{position:absolute;right:-65px;opacity:.35}.hero-copy{max-width:100%}.hero h1{font-size:37px}.player{grid-template-columns:1fr 1fr;padding:10px 14px;height:92px;gap:8px}.volume-control{display:none}.player-controls{grid-column:2;grid-row:1}.now-playing{grid-column:1;grid-row:1}.cover{width:42px;height:42px}.now-playing b,.now-playing span{max-width:115px}.heart{display:none}.timeline{gap:5px}.buttons{gap:13px}.page-heading h1{font-size:32px}}

.developer-credit{padding:25px 0 18px;text-align:center;color:#777789;font-size:10px;letter-spacing:1.2px}.developer-credit strong{color:var(--accent);font-weight:700}


/* FX MUSIC - private owner login */
.login-screen{display:none;position:fixed;inset:0;z-index:100;background:radial-gradient(circle at 50% 35%,#293020,#111119 65%);align-items:center;justify-content:center;padding:22px}
body:not(.authenticated) .login-screen{display:flex}
body:not(.authenticated) .app-shell,body:not(.authenticated) .player{display:none!important}
.login-card{width:min(100%,410px);padding:38px;background:#191922;border:1px solid #393947;border-radius:20px;box-shadow:0 25px 80px #0008;display:flex;flex-direction:column}
.login-logo{font:800 25px Manrope,sans-serif;margin-bottom:35px;color:#f3f3f5}
.login-logo b{color:var(--accent)}
.login-card h1{font:800 32px Manrope,sans-serif;margin:12px 0 5px}
.login-card>p:not(.login-error){font-size:13px;color:var(--muted);margin:5px 0 25px}
.login-card label{font-size:12px;color:#c8c8d1;margin:13px 0 7px}
.login-card input{height:46px;border:1px solid #393947;border-radius:9px;background:#111119;color:white;padding:0 13px;outline:none}
.login-card input:focus{border-color:var(--accent)}
.login-card button{height:46px;border:0;border-radius:9px;background:var(--accent);color:#171a12;font-weight:800;cursor:pointer;margin-top:12px}
.login-card button:disabled{opacity:.6;cursor:wait}
.login-card small{text-align:center;color:var(--muted);font-size:9px;letter-spacing:1.2px;margin-top:23px}
.login-error{color:#ff8585;font-size:12px;min-height:16px;margin:10px 0 0}

/* FX MUSIC registration */
.login-card[hidden] {
  display: none !important;
}

.login-card {
  width: min(100%, 420px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px;
  border: 1px solid #383847;
  border-radius: 20px;
  background: #1b1b27;
  color: #eee;
  box-shadow: 0 25px 80px #0008;
}

.login-card h1 {
  font-size: 30px;
  margin: 14px 0 8px;
}

.login-card > p {
  color: #aaaaba;
  font-size: 13px;
  line-height: 1.6;
}

.login-card label {
  display: block;
  margin: 17px 0 7px;
  font-size: 12px;
  color: #c9c9d2;
}

.login-card input {
  width: 100%;
  padding: 13px;
  border: 1px solid #393947;
  border-radius: 9px;
  background: #12121b;
  color: white;
  outline: none;
}

.login-card input:focus {
  border-color: var(--accent);
}

.login-card > button[type="submit"] {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #171a12;
  font-weight: 800;
  cursor: pointer;
}

.login-card button:disabled {
  opacity: .6;
  cursor: wait;
}

.login-card .auth-switch {
  text-align: center;
  margin: 20px 0;
}

.auth-switch button {
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.login-card small {
  display: block;
  margin-top: 20px;
  text-align: center;
  color: #777787;
  font-size: 9px;
  letter-spacing: 1px;
}

.login-error {
  color: #ff8585;
  font-size: 12px;
  line-height: 1.6;
}

/* Fix registration success message spacing */
#registerMessage {
  display: block;
  position: static;
  min-height: 0;
  height: auto;
  margin: 14px 0 16px;
  padding: 0;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: anywhere;
}

#registerSubmit {
  display: block;
  position: static;
  width: 100%;
  margin: 8px 0 16px;
  clear: both;
}

#registerForm {
  gap: 0;
}

/* FX MUSIC Admin Dashboard */
.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}
.admin-summary > div,
.admin-user-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
}
.admin-summary > div {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-summary b { font-size: 26px; }
.admin-summary span,
.admin-user-info small { color: var(--muted, #aaa); font-size: 12px; }
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-toolbar h2 { margin: 0; font-size: 20px; }
.admin-users { display: grid; gap: 12px; }
.admin-user-card {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.admin-user-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.admin-user-info > b { overflow-wrap: anywhere; }
.admin-status {
  width: fit-content;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  background: rgba(255,255,255,.08);
}
.status-approved { color: #a9e8b7; }
.status-pending { color: #f2d18b; }
.status-rejected { color: #ff9b9b; }
.status-suspended { color: #d3aaff; }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.admin-action {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  background: rgba(255,255,255,.07);
  cursor: pointer;
}
.admin-action.approve { background: rgba(55,145,91,.22); }
.admin-action.reject { background: rgba(180,65,65,.2); }
.admin-action.suspend { background: rgba(140,95,175,.2); }
.admin-action:disabled { opacity: .5; cursor: wait; }
.admin-message { min-height: 20px; margin: 8px 0 14px; color: #a9e8b7; }
.admin-message.error { color: #ff9b9b; }
.admin-loading { color: var(--muted, #aaa); padding: 20px 0; }
@media (max-width: 700px) {
  .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-user-card { align-items: stretch; flex-direction: column; }
  .admin-actions { justify-content: flex-start; }
}


/* FX MUSIC playback mode controls */
.player .mode-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary, inherit);
  border-radius: 10px;
  min-width: 36px;
  min-height: 34px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.player .mode-button:hover {
  background: rgba(255,255,255,.08);
}

.player .mode-button.active {
  color: var(--accent, #8b7cff);
  border-color: currentColor;
  background: rgba(139,124,255,.12);
}


/* PLAYLIST LOKAL */
.playlist-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 20px;color:var(--muted);font-size:11px;letter-spacing:1px}
.playlist-toolbar .primary-btn{margin:0}
.playlist-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin-bottom:22px}
.playlist-card{display:flex;align-items:center;gap:13px;text-align:left;padding:15px;background:var(--panel);border:1px solid var(--line);border-radius:13px;color:var(--text);cursor:pointer}
.playlist-card.selected{border-color:var(--accent);background:#292e24}
.playlist-card-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:10px;background:#30352a;color:var(--accent);font-size:20px}
.playlist-card b,.playlist-card small{display:block}
.playlist-card b{font-size:13px}
.playlist-card small{font-size:10px;color:var(--muted);margin-top:5px}
.playlist-detail{padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:15px;min-height:100px}
.playlist-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.playlist-detail-heading h2{font:700 21px Manrope;margin:7px 0}
.playlist-detail-heading .outline-btn{margin:0}
.playlist-add-btn,.playlist-remove-btn{border:0;background:transparent;color:var(--accent);font-size:17px;cursor:pointer;padding:6px 9px}
.playlist-remove-btn{color:#e58b8b;font-size:21px}
.playlist-hint{font-size:11px;color:var(--muted);line-height:1.7;margin-top:15px}
@media(max-width:600px){.playlist-detail-heading{align-items:flex-start;flex-direction:column}.playlist-toolbar{align-items:flex-start}}

/* PENYEMPURNAAN UI PLAYLIST */
.playlist-card-wrap{position:relative;display:flex;align-items:stretch;gap:5px}
.playlist-card-wrap .playlist-card{flex:1;min-width:0;padding-right:10px}
.playlist-card-add{width:44px;flex-shrink:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--accent);font-size:23px;cursor:pointer}
.playlist-card-add:hover,.playlist-add-btn:hover{background:var(--accent);color:#171912}
.playlist-detail-actions{display:flex;gap:8px;flex-wrap:wrap}
.playlist-detail-actions .outline-btn{margin:0}
.playlist-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:45px 15px}
.playlist-empty-icon{width:65px;height:65px;display:grid;place-items:center;border-radius:50%;background:#30352a;color:var(--accent);font-size:29px;margin-bottom:13px}
.playlist-empty h3{margin:0 0 7px;font-size:17px}
.playlist-empty p{color:var(--muted);font-size:12px;margin:0 0 17px}
.playlist-empty .primary-btn{margin:0}
.playlist-picker{padding:15px;margin:12px 0 18px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
.playlist-picker h3{font-size:14px;margin:0 0 12px}
.playlist-picker-close{margin-top:12px}
@media(max-width:600px){.playlist-detail-actions{width:100%}.playlist-detail-actions button{flex:1}}

/* MENU AKSI LAGU PLAYLIST */
.playlist-track-row{grid-template-columns:38px minmax(0,1fr) auto}
.playlist-track-title{display:block;padding:0;border:0;background:none;color:var(--text);text-align:left;cursor:pointer;font:inherit}
.playlist-track-title:hover b{color:var(--accent)}
.track-menu-wrap{position:relative}
.track-menu-trigger{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--text);font-size:22px;cursor:pointer}
.track-action-menu{position:absolute;right:0;top:40px;z-index:20;min-width:205px;padding:6px;background:#22222d;border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px #0008}
.track-action-menu[hidden]{display:none}
.track-action-menu button{display:block;width:100%;padding:10px;border:0;border-radius:6px;background:none;color:var(--text);text-align:left;font-size:12px;cursor:pointer}
.track-action-menu button:hover{background:#343443;color:var(--accent)}
.track-action-menu .danger-action,.danger-action{color:#e58b8b}
.playlist-track-check{width:17px;height:17px;accent-color:var(--accent);cursor:pointer}


/* FX MUSIC: Equalizer dan panel lirik */
.fx-audio-tools{margin:38px 0 28px}
.fx-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fx-tool-card{min-width:0;padding:20px;background:var(--panel);border:1px solid var(--line);border-radius:16px}
.fx-tool-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.fx-tool-heading h3{font:700 18px Manrope;margin:6px 0 0}
.fx-switch{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}
.fx-switch input{accent-color:var(--accent)}
.fx-field{display:grid;gap:8px;margin:12px 0;color:var(--muted);font-size:11px}
.fx-field select,.fx-field textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);font:inherit}
.fx-field textarea{resize:vertical;line-height:1.6}
.fx-eq-sliders{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;min-height:155px;align-items:end;padding:15px 7px;background:var(--bg);border-radius:10px}
.fx-eq-band{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;height:130px}
.fx-eq-band input{width:110px;height:22px;transform:rotate(-90deg);transform-origin:center;width:100px;margin:42px -38px 25px}
.fx-eq-band span{font-size:9px;color:var(--accent);white-space:nowrap}
.fx-eq-band small{font-size:9px;color:var(--muted)}
.fx-tool-note{font-size:10px;line-height:1.6;color:var(--muted);margin:12px 0 0}
@media(max-width:900px){.fx-tool-grid{grid-template-columns:1fr}}
@media(max-width:600px){.fx-tool-card{padding:14px}.fx-eq-sliders{gap:3px;padding:12px 3px}.fx-eq-band input{width:78px;margin-left:-28px;margin-right:-28px}.fx-eq-band small{font-size:8px}}


/* Judul lagu dapat diklik untuk memutar */
.track-meta[data-play] { cursor: pointer; }
.track-meta[data-play]:focus-visible {
  outline: 2px solid var(--accent, currentColor);
  outline-offset: 4px;
  border-radius: 4px;
}


/* Playlist picker: daftar rapi dan pemilihan banyak lagu */
.playlist-bulk-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  max-height: 380px;
  overflow-y: auto;
}

.playlist-bulk-row {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
}

.playlist-bulk-row:hover {
  border-color: var(--accent);
}

.playlist-bulk-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--accent);
}

.playlist-bulk-info {
  display: block;
  min-width: 0;
  flex: 1;
}

.playlist-bulk-info b,
.playlist-bulk-info small {
  display: block;
  overflow-wrap: anywhere;
}

.playlist-bulk-info b {
  font-size: 13px;
  line-height: 1.5;
}

.playlist-bulk-info small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.playlist-bulk-add {
  margin: 8px 0 0;
}

.playlist-picker .track-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.playlist-picker .track-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}


/* Album & Artist collection */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  margin: 12px 0 35px;
}

.album-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  transition: transform .2s ease, border-color .2s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.album-art {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 19px;
  overflow: hidden;
  position: relative;
  color: #fff;
}

.album-art::after {
  content: "♫";
  position: absolute;
  right: 12px;
  bottom: -35px;
  font-size: 150px;
  line-height: 1;
  opacity: .13;
}

.album-art-mark {
  font: 800 12px Manrope, sans-serif;
  letter-spacing: 3px;
}

.album-art strong {
  font: 800 clamp(42px, 7vw, 65px)/1 Manrope, sans-serif;
  z-index: 1;
  overflow-wrap: anywhere;
}

.album-art small {
  font-size: 9px;
  letter-spacing: 2px;
  z-index: 1;
}

.album-art-one { background: linear-gradient(145deg, #596b43, #202b35); }
.album-art-two { background: linear-gradient(145deg, #754c69, #24233b); }
.album-art-three { background: linear-gradient(145deg, #376c79, #202535); }
.album-art-four { background: linear-gradient(145deg, #986a3e, #392c35); }
.album-art-five { background: linear-gradient(145deg, #55518b, #25243b); }
.album-art-six { background: linear-gradient(145deg, #59715d, #303344); }

.album-card-info {
  padding: 14px;
}

.album-card-info h3 {
  margin: 0;
  font: 700 15px Manrope, sans-serif;
  overflow-wrap: anywhere;
}

.album-card-info p {
  color: var(--muted);
  font-size: 11px;
  margin: 7px 0 0;
}

.album-play {
  width: 100%;
  margin-top: 13px;
}

@media(max-width: 600px) {
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .album-card-info { padding: 10px; }
  .album-card-info h3 { font-size: 13px; }
  .album-art { padding: 12px; }
}


/* CUSTOM ALBUM COVER */
.album-art {
  isolation: isolate;
}

.album-custom-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.album-cover-button {
  width: 100%;
  margin-top: 12px;
}



/* MOBILE NAVIGATION MENU */
.mobile-menu-toggle,
.mobile-nav-menu {
  display: none;
}

@media (max-width: 760px) {
  .topbar {
    position: relative;
    z-index: 20;
    gap: 10px;
  }

  .mobile-menu-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--accent);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    order: 3;
  }

  .mobile-nav-menu:not([hidden]) {
    display: grid;
    position: absolute;
    top: 60px;
    right: 0;
    width: min(235px, calc(100vw - 34px));
    padding: 9px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #191923;
    box-shadow: 0 16px 38px #0009;
    z-index: 50;
  }

  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 12px 13px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #c8c8d1;
    text-align: left;
    font: 14px 'DM Sans', sans-serif;
    cursor: pointer;
  }

  .mobile-nav-item span {
    font-size: 13px;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item.active {
    background: #252630;
    color: var(--accent);
  }

  .mobile-brand {
    order: 1;
    white-space: nowrap;
  }

  .topbar .search {
    order: 2;
    min-width: 0;
  }

  .topbar .avatar {
    display: none;
  }
}


/* MOBILE PLAYER - TWO ROW LAYOUT */
@media (max-width: 760px) {
  .player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 132px;
    min-height: 132px;
    padding: 10px 15px calc(10px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 48px 58px;
    gap: 5px;
    z-index: 100;
    background: #171720;
  }

  .now-playing {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    width: 100%;
    gap: 11px;
  }

  .cover {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .now-playing > div:nth-child(2) {
    min-width: 0;
    flex: 1;
  }

  .now-playing b,
  .now-playing span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .now-playing b {
    font-size: 12px;
  }

  .now-playing span {
    font-size: 10px;
  }

  .player-controls {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }

  .buttons {
    justify-content: center;
    gap: clamp(15px, 6vw, 28px);
  }

  .buttons button {
    font-size: 14px;
  }

  .buttons .play-button {
    width: 34px;
    height: 34px;
  }

  .timeline {
    margin-top: 5px;
    gap: 8px;
    font-size: 9px;
  }

  .volume-control,
  .now-playing .heart {
    display: none;
  }

  .main {
    padding-bottom: 155px;
  }
}


/* FX MUSIC - QUEUE */
.queue-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:18px 0;
  flex-wrap:wrap;
}
.queue-actions {
  display:flex;
  align-items:center;
  gap:6px;
}
.queue-action, .queue-add-btn {
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:inherit;
  border-radius:9px;
  min-width:32px;
  min-height:32px;
  cursor:pointer;
}
.queue-action:disabled {
  opacity:.3;
  cursor:not-allowed;
}
.queue-add-btn {
  color:#b9a5ff;
  font-size:18px;
  font-weight:700;
}
.queue-action:hover:not(:disabled), .queue-add-btn:hover {
  background:rgba(160,130,255,.2);
}
@media(max-width:760px) {
  .queue-toolbar { align-items:stretch; }
  .queue-toolbar > button { width:100%; }
  .queue-row { gap:8px; }
  .queue-actions { gap:4px; }
  .queue-action { min-width:30px; min-height:34px; }
  .queue-add-btn { min-width:30px; min-height:34px; }
}


/* FX MUSIC - MENU TIGA TITIK PEMUTAR */
.player-more-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.player-more-button {
  width: 36px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #242430;
  color: var(--text);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.player-more-button:hover,
.player-more-button[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent);
}

.player-more-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 220px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #20202b;
  box-shadow: 0 12px 35px #0009;
  z-index: 30;
}

.player-more-menu[hidden] {
  display: none;
}

.player-more-menu button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: 12px 'DM Sans', sans-serif;
  cursor: pointer;
}

.player-more-menu button:hover {
  background: #30303d;
  color: var(--accent);
}

.player-more-menu button span {
  flex: 1;
}

@media (max-width: 760px) {
  .player-more-wrap {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin-right: 2px;
  }

  .player-more-button {
    width: 34px;
    height: 32px;
  }

  .player-more-menu {
    bottom: calc(100% + 9px);
  }
}

/* Equalizer hanya tampil setelah dipilih dari menu pemutar */
#audioTools[hidden] {
  display: none !important;
}


/* RIWAYAT PEMUTARAN */
.history-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: 8px;
}
.history-remove:hover {
  color: #ff7777;
  background: #ff77771a;
}
.history-row {
  grid-template-columns: 38px 1fr auto auto;
}


/* TOMBOL HAPUS LAGU ADMIN */
.admin-song-delete {
  border: 1px solid #d85b5b66;
  background: #d85b5b12;
  color: #e47777;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.admin-song-delete:hover {
  background: #d85b5b24;
}


/* TOMBOL EDIT LAGU ADMIN */
.admin-song-edit {
  border: 1px solid #5b9bd866;
  background: #5b9bd812;
  color: #78b8f0;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.admin-song-edit:hover {
  background: #5b9bd824;
}


/* FX MUSIC PREMIUM - NOW PLAYING */
.now-expand-button {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #242430;
  color: var(--muted);
  cursor: pointer;
}
.now-expand-button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.now-playing-overlay[hidden] { display: none !important; }
.now-playing-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.now-playing-backdrop {
  position: absolute;
  inset: 0;
  background: #090910eF;
  backdrop-filter: blur(14px);
}
.now-playing-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid #3a3a49;
  border-radius: 25px;
  background: linear-gradient(155deg, #252535, #15151f 75%);
  box-shadow: 0 25px 90px #000b;
  text-align: center;
}
.now-playing-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff08;
  color: var(--text);
  font-size: 25px;
  cursor: pointer;
}
.now-playing-panel > .eyebrow {
  margin: 8px 0 24px;
}
.now-playing-large-cover {
  width: min(65vw, 280px);
  aspect-ratio: 1;
  margin: 0 auto 25px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ffffff18;
  border-radius: 22px;
  background: linear-gradient(135deg, #38472c, #252532);
  color: var(--accent);
  font-size: 76px;
  box-shadow: 0 20px 55px #0008;
}
.now-playing-large-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.now-playing-large-meta h2 {
  margin: 0;
  font: 800 23px/1.3 Manrope, sans-serif;
  overflow-wrap: anywhere;
}
.now-playing-large-meta p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.now-playing-large-heart {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 27px;
  cursor: pointer;
}
.now-playing-large-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 20px;
  color: var(--muted);
  font-size: 10px;
}
.now-playing-large-timeline input {
  flex: 1;
  min-width: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.now-playing-large-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.now-playing-large-controls button {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 21px;
  cursor: pointer;
}
.now-playing-large-controls .large-play-button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #151712;
  font-size: 20px;
}
.now-playing-caption {
  margin: 25px 0 0;
  color: #777789;
  font-size: 9px;
  letter-spacing: 1.7px;
}
@media (max-width: 480px) {
  .now-playing-panel { padding: 25px 20px; }
  .now-playing-large-cover { width: min(62vw, 240px); }
  .now-playing-large-meta h2 { font-size: 19px; }
}


/* FX MUSIC - VOLUME POPOVER */
.volume-control {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: end;
  max-width: none;
  gap: 0;
}
.volume-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #242430;
  color: var(--text);
  font-size: 19px;
  cursor: pointer;
  transition: .2s ease;
}
.volume-toggle:hover,
.volume-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: #2b3225;
}
.volume-popover[hidden] {
  display: none !important;
}
.volume-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 13px);
  width: 190px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #414151;
  border-radius: 14px;
  background: #20202c;
  box-shadow: 0 12px 35px #0009;
  z-index: 30;
}
.volume-popover span {
  min-width: 35px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.volume-popover input {
  width: 100%;
  min-width: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
@media (max-width: 760px) {
  .volume-control {
    display: flex !important;
    position: absolute;
    right: 48px;
    bottom: 13px;
    z-index: 12;
  }
  .volume-toggle {
    width: 34px;
    height: 32px;
    border-radius: 9px;
    font-size: 16px;
  }
  .volume-popover {
    right: -48px;
    bottom: calc(100% + 12px);
    width: 180px;
  }
}


/* MOBILE PLAYER: kontrol, volume, dan menu dalam satu baris */
@media (max-width: 760px) {
  .player {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
  }

  .player-controls {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0;
  }

  .volume-control {
    position: relative !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    right: auto !important;
    bottom: auto !important;
    align-self: center;
    justify-self: center;
    margin: 0 5px;
  }

  .player-more-wrap {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-self: center;
    justify-self: end;
    margin: 0 !important;
  }
}


/* FX MUSIC PREMIUM - ROTATING VINYL */
.now-playing-large-cover {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.now-vinyl-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    repeating-radial-gradient(circle,
      #17171c 0 2px,
      #292932 3px 4px,
      #101015 5px 6px);
  border: 5px solid #30303a;
  box-shadow: 0 18px 45px #000a, inset 0 0 18px #000;
  animation: fxVinylSpin var(--fx-vinyl-duration, 5s) linear infinite;
  animation-play-state: paused;
}

.now-playing-large-cover.is-playing .now-vinyl-disc {
  animation-play-state: running;
}

.now-vinyl-label {
  width: 39%;
  height: 39%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--accent);
  border: 5px solid #181820;
  color: #171a12;
  font: 800 24px Manrope, sans-serif;
  box-shadow: 0 0 0 3px #555;
}

.now-vinyl-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fxVinylSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .now-vinyl-disc {
    animation: none !important;
  }
}



/* FX MUSIC — NOW PLAYING PRO */
.now-playing-overlay {
  padding: 18px;
}
.now-playing-backdrop {
  background:
    radial-gradient(ellipse at 50% 20%, #8fcf3b26, transparent 48%),
    linear-gradient(145deg, #08090df2, #11111df5 65%, #08090df5);
  backdrop-filter: blur(22px);
}
.now-playing-panel {
  width: min(100%, 560px);
  padding: 34px clamp(22px, 5vw, 48px);
  border: 1px solid #ffffff20;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 0%, #b2f35b18, transparent 48%),
    linear-gradient(145deg, #252a30f5, #151720f7 62%, #10121af7);
  box-shadow: 0 30px 100px #000c, inset 0 1px #ffffff12;
  animation: fxNowEnter .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes fxNowEnter {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.now-playing-panel > .eyebrow {
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 800;
}
.now-playing-large-cover {
  width: min(62vw, 300px);
  margin-bottom: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, #303b2c, #151820 70%);
  box-shadow: 0 0 0 1px #ffffff20, 0 0 45px #a9f45b22, 0 24px 65px #000b;
}
.now-playing-large-cover .now-vinyl-disc {
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #ffffff20, 0 0 0 7px #08090d;
}
.now-playing-large-cover .now-vinyl-label {
  box-shadow: 0 0 0 5px #11151b, 0 0 0 6px #ffffff35;
}
.now-playing-large-meta h2 {
  font-size: clamp(22px, 4vw, 29px);
  letter-spacing: -.7px;
}
.now-playing-large-meta p {
  font-size: 14px;
}
.now-playing-large-heart {
  width: 46px;
  height: 42px;
  border: 1px solid #ffffff20;
  border-radius: 15px;
  background: #ffffff0a;
}
.now-playing-large-timeline {
  margin: 27px 0 24px;
  font-variant-numeric: tabular-nums;
}
.now-playing-large-timeline input {
  accent-color: var(--accent);
}
.now-playing-large-controls {
  gap: 38px;
}
.now-playing-large-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform .2s, background .2s, color .2s;
}
.now-playing-large-controls button:hover {
  transform: scale(1.12);
  background: #ffffff12;
  color: var(--accent);
}
.now-playing-large-controls .large-play-button {
  width: 68px;
  height: 68px;
  box-shadow: 0 0 30px #a9f45b35;
}
.now-playing-close {
  background: #ffffff0c;
  backdrop-filter: blur(8px);
  transition: .2s;
}
.now-playing-close:hover {
  background: #ffffff20;
  transform: rotate(90deg);
}

/* FX MUSIC — LIVE AUDIO REACTIVE VISUALIZER */
.now-playing-visualizer {
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 0 auto 18px;
}

.now-playing-visualizer i {
  display: block;
  width: 4px;
  height: 5px;
  flex: 0 0 4px;
  border-radius: 8px;
  background: linear-gradient(to top, var(--accent), #f5fff0);
  opacity: .45;
  transform: scaleY(var(--level, 1));
  transform-origin: center;
  transition: transform .075s linear, opacity .12s linear;
}

.now-playing-large-cover.is-playing ~ .now-playing-visualizer i {
  opacity: 1;
  box-shadow: 0 0 9px #a7e66b66;
}

@media (max-width: 480px) {
  .now-playing-panel {
    padding: 28px 20px;
    border-radius: 25px;
  }
  .now-playing-large-cover { width: min(58vw, 240px); }
  .now-playing-large-controls { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .now-playing-panel,
  .now-playing-visualizer i {
    animation: none !important;
  }
}



/* FX MUSIC — AUTOMATIC LYRICS */
.now-playing-tabs {
  display:flex;
  justify-content:center;
  gap:8px;
  margin:-8px 0 22px;
}
.now-tab {
  border:1px solid #ffffff20;
  border-radius:20px;
  padding:8px 20px;
  color:var(--muted);
  background:#ffffff08;
  cursor:pointer;
  font-weight:700;
}
.now-tab.active {
  color:#151712;
  background:var(--accent);
  border-color:var(--accent);
}
.now-playing-lyrics {
  height:min(36vh,300px);
  min-height:180px;
  overflow-y:auto;
  margin:8px 0 22px;
  padding:12px 8px;
  text-align:center;
  scrollbar-width:thin;
  scrollbar-color:#ffffff35 transparent;
  mask-image:linear-gradient(transparent,#000 8%,#000 92%,transparent);
}
.now-playing-lyrics[hidden] { display:none !important; }
.lyrics-status {
  color:var(--muted);
  font-size:13px;
  margin:8px 0 18px;
}
.lyrics-content {
  display:flex;
  flex-direction:column;
  gap:15px;
  padding:18px 0;
}
.lyrics-line {
  color:#a4a5b4;
  font-size:15px;
  line-height:1.6;
  transition:color .2s, transform .2s, font-size .2s;
  overflow-wrap:anywhere;
}
.lyrics-line.active {
  color:var(--accent);
  font-size:19px;
  font-weight:800;
  transform:scale(1.025);
}
.now-playing-panel.lyrics-mode .now-playing-large-cover,
.now-playing-panel.lyrics-mode .now-playing-visualizer {
  display:none;
}
.now-playing-panel.lyrics-mode .now-playing-lyrics {
  display:block;
}


/* =====================================
   FX MUSIC — PROMO TICKER
===================================== */
.fx-promo-ticker {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  margin: 0 -42px;
  padding: 0 42px;
  background: linear-gradient(90deg, #242b20, #191923 55%, #242b20);
  border-bottom: 1px solid var(--line);
}

.fx-promo-label {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--accent);
  color: #151712;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.fx-promo-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.fx-promo-track {
  display: flex;
  width: max-content;
  animation: fxPromoScroll 32s linear infinite;
}

.fx-promo-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 55px;
  padding-right: 55px;
  white-space: nowrap;
}

.fx-promo-group span {
  color: #d2d2dc;
  font-size: 11px;
  letter-spacing: .2px;
}

.fx-promo-group span::first-letter {
  color: var(--accent);
}

.fx-promo-ticker:hover .fx-promo-track,
.fx-promo-ticker:focus-within .fx-promo-track {
  animation-play-state: paused;
}

@keyframes fxPromoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .fx-promo-ticker {
    height: 35px;
    margin: 0 -17px;
    padding: 0 17px;
    gap: 9px;
  }

  .fx-promo-group {
    gap: 35px;
    padding-right: 35px;
  }

  .fx-promo-group span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-promo-track {
    animation: none;
  }

  .fx-promo-group[aria-hidden="true"] {
    display: none;
  }
}



/* FX MUSIC HERO SPOTLIGHT */
.hero-spotlight {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity .45s ease, transform .45s ease;
}
.hero-spotlight.is-changing {
  opacity: 0;
  transform: translateY(12px);
}
.hero-spotlight .eyebrow {
  color: var(--accent);
}
.hero-spotlight h1 {
  max-width: 510px;
  font-size: clamp(30px, 3.8vw, 46px);
}
.hero-spotlight p {
  min-height: 24px;
}
@media (max-width: 760px) {
  .hero-spotlight { min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-spotlight { transition: none; }
  .hero-spotlight.is-changing { transform: none; }
}

/* FX MUSIC — HERO 3D TILT */
.hero {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --light-x: 50%;
  --light-y: 50%;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .22s ease, box-shadow .3s ease;
  will-change: transform;
  box-shadow: 0 18px 45px #0003;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--light-x) var(--light-y),
    #ffffff20,
    transparent 38%
  );
  opacity: 0;
  transition: opacity .25s ease;
}

.hero.is-tilting::before {
  opacity: 1;
}

.hero.is-tilting {
  box-shadow: 0 28px 65px #0007, 0 0 25px #b6f36a12;
}

.hero-copy,
.hero-art {
  transform: translateZ(24px);
}

/* Piringan hitam pada Hero */
.hero-art .vinyl {
  animation: fxHeroVinylSpin 8s linear infinite;
  transform-origin: center;
}

.hero-art .vinyl div {
  box-shadow: 0 0 0 5px #ffffff12, 0 0 22px #b6f36a35;
}

@keyframes fxHeroVinylSpin {
  to { transform: rotate(360deg); }
}

@media (hover: none), (max-width: 760px) {
  .hero {
    transform: none;
    transition: none;
    will-change: auto;
  }

  .hero::before {
    display: none;
  }

  .hero-copy,
  .hero-art {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    transform: none;
    transition: none;
  }

  .hero-art .vinyl {
    animation: none;
  }
}

/* FX MUSIC — PREMIUM TURNTABLE DETAILS */
.hero-art .vinyl {
  position: relative;
  border: 7px solid #25252e;
  background:
    radial-gradient(circle, transparent 0 12%, #ffffff08 12.5% 13%, transparent 13.5%),
    repeating-radial-gradient(circle,
      #111116 0 2px,
      #292932 2.5px 3.5px,
      #15151c 4px 5px);
  box-shadow:
    0 20px 45px #0009,
    inset 0 0 0 2px #ffffff12,
    inset 0 0 20px #000;
}

.hero-art .vinyl::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #ffffff13;
  border-radius: 50%;
}

.hero-art .vinyl div {
  position: relative;
  z-index: 1;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: radial-gradient(circle, #d6ff9b 0 9%, #b6f36a 10% 65%, #718e43 100%);
  border: 8px solid #24242d;
  box-shadow: 0 0 0 2px #ffffff30, 0 0 20px #b6f36a45;
}

.tonearm {
  position: absolute;
  z-index: 3;
  width: 105px;
  height: 125px;
  top: 2px;
  right: 0;
  pointer-events: none;
}

.tonearm-base {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 5px;
  right: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e6e6e6, #666674 55%, #22222a);
  border: 2px solid #a0a0aa;
  box-shadow: 0 3px 9px #0009;
}

.tonearm-bar {
  position: absolute;
  width: 7px;
  height: 91px;
  top: 22px;
  right: 19px;
  border-radius: 8px;
  background: linear-gradient(90deg, #555560, #eeeeef 45%, #777783);
  transform: rotate(27deg);
  transform-origin: top center;
  box-shadow: 2px 3px 5px #0009;
}

.tonearm-head {
  position: absolute;
  width: 18px;
  height: 25px;
  top: 96px;
  right: 57px;
  border-radius: 4px;
  background: linear-gradient(135deg, #d4d4d9, #555560);
  transform: rotate(27deg);
  box-shadow: 2px 3px 5px #0009;
}

.tonearm-head::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 9px;
  bottom: -5px;
  left: 8px;
  background: #b6f36a;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .tonearm {
    right: 2px;
    transform: scale(.8);
    transform-origin: top right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .vinyl {
    animation: none !important;
  }
}


/* FX MUSIC — WHITE LIGHT RUNNING ON HERO BORDER */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: none !important;
  transform-style: flat !important;
  perspective: none !important;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 2;
  transform: none !important;
}

/* Cahaya mouse hanya di bagian dalam */
.hero::before {
  z-index: 1;
  opacity: 0;
  background: radial-gradient(
    circle at var(--light-x, 50%) var(--light-y, 50%),
    #b6f36a35,
    #b6f36a12 22%,
    transparent 48%
  );
  transition: opacity .3s ease;
}

.hero.is-tilting::before {
  opacity: 1;
}

/* Lapisan cahaya yang berputar tepat di border */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;

  background: conic-gradient(
    from 0deg,
    transparent 0deg 300deg,
    #ffffff22 315deg,
    #ffffff 330deg,
    #ffffff22 345deg,
    transparent 360deg
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter: drop-shadow(0 0 4px #fff);
  animation: fxHeroBorderSweep 4s linear infinite;
}

@keyframes fxHeroBorderSweep {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }
}

/* FX MUSIC — CORRECT BORDER LIGHT SWEEP */
@property --fx-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;

  background: conic-gradient(
    from var(--fx-border-angle),
    transparent 0deg 320deg,
    #ffffff55 330deg,
    #ffffff 338deg,
    #ffffff55 346deg,
    transparent 356deg
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter: drop-shadow(0 0 3px #ffffff);
  transform: none;
  animation: fxBorderLightTravel 5s linear infinite;
}

@keyframes fxBorderLightTravel {
  from { --fx-border-angle: 0deg; }
  to   { --fx-border-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }
}

/* FX MUSIC — PREMIUM ALBUM & PLAYLIST CARDS */
.album-card,
.playlist-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* Efek hover tanpa tilt */
.album-card:hover,
.playlist-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 28px #0005, 0 0 15px #b6f36a18;
}

/* Cahaya putih mengitari border saat hover */
.album-card::before,
.playlist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 300deg,
    #ffffff55 320deg,
    #ffffff 335deg,
    #ffffff55 350deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 4px #ffffff);
}

.album-card:hover::before,
.playlist-card:hover::before {
  opacity: 1;
  animation: fxCardBorderTravel 4s linear infinite;
}

@keyframes fxCardBorderTravel {
  to { transform: rotate(360deg); }
}

/* Cahaya hijau lembut pada kartu album */
.album-card:hover .album-art {
  filter: brightness(1.12);
}

.playlist-card:hover .playlist-card-icon {
  box-shadow: 0 0 18px #b6f36a35;
}

/* Kartu playlist yang dipilih tetap terlihat */
.playlist-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 12px #b6f36a18;
}

/* Kurangi animasi sesuai pengaturan aksesibilitas */
@media (prefers-reduced-motion: reduce) {
  .album-card,
  .playlist-card {
    transition: none;
  }

  .album-card:hover::before,
  .playlist-card:hover::before {
    animation: none;
  }
}

/* FX MUSIC — CARD BORDER LIGHT, SAME AS HERO */
.album-card,
.playlist-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: none;
  transition: transform .25s ease, border-color .25s ease;
}

.album-card::before,
.playlist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;

  background: conic-gradient(
    from var(--fx-card-angle, 0deg),
    transparent 0deg 320deg,
    #ffffff55 330deg,
    #ffffff 338deg,
    #ffffff55 346deg,
    transparent 356deg
  );

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  filter: drop-shadow(0 0 4px #ffffff);
  animation: fxCardBorderLight 4s linear infinite;
}

.album-card:hover::before,
.playlist-card:hover::before {
  opacity: 1;
}

.album-card:hover,
.playlist-card:hover {
  transform: translateY(-3px);
}

@keyframes fxCardBorderLight {
  to { --fx-card-angle: 360deg; }
}

@property --fx-card-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@media (prefers-reduced-motion: reduce) {
  .album-card::before,
  .playlist-card::before {
    animation: none;
  }
}


/* FX MUSIC — SMART SEARCH DROPDOWN */
.search-wrap {
  position: relative;
  width: min(440px, 70%);
  z-index: 120;
}
.search-wrap .search {
  width: 100%;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  right: 0;
  max-height: 390px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #383847;
  border-radius: 14px;
  background: #191923;
  box-shadow: 0 18px 45px #0009;
  z-index: 500;
}
.search-suggestions[hidden] {
  display: none !important;
}
.search-suggestion-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.search-suggestion-item:hover {
  background: #292b30;
}
.search-suggestion-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #293321;
  color: var(--accent);
  font-size: 18px;
}
.search-suggestion-info {
  flex: 1;
  min-width: 0;
}
.search-suggestion-info b,
.search-suggestion-info small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.search-suggestion-info b {
  font-size: 12px;
}
.search-suggestion-info small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}
.search-suggestion-source {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}
.search-suggestion-play {
  color: var(--accent);
  font-size: 12px;
}
.search-no-result {
  padding: 20px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
@media(max-width:760px) {
  .search-wrap {
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .search-suggestions {
    max-height: 55vh;
  }
}





/* =====================================================
   FX MUSIC — EMERALD WAVE
   Musik Saya • Antrian • Favorit • Riwayat
   ===================================================== */

#libraryView,
#queueView,
#favoritesView,
#historyView {
  --wave-green: #a8ff60;
  --wave-emerald: #28d879;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #8cff6b20;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 8% 8%, #35d87920, transparent 38%),
    radial-gradient(ellipse at 92% 78%, #a8ff6012, transparent 42%),
    linear-gradient(145deg, #101a15, #0c1110 58%, #101a14);
  box-shadow:
    inset 0 1px #ffffff08,
    0 18px 55px #0005;
}

/* Cahaya emerald yang bergerak perlahan */
#libraryView::before,
#queueView::before,
#favoritesView::before,
#historyView::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -35%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 28%, #25d87938, transparent 35%),
    radial-gradient(ellipse at 78% 62%, #a8ff6028, transparent 38%),
    radial-gradient(ellipse at 52% 95%, #00a86b20, transparent 35%);
  filter: blur(48px);
  animation: fxEmeraldWave 18s ease-in-out infinite alternate;
}

/* Garis gelombang dekoratif */
#libraryView::after,
#queueView::after,
#favoritesView::after,
#historyView::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: -20%;
  width: 140%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    #a8ff6040,
    #28d87990,
    #a8ff6040,
    transparent
  );
  box-shadow: 0 0 22px #28d87945;
  opacity: .65;
}

#libraryView > *,
#queueView > *,
#favoritesView > *,
#historyView > * {
  position: relative;
  z-index: 1;
}

/* Judul halaman lebih tegas */
#libraryView .page-heading h1,
#queueView .page-heading h1,
#favoritesView .page-heading h1,
#historyView .page-heading h1 {
  color: #f3fff5;
  text-shadow: 0 0 28px #28d87920;
}

#libraryView .eyebrow,
#queueView .eyebrow,
#favoritesView .eyebrow,
#historyView .eyebrow {
  color: #8fe9a9;
}

/* Baris lagu seperti panel glass gelap */
#libraryView .track-row,
#queueView .track-row,
#favoritesView .track-row,
#historyView .track-row {
  border: 1px solid transparent;
  border-radius: 13px;
  background: #ffffff04;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

#libraryView .track-row:hover,
#queueView .track-row:hover,
#favoritesView .track-row:hover,
#historyView .track-row:hover {
  transform: translateX(3px);
  border-color: #8cff6038;
  background: linear-gradient(100deg, #28d87918, #a8ff6008);
  box-shadow: inset 3px 0 #8cff60, 0 8px 24px #0003;
}

#libraryView .track-play:hover,
#queueView .track-play:hover,
#favoritesView .track-play:hover,
#historyView .track-play:hover,
#libraryView .heart:hover,
#queueView .heart:hover,
#favoritesView .heart:hover,
#historyView .heart:hover {
  color: var(--accent);
  filter: drop-shadow(0 0 7px #a8ff60a0);
}

/* Tombol pilih musik dan aksi */
#libraryView .upload-btn,
#queueView .primary-btn,
#favoritesView .primary-btn,
#historyView .primary-btn {
  box-shadow: 0 5px 22px #a8ff6020;
  transition: transform .2s ease, box-shadow .2s ease;
}

#libraryView .upload-btn:hover,
#queueView .primary-btn:hover,
#favoritesView .primary-btn:hover,
#historyView .primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #a8ff6040;
}

/* Kartu toolbar */
#libraryView .toolbar,
#queueView .queue-toolbar,
#favoritesView .queue-toolbar,
#historyView .queue-toolbar {
  color: #b8c9bd;
}

/* Emerald Wave tetap nyaman di layar kecil */
@media (max-width: 760px) {
  #libraryView,
  #queueView,
  #favoritesView,
  #historyView {
    padding: 20px 14px;
    border-radius: 18px;
  }
}

@keyframes fxEmeraldWave {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(.96);
  }
  50% {
    transform: translate3d(2%, 2%, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-1%, 3%, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  #libraryView::before,
  #queueView::before,
  #favoritesView::before,
  #historyView::before {
    animation: none !important;
  }
}

/* Now Playing tetap tanpa pencarian */
body.now-playing-open .topbar {
  display: none !important;
}

/* =========================================================
   FX MUSIC — EMERALD WAVE FULL REDESIGN
   Visual-only layer: preserve existing HTML IDs and JS logic
   ========================================================= */

:root {
  --bg: #080d0b;
  --panel: #101915;
  --panel2: #17231d;
  --muted: #91a49a;
  --text: #f1f8f3;
  --accent: #35e58b;
  --line: rgba(113, 173, 139, .17);
  --fx-glow: rgba(53, 229, 139, .22);
}

body {
  background:
    radial-gradient(ellipse at 78% 0%, rgba(20, 105, 66, .14), transparent 38%),
    #080d0b;
  color: var(--text);
}

.app-shell {
  min-height: calc(100vh - 112px);
}

.sidebar {
  width: 248px;
  padding: 30px 19px;
  background: rgba(9, 17, 13, .96);
  border-right: 1px solid var(--line);
  box-shadow: 12px 0 45px rgba(0,0,0,.13);
}

.brand {
  gap: 13px;
  font-size: 18px;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 15px;
  color: #04140b;
  background: linear-gradient(145deg, #8bffc0, #22ce78);
  box-shadow: 0 0 28px rgba(53,229,139,.25);
}

.brand b,
.mobile-brand b {
  color: var(--accent);
}

.nav-label {
  color: #71877a;
  margin-top: 48px;
}

.nav-item {
  position: relative;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #9aada2;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.nav-item:hover {
  color: #dffff0;
  background: rgba(53,229,139,.07);
}

.nav-item.active {
  color: #8bffc0;
  background: linear-gradient(100deg, rgba(53,229,139,.17), rgba(53,229,139,.035));
  border-color: rgba(53,229,139,.16);
  box-shadow: inset 3px 0 #35e58b, 0 8px 24px rgba(0,0,0,.12);
}

.private-badge {
  color: #9ee9bd;
  background: rgba(53,229,139,.055);
  border: 1px solid rgba(53,229,139,.12);
  border-radius: 10px;
}

.dot {
  background: #35e58b;
  box-shadow: 0 0 12px #35e58b;
}

.main {
  padding-left: clamp(20px, 4vw, 52px);
  padding-right: clamp(20px, 4vw, 52px);
}

.fx-promo-ticker {
  border-bottom: 1px solid rgba(53,229,139,.09);
  color: #a5c5b1;
}

.fx-promo-label {
  color: #62f2a1;
}

.topbar {
  min-height: 82px;
}

.search {
  background: rgba(18, 31, 24, .85);
  border: 1px solid rgba(122, 179, 143, .19);
  border-radius: 15px;
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.search:focus-within {
  border-color: rgba(53,229,139,.58);
  box-shadow: 0 0 0 3px rgba(53,229,139,.08);
}

.search input {
  color: #effff4;
}

.avatar {
  background: linear-gradient(145deg, #1b3828, #102218);
  border-color: rgba(53,229,139,.35);
  color: #7dffb0;
}

/* Beranda — hero premium */
.hero {
  min-height: 350px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(104, 213, 150, .23);
  border-radius: 27px;
  background:
    radial-gradient(ellipse at 78% 48%, rgba(39, 207, 119, .25), transparent 34%),
    radial-gradient(ellipse at 100% 100%, rgba(11, 104, 62, .25), transparent 45%),
    linear-gradient(115deg, #101b15 0%, #14251b 48%, #0b1711 100%);
  box-shadow: 0 24px 65px rgba(0,0,0,.23), inset 0 1px rgba(255,255,255,.035);
}

.hero::before {
  opacity: .8;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(53,229,139,.17), transparent 42%),
    linear-gradient(120deg, transparent 40%, rgba(53,229,139,.045), transparent 75%);
}

.hero-copy {
  max-width: 540px;
}

.hero .eyebrow,
.hero-spotlight .eyebrow {
  color: #72eaa7;
}

.hero h1 {
  max-width: 540px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.5px;
}

.hero p {
  color: #b4c9bb;
  max-width: 390px;
}

.hero-art {
  width: clamp(190px, 27vw, 290px);
  height: clamp(190px, 27vw, 290px);
  filter: drop-shadow(0 22px 36px rgba(0,0,0,.3));
}

.hero-art .vinyl {
  width: 88%;
  height: 88%;
  background:
    repeating-radial-gradient(circle, #101813 0 3px, #253b2e 4px 5px, #111a14 6px 8px);
  border: 1px solid rgba(115,255,176,.22);
  box-shadow: 0 0 55px rgba(53,229,139,.19), 0 22px 45px #0009;
}

.hero-art .vinyl div {
  background: radial-gradient(circle, #b3ffd0 0 12%, #35e58b 13% 48%, #123a25 50% 100%);
  border: 8px solid #1a3022;
  box-shadow: 0 0 28px rgba(53,229,139,.42);
}

.art-caption {
  color: #b8ffd2;
}

/* Heading dan tombol seluruh halaman */
.page-heading {
  padding-top: 43px;
  padding-bottom: 27px;
}

.page-heading .eyebrow,
.section-heading .eyebrow {
  color: #68d99a;
}

.page-heading h1 {
  font-size: clamp(32px, 4vw, 45px);
  letter-spacing: -1.7px;
}

.page-heading p {
  color: #9db2a4;
}

.section-heading {
  margin-top: 39px;
}

.section-heading h2 {
  color: #effaf2;
}

.primary-btn,
.upload-btn {
  color: #04170c;
  background: linear-gradient(135deg, #83ffb6, #27d77b);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(53,229,139,.16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-btn:hover,
.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(53,229,139,.25);
}

.outline-btn {
  color: #8dffbb;
  border: 1px solid rgba(53,229,139,.35);
  border-radius: 12px;
  background: rgba(53,229,139,.045);
}

.text-btn {
  color: #70eca5;
}

/* Koleksi dan daftar lagu */
.track-list {
  gap: 7px;
}

.track-row {
  min-height: 63px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.track-row:hover {
  background: linear-gradient(100deg, rgba(53,229,139,.09), rgba(18,31,23,.8));
  border-color: rgba(53,229,139,.13);
  transform: translateX(2px);
}

.track-number {
  color: #6f8a79;
}

.track-meta b {
  color: #edf8f0;
  font-size: 13px;
}

.track-meta span {
  color: #91a99a;
}

.track-play:hover,
.heart:hover {
  color: #5df19a;
}

.empty-state {
  border: 1px dashed rgba(104, 185, 132, .28);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(21,38,28,.52), rgba(12,22,16,.4));
}

.empty-icon {
  color: #7dffb1;
  background: linear-gradient(145deg, #1e4930, #13291c);
  box-shadow: 0 0 25px rgba(53,229,139,.1);
}

/* Kartu album, playlist, perangkat, dan admin */
.album-grid,
.playlist-cards {
  gap: 18px;
}

.album-grid > *,
.playlist-cards > *,
.device-card,
.admin-summary > div,
.admin-user-card,
.fx-tool-card {
  border: 1px solid rgba(111,174,133,.17);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(23,39,29,.94), rgba(13,23,17,.96));
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.album-grid > *,
.playlist-cards > * {
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.album-grid > *:hover,
.playlist-cards > *:hover {
  transform: translateY(-4px);
  border-color: rgba(53,229,139,.38);
  box-shadow: 0 18px 38px rgba(0,0,0,.22), 0 0 24px rgba(53,229,139,.06);
}

.device-card {
  max-width: none;
  padding: 25px;
}

.device-icon {
  color: #83ffb6;
  background: linear-gradient(145deg, #1d4930, #142b1d);
  border: 1px solid rgba(53,229,139,.17);
}

.security-note {
  max-width: none;
  background: rgba(20,39,27,.7);
  border-left-color: #35e58b;
}

.admin-summary > div,
.admin-user-card {
  background: linear-gradient(145deg, #17271d, #101b14);
  border-color: rgba(111,174,133,.18);
}

/* Toolbar dan panel */
.toolbar,
.queue-toolbar,
.playlist-toolbar,
.admin-toolbar {
  padding: 14px 16px;
  border: 1px solid rgba(111,174,133,.13);
  border-radius: 14px;
  background: rgba(17,29,21,.68);
}

.playlist-hint {
  color: #91a99a;
}

input,
select,
textarea {
  accent-color: #35e58b;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(53,229,139,.55);
}

/* Player bawah — desain baru */
.player {
  height: 108px;
  padding: 12px clamp(15px, 2.7vw, 36px);
  grid-template-columns: minmax(0,1fr) minmax(280px,1.15fr) auto auto;
  gap: 20px;
  background:
    radial-gradient(ellipse at 45% 0%, rgba(53,229,139,.09), transparent 48%),
    rgba(7,14,10,.97);
  border-top: 1px solid rgba(88,207,133,.3);
  box-shadow: 0 -15px 55px rgba(0,0,0,.35);
  backdrop-filter: blur(22px);
  z-index: 100;
}

.now-playing {
  gap: 13px;
}

.cover {
  width: 61px;
  height: 61px;
  border-radius: 13px;
  color: #a4ffca;
  background:
    radial-gradient(circle at 30% 25%, rgba(139,255,190,.38), transparent 35%),
    linear-gradient(145deg, #24583a, #10251a 72%);
  border: 1px solid rgba(105,239,157,.26);
  box-shadow: 0 6px 22px rgba(0,0,0,.3), 0 0 18px rgba(53,229,139,.09);
}

.now-playing b {
  color: #f0fff4;
  font-size: 13px;
}

.now-playing span {
  color: #91aa99;
}

.heart {
  color: #9cb3a2;
}

.now-expand-button,
.player-more-button,
.volume-toggle {
  color: #a7c5b1;
  transition: color .2s ease, background .2s ease;
}

.now-expand-button:hover,
.player-more-button:hover,
.volume-toggle:hover {
  color: #7effb0;
}

.player-controls {
  max-width: 560px;
}

.buttons {
  gap: 23px;
}

.buttons button {
  color: #b5c9bb;
  transition: color .2s ease, transform .2s ease;
}

.buttons button:hover {
  color: #8bffba;
  transform: scale(1.08);
}

.buttons .play-button {
  width: 39px;
  height: 39px;
  color: #06170c;
  background: linear-gradient(145deg, #8dffba, #28d77b);
  box-shadow: 0 0 23px rgba(53,229,139,.28);
}

.timeline {
  color: #8ba294;
}

.timeline input,
.volume-control input {
  accent-color: #35e58b;
}

.player-more-menu {
  background: #14231a;
  border: 1px solid rgba(53,229,139,.2);
  border-radius: 13px;
  box-shadow: 0 15px 40px #0009;
}

.player-more-menu button {
  color: #d5e9db;
}

.volume-popover {
  background: #14231a;
  border: 1px solid rgba(53,229,139,.2);
  border-radius: 13px;
  box-shadow: 0 15px 40px #0009;
}

/* Now Playing overlay */
.now-playing-overlay {
  background: #07100a;
}

.now-playing-backdrop {
  background: rgba(3,10,6,.82);
}

.now-playing-panel {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(53,229,139,.13), transparent 45%),
    linear-gradient(145deg, #14231a, #09110c);
  border: 1px solid rgba(103,209,143,.2);
  box-shadow: 0 30px 100px #000b;
}

.now-playing-large-cover {
  filter: drop-shadow(0 20px 38px rgba(0,0,0,.38));
}

.now-playing-large-controls .large-play-button {
  background: linear-gradient(145deg, #8dffba, #28d77b);
  color: #06170c;
  box-shadow: 0 0 30px rgba(53,229,139,.25);
}

.now-playing-tabs button.active {
  color: #83ffb6;
  border-color: #35e58b;
}

.now-playing-lyrics {
  color: #e2f5e8;
}

/* Login screen tetap senada dengan identitas baru */
.login-screen {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(34,173,97,.23), transparent 45%),
    #070d09;
}

.login-card {
  background: linear-gradient(145deg, #17271d, #0e1812);
  border-color: rgba(53,229,139,.22);
  box-shadow: 0 28px 90px #000a, 0 0 45px rgba(53,229,139,.07);
}

.login-card input {
  background: #0b140e;
  border-color: rgba(111,174,133,.23);
}

.login-card input:focus {
  border-color: #35e58b;
}

/* Mobile */
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }

  .main {
    padding: 0 15px 155px;
  }

  .topbar {
    height: 70px;
    gap: 10px;
  }

  .hero {
    min-height: 300px;
    padding: 27px 22px;
    border-radius: 21px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 43px);
  }

  .hero-art {
    right: -55px;
    opacity: .42;
  }

  .page-heading {
    padding-top: 31px;
  }

  .page-heading h1 {
    font-size: 32px;
  }

  .toolbar,
  .queue-toolbar,
  .playlist-toolbar,
  .admin-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .player {
    height: 116px;
    min-height: 116px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: 48px 40px;
    gap: 5px 10px;
  }

  .now-playing {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .cover {
    width: 43px;
    height: 43px;
    border-radius: 10px;
  }

  .now-playing b,
  .now-playing span {
    max-width: min(38vw, 170px);
  }

  .player-controls {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    width: 100%;
  }

  .buttons {
    gap: 20px;
  }

  .buttons .play-button {
    width: 34px;
    height: 34px;
  }

  .timeline {
    display: none;
  }

  .player-more-wrap {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .player > .volume-control {
    display: none;
  }

  .heart {
    display: none;
  }

  .now-expand-button {
    font-size: 17px;
  }

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

@media (max-width: 420px) {
  .main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    min-height: 280px;
  }

  .hero-art {
    right: -82px;
    opacity: .32;
  }

  .album-grid,
  .playlist-cards {
    grid-template-columns: 1fr 1fr;
  }

  .buttons {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .track-row,
  .nav-item,
  .primary-btn,
  .upload-btn,
  .album-grid > *,
  .playlist-cards > * {
    transition: none !important;
  }
}

/* =========================================
   FX MUSIC — READABILITY FIX
   Promo header + Now Playing + Lyrics
========================================= */

/* Promo header: teks lebih terang, glow minimal */
.fx-promo-ticker {
  color: #f0fff5 !important;
  text-shadow: none !important;
  background: rgba(8, 18, 12, .96);
}

.fx-promo-label {
  color: #70ffad !important;
  text-shadow: none !important;
  font-weight: 800;
}

.fx-promo-group span {
  color: #e5f5eb !important;
  text-shadow: none !important;
  font-weight: 600;
}

.fx-promo-group span::first-letter {
  color: #70ffad;
}

/* Tombol Cover dan Lyrics */
.now-playing-tabs .now-tab {
  color: #e6f4eb !important;
  background: #17251d;
  border: 1px solid rgba(190, 230, 205, .3);
  text-shadow: none !important;
  font-weight: 700;
  opacity: 1;
}

.now-playing-tabs .now-tab.active {
  color: #06170d !important;
  background: #70ffad !important;
  border-color: #70ffad !important;
  box-shadow: none !important;
}

/* Status dan isi lirik */
.lyrics-status {
  color: #c1d5c8 !important;
  text-shadow: none !important;
  font-weight: 600;
}

.lyrics-line {
  color: #dcebe1 !important;
  text-shadow: none !important;
  opacity: 1;
}

.lyrics-line.active {
  color: #79ffb2 !important;
  font-weight: 800;
  text-shadow: none !important;
  transform: none;
}

/* Judul dan informasi lagu pada Now Playing */
.now-playing b {
  color: #ffffff !important;
  text-shadow: none !important;
}

.now-playing span {
  color: #c1d5c8 !important;
  text-shadow: none !important;
}

/* Judul dan teks di panel Now Playing */
.now-playing-panel {
  color: #f2fff6;
}

.now-playing-panel h1,
.now-playing-panel h2,
.now-playing-panel h3,
.now-playing-panel p {
  color: #f2fff6;
  text-shadow: none !important;
}


/* PROMO HEADER — BLACK TEXT */
.fx-promo-ticker {
  background: #d9fbe7 !important;
  color: #000000 !important;
  border-bottom: 1px solid #a8d9bb !important;
  text-shadow: none !important;
}

.fx-promo-label,
.fx-promo-group span,
.fx-promo-group span::first-letter {
  color: #000000 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}


/* FX MUSIC — PROMO LINKS */
.fx-promo-group a {
  color: #000 !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-shadow: none !important;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.fx-promo-group a:hover {
  text-decoration: underline;
  opacity: .7;
}

.fx-home-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 34px;
}

.fx-home-promo-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 22px;
  color: #07140c;
  text-decoration: none;
  background: linear-gradient(135deg, #d9fbe7, #a9edc4);
  border: 1px solid #a8d9bb;
  border-radius: 19px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fx-home-promo-card.social {
  background: linear-gradient(135deg, #e5f9ed, #bcebd0);
}

.fx-home-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(53, 229, 139, .13);
}

.fx-home-promo-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(255,255,255,.65);
  font-size: 27px;
}

.fx-home-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.fx-home-promo-copy small {
  color: #17613a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.fx-home-promo-copy strong {
  color: #07140c;
  font-size: 17px;
  line-height: 1.3;
}

.fx-home-promo-copy > span {
  color: #294b36;
  font-size: 12px;
  line-height: 1.5;
}

.fx-home-promo-copy b {
  margin-top: 5px;
  color: #075b31;
  font-size: 12px;
}

@media (max-width: 650px) {
  .fx-home-promos {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fx-home-promo-card {
    padding: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-home-promo-card {
    transition: none;
  }
}


/* FX MUSIC — KARTU LAGU RESMI */
.official-song-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:18px;
}
.official-song-card {
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(160deg,var(--panel),#0b1510);
  transition:border-color .18s ease,transform .18s ease;
}
.official-song-card:hover {
  border-color:var(--accent);
  transform:translateY(-2px);
}
.official-song-art {
  aspect-ratio:1/1;
  overflow:hidden;
  background:#101d16;
}
.official-song-cover,
.official-song-cover-fallback {
  display:grid;
  width:100%;
  height:100%;
  object-fit:cover;
}
.official-song-cover-fallback {
  place-content:center;
  justify-items:center;
  gap:8px;
  background:radial-gradient(circle at 50% 35%,#285b40,#102219 62%,#080d0b);
  color:var(--accent);
}
.official-song-cover-fallback span {
  font:800 70px/1 Manrope,sans-serif;
  letter-spacing:-5px;
}
.official-song-cover-fallback small {
  color:#b7d8c4;
  font-size:9px;
  letter-spacing:2px;
}
.official-song-info {padding:15px}
.official-song-label {
  color:var(--accent);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.5px;
}
.official-song-info h3 {
  overflow:hidden;
  margin:8px 0 4px;
  color:var(--text);
  font:700 15px/1.35 Manrope,sans-serif;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.official-song-info > p {
  overflow:hidden;
  margin:0;
  color:var(--muted);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.official-song-meta {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-top:12px;
  color:var(--muted);
  font-size:10px;
}
.official-song-meta span:first-child {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.official-song-actions {
  display:flex;
  gap:8px;
  margin-top:12px;
}
.official-song-actions button {
  min-width:0;
  margin:0;
  padding:10px 11px;
  font-size:11px;
}
.official-song-play {flex:1}
.official-song-queue {
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--panel2);
  color:var(--text);
  cursor:pointer;
}
.official-song-details {
  margin-top:12px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:11px;
}
.official-song-details summary {
  padding:10px 0 2px;
  color:var(--accent);
  cursor:pointer;
  font-weight:700;
}
.official-song-details dl {
  display:grid;
  gap:7px;
  margin:10px 0 2px;
}
.official-song-details dl div {
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.official-song-details dt {color:var(--muted)}
.official-song-details dd {
  margin:0;
  color:var(--text);
  text-align:right;
  overflow-wrap:anywhere;
}
.official-song-admin-actions {
  display:flex;
  gap:8px;
  margin-top:12px;
}
.official-song-admin-actions button {
  border:1px solid var(--line);
  border-radius:8px;
  padding:7px 10px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-size:10px;
}
.official-song-admin-actions .admin-song-delete {color:#ff8d8d}

@media(max-width:560px) {
  .official-song-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .official-song-info {padding:11px}
  .official-song-info h3 {font-size:13px}
  .official-song-actions {flex-wrap:wrap}
  .official-song-actions button {padding:9px 8px}
}




/* FX MUSIC — EMERALD GOLD LUXURY THEME */
:root {
  --bg: #080a09;
  --panel: #111512;
  --panel2: #1a211c;
  --muted: #b2ad9e;
  --text: #f5f1e7;
  --accent: #d6b66c;
  --line: rgba(214, 182, 108, .27);
  --fx-glow: rgba(214, 182, 108, .19);
}

body {
  background:
    radial-gradient(ellipse at 78% 0%, rgba(24, 74, 48, .20), transparent 42%),
    #080a09;
  color: var(--text);
}

.sidebar {
  background: linear-gradient(180deg, #101711, #090d0a);
  border-right-color: rgba(214,182,108,.25);
}

.brand b,
.mobile-brand b,
.text-btn,
.section-heading .eyebrow,
.page-heading .eyebrow {
  color: #e4c77f;
}

.brand-mark {
  color: #171108;
  background: linear-gradient(145deg, #f3dfa0, #b88b3d);
  box-shadow: 0 0 25px rgba(214,182,108,.25);
}

.nav-item {
  color: #c0b9a8;
}

.nav-item:hover,
.nav-item.active {
  color: #f4d995;
  background: linear-gradient(100deg, rgba(214,182,108,.18), rgba(214,182,108,.035));
  border-color: rgba(214,182,108,.28);
  box-shadow: inset 3px 0 #d6b66c;
}

.private-badge {
  color: #e5cc91;
  background: rgba(214,182,108,.07);
  border-color: rgba(214,182,108,.2);
}

.dot {
  background: #e3c477;
  box-shadow: 0 0 12px rgba(227,196,119,.65);
}

.search {
  background: #111713;
  border-color: rgba(214,182,108,.24);
}

.search:focus-within,
.avatar {
  border-color: #c9a34e;
}

.avatar {
  color: #f0d58e;
  background: linear-gradient(145deg, #273629, #111a13);
}

.hero {
  border-color: rgba(214,182,108,.36);
  background:
    radial-gradient(ellipse at 78% 48%, rgba(190,145,59,.22), transparent 34%),
    radial-gradient(ellipse at 15% 100%, rgba(22,91,55,.28), transparent 48%),
    linear-gradient(115deg, #101711, #1b2119 52%, #0b100c);
  box-shadow: 0 24px 65px #0008, inset 0 1px rgba(255,255,255,.04);
}

.hero::before {
  background: radial-gradient(ellipse at 75% 50%, rgba(214,182,108,.12), transparent 45%);
}

.hero .eyebrow,
.hero-spotlight .eyebrow,
.art-caption {
  color: #f0d58e;
}

.hero h1 em {
  color: #e1bd69;
}

.hero-art .vinyl {
  border-color: rgba(214,182,108,.4);
  box-shadow: 0 0 45px rgba(214,182,108,.15), 0 22px 45px #0009;
}

.hero-art .vinyl div {
  background: radial-gradient(circle, #f6e2a5 0 12%, #c69b4e 13% 48%, #24432d 50% 100%);
  border-color: #44351b;
  box-shadow: 0 0 25px rgba(214,182,108,.3);
}

.primary-btn,
.upload-btn,
.buttons .play-button,
.now-playing-large-controls .large-play-button {
  color: #171108 !important;
  background: linear-gradient(135deg, #f2dda0, #c49a4b 58%, #a77a32) !important;
  border: 1px solid rgba(255,229,166,.5);
  box-shadow: 0 7px 25px rgba(190,145,59,.22);
}

.primary-btn:hover,
.upload-btn:hover {
  box-shadow: 0 10px 30px rgba(214,182,108,.32);
}

.outline-btn {
  color: #e7c979;
  border-color: rgba(214,182,108,.48);
  background: rgba(214,182,108,.07);
}

.track-row:hover {
  background: linear-gradient(100deg, rgba(214,182,108,.09), rgba(18,31,23,.8));
  border-color: rgba(214,182,108,.24);
}

.track-play:hover,
.heart:hover,
.now-playing-tabs button.active {
  color: #edcf82;
}

.album-grid > *,
.playlist-cards > *,
.device-card,
.admin-summary > div,
.admin-user-card,
.fx-tool-card {
  border-color: rgba(214,182,108,.23);
  background: linear-gradient(145deg, #1b241d, #101611);
}

.album-grid > *:hover,
.playlist-cards > *:hover {
  border-color: rgba(225,190,105,.58);
  box-shadow: 0 18px 38px #0008, 0 0 22px rgba(214,182,108,.09);
}

.device-icon,
.empty-icon {
  color: #edcf82;
  background: linear-gradient(145deg, #3a3320, #1b281e);
  border: 1px solid rgba(214,182,108,.25);
}

.security-note {
  border-left-color: #d6b66c;
  background: rgba(30,35,25,.8);
}

.toolbar,
.queue-toolbar,
.playlist-toolbar,
.admin-toolbar {
  border-color: rgba(214,182,108,.22);
  background: rgba(20,26,20,.82);
}

input,
select,
textarea,
.timeline input,
.volume-control input {
  accent-color: #d6b66c;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(214,182,108,.55);
}

.player {
  background:
    radial-gradient(ellipse at 45% 0%, rgba(214,182,108,.10), transparent 48%),
    rgba(8,11,9,.98);
  border-top-color: rgba(214,182,108,.48);
  box-shadow: 0 -15px 55px #0009;
}

.cover {
  color: #f0d58e;
  background: linear-gradient(145deg, #514126, #183323);
  border: 1px solid rgba(214,182,108,.4);
  box-shadow: 0 0 18px rgba(214,182,108,.12);
}

.now-playing b {
  color: #fff8e9 !important;
}

.now-playing span,
.timeline,
.heart,
.now-expand-button,
.player-more-button,
.volume-toggle {
  color: #c5bda9;
}

.now-expand-button:hover,
.player-more-button:hover,
.volume-toggle:hover,
.buttons button:hover {
  color: #f0d58e;
}

.buttons .play-button {
  box-shadow: 0 0 25px rgba(214,182,108,.3);
}

.player-more-menu,
.volume-popover {
  background: #171e18;
  border-color: rgba(214,182,108,.35);
}

.player-more-menu button {
  color: #eee4cf;
}

.now-playing-overlay {
  background: #080b09;
}

.now-playing-panel {
  color: #f5f1e7;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(214,182,108,.12), transparent 45%),
    linear-gradient(145deg, #1a241c, #090e0a);
  border-color: rgba(214,182,108,.35);
}

.now-playing-panel h1,
.now-playing-panel h2,
.now-playing-panel h3,
.now-playing-panel p {
  color: #f5f1e7;
}

.now-playing-tabs .now-tab {
  color: #e8dfcb !important;
  background: #19221b;
  border-color: rgba(214,182,108,.25);
}

.now-playing-tabs .now-tab.active {
  color: #1a1409 !important;
  background: linear-gradient(135deg, #f2dda0, #c49a4b) !important;
  border-color: #e4c77f !important;
}

.lyrics-line {
  color: #e6dfd1 !important;
}

.lyrics-line.active {
  color: #f0d58e !important;
}

.lyrics-status {
  color: #c8bea9 !important;
}

.login-screen {
  background: radial-gradient(ellipse at 50% 20%, rgba(151,112,43,.2), transparent 45%), #080b09;
}

.login-card {
  background: linear-gradient(145deg, #1a241c, #0d130e);
  border-color: rgba(214,182,108,.35);
}

.login-card input {
  background: #0d130f;
  border-color: rgba(214,182,108,.24);
}

.login-card input:focus {
  border-color: #d6b66c;
}

.fx-promo-ticker {
  color: #eee2c8 !important;
  background: #111713 !important;
  border-bottom: 1px solid rgba(214,182,108,.35) !important;
}

.fx-promo-label,
.fx-promo-group span::first-letter {
  color: #e5c477 !important;
}

.fx-promo-group span {
  color: #eee5d3 !important;
}

.fx-promo-group a {
  color: #f0d58e !important;
}

.fx-home-promo-card,
.fx-home-promo-card.social {
  color: #f5f1e7;
  background: linear-gradient(135deg, #25352a, #121a14 70%);
  border-color: rgba(214,182,108,.42);
}

.fx-home-promo-icon {
  color: #f0d58e;
  background: linear-gradient(145deg, #554426, #273629);
  border: 1px solid rgba(214,182,108,.35);
}

.fx-home-promo-copy small,
.fx-home-promo-copy b {
  color: #e5c477;
}

.fx-home-promo-copy strong {
  color: #fff5df;
}

.fx-home-promo-copy > span {
  color: #d0c7b5;
}

.official-song-card {
  border-color: rgba(214,182,108,.27);
  background: linear-gradient(160deg, #19231b, #0b100c);
}

.official-song-card:hover {
  border-color: #d6b66c;
  box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 22px rgba(214,182,108,.10);
}

.official-song-label,
.official-song-details summary {
  color: #e5c477;
}

.official-song-queue,
.official-song-admin-actions button {
  border-color: rgba(214,182,108,.3);
  color: #e9d8ae;
  background: #151d17;
}

.official-song-admin-actions .admin-song-delete {
  color: #ff9999;
}

@media (prefers-reduced-motion: no-preference) {
  .primary-btn,
  .upload-btn,
  .official-song-card,
  .album-grid > *,
  .playlist-cards > * {
    transition-duration: .2s;
  }
}




/* FX MUSIC — DARK GOLD PAGE PANELS */
#libraryView,
#queueView,
#favoritesView,
#historyView {
  background: linear-gradient(145deg, #090c0a, #0d110e 55%, #080a09) !important;
  border: 1px solid rgba(214,182,108,.38) !important;
  border-radius: 20px;
  box-shadow: inset 0 1px rgba(255,255,255,.025),
              0 14px 38px rgba(0,0,0,.28);
}

/* Panel dan kartu di dalam empat halaman */
#libraryView .track-row,
#queueView .track-row,
#favoritesView .track-row,
#historyView .track-row,
#libraryView .queue-toolbar,
#queueView .queue-toolbar,
#favoritesView .queue-toolbar,
#historyView .queue-toolbar,
#libraryView .toolbar,
#queueView .toolbar,
#favoritesView .toolbar,
#historyView .toolbar {
  background: linear-gradient(145deg, #111612, #0b0f0c) !important;
  border: 1px solid rgba(214,182,108,.28) !important;
  border-radius: 12px;
}

/* Garis emas saat pointer diarahkan */
#libraryView .track-row:hover,
#queueView .track-row:hover,
#favoritesView .track-row:hover,
#historyView .track-row:hover {
  background: linear-gradient(100deg, #1b2119, #101510) !important;
  border-color: #d6b66c !important;
  box-shadow: 0 0 16px rgba(214,182,108,.10);
}

/* Judul dan teks */
#libraryView .page-heading h1,
#queueView .page-heading h1,
#favoritesView .page-heading h1,
#historyView .page-heading h1 {
  color: #f5f1e7 !important;
}

#libraryView .eyebrow,
#queueView .eyebrow,
#favoritesView .eyebrow,
#historyView .eyebrow {
  color: #d6b66c !important;
}

/* Tombol dan ikon */
#libraryView .track-play,
#queueView .track-play,
#favoritesView .track-play,
#historyView .track-play,
#libraryView .heart,
#queueView .heart,
#favoritesView .heart,
#historyView .heart {
  color: #d6b66c;
}

#libraryView button,
#queueView button,
#favoritesView button,
#historyView button {
  border-color: rgba(214,182,108,.30);
}

/* Input pencarian dan kontrol */
#libraryView input,
#queueView input,
#favoritesView input,
#historyView input,
#libraryView select,
#queueView select,
#favoritesView select,
#historyView select {
  color: #f5f1e7;
  background: #0b100c !important;
  border-color: rgba(214,182,108,.32) !important;
}

#libraryView input:focus,
#queueView input:focus,
#favoritesView input:focus,
#historyView input:focus {
  border-color: #d6b66c !important;
  box-shadow: 0 0 0 2px rgba(214,182,108,.10);
}
\n

/* FX MUSIC — PROMO TEXT PURE BLACK */
.fx-promo-ticker,
.fx-promo-ticker *,
.fx-home-promo-card,
.fx-home-promo-card *,
.fx-promo-group,
.fx-promo-group *,
.fx-promo-label {
  color: #000000 !important;
}


/* FX MUSIC — GUEST MODE */
body:not(.authenticated):not(.guest-mode) .login-screen {
  display: flex;
}

body:not(.authenticated):not(.guest-mode) .app-shell,
body:not(.authenticated):not(.guest-mode) .player {
  display: none !important;
}

body.guest-mode .login-screen {
  display: none !important;
}

body.guest-mode .app-shell {
  display: flex !important;
}

body.guest-mode .player {
  display: grid !important;
}

.guest-mode-button {
  height: 44px;
  margin-top: 12px;
  border: 1px solid rgba(214,182,108,.65);
  border-radius: 9px;
  background: transparent;
  color: #f1d58a;
  font-weight: 700;
  cursor: pointer;
}

.guest-mode-button:hover {
  background: rgba(214,182,108,.12);
}

/* FX MUSIC — FILOSOFI DAN FOOTER INFORMASI */
.fx-philosophy {
  margin: 28px 0 34px;
  padding: 27px 30px;
  border: 1px solid rgba(214,182,108,.25);
  border-radius: 17px;
  background: linear-gradient(120deg, rgba(214,182,108,.09), rgba(25,25,34,.85));
}
.fx-philosophy h2 {
  max-width: 700px;
  margin: 12px 0;
  color: #f5f1e7;
  font: 800 clamp(22px, 3vw, 31px)/1.25 Manrope, sans-serif;
}
.fx-philosophy p {
  max-width: 780px;
  color: #bcb9b0;
  font-size: 13px;
  line-height: 1.85;
}
.fx-philosophy .fx-philosophy-signature {
  color: #e4c77f;
  font-weight: 700;
}
.fx-legal-footer {
  margin: 22px 0 18px;
  padding: 25px 24px 15px;
  border: 1px solid rgba(214,182,108,.24);
  border-radius: 16px;
  background: linear-gradient(135deg, #191922, #14141c);
}
.fx-footer-brand { margin-bottom: 18px; }
.fx-footer-logo {
  color: #f5f1e7;
  text-decoration: none;
  font: 800 19px Manrope, sans-serif;
  letter-spacing: 1px;
}
.fx-footer-logo span { color: #d6b66c; }
.fx-footer-brand p {
  margin: 8px 0 0;
  color: #aaaaba;
  font-size: 11px;
  line-height: 1.6;
}
.fx-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 0;
  border-top: 1px solid rgba(214,182,108,.16);
  border-bottom: 1px solid rgba(214,182,108,.16);
}
.fx-footer-links a {
  color: #d6cba9;
  font-size: 11px;
  text-decoration: none;
}
.fx-footer-links a:hover { color: #f1d58a; }
.fx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
  color: #777789;
  font-size: 9px;
  line-height: 1.6;
}
.fx-footer-bottom strong { color: #d6b66c; }

@media (max-width: 760px) {
  .fx-philosophy { padding: 22px 19px; }
  .fx-legal-footer { padding: 21px 17px 13px; }
  .fx-footer-links { gap: 12px 17px; }
  .fx-footer-bottom { flex-direction: column; }
}

/* FX MUSIC — menu pilihan Guest */
.fx-guest-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(8px);
}
.fx-guest-menu {
  position: relative;
  width: min(100%, 390px);
  padding: 32px;
  border: 1px solid rgba(214,182,108,.35);
  border-radius: 20px;
  background: linear-gradient(145deg,#1a241c,#0d130e);
  color: #f5f1e7;
  text-align: center;
  box-shadow: 0 25px 80px #000b;
}
.fx-guest-menu h2 {
  margin: 14px 0 8px;
  font: 800 27px Manrope,sans-serif;
}
.fx-guest-menu p {
  color: #bcb9b0;
  font-size: 13px;
  margin-bottom: 22px;
}
.fx-guest-menu button {
  min-height: 45px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}
.fx-guest-menu .fx-guest-create,
.fx-guest-menu .fx-guest-exit {
  display: block;
  width: 100%;
  margin-top: 11px;
}
.fx-guest-menu .fx-guest-create {
  border: 0;
  background: #d6b66c;
  color: #17170f;
}
.fx-guest-menu .fx-guest-exit {
  border: 1px solid rgba(214,182,108,.4);
  background: transparent;
  color: #f0d58e;
}
.fx-guest-menu .fx-guest-menu-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  border: 0;
  background: transparent;
  color: #c9c9c9;
  font-size: 25px;
}

/* FX MUSIC — slogan dan filosofi tepat di tengah */
.fx-philosophy {
  margin-inline: auto;
  text-align: center;
}
.fx-philosophy h2,
.fx-philosophy p {
  margin-left: auto;
  margin-right: auto;
}
.fx-philosophy h2 {
  max-width: 760px;
}
.fx-philosophy p {
  max-width: 780px;
}

/* FX MUSIC - Dialog konfirmasi logout */
.fx-logout-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

.fx-logout-dialog {
  width: min(100%, 390px);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: #171923;
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.fx-logout-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  font-size: 28px;
}

.fx-logout-dialog h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.fx-logout-dialog p {
  margin: 0;
  color: #b8bbc8;
  line-height: 1.6;
}

.fx-logout-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.fx-logout-actions button {
  flex: 1;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fx-logout-cancel {
  background: #303342;
  color: #fff;
}

.fx-logout-confirm {
  background: #e05252;
  color: #fff;
}

.fx-logout-actions button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .fx-logout-dialog {
    padding: 23px 19px;
  }
}

/* FX MUSIC — Profile and account menu */
.fx-profile-layout {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(280px, 1.5fr);
  gap: 18px;
  max-width: 900px;
  padding-bottom: 35px;
}
.fx-profile-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
}
.fx-profile-avatar-wrap {
  width: 124px;
  height: 124px;
  margin: 5px auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  background: #252630;
  display: grid;
  place-items: center;
}
.fx-profile-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fx-profile-avatar-fallback {
  font: 800 35px Manrope, sans-serif;
  color: var(--accent);
}
.fx-profile-upload {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
}
.fx-profile-upload input {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 11px;
}
.fx-profile-card small,
.fx-profile-email {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.fx-profile-email { margin-top: 18px; }
.fx-profile-details .fx-field input,
.fx-profile-details .fx-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.fx-profile-details .fx-field textarea { resize: vertical; }
.fx-profile-music-label { display: block; margin-top: 25px; }
.fx-profile-message {
  min-height: 20px;
  font-size: 12px;
  line-height: 1.5;
}
.fx-profile-danger {
  grid-column: 1 / -1;
  border-color: rgba(255,100,100,.22);
}
.fx-profile-danger h3 { margin-bottom: 6px; }
.fx-profile-danger p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.fx-profile-danger button {
  padding: 10px 13px;
  border: 1px solid rgba(255,100,100,.35);
  border-radius: 9px;
  background: transparent;
  color: #ff9292;
  font-size: 11px;
  cursor: not-allowed;
  opacity: .65;
}
.fx-account-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
}
.fx-account-menu {
  position: relative;
  width: min(100%, 360px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 25px 80px #0009;
}
.fx-account-menu h2 { margin: 10px 0; font-family: Manrope,sans-serif; }
.fx-account-menu p {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
  margin-bottom: 22px;
}
.fx-account-menu > button:not(.fx-account-close) {
  width: 100%;
  min-height: 45px;
  margin-top: 9px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.fx-account-menu > .fx-account-profile {
  color: var(--accent) !important;
}
.fx-account-menu > .fx-account-logout {
  border-color: rgba(255,100,100,.3) !important;
  color: #ff9292 !important;
}
.fx-account-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}
@media(max-width:650px) {
  .fx-profile-layout { grid-template-columns: 1fr; }
  .fx-profile-danger { grid-column: auto; }
}


/* FX MUSIC — Dialog hapus akun permanen */
.fx-delete-overlay {
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(9px);
}

.fx-delete-dialog {
  width: min(100%, 440px);
  max-height: calc(100% - 20px);
  overflow-y: auto;
  padding: 27px;
  border: 1px solid rgba(255,90,90,.28);
  border-radius: 20px;
  background: #171923;
  color: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

.fx-delete-dialog h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.fx-delete-dialog p {
  color: #b8bbc8;
  font-size: 13px;
  line-height: 1.65;
}

.fx-delete-warning {
  margin: 16px 0;
  padding: 13px;
  border: 1px solid rgba(255,90,90,.25);
  border-radius: 11px;
  background: rgba(224,82,82,.09);
  color: #ffb0b0 !important;
}

.fx-delete-dialog label {
  display: block;
  margin-top: 16px;
  color: #e7e8ee;
  font-size: 12px;
  font-weight: 700;
}

.fx-delete-dialog input {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  outline: none;
  background: #222532;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.fx-delete-dialog input:focus {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,.14);
}

.fx-delete-status {
  min-height: 22px;
  margin-top: 13px;
  font-size: 12px;
  color: #ffaaaa;
  overflow-wrap: anywhere;
}

.fx-delete-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.fx-delete-actions button {
  flex: 1;
  min-height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fx-delete-cancel {
  background: #303342;
  color: #fff;
}

.fx-delete-submit {
  background: #c93636;
  color: #fff;
}

.fx-delete-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.fx-profile-danger button {
  cursor: pointer;
  opacity: 1;
}

.fx-profile-danger button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

@media(max-width: 420px) {
  .fx-delete-dialog { padding: 22px 18px; }
  .fx-delete-actions { flex-direction: column-reverse; }
}

/* FX MUSIC — PWA install control */
.pwa-install-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #536a3b;
  border-radius: 11px;
  background: linear-gradient(135deg, #293321, #20251e);
  color: var(--accent);
  font: 700 12px 'DM Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.pwa-install-button:hover {
  border-color: var(--accent);
  background: #303b27;
  transform: translateY(-1px);
}
.pwa-install-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pwa-install-button:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}
.pwa-install-button[hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  .pwa-install-button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 11px;
  }
  .pwa-install-button span {
    display: none;
  }
}

/* FX MUSIC — footer brand lebih ke tengah */
.fx-footer-brand {
  text-align: center;
}

.fx-footer-logo {
  display: inline-block;
  font-size: 23px;
  letter-spacing: 2px;
}

.fx-footer-brand p {
  max-width: 520px;
  margin: 10px auto 0;
  text-align: center;
}


/* FX MUSIC — Identitas pengguna pada mini player dan menu akun */
.now-user-identity {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 170px;
  margin-left: 4px;
  padding-left: 11px;
  border-left: 1px solid rgba(255,255,255,.12);
}

.now-user-identity[hidden],
#adminButtonAvatar[hidden],
#adminButtonInitials[hidden] {
  display: none !important;
}

.now-user-identity img,
.now-user-initials {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  object-fit: cover;
}

.now-user-initials {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #276b48, #172d21);
  color: #d9ffe7;
  font-size: 10px;
  font-weight: 800;
}

.now-user-name {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#adminButton {
  position: relative;
  overflow: hidden;
  padding: 0;
}

#adminButtonAvatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

#adminButtonInitials {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.fx-account-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  margin: 17px 0 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}

.fx-account-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #276b48, #172d21);
  color: #d9ffe7;
  font-size: 15px;
  font-weight: 800;
}

.fx-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-account-identity-text {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.fx-account-identity-text strong,
.fx-account-identity-text span {
  overflow-wrap: anywhere;
}

.fx-account-identity-text strong {
  color: var(--text);
  font-size: 13px;
}

.fx-account-identity-text span {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 760px) {
  .now-user-identity {
    max-width: 38px;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .now-user-name {
    display: none;
  }
}


/* Perbaikan avatar mini player */
.now-user-initials[hidden],
.now-user-identity img[hidden] {
  display: none !important;
}
