/* Noctis group chrome. Self-contained, fixed palette, nx- namespaced.
   Scope: #noctis-chrome (top bar) and .noctis-foot (footer strip). No em-dashes. */
#noctis-chrome,.noctis-foot{
  --nx-accent:#7c83ff;--nx-accent2:#aab0ff;--nx-text:#eef0fb;--nx-muted:#9a9cc4;
  --nx-soft:#c7c9ea;--nx-line:#2a2a46;--nx-card:#15152b;--nx-bg:#0a0a16;--nx-bg2:#0d0d1a;
  --nx-glow:124,131,255;--nx-bar-h:38px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;text-align:left;box-sizing:border-box}
#noctis-chrome *,.noctis-foot *{box-sizing:border-box}
#noctis-chrome a,.noctis-foot a{text-decoration:none}

/* ---- the slim fixed top bar ---- */
#noctis-chrome{position:fixed;top:0;left:0;right:0;z-index:2147482000;
  background:linear-gradient(180deg,rgba(8,8,16,.96),rgba(8,8,16,.9));
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--nx-line);color:var(--nx-soft)}
#noctis-chrome::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(var(--nx-glow),.7),transparent)}
#noctis-chrome .nx-in{max-width:1120px;margin:0 auto;padding:6px 20px;display:flex;
  align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;min-height:var(--nx-bar-h)}
#noctis-chrome .nx-left{display:flex;align-items:center;gap:16px;min-width:0}
#noctis-chrome .nx-logo{display:inline-flex;align-items:center;gap:8px;color:var(--nx-soft);
  font-weight:600;font-size:12px;letter-spacing:1.4px;text-transform:uppercase}
#noctis-chrome .nx-logo:hover{color:var(--nx-text)}
#noctis-chrome .nx-mk{width:15px;height:15px;flex:0 0 auto}
#noctis-chrome .nx-links{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
#noctis-chrome .nx-swx{position:relative;display:inline-flex;align-items:center}
#noctis-chrome .nx-sw,.noctis-foot .nx-sw{display:inline-flex;align-items:center;gap:7px;
  color:var(--nx-muted);padding:4px 11px;border-radius:999px;font-size:12.5px;font-weight:600;
  border:1px solid transparent;transition:color .15s,background .15s,border-color .15s}
#noctis-chrome .nx-sw .nx-dot,.noctis-foot .nx-sw .nx-dot{width:7px;height:7px;border-radius:50%;
  background:var(--c,currentColor);box-shadow:0 0 7px var(--c,transparent);flex:0 0 auto}
#noctis-chrome .nx-sw:hover,.noctis-foot .nx-sw:hover{color:var(--c2,var(--nx-text));
  background:rgba(255,255,255,.05)}
/* division reveal (hover on desktop, caret click anywhere) */
#noctis-chrome .nx-cvb{display:inline-flex;align-items:center;justify-content:center;background:transparent;
  border:0;cursor:pointer;color:var(--nx-muted);padding:3px 3px;margin-left:-4px}
#noctis-chrome .nx-cvb:hover{color:var(--nx-soft)}
#noctis-chrome .nx-cv2{width:10px;height:10px;transition:transform .18s}
#noctis-chrome .nx-hassub:hover .nx-cv2,#noctis-chrome .nx-hassub.nx-open .nx-cv2{transform:rotate(180deg)}
#noctis-chrome .nx-swsub{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;z-index:2147483000;
  background:linear-gradient(180deg,var(--nx-card),var(--nx-bg2));border:1px solid var(--nx-line);
  border-radius:13px;padding:8px;box-shadow:0 22px 52px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .16s,transform .16s}
#noctis-chrome .nx-hassub:hover .nx-swsub,#noctis-chrome .nx-hassub.nx-open .nx-swsub{
  opacity:1;visibility:visible;transform:translateY(0)}
#noctis-chrome .nx-swsub::before{content:"";position:absolute;top:-9px;left:0;right:0;height:9px}
#noctis-chrome .nx-swsub-in{position:relative;display:flex;flex-direction:column;gap:3px;padding-left:15px}
#noctis-chrome .nx-swsub-in::before{content:"";position:absolute;left:5px;top:7px;bottom:7px;width:1px;
  background:color-mix(in srgb,var(--c,var(--nx-line)) 38%,var(--nx-line))}
#noctis-chrome .nx-swsub .nx-sw{width:100%;justify-content:flex-start;position:relative}
#noctis-chrome .nx-swsub .nx-sw::after{content:"";position:absolute;left:-10px;top:50%;width:7px;height:1px;
  background:color-mix(in srgb,var(--c,var(--nx-line)) 38%,var(--nx-line))}

/* Structure trigger */
#noctis-chrome .nx-struct{position:static}
#noctis-chrome .nx-struct-t{display:inline-flex;align-items:center;gap:6px;background:transparent;
  border:0;cursor:pointer;color:var(--nx-soft);font:600 12px/1 inherit;letter-spacing:1.3px;
  text-transform:uppercase;padding:5px 2px}
#noctis-chrome .nx-struct-t:hover{color:var(--nx-text)}
#noctis-chrome .nx-cv{width:11px;height:11px;transition:transform .2s}
#noctis-chrome .nx-struct:hover .nx-cv,#noctis-chrome .nx-struct.nx-open .nx-cv{transform:rotate(180deg)}

/* the tiered tree the bar opens */
#noctis-chrome .nx-menu{position:absolute;top:calc(var(--nx-bar-h) + 6px);left:50%;
  transform:translateX(-50%) translateY(-6px);width:min(1120px,calc(100vw - 24px));
  max-height:80vh;overflow:auto;z-index:2147483000;
  background:linear-gradient(180deg,var(--nx-card),var(--nx-bg2));border:1px solid var(--nx-line);
  border-radius:16px;padding:18px;box-shadow:0 26px 64px rgba(0,0,0,.6);opacity:0;visibility:hidden;
  transition:opacity .18s,transform .18s}
#noctis-chrome .nx-struct:hover .nx-menu,#noctis-chrome .nx-struct.nx-open .nx-menu{
  opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
#noctis-chrome .nx-menu::before{content:"";position:absolute;top:-12px;left:0;right:0;height:12px}
#noctis-chrome .nx-cap{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;
  color:var(--nx-muted);font-weight:600;margin:0 0 12px}
#noctis-chrome .nx-nm{font-weight:inherit}
#noctis-chrome .nx-node{display:flex;align-items:center;gap:9px;border-radius:11px;
  border:1px solid var(--nx-line);color:var(--nx-soft);
  transition:border-color .15s,background .15s,color .15s}
#noctis-chrome .nx-node em{font-style:normal;color:var(--nx-muted);font-size:11.5px;
  margin-left:auto;white-space:nowrap}
#noctis-chrome .nx-node:hover{border-color:var(--nx-fam,var(--nx-accent));color:var(--nx-text)}
#noctis-chrome .nx-fdot{width:8px;height:8px;border-radius:50%;flex:0 0 auto;
  background:var(--nx-fam,var(--nx-accent));box-shadow:0 0 8px var(--nx-fam,transparent)}
/* one colour family per branch; the shade deepens with depth holding>division>sub>front */
#noctis-chrome .nx-top{padding:12px 15px;color:var(--nx-text);font-weight:760;font-size:15.5px;
  background:color-mix(in srgb,var(--nx-fam) 16%,transparent);border-color:color-mix(in srgb,var(--nx-fam) 50%,transparent)}
#noctis-chrome .nx-top em{color:var(--nx-fam2,var(--nx-accent2));border:1px solid var(--nx-line);border-radius:999px;
  padding:2px 9px;font-size:10.5px;letter-spacing:1.2px;text-transform:uppercase}
#noctis-chrome .nx-top svg{width:18px;height:18px;flex:0 0 auto}
#noctis-chrome .nx-stem{width:2px;height:14px;margin:0 auto;
  background:linear-gradient(180deg,rgba(var(--nx-glow),.6),var(--nx-line))}
#noctis-chrome .nx-divs{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#noctis-chrome .nx-div{position:relative}
#noctis-chrome .nx-division{padding:10px 13px;color:var(--nx-text);font-weight:700;font-size:14px;
  background:color-mix(in srgb,var(--nx-fam) 14%,transparent);border-color:color-mix(in srgb,var(--nx-fam) 40%,transparent)}
#noctis-chrome .nx-subs{margin:12px 0 0 13px;padding-left:15px;
  border-left:1px solid color-mix(in srgb,var(--nx-fam,var(--nx-line)) 35%,var(--nx-line));
  display:flex;flex-direction:column;gap:13px}
#noctis-chrome .nx-subwrap{position:relative}
#noctis-chrome .nx-subwrap::before{content:"";position:absolute;left:-15px;top:18px;width:11px;
  height:1px;background:color-mix(in srgb,var(--nx-fam,var(--nx-line)) 35%,var(--nx-line))}
#noctis-chrome .nx-sub{padding:8px 12px;color:var(--nx-soft);font-weight:650;font-size:13px;
  background:color-mix(in srgb,var(--nx-fam) 11%,transparent);border-color:color-mix(in srgb,var(--nx-fam) 30%,transparent)}
#noctis-chrome .nx-fronts{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 0 13px;padding-left:15px;
  border-left:1px dashed color-mix(in srgb,var(--nx-fam,var(--nx-line)) 30%,var(--nx-line))}
#noctis-chrome .nx-front{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:var(--nx-soft);
  background:color-mix(in srgb,var(--nx-fam) 12%,transparent);
  border:1px solid color-mix(in srgb,var(--nx-fam) 28%,transparent);border-radius:999px;padding:3px 10px;white-space:nowrap}
#noctis-chrome .nx-front .nx-fdot{width:6px;height:6px}
@supports not (color:color-mix(in srgb,red,blue)){
  #noctis-chrome .nx-top,#noctis-chrome .nx-division,#noctis-chrome .nx-sub,#noctis-chrome .nx-front{
    background:rgba(var(--nx-glow),.08);border-color:var(--nx-line)}}

/* ---- footer group tree ---- */
.noctis-foot{background:linear-gradient(180deg,rgba(8,8,16,.6),rgba(8,8,16,.85));
  border-top:1px solid var(--nx-line);color:var(--nx-soft);padding:14px 0}
.noctis-foot .nx-fin{max-width:1120px;margin:0 auto;padding:0 20px;display:flex;flex-wrap:wrap;
  gap:14px;align-items:flex-start}
.noctis-foot .nx-flab{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;
  color:var(--nx-muted);font-weight:600;margin-right:6px;margin-top:6px}
.noctis-foot .nx-flinks{display:flex;flex-wrap:wrap;align-items:flex-start}
.noctis-foot .nx-ftree{display:flex;flex-direction:column;gap:8px}
.noctis-foot .nx-ftbranch{display:flex;flex-direction:column;gap:5px}
.noctis-foot .nx-ftsubs{display:flex;flex-direction:column;gap:4px;margin-left:13px;padding-left:13px;
  border-left:1px solid color-mix(in srgb,var(--c,var(--nx-line)) 35%,var(--nx-line))}
.noctis-foot .nx-sw{border:1px solid var(--nx-line);background:rgba(var(--nx-glow),.05);align-self:flex-start}
.noctis-foot .nx-ftsubs .nx-sw{position:relative}
.noctis-foot .nx-ftsubs .nx-sw::after{content:"";position:absolute;left:-13px;top:50%;width:8px;height:1px;
  background:color-mix(in srgb,var(--c,var(--nx-line)) 35%,var(--nx-line))}

/* current-node highlight (markup stays identical; wrapper data-cur drives it) */
#noctis-chrome[data-cur="noctis.holdings"] .nx-node[data-key="noctis.holdings"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="overnight.holdings"] .nx-node[data-key="overnight.holdings"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="overnight.host"] .nx-node[data-key="overnight.host"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="overnight.bet"] .nx-node[data-key="overnight.bet"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="midnight.holdings"] .nx-node[data-key="midnight.holdings"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="midnight.games"] .nx-node[data-key="midnight.games"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="midnight.shopping"] .nx-node[data-key="midnight.shopping"]{border-color:var(--nx-accent);box-shadow:inset 0 0 0 1px var(--nx-accent);color:var(--nx-text);background:rgba(var(--nx-glow),.16)}
#noctis-chrome[data-cur="noctis.holdings"] .nx-sw[data-key="noctis.holdings"],.noctis-foot[data-cur="noctis.holdings"] .nx-sw[data-key="noctis.holdings"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="overnight.holdings"] .nx-sw[data-key="overnight.holdings"],.noctis-foot[data-cur="overnight.holdings"] .nx-sw[data-key="overnight.holdings"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="overnight.host"] .nx-sw[data-key="overnight.host"],.noctis-foot[data-cur="overnight.host"] .nx-sw[data-key="overnight.host"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="overnight.bet"] .nx-sw[data-key="overnight.bet"],.noctis-foot[data-cur="overnight.bet"] .nx-sw[data-key="overnight.bet"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="midnight.holdings"] .nx-sw[data-key="midnight.holdings"],.noctis-foot[data-cur="midnight.holdings"] .nx-sw[data-key="midnight.holdings"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="midnight.games"] .nx-sw[data-key="midnight.games"],.noctis-foot[data-cur="midnight.games"] .nx-sw[data-key="midnight.games"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="midnight.shopping"] .nx-sw[data-key="midnight.shopping"],.noctis-foot[data-cur="midnight.shopping"] .nx-sw[data-key="midnight.shopping"]{color:var(--c2,var(--nx-text));border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) 14%,transparent)}
#noctis-chrome[data-cur="overnight.host"] .nx-sw[data-key="overnight.holdings"]{color:var(--c2,var(--nx-soft))}
#noctis-chrome[data-cur="overnight.bet"] .nx-sw[data-key="overnight.holdings"]{color:var(--c2,var(--nx-soft))}
#noctis-chrome[data-cur="midnight.games"] .nx-sw[data-key="midnight.holdings"]{color:var(--c2,var(--nx-soft))}
#noctis-chrome[data-cur="midnight.shopping"] .nx-sw[data-key="midnight.holdings"]{color:var(--c2,var(--nx-soft))}
#noctis-chrome[data-cur-front="ArmedRZ"] .nx-front[data-front="ArmedRZ"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="AstroMC"] .nx-front[data-front="AstroMC"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Casino"] .nx-front[data-front="Casino"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Domains"] .nx-front[data-front="Domains"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Eventklar"] .nx-front[data-front="Eventklar"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Game Servers"] .nx-front[data-front="Game Servers"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Grundpreis"] .nx-front[data-front="Grundpreis"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Ladenfertig"] .nx-front[data-front="Ladenfertig"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Markenstart"] .nx-front[data-front="Markenstart"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Nyx"] .nx-front[data-front="Nyx"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Pfotenkorb"] .nx-front[data-front="Pfotenkorb"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Poker"] .nx-front[data-front="Poker"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Prediction Markets"] .nx-front[data-front="Prediction Markets"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="RaveKit"] .nx-front[data-front="RaveKit"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="SlickRP"] .nx-front[data-front="SlickRP"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Sportsbook"] .nx-front[data-front="Sportsbook"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Tischwohl"] .nx-front[data-front="Tischwohl"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="VPS"] .nx-front[data-front="VPS"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}
#noctis-chrome[data-cur-front="Web Hosting"] .nx-front[data-front="Web Hosting"]{color:var(--nx-text);border-color:var(--nx-fam,var(--nx-accent));background:color-mix(in srgb,var(--nx-fam) 22%,transparent);font-weight:700}

@media(max-width:600px){
  #noctis-chrome .nx-logo span{display:none}
  #noctis-chrome .nx-in{justify-content:space-between}
  #noctis-chrome .nx-divs{grid-template-columns:1fr}
  #noctis-chrome .nx-menu{padding:14px}
}
@media(prefers-reduced-motion:reduce){
  #noctis-chrome .nx-menu,#noctis-chrome .nx-cv,#noctis-chrome .nx-sw{transition:none}
}
