:root {
  color-scheme: dark;
  --ink: #101d1e;
  --panel: #172728;
  --dark: #101c1e;
  --rule: #4b5040;
  --gold: #e9c782;
  --paper: #ede4c8;
  --muted: #b7b6a0;
  --red: #a64e3a;
  --green: #a4c6a9;
  font-family: Georgia, 'Times New Roman', serif;
  background: #0c1719;
  color: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    repeating-linear-gradient(90deg, #101e2000 0 5px, #47606109 5px 6px),
    radial-gradient(ellipse at top, #304341, #0b1518 80%);
}
button,
select,
input {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid #ffdf8b;
  outline-offset: 3px;
}
button {
  border: 1px solid #6a6851;
  background: linear-gradient(#2b3d39, #20302e);
  color: var(--paper);
  padding: 0.65rem 0.9rem;
  line-height: 1.2;
  text-align: left;
}
button:hover:enabled {
  border-color: #d8b876;
  background: #354842;
}
button.primary,
.primary {
  background: #edcf8b;
  color: #242c25;
  border-color: #f4dfab;
  box-shadow:
    inset 0 0 0 2px #edcf8b,
    inset 0 0 0 3px #b3955e;
  font-weight: 700;
}
button.primary:hover {
  background: #ffe6a5;
  color: #182521;
}
button.small {
  padding: 0.45rem 0.7rem;
  font-size: 0.88rem;
}
button.quiet,
.quiet {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 0.4rem;
}
button.quiet:hover {
  background: #c5ad7015;
}
a {
  text-decoration: none;
}
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3.3vw, 54px) 16px;
}
.bar,
.foot,
.micro,
.kicker,
.stat,
.nav button,
.chip,
.badge,
select,
.eyebrow,
.maplegend,
.toplink {
  font:
    600 0.68rem/1.45 'Courier New',
    monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.bar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.identity,
.bar-actions,
.inline,
.actions,
.row,
.statline,
.tabs,
.byline,
.foot,
.keyrow,
.chapter-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.identity {
  font-size: 0.8rem;
  color: #dfd1a9;
  letter-spacing: 0.17em;
}
.sigil {
  width: 30px;
  height: 34px;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.bar-actions {
  gap: 20px;
}
.toplink {
  color: #c8c5ae;
  background: transparent;
  border: 0;
  padding: 0.4rem 0;
  letter-spacing: 0.07em;
}
.toplink:hover {
  color: var(--gold);
  background: transparent !important;
}
.bar-actions button {
  font: inherit;
}
.sep {
  color: #657064;
}
.ornament {
  border: 1px solid #817554;
  box-shadow:
    0 0 0 3px #142023,
    0 0 0 4px #404c43,
    0 14px 48px #0005;
  position: relative;
}
.ornament:before,
.ornament:after {
  content: '';
  width: 9px;
  height: 9px;
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border: 2px solid #d2bc83;
}
.ornament:before {
  top: 4px;
  left: 4px;
  border-right: 0;
  border-bottom: 0;
}
.ornament:after {
  bottom: 4px;
  right: 4px;
  border-top: 0;
  border-left: 0;
}
.cover {
  position: relative;
  min-height: clamp(490px, 72vh, 795px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #253f40 url(art/cover.webp) center 48% / cover no-repeat;
}
.cover:before {
  position: absolute;
  content: '';
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #0b1d21ed 0%, #102528d9 22%, #0f22299a 40%, #0a1e2312 68%),
    linear-gradient(0deg, #0e1e22ac, transparent 28%);
}
.cover-inner {
  padding: clamp(35px, 5.7vw, 92px);
  max-width: 660px;
}
.kicker,
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.2em;
}
.kicker {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 0.72rem;
}
.kicker:before {
  content: '';
  width: 29px;
  height: 2px;
  background: #d9b776;
}
.cover h1 {
  font-weight: 500;
  font-size: clamp(4.6rem, 7.8vw, 8.9rem);
  letter-spacing: -0.065em;
  line-height: 0.83;
  margin: 0.24em 0 0.28em;
  text-shadow: 2px 3px #101e23;
  color: #f3e6c1;
}
.cover h1 em {
  display: block;
  color: #edcc91;
  font-weight: 400;
  letter-spacing: -0.065em;
}
.cover p {
  max-width: 420px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: #e1decb;
  text-shadow: 0 1px 4px #061719;
}
.actions {
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0.9rem 0;
}
.cover .actions {
  margin: 1.8rem 0 0.4rem;
}
.cover button {
  padding: 0.87rem 1.35rem;
}
.arrow {
  margin-left: 1rem;
}
.cover-coord {
  position: absolute;
  bottom: 18px;
  right: 22px;
  text-align: right;
  color: #fff0c7;
  text-shadow: 0 1px 4px black;
}
.cover-coord span {
  display: block;
  font: italic 1.05rem Georgia;
  letter-spacing: 0.03em;
  text-transform: none;
}
.band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: #192a29;
  border-top: 1px solid #827453;
  padding: 18px clamp(18px, 3vw, 48px);
}
.stamp {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--gold);
  border: 3px double #9b8658;
  transform: rotate(45deg);
}
.stamp span {
  transform: rotate(-45deg);
}
.band strong {
  font-weight: 400;
  font-size: 1.15rem;
}
.band .micro {
  display: block;
  color: #bbb59a;
  margin-top: 4px;
}
.foot {
  justify-content: space-between;
  gap: 1rem;
  color: #a7aa94;
  margin: 18px 0 2px;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}
.kicker,
.micro,
.stat,
.eyebrow,
.maplegend {
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.25rem);
  letter-spacing: -0.045em;
}
h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
h4 {
  font-size: 1.15rem;
}
.muted,
.sub {
  color: var(--muted);
}
p,
.prose {
  line-height: 1.55;
}
.panel {
  background: linear-gradient(130deg, #203332, #162728 85%);
  border: 1px solid var(--rule);
}
.sheet {
  padding: clamp(16px, 2.4vw, 34px);
}
.sheet > p {
  margin: 0.8em 0;
}
.titleblock .eyebrow,
.sheet > .eyebrow {
  margin-bottom: 7px;
}
.grid {
  display: grid;
  gap: 12px;
}
.pickgrid {
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0;
}
.pick {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 105px;
  background: #142224;
  padding: 10px;
}
.pick.sel {
  background: #334038;
  border-color: #d7b273;
}
.pick img,
.face {
  image-rendering: pixelated;
  object-fit: cover;
  width: 64px;
  height: 74px;
  border: 1px solid #8a7c59;
}
.pick b,
.name {
  display: block;
  font: 500 1.25rem Georgia;
}
.pick small {
  display: block;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 3px;
}
.pick .micro {
  color: var(--gold);
  font-size: 0.6rem;
}
.pick .check {
  margin-left: auto;
  align-self: flex-start;
  color: var(--gold);
}
.bios {
  line-height: 1.45;
  color: #c6c8b1;
}
.game-shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 15px;
}
.sidecolumn {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidehead,
.panehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  background: #263530;
}
.sidehead {
  color: var(--gold);
}
.member {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #425045;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
}
.member:last-child {
  border-bottom: 0;
}
.member img {
  width: 47px;
  height: 55px;
}
.member .name {
  font-size: 1.05rem;
}
.member > span {
  flex: 1;
}
.member small {
  color: var(--muted);
  font-size: 0.72rem;
}
.hp {
  height: 4px;
  background: #0b1918;
  display: block;
  margin: 5px 0 1px;
}
.hp i {
  display: block;
  height: 100%;
  background: #a6b78d;
}
.smallpad {
  padding: 13px;
}
.smallpad p {
  font-size: 0.92rem;
  margin: 0.4rem 0 0.65rem;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.stat {
  font-size: 0.59rem;
  color: var(--muted);
  letter-spacing: 0.07em;
}
.stat b {
  font: 500 1.45rem Georgia;
  color: var(--paper);
  display: block;
}
.nav {
  display: flex;
  gap: 2px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.nav button {
  flex: 1;
  text-align: center;
  padding: 0.8rem 0.4rem;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  background: #172726;
  border-color: #4a5648;
}
.nav .on,
.tabs .on,
.keyrow .on {
  background: #37483c;
  color: var(--gold);
  border-color: #bb9f68;
}
.maincol {
  min-width: 0;
}
.gamehead {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.gamehead h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
}
.gamehead .micro {
  text-align: right;
  color: var(--muted);
}
.statusline {
  padding: 10px 15px;
  border: 1px solid var(--rule);
  background: #202c27;
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.statusline strong {
  color: var(--gold);
}
.scene {
  display: grid;
  grid-template-columns: minmax(195px, 0.86fr) 1.14fr;
  min-height: 210px;
  border-bottom: 1px solid var(--rule);
}
.art {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 360px;
  object-fit: cover;
  image-rendering: pixelated;
}
.scene-copy {
  padding: clamp(14px, 2.2vw, 31px);
  align-self: center;
}
.scene-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  margin: 6px 0 10px;
}
.scene-copy p {
  color: #d9d9c2;
  font-size: 1rem;
}
.bodypad {
  padding: 16px clamp(14px, 2vw, 28px);
}
.bodypad > p {
  margin: 0.5em 0;
}
.choices {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  background: #20312e;
  border-color: #4a584b;
  padding: 10px 13px;
}
.choice b {
  font-weight: 500;
}
.choice .icon {
  font: 1.15rem Georgia;
  color: var(--gold);
  width: 22px;
  text-align: center;
}
.choice .desc {
  font: 0.85rem/1.35 Georgia;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.choice .end {
  margin-left: auto;
  color: #c8ae72;
}
.choice.highlight {
  background: #3b4234;
  border-color: #9c895b;
}
.tabs,
.keyrow {
  flex-wrap: wrap;
  gap: 5px;
}
.tabs button,
.keyrow button {
  font:
    600 0.71rem 'Courier New',
    monospace;
  padding: 0.57rem 0.72rem;
}
.divider {
  height: 1px;
  background: var(--rule);
  margin: 15px 0;
}
.panehead h3 {
  font-size: 1.2rem;
}
.chip,
.badge {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid #69755e;
  color: #d4d2af;
  font-size: 0.59rem;
  letter-spacing: 0.07em;
}
.mapframe {
  background: #6e8162;
  position: relative;
  line-height: 0;
}
.mapframe canvas {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  cursor: crosshair;
}
.maplegend {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: none;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  background: #122423;
}
.mapcontrols {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.mapcontrols select {
  max-width: 100%;
  background: #182c2c;
  color: var(--paper);
  padding: 8px;
  border: 1px solid #66705d;
  letter-spacing: 0.01em;
}
.route-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.route-info p {
  font-size: 0.9rem;
  color: var(--muted);
}
.vault-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.floor {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(5, 35px);
  gap: 3px;
  background: #102021;
  padding: 8px;
  border: 1px solid #475246;
}
.floor button {
  padding: 2px;
  text-align: center;
  position: relative;
  font: 700 0.78rem monospace;
  border-color: #616751;
}
.floor .here {
  border: 2px solid var(--gold);
  color: var(--gold);
}
.floor .unknown {
  background: #18282b;
  color: #b2b8a0;
}
.floor button:disabled {
  opacity: 0.8;
}
.floor button:enabled {
  background: #3a4c3d;
}
.listrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #425046;
}
.listrow:last-child {
  border: 0;
}
.listrow p {
  color: var(--muted);
  font-size: 0.9rem;
}
.partycard {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--rule);
  background: #1a2c2a;
}
.partycard .actions {
  margin: 0.5rem 0 0;
}
.partycard p {
  font-size: 0.89rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.partycard .hp {
  max-width: 180px;
}
.ledger details {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}
.ledger summary {
  cursor: pointer;
  color: var(--gold);
  line-height: 1.3;
}
.ledger p {
  font-size: 0.94rem;
  margin: 0.6rem 0;
}
.ledger .micro {
  color: #bfb79a;
}
.helpgrid {
  grid-template-columns: repeat(2, 1fr);
  margin: 18px 0;
}
.helpgrid p {
  margin: 0.5em 0;
  font-size: 0.96rem;
  color: #d5d5bf;
}
.helpgrid section {
  padding: 12px;
  border-left: 2px solid #9a8358;
}
.centered {
  max-width: 900px;
  margin: 0 auto;
}
.foe {
  padding: 10px 12px;
  flex: 1;
  min-width: 120px;
}
.foe.on {
  border-color: var(--gold);
  background: #433b2c;
}
.foe .hp i {
  background: #c4795d;
}
.foe:disabled {
  opacity: 0.45;
}
.combatlog {
  border-left: 2px solid #87724e;
  padding: 4px 12px;
  font-size: 0.9rem;
  color: #cccfb9;
}
.combatlog p:first-child {
  color: var(--paper);
}
.warning {
  color: #e6ac85;
}
.notice {
  background: #2c372c;
  border-left: 3px solid #bf945a;
  padding: 10px 14px;
  margin: 12px 0;
}
.chapter-title {
  justify-content: space-between;
  align-items: baseline;
}
.chapter-title .micro {
  color: var(--gold);
}
.end-text {
  max-width: 68ch;
  margin: auto;
}
.end-text h2 {
  margin: 0.25em 0;
}
.end-text p {
  margin: 1em 0;
}
.choice:active,
.primary:active {
  transform: translateY(1px);
}
@media (min-width: 1550px) {
  .cover {
    min-height: 750px;
  }
}
@media (max-width: 960px) {
  .game-shell {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 9px;
  }
  .pickgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .member {
    padding: 8px;
  }
  .scene {
    grid-template-columns: 0.78fr 1fr;
  }
  .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .scene-copy {
    padding: 16px;
  }
  .sidehead,
  .panehead {
    padding: 10px;
  }
  .bar {
    height: 56px;
  }
}
@media (max-width: 700px) {
  .bar {
    height: 50px;
  }
  .bar-actions {
    gap: 11px;
  }
  .identity {
    font-size: 0.61rem;
    letter-spacing: 0.09em;
  }
  .sigil {
    width: 23px;
    height: 26px;
  }
  .toplink {
    font-size: 0.59rem;
  }
  .wrap {
    padding: 0 10px 12px;
  }
  .cover {
    min-height: 550px;
    align-items: flex-end;
    background-position: 63% center;
  }
  .cover:before {
    background: linear-gradient(0deg, #0b1c20fc 2%, #0b1c20da 33%, #1023285c 66%, transparent);
  }
  .cover-inner {
    padding: 28px 22px 48px;
  }
  .cover h1 {
    font-size: clamp(4.3rem, 16vw, 6rem);
  }
  .cover p {
    max-width: 360px;
  }
  .cover-coord {
    bottom: 13px;
    right: 13px;
    font-size: 0.54rem;
  }
  .cover-coord span {
    display: inline;
    font-size: 0.73rem;
  }
  .band {
    grid-template-columns: 1fr auto;
    padding: 13px;
    gap: 8px;
  }
  .stamp {
    display: none;
  }
  .band strong {
    font-size: 1rem;
  }
  .band .micro {
    font-size: 0.56rem;
  }
  .foot {
    font-size: 0.52rem;
    flex-wrap: wrap;
  }
  .game-shell {
    display: flex;
    flex-direction: column;
  }
  .sidecolumn {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .sidecolumn .commission {
    grid-column: 1/-1;
  }
  .sidecolumn .company {
    grid-row: span 2;
  }
  .gamehead {
    margin-bottom: 9px;
  }
  .gamehead h2 {
    font-size: 1.7rem;
  }
  .gamehead .micro {
    font-size: 0.55rem;
  }
  .nav button {
    font-size: 0.62rem;
  }
  .nav {
    margin-bottom: 7px;
  }
  .scene {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .scene .art {
    height: clamp(135px, 33vw, 220px);
    min-height: 0;
  }
  .scene-copy {
    padding: 12px 15px;
  }
  .scene-copy h2 {
    margin: 4px 0 6px;
  }
  .scene-copy p {
    font-size: 0.95rem;
  }
  .bodypad {
    padding: 12px;
  }
  .pickgrid {
    gap: 7px;
  }
  .pick {
    gap: 7px;
    padding: 7px;
    min-height: 84px;
  }
  .pick img {
    width: 38px;
    height: 53px;
  }
  .pick b {
    font-size: 1.02rem;
  }
  .pick small {
    font-size: 0.73rem;
  }
  .pick .micro {
    font-size: 0.51rem;
  }
  .pick .check {
    display: none;
  }
  .art {
    min-height: 160px;
  }
  .vault-layout,
  .helpgrid {
    grid-template-columns: 1fr;
  }
  .bar .sep {
    display: none;
  }
  .foot .wide {
    display: none;
  }
  .sheet {
    padding: 15px;
  }
  .route-info {
    align-items: flex-start;
  }
  .helpgrid {
    gap: 5px;
  }
}
@media (max-width: 390px) {
  .bar-actions {
    gap: 6px;
  }
  .bar .sigil {
    display: none;
  }
  .pickgrid {
    grid-template-columns: 1fr;
  }
  .cover .actions {
    gap: 7px;
  }
  .cover button {
    padding: 0.75rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
  }
}

.waterboard {
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  width: min(100%, 390px);
  gap: 3px;
  margin: 20px auto;
  padding: 9px;
  background: #101e20;
  border: 3px double #86795b;
}
.pipe {
  padding: 0;
  aspect-ratio: 1;
  background: #273633;
  color: #b99360;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid #655e49;
}
.pipe svg {
  width: 100%;
  height: 100%;
}
.pipe.wet {
  color: #8cddd7;
  background: #274343;
}
.pipe.portcell {
  border-color: #d6bd7b;
}
.port {
  position: absolute;
  left: 2px;
  top: 2px;
  font: 700 9px monospace;
  color: #ffe2a2;
  background: #22322d;
  padding: 1px 2px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mapframe.zoomed {
  overflow: auto;
  max-height: 66vh;
}
.mapframe.zoomed canvas {
  width: max(150%, 760px);
  max-width: none;
}
.chartcourse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #1b2c29;
  border-bottom: 1px solid var(--rule);
  padding: 8px 14px;
}
.chartcourse > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chartcourse select {
  max-width: 100%;
  background: #1b302d;
  color: var(--paper);
  border: 1px solid #67735e;
  padding: 7px;
  letter-spacing: 0.01em;
}
.chartcourse .micro {
  color: #c6c4a9;
  font-size: 0.62rem;
}
.chartcourse > button {
  white-space: nowrap;
}
.basin {
  width: 100%;
  height: auto;
  display: block;
  background: #394d42;
}
.basin g {
  cursor: pointer;
}
.basin g:hover rect,
.basin g:focus rect {
  fill: #67583a;
}
@media (max-width: 700px) {
  .chartcourse {
    padding: 8px;
    align-items: flex-end;
  }
  .chartcourse > div {
    gap: 3px;
    flex-direction: column;
    align-items: flex-start;
  }
  .chartcourse select {
    font-size: 0.62rem;
    width: min(53vw, 240px);
  }
  .chartcourse .micro {
    font-size: 0.52rem;
  }
  .chartcourse > button {
    padding: 0.65rem;
    font-size: 0.88rem;
  }
  .panehead .mapcontrols {
    gap: 4px;
  }
  .panehead .mapcontrols button,
  .panehead .mapcontrols select {
    font-size: 0.63rem;
    padding: 6px;
  }
  .bar .toplink {
    white-space: nowrap;
    font-size: 0.57rem;
  }
  .bar-actions {
    gap: 9px;
  }
  .bar .identity {
    letter-spacing: 0.06em;
  }
  .nav button {
    min-height: 40px;
  }
}
