/* Keep the visitor tab; remove only its redundant rectangular backplates. */
body #roomsPanel .room-bottom-tools,
body #roomsPanel #sharedPopulation.room-presence{
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
 padding:0;
}

/* The title owns its rectangle; the minimize arrow keeps its separate circle. */
body.immersive-live #roomsPanel .room-header{
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
}
body.immersive-live #roomsPanel .room-header > div{
 min-width:0;
 padding:5px 8px;
 border:1px solid var(--readable-border,rgb(235 240 255 / .48));
 border-radius:10px;
 background:var(--readable-label,rgb(8 11 20 / .8));
 color:var(--readable-ink,#f8f9fc);
 box-sizing:border-box;
}
body.immersive-live #roomsPanel #sharedRoomTitle{max-width:100%;}

body.immersive-live #roomsPanel #sharedMinimize{
 width:44px;height:44px;min-height:44px;flex:0 0 44px;
 padding:0;border-radius:50%;box-sizing:border-box;
}

/* A live display-share stop stays visible outside the options menu. */
body.immersive-live #roomsPanel .room-header{
 display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:10px;row-gap:8px;
 width:max-content;max-width:calc(100% - 144px);
}
body.immersive-live #roomsPanel .room-header>div{flex:0 1 auto;}
body.immersive-live #roomsPanel #sharedScreenIndicator{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 1 116px;grid-column:1 / -1;justify-self:start;
 min-width:44px;min-height:44px;max-width:116px;padding:5px 7px;border:1px solid rgb(255 135 123 / .7);
 border-radius:12px;background:rgb(65 13 19 / .94);color:#fff;font:600 10px/1.25 system-ui;
 white-space:normal;box-sizing:border-box;cursor:pointer;
}
body.immersive-live #roomsPanel #sharedScreenIndicator::before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#ff615d;}
body #roomsPanel #sharedScreenIndicator[hidden]{display:none!important;}
body #roomsPanel #sharedScreenIndicator:focus-visible{outline:2px solid #fff;outline-offset:3px;}
