/* NeuroGenie UCN v1.1 — original Nova Hale UCN stylesheet sequence consolidated in source order. */

/* === ORIGINAL UCN SOURCE: css/ucn-final-anova-header-source.css === */
/* Stage 3D: source-extracted HEADER ONLY from verified FINAL live Anova styles.css.
   Every retained selector and declaration is unchanged; the editorial page styles stay NeuroGirl's.
   Source SHA256: 0dc1520bc4468fd969af42eee4d8468575d9ca88571aade8f2f1ca81c69358a0. */
body > header{--night:#030e20;--ink:#f2f6fc;--muted:#bbd4e7;--cyan:#60d5ff;--line:#22506d;font-family:Georgia,"Times New Roman",serif;color:var(--ink)}
body > header a{color:inherit;text-decoration:none}
body > header a:focus-visible{outline:3px solid var(--cyan);outline-offset:6px}
a:focus-visible{outline:3px solid var(--cyan);outline-offset:6px}
header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#020b19}
.wordmark{font-family:Arial,sans-serif;letter-spacing:.28em;font-size:15px;white-space:nowrap}
nav{display:flex;gap:32px;margin-left:auto;font-size:16px}
nav a:hover,.studios-link:hover{color:var(--cyan)}
.studios-link{border-left:1px solid var(--line);padding-left:30px;font-size:16px}
@media (max-width:1000px){
header{gap:18px}
.wordmark{font-size:13px;letter-spacing:.2em}
nav{gap:20px}
.studios-link{display:none}
}
@media (max-width:640px){
header{flex-wrap:wrap;justify-content:center}
.wordmark{font-size:14px}
nav{margin:0;justify-content:center;width:100%;gap:30px;font-size:15px}
}
header{position:relative;padding:16px 194px 16px 5.7%;gap:24px}
.social-links{display:flex;align-items:center;gap:2px;flex:0 0 auto;margin-left:2px;padding-left:12px;border-left:1px solid var(--line)}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 auto;border-radius:50%;color:#b9d9eb;transition:color .2s,background .2s}
.social-links a:hover{color:var(--cyan);background:#0b2840}
.social-links svg{display:block;width:17px;height:17px;fill:currentColor}
header .studios-link{cursor:pointer;display:flex;flex:0 0 auto;align-items:center;padding-left:24px;border-left:1px solid var(--line)}
.ecosystem-link{position:absolute;z-index:20;right:45px;top:17px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.orb-crop{position:relative;display:block;width:39.366px;height:39.366px;overflow:hidden;border-radius:50%}
.orb-crop img{position:absolute;width:56.862px;height:auto;max-width:none;left:-8.748px;top:-8.748px}
.studios-link:hover .studios-icon,.evermere-link:hover .evermere-identity,.ecosystem-link.ucn-studios-orb:hover .orb-crop{filter:brightness(1.15)}
.evermere-link{position:absolute;z-index:19;right:125px;top:20px;width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:50%;overflow:visible}
.evermere-identity{display:block;width:100%;height:100%}
.evermere-identity img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.evermere-link:focus-visible{outline:2px solid #d9b879;outline-offset:4px}
.evermere-link{cursor:help}
@media (max-width:1100px){
header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto auto;
    grid-template-rows:auto auto;
    align-items:center;
    justify-content:stretch;
    column-gap:18px;
    row-gap:10px;
    padding:14px 5.7% 13px;
    min-height:0;
  }
header .wordmark{grid-column:1;grid-row:1;min-width:0;max-width:100%}
.social-links{grid-column:1;grid-row:2;justify-self:start;margin:0;padding:0;border:0}
header nav{
    grid-column:2 / 5;grid-row:2;
    justify-self:end;justify-content:flex-end;
    align-items:center;gap:24px;
    margin:0;width:auto;white-space:nowrap;
  }
header nav a{display:inline-flex;align-items:center;min-height:38px}
header .studios-link{
    display:flex;grid-column:2;grid-row:1;
    justify-self:end;align-items:center;
    border:0;padding:0;
  }
.evermere-link{
    position:relative;grid-column:3;grid-row:1;
    justify-self:center;right:auto;top:auto;
    width:42px;height:42px;
  }
.ecosystem-link{
    position:relative;grid-column:4;grid-row:1;
    justify-self:center;right:auto;top:auto;
    width:52px;height:52px;
  }
}
@media (max-width:640px){
header{
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-rows:auto auto auto;
    gap:9px 11px;
    justify-items:stretch;
    padding:16px 5% 10px;
  }
header .wordmark{
    grid-column:1;grid-row:1;
    padding:0;min-height:0;
    font-size:13px;letter-spacing:.21em;
  }
.evermere-link{grid-column:2;grid-row:2;width:40px;height:40px}
.ecosystem-link{grid-column:3;grid-row:2;width:46px;height:46px}
header .studios-link{grid-column:1;grid-row:2;justify-self:start}
.social-links{grid-column:2 / 4;grid-row:1;justify-self:end}
header nav{
    grid-column:1 / -1;grid-row:3;
    width:100%;justify-self:stretch;justify-content:space-between;
    gap:10px;margin:0;padding-top:5px;
    border-top:1px solid var(--line);
    font-size:14px;
  }
header nav a{min-height:42px}
}
header .wordmark{
  display:flex;
  align-items:center;
  line-height:0;
}
.header-wordmark-image{
  display:block;
  width:228px;
  max-width:100%;
  height:auto;
}
@media (max-width:1000px){
.header-wordmark-image{width:212px}
}
@media (max-width:900px){
.header-wordmark-image{width:198px}
}
@media (max-width:640px){
.header-wordmark-image{width:184px}
}
@media  (min-width: 901px) and (max-width: 1100px) {
header {
    position: relative !important;
    padding-right: 330px !important;
    min-height: 96px !important;
  }
header nav {
    margin-right: 218px !important;
    justify-content: flex-end !important;
    gap: 36px !important;
    width: auto !important;
    white-space: nowrap !important;
  }
header .studios-link,
  .evermere-link,
  .ecosystem-link {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
header .studios-link {
    right: 184px !important;
    top: 16px !important;
    width: 58px !important;
    height: 58px !important;
    z-index: 18 !important;
  }
.evermere-link {
    right: 106px !important;
    top: 18px !important;
    width: 54px !important;
    height: 54px !important;
    z-index: 19 !important;
  }
.ecosystem-link {
    right: 24px !important;
    top: 15px !important;
    width: 60px !important;
    height: 60px !important;
    z-index: 20 !important;
  }
}
@media  (min-width: 1101px) {
header {
    position: relative !important;
    padding-right: 440px !important;
    min-height: 96px !important;
  }
header nav {
    margin-right: 218px !important;
    justify-content: flex-end !important;
    gap: 36px !important;
    width: auto !important;
    white-space: nowrap !important;
  }
header .studios-link,
  .evermere-link,
  .ecosystem-link {
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }
header .studios-link {
    right: 295px !important;
    top: 16px !important;
    width: 58px !important;
    height: 58px !important;
    z-index: 18 !important;
  }
.evermere-link {
    right: 108px !important;
    top: 7px !important;
    width: 140px !important;
    height: 78px !important;
    z-index: 19 !important;
  }
.ecosystem-link {
    right: 24px !important;
    top: 15px !important;
    width: 60px !important;
    height: 60px !important;
    z-index: 20 !important;
  }
.evermere-identity img {
    object-fit: contain;
    border-radius: 0;
    mix-blend-mode: screen;
  }
}
.studios-icon {
  width: 100%;
  height: 100%;
  line-height: 0;
}
.studios-icon img {
  display: block;
}
.studios-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}
.studios-icon img {
  width: 84px !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}
@media  (min-width: 901px) {
header .studios-link .studios-icon img {
    width: 120px !important;
    height: auto !important;
    max-width: none !important;
  }
}
@media  (min-width: 901px) {
header .studios-link {
    border-left: none !important;
  }
header .studios-link .ucn-studios-separator {
    position: absolute !important;
    left: -30px !important;
    top: 0 !important;
    height: 100% !important;
    width: 0 !important;
    border-left: 1px solid var(--line) !important;
    pointer-events: none !important;
  }
}
header .ecosystem-link.ucn-studios-orb {
overflow:visible !important;
  isolation:isolate;
}
header .ecosystem-link.ucn-studios-orb .neurobios-orb-reveal {
position:absolute;
  z-index:130;
  top:38px;
  left:50%;
  right:auto;
  width:204px;
  min-height:58px;
  padding:8px 16px 9px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:18px 8px 8px 18px;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  opacity:0;
  transform:translate(-50%,-10px) scale(.94);
  transform-origin:top center;
  pointer-events:none;
  transition:
    opacity .20s ease,
    transform .26s cubic-bezier(.22,1,.36,1);
}
header .ecosystem-link.ucn-studios-orb .neurobios-orb-wordmark {
display:block;
  width:168px;
  height:auto;
  object-fit:contain;
  filter:
    brightness(1.22)
    saturate(1.10)
    drop-shadow(0 4px 12px rgba(0,0,0,.48))
    drop-shadow(0 0 10px rgba(76,146,255,.22));
}
header .ecosystem-link.ucn-studios-orb .neurobios-orb-subtitle {
margin-top:-30px;
  color:rgba(223,232,255,.82);
  font-size:8px;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
  text-shadow:0 1px 8px rgba(0,0,0,.78);
}
header .ecosystem-link.ucn-studios-orb:hover .neurobios-orb-reveal,
header .ecosystem-link.ucn-studios-orb:focus-visible .neurobios-orb-reveal,
header .ecosystem-link.ucn-studios-orb:focus-within .neurobios-orb-reveal {
opacity:1;
  transform:translate(-50%,0) scale(1);
}
header .ecosystem-link.ucn-studios-orb:hover .neurobios-mark,
header .ecosystem-link.ucn-studios-orb:focus-visible .neurobios-mark {
transform:scale(1.035) !important;
  filter:
    drop-shadow(0 3px 14px rgba(0,0,0,.72))
    drop-shadow(0 0 12px rgba(70,120,255,.22));
}
@media  (max-width:980px) {
header .ecosystem-link.ucn-studios-orb .neurobios-orb-reveal {
width:166px;
    left:50%;
    right:auto;
}
}
@media  (max-width:980px) {
header .ecosystem-link.ucn-studios-orb .neurobios-orb-wordmark {
width:136px;
}
}
@media  (max-width:700px) {
header .ecosystem-link.ucn-studios-orb .neurobios-orb-reveal {
display:none;
}
}
@media  (prefers-reduced-motion:reduce) {
header .ecosystem-link.ucn-studios-orb .neurobios-orb-reveal,
  header .ecosystem-link.ucn-studios-orb .neurobios-mark {
transition:none;
}
}
.visually-hidden {
  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;
}
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity) {
overflow:visible !important;
  isolation:isolate;
}
header .studios-link.ucn-reveal-parity .neurobios-orb-reveal {
position:absolute;
  z-index:130;
  top:38px;
  left:50%;
  right:auto;
  width:204px;
  min-height:58px;
  padding:8px 16px 9px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:18px 8px 8px 18px;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  opacity:0;
  transform:translate(-50%,-10px) scale(.94);
  transform-origin:top center;
  pointer-events:none;
  transition:
    opacity .20s ease,
    transform .26s cubic-bezier(.22,1,.36,1);
}
header .evermere-link.ucn-reveal-parity .neurobios-orb-reveal {
position:absolute;
  z-index:130;
  top:calc(38px + var(--ucn-hover-offset-y, 0px));
  left:50%;
  right:auto;
  width:204px;
  min-height:58px;
  padding:8px 16px 9px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:18px 8px 8px 18px;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  opacity:0;
  transform:translate(-50%,-10px) scale(.94);
  transform-origin:top center;
  pointer-events:none;
  transition:
    opacity .20s ease,
    transform .26s cubic-bezier(.22,1,.36,1);
}
header .studios-link.ucn-reveal-parity .neurobios-orb-wordmark {
display:block;
  width:110px;
  height:112px;
  object-fit:contain;
  filter:
    brightness(1.22)
    saturate(1.10)
    drop-shadow(0 4px 12px rgba(0,0,0,.48))
    drop-shadow(0 0 10px rgba(76,146,255,.22));

  transform: translateY(-4px);
}
header .evermere-link.ucn-reveal-parity .neurobios-orb-wordmark {
display:block;
  width:89px;
  height:112px;
  object-fit:contain;
  filter:
    brightness(1.22)
    saturate(1.10)
    drop-shadow(0 4px 12px rgba(0,0,0,.48))
    drop-shadow(0 0 10px rgba(76,146,255,.22));

  transform: translateY(-6px);
}
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity) .neurobios-orb-subtitle {
margin-top:-30px;
  color:rgba(223,232,255,.82);
  font-size:8px;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
  text-shadow:0 1px 8px rgba(0,0,0,.78);
}
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity):hover .neurobios-orb-reveal,
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity):focus-visible .neurobios-orb-reveal,
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity):focus-within .neurobios-orb-reveal {
opacity:1;
  transform:translate(-50%,0) scale(1);
}
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity):hover .neurobios-mark,
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity):focus-visible .neurobios-mark {
transform:scale(1.035) !important;
  filter:
    drop-shadow(0 3px 14px rgba(0,0,0,.72))
    drop-shadow(0 0 12px rgba(70,120,255,.22));
}
@media  (max-width:980px) {
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity) .neurobios-orb-reveal {
width:166px;
    left:50%;
    right:auto;
}
}
@media  (max-width:980px) {
header .studios-link.ucn-reveal-parity .neurobios-orb-wordmark {
width:89px;height:91px;
}
header .evermere-link.ucn-reveal-parity .neurobios-orb-wordmark {
width:72px; height:91px;
}
}
@media  (max-width:700px) {
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity) .neurobios-orb-reveal {
display:none;
}
}
@media  (prefers-reduced-motion:reduce) {
header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity) .neurobios-orb-reveal,
  header :is(.studios-link.ucn-reveal-parity, .evermere-link.ucn-reveal-parity) .neurobios-mark {
transition:none;
}
}
@media  (min-width:901px) and (max-width:1100px) {
header .evermere-link.ucn-reveal-parity {
    --ucn-hover-offset-y: -3px;
  }
}
@media  (min-width:1101px) {
header .evermere-link.ucn-reveal-parity {
    --ucn-hover-offset-y: 8px;
  }
}
header .evermere-link.ucn-reveal-parity
.neurobios-orb-reveal,
header .studios-link.ucn-reveal-parity
.neurobios-orb-reveal,
header .ecosystem-link.ucn-studios-orb
.neurobios-orb-reveal {
    isolation: isolate;
}
header .evermere-link.ucn-reveal-parity
.neurobios-orb-reveal::before,
header .studios-link.ucn-reveal-parity
.neurobios-orb-reveal::before,
header .ecosystem-link.ucn-studios-orb
.neurobios-orb-reveal::before {
    content: "";
    position: absolute;
    inset: -22px -42px -14px;
    z-index: 0;
    pointer-events: none;

    background: radial-gradient(
        ellipse closest-side at 50% 47%,
        rgba(1, 8, 25, .85) 0%,
        rgba(1, 10, 28, .72) 52%,
        rgba(1, 10, 28, .32) 77%,
        rgba(1, 10, 28, 0) 100%
    );
}
header .evermere-link.ucn-reveal-parity
.neurobios-orb-reveal > .neurobios-orb-wordmark,
header .evermere-link.ucn-reveal-parity
.neurobios-orb-reveal > .neurobios-orb-subtitle,
header .studios-link.ucn-reveal-parity
.neurobios-orb-reveal > .neurobios-orb-wordmark,
header .studios-link.ucn-reveal-parity
.neurobios-orb-reveal > .neurobios-orb-subtitle,
header .ecosystem-link.ucn-studios-orb
.neurobios-orb-reveal > .neurobios-orb-wordmark,
header .ecosystem-link.ucn-studios-orb
.neurobios-orb-reveal > .neurobios-orb-subtitle {
    position: relative;
    z-index: 1;
}
@media  (max-width:1100px) {
header .evermere-link.ucn-dock-item {
    width:clamp(92px,22vw,110px) !important;
    height:clamp(52px,12vw,62px) !important;
    border-radius:0 !important;
  }
header .evermere-link.ucn-dock-item
  .evermere-identity {
    display:block;
    width:100%;
    height:100%;
  }
header .evermere-link.ucn-dock-item
  .evermere-identity img {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain !important;
    border-radius:0 !important;
    mix-blend-mode:screen;
  }
}
@media  (min-width: 901px) {
body > header {
    position: relative !important;
    z-index: 30 !important;
    overflow: visible !important;
    border-bottom: 0 !important;
    background: #020b19 !important;
  }
body > header + main {
    position: relative;
    z-index: 1;
    margin-top: 0px !important;
  }
body > header > .ucn-crossfade-tail-v1024 {
    display: block;
    position: absolute;

    top: calc(100% - 1px);
    left: 0;
    right: 0;

    height: 45px;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
      to bottom,
      rgba(2,11,25,1) 0%,
      rgba(2,11,25,.93) 0%,
      rgba(2,11,25,.70) 2.78%,
      rgba(2,11,25,.46) 12.78%,
      rgba(2,11,25,.22) 28.33%,
      rgba(2,11,25,.06) 43.89%,
      rgba(2,11,25,0) 55.56%,
      rgba(2,11,25,0) 100%
    );
  }
}
@media  (max-width:900px) {
body > header {
    border-bottom-color:transparent;
    overflow:visible;
  }
body > header > .ucn-crossfade-tail-v1024 {
    display:block;
    position:absolute;
    top:calc(100% - 1px);
    left:0;
    right:0;
    height:45px;
    z-index:1;
    pointer-events:none;
    background: linear-gradient(
      to bottom,
      rgba(2,11,25,1) 0%,
      rgba(2,11,25,.93) 0%,
      rgba(2,11,25,.70) 2.78%,
      rgba(2,11,25,.46) 12.78%,
      rgba(2,11,25,.22) 28.33%,
      rgba(2,11,25,.06) 43.89%,
      rgba(2,11,25,0) 55.56%,
      rgba(2,11,25,0) 100%
    );
  }
}
@media  (min-width:701px) and (max-width:1100px) {
header .ecosystem-link.ucn-studios-orb > .neurobios-orb-reveal {
    left:auto;right:44px;transform-origin:top right;
    transform:translateY(-10px) scale(.94);
  }
header .ecosystem-link.ucn-studios-orb:is(:hover,:focus-visible,:focus-within) > .neurobios-orb-reveal {
    transform:translateY(0) scale(1);
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-neurogirl-characters-base.css === */
/* NeuroGirl / NeuroBios Studios character navigation, component v1.0 */


.ng-characters-menu{position:relative;flex:0 0 auto;font:inherit;color:inherit}
.ng-characters-menu .ucn-popover-trigger{list-style:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer;padding:12px 0;white-space:nowrap;user-select:none}
.ng-characters-menu .ucn-popover-trigger::-webkit-details-marker{display:none}
.ng-characters-menu .ucn-popover-trigger::marker{content:''}
.ng-characters-menu .ucn-popover-trigger:hover,.ng-characters-menu:has(.ng-characters-panel:popover-open) .ucn-popover-trigger{color:var(--gold)}
.ng-characters-menu .ucn-popover-trigger:focus-visible,.ng-characters-panel a:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}
.ng-characters-chevron{width:7px;height:7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}
.ng-characters-menu:has(.ng-characters-panel:popover-open) .ng-characters-chevron{transform:rotate(225deg) translateY(-1px)}
.ng-characters-panel{display:none;position:absolute;z-index:100;left:50%;top:calc(100% + 8px);transform:translateX(-50%);width:292px;max-width:calc(100vw - 24px);padding:14px;background:#0c1a2a;border:1px solid #45546a;border-radius:8px;box-shadow:0 18px 40px rgba(0,0,0,.47);color:#dee5ec}
.ng-characters-menu[open] .ng-characters-panel{display:block}
.ng-characters-kicker,.ng-characters-group{margin:4px 8px 9px;font:600 10px/1.5 system-ui,sans-serif;letter-spacing:.17em;color:var(--gold)}
.ng-characters-group{margin-top:12px;padding-top:12px;border-top:1px solid #334357}
header nav .ng-characters-panel a,.ng-characters-pending{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 8px;border-radius:4px;font:500 13px/1.4 system-ui,sans-serif}
.ng-characters-panel a:hover{background:#19304c;color:#eed4a5}
.ng-characters-panel a[aria-current="page"]{color:var(--gold)}
.ng-characters-panel small{display:block;max-width:108px;font:400 10px/1.4 system-ui,sans-serif;text-align:right;color:#91a4b8}
.ng-characters-pending{color:#aab8c8;cursor:default}
/* UCN v0.7: Menu opens by click/tap only. */


/* === ORIGINAL UCN SOURCE: css/ucn-phase2-characters-anova.css === */

/* UCN Phase 2 — Anova host positioning */

header {
  position:relative;
  overflow:visible;
}

header nav .ng-characters-menu {
  --gold:#dfbd81;
  z-index:160;
  font-family:Arial,sans-serif;
  font-size:14px;
}

header nav .ng-characters-panel {
  left:auto;
  right:0;
  transform:none;
}

@media (min-width:1101px) {
  header nav .ng-characters-menu {
    position:absolute;
    top:25px;
    right:395px;
  }
}

@media (min-width:901px) and (max-width:1100px) {
  header nav .ng-characters-menu {
    position:absolute;
    top:25px;
    right:284px;
  }
}

@media (max-width:900px) {
  header nav .ng-characters-menu {
    position:relative;
    top:auto;
    right:auto;
    font-size:clamp(11px,2.7vw,14px);
  }

  header nav .ng-characters-menu .ucn-popover-trigger {
    padding:8px 0;
    gap:5px;
  }

  header nav .ng-characters-panel {
    left:auto;
    right:0;
    top:calc(100% + 8px);
    max-width:calc(100vw - 24px);
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-phase2-portraits-v0_2.css === */
/* UCN Phase 2 v0.2 — Portrait rows only. Do not modify the dock or trigger positioning. */
header nav .ng-characters-panel {
  width: min(258px, calc(100vw - 24px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 24px) !important;
  box-sizing: border-box;
  padding: 17px 12px 15px;
}
header nav .ng-characters-panel .ng-characters-kicker {
  margin: 0 0 12px;
}
header nav .ng-characters-panel a.ucn-person {
  display: flex !important;
  grid-template-columns: none !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 12px !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  padding: 9px 8px !important;
  border-radius: 10px;
  text-decoration: none;
}
header nav .ng-characters-panel a.ucn-person img {
  display: block;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(196,210,226,.32);
  object-fit: cover;
  object-position: center 32%;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
header nav .ng-characters-panel a.ucn-person span {
  display: block;
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
header nav .ng-characters-panel a.ucn-person[aria-current="page"] img {
  border-color: #dfbd81;
  box-shadow: 0 0 0 2px rgba(223,189,129,.16), 0 0 14px rgba(223,189,129,.24);
}
header nav .ng-characters-panel a.ucn-person[aria-current="page"] span {
  color: #dfbd81;
}
header nav .ng-characters-panel a.ucn-person:hover,
header nav .ng-characters-panel a.ucn-person:focus-visible {
  background: rgba(99,153,205,.13);
}
@media (max-width: 640px) {
  header nav .ng-characters-panel a.ucn-person { min-height: 58px; }
  header nav .ng-characters-panel a.ucn-person img {
    flex-basis: 40px; width: 40px; height: 40px;
  }
  header nav .ng-characters-panel a.ucn-person span { font-size: 15px; }
}


/* === ORIGINAL UCN SOURCE: css/ucn-phase2-native-popover-v0_8.css === */

/* UCN v0.8 — Native Popover Prototype */

header nav .ng-characters-menu #ucn-characters-trigger {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
}

header nav .ng-characters-menu #ucn-characters-trigger:hover,
header nav .ng-characters-menu:has(
    #ucn-characters-popover:popover-open
) #ucn-characters-trigger {
    color: var(--gold, #dfbd81);
}

header nav .ng-characters-menu #ucn-characters-popover {
    position: fixed !important;
    inset: auto !important;
    top: var(--ucn-pop-top, 150px) !important;
    left: var(--ucn-pop-left, 12px) !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
    box-sizing: border-box;
    max-height: calc(
        100dvh - var(--ucn-pop-top, 150px) - 12px
    );
    overflow-y: auto;
    overscroll-behavior: contain;
}

header nav .ng-characters-menu
#ucn-characters-popover:not(:popover-open) {
    display: none !important;
}

header nav .ng-characters-menu
#ucn-characters-popover:popover-open {
    display: block !important;
}

/* UCN v1.0.31 — Characters optical baseline.
   Desktop only. Preserve native popover behaviour. */

@media (min-width: 901px) {
  body > header nav .ng-characters-menu
  #ucn-characters-trigger {
    translate: 0 4px !important;
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-three-zone-v1_0.css === */
/* UCN v1.0 — three independent character-navigation zones.
   Locked dock/portrait/popover rules remain in their original files. */
header .social-links { flex-shrink: 0; }
header .ucn-page-links { display:flex; align-items:center; justify-content:center; gap:clamp(12px,1.7vw,30px); min-width:0; }
header .ucn-page-links > a { white-space:nowrap; }
@media (min-width:1101px) {
  header nav[aria-label="Main navigation"] {
    flex:1 1 auto !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-right:64px !important;
    justify-content:center !important;
    gap:0 !important;
  }
  header .ucn-page-links {
    margin-inline:auto !important;
    flex:0 1 auto;
  }
  header .social-links a { width:34px; height:36px; }
}
@media (min-width:901px) and (max-width:1100px) {
  header .social-links { gap:0; }
  header .social-links a { width:31px; height:34px; }
  header .ucn-page-links { gap:clamp(9px,1.3vw,19px); font-size:clamp(12px,1.45vw,15px); }
}
@media (max-width:900px) {
  header .social-links { gap:0; }
  header .social-links a { width:31px; height:34px; }
  header .ucn-page-links { gap:clamp(10px,2.5vw,24px); }
}
@media (max-width:640px) {
  header .header-wordmark-image { width:min(184px,37vw); }
  header .social-links { grid-column:2 / 4; grid-row:1; justify-self:end; margin:0; padding:0; border:0; gap:0; }
  header .social-links a { width:clamp(27px,7vw,33px); height:34px; }
  header nav[aria-label="Main navigation"] { grid-column:1 / -1; grid-row:3; width:100% !important; justify-content:space-between !important; }
  header nav .ucn-page-links { width:100%; justify-content:space-between; gap:8px; margin:0; font-size:clamp(12px,2.85vw,15px); }
  header nav .ucn-page-links > a { min-width:0; }
  html.ucn-v10-mobile-ready header nav[aria-label="Main navigation"] { position:static !important; }
  html.ucn-v10-mobile-ready header nav .ng-characters-menu {
    position:absolute !important;
    top:var(--ucn-mobile-zone-y,86px) !important;
    left:var(--ucn-mobile-zone-x,50%) !important;
    right:auto !important;
    bottom:auto !important;
    transform:translate(-50%,-50%) !important;
    width:max-content !important;
    margin:0 !important;
    padding:0 !important;
    z-index:70 !important;
  }
  html.ucn-v10-mobile-ready header nav .ng-characters-menu #ucn-characters-trigger {
    display:inline-flex !important; align-items:center !important; gap:5px !important;
    min-height:40px !important; padding:7px 2px !important;
    white-space:nowrap !important; font-size:clamp(11px,2.65vw,14px) !important;
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-symmetric-510-enforced-v1_0_4.css === */
/* UCN v1.0.4: deterministic 510/2048 symmetry review.
   Outer dividers are CSS-controlled. JS only redistributes existing artwork.
   No adjustments below 901 CSS px. */
@media (min-width:901px) {
  html.ucn-symmetry-v104-ready header { --ucn-side:24.90234375%; }
  html.ucn-symmetry-v104-ready header .social-links {
    border-left:0 !important;
    translate:var(--ucn-social-shift,0px) 0 !important;
  }
  html.ucn-symmetry-v104-ready header .studios-link .ucn-studios-separator {
    display:none !important;
  }
  html.ucn-symmetry-v104-ready header::before,
  html.ucn-symmetry-v104-ready header::after {
    content:"" !important;
    display:block !important;
    position:absolute !important;
    top:23% !important;
    bottom:22% !important;
    height:auto !important;
    width:0 !important;
    pointer-events:none !important;
    border:0 !important;
    border-left:1px solid var(--line,#36516b) !important;
    z-index:7 !important;
  }
  html.ucn-symmetry-v104-ready header::before {
    left:24.90234375% !important;
    right:auto !important;
  }
  html.ucn-symmetry-v104-ready header::after {
    right:24.90234375% !important;
    left:auto !important;
  }
  html.ucn-symmetry-v104-ready header nav .ng-characters-menu {
    right:calc(24.90234375% + 14px) !important;
  }
  html.ucn-symmetry-v104-ready header .studios-link,
  html.ucn-symmetry-v104-ready header .evermere-link,
  html.ucn-symmetry-v104-ready header .ecosystem-link {
    translate:var(--ucn-dock-shift,0px) clamp(0px, 0.29296875vw, 6px) !important;
  }
  html.ucn-symmetry-v104-ready header .studios-link .studios-icon img,
  html.ucn-symmetry-v104-ready header .evermere-link .evermere-identity img,
  html.ucn-symmetry-v104-ready header .ecosystem-link .orb-crop {
    scale:var(--ucn-art-scale,1) !important;
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-anova-wordmark-v1_0_17.css === */
/* UCN v1.0.17 — Anova desktop wordmark presentation only.
   Translation and scale do not affect the flex/grid layout flow.
   Below 901 CSS pixels, v1.0.16 styling remains authoritative. */
@media (min-width:901px) {
  html.ucn-anova-wordmark-v1017-ready body > header > a.wordmark {
    translate: var(--ucn-wordmark-shift, 0px) -2px !important;
  }
  html.ucn-anova-wordmark-v1017-ready body > header > a.wordmark > img.header-wordmark-image {
    scale: var(--ucn-wordmark-scale, 1) !important;
    transform-origin: center center !important;
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-tablet-two-row-stage3b.css === */
/* Stage 3B: tablet-only 901–1100px, desktop and phone protected */
@media (min-width:901px) and (max-width:1100px) {
body>header {display:grid!important;grid-template-columns:minmax(0,1fr) auto 120px 110px 60px!important;grid-template-rows:64px auto!important;column-gap:clamp(7px,1.2vw,14px)!important;row-gap:6px!important;align-items:center!important;justify-content:stretch!important;padding:10px 3% 8px!important;min-height:0!important;height:auto!important}
body>header>a.wordmark {grid-column:1!important;grid-row:1!important;justify-self:start!important;min-width:0!important;max-width:100%!important;translate:none!important}
body>header>a.wordmark .header-wordmark-image {max-width:100%!important;scale:none!important}
body>header>.social-links {grid-column:2!important;grid-row:1!important;justify-self:end!important;margin:0!important;padding:0!important;border:0!important;gap:2px!important;translate:none!important}
body>header>.studios-link.ucn-dock-item,body>header>.evermere-link.ucn-dock-item,body>header>.ecosystem-link.ucn-dock-item {position:relative!important;grid-row:1!important;justify-self:center!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;translate:none!important}
body>header>.studios-link.ucn-dock-item {grid-column:3!important;width:120px!important;height:60px!important;margin:0!important;padding:0!important}
body>header>.evermere-link.ucn-dock-item {grid-column:4!important;width:110px!important;height:60px!important}
body>header>.ecosystem-link.ucn-dock-item {grid-column:5!important;width:60px!important;height:60px!important}
body>header nav[aria-label="Main navigation"] {position:relative!important;grid-column:1/-1!important;grid-row:2!important;justify-self:stretch!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;width:100%!important;min-width:0!important;margin:0!important;padding:8px 0 0!important;border-top:1px solid var(--line)!important;white-space:nowrap!important}
body>header nav .ucn-page-links {display:flex!important;flex:1 1 auto!important;min-width:0!important;justify-content:space-around!important;align-items:center!important;margin:0!important;padding:0!important;gap:14px!important;font-size:clamp(14px,1.5vw,16px)!important;translate:none!important}
body>header nav .ng-characters-menu {position:static!important;flex:0 0 auto!important;margin:0!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;translate:none!important}
body>header nav .ng-characters-menu #ucn-characters-trigger {translate:none!important;min-height:38px!important;padding:6px 0!important}
}

/* === ORIGINAL UCN SOURCE: css/ucn-character-atmosphere-v0_1.css === */
/* NeuroBios UCN — Nova-Hale original character v0.2 starfield, LOCAL REVIEW ONLY.
   Original 2026-10-19 v0.2 PNG; preserve its aspect ratio with cover, without changing navigation layout.
   The original 25px fade and both separator pseudo-elements remain authoritative. */
body > header {
  background-color: #020b19 !important;
  background-image: url("assets/ucn-starfield/nova-hale-ucn-v0_2-original.png") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}
@media (max-width: 700px) {
  body > header {
    background-image: url("assets/ucn-starfield/nova-hale-ucn-v0_2-original.png") !important;
  }
}


/* === ORIGINAL UCN SOURCE: css/ucn-sticky-header-local-v01.css === */
/* LOCAL REVIEW ONLY: UCN sticky navigation. Never deploy before approval.
   Maintains the exact existing header flow, height, image texture and fade.
   Header overlaps scrolled page content without taking the header out of layout. */
body > header {
  position: -webkit-sticky !important; /* legacy Safari fallback */
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* Provide breathing room at anchor targets beneath the sticky header.
   Header height is observed dynamically, respecting tablet/mobile rows,
   zoom and Safari font resizing without changing navigation geometry. */
html {
  scroll-padding-top: calc(var(--ucn-sticky-header-height, 96px) + 14px) !important;
}
#about, #horizons, #universe, #home, #main {
  scroll-margin-top: 0 !important;
}

/* Keep the skip link operable over the sticky top strip. */
body > a.skip:focus-visible { z-index: 200 !important; }


/* === ORIGINAL UCN SOURCE: css/ucn-nova-wordmark-only.css === */
/* Stage 4C - scoped wordmark-only treatment, review only.
   Final Anova UCN markup/CSS/JS are not edited.
   The PNG is a masked, compact crop of the existing Nova Hale canonical wordmark. */
body > header{line-height:normal}
body > header > a.wordmark > img.header-wordmark-image{width:218px;height:auto;max-height:64px;object-fit:contain}
@media (max-width:900px){body > header > a.wordmark > img.header-wordmark-image{width:clamp(160px,22vw,196px);max-height:64px}}
@media (max-width:640px){body > header > a.wordmark > img.header-wordmark-image{width:clamp(120px,35vw,154px);max-height:54px}}
/* Restore footer signal cards against the final Anova header-only social rules. */
.site-footer .social-links a.social-link{width:auto;height:auto;border-radius:13px}
.site-footer .social-links svg{width:20px;height:20px}


/* === NeuroGenie v1.1: isolated UCN adaptations (no changes to original source sections) === */
/* Neutralize off-screen legacy dock reveal overflow without clipping native top-layer popovers. */
html { overflow-x:clip; }
body > header.neurogenie-ucn-header { background: linear-gradient(180deg,#080b27,#070a25); border-color: rgba(246,194,118,.4); --cyan:#efc984; --ink:#f9ecda; --line:rgba(245,205,142,.4); }
body > header.neurogenie-ucn-header .wordmark { display:flex; align-items:center; gap:6px; }
body > header.neurogenie-ucn-header .ucn-neurogenie-emblem { display:block; width:57px; height:57px; object-fit:cover; border-radius:50%; flex:none; }
body > header.neurogenie-ucn-header .header-wordmark-image { width:203px; height:auto; max-height:65px; object-fit:contain; }
body > header.neurogenie-ucn-header .ng-characters-panel { --gold:#e9c381; color:#f8f0e6; background:#0c1131; border:1px solid #b99059; box-shadow:0 18px 48px rgba(0,0,0,.55); }
body > header.neurogenie-ucn-header .ng-characters-panel .ng-characters-kicker { color:#e6c68e; }
body > header.neurogenie-ucn-header .ucn-person.ucn-current { background:rgba(235,187,108,.16); color:#ffe1a1; border-radius:8px; }
body > header.neurogenie-ucn-header .ucn-person.ucn-current .ucn-current-note { margin-left:auto; font-size:11px; color:#dcbf8c; white-space:nowrap; }
body > header.neurogenie-ucn-header .ucn-destinations-separator { margin:8px 0 4px; border-top:1px solid rgba(226,198,142,.28); }
body > header.neurogenie-ucn-header .ucn-explore-link { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 10px; color:#f7dda5; text-decoration:none; border-radius:7px; font-family:Arial,sans-serif; font-size:14px; line-height:1.2; }
body > header.neurogenie-ucn-header .ucn-explore-link:is(:hover,:focus-visible) { color:#fff0c0; background:rgba(252,204,126,.12); }
body > header.neurogenie-ucn-header .ucn-explore-arrow { font-size:18px; line-height:1; }
body > header.neurogenie-ucn-header .social-links a { color:#dabf9f; }
body > header.neurogenie-ucn-header .social-links a:hover { color:#fff1c7; background:#272045; }
/* v1.1.3: restored original source UCN orb hover declarations.
   The former NeuroGenie-only >=1101px right:48px positioning override
   was removed because it superseded the source hover geometry.
   Base UCN source remains intact above. */
/* Keep the studio and ecosystem destinations intact; Evermere dock remains Coming Soon. */
@media(max-width:1100px) {
  body > header.neurogenie-ucn-header .header-wordmark-image { width:clamp(135px,17vw,180px); }
  body > header.neurogenie-ucn-header .ucn-neurogenie-emblem { width:47px; height:47px; }
}
@media(max-width:640px) {
  body > header.neurogenie-ucn-header .header-wordmark-image { width:clamp(112px,31vw,158px); max-height:55px; }
  body > header.neurogenie-ucn-header .ucn-neurogenie-emblem { width:39px; height:39px; }
  body > header.neurogenie-ucn-header .wordmark { gap:1px; }
  body > header.neurogenie-ucn-header .ucn-current-note { display:none; }
}


/* === NeuroGenie v1.1.1: composite identity zone guard ===
   The Anova optical scaler sizes lettering alone. NeuroGenie has a separate
   emblem: constrain the combined artwork to the left UCN quarter-zone.
   The standard UCN optical centring still positions the whole wordmark. */
@media (min-width:1101px) {
  body > header.neurogenie-ucn-header > a.wordmark {
    width:min(266px,calc(24.90234375vw - 30px)) !important;
    max-width:min(266px,calc(24.90234375vw - 30px)) !important;
    min-width:0 !important;
    flex:0 0 auto !important;
    box-sizing:border-box !important;
  }
  body > header.neurogenie-ucn-header > a.wordmark > img.header-wordmark-image {
    width:203px !important;
    max-width:calc(100% - 63px) !important;
    min-width:0 !important;
    flex:1 1 auto !important;
    height:auto !important;
    scale:1 !important;
  }
}

@media (min-width:1101px) {
  html.ucn-anova-wordmark-v1017-ready body > header.neurogenie-ucn-header > a.wordmark > img.header-wordmark-image {
    scale:1 !important;
  }
}
