
.csm-ddp {
  --bg: #0a0a0a;
  --surface: #111118;
  --surface-2: #17171f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.7);
  --muted: #8a8a9a;
  --accent: #a07dff;
  --accent-2: #c8b4ff;
  --accent-glow: rgba(122, 60, 255, 0.2);
  --accent-soft: rgba(160, 125, 255, 0.15);
  --ok: #4ade80;
  --bad: #f87171;
  --radius: 14px;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --text: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-sizing: border-box;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  color: var(--ink);
  font: 500 14px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.csm-ddp *, .csm-ddp *::before, .csm-ddp *::after { box-sizing: inherit; }
.csm-ddp p, .csm-ddp h2, .csm-ddp h3, .csm-ddp ol, .csm-ddp ul, .csm-ddp li { padding-bottom: 0; }
.csm-ddp h2, .csm-ddp h3 { line-height: 1; text-transform: none; }
.csm-ddp ol, .csm-ddp ul { list-style: none; margin: 0; padding: 0; }
.csm-ddp li { list-style: none; }
.csm-ddp a { text-decoration: none; }
.csm-ddp img { max-width: none; }
.csm-ddp button { font: inherit; color: inherit; cursor: pointer; margin: 0; text-transform: none; letter-spacing: normal; line-height: 1; box-shadow: none; }
.csm-ddp button:disabled { opacity: .35; cursor: default; }
.csm-ddp :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.csm-ddp .hidden { display: none !important; }
.csm-ddp .topbar { display: flex; justify-content: flex-end; margin: 0 0 14px; }
.csm-ddp .logo { flex: none; display: block; line-height: 0; }
.csm-ddp .logo img { height: 76px; width: auto; display: block; }
.csm-ddp .kbd { color: var(--muted); font-size: 12px; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.csm-ddp .kbd .sep { width: 1px; height: 12px; background: var(--line-2); margin: 0 6px; }
.csm-ddp .kbd kbd {
  font: 11px var(--mono); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px;
  padding: 1px 6px; color: var(--ink-2); background: var(--surface);
}
.csm-ddp .card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
}
.csm-ddp .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border: 1px solid rgba(160, 120, 255, 0.45);
  border-radius: 999px;
  background: rgba(122, 60, 255, 0.08);
  color: var(--accent-2);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.csm-ddp .drop {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 22px;
  text-align: center;
  background:
    radial-gradient(600px 220px at 50% 0%, var(--accent-glow), transparent 70%),
    var(--surface);
  transition: border-color .2s, background-color .2s;
}
.csm-ddp .drop.over { border-style: dashed; border-color: var(--accent); background-color: var(--surface-2); }
.csm-ddp .drop h2 {
  font: 400 44px/1 var(--display); letter-spacing: 1.5px; margin: 18px 0 10px; color: var(--ink);
}
.csm-ddp .drop p { color: var(--muted); margin: 0 auto 22px; max-width: 460px; }
.csm-ddp .drop .alt { margin: 12px auto 0; font-size: 12.5px; }
.csm-ddp .drop .link { color: var(--accent-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.csm-ddp .drop .private { margin: 18px auto 0; font-size: 12px; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.csm-ddp .drop .private svg { flex: none; }
.csm-ddp input[type=file] { display: none; }
.csm-ddp .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  font-weight: 600; font-size: 13px;
  transition: border-color .15s, background-color .15s, color .15s;
  white-space: nowrap;
}
.csm-ddp .btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-2); }
.csm-ddp .btn.primary { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.csm-ddp .btn.primary:hover:not(:disabled) { background: var(--accent-2); border-color: var(--accent-2); color: #0a0a0a; }
.csm-ddp .btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2); }
.csm-ddp .head { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.csm-ddp .head .titles { min-width: 0; flex: 1 1 320px; }
.csm-ddp .album {
  font: 400 52px/0.95 var(--display); letter-spacing: 2px; margin: 14px 0 6px;
  overflow-wrap: anywhere;
}
.csm-ddp .artist { color: var(--ink-2); font-size: 16px; font-weight: 600; margin: 0; }
.csm-ddp .artist.none { color: var(--muted); font-weight: 500; }
.csm-ddp .chips { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 26px; align-content: start; }
.csm-ddp .chip .k { display: block; color: var(--muted); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.csm-ddp .chip .v { display: block; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.csm-ddp .chip .v.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.csm-ddp .chip .v.warn { color: var(--muted); font-weight: 500; }
.csm-ddp .change { margin-top: 16px; }
.csm-ddp .transport { display: flex; align-items: center; gap: 14px; }
.csm-ddp .play {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  border: none; background: var(--accent); color: #0a0a0a;
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 var(--accent-glow);
  transition: transform .12s, box-shadow .2s, background-color .15s;
}
.csm-ddp .play:hover { background: var(--accent-2); box-shadow: 0 0 0 8px var(--accent-glow); }
.csm-ddp .play:active { transform: scale(.96); }
.csm-ddp .skip {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.csm-ddp .skip:hover { border-color: var(--accent); color: var(--accent-2); }
.csm-ddp .nowplaying { min-width: 0; flex: 1; }
.csm-ddp .nowplaying .num { color: var(--accent-2); font: 400 15px/1 var(--display); letter-spacing: 1.5px; }
.csm-ddp .nowplaying .title {
  font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 0;
}
.csm-ddp .nowplaying .sub { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csm-ddp .clock { text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.csm-ddp .clock .t { font: 400 30px/1 var(--display); letter-spacing: 1.5px; }
.csm-ddp .clock .t.pregap { color: var(--accent-2); }
.csm-ddp .clock .total { color: var(--muted); font-size: 12px; }
.csm-ddp .timeline { position: relative; height: 34px; margin: 18px 0 4px; cursor: pointer; touch-action: none; }
.csm-ddp .timeline .rail {
  position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1);
}
.csm-ddp .timeline .fill {
  position: absolute; left: 0; top: 15px; height: 4px; border-radius: 4px; width: 0;
  background: linear-gradient(90deg, rgba(160,125,255,.6), var(--accent));
}
.csm-ddp .timeline .knob {
  position: absolute; top: 9px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 4px var(--accent-glow); left: 0;
}
.csm-ddp .timeline .mark {
  position: absolute; top: 9px; width: 2px; height: 16px; margin-left: -1px; border-radius: 1px;
  background: rgba(255,255,255,.28);
}
.csm-ddp .timeline .mark.cur { background: var(--accent-2); }
.csm-ddp .timeline .tip {
  position: absolute; bottom: 30px; transform: translateX(-50%);
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 6px;
  padding: 3px 8px; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s;
}
.csm-ddp .timeline:hover .tip { opacity: 1; }
.csm-ddp .scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.csm-ddp .tools {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.csm-ddp .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.csm-ddp .seg button {
  border: 0; background: transparent; color: var(--ink-2); border-radius: 999px; height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 600;
}
.csm-ddp .seg button[aria-pressed=true] { background: var(--accent-soft); color: var(--accent-2); }
.csm-ddp .seg-label { color: var(--muted); font-size: 12px; }
.csm-ddp .transinfo { color: var(--accent-2); font-weight: 600; font-size: 13px; }
.csm-ddp .tools-2 {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.csm-ddp .tools-2 .btn { margin-left: auto; }
.csm-ddp .vol { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.csm-ddp .vol input { width: 110px; }
.csm-ddp .tracks { list-style: none; margin: 0; padding: 0; }
.csm-ddp .tracks-head, .csm-ddp .track {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) 150px 64px 44px; gap: 12px; align-items: center;
}
.csm-ddp .tracks-head {
  padding: 0 12px 10px; color: var(--muted); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.csm-ddp .tracks-head .r, .csm-ddp .track .dur { text-align: right; }
.csm-ddp .track {
  position: relative; padding: 11px 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: background-color .12s, border-color .12s;
}
.csm-ddp .track + .track { margin-top: 2px; }
.csm-ddp .track:hover { background: rgba(255,255,255,.035); }
.csm-ddp .track.playing { background: var(--accent-soft); border-color: rgba(160,125,255,.35); }
.csm-ddp .track.trans { border-color: rgba(160,125,255,.6); border-style: dashed; }
.csm-ddp .track .no { color: var(--muted); font: 400 18px/1 var(--display); letter-spacing: 1px; text-align: center; }
.csm-ddp .track.playing .no { color: var(--accent-2); }
.csm-ddp .track .ti { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csm-ddp .track .pe { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csm-ddp .track .isrc { font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.csm-ddp .track .isrc.none { color: var(--muted); opacity: .6; font-family: var(--text); font-size: 12px; }
.csm-ddp .track .dur { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.csm-ddp .track .tr {
  width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent;
  display: grid; place-items: center; color: var(--ink-2); justify-self: end;
}
.csm-ddp .track .tr:hover { border-color: var(--accent); color: var(--accent-2); }
.csm-ddp .eq { display: none; gap: 2px; align-items: flex-end; height: 14px; justify-content: center; }
.csm-ddp .track.playing.live .eq { display: inline-flex; }
.csm-ddp .track.playing.live .no > span:first-child { display: none; }
.csm-ddp .eq i { width: 3px; background: var(--accent-2); border-radius: 1px; animation: csm-eq 1s infinite ease-in-out; }
.csm-ddp .eq i:nth-child(2) { animation-delay: -.35s; } .csm-ddp .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes csm-eq { 0%,100% { height: 4px; } 50% { height: 14px; } }
.csm-ddp .integrity { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.csm-ddp .integrity h3 { font: 400 22px/1 var(--display); letter-spacing: 1.5px; margin: 0; }
.csm-ddp .integrity p { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.csm-ddp .integrity .txt { flex: 1 1 240px; }
.csm-ddp .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 10px; }
.csm-ddp .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s; }
.csm-ddp .result { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.csm-ddp .result.ok { color: var(--ok); } .csm-ddp .result.bad { color: var(--bad); }
.csm-ddp .details { margin: 14px 0 0; padding: 0; list-style: none; font: 12px/1.7 var(--mono); color: var(--muted); }
.csm-ddp .details .ok { color: var(--ok); } .csm-ddp .details .bad { color: var(--bad); }
.csm-ddp .msg { color: var(--bad); font-size: 13px; margin: 14px 0 0; }
.csm-ddp .notes { list-style: none; margin: 10px 0 0; padding: 0; color: var(--muted); font-size: 12.5px; }
.csm-ddp .notes li::before { content: "· "; color: var(--accent); }
@media (max-width: 720px) {
  .csm-ddp .card { padding: 16px; }
  .csm-ddp .album { font-size: 40px; }
  .csm-ddp .chips { grid-template-columns: repeat(2, auto); }
  .csm-ddp .play { width: 56px; height: 56px; }
  .csm-ddp .clock .t { font-size: 24px; }
  .csm-ddp .transport { flex-wrap: wrap; }
  .csm-ddp .nowplaying { order: 3; flex-basis: 100%; }
  .csm-ddp .clock { margin-left: auto; }
  .csm-ddp .tracks-head, .csm-ddp .track { grid-template-columns: 28px minmax(0, 1fr) 54px 38px; gap: 8px; }
  .csm-ddp .tracks-head .isrc-h, .csm-ddp .track .isrc { display: none; }
  .csm-ddp .track .isrc-m { display: block; }
  .csm-ddp .vol { display: none; }
  .csm-ddp .kbd { display: none !important; }
  .csm-ddp .logo img { height: 56px; }
}
.csm-ddp .track .isrc-m { display: none; font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .csm-ddp .eq i { animation: none; height: 10px; }
}
@media (hover: none) and (pointer: coarse) { .csm-ddp .kbd { display: none !important; } }
.csm-ddp.csm-ddp input[type=range] {
  -webkit-appearance: none !important; appearance: none !important;
  height: 18px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; box-shadow: none;
}
.csm-ddp.csm-ddp input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) var(--vol, 100%), rgba(255,255,255,.14) var(--vol, 100%));
}
.csm-ddp.csm-ddp input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin-top: -5px;
  border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 3px var(--accent-glow);
}
.csm-ddp.csm-ddp input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
.csm-ddp.csm-ddp input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
.csm-ddp.csm-ddp input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.csm-ddp.csm-ddp, .csm-ddp.csm-ddp p, .csm-ddp.csm-ddp li, .csm-ddp.csm-ddp span, .csm-ddp.csm-ddp a,
.csm-ddp.csm-ddp div, .csm-ddp.csm-ddp label, .csm-ddp.csm-ddp button, .csm-ddp.csm-ddp input {
  font-family: var(--text) !important;
}
.csm-ddp.csm-ddp .drop h2, .csm-ddp.csm-ddp .album, .csm-ddp.csm-ddp .integrity h3,
.csm-ddp.csm-ddp .nowplaying .num, .csm-ddp.csm-ddp .clock .t, .csm-ddp.csm-ddp .track .no,
.csm-ddp.csm-ddp .track .no span {
  font-family: var(--display) !important;
}
.csm-ddp.csm-ddp .track .isrc, .csm-ddp.csm-ddp .track .isrc-m, .csm-ddp.csm-ddp .chip .v.mono,
.csm-ddp.csm-ddp .details, .csm-ddp.csm-ddp .details li, .csm-ddp.csm-ddp .details span, .csm-ddp.csm-ddp kbd {
  font-family: var(--mono) !important;
}
.csm-ddp.csm-ddp .track .isrc.none { font-family: var(--text) !important; }
.et_pb_row:has(.csm-ddp), .et_pb_column:has(.csm-ddp), .et_pb_module:has(.csm-ddp), .et_pb_code_inner:has(.csm-ddp) {
  background-color: transparent !important; background-image: none !important;
  border: 0 !important; box-shadow: none !important;
}
.csm-ddp .dca-notice { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin: 18px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; text-align: center; }
.csm-ddp .dca-notice img { display: block; width: 120px; height: auto; background: #fff; border-radius: 6px; padding: 4px 6px; box-sizing: content-box; }
@keyframes csm-ddp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(160,125,255,.55), 0 8px 30px rgba(122,60,255,.35); } 50% { box-shadow: 0 0 0 10px rgba(160,125,255,0), 0 8px 30px rgba(122,60,255,.5); } }
.csm-ddp .drop {
  border: 2px solid transparent;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(122,60,255,.38), transparent 70%) padding-box,
    radial-gradient(500px 220px at 50% 110%, rgba(211,78,255,.18), transparent 70%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(120deg, #7a3cff, #a44bff, #d34eff, #ff66cc, #a44bff, #7a3cff) border-box;
  background-size: auto, auto, auto, 300% 300%;
  animation: csm-ddp-grad 8s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(122,60,255,.22);
}
.csm-ddp .drop { background-position: 0 0, 0 0, 0 0, 0% 50%; }
@keyframes csm-ddp-grad { 0%, 100% { background-position: 0 0, 0 0, 0 0, 0% 50%; } 50% { background-position: 0 0, 0 0, 0 0, 100% 50%; } }
.csm-ddp .drop.over { border-style: solid; box-shadow: 0 0 90px rgba(211,78,255,.4); }
.csm-ddp .drop .btn.primary {
  height: 48px; padding: 0 26px; font-size: 14.5px;
  background: linear-gradient(135deg, #7a3cff, #a44bff, #d34eff); border: 0; color: #fff;
  animation: csm-ddp-pulse 2.4s ease-in-out infinite;
}
.csm-ddp .drop .btn.primary:hover { background: linear-gradient(135deg, #8a52ff, #b565ff, #de6bff); color: #fff; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .csm-ddp .drop, .csm-ddp .drop .btn.primary { animation: none; }
}
