:root {
  --bg: #030303;
  --elev: #101010;
  --card: #161616;
  --text: #fff;
  --text2: #aaa;
  --text3: #777;
  --accent: #ff9100;
  --nav-h: 60px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
button { font-family: inherit; }
.hidden { display: none !important; }
.icwrap { display: inline-flex; }

#app { display: flex; flex-direction: column; height: 100dvh; }
.app-body { flex: 1; display: flex; min-height: 0; }
.main-col { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.view { flex: 1; overflow-y: auto; padding: 0 12px 34px; overscroll-behavior: contain; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

.icon-btn {
  background: none; border: none; color: #fff; padding: 8px; border-radius: 50%;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.icon-btn:active { background: rgba(255,255,255,.14); }
.icon-btn.on { color: var(--accent); }
.badge {
  position: absolute; top: 1px; right: 1px; background: var(--accent); color: #000;
  font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

.topbar { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 12px; flex: 0 0 56px; position: relative; }
.tb-brand { display: flex; align-items: center; gap: 8px; position: absolute; left: 50%; transform: translateX(-50%); }
.tb-logo { height: 30px; width: auto; }
.tb-name { font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.tb-right { display: flex; align-items: center; gap: 4px; position: absolute; right: 12px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #8b5cf6; color: #fff;
  border: none; font-weight: 700; font-size: 14px; cursor: pointer;
}
.avatar:active { opacity: .8; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 8px 14px; border-radius: 100px; background: #1f1f1f;
  border: none; color: #eee; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.chip:hover { background: #2a2a2a; }
.chip:active { background: #333; }

.hero {
  display: flex; gap: 14px; align-items: center; cursor: pointer;
  background: linear-gradient(120deg, #1d1d1d, #0f0f0f);
  border-radius: 16px; padding: 16px; margin: 14px 0 18px;
}
.hero-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: #8b5cf6; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; flex: 0 0 54px;
}
.hero-name { font-size: 16px; font-weight: 700; line-height: 1.25; }
.hero-sub { font-size: 13px; color: var(--text2); margin-top: 2px; }
.hero-dot { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); flex: 0 0 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.card { border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; background: #141414; }
.card-art { position: relative; aspect-ratio: 1 / 1; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.card:active .card-art img { transform: scale(.96); }
.card-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8)); }
.card-ic {
  position: absolute; top: 8px; right: 8px; color: #fff; background: rgba(0,0,0,.4);
  border-radius: 50%; padding: 4px; display: flex; z-index: 2;
}
.card-txt { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2; }
.card-title {
  font-size: 13px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-sub { font-size: 11px; color: #ddd; margin-top: 2px; opacity: .85; }
.mix-art { position: relative; aspect-ratio: 1 / 1; background: #0d0d0d; }
.mix-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.mix-spark { position: absolute; top: 8px; right: 8px; color: var(--accent); display: flex; z-index: 2; }

.strip-h { font-size: 16px; font-weight: 600; margin: 18px 0 10px; }
.strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.sitem { flex: 0 0 120px; cursor: pointer; }
.sitem-art { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: #161616; }
.sitem-art img { width: 100%; height: 100%; object-fit: cover; }
.sitem-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3); opacity: 0; transition: opacity .15s; color: #fff;
}
.sitem:active .sitem-play { opacity: 1; }
.sitem-title {
  font-size: 12.5px; font-weight: 600; margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.exp-h { font-size: 17px; font-weight: 700; margin: 18px 0 12px; }
.mood-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mood {
  position: relative; height: 112px; border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; cursor: pointer;
}
.mood:active { transform: scale(.98); }
.mood-ic { display: flex; color: rgba(255,255,255,.85); }
.mood-label { font-size: 17px; font-weight: 700; }
.g1 { background: linear-gradient(135deg, #134e4a, #0f766e); }
.g2 { background: linear-gradient(135deg, #3b0764, #7c3aed); }
.g3 { background: linear-gradient(135deg, #450a0a, #dc2626); }
.g4 { background: linear-gradient(135deg, #422006, #d97706); }
.g5 { background: linear-gradient(135deg, #0c4a6e, #0ea5e9); }
.g6 { background: linear-gradient(135deg, #1e1b4b, #4f46e5); }
.g7 { background: linear-gradient(135deg, #4a044e, #db2777); }
.g8 { background: linear-gradient(135deg, #052e16, #16a34a); }

.trow { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; cursor: pointer; }
.trow:hover { background: rgba(255,255,255,.05); }
.trow-main { display: flex; gap: 12px; flex: 1; min-width: 0; align-items: center; }
.trow-art { position: relative; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex: 0 0 48px; background: #161616; }
.trow-art img { width: 100%; height: 100%; object-fit: cover; }
.trow-play {
  position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex;
  align-items: center; justify-content: center; opacity: 0; transition: opacity .15s;
}
.trow:hover .trow-play { opacity: 1; }
.trow-txt { min-width: 0; }
.trow-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow.cur .trow-title { color: var(--accent); font-weight: 600; }
.trow-sub { font-size: 12.5px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.trow-side { display: flex; align-items: center; gap: 0; flex: 0 0 auto; }
.trow-dur { font-size: 12px; color: var(--text2); margin-right: 8px; font-variant-numeric: tabular-nums; }

.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 14px; }
.page-head h1 { font-size: 24px; font-weight: 700; }
.page-head p { font-size: 13px; color: var(--text2); margin-top: 2px; }
.ph-btns { display: flex; gap: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 100px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #000; }
.btn-xs { padding: 6px 12px; font-size: 12px; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 24px; color: var(--text3); font-size: 14px; text-align: center; }
.empty svg { opacity: .5; }

.searchbar {
  display: flex; align-items: center; gap: 10px; background: #1c1c1c;
  border-radius: 12px; padding: 10px 12px; margin: 14px 0 6px;
}
.searchbar:focus-within { background: #242424; outline: 1px solid rgba(255,255,255,.15); }
.sb-ic { color: var(--text2); display: flex; }
#s-input { flex: 1; background: none; border: none; outline: none; color: #fff; font-size: 15px; min-width: 0; }
#s-input::-webkit-search-cancel-button { display: none; }
.rec-h { display: flex; align-items: center; justify-content: space-between; margin: 18px 4px 6px; font-size: 15px; font-weight: 600; }
.rec { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 10px; cursor: pointer; }
.rec:hover { background: rgba(255,255,255,.05); }
.rec-ic { color: var(--text3); display: flex; }
.rec-q { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-h { font-size: 13px; color: var(--text2); margin: 14px 4px 6px; }

.ltabs { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.ltab { padding: 8px 16px; border-radius: 100px; background: #1f1f1f; color: #ccc; font-size: 13.5px; font-weight: 600; border: none; cursor: pointer; }
.ltab.on { background: var(--accent); color: #000; }
.lt-clear { margin-left: auto; }

.lib-grid { display: grid; gap: 12px; }
.lc-big {
  display: flex; gap: 16px; align-items: center; cursor: pointer; position: relative;
  background: linear-gradient(120deg, #221610, #101010); border-radius: 16px; padding: 18px;
}
.lc-big:active { opacity: .85; }
.lc-art img { width: 84px; height: 84px; border-radius: 12px; }
.lc-big h3 { font-size: 17px; font-weight: 700; }
.lc-big p { color: var(--text2); font-size: 13px; margin-top: 4px; }
.lc-play {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--accent);
  color: #000; display: flex; align-items: center; justify-content: center; flex: 0 0 46px;
}
.lib-card { display: flex; gap: 14px; align-items: center; background: #161616; border-radius: 14px; padding: 14px 16px; cursor: pointer; }
.lib-card:active { background: #1d1d1d; }
.lc-ic { color: #fff; display: flex; }
.lib-card h3 { font-size: 15px; font-weight: 600; }
.lib-card p { color: var(--text2); font-size: 12.5px; margin-top: 3px; }
.lc-chev { margin-left: auto; color: var(--text3); display: flex; }

.pl-head { display: flex; gap: 18px; margin: 18px 0 10px; align-items: flex-end; }
.pl-art { width: 160px; height: 160px; flex: 0 0 160px; border-radius: 12px; overflow: hidden; background: #161616; display: flex; align-items: center; justify-content: center; }
.pl-art img { width: 100%; height: 100%; object-fit: cover; }
.pl-art-bg { color: #555; display: flex; }
.pl-kind { font-size: 12.5px; font-weight: 600; color: #ccc; text-transform: uppercase; letter-spacing: .5px; }
.pl-title { font-size: 28px; font-weight: 800; line-height: 1.15; margin: 4px 0; }
.pl-sub { font-size: 13px; color: var(--text2); margin-bottom: 12px; }
.pl-actions { display: flex; gap: 10px; }

.bottom-nav {
  display: flex; background: #0b0b0b; border-top: 1px solid rgba(255,255,255,.06);
  flex: 0 0 var(--nav-h); padding-bottom: env(safe-area-inset-bottom);
}
.bn-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; background: none; border: none; color: #717171; font-size: 10px; font-weight: 500; cursor: pointer;
}
.bn-item.on { color: #fff; }
.bn-item.on .icwrap { color: var(--accent); }

.mini {
  margin: 8px 10px 10px; border-radius: 12px; background: #202020;
  display: flex; align-items: center; gap: 10px; position: relative; overflow: hidden;
}
.mini-prog { position: absolute; left: 0; top: 0; height: 2px; background: var(--accent); width: 0%; z-index: 2; }
.mini-art { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #000; flex: 0 0 44px; }
.mini-info { flex: 1; min-width: 0; cursor: pointer; }
.mini-txt { min-width: 0; }
.mini-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-author { font-size: 11.5px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-btns { display: flex; padding-right: 4px; }

.playerbar {
  display: grid; grid-template-columns: 1fr minmax(380px, 680px) 1fr; align-items: center;
  gap: 16px; padding: 0 16px; height: 88px; flex: 0 0 88px;
  background: #0b0b0b; border-top: 1px solid rgba(255,255,255,.06);
}
.pb-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pb-art { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #000; flex: 0 0 56px; }
.pb-txt { min-width: 0; }
.pb-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-author { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-center { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pb-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.pb-skip svg { width: 26px; height: 26px; }
.pb-playwrap {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.pb-playwrap:active { transform: scale(.94); }
.pb-prog { display: flex; align-items: center; gap: 10px; }
.pb-prog input[type="range"] { flex: 1; }
.pb-time { font-size: 11px; color: var(--text2); min-width: 38px; text-align: center; font-variant-numeric: tabular-nums; }
.pb-right { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.pb-vol { width: 88px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.18); outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: none;
}
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: none; }
input[type="range"]:hover::-webkit-slider-thumb { background: var(--accent); }

.np {
  position: fixed; inset: 0; z-index: 80; background: #0a0a0a;
  transform: translateY(6%); opacity: 0; pointer-events: none; visibility: hidden;
  transition: transform .28s ease, opacity .28s ease, visibility .28s;
  display: flex; flex-direction: column;
}
.np.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
.np-scroll { display: flex; flex-direction: column; height: 100%; width: 100%; max-width: 100%; margin: 0 auto; }
.np-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 0; flex: 0 0 auto; }
.np-head { text-align: center; min-width: 0; }
#np-kicker { font-size: 13px; font-weight: 600; color: #bbb; }
#np-head-author { font-size: 11.5px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; margin: 0 auto; }
.np-art-wrap { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 14px 24px; min-height: 60px; }
#np-art { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.55); object-fit: contain; background: #111; }
.np-body { flex: 0 1 auto; overflow-y: auto; padding: 4px 20px 30px; min-height: 0; }
.np-titles { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.np-tbox { min-width: 0; }
.np-titles h1 {
  font-size: 21px; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#np-author { font-size: 14px; color: var(--text2); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-acts { display: flex; gap: 2px; flex: 0 0 auto; }
.np-prog { margin: 14px 0 0; }
.np-prog input { width: 100%; }
.np-times { display: flex; justify-content: space-between; font-size: 11px; color: var(--text2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.np-controls { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 10px 0 6px; }
.np-skip svg { width: 32px; height: 32px; }
.np-shuffle svg { width: 20px; height: 20px; }
.np-play {
  width: 66px; height: 66px; border-radius: 50%; background: #fff; color: #000; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.np-play:active { transform: scale(.95); }
.np-next-h { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #8a8a8a; padding: 16px 0 4px; }
.np-upnext { padding-bottom: 8px; }
.unx { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; cursor: pointer; }
.unx:hover { background: rgba(255,255,255,.05); }
.unx-art { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; flex: 0 0 40px; background: #161616; }
.unx-art img { width: 100%; height: 100%; object-fit: cover; }
.unx-txt { min-width: 0; }
.unx-t { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unx-s { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.qovl {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 85;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.qovl.open { opacity: 1; pointer-events: auto; }
.qdr {
  position: fixed; left: 0; right: 0; bottom: 0; background: #101010; z-index: 86;
  height: min(75dvh, 580px); border-radius: 18px 18px 0 0;
  transform: translateY(103%); transition: transform .28s ease, visibility .28s;
  display: flex; flex-direction: column; visibility: hidden;
}
.qdr.open { transform: none; visibility: visible; }
.qdr-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; }
.qdr-title { font-size: 17px; font-weight: 700; }
.qdr-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }
.qdr-list { overflow-y: auto; padding: 0 10px 24px; }
.qd-item { display: flex; gap: 12px; align-items: center; padding: 7px; border-radius: 12px; cursor: pointer; }
.qd-item:hover { background: rgba(255,255,255,.05); }
.qd-item.cur { background: rgba(255,145,0,.13); }
.qd-item.cur .qd-t { color: var(--accent); }
.qd-art { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex: 0 0 48px; background: #161616; }
.qd-art img { width: 100%; height: 100%; object-fit: cover; }
.qd-txt { min-width: 0; flex: 1; }
.qd-t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qd-s { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.qd-x { color: #bbb; }

.sidebar {
  display: none; width: 236px; flex-direction: column; padding: 18px 12px; gap: 18px;
  background: #050505; border-right: 1px solid rgba(255,255,255,.05);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.brand-img { height: 36px; width: auto; }
.brand-txt { font-size: 20px; font-weight: 800; letter-spacing: .4px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-item {
  display: flex; align-items: center; gap: 14px; background: none; border: none; color: #bbb;
  font-size: 14.5px; font-weight: 500; padding: 11px 14px; border-radius: 100px; cursor: pointer; text-align: left; width: 100%;
}
.side-item:hover { background: rgba(255,255,255,.06); }
.side-item.on { background: rgba(255,255,255,.12); color: #fff; }
.side-foot { display: flex; flex-direction: column; gap: 8px; padding: 0 8px; }
.side-link { display: flex; align-items: center; gap: 8px; background: none; border: none; color: var(--text2); font-size: 12.5px; cursor: pointer; }
.side-link:hover { color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; flex: 0 0 8px; }
.dot.bad { background: #ef4444; }
.side-ver { font-size: 11px; color: #555; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(8px);
  bottom: calc(var(--nav-h) + 78px); background: #f1f1f1; color: #111;
  font-size: 13.5px; font-weight: 500; padding: 10px 18px; border-radius: 10px; z-index: 120;
  opacity: 0; transition: opacity .25s, transform .25s; max-width: 88vw; text-align: center; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%); }

.inst-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 14px); z-index: 110;
  display: flex; align-items: center; gap: 12px; background: #171717;
  border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.6); animation: instIn .4s cubic-bezier(.2,.9,.3,1.15);
}
@keyframes instIn { from { transform: translateY(26px); opacity: 0; } }
.inst-ic { width: 46px; height: 46px; border-radius: 11px; flex: 0 0 46px; }
.inst-txt { flex: 1; min-width: 0; }
.inst-t { font-size: 14.5px; font-weight: 700; }
.inst-s { font-size: 12px; color: var(--text2); margin-top: 2px; }
.inst-go { flex: 0 0 auto; padding: 9px 16px !important; font-size: 13.5px; font-weight: 700; border-radius: 10px; }
@media (min-width: 900px) { .inst-banner { display: none !important; } }

.skel {
  background: linear-gradient(100deg, #161616 40%, #242424 50%, #161616 60%);
  background-size: 200% 100%; animation: skel 1.3s infinite; position: absolute; inset: 0;
}
.skl { background: #1a1a1a; border-radius: 6px; animation: pulse 1.3s infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .45; } }

@media (min-width: 600px) {
  .mood-grid { grid-template-columns: repeat(4, 1fr); }
  .pl-art { width: 190px; height: 190px; flex-basis: 190px; }
  .pl-title { font-size: 34px; }
}
@media (min-width: 900px) {
  .sidebar { display: flex; }
  .bottom-nav { display: none !important; }
  .mini { display: none !important; }
  .playerbar { display: grid; }
  .view { padding: 8px 28px 48px; }
  .topbar { height: 64px; padding: 0 24px; flex-basis: 64px; }
  .tb-right { right: 24px; }
  .tb-logo { height: 34px; }
  .tb-name { font-size: 19px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
  .sitem { flex-basis: 150px; }
  .trow-art { width: 56px; height: 56px; flex-basis: 56px; }
  .hero { padding: 22px 24px; }
  .hero-avatar { width: 64px; height: 64px; flex-basis: 64px; font-size: 26px; }
  .hero-name { font-size: 19px; }
  .page-head h1 { font-size: 30px; }
  .np {
    left: 50%; top: 14px; bottom: 104px; width: 560px; max-width: calc(100vw - 40px);
    transform: translate(-50%, 8%); border-radius: 24px; background: #0d0d0d;
    box-shadow: 0 30px 80px rgba(0,0,0,.7);
  }
  .np.open { transform: translate(-50%, 0); }
  .np-art-wrap { padding: 18px 48px 8px; }
  .qdr {
    left: auto; right: 0; top: 0; bottom: 0; width: 440px; height: 100%;
    border-radius: 0; transform: translateX(103%);
  }
  .qdr.open { transform: none; }
  .toast { bottom: 110px; }
}

#gate {
  position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  background:
    radial-gradient(1000px 520px at 50% -12%, rgba(150,15,30,.42), transparent 62%),
    radial-gradient(700px 420px at 85% 110%, rgba(120,10,25,.3), transparent 60%),
    #070607;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 34px 16px;
}
.gate-card {
  width: 100%; max-width: 400px; background: #0c0b0d;
  border: 1px solid rgba(255,59,74,.3); border-radius: 24px;
  padding: 30px 24px 22px; box-shadow: 0 24px 70px rgba(0,0,0,.75), 0 0 48px rgba(232,25,44,.16);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  animation: gateIn .3s ease;
}
@keyframes gateIn { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.gate-logo { width: 96px; height: auto; border-radius: 20px; margin-bottom: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 26px rgba(255,145,0,.4); }
.gate-title { font-size: 32px; font-weight: 900; letter-spacing: .4px; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.gate-tag { margin: 6px 0 20px; color: #ff3b4a; font-size: 11px; font-weight: 800; letter-spacing: 4px; }
.gate-exp {
  width: 100%; margin-bottom: 14px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255,59,74,.1); border: 1px solid rgba(255,59,74,.35);
  color: #ffb9c0; font-size: 12.5px; line-height: 1.45;
}
.gate-form { width: 100%; }
.gate-input {
  width: 100%; background: #141214; border: 1px solid rgba(255,255,255,.13); border-radius: 13px;
  color: #fff; font-size: 15px; padding: 14px 16px; margin-bottom: 10px; outline: none;
  font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.gate-input::placeholder { color: #6d6a70; }
.gate-input:focus { border-color: #ff3b4a; box-shadow: 0 0 0 3px rgba(255,59,74,.14); }
.gate-btn {
  width: 100%; border: none; border-radius: 13px; padding: 15px 16px; cursor: pointer;
  background: linear-gradient(180deg, #ff2d3f, #cf1224); color: #fff;
  font-size: 15px; font-weight: 800; letter-spacing: .3px;
  box-shadow: 0 10px 26px rgba(232,25,44,.35); transition: transform .1s, box-shadow .15s;
}
.gate-btn:hover { box-shadow: 0 12px 32px rgba(232,25,44,.5); }
.gate-btn:active { transform: scale(.98); }
.gate-btn:disabled { opacity: .6; cursor: default; }
.gate-div {
  width: 100%; display: flex; align-items: center; gap: 10px;
  color: #7c7880; font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px;
  margin: 16px 0 12px;
}
.gate-div::before, .gate-div::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.09); }
.gate-passrow { position: relative; }
.gate-passrow .gate-input { padding-right: 52px; margin-bottom: 10px; }
.gate-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.gate-eye .ic { width: 20px; height: 20px; }
.gate-rev { margin-top: 12px; color: var(--accent); font-size: 12px; font-weight: 700; }
.gate-foot { margin-top: 16px; color: #8b8790; font-size: 12.5px; }
.gate-shake { animation: gateShake .4s; }
@keyframes gateShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-7px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-4px); } }

.pixovl {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(2,2,3,.82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px 14px;
}
.pix-card {
  width: 100%; max-width: 400px; max-height: 88vh; overflow-y: auto;
  background: #0c0b0d; border: 1px solid rgba(255,255,255,.12); border-radius: 22px;
  padding: 20px 18px; box-shadow: 0 24px 70px rgba(0,0,0,.8);
  animation: gateIn .25s ease;
}
.pix-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pix-ht { font-size: 16px; font-weight: 800; color: #fff; }
.pix-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pix-plan {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: #141214; border: 1px solid rgba(255,255,255,.1); border-radius: 13px;
  color: #ddd8de; font-size: 13px; font-weight: 600; padding: 11px 12px; cursor: pointer;
  transition: border-color .15s, background .15s; font-family: inherit; text-align: left;
}
.pix-plan span { color: #fff; font-size: 14px; font-weight: 800; }
.pix-plan:hover { border-color: rgba(255,59,74,.55); }
.pix-plan.sel { border-color: #ff3b4a; background: rgba(255,59,74,.1); }
.pix-load, .pix-fixed { grid-column: 1 / -1; color: #8b8790; font-size: 12.5px; line-height: 1.5; text-align: center; padding: 8px 0; }
.pix-vend { grid-column: 1 / -1; color: #6d6a70; font-size: 11px; margin-top: 2px; }
.pix-qrbox { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pix-qrbox img { width: 210px; height: 210px; border-radius: 14px; background: #fff; }
.pix-copyrow { width: 100%; display: flex; gap: 8px; }
.pix-copyrow input {
  flex: 1; min-width: 0; background: #141214; border: 1px solid rgba(255,255,255,.12); border-radius: 11px;
  color: #cfcad2; font-family: Consolas, monospace; font-size: 11px; padding: 10px 12px; outline: none;
}
.pix-status { color: #8b8790; font-size: 12px; text-align: center; line-height: 1.5; }
.pix-msg { min-height: 18px; margin-top: 10px; color: #ff8a94; font-size: 13px; text-align: center; }

.acc-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,145,0,.05); border: 1px solid rgba(255,145,0,.22); border-radius: 18px;
  padding: 13px 14px; margin: 12px 0 16px;
}
.acc-card.exp { background: rgba(232,25,44,.06); border-color: rgba(232,25,44,.4); }
.acc-ava {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  background: linear-gradient(135deg, #ff9100, #ffb340); color: #000;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.acc-card.exp .acc-ava { background: linear-gradient(135deg, #ff2d3f, #cf1224); color: #fff; }
.acc-txt { flex: 1; min-width: 0; text-align: left; }
.acc-nome { color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-sub { color: var(--text3); font-size: 12px; margin-top: 2px; }
.acc-renew { flex: 0 0 auto; }
