/* Synthesis Factory v1.14: exact cyberpunk accent palette supplied by user. */
:root {
  --yellow:#defe47;
  --cyan:#00b3fe;
  --magenta:#fe00fe;
  --accent-lime:#defe47;
  --accent-blue:#00b3fe;
  --accent-pink:#fe00fe;
}
body[data-theme=light] {
  --yellow:#7b9200; /* readable text on pale panels */
  --cyan:#006aa2;
  --magenta:#ae009f;
  --accent-lime:#defe47;
  --accent-blue:#00b3fe;
  --accent-pink:#fe00fe;
}
/* Hologram: a dark optical panel maintains brightness even in light mode. */
.core-title,
body[data-theme=light] .core-title {
  color:#f7faff;
  background:linear-gradient(145deg,rgba(3,7,20,.94),rgba(12,16,39,.89));
  border:1.5px solid #00b3fe;
  box-shadow:0 0 0 1px rgba(254,0,254,.21) inset,0 0 15px rgba(0,179,254,.38),0 12px 27px rgba(0,0,0,.7);
  isolation:isolate;
}
.core-title::before,.core-title::after {border-color:#defe47}
.core-title .core-pre {color:#00b3fe;text-shadow:0 0 8px rgba(0,179,254,.7)}
.core-title .core-monogram {color:#defe47;text-shadow:0 0 10px rgba(222,254,71,.75),0 1px 3px #000}
.core-title strong {color:#ffffff;text-shadow:0 1px 5px #000}
.core-title small {color:#fe00fe;text-shadow:0 0 7px rgba(254,0,254,.65)}
.core-scanner {
  background:linear-gradient(90deg,transparent,#fe00fe 24%,#00b3fe 50%,#defe47 76%,transparent);
  background-size:200% 100%;
}
/* Overlay colours are emitted through energy.js; do not multiply them against the photo. */
.energy-overlay,.three-energy,.ambient-overlay,
body[data-theme=light] .energy-overlay,
body[data-theme=light] .ambient-overlay {
  mix-blend-mode:normal!important;
  opacity:1!important;
  filter:none!important;
}
/* Visible palette accents in both visual themes. */
.zone {border-left-color:#defe47;border-color:#00b3fe;box-shadow:0 6px 30px #000b,0 0 17px rgba(0,179,254,.20)}
.zone:hover,.zone:focus-visible {border-color:#fe00fe;box-shadow:0 0 22px rgba(254,0,254,.4)}
.zone-n {color:#defe47}
.topline {background:linear-gradient(90deg,#fe00fe,#defe47,#00b3fe)}
.status-panel .boxhead {color:#00b3fe}
.status-panel .signal-meter i.on {background:#defe47;box-shadow:0 0 8px rgba(222,254,71,.6)}
.status-panel[data-status=offline] .signal-meter i.on {background:#fe00fe}
.status-panel[data-status=reconnecting] .signal-meter i.on {background:#00b3fe}
.status-panel[data-status=restored] .signal-meter i.on {background:#defe47}
.dock-link.active {color:#defe47;box-shadow:inset 0 3px #defe47}
body[data-theme=light] .zone,body[data-theme=light] .status-panel,body[data-theme=light] .core-title {color:#fff}

/* v1.15b — legibility on the photographic scene in light mode.
   Keep cinematic HUD cards dark even though the surrounding interface is light. */
body[data-theme="light"] .scene .glass {
  background:linear-gradient(145deg,rgba(7,13,29,.95),rgba(13,23,45,.89));
  color:#f8fbff;
  border-color:rgba(0,179,254,.82);
  box-shadow:0 10px 30px rgba(2,8,19,.58),0 0 0 1px rgba(254,0,254,.12) inset;
}
body[data-theme="light"] .scene-caption h1 {color:#f9fcff;text-shadow:0 2px 8px #000}
body[data-theme="light"] .scene-caption p {color:#e2eaf7;text-shadow:0 1px 5px #000}
body[data-theme="light"] .scene-caption .caption-code {color:#57d5ff}
body[data-theme="light"] .scene .boxhead {color:#7ce2ff;border-bottom-color:rgba(120,205,255,.35)}
body[data-theme="light"] .status-panel p {color:#f4f8ff}
body[data-theme="light"] .status-panel p b {color:#defe47}
body[data-theme="light"] .activity p {color:#e4ecff}
body[data-theme="light"] .activity em {color:#defe47}
body[data-theme="light"] .zone {background:rgba(5,10,24,.94);color:#fff;border-color:#00b3fe}
body[data-theme="light"] .zone strong {color:#fff}
body[data-theme="light"] .zone small {color:#d4e8f7}
body[data-theme="light"] .zone-n {color:#defe47}
body[data-theme="light"] .core-title {background:linear-gradient(145deg,rgba(4,8,24,.96),rgba(13,19,43,.91))}
/* Preserve neon effects by not applying a wash-out filter to the photographic factory. */
body[data-theme="light"] .scene-image {filter:brightness(1.04) saturate(1.04)}
body[data-theme="light"] .scene-overlay {background:linear-gradient(180deg,rgba(7,12,24,.30),transparent 30%,transparent 65%,rgba(7,12,24,.32))}
/* Header +50% from the original compact 39/48/54 px heights, by device class. */
@media(min-width:851px){.topbar{height:59px;min-height:59px;padding-top:6px;padding-bottom:6px}}
@media(min-width:601px) and (max-width:850px){.topbar{height:72px;min-height:72px;padding-top:6px;padding-bottom:6px}}
@media(max-width:600px){.topbar{height:81px;min-height:81px;padding-top:6px;padding-bottom:6px}}


/* v1.22.6 — encabezado legible y monograma compartido con la introducción. */
.topbar .brand-mark {font-size:clamp(31px,2.6vw,39px);letter-spacing:-.11em}
.topbar .brand-copy strong {font-size:clamp(12px,1vw,15px);line-height:1.05;letter-spacing:.07em}
.topbar .brand-copy small {font-size:clamp(8px,.65vw,10px);letter-spacing:.04em}
.topbar .header-tools .small-btn {font-size:12px;min-height:35px;padding:7px 9px}
.topbar #themeText,.topbar #langText {font-size:inherit}
/* La barra usa las mismas proporciones, color y alineación del logo principal. */
.intro-center .boot-mark.brand-mark {
  display:flex;justify-content:center;align-items:flex-end;
  font-size:clamp(60px,10vw,88px);letter-spacing:-.11em;
  line-height:1;width:max-content;max-width:100%;margin-inline:auto;
  font-weight:950;font-style:italic;color:#fff;
  text-shadow:0 0 40px rgba(0,179,254,.30);
}
.intro-center .boot-mark.brand-mark .slash {
  color:var(--yellow);font-size:1em;line-height:1;margin-left:-.03em;
  display:inline-block;transform:translateY(-1px);
}
@media (min-width:601px) and (max-width:850px) {
  .topbar .brand-mark {font-size:39px}
  .topbar .brand-copy strong {font-size:13px}
  .topbar .brand-copy small {font-size:9px}
  .topbar .header-tools .small-btn {font-size:12px;min-height:41px;padding:7px 9px}
}
@media (max-width:600px) {
  .topbar {padding-left:9px;padding-right:9px;gap:6px}
  .topbar .brand {gap:7px}
  .topbar .brand-mark {font-size:clamp(35px,10vw,43px);letter-spacing:-.11em}
  .topbar .brand-copy strong {font-size:clamp(11px,3.05vw,14px);letter-spacing:.025em;line-height:1.08}
  .topbar .brand-copy small {font-size:clamp(7px,1.9vw,9px);letter-spacing:0;white-space:nowrap}
  .topbar .header-tools {gap:4px}
  .topbar .header-tools .small-btn {min-width:39px;min-height:42px;padding:7px 6px;font-size:14px}
  .topbar #themeText,.topbar #langText {font-size:11px}
  .intro-center .boot-mark.brand-mark {font-size:clamp(60px,18vw,76px)}
  /* Fuera del área del panel SISTEMA ONLINE y antes del núcleo central. */
  .scene .energy-mode {
    top:310px!important;left:10px!important;right:auto!important;bottom:auto!important;
    max-width:calc(100% - 20px);width:max-content;
    text-align:left;font-size:9px!important;line-height:1.3;
    padding:5px 7px;z-index:5!important;white-space:normal;
  }
}
@media (max-width:360px) {
  .topbar {padding-left:6px;padding-right:6px;gap:3px}
  .topbar .brand {gap:5px}
  .topbar .brand-mark {font-size:35px}
  .topbar .brand-copy strong {font-size:11px}
  .topbar .brand-copy small {font-size:7px}
  .topbar .header-tools {gap:3px}
  .topbar .header-tools .small-btn {min-width:34px;min-height:40px;padding:5px 4px;font-size:13px}
  .topbar #langText {font-size:10px}
  .scene .energy-mode {top:305px!important;font-size:8px!important}
}
