@font-face {
  font-family: Barlow;
  src: url("./assets/fonts/Barlow-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./assets/fonts/Barlow-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: Condensed;
  src: url("./assets/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Condensed;
  src: url("./assets/fonts/BarlowCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("./assets/fonts/IBMPlexMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101015;
  --panel: #19191f;
  --panel2: #1d1b25;
  --line: #36333f;
  --muted: #b2aebc;
  --dim: #918b9e;
  --lime: #c3f585;
  --violet: #c6acf5;
  --white: #f5f3fa;
  --mono: Plex, monospace;
  --body: Barlow, Arial, sans-serif;
  --display: Condensed, "Arial Narrow", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 400 1.0625rem/1.45 var(--body);
  color: var(--white);
  background:
    radial-gradient(ellipse at 75% 0, #1a1722 0, transparent 56%), var(--bg);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
em {
  font: inherit;
  color: var(--violet);
}
a {
  color: var(--lime);
}
img {
  display: block;
  max-width: 100%;
}
button svg,
span svg,
a svg {
  flex-shrink: 0;
}
.top {
  background: #111115;
  border-bottom: 1px solid #2d2b34;
}
.topinner,
main,
footer {
  width: calc(100% - clamp(40px, 8vw, 150px));
  max-width: 1440px;
  margin: auto;
}
.topinner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  border: 0;
  background: transparent;
  padding: 0;
  white-space: nowrap;
  font: italic 700 1.98rem/0.9 var(--display);
  letter-spacing: -0.035em;
}
.brand img {
  width: 32px;
  height: 34px;
}
.slashes {
  color: var(--lime);
  letter-spacing: -0.1em;
  margin-right: 2px;
}
nav {
  display: flex;
  align-self: stretch;
  gap: clamp(14px, 2.4vw, 41px);
}
.navitem {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0 0;
  color: #a8a4b0;
  font-size: 0.96rem;
  font-weight: 600;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  white-space: nowrap;
}
.navitem.here {
  border-bottom-color: var(--lime);
  color: var(--lime);
}
.navitem:hover,
.brand:hover {
  color: #e4ffd1;
}
.account {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: auto;
}
.operator {
  max-width: 170px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  border: 0;
  border-left: 1px solid var(--line);
  background: none;
  padding: 0 0 0 18px;
}
.operator > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #332c41;
  border: 1px solid #51455f;
  color: #dec3ff;
  width: 32px;
  height: 32px;
  font: 500 0.88rem var(--mono);
  border-radius: 50%;
}
.iconbutton {
  background: none;
  color: var(--muted);
  border: 0;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 4px;
}
.iconbutton:hover {
  background: #302c38;
  color: #fff;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  font: 500 0.72rem/1.4 var(--mono);
  letter-spacing: 0.085em;
  color: #a8a2b2;
}
.live,
.crumb-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live {
  color: var(--lime);
}
.live i,
.online i,
.portrait-wrap i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
}
.crdiv {
  color: #686271;
}
.crumb-location {
  margin-left: auto;
}
.crumb-location svg {
  color: var(--violet);
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 366px;
  overflow: hidden;
  border: 1px solid #51425f;
  border-radius: 7px;
  background: #26202d;
}
.hero-art,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 17, 0.94),
      rgba(12, 10, 22, 0.82) 19%,
      rgba(15, 12, 24, 0.42) 41%,
      transparent 65%
    ),
    linear-gradient(0deg, #110e1b80, transparent 22%);
}
.hero.scenery .hero-shade {
  background: linear-gradient(90deg, #0b0a11ed, #0e0a17b5 38%, #17121e22 74%);
}
.hero-copy {
  padding: 31px clamp(22px, 3.4vw, 57px) 33px;
  max-width: 55%;
  z-index: 1;
}
.eyebrow,
.micro,
.tag,
.rec,
.hero-loc,
.commlabel > span,
.progress,
.act,
.act-name,
.card-index,
.listcount,
.evidencehead,
.endmark,
.slotnum,
footer {
  font: 500 0.75rem/1.45 var(--mono);
  letter-spacing: 0.075em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-eye {
  color: var(--lime);
  font-size: 0.75rem;
}
.live-square {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--lime);
  box-shadow: 0 0 9px #b3ff6b55;
}
.eye-rule {
  height: 1px;
  width: 23px;
  background: #a9c18a80;
}
.hero h1,
.pagehead h1,
.endart h1,
.workhead h1 {
  font: italic 700 clamp(4.8rem, 7.3vw, 7.1rem)/0.85 var(--display);
  text-transform: uppercase;
  letter-spacing: -0.035em;
}
.hero h1 {
  margin: 13px 0 17px;
  text-shadow: 0 2px 20px #09081050;
}
.hero h1 em {
  display: block;
  color: #d5b8ff;
}
.hero-copy p {
  max-width: 410px;
  color: #e0dbe5;
  line-height: 1.43;
  font-size: 1.03rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 21px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 10px 17px;
  font: 600 1rem/1.25 var(--body);
  min-height: 43px;
  transition:
    background 0.14s,
    border-color 0.14s,
    transform 0.14s;
}
.button:active:not(:disabled) {
  transform: translateY(1px);
}
.primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #1a2113;
}
.primary:hover:not(:disabled) {
  background: #d3ffa6;
  border-color: #d3ffa6;
}
.primary:disabled {
  opacity: 0.45;
}
.ghost {
  background: #17151dcc;
  border-color: #75687f;
  color: #f4edf8;
}
.ghost:hover,
.quiet:hover {
  background: #35303e;
  border-color: #756581;
}
.quiet {
  border-color: #514959;
  background: #222027;
  color: #eeeaf4;
}
.compact {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.92rem;
}
.rec,
.hero-loc {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #f1e9fc;
  background: #17101f8a;
  text-shadow: 0 1px 2px #0d0916;
  border: 1px solid #c2a3e84a;
  font-size: 0.69rem;
  padding: 4px 8px;
  border-radius: 2px;
}
.rec {
  top: 18px;
}
.rec > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d3b0ff;
}
.hero-loc {
  bottom: 17px;
  text-transform: uppercase;
}
.corner {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-color: #d0afd8a8;
  border-style: solid;
}
.tl {
  left: 8px;
  top: 8px;
  border-width: 1px 0 0 1px;
}
.br {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}
.comms {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px 12px 14px;
  margin: 13px 0 27px;
  background: linear-gradient(100deg, #29232e, #201d27 50%, #1c1b22);
  border: 1px solid #44394b;
  border-left: 3px solid #b89bdc;
  border-radius: 5px;
}
.portrait-wrap {
  position: relative;
  flex-shrink: 0;
}
.portrait {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 4px;
  border: 1px solid #796986;
}
.portrait-wrap i {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border: 2px solid #29232e;
}
.commtext {
  flex: 1;
  min-width: 0;
}
.commlabel {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--violet);
}
.commlabel strong {
  font: 700 1.13rem var(--body);
  color: #f2e9ff;
}
.commlabel > span {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}
.commsline {
  height: 10px;
  width: 1px;
  background: #5f526d;
}
.commtext p {
  font-size: 0.99rem;
  color: #d7d0df;
  margin-top: 3px;
}
.wave {
  height: 14px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
  color: #bca2dd;
}
.wave i {
  display: block;
  width: 2px;
  height: calc(var(--h) * 0.54);
  background: currentColor;
  opacity: 0.7;
}
.sectionhead,
.section-title,
.progress,
.mapnav,
.acts {
  display: flex;
  align-items: center;
}
.sectionhead {
  justify-content: space-between;
  gap: 15px;
}
.section-title {
  gap: 11px;
}
.section-glyph {
  display: grid;
  place-items: center;
  color: var(--violet);
}
.section-title h2,
.workpanel h2,
.debriefbody h2,
.endtext h2,
.modalbody h2 {
  font: 700 2.18rem/1.06 var(--display);
  letter-spacing: -0.016em;
}
.section-title h2 {
  font: 600 1.65rem/1 var(--body);
  letter-spacing: -0.03em;
}
.progress {
  gap: 12px;
  color: var(--muted);
  font-size: 0.7rem;
}
.progress b {
  color: var(--lime);
}
.ticks {
  display: flex;
  gap: 3px;
}
.ticks i {
  width: 10px;
  height: 8px;
  transform: skew(-14deg);
  background: #39353f;
}
.ticks .on {
  background: var(--lime);
}
.mapnav {
  gap: 12px;
  margin: 14px 0 13px;
}
.acts {
  display: flex;
  gap: 4px;
}
.act {
  border: 1px solid transparent;
  background: none;
  color: #aca6b4;
  border-radius: 3px;
  font-size: 0.71rem;
  padding: 4px 10px;
  min-height: 26px;
}
.act.chosen {
  border-color: #675777;
  background: #322a3c;
  color: #e0c6fc;
}
.act:hover {
  color: white;
}
.act-name {
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #aaa3b4;
  font-size: 0.68rem;
  border-left: 1px solid var(--line);
  padding-left: 13px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.missioncard {
  padding: 0;
  text-align: left;
  overflow: hidden;
  border: 1px solid #39343f;
  border-radius: 5px;
  background: #1b1a21;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.missioncard:hover {
  transform: translateY(-3px);
  border-color: #9682a7;
}
.missioncard.available {
  border-color: #7c9661;
}
.cardpic {
  position: relative;
  height: clamp(98px, 9.5vw, 154px);
  overflow: hidden;
}
.cardpic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  transition: transform 0.35s;
}
.missioncard:hover img {
  transform: scale(1.035);
}
.locked-card .cardpic img {
  filter: saturate(0.75) brightness(0.74);
}
.cardshade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #16111f5c, transparent 66%);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #4b4256;
  border-radius: 3px;
  padding: 4px 7px;
  font-size: 0.66rem;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.cardpic .tag,
.discoveryart .tag,
.helperpic .tag {
  position: absolute;
  top: 11px;
  left: 12px;
}
.tag.locked {
  color: #e1dbe9;
  border-color: #7364787a;
  background: #15121cce;
}
.tag.open,
.tag.online {
  background: #182314ed;
  border-color: #728b55a1;
  color: var(--lime);
}
.card-index {
  position: absolute;
  bottom: 5px;
  right: 12px;
  font: italic 700 2.55rem/1 var(--display);
  color: #fff;
  text-shadow: 0 2px 12px #14111f;
  opacity: 0.78;
}
.cardcopy {
  padding: 12px 16px 14px;
}
.micro {
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.cardcopy .micro {
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: #b2a2bf;
}
.cardcopy .micro span {
  margin: 0 2px;
  color: #74677f;
}
.available .cardcopy .micro {
  color: var(--lime);
}
.cardcopy h3 {
  font: 700 1.55rem/1.14 var(--display);
  margin-top: 3px;
}
.map {
  margin-bottom: 30px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 21px;
  border-top: 1px solid #2c2933;
  color: #9992a2;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}
.tiny-slash {
  color: #b5d390;
  margin-right: 5px;
}
.violet {
  color: var(--violet);
}
.muted {
  color: var(--muted);
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  z-index: 20;
  background: var(--lime);
  color: #101015;
  padding: 10px;
}
#main:focus {
  outline: none;
}
.pagehead {
  padding: 35px 0 30px;
}
.pagehead h1,
.workhead h1,
.endart h1 {
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  margin: 12px 0 15px;
}
.pagehead p,
.modalbody p,
.endtext p,
.helperbody p,
.notecontent p,
.taskprompt,
.discoverycopy {
  color: #d2ccd9;
}
.switches {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  color: var(--muted);
}
.switch.active {
  color: var(--lime);
  border-color: var(--lime);
}
.filters {
  display: flex;
  gap: 13px;
}
.search,
.selectwrap select,
#name-input {
  border: 1px solid #4b4353;
  background: #201d26;
  border-radius: 4px;
}
.search {
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  max-width: 550px;
  flex: 1;
  color: var(--muted);
}
.search input {
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 0;
  outline-offset: 0;
}
.selectwrap select {
  padding: 10px 37px 10px 13px;
  appearance: none;
  width: 100%;
  font-size: 1rem;
}
.selectwrap {
  position: relative;
  align-self: stretch;
}
.selectwrap:after {
  content: "";
  position: absolute;
  right: 14px;
  top: 42%;
  width: 7px;
  height: 7px;
  border-right: 1px solid #c4bacc;
  border-bottom: 1px solid #c4bacc;
  transform: rotate(45deg);
  pointer-events: none;
}
.listcount {
  margin: 19px 0 10px;
}
.termgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 35px;
}
.termcard {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 17px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 1rem;
}
.termcard:hover {
  border-color: #9581aa;
}
.termlabel {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: var(--violet);
  font-size: 1.12rem;
}
.empty {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 40px;
  margin-bottom: 30px;
}
.empty svg {
  color: var(--violet);
}
.empty p {
  margin: 8px 0 20px;
  color: var(--muted);
}
.notes {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.note {
  display: flex;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  overflow: hidden;
}
.note img {
  width: 160px;
  object-fit: cover;
}
.notecontent {
  padding: 16px 20px;
}
.notecontent h3 {
  margin: 5px 0;
  font: 700 1.65rem var(--display);
}
.notecontent details {
  margin-top: 10px;
}
.notecontent summary {
  cursor: pointer;
  color: var(--violet);
  font-size: 0.96rem;
}
.notecontent details p {
  margin: 8px 0;
  font-size: 1rem;
}
.workhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 12px;
}
.workhead h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  margin: 10px 0;
}
.stepbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
}
.stepbar .micro {
  color: var(--muted);
}
.steps {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.steps i {
  width: 22px;
  height: 5px;
  background: #39333e;
}
.steps .current {
  background: var(--violet);
}
.steps .done {
  background: var(--lime);
}
.workgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(235px, 0.34fr);
  gap: 21px;
  align-items: start;
  margin-bottom: 30px;
}
.workpanel,
.helper,
.debrief,
.endtext {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.workpanel,
.debriefbody,
.endtext {
  padding: clamp(19px, 2.5vw, 38px);
}
.workpanel h2,
.debriefbody h2,
.endtext h2 {
  margin: 9px 0 10px;
  font-size: 2.25rem;
}
.taskprompt {
  max-width: 76ch;
}
.helper {
  overflow: hidden;
  position: sticky;
  top: 15px;
}
.helperpic {
  position: relative;
  height: 130px;
  overflow: hidden;
  background: #2d2436;
}
.helperpic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 33%;
}
.helperpic:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 68%, #19191f70);
}
.helperpic .tag {
  z-index: 1;
  right: 10px;
  left: auto;
}
.helperbody {
  padding: 17px;
}
.helperbody h2 {
  font: 700 2rem var(--display);
  margin: 4px 0;
}
.helperbody p {
  font-size: 1rem;
  margin-bottom: 16px;
}
.wide {
  width: 100%;
}
.tool-list {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tool-list > div,
.chiprow,
.commpicks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.termchip,
.textbutton {
  font-size: 0.9rem;
  border: 1px solid #4a4154;
  background: #28232f;
  color: #dfc9f6;
  border-radius: 4px;
  padding: 5px 9px;
}
.termchip:hover,
.termchip.selected {
  background: #3c3049;
  border-color: #9681a8;
}
.textbutton {
  background: none;
  border-color: transparent;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.scope {
  background-color: #14151d;
  background-image:
    linear-gradient(#a98bc20f 1px, transparent 1px),
    linear-gradient(90deg, #a98bc20f 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid #51475d;
  border-radius: 5px;
  margin: 20px 0 12px;
  padding: 13px;
}
.scopehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.scopehead b {
  font: 500 1.5rem var(--mono);
  color: var(--lime);
}
.scopehead small {
  font-size: 0.8rem;
}
.scope svg {
  height: 100px;
  width: 100%;
}
.dial {
  display: flex;
  gap: 3px;
}
.dialset {
  flex: 1;
  min-width: 0;
  background: #26232d;
  color: #c8c0ce;
  border: 1px solid #494052;
  padding: 5px 0;
  font: 500 0.78rem var(--mono);
  min-height: 35px;
}
.dialset.on {
  color: #17220e;
  background: var(--lime);
  border-color: var(--lime);
}
.stationtag {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px dashed #5b5062;
  border-radius: 3px;
  color: var(--violet);
}
.stationtag strong {
  display: block;
  color: var(--white);
}
.evidence {
  margin: 20px 0 18px;
  background: #101116;
  border: 1px solid #3c3745;
  border-radius: 4px;
  overflow: hidden;
}
.evidencehead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #24212b;
  color: #d8c4ea;
  border-bottom: 1px solid #423a49;
}
.evidence dl > div {
  display: grid;
  grid-template-columns: minmax(95px, 0.65fr) 2fr;
  gap: 14px;
  padding: 10px 13px;
}
.evidence dl > div + div {
  border-top: 1px solid #2c2832;
}
.evidence dt {
  font: 500 0.77rem/1.55 var(--mono);
  color: #b3a7c0;
  overflow-wrap: anywhere;
}
.evidence dd {
  font: 500 0.83rem/1.55 var(--mono);
  color: #e7e2ed;
  overflow-wrap: anywhere;
}
.answerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
}
.options {
  display: grid;
  gap: 6px;
  margin-top: 5px;
}
.option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 10px 13px;
  background: #222027;
  border: 1px solid #45404b;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 44px;
}
.option:hover:not(:disabled),
.option.picked {
  border-color: #aa92c6;
  background: #352d40;
}
.marker {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #62576c;
  border-radius: 3px;
  background: #1d1a23;
  color: #cfc4d7;
  font: 500 0.78rem var(--mono);
}
.marker.single {
  border-radius: 50%;
}
.picked .marker {
  background: var(--violet);
  color: #22192a;
  border-color: var(--violet);
}
.option.correct {
  border-color: #90ae70;
  background: #293023;
}
.correct .marker {
  background: var(--lime);
  border-color: var(--lime);
}
.feedback {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid;
  border-radius: 4px;
  margin-top: 13px;
}
.feedback svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.feedback p {
  margin: 4px 0 0;
  color: #e0dce3;
}
.right {
  color: var(--lime);
  border-color: #677f50;
  background: #232b20;
}
.wrong {
  color: #ffca95;
  border-color: #795e47;
  background: #322820;
}
.debrief,
.endtext {
  margin-bottom: 30px;
  overflow: hidden;
}
.discoveryart,
.endart {
  position: relative;
  min-height: 160px;
  background-size: cover;
  background-position: center 43%;
}
.discoveryart .tag {
  top: auto;
  bottom: 15px;
  left: 22px;
}
.discoverycopy,
.dialogline {
  max-width: 75ch;
}
.choice-label {
  margin: 23px 0 8px;
}
.responses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.response {
  text-align: left;
  background: #26222e;
  border: 1px solid #51465c;
  border-radius: 5px;
  padding: 15px;
  color: #eee8f2;
}
.response:hover {
  border-color: var(--violet);
}
.response > span {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 500 0.74rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--violet);
  margin-bottom: 7px;
}
.dialogline {
  padding: 13px 16px;
  background: #24212a;
  border-left: 2px solid #807686;
  margin-top: 13px;
}
.dialogline.hikari,
.hikari-bubble {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dialogline.hikari {
  border-color: var(--violet);
}
.dialogline img,
.hikari-bubble img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}
.dialogline p {
  margin: 3px 0;
}
.endart {
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(0deg, #131017c9, transparent 70%),
    url("./assets/mission-9.webp");
  border-radius: 5px;
  padding: 25px 32px;
}
.endart h1 {
  font-size: 5rem;
}
.endtext {
  margin-top: 15px;
}
.endtext p {
  max-width: 70ch;
  margin: 14px 0;
}
.endmark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
  color: var(--violet);
}
dialog {
  width: min(520px, calc(100% - 28px));
  max-height: 88dvh;
  padding: 0;
  overflow: auto;
  background: #1c1a22;
  border: 1px solid #675774;
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 25px 80px #000a;
}
dialog::backdrop {
  background: #08070dbb;
  backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.modalbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 8px 20px;
  border-bottom: 1px solid #3d3545;
  background: #25212c;
}
.modalbar .eyebrow {
  text-transform: uppercase;
  color: var(--violet);
}
.modalbody {
  padding: 22px;
}
.modalbody h2 {
  font-size: 2.35rem;
  margin-bottom: 15px;
}
.modalbody p {
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.modalbody .micro {
  font-size: 0.74rem;
}
.backpanel {
  margin: 0 0 10px;
}
.intelpic {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 4px;
}
.metarow,
.backup,
.slotactions,
.hikari-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
}
.metarow {
  margin-top: 12px;
  flex-wrap: wrap;
}
.metarow .tag {
  font-size: 0.72rem;
}
.locknote {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.modalbody .definition {
  font-size: 1.18rem;
  color: #e7dfee;
}
.example,
.hikari-bubble {
  background: #26222d;
  border: 1px solid #453a50;
  border-radius: 5px;
  padding: 13px;
}
.example {
  margin: 17px 0;
}
.example p,
.hikari-bubble p {
  margin: 5px 0 0;
}
.source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
}
.hikari-bubble {
  align-items: flex-start;
  gap: 12px;
}
.hikari-bubble img {
  flex-shrink: 0;
}
#name-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 20px;
  gap: 6px;
}
#name-form label {
  font-weight: 600;
}
#name-input {
  width: 100%;
  padding: 10px 12px;
}
#name-form small {
  color: var(--muted);
  margin-bottom: 11px;
}
.commpicks {
  margin: 15px 0;
}
.chiprow + .button {
  margin-top: 17px;
}
.saverecord {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.slotnum {
  color: var(--violet);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #2d2736;
  border: 1px solid #4d4158;
  border-radius: 4px;
  flex-shrink: 0;
}
.saverecord > div:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.saverecord strong,
.saverecord span,
.saverecord small {
  display: block;
}
.saverecord span,
.saverecord small {
  font-size: 0.9rem;
  color: var(--muted);
}
.saverecord small {
  font-size: 0.79rem;
}
.slotactions {
  gap: 5px;
}
.restart {
  margin-left: auto;
}
.backup {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  flex-wrap: wrap;
}
#toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: #302b38;
  color: #f6f1fa;
  border: 1px solid #71617d;
  border-radius: 4px;
  max-width: min(520px, 90vw);
  width: max-content;
  padding: 9px 15px;
  opacity: 0;
  pointer-events: none;
  transition: 0.16s;
  z-index: 10;
  font-size: 1rem;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.instrument {
  margin: 19px 0;
  border: 1px solid #4a4154;
  border-radius: 5px;
  background: #14141b;
  overflow: hidden;
}
.instrumentpad {
  padding: 13px 15px;
}
.addressbook {
  font: 500 0.79rem/1.6 var(--mono);
  color: #e6deec;
  margin: 5px 0 0;
}
.addressbook b {
  color: var(--violet);
}
.addressbook span {
  color: #78717e;
  margin: 0 6px;
}
.packetline {
  display: grid;
  grid-template-columns: 0.4fr 1fr 1fr;
  gap: 8px;
  padding: 10px 14px;
  text-align: left;
  font: 500 0.82rem/1.4 var(--mono);
  width: 100%;
}
.packethead {
  color: #c7b5d5;
  background: #26222d;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.packet {
  border: 0;
  border-top: 1px solid #35303c;
  background: #1b1b22;
  color: #cdd8ca;
}
.packet:hover,
.packet.active {
  background: #333d2b;
  color: var(--lime);
}
.frame-detail {
  padding: 12px 15px;
  border-top: 1px solid #413849;
  color: #d8d0df;
}
.frame-detail p {
  margin: 4px 0 0;
  font-size: 1rem;
}
.hex,
.reel code {
  word-break: break-all;
  font: 500 0.82rem/1.5 var(--mono);
}
.hex {
  display: block;
  color: var(--lime);
  margin: 4px 0 10px;
  user-select: all;
}
.instrumenthelp {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.reel {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #343039;
  padding: 10px 0;
}
.reel > div {
  min-width: 0;
  flex: 1;
}
.reel strong {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reel code {
  color: #bcaacb;
  display: block;
  margin-top: 3px;
}
.reel .button {
  flex-shrink: 0;
}
.patchtag {
  margin: 17px 0;
}
.patchtag strong {
  font-size: 0.96rem;
}
.patchboard {
  border: 1px solid #4d4159;
  background: #15131b;
  border-radius: 6px;
  padding: 14px;
}
.patchheads {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
}
.sockets {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(35px, 0.8fr) minmax(
      94px,
      1.1fr
    );
  align-items: stretch;
}
.sockets > div {
  display: grid;
  grid-template-rows: repeat(3, 40px);
  align-items: center;
}
.sockets > svg {
  width: 100%;
  height: 120px;
}
.socket {
  border: 1px solid #62506e;
  background: #2a2431;
  color: #d7c7e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1.1;
}
.socket:after,
.socket.dest:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.socket.dest:after {
  display: none;
}
.socket.armed,
.socket:hover {
  background: #333d2b;
  border-color: #9bbd7a;
  color: var(--lime);
}
.route-readout {
  margin-top: 10px;
}
.note-stats {
  color: var(--lime);
  font-size: 0.66rem;
  margin-bottom: 8px;
}
#panel-toast {
  position: sticky;
  bottom: 0;
  color: var(--lime);
  background: #24292a;
  border-top: 1px solid var(--line);
  padding: 8px 15px;
  font-size: 0.93rem;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 410px;
  }
  .hero-copy p {
    font-size: 1.12rem;
    max-width: 470px;
  }
}
@media (max-width: 960px) {
  .topinner {
    gap: 30px;
  }
  .topinner,
  main,
  footer {
    width: calc(100% - 46px);
  }
  nav {
    gap: 17px;
  }
  .account {
    gap: 5px;
  }
  .operator {
    padding-left: 10px;
  }
  .operator > span {
    display: none;
  }
  .hero-copy {
    max-width: 62%;
  }
  .hero {
    min-height: 345px;
  }
  .termgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workgrid {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 13px;
  }
  .comms {
    gap: 12px;
  }
  .commtext p {
    font-size: 0.96rem;
  }
}
@media (max-width: 720px) {
  .topinner,
  main,
  footer {
    width: calc(100% - 28px);
  }
  .topinner {
    height: auto;
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
  }
  .brand {
    justify-self: start;
    min-height: 55px;
    font-size: 1.8rem;
  }
  .brand img {
    width: 27px;
    height: 29px;
  }
  .account {
    grid-column: 2;
    grid-row: 1;
  }
  .operator > span {
    display: inline;
  }
  .top nav {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 0;
    justify-content: space-between;
    border-top: 1px solid #28252d;
  }
  .navitem {
    min-height: 39px;
    font-size: 0.92rem;
    padding: 2px 4px;
    gap: 6px;
  }
  .navitem svg {
    width: 15px;
  }
  .crumb {
    min-height: 39px;
    gap: 8px;
    font-size: 0.64rem;
  }
  .crumb-location {
    font-size: 0.63rem;
    gap: 4px;
  }
  .hero {
    min-height: 335px;
  }
  .hero-copy {
    max-width: 68%;
    padding: 27px 20px;
  }
  .hero h1 {
    font-size: clamp(4.4rem, 11.3vw, 5.6rem);
  }
  .hero-art {
    object-position: 64% 38%;
  }
  .hero-copy p {
    font-size: 1rem;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #0a0913ef 1%, #100d1bc7 26%, #17112033 72%),
      linear-gradient(0deg, #100d18ad, transparent 50%);
  }
  .hero-loc {
    right: 10px;
    bottom: 10px;
    font-size: 0.57rem;
  }
  .rec {
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
  }
  .comms {
    padding: 10px;
    margin: 10px 0 23px;
    gap: 10px;
  }
  .comms .compact span {
    display: none;
  }
  .comms .compact {
    width: 36px;
    padding: 6px;
  }
  .portrait {
    width: 45px;
    height: 48px;
  }
  .commlabel > span {
    font-size: 0.6rem;
  }
  .commtext p {
    line-height: 1.35;
  }
  .progress {
    gap: 6px;
    font-size: 0.64rem;
  }
  .ticks {
    gap: 2px;
  }
  .ticks i {
    width: 6px;
  }
  .cards {
    gap: 10px;
  }
  .cardcopy {
    padding: 10px;
  }
  .cardcopy h3 {
    font-size: 1.35rem;
  }
  .cardcopy .micro {
    font-size: 0.6rem;
  }
  .cardpic {
    height: 98px;
  }
  .cardpic .tag {
    top: 7px;
    left: 7px;
  }
  .card-index {
    font-size: 1.9rem;
  }
  .workgrid {
    grid-template-columns: 1fr;
  }
  .helper {
    position: static;
    display: flex;
  }
  .helperpic {
    width: 90px;
    height: auto;
    min-height: 130px;
    flex-shrink: 0;
  }
  .helperpic .tag {
    left: 5px;
    top: 6px;
    right: auto;
  }
  .helperbody {
    flex: 1;
  }
  .helperbody .wide {
    width: auto;
  }
  .helperbody .tool-list {
    margin-top: 13px;
  }
  .helperbody p {
    margin-bottom: 10px;
  }
  .helper .helperpic img {
    object-position: center;
  }
  .workhead {
    align-items: flex-start;
  }
  .workhead > .button {
    font-size: 0.86rem;
  }
  .pagehead {
    padding: 20px 0;
  }
  .guidegrid {
    grid-template-columns: 1fr;
  }
  .note img {
    width: 95px;
  }
  .section-title h2 {
    font-size: 1.45rem;
  }
}
@media (max-width: 520px) {
  .hero {
    min-height: 398px;
    align-items: flex-end;
  }
  .hero-art {
    object-position: 68% 24%;
    height: 83%;
    object-fit: cover;
  }
  .hero-copy {
    max-width: 100%;
    padding: 75px 16px 17px;
  }
  .hero h1 {
    font-size: 4.4rem;
    margin: 9px 0 10px;
    max-width: 68%;
  }
  .hero-copy p {
    max-width: 90%;
    font-size: 0.97rem;
  }
  .hero-shade {
    background:
      linear-gradient(
        0deg,
        #15101d 8%,
        #15101df5 23%,
        #15101d99 41%,
        transparent 73%
      ),
      linear-gradient(90deg, #110c19b0, #100e1844 45%, transparent 73%);
  }
  .hero-eye {
    font-size: 0.65rem;
    gap: 6px;
  }
  .hero .actions {
    margin-top: 15px;
    gap: 7px;
  }
  .button {
    padding: 10px 13px;
    font-size: 0.95rem;
    min-height: 41px;
  }
  .hero-loc {
    display: none;
  }
  .crumb-location .crdiv,
  .crumb-location svg {
    display: none;
  }
  .crumb-location {
    font-size: 0.58rem;
  }
  .hero .rec {
    font-size: 0.57rem;
  }
  .commlabel .wave {
    display: none;
  }
  .commlabel {
    gap: 7px;
  }
  .commlabel strong {
    font-size: 1.02rem;
  }
  .commtext p {
    font-size: 0.92rem;
  }
  .comms {
    align-items: flex-start;
  }
  .comms .compact {
    min-height: 33px;
    height: 33px;
    width: 33px;
    align-self: center;
  }
  .section-title {
    gap: 7px;
  }
  .progress .ticks {
    display: none;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .missioncard:last-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .missioncard:last-child .cardpic {
    height: 80px;
  }
  .cardpic {
    height: 87px;
  }
  .cardcopy {
    min-height: 65px;
  }
  .mapnav {
    margin: 12px 0 10px;
  }
  .tag {
    font-size: 0.58rem;
  }
  .card-index {
    font-size: 1.65rem;
    bottom: 5px;
    right: 8px;
  }
  .cardcopy h3 {
    font-size: 1.38rem;
  }
  .act-name {
    font-size: 0.61rem;
  }
  .termgrid {
    grid-template-columns: 1fr;
  }
  .filters {
    flex-direction: column;
  }
  .search {
    max-width: none;
  }
  .helper {
    display: block;
  }
  .helperpic {
    width: 100%;
    height: 85px;
    min-height: 0;
  }
  .helper .helperpic img {
    object-position: center 32%;
  }
  .helperpic .tag {
    left: auto;
    right: 10px;
    top: 10px;
  }
  .workhead {
    flex-wrap: wrap;
    gap: 2px;
  }
  .workhead h1 {
    font-size: 3rem;
  }
  .workhead .eyebrow {
    font-size: 0.65rem;
  }
  .workhead > .button {
    min-height: 30px;
    padding: 5px 9px;
  }
  .stepbar .micro {
    font-size: 0.63rem;
  }
  .steps i {
    width: 14px;
  }
  .workpanel,
  .debriefbody,
  .endtext {
    padding: 16px;
  }
  .evidence dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .scope {
    padding: 9px;
  }
  .dial {
    gap: 2px;
  }
  .dialset {
    font-size: 0.58rem;
    min-height: 32px;
  }
  .scope svg {
    height: 78px;
  }
  .responses {
    grid-template-columns: 1fr;
  }
  .endart {
    min-height: 180px;
  }
  .endart h1 {
    font-size: 3.9rem;
  }
  .note {
    display: block;
  }
  .note img {
    width: 100%;
    height: 96px;
  }
  .slotactions {
    flex-direction: column;
  }
  .saverecord .compact,
  .backup .compact {
    min-height: 30px;
    padding: 5px 9px;
  }
  .modalbody {
    padding: 17px;
  }
  .modalbody h2 {
    font-size: 2.1rem;
  }
  .wave {
    gap: 1px;
  }
  .sectionhead {
    gap: 5px;
  }
}
@media (max-width: 380px) {
  .top nav {
    justify-content: space-between;
  }
  .navitem {
    font-size: 0.88rem;
    padding: 2px 0;
  }
  .navitem svg {
    display: none;
  }
  .operator > span {
    max-width: 52px;
  }
  .crumb-location {
    font-size: 0.51rem;
  }
  .crumb {
    gap: 6px;
  }
  .packetline {
    padding: 9px 6px;
    font-size: 0.72rem;
  }
  .hero .button {
    padding: 9px 10px;
  }
  .socket {
    font-size: 0.9rem;
    padding: 6px;
  }
  .socket svg {
    width: 13px;
  }
  .patchboard {
    padding: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
