@font-face {
  font-family: Barlow Condensed;
  src: url(/fonts/display.ttf);
}
@font-face {
  font-family: IBM Plex Mono;
  src: url(/fonts/mono.ttf);
}
:root {
  color-scheme: dark;
  --bg: #141515;
  --orange: #f18a4d;
  --amber: #eab363;
  --ink: #eeece7;
  --mute: #a5a59c;
  --mono: "IBM Plex Mono", monospace;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --line: #434440;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    15px Arial,
    Helvetica,
    sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 48% 20%, #2b2b272e, transparent 65%),
    repeating-linear-gradient(45deg, transparent 0 3px, #ffffff02 3px 4px);
  min-height: 100vh;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
  color: inherit;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #ffc783;
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
button,
i[data-icon],
span[data-icon] {
  align-items: center;
}
svg {
  display: block;
  flex-shrink: 0;
}
i[data-icon] {
  display: inline-flex;
  font-style: normal;
}
button {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
}
button:active:not(:disabled) {
  filter: brightness(0.85);
  transform: translateY(1px);
}
[hidden] {
  display: none !important;
}
.mast {
  border-bottom: 1px solid #373835;
  background: #191a19;
}
.mastin {
  max-width: 1180px;
  padding: 0 40px;
  height: 60px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 22px var(--display);
  letter-spacing: 1.6px;
}
.brandmark {
  display: grid;
  place-items: center;
  color: #181917;
  background: var(--orange);
  width: 29px;
  height: 29px;
  border-radius: 4px;
}
.brandmark svg {
  width: 24px;
  height: 24px;
}
.branddiv {
  height: 16px;
  width: 1px;
  background: #51514a;
  margin: 0 3px;
}
.branddesc,
.micro,
.kicker,
.sectionlabel,
.equipment,
.lamp,
.displaytop,
.dialnums,
.frequency span,
.save,
.cassette,
.bottomrow small,
footer,
.guide,
#shift-state,
.identity,
.presetfreq,
.tag,
.modalmeta {
  font-family: var(--mono);
}
.branddesc {
  font-size: 10px;
  color: #a6a69e;
  letter-spacing: 1.7px;
}
.guide {
  border: 0;
  background: transparent;
  color: #c9c8bf;
  font-size: 12px;
  padding: 10px 0 10px 10px;
}
.guide svg {
  width: 16px;
  height: 16px;
}
main {
  width: min(1030px, calc(100% - 80px));
  margin: 0 auto 30px;
}
.hero {
  padding: 32px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #b9b8ad;
}
.kicker span {
  color: #696b62;
}
.bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
  height: 11px;
}
.bars em {
  width: 3px;
  background: var(--orange);
  height: 4px;
}
.bars em:nth-child(2) {
  height: 7px;
}
.bars em:nth-child(3) {
  height: 9px;
}
.bars em:nth-child(4) {
  height: 12px;
}
h1 {
  font: 700 clamp(38px, 4.35vw, 65px) / 1.02 var(--display);
  letter-spacing: -0.7px;
  margin: 9px 0 9px;
}
h1 b {
  color: var(--orange);
  font-weight: inherit;
}
.hero p {
  margin: 0;
  color: #bcbcb1;
  font-size: 14px;
  line-height: 1.55;
}
.start,
.primary {
  background: linear-gradient(#f4a16b, #e78a50);
  border: 1px solid #ffb080;
  border-bottom: 3px solid #9a552e;
  color: #201c18;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 3px 4px #0005;
}
.start {
  padding: 14px 15px;
  white-space: nowrap;
  gap: 10px;
}
.start svg {
  width: 18px;
  height: 18px;
}
.start svg:last-child {
  width: 15px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76ab81;
  box-shadow: 0 0 6px #80c08c40;
}
#shift-state {
  color: #b4c6a9;
  font-size: 11px;
  letter-spacing: 1px;
}
.console {
  position: relative;
  padding: 17px 30px 19px;
  border: 1px solid #4d4e48;
  border-radius: 13px;
  background:
    repeating-linear-gradient(0deg, #ffffff02 0px 1px, transparent 1px 3px),
    linear-gradient(112deg, #323330, #2a2b29 52%, #282926);
  box-shadow:
    inset 0 2px 0 #ffffff17,
    inset 0 0 0 5px #21221e66,
    0 13px 36px #0005;
}
.bolts i {
  position: absolute;
  width: 8px;
  height: 8px;
  display: block;
  background: linear-gradient(
    45deg,
    #333430 40%,
    #101110 41% 53%,
    #61615b 54%,
    #444540 70%
  );
  border: 1px solid #242522;
  border-radius: 50%;
  box-shadow: 0 1px 1px #63645b;
}
.bolts i:nth-child(1) {
  left: 10px;
  top: 10px;
}
.bolts i:nth-child(2) {
  right: 10px;
  top: 10px;
}
.bolts i:nth-child(3) {
  left: 10px;
  bottom: 10px;
}
.bolts i:nth-child(4) {
  right: 10px;
  bottom: 10px;
}
.platehead,
.headright,
.equipment,
.sectionlabel > span,
.displaytop,
.displaytop > span,
.identity,
.location,
.roomrow,
.bottomrow,
.sectionlabel,
.deckrow,
.txcontrols,
.tapetext,
.roomrow > div,
.location > div {
  display: flex;
  align-items: center;
}
.platehead {
  justify-content: space-between;
  min-height: 25px;
  margin-bottom: 12px;
}
.equipment {
  gap: 9px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: bold;
  color: #d4d3c7;
}
.equipment svg {
  width: 18px;
}
.equipment span {
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid #55564f;
  padding: 2px 5px;
  border-radius: 2px;
  color: #a6a79d;
}
.headright {
  gap: 17px;
}
.vents {
  width: 71px;
  height: 13px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 4px,
    #141512 4px 6px,
    #43453d 6px 7px
  );
  transform: skewX(-11deg);
}
.lamp {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #262221;
  border: 1px solid #51423b;
  border-radius: 4px;
  color: #bc8976;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
}
.lamp i {
  width: 7px;
  height: 7px;
  background: #894f40;
  border-radius: 50%;
  border: 1px solid #925c4c;
}
.lamp.hot {
  color: #ffb6a4;
  background: #582e23;
  border-color: #a7634e;
}
.hot i {
  background: #ff6e4c;
  box-shadow: 0 0 9px #ff7849;
}
.screen {
  overflow: hidden;
  position: relative;
  background: linear-gradient(100deg, #191a12, #262418 70%, #1f2017);
  border: 5px solid #161714;
  border-radius: 7px;
  box-shadow:
    0 1px 1px #67685c,
    inset 0 0 20px #000a;
  color: var(--amber);
}
.screen:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    #0709041f 0 1px,
    transparent 1px 3px
  );
  z-index: 2;
}
.screenart {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 32px;
  width: 65%;
  background: url(/dial-landscape.png) right bottom / auto 100% no-repeat;
  image-rendering: pixelated;
}
.screenbody {
  position: relative;
  padding: 14px 21px 12px;
}
.displaytop {
  justify-content: space-between;
  letter-spacing: 1.5px;
  font-size: 10px;
}
.displaytop > span {
  gap: 7px;
}
.square {
  width: 6px;
  height: 6px;
  background: var(--amber);
}
.dimslash {
  opacity: 0.55;
}
.timer {
  font-size: 13px;
  letter-spacing: 1px;
  background: #1f2016ce;
  padding: 3px 6px;
  border: 1px solid #76644160;
  border-radius: 3px;
}
.timer svg {
  width: 13px;
  height: 13px;
}
.frequency {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 2px 0 -3px;
}
.frequency strong {
  font: 700 77px/0.96 var(--display);
  letter-spacing: 1px;
  color: #f8bc6c;
  text-shadow: 0 0 12px #f0a14328;
  font-variant-numeric: tabular-nums;
}
.frequency span {
  font-size: 17px;
}
.identity {
  font-size: 13px;
  gap: 8px;
}
.identity svg {
  width: 17px;
  height: 17px;
}
.dial {
  position: relative;
  margin: 0 20px 8px;
  border-top: 1px solid #a48b5548;
}
.ticks {
  height: 9px;
  background: repeating-linear-gradient(
    to right,
    #af945f 0 1px,
    transparent 1px 1.25%
  );
  opacity: 0.7;
}
.dialnums {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #c5a571;
  letter-spacing: 1px;
}
.needle {
  position: absolute;
  left: 3.9%;
  top: -3px;
  height: 14px;
  width: 2px;
  background: #f7bd78;
  box-shadow: 0 0 4px #efa44b;
}
.needle:before {
  content: "";
  position: absolute;
  left: -3px;
  top: -2px;
  border-top: 5px solid #f7bd78;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.sectionlabel {
  justify-content: space-between;
  color: #c4c4b8;
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: bold;
  gap: 8px;
}
.sectionlabel > span {
  gap: 8px;
}
.sectionlabel svg {
  width: 16px;
  height: 16px;
  color: #b5b5a7;
}
.sectionlabel small {
  color: #95978d;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: normal;
}
.presetslabel {
  margin: 18px 0 9px;
}
.presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.preset {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: left;
  padding: 9px 14px 11px;
  background: linear-gradient(175deg, #42433e, #343531);
  border: 1px solid #51534a;
  border-bottom: 3px solid #191a17;
  box-shadow:
    0 2px 1px #131411,
    inset 0 1px #ffffff0d;
  border-radius: 5px;
  position: relative;
}
.preset.sel {
  border: 1px solid #c17b4c;
  border-bottom: 3px solid #693e28;
  background: linear-gradient(120deg, #4d4034, #42382f);
  box-shadow:
    0 2px 1px #161511,
    inset 0 1px #fbc1961c;
}
.presetrow,
.presetfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pnum {
  font: 700 24px/0.97 var(--display);
  color: #bfbeae;
}
.preset svg {
  width: 19px;
  height: 19px;
  color: #a3a599;
}
.preset.sel .pnum,
.preset.sel svg {
  color: #f2a66d;
}
.preset strong {
  font-size: 14px;
  font-weight: 600;
}
.presetfreq {
  font-size: 9px;
  color: #aaa99b;
}
.statusled {
  width: 5px;
  height: 5px;
  background: #787b6f;
  border-radius: 50%;
  box-shadow: 0 1px 1px #171815;
}
.sel .statusled {
  background: #ffaf70;
  box-shadow: 0 0 7px #f39a5a8c;
}
.modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.module {
  padding: 14px 16px 13px;
  background: #232421b5;
  border: 1px solid #41433c;
  border-radius: 6px;
  box-shadow: inset 0 1px 4px #14151266;
}
.deckrow {
  gap: 17px;
  margin: 12px 0;
}
.cassette {
  width: 143px;
  height: 65px;
  background: linear-gradient(160deg, #454642, #2d2e2a 65%);
  position: relative;
  border: 2px solid #161713;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px #5b5b51,
    0 2px 3px #1119;
  padding: 5px 8px;
  transform: rotate(-1deg);
  flex-shrink: 0;
}
.casslabel {
  height: 16px;
  background: #c7bf9c;
  color: #39392d;
  font-size: 8px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.casslabel span {
  font: bold italic 12px Arial;
}
.strip {
  height: 5px;
  background: repeating-linear-gradient(0deg, #bc733c 0 2px, #7b4c2b 2px 3px);
}
.window {
  margin: 3px auto;
  width: 87px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #161714;
  border: 1px solid #57594e;
  border-radius: 10px;
  padding: 1px 3px;
}
.reel {
  height: 14px;
  width: 14px;
  border: 2px solid #a7a68d;
  border-radius: 50%;
  background: repeating-conic-gradient(#c0bd9e 0deg 24deg, #46483c 24deg 60deg);
  position: relative;
}
.reel:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #161712;
}
.window span {
  width: 35px;
  height: 9px;
  border: 1px solid #787869;
  background: linear-gradient(#47473a 50%, #8d846a 50%);
}
.cassbase {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 9px;
  border: 1px solid #646459;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  background: #45463e;
  text-align: center;
  color: #1b1c18;
  font-size: 8px;
}
.tapetext,
.roomrow > div,
.location > div {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.micro {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #a4a599;
}
.tapetext strong {
  font-size: 17px;
  font-weight: 600;
}
.linkbtn {
  border: 0;
  background: transparent;
  padding: 3px 0;
  font-size: 11px;
  color: #edaa79;
  align-items: center;
}
.save em {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.twobuttons,
.txcontrols {
  display: flex;
  gap: 8px;
}
.twobuttons button,
.phrasebtn,
.latch,
.secondary {
  background: linear-gradient(#393b36, #30322d);
  border: 1px solid #505249;
  border-bottom: 2px solid #171813;
  border-radius: 4px;
  box-shadow: 0 1px 2px #121310;
  color: #d6d6c9;
  font-size: 12px;
  font-weight: 600;
  min-height: 35px;
  flex: 1;
  padding: 5px 7px;
}
.twobuttons svg,
.txcontrols svg {
  width: 15px;
  height: 15px;
}
.twobuttons button:disabled,
.latch:disabled,
.phrasebtn:disabled {
  color: #afafa3;
}
.txcontrols {
  margin: 13px 0;
}
.txcontrols .latch {
  flex-direction: column;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 6px;
  padding: 6px;
  color: #e4b18b;
  border-color: #78604b;
  background: #443a30;
}
.latch small {
  grid-column: span 2;
  font: 8px var(--mono);
  letter-spacing: 1px;
}
.latch.hot {
  color: #ffd4b5;
  background: #6c3e2e;
}
.phrasebtn {
  height: 46px;
}
.roomrow {
  border-top: 1px solid #42433b;
  padding-top: 10px;
  justify-content: space-between;
}
.roomrow strong,
.location strong {
  font-size: 14px;
  font-weight: 600;
}
.rocker {
  background: transparent;
  border: 0;
  gap: 8px;
  padding: 2px 1px 2px 8px;
}
.rockerwell {
  width: 48px;
  height: 24px;
  border: 2px solid #131410;
  border-radius: 5px;
  background: #151713;
  box-shadow: 0 1px #5e6057;
  position: relative;
}
.rockerwell i {
  position: absolute;
  right: 1px;
  top: 1px;
  width: 23px;
  height: 18px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, #56574e 0 2px, #44453e 2px 3px);
  box-shadow:
    inset 0 2px #818375,
    0 2px #080907;
}
.rocker[aria-pressed="false"] i {
  right: auto;
  left: 1px;
}
.rocker b {
  font: 10px var(--mono);
  color: #eaa46d;
  width: 23px;
}
.rocker[aria-pressed="false"] b {
  color: #a5a59b;
}
.bottomrow {
  margin-top: 15px;
  border-top: 1px solid #45463e;
  padding-top: 13px;
  justify-content: space-between;
}
.location {
  gap: 10px;
}
.location > i {
  color: #b9bbac;
}
.isolate {
  position: relative;
  overflow: hidden;
  padding: 9px 13px 9px 20px;
  border: 1px solid #89634c;
  border-bottom: 2px solid #49372b;
  border-radius: 4px;
  background: #40372e;
  color: #efbc92;
  font-weight: bold;
  font-size: 13px;
}
.hazard {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: repeating-linear-gradient(-45deg, #b58055 0 4px, #3e3025 4px 8px);
}
.isolate svg {
  width: 15px;
  height: 15px;
}
.isolate small {
  font-size: 8px;
  border-left: 1px solid #78614b;
  padding-left: 9px;
  letter-spacing: 1px;
}
.captionline {
  background: #1b1c19;
  border-left: 2px solid var(--amber);
  margin-top: 14px;
  padding: 8px 11px;
  font-size: 13px;
  line-height: 1.4;
  color: #e3ddca;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a6a79d;
  font-size: 10px;
  gap: 15px;
  padding: 14px 1px;
}
footer span,
footer button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
footer svg {
  width: 16px;
  height: 16px;
}
footer button {
  background: transparent;
  border: 0;
  font: inherit;
  color: #b9b9ae;
  white-space: nowrap;
  padding: 8px 0;
}
footer b {
  font-weight: normal;
  color: var(--orange);
}
dialog {
  background: linear-gradient(140deg, #30312d, #242522);
  color: var(--ink);
  width: min(430px, calc(100% - 28px));
  max-height: 89dvh;
  overflow: auto;
  border: 1px solid #626257;
  padding: 26px;
  border-radius: 10px;
  box-shadow: 0 18px 70px #000a;
}
dialog::backdrop {
  background: #090a09bd;
  backdrop-filter: blur(3px);
}
.modalmeta {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--orange);
}
h2 {
  font: 34px/1.1 var(--display);
  margin: 9px 0 12px;
}
dialog p,
dialog li {
  font-size: 14px;
  line-height: 1.5;
  color: #cecec1;
}
dialog ul {
  padding-left: 18px;
}
dialog li {
  margin: 7px 0;
}
dialog h3 {
  margin: 18px 0 6px;
  font: 23px var(--display);
}
dialog .primary,
dialog .secondary {
  width: 100%;
  margin-top: 8px;
  min-height: 43px;
  align-items: center;
}
.selectline {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.selectline button {
  justify-content: flex-start;
  padding: 11px 12px;
}
.typed {
  display: flex;
  gap: 6px;
  margin: 12px 0 6px;
}
.typed input,
select {
  min-width: 0;
  background: #1a1b18;
  color: #eee;
  border: 1px solid #5b5e51;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
}
.typed input {
  flex: 1;
}
.typed button {
  border: 1px solid #806347;
  color: #eeb384;
  background: #43392c;
  border-radius: 4px;
}
.resultline {
  border-top: 1px solid #4a4b41;
  padding-top: 12px;
}
.closing {
  float: right;
  background: none;
  border: 0;
  color: #c4c4b7;
  padding: 0 0 7px 7px;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.choices button {
  margin: 0;
}
.choices .selected {
  color: var(--amber);
  border-color: #ad8156;
}
.mini {
  font: 11px/1.5 var(--mono);
  color: #aeb09f;
}
dialog .roomchoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 13px;
}
#nextroom {
  font-size: 13px;
}
@media (min-width: 1400px) {
  main {
    width: min(1100px, calc(100% - 80px));
  }
  .hero {
    padding: 40px 0 30px;
  }
  .screenbody {
    padding: 18px 24px 16px;
  }
  .frequency strong {
    font-size: 90px;
  }
  .preset {
    padding: 12px 15px;
  }
  .modules {
    margin-top: 22px;
  }
  .module {
    padding: 17px 19px;
  }
  .deckrow {
    margin: 15px 0;
  }
  .console {
    padding: 19px 32px 22px;
  }
}
@media (max-width: 850px) {
  main {
    width: calc(100% - 40px);
  }
  .mastin {
    padding: 0 21px;
  }
  .console {
    padding: 17px 20px;
  }
  .hero {
    gap: 10px;
  }
  .hero p {
    font-size: 13px;
  }
  .start {
    padding: 12px 9px;
    font-size: 13px;
  }
  .presets {
    gap: 7px;
  }
  .preset {
    padding: 8px 10px;
  }
  .module {
    padding: 12px;
  }
  .cassette {
    width: 116px;
  }
  .deckrow {
    gap: 12px;
  }
  .twobuttons button {
    font-size: 11px;
    gap: 4px;
  }
}
@media (max-width: 640px) {
  .mastin {
    height: 45px;
    padding: 0 16px;
  }
  .brand {
    font-size: 20px;
  }
  .brandmark {
    width: 25px;
    height: 25px;
  }
  .brandmark svg {
    width: 21px;
  }
  .branddesc {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .guide {
    font-size: 10px;
    gap: 5px;
  }
  .guide svg {
    width: 14px;
  }
  main {
    width: calc(100% - 22px);
    margin-bottom: 14px;
  }
  .hero {
    display: block;
    padding: 20px 4px 15px;
  }
  .kicker {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero h1 {
    font-size: clamp(34px, 9.3vw, 54px);
    margin: 7px 0;
  }
  .hero p {
    font-size: 13px;
    max-width: 400px;
  }
  .start {
    min-height: 42px;
    width: 100%;
    margin-top: 13px;
    font-size: 14px;
  }
  .start svg:last-child {
    margin-left: auto;
  }
  .start svg:first-child {
    margin-right: auto;
  }
  .hero:has(#start[hidden]) {
    padding: 12px 4px;
  }
  .hero:has(#start[hidden]) h1 {
    font-size: 28px;
  }
  .hero:has(#start[hidden]) p,
  .hero:has(#start[hidden]) .kicker {
    display: none;
  }
  #shift-state {
    font-size: 8px;
  }
  .console {
    padding: 13px 12px 12px;
    border-radius: 10px;
  }
  .bolts i {
    width: 5px;
    height: 5px;
  }
  .bolts i:nth-child(1),
  .bolts i:nth-child(3) {
    left: 5px;
  }
  .bolts i:nth-child(2),
  .bolts i:nth-child(4) {
    right: 5px;
  }
  .bolts i:nth-child(-n + 2) {
    top: 5px;
  }
  .bolts i:nth-child(n + 3) {
    bottom: 5px;
  }
  .equipment {
    font-size: 9px;
    gap: 5px;
    letter-spacing: 0.8px;
  }
  .equipment span {
    font-size: 8px;
  }
  .platehead {
    margin-bottom: 8px;
    min-height: 20px;
  }
  .vents {
    width: 39px;
    height: 10px;
  }
  .headright {
    gap: 8px;
  }
  .lamp {
    font-size: 8px;
    padding: 3px 5px;
  }
  .screen {
    border-width: 3px;
  }
  .screenbody {
    padding: 9px 11px 10px;
  }
  .screenart {
    width: 70%;
    bottom: 27px;
    background-size: auto 90%;
    background-position: 82% bottom;
    mask-image: linear-gradient(90deg, transparent, #000 22%);
  }
  .displaytop {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .timer {
    font-size: 11px;
  }
  .frequency strong {
    font-size: 63px;
  }
  .frequency span {
    font-size: 13px;
  }
  .identity {
    font-size: 11px;
    gap: 5px;
  }
  .dial {
    margin: 0 10px 6px;
  }
  .dialnums {
    font-size: 7px;
  }
  .presetslabel {
    margin: 12px 0 7px;
  }
  .sectionlabel {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .sectionlabel small {
    font-size: 8px;
  }
  .sectionlabel svg {
    width: 13px;
    height: 13px;
  }
  .presets {
    gap: 5px;
  }
  .preset {
    gap: 5px;
    padding: 7px 6px;
    min-height: 71px;
  }
  .pnum {
    font-size: 19px;
  }
  .preset svg {
    width: 15px;
    height: 15px;
  }
  .preset strong {
    font-size: 11px;
  }
  .presetfreq {
    font-size: 8px;
  }
  .modules {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 12px;
  }
  .module {
    padding: 10px 11px;
  }
  .deckrow {
    margin: 8px 0;
    gap: 15px;
  }
  .cassette {
    width: 118px;
    height: 55px;
    padding: 3px 6px;
  }
  .casslabel {
    height: 12px;
  }
  .window {
    margin-top: 2px;
    height: 18px;
  }
  .cassbase {
    height: 7px;
    font-size: 6px;
  }
  .tapetext {
    gap: 2px;
  }
  .micro {
    font-size: 8px;
  }
  .tapetext strong {
    font-size: 15px;
  }
  .linkbtn {
    font-size: 11px;
    min-height: 27px;
  }
  .twobuttons button {
    font-size: 12px;
    min-height: 40px;
    gap: 6px;
  }
  .txcontrols {
    margin: 9px 0;
  }
  .txcontrols button {
    min-height: 42px;
  }
  .roomrow {
    padding-top: 7px;
  }
  .roomrow strong,
  .location strong {
    font-size: 13px;
  }
  .rocker {
    min-height: 41px;
  }
  .bottomrow {
    margin-top: 10px;
    padding-top: 10px;
  }
  .isolate {
    min-height: 42px;
    font-size: 12px;
  }
  .location {
    gap: 5px;
  }
  .location svg {
    width: 16px;
  }
  footer {
    font-size: 9px;
    align-items: flex-start;
    padding: 8px 3px;
    gap: 8px;
  }
  footer span {
    padding: 7px 0;
    line-height: 1.4;
  }
  footer button {
    font-size: 9px;
  }
  footer svg {
    width: 14px;
    height: 14px;
  }
  .captionline {
    font-size: 12px;
    margin: 8px 0 0;
  }
  .modalmeta {
    font-size: 9px;
  }
  dialog {
    padding: 20px;
  }
  .guide,
  .rocker,
  footer button {
    min-height: 40px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .lamp.hot i {
    animation: glow 1.6s ease infinite alternate;
  }
  @keyframes glow {
    to {
      box-shadow: 0 0 12px #ff794f;
    }
  }
}
.brand,
.guide {
  white-space: nowrap;
}
.branddesc {
  font-weight: 500;
}
.screenbody {
  pointer-events: none;
}
@media (max-width: 640px) {
  .brand {
    gap: 7px;
  }
  .branddesc {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .branddiv {
    margin: 0 1px;
  }
  .screenart {
    mask-image: linear-gradient(90deg, transparent 0%, #0003 17%, #000 46%);
  }
  .displaytop .timer {
    background: #242319;
  }
  .start {
    justify-content: center;
  }
  .start i {
    margin: 0 !important;
  }
}
.loaded #sendtape {
  color: #f3be96;
  background: linear-gradient(#493d31, #3b322a);
  border-color: #806449;
}
.loaded .casslabel {
  background: #e2c399;
}
.loaded .save em {
  background: #e69760;
}
@media (prefers-reduced-motion: no-preference) {
  .spinning .reel {
    animation: roll 1.8s linear infinite;
  }
  @keyframes roll {
    to {
      transform: rotate(360deg);
    }
  }
}
