@font-face {
  font-family: Unbounded;
  src: url('assets/Unbounded.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url('assets/InstrumentSans.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url('assets/IBMPlexMono-Regular.ttf') format('truetype');
  font-display: swap;
}
:root {
  --paper: #171b28;
  --panel: #222938;
  --ink: #eee9de;
  --muted: #a5adc0;
  --line: #3c4659;
  --lime: #c8eda1;
  --pink: #e3c5df;
  --amber: #e7bc7c;
  color-scheme: dark;
  font-family: Instrument,sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:disabled {
  opacity: .35;
  cursor: default;
}
button:not(:disabled):hover {
  filter: brightness(1.15);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
[hidden] {
  display: none!important;
}
button,
select {
  min-height: 36px;
}
select {
  max-width: 100%;
  border: 1px solid var(--line);
  background: #2d3547;
  color: var(--ink);
  border-radius: 3px;
  padding: 8px 28px 8px 10px;
  font-size: 12px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -90px;
  background: var(--lime);
  color: #171b28;
  padding: 15px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font: 600 14px Unbounded,sans-serif;
  letter-spacing: -.03em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  font: 34px Instrument,sans-serif;
  color: var(--lime);
}
.top-note {
  font: 9px Plex,monospace;
  letter-spacing: .06em;
  color: var(--muted);
}
.text-button {
  background: none;
  padding: 8px 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.topbar .text-button {
  color: var(--pink);
}
.intro {
  padding: 25px 32px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.eyebrow {
  font: 9px/1.6 Plex,monospace;
  letter-spacing: .1em;
  margin: 0 0 13px;
  color: var(--muted);
}
.intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 8px;
}
.edition-pill {
  color: var(--lime);
  border: 1px solid #c8eda140;
  padding: 3px 6px;
  letter-spacing: .05em;
}
h1 {
  font: 550 clamp(24px,3vw,46px)/1.25 Unbounded,sans-serif;
  letter-spacing: -.045em;
  margin: 0;
}
h1 span {
  color: var(--pink);
}
.mobile-break {
  display: none;
}
.intro-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex-shrink: 0;
}
.world-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  padding: 12px 32px;
  border-block: 1px solid var(--line);
}
.world-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.world-picker label {
  font: 8px Plex,monospace;
  color: var(--muted);
  white-space: nowrap;
}
.world-picker select {
  width: 230px;
}
.subtle-button {
  background: none;
  font-size: 11px;
  white-space: nowrap;
  color: var(--pink);
}
.file-actions {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.file-actions button {
  padding: 8px 13px;
  background: #30394a;
  border: 1px solid #4a566c;
  border-radius: 3px;
  font-size: 11px;
}
.file-actions #save-game {
  background: var(--lime);
  border-color: var(--lime);
  color: #202a22;
}
.scene-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 32px;
  background: #1d2331;
  border-bottom: 1px solid #30384a;
}
.scene-strip p {
  margin: 0;
  font-size: 11px;
  color: #b5bbcb;
  line-height: 1.5;
}
.scene-strip > span {
  font: 8px Plex,monospace;
  color: #838fa6;
  white-space: nowrap;
}
.world-frame {
  position: relative;
  overflow: hidden;
  background: #131926;
}
.world-frame > #world {
  width: 100%;
  height: clamp(360px,53dvh,690px);
  display: block;
  image-rendering: pixelated;
  touch-action: none;
  cursor: none;
}
.world-frame > #world.panning {
  cursor: grab;
}
.world-frame > #world.dragging {
  cursor: grabbing;
}
.world-frame > #world:focus-visible {
  outline-offset: -3px;
}
.world-label {
  position: absolute;
  top: 20px;
  left: 32px;
  display: flex;
  gap: 9px;
  align-items: center;
  font: 8px Plex,monospace;
  color: #d9dfd7;
  letter-spacing: .07em;
  pointer-events: none;
}
.live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px #c8eda170;
}
.live-dot.paused {
  background: var(--amber);
  box-shadow: none;
}
#day-label {
  color: #a9b6cc;
  border-left: 1px solid #697389;
  padding-left: 10px;
  margin-left: 4px;
}
.coordinates {
  position: absolute;
  top: 20px;
  right: 32px;
  pointer-events: none;
  font: 8px Plex,monospace;
  color: #a4aec3;
}
.world-bottom {
  position: absolute;
  bottom: 17px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100% - 240px);
  pointer-events: none;
}
.world-bottom > span {
  background: #131926e6;
  padding: 7px 9px;
  font: 9px/1.5 Plex,monospace;
  color: #bec9db;
}
.world-bottom button {
  background: #bdd9ef;
  color: #22374e;
  padding: 8px 13px;
  font: 10px Plex,monospace;
  pointer-events: auto;
  white-space: nowrap;
  border-radius: 3px;
}
.map-inset {
  position: absolute;
  right: 24px;
  bottom: 14px;
  border: 1px solid #90a0b060;
  background: #141b28d9;
  padding: 4px;
}
.map-inset canvas {
  width: 128px;
  height: 72px;
  display: block;
  image-rendering: pixelated;
  touch-action: none;
  cursor: crosshair;
}
.map-inset span {
  display: block;
  font: 6px Plex,monospace;
  letter-spacing: .1em;
  text-align: center;
  color: #b0bed0;
  margin-top: 4px;
}
.brush-cursor {
  display: none;
  position: absolute;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  background: #ffffff0c;
  pointer-events: none;
  transform: translate(-50%,-50%);
  z-index: 3;
}
.brush-cursor.stamp {
  border-radius: 2px;
  border-style: dashed;
}
.brush-cursor:before,
.brush-cursor:after {
  content: '';
  position: absolute;
  background: #ffffffaa;
}
.brush-cursor:before {
  width: 5px;
  height: 1px;
  left: calc(50% - 2px);
  top: 50%;
}
.brush-cursor:after {
  height: 5px;
  width: 1px;
  left: 50%;
  top: calc(50% - 2px);
}
#paused-badge {
  position: absolute;
  top: 47px;
  left: 32px;
  background: #171b28a6;
  padding: 6px 9px;
  border: 1px solid #e7bc7c40;
  color: var(--amber);
  font: 7px Plex,monospace;
  letter-spacing: .08em;
  pointer-events: none;
}
.control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 32px;
  background: #202737;
  border-block: 1px solid var(--line);
  gap: 16px;
}
.transport,
.view-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.control-bar button {
  background: #30394b;
  border: 1px solid #4b566b;
  border-radius: 3px;
  font: 10px Plex,monospace;
  padding: 8px 12px;
}
.transport #pause {
  min-width: 90px;
  background: var(--lime);
  border-color: var(--lime);
  color: #202635;
}
.view-controls button {
  min-width: 36px;
}
.view-controls #pan {
  margin-right: 9px;
}
.view-controls #pan[aria-pressed=true] {
  background: var(--pink);
  color: #252535;
}
.view-controls #zoom-in,
.view-controls #zoom-out {
  font-size: 17px;
  padding: 4px 10px;
}
#zoom-value {
  font: 10px Plex,monospace;
  min-width: 48px;
  text-align: center;
}
.village-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: #1c2530;
}
.village-bar > div {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.village-bar strong {
  font: 13px Plex,monospace;
  color: var(--lime);
}
.village-bar span {
  font-size: 11px;
  color: var(--muted);
}
.village-bar .stat-symbol {
  color: #a3bb9e;
  font-size: 17px;
  margin-right: 2px;
}
.village-bar p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 0 auto;
}
.village-bar p.warning {
  color: var(--amber);
}
.tool-console {
  background: var(--panel);
}
.tool-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding: 0 32px;
}
.tool-tabs button {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 2px solid transparent;
  background: none;
  font: 9px Plex,monospace;
  color: #8f9bb1;
  min-height: 47px;
}
.tool-tabs button:first-child {
  padding-left: 0;
  padding-right: 22px;
}
.tool-tabs button span {
  font: 500 13px Instrument,sans-serif;
  color: #c5cdde;
}
.tool-tabs button[aria-pressed=true] {
  border-color: var(--lime);
  color: var(--lime);
}
.tool-tabs button[aria-pressed=true] span {
  color: var(--lime);
}
.tool-heading {
  font: 7px Plex,monospace;
  color: #8995ab;
  letter-spacing: .08em;
  margin-left: auto;
}
.tool-dock {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 19px 32px 15px;
  min-height: 100px;
}
.materials {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  gap: 8px;
  min-width: 0;
}
.material {
  border: 1px solid #4b566b;
  background: #30394b;
  border-radius: 4px;
  padding: 11px 14px;
  min-height: 55px;
  min-width: 94px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  text-align: left;
}
.material[aria-pressed=true] {
  background: var(--pink);
  color: #252535;
  border-color: var(--pink);
  box-shadow: 0 0 0 2px var(--panel),0 0 0 3px #e3c5df80;
}
.material-icon {
  width: 23px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}
.material-icon svg {
  height: 100%;
  width: 100%;
  shape-rendering: crispEdges;
}
.material-name {
  font-size: 12px;
  font-weight: 500;
}
.material kbd {
  position: absolute;
  top: 4px;
  right: 6px;
  font: 7px Plex,monospace;
  opacity: .6;
}
.tool-settings {
  width: 160px;
  flex-shrink: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.brush-control {
  display: grid;
  grid-template-columns: 1fr 20px;
  gap: 8px;
  align-items: center;
}
.brush-control label {
  font-size: 11px;
  grid-column: 1/-1;
}
.brush-control input {
  width: 100%;
  margin: 0;
  accent-color: var(--pink);
  min-height: 22px;
}
.brush-control output {
  font: 10px Plex,monospace;
}
.house-control {
  display: grid;
  gap: 6px;
}
.house-control label {
  font-size: 11px;
}
.house-control select {
  width: 100%;
}
.house-control small,
#placement-note {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.tool-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px 15px;
  color: #b8c4d8;
}
.tool-caption p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.tool-caption > span {
  font: 7px Plex,monospace;
  letter-spacing: .06em;
  white-space: nowrap;
  align-self: center;
  color: #93a0b7;
}
.below-world {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 17px 32px 0;
}
.below-world p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.below-world b {
  color: #cbd0dd;
}
.utility-actions {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  color: var(--pink);
}
.utility-actions button {
  font-size: 11px;
}
.status {
  font: 10px/1.7 Plex,monospace;
  min-height: 20px;
  padding: 0 32px;
  color: var(--lime);
  margin: 5px 0 25px;
}
.recipes {
  margin: 26px 32px 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.recipe-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.recipe-list button {
  display: flex;
  text-align: left;
  align-items: flex-start;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
  background: none;
}
.recipe-number {
  font: 10px Plex,monospace;
  color: var(--pink);
  padding-top: 3px;
}
.recipe-list b {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.recipe-list small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
}
.recipe-list button > span:last-child {
  font-size: 22px;
  margin-left: auto;
}
.endnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  font: 13px Unbounded,sans-serif;
  letter-spacing: -.03em;
  color: #acb8cb;
}
.endnote span:last-child {
  color: var(--pink);
}
.edition-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 32px 34px;
  background: #e3c5df;
  color: #252535;
}
.footer-brand {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.edition-footer p {
  font-size: 11px;
  line-height: 1.6;
  color: #555167;
  margin: 10px 0 0;
}
.edition-footer .stats {
  display: flex;
  gap: 20px;
  font: 9px Plex,monospace;
}
.edition-nav {
  max-width: 400px;
}
.edition-nav p:first-child {
  font-weight: 600;
  color: #353244;
}
dialog {
  width: min(650px,calc(100% - 32px));
  max-height: 88dvh;
  overflow: auto;
  background: #eeeddf;
  color: #242635;
  border: 1px solid #242635;
  padding: 32px;
  box-shadow: 6px 6px 0 #e3c5df;
  color-scheme: light;
}
dialog::backdrop {
  background: #111724d9;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font: 550 30px/1.3 Unbounded,sans-serif;
  letter-spacing: -.04em;
  margin: 18px 0 20px;
}
dialog h3 {
  font-size: 16px;
  margin-top: 24px;
}
dialog p {
  font-size: 13px;
  line-height: 1.7;
}
dialog .eyebrow,
dialog .small {
  color: #62646b;
}
dialog .small {
  font-size: 11px;
}
.close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  font-size: 26px;
  min-width: 38px;
}
.guide-material {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 15px;
  padding: 8px 0;
  border-top: 1px solid #c8c7bd;
  font-size: 12px;
  line-height: 1.5;
}
#report-counts {
  display: grid;
  grid-template-columns: 1fr auto;
}
#report-counts dt,
#report-counts dd {
  padding: 9px 0;
  border-bottom: 1px solid #c8c7bd;
  margin: 0;
  font-size: 13px;
}
#report-counts dd {
  font: 12px Plex,monospace;
}
#maps-dialog {
  width: min(1060px,calc(100% - 32px));
  background: #1c2432;
  color: var(--ink);
  color-scheme: dark;
  border-color: var(--line);
}
#maps-dialog .eyebrow {
  color: var(--lime);
}
#maps-dialog > p:not(.eyebrow) {
  color: var(--muted);
}
#map-library {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 24px;
}
.map-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #293244;
  border: 1px solid #4a566a;
  border-radius: 3px;
  padding: 0;
  overflow: hidden;
}
.map-card[aria-pressed=true] {
  border-color: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
.map-card canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  image-rendering: pixelated;
  background: #141b28;
}
.map-card .map-copy {
  padding: 13px;
  display: block;
}
.map-card b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.map-card small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 6px;
}
.map-card .map-biome {
  font: 8px Plex,monospace;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.noscript {
  padding: 20px;
  background: var(--lime);
  color: #171b28;
}
@media (min-width:1800px) {
  .intro,
  .world-toolbar,
  .scene-strip,
  .control-bar,
  .village-bar,
  .tool-tabs,
  .tool-dock,
  .below-world {
    padding-left: 48px;
    padding-right: 48px;
  }
  .world-frame > #world {
    height: 65dvh;
  }
}
@media (max-width:1100px) {
  .intro-note {
    display: none;
  }
  .tool-heading {
    display: none;
  }
  .village-bar {
    gap: 20px;
  }
  .village-bar p {
    max-width: 200px;
    font-size: 10px;
  }
  .world-picker label {
    display: none;
  }
  .material {
    padding: 10px 11px;
    min-width: 88px;
  }
  .tool-settings {
    width: 140px;
  }
  .world-toolbar,
  .control-bar,
  .village-bar,
  .tool-dock,
  .tool-tabs {
    padding-left: 24px;
    padding-right: 24px;
  }
  .below-world {
    align-items: flex-start;
  }
  .below-world p {
    max-width: 560px;
  }
  .world-bottom {
    max-width: calc(100% - 190px);
  }
}
@media (max-width:700px) {
  .topbar {
    height: 58px;
    padding: 0 16px;
  }
  .brand {
    font-size: 11px;
    gap: 8px;
  }
  .brand-mark {
    font-size: 29px;
  }
  .top-note {
    display: none;
  }
  .text-button {
    font-size: 11px;
  }
  .intro {
    padding: 20px 16px;
  }
  .intro .eyebrow {
    font-size: 6px;
    gap: 10px;
    margin-bottom: 10px;
  }
  .edition-pill {
    font-size: 6px;
  }
  .intro h1 {
    font-size: clamp(24px,6vw,38px);
    line-height: 1.3;
  }
  .mobile-break {
    display: block;
  }
  .world-toolbar {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .world-picker {
    width: 100%;
    gap: 8px;
  }
  .world-picker select {
    flex: 1;
    min-width: 0;
    width: auto;
    font-size: 12px;
  }
  .subtle-button {
    font-size: 10px;
  }
  .file-actions {
    width: 100%;
  }
  .file-actions button {
    flex: 1;
    min-height: 36px;
  }
  .scene-strip {
    padding: 8px 16px;
  }
  .scene-strip p {
    font-size: 10px;
  }
  .scene-strip > span {
    display: none;
  }
  .world-frame > #world {
    height: clamp(310px,46dvh,490px);
  }
  .world-label {
    left: 14px;
    top: 14px;
    font-size: 6px;
    gap: 6px;
  }
  .coordinates {
    top: 14px;
    right: 14px;
    font-size: 6px;
  }
  #day-label {
    margin-left: 0;
    padding-left: 7px;
  }
  #paused-badge {
    left: 14px;
    top: 37px;
    font-size: 6px;
  }
  .world-bottom {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 120px);
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }
  .world-bottom > span {
    font-size: 7px;
    padding: 5px;
    max-width: 215px;
  }
  .world-bottom button {
    font-size: 9px;
    padding: 6px 10px;
    min-height: 30px;
  }
  .map-inset {
    right: 12px;
    bottom: 12px;
  }
  .map-inset canvas {
    width: 88px;
    height: 49.5px;
  }
  .map-inset span {
    font-size: 5px;
  }
  .control-bar {
    padding: 10px 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .transport {
    flex: 1;
  }
  .transport button {
    flex: 1;
  }
  .control-bar button {
    padding: 6px 10px;
    min-height: 36px;
  }
  .view-controls {
    flex: 1;
    justify-content: flex-end;
    gap: 5px;
  }
  .view-controls #pan {
    margin-right: 4px;
  }
  .view-controls #pan span {
    display: none;
  }
  .village-bar {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px 16px;
    padding: 13px 16px;
  }
  .village-bar > div {
    gap: 6px;
  }
  .village-bar strong {
    font-size: 12px;
  }
  .village-bar span {
    font-size: 10px;
  }
  .village-bar p {
    grid-column: 1/-1;
    margin: 0;
    max-width: none;
    font-size: 10px;
  }
  .tool-tabs {
    padding: 0 16px;
    gap: 0;
    justify-content: space-between;
  }
  .tool-tabs button {
    padding: 12px 9px;
    gap: 6px;
    font-size: 7px;
  }
  .tool-tabs button:first-child {
    padding-right: 9px;
  }
  .tool-tabs button span {
    font-size: 12px;
  }
  .tool-dock {
    display: block;
    padding: 16px;
  }
  .materials {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
  }
  .material {
    min-width: 0;
    min-height: 51px;
    padding: 9px 7px;
    gap: 7px;
    justify-content: center;
  }
  .material-name {
    font-size: 11px;
  }
  .material-icon {
    width: 21px;
    height: 23px;
  }
  .material kbd {
    font-size: 6px;
    top: 3px;
    right: 4px;
  }
  .tool-settings {
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
    margin-top: 14px;
  }
  .brush-control {
    display: flex;
    gap: 12px;
  }
  .brush-control label {
    white-space: nowrap;
    font-size: 11px;
  }
  .brush-control input {
    flex: 1;
    min-width: 0;
  }
  .brush-control output {
    width: 20px;
    text-align: right;
  }
  .house-control {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .house-control select {
    width: auto;
    flex: 1;
  }
  .house-control small {
    font-size: 9px;
    max-width: 65px;
  }
  #placement-note {
    font-size: 10px;
  }
  #placement-note br {
    display: none;
  }
  .tool-caption {
    padding: 0 16px 15px;
  }
  .tool-caption p {
    font-size: 11px;
  }
  .tool-caption > span {
    display: none;
  }
  .below-world {
    display: block;
    padding: 15px 16px 0;
  }
  .below-world p {
    font-size: 10px;
  }
  .utility-actions {
    gap: 22px;
    margin-top: 4px;
  }
  .status {
    padding: 0 16px;
    font-size: 9px;
    margin: 5px 0 20px;
  }
  .recipes {
    margin: 20px 16px 0;
    padding-top: 18px;
  }
  .recipes > .eyebrow {
    font-size: 8px;
  }
  .recipe-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .recipe-list button {
    padding: 16px 0;
  }
  .recipe-list b {
    font-size: 16px;
  }
  .endnote {
    display: block;
    padding: 20px 16px;
    font-size: 12px;
    line-height: 1.6;
  }
  .endnote span {
    display: block;
  }
  .endnote span + span {
    margin-top: 6px;
  }
  .edition-footer {
    padding: 26px 16px;
    flex-direction: column;
    gap: 18px;
  }
  .edition-footer p {
    font-size: 10px;
  }
  .edition-footer .stats {
    font-size: 8px;
  }
  dialog {
    padding: 28px 20px;
  }
  dialog h2 {
    font-size: 25px;
  }
  #map-library {
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
  }
  .map-card .map-copy {
    padding: 10px;
  }
  .map-card b {
    font-size: 11px;
  }
  .map-card small {
    font-size: 10px;
  }
  .map-card .map-biome {
    font-size: 7px;
  }
}
@media (max-width:370px) {
  .brand {
    font-size: 10px;
  }
  .intro h1 {
    font-size: 23px;
  }
  .material-name {
    font-size: 10px;
  }
  .material-icon {
    width: 18px;
  }
  .tool-tabs button {
    gap: 4px;
    padding-inline: 7px;
  }
  .tool-tabs button span {
    font-size: 11px;
  }
  .coordinates {
    display: none;
  }
  .view-controls {
    justify-content: space-between;
  }
  .view-controls #pan span {
    display: inline;
  }
  #map-library {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}
