/* Friday: one Nexus SVG, no form overlays or colour-copy observers. */
    .users-window-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 15px;
    }

    .users-window-title {
      margin-top: 5px;
      font-size: 15px;
      font-weight: 400;
      letter-spacing: 0.01em;
      color: rgba(255, 255, 255, 0.84);
    }

    .users-online-count {
      display: flex;
      align-items: center;
      gap: 7px;
      padding-bottom: 2px;
      font-size: 8px;
      font-weight: 600;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.25);
    }

    .users-online-count::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #ff7b2f;
      box-shadow: 0 0 9px rgba(255, 112, 35, 0.58);
    }



#plexDockPanel, #appsDockPanel.friday-apps-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  position: fixed; top: auto; right: 22px; bottom: 84px; z-index: 900;
}
body:not(.command-mode-on) #plexDockPanel,
body:not(.command-mode-authorized) #plexDockPanel,
body:not(.command-mode-ready) #plexDockPanel,
body:not(.command-mode-on) #appsDockPanel,
body:not(.command-mode-authorized) #appsDockPanel,
body:not(.command-mode-ready) #appsDockPanel {
  visibility: hidden !important; opacity: 0 !important; pointer-events: none !important;
}
@media (max-width: 700px) {
  #plexDockPanel, #appsDockPanel.friday-apps-panel { right:12px; bottom:76px; }
}
#orb.friday-nexus {
  --nexus-speed:1.3; --nexus-pulse:.7; --nexus-glow:.6;
  filter:drop-shadow(0 0 10px #f8843966) drop-shadow(0 0 30px #d45e2455);
  cursor:pointer; touch-action:manipulation;
}
.friday-nexus .assembly {
  transform-origin: 160px 160px;
  animation: nexusBreathe calc(7s / var(--nexus-pulse)) ease-in-out infinite;
}
.friday-nexus .strand-rotor {
  transform-origin: 160px 160px;
  animation: nexusSwayA calc(13s / var(--nexus-speed)) ease-in-out infinite;
}
.friday-nexus .motion-1,
.friday-nexus .motion-4,
.friday-nexus .motion-1,
.friday-nexus .motion-4 { animation-name: nexusSwayB; animation-duration: calc(17s / var(--nexus-speed)); }
.friday-nexus .motion-2 { animation-name: nexusSwayC; animation-duration: calc(27s / var(--nexus-speed)); }
.friday-nexus .motion-3 { animation-duration: calc(9s / var(--nexus-speed)); }
.friday-nexus :is(.strand-back,.strand-energy,.strand-micro,.strand-light) {
  fill: none;
  stroke-linecap: round;
}
.friday-nexus .strand-back { stroke: #ff5a00; stroke-width: 3.5; opacity: calc(.1 * var(--nexus-glow)); filter: blur(5px); }
.friday-nexus .strand-energy { stroke-width: 1.8; opacity: .72; stroke-dasharray: 43 18 82 24; animation: nexusStrandFlow calc(11s / var(--nexus-speed)) linear infinite; }
.friday-nexus .strand-offset { stroke-width: .9; opacity: .46; stroke-dasharray: 68 24 25 42; animation-name: nexusStrandOffsetFlow; animation-duration: calc(14s / var(--nexus-speed)); animation-direction: reverse; }
.friday-nexus .strand-micro { stroke: #e1e4e6; stroke-width: .48; opacity: .27; stroke-dasharray: 7 15; }
.friday-nexus .strand-light { stroke-width: 2.5; stroke-dasharray: 55 845; filter: blur(.5px) drop-shadow(0 0 4px currentColor); animation: nexusLightRun calc(7s / var(--nexus-speed)) linear infinite; }
.friday-nexus .strand-light.white { stroke: #e1e4e6; color: #e1e4e6; stroke-width: 1.7; }
.friday-nexus .strand-light.orange { stroke: #ff8a35; color: #ff8a35; }
.friday-nexus .light-motion-1 { stroke-dasharray: 38 862; animation-duration: calc(11s / var(--nexus-speed)); animation-direction: reverse; }
.friday-nexus .light-motion-2 { stroke-dasharray: 70 830; animation-duration: calc(16s / var(--nexus-speed)); }
.friday-nexus .light-motion-3 { stroke-dasharray: 45 855; animation-duration: calc(19s / var(--nexus-speed)); animation-direction: reverse; }
.friday-nexus .light-motion-4 { stroke-dasharray: 32 868; animation-duration: calc(23s / var(--nexus-speed)); }
.friday-nexus .friday-field { opacity: calc(.45 * var(--nexus-glow)); filter: blur(14px); }
@keyframes nexusSwayA { 0%,100% { transform: rotate(0deg) scale(1) } 25% { transform: rotate(3deg) scale(1.025) } 50% { transform: rotate(-2deg) scale(.975) } 75% { transform: rotate(2deg) scale(1.02) } }
@keyframes nexusSwayB { 0%,100% { transform: rotate(0deg) scale(1) } 33% { transform: rotate(-4deg) scale(.97) } 66% { transform: rotate(3deg) scale(1.035) } }
@keyframes nexusSwayC { 0%,100% { transform: rotate(0deg) scale(1) } 25% { transform: rotate(-2deg) scale(1.025) } 50% { transform: rotate(4deg) scale(.965) } 75% { transform: rotate(-3deg) scale(1.015) } 100% { transform: rotate(0deg) scale(1) } }
@keyframes nexusBreathe { 50% { transform: scale(calc(1 + .035 * var(--nexus-pulse))) } }
@keyframes nexusStrandFlow { to { stroke-dashoffset: -334 } }
@keyframes nexusStrandOffsetFlow { to { stroke-dashoffset: -318 } }
@keyframes nexusLightRun { to { stroke-dashoffset: -900 } }

.friday-nexus .strand-back{stroke:#ff5a00}
.friday-nexus .strand-light.orange{stroke:#ff8a35;color:#ff8a35}
.friday-nexus .strand-light.white{stroke:#e1e4e6;color:#e1e4e6}
@media(prefers-reduced-motion:reduce){.friday-nexus :is(.assembly,.strand-rotor,.strand-energy,.strand-light){animation-duration:100s!important}}

/* Direct palette values win over the fixed idle stroke declarations. */
.friday-nexus .strand-back { stroke:var(--nexus-back,#ff5a00); }
.friday-nexus .strand-light.orange { stroke:var(--nexus-orange,#ff8a35); color:var(--nexus-orange,#ff8a35); }
.friday-nexus .strand-light.white { stroke:var(--nexus-white,#e1e4e6); color:var(--nexus-white,#e1e4e6); }
#orb.friday-nexus.nexus-red-active {
  filter:drop-shadow(0 0 10px #ff454566) drop-shadow(0 0 30px #c90f1855);
}
body.critical-state-active #orb.friday-nexus {
  filter:drop-shadow(0 0 22px rgba(255,35,35,.28)) drop-shadow(0 0 30px #c90f1855);
}
.friday-nexus stop { transition:stop-color .2s linear; }

/* TEST: Nexus utan glödfilter och oskärpa */
#orb.friday-nexus,
#orb.friday-nexus * {
  filter: none !important;
}