@media (min-width: 561px) {
 #duo-preview .duo-layout:has(.screen-stage) { grid-template-columns:min(50vw,calc((100dvh - 125px) * .73),680px) minmax(0,1fr); }
 .solo-mode #duo-preview .duo-layout:has(.screen-stage) { grid-template-columns:min(56vw,calc((100dvh - 125px) * .76),740px) minmax(0,1fr); }
 #duo-preview .duo-frame.screen-stage { aspect-ratio:16/9; }
}
#duo-preview .duo-frame { --pip-width: clamp(70px,27%,150px); --pip-gap: 8px; }
#duo-preview .duo-frame .screen-layer { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#171717; z-index:1; pointer-events:none; }
#duo-preview .screen-stage:not(.camera-large) .presentation-camera > video:first-child,
#duo-preview .screen-stage.camera-large .presentation-camera .screen-layer,
#duo-preview .screen-swap {
 position:absolute; inset:auto var(--pip-gap) var(--pip-gap) auto; width:var(--pip-width); height:auto;
 aspect-ratio:4/3; box-sizing:border-box; border:2px solid white; border-radius:5px; z-index:2; background:#171717;
}
#duo-preview .screen-swap { z-index:5; background:transparent; cursor:pointer; }
#duo-preview .screen-swap:focus-visible { outline:3px solid #1687ed; outline-offset:2px; }
#duo-preview .screen-stage .duo-mini:not(.presentation-camera) { top:var(--pip-gap) !important; left:var(--pip-gap) !important; right:auto !important; bottom:auto !important; }
#duo-preview .presentation-camera .duo-label { z-index:3; }
#duo-preview .offers-screen.duo-mini:not(.presentation-camera) .duo-label::after { content:" · Écran"; }
#duo-preview .screen-layer[hidden], #duo-preview .screen-swap[hidden], #duo-preview .duo-actions [hidden] { display:none; }
#duo-preview .duo-actions button:not(:disabled) { cursor:pointer; }
#share-status { margin:3px 0; font-size:.82em; }
#share-status:empty { display:none; }
#report-dialog { max-width:min(27rem,90vw); box-sizing:border-box; padding:1rem; border:1px solid #bbb; border-radius:6px; color:#222; background:white; font:inherit; }
#report-dialog::backdrop { background:#0007; }
#report-dialog h2 { margin:0 0 .75rem; font-size:1.15rem; }
#report-dialog label { display:grid; gap:4px; margin:10px 0; }
#report-dialog select, #report-dialog button { font:inherit; padding:.35em .55em; }
#report-reason { width:100%; box-sizing:border-box; }
#report-reference { font-size:.85em; overflow-wrap:anywhere; }
#report-dialog form > div { text-align:right; }
