/* V17 — interface-only depth pass. No logic changes.
   Darkens the approved cinematic background and makes the collapsible sidebar translucent. */
.chat-main{
  background:
    linear-gradient(180deg,rgba(0,4,14,.72) 0%,rgba(0,6,20,.76) 46%,rgba(0,4,14,.82) 100%),
    url('assets/nova-cinematic-space-background.png') center center / cover no-repeat fixed !important;
}
/* Translucent sidebar: same approved background remains faintly visible through dark glass. */
.sidebar{
  background:
    linear-gradient(180deg,rgba(1,8,22,.80),rgba(1,7,19,.86)),
    url('assets/nova-cinematic-space-background.png') center center / cover no-repeat fixed !important;
  border-right:1px solid rgba(91,166,255,.22)!important;
  box-shadow:18px 0 48px rgba(0,0,0,.20),inset -1px 0 rgba(255,255,255,.025)!important;
  backdrop-filter:blur(22px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(115%)!important;
}
.sidebar:before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:linear-gradient(135deg,rgba(45,119,218,.045),transparent 38%,rgba(235,188,76,.025));
}
/* Keep sidebar content crisp above the glass. */
.sidebar{position:relative!important;isolation:isolate!important}
.sidebar-top,.sidebar-bottom,.conversation-list,.v40-history-toolbar{position:relative;z-index:1}
.conversation-item,.new-chat,.sidebar button,.sidebar select{
  backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;
}
/* Slightly deepen the header/composer so controls remain readable against the richer scene. */
.chat-header{background:linear-gradient(180deg,rgba(0,5,16,.95),rgba(0,5,16,.74))!important}
.composer-wrap{background:linear-gradient(180deg,transparent,rgba(0,4,14,.74) 28%,rgba(0,4,14,.94))!important}
