/* One device family for every genuine portal view. Image content stays uncropped. */
:root{--device-frame:#20324f;--device-shadow:0 18px 32px -20px #102b5580;--desktop-edge:6px;--desktop-radius:18px;--desktop-inner:12px;--phone-edge:8px;--phone-radius:32px;--phone-inner:24px}
.device-shell.device-desktop{padding:var(--desktop-edge);border:0;border-radius:var(--desktop-radius);background:var(--device-frame);box-shadow:var(--device-shadow)}
.device-shell.device-desktop>.image-button,.device-shell.device-desktop>.image-button img{border-radius:var(--desktop-inner)}
.device-shell.device-phone{position:relative;padding:var(--phone-edge);border:0;border-radius:var(--phone-radius);background:var(--device-frame);box-shadow:var(--device-shadow)}
.device-shell.device-phone::before{content:'';position:absolute;top:3px;left:43%;width:14%;height:3px;border-radius:10px;background:#56657e;pointer-events:none}
.device-shell.device-phone>.image-button,.device-shell.device-phone>.image-button img{border-radius:var(--phone-inner)}
.device-shell.device-phone>.chat-header{border-radius:var(--phone-inner) var(--phone-inner) 0 0}
.device-shell.device-phone>.chat-body{border-radius:0 0 var(--phone-inner) var(--phone-inner)}
.device-shell>.image-button img{display:block;width:100%;height:auto;object-fit:contain}
.hero-phone{filter:none}
/* Live portal in the tour uses the same edge and inner-corner geometry. */
.tour-live-canvas{border-radius:var(--desktop-inner);box-shadow:0 0 0 var(--desktop-edge) var(--device-frame),var(--device-shadow)}
.tour-live-canvas.is-phone{border-radius:var(--phone-inner);box-shadow:0 0 0 var(--phone-edge) var(--device-frame),var(--device-shadow)}
@media(max-width:600px){:root{--desktop-edge:4px;--desktop-radius:12px;--desktop-inner:8px;--phone-edge:6px;--phone-radius:24px;--phone-inner:18px}.device-shell.device-phone::before{top:2px;height:2px}}
