/* MUZMODA theme — light, compact, content-first. Gradient accent violet → pink, teal download buttons. */
:root {
	--bg: #f3f0fb;
	--surface: #ffffff;
	--ink: #1d1a2f;
	--muted: #7b7794;
	--line: #e8e3f5;
	--a1: #7c3aed;
	--a2: #ec4899;
	--teal: #0ea5a4;
	--teal-soft: #e3f6f5;
	--soft: #efe9fd;
	--grad: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
	--radius: 14px;
	--shadow: 0 1px 2px rgba(29,26,47,.05), 0 6px 16px rgba(124,58,237,.06);
	--shadow-hover: 0 2px 4px rgba(29,26,47,.06), 0 10px 24px rgba(124,58,237,.14);
	--topbar-h: 60px;
}

* {margin: 0; padding: 0; outline: none; border: 0; -webkit-box-sizing: border-box; box-sizing: border-box;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
table {border-collapse: collapse; border-spacing: 0;}
input, select {vertical-align: middle;}
article, aside, figure, hgroup, footer, header, nav, section, main {display: block;}
img {max-width: 100%;}
.clr {clear: both;}
.clearfix:after {content: ""; display: table; clear: both;}
html {scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 10px);}
body {font: 14px/1.45 'Manrope', 'Noto Sans', sans-serif; padding: 0; margin: 0; color: var(--ink); background: var(--bg); min-height: 100%; width: 100%; font-weight: 500; -webkit-font-smoothing: antialiased;}
a {color: var(--ink); text-decoration: none; transition: color .2s;}
a:hover, a:focus {color: var(--a1); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 700; font-size: 18px;}
button, textarea, input[type="text"], input[type="password"], input[type="search"] {-webkit-appearance: none; appearance: none; font-size: 15px; font-family: 'Manrope', 'Noto Sans', sans-serif !important;}

/* buttons & forms (DLE engine forms) */
.button, .btn, .pagi-load a, .up-second li a, .usp-edit a, .qq-upload-button, button,
html input[type="button"], input[type="reset"], input[type="submit"], .meta-fav a, .usp-btn a {display: inline-block; text-align: center; padding: 0 20px; height: 40px; line-height: 40px; border-radius: 999px; cursor: pointer; color: #fff; background: var(--grad); font-size: 14px; font-weight: 700; transition: opacity .2s, box-shadow .2s;}
.button:hover, .btn:hover, .up-second li a:hover, .usp-edit a:hover, .qq-upload-button:hover, .pagi-load a:hover, .usp-btn a:hover,
button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .meta-fav a:hover {opacity: .92; color: #fff; box-shadow: 0 8px 18px rgba(124,58,237,.28);}
input[type="text"], input[type="password"], input[type="search"] {height: 40px; line-height: 40px; border-radius: 10px; border: 0; padding: 0 14px;}
select {height: 40px; border: 0; padding: 0 14px; border-radius: 10px;}
textarea {padding: 14px; overflow: auto; vertical-align: top; resize: vertical; border-radius: 10px;}
input[type="text"], input[type="password"], input[type="search"], select, textarea {width: 100%; background-color: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);}
select {width: auto;}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {box-shadow: inset 0 0 0 2px var(--a1);}
input::placeholder, textarea::placeholder {color: var(--muted); opacity: .8; font-size: 14px;}
input:focus::placeholder, textarea:focus::placeholder {color: transparent;}

.img-box, .img-wide, .img-square, .img-resp, .img-resp-vert, .img-resp-sq, .img-fit {overflow: hidden; position: relative;}
.img-box img, .img-square img {width: 100%; min-height: 100%; display: block;}
.img-fit img {width: 100%; height: 100%; object-fit: cover;}
.nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.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-first {order: -1;}
.fx-last {order: 10;}
.fx-1 {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.fx-between {justify-content: space-between;}
b, strong {font-weight: 700;}
.hidden, #dofullsearch {display: none;}
.mgf, .mgf1, .mgf2, .mgf3, .mgf4, .mgf5 {display: none;}

/* ---------- top bar (compact header: logo, nav, search) ---------- */
.topbar {position: sticky; top: 0; z-index: 900; height: var(--topbar-h); background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);}
.topbar-in {max-width: 1180px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 18px;}
.logo {display: flex; align-items: center; gap: 9px; flex: 0 0 auto; color: var(--ink);}
.logo-mark {display: block;}
.logo-text {font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 500; font-size: 18px; letter-spacing: -.01em; color: var(--ink);}
.logo-text b {font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;}
.logo:hover {color: var(--ink);}
.topnav {display: flex; gap: 4px; margin-left: 6px;}
.topnav a {padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted);}
.topnav a:hover {background: var(--soft); color: var(--a1);}
.search-wrap {flex: 1 1 auto; max-width: 420px; margin-left: auto; position: relative;}
.search-box {position: relative;}
.search-box input, .search-box input:focus {height: 40px; padding: 0 48px 0 40px; box-shadow: none; background: #f1edfb; color: var(--ink); border-radius: 999px; font-weight: 500;}
.search-box input:focus {background: #fff; box-shadow: inset 0 0 0 2px var(--a1);}
.search-ico {position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; pointer-events: none;}
.search-box button {position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; line-height: 32px; padding: 0; border-radius: 50%; font-size: 16px; background: var(--grad);}
.btn-menu {display: none; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; cursor: pointer; background: var(--soft); color: var(--a1); font-size: 22px; flex: 0 0 auto;}

/* ---------- layout ---------- */
.wrap {min-width: 320px; position: relative; padding-bottom: 76px; overflow: hidden;}
.content {max-width: 1180px; margin: 0 auto;}
.main {padding: 18px 20px 6px;}
.cols {display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start;}
.sect + .sect {margin-top: 0;}
.sect-header {margin-bottom: 12px;}
.sect-title {display: flex; align-items: center; gap: 10px; font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink);}
.sect-title:before {content: ''; width: 5px; height: 20px; border-radius: 3px; background: var(--grad); flex: 0 0 auto;}
.sect-title span {color: var(--a1);}
.sect-title-small {font-size: 13px;}
.speedbar {font-size: 13px; margin: 0 0 14px; padding: 0; color: var(--muted);}
.speedbar a {color: var(--muted);}
.speedbar a:hover {color: var(--a1);}
.speedbar .bi {color: var(--a1); margin-right: 6px;}
.speedbar .spacer {padding: 0 6px;}
.footer {max-width: 1180px; margin: 10px auto 0; padding: 0 20px;}
.footer-in {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);}
.footer a {color: var(--a1); font-weight: 600;}

/* DLE content container: two-column grid on listing pages */
#dle-content {display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start;}
#dle-content > *:not(.track-item) {grid-column: 1 / -1;}

/* ---------- track row ---------- */
.track-item {position: relative; display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; width: 100%; margin-bottom: 8px; padding: 8px 12px 8px 8px; background: var(--surface); border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s, transform .2s;}
.track-item:hover {box-shadow: var(--shadow-hover); border-color: #ddd0fb; transform: translateY(-1px);}
.track-play {flex: 0 0 auto; width: 42px; height: 42px; line-height: 42px; text-align: center; border-radius: 50%; margin: 0; font-size: 20px; padding-left: 2px; cursor: pointer; color: #fff; background: var(--grad); box-shadow: 0 4px 10px rgba(124,58,237,.3); transition: transform .15s, box-shadow .2s;}
.track-play:hover {transform: scale(1.06); box-shadow: 0 6px 14px rgba(236,72,153,.35);}
.js-item-played .bi-play:before {content: '\F4C4';}
.js-item-played .track-play {padding-left: 0;}
.js-item-played.track-item {border-color: #ddd0fb; background: linear-gradient(90deg, #faf6ff, #fff);}
.track-desc {display: block; min-width: 0;}
.track-title {color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.3;}
.track-subtitle {font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 500;}
.track-time {flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums;}
.track-dl {flex: 0 0 auto; width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 16px; transition: background .2s, color .2s;}
.track-dl:hover {background: var(--teal); color: #fff;}

/* ---------- pagination ---------- */
.bottom-nav {padding-top: 14px; grid-column: 1 / -1;}
.bottom-navi {display: none;}
.navigation {display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;}
.navigation a, .navigation span {display: inline-block; padding: 0 14px; line-height: 40px; min-width: 40px; text-align: center; font-size: 14px; font-weight: 700; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow);}
.navigation span:not(.nav_ext), .navigation a:hover {background: var(--grad); color: #fff;}

/* ---------- audio player (bottom bar) ---------- */
.wplayer {width: 100%; position: fixed; left: 0; bottom: 0; z-index: 997; background: #1d1a2f; color: #e9e5f7; box-shadow: 0 -8px 24px rgba(29,26,47,.25); border-top: 2px solid transparent; border-image: var(--grad) 1;}
.wplayer a {color: #e9e5f7;}
.audioplayer {max-width: 1180px; width: calc(100% - 40px); margin: 0 auto; height: 64px;}
.audioplayer audio {display: none;}
.audioplayer-bar {position: relative; height: 6px; flex: 1 1 auto; min-width: 80px; background: rgba(255,255,255,.14); border-radius: 3px; margin-left: 20px; cursor: pointer;}
.audioplayer-bar-loaded {position: absolute; left: 0; top: 0; height: 100%; background: rgba(255,255,255,.18); border-radius: 3px;}
.audioplayer-bar-played {position: absolute; left: 0; top: 0; height: 100%; z-index: 10; border-radius: 3px; background: var(--grad);}
.audioplayer-volume {position: relative; z-index: 100; margin-left: 18px; font-size: 18px;}
.audioplayer-muted .bi-volume-up:before {content: '\F60D';}
.audioplayer-volume-button a {display: block; height: 30px; line-height: 30px; text-align: center;}
.audioplayer-volume-adjust {position: absolute; left: 0; bottom: 100%; width: 30px; height: 100px; background: #2b2745; box-shadow: 0 6px 18px rgba(0,0,0,.4); padding: 10px; border-radius: 8px; display: none;}
.audioplayer-volume-adjust > div {width: 10px; height: 80px; border-radius: 5px; position: relative; cursor: pointer; background: rgba(255,255,255,.14); overflow: hidden;}
.audioplayer-volume-adjust > div > div {width: 100% !important; background: var(--grad); position: absolute; left: 0; bottom: 0; z-index: 10;}
.audioplayer-volume:hover .audioplayer-volume-adjust {display: block;}
.ap-dl {font-size: 18px; margin-left: 18px;}
.ap-time {font-size: 12px; margin-left: 18px; color: #b9b3d6; font-variant-numeric: tabular-nums;}
.audioplayer-time-current:after {content: '/'; display: inline; margin: 0 6px;}
.ap-desc {width: 300px;}
.ap-img {width: 40px; height: 40px; margin-right: 12px; border-radius: 8px;}
.ap-artist {font-size: 12.5px; margin-top: 3px; color: #b9b3d6;}
.ap-title {font-size: 14px; color: #fff; font-weight: 700;}
.ap-btns {margin-right: 18px;}
.audioplayer-playpause a {width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; display: block; position: relative; margin: 0 18px; background: var(--grad); color: #fff;}
.ap-prev, .ap-next {cursor: pointer; font-size: 18px;}
.ap-prev:hover, .ap-next:hover, .audioplayer-volume-button a:hover, .ap-dl:hover {color: var(--a2);}
.audioplayer-stopped .audioplayer-playpause a {padding-left: 3px;}
.wplayer-init .audioplayer-playpause .fas:before {content: '\f04b'; padding-left: 1px;}

/* ---------- full page ---------- */
.fheader {margin-bottom: 14px;}
.fheader h1 {font-size: 18px; line-height: 1.35; text-transform: none; letter-spacing: 0;}
.fmain {margin-bottom: 16px; padding: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);}
.fcols {gap: 18px; justify-content: flex-start; flex-wrap: nowrap;}
.fimg {flex: 0 0 120px; width: 120px; height: 120px; border-radius: 16px; box-shadow: var(--shadow);}
.finfo {margin: 0; font-size: 14px; min-width: 200px;}
.finfo li {display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line);}
.finfo li:last-child {border-bottom: 0;}
.finfo li > span:first-child {color: var(--muted); font-weight: 600;}
.finfo li > span:last-child {font-weight: 700;}
.finfo a {color: var(--a1);}
.fcaption {font-size: 13.5px; line-height: 1.6; width: 300px; color: var(--muted);}
.fcaption b {color: var(--ink);}
.fmeta {gap: 12px; margin-bottom: 18px; justify-content: flex-start;}
.fplay {position: relative; cursor: pointer; height: 46px; line-height: 46px; border-radius: 999px; overflow: hidden; background: var(--grad); color: #fff; font-weight: 700; padding: 0 24px 0 62px; flex-direction: row;}
.fplay-icon {position: absolute; left: 0; top: 0; bottom: 0; width: 46px; background: rgba(255,255,255,.2) !important; font-size: 18px;}
.fdl {background: var(--teal); color: #fff;}
.fplay:hover, .fdl:hover {color: #fff; box-shadow: 0 8px 18px rgba(124,58,237,.3);}
.js-item-played .js-play .fplay-icon {padding-left: 0;}
.sect-cols {display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;}

/* ---------- static / text pages ---------- */
.mtitle, .sub-title h1, .form-wrap h1 {margin-bottom: 16px; font-size: 22px; font-weight: 700;}
.full-text {line-height: 1.65; font-size: 15px;}
.full-text img:not(.emoji) {max-width: 100%; margin: 10px 0; border-radius: 10px;}
.full-text a {text-decoration: underline; color: var(--a1);}
.full-text a:hover {text-decoration: none;}
.full-text h2, .full-text h3, .full-text h4, .full-text h5 {margin: 12px 0 8px; font-size: 20px; font-weight: 700;}
.full-text p {margin-bottom: 10px;}
.full-text ul li {list-style: disc; margin-left: 24px;}
.full-text ol li {list-style: decimal; margin-left: 24px;}
.sect-about-text {padding: 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);}
.berrors {background: #fff3e0; color: #9a5b13; margin: 0 0 12px; padding: 12px 16px; border-radius: 12px; grid-column: 1 / -1;}

/* ---------- search module (/find/) ---------- */
.search-page .sect__title {margin-bottom: 14px; font-size: 18px; text-transform: none; letter-spacing: 0; font-weight: 700;}
.d-grid-items {display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;}
.vmestevse {margin-bottom: 8px;}
.vmestevse-t {display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;}
.vmestevse-t:before {content: ''; width: 5px; height: 20px; border-radius: 3px; background: var(--grad);}
.vmestevse-c {display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;}
.vmestevse-c .search-module-intro {grid-column: 1 / -1; margin-bottom: 12px; color: var(--muted); line-height: 1.6;}
.jinglik {display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 10px 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;}
.jinglik:hover {box-shadow: var(--shadow-hover); transform: translateY(-1px);}
.jinglik > .bi:first-child {color: var(--a1); font-size: 18px;}
.jinglik > .bi:last-child {color: var(--muted); font-size: 14px;}
.jinglik-desc {min-width: 0;}
.jinglik-artist, .jinglik-title {font-weight: 700; font-size: 14px;}
.jinglik-artist + .jinglik-title {font-weight: 500; font-size: 13px; color: var(--muted);}
.jinglik-time {font-size: 12px; font-weight: 600; color: var(--muted);}
.search-inline-player {grid-column: 1 / -1;}

/* ---------- mobile menu (side panel is built by libs.js from .to-mob) ---------- */
.mob-nav {display: none;}
.side-panel {width: 280px; height: 100%; overflow-x: hidden; overflow-y: auto; background: #fff; padding: 0; z-index: 9999; position: fixed; left: -320px; top: 0; transition: left .4s; box-shadow: 0 0 40px rgba(29,26,47,.2);}
.side-panel.active {left: 0;}
.side-panel .mob-nav {display: block; padding: 20px 8px;}
.mob-title {padding: 4px 14px 12px; font-family: 'Unbounded', 'Manrope', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;}
.main-nav a {display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink);}
.main-nav a:hover {background: var(--soft); color: var(--a1);}
.main-nav .bi {color: var(--a1); font-size: 18px;}
.close-overlay {width: 100%; height: 100%; background: rgba(29,26,47,.5); position: fixed; left: 0; top: 0; z-index: 9998; display: none;}
.btn-close {cursor: pointer; display: block; left: 280px; top: -48px; position: fixed; z-index: 9999; width: 44px; height: 44px; line-height: 44px; text-align: center; font-size: 22px; background: var(--grad); color: #fff; border-radius: 0 0 14px 0; transition: top .4s;}
.btn-close.active {top: 0;}
body.opened-menu {overflow: hidden; width: 100%; height: 100%;}

/* ---------- responsive ---------- */
@media screen and (max-width: 980px) {
	.topnav {display: none;}
	.btn-menu {display: block;}
	.search-wrap {margin-left: auto;}
}
@media screen and (max-width: 860px) {
	.cols, #dle-content, .sect-cols, .d-grid-items, .vmestevse-c {grid-template-columns: 1fr;}
	.main {padding: 14px 14px 4px;}
	.topbar-in {padding: 0 14px; gap: 10px;}
	.footer {padding: 0 14px;}
	.fcols {flex-wrap: wrap;}
	.fcaption {width: 100%;}
	.fmeta .fplay {width: 100%;}
}
@media screen and (max-width: 600px) {
	:root {--topbar-h: 56px;}
	.logo-text {font-size: 16px;}
	.search-wrap {max-width: none;}
	.audioplayer-volume, .ap-time, .ap-img {display: none;}
	.audioplayer-playpause a {margin: 0 10px;}
	.audioplayer-bar {position: absolute; left: 0; top: -6px; height: 6px; width: 100%; border-radius: 0; margin: 0;}
	.ap-desc {width: auto; flex: 1 1 0;}
}
@media screen and (max-width: 420px) {
	.logo-text {display: none;}
	.track-time {display: none;}
}

/* lyrics / description block on the track page */
.fstory {margin: 0 0 20px; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); line-height: 1.7; font-size: 14.5px; color: #3a3650;}
.fstory:empty {display: none;}
.full > .sect {margin-top: 6px;}
