:root {
  color-scheme: dark;
  --cream: #f7ebcf;
  --muted: #a1c8cc;
  --gold: #ddbc7a;
  --ink: #092e3d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
    ellipse at 50% 13%,
    #6aa9b1 0,
    #247b8b 34%,
    #104f68 70%,
    #103b53 100%
  );
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background: repeating-radial-gradient(
    ellipse at 40% 80%,
    transparent 0 17px,
    #b6e8dc 18px,
    transparent 19px 37px
  );
  mask-image: linear-gradient(transparent, #000);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
#board:focus-visible {
  outline: 3px solid #ffe8a1;
  outline-offset: 5px;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  position: relative;
  z-index: 2;
  height: 100px;
  max-width: 1560px;
  margin: auto;
  padding: 27px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e6ead22b;
}
.wordmark {
  font-family: Georgia, serif;
  letter-spacing: 3.4px;
  font-size: 27px;
  display: grid;
  grid-template-columns: 44px auto;
  align-items: center;
  column-gap: 13px;
}
.planet {
  grid-row: span 2;
  font-size: 45px;
  line-height: 1;
  color: #e1ca8e;
  filter: drop-shadow(0 2px 6px #123f4d);
}
.edition {
  font: 9px Arial;
  letter-spacing: 3px;
  color: #b3d0ce;
  margin-top: 6px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav button {
  border: 0;
  background: transparent;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #f8edda;
  font-size: 12px;
}
nav button span {
  font: 25px Georgia;
  color: #ecd8aa;
}
nav b {
  font-weight: 400;
}
#language {
  border: 1px solid #b3d0ce55;
  border-radius: 18px;
  padding: 9px 13px;
  font-size: 11px;
}
main {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: auto;
  padding: 32px 44px 0;
}
.world-heading {
  max-width: 1180px;
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 0 0 10px;
}
h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.7px;
}
.region {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #e3ede3;
}
.region small {
  margin-left: 10px;
  color: #aac6c6;
  letter-spacing: 1px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #b8e2ab;
  border-radius: 100%;
  box-shadow: 0 0 12px #b8e2ab;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 680px) minmax(150px, 1fr);
  gap: 32px;
  align-items: start;
}
.canvas-section {
  min-width: 0;
}
.board-rim {
  padding: 7px;
  border: 1px solid #e4d1a080;
  background: #092f4188;
  box-shadow:
    0 15px 65px #032d4870,
    inset 0 0 0 2px #153f4e;
  position: relative;
  border-radius: 4px;
}
#board {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  outline-offset: 8px;
  cursor: crosshair;
  background: #087687;
}
.terrain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, #e2f4e415 1px, transparent 1px),
    linear-gradient(to bottom, #e2f4e415 1px, transparent 1px);
  background-size: 6.25% 6.25%;
  box-shadow: inset 0 0 0 1px #caeee430;
  pointer-events: none;
}
.board-caption {
  position: absolute;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #082f3ec4;
  border: 1px solid #a8d4cc44;
  padding: 8px 15px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  color: #e6ead8;
  letter-spacing: 0.3px;
  pointer-events: none;
}
.board-caption > span:first-child {
  color: #efd495;
  margin-right: 6px;
}
.corner {
  position: absolute;
  width: 17px;
  height: 17px;
  border-color: var(--gold);
  pointer-events: none;
}
.tl {
  left: -2px;
  top: -2px;
  border-left: 2px solid;
  border-top: 2px solid;
}
.tr {
  right: -2px;
  top: -2px;
  border-right: 2px solid;
  border-top: 2px solid;
}
.bl {
  left: -2px;
  bottom: -2px;
  border-left: 2px solid;
  border-bottom: 2px solid;
}
.br {
  right: -2px;
  bottom: -2px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}
#cursor {
  position: absolute;
  width: 6.25%;
  height: 6.25%;
  border: 1px solid #fff4b6;
  background: #f9df7a30;
  box-shadow: 0 0 15px #e3c16d66;
  display: none;
  pointer-events: none;
}
.palette {
  margin-top: 17px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
  border: 1px solid #b8c5b14d;
  border-radius: 10px;
  background: linear-gradient(120deg, #113a49ee, #082d40f5);
  box-shadow: 0 10px 30px #05354966;
}
.palette button {
  min-width: 0;
  border: 1px solid transparent;
  padding: 6px 5px 9px;
  background: transparent;
  border-radius: 6px;
  transition:
    background 0.2s,
    border-color 0.2s;
  position: relative;
}
.palette button:hover {
  background: #c6d3be12;
}
.palette button.selected {
  background: #ead39b15;
  border-color: #e4cc90;
  box-shadow: 0 0 16px #efd49512;
}
.palette button.selected:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  background: #ecd6a0;
  transform: rotate(45deg);
}
.palette b {
  font-size: 11px;
  letter-spacing: 0.3px;
  font-weight: 400;
  display: block;
  margin-top: 8px;
}
.tile {
  height: 55px;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  background-image: none;
  background-size: 400%;
}
.land {
  background-position: 47% 58%;
}
.hill {
  background-position: 21% 48%;
}
.mountain {
  background-position: 54% 23%;
}
.river {
  background-position: 60% 56%;
}
.village {
  background-position: 79% 73%;
}
.ocean {
  background-position: 2% 4%;
}
.under-palette {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #b9d1cf;
  margin: 14px 2px 0;
}
.under-palette > span:last-child {
  font-size: 8px;
  letter-spacing: 1.2px;
  opacity: 0.7;
  white-space: nowrap;
}
.companion {
  padding-top: 105px;
  max-width: 220px;
  justify-self: end;
}
.beep-figure {
  width: 160px;
  filter: drop-shadow(0 10px 15px #082f3d66);
  animation: float 6s ease-in-out infinite;
}
.beep-copy {
  padding-left: 12px;
}
.beep-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #f6d793;
}
.beep-copy .eyebrow span {
  display: block;
  font-size: 8px;
  color: #a9d0d0;
  margin-top: 6px;
}
.beep-line {
  font:
    italic 20px/1.5 Georgia,
    serif;
  color: #fcf1d9;
  margin: 18px 0 15px;
}
.text-button {
  font-size: 10px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid #b3cbb65e;
  background: transparent;
  color: #bddad6;
}
.world-notes {
  padding-top: 15px;
  max-width: 210px;
}
.compass {
  width: 72px;
  text-align: center;
  color: #e4d2a0;
  margin: 0 auto 68px;
}
.compass > span {
  font: 11px Georgia;
  letter-spacing: 3px;
}
.compass svg {
  width: 72px;
  display: block;
}
.discovery {
  text-align: center;
  padding: 24px 15px 20px;
  border-top: 1px solid #d3ca984f;
  border-bottom: 1px solid #d3ca984f;
  background: radial-gradient(ellipse at 50% 0, #d8cb8330, transparent 75%);
  position: relative;
}
.discovery:before,
.discovery:after {
  content: "✦";
  position: absolute;
  color: #e8d298;
  font-size: 8px;
}
.discovery:before {
  left: 5%;
  top: 35%;
}
.discovery:after {
  right: 4%;
  top: 12%;
}
.discovery-symbol {
  font: 55px Georgia;
  color: #ffe1a0;
  text-shadow: 0 0 30px #ffd267;
  line-height: 1;
  margin-bottom: 20px;
}
.discovery .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
}
.discovery h2 {
  font: 23px Georgia;
  margin: 12px 0;
  color: #fff1cf;
}
.discovery p:not(.eyebrow) {
  font-size: 11px;
  line-height: 1.8;
  color: #bfd9d3;
}
.discovery-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: #d4bf84;
  margin: 19px auto 14px;
}
.discovery small {
  font-size: 8px;
  line-height: 1.7;
  color: #a4c7c6;
}
.discovery.flash {
  animation: discovered 1.3s ease-out;
}
.map-note {
  margin: 55px 0 0 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.map-note > span {
  font: 35px Georgia;
  color: #8cb8ba55;
}
.map-note p {
  font: italic 14px/1.5 Georgia;
  color: #b3cecb;
}
footer {
  max-width: 1180px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  padding: 20px 0 25px;
  border-top: 1px solid #b4d1cc2b;
  color: #afc7c5;
  font-size: 10px;
  letter-spacing: 0.3px;
}
footer a {
  color: #d9ca9e;
}
.cloud {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(16px);
  opacity: 0.22;
  background: radial-gradient(ellipse, #e0efe7 0 20%, transparent 67%);
  width: 600px;
  height: 220px;
  transform: rotate(-16deg);
}
.cloud-a {
  top: 90px;
  left: -340px;
}
.cloud-b {
  right: -280px;
  bottom: 0;
  opacity: 0.3;
  width: 700px;
  height: 420px;
}
.cloud-c {
  left: -300px;
  bottom: -110px;
  width: 800px;
  height: 360px;
}
dialog {
  max-width: 440px;
  margin: auto;
  padding: 40px;
  border: 1px solid #d7bd82;
  border-radius: 12px;
  background: #0d3545;
  color: #f8ebd0;
  box-shadow: 0 30px 120px #001b2b;
}
dialog::backdrop {
  background: #052534bb;
  backdrop-filter: blur(8px);
}
dialog h2 {
  font: 32px Georgia;
}
dialog p {
  font-size: 14px;
  line-height: 1.7;
}
dialog small {
  color: #a4c7c6;
  line-height: 1.7;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: 0;
  font-size: 25px;
}
.journal-beep {
  border-left: 2px solid #d7bd82;
  padding-left: 16px;
  font-style: italic;
}
@keyframes float {
  50% {
    transform: translateY(-7px) rotate(-2deg);
  }
}
@keyframes discovered {
  0% {
    box-shadow: 0 0 0 0 #f9d28680;
  }
  50% {
    box-shadow: 0 0 55px 6px #f9d28655;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
@media (min-width: 1600px) {
  .workspace {
    grid-template-columns: 1fr 720px 1fr;
  }
}
@media (max-width: 1100px) and (min-width: 701px) {
  main {
    padding: 28px 25px 0;
  }
  .workspace {
    gap: 18px;
    grid-template-columns: 145px minmax(0, 640px) 145px;
  }
  .beep-line {
    font-size: 17px;
  }
  .beep-figure {
    width: 135px;
  }
  .discovery h2 {
    font-size: 19px;
  }
  header {
    padding: 25px;
  }
  .wordmark {
    font-size: 23px;
  }
  nav {
    gap: 10px;
  }
  nav b {
    display: none;
  }
  .region small {
    display: none;
  }
  h1 {
    font-size: 27px;
  }
}
@media (max-width: 700px) {
  header {
    height: 80px;
    padding: 17px 18px;
    gap: 8px;
  }
  .wordmark {
    font-size: 18px;
    letter-spacing: 2px;
    grid-template-columns: 28px auto;
    gap: 7px;
  }
  .planet {
    font-size: 31px;
  }
  .edition {
    font-size: 6px;
    letter-spacing: 1.4px;
    margin-top: 5px;
  }
  nav {
    gap: 8px;
  }
  nav button {
    padding: 3px;
  }
  nav b,
  #celebrate {
    display: none;
  }
  nav button span {
    font-size: 24px;
  }
  #language {
    font-size: 8px;
    padding: 7px;
  }
  main {
    padding: 22px 14px 0;
  }
  .world-heading {
    display: block;
    margin-bottom: 20px;
  }
  .world-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  h1 {
    font-size: 25px;
  }
  .region {
    margin-top: 13px;
    font-size: 10px;
  }
  .region small {
    margin-left: auto;
    font-size: 9px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .canvas-section {
    width: 100%;
    order: 0;
  }
  .board-rim {
    padding: 4px;
  }
  .board-caption {
    font-size: 8px;
    padding: 6px 10px;
    bottom: 12px;
  }
  .palette {
    margin-top: 12px;
    padding: 7px 5px;
    gap: 3px;
    border-radius: 7px;
  }
  .palette button {
    padding: 4px 3px 8px;
    min-height: 72px;
  }
  .tile {
    height: 39px;
  }
  .palette b {
    font-size: 9px;
    letter-spacing: 0;
    margin-top: 7px;
  }
  .under-palette {
    font-size: 8px;
    margin-top: 12px;
    gap: 6px;
  }
  .under-palette > span:last-child {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .companion {
    order: 1;
    justify-self: auto;
    padding: 20px 5px 0;
    max-width: none;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
  }
  .beep-figure {
    width: 89px;
    min-width: 89px;
  }
  .beep-copy {
    padding: 0;
  }
  .beep-copy .eyebrow {
    font-size: 9px;
    margin: 0;
  }
  .beep-copy .eyebrow span {
    display: inline;
    margin-left: 6px;
    font-size: 7px;
  }
  .beep-line {
    font-size: 16px;
    line-height: 1.45;
    margin: 8px 0;
  }
  .text-button {
    font-size: 9px;
  }
  .world-notes {
    order: 2;
    max-width: none;
    width: 100%;
    padding-top: 18px;
  }
  .compass,
  .map-note {
    display: none;
  }
  .discovery {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    text-align: left;
    padding: 16px 12px;
    background: linear-gradient(100deg, #ccb46c20, transparent);
    border: 1px solid #d3ca984f;
    border-radius: 7px;
  }
  .discovery-symbol {
    grid-row: span 4;
    font-size: 38px;
    align-self: center;
    margin: 0;
  }
  .discovery .eyebrow {
    font-size: 7px;
    margin-bottom: 2px;
  }
  .discovery h2 {
    font-size: 20px;
    margin: 4px 0;
  }
  .discovery p:not(.eyebrow) {
    font-size: 10px;
    margin: 3px 0;
  }
  .discovery p br {
    display: none;
  }
  .discovery small {
    font-size: 7px;
    margin-top: 3px;
  }
  .discovery-rule {
    display: none;
  }
  footer {
    margin-top: 24px;
    display: block;
    font-size: 8px;
    line-height: 1.8;
    padding: 16px 4px 22px;
  }
  footer a {
    display: block;
    margin-top: 8px;
  }
  .cloud-b {
    right: -500px;
  }
  .cloud-a {
    left: -500px;
  }
  dialog {
    margin: auto 18px;
    padding: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* Regional-scale thumbnails use stable crops of the illustrated proof. */
.village {
  background-position: 94% 59%;
}
.ocean {
  background-size: 700%;
  background-position: 0 0;
}
/* The illustrated ocean continues behind all interface elements. */
body {
  background: #123d55 url("art/ocean.png") center center / cover fixed no-repeat;
}
body:before {
  opacity: 1;
  background:
    linear-gradient(90deg, #072d4899, #12465870 40%, #0b354b99),
    linear-gradient(#092f4350, #082d4670);
  mask-image: none;
}
.cloud {
  display: none;
}
@media (max-width: 700px) {
  body {
    background-position: 48% center;
  }
  body:before {
    background: linear-gradient(#10394c88, #0b3c4dbb);
  }
}
/* Playable world: geometry and independent illustrated sprites, never a map image. */
#viewport {
  overflow: auto;
  max-height: 80vh;
  scrollbar-color: #8aa8a5 #123847;
  overscroll-behavior: contain;
}
#board {
  aspect-ratio: 1;
  touch-action: none;
  overflow: hidden;
  min-width: 100%;
}
#world {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  outline-offset: -4px;
}
#cursor {
  z-index: 2;
}
.board-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
.board-controls button,
.edit-controls button {
  border: 1px solid #c7d0b64d;
  border-radius: 5px;
  background: #0d3345bb;
  min-width: 44px;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 11px;
}
.board-controls output {
  font-size: 10px;
  min-width: 40px;
  text-align: center;
}
.board-controls > span {
  font-size: 9px;
  color: #c4d6ce;
  flex: 1;
}
.board-controls #inspect[aria-pressed="true"] {
  border-color: #f7d691;
  background: #a18e474d;
}
.region select,
select,
input {
  background: #113e4c;
  color: #f8ebcf;
  border: 1px solid #9cb9af80;
  border-radius: 5px;
  padding: 8px;
  font: inherit;
}
.region select {
  font-size: 11px;
  max-width: 210px;
}
.edit-controls {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}
.edit-controls button {
  flex: 1;
  min-height: 44px;
}
.edit-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
#detail {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0d3445c9;
  padding: 12px;
  margin-top: 12px;
  border: 1px solid #bfc6a455;
  border-radius: 6px;
  font-size: 11px;
}
#detail[hidden] {
  display: none;
}
#cell-info {
  color: #bfd5cb;
  font-size: 10px;
}
.tile {
  background-image: none;
  background-color: #175775;
  background-size: 300% 200%;
}
.tile.hill,
.tile.mountain,
.tile.village {
  background-image: url("art/terrain-atlas.png");
}
.tile.hill {
  background-position: 0 0;
}
.tile.mountain {
  background-position: 50% 0;
}
.tile.village {
  background-position: 0 100%;
}
.tile.land {
  background: radial-gradient(ellipse at 35% 45%, #c5c66b, #719348);
  box-shadow: inset 0 -4px #d8bf82;
}
.tile.river {
  background: linear-gradient(
    115deg,
    #82a149 0 35%,
    #d7ce97 36% 40%,
    #58c9d1 41% 57%,
    #e2d49b 58% 62%,
    #8bad57 63%
  );
}
.tile.ocean {
  background: repeating-radial-gradient(
    ellipse at 50% 100%,
    #145f7e 0 5px,
    #3f92a2 6px,
    #145f7e 7px 12px
  );
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
nav button {
  min-height: 44px;
  min-width: 44px;
}
#modal {
  width: min(580px, calc(100vw - 32px));
  max-width: 580px;
  max-height: 85vh;
  overflow: auto;
}
#modal-content h2 {
  margin-top: 0;
}
#modal-content ul {
  padding: 0;
  list-style: none;
}
#modal-content li {
  padding: 14px 0;
  border-bottom: 1px solid #b2c2a933;
}
#modal-content li strong {
  color: #f0d298;
  font: 19px Georgia;
}
#modal-content li p {
  margin-bottom: 0;
}
#modal-content label {
  display: block;
  margin: 18px 0;
  font-size: 13px;
}
#modal-content label input[type="checkbox"] {
  margin-right: 12px;
  accent-color: #dfc58a;
  width: 18px;
  height: 18px;
}
#modal-content input[type="text"] {
  width: 100%;
  margin-top: 8px;
}
#modal-content button:not(.close) {
  background: #285263;
  border: 1px solid #b2c2a9;
  color: #f7eacf;
  padding: 11px 16px;
  border-radius: 6px;
  min-height: 44px;
  margin: 5px 10px 0 0;
}
.companion {
  padding-top: 80px;
}
#sparkles {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  font-size: 80px;
  color: #ffe1a0;
  text-shadow: 0 0 30px #e5b95d;
  opacity: 0;
}
#sparkles.play {
  animation: celebrate 1.2s ease-out;
}
.reduced * {
  animation: none !important;
  transition: none !important;
}
.ochre {
  background-color: #756449;
}
.ochre:before {
  background: linear-gradient(90deg, #67452788, #785a3f66, #4b504d99);
}
.ochre .tile.land {
  background: radial-gradient(ellipse, #c9b36b, #a4804e);
}
@keyframes celebrate {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
@media (max-width: 700px) {
  header {
    padding-left: 12px;
    padding-right: 12px;
  }
  .wordmark {
    font-size: 16px;
    letter-spacing: 1.5px;
  }
  .edition {
    font-size: 5px;
    letter-spacing: 1px;
  }
  nav {
    gap: 1px;
  }
  #language {
    min-width: 38px;
  }
  .board-controls {
    gap: 5px;
    margin-bottom: 10px;
  }
  .board-controls button {
    min-height: 44px;
    padding: 8px;
  }
  .board-controls > span {
    font-size: 8px;
  }
  .board-controls output {
    font-size: 9px;
    min-width: 33px;
  }
  .region select {
    font-size: 10px;
  }
  .under-palette {
    font-size: 10px;
  }
  .under-palette > span:last-child {
    font-size: 9px;
  }
  .tile {
    height: 40px;
  }
  .palette button {
    min-width: 44px;
  }
  .palette b {
    font-size: 9px;
  }
  .companion {
    padding-top: 22px;
  }
  #detail {
    flex-wrap: wrap;
  }
  .world-notes {
    padding-top: 16px;
  }
}
@media (max-width: 360px) {
  .palette {
    gap: 0;
    padding-left: 2px;
    padding-right: 2px;
  }
  .palette button {
    padding-left: 1px;
    padding-right: 1px;
  }
  .wordmark {
    font-size: 14px;
    letter-spacing: 0.7px;
    grid-template-columns: 22px auto;
  }
  .planet {
    font-size: 26px;
  }
  .edition {
    letter-spacing: 0.4px;
  }
  header {
    padding: 15px 8px;
  }
  main {
    padding-left: 10px;
    padding-right: 10px;
  }
  .board-controls > span {
    max-width: 95px;
  }
  nav button {
    min-width: 38px;
  }
}
#board:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 20%,
    #e0f3ce0a 44%,
    transparent 65%
  );
  animation: sea-light 22s ease-in-out infinite alternate;
}
@keyframes sea-light {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 1;
  }
}
