@charset "UTF-8";
/* ============================================================
   dp.css —— 动态谱（图片动态谱）样式
   机制段（播放窗/谱面高亮/倒计时/乐器面板结构）保持 Exiaodiao 原版；
   布局与视觉段对齐 lastVer 站点 gtp.php（左右分栏·白卡金线·琥珀金）
   ============================================================ */
body {
  padding: 0;
  margin: 0;
}

/* ============ 机制段：播放窗（左右双窗+手型） ============ */
.play-window {
  width: 100%;
  margin: 0 auto;
  overflow: auto;
  background: #fff;
  display: flex;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: flex-start;
  box-sizing: border-box;
  justify-content: flex-start;
}

.play-window .boxL {
  width: 50%;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.play-window .boxL .mask {
  position: absolute;
  right: 0;
  height: 100%;
  z-index: 999999;
  pointer-events: none;
}

.play-window .boxL .mask .hand {
  width: 2px;
  height: 100%;
  background-color: rgba(200, 162, 90, 0.95);
}

.play-window .boxL .lf {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.play-window .boxR .lf {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.play-window .boxR {
  width: 50%;
  overflow: hidden;
  height: 100%;
  position: relative;
}

.play-window .boxR .mask {
  position: absolute;
  left: 0;
  height: 100%;
  z-index: 999999;
  pointer-events: none;
}

.play-window .boxR .mask .hand {
  width: 2px;
  height: 100%;
  background-color: rgba(200, 162, 90, 0.95);
}

.play-window .boxR .rt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

/* ===== 滚动容器 ===== */
.mybox {
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: auto;
  display: flex;
  flex-wrap: nowrap;
  align-content: flex-start;
  align-items: flex-start;
  background: #fafafa;
  box-sizing: border-box;
  overflow: hidden;
}

/* ============ 播放面板（悬浮，深墨+琥珀金） ============ */
#dp-panel {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 99999999999;
  width: auto;
  min-width: 230px;
  max-width: calc(100vw - 24px);
  background: linear-gradient(160deg, #14110d 0%, #1d1812 60%, #201a13 100%);
  color: #eee;
  font-size: 13px;
  border: 1px solid rgba(200, 162, 90, .28);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(15, 10, 5, .38);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

#dp-panel.dp-expanded {
  width: min(560px, 96vw);
}

#dp-panel .dp-head {
  cursor: move;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(200, 162, 90, .16);
  border-radius: 14px 14px 0 0;
  touch-action: none;
}

#dp-panel .dp-head-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

#dp-panel.dragging {
  opacity: 0.9;
}

#dp-panel.dp-expanded .dp-head {
  border-radius: 14px 14px 0 0;
}

#dp-panel .dp-head-fill {
  flex: 1 1 auto;
  min-width: 8px;
}

#dp-panel .dp-head-sep {
  width: 1px;
  height: 18px;
  background: rgba(200, 162, 90, .35);
  margin: 0 2px;
}

#dp-panel .dp-loop-btn {
  padding: 3px 8px;
  font-size: 12px;
}

#dp-panel .dp-loop-status {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
}

#dp-panel .dp-loop-status.on {
  color: var(--gold-2, #e0bd6f);
}

.dp-loop-marker {
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 5;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: rgba(200, 162, 90, .95);
  border-radius: 6px;
  padding: 0 4px;
  pointer-events: none;
  box-sizing: border-box;
}

#dp-panel .dp-settings-btn {
  padding: 4px 10px;
  font-size: 15px;
  line-height: 1;
}

#dp-panel .dp-body {
  padding: 10px 13px 12px;
}

#dp-panel .dp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#dp-panel .dp-row + .dp-row {
  margin-top: 9px;
}

#dp-panel .dp-sep {
  width: 1px;
  height: 18px;
  background: rgba(200, 162, 90, .35);
  margin: 0 2px;
}

#dp-panel label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: rgba(255, 255, 255, .72);
}

#dp-panel select, #dp-panel input {
  background: #fdfcf9;
  color: #23201a;
  border: 1px solid rgba(200, 162, 90, .4);
  border-radius: 8px;
  padding: 3px 6px;
  outline: none;
}

#dp-panel select:focus, #dp-panel input:focus {
  border-color: var(--gold-2, #e0bd6f);
  box-shadow: 0 0 0 3px rgba(200, 162, 90, .18);
}

.dp-btn {
  border: 1px solid rgba(200, 162, 90, .45);
  background: linear-gradient(135deg, var(--gold-2, #e0bd6f), var(--gold, #c8a25a));
  color: #241a08;
  border-radius: 9px;
  padding: 5px 13px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  min-height: 30px;
  line-height: 1.2;
  white-space: nowrap;
  transition: box-shadow .18s, transform .12s;
}

.dp-btn:hover {
  box-shadow: 0 6px 20px rgba(200, 162, 90, .4);
  transform: translateY(-1px);
}

.dp-btn:disabled {
  opacity: 0.45;
  cursor: default;
  background: #57534a;
  color: rgba(255,255,255,.6);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.dp-mode-btn {
  border: 1px solid rgba(200, 162, 90, .4);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .82);
  border-radius: 9px;
  padding: 3px 9px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s;
}

.dp-mode-btn:hover {
  border-color: var(--gold-2, #e0bd6f);
  color: #fff;
}

.dp-mode-btn:disabled{ opacity:.4; cursor:not-allowed; }
.dp-mode-btn.on {
  background: linear-gradient(135deg, var(--gold-2, #e0bd6f), var(--gold, #c8a25a));
  color: #241a08;
  border-color: transparent;
  font-weight: 600;
}

#dp-status {
  color: var(--gold-2, #e0bd6f);
  font-size: 12px;
  display: none;
}

#dp-curchord {
  margin-left: auto;
  background: linear-gradient(135deg, var(--gold-2, #e0bd6f), var(--gold, #c8a25a));
  color: #241a08;
  border-radius: 9px;
  padding: 3px 12px;
  font-weight: bold;
  font-size: 15px;
  min-width: 56px;
  text-align: center;
}

#dp-panel .dp-chords-row {
  align-items: flex-start;
}

#dp-panel .dp-chords-row label {
  line-height: 34px;
  color: var(--gold-2, #e0bd6f);
}

#dp-panel .dp-chords-row textarea {
  width: 330px;
  max-width: 100%;
  flex: none;
  background: #fdfcf9;
  color: #23201a;
  border: 1px solid rgba(200, 162, 90, .4);
  border-radius: 10px;
  padding: 6px 9px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  resize: vertical;
  min-height: 48px;
  line-height: 1.4;
  outline: none;
}

#dp-panel .dp-chords-row textarea:focus {
  border-color: var(--gold-2, #e0bd6f);
  box-shadow: 0 0 0 3px rgba(200, 162, 90, .18);
}

#gallery .item,
#winLeft .item,
#winRight .item {
  position: relative;
}

#gallery .item.active {
  z-index: 1;
}

#gallery .item.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(224, 189, 111, 0.28);
  border: 3px solid var(--gold-2, #e0bd6f);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
}

#gallery .item .dp-chord-badge {
  position: absolute;
  display: none;
  left: var(--dp-badge-left, 2px);
  right: var(--dp-badge-right, auto);
  bottom: var(--dp-badge-bottom, 2px);
  background: rgba(20, 16, 10, .78);
  color: var(--gold-2, #e0bd6f);
  font-size: 12px;
  padding: 0 6px;
  border-radius: 6px;
  line-height: 20px;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: var(--dp-badge-align, left);
  z-index: 2;
}

#gallery.dp-badges-on .item .dp-chord-badge {
  display: block;
}

#dp-panel .dp-inst-toggle-row {
  align-items: center;
  gap: 8px;
}

#dp-panel .dp-inst-hint {
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
}

#dp-instrument {
  margin-top: 9px;
  border: 1px solid rgba(200, 162, 90, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  padding: 9px 11px;
}

#dp-instrument .inst-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

#dp-instrument .inst-row:last-child {
  border-bottom: none;
}

#dp-instrument .inst-name {
  width: 38px;
  color: var(--gold-2, #e0bd6f);
  font-weight: bold;
  white-space: nowrap;
}

#dp-instrument .inst-group-title {
  color: var(--gold-2, #e0bd6f);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 8px 0 2px;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(200, 162, 90, .25);
}

#dp-instrument .inst-group-title:first-child {
  margin-top: 0;
}

#dp-instrument .inst-on {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

#dp-instrument .inst-vol {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: rgba(255, 255, 255, .6);
}

#dp-instrument .inst-vol input[type=range] {
  width: 78px;
}

#dp-instrument .inst-vol b {
  width: 34px;
  text-align: right;
  font-weight: normal;
  color: var(--gold-2, #e0bd6f);
}

#dp-instrument .inst-prog {
  margin-left: auto;
}

#dp-landscape {
  display: none;
}

@media (hover: none) and (max-width: 900px) {
  #dp-landscape {
    display: inline-block;
  }
}
@media (orientation: landscape) and (max-width: 900px) and (hover: none) {
  #dp-panel.dp-expanded {
    width: min(520px, 94vw);
    font-size: 12px;
  }
  #dp-panel.dp-expanded .dp-body {
    padding: 6px 10px 8px;
  }
  #dp-panel.dp-expanded .dp-chords-row textarea {
    min-height: 26px;
    font-size: 12px;
  }
  #dp-instrument .inst-vol input[type=range] {
    width: 70px;
  }
}
/* 前置拍倒计时浮层：与动态谱页（player.js 内置 sp-countdown-overlay）同款——
   屏幕居中圆形浮层 + 每拍弹跳，金橙配色与 dp 面板一致 */
#dp-countdown-overlay {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 102, 0, 0.92);
  color: #fff;
  font-size: 84px;
  font-weight: 700;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  /* 必须高于悬浮面板（#dp-panel z-index 99999999999），否则被面板盖住 */
  z-index: 100000000000;
  pointer-events: none;
  user-select: none;
}

/* 装饰进度环（静态外圈，观感对齐动态谱页的 SVG 进度环） */
#dp-countdown-overlay::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.22);
}

#dp-countdown-overlay.show {
  display: flex;
  animation: dpCdPop .24s cubic-bezier(.22, 1.4, .4, 1);
}

/* 每拍数字变化时由 JS 重触发本动画（弹跳进入） */
@keyframes dpCdPop {
  from { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
}

#dp-instrument .inst-row.muted {
  opacity: 0.45;
}

#dp-instrument .inst-row.muted input, #dp-instrument .inst-row.muted select {
  cursor: not-allowed;
}

.player {
  margin: 16px 0 0;
  overflow: hidden;
  border: 1px solid var(--line, #ebe5dc);
  border-radius: var(--radius, 16px);
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(40, 30, 15, .06));
}

#gallery .item.dp-locked::after,
#winLeft .item.dp-locked::after,
#winRight .item.dp-locked::after{
  content:''; position:absolute; inset:0; background:rgba(255,255,255,.62); z-index:4; cursor:not-allowed;
}
#gallery .item.dp-locked,
#winLeft .item.dp-locked,
#winRight .item.dp-locked{ cursor:not-allowed; }
.dp-lock-mark{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  font-size:22px; z-index:5; pointer-events:none; line-height:1;
}
/* ============================================================
   布局与视觉段（与 gtp.php 完全一致：左右分栏·白卡金线·琥珀金）
   ============================================================ */
.page{
  max-width:1200px; margin:0 auto; padding:18px 12px 44px; box-sizing:border-box;
}
.main-layout{ display:flex; gap:18px; align-items:flex-start; }
.main-col{ flex:1; min-width:0; }
.side-col{ width:280px; flex:none; }

/* 面包屑 */
.dp-crumb{font-size:13px;color:var(--text-3, #a79e91);margin:0 0 14px}
.dp-crumb a{color:var(--text-3, #a79e91);text-decoration:none}
.dp-crumb a:hover{color:var(--gold-3, #a17f3d)}
.dp-crumb .sep{margin:0 6px;color:var(--line-2, #ddd5c8)}
.dp-crumb b{color:var(--text-2, #7d7468);font-weight:600}

/* 信息头卡：金线描边（同 gtp.php song-head） */
.song-head{
  background:var(--card); border-radius:var(--radius); padding:22px 24px; margin-bottom:16px;
  box-shadow:var(--shadow-sm); border:1px solid var(--line);
  border-top:3px solid var(--gold);
  display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap;
}
/* 标题区撑满剩余空间但禁止收缩到单字宽度（min-width:0 会让中文逐字换行变竖排） */
.song-titles{ flex:1 1 auto; min-width:max-content; }
.song-titles h1{ font-size:27px; font-weight:700; margin:0; letter-spacing:.5px; color:var(--ink); }
.song-meta{ margin-top:9px; font-size:13px; color:var(--text-2); letter-spacing:.3px; }
.song-meta span{ margin-right:16px; }
.song-badges{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; align-items:center; }
.bd{
  display:inline-block; font-size:12px; color:#6d6250;
  background:linear-gradient(180deg, #faf6ec, #f3ecdc);
  border:1px solid #e4d9bd; border-radius:999px; padding:5px 13px;
  letter-spacing:.3px;
}
.bd.tag{ text-decoration:none; }
.bd.tag:hover{ background:linear-gradient(135deg, var(--gold-2), var(--gold)); color:#241a08; border-color:transparent; }
.meta-link{ color:var(--gold-3); text-decoration:none; }
.meta-link:hover{ text-decoration:underline; }

/* 歌曲卡播放按钮：站点金渐变大按钮 */
.dp-play-big{ font-size:15px; padding:10px 26px; min-height:40px; border-radius:12px; box-shadow:0 8px 22px rgba(200,162,90,.35); }

/* 歌曲说明 */
.dp-song-ms{ margin-top:10px; font-size:13px; line-height:1.8; color:var(--text-2, #7d7468); }
.dp-song-ms p{ margin:4px 0; }

/* 通用卡片（同 site.css .card，gtp 同款标题金线） */
.card{
  background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow-sm);
  border:1px solid var(--line); padding:20px 22px; margin-top:16px;
}
.card h2{ font-size:16px; margin:0 0 14px; color:var(--text); display:flex; align-items:center; gap:8px; }
.card h2::before{ content:""; width:3px; height:16px; border-radius:2px; background:linear-gradient(180deg, var(--gold-2), var(--gold)); }

/* 侧栏卡片 */
.card.side{ padding:16px 18px; margin-top:16px; }
.side-item{
  display:flex; flex-direction:column; gap:3px; padding:9px 2px;
  border-bottom:1px dashed #f0e9dc; text-decoration:none; color:var(--text);
}
.side-item:last-child{ border-bottom:none; }
.side-item .si-t{ font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.side-item .si-m{ font-size:11px; color:var(--text-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.side-item:hover .si-t{ color:var(--gold-3); }
.tag-cloud{ display:flex; flex-wrap:wrap; gap:8px; }
.tc{
  font-size:12px; color:#6d6250; background:linear-gradient(180deg, #faf6ec, #f3ecdc);
  border:1px solid #e4d9bd; border-radius:999px; padding:3px 11px; text-decoration:none;
  transition:all .15s;
}
.tc:hover{ background:linear-gradient(135deg, var(--gold-2), var(--gold)); color:#241a08; border-color:transparent; }
.tc em{ font-style:normal; font-size:10px; color:#b39b66; margin-left:2px; }

/* 原谱图片区：直接完整显示，无需点击放大 */
.dp-pics{
  background:var(--card, #fff); border:1px solid var(--line, #ebe5dc); border-radius:var(--radius, 16px);
  box-shadow:var(--shadow-sm, 0 2px 10px rgba(40,30,15,.06)); padding:20px 22px; margin-top:16px;
}
.dp-pics-title{ font-size:16px; margin:0 0 14px; color:var(--text, #23201a); display:flex; align-items:center; gap:8px; }
.dp-pics-title::before{ content:""; width:3px; height:16px; border-radius:2px; background:linear-gradient(180deg, var(--gold-2, #e0bd6f), var(--gold, #c8a25a)); }
.dp-pics-track{ display:flex; flex-direction:column; gap:18px; align-items:center; }
.dp-pic-img{
  max-width:100%; height:auto; object-fit:contain; display:block; background:#fff;
  border-radius:12px; box-shadow:0 2px 12px rgba(40,30,15,.10); border:1px solid var(--line, #ebe5dc);
}

/* 相关曲谱推荐（gtp 同款） */
.rec-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; }
.rec{
  display:block; text-decoration:none; color:var(--text);
  border:1px solid var(--line); border-radius:12px; padding:14px 16px; background:#fdfcf9;
  transition:all .18s;
}
.rec:hover{ border-color:var(--gold); box-shadow:var(--shadow-sm); transform:translateY(-1px); }
.rec-t{ font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rec-s{ font-size:12px; color:var(--text-2); margin-top:6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* SEO 文章区（gtp 同款） */
.art{
  display:block; padding:11px 14px; margin-bottom:9px; text-decoration:none; color:var(--text);
  background:#fdfcf9; border:1px solid var(--line); border-radius:10px; transition:all .15s;
}
.art:last-child{ margin-bottom:0; }
.art:hover{ border-color:var(--gold); box-shadow:var(--shadow-sm); }
.art-t{ font-size:14px; font-weight:600; }
.art-kw{ font-size:11px; color:var(--text-3); margin-top:4px; }

/* 底部链接（gtp 同款） */
.foot-links{ display:flex; justify-content:center; gap:14px; margin-top:26px; flex-wrap:wrap; }
.foot-links a{
  font-size:13px; color:var(--gold-3); text-decoration:none; padding:9px 22px;
  background:var(--card); border:1px solid var(--line-2); border-radius:999px;
  transition:all .18s; letter-spacing:.5px;
}
.foot-links a:hover{ background:linear-gradient(135deg, var(--gold-2), var(--gold)); color:#241a08; border-color:transparent; box-shadow:0 6px 18px rgba(200,162,90,.35); }

/* 移动端：单栏 */
@media (max-width:960px){
  .main-layout{ flex-direction:column; }
  .side-col{ width:100%; }
  .page{ padding:14px 10px 40px; }
  .song-head{ padding:16px 18px; }
  .dp-pics{ padding:14px 16px; }
  .card{ padding:16px 18px; }
}
/* 小面板 PC/移动端防变形 */
@media (max-width: 768px) {
  #dp-panel { left: 8px; top: 8px; width: auto; min-width: 0; max-width: calc(100vw - 16px); }
  #dp-panel.dp-expanded { width: auto; }
  #dp-panel .dp-head {
    gap: 5px;
    padding: 6px 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  #dp-panel .dp-btn {
    padding: 4px 8px;
    font-size: 12px;
    min-height: 27px;
    line-height: 1.1;
  }
  #dp-panel .dp-mode-btn {
    padding: 3px 7px;
    font-size: 12px;
  }
  #dp-panel .dp-loop-status { display: none; }
  #dp-panel .dp-head-sep { display: none; }
  #dp-panel .dp-fav-btn { display: none; }
  #dp-panel .dp-row { gap: 6px; }
  #dp-panel label { font-size: 12px; }
  #dp-panel .dp-settings-btn { padding: 4px 8px; font-size: 14px; }
}
/* 歌曲背景与吉他谱说明（SEO 区，与 gtp.php 一致） */
.about-body{ line-height:2; font-size:14px; color:#3d362c; }
.about-body h2{ font-size:17px; margin:22px 0 8px; color:var(--ink); border-left:3px solid var(--gold); padding-left:10px; }
.about-body h3{ font-size:15px; margin:16px 0 6px; color:var(--ink); }
.about-body p{ margin:10px 0; }
.about-body ul, .about-body ol{ padding-left:22px; margin:8px 0; }
.about-body li{ margin:4px 0; }
.about-body a{ color:var(--gold-3); }
.about-tip{ color:var(--text-3); font-size:13px; }
.about-fail{ color:var(--text-3); font-size:13px; }

/* ============ 移动端布局适配（与 gtp.php 一致） ============ */
@media (max-width:900px){
  .main-layout{ flex-direction:column; align-items:stretch; }
  .side-col{ width:100%; }
}
@media (max-width:640px){
  .page{ max-width:100% !important; padding:14px 10px 44px; box-sizing:border-box; }
  .main-col{ width:100%; max-width:100%; }
  .song-head{ padding:16px 14px; }
  .song-titles h1{ font-size:22px; }
  .dp-crumb, .dp-head, .dp-head-row, .dp-pics, .song-head, .player{ max-width:100%; }
  .dp-head-row{ flex-wrap:wrap; }
}/* 悬浮播放面板移动端约束：不超视口、按钮行换行、内部元素不撑破面板 */
@media (max-width:640px){
  #dp-panel{ left:8px !important; max-width:calc(100vw - 16px) !important; }
  #dp-panel .dp-head-row{ flex-wrap:wrap; }
  #dp-panel .item, #dp-panel #gallery, #dp-panel #winLeft, #dp-panel #winRight{ max-width:100%; }
}/* 面板内播放窗/谱面图片在移动端等比缩放，不撑破面板 */
@media (max-width:640px){
  #dp-panel .play-window, #dp-panel #gallery{ max-width:100%; }
  #dp-panel .item{ max-width:100%; }
  #dp-panel .item img{ max-width:100%; height:auto; }
}/* 主体播放窗（.play-window）内图片等比缩放：窗口 50% 内完整显示，不横滚不遮挡 */
@media (max-width:640px){
  .play-window .item{ max-width:100%; }
  .play-window .item img{ max-width:100%; height:auto; }
}