:root {
  color-scheme: dark;
  --bg: #141219;
  --panel: #201e26;
  --ink: #fff6e9;
  --muted: #c2b9c6;
  --line: #3b3541;
  --pink: #ff638e;
  --mint: #9bdfc7;
  --peach: #ffad84;
  --display: "Vice Display", "Arial Narrow", sans-serif;
  --sans: "Vice Sans", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 88% 60%, #23182066, transparent 36rem), var(--bg);
  font: 16px/1.5 var(--sans);
  color: var(--ink);
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}
i {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  flex: none;
}
a {
  color: var(--mint);
}
button {
  transition:
    background-color 0.18s,
    color 0.18s,
    transform 0.18s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.wrap {
  max-width: 1480px;
  margin: auto;
  width: calc(100% - clamp(36px, 8vw, 120px));
}
.top-line {
  height: 3px;
  background: linear-gradient(
    90deg,
    #ffb076 0%,
    #ff5b8c 33%,
    #a85989 68%,
    #5a938f 100%
  );
}
.mast {
  border-bottom: 1px solid var(--line);
  background: #17141c;
}
.mast-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 94px);
}
.logo {
  display: flex;
}
.logo img {
  width: 171px;
  height: auto;
}
.mast nav {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: 29px;
}
.navlink {
  padding: 0 1px;
  background: transparent;
  color: #bcb4c2;
  font-size: 0.92rem;
  position: relative;
  font-weight: 600;
}
.navlink.active,
.navlink:hover {
  color: var(--ink);
}
.navlink.active:after {
  position: absolute;
  content: "";
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pink);
}
.wallet,
.secondary,
.icon-btn,
.outline-btn {
  background: #26212b;
  border: 1px solid #534851;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
}
.wallet {
  margin-left: auto;
  padding: 9px 17px;
  font-size: 0.9rem;
}
.wallet svg {
  color: var(--pink);
}
.wallet:hover,
.secondary:hover,
.icon-btn:hover,
.outline-btn:hover {
  background: #39303b;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 27px;
  border: 1px solid #654a58;
  border-radius: 12px;
  min-height: 472px;
  height: clamp(455px, 35vw, 550px);
  display: flex;
  align-items: center;
  background: #3b292d;
}
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-photo {
  object-fit: cover;
  object-position: 72% 56%;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(19, 13, 25, 0.96) 0%,
      rgba(26, 15, 30, 0.81) 26%,
      rgba(40, 20, 34, 0.34) 53%,
      transparent 76%
    ),
    linear-gradient(0deg, rgba(21, 11, 24, 0.7), transparent 30%);
}
.hero-copy {
  padding: 36px clamp(26px, 4.5vw, 72px) 42px;
}
.eyebrow,
.strip-label,
.viewfinder {
  font: 650 0.77rem/1.2 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.accent {
  color: #ff92ab;
}
.mint {
  color: var(--mint);
}
.peach {
  color: var(--peach);
}
.bars {
  width: 23px;
  height: 12px;
  display: inline-block;
  background: repeating-linear-gradient(
    117deg,
    transparent 0 3px,
    var(--pink) 3px 6px
  );
}
h1,
h2,
h3,
p {
  margin: 0;
}
.hero h1 {
  font: italic 900 clamp(5.35rem, 7.4vw, 8rem) / 0.84 var(--display);
  letter-spacing: -0.045em;
  margin: 24px 0 19px;
  filter: drop-shadow(0 3px 1px #2d101530);
}
.hero h1 em {
  font: inherit;
  color: #ff7896;
  background: linear-gradient(178deg, #ffbd98 5%, #ff8294 55%, #ff5e91 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-right: 0.1em;
}
.hero p {
  font-size: clamp(0.97rem, 1.18vw, 1.12rem);
  line-height: 1.52;
  color: #f0e4e7;
}
.hero-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions {
  margin-top: 25px;
}
.primary {
  background: var(--pink);
  border-radius: 6px;
  color: #24131d;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 750;
}
.primary:hover:not(:disabled) {
  background: #ff83a4;
}
.hero-actions .primary {
  min-height: 49px;
  padding: 0 23px;
}
.secondary {
  background: #271d26ab;
  backdrop-filter: blur(10px);
  border-color: #b0929d80;
  min-height: 49px;
  padding: 0 17px;
}
.viewfinder,
.hero-strip {
  position: absolute;
  right: 24px;
  background: #1a131bc9;
  border: 1px solid #e5c7bb50;
  backdrop-filter: blur(10px);
  border-radius: 5px;
}
.viewfinder {
  top: 22px;
  padding: 7px 10px;
  font: 600 0.74rem/1 var(--mono);
  color: #fff1de;
  letter-spacing: 0.08em;
}
.viewfinder svg {
  width: 16px;
  height: 16px;
}
.hero-strip {
  bottom: 20px;
  padding: 8px 9px 8px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.strip-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #f1d4c9;
}
.hero-strip #slides {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-strip #slides button {
  width: 17px;
  height: 18px;
  background: none;
  padding: 0;
}
.hero-strip #slides button:after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 2px;
  background: #bba6aa;
}
.hero-strip #slides button.on:after {
  background: var(--pink);
  height: 5px;
}
.slide-next {
  display: grid;
  place-items: center;
  background: none;
  padding: 0;
  color: #f7d2b8;
}
.slide-next svg {
  width: 16px;
  height: 16px;
}
.instruments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #1e1b23;
  margin: 12px 0 24px;
  padding: 16px 0;
}
.instruments > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.instruments > div ~ div {
  border-left: 1px solid #49414d;
}
.instruments i {
  color: var(--peach);
}
.instruments > div:nth-child(2) i {
  color: var(--pink);
}
.instruments > div:nth-child(3) i {
  color: var(--mint);
}
.instruments svg {
  width: 25px;
  height: 25px;
}
.instruments p {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.instruments strong {
  font: 800 1.7rem/1.2 var(--display);
  font-variant-numeric: tabular-nums;
}
.instruments span {
  font-size: 0.87rem;
  color: var(--muted);
}
.features {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 213px;
  text-align: left;
  border: 1px solid #455550;
  border-radius: 10px;
  background: #1c302d;
  padding: 25px 28px;
}
.feature:hover {
  border-color: var(--mint);
}
.feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature .eyebrow svg {
  width: 18px;
  height: 18px;
}
.feature strong,
.section-title {
  font: italic 850 clamp(1.85rem, 2.9vw, 3.1rem) / 1 var(--display);
  letter-spacing: -0.03em;
  margin: 15px 0 7px;
}
.feature-description {
  font-size: 0.92rem;
  color: #dacfd7;
  max-width: 37ch;
}
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  margin-top: 19px;
  font-weight: 650;
}
.text-action svg {
  width: 14px;
  height: 14px;
}
.atlas-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      #192a28 4%,
      #192a28f5 27%,
      #192a2890 57%,
      #18292215 100%
    ),
    url(/media/leonida-map.webp) right 52% / 71% auto no-repeat;
  opacity: 0.94;
}
.tour-card {
  border-color: #57424e;
  background: linear-gradient(115deg, #30202d, #36202d 69%, #542939);
}
.tour-card:hover {
  border-color: var(--pink);
}
.checker {
  position: absolute;
  z-index: -1;
  top: -80px;
  bottom: -80px;
  right: -75px;
  width: 60%;
  transform: rotate(18deg) skewY(-10deg);
  opacity: 0.25;
  background: repeating-conic-gradient(#cf788800 0% 25%, #c46e824d 0% 50%) 0 0 /
    37px 37px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--peach);
  border-radius: 50%;
}
footer {
  border-top: 1px solid var(--line);
  color: #aaa0ac;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 19px 0 28px;
  font-size: 0.78rem;
}
footer.wrap {
  margin-top: 26px;
}
footer b {
  margin: 0 6px;
  color: var(--pink);
}
footer button {
  margin-left: auto;
  color: #d9cbd6;
  background: none;
  padding: 5px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  padding: 0;
}
.outline-btn {
  padding: 9px 15px;
}
.section-title {
  margin: 0 0 10px;
}
dialog {
  width: min(600px, calc(100% - 24px));
  max-height: 90dvh;
  overflow: auto;
  padding: 26px;
  border: 1px solid #605263;
  border-radius: 14px;
  background: #201c25;
  color: var(--ink);
  box-shadow: 0 26px 80px #050208aa;
}
dialog::backdrop {
  background: #0b0812bd;
  backdrop-filter: blur(6px);
}
dialog.big {
  width: min(960px, calc(100% - 24px));
}
.dialog-top,
.row,
.panel-foot,
.game-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dialog-top {
  margin-bottom: 18px;
}
dialog h2,
.game-bar h1,
.result h1,
.admin h1 {
  font: italic 850 clamp(2.2rem, 4.4vw, 4rem) / 1 var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}
dialog p,
.muted {
  color: var(--muted);
}
dialog p + p {
  margin-top: 12px;
}
dialog .primary,
dialog .outline-btn {
  margin-top: 16px;
}
.rule {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.rule i {
  color: var(--pink);
  margin-top: 2px;
}
.rule b {
  display: block;
  margin-bottom: 3px;
}
.rule p {
  font-size: 0.94rem;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  max-width: min(90vw, 600px);
  width: max-content;
  border: 1px solid #765c78;
  background: #352935;
  border-radius: 8px;
  box-shadow: 0 8px 30px #100a13bb;
  color: white;
  z-index: 20;
}
.dialog-error {
  color: #ffadbd;
  min-height: 1.5em;
}
.date-input,
input,
textarea,
select {
  background: #17131c;
  color: var(--ink);
  border: 1px solid #534954;
  border-radius: 5px;
  padding: 9px 12px;
  max-width: 100%;
}
.list {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
}
.list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
.game-bar {
  margin: 27px 0 20px;
}
.game-bar h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.5rem);
  margin: 9px 0 0;
}
.game-bar .eyebrow {
  color: var(--pink);
}
.crumb {
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  padding: 0;
}
.crumb svg {
  width: 16px;
}
.score-chip {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 10px 17px;
  border-radius: 8px;
}
.score-chip strong {
  display: block;
  font: 850 1.85rem/1 var(--display);
  color: var(--peach);
}
.score-chip span {
  font-size: 0.78rem;
  color: var(--muted);
}
.progress {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.progress span {
  height: 4px;
  background: #39333e;
  border-radius: 4px;
  flex: 1;
}
.progress .done {
  background: var(--mint);
}
.progress .current {
  background: var(--pink);
}
.play-grid {
  display: grid;
  grid-template-columns: 1.19fr 1fr;
  gap: 17px;
  align-items: start;
}
.play-panel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #201d25;
  overflow: hidden;
}
.panel-head,
.panel-foot {
  padding: 13px 17px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  font-size: 0.82rem;
  letter-spacing: 0.055em;
  font-weight: 650;
}
.panel-head > span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel-head svg {
  color: var(--mint);
  width: 17px;
}
.plain-icon {
  border: 0;
  background: transparent;
  padding: 3px;
  display: flex;
}
.game-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  cursor: zoom-in;
}
.film-window {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  background: #0c0a10;
}
.film-window:after {
  position: absolute;
  content: "";
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(#fff8, #fff8) left top/14px 1px,
    linear-gradient(#fff8, #fff8) left top/1px 14px,
    linear-gradient(#fff8, #fff8) right bottom/14px 1px,
    linear-gradient(#fff8, #fff8) right bottom/1px 14px;
  background-repeat: no-repeat;
}
.panel-foot {
  font-size: 0.87rem;
  color: var(--muted);
  min-height: 56px;
}
.panel-foot .primary {
  white-space: nowrap;
  font-size: 0.9rem;
  min-height: 42px;
}
.map-stage {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #123836;
  touch-action: none;
  cursor: crosshair;
}
.map-plane {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  user-select: none;
}
.map-plane img,
.map-line {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  pointer-events: none;
}
.map-line line {
  stroke: #ffedb5;
  stroke-width: 2;
  stroke-dasharray: 5 4;
  vector-effect: non-scaling-stroke;
}
.map-mark {
  position: absolute;
  background: var(--pink);
  border: 3px solid #2e1b28;
  border-radius: 100% 100% 0 100%;
  width: 20px;
  height: 20px;
  transform-origin: 0 0;
  transform: scale(var(--inv)) translateY(-100%) rotate(-45deg);
  box-shadow: 0 0 0 1px #fff9;
  pointer-events: none;
}
.map-mark:after {
  position: absolute;
  content: "";
  width: 4px;
  height: 4px;
  background: #2e1b28;
  border-radius: 100%;
  top: 5px;
  left: 5px;
}
.map-mark.correct {
  background: #8cf2bd;
}
.map-tools {
  position: absolute;
  right: 9px;
  top: 9px;
  display: grid;
  gap: 4px;
}
.map-tools button {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #201b23ec;
  border: 1px solid #98899a;
  color: white;
}
.map-tools button:disabled {
  opacity: 0.65;
}
.map-tools svg {
  width: 16px;
  height: 16px;
}
.map-scale {
  position: absolute;
  right: 10px;
  bottom: 7px;
  background: #15111dd9;
  padding: 2px 6px;
  border-radius: 3px;
  font: 12px var(--mono);
}
.map-key {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 0.83rem;
  flex-wrap: wrap;
}
.map-key span:before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--pink);
  margin-right: 6px;
}
.map-key span + span:before {
  background: var(--mint);
}
.result {
  max-width: 880px;
  margin: 35px auto 14px;
}
.result-box {
  background: linear-gradient(120deg, #382334, #211b26);
  border: 1px solid #59404f;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 44px);
  margin: 18px 0;
}
.result .big-score {
  font: italic 900 clamp(4.5rem, 9vw, 7.3rem) / 1 var(--display);
  color: var(--pink);
}
.result .big-score small {
  font: 600 1.1rem var(--sans);
  color: var(--muted);
}
.review-row {
  width: 100%;
  background: #24202a;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 8px;
}
.review-row img {
  width: 65px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
}
.review-row b:last-child {
  margin-left: auto;
  color: var(--mint);
}
.atlas-modal {
  max-width: 760px;
  margin: auto;
}
.atlas-modal .map-stage {
  border-radius: 7px;
  border: 1px solid #59756b;
}
.big-photo {
  width: 100%;
  display: block;
  border-radius: 6px;
}
.review-total {
  font: 800 1.55rem var(--display);
  color: var(--mint);
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
.score-table td,
.score-table th {
  text-align: left;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.empty {
  margin: 19px 0 6px;
  border: 1px dashed #574756;
  background: #28212c;
  padding: 21px;
  border-radius: 7px;
}
.empty b {
  display: block;
  margin-bottom: 6px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field span {
  font-size: 0.88rem;
  color: var(--muted);
}
.digest {
  margin: 15px 0;
  padding: 13px 0;
  border-block: 1px solid var(--line);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.admin {
  max-width: 950px;
  padding: 26px;
}
.admin section {
  padding: 22px;
  background: var(--panel);
  border-radius: 8px;
  margin: 18px 0;
}
.admin h2,
.admin h3 {
  margin: 0 0 14px;
}
.admin small {
  color: var(--muted);
}
.admin .formgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin img.preview {
  max-width: 100%;
  max-height: 250px;
  display: block;
  margin: 13px 0;
}
.admin #editor-map {
  max-width: 650px;
  margin: 12px 0;
}
.admin pre {
  overflow: auto;
  white-space: pre-wrap;
}
.admin .field {
  margin: 7px 0;
}
.admin textarea {
  width: 100%;
  min-height: 70px;
}
@media (min-width: 1600px) {
  .hero {
    height: 550px;
  }
}
@media (max-width: 1050px) {
  .instruments p {
    display: block;
  }
  .instruments strong,
  .instruments span {
    display: block;
  }
  .features {
    gap: 12px;
  }
  .feature {
    padding: 21px;
  }
  .instruments {
    padding: 12px 0;
  }
  .hero-copy {
    padding-left: 36px;
  }
  .play-grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .panel-foot {
    flex-wrap: wrap;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .mast-inner {
    height: 61px;
    gap: 19px;
  }
  .logo img {
    width: 140px;
  }
  .mast nav {
    gap: 15px;
  }
  .navlink {
    font-size: 0.85rem;
  }
  .wallet {
    padding: 7px 9px;
  }
  .wallet span {
    display: none;
  }
  .hero {
    margin-top: 16px;
    min-height: 468px;
    height: auto;
    align-items: flex-end;
  }
  .hero-copy {
    padding: 84px 22px 70px;
  }
  .hero h1 {
    font-size: clamp(4.1rem, 12vw, 5.6rem);
  }
  .hero-photo {
    object-position: 63% 50%;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #170f1bbe, #21111d4c 62%, transparent),
      linear-gradient(0deg, #1b101def, #20101e80 48%, transparent 85%);
  }
  .hero p {
    max-width: 30ch;
  }
  .wide-only {
    display: none;
  }
  .hero-strip {
    bottom: 13px;
    right: 12px;
  }
  .viewfinder {
    top: 13px;
    right: 12px;
  }
  .hero .eyebrow {
    font-size: 0.69rem;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 19px;
  }
  .hero-actions .primary,
  .hero-actions .secondary {
    padding: 0 13px;
    min-height: 44px;
    font-size: 0.91rem;
  }
  .instruments > div {
    gap: 7px;
  }
  .instruments svg {
    width: 18px;
    height: 18px;
  }
  .instruments strong {
    font-size: 1.35rem;
  }
  .instruments span {
    font-size: 0.72rem;
  }
  .instruments {
    margin: 10px 0 14px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    min-height: 172px;
  }
  .feature strong {
    font-size: 2.05rem;
  }
  .feature-description {
    max-width: 35ch;
  }
  .text-action {
    margin-top: 11px;
  }
  .play-grid {
    grid-template-columns: 1fr;
  }
  .game-shot {
    aspect-ratio: 1.95;
  }
  .game-bar {
    margin: 18px 0 12px;
  }
  .panel-foot {
    min-height: 45px;
    padding: 10px 13px;
  }
  .panel-head {
    min-height: 39px;
    padding: 9px 13px;
  }
  .game-bar h1 {
    font-size: 2.5rem;
  }
  footer {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.72rem;
  }
  footer span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  dialog {
    padding: 18px;
  }
  .admin {
    padding: 16px;
  }
  .admin .formgrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 410px) {
  .mast-inner {
    gap: 14px;
  }
  .mast nav {
    gap: 10px;
  }
  .logo img {
    width: 117px;
  }
  .navlink {
    font-size: 0.78rem;
  }
  .hero-copy {
    padding-left: 16px;
  }
  .instruments > div > i {
    display: none;
  }
  .hero h1 {
    font-size: 4.55rem;
  }
  .feature {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.map-stage {
  height: clamp(270px, 32vw, 470px);
  background: #122833;
  background-image:
    linear-gradient(#344e541f 1px, transparent 1px),
    linear-gradient(90deg, #344e541f 1px, transparent 1px);
  background-size: 24px 24px;
}
.map-plane {
  inset: auto;
  top: 0;
  left: 0;
}
.atlas-modal .map-stage,
.admin .map-stage {
  height: min(57dvh, 620px);
}
.map-mark {
  width: 18px;
  height: 18px;
  border: 3px solid #342435;
  border-radius: 50%;
  transform: scale(var(--inv)) translate(-50%, -50%);
  box-shadow:
    0 0 0 2px #fff,
    0 0 7px 3px #1b10248c;
}
.map-mark:after {
  width: 4px;
  height: 4px;
  top: 4px;
  left: 4px;
}
.map-key {
  max-width: 100%;
}
.atlas-art {
  background-position:
    center,
    right 55%;
  background-size:
    cover,
    69% auto;
}
.attribution a,
.map-credit a {
  color: var(--mint);
}
.dialog-error:empty {
  min-height: 0;
}
.hero-photo {
  object-position: 72% 55%;
}
.hero-shade {
  background:
    linear-gradient(
      90deg,
      #160f1cf0 0%,
      #211323ca 26%,
      #28142254 53%,
      transparent 76%
    ),
    linear-gradient(0deg, #150b18ae, transparent 30%);
}
@media (max-width: 720px) {
  .map-stage {
    height: clamp(280px, 82vw, 420px);
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #170f1bbe, #21111d4c 62%, transparent),
      linear-gradient(0deg, #1b101def, #20101e80 48%, transparent 85%);
  }
}
.estimate {
  display: block;
  font-size: 0.76rem;
  margin-top: 2px;
  color: var(--mint);
}
@media (max-width: 385px) {
  .mast-inner {
    gap: 10px;
  }
  .mast nav {
    gap: 9px;
  }
  .logo img {
    width: 99px;
  }
  .wallet {
    padding: 7px;
  }
  .hero-actions {
    gap: 6px;
  }
  .hero-actions .primary,
  .hero-actions .secondary {
    padding: 0 11px;
  }
  .hero-copy {
    padding-right: 14px;
  }
}
