/*
 * HobHive UI overrides for Hydrogen.
 *
 * Applied when html has the class "hobhive-single-room", which hobhive-init.js
 * sets whenever localStorage contains hobhive_ui_mode="single-room". That flag
 * is written by room-link.html and bootstrap.html before every redirect into the
 * Hydrogen SPA, so the room list is hidden for all HobHive-initiated sessions.
 */

html.hobhive-single-room .room-options {
  display: none !important;
}

html.hobhive-single-room .LeftPanel {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
}

/* On wider screens Hydrogen uses a two-column grid; collapse the left slot
   so the room view fills the full width. Omit on narrow viewports where
   Hydrogen already uses a single-column layout — applying it there breaks
   the mobile chat layout. */
@media (min-width: 800px) {
  html.hobhive-single-room .SessionView {
    grid-template-columns: 0 1fr !important;
    --LeftPanel-width: 0px !important;
  }
}
