:root {
  color-scheme: dark;
  --bg: #101311;
  --panel: #171b17;
  --ink: #c6cbb6;
  --muted: #838c79;
  --line: #343c31;
  --accent: #cbb389;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", monospace;
  font-family: var(--mono);
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-image: radial-gradient(#808b6410 0.65px, transparent 0.65px);
  background-size: 4px 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:not(:disabled):hover {
  color: #eef0df;
}
button[hidden],
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
.page {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 44px;
}
.masthead {
  height: 100px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  font-size: 25px;
  letter-spacing: 6px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 17px;
  white-space: nowrap;
}
.door-mark {
  display: inline-block;
  width: 20px;
  height: 28px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  position: relative;
}
.door-mark:after {
  content: "";
  position: absolute;
  inset: 5px 4px 0;
  border: 1px solid var(--ink);
  border-bottom: 0;
  transform: skewY(-12deg);
}
.edition {
  font-size: 9px;
  font-weight: normal;
  color: var(--muted);
  letter-spacing: 1.5px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
  margin-left: 4px;
}
.masthead nav {
  display: flex;
  gap: 24px;
}
.masthead nav button {
  font-size: 10px;
  letter-spacing: 1px;
  padding: 8px 0;
}
.masthead nav button span {
  font-size: 15px;
  margin-right: 5px;
}
.chapter {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 37px 0 26px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0 0 12px;
}
h1 {
  font: normal 37px/1.2 var(--serif);
  letter-spacing: -1px;
  margin: 0;
}
.case-number {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-align: right;
  line-height: 1.8;
  margin: 0;
}
.case-number span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.monitor {
  border: 1px solid #47503d;
  background: #0a0e0b;
  box-shadow: 0 24px 75px #0004;
}
.monitor-bar {
  height: 35px;
  background: #1b211a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 10px;
  letter-spacing: 1.6px;
  border-bottom: 1px solid #47503d;
}
.monitor-bar > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-light {
  width: 5px;
  height: 5px;
  background: var(--ink);
  display: inline-block;
  box-shadow: 0 0 7px #b4c69555;
}
.viewport {
  position: relative;
  aspect-ratio: 8/5;
  overflow: hidden;
  background: #111710;
  isolation: isolate;
}
canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.view-label {
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #c6cbb6c0;
  text-shadow: 1px 1px #101510;
  font-size: 9px;
  letter-spacing: 1.5px;
  pointer-events: none;
}
.reticle {
  position: absolute;
  top: 48%;
  left: 50%;
  font-size: 15px;
  opacity: 0.35;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  left: 42%;
  top: 30%;
  width: 17%;
  height: 38%;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hotspot span {
  position: absolute;
  bottom: -28px;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 1.5px;
  background: #0d130ded;
  padding: 8px 10px;
  opacity: 0;
  transition: opacity 0.15s;
}
.hotspot b {
  font-size: 18px;
  font-weight: normal;
  opacity: 0;
}
.hotspot:hover,
.hotspot:focus-visible {
  border: 1px solid #c6cbb660;
}
.hotspot:hover span,
.hotspot:focus-visible span,
.hotspot:hover b,
.hotspot:focus-visible b {
  opacity: 1;
}
.subtitle {
  position: absolute;
  bottom: 7%;
  left: 15%;
  right: 15%;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.4px;
  text-shadow: 1px 1px #000;
  padding: 9px 12px;
  pointer-events: none;
}
.subtitle:not(:empty) {
  background: #101510e8;
}
.start-screen,
.pause-screen,
.end-screen {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(90deg, #080e0bf5, #080e0ba8, #080e0bf0);
  z-index: 3;
}
.pause-screen,
.end-screen {
  flex-direction: column;
  background: #0b110cee;
}
.start-content {
  padding: 22px;
}
.start-content .eyebrow,
.end-screen > .eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 3px;
}
h2 {
  font: normal 45px/1.12 var(--serif);
  letter-spacing: -1.5px;
  margin: 20px 0;
  color: #dce0cc;
}
.start-content > p:not(.eyebrow),
.end-screen > p:not(.eyebrow) {
  font-size: 12px;
  color: #a4ad98;
  line-height: 1.9;
  letter-spacing: 0.25px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  color: #182017;
  background: var(--ink);
  padding: 17px 23px;
  font-size: 11px;
  letter-spacing: 1.4px;
  margin: 22px 0 0;
  min-width: 240px;
  box-shadow: 4px 4px 0 #53604655;
}
.primary:not(:disabled):hover {
  background: #e3e6d5;
  color: #0a1209;
}
.primary span {
  font-size: 18px;
  line-height: 10px;
}
.start-content small {
  display: block;
  font-size: 9px;
  color: #85927c;
  margin-top: 22px;
}
.caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  min-height: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font: italic 14px var(--serif);
  color: #abb59e;
}
.record-indicator {
  font: 8px var(--mono);
  letter-spacing: 1.2px;
  color: var(--muted);
  white-space: nowrap;
}
.record-indicator i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 7px;
  background: var(--muted);
}
.controls {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 0.8fr;
  background: #191e18;
}
.controls button {
  padding: 17px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  border-right: 1px solid var(--line);
  letter-spacing: 0.3px;
}
.controls button:last-child {
  border-right: 0;
}
.controls button > span:last-child {
  margin-left: auto;
}
.controls button[aria-pressed="true"] {
  background: #242c20;
}
.controls button[aria-pressed="true"] .control-dot {
  box-shadow: 0 0 7px #c6cbb655;
  background: var(--ink);
}
.control-dot {
  width: 5px;
  height: 5px;
  background: #545f4c;
  border-radius: 50%;
}
kbd {
  font: 9px var(--mono);
  color: var(--muted);
  border: 1px solid #495340;
  min-width: 22px;
  padding: 3px 4px;
  text-align: center;
  white-space: nowrap;
}
.notebook {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  padding: 28px 2px 26px;
  border-bottom: 1px solid var(--line);
}
.notebook-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.notebook-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  margin: 0;
}
.notebook-heading > span:last-child {
  color: #697760;
  font-size: 10px;
}
.objective {
  font-size: 11px;
  color: var(--accent);
  line-height: 1.6;
  margin: 0 0 10px;
}
.objective > span {
  margin-right: 7px;
}
#notes {
  list-style: none;
  margin: 0;
  padding: 0;
}
#notes li {
  font-size: 11px;
  line-height: 1.8;
  color: #acb69f;
}
#notes li time {
  color: #697760;
  margin-right: 14px;
  font-size: 9px;
}
#notes .empty-note {
  color: #697760;
  font: italic 13px var(--serif);
}
#leave {
  grid-column: 2;
  justify-self: start;
  font-size: 10px;
  letter-spacing: 1.2px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  padding: 0 0 8px;
}
#leave span {
  margin-left: 18px;
}
footer {
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #6e7b64;
}
.footer-divider {
  margin: 0 8px;
}
dialog {
  background: #171e16;
  color: var(--ink);
  border: 1px solid #5e6c51;
  max-width: 530px;
  width: calc(100% - 36px);
  padding: 35px;
  box-shadow: 0 30px 150px #0009;
}
dialog::backdrop {
  background: #070c09ce;
}
dialog h2 {
  font-size: 32px;
  margin-top: 10px;
}
dialog p {
  font-size: 12px;
  line-height: 1.8;
  color: #a8b49d;
}
dialog dl {
  display: grid;
  grid-template-columns: 115px 1fr;
  font-size: 11px;
  gap: 15px 10px;
  margin: 25px 0;
}
dialog dt {
  color: var(--accent);
}
dialog dd {
  margin: 0;
  line-height: 1.6;
}
dialog .guide-note {
  font-size: 10px;
  color: #829175;
}
dialog .primary {
  margin-top: 12px;
}
@media (min-width: 1400px) {
  .page {
    max-width: 1256px;
  }
  .chapter {
    padding-top: 43px;
    padding-bottom: 30px;
  }
}
@media (max-width: 760px) {
  .page {
    padding: 0 20px;
  }
  .masthead {
    height: 80px;
  }
  .wordmark {
    font-size: 21px;
    letter-spacing: 4px;
    gap: 12px;
  }
  .edition {
    display: none;
  }
  .masthead nav {
    gap: 15px;
  }
  .masthead nav button {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .chapter {
    padding: 28px 0 22px;
  }
  h1 {
    font-size: 30px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .case-number {
    font-size: 9px;
  }
  .case-number span {
    font-size: 8px;
  }
  .controls {
    grid-template-columns: 1fr 1fr;
  }
  .controls button:nth-child(2) {
    border-right: 0;
  }
  .controls button:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .controls button {
    padding: 15px;
  }
  .record-indicator {
    display: none;
  }
  .notebook {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
  .notebook-heading {
    flex-direction: row;
    justify-content: space-between;
  }
  #leave {
    grid-column: 1;
  }
  h2 {
    font-size: 35px;
  }
  .start-content .eyebrow {
    font-size: 8px;
  }
  .start-content > p:not(.eyebrow),
  .end-screen > p:not(.eyebrow) {
    font-size: 11px;
  }
  .primary {
    margin-top: 12px;
    padding: 14px 18px;
    min-width: 220px;
    font-size: 10px;
  }
  .start-content small {
    font-size: 8px;
    margin-top: 16px;
  }
  .view-label {
    font-size: 7px;
    left: 12px;
    right: 12px;
    top: 12px;
  }
  .subtitle {
    font-size: 11px;
    left: 6%;
    right: 6%;
    bottom: 5%;
  }
  footer {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .caption {
    font-size: 13px;
  }
  .monitor-bar {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 0 12px;
  }
}
@media (max-width: 480px) {
  .page {
    padding: 0 12px;
  }
  .masthead {
    height: 70px;
  }
  .masthead nav {
    gap: 12px;
  }
  .masthead nav button {
    font-size: 8px;
  }
  .masthead nav button span {
    display: none;
  }
  .wordmark {
    font-size: 19px;
    gap: 9px;
  }
  .door-mark {
    width: 17px;
    height: 24px;
  }
  .chapter {
    padding: 24px 0 18px;
  }
  .chapter .eyebrow {
    max-width: 210px;
    font-size: 7px;
  }
  h1 {
    font-size: 25px;
  }
  .case-number {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .case-number span {
    font-size: 7px;
  }
  .viewport {
    aspect-ratio: 6/5;
  }
  canvas {
    object-fit: cover;
  }
  .start-content {
    padding: 12px;
  }
  .start-content h2,
  .end-screen h2 {
    font-size: 30px;
    margin: 14px 0;
  }
  .start-content small {
    max-width: 210px;
    line-height: 1.5;
    margin: 13px auto 0;
  }
  .start-content > p:not(.eyebrow),
  .end-screen > p:not(.eyebrow) {
    font-size: 10px;
  }
  .start-content .eyebrow {
    font-size: 7px;
  }
  .view-label > span:last-child {
    display: none;
  }
  .monitor-bar {
    font-size: 7px;
  }
  .hotspot {
    left: 40%;
    width: 23%;
  }
  .caption {
    font-size: 12px;
    padding: 12px;
  }
  .controls button {
    font-size: 10px;
  }
  .end-screen > p:not(.eyebrow) {
    padding: 0 14px;
  }
  .subtitle {
    font-size: 10px;
  }
  .footer-divider {
    margin: 0 3px;
  }
  footer {
    letter-spacing: 0.3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Playable investigation layout, retaining the field-study palette. */
.page {
  max-width: 1392px;
  padding: 0 36px;
}
.masthead {
  height: 80px;
}
.chapter {
  padding: 25px 0 24px;
}
.chapter h1 {
  font-size: 34px;
}
.play-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 24px;
  align-items: start;
}
.monitor {
  min-width: 0;
}
.monitor-bar {
  font-size: 9px;
}
.viewport {
  aspect-ratio: 8/5;
}
.caption {
  font-size: 13px;
  min-height: 43px;
}
.subtitle {
  left: 8%;
  right: 8%;
  font-size: 11px;
  bottom: 5%;
}
.start-content h2 {
  font-size: 42px;
}
.start-content > p:not(.eyebrow) {
  font-size: 11px;
}
.start-content .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
}
.start-content small {
  font-size: 8px;
}
.routes {
  display: flex;
  border-bottom: 1px solid var(--line);
  min-height: 45px;
  background: #121a13;
}
.routes button {
  flex: 1;
  padding: 12px 7px;
  border-right: 1px solid var(--line);
  font-size: 10px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.routes button:last-child {
  border-right: 0;
}
.routes button span {
  font-size: 13px;
  color: var(--accent);
}
.routes button:not(:disabled):hover {
  background: #263020;
}
.controls.instruments {
  grid-template-columns: repeat(4, 1fr);
}
.controls.utilities {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.controls button {
  padding: 13px 10px;
  font-size: 10px;
  gap: 8px;
  min-height: 46px;
}
.controls button > span:last-child {
  margin-left: 0;
}
.controls #light > span:last-child {
  margin-left: auto;
}
.controls button[aria-pressed="true"] {
  box-shadow: inset 0 -2px var(--accent);
}
.field-panel > section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.field-panel > section:first-child {
  padding-top: 10px;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--muted);
  align-items: center;
}
.panel-heading strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: normal;
}
#composure {
  width: 100%;
  height: 6px;
  display: block;
  margin-top: 15px;
  background: #273223;
  border: 0;
  appearance: none;
}
#composure::-moz-meter-bar {
  background: var(--ink);
}
#composure::-webkit-meter-bar {
  background: #273223;
  border: 0;
}
#composure::-webkit-meter-optimum-value {
  background: var(--ink);
}
#composure::-webkit-meter-suboptimum-value {
  background: var(--accent);
}
#composure::-webkit-meter-even-less-good-value {
  background: #c98773;
}
#presence {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 13px 0 0;
}
.assignment .eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
}
#objective {
  font: 15px/1.55 var(--serif);
  color: var(--accent);
  margin: 0;
}
#source {
  font: 20px var(--serif);
  margin: 13px 0 18px;
}
.evidence-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  line-height: 2.6;
}
.evidence-row span:last-child {
  color: var(--muted);
  font-size: 9px;
}
.evidence-row[data-result="positive"] span:last-child {
  color: var(--accent);
}
.small-note {
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}
.recent-notes #notes {
  margin-top: 14px;
  max-height: 240px;
  overflow: auto;
}
.recent-notes #notes li {
  font-size: 10px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.recent-notes #notes time {
  display: block;
  margin: 0 0 2px;
}
.report-button {
  width: 100%;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--accent);
  padding: 18px 0;
  text-align: left;
}
.sample-strip {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #1c251a;
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 8px 18px;
  align-items: center;
}
.sample-strip > div {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
#sample-name {
  font-size: 9px;
  color: var(--muted);
}
#sample-value {
  font-size: 14px;
  font-weight: normal;
  color: var(--ink);
}
#sample-status {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--accent);
}
.sample-strip progress {
  width: 100%;
  height: 4px;
  appearance: none;
  border: 0;
  background: #35432d;
}
.sample-strip progress::-moz-progress-bar {
  background: var(--accent);
}
.sample-strip progress::-webkit-progress-bar {
  background: #35432d;
}
.sample-strip progress::-webkit-progress-value {
  background: var(--accent);
}
#ask {
  grid-column: 1/-1;
  font-size: 10px;
  letter-spacing: 0.7px;
  border: 1px solid var(--line);
  padding: 11px;
  color: var(--accent);
}
#ask kbd {
  margin-left: 10px;
}
.hunt-alert {
  background: #493126;
  color: #efc7aa;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid #ac735b;
}
.cover-label {
  position: absolute;
  top: 22%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  text-shadow: 1px 1px black;
}
.end-screen {
  padding: 20px;
}
.end-screen h2 {
  font-size: 35px;
  margin: 12px 0;
}
.end-screen > p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.8;
  max-width: 360px;
  margin: 8px 0;
}
.end-screen .result-score {
  color: var(--accent) !important;
  letter-spacing: 1px;
}
.end-actions {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
}
.end-actions .primary {
  margin-top: 10px;
}
.quiet-button {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 5px;
}
.dialog-top {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #171e16;
  padding: 7px 0;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.dialog-top .eyebrow {
  margin: 0;
}
.dialog-top button {
  padding: 10px;
  font-size: 16px;
}
.journal-dialog {
  max-width: 730px;
}
dialog {
  scrollbar-color: #4a563e #182017;
  scrollbar-width: thin;
}
.journal-dialog h2 {
  font-size: 32px;
}
.journal-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  margin: 20px 0 26px;
}
.journal-evidence .evidence-row {
  flex-direction: column;
  gap: 0;
  line-height: 1.8;
}
.ghosts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ghost-card {
  text-align: left;
  border: 1px solid var(--line);
  padding: 16px;
  display: block;
  width: 100%;
}
.ghost-card h3 {
  font: 21px var(--serif);
  margin: 0 0 9px;
  color: var(--ink);
}
.ghost-card p {
  font-size: 10px;
  line-height: 1.6;
  margin: 7px 0 0;
}
.ghost-card .signature {
  font-size: 9px;
  color: var(--accent);
}
.ghost-card .match {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  margin-top: 12px;
}
.ghost-card[aria-pressed="true"] {
  border-color: var(--accent);
  background: #293023;
  box-shadow: inset 3px 0 var(--accent);
}
.ghost-card.ruled-out {
  opacity: 0.48;
}
.ghost-card.ruled-out[aria-pressed="true"] {
  opacity: 0.8;
}
.selection-summary {
  color: var(--accent) !important;
  margin: 20px 0;
}
.report-actions {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 10px;
}
.report-actions p {
  font-size: 10px;
  margin-bottom: 0;
}
.readings-table-wrap {
  overflow: auto;
}
.readings-table {
  border-collapse: collapse;
  font-size: 10px;
  width: 100%;
  margin-top: 12px;
}
.readings-table th,
.readings-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  line-height: 1.5;
}
.readings-table th {
  font-weight: normal;
  color: var(--accent);
}
details summary {
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
}
.guide-steps {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 18px;
}
.guide-steps li {
  margin-bottom: 12px;
}
.guide-steps strong {
  color: var(--ink);
}
dialog h3 {
  font: 22px var(--serif);
  margin: 25px 0 10px;
}
body[data-danger="warning"] .status-light,
body[data-danger="active"] .status-light {
  background: #d59a7b;
}
@media (min-width: 1400px) {
  .page {
    max-width: 1420px;
  }
  .chapter {
    padding-top: 30px;
    padding-bottom: 25px;
  }
}
@media (max-width: 1000px) {
  .page {
    padding: 0 22px;
  }
  .play-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 18px;
  }
  .start-content h2 {
    font-size: 34px;
  }
  .start-content > p:not(.eyebrow) {
    font-size: 10px;
  }
  .start-content small {
    max-width: 230px;
    margin: 16px auto 0;
    line-height: 1.6;
  }
  .start-content .eyebrow {
    font-size: 7px;
  }
  .view-label {
    font-size: 7px;
  }
  .start-content .primary {
    font-size: 9px;
    min-width: 210px;
    padding: 14px 16px;
  }
  .controls button {
    font-size: 9px;
    padding: 12px 8px;
    gap: 6px;
  }
  .controls kbd {
    font-size: 8px;
    min-width: 18px;
    padding: 2px 3px;
  }
  .routes button {
    font-size: 9px;
    gap: 5px;
  }
  .end-screen h2 {
    font-size: 28px;
  }
  .end-screen .eyebrow {
    font-size: 8px;
  }
  .end-screen > p:not(.eyebrow) {
    font-size: 10px;
  }
  .end-actions {
    gap: 8px;
  }
  .end-actions .primary {
    padding: 13px 15px;
    font-size: 9px;
    min-width: 210px;
  }
}
@media (max-width: 760px) {
  .page {
    padding: 0 16px;
  }
  .play-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .field-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .field-panel > section {
    padding-top: 15px;
  }
  .field-panel > section:first-child {
    padding-top: 15px;
  }
  .field-panel .recent-notes {
    grid-column: 1/-1;
  }
  .field-panel .evidence-summary {
    grid-column: 1/-1;
  }
  #evidence-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .evidence-summary .evidence-row {
    flex-direction: column;
    gap: 0;
    line-height: 1.7;
  }
  .recent-notes #notes {
    max-height: none;
  }
  .recent-notes #notes li {
    margin-bottom: 7px;
  }
  .field-panel .report-button {
    grid-column: 1/-1;
  }
  .viewport {
    aspect-ratio: 8/5;
  }
  .start-content h2 {
    font-size: 38px;
  }
  .start-content small {
    max-width: none;
  }
  .controls button:nth-child(-n + 2) {
    border-bottom: 0;
  }
  .controls button:nth-child(2) {
    border-right: 1px solid var(--line);
  }
  .controls button {
    font-size: 10px;
  }
  .chapter h1 {
    font-size: 29px;
  }
  .chapter {
    padding: 23px 0 20px;
  }
  .end-screen h2 {
    font-size: 34px;
  }
  .subtitle {
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .page {
    padding: 0 12px;
  }
  .masthead {
    height: 67px;
  }
  .masthead nav {
    gap: 10px;
  }
  .masthead nav button {
    font-size: 8px;
  }
  .chapter h1 {
    font-size: 25px;
  }
  .chapter .eyebrow {
    font-size: 7px;
  }
  .viewport {
    aspect-ratio: 6/5;
  }
  .start-content h2 {
    font-size: 32px;
  }
  .start-content .eyebrow {
    font-size: 7px;
  }
  .start-content small {
    max-width: 230px;
    font-size: 7px;
  }
  .controls button {
    font-size: 10px;
    gap: 5px;
    padding: 12px 7px;
  }
  .routes button {
    font-size: 9px;
    gap: 5px;
    padding: 12px 6px;
  }
  .sample-strip {
    padding: 11px;
    grid-template-columns: 1fr 65px;
    gap: 7px 10px;
  }
  #sample-name {
    font-size: 8px;
  }
  #sample-value {
    font-size: 12px;
  }
  .field-panel {
    column-gap: 18px;
  }
  #objective {
    font-size: 14px;
  }
  .panel-heading {
    font-size: 8px;
    letter-spacing: 1px;
  }
  #source {
    font-size: 19px;
  }
  .evidence-row {
    font-size: 9px;
  }
  .evidence-row span:last-child {
    font-size: 8px;
  }
  .hunt-alert {
    font-size: 11px;
    padding: 12px;
  }
  .end-screen h2 {
    font-size: 29px;
  }
  .end-screen {
    padding: 16px;
  }
  .end-screen > p:not(.eyebrow) {
    font-size: 10px;
  }
  .end-screen .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  dialog {
    padding: 23px;
  }
  .journal-dialog h2 {
    font-size: 27px;
  }
  .ghosts {
    grid-template-columns: 1fr;
  }
  .journal-evidence {
    gap: 10px;
  }
  .journal-evidence .evidence-row {
    font-size: 9px;
  }
  .journal-evidence .evidence-row span:last-child {
    font-size: 8px;
  }
  .ghost-card h3 {
    font-size: 23px;
  }
  .report-actions .primary {
    min-width: 0;
    width: 100%;
    font-size: 9px;
  }
  .cover-label {
    font-size: 8px;
  }
  .subtitle {
    font-size: 10px;
  }
}
