/* 73DJ 站点补充样式：播放器 / 兜底视觉 / 移动端修正（保持原站 960px 版式） */

/* ============ 播放器 .pl73 ============ */
.p_c1 { height: auto !important; background: #fff !important; padding: 10px 10px 2px; }
#media { width: 100%; }
.pl73 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #33373f 0%, #2b2f36 100%);
    border-radius: 8px;
    padding: 12px 14px 12px;
    box-shadow: 0 2px 10px rgba(18, 24, 33, .18) inset, 0 1px 0 rgba(255, 255, 255, .06) inset;
    user-select: none;
}
.pl73-bar {
    position: relative;
    flex: 0 0 100%;
    height: 5px;
    border-radius: 3px;
    background: #4a4f58;
    cursor: pointer;
    margin-bottom: 2px;
}
.pl73-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; }
.pl73-buf { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #6b717b; }
.pl73-played { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, #ff6a5e, #e5342e); }
.pl73-thumb {
    position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px;
    border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); pointer-events: none;
}
.pl73-btn {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
    background: #e5342e; display: flex; align-items: center; justify-content: center;
    cursor: pointer; outline: none; box-shadow: 0 2px 6px rgba(229, 52, 46, .35);
    transition: transform .12s ease, background .2s;
}
.pl73-btn:hover { background: #f0473f; }
.pl73-btn:active { transform: scale(.95); }
.pl73-btn svg { width: 18px; height: 18px; fill: #fff; display: none; }
.pl73-btn .pl73-ip { display: block; }
.pl73.playing .pl73-btn .pl73-ip { display: none; }
.pl73.playing .pl73-btn .pl73-ia { display: block; }
.pl73-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: #d9dde4; }
.pl73-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; width: 16px; opacity: .8; }
.pl73-eq i { display: block; width: 2px; height: 4px; background: #8e959f; border-radius: 1px; }
.pl73.playing .pl73-eq i { background: #ff6a5e; animation: pl73eq .9s ease-in-out infinite alternate; }
.pl73.playing .pl73-eq i:nth-child(2) { animation-delay: .18s; }
.pl73.playing .pl73-eq i:nth-child(3) { animation-delay: .36s; }
.pl73.playing .pl73-eq i:nth-child(4) { animation-delay: .54s; }
@keyframes pl73eq { from { height: 3px; } to { height: 14px; } }
.pl73-txt { font-size: 13px; color: #c9ced6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl73-time { font: 12px/1 Arial, sans-serif; color: #9aa1ab; margin-left: auto; white-space: nowrap; }
.pl73-time b { color: #e8ebef; font-weight: 400; }
.pl73-time em { font-style: normal; margin: 0 3px; color: #6f7681; }
.pl73-vol { display: flex; align-items: center; gap: 8px; flex: 0 0 96px; }
.pl73-mute { width: 20px; height: 20px; cursor: pointer; }
.pl73-mute svg { width: 20px; height: 20px; fill: #cfd4db; display: none; }
.pl73-mute .pl73-mn { display: block; }
.pl73.muted .pl73-mute .pl73-mn { display: none; }
.pl73.muted .pl73-mute .pl73-mo { display: block; }
.pl73-vt { position: relative; flex: 1; height: 12px; cursor: pointer; display: flex; align-items: center; }
.pl73-vt::before { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #4a4f58; border-radius: 2px; }
.pl73-vp { position: absolute; left: 0; height: 3px; width: 60%; background: #c9ced6; border-radius: 2px; }
.pl73-vth { position: absolute; left: 60%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }

/* 播放页左侧/右侧比例在窄屏下堆叠 */
@media screen and (max-width: 768px) {
    .pl73 { gap: 8px; padding: 10px 12px; }
    .pl73-vol { display: none; }
    .pl73-txt { font-size: 12px; }
}

/* ============ 缺失素材兜底（原站图片已 404，改用同色系渐变） ============ */
.h_left_a3 { background: linear-gradient(180deg, #eaf4ff 0%, #ffffff 100%) !important; }
.p_right1 { background: linear-gradient(90deg, #e6f2ff 0%, #f7fbff 100%) !important; }

/* ============ 其它细节修正 ============ */
.search_box input.search_fod { color: #888; }
#nav li.cur a { color: #fff; }
.p_bottom2 ul li a { color: #333; }
.p_bottom2 ul li a:hover { color: #cc0000; }
.wq_8 a:hover { color: #cc0000; }
.free-tip { color: #009900; }
.pay-tip { color: #ff6600; }
.dj-note { font-size: 12px; color: #888; padding: 8px 10px; background: #fafbfc; border: 1px solid #eee; border-radius: 4px; }

/* ============ 导航（原站底图带透明，补成实色深灰条） ============ */
#nav { background: #383c48 !important; }
#nav li a { color: #fff !important; }
#nav li a:hover { background: #474d5d !important; color: #fff !important; }
#nav .cur a { background: #474d5d; color: #fff !important; }
#nav li.cur { background-image: none !important; }

/* ============ 首页滚动公告条 ============ */
.playjmp { padding: 0 !important; background: #000 !important; height: 28px; overflow: hidden; }
.dj-ticker { position: relative; height: 28px; line-height: 28px; overflow: hidden; }
.dj-ticker span {
    display: inline-block; white-space: nowrap; padding-left: 100%;
    font-size: 13px; color: #ff9d2e;
    animation: djmarquee 26s linear infinite;
    animation-delay: -9s;
}
@keyframes djmarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ============ 页脚横幅（原站广告位，用同色系自绘） ============ */
.dj-ad-banner { width: 960px; margin: 0 auto; padding: 6px; background: #fff; }
.dj-ad-banner a {
    display: flex; align-items: center; gap: 18px;
    height: 84px; padding: 0 28px; border-radius: 3px; text-decoration: none;
    background: radial-gradient(120% 160% at 8% 0%, #1d3f7a 0%, #0d1b33 55%, #060d18 100%);
    position: relative; overflow: hidden;
}
.dj-ad-banner a:before {
    content: ""; position: absolute; right: -40px; top: -60px; width: 380px; height: 220px;
    background: radial-gradient(closest-side, rgba(70,132,255,.30), transparent 70%);
}
.dj-ad-txt { color: #fff; font-size: 26px; font-weight: 700; letter-spacing: .5px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.dj-ad-txt b { color: #ffcf3f; font-size: 30px; margin-left: 4px; }
.dj-ad-sub { color: #9fb6d8; font-size: 13px; }
.dj-ad-btn {
    margin-left: auto; display: inline-block; padding: 8px 20px; border-radius: 3px;
    background: #e5342e; color: #fff; font-size: 14px; box-shadow: 0 3px 10px rgba(229,52,46,.35);
}

/* ============ 播放页 VIP 广告位 ============ */
.p_left1 { padding: 0 !important; }
.dj-vip-ad {
    box-sizing: border-box;
    display: block; width: 300px; min-height: 250px; height: 250px; padding: 18px 20px; text-decoration: none;
    background: linear-gradient(155deg, #2a2f3a 0%, #14171d 100%);
    border: 1px solid #333a46; color: #e8ebf0; position: relative; overflow: hidden;
}
.dj-vip-ad:before {
    content: ""; position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px;
    background: radial-gradient(closest-side, rgba(229,52,46,.28), transparent 70%);
}
.dj-vip-tag {
    display: inline-block; padding: 2px 8px; border-radius: 3px; background: #e5342e;
    color: #fff; font-size: 11px; letter-spacing: 1px;
}
.dj-vip-ad b { display: block; margin-top: 12px; font-size: 22px; line-height: 1.45; color: #fff; }
.dj-vip-ad em { display: block; margin-top: 10px; font-style: normal; font-size: 12px; line-height: 1.9; color: #9aa3b2; }
.dj-vip-btn {
    display: inline-block; margin-top: 14px; padding: 6px 16px; border-radius: 3px;
    border: 1px solid #e5342e; color: #ff7d76; font-size: 13px;
}
.dj-vip-ad.slim { box-sizing: border-box; width: 174px; height: 292px; min-height: 292px; padding: 16px 12px; text-align: center; }
.dj-vip-ad.slim b { font-size: 17px; }
.dj-vip-ad.slim em { font-size: 12px; }

/* ============ 播放页信息区排布 ============ */
.p_c4_b li { white-space: nowrap; font-size: 12px; }
.p_c4_b li:nth-child(5) { white-space: normal; }
.p_c3l img { border: 1px solid #e2e2e2; }

/* 播放器在 480px 中栏内更紧凑 */
.pl73 { padding: 10px 12px 10px; gap: 8px; }
.pl73-vol { flex: 0 0 62px; }
.pl73-vol .pl73-mute { flex: 0 0 18px; }
.pl73-info { gap: 6px; }
.pl73-txt { font-size: 12px; min-width: 0; }
.pl73-time { font-size: 11px; flex: 0 0 auto; margin-left: 4px; }
.pl73-eq { flex: 0 0 12px; }
.pl73-btn { flex: 0 0 34px; width: 34px; height: 34px; }

/* ============ 移动端自适应补丁（<=768px） ============ */
@media screen and (max-width: 768px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    #header, #head, #head ul, #nav, #nav ul { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
    #head { margin: 0; }
    #head ul { display: flex; flex-wrap: wrap; align-items: center; }
    #head .logo, #head .login, #head .search { float: none !important; }
    #nav ul { overflow: visible; }
    #nav li { flex: 1 0 33.333% !important; width: 33.333% !important; max-width: 33.333%; box-sizing: border-box; }
    #nav li a { width: 100% !important; padding: 0 2px; text-align: center; font-size: 14px; }
    .content, .content2, .content3, .banner, .banner1, .box, .wq_centent,
    .h_left, .h_right, .sectop, .sectopa, .sectopa2, .tjhy, .tjhycen, .tjhycen ul,
    .phdx, .phdx_left, .phdx_left1, .phdx_left2, .phdxtest, .links, #footmain,
    .dj-ad-banner, .p_banner, .Phbbox { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
    .content, .content2, .content3 { border-left: 0; border-right: 0; padding-left: 10px; padding-right: 10px; }
    .banner, .banner1 { padding-left: 10px; padding-right: 10px; background: #fff; }
    .i_left1, .phdx_lefta, .phdxtesta { width: 100% !important; box-sizing: border-box; }
    .h_right table, .content table, .content2 table, .content3 table, .wq_centent table { width: 100% !important; }
    .dj-ad-banner a { height: auto; padding: 14px 16px; gap: 8px; flex-wrap: wrap; }
    .dj-ad-txt { font-size: 17px; }
    .dj-ad-txt b { font-size: 19px; }
    .dj-ad-sub { display: none; }
    .dj-ad-btn { margin-left: 0; font-size: 12px; padding: 6px 14px; }
    .dj-vip-ad, .dj-vip-ad.slim { width: 100% !important; height: auto !important; min-height: 150px; padding: 14px 16px; }
    .dj-vip-ad b { font-size: 18px; margin-top: 6px; }
    .dj-vip-ad em { margin-top: 4px; font-size: 12px; }
    .dj-vip-btn { margin-top: 8px; }
    /* 分类页：小屏隐藏左侧榜单，列表行改为紧凑排布 */
    .wq_centent td.p_leftno1 { display: none; }
    .wq_centent td { width: auto !important; }
    .wq_4l { display: flex; }
    .wq_4l li.wq_8_ { flex: 1 1 auto; }
    .wq_11 li { display: flex; align-items: center; gap: 5px; height: auto; min-height: 34px; padding: 2px 0; border-bottom: 1px dashed #eef2f7; }
    .wq_11 li > .wq_12:first-child { flex: 0 0 auto; }
    .wq_11 li > .wq_7 { display: none; }
    .wq_11 li > .wq_8 { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .wq_11 li > .wq_12:nth-child(4) { flex: 0 0 auto; }
    .wq_11 li > .wq_9 { flex: 0 0 auto; font-size: 12px; color: #888; }
    .wq_13 table td { display: block; width: 100% !important; text-align: center; }
    .wq_13 ul { text-align: center; }
    /* 会员中心 / 后台：窄屏收起侧栏，内容全宽 */
    .mside, .aside { display: none !important; }
    .mlayout, .alayout { display: block !important; }
    .mmain { margin-left: 0 !important; padding: 16px 12px 28px !important; }
    .amain { margin-left: 0 !important; padding: 16px 12px !important; }
    .mtop-in, .atop-in { padding: 0 12px !important; }
    .mtop-right .mbadge, .atop-right .who { display: none !important; }
    .mcards, .mstats, .mquick, .mgrid { grid-template-columns: repeat(2, 1fr) !important; }
    .mcard, .mtable { overflow-x: auto; }
}

/* ============ 分类页左侧榜单下方小广告位 ============ */
.dj-side-ad { margin: 8px 0; padding: 12px 14px; border-radius: 4px; background: linear-gradient(135deg, #223148 0%, #111a26 100%); color: #e8edf4; display: flex; align-items: center; gap: 10px; }
.dj-side-ad > div { flex: 1; min-width: 0; }
.dj-side-ad b { display: block; font-size: 15px; color: #ffd76a; }
.dj-side-ad em { display: block; margin-top: 3px; font-style: normal; font-size: 11px; color: #9fb0c6; line-height: 1.5; }
.dj-side-ad a { flex: 0 0 auto; padding: 5px 10px; border-radius: 3px; background: #e5342e; color: #fff; font-size: 12px; text-decoration: none; }
.dj-side-ad a:hover { background: #f04a44; }

/* 播放页“舞曲信息”按两列排列，避免人气数字被折断 */
.p_c4_b { overflow: hidden; }
.p_c4_b ul { overflow: hidden; }
.p_c4_b li { float: left; width: 50% !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; line-height: 22px; }
.p_c4_b li:nth-child(5),
.p_c4_b li:nth-child(n+6) { width: 100% !important; }
.p_c4_b li:nth-child(5) { white-space: nowrap; }

/* 播放页信息盒高度随内容自适应（原固定 122px 会把下载按钮裁掉） */
.p_c3 { height: 154px !important; }
.p_c4_b { height: auto !important; width: 306px !important; padding-left: 22px !important; }

/* 下载 + 收藏合并为同一行，信息盒高度收紧 */
.p_c3 { height: 146px !important; }
.p_c4_b li:nth-child(6) { white-space: nowrap; }
.p_c4_b li:nth-child(6) span { float: none; display: inline-block; vertical-align: middle; margin-right: 10px; }

/* 播放页下载/收藏行 */
.p_actions { display: flex !important; align-items: center; gap: 8px; width: 100% !important; margin-top: 6px; white-space: nowrap !important; }
.p_actions .p_price { color: #FF6600; font-size: 12px; font-weight: 700; }
.p_actions .p_fav { color: #999; font-size: 12px; }
.p_actions a img { vertical-align: middle; }
