@font-face {
  font-family: DM Sans;
  src: url(/assets/dm-sans.woff2);
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url(/assets/plex-mono.woff2);
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b1425;
  --panel: #111e33;
  --line: #30405a;
  --control-line: #647b9c;
  --text: #f0f4fc;
  --muted: #b3c1d6;
  --dim: #96aac6;
  --gold: #ffd364;
  --blue: #9cc5ff;
  --mono: "IBM Plex Mono", monospace;
  font:
    100%/1.55 "DM Sans",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.wrap {
  width: min(1192px, calc(100% - 96px));
  margin-inline: auto;
}
a {
  color: var(--blue);
  text-underline-offset: 0.22em;
}
a:hover {
  color: var(--gold);
}
button,
input,
textarea {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.56rem 1rem;
  font-weight: 650;
  text-decoration: none;
}
button:hover,
.button:hover {
  border-color: var(--blue);
  color: white;
}
button:active,
.button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.66;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
::selection {
  background: var(--gold);
  color: #0c1729;
}
[hidden] {
  display: none !important;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 5;
  background: var(--bg);
  padding: 1rem;
}
.mast {
  border-bottom: 1px solid var(--line);
}
.mast-inner,
.foot,
.section-title,
.editor-head,
.pages,
.form-end,
.admin-account,
.record,
.queue li {
  display: flex;
  align-items: center;
}
.mast-inner {
  min-height: 76px;
  gap: 48px;
}
.brand {
  display: inline-flex;
  gap: 0.29em;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-size: 1.31rem;
  letter-spacing: -0.035em;
  font-weight: 460;
}
.brand img {
  margin-right: 0.29em;
}
.brand strong {
  font-weight: 740;
}
.mast nav {
  display: flex;
  gap: 28px;
  align-self: stretch;
}
.mast nav a {
  display: flex;
  align-items: center;
  position: relative;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 620;
  text-decoration: none;
}
.mast nav a[aria-current],
.mast nav a:hover {
  color: var(--text);
}
.mast nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  inset-inline: 0;
}
.wallet {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: #4a5a74;
  background: transparent;
  font-size: 0.9rem;
  min-height: 42px;
}
.wallet-account {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 0.5rem 0.85rem;
}
.wallet-account code {
  overflow-wrap: anywhere;
}
.wallet-icon {
  width: 17px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
}
.wallet-icon::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
  width: 6px;
  height: 4px;
  border-radius: 2px;
  right: -2px;
  top: 3px;
  background: var(--bg);
}
.wallet-note,
.feedback:not(:empty) {
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--gold);
  margin-top: 14px;
  border-radius: 6px;
}
.hero {
  margin-top: 32px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #091224;
  border: 1px solid #2b3950;
  border-radius: 14px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url(/assets/lunar-atlas.webp) right center/auto 105% no-repeat;
  mask-image: linear-gradient(to right, transparent 26%, black 53%);
}
.hero-copy {
  padding: 43px 48px 44px;
  max-width: 55%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h1 {
  font-weight: 650;
  letter-spacing: -0.04em;
  font-size: 3.35rem;
}
.hero h1 {
  font-size: 4.05rem;
  line-height: 0.98;
}
.gold {
  color: var(--gold);
}
.hero p {
  max-width: 41ch;
  color: #c1cfe2;
  margin: 17px 0 22px;
  line-height: 1.55;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-color: var(--gold);
  color: #152036;
  padding: 0.7rem 1.1rem;
  font-weight: 740;
  font-size: 0.95rem;
}
.primary:hover {
  background: #ffe096;
  border-color: #ffe096;
  color: #101c31;
}
.directory-layout,
.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(210px, 1fr);
  gap: clamp(32px, 5vw, 76px);
  margin: 40px 0 64px;
}
.section-title {
  gap: 12px;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.62rem;
  letter-spacing: -0.03em;
  font-weight: 660;
}
h3 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}
.count,
code,
time {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.count {
  background: #1e2d44;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 27px;
  text-align: center;
  color: var(--muted);
}
.search {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--panel);
  border: 1px solid var(--control-line);
  border-radius: 7px;
  padding: 0 6px 0 14px;
}
.search:focus-within {
  border-color: var(--blue);
}
.search input {
  min-width: 0;
  flex: 1;
  background: none;
  border: 0;
  padding: 10px 0;
}
.search button {
  border: 0;
  padding: 0.35rem 0.65rem;
  background: #21314a;
  font-size: 0.84rem;
}
.search-icon {
  display: block;
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--dim);
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  width: 6px;
  height: 1.5px;
  background: var(--dim);
  position: absolute;
  right: -4px;
  bottom: -2px;
  transform: rotate(45deg);
}
.filters {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-top: 12px;
}
.filters a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--dim);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.filters a[aria-current] {
  border-color: var(--gold);
  color: var(--text);
  font-weight: 700;
}
.empty {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 2px;
  border-bottom: 1px solid var(--line);
}
.empty p,
.guide p,
.queue p,
.hint {
  color: var(--muted);
  font-size: 0.92rem;
}
.empty p,
.guide li p,
.queue p {
  margin-top: 4px;
}
.folio {
  width: 30px;
  height: 36px;
  border: 1.5px solid #7793b8;
  border-radius: 4px;
  position: relative;
  margin: 0 8px;
  transform: rotate(-5deg);
}
.folio::before,
.folio::after {
  content: "";
  height: 1.5px;
  background: #7793b8;
  position: absolute;
  top: 12px;
  inset-inline: 6px;
}
.folio::after {
  top: 19px;
  right: 10px;
}
.guide {
  border-top: 2px solid #526b91;
  padding-top: 16px;
  align-self: start;
  min-width: 0;
}
.guide h2 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.guide ol {
  counter-reset: steps;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.guide li {
  counter-increment: steps;
  position: relative;
  padding: 0 0 16px 32px;
}
.guide li::before {
  content: counter(steps, decimal-leading-zero);
  font: 0.78rem/1.7 var(--mono);
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 1px;
}
.guide li strong {
  font-size: 0.97rem;
}
.records,
.queue {
  list-style: none;
  margin: 0;
  padding: 0;
}
.record,
.queue li {
  justify-content: space-between;
  gap: 18px;
  padding: 18px 3px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.record h3 {
  color: var(--text);
}
.record:hover h3 {
  color: var(--blue);
  text-decoration: underline;
}
.record code,
time {
  color: var(--dim);
}
.record-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  flex-shrink: 0;
}
.state {
  color: var(--blue);
  font-size: 0.84rem;
}
.onchain {
  color: var(--gold);
}
.pages,
.form-end,
.admin-account {
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
footer {
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.84rem;
}
.foot {
  gap: 26px;
  min-height: 72px;
}
.foot > a {
  margin-left: auto;
  color: var(--muted);
}
.network {
  display: flex;
  align-items: center;
  gap: 8px;
}
.network code {
  font-size: 0.75rem;
}
.node-mark {
  width: 8px;
  height: 8px;
  border: 1px solid var(--blue);
  transform: rotate(45deg);
}
.inside {
  padding-block: 36px 68px;
}
.back {
  display: inline-block;
  margin-bottom: 26px;
  font-size: 0.92rem;
}
.work-layout {
  margin: 0;
  grid-template-columns: minmax(0, 720px) minmax(210px, 1fr);
}
.lead {
  margin: 14px 0 30px;
  color: var(--muted);
  max-width: 61ch;
  font-size: 1.08rem;
}
label {
  font-weight: 650;
  display: block;
  margin-bottom: 8px;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--control-line);
  caret-color: var(--gold);
}
textarea {
  resize: vertical;
}
input::placeholder {
  color: var(--dim);
}
.editor-head {
  justify-content: space-between;
  margin: 26px 0 8px;
  gap: 12px;
}
.editor-head label {
  margin: 0;
}
.editor-tabs {
  display: flex;
}
.editor-tabs button {
  padding: 5px 10px;
  font-size: 0.84rem;
}
.editor-tabs button[aria-pressed="true"] {
  background: #293a53;
  color: var(--gold);
}
.hint {
  margin: 7px 0 22px;
}
.form-end .hint {
  margin: 0;
}
.preview {
  border: 1px solid var(--line);
  padding: 14px;
  min-height: 180px;
  background: var(--panel);
  border-radius: 6px;
}
.prose,
.answer {
  overflow-wrap: anywhere;
  max-width: 72ch;
}
.answer {
  white-space: pre-wrap;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.guide > p {
  margin-block: 0.85rem;
}
.prose h1,
.prose h2,
.prose h3 {
  font-size: 1.35rem;
  margin: 1em 0 0.4em;
}
article > h2,
.inside > h2,
#admin-session > h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}
code,
pre,
.queue,
.active {
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  font: 0.82rem/1.5 var(--mono);
}
dt {
  color: var(--dim);
  font-size: 0.88rem;
  margin-top: 18px;
}
dd {
  margin: 4px 0 0;
}
summary {
  cursor: pointer;
  color: var(--blue);
}
.active {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.active p {
  margin: 12px 0;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero-copy {
    max-width: 62%;
    padding: 34px;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
  .hero::before {
    background-position: 120% center;
    background-size: auto 88%;
  }
  .directory-layout,
  .work-layout {
    gap: 28px;
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .mast-inner {
    flex-wrap: wrap;
    min-height: 0;
    gap: 0 16px;
    padding-top: 12px;
  }
  .brand {
    font-size: 1.14rem;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  .wallet {
    min-height: 38px;
    padding: 0.4rem 0.6rem;
    font-size: 0.84rem;
  }
  .mast nav {
    order: 3;
    width: 100%;
    gap: 22px;
    min-height: 42px;
    margin-top: 3px;
  }
  .hero {
    margin-top: 16px;
  }
  .hero-copy {
    max-width: 100%;
    padding: 28px 20px;
  }
  .hero h1 {
    font-size: 2.85rem;
  }
  .hero p {
    max-width: 32ch;
    width: 88%;
    font-size: 0.94rem;
  }
  .hero::before {
    background-size: auto 72%;
    background-position: calc(100% + 85px) -18px;
    mask-image: linear-gradient(70deg, transparent 32%, #0008 58%, black 76%);
  }
  .directory-layout,
  .work-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-bottom: 35px;
  }
  .directory-layout {
    margin-top: 26px;
  }
  .guide {
    padding-top: 14px;
  }
  .section-title {
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.38rem;
  }
  .filters {
    gap: 20px;
  }
  .empty {
    padding: 24px 0;
  }
  .foot {
    min-height: 72px;
    gap: 8px 14px;
    padding: 15px 0;
    flex-wrap: wrap;
  }
  .foot > span:first-child {
    display: none;
  }
  .inside {
    padding-block: 23px 36px;
  }
  h1 {
    font-size: 2.45rem;
  }
  .work-layout {
    margin: 0;
  }
  .editor-head {
    align-items: end;
  }
  .form-end {
    gap: 8px;
  }
  .guide li {
    padding-bottom: 11px;
  }
  .record-meta {
    max-width: 45%;
  }
}
@media (max-width: 650px) {
  .hero::before {
    background-position: calc(100% + 86px) -23px;
    background-size: auto 62%;
    mask-image: linear-gradient(
      to right,
      transparent 40%,
      #0003 64%,
      #000b 84%,
      black
    );
  }
}

.owner-tools {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.owner-tools .button {
  display: inline-block;
}
.owner-tools details {
  margin-top: 1rem;
}
.owner-tools details p {
  margin: 0.6rem 0;
}
#nomination-form > .editor-tabs {
  margin-bottom: 1.2rem;
}
#write-pane input + label {
  margin-top: 1.4rem;
}
.preview > h3 {
  margin: 1.4rem 0 0.5rem;
}
.prose h1 {
  font-size: 1.65rem;
}
.prose h2 {
  font-size: 1.4rem;
}
.prose h3 {
  font-size: 1.18rem;
}
.prose blockquote {
  margin-inline: 0;
  padding-inline-start: 1rem;
  border-left: 2px solid var(--dim);
}
.prose pre {
  padding: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.prose table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
}
.prose th,
.prose td {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--line);
}
