/* ---------- Aperçu : fenêtre 960x580 identique au launcher, mise à l'échelle ---------- */
.preview-wrap { position: sticky; top: 16px; }
.pv-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.pv-head h2 { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; }
.pv-head h2::before { content: none; }
.pv-head small { color: var(--muted); font-size: 12px; }
.pv-frame { width: 100%; aspect-ratio: 960 / 580; position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px #000a; background: #000; }
.pv-frame .bar { position: absolute; top: 0; left: 0; right: 0; height: 0; }
.preview { --p-bg: #0e0d17; --p-panel: #191726; --p-text: #ecebf7; --p-muted: #9792b3; --p-accent: #7c5cff;
  position: absolute; top: 0; left: 0; width: 960px; height: 580px; transform-origin: top left;
  display: flex; padding: 32px 40px; color: var(--p-text); background: var(--p-bg) center/cover no-repeat; }
.preview { flex-direction: column; padding: 0; }
.pv-titlebar { display: flex; align-items: center; gap: 4px; height: 44px; padding: 8px 8px 0 24px; flex: none; }
.pv-tname { color: var(--p-muted); font-size: 12px; font-weight: 700; margin-right: auto; }
.pv-tbtn { width: 42px; height: 30px; display: grid; place-items: center; color: var(--p-muted); font-size: 14px; border-radius: 8px; }
.pv-body { display: flex; flex: 1; min-height: 0; padding: 12px 40px 32px; gap: 24px; }
.pv-left { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pv-left img { width: 96px; max-height: 96px; margin-bottom: 16px; object-fit: contain; align-self: flex-start; }
.pv-title { font-weight: 700; font-size: 34px; line-height: 1.2; overflow-wrap: anywhere; }
.pv-welcome { color: var(--p-muted); font-size: 15px; margin-top: 8px; white-space: pre-line; max-width: 340px; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pv-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 13px; font-size: 12px; font-weight: 700;
  background: color-mix(in srgb, var(--p-text) 11%, transparent); color: var(--p-text); }
.pv-chip[hidden] { display: none; }
.pv-chip-acc { background: color-mix(in srgb, var(--p-accent) 28%, transparent); }
.pv-chip i { width: 8px; height: 8px; border-radius: 50%; background: #2fb67c; margin-right: 6px; }
.pv-addr { color: var(--p-muted); font-size: 13px; margin-top: 10px; }
.pv-who { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pv-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--p-accent); color: #fff; font-weight: 700; font-size: 20px;
  display: grid; place-items: center; flex: none; }
.pv-sub { color: var(--p-muted); font-size: 12px; }
.pv-links { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 440px; }
.pv-link { border-radius: 12px; height: 34px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
  overflow: hidden; white-space: nowrap; padding: 0 8px; }
.pv-card { width: 330px; background: color-mix(in srgb, var(--p-panel) 92%, transparent); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 8px; }
.pv-muted { color: var(--p-muted); font-size: 13px; font-weight: 700; }
.pv-muted.small { font-size: 11px; font-weight: 400; }
.pv-account { font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.pv-btn { background: var(--p-accent); color: #fff; border-radius: 12px; text-align: center; padding: 11px; font-weight: 700; font-size: 13px; }
.pv-input { border: 1px solid var(--p-muted); border-radius: 4px; height: 34px; background: var(--p-bg); margin-top: 4px; opacity: .7; }
.pv-spacer { flex: 1; }
.pv-play { font-size: 20px; padding: 16px; }
.pv-bar { height: 6px; background: var(--p-bg); border-radius: 10px; overflow: hidden; margin-top: 4px; }
.pv-bar span { display: block; width: 40%; height: 100%; background: var(--p-accent); }
.pv-ram { margin-top: 6px; }

