:root {
  color-scheme:dark;
  --bg:#05101a;
  --surface:#091724;
  --text:#e9f1fc;
  --muted:#afc5df;
  --cyan:#00c9f2;
  --line:#426178;
  --amber:#eabd76;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
[hidden] {
  display:none!important;
}
.clock-state {
  white-space:nowrap;
}
.app-shell .hotspot-deck {
  top:71%;
}
@media(min-width:901px) and (min-height:851px) {
  .app-shell .brand img {
    height:126px;
  }
  .app-shell .hotspot-radio {
    top:38.5%;
  }
  .app-shell .hotspot-transmitter {
    top:38.5%;
  }
}
@media(max-width:560px) {
  .app-shell .hotspot-deck {
    top:74%;
  }
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-weight:400;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button,input,select {
  font:inherit;
}
button {
  color:inherit;
  cursor:pointer;
}
button:disabled {
  cursor:default;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #f3c888;
  outline-offset:5px;
}
button {
  touch-action:manipulation;
}
button:hover:not(:disabled) {
  filter:brightness(1.12);
}
button:active:not(:disabled) {
  transform:translateY(1px);
}
a {
  color:var(--cyan);
}
button:disabled {
  opacity:.38;
}
.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
.icon {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
.app-shell {
  height:100svh;
  min-height:680px;
  max-width:2100px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr)338px;
  grid-template-rows:134px minmax(0,1fr)100px;
  overflow:hidden;
}
.masthead {
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding:14px 32px 14px 38px;
  background:#071522;
  min-width:0;
}
.brand {
  width:197px;
  flex-shrink:0;
  border-right:1px solid #6c8499;
  padding-right:32px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.brand img {
  width:164px;
  height:106px;
  object-fit:contain;
}
.heading {
  padding-left:36px;
  min-width:0;
}
h1 {
  font-size:clamp(30px,3.9vw,60px);
  font-weight:350;
  letter-spacing:-1.2px;
  line-height:1.12;
  margin:0 0 8px;
  white-space:nowrap;
}
h1 span {
  color:var(--cyan);
  font-weight:400;
}
.heading p {
  font-size:22px;
  line-height:1.35;
  letter-spacing:.8px;
  color:var(--muted);
  font-weight:300;
  margin:0;
}
.clock {
  grid-column:2;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  border-left:1px solid var(--line);
  border-bottom:1px solid var(--line);
  position:relative;
}
.clock>.icon {
  width:37px;
  height:37px;
  color:#bbd7f5;
}
.clock>#timer {
  font-family:var(--mono);
  color:var(--cyan);
  font-size:44px;
  font-weight:500;
  letter-spacing:-2px;
}
.clock-state {
  position:absolute;
  bottom:18px;
  font:10px var(--mono);
  letter-spacing:1.4px;
  color:#99b1c8;
}
.clock.urgent #timer {
  color:#ffc287;
}
.scene {
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  min-width:0;
  min-height:0;
  background:#020a10;
}
.studio {
  position:relative;
  width:100%;
  aspect-ratio:3/2;
  flex-shrink:0;
}
.studio-image {
  display:block;
  width:100%;
  height:auto;
}
.hotspot {
  position:absolute;
  display:flex;
  align-items:center;
  gap:15px;
  padding:3px 14px 3px 3px;
  min-height:47px;
  background:#031321ed;
  border:1px solid #4a778b;
  border-radius:6px;
  box-shadow:0 0 20px #001a2599;
  text-transform:uppercase;
  color:var(--cyan);
  white-space:nowrap;
  transition:background .2s,box-shadow .2s;
}
.hotspot-number {
  height:39px;
  width:39px;
  border:2px solid var(--cyan);
  display:grid;
  place-items:center;
  border-radius:50%;
  font-family:var(--mono);
  font-size:19px;
  font-weight:500;
  flex-shrink:0;
}
.hotspot-label {
  font-size:13px;
  letter-spacing:.15px;
  font-weight:600;
}
.hotspot-radio {
  left:13.2%;
  top:37.5%;
}
.hotspot-deck {
  left:50.8%;
  top:76%;
}
.hotspot-transmitter {
  left:78%;
  top:36.5%;
  transform:translateX(-5%);
}
.hotspot-transmitter:active:not(:disabled) {
  transform:translate(-5%,1px);
}
.hotspot::after {
  content:"";
  position:absolute;
  width:15px;
  height:15px;
  top:58px;
  left:19px;
  border:2px solid var(--cyan);
  border-radius:50%;
  background:#0f5367;
  box-shadow:0 0 0 4px #00c9f22a;
}
.hotspot-deck::after {
  top:-25px;
  left:23px;
}
.hotspot.current {
  box-shadow:0 0 24px #00c9f230;
  border-color:var(--cyan);
}
.hotspot.current::after {
  animation:beacon 2.6s infinite;
}
.hotspot.solved {
  color:#8cdbb3;
  border-color:#5ea883;
}
.hotspot.solved .hotspot-number {
  border-color:#8cdbb3;
}
.hotspot.solved::after {
  border-color:#8cdbb3;
  background:#286144;
  animation:none;
}
.crt {
  position:absolute;
  left:46.5%;
  top:35.2%;
  width:18.9%;
  height:17%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#4ae3ff;
  text-align:center;
  pointer-events:none;
  text-shadow:0 0 9px #00c9f2;
}
.crt span {
  font:clamp(8px,1vw,16px) var(--mono);
  letter-spacing:3px;
}
.waveform {
  width:94%;
  height:auto;
  fill:none;
  stroke:#42deff;
  stroke-width:1.2;
  filter:drop-shadow(0 0 4px #00c9f2);
  opacity:.9;
}
.is-playing .waveform {
  animation:signal 3.2s ease-in-out infinite;
}
.is-won .crt {
  color:#a7ffc9;
}
.is-won .waveform {
  stroke:#a7ffc9;
}
.objective-rail {
  grid-row:2;
  grid-column:2;
  padding:28px 25px 22px;
  border-left:1px solid var(--line);
  background:radial-gradient(ellipse at 100% 60%,#10223255,transparent 70%),var(--surface);
  display:flex;
  flex-direction:column;
  min-height:0;
  overflow-y:auto;
}
.overline {
  margin:0 0 14px;
  font:14px var(--mono);
  letter-spacing:.8px;
  text-transform:uppercase;
  color:#a7c1da;
}
h2 {
  font-size:30px;
  font-weight:400;
  line-height:1.18;
  letter-spacing:-.65px;
  margin:0 0 18px;
}
.objective-top>p:not(.overline) {
  font-size:21px;
  font-weight:300;
  line-height:1.4;
  margin:0;
  color:#d2e0f0;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  min-height:54px;
  border:1.5px solid var(--cyan);
  border-radius:6px;
  background:#061b2b80;
  color:var(--cyan);
  padding:12px 21px;
  font-size:18px;
  font-weight:500;
  text-decoration:none;
  transition:background .15s;
}
.button:hover:not(:disabled) {
  background:#0a3044;
}
.button.solid {
  background:var(--cyan);
  color:#021723;
  border-color:var(--cyan);
}
.button.solid:hover {
  background:#66e5ff;
}
.primary-action {
  margin-top:27px;
  width:100%;
  min-height:63px;
  font-size:23px;
  justify-content:space-between;
  padding:13px 28px;
}
.primary-action .icon {
  width:29px;
  height:29px;
}
.discoveries {
  border-top:1px solid #476277;
  margin-top:38px;
  padding-top:27px;
}
.discoveries h3 {
  font-size:21px;
  font-weight:400;
  margin:0 0 17px;
}
.discovery-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.discovery {
  border:1px dashed #668093;
  min-height:93px;
  border-radius:7px;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  font-size:12px;
  line-height:1.25;
  color:var(--muted);
  padding:10px 4px;
}
.discovery:disabled {
  opacity:.45;
}
.discovery.available {
  border:1px solid #2db6d4;
  background:#071e2e;
  color:#d7e8f5;
}
.discovery:first-child {
  color:#e9c997;
}
.discovery .icon {
  width:23px;
  height:23px;
}
.discoveries>p {
  color:var(--muted);
  font-size:15px;
  line-height:1.4;
  margin:12px 0 0;
  max-width:230px;
}
.rail-bottom {
  margin-top:auto;
  padding-top:26px;
}
.hint-button {
  width:100%;
  min-height:65px;
  font-size:21px;
}
.hint-button .icon {
  width:29px;
  height:29px;
}
.rail-bottom>p {
  text-align:center;
  font-size:15px;
  color:var(--muted);
  margin:24px 0 0;
}
.toolbar {
  grid-column:1/-1;
  grid-row:3;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:18px 36px;
  border-top:1px solid var(--line);
  background:#07131e;
  gap:20px;
}
.help-control {
  border:0;
  background:none;
  display:flex;
  gap:22px;
  align-items:center;
  justify-self:start;
  padding:6px 0;
  text-align:left;
  color:#d2e5f8;
  font-size:16px;
}
.help-control .icon {
  width:29px;
  height:29px;
}
.progress {
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.progress>button {
  padding:0;
  border:0;
  background:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:9px;
  font-size:15px;
  min-width:49px;
  color:#b6cde2;
}
.progress>button>span {
  height:22px;
  width:22px;
  border:1.5px solid #8ba8c4;
  border-radius:50%;
  background:#07131e;
  display:grid;
  place-items:center;
}
.progress>button.current {
  color:var(--cyan);
}
.progress>button.current>span {
  border-color:var(--cyan);
  box-shadow:inset 0 0 0 4px #07131e;
  background:var(--cyan);
}
.progress>button.solved>span {
  border-color:#8cdbb3;
  background:#8cdbb3;
  box-shadow:inset 0 0 0 4px #07131e;
}
.progress>i {
  width:105px;
  border-top:1px solid #819fba;
  margin-top:11px;
}
.toolbar-actions {
  display:flex;
  gap:18px;
  justify-self:end;
}
.icon-button {
  background:transparent;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px;
  border-radius:5px;
  color:#b9d9f5;
  min-width:44px;
  min-height:44px;
}
.icon-button:hover {
  background:#193044;
}
.icon-button .icon {
  height:28px;
  width:28px;
}
.caption {
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  width:min(88%,740px);
  border:1px solid #55849d;
  border-radius:7px;
  background:#031522f5;
  box-shadow:0 10px 45px #0009;
  padding:14px 20px;
  z-index:3;
}
.caption[hidden] {
  display:none;
}
.caption-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--cyan);
  font:11px var(--mono);
  letter-spacing:.7px;
  text-transform:uppercase;
}
.caption-header i {
  font-style:normal;
  color:#668aa1;
  margin:0 7px;
}
.caption-close {
  border:0;
  background:none;
  color:var(--muted);
  padding:5px;
  display:grid;
  place-items:center;
  min-width:32px;
  min-height:28px;
}
.caption-close .icon {
  width:17px;
  height:17px;
}
.caption p {
  font-size:16px;
  line-height:1.55;
  margin:6px 0 0;
  color:#e1eaf6;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
dialog {
  width:min(620px,calc(100% - 32px));
  max-height:calc(100svh - 40px);
  padding:0;
  border:1px solid #47718b;
  border-radius:12px;
  background:linear-gradient(135deg,#102839,#071723 75%);
  color:var(--text);
  box-shadow:0 24px 100px #000b;
  overflow:auto;
}
dialog::backdrop {
  background:#01070db0;
  backdrop-filter:blur(4px);
}
.dialog-shell {
  position:relative;
  padding:40px 40px 34px;
}
.dialog-close {
  position:absolute;
  right:14px;
  top:14px;
  z-index:1;
}
.dialog-shell h2 {
  font-size:35px;
  font-weight:350;
  letter-spacing:-.8px;
  line-height:1.12;
  padding-right:20px;
  margin:0 0 18px;
}
.dialog-shell p {
  font-size:17px;
  line-height:1.55;
  color:#bfcedc;
}
.dialog-shell .overline {
  font-size:12px;
  margin:0 0 15px;
  color:var(--cyan);
  line-height:1.3;
}
.dialog-shell p.lead {
  font-size:21px;
  font-weight:300;
  line-height:1.5;
  color:#e0eaf3;
}
.dialog-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.dialog-actions .button {
  flex:1;
  white-space:nowrap;
  min-height:54px;
}
.text-button {
  border:0;
  border-bottom:1px solid #55778e;
  background:transparent;
  padding:5px 0;
  color:#bdd7ec;
  font-size:14px;
  display:inline-flex;
  gap:8px;
  align-items:center;
  text-decoration:none;
}
.text-button .icon {
  width:17px;
  height:17px;
}
.text-button:hover {
  color:var(--cyan);
}
.briefing-meta {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  color:var(--muted);
  font:12px var(--mono);
  padding:18px 0;
  border-top:1px solid #3b586b;
  border-bottom:1px solid #3b586b;
  margin:24px 0;
}
.briefing-meta span+span:before {
  content:"/";
  margin-right:16px;
  color:#456a82;
}
.small-print {
  font-size:13px!important;
  line-height:1.5!important;
  color:#91afc5!important;
  margin-bottom:0;
}
.note {
  background:#d9bf8e;
  color:#352b20;
  padding:24px 27px;
  border-radius:2px;
  box-shadow:3px 4px 0 #061421;
  margin:24px 0;
  border:1px solid #f0d3a0;
}
.note p {
  color:#332b22;
  font-size:20px;
  font-weight:400;
  line-height:1.5;
  margin:0;
}
.note .note-signature {
  font-size:13px;
  letter-spacing:.3px;
  margin-top:17px;
  opacity:.7;
}
.radio-panel {
  border:1px solid #597082;
  border-radius:8px;
  background:#05111a;
  padding:24px;
  margin:25px 0 18px;
}
.frequency-readout {
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:12px;
  color:var(--amber);
}
.frequency-readout output {
  font:52px var(--mono);
  letter-spacing:-3px;
}
.frequency-readout span {
  font:13px var(--mono);
  letter-spacing:1px;
}
.tuning-control {
  display:flex;
  align-items:center;
  gap:12px;
  margin:16px 0 8px;
}
.step-button {
  background:#17242d;
  border:1px solid #5b6a72;
  border-radius:50%;
  width:40px;
  height:40px;
  font-size:25px;
  flex-shrink:0;
  color:#eabd76;
}
.tuning-control input {
  width:100%;
  height:34px;
  accent-color:#eabd76;
  cursor:ew-resize;
  min-width:0;
}
.dial-labels {
  display:flex;
  justify-content:space-between;
  font:10px var(--mono);
  color:#a8987a;
  margin:0 52px;
}
.signal-readout {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:24px;
}
.signal-readout>span {
  font:10px var(--mono);
  letter-spacing:1px;
  text-transform:uppercase;
  min-width:82px;
  color:#9db7cb;
}
.signal-track {
  height:5px;
  flex:1;
  background:#20313c;
  border-radius:5px;
  overflow:hidden;
}
.signal-track i {
  display:block;
  width:3%;
  height:100%;
  background:var(--cyan);
  transition:width .1s;
}
.signal-readout output {
  font:11px var(--mono);
  color:var(--cyan);
  width:40px;
  text-align:right;
}
.feedback {
  min-height:23px;
  font-size:14px!important;
  line-height:1.4!important;
  color:#efbd89!important;
  margin:12px 0!important;
}
.feedback.success {
  color:#9fe3bc!important;
}
.puzzle-tools {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:18px;
  flex-wrap:wrap;
}
.transcript {
  border-left:2px solid #3c718e;
  padding:4px 0 4px 16px;
  color:#b9cede;
  font-size:15px;
  line-height:1.55;
  margin:18px 0;
}
.transcript summary {
  cursor:pointer;
  color:var(--cyan);
  font-size:14px;
}
.transcript p {
  font-size:15px;
  margin:12px 0 0;
}
.word-slots {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:26px 0 18px;
}
.word-slot {
  border:1px dashed #5b7890;
  border-radius:5px;
  min-height:74px;
  background:#061520;
  color:#7894a9;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  font-size:15px;
}
.word-slot small {
  font:10px var(--mono);
  color:#7594ad;
}
.word-slot.filled {
  border-style:solid;
  border-color:var(--cyan);
  color:var(--cyan);
  background:#0a2839;
}
.word-bank {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.word {
  border:1px solid #52718a;
  border-radius:5px;
  background:#132a3b;
  min-height:43px;
  font-size:15px;
}
.word.selected {
  opacity:.35;
}
.route-board {
  border-top:1px solid #3c5e75;
  margin:27px 0 20px;
}
.route-row {
  display:grid;
  grid-template-columns:1fr 28px 1.2fr;
  gap:12px;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid #3c5e75;
}
.route-row label {
  font:12px var(--mono);
  letter-spacing:1.3px;
  color:#c5d8e8;
}
.route-row .icon {
  color:#5c8da9;
  width:21px;
  height:21px;
}
.route-row select {
  background:#051723;
  border:1px solid #547891;
  border-radius:4px;
  min-height:45px;
  padding:9px;
  color:#d8e9f5;
  width:100%;
  font-size:15px;
}
.hint-copy {
  background:#0d2a3d;
  border-left:2px solid var(--cyan);
  padding:20px 22px;
  margin:24px 0;
}
.hint-copy p {
  margin:0;
  font-size:20px;
  color:#d6e9f6;
}
.hint-history {
  font-size:14px!important;
}
.victory-icon {
  height:60px;
  width:60px;
  border-radius:50%;
  border:1px solid #7ec89c;
  background:#102e29;
  color:#adf0c2;
  display:grid;
  place-items:center;
  margin-bottom:24px;
}
.victory-icon .icon {
  height:32px;
  width:32px;
}
.result-stats {
  display:flex;
  gap:40px;
  border-top:1px solid #365c6d;
  border-bottom:1px solid #365c6d;
  padding:20px 0;
  margin:24px 0;
}
.result-stats strong {
  display:block;
  font:30px var(--mono);
  color:var(--cyan);
  font-weight:400;
  margin-bottom:6px;
}
.result-stats span {
  font-size:13px;
  color:var(--muted);
}
.paused-description {
  margin-bottom:26px;
}
.noscript {
  position:fixed;
  inset:25%;
  z-index:10;
  background:var(--surface);
  padding:40px;
  border:1px solid var(--cyan);
  font-size:24px;
}
.audio-error {
  color:#eabd76;
}
.is-won .clock>#timer {
  color:#a7ffc9;
}
@keyframes beacon {
  0%,100% {
    box-shadow:0 0 0 4px #00c9f22a;
  }
  50% {
    box-shadow:0 0 0 9px #00c9f20a;
  }
}
@keyframes signal {
  0%,100% {
    transform:scaleY(.68);
    opacity:.65;
  }
  50% {
    transform:scaleY(1);
    opacity:1;
  }
}
@media(min-width:1600px) {
  .app-shell {
    grid-template-columns:minmax(0,1fr)360px;
  }
  .objective-rail {
    padding:35px 29px;
  }
  .objective-top>p:not(.overline) {
    font-size:23px;
  }
  .hotspot-label {
    font-size:14px;
  }
}
@media(max-height:850px) and (min-width:901px) {
  .app-shell {
    grid-template-rows:106px minmax(0,1fr)76px;
    min-height:620px;
    grid-template-columns:minmax(0,1fr)310px;
  }
  .masthead {
    padding:10px 25px;
  }
  .brand {
    width:151px;
    padding-right:22px;
  }
  .brand img {
    width:125px;
    height:85px;
  }
  .heading {
    padding-left:25px;
  }
  h1 {
    font-size:38px;
  }
  .heading p {
    font-size:18px;
  }
  .clock>#timer {
    font-size:38px;
  }
  .clock-state {
    bottom:11px;
  }
  .objective-rail {
    padding:22px;
  }
  .overline {
    font-size:12px;
    margin-bottom:10px;
  }
  h2 {
    font-size:27px;
    margin-bottom:14px;
  }
  .objective-top>p:not(.overline) {
    font-size:18px;
  }
  .primary-action {
    font-size:20px;
    margin-top:20px;
    min-height:53px;
    padding:12px 22px;
  }
  .discoveries {
    margin-top:27px;
    padding-top:20px;
  }
  .discoveries h3 {
    font-size:18px;
  }
  .discovery {
    min-height:76px;
    font-size:11px;
  }
  .rail-bottom {
    padding-top:20px;
  }
  .hint-button {
    min-height:52px;
    font-size:18px;
  }
  .rail-bottom>p {
    margin-top:15px;
    font-size:13px;
  }
  .toolbar {
    padding:12px 26px;
  }
  .hotspot-label {
    font-size:11px;
  }
  .hotspot {
    gap:9px;
    padding-right:11px;
  }
  .hotspot-number {
    width:33px;
    height:33px;
    font-size:16px;
  }
  .hotspot-transmitter {
    left:76%;
  }
  .help-control {
    font-size:14px;
  }
  .progress>i {
    width:75px;
  }
}
@media(max-width:1200px) and (min-width:901px) {
  .app-shell {
    grid-template-columns:minmax(0,1fr)300px;
  }
  .masthead {
    padding-left:22px;
  }
  .brand {
    width:138px;
    padding-right:20px;
  }
  .brand img {
    width:116px;
    height:90px;
  }
  .heading {
    padding-left:22px;
  }
  h1 {
    font-size:32px;
  }
  .heading p {
    font-size:17px;
    letter-spacing:.3px;
  }
  .hotspot-label {
    font-size:10px;
  }
  .hotspot {
    gap:7px;
    padding-right:9px;
  }
  .hotspot-number {
    width:31px;
    height:31px;
    font-size:15px;
  }
  .hotspot-transmitter {
    left:73%;
  }
  .hotspot-radio {
    left:9%;
  }
  .objective-rail {
    padding-left:22px;
    padding-right:22px;
  }
  .progress>i {
    width:57px;
  }
  .help-control {
    gap:13px;
    font-size:13px;
  }
  .toolbar-actions {
    gap:8px;
  }
}
@media(max-width:900px) {
  .app-shell {
    height:auto;
    min-height:100svh;
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-rows:auto auto auto auto;
    overflow:visible;
  }
  .masthead {
    padding:15px 20px;
    grid-column:1;
    grid-row:1;
    border-bottom:0;
  }
  .brand {
    width:83px;
    padding-right:14px;
  }
  .brand img {
    width:68px;
    height:62px;
  }
  .heading {
    padding-left:18px;
  }
  h1 {
    font-size:clamp(24px,4vw,34px);
    white-space:normal;
    letter-spacing:-.6px;
    margin-bottom:5px;
  }
  .heading p {
    font-size:13px;
    letter-spacing:0;
    max-width:310px;
  }
  .clock {
    grid-column:2;
    grid-row:1;
    border-left:0;
    border-bottom:0;
    padding:20px 20px 25px 5px;
    gap:8px;
  }
  .clock>.icon {
    width:22px;
    height:22px;
  }
  .clock>#timer {
    font-size:27px;
    letter-spacing:-1px;
  }
  .clock-state {
    font-size:8px;
    letter-spacing:.5px;
    bottom:14px;
  }
  .scene {
    grid-column:1/-1;
    grid-row:2;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .objective-rail {
    grid-column:1/-1;
    grid-row:3;
    border-left:0;
    padding:28px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px 35px;
    overflow:visible;
  }
  .objective-top>p:not(.overline) {
    font-size:18px;
  }
  .overline {
    font-size:12px;
  }
  .primary-action {
    font-size:20px;
    margin-top:22px;
    min-height:54px;
  }
  .discoveries {
    margin:0;
    border-top:0;
    padding:0;
  }
  .discoveries h3 {
    font-size:19px;
  }
  .rail-bottom {
    grid-column:1/-1;
    display:flex;
    align-items:center;
    gap:30px;
    padding:0;
    margin:0;
  }
  .rail-bottom .hint-button {
    width:auto;
    min-height:49px;
    font-size:17px;
    padding:10px 22px;
  }
  .rail-bottom>p {
    margin:0;
    font-size:13px;
  }
  .toolbar {
    grid-column:1/-1;
    grid-row:4;
    padding:18px 25px;
    grid-template-columns:1fr auto;
    gap:20px;
  }
  .help-control {
    display:none;
  }
  .progress {
    justify-self:start;
  }
  .progress>i {
    width:50px;
  }
  .toolbar-actions {
    gap:10px;
  }
  .hotspot-label {
    font-size:12px;
  }
  .hotspot-number {
    width:34px;
    height:34px;
    font-size:16px;
  }
  .hotspot {
    min-height:42px;
    gap:9px;
    padding-right:10px;
  }
  .hotspot-transmitter {
    left:75%;
  }
  .crt span {
    font-size:10px;
    letter-spacing:2px;
  }
  .caption {
    bottom:12px;
    padding:10px 16px;
  }
  .caption p {
    font-size:14px;
    line-height:1.4;
  }
  .caption-header {
    font-size:10px;
  }
}
@media(max-width:560px) {
  .masthead {
    padding:12px 11px;
    gap:0;
  }
  .brand {
    width:59px;
    padding-right:9px;
  }
  .brand img {
    width:48px;
    height:54px;
  }
  .heading {
    padding-left:11px;
  }
  h1 {
    font-size:23px;
    line-height:1.12;
    max-width:215px;
    font-weight:350;
    margin:0;
  }
  .heading p {
    display:none;
  }
  .clock {
    padding:15px 13px 23px 0;
    gap:0;
  }
  .clock>.icon {
    display:none;
  }
  .clock>#timer {
    font-size:25px;
  }
  .clock-state {
    bottom:12px;
    font-size:7px;
    letter-spacing:0;
  }
  .scene {
    overflow:visible;
  }
  .hotspot {
    border-radius:50%;
    padding:0;
    min-height:38px;
    background:#031321df;
    gap:0;
  }
  .hotspot-number {
    width:37px;
    height:37px;
    border:1.5px solid var(--cyan);
    font-size:17px;
  }
  .hotspot-label {
    display:none;
  }
  .hotspot::after {
    width:9px;
    height:9px;
    left:13px;
    top:45px;
    border-width:1px;
  }
  .hotspot-radio {
    left:13%;
    top:31%;
  }
  .hotspot-transmitter {
    left:81%;
    top:31%;
  }
  .hotspot-deck {
    left:57%;
    top:74%;
  }
  .hotspot-deck::after {
    top:-14px;
    left:13px;
  }
  .crt {
    gap:4px;
  }
  .crt span {
    font-size:7px;
    letter-spacing:1px;
  }
  .objective-rail {
    display:block;
    padding:25px 22px 22px;
  }
  .objective-top .overline {
    margin-bottom:9px;
  }
  .objective-top h2 {
    font-size:28px;
    margin-bottom:13px;
  }
  .objective-top>p:not(.overline) {
    font-size:18px;
    line-height:1.5;
    font-weight:300;
  }
  .primary-action {
    min-height:52px;
    font-size:19px;
    margin-top:20px;
    padding:10px 20px;
  }
  .discoveries {
    margin-top:25px;
    border-top:1px solid #314c60;
    padding-top:22px;
  }
  .discoveries h3 {
    font-size:17px;
    margin-bottom:12px;
  }
  .discovery {
    min-height:69px;
    flex-direction:row;
    gap:8px;
    font-size:11px;
    padding:8px 5px;
  }
  .discovery .icon {
    width:20px;
    height:20px;
  }
  .discoveries>p {
    font-size:12px;
    margin-top:9px;
    max-width:none;
  }
  .rail-bottom {
    display:flex;
    margin-top:24px;
    justify-content:space-between;
    gap:15px;
  }
  .rail-bottom .hint-button {
    font-size:15px;
    padding:10px 16px;
    gap:8px;
    min-height:46px;
  }
  .hint-button .icon {
    width:22px;
    height:22px;
  }
  .rail-bottom>p {
    font-size:12px;
  }
  .toolbar {
    padding:17px 17px;
    gap:10px;
    align-items:center;
  }
  .progress>i {
    width:24px;
  }
  .progress>button {
    font-size:11px;
    min-width:40px;
    gap:6px;
  }
  .progress>button>span {
    width:17px;
    height:17px;
  }
  .progress>i {
    margin-top:8px;
  }
  .toolbar-actions {
    gap:0;
  }
  .icon-button {
    padding:9px;
    min-width:40px;
    min-height:42px;
  }
  .icon-button .icon {
    height:23px;
    width:23px;
  }
  .caption {
    position:relative;
    left:auto;
    transform:none;
    width:100%;
    bottom:auto;
    border:0;
    border-radius:0;
    border-top:1px solid #3c637a;
    padding:13px 18px;
    grid-column:1;
    align-self:end;
  }
  .caption p {
    font-size:13px;
    line-height:1.5;
  }
  .dialog-shell {
    padding:34px 24px 27px;
  }
  .dialog-shell h2 {
    font-size:29px;
    padding-right:17px;
    line-height:1.16;
  }
  .dialog-shell p {
    font-size:16px;
  }
  .dialog-shell p.lead {
    font-size:19px;
  }
  .dialog-actions {
    gap:10px;
    margin-top:23px;
  }
  .dialog-actions .button {
    font-size:16px;
    padding:12px 14px;
  }
  .dialog-close {
    right:6px;
    top:6px;
  }
  .briefing-meta {
    gap:9px;
    font-size:10px;
  }
  .briefing-meta span+span:before {
    margin-right:9px;
  }
  .note {
    padding:20px;
  }
  .note p {
    font-size:18px;
  }
  .radio-panel {
    padding:20px 16px;
    margin-top:22px;
  }
  .frequency-readout output {
    font-size:44px;
  }
  .word-bank {
    gap:8px;
  }
  .word {
    font-size:13px;
  }
  .word-slots {
    gap:7px;
  }
  .word-slot {
    font-size:13px;
    min-height:64px;
  }
  .route-row {
    grid-template-columns:1fr 22px 1.25fr;
    gap:7px;
  }
  .route-row label {
    font-size:10px;
    letter-spacing:.6px;
  }
  .route-row select {
    font-size:14px;
  }
  .result-stats {
    gap:28px;
  }
  .result-stats strong {
    font-size:27px;
  }
  .hint-copy {
    padding:17px;
  }
  .hint-copy p {
    font-size:18px;
  }
  .puzzle-tools {
    gap:12px;
  }
  .text-button {
    font-size:13px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
