*{margin:0;padding:0;box-sizing:border-box}
ol,ul{list-style:none}
blockquote,q{quotes:none}
table{border-collapse:collapse;border-spacing:0}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button,textarea,input[type="text"],input[type="password"]{
  appearance:none;-webkit-appearance:none;
  font-family:'Inter',system-ui,sans-serif;font-size:14px;
}
.hidden,#dofullsearch{display:none}
.clearfix::after{content:"";display:table;clear:both}
.nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

#dle-content{display:flex;flex-direction:column}
#dle-content>*:not(.track-item){width:100%}

/* ===== TRACK ITEM ===== */
.track-item{
  display:flex;align-items:center;gap:14px;
  padding:12px 20px;
  border-bottom:1px solid #f1f5f9;
  width:100%;
}
.track-item:last-child{border-bottom:none}
.track-item:hover{background:#f8fafc}
.track-play{
  width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;
  background:#6366f1;
  color:#fff;font-size:12px;
  cursor:pointer;flex-shrink:0;
  padding-left:2px;
}
.track-desc{display:block;flex:1;min-width:0}
.track-title{font-size:14px;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.track-subtitle{font-size:13px;color:#64748b;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.track-time{font-size:12px;color:#94a3b8;font-variant-numeric:tabular-nums;flex-shrink:0}
.track-dl{
  width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;color:#6366f1;font-size:13px;
  flex-shrink:0;background:#eef2ff;
}
.track-item.js-item-played{background:#eef2ff}
.js-item-played .fa-play:before{content:"\f04c"}
.js-item-played .track-play{padding-left:0;background:#4f46e5}
.track-item.js-item-current{background:#eef2ff}

.track-item-pop{
  width:100%;display:flex;align-items:center;
  padding:6px 10px;border-radius:10px;
}
.track-item-pop .track-title{font-size:13px;color:#0f172a}

/* ===== FULL STORY ===== */
.fheader{margin-bottom:20px}
.fheader h1{font-size:26px;font-weight:800;color:#0f172a;line-height:1.3}
.fheader h1 span{color:#6366f1}
.fmain{margin-bottom:24px}
.fcols{display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap}
.fimg{width:200px;height:200px;border-radius:16px;overflow:hidden;flex-shrink:0}
.fimg img{width:100%;height:100%;object-fit:cover}
.finfo{flex:1;min-width:200px;font-size:14px}
.finfo li{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #f1f5f9}
.finfo li:last-child{border-bottom:none}
.finfo li>span:first-child{color:#94a3b8;min-width:120px;font-size:13px}
.finfo li>span:last-child{color:#0f172a;font-weight:500}
.fmeta{width:260px;flex-shrink:0}
.fplay{
  display:flex;align-items:center;height:56px;
  border-radius:14px;overflow:hidden;cursor:pointer;
  background:#6366f1;color:#fff;
  padding:0 20px 0 64px;position:relative;
}
.fplay-icon{
  position:absolute;left:0;top:0;bottom:0;width:56px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.1);font-size:16px;
}
.fplay-title{font-size:13px;line-height:1.4;max-height:36px;overflow:hidden;font-weight:500}
.fdl{
  display:flex;align-items:center;justify-content:center;
  height:48px;margin-top:10px;
  background:#eef2ff;border:1px solid #e0e7ff;color:#4f46e5;
  border-radius:14px;font-weight:600;font-size:14px;text-align:center;
}
.fcaption{font-size:14px;color:#64748b;line-height:1.7;padding:16px 0;border-top:1px solid #f1f5f9}
.js-item-played .js-play .fplay-icon{padding-left:0}

/* ===== FULL TEXT ===== */
.full-text{line-height:1.8;font-size:15px;color:#334155}
.full-text img:not(.emoji){max-width:100%;margin:10px 0}
.full-text a{color:#4f46e5;text-decoration:underline}
.full-text a:hover{text-decoration:none}
.full-text h2,.full-text h3,.full-text h4{margin:16px 0 8px;font-size:20px;font-weight:700;color:#0f172a}
.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}
.ftext{max-height:280px;overflow-x:hidden;overflow-y:auto;padding-right:8px}

/* ===== SECTIONS ===== */
.sect+.sect{margin-top:40px}
.sect-header{margin-bottom:16px}
.sect-title{font-size:20px;font-weight:800;color:#0f172a}
.sect-title span{color:#6366f1}
.sect-title-small{font-size:16px}
.sect-caption{font-size:13px;color:#94a3b8;margin-top:2px}
.sect-link{font-size:13px;color:#6366f1;display:flex;align-items:center;gap:6px}

/* ===== ALBUM CARDS ===== */
.album-item{width:calc(33.333% - 12px);margin-bottom:16px}
.album-in{display:block;position:relative;border-radius:16px;overflow:hidden;padding-top:100%;background:#f1f5f9}
.album-in img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.album-desc{position:absolute;left:0;right:0;bottom:0;padding:40px 14px 14px;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.album-title{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.album-subtitle{font-size:12px;color:rgba(255,255,255,.8);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ===== SPEEDBAR ===== */
.speedbar{font-size:13px;color:#94a3b8;margin-bottom:20px;display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.speedbar a{color:#6366f1}
.speedbar .fa,.speedbar .fas{font-size:10px;color:#cbd5e1;margin:0 4px}

/* ===== PAGINATION ===== */
.bottom-nav{padding-top:24px}
.navigation{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}
.navigation a,.navigation span,
.pnext a,.pprev a,.pprev>span,.pnext>span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:40px;height:40px;padding:0 12px;border-radius:10px;
  font-size:14px;font-weight:500;
  background:#fff;color:#475569;border:1px solid #e2e8f0;
}
.navigation a:hover{background:#eef2ff;border-color:#c7d2fe;color:#4f46e5}
.navigation span:not(.nav_ext){background:#6366f1;color:#fff;border-color:transparent}

/* ===== SEARCH BOX ===== */
.search-box{position:relative;display:flex;align-items:center}
.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:13px;color:#94a3b8;pointer-events:none;z-index:1}
.search-input{
  width:100%!important;height:40px!important;
  padding:0 16px 0 38px!important;
  border-radius:9999px!important;border:none!important;
  background:#f1f5f9!important;color:#0f172a;
  font-size:14px;outline:none;
}
.search-input::placeholder{color:#94a3b8}
.search-input:focus{background:#e2e8f0!important}

/* ===== SEARCH PAGE ===== */
.search-page{margin-bottom:24px}
.search-page .sub-title h1{font-size:24px;font-weight:800;margin-bottom:16px;color:#0f172a}
.searchtable{padding:20px;background:#fff;border-radius:16px;border:1px solid #e2e8f0}
.sres-wrap{margin-top:24px}
.sres-title{font-size:16px;font-weight:700;margin-bottom:12px;color:#0f172a}
.sres-title span{color:#6366f1}

/* ===== COMMENTS ===== */
.comm-item{display:flex;gap:14px;padding:20px;border-radius:16px;background:#fff;border:1px solid #e2e8f0;margin-bottom:10px}
.comm-img{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0}
.comm-img img{width:100%;height:100%;object-fit:cover}
.comm-right{flex:1;min-width:0}
.comm-one{font-size:13px;color:#94a3b8;margin-bottom:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.comm-author{color:#0f172a;font-weight:600}
.comm-two{font-size:14px;color:#334155;line-height:1.6}
.comm-three{margin-top:10px}
.comm-rate3{display:inline-flex;align-items:center;gap:6px}
.reply{color:#6366f1;cursor:pointer;font-size:13px;font-weight:500}

/* ===== ERRORS ===== */
.berrors{padding:16px 20px;border-radius:14px;background:#fef2f2;border:1px solid #fecaca;color:#dc2626;font-size:14px;line-height:1.6;margin-bottom:16px}
.berrors b{color:#991b1b;display:block;margin-bottom:4px}

/* ===== TITLES ===== */
.mtitle,.sub-title h1,.form-wrap h1{font-size:24px;font-weight:800;margin-bottom:20px;color:#0f172a}

/* ===== AUDIO PLAYER ===== */
.wplayer{width:100%;position:fixed;left:0;bottom:0;z-index:997;background:#fff;border-top:1px solid #e2e8f0}
.audioplayer{max-width:1280px;width:calc(100% - 32px);margin:0 auto;height:72px;display:flex;align-items:center}
.audioplayer audio{display:none}
.audioplayer-bar{position:relative;height:5px;flex:1;max-width:360px;background:#e2e8f0;border-radius:3px;margin-left:16px;cursor:pointer;overflow:hidden}
.audioplayer-bar-loaded{position:absolute;left:0;top:0;height:100%;background:#f1f5f9;border-radius:3px}
.audioplayer-bar-played{position:absolute;left:0;top:0;height:100%;z-index:10;border-radius:3px;background:#6366f1}
.audioplayer-volume{position:relative;z-index:100;margin-left:14px;font-size:15px}
.audioplayer-muted .fa-volume-up:before{content:"\f6a9"}
.audioplayer-volume-button a{color:#94a3b8;display:block;height:30px;line-height:30px;text-align:center}
.audioplayer-volume-adjust{position:absolute;left:-5px;bottom:100%;width:30px;height:100px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:10px;display:none}
.audioplayer-volume-adjust>div{width:10px;height:80px;border-radius:5px;position:relative;cursor:pointer;background:#e2e8f0;overflow:hidden}
.audioplayer-volume-adjust>div>div{width:100%!important;background:#6366f1;position:absolute;left:0;bottom:0;z-index:10;border-radius:5px}
.audioplayer-volume:hover .audioplayer-volume-adjust{display:block}
.ap-dl{font-size:15px;color:#94a3b8;margin-left:14px}
.ap-time{font-size:12px;color:#94a3b8;margin-left:14px;width:80px;font-variant-numeric:tabular-nums}
.audioplayer-time-current:after{content:"/";display:inline;margin:0 4px;color:#cbd5e1}
.ap-desc{width:220px;display:flex;align-items:center;gap:12px}
.ap-img{width:44px;height:44px;border-radius:10px;overflow:hidden;flex-shrink:0}
.ap-img img{width:100%;height:100%;object-fit:cover}
.ap-info{flex:1;min-width:0}
.ap-artist{font-size:12px;margin-top:2px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-title{font-size:14px;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-btns{margin-right:14px;display:flex;align-items:center}
.audioplayer-playpause a{
  width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:#6366f1;color:#fff;
  margin:0 10px;font-size:14px;
}
.wplayer-init .audioplayer-playpause .fas:before{content:"\f04b";padding-left:2px}
.audioplayer-stopped .audioplayer-playpause a{padding-left:2px}
.ap-prev,.ap-next{cursor:pointer;color:#94a3b8;font-size:15px;padding:8px}

/* ===== SIDE PANEL ===== */
.side-panel{width:300px;height:100%;overflow-x:hidden;overflow-y:auto;padding:20px;z-index:9999;position:fixed;left:-320px;top:0;background:#fff;border-right:1px solid #e2e8f0}
.side-panel.active{left:0}
.side-panel .to-mob{border:none;border-bottom:1px solid #f1f5f9;border-radius:0}
.side-panel .to-mob:last-child{border-bottom:none}
.close-overlay{width:100%;height:100%;background:rgba(0,0,0,.3);position:fixed;left:0;top:0;z-index:9998;display:none}
.btn-close{cursor:pointer;left:300px;top:-48px;position:fixed;z-index:9999;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:14px;background:#ef4444;color:#fff;border-radius:0 10px 10px 0}
.btn-close.active{top:10px}
body.opened-menu{overflow:hidden;width:100%;height:100%}

/* ===== FORMS ===== */
.button,.btn,button,html input[type="button"],
input[type="reset"],input[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;
  padding:0 20px;height:42px;border-radius:12px;cursor:pointer;
  color:#fff;background:#6366f1;
  font-size:14px;font-weight:600;border:none;
}
input[type="text"],input[type="password"]{
  height:42px;border-radius:12px;border:1px solid #e2e8f0;
  padding:0 16px;width:100%;background:#fff;color:#0f172a;outline:none;
}
input[type="text"]:focus,input[type="password"]:focus{border-color:#a5b4fc}
input:focus::placeholder,textarea:focus::placeholder{color:transparent}
textarea{padding:12px 16px;border-radius:12px;border:1px solid #e2e8f0;width:100%;background:#fff;color:#0f172a;outline:none;resize:vertical;min-height:80px}
textarea:focus{border-color:#a5b4fc}
select{height:42px;padding:0 16px;border-radius:12px;border:1px solid #e2e8f0;background:#fff;color:#0f172a}

/* ===== LOGIN ===== */
.login-box{padding:20px;background:#fff;border-radius:16px;border:1px solid #e2e8f0}
.login-input{margin-bottom:10px}
.login-btn{margin-top:14px}
.login-btn button{width:100%}
.login-btm{display:flex;justify-content:space-between;margin-top:10px;font-size:13px}
.login-btm a{color:#6366f1}

/* ===== IMAGE ===== */
.img-box,.img-fit,.img-resp,.img-resp-sq{overflow:hidden;position:relative}
.img-resp{padding-top:60%}
.img-resp-sq{padding-top:100%}
.img-box img,.img-resp img,.img-resp-sq img{width:100%;min-height:100%;display:block}
.img-resp img,.img-resp-sq img{position:absolute;left:0;top:0}
.img-fit img{width:100%;height:100%;object-fit:cover}

/* ===== FLEX ===== */
.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-1{flex:1;min-width:0}
.fx-start{justify-content:flex-start}

.re{padding-top:16px}

.full-taglist{margin-top:16px}
.full-taglist a{color:#4f46e5;display:inline-block;padding:4px 12px;background:#eef2ff;border-radius:8px;font-size:13px;margin:4px 4px 4px 0}

.video-box embed,.video-box object,.video-box video,
.video-box iframe,.video-box frame{max-width:100%!important;display:block;width:100%;height:400px;border-radius:16px}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .sidebar,.hdesc{display:none}
  .btn-menu{display:flex!important}
  .audioplayer-bar{position:absolute;left:0;top:-4px;height:4px;width:100%;max-width:none;border-radius:0;margin:0}
  .track-item{padding:10px 16px;gap:12px}
  .track-play{width:34px;height:34px;font-size:11px}
  .track-dl{width:28px;height:28px;border-radius:8px;font-size:12px}
  .comm-item{padding:16px}
  .sect-title{font-size:18px}
}
@media(max-width:768px){
  .fmeta{width:100%;margin-top:16px}
  .fimg{width:140px;height:140px}
  .album-item{width:calc(50% - 8px)}
  .ap-desc{width:150px}
  .fcols{gap:16px}
  .finfo li{padding:8px 0}
  .fplay{height:48px;padding:0 16px 0 52px}
  .fplay-icon{width:48px;font-size:14px}
  .fdl{height:42px;font-size:13px}
  .fheader h1{font-size:22px}
  .mtitle,.sub-title h1,.form-wrap h1{font-size:20px;margin-bottom:16px}
  .navigation a,.navigation span,
  .pnext a,.pprev a,.pprev>span,.pnext>span{
    min-width:36px;height:36px;padding:0 10px;font-size:13px;border-radius:8px;
  }
  .login-box{padding:16px}
  .searchtable{padding:16px}
  .side-panel{width:280px;left:-300px;padding:16px}
  .btn-close{left:280px}
}
@media(max-width:640px){
  .audioplayer-volume,.ap-time,.ap-img{display:none}
  .audioplayer-playpause a{margin:0 6px}
  .audioplayer{height:60px}
  .ap-btns{margin-right:8px}
  .ap-dl{margin-left:8px}
  .ap-desc{width:110px;gap:8px}
  .ap-title{font-size:13px}
  .ap-artist{font-size:11px}
  .fheader h1{font-size:20px}
  .album-item{width:100%}
  .fimg{width:100px;height:100px;border-radius:12px}
  .fcols{gap:12px}
  .finfo{font-size:13px}
  .finfo li{padding:6px 0}
  .finfo li>span:first-child{min-width:80px;font-size:12px}
  .fplay{height:44px;padding:0 14px 0 44px;border-radius:12px}
  .fplay-icon{width:44px;font-size:13px}
  .fplay-title{font-size:12px}
  .fdl{height:40px;border-radius:12px;font-size:13px}
  .track-item{padding:8px 12px;gap:10px}
  .track-play{width:32px;height:32px;font-size:10px}
  .track-title{font-size:13px}
  .track-subtitle{font-size:12px}
  .track-time{font-size:11px}
  .track-dl{width:26px;height:26px;border-radius:8px;font-size:11px}
  .comm-item{padding:12px;gap:10px;border-radius:12px}
  .comm-img{width:32px;height:32px}
  .comm-one{font-size:12px;gap:6px}
  .comm-two{font-size:13px}
  .mtitle,.sub-title h1,.form-wrap h1{font-size:18px;margin-bottom:14px}
  .sect-title{font-size:16px}
  .sect-caption{font-size:12px}
  .bottom-nav{padding-top:16px}
  .navigation a,.navigation span,
  .pnext a,.pprev a,.pprev>span,.pnext>span{
    min-width:34px;height:34px;padding:0 8px;font-size:12px;
  }
  .speedbar{font-size:12px;margin-bottom:14px}
  .berrors{padding:12px 16px;font-size:13px;border-radius:12px}
  .full-text{font-size:14px}
  .ftext{max-height:220px}
  .full-taglist a{font-size:12px;padding:3px 10px}
  .side-panel{width:260px;left:-280px;padding:14px}
  .btn-close{left:260px;width:32px;height:32px;font-size:12px}
  .button,.btn,button,html input[type="button"],
  input[type="reset"],input[type="submit"]{
    height:38px;padding:0 16px;font-size:13px;border-radius:10px;
  }
  input[type="text"],input[type="password"]{
    height:38px;padding:0 14px;border-radius:10px;font-size:13px;
  }
  textarea{padding:10px 14px;border-radius:10px;font-size:13px}
  select{height:38px;padding:0 14px;border-radius:10px;font-size:13px}
  .login-box{padding:14px;border-radius:12px}
  .searchtable{padding:14px;border-radius:12px}
  .video-box iframe,.video-box video,.video-box embed{height:240px;border-radius:12px}
}
@media(max-width:400px){
  .track-time{display:none}
  .track-item{padding:8px 10px;gap:8px}
  .ap-desc{width:90px}
  .fimg{width:80px;height:80px;border-radius:10px}
  .fheader h1{font-size:18px}
  .fplay{height:42px;padding:0 12px 0 42px;border-radius:10px}
  .fplay-icon{width:42px}
  .album-desc{padding:30px 10px 10px}
  .album-title{font-size:13px}
  .album-subtitle{font-size:11px}
}
