/* Consistent media review window shared by Radar and Post Maker. */
.spv-overlay{position:fixed;inset:0;background:rgba(4,7,14,.86);z-index:2147483646;display:flex;align-items:center;justify-content:center;padding:18px;color:#eef4ff;font:14px/1.45 system-ui,sans-serif}
.spv-overlay *{box-sizing:border-box}.spv-dialog{width:min(1120px,98vw);max-height:94vh;overflow:auto;background:#131c29;border:1px solid #52627b;border-radius:17px;box-shadow:0 20px 70px #000b}
.spv-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;border-bottom:1px solid #33425a;background:#1b2838;position:relative}
.spv-title{font-size:18px;display:block;color:#fff}.spv-heading{font-size:12px;color:#a7c7ef;display:block;margin-top:4px}
.spv-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);min-height:370px}
.spv-media{background:#080c13;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;padding:15px;gap:9px}
.spv-body{width:100%;min-height:300px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}
.spv-player,.spv-image{display:block;max-width:100%;max-height:65vh;width:auto;height:auto;object-fit:contain;border-radius:8px}
.spv-player{width:100%;max-height:63vh;background:black}.spv-image{max-height:63vh}
.spv-embed{display:block;width:100%;height:min(65vh,600px);border:0;border-radius:7px;background:#fff}
.spv-hint,.spv-small{font-size:11px;color:#9fb0cd;text-align:center;line-height:1.4;margin:0}
.spv-details{min-width:0;padding:20px;display:flex;flex-direction:column;gap:12px;overflow-wrap:anywhere}
.spv-label{font-size:11px;color:#94b6df;text-transform:uppercase;font-weight:700;letter-spacing:.7px}
.spv-caption,.spv-quoted-text{margin:6px 0 0;white-space:pre-wrap;font-size:14px;line-height:1.65;max-height:25vh;overflow-y:auto}
.spv-quoted{border:1px solid #344761;background:#1a2d40;border-radius:11px;padding:12px}
.spv-metrics{font-size:12px;color:#c1d3ed}.spv-info{font-size:12px;color:#aabbd3;min-height:16px}
.spv-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.spv-overlay .spv-button{font:600 12px/1.2 system-ui;white-space:normal;width:auto;min-width:0;background:#24334a;border:1px solid #47617f;color:#ebf3ff;border-radius:8px;padding:9px 10px;cursor:pointer}
.spv-overlay .spv-button:hover{background:#3a4f6d}.spv-overlay .spv-button.spv-main{background:#7398ff;border-color:#9bb7ff;color:#08162e}
.spv-overlay .spv-button:disabled{opacity:.5}.spv-overlay .spv-close{font-size:17px;padding:5px 12px}
.spv-unavailable{padding:25px;color:#cad7ea;text-align:center;display:flex;flex-direction:column;gap:15px;align-items:center}
.spv-carousel{display:flex;align-items:center;gap:14px}.spv-counter{color:#b0c2d9}
.studio-thumb{width:100%;height:130px;object-fit:contain;background:#090f1b;border:1px solid #29364d;border-radius:8px;margin:8px 0}
.radar-queue-item .studio-thumb{height:90px}.queue-row .studio-thumb{width:180px;max-width:100%;height:110px;object-fit:contain}
@media(max-width:760px){.spv-layout{grid-template-columns:1fr}.spv-dialog{max-height:96vh}.spv-media{padding:9px}.spv-body{min-height:200px}.spv-player,.spv-image{max-height:44vh}.spv-embed{height:390px}.spv-details{padding:14px}.spv-caption,.spv-quoted-text{max-height:150px}}

.spv-top-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.spv-nav{font-size:11px!important;padding:7px 9px!important}@media(max-width:600px){.spv-head{align-items:flex-start;flex-direction:column}.spv-top-actions{width:100%;justify-content:space-between}}
