@font-face {
  font-family: Inter;
  src: url(assets/fonts/inter.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(assets/fonts/inter-semibold.ttf) format("truetype");
  font-weight: 550 900;
  font-display: swap;
}
@font-face {
  font-family: Spectral;
  src: url(assets/fonts/spectral.ttf) format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b1421;
  --panel: #121f2e;
  --line: #293a49;
  --text: #eff2f2;
  --muted: #a4b5c1;
  --mint: #81d4c0;
  --gold: #ffd38a;
  --serif: Spectral, Georgia, serif;
  font:
    15px Inter,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
body {
  background:
    radial-gradient(ellipse at 12% 0%, #122333 0%, transparent 55%), var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  border: 0;
  background: none;
}
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
button:disabled {
  cursor: default;
}
button,
dialog,
a {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  -webkit-user-drag: none;
  pointer-events: none;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  pointer-events: none;
}
[hidden],
.symbols {
  display: none !important;
}
.top {
  height: 72px;
  flex-shrink: 0;
  background: #0c1724;
  border-bottom: 1px solid var(--line);
}
.top-inner,
.shell {
  width: min(1280px, calc(100% - 8vw));
  margin: auto;
}
.top-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(25px, 5vw, 85px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: #f2eddf;
  font: 500 clamp(21px, 1.8vw, 28px)/1 var(--serif);
  letter-spacing: -1px;
}
.brand img {
  width: 35px;
  height: 41px;
}
nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 25px;
}
.nav-tab {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 2px 3px 0;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}
.nav-tab svg {
  width: 17px;
  height: 17px;
}
.nav-tab.active {
  color: var(--mint);
}
.nav-tab.active::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--mint);
  bottom: 0;
  left: 0;
  right: 0;
}
.mobile-tab {
  display: none;
}
.utilities {
  margin-left: auto;
  display: flex;
  gap: 9px;
}
.icon-button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #b4c4cd;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #132130;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.language-button {
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 370px) {
  .top .top-inner { padding-inline: 8px; }
}
.icon-button:hover,
.nav-tab:hover {
  color: white;
}
#viewport {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #304555 transparent;
}
.shell {
  padding: clamp(17px, 3vh, 34px) 0 24px;
}
.page-heading,
.atlas-heading,
.voyage-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-heading {
  margin-bottom: clamp(16px, 2.4vh, 26px);
}
h1 {
  font: 500 clamp(33px, 3.3vw, 49px)/1.08 var(--serif);
  letter-spacing: -1.7px;
}
.page-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.online {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b4d4c9;
  font-size: 12px;
  white-space: nowrap;
}
.online i {
  background: #7dd6aa;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #71ceac13;
}
.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.83fr) minmax(305px, 1fr);
  gap: 20px;
  align-items: stretch;
}
.watch-column,
.side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.panel,
.hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}
.hero {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.scene {
  position: relative;
  isolation: isolate;
  min-height: clamp(238px, 36.7vh, 410px);
  flex: 1;
  overflow: hidden;
  background: #112747;
  cursor: pointer;
  touch-action: manipulation;
}
.scene > img,
.scene-shade,
#glow,
.signal-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.scene > img {
  object-fit: cover;
  object-position: 50% 21%;
}
.scene-shade {
  background:
    linear-gradient(90deg, #030c1995, transparent 49%),
    linear-gradient(
      0deg,
      #091623e8,
      transparent 34%,
      transparent 70%,
      #0c152330
    );
}
.scene-heading {
  position: absolute;
  top: 21px;
  left: 25px;
  pointer-events: none;
}
.scene-heading h2 {
  font: 500 clamp(27px, 2.6vw, 40px)/1.1 var(--serif);
  color: #fffbef;
  letter-spacing: -0.7px;
  margin-top: 8px;
  text-shadow: 0 2px 10px #081423;
}
.scene-tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #b0ccd53a;
  background: #091727c7;
  border-radius: 5px;
  color: #cddae0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.25px;
}
.scene-tag svg {
  width: 12px;
  height: 12px;
  color: #a6d5c9;
}
.balance {
  position: absolute;
  left: 25px;
  bottom: 16px;
  pointer-events: none;
}
.eyebrow {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.6px;
  font-size: 9px;
  line-height: 1.4;
  color: var(--mint);
}
.balance .eyebrow {
  color: #e0e5de;
  letter-spacing: 1.9px;
  font-size: 10px;
}
.balance > div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 3px;
}
.balance svg {
  color: var(--gold);
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 6px #f3bd5966);
}
.balance strong {
  font-family: var(--serif);
  font-size: clamp(36px, 3.1vw, 46px);
  line-height: 1;
  color: #fff7e8;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 19px;
  background: #152331;
  border-top: 1px solid #52636b4a;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 45px;
  background: linear-gradient(180deg, #ffdc98, #fac677);
  box-shadow:
    inset 0 1px #fff4cb8a,
    0 2px 0 #744d2f;
  color: #342815;
  border-radius: 8px;
  padding: 0 19px;
  font-weight: 700;
  font-size: 16px;
  transition:
    filter 0.12s,
    transform 0.1s;
}
.primary:hover {
  filter: brightness(1.06);
}
.primary:active {
  transform: translateY(2px);
}
.primary svg {
  width: 17px;
  height: 17px;
}
kbd {
  font:
    500 10px Inter,
    sans-serif;
  border: 1px solid #a87f47;
  border-radius: 4px;
  padding: 3px 5px;
  color: #664d2e;
  margin-left: 7px;
}
.rates {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
  row-gap: 4px;
  color: #acbdc7;
  font-size: 12px;
}
.rates span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.rates svg {
  width: 14px;
  height: 14px;
  color: var(--mint);
}
.rates b {
  color: #e1ebe9;
  font-weight: 600;
}
.voyage {
  display: flex;
  align-items: center;
  padding: 11px 17px;
  gap: 15px;
  min-height: 82px;
}
.voyage > img {
  width: 57px;
  height: 57px;
  border-radius: 10px;
  border: 1px solid #3b484c;
}
.voyage-info {
  flex: 1;
  min-width: 0;
}
.voyage h3 {
  font: 500 20px/1.3 var(--serif);
  margin-top: 1px;
}
.voyage-qty {
  font-size: 11px;
  color: #b5c6d1;
  font-variant-numeric: tabular-nums;
}
.track {
  height: 5px;
  background: #293c49;
  border-radius: 10px;
  margin-top: 9px;
  overflow: hidden;
}
.track i {
  height: 100%;
  width: 0%;
  display: block;
  background: linear-gradient(90deg, #488c86, #93dbbd);
  border-radius: 10px;
  transition: width 0.2s;
}
.signal-button {
  font-size: 11px;
  font-weight: 600;
  background: var(--mint);
  color: #12372e;
  border-radius: 5px;
  padding: 5px 8px;
}
.section-title,
.boost-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title > svg {
  color: var(--mint);
  width: 19px;
  height: 19px;
}
.section-title h2,
.boost-title h2 {
  font: 500 25px/1.18 var(--serif);
  letter-spacing: -0.5px;
}
.workshop {
  padding: 19px 18px 17px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.workshop > .section-title {
  margin-bottom: 13px;
}
#upgrades {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.upgrade {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: #192838;
  border: 1px solid #30414e;
  border-radius: 9px;
  padding: 10px;
  min-height: 70px;
  color: var(--text);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.upgrade[aria-disabled="false"] {
  border-color: #567367;
  background: #1c302f;
}
.upgrade:hover {
  border-color: #57706c;
}
.upgrade img {
  width: 47px;
  height: 47px;
  border-radius: 7px;
  border: 1px solid #3c4853;
}
.upgrade-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.upgrade-name {
  font-size: 14px;
  font-weight: 650;
}
.upgrade-desc {
  color: #a4b9c5;
  font-size: 11px;
}
.upgrade-end {
  margin-left: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.upgrade {
  flex: 1;
}
.upgrade img {
  width: clamp(45px, 4.5vw, 64px);
  height: clamp(45px, 4.5vw, 64px);
}
.level {
  font-size: 9px;
  color: #a0b1bf;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.price {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}
.price svg {
  width: 12px;
  height: 12px;
}
.boost {
  position: relative;
  isolation: isolate;
  background: linear-gradient(106deg, #27243c, #26273d 58%, #303047);
  border-color: #444157;
  padding: 16px 18px;
}
.boost-title {
  color: #e9daf9;
}
.boost-title svg {
  color: #c0a4e9;
  width: 20px;
  height: 20px;
}
.boost-title h2 {
  font-size: 22px;
}
.boost p {
  color: #c1bcd2;
  line-height: 1.45;
  margin: 5px 0 11px;
  max-width: 85%;
  font-size: 12px;
}
.boost button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b193d521;
  border: 1px solid #8f77a9;
  border-radius: 6px;
  padding: 7px 12px;
  color: #e6d8f7;
  font-size: 12px;
  font-weight: 600;
}
.boost button:hover {
  background: #b193d536;
}
.boost button svg {
  width: 16px;
  height: 16px;
}
.boost-illustration {
  position: absolute;
  z-index: -1;
  right: 10px;
  bottom: -23px;
  font:
    125px/1 Georgia,
    serif;
  color: #a48cc61a;
  transform: rotate(-22deg);
  pointer-events: none;
}
.atlas {
  margin-top: clamp(16px, 2.7vh, 31px);
}
.atlas-heading {
  margin-bottom: 12px;
}
.atlas-heading .section-title h2 {
  font-size: 23px;
}
.atlas-heading > span {
  color: var(--muted);
  font-size: 11px;
}
#maps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.map-card {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 8px 10px 8px 8px;
  background: #14212f;
  border: 1px solid var(--line);
  border-radius: 9px;
  gap: 10px;
  min-width: 0;
}
.map-card.current {
  border-color: #567e76;
  background: #182b31;
}
.map-card:hover {
  border-color: #75908b;
}
.map-card img {
  width: 52px;
  height: 43px;
  object-fit: cover;
  border-radius: 5px;
  filter: saturate(0.65) brightness(0.8);
}
.map-card.current img,
.map-card.visited img {
  filter: none;
}
.map-card div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.map-card b {
  font-size: 12px;
  font-weight: 600;
  color: #d3dce1;
}
.map-card small {
  font-size: 10px;
  color: #a7b7c5;
}
.map-card.current small {
  color: var(--mint);
}
.map-card > svg {
  margin-left: auto;
  width: 13px;
  height: 13px;
  color: #8d9da7;
}
.map-card.current > svg {
  color: var(--mint);
}
.signal-fx span {
  position: absolute;
  animation: float-away 0.8s ease-out forwards;
  color: #ffe8a9;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 2px 5px #281e21;
  transform: translate(-50%, -50%);
}
@keyframes float-away {
  to {
    opacity: 0;
    transform: translate(-50%, -54px) scale(1.12);
  }
}
#glow {
  background: radial-gradient(ellipse at 48% 38%, #ffc76880, transparent 43%);
  opacity: 0;
}
#toast {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  max-width: calc(100vw - 28px);
  width: max-content;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  border: 1px solid #597467;
  background: #1c3232;
  color: #f0f7ee;
  padding: 11px 18px;
  border-radius: 8px;
  opacity: 0;
  transition:
    opacity 0.16s,
    transform 0.16s;
  text-align: center;
  font-size: 13px;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  color: var(--text);
  padding: 0;
  border: 1px solid #475661;
  border-radius: 14px;
  background: #132231;
  max-width: min(440px, calc(100vw - 28px));
  width: 100%;
  max-height: 90dvh;
  box-shadow: 0 18px 80px #0008;
}
dialog::backdrop {
  background: #060d18bb;
  backdrop-filter: blur(4px);
}
.modal-inner {
  position: relative;
  padding: 29px;
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1;
}
#modal-content h2 {
  font: 500 30px/1.2 var(--serif);
  margin: 7px 25px 12px 0;
}
#modal-content p,
.instructions li {
  color: #c5d1d9;
  font-size: 14px;
  line-height: 1.6;
}
#modal-content .primary {
  font-size: 14px;
  margin-top: 19px;
  min-height: 40px;
}
.instructions {
  padding-left: 20px;
  margin-bottom: 0;
}
.instructions li + li {
  margin-top: 9px;
}
.modal-art {
  height: 145px;
  width: 100%;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 16px;
}
.signal-label {
  margin-top: 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.flags,
.signal-keys {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
.flags .flag,
.signal-keys button {
  min-width: 40px;
  min-height: 39px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #203245;
  border: 1px solid #425564;
  color: var(--flag);
  font-size: 20px;
}
.flags .flag {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
}
.flag small {
  font-size: 10px;
}
.flags .done {
  opacity: 0.4;
}
.flags .next {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}
.signal-keys button {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  padding: 7px;
  gap: 3px;
}
.signal-keys b {
  font-size: 17px;
}
.sig-0 {
  --flag: #ffce79;
}
.sig-1 {
  --flag: #8cd9ed;
}
.sig-2 {
  --flag: #e4a8d3;
}
.signal-note {
  min-height: 25px;
  margin-top: 12px;
}
.log-quote {
  border-left: 2px solid #73aa98;
  padding-left: 13px;
  margin: 12px 0;
  font-style: italic;
}
.shell[data-screen="journal"] .dashboard,
.shell[data-screen="journal"] .atlas {
  display: none;
}
#journal-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 19px;
  background: var(--panel);
  min-width: 125px;
}
.stat b {
  display: block;
  color: var(--gold);
  font-size: 21px;
}
.stat span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
#entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.entry {
  border-radius: 10px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.entry h3 {
  font: 500 21px/1.2 var(--serif);
  margin: 7px 0;
}
.entry p {
  font-size: 12px;
  line-height: 1.6;
  color: #b9c6cf;
}
.entry.locked {
  background: #101c28;
}
.entry.locked h3 {
  color: #97a9b5;
}
.entry.locked .eyebrow {
  color: #94a8b5;
}
@media (min-width: 761px) and (max-height: 770px) {
  .top {
    height: 59px;
  }
  .shell {
    padding-top: 13px;
  }
  .page-heading {
    margin-bottom: 13px;
  }
  h1 {
    font-size: 36px;
  }
  .page-heading p {
    margin-top: 4px;
    font-size: 13px;
  }
  .scene {
    min-height: 218px;
  }
  .workshop {
    padding: 13px 15px;
  }
  .workshop > .section-title {
    margin-bottom: 9px;
  }
  #upgrades {
    gap: 5px;
  }
  .upgrade {
    min-height: 54px;
    padding: 5px 7px;
  }
  .upgrade img {
    width: 41px;
    height: 41px;
  }
  .boost {
    padding: 11px 15px;
  }
  .boost p {
    margin: 4px 0 7px;
  }
  .controls {
    padding: 12px 15px;
  }
  .atlas {
    margin-top: 16px;
  }
  .atlas-heading {
    margin-bottom: 8px;
  }
  .voyage {
    min-height: 72px;
    padding: 8px 14px;
  }
  .voyage > img {
    width: 48px;
    height: 48px;
  }
}
@media (min-width: 761px) and (max-width: 1030px) {
  .top-inner,
  .shell {
    width: 94%;
  }
  .dashboard {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 14px;
  }
  .rates {
    flex-direction: column;
    gap: 5px;
  }
  .map-card img {
    width: 34px;
    height: 35px;
  }
  .map-card {
    gap: 7px;
  }
  .upgrade {
    gap: 7px;
  }
  .upgrade img {
    width: 36px;
    height: 40px;
  }
  kbd {
    display: none;
  }
}
@media (max-width: 760px) {
  .top {
    height: auto;
  }
  .top-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    padding: 0 16px;
  }
  .brand {
    font-size: 22px;
    gap: 8px;
    height: 55px;
  }
  .brand img {
    width: 27px;
    height: 36px;
  }
  .utilities {
    grid-row: 1;
    grid-column: 2;
    gap: 6px;
  }
  .icon-button {
    width: 32px;
    height: 32px;
  }
  nav {
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    gap: 0;
    justify-content: space-between;
    height: 40px;
  }
  .nav-tab,
  .mobile-tab {
    display: flex;
    justify-content: center;
    flex: 1;
    padding: 0 2px;
    font-size: 12px;
  }
  .nav-tab svg {
    width: 15px;
    height: 15px;
  }
  .shell {
    width: 100%;
    padding: 16px 15px 22px;
  }
  .page-heading {
    margin-bottom: 12px;
  }
  .page-heading p {
    font-size: 12px;
    margin-top: 4px;
  }
  .online {
    font-size: 10px;
    gap: 6px;
  }
  h1 {
    font-size: 32px;
  }
  .dashboard {
    display: block;
  }
  .watch-column {
    gap: 10px;
  }
  .side {
    display: none;
  }
  .scene {
    height: clamp(215px, 35dvh, 380px);
    min-height: 0;
    flex: auto;
  }
  .scene > img {
    object-position: center 48%;
  }
  .scene-heading {
    left: 16px;
    top: 14px;
  }
  .scene-heading h2 {
    font-size: 27px;
  }
  .scene-tag {
    font-size: 8px;
    padding: 4px 6px;
  }
  .balance {
    left: 17px;
    bottom: 11px;
  }
  .balance > div {
    margin-top: 5px;
  }
  .balance strong {
    font-size: 34px;
  }
  .balance svg {
    width: 24px;
    height: 24px;
  }
  .controls {
    padding: 11px;
    gap: 8px;
  }
  .primary {
    padding: 0 14px;
    font-size: 14px;
    min-height: 43px;
  }
  .rates {
    font-size: 10px;
    gap: 4px;
    align-items: flex-start;
    flex-direction: column;
  }
  .rates svg {
    width: 12px;
    height: 12px;
  }
  kbd {
    display: none;
  }
  .voyage {
    min-height: 65px;
    padding: 8px 10px;
    gap: 10px;
  }
  .voyage > img {
    width: 45px;
    height: 45px;
  }
  .voyage h3 {
    font-size: 18px;
  }
  .voyage-qty {
    font-size: 10px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .track {
    margin-top: 5px;
  }
  .atlas {
    margin-top: 17px;
  }
  .atlas-heading .section-title h2 {
    font-size: 21px;
  }
  .atlas-heading {
    margin-bottom: 9px;
  }
  #maps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .map-card {
    padding: 5px;
    gap: 6px;
  }
  .map-card img {
    width: 34px;
    height: 37px;
  }
  .map-card b {
    font-size: 10.5px;
  }
  .map-card small {
    font-size: 9px;
  }
  .map-card > svg {
    width: 10px;
    height: 10px;
  }
  .shell[data-screen="shop"] .watch-column,
  .shell[data-screen="shop"] .atlas {
    display: none;
  }
  .shell[data-screen="shop"] .side {
    display: flex;
  }
  .side .upgrade {
    min-height: 75px;
  }
  .side .upgrade img {
    width: 48px;
    height: 48px;
  }
  .boost p {
    font-size: 13px;
  }
  .boost button {
    min-height: 38px;
  }
  #journal-stats {
    gap: 6px;
  }
  .stat {
    flex: 1;
    min-width: 0;
    padding: 9px;
  }
  .stat b {
    font-size: 18px;
  }
  .stat span {
    font-size: 9px;
  }
  #entries {
    grid-template-columns: 1fr;
  }
  .modal-inner {
    padding: 23px;
  }
  .scene-tag svg {
    width: 10px;
    height: 10px;
  }
}
@media (max-width: 370px) {
  .shell {
    padding-left: 10px;
    padding-right: 10px;
  }
  .online {
    display: none;
  }
  .brand {
    font-size: 20px;
  }
  .map-card img {
    width: 28px;
  }
  .modal-inner {
    padding: 16px;
  }
  .signal-keys button {
    font-size: 11px;
  }
  .voyage h3 {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
