/* Phase 20 — Hush Alien Console / Futurecore-Goth Operator Surface */
body[data-page-kind="adversarial-bench"]{
  --alien-bg:#030307;
  --alien-black:#05050b;
  --alien-glass:rgba(7,9,18,.76);
  --alien-glass-deep:rgba(4,5,12,.92);
  --alien-line:rgba(183,157,255,.24);
  --alien-line-hot:rgba(139,233,253,.44);
  --alien-cyan:#8be9fd;
  --alien-violet:#bd93f9;
  --alien-magenta:#ff6bcb;
  --alien-bone:#f2eefc;
  --alien-muted:#9aa4c0;
  --alien-gold:#ffd866;
  --alien-red:#ff6b8a;
  --alien-green:#73ffba;
  --alien-shadow:0 28px 90px rgba(0,0,0,.52);
  background:
    radial-gradient(circle at 16% 5%,rgba(189,147,249,.22),transparent 28rem),
    radial-gradient(circle at 86% 12%,rgba(139,233,253,.13),transparent 31rem),
    radial-gradient(circle at 50% 110%,rgba(255,107,203,.11),transparent 34rem),
    linear-gradient(145deg,#020204,#080812 46%,#030309);
}

body[data-page-kind="adversarial-bench"]::after{
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    linear-gradient(115deg,transparent 0 22%,rgba(139,233,253,.045) 22.2%,transparent 22.7% 64%,rgba(189,147,249,.04) 64.2%,transparent 64.7%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 5px);
  mix-blend-mode:screen;
  opacity:.42;
  mask-image:radial-gradient(circle at center,black,transparent 82%);
}

body[data-page-kind="adversarial-bench"] .hush-instrument{isolation:isolate}
.hush-alien-console{--h-radius:28px}
.hush-orbital-shell{position:relative;z-index:1}

.hush-alien-console .hush-orbit-header,
.hush-signal-masthead{
  position:relative;
  overflow:hidden;
  border-color:rgba(139,233,253,.24)!important;
  background:
    linear-gradient(140deg,rgba(5,6,15,.92),rgba(15,10,28,.74) 58%,rgba(2,9,17,.72)),
    radial-gradient(circle at 82% 0,rgba(139,233,253,.18),transparent 26rem)!important;
  box-shadow:var(--alien-shadow),inset 0 1px 0 rgba(255,255,255,.075),0 0 44px rgba(189,147,249,.09)!important;
}

.hush-alien-console .hush-orbit-header::before,
.hush-found-tech-border::before{
  content:'';
  position:absolute;
  inset:8px;
  border:1px solid rgba(139,233,253,.1);
  border-radius:calc(var(--h-radius) - 8px);
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(139,233,253,.28),transparent 18% 82%,rgba(189,147,249,.24)) top/100% 1px no-repeat,
    linear-gradient(180deg,rgba(139,233,253,.18),transparent 18% 82%,rgba(255,107,203,.14)) left/1px 100% no-repeat;
}

.hush-local-flight-banner{
  display:inline-flex;
  flex-wrap:wrap;
  gap:.45rem;
  align-items:center;
  margin:.7rem 0 .25rem;
  color:var(--alien-bone);
  font:800 .72rem/1 ui-monospace,monospace;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hush-local-flight-banner span{
  border:1px solid rgba(139,233,253,.25);
  border-radius:999px;
  padding:.42rem .65rem;
  background:rgba(5,8,16,.66);
  box-shadow:0 0 22px rgba(139,233,253,.08);
}
.hush-glyph-rail{display:flex;gap:.4rem;color:var(--alien-violet);filter:drop-shadow(0 0 12px rgba(189,147,249,.48))}

.hush-operator-path{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:.55rem;
  margin:14px 0;
}
.hush-path-step{
  position:relative;
  overflow:hidden;
  min-height:3.7rem;
  padding:.74rem .76rem;
  border:1px solid rgba(139,233,253,.16);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(6,8,17,.82),rgba(10,8,20,.58));
  color:var(--alien-muted);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.hush-path-step::after{
  content:'';
  position:absolute;
  inset:auto .75rem .58rem .75rem;
  height:2px;
  border-radius:999px;
  background:rgba(139,233,253,.22);
}
.hush-path-step[data-state="ready"]{color:var(--alien-bone);border-color:rgba(115,255,186,.32)}
.hush-path-step[data-state="ready"]::after{background:var(--alien-green);box-shadow:0 0 16px rgba(115,255,186,.4)}
.hush-path-step[data-state="review"]::after{background:var(--alien-gold);box-shadow:0 0 16px rgba(255,216,102,.34)}
.hush-path-step[data-state="hold"]::after{background:var(--alien-red);box-shadow:0 0 16px rgba(255,107,138,.34)}
.hush-path-step strong{display:block;color:var(--alien-bone);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.hush-path-step span{display:block;margin-top:.22rem;font-size:.76rem;line-height:1.25}

.hush-message-chamber,
.hush-mask-chamber,
.hush-output-chamber,
.hush-transform-gate,
.hush-drawer-console{position:relative}
.hush-message-chamber .hush-field-shell,
.hush-output-chamber .hush-field-shell{position:relative}
.hush-message-chamber .hush-field-shell::before,
.hush-output-chamber .hush-field-shell::before{
  content:'';
  position:absolute;
  inset:2.1rem .6rem .6rem;
  border-radius:18px;
  border:1px solid rgba(189,147,249,.13);
  pointer-events:none;
  box-shadow:inset 0 0 24px rgba(139,233,253,.035),0 0 30px rgba(189,147,249,.045);
}
body[data-page-kind="adversarial-bench"] .hush-alien-console textarea{
  background:linear-gradient(180deg,rgba(2,4,10,.92),rgba(6,7,17,.78)),radial-gradient(circle at 90% 12%,rgba(139,233,253,.08),transparent 18rem)!important;
  border-color:rgba(139,233,253,.24)!important;
  color:var(--alien-bone)!important;
}

.hush-transform-gate{
  margin:.35rem 0 .15rem;
  padding:.72rem;
  border:1px solid rgba(139,233,253,.12);
  border-radius:22px;
  background:linear-gradient(120deg,rgba(5,8,16,.7),rgba(14,9,24,.52));
}
.hush-gate-strip{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.62rem;color:var(--alien-muted);font-size:.75rem}
.hush-gate-strip span{border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:.3rem .5rem;background:rgba(255,255,255,.03)}
body[data-page-kind="adversarial-bench"] #generateMaskedOutputBtn{
  min-height:3.15rem;
  padding-inline:1.6rem;
  background:linear-gradient(135deg,var(--alien-violet),var(--alien-cyan) 68%,var(--alien-bone))!important;
  box-shadow:0 0 34px rgba(189,147,249,.18),0 18px 38px rgba(0,0,0,.32)!important;
}
body[data-page-kind="adversarial-bench"] #generateMaskedOutputBtn:hover,
body[data-page-kind="adversarial-bench"] #generateMaskedOutputBtn:focus-visible{animation:hush-gate-pulse 1.4s ease-in-out infinite}
@keyframes hush-gate-pulse{0%,100%{box-shadow:0 0 24px rgba(189,147,249,.2),0 18px 38px rgba(0,0,0,.32)}50%{box-shadow:0 0 44px rgba(139,233,253,.28),0 18px 44px rgba(0,0,0,.38)}}

.hush-route-grid{display:grid;grid-template-columns:1fr;gap:.62rem;margin:.8rem 0;max-height:22rem;overflow:auto;padding-right:.1rem}
.hush-route-card{
  display:grid;
  gap:.28rem;
  width:100%;
  text-align:left;
  border-radius:18px!important;
  padding:.85rem!important;
  border:1px solid rgba(139,233,253,.16)!important;
  background:linear-gradient(145deg,rgba(6,9,17,.82),rgba(17,11,28,.55))!important;
  color:var(--alien-muted)!important;
  text-transform:none!important;
  letter-spacing:normal!important;
}
.hush-route-card strong{color:var(--alien-bone);font-size:.94rem;letter-spacing:.01em}
.hush-route-card small{font-size:.74rem;line-height:1.3;color:var(--alien-muted)}
.hush-route-card .hush-route-meta{display:flex;gap:.35rem;flex-wrap:wrap;margin-top:.18rem}
.hush-route-card .hush-route-meta span{border:1px solid rgba(189,147,249,.18);border-radius:999px;padding:.22rem .4rem;color:var(--alien-cyan);font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}
.hush-route-card[aria-selected="true"]{border-color:rgba(139,233,253,.62)!important;box-shadow:0 0 28px rgba(139,233,253,.15),inset 0 1px 0 rgba(255,255,255,.06)!important;background:linear-gradient(145deg,rgba(12,20,32,.94),rgba(34,18,55,.68))!important}
.hush-route-card:focus-visible{outline:3px solid rgba(139,233,253,.42);outline-offset:2px}

.hush-output-status-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:.4rem 0 .8rem}
.hush-output-status-band .hush-status-chip{border:1px solid rgba(139,233,253,.14);border-radius:16px;padding:.55rem;background:rgba(4,7,14,.55);color:var(--alien-muted);font-size:.72rem}
.hush-output-status-band strong{display:block;color:var(--alien-bone);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}

.hush-heat-grid{margin-top:14px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem}
.hush-heat-tile{position:relative;min-height:5.2rem;overflow:hidden;border:1px solid rgba(139,233,253,.14);border-radius:20px;padding:.82rem;background:linear-gradient(145deg,rgba(5,8,16,.78),rgba(14,9,25,.54));color:var(--alien-muted)}
.hush-heat-tile::before{content:'';position:absolute;inset:auto .8rem .72rem .8rem;height:3px;border-radius:999px;background:rgba(139,233,253,.25)}
.hush-heat-tile[data-state="ready"]::before{background:var(--alien-green);box-shadow:0 0 17px rgba(115,255,186,.38)}
.hush-heat-tile[data-state="review"]::before{background:var(--alien-gold);box-shadow:0 0 17px rgba(255,216,102,.34)}
.hush-heat-tile[data-state="hold"]::before{background:var(--alien-red);box-shadow:0 0 17px rgba(255,107,138,.34)}
.hush-heat-tile[data-state="quiet"]::before{background:var(--alien-cyan);opacity:.42}
.hush-heat-tile strong{display:block;color:var(--alien-bone);font-size:.75rem;text-transform:uppercase;letter-spacing:.11em}
.hush-heat-tile span{display:block;margin-top:.3rem;font-size:.78rem;line-height:1.3}

.hush-vault-stack .hush-vault,
.hush-vault-stack .hush-lab{background:linear-gradient(145deg,rgba(4,6,13,.88),rgba(11,8,20,.62))!important;border-color:rgba(139,233,253,.16)!important}
.hush-drawer-console summary{background:linear-gradient(90deg,rgba(139,233,253,.055),transparent 55%,rgba(189,147,249,.055))}

body[data-page-kind="adversarial-bench"] button:focus-visible,
body[data-page-kind="adversarial-bench"] select:focus-visible,
body[data-page-kind="adversarial-bench"] textarea:focus-visible,
body[data-page-kind="adversarial-bench"] input:focus-visible{outline:3px solid rgba(139,233,253,.42)!important;outline-offset:2px}

@media(max-width:1040px){.hush-heat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hush-output-status-band{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.hush-operator-path{grid-template-columns:1fr;gap:.45rem}.hush-path-step{min-height:auto;padding:.62rem .7rem}.hush-heat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hush-output-status-band{grid-template-columns:1fr}.hush-route-grid{max-height:none;overflow:visible}body[data-page-kind="adversarial-bench"] #generateMaskedOutputBtn{width:100%}.hush-gate-strip{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:460px){.hush-heat-grid{grid-template-columns:1fr}.hush-gate-strip{grid-template-columns:1fr}.hush-local-flight-banner{display:grid;grid-template-columns:1fr;width:100%}}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
