
/* ============================================================
   MUZNOT.COM — Main Stylesheet
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0; outline: none; border: 0;
}
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 700; }
article, aside, figure, hgroup, footer, header, nav, section, main { display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-alt: #F4F1EA;
  --surface-hover: #EFEBE2;
  --border: #E8E3D6;
  --border-soft: #EFEBE0;
  --text: #1F1E1B;
  --text-secondary: #6B6862;
  --text-muted: #9A968E;
  --accent: #C96442;
  --accent-hover: #B0563A;
  --accent-soft: #F7E4DA;
  --success: #5B8C68;
  --shadow-sm: 0 1px 2px rgba(31,30,27,0.04);
  --shadow-md: 0 4px 16px rgba(31,30,27,0.06);
  --shadow-lg: 0 12px 32px rgba(31,30,27,0.08);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --sidebar-width: 260px;
  --player-height: 84px;
}

html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== LAYOUT ===== */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
  padding-bottom: var(--player-height);
}

/* ===== SIDEBAR ===== */
.sidebar {
  background: var(--surface-alt);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-width);
  display: flex; flex-direction: column;
  z-index: 100;
  transition: transform .3s ease;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar-header {
  padding: 22px 22px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
  transition: opacity .15s;
}
.logo:hover img { opacity: .85; }
.sidebar-close {
  display: none;
  width: 32px; height: 32px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: background .15s;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.sidebar-close:hover { background: var(--surface-hover); }


.nav-section { padding: 4px 12px; flex-shrink: 0; }
.nav-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding: 8px 10px 5px;
  font-weight: 600;
}
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 2px;
  text-decoration: none;
  border: 1px solid transparent;
}
.nav-item i {
  width: 18px; text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: color .15s;
  flex-shrink: 0;
}
.nav-item:hover {
  background: var(--surface-hover);
  color: var(--text);
  text-decoration: none;
}
.nav-item:hover i { color: var(--accent); }
.nav-item.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.nav-item.active i { color: var(--accent); }
.nav-item .badge {
  margin-left: auto;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: 6px;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 6px 18px;
  flex-shrink: 0;
}

.sidebar-body {
  padding: 0 0 8px;
}

.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}
.user-card:hover { background: var(--surface-hover); }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,#C96442,#E08968);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600; font-size: 14px;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name {
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text);
}
.user-status { font-size: 12px; color: var(--text-muted); }
.user-card > i { color: var(--text-muted); font-size: 12px; }

/* top tracks sidebar list */
.top-tracks-list { padding: 0 4px; }
.top-track-item {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.top-track-item + .top-track-item { margin-top: 1px; }
.top-track-item:hover { background: var(--surface-hover); }
.top-track-item.js-item-played { background: var(--accent-soft); }
.tt-play {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center;
  flex-shrink: 0; font-size: 10px; color: var(--text);
  transition: background .15s, color .15s;
}
.top-track-item:hover .tt-play,
.top-track-item.js-item-played .tt-play { background: var(--accent); border-color: var(--accent); color: #fff; }
.tt-info {
  flex: 1; min-width: 0;
  font-size: 12.5px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text); text-decoration: none;
}
.tt-info:hover { color: var(--accent); text-decoration: none; }
.tt-artist { font-weight: 600; color: var(--text); }
.tt-name { color: var(--text-secondary); }
.tt-dl {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 6px; font-size: 11px;
  color: var(--text-muted);
  transition: color .15s, background .15s;
  flex-shrink: 0;
  opacity: 0;
}
.top-track-item:hover .tt-dl { opacity: 1; color: var(--accent); }

/* ===== MAIN ===== */
.main {
  grid-column: 2;
  min-width: 0;
  display: flex; flex-direction: column;
  min-height: 100vh;
}

.topbar {
  position: sticky; top: 0;
  background: rgba(250,249,245,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 32px;
  display: flex; align-items: center; gap: 14px;
  z-index: 50;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--text);
  transition: background .15s;
  align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle:hover { background: var(--surface-hover); }

.topbar-search {
  flex: 1; max-width: 480px;
  position: relative;
}
.topbar-search > i {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.topbar-search form { display: flex; width: 100%; }
.topbar-search input[type="text"] {
  width: 100%;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 10px 14px 10px 40px !important;
  font-family: inherit; font-size: 14px;
  color: var(--text);
  height: 42px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.topbar-search input[type="text"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(201,100,66,.12) !important;
}
.topbar-search input[type="text"]::placeholder { color: var(--text-muted); opacity: 1; }

.topbar-actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-secondary);
  transition: all .15s;
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); }

.btn-primary {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s, transform .15s;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  height: auto;
  box-shadow: none;
}
.btn-primary:hover { background: var(--accent-hover) !important; color: #fff !important; text-decoration: none; }
.btn-primary:active { transform: scale(.97); }
.btn-primary span { line-height: 1; }

.content {
  padding: 28px 32px 40px;
  width: 100%;
  flex: 1;
}

/* ===== CATEGORY HEADER ===== */
.cat-header { margin-bottom: 24px; }
.cat-title {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg,#2A2520 0%,#3D2E26 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle,rgba(201,100,66,0.35) 0%,transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 560px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
}
.hero-label i { color: #E08968; }
.hero h1 {
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 14px;
  color: #fff;
}
.hero p {
  color: rgba(255,255,255,.75);
  font-size: 15.5px;
  margin-bottom: 26px;
  max-width: 460px;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn-primary { padding: 11px 20px; font-size: 14px; }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .15s;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff !important; text-decoration: none; }

/* ===== SECTIONS ===== */
.section { margin-bottom: 36px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  color: var(--text);
}
.section-title i { color: var(--accent); font-size: 17px; }
.section-link {
  color: var(--text-secondary);
  font-size: 13.5px; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.section-link:hover { color: var(--accent); text-decoration: none; }

/* DLE compat aliases */
.sect { margin-bottom: 36px; }
.sect-header { margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.sect-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.sect-subtitle { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.sect-link { color: var(--text-secondary); font-size: 13.5px; font-weight: 500; transition: color .15s; }
.sect-link:hover { color: var(--accent); text-decoration: none; }
.sect-btn { margin-top: 20px; }

/* ===== CHARTS / ALBUM GRID ===== */
.chart-grid, .grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(160px,1fr));
  gap: 16px;
}
.chart-card, .podb {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px;
  transition: all .2s;
  cursor: pointer;
  display: block;
}
.chart-card:hover, .podb:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  text-decoration: none;
}
.chart-cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--surface-alt);
}
.chart-cover-bg {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 42px;
  color: rgba(255,255,255,.6);
}
.play-overlay {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 13px;
  box-shadow: 0 6px 16px rgba(201,100,66,.45);
  opacity: 0;
  transform: translateY(8px);
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.chart-card:hover .play-overlay { opacity: 1; transform: translateY(0); }
.chart-title, .podb-title {
  font-size: 14px; font-weight: 600;
  margin-bottom: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--text);
  text-align: left;
}
.chart-artist {
  font-size: 12.5px; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* podb image */
.podb .img-resp-sq, .podb .img-fit {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 1;
  background: var(--surface-alt);
}
.podb .img-resp-sq { padding-top: 0; }

/* Cover gradients */
.cover-1{background:linear-gradient(135deg,#C96442,#8B3A2A);}
.cover-2{background:linear-gradient(135deg,#3D5A7A,#1F2D3E);}
.cover-3{background:linear-gradient(135deg,#5B8C68,#2F4D3A);}
.cover-4{background:linear-gradient(135deg,#9A6BB3,#5C3F73);}
.cover-5{background:linear-gradient(135deg,#D4A45C,#8B6A2F);}
.cover-6{background:linear-gradient(135deg,#4A5C8F,#2A3454);}
.cover-7{background:linear-gradient(135deg,#A8634A,#6B3A26);}
.cover-8{background:linear-gradient(135deg,#3F7A6E,#1F4A42);}

/* ===== GENRE GRID ===== */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
  gap: 12px;
}
.genre-card {
  padding: 18px 18px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600; font-size: 14.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 88px;
  display: flex; align-items: flex-start;
  transition: transform .2s;
  text-decoration: none;
}
.genre-card:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.genre-card i {
  position: absolute;
  bottom: -10px; right: -10px;
  font-size: 52px;
  opacity: .22;
  transform: rotate(-15deg);
}
.g-1{background:linear-gradient(135deg,#C96442,#A04A30);}
.g-2{background:linear-gradient(135deg,#3D5A7A,#2A3F58);}
.g-3{background:linear-gradient(135deg,#5B8C68,#3F6248);}
.g-4{background:linear-gradient(135deg,#9A6BB3,#6E4880);}
.g-5{background:linear-gradient(135deg,#D4A45C,#9C7332);}
.g-6{background:linear-gradient(135deg,#4A5C8F,#33416B);}

/* ===== TRACK LIST WRAPPER ===== */
.track-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sect--bg {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sect--bg .sect-header { padding: 18px 20px 0; margin-bottom: 0; }

/* ===== TRACK ITEM ===== */
.track-item {
  display: flex; align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-soft);
  transition: background .15s;
  position: relative;
  gap: 14px;
}
.track-item:last-child { border-bottom: none; }
.track-item:hover { background: var(--surface-alt); }
.track-item.js-item-played { background: var(--accent-soft); }
.track-item a { color: var(--text); }
.track-item a:hover { text-decoration: none; }

.track-play {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent) !important;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
  flex-shrink: 0;
  transition: all .15s;
  background: transparent;
  padding: 0 !important; padding-left: 2px !important;
  box-shadow: none !important;
  height: 40px !important; line-height: 1 !important;
}
.track-play:hover { background: var(--accent) !important; color: #fff; }
.js-item-played .track-play { background: var(--accent) !important; color: #fff; }
.js-item-played .fa-play::before { content: '\f04c'; }

.track-desc {
  flex: 1; min-width: 0; display: block;
  color: var(--text);
}
.track-desc:hover { color: var(--text); text-decoration: none; }
.track-title {
  font-size: 14.5px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--text);
}
.track-subtitle {
  font-size: 13px; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 2px;
}
.track-fav {
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  transition: color .15s;
  flex-shrink: 0;
}
.track-fav:hover, .tr-fav-added { color: var(--accent); }
.track-time {
  font-size: 13px; color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 32px; text-align: right;
  flex-shrink: 0;
}
.track-dl {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border) !important;
  display: grid !important; place-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all .15s;
  flex-shrink: 0;
  background: transparent;
  padding: 0 !important;
  box-shadow: none !important;
  height: 36px !important; line-height: 1 !important;
}
.track-dl:hover { border-color: var(--accent) !important; color: var(--accent); background: var(--accent-soft) !important; }

/* ===== SPEEDBAR ===== */
.speedbar {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.5;
}
.speedbar a { color: var(--accent); }
.speedbar a:hover { text-decoration: underline; }
.speedbar .far, .speedbar .fas { color: var(--accent); margin-right: 4px; }

/* ===== FULL STORY ===== */
.full {}
.fmain.sect {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 24px;
  margin-bottom: 24px;
}
.fheader { margin-bottom: 20px; }
.fheader h1, .fheader h2 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.fheader h1 > span, .fheader h2 > span { color: var(--accent); }

.fcols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.fleft { width: 140px; flex-shrink: 0; }
.fposter {
  width: 140px; height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.fposter img, .img-fit img { width: 100%; height: 100%; object-fit: cover; }
.fmid { flex: 1; min-width: 160px; }
.finfo { line-height: 1.7; font-size: 14px; color: var(--text-secondary); }
.finfo li + li { margin-top: 4px; }
.finfo li > span:first-child { font-weight: 600; color: var(--text); margin-right: 5px; }
.fcat {}
.fcat a {
  display: inline-block;
  height: 28px; line-height: 26px;
  font-size: 12px; border-radius: 14px;
  padding: 0 10px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  margin: 0 5px 6px 0;
  transition: all .15s;
}
.fcat a::before { content: '#'; margin-right: 2px; }
.fcat a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); text-decoration: none; }

.fctrl {
  width: 100%; margin-top: 20px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.fplay {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px;
  height: 44px;
  border-radius: 22px;
  border: 2px solid var(--accent) !important;
  color: var(--accent);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: all .15s;
  background: transparent;
  box-shadow: none !important;
  line-height: 1 !important;
}
.fplay:hover { background: var(--accent) !important; color: #fff !important; }
.fplay .track-play {
  width: auto !important; height: auto !important;
  border: 0 !important; margin: 0; font-size: 14px;
  padding: 0 !important; padding-left: 0 !important;
  background: none !important; border-radius: 0 !important;
  color: inherit !important; box-shadow: none !important;
}
.fplay-desc {}
.fdl {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 20px;
  height: 44px;
  border-radius: 22px;
  border: 2px solid var(--border) !important;
  color: var(--text-secondary);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: all .15s;
  background: transparent;
  box-shadow: none !important;
  line-height: 1 !important;
}
.fdl:hover { border-color: var(--accent) !important; color: var(--accent) !important; background: var(--accent-soft) !important; }
.fdl .fas, .fdl .far { color: inherit; margin: 0; }
.ffav-btn {}
.ffav {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border) !important;
  display: grid; place-items: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  font-size: 16px;
  background: transparent;
  box-shadow: none !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.ffav:hover, .tr-fav-added { border-color: var(--accent) !important; color: var(--accent); }
.fshare { flex: 1; display: flex; justify-content: flex-end; }
.sharer { height: 24px; }

.fcaption {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6;
}

.full-text {
  line-height: 1.8; font-size: 15px; color: var(--text-secondary);
}
.full-text p { margin-bottom: 10px; }
.full-text a { color: var(--accent); text-decoration: underline; }
.full-text a:hover { text-decoration: none; }
.full-text h2, .full-text h3, .full-text h4 { font-size: 18px; margin: 14px 0 8px; color: var(--text); }
.full-text ul li { list-style: disc; margin-left: 28px; }
.full-text ol li { list-style: decimal; margin-left: 28px; }
.full-text img { max-width: 100%; border-radius: var(--radius-sm); margin: 10px 0; }

/* ===== PAGINATION ===== */
.navigation { margin: 24px 0; text-align: left; }
.navigation a, .navigation span,
.pnext a, .pprev a, .pprev > span, .pnext > span {
  display: inline-block; padding: 0 12px;
  height: 36px; line-height: 36px;
  margin: 4px 4px 0 0;
  border-radius: var(--radius-sm);
  min-width: 36px; text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  transition: all .15s;
  color: var(--text);
}
.navigation span:not(.nav_ext) {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.navigation a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pagi-load a {
  border-radius: var(--radius-sm) !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  transition: all .15s;
}
.pagi-load a:hover { border-color: var(--accent) !important; color: var(--accent) !important; }

/* ===== INFO / NOTICES ===== */
.berrors {
  background: #FEF3CD; color: #856404;
  margin-bottom: 20px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #fde68a;
  font-size: 14px;
}
.berrors a { color: var(--accent); text-decoration: underline; }

/* ===== SITE FOOTER ===== */
.site-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--text-muted);
}
.footer-inner a { color: var(--accent); }
.footer-inner a:hover { text-decoration: underline; }

/* ===== MOBILE OVERLAY ===== */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99;
  opacity: 0;
  transition: opacity .3s;
}
.sidebar-overlay.active { display: block; opacity: 1; }

/* ===== LOGIN POPUP ===== */
.overlay-box {
  position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%;
  opacity: 0.7; background: #000; cursor: pointer;
}
.login-box {
  position: fixed; z-index: 999; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: var(--surface); padding: 32px 40px; width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: none;
}
.login-close {
  width: 28px; height: 28px; line-height: 28px; text-align: center; font-size: 20px;
  cursor: pointer; position: absolute; top: 14px; right: 14px; color: var(--text-muted);
}
.login-close:hover { color: var(--text); }
.login-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; text-align: center; color: var(--text); }
.login-avatar {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  text-align: center; line-height: 56px; font-size: 22px;
  background: var(--surface-alt); color: var(--text-muted);
}
.login-input { margin-bottom: 14px; }
.login-input button { margin-left: 10px; }
.login-btm a { color: var(--accent); font-size: 13px; }
.login-btm a:after { content: attr(data-text); }
.login-menu {
  border-top: 1px solid var(--border); border-left: 1px solid var(--border); margin-top: 16px;
  display: flex; flex-wrap: wrap;
}
.login-menu li {
  text-align: center; border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border); width: 50%;
}
.login-menu a { display: block; padding: 10px 5px; font-size: 13px; }
.login-menu li .fa { display: none; }
.login-admin { text-align: center; margin: -10px 0 20px; }
.login-soc-title { text-align: center; margin: 20px 0 14px; color: var(--text-secondary); }
.login-soc-title:after { content: attr(data-text); }
.login-soc-btns { text-align: center; }
.login-soc-btns a { display: inline-block; margin: 0 3px; vertical-align: top; }
.login-soc-btns img { display: block; width: 30px; height: 30px; border-radius: 50%; }

/* ===== FORMS (global) ===== */
.button,
.btn:not(.btn-primary):not(.btn-ghost),
.pagi-load a,
.up-second li a,
.usp-edit a,
.qq-upload-button,
.meta-fav a,
.usp-btn a,
html input[type="button"],
input[type="reset"],
input[type="submit"]:not(.track-play) {
  display: inline-block; text-align: center; padding: 0 18px;
  height: 40px; line-height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer; color: #fff !important;
  background-color: var(--accent) !important;
  font-size: 14px; font-weight: 500;
  font-family: inherit;
  box-shadow: none !important;
  border: none;
  transition: background .15s;
}
.button:hover, html input[type="button"]:hover,
input[type="reset"]:hover, input[type="submit"]:hover {
  background-color: var(--accent-hover) !important;
}

input[type="text"], input[type="password"] {
  height: 40px;
  border-radius: var(--radius-sm) !important;
  border: 1px solid var(--border) !important;
  padding: 0 14px !important;
  font-family: inherit; font-size: 14px;
  background: var(--surface) !important;
  color: var(--text) !important;
  width: 100%;
  box-shadow: none !important;
  line-height: 1 !important;
}
input[type="text"]:focus, input[type="password"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(201,100,66,.12) !important;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 1; font-size: 14px; }
input:focus::placeholder, textarea:focus::placeholder { color: transparent; }
select {
  height: 40px; border: 1px solid var(--border) !important;
  padding: 0 14px; background: var(--surface); font-family: inherit;
  border-radius: var(--radius-sm); color: var(--text); font-size: 14px;
}
textarea {
  padding: 12px 14px; border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm); background: var(--surface);
  font-family: inherit; resize: vertical; color: var(--text); font-size: 14px;
}
textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(201,100,66,.12) !important; }

/* ===== ENGINE FORMS ===== */
.form-wrap h1 { font-size: 22px; margin-bottom: 20px; }
.form-wrap > div, .form-vote > div { margin-bottom: 20px; }
.form-item { margin-bottom: 18px; padding-left: 180px; position: relative; }
.form-item > label { display: block; float: left; width: 180px; margin-left: -180px; padding-top: 10px; color: var(--text-secondary); font-size: 14px; }
.form-item > input[type="text"], .form-item > input[type="password"] { float: left; max-width: 480px; }
.imp > label::after { content: "*"; margin: 0 0 0 6px; color: var(--accent); }
.form-buts input[type="button"], .form-buts a { width: 48%; float: left; display: block; text-align: center; font-size: 14px; }
.form-buts a { float: right; }
.tableform { width: 100%; }
.tableform td, .tableform th { border-top: 1px solid var(--border-soft); padding: 10px 0; text-align: left; }
.tableform tr:first-child td, .tableform tr:first-child th { border: 0; }
.tableform th { font-weight: 600; color: var(--text-secondary); font-size: 14px; padding-right: 12px; vertical-align: top; padding-top: 11px; }
.checkbox { color: var(--text-secondary); padding: 4px 0; line-height: 1.5; font-size: 14px; }
.checkbox input { margin-right: 6px; }
#category { width: 100% !important; }

/* ===== COMMENTS ===== */
.add-comms { margin-bottom: 28px; display: none; }
.ac-inputs input { width: 48.7%; margin-bottom: 14px; }
.ac-textarea textarea { height: 100px; margin-bottom: 14px; }
.ac-protect, .ac-textarea .bb-editor + br { display: none; }
.comments_subscribe input { margin-right: 8px; }
.mass_comments_action { display: none; }
.last-comm-link { display: inline-block; padding-bottom: 18px; color: var(--accent); font-size: 16px; }

.comm-avatar { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; }
.comm-letter {
  text-align: center; line-height: 40px;
  background: var(--accent); color: #fff;
  font-weight: 600; text-transform: uppercase; font-size: 16px;
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  border-radius: 50%;
}
.comm-item { margin-bottom: 18px; font-size: 13px; padding-left: 52px; position: relative; min-height: 40px; }
.comm-two { margin: 8px 0; font-size: 14px; line-height: 1.6; }
.comm-one > span { margin-right: 12px; color: var(--text-muted); font-size: 12.5px; }
.comm-one > span.comm-author, .comm-one > span.comm-author a { color: var(--text); font-weight: 600; }
.comm-three-left > a, .comm-three-right li a { opacity: 0.7; }
.comm-three-right li { display: inline-block; margin-left: 12px; }
.comm-rate3 { white-space: nowrap; margin-right: 12px; display: inline-block; vertical-align: top; }
.comm-rate3 a { display: inline-block; vertical-align: middle; color: var(--success); font-size: 16px; }
.comm-rate3 a:last-child { color: #c0392b; }
.comm-rate3 > span { margin: 0 4px; }
.comm-three-left > a { color: var(--accent); border-bottom: 1px dotted var(--accent); }

/* ===== VOTES ===== */
.vote-box {}
.vote-title { margin-bottom: 14px; padding: 10px; background: var(--surface-alt); border-radius: var(--radius-sm); font-size: 14px; }
.vote { margin-bottom: 10px; }
.vote::after { content: ""; display: table; clear: both; }
.vote input { display: none; }
.vote label { position: relative; cursor: pointer; font-size: 14px; }
.vote label::before { content: ""; margin: 0 10px 0 0; cursor: pointer; position: relative; top: -1px;
  width: 10px; height: 10px; border-radius: 5px; background: var(--border); display: inline-block; vertical-align: middle; }
.vote input:checked + label::before { box-shadow: inset 0 0 0 4px var(--accent); background: var(--accent); }
.vvote { width: 50%; }
button.vres, button.vall { background: var(--surface-alt) !important; color: var(--text-muted) !important; }
button.vres:hover, button.vall:hover { background: var(--border) !important; color: var(--text) !important; }

/* ===== UTILITY ===== */
.fx-row { display: flex; flex-wrap: wrap; justify-content: space-between; }
.fx-col { display: flex; flex-direction: column; }
.fx-center { justify-content: center; }
.fx-middle { align-items: center; }
.fx-start { justify-content: flex-start; }
.fx-1 { flex: 1; min-width: 50px; }
.fx-between { justify-content: space-between; }
.fx-first { order: -1; }
.fx-last { order: 10; }
.clr { clear: both; }
.clearfix::after { content: ""; display: table; clear: both; }
.hidden, #dofullsearch { display: none; }
.nowrap { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.anim { transition: all .2s; }
b, strong { font-weight: 600; }
.icon-left [class*="fa-"] { margin-right: 8px; }
.icon-right [class*="fa-"] { margin-left: 8px; }
#dle-content { display: flex; flex-wrap: wrap; justify-content: space-between; }
#dle-content > *:not(.sect-col) { width: 100%; }

/* ===== IMG UTILS ===== */
.img-box, .img-wide, .img-square, .img-resp, .img-resp-vert, .img-resp-sq, .img-fit { overflow: hidden; position: relative; }
.img-resp { padding-top: 60%; }
.img-resp-vert { padding-top: 124%; }
.img-resp-sq { padding-top: 100%; }
.img-box img, .img-square img, .img-resp img, .img-resp-vert img, .img-resp-sq img { width: 100%; min-height: 100%; display: block; }
.img-resp > img, .img-resp-vert img, .img-resp-sq img { position: absolute; left: 0; top: 0; }
.img-wide img { width: 100%; display: block; }
.img-fit img { width: 100%; height: 100%; object-fit: cover; }

/* ===== VIDEO ===== */
.video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame {
  max-width: 100% !important; display: block; width: 100%; height: 450px;
}

/* ===== SEO DESCRIPTION ===== */
.site-desc { line-height: 1.7; color: var(--text-secondary); font-size: 14.5px; }
.site-desc h1, .site-desc h2 { font-size: 18px; margin-bottom: 14px; color: var(--text); }
.site-desc li { list-style-type: disc; margin-left: 28px; }
.site-desc a { color: var(--accent); text-decoration: underline; }
.site-desc p, .site-desc ul { margin-bottom: 16px; }
.slice { overflow: hidden; position: relative; transition: height .2s; }
.slice-masked::before { content:''; position: absolute; z-index: 1; bottom: 0; left: 0; right: 0; height: 80px; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, var(--surface) 90%); }
.slice-btn { margin: -10px 0 0; position: relative; z-index: 10; }
.slice-btn span { display: inline-block; cursor: pointer; color: var(--accent); font-size: 14px; text-decoration: underline; }

/* ===== GO TOP ===== */
#gotop {
  cursor: pointer; position: fixed;
  right: 20px; bottom: calc(var(--player-height) + 20px);
  z-index: 999; display: none;
  height: 44px; width: 44px; line-height: 44px; padding: 0;
  font-size: 18px; border-radius: 50%;
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 16px rgba(201,100,66,.35);
  text-align: center;
}

/* ===== AUDIOPLAYER — muznot.html style ===== */
.wplayer {
  position: fixed; left: 0; bottom: 0; right: 0;
  z-index: 997;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(31,30,27,0.05);
  height: var(--player-height);
}
.audioplayer.player-inner {
  max-width: 1400px; margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 20px;
}
.audioplayer audio { display: none; }

/* --- Column 1: Track info --- */
.player-track {
  display: flex; align-items: center; gap: 12px;
  min-width: 0; overflow: hidden;
}
.player-cover.ap-img {
  width: 52px; height: 52px;
  border-radius: 8px; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg,#C96442,#8B3A2A);
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
}
.player-cover.ap-img img { width: 100%; height: 100%; object-fit: cover; }
.player-info { flex: 1; min-width: 0; }
.player-name,
.ap-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.player-artist,
.ap-artist {
  font-size: 12.5px; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 2px;
}
.player-track .ap-dl {
  width: 36px; height: 36px;
  border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--text-muted); font-size: 15px;
  transition: all .15s;
}
.player-track .ap-dl:hover { color: var(--accent); background: var(--accent-soft); }

/* --- Column 2: Controls + Progress --- */
.player-controls {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.ap-btns.control-buttons {
  display: flex; align-items: center; gap: 16px;
}
.ap-prev,
.ap-next {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--text-secondary); font-size: 16px;
  cursor: pointer;
  transition: all .15s;
}
.ap-prev:hover, .ap-next:hover { color: var(--text); background: var(--surface-alt); }

/* Play/pause button */
.audioplayer-playpause {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.audioplayer-playpause a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--bg) !important;
  font-size: 14px;
  padding-left: 1px;
}
.audioplayer-playpause:hover { background: var(--accent); transform: scale(1.05); }
.wplayer-init .audioplayer-playpause .fas::before { content: '\f04b'; }

/* Progress */
.progress-wrap {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 540px;
}
.audioplayer-time {
  font-size: 11.5px; color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 36px; text-align: center;
  white-space: nowrap;
}
.audioplayer-bar {
  flex: 1; height: 4px;
  background: var(--border); border-radius: 2px;
  cursor: pointer; position: relative; overflow: visible;
}
.audioplayer-bar-loaded { position: absolute; left: 0; top: 0; height: 100%; border-radius: 2px; }
.audioplayer-bar-played {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--accent); border-radius: 2px;
}
.audioplayer-bar-played::before {
  content: '';
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  position: absolute; right: 0; top: 50%;
  transform: translate(50%,-50%); pointer-events: none;
}
.wplayer-init .audioplayer-bar-played { width: 10px !important; }

/* --- Column 3: Volume --- */
.player-extra {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
}
.audioplayer-volume { display: flex; align-items: center; gap: 8px; }
.audioplayer-muted .fa-volume-up::before { content: '\f6a9'; }
.audioplayer-volume-button a {
  display: block; font-size: 15px; color: var(--text-secondary);
  transition: color .15s;
}
.audioplayer-volume-button a:hover { color: var(--text); }
.audioplayer-volume-adjust > div {
  width: 100px; height: 4px;
  background: var(--border); border-radius: 2px;
  cursor: pointer; position: relative;
}
.audioplayer-volume-adjust > div > div {
  background: var(--text-secondary);
  position: absolute; left: 0; top: 0; height: 100%;
  border-radius: 2px;
}
.audioplayer-volume-adjust > div > div::before {
  content: '';
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.2);
  position: absolute; right: 0; top: 50%;
  transform: translate(50%,-50%); pointer-events: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.section { animation: fadeUp .45s ease backwards; }
.section:nth-child(2) { animation-delay: .04s; }
.section:nth-child(3) { animation-delay: .08s; }
.section:nth-child(4) { animation-delay: .12s; }
.section:nth-child(5) { animation-delay: .16s; }

/* ===== SIDE PANEL (mobile legacy) ===== */
.side-panel { display: none; }
.close-overlay { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .chart-grid, .grid-6 { grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); }
}

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-close { display: flex !important; }
  .main { grid-column: 1; }
  .menu-toggle { display: flex !important; }
  .content { padding: 20px 18px; }
  .topbar { padding: 12px 16px; }
  .hero { padding: 28px 22px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14.5px; }
  .site-footer { padding: 16px 18px; }

  /* Player: mobile — only show track info, hide controls/volume */
  .audioplayer.player-inner {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
    gap: 12px;
  }
  .player-controls { display: none; }
  .player-extra { display: none; }
  :root { --player-height: 70px; }
}

@media (max-width: 760px) {
  .login-box { max-width: calc(100% - 40px); padding: 20px; width: auto; }
  .fcat { width: 100%; margin-top: 14px; }
  .fshare { width: 100%; text-align: center; }
  .fleft { width: 110px; }
  .fposter { width: 110px; height: 110px; }
  .form-item { padding-left: 0; }
  .form-item > label { float: none; width: auto; margin-left: 0; }
  .form-buts input[type="button"], .form-buts a { width: 100%; float: none; margin-bottom: 8px; }
}

@media (max-width: 600px) {
  .content { padding: 14px; }
  .topbar-search { max-width: none; }
  .hero { padding: 22px 16px; }
  .hero h1 { font-size: 21px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { justify-content: center; }
  .chart-grid, .grid-6 { grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); gap: 10px; }
  .track-item { padding: 10px 14px; gap: 10px; }
  .genre-grid { grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); }
  :root { --player-height: 66px; }
  .player-cover.ap-img { width: 44px; height: 44px; font-size: 17px; }
  .player-track { gap: 10px; }
  .video-box embed, .video-box object, .video-box video, .video-box iframe, .video-box frame { height: 280px; }
}

@media (max-width: 470px) {
  .track-fav { display: none !important; }
  .fheader h1, .fheader h2 { font-size: 17px; }
  .fcols { gap: 14px; }
  .fctrl { gap: 8px; }
}
