/* Restore the warm page surface around the phone, keeping the phone screen dark. */
body:has(#root .ft-amplua-screen),
html #root > div:has(.ft-amplua-screen) {
  background: #faf6ec !important;
}

html #root .ft-amplua-screen {
  background: #000 !important;
}

html #root .ft-amplua-role-picker-top {
  display: none !important;
}

/* Keep profile controls at their original compact dimensions. */
html #root [data-profile-surface="identity"] .theme-picker-trigger,
html #root [data-profile-surface="identity"] .ft-profile-role-trigger {
  box-sizing: border-box !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 2px 7px !important;
  font-size: 9px !important;
  line-height: 12px !important;
}

html #root [data-profile-surface="identity"] .ft-profile-role-picker button {
  box-sizing: border-box !important;
  min-height: 20px !important;
  height: 20px !important;
  padding: 2px 9px !important;
  font-size: 9px !important;
  line-height: 12px !important;
}
