/* One close control for every Mothership popup. SVGs avoid font-baseline drift. */
/* Keep the page width stable when a popup locks background scrolling. */
html{scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#527a8d #071923}
/* Popup rails sit inside the rounded panel, with the same moonlit palette. */
:is(.transmission-dialog,.details-dialog,.info-dialog){
 scrollbar-width:thin;scrollbar-color:#648fa3 #091d29;
 overscroll-behavior:contain;
}
@supports selector(::-webkit-scrollbar){
 :is(.transmission-dialog,.details-dialog,.info-dialog){scrollbar-width:auto;scrollbar-color:auto}
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar{width:10px;height:10px}
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-track{
  margin-block:14px;background:#091d29;border-radius:999px;
 }
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-thumb{
  min-height:48px;border:2px solid transparent;border-radius:999px;
  background:linear-gradient(180deg,#7ba9bd,#416b80);background-clip:padding-box;
 }
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-thumb:hover{background:#94d3e9;background-clip:padding-box}
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-thumb:active{background:#b2e9ff;background-clip:padding-box}
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-button{display:none;width:0;height:0}
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-corner{background:transparent}
}
/* Rounded page scrollbar in Chromium/Safari; keep the standard Firefox fallback. */
@supports selector(::-webkit-scrollbar){
 html{scrollbar-width:auto;scrollbar-color:auto}
 html::-webkit-scrollbar{width:12px;height:12px}
 html::-webkit-scrollbar-track{background:#071923}
 html::-webkit-scrollbar-thumb{
  min-height:48px;border:3px solid transparent;border-radius:999px;
  background:linear-gradient(180deg,#638fa3,#365b70);background-clip:padding-box;
 }
 html::-webkit-scrollbar-thumb:hover{background:#8bc5da;background-clip:padding-box}
 html::-webkit-scrollbar-thumb:active{background:#a8eaff;background-clip:padding-box}
 html::-webkit-scrollbar-button{display:none;width:0;height:0}
 html::-webkit-scrollbar-corner{background:#071923}
}
@media(forced-colors:active){
 :is(.transmission-dialog,.details-dialog,.info-dialog){scrollbar-color:auto;scrollbar-width:auto}
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-track,
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-thumb,
 :is(.transmission-dialog,.details-dialog,.info-dialog)::-webkit-scrollbar-corner{background:revert}
 html{scrollbar-color:auto;scrollbar-width:auto}
 html::-webkit-scrollbar-track,html::-webkit-scrollbar-thumb,html::-webkit-scrollbar-corner{background:revert}
 html::-webkit-scrollbar-thumb{border-color:transparent}
}
button.ui-close{
 display:grid;place-items:center;box-sizing:border-box;appearance:none;
 width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px;
 padding:0;line-height:1;text-align:center;vertical-align:middle;
 border:1px solid #93b2c540;border-radius:50%;
 background:#102b3de8;color:#bad6e5;cursor:pointer;
 box-shadow:inset 0 1px 0 #d6f4ff08;
 transition:background .18s,border-color .18s,color .18s;
}
button.ui-close>svg{
 display:block;width:20px;height:20px;margin:0;flex:none;
 fill:none;stroke:currentColor;stroke-width:1.8;
 stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
button.ui-close:hover{background:#24495c;border-color:#a4d9ef73;color:#e6f9ff}
button.ui-close:focus-visible{outline:2px solid #b2e9ff;outline-offset:3px}
button.ui-close:disabled{cursor:default}
.dialog-close.ui-close{top:12px;right:12px}
.ms-assistant-head>div{flex:1;min-width:0}
.cow-dialog-head h2{min-width:0;overflow-wrap:anywhere}
.transmission-dialog .article-signal{padding-right:44px}
.transmission-dialog .article-signal>span{min-width:0;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){button.ui-close{transition:none}}
