.scene[data-demo="dpm"] .dp-win { background: linear-gradient(160deg, #1a0a22, #230d2c 55%, #1b0b25); }
.scene[data-demo="dpm"] .dp-win .mw-bar { background: transparent; border: 0; height: 32px; justify-content: flex-start; color: #b7a9c9; }
.scene[data-demo="dpm"] .dp-body { overflow: hidden; }
.scene[data-demo="dpm"] .dp-body > * { position: absolute; }
.scene[data-demo="dpm"] .dp-head { left: 16px; right: 16px; top: 2px; height: 40px; display: flex; align-items: center; gap: 11px; }
.scene[data-demo="dpm"] .dp-head img { border-radius: 9px; }
.scene[data-demo="dpm"] .dp-app { display: flex; flex-direction: column; gap: 1px; opacity: 0.4; transition: opacity 0.4s ease; }
.scene[data-demo="dpm"] .dp-app b { font-size: 16px; font-weight: 700; color: #fff; }
.scene[data-demo="dpm"] .dp-app small { font: 11.5px ui-monospace, Menlo, monospace; color: #a99bbd; }
.scene[data-demo="dpm"].dp-on-live .dp-app { opacity: 1; }
.scene[data-demo="dpm"] .dp-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #5be7b0; background: rgba(91, 231, 176, 0.12); border: 1px solid rgba(91, 231, 176, 0.4); opacity: 0; transition: opacity 0.35s ease; }
.scene[data-demo="dpm"] .dp-live i { width: 7px; height: 7px; border-radius: 50%; background: #5be7b0; }
.scene[data-demo="dpm"].dp-on-live .dp-live { opacity: 1; }
.scene[data-demo="dpm"] .dp-bar { left: 12px; right: 12px; top: 48px; height: 52px; padding: 0 12px; display: flex; align-items: center; gap: 22px; border-radius: 12px; background: rgba(8, 4, 16, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); }
.scene[data-demo="dpm"] .dp-lab { display: flex; flex-direction: column; gap: 3px; }
.scene[data-demo="dpm"] .dp-lab small { font-size: 11px; color: #a99bbd; }
.scene[data-demo="dpm"] .dp-every { margin-left: auto; }
.scene[data-demo="dpm"] .dp-seg { display: flex; gap: 4px; }
.scene[data-demo="dpm"] .dp-seg span { padding: 3px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; color: #c8bddb; background: rgba(255, 255, 255, 0.05); }
.scene[data-demo="dpm"] .dp-seg span.on { color: #fff; background: rgba(255, 81, 137, 0.35); box-shadow: inset 0 0 0 1px rgba(255, 81, 137, 0.75); }
.scene[data-demo="dpm"] .dp-dev { position: relative; width: 224px; height: 24px; padding: 0 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.07); font-size: 12.5px; font-weight: 600; line-height: 24px; }
.scene[data-demo="dpm"] .dp-dev span { position: absolute; left: 10px; transition: opacity 0.35s ease; }
.scene[data-demo="dpm"] .dp-none { color: #8d7fa3; }
.scene[data-demo="dpm"] .dp-name { color: #fff; opacity: 0; }
.scene[data-demo="dpm"].dp-on-live .dp-none { opacity: 0; }
.scene[data-demo="dpm"].dp-on-live .dp-name { opacity: 1; }
.scene[data-demo="dpm"] .dp-toast { left: 50%; top: 300px; z-index: 5; display: flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(28, 16, 44, 0.96); border: 1px solid rgba(91, 231, 176, 0.5); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); white-space: nowrap; opacity: 0; transform: translate(-50%, -10px); transition: opacity 0.3s ease, transform 0.45s var(--spring); }
.scene[data-demo="dpm"] .dp-ph-ic { width: 12px; height: 20px; border-radius: 3px; border: 2px solid #5be7b0; }
.scene[data-demo="dpm"].dp-on-toast .dp-toast { opacity: 1; transform: translate(-50%, 0); }
.scene[data-demo="dpm"] .dp-cards { left: 12px; right: 12px; top: 110px; height: 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.scene[data-demo="dpm"] .dp-card { position: relative; padding: 10px 14px; border-radius: 12px; background: rgba(8, 4, 16, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; transition: border-color 0.3s ease, background-color 0.3s ease; }
.scene[data-demo="dpm"] .dp-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: var(--c); }
.scene[data-demo="dpm"] .dp-card small { font-size: 11.5px; font-weight: 600; color: #b7a9c9; }
.scene[data-demo="dpm"] .dp-card b { display: block; margin-top: 4px; font-size: 24px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.scene[data-demo="dpm"] .dp-card em { margin-left: 4px; font-style: normal; font-size: 12px; font-weight: 600; color: #a99bbd; }
.scene[data-demo="dpm"] .dp-card u { position: absolute; right: 12px; top: 12px; text-decoration: none; font-size: 11px; font-weight: 700; color: #ff8a9f; padding: 2px 8px; border-radius: 999px; background: rgba(255, 92, 122, 0.16); opacity: 0; transition: opacity 0.3s ease; }
.scene[data-demo="dpm"].dp-on-warn .dp-fpsc { border-color: rgba(255, 92, 122, 0.7); background: rgba(255, 92, 122, 0.1); }
.scene[data-demo="dpm"].dp-on-warn .dp-fpsc u { opacity: 1; }
.scene[data-demo="dpm"] .dp-panel { border-radius: 12px; background: rgba(8, 4, 16, 0.5); border: 1px solid rgba(255, 255, 255, 0.08); }
.scene[data-demo="dpm"] .dp-big { left: 12px; top: 190px; width: 512px; height: 316px; }
.scene[data-demo="dpm"] .dp-sm { left: 534px; width: 334px; height: 153px; }
.scene[data-demo="dpm"] .dp-cpu { top: 190px; }
.scene[data-demo="dpm"] .dp-fps2 { top: 353px; }
.scene[data-demo="dpm"] .dp-ph { position: absolute; left: 14px; right: 14px; top: 10px; display: flex; align-items: baseline; gap: 10px; }
.scene[data-demo="dpm"] .dp-ph b { font-size: 14px; font-weight: 700; color: #fff; }
.scene[data-demo="dpm"] .dp-ph small { font-size: 11px; color: #a99bbd; }
.scene[data-demo="dpm"] .dp-leg { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--c); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--c); }
.scene[data-demo="dpm"] .dp-leg i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.scene[data-demo="dpm"] .dp-sm .dp-ph small { display: none; }
.scene[data-demo="dpm"] .dp-y { position: absolute; left: 8px; width: 34px; top: 44px; bottom: 24px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; font: 10.5px ui-monospace, Menlo, monospace; color: #9486a8; }
.scene[data-demo="dpm"] .dp-sm .dp-y { top: 40px; bottom: 14px; }
.scene[data-demo="dpm"] .dp-plot { position: absolute; left: 50px; right: 14px; top: 44px; bottom: 24px; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px calc(50% - 0.5px)); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.scene[data-demo="dpm"] .dp-sm .dp-plot { top: 40px; bottom: 14px; }
.scene[data-demo="dpm"] .dp-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene[data-demo="dpm"] .dp-plot .l { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scene[data-demo="dpm"] .dp-plot .a { fill: var(--c); opacity: 0.16; stroke: none; }
.scene[data-demo="dpm"] .dp-dot { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12), 0 0 10px var(--c); opacity: 0; }
.scene[data-demo="dpm"] .dp-flag { position: absolute; top: -6px; bottom: 0; left: 79.7%; width: 0; border-left: 1.5px dashed #ff5c7a; opacity: 0; transition: opacity 0.3s ease; }
.scene[data-demo="dpm"] .dp-flag span { position: absolute; top: 6px; right: 6px; padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 700; color: #fff; white-space: nowrap; background: #e0405f; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4); transform: translateY(-6px); transition: transform 0.4s var(--spring); }
.scene[data-demo="dpm"] .dp-flag-mem { border-color: #ffc46b; }
.scene[data-demo="dpm"] .dp-flag-mem span { background: #d98f1d; color: #1d1204; }
.scene[data-demo="dpm"] .dp-flag-mem span::before { content: "Memory spike +66 MB"; }
.scene[data-demo="dpm"] .dp-flag-fps span::before { content: "Jank · 35 fps"; }
.scene[data-demo="dpm"] .dp-flag-cpu span::before { content: "CPU 61%"; }
.scene[data-demo="dpm"].dp-on-flags .dp-flag { opacity: 1; }
.scene[data-demo="dpm"].dp-on-flags .dp-flag span { transform: none; }
.scene[data-demo="dpm"].dp-on-flags .dp-flag-cpu { opacity: 0; }
.scene[data-demo="dpm"].dp-on-nt .dp-win *, .scene[data-demo="dpm"].dp-on-nt .dp-win *::before { transition: none !important; }
