/* Nexus 18.22w – Camera picker with a dark popover, keeping the native select
   as the progressive-enhancement fallback and as the NavigationManager input. */
.nexus-page-account>.nexus-3d-camera-admin .nexus-camera-picker{position:relative;isolation:isolate}
.nexus-camera-picker__trigger,.nexus-camera-picker__options{display:none}
.nexus-page-account>.nexus-3d-camera-admin .nexus-camera-picker.is-enhanced{
  display:flex;align-items:center;gap:0;min-height:32px;padding:0;
  border:1px solid rgba(143,216,255,.26);background:rgba(9,19,30,.9);
  border-radius:8px;color:#eaf4ff;box-shadow:none;
}
.nexus-page-account>.nexus-3d-camera-admin .nexus-camera-picker.is-enhanced>select{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;
  border:0!important;opacity:0;pointer-events:none;
}
.nexus-camera-picker.is-enhanced .nexus-camera-picker__trigger{
  display:flex;align-items:center;justify-content:center;gap:7px;
  min-width:104px;min-height:31px;padding:0 9px;border:0;background:transparent;
  color:inherit;font:700 11px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.nexus-camera-picker__glyph{display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;font-size:17px;color:#83dcf4}
.nexus-camera-picker__chevron{margin-left:auto;color:#a7bdcc;font-size:15px}
.nexus-camera-picker.is-enhanced .nexus-camera-picker__trigger:hover,
.nexus-camera-picker.is-enhanced.is-open .nexus-camera-picker__trigger{background:rgba(143,216,255,.1)}
.nexus-camera-picker.is-enhanced:focus-within{outline:2px solid rgba(127,255,212,.55);outline-offset:2px}
.nexus-camera-picker.is-enhanced .nexus-camera-picker__options:not([hidden]){
  position:absolute;top:calc(100% + 7px);right:0;z-index:300;
  display:grid;gap:3px;width:180px;min-width:180px;padding:6px;
  border:1px solid #3b627a;border-radius:9px;background:#091724;
  box-shadow:0 16px 38px rgba(0,0,0,.72);color:#f0f9ff;
}
.nexus-camera-picker__options button{
  display:flex;align-items:center;gap:11px;min-height:38px;padding:7px 10px;
  border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;
  text-align:left;font:600 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
}
.nexus-camera-picker__options button>span:first-child{width:22px;text-align:center;font-size:19px;color:#8ed7f2}
.nexus-camera-picker__options button:hover,.nexus-camera-picker__options button:focus-visible{
  border-color:#406b85;background:#183249;outline:none;
}
.nexus-camera-picker__options button[aria-selected="true"]{
  color:#b4ffe2;background:#153b39;border-color:#34766b;
}
.nexus-camera-picker__trigger:disabled{opacity:.5;cursor:default}
/* 18.23a: same compact icon camera control on desktop and mobile. Keep the
   visually hidden label in the DOM for state/ARIA sync; only the icon renders. */
body.nexus-page-public .nexus-camera-picker.is-enhanced .nexus-camera-picker__label,
body.nexus-page-public .nexus-camera-picker.is-enhanced .nexus-camera-picker__chevron{display:none!important}
body.nexus-page-public .nexus-page-account>.nexus-3d-camera-admin .nexus-camera-picker.is-enhanced{min-width:0;width:auto;padding:0}
body.nexus-page-public .nexus-camera-picker.is-enhanced .nexus-camera-picker__trigger{
  width:34px;min-width:0;max-width:34px;min-height:31px;gap:0;padding:0;
}
/* The label 'Gast/Member/Owner' is redundant next to Login/Account.
   This is presentation-only and never changes authorization. */
body.nexus-page-public .nexus-page-account>.nexus-page-role{display:none!important}
/* Same rotation button for every viewport: semantic checkbox remains, visible
   check mark never appears. Hover, checked, and focus show meaningful states. */
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation{
  position:relative;display:grid;place-items:center;gap:0;
  width:32px;min-width:32px;height:32px;min-height:32px;padding:0;
  border:1px solid var(--np-line);border-radius:8px;
  background:rgba(255,255,255,.035);color:#dceaf7;
  font-size:0;line-height:1;cursor:pointer;
}
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation>span{
  display:grid;place-items:center;width:100%;height:100%;font-size:17px;line-height:1;
}
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation input{
  position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;
}
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation:hover,
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation.is-active,
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation:has(input:checked){
  border-color:rgba(127,255,212,.58);background:rgba(127,255,212,.13);color:#87f7cc;
}
.nexus-page-account>.nexus-3d-camera-admin .nexus-3d-camera-rotation:focus-within{
  outline:2px solid #8df1d8;outline-offset:2px;
}
.nexus-3d-camera-rotation[hidden]{display:none!important}
/* Readable fallback when JavaScript fails to enhance the picker. */
.nexus-page-account>.nexus-3d-camera-admin .nexus-camera-picker:not(.is-enhanced)>select{
  color-scheme:dark;background:#091724;color:#eaf4ff;
}
.nexus-camera-picker:not(.is-enhanced) select option{background:#091724;color:#eaf4ff}
@media (max-width:650px), ((max-height:500px) and (max-width:900px)){
  .nexus-page-account>.nexus-3d-camera-admin .nexus-camera-picker.is-enhanced{padding:0;min-height:32px}
  .nexus-camera-picker.is-enhanced .nexus-camera-picker__trigger{
    width:35px;min-width:35px;max-width:35px;min-height:32px;padding:0;
  }
  .nexus-camera-picker.is-enhanced .nexus-camera-picker__label,
  .nexus-camera-picker.is-enhanced .nexus-camera-picker__chevron{display:none}
  .nexus-camera-picker.is-enhanced .nexus-camera-picker__options:not([hidden]){
    display:grid;grid-template-columns:repeat(4,1fr);gap:4px;
    width:200px;min-width:200px;
  }
  .nexus-camera-picker__options button{
    display:grid;place-items:center;min-width:0;min-height:43px;padding:4px;
  }
  .nexus-camera-picker__options button>span:first-child{width:auto;font-size:22px}
  .nexus-camera-picker__options .nexus-camera-picker__option-label{display:none}
}
