:root {
  --ink:#263e32;
  --muted:#778175;
  --paper:#fbfaf3;
  --mint:#e9ede1;
  --coral:#dd6d50;
  --yellow:#e7be59;
  --line:#d8dece;
  --green:#64876a;
  --body-font:"Trebuchet MS",Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  background:var(--mint);
  color:var(--ink);
  font-family:var(--body-font);
}

body {
  margin:0;
  background:radial-gradient(ellipse at 90% 12%,#dce5d4 0,transparent 35%),var(--mint);
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

button {
  font:inherit;
  cursor:pointer;
}

button:disabled {
  cursor:default;
  opacity:.35;
}

button:focus-visible,a:focus-visible,canvas:focus-visible {
  outline:3px solid var(--coral);
  outline-offset:4px;
}

svg {
  width:24px;
  height:24px;
  flex-shrink:0;
}

.icon-library {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.page {
  max-width:1376px;
  padding:0 44px;
  margin:auto;
}

.masthead {
  height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #cad2c2;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
  text-decoration:none;
  font-size:12px;
  letter-spacing:1.6px;
  font-weight:800;
}

.brand-mark {
  display:grid;
  place-items:center;
  width:37px;
  height:37px;
  background:var(--ink);
  border-radius:10px;
  color:#bf9666;
  transform:rotate(-5deg);
}

.brand-mark svg {
  width:29px;
  height:29px;
}

.brand-period {
  font-size:10px;
  align-self:flex-start;
  margin-top:10px;
  margin-left:-7px;
}

.masthead-right {
  display:flex;
  align-items:center;
  gap:36px;
}

.edition {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.4px;
}

.live-dot {
  width:6px;
  height:6px;
  display:inline-block;
  border-radius:50%;
  background:var(--green);
}

.text-button {
  border:0;
  background:none;
  padding:8px 0;
  color:var(--ink);
  font-weight:bold;
  font-size:12px;
}

.text-button span {
  font-size:18px;
  margin-left:10px;
}

.intro {
  padding:40px 0 36px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
}

.eyebrow {
  font-size:10px;
  font-weight:800;
  letter-spacing:1.9px;
  margin:0 0 11px;
}

.intro .eyebrow {
  color:#73806e;
}

h1 {
  font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;
  font-size:76px;
  line-height:1.02;
  letter-spacing:-5px;
  margin:0 0 13px;
  font-weight:900;
}

h1>span:first-child {
  color:var(--coral);
}

.title-star {
  display:inline-block;
  font-size:51px;
  vertical-align:top;
  line-height:1.2;
  margin-left:16px;
  color:#a5b49a;
  transform:rotate(12deg);
  letter-spacing:0;
}

.tagline {
  font-size:14px;
  color:#657060;
  margin:0;
  line-height:1.6;
}

.story-note {
  position:relative;
  flex:0 0 300px;
  background:#f3eedc;
  padding:22px 24px 18px;
  transform:rotate(2deg);
  box-shadow:0 4px 0 #cad2bf66;
  max-width:310px;
}

.note-pin {
  position:absolute;
  top:-6px;
  left:49%;
  width:48px;
  height:19px;
  background:#d6ddc1b5;
  transform:rotate(-5deg);
}

.note-label {
  font-size:8px;
  letter-spacing:1.7px;
  font-weight:bold;
  color:#958a61;
}

.story-note p {
  font-size:12px;
  line-height:1.65;
  margin:9px 0 6px;
}

.note-doodle {
  font-family:Georgia,serif;
  font-size:13px;
  font-style:italic;
  color:#968665;
}

.arcade {
  display:grid;
  grid-template-columns:minmax(0,1fr) 266px;
  background:var(--paper);
  border:1px solid #d1d9c7;
  border-radius:17px;
  box-shadow:0 8px 0 #d0d8c560,0 18px 40px #263e3208;
  overflow:hidden;
}

.play-column {
  min-width:0;
}

.game-toolbar {
  height:73px;
  background:#fcfbf6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 22px;
  border-bottom:1px solid var(--line);
}

.level-info {
  display:flex;
  align-items:center;
  gap:12px;
}

.level-number {
  display:grid;
  place-items:center;
  font-size:16px;
  font-weight:bold;
  width:35px;
  height:35px;
  border-radius:9px;
  background:#e6ecdf;
  color:#5d785e;
}

.small-label {
  display:block;
  font-size:8px;
  font-weight:800;
  letter-spacing:1.2px;
  color:#87907e;
}

.level-info strong {
  display:block;
  font-size:14px;
  margin-top:5px;
}

.toolbar-actions {
  display:flex;
  gap:8px;
}

.icon-button {
  width:34px;
  height:34px;
  position:relative;
  border:1px solid #dfe4d7;
  border-radius:8px;
  background:transparent;
  color:#66775f;
  display:grid;
  place-items:center;
}

.icon-button svg {
  width:16px;
  height:16px;
}

.icon-button:hover:not(:disabled) {
  background:#eaf0e2;
}

.mute-slash {
  display:none;
  position:absolute;
  width:23px;
  height:2px;
  background:#66775f;
  transform:rotate(-47deg);
  box-shadow:0 -1px #fcfbf6;
}

.muted .mute-slash {
  display:block;
}

.scene {
  position:relative;
  background:#b1c7a4;
  overflow:hidden;
  aspect-ratio:960/640;
}

.scene canvas {
  display:block;
  width:100%;
  height:100%;
  outline-offset:-5px;
}

.scene-top {
  position:absolute;
  top:17px;
  left:20px;
  right:20px;
  display:flex;
  justify-content:space-between;
  pointer-events:none;
  gap:20px;
}

.scene-location {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:8px;
  letter-spacing:1.5px;
  font-weight:bold;
  color:#f6f6e9;
  background:#263e32ce;
  padding:8px 11px;
  border-radius:5px;
}

.scene-location .live-dot {
  background:#c1d7a1;
}

.scene-tip {
  font-size:9px;
  color:#36583d;
  font-weight:bold;
  background:#f8f4e5de;
  padding:8px 10px;
  border-radius:5px;
}

.overlay {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:#233c2225;
  backdrop-filter:blur(1px);
}

.overlay[hidden] {
  display:none;
}

.overlay-card {
  text-align:center;
  width:368px;
  padding:25px 29px 23px;
  background:#fbfaf1f5;
  border:1px solid #fffdf2;
  border-radius:17px;
  box-shadow:0 18px 55px #19321b32,0 4px 0 #ebeddde3;
  transform:rotate(-1deg);
}

.crew-badge {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:23px;
}

.crew-badge svg {
  color:#a8784a;
  width:43px;
  height:43px;
  background:#e9ebdb;
  border-radius:50%;
  padding:5px;
}

.crew-badge span {
  font-size:8px;
  letter-spacing:1.2px;
  font-weight:bold;
  max-width:92px;
  line-height:1.6;
  text-align:left;
}

.overlay-kicker {
  font-size:7px;
  letter-spacing:1.6px;
  font-weight:bold;
  color:#829175;
  margin:0 0 12px;
}

.overlay h2 {
  font-size:28px;
  letter-spacing:-1px;
  line-height:1.16;
  margin:0 0 14px;
}

.overlay-card>p:not(.overlay-kicker):not(.overlay-footnote) {
  font-size:12px;
  line-height:1.65;
  color:#7b826e;
  margin:0 0 21px;
}

.primary-button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:19px;
  border:0;
  border-radius:8px;
  background:var(--coral);
  color:#fffbed;
  font-weight:bold;
  font-size:12px;
  padding:15px 19px;
  box-shadow:0 3px 0 #b95740;
  transition:transform .15s,background .15s;
  width:100%;
}

.primary-button svg {
  width:17px;
  height:17px;
}

.primary-button:hover {
  background:#ca6045;
  transform:translateY(-1px);
}

.primary-button:active {
  transform:translateY(2px);
  box-shadow:0 1px 0 #b95740;
}

.overlay-footnote {
  color:#99a08b;
  font-size:8px;
  line-height:1.6;
  margin:17px 0 0;
}

.interaction-toast {
  position:absolute;
  bottom:19px;
  left:50%;
  transform:translateX(-50%);
  background:#fbfaf0ee;
  padding:9px 15px 9px 9px;
  display:flex;
  align-items:center;
  gap:9px;
  border-radius:8px;
  box-shadow:0 4px 15px #1f392323;
  font-size:11px;
  font-weight:bold;
  white-space:nowrap;
  pointer-events:none;
}

.interaction-toast[hidden],.event-toast[hidden] {
  display:none;
}

.interaction-toast kbd {
  background:#2d4836;
  color:#f6f5dd;
  border-color:#2d4836;
  box-shadow:0 2px 0 #1f3325;
}

.event-toast {
  position:absolute;
  top:54px;
  left:50%;
  transform:translateX(-50%);
  background:#263e32ed;
  color:#f8f6e3;
  padding:10px 17px;
  border-radius:6px;
  font-size:10px;
  font-weight:bold;
  max-width:85%;
  text-align:center;
  pointer-events:none;
}

.controls-strip {
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  padding:13px 12px;
  border-top:1px solid var(--line);
  flex-wrap:wrap;
}

.controls-strip>span {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  color:#7a8472;
  white-space:nowrap;
}

.control-or {
  color:#b1b7a7;
  font-size:8px;
}

kbd {
  font-family:inherit;
  font-size:8px;
  font-weight:bold;
  padding:4px 5px;
  border:1px solid #dce2d4;
  border-radius:4px;
  background:#f3f5ec;
  color:#66795c;
  box-shadow:0 1px 0 #dce2d4;
}

.heist-panel {
  padding:27px 23px 16px;
  border-left:1px solid var(--line);
}

.mission-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:27px;
}

.mission-heading .eyebrow {
  font-size:8px;
  color:#849276;
  margin:0;
}

.panel-stamp {
  font-size:7px;
  line-height:1.3;
  text-align:center;
  letter-spacing:1px;
  font-weight:bold;
  padding:3px 6px;
  border:1px solid #cfb8a1;
  color:#bf997b;
  transform:rotate(10deg);
}

.heist-panel>h2 {
  font-size:27px;
  letter-spacing:-1.2px;
  margin:13px 0 4px;
}

.mission-subtitle {
  font-size:10px;
  color:#8a917d;
  margin:0;
}

.mission-list {
  list-style:none;
  padding:0;
  margin:25px 0 27px;
  display:flex;
  flex-direction:column;
  gap:19px;
}

.mission-list li {
  display:flex;
  align-items:flex-start;
  gap:10px;
  position:relative;
}

.task-number {
  font-size:9px;
  font-weight:bold;
  border:1px solid #dee4d6;
  border-radius:50%;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  color:#829575;
  flex-shrink:0;
}

.mission-list strong {
  display:block;
  font-size:11px;
  margin:1px 0 5px;
}

.mission-list small {
  display:block;
  font-size:9px;
  color:#929982;
}

.task-check {
  display:none;
  color:#6b9164;
  font-size:14px;
  margin-left:auto;
}

.complete .task-check {
  display:block;
}

.complete .task-number {
  background:#7f9c6f;
  color:white;
  border-color:#7f9c6f;
}

.stash-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.stash-heading strong {
  font-size:17px;
}

.stash-heading strong span {
  font-size:11px;
  color:#9ba18d;
}

.stash-slots {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
  margin:11px 0 22px;
}

.stash-slots>span {
  height:40px;
  display:grid;
  place-items:center;
  background:#eff1e7;
  border:1px dashed #d4ddc8;
  border-radius:7px;
  color:#c9d1ba;
  font-size:16px;
  transition:background .15s;
}

.stash-slots .filled {
  background:#f2e9cc;
  border-style:solid;
  border-color:#e6d6a6;
  color:#b59a44;
  animation:pop .25s ease-out;
}

.stash-slots>span svg {
  width:25px;
  height:25px;
}

.stats-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #e0e5d8;
  border-bottom:1px solid #e0e5d8;
  padding:17px 0;
  margin-bottom:22px;
}

.stats-row>div+div {
  padding-left:18px;
  border-left:1px solid #e0e5d8;
}

.stats-row .small-label {
  font-size:7px;
  letter-spacing:1px;
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}

.stats-row svg {
  width:12px;
  height:12px;
}

.stats-row strong {
  font-size:25px;
  display:block;
  margin-top:7px;
  letter-spacing:-.5px;
  font-variant-numeric:tabular-nums;
}

.stats-row .urgent {
  color:#c56147;
}

.noise-card {
  background:#eef1e5;
  border:1px solid #e4e9da;
  border-radius:10px;
  padding:13px;
}

.noise-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  font-weight:bold;
}

.noise-heading strong {
  font-size:9px;
  color:#83936f;
}

.meter {
  position:relative;
  height:7px;
  margin-top:10px;
  border-radius:2px;
  background:#d5dfc8;
  overflow:hidden;
}

.meter>span {
  display:block;
  height:100%;
  width:0;
  background:#839d6a;
  transition:width .1s,background .2s;
}

.meter>i {
  position:absolute;
  top:0;
  bottom:0;
  width:2px;
  background:#eef1e5;
  left:25%;
}

.meter>i:nth-of-type(2) {
  left:50%;
}

.meter>i:nth-of-type(3) {
  left:75%;
}

.noise-card>p {
  font-size:8px;
  display:flex;
  align-items:center;
  gap:5px;
  margin:9px 0 0;
  color:#8d987d;
  line-height:1.5;
}

.status-dot {
  width:4px;
  height:4px;
  background:#9bb181;
  border-radius:50%;
  flex-shrink:0;
}

.alert-row {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:6px;
  color:#9a9f8f;
  letter-spacing:.6px;
  margin-top:10px;
}

.alert-track {
  flex:1;
  height:3px;
  background:#d8decf;
  border-radius:4px;
  overflow:hidden;
}

.alert-track span {
  display:block;
  height:100%;
  width:0;
  background:#d27351;
}

.best-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:21px;
  font-size:7px;
  letter-spacing:1px;
  color:#a0a792;
}

.best-row strong {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  color:#889878;
  letter-spacing:0;
}

.best-row svg {
  width:13px;
  height:13px;
}

.restart-button {
  margin-top:15px;
  width:100%;
  border:0;
  border-top:1px solid #e5e9dc;
  padding:13px 0 0;
  background:none;
  color:#98a08b;
  font-size:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
}

.restart-button span {
  font-size:9px;
}

.restart-button:hover {
  color:#37543c;
}

.footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:28px 1px 32px;
  font-size:8px;
  font-weight:bold;
  letter-spacing:1px;
  color:#9ba48e;
}

.footer p {
  font-size:10px;
  font-weight:normal;
  letter-spacing:0;
  margin:0;
}

.footer-spark {
  font-size:19px;
  vertical-align:middle;
  color:#acb898;
  margin-right:6px;
}

.touch-controls {
  display:none;
}

dialog {
  border:1px solid #d8e0ca;
  border-radius:18px;
  background:var(--paper);
  color:var(--ink);
  width:min(540px,calc(100% - 28px));
  padding:34px;
  box-shadow:0 30px 80px #16322445;
}

dialog::backdrop {
  background:#17322177;
  backdrop-filter:blur(4px);
}

dialog h2 {
  font-size:28px;
  letter-spacing:-1px;
  margin:10px 0 15px;
}

dialog>p:not(.eyebrow) {
  font-size:12px;
  line-height:1.8;
  color:#7b8570;
}

.dialog-close {
  position:absolute;
  right:17px;
  top:13px;
  border:0;
  background:none;
  color:#7c8a6c;
  font-size:24px;
}

.help-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin:24px 0;
}

.help-grid div {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.help-grid strong {
  font-size:12px;
  margin:9px 0 5px;
}

.help-grid span {
  font-size:10px;
  color:#8e9881;
  line-height:1.6;
}

.help-tip {
  background:#edf1e5;
  padding:12px 15px;
  border-radius:7px;
}

.help-tip strong {
  color:#49643f;
}

dialog .primary-button {
  margin-top:22px;
}

.arcade:fullscreen {
  background:var(--paper);
  display:grid;
  grid-template-columns:minmax(0,1fr) 266px;
  border:0;
  border-radius:0;
  align-content:center;
  padding:12px;
  overflow:auto;
}

.arcade:fullscreen .scene {
  max-height:calc(100vh - 158px);
  aspect-ratio:960/640;
}

.arcade:fullscreen canvas {
  object-fit:contain;
}

.arcade:fullscreen .heist-panel {
  max-height:100vh;
  overflow:auto;
}

.arcade:fullscreen .play-column {
  max-width:calc((100vh - 158px)*1.5);
  justify-self:center;
  width:100%;
}

.arcade:fullscreen .scene-top {
  display:none;
}

@keyframes pop {
  50% {
    transform:scale(1.12);
  }
}

@media(min-width:1350px) {
  .heist-panel {
    padding-top:31px;
  }
  .mission-list {
    margin:29px 0 32px;
    gap:24px;
  }
  .stash-slots {
    margin-bottom:26px;
  }
  .stats-row {
    padding:20px 0;
    margin-bottom:27px;
  }
  .best-row {
    margin-top:29px;
  }
}

@media(max-width:1150px) {
  .page {
    padding:0 28px;
  }
  .intro {
    gap:20px;
  }
  h1 {
    font-size:64px;
  }
  .story-note {
    flex-basis:260px;
  }
  .arcade {
    grid-template-columns:minmax(0,1fr) 242px;
  }
  .heist-panel {
    padding:20px 19px 14px;
  }
  .mission-list {
    margin:20px 0;
    gap:15px;
  }
  .stats-row {
    padding:13px 0;
    margin-bottom:15px;
  }
  .stash-slots {
    margin-bottom:17px;
  }
  .best-row {
    margin-top:16px;
  }
  .controls-strip {
    gap:13px;
  }
  .pause-hint {
    display:none!important;
  }
  .overlay-card {
    width:335px;
    padding:20px 25px;
  }
  .crew-badge {
    margin-bottom:17px;
  }
  .overlay h2 {
    font-size:25px;
  }
  .scene-tip {
    display:none;
  }
}

@media(max-width:900px) {
  .page {
    padding:0 22px;
  }
  .masthead {
    height:75px;
  }
  .edition {
    display:none;
  }
  .intro {
    padding:29px 0;
  }
  .intro .eyebrow {
    font-size:8px;
  }
  h1 {
    font-size:58px;
    letter-spacing:-3.5px;
  }
  .title-star {
    font-size:36px;
    margin-left:9px;
  }
  .tagline {
    font-size:12px;
  }
  .story-note {
    flex-basis:225px;
    padding:19px 18px;
  }
  .story-note p {
    font-size:10px;
  }
  .note-label {
    font-size:7px;
  }
  .note-doodle {
    font-size:11px;
  }
  .arcade {
    grid-template-columns:minmax(0,1fr);
  }
  .heist-panel {
    border-left:0;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:1.3fr 1fr 1.3fr;
    column-gap:23px;
    align-items:start;
    padding:20px 24px;
  }
  .mission-heading,.heist-panel>h2,.mission-subtitle,.mission-list,.restart-button {
    display:none;
  }
  .stash-heading {
    grid-column:1;
    grid-row:1;
  }
  .stash-slots {
    grid-column:1;
    grid-row:2;
    margin:8px 0 0;
  }
  .stats-row {
    grid-column:2;
    grid-row:1/span 2;
    border:0;
    padding:0;
    margin:0;
  }
  .stats-row strong {
    font-size:25px;
    margin-top:13px;
  }
  .noise-card {
    grid-column:3;
    grid-row:1/span 2;
    padding:10px;
  }
  .alert-row {
    margin-top:5px;
  }
  .best-row {
    grid-column:1/span 2;
    justify-content:flex-start;
    gap:9px;
    margin-top:15px;
  }
  .restart-button {
    display:flex;
    grid-column:3;
    grid-row:3;
    margin:12px 0 0;
    padding:0;
    border:0;
  }
  .game-toolbar {
    height:66px;
  }
  .footer {
    padding:22px 0;
    gap:8px;
  }
  .footer>span:last-child {
    display:none;
  }
}

@media(pointer:coarse) {
  .touch-controls {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 24px;
    background:#f6f6ed;
    border-top:1px solid var(--line);
    touch-action:none;
    user-select:none;
  }
  .controls-strip {
    display:none;
  }
  .dpad {
    display:grid;
    grid-template-columns:repeat(3,37px);
    grid-template-rows:repeat(2,34px);
    gap:4px;
  }
  .dpad button,.touch-actions button {
    border:1px solid #d1ddc6;
    border-radius:7px;
    background:#e8eedf;
    color:#456040;
    font-size:19px;
    font-weight:bold;
    touch-action:none;
    user-select:none;
  }
  .dpad button[data-move=up] {
    grid-column:2;
  }
  .dpad button[data-move=left] {
    grid-column:1;
    grid-row:2;
  }
  .dpad button[data-move=down] {
    grid-column:2;
    grid-row:2;
  }
  .dpad button[data-move=right] {
    grid-column:3;
    grid-row:2;
  }
  .dpad button:active,.dpad button.held {
    background:#b8cda8;
  }
  .touch-actions {
    display:flex;
    gap:10px;
  }
  .touch-actions button {
    padding:15px 18px;
    font-size:11px;
  }
  .touch-actions #touch-action {
    background:var(--coral);
    color:#fff8e6;
    border-color:#be6148;
    box-shadow:0 2px 0 #be6148;
  }
  .touch-actions #touch-action span {
    margin-left:8px;
  }
  .touch-actions #touch-sprint.held {
    background:#b8cda8;
  }
  .interaction-toast {
    bottom:13px;
  }
  .interaction-toast kbd {
    display:none;
  }
}

@media(max-width:600px) {
  .page {
    padding:0 12px;
  }
  .masthead {
    height:66px;
  }
  .brand {
    font-size:9px;
    letter-spacing:1px;
    gap:8px;
  }
  .brand-mark {
    width:31px;
    height:31px;
  }
  .brand-mark svg {
    width:25px;
    height:25px;
  }
  .brand-period {
    font-size:8px;
  }
  .masthead-right {
    gap:10px;
  }
  .text-button {
    font-size:10px;
  }
  .text-button span {
    margin-left:3px;
  }
  .intro {
    padding:26px 5px;
  }
  .intro .eyebrow {
    font-size:6px;
    letter-spacing:1.2px;
    margin-bottom:10px;
  }
  h1 {
    font-size:49px;
    letter-spacing:-3px;
    margin-bottom:12px;
  }
  .title-star {
    font-size:30px;
    margin-left:5px;
  }
  .tagline {
    font-size:10px;
    max-width:270px;
    line-height:1.7;
  }
  .story-note {
    display:none;
  }
  .arcade {
    border-radius:12px;
  }
  .game-toolbar {
    height:59px;
    padding:0 13px;
  }
  .level-number {
    width:29px;
    height:29px;
    font-size:13px;
  }
  .level-info {
    gap:9px;
  }
  .level-info strong {
    font-size:12px;
  }
  .small-label {
    font-size:6px;
  }
  .icon-button {
    width:29px;
    height:29px;
  }
  .toolbar-actions {
    gap:5px;
  }
  .scene {
    aspect-ratio:960/640;
  }
  .scene canvas {
    height:100%;
  }
  .scene-top {
    top:10px;
    left:11px;
    right:11px;
  }
  .scene-location {
    font-size:6px;
    padding:6px 8px;
  }
  .overlay {
    padding:10px;
  }
  .overlay-card {
    width:272px;
    padding:15px 20px 14px;
    border-radius:12px;
  }
  .crew-badge {
    margin-bottom:11px;
  }
  .crew-badge svg {
    width:32px;
    height:32px;
  }
  .crew-badge span {
    font-size:6px;
    max-width:78px;
  }
  .overlay-kicker {
    display:none;
  }
  .overlay h2 {
    font-size:22px;
    margin-bottom:9px;
  }
  .overlay-card>p:not(.overlay-kicker):not(.overlay-footnote) {
    font-size:9px;
    line-height:1.6;
    margin-bottom:12px;
  }
  .primary-button {
    font-size:10px;
    padding:12px;
  }
  .overlay-footnote {
    display:none;
  }
  .heist-panel {
    padding:17px 15px 14px;
    grid-template-columns:1fr 1fr;
    gap:13px;
  }
  .stash-heading {
    grid-column:1;
  }
  .stash-heading .small-label {
    font-size:7px;
  }
  .stash-slots {
    gap:5px;
    margin:5px 0 0;
  }
  .stash-slots>span {
    height:30px;
    font-size:13px;
  }
  .stash-slots>span svg {
    width:21px;
    height:21px;
  }
  .stats-row {
    grid-column:2;
    align-self:center;
    padding-left:5px;
  }
  .stats-row>div+div {
    padding-left:12px;
  }
  .stats-row .small-label {
    font-size:6px;
    letter-spacing:.4px;
  }
  .stats-row svg {
    width:10px;
    height:10px;
  }
  .stats-row strong {
    font-size:23px;
    margin-top:9px;
  }
  .noise-card {
    grid-column:1/span 2;
    grid-row:3;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2px 18px;
    padding:11px 12px;
  }
  .noise-heading {
    grid-column:1;
    font-size:9px;
  }
  .meter {
    grid-column:1;
    grid-row:2;
    margin-top:5px;
  }
  .noise-card>p {
    grid-column:2;
    grid-row:1;
    align-self:center;
    font-size:7px;
    margin:0;
  }
  .alert-row {
    grid-column:2;
    grid-row:2;
  }
  .best-row {
    grid-column:1;
    grid-row:4;
    margin:0;
    font-size:6px;
    gap:6px;
  }
  .restart-button {
    grid-column:2;
    grid-row:4;
    margin:0;
    font-size:12px;
    justify-content:flex-end;
  }
  .restart-button span {
    font-size:8px;
  }
  .footer {
    padding:20px 5px;
  }
  .footer>span {
    font-size:6px;
  }
  .footer p {
    font-size:8px;
  }
  .footer-spark {
    font-size:15px;
    margin-right:3px;
  }
  .controls-strip {
    gap:10px;
    padding:12px 7px;
  }
  .controls-strip>span {
    font-size:7px;
    gap:4px;
  }
  kbd {
    font-size:6px;
    padding:3px;
  }
  .interaction-toast {
    font-size:9px;
    padding:8px 10px;
    max-width:90%;
    white-space:normal;
    text-align:center;
  }
  .event-toast {
    font-size:8px;
    top:38px;
  }
  .touch-controls {
    padding:11px 17px;
  }
  .dpad {
    grid-template-columns:repeat(3,35px);
    grid-template-rows:repeat(2,30px);
  }
  .touch-actions button {
    padding:14px;
  }
  .arcade:fullscreen {
    padding:0;
    grid-template-columns:1fr;
  }
  .arcade:fullscreen .scene {
    max-height:none;
    aspect-ratio:960/640;
  }
  .arcade:fullscreen .heist-panel {
    display:none;
  }
  .arcade:fullscreen .play-column {
    max-width:none;
  }
  dialog {
    padding:28px 24px;
  }
  dialog h2 {
    font-size:25px;
  }
  dialog>p:not(.eyebrow) {
    font-size:11px;
  }
  .help-grid {
    gap:14px;
  }
  .help-grid strong {
    font-size:11px;
  }
  .help-grid span {
    font-size:9px;
  }
}

@media(max-width:360px) {
  .overlay-card {
    padding:12px 18px;
    transform:none;
  }
  .crew-badge {
    display:none;
  }
  .overlay h2 {
    font-size:20px;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
  .overlay-card {
    transform:none;
  }
  .story-note {
    transform:none;
  }
}
