/* Shared Social and Chat sidebar. */
.site-sidebar {
  align-self: stretch;
  padding: 20px 14px;
  background: radial-gradient(ellipse at 50% 48%, #004990 0%, #003b7c 48%, #002658 100%);
  color: #e7f2ff;
  border-radius: 0;
  font: 13px 'Segoe UI', sans-serif;
}
.site-sidebar .menu { display: grid; gap: 6px; }
.site-sidebar .menu > :is(a, button) {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  color: #e0effd;
  font-size: 18px;
  line-height: normal;
  border-radius: 1px;
  text-align: left;
  text-decoration: none;
}
.site-sidebar .menu > :is(a, button) > span:last-of-type { flex: 1; font-size: 14px; }
.site-sidebar .menu i { font-size: 10px; font-style: normal; }
.site-sidebar .topic-list { margin-top: 29px; padding-top: 23px; border-top: 1px solid #2465a1; }
.site-sidebar .topic-list .label { margin: 11px 0 20px; color: #a4c9ec; font-size: 11px; font-weight: 650; letter-spacing: 1.7px; }
.site-sidebar .featured-room {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 3px;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.site-sidebar .featured-room small { display: block; margin-top: 5px; color: #b1d1ed; font-size: 11px; }
.site-sidebar .featured-room .topic {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 30px;
  border-radius: 1px;
  font-size: 11px;
  font-weight: 650;
}
.site-sidebar .topic-list .t1 { background: #4d90cd; color: #fff; }
.site-sidebar .topic-list .t2 { background: #0a64b0; color: #fff; }
.site-sidebar .topic-list .t3 { background: #ff9900; color: #003876; }
.site-sidebar .featured-room:hover { background: #ffffff14; }
.site-sidebar :is(.menu .selected, .menu [aria-current="page"], .featured-room[aria-current="page"]) {
  background: #07599a;
  color: #fff;
  box-shadow: inset 3px 0 #ff9900;
  font-weight: 650;
}
.site-sidebar footer { margin: 35px 5px; color: #a3afbe; font-size: 8px; line-height: 2; }
.site-sidebar footer a { color: inherit; }
/* Razzle Social shell for the room entry screen */
#social-chat-header, #social-chat-layout { box-sizing: border-box; }
#social-chat-header[hidden], #social-chat-layout[hidden] { display: none !important; }
#social-chat-header {
 display: flex; align-items: center; gap: 20px; height: 80px; padding: 0 3%;
 background: #fff; border-bottom: 1px solid #dce6ef; font: 650 14px 'Segoe UI', sans-serif;
}
#social-chat-header a { color: #003876; text-decoration: none; }
.social-chat-brand { display: flex; align-items: center; gap: 8px; font-size: 32px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.social-chat-brand span { color: #ff9900; margin-left: -8px; }
.social-chat-search {
 display: flex; align-items: center; gap: 8px; width: min(100%, 435px); margin-left: auto;
 padding: 4px 10px; border: 1px solid #dce6ef; border-radius: 6px; background: #f4f8fc;
}
.social-chat-search input { width: 100%; min-width: 0; background: transparent; border: 0; color: #173b60; font: inherit; padding: 6px 0; }
.social-chat-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; padding: 18px 18px 0 0; min-height: calc(100dvh - 80px); background: #fff; }
.social-chat-main { min-width: 0; }
.social-chat-main #brand { align-items: flex-start; padding: 10px 0; text-align: left; }
.social-chat-main #brand .tag { margin: 0; }
.social-chat-main #login.win { box-sizing: border-box; width: 100%; margin: 8px 0 20px !important; }
@media (max-width: 799px) {
 #social-chat-header { height: auto; min-height: 66px; flex-wrap: wrap; gap: 8px 14px; padding: 8px 14px; }
 .social-chat-brand { font-size: 24px; }
 .social-chat-brand img { width: 46px; height: 42px; }
 .social-chat-search { order: 3; width: 100%; margin: 0; }
 #social-chat-header > a:last-child { margin-left: auto; }
 .social-chat-layout { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 0; gap: 12px; }
 .social-chat-layout .topic-list { display: none; }
}


.auth-site-layout { display: contents; }
.room-signin body { background: #fff !important; }
.room-signin .auth-site-layout { display: grid; }
.room-signin .auth-site-sidebar { display: flex; }
.room-signin .auth-site-sidebar > aside { flex: 1; }
.room-signin .auth-site-main { padding: 12px 0 28px; }
.room-signin #mwin {
 width: min(100%, 440px) !important; margin: 0 !important;
 border: 0; border-radius: 0; box-shadow: none !important; background: none !important;
}
.room-signin #signin { padding: 8px 0 18px !important; background: transparent !important; align-items: flex-start; }
.room-signin #signin .lgbig { width: auto; height: auto; }
.room-signin #chat-signin-intro { text-align: left; }
.room-signin #foot { display: flex; align-items: center; gap: 6px; padding: 8px 0; }
.auth-browse-link { margin-left: auto; }
@media (max-width: 799px) {
 .room-signin .auth-site-main { padding-top: 0; }
}

.auth-heading { display: contents; }
.auth-chat-art { display: none; }
.room-signin #social-chat-header { border-bottom: 0; }
.room-signin .auth-site-main {
 display: grid;
 grid-template-columns: minmax(0, 460px) minmax(0, 420px);
 align-items: start;
 gap: clamp(24px, 5vw, 72px);
 padding: clamp(18px, 3vw, 42px) clamp(14px, 3vw, 38px) 48px;
}
.room-signin #mwin { width: 100% !important; }
.room-signin #signin {
 padding: 16px clamp(12px, 4vw, 38px) 22px !important;
 gap: 12px !important;
}
.room-signin .auth-heading {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 10px;
 width: 100%;
}
.room-signin .auth-heading .lgbig { display: flex; }
.room-signin .auth-heading .lgbig img { width: 46px; height: 46px; }
.room-signin #chat-signin-intro { width: 100%; text-align: center; margin: 0 0 10px; }
.room-signin #fUp { gap: 8px !important; }
.room-signin #signin input:not([type=checkbox]) { max-width: 100%; }
.room-signin .auth-back { width: 100%; text-align: center; margin-top: 8px; }
.room-signin #chat-signin-footer { width: 100%; justify-content: center; }
.room-signin #foot { justify-content: center; padding: 10px 18px 18px; }
.room-signin .auth-chat-art { display: block; align-self: start; margin-top: 42px; }
.auth-chat-art svg { display: block; width: 100%; height: auto; }
@media (max-width: 1030px) {
 .room-signin .auth-site-main { grid-template-columns: minmax(0, 460px); justify-content: center; }
 .room-signin .auth-chat-art { display: none; }
}

.auth-install-dock:empty { display:none; }
.auth-install-dock { padding:0 12px 16px; }
.room-signin .auth-heading .logo .b { color:#21476e!important; }
@media (max-width: 799px) {
 html.room-signin body { margin:0!important; width:100%!important; min-width:0!important; }
 html.room-signin #social-chat-header {
   min-height:60px; padding:8px 12px; gap:6px 10px;
 }
 html.room-signin .social-chat-brand { font-size:clamp(18px, 5vw, 24px); gap:5px; }
 html.room-signin .social-chat-brand img { width:34px; height:32px; }
 html.room-signin .social-chat-brand span { margin-left:-4px; }
 html.room-signin #social-chat-header > .auth-browse-link {
   padding:6px 8px; font-size:12px; min-height:36px;
   display:inline-flex; align-items:center; white-space:nowrap;
 }
 html.room-signin .auth-site-layout {
   width:100%!important; min-width:0!important; min-height:0;
   grid-template-columns:minmax(0,1fr)!important;
   padding:0; gap:0;
 }
 html.room-signin .auth-site-sidebar { display:none!important; }
 html.room-signin .auth-site-main {
   width:100%; min-width:0; padding:12px 14px 0;
   grid-template-columns:minmax(0,440px); gap:0;
 }
 html.room-signin .auth-site-main #mwin {
   position:relative!important; inset:auto!important;
   width:100%!important; min-width:0!important; max-width:100%!important;
   height:auto!important; min-height:0!important; max-height:none!important;
   margin:0!important; border:0!important; border-radius:0!important;
 }
 html.room-signin .auth-site-main #signin {
   padding:12px 0!important; gap:10px!important;
   width:100%; overflow:visible!important;
 }
 html.room-signin #signin .logo { font-size:clamp(23px,6vw,30px)!important; }
 html.room-signin .auth-heading .lgbig img { width:36px; height:36px; }
 html.room-signin #signin input:not([type=checkbox]) { font-size:16px!important; min-height:44px; }
 html.room-signin #chat-signin-footer { flex-wrap:wrap; gap:8px 14px; }
}

/* Use the same selected navigation treatment on the welcome, Social and Chat pages. */
html body #social-sidebar .menu :is(.selected, [aria-current="page"]),
html body #social-chat-layout .site-sidebar .menu :is(.selected, [aria-current="page"]),
html body .auth-site-sidebar .menu :is(.selected, [aria-current="page"]) {
  background: #07599a !important;
  color: #fff !important;
  box-shadow: inset 3px 0 #ff9900 !important;
  font-weight: 650;
}
