/* The cover mark and the cartography sit outside the printed game ticket. */
body {
  background-color: #eae5cf;
  background-image:
    url("atlas-field.svg"),
    linear-gradient(90deg, transparent 49.55%, #52664e0f 49.92%, #fdf8e58f 50.05%, transparent 50.48%),
    linear-gradient(90deg, #54746511 1px, transparent 1px),
    linear-gradient(#54746511 1px, transparent 1px),
    linear-gradient(118deg, #ecead6, #f4eedb 42%, #e1e3cd);
  background-size: max(100%, 1040px) auto, 100% 100%, 64px 64px, 64px 64px, 100% 100%;
  background-position: center 15px, center, center top, center top, center;
  background-repeat: repeat-y, no-repeat, repeat, repeat, no-repeat;
}

.mast {
  color: #faf3da;
  background: var(--paper-grain), linear-gradient(100deg, #153b3c 20%, #1f4644 64%, #173a3c);
  border: 0;
  border-bottom: 1px solid #0e2d2f;
  box-shadow: 0 1px #faf2d7, 0 3px 0 #68766a50, 0 5px 9px -6px #36544780;
}
.mast-inner {
  min-height: 74px;
  gap: clamp(18px, 2.35vw, 36px);
}
.mast .brand { flex: none; gap: clamp(6px, .7vw, 11px); }
.mast .brand-mark { width: clamp(39px, 3.55vw, 53px); height: auto; }
.wordmark {
  display: block;
  width: clamp(181px, 16.3vw, 231px);
  height: auto;
}
.mast-rule {
  position: relative;
  flex: 1;
  height: 5px;
  border-bottom: 1px solid #bac8a759;
  background: repeating-linear-gradient(90deg, #b1c2a76b 0 1px, transparent 1px 16px) right bottom / 96px 3px no-repeat;
}
.mast-rule::before {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  bottom: -2.5px;
  left: 0;
  background-color: #ef9a69;
  border-radius: 50%;
}
.mast .nav-tools { gap: 4px; }
.mast .nav-button {
  min-width: 42px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  padding: 4px 11px;
  color: #f5efd8;
  font: 600 .86rem/1.2 var(--sans);
}
.mast .nav-button { text-decoration: none; }
.mast .nav-button[aria-current="page"] { border-color: #94a78b; background-color: #284b44; }
.mast .nav-button .icon { width: 19px; height: 19px; stroke-width: 1.65; }
.mast .nav-button.icon-only { padding: 4px; }
.mast .nav-button:hover { background-color: #304f49; border-color: #91a68a; }
.mast .nav-button:active { background-color: #0e3234; }
.mast .nav-button:focus-visible { outline: 2px solid #ffba84; outline-offset: 1px; }

@media (max-width: 760px) {
  .mast-inner { min-height: 60px; gap: 12px; }
  .mast .brand-mark { width: 36px; }
  .wordmark { width: clamp(137px, 24vw, 181px); }
  .mast-rule { background-size: 32px 3px; }
  .mast .nav-button { padding-inline: 6px; }
}
@media (max-width: 560px) {
  body { background-position: 40% 18px, center, left top, left top, center; }
  .mast-inner { min-height: 57px; }
  .mast-rule { display: none; }
  .mast .nav-button span { display: none; }
  .mast .nav-tools { gap: 1px; }
  .mast .nav-button, .mast .nav-button.icon-only { width: 42px; padding-inline: 4px; }
  .mast .brand { min-width: 0; flex-shrink: 1; }
  .mast .brand-mark, .mast .nav-tools { flex: none; }
  .mast .wordmark { min-width: 0; }
  .mast .site-page-link { width: auto; min-width: 42px; text-align: center; font-size: .76rem; }
  .mast .site-page-link > span { display: inline; max-width: 5.2ch; }
  .mast .site-page-link .icon { display: none; }
}
@media (max-width: 350px) {
  .mast-inner { gap: 4px; }
  .mast .nav-button, .mast .nav-button.icon-only { min-width: 34px; width: 34px; }
  .mast .site-page-link { min-width: 42px; }
  .mast .brand { gap: 4px; }
  .mast .brand-mark { width: 30px; }
  .wordmark { width: 116px; }
}
