/* Authentication and connected-account controls, consistent with Omni. */
.auth-forgot-button {
  display:block;width:fit-content;align-self:end;justify-self:end;
  padding:8px 0;border:0;background:none;cursor:pointer;
  font:600 12px "Segoe UI",sans-serif;color:#a3e7ba;
}
.auth-forgot-button:disabled{color:#829398;cursor:not-allowed;opacity:.65}
.nexo-google-login{
  display:flex;align-items:center;justify-content:center;gap:12px;
  min-height:44px;margin-top:9px;padding:8px 15px;
  color:#eaf6f0;background:rgba(255,255,255,.075);
  border:1px solid rgba(180,236,205,.38);border-radius:10px;
  font:650 12px "Segoe UI",sans-serif;cursor:pointer;
}
.nexo-google-login:hover:not(:disabled){background:rgba(143,217,175,.13)}
.nexo-google-login:disabled{opacity:.52;cursor:not-allowed}
.nexo-google-mark{font:800 18px "Segoe UI",sans-serif;color:#70cbf4}
.nexo-google-hint{font-size:10px;color:#a1b7b3;line-height:1.6}
.auth-recovery-dialog{width:min(445px,calc(100vw - 28px));max-height:calc(100dvh - 26px);padding:0;overflow:hidden}
.auth-recovery-dialog .menu-dialog-body{max-height:calc(100dvh - 30px);padding:20px 23px;overflow:auto}
.auth-recovery-dialog .nexo-auth-modal-heading{position:sticky;top:-20px;z-index:4;
  align-items:center;padding:8px 0 15px;background:#20232a}
.auth-recovery-dialog .nexo-auth-modal-heading h2{font-size:19px}
.auth-recovery-dialog .recovery-description{font-size:12px;color:#c0ccd0;line-height:1.6}
.auth-recovery-dialog .nexo-recovery-form{display:grid;gap:9px}
.auth-recovery-dialog .nexo-recovery-form label{font-size:12px;color:#e4f8eb}
.auth-recovery-dialog .nexo-recovery-form input{height:42px;padding:10px 12px;color:#fff;background:#121b22;
  border:1px solid #ffffff38;border-radius:9px;font:inherit}
.auth-recovery-dialog .nexo-recovery-form button{min-height:42px;border-radius:9px}
#authRecoveryFeedback{min-height:20px;font-size:12px;color:#9adeb7;line-height:1.5}
/* All popup content remains inside the visible monitor. Only the inner
   body scrolls. Closing is via the standard × icon in its top-right corner. */
#inviteDialog,#inviteFriendsDialog,#invitationsInboxDialog,#menuDialog,
#deviceQuickDialog,#savedAccountsDialog {
  max-height:calc(100dvh - 28px);
  overflow:hidden;
}
#inviteDialog .menu-dialog-body,#inviteFriendsDialog .menu-dialog-body,
#invitationsInboxDialog .menu-dialog-body,#menuDialog .menu-dialog-body,
#deviceQuickDialog .menu-dialog-body,#savedAccountsDialog .menu-dialog-body {
  max-height:calc(100dvh - 30px);
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;
}
.nexo-dialog-heading{position:sticky;top:0;z-index:5;display:flex;
  align-items:center;justify-content:space-between;gap:12px;
  margin:-2px 0 14px;padding:2px 0 9px;background:#202226;
  border-bottom:1px solid #ffffff15}
.nexo-dialog-heading h2{margin:0;font-size:18px}
.nexo-dialog-heading .dialog-close{flex:none;margin-left:auto}
@media(max-height:620px) {
  #inviteDialog,#inviteFriendsDialog,#invitationsInboxDialog,#menuDialog,
  #deviceQuickDialog,#savedAccountsDialog {max-height:calc(100dvh - 14px)}
}

/* Mini Central text geometry: name larger, activity/status centered on the
   vertical midpoint of the portrait. Do not move the portrait or controls. */
#miniCentral .mini-central-ident {
  display:flex;
  flex-direction:column;
  align-self:start;
  justify-content:center;
  gap:2px;
  min-height:45px;
  padding-top:7px;
  transform:none;
}
#miniCentral .mini-central-ident .user-copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:1px;
  min-width:0;
  text-align:left;
}
#miniCentral .mini-central-ident .user-copy strong {
  font-size:17px;
  line-height:20px;
  font-weight:750;
  letter-spacing:-.025em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:100%;
  color:#fff;
  text-shadow:0 1px 5px #000e;
}
#miniCentral .mini-central-ident .user-copy #userStatus {
  font-size:11px;
  line-height:14px;
  font-weight:600;
  color:#edf5f0;
  white-space:nowrap;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  text-shadow:0 1px 4px #000e;
}
#miniCentral .mini-central-ident #miniCentralGame:not([hidden]) {
  font-size:10px;
  line-height:12px;
  font-weight:650;
  margin-top:0;
  max-width:calc(100% - 30px);
  white-space:nowrap;
}
#miniCentralPreviewName {
  font-size:17px;
  line-height:21px;
  font-weight:750;
}
#miniCentralPreviewGame { font-size:11px; }

/* Omni live 034 - slim unified lower strip.
   Avatar grows gently from 56x56 to 62x62 and protrudes approximately
   8px above the bar, while the footer stays 70px high. */
#appShell .user-panel.mini-central {
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  box-sizing: border-box;
  padding: 0 12px;
  overflow: visible;
}
#appShell .mini-central .mini-central-content {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;
  height: 100%;
  min-height: 0;
  gap: 5px;
}
#appShell .mini-central #profileButton.self-avatar {
  position: absolute;
  left: 0;
  bottom: 16px;
  z-index: 4;
  display: grid;
  flex: none;
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  margin: 0;
  padding: 0;
  transform: none;
}
#appShell .mini-central .mini-central-ident {
  position: relative;
  flex: 1 1 auto;
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  align-self: center;
  justify-self: auto;
  margin: 9px 0 0 69px;
  padding: 0;
  min-height: 36px;
  gap: 1px;
  justify-content: center;
}
#miniCentral .mini-central-ident .user-copy {
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
#miniCentral .mini-central-ident .user-copy strong {
  font-size: 18px;
  line-height: 20px;
  font-weight: 750;
}
#miniCentral .mini-central-ident .user-copy #userStatus {
  font-size: 11px;
  line-height: 14px;
}
#appShell .mini-central .mini-central-buttons {
  display: flex;
  grid-column: auto;
  grid-row: auto;
  align-self: center;
  justify-self: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex: 0 0 auto;
  margin: 7px 0 0 auto;
}
#appShell .mini-central .mini-central-buttons button.user-control {
  flex: 0 0 24px;
  width: 24px;
  height: 26px;
  min-width: 24px;
  min-height: 26px;
  padding: 0;
}
#appShell .mini-central .mini-central-buttons button.user-control svg {
  width: 19px;
  height: 19px;
}
#appShell .chat-column > .composer-wrap {
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  flex: 0 0 70px;
  padding: 4px 14px;
}
#appShell .chat-column > .composer-wrap .composer {
  min-height: 45px;
}
#appShell .chat-column .voice-stage:not([hidden]) > .voice-stage-controls {
  height: 70px;
  min-height: 70px;
  max-height: 70px;
  flex: 0 0 70px;
  padding: 4px 16px;
  align-items: center;
  justify-content: center;
}
#appShell .chat-column .voice-stage:not([hidden]) > .voice-stage-controls > * {
  align-self: center;
}
@media (max-width: 760px) {
  #appShell .chat-column > .composer-wrap { padding: 4px 9px; }
  #appShell .chat-column .voice-stage:not([hidden]) > .voice-stage-controls { padding: 4px 9px; }
}

/* Omni home has no chat/voice invitation destination. */
#inviteCurrentChatButton[hidden],
#appShell:has(#homePanel:not([hidden])) #inviteCurrentChatButton {
  display: none !important;
}

/* 0.2.36 - official Omni identity, same generated artwork at every size. */
#appShell .server-rail .brand-mark {
  background: url('/omni-icon.png') center / contain no-repeat !important;
  border: 0 !important;
  box-shadow: 0 5px 15px #0006 !important;
}
#appShell .server-rail .brand-mark .brand-wordmark {
  visibility: hidden;
}
.auth-screen .auth-brand .auth-mark {
  background: url('/omni-icon.png') center / contain no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  color: transparent !important;
}
#appShell .server-rail .brand-mark:hover {
  filter: brightness(1.14);
}
