/* MOSSY_RIGHT_NAV_ICONS_SHEET_0701_POLISH
   Scope: visual polish only for existing rightRail icon images.
   Does not replace handlers, data-section values, Truth Gate, routers, services, or runtime files. */

body[data-view="chat"] #rightRail{
  width:46px !important;
  right:7px !important;
  top:86px !important;
  bottom:126px !important;
  gap:6px !important;
  padding:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:none !important;
}

body[data-view="chat"] #rightRail button[data-section]{
  width:44px !important;
  min-width:44px !important;
  height:46px !important;
  min-height:46px !important;
  flex:0 0 46px !important;
  border-radius:17px !important;
  padding:3px 1px 3px !important;
  gap:1px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:rgba(0,20,8,.78) !important;
  border:1px solid rgba(118,255,45,.56) !important;
  box-shadow:0 0 0 1px rgba(118,255,45,.12), 0 7px 16px rgba(0,0,0,.32) !important;
}

body[data-view="chat"] #rightRail button[data-section].active{
  background:#76ff2d !important;
  border-color:#76ff2d !important;
  box-shadow:0 0 0 2px rgba(118,255,45,.34), 0 8px 18px rgba(0,0,0,.30) !important;
}

body[data-view="chat"] #rightRail button[data-section] .nav-icon{
  width:26px !important;
  height:24px !important;
  min-height:24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 auto !important;
  padding:0 !important;
  overflow:visible !important;
  line-height:1 !important;
}

body[data-view="chat"] #rightRail button[data-section] .nav-icon img.mossy-nav-img-sheet_0701{
  width:23px !important;
  height:23px !important;
  max-width:23px !important;
  max-height:23px !important;
  object-fit:contain !important;
  display:block !important;
  margin:0 auto !important;
  pointer-events:none !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
  transform:translateY(0) !important;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.74)) saturate(1.04) contrast(1.02) !important;
}

body[data-view="chat"] #rightRail button[data-section].active .nav-icon img.mossy-nav-img-sheet_0701{
  width:22px !important;
  height:22px !important;
  max-width:22px !important;
  max-height:22px !important;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.42)) saturate(1.10) contrast(1.05) !important;
}

body[data-view="chat"] #rightRail button[data-section] .nav-label{
  display:block !important;
  max-width:40px !important;
  margin:0 auto !important;
  padding:0 !important;
  font-size:8.8px !important;
  line-height:9.4px !important;
  font-weight:1000 !important;
  letter-spacing:-.08em !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  color:#fff !important;
  text-shadow:0 1px 2px rgba(0,0,0,.72) !important;
}

body[data-view="chat"] #rightRail button[data-section].active .nav-label{
  color:#031406 !important;
  text-shadow:none !important;
}

/* Keep the utility sound/camera buttons separate. Only balance their size if they sit beside the rail. */
body[data-view="chat"] .top-actions .sound-btn,
body[data-view="chat"] .top-actions .camera-btn{
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  min-height:40px !important;
}

body[data-view="chat"] .top-actions .sound-btn::before,
body[data-view="chat"] [data-sound]::before{
  font-size:17px !important;
}
