@font-face {
  font-family: "Press Start 2P";
  src: url("./fonts/PressStart2P-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "DotGothic16";
  src: url("./fonts/DotGothic16-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "DMMono";
  src: url("./fonts/DMMono-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "DMMono";
  src: url("./fonts/DMMono-Medium.ttf") format("truetype");
  font-display: swap;
  font-weight: 500;
}

:root {
  --ink: #090604;
  --ink-soft: #130d09;
  --lacquer: #20120b;
  --lacquer-hi: #321b0f;
  --broth: #f0a52a;
  --broth-hi: #ffd36a;
  --chili: #d33b24;
  --chili-deep: #7c1f17;
  --steam: #f5ead7;
  --steam-dim: #bda98e;
  --line: #4f2c1a;
  --line-lit: #8b4d25;
  --display: "Press Start 2P", "DotGothic16", "PingFang SC", monospace;
  --text: "DotGothic16", "PingFang SC", "Microsoft YaHei", monospace;
  --number: "DMMono", "DotGothic16", monospace;
  --topbar: 66px;
  --dock: 78px;
  --radius: 2px;
  --cut: 9px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--steam);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: none;
  text-rendering: geometricPrecision;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a,
select,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

code,
.nd-receipt-serial,
.nd-topbar-code,
.nd-mint-total,
.nd-timer,
.nd-claim-number,
.nd-invite-stats strong,
.nd-lot-price,
.nd-supply-ledger b {
  font-family: var(--number);
}

::selection {
  background: var(--chili);
  color: var(--steam);
}

:focus-visible {
  outline: 3px solid var(--broth-hi);
  outline-offset: 3px;
}

.nd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nd-shell {
  position: relative;
  isolation: isolate;
  padding-top: var(--topbar);
  padding-bottom: var(--dock);
  background:
    radial-gradient(circle at 18% 5%, rgba(211, 59, 36, 0.1), transparent 22rem),
    radial-gradient(circle at 82% 20%, rgba(240, 165, 42, 0.08), transparent 30rem),
    var(--ink);
}

.nd-grain,
.nd-dither {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.nd-grain {
  opacity: 0.25;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(245, 234, 215, 0.025) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(240, 165, 42, 0.025) 7px 8px);
}

.nd-dither {
  opacity: 0.15;
  background-image:
    radial-gradient(circle at 2px 2px, var(--broth) 1px, transparent 1.5px),
    radial-gradient(circle at 12px 12px, var(--chili) 1px, transparent 1.5px);
  background-size: 20px 20px, 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 62%);
}

.nd-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--topbar);
  padding: 0 clamp(14px, 3vw, 34px);
  background: rgba(9, 6, 4, 0.94);
  border-bottom: 2px solid var(--line);
  box-shadow: 0 4px 0 rgba(240, 165, 42, 0.08);
  backdrop-filter: blur(10px);
}

.nd-topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--chili) 0 14px,
    var(--ink) 14px 20px,
    var(--broth) 20px 34px,
    var(--ink) 34px 40px
  );
  opacity: 0.7;
}

.nd-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--steam);
  text-decoration: none;
  white-space: nowrap;
}

.nd-brand-mark {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  background: var(--broth);
  box-shadow:
    0 4px 0 var(--chili-deep),
    0 0 0 2px var(--ink);
  clip-path: polygon(0 6px, 6px 6px, 6px 0, 100% 0, 100% 100%, 0 100%);
}

.nd-brand-mark i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--lacquer);
}

.nd-brand-mark i:nth-child(1) { left: 5px; top: 6px; }
.nd-brand-mark i:nth-child(2) { right: 5px; top: 6px; }
.nd-brand-mark i:nth-child(3) { left: 5px; bottom: 6px; }
.nd-brand-mark i:nth-child(4) { right: 5px; bottom: 6px; }

.nd-brand-word {
  font-family: var(--display);
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.nd-brand-word em {
  color: var(--broth);
  font-style: normal;
}

.nd-topbar-rule {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-lit) 0 5px, transparent 5px 10px);
}

.nd-topbar-code {
  color: var(--steam-dim);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.nd-topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nd-lang-wrap {
  display: block;
}

.nd-topbar select {
  width: 90px;
  height: 38px;
  padding: 0 23px 0 8px;
  border: 1px solid var(--line-lit);
  border-radius: 0;
  background: var(--lacquer);
  color: var(--steam);
  font-family: var(--number);
  font-size: 11px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--broth) 50%),
    linear-gradient(135deg, var(--broth) 50%, transparent 50%);
  background-position:
    calc(100% - 12px) 16px,
    calc(100% - 7px) 16px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.nd-button {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  overflow: hidden;
  border: 2px solid var(--steam);
  border-radius: 0;
  background: transparent;
  color: var(--steam);
  font-family: var(--display);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(0 7px, 7px 7px, 7px 0, calc(100% - 7px) 0, calc(100% - 7px) 7px, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 7px calc(100% - 7px), 0 calc(100% - 7px));
  transition: transform 120ms steps(2), background-color 120ms linear, color 120ms linear;
}

.nd-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.nd-button:active:not(:disabled) {
  transform: translateY(1px);
}

.nd-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  filter: saturate(0.35);
}

.nd-button:focus-visible {
  outline: 0;
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 5px var(--broth-hi);
}

.nd-button-hot {
  border-color: var(--broth-hi);
  background: var(--chili);
  color: var(--steam);
  box-shadow:
    inset 0 -5px 0 var(--chili-deep),
    inset 0 0 0 2px rgba(245, 234, 215, 0.16),
    5px 5px 0 var(--ink);
}

.nd-button-hot:hover:not(:disabled) {
  background: #e64a2d;
}

.nd-button-ghost {
  background: rgba(9, 6, 4, 0.42);
  box-shadow: inset 0 -4px 0 rgba(240, 165, 42, 0.15);
}

.nd-button-ghost:hover:not(:disabled) {
  border-color: var(--broth);
  color: var(--broth-hi);
}

.nd-button-small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 8px;
}

.nd-connect {
  min-width: 105px;
  min-height: 38px;
  padding: 8px 12px;
  border-color: var(--broth);
  background: var(--broth);
  color: var(--ink);
  font-size: 8px;
  box-shadow: inset 0 -4px 0 #a75f14;
}

.nd-main {
  position: relative;
}

.nd-hero {
  position: relative;
  min-height: min(830px, calc(100svh - var(--topbar)));
  overflow: hidden;
  border-bottom: 3px solid var(--line);
  background: var(--lacquer);
}

.nd-hero-world,
.nd-hero-world img,
.nd-hero-vignette,
.nd-hero-scan {
  position: absolute;
  inset: 0;
}

.nd-hero-world img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  opacity: 0.5;
  filter: saturate(0.8) contrast(1.14) brightness(0.72);
  image-rendering: pixelated;
  transform: scale(1.02);
}

.nd-hero-vignette {
  background:
    linear-gradient(90deg, rgba(9, 6, 4, 0.96) 0%, rgba(9, 6, 4, 0.8) 38%, rgba(9, 6, 4, 0.2) 72%, rgba(9, 6, 4, 0.7) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%, transparent 76%, rgba(9, 6, 4, 0.72) 100%);
}

.nd-hero-scan {
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(245, 234, 215, 0.11) 4px 5px),
    linear-gradient(90deg, transparent 49.8%, rgba(240, 165, 42, 0.16) 49.8% 50.2%, transparent 50.2%);
  background-size: auto, 96px 96px;
  mix-blend-mode: screen;
}

.nd-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1460px, calc(100% - 48px));
  min-height: min(758px, calc(100svh - var(--topbar)));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: 52px 0 106px;
}

.nd-hero-copy {
  max-width: 720px;
}

.nd-hero-copy > * {
  animation: nd-rise 480ms steps(6) both;
}

.nd-hero-copy > :nth-child(2) { animation-delay: 80ms; }
.nd-hero-copy > :nth-child(3) { animation-delay: 160ms; }
.nd-hero-copy > :nth-child(4) { animation-delay: 240ms; }

.nd-kicker {
  color: var(--broth);
  font-family: var(--display);
  font-size: 9px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nd-kicker::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--chili);
  box-shadow: 7px 7px 0 var(--broth);
  vertical-align: 1px;
}

.nd-hero h1 {
  max-width: 760px;
  margin: 22px 0 26px;
  color: var(--steam);
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.055em;
  text-shadow:
    5px 5px 0 var(--chili-deep),
    9px 9px 0 rgba(9, 6, 4, 0.7);
}

.nd-hero h1 span {
  display: block;
}

.nd-hero h1 span:last-child {
  color: var(--broth-hi);
}

.nd-hero-lede {
  max-width: 630px;
  color: var(--steam);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  text-wrap: pretty;
}

.nd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 33px;
}

.nd-reveal-stage {
  position: relative;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  animation: nd-stage-in 700ms steps(9) 160ms both;
}

.nd-reveal-stage::before,
.nd-reveal-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(440px, 92%);
  transform: translateX(-50%);
  pointer-events: none;
}

.nd-reveal-stage::before {
  top: 7%;
  bottom: 8%;
  border: 1px solid rgba(240, 165, 42, 0.3);
  clip-path: polygon(0 18px, 18px 18px, 18px 0, calc(100% - 18px) 0, calc(100% - 18px) 18px, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 18px calc(100% - 18px), 0 calc(100% - 18px));
}

.nd-reveal-stage::after {
  bottom: 7%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--broth) 0 7px, transparent 7px 14px);
  opacity: 0.55;
}

.nd-stage-light {
  position: absolute;
  top: 15%;
  width: 480px;
  height: 480px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 106, 0.35), rgba(240, 165, 42, 0.12) 42%, transparent 69%);
  filter: blur(2px);
}

.nd-box-shrine {
  position: relative;
  z-index: 3;
  width: min(390px, 75vw);
  padding: 13px;
  background: var(--ink);
  border: 3px solid var(--broth);
  box-shadow:
    0 0 0 5px var(--chili-deep),
    0 22px 0 rgba(9, 6, 4, 0.8),
    0 0 52px rgba(240, 165, 42, 0.3);
  clip-path: polygon(0 14px, 14px 14px, 14px 0, calc(100% - 14px) 0, calc(100% - 14px) 14px, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 14px calc(100% - 14px), 0 calc(100% - 14px));
}

.nd-box-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
}

.nd-stage-corners {
  position: absolute;
  inset: -11px;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--broth-hi), var(--broth-hi)) left top / 22px 2px no-repeat,
    linear-gradient(var(--broth-hi), var(--broth-hi)) left top / 2px 22px no-repeat,
    linear-gradient(var(--broth-hi), var(--broth-hi)) right top / 22px 2px no-repeat,
    linear-gradient(var(--broth-hi), var(--broth-hi)) right top / 2px 22px no-repeat,
    linear-gradient(var(--chili), var(--chili)) left bottom / 22px 2px no-repeat,
    linear-gradient(var(--chili), var(--chili)) left bottom / 2px 22px no-repeat,
    linear-gradient(var(--chili), var(--chili)) right bottom / 22px 2px no-repeat,
    linear-gradient(var(--chili), var(--chili)) right bottom / 2px 22px no-repeat;
  pointer-events: none;
}

.nd-pedestal {
  position: relative;
  z-index: 2;
  width: min(450px, 88%);
  height: 112px;
  margin-top: -2px;
}

.nd-pedestal i {
  position: absolute;
  left: 50%;
  display: block;
  transform: translateX(-50%);
  background: var(--lacquer-hi);
  border: 2px solid var(--line-lit);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.nd-pedestal i:nth-child(1) {
  top: 0;
  width: 100%;
  height: 36px;
  background:
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(240, 165, 42, 0.1) 40px 42px),
    var(--lacquer-hi);
}

.nd-pedestal i:nth-child(2) {
  top: 30px;
  width: 78%;
  height: 37px;
  background: var(--chili-deep);
}

.nd-pedestal i:nth-child(3) {
  top: 62px;
  width: 52%;
  height: 34px;
  background: var(--ink-soft);
}

.nd-stage-caption {
  position: absolute;
  right: 0;
  bottom: 13%;
  z-index: 4;
  display: grid;
  gap: 6px;
  min-width: 138px;
  padding: 11px 13px;
  border-left: 4px solid var(--chili);
  background: rgba(9, 6, 4, 0.88);
}

.nd-stage-caption span {
  color: var(--steam-dim);
  font-family: var(--display);
  font-size: 7px;
  line-height: 1.6;
}

.nd-stage-caption strong {
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 25px;
  font-weight: 500;
}

.nd-steam-puff {
  position: absolute;
  z-index: 4;
  width: 10px;
  height: 10px;
  background: transparent;
  filter: drop-shadow(0 0 4px rgba(245, 234, 215, 0.4));
  animation: nd-steam 4s steps(8) infinite;
}

.nd-steam-puff::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--steam);
  opacity: 0.62;
  box-shadow:
    12px 0 0 var(--steam),
    24px -10px 0 var(--steam),
    36px 0 0 var(--steam),
    12px -22px 0 var(--steam),
    24px -32px 0 var(--steam),
    36px -22px 0 var(--steam),
    48px -10px 0 var(--steam),
    24px -44px 0 var(--steam);
}

.nd-puff-a { left: 18%; top: 28%; }
.nd-puff-b { right: 18%; top: 23%; animation-delay: -1.4s; transform: scale(0.72); }
.nd-puff-c { right: 29%; top: 34%; animation-delay: -2.5s; transform: scale(0.5); }

.nd-hero-facts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  display: grid;
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-lit);
  background: rgba(9, 6, 4, 0.82);
  backdrop-filter: blur(5px);
}

.nd-hero-facts div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
  padding: 16px 19px;
  border-right: 1px dashed var(--line);
}

.nd-hero-facts div:last-child {
  border-right: 0;
}

.nd-hero-facts strong {
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.nd-hero-facts span {
  overflow: hidden;
  color: var(--steam-dim);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.nd-bento {
  width: min(1460px, calc(100% - 48px));
  margin: 18px auto 0;
}

.nd-section {
  position: relative;
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 44px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(240, 165, 42, 0.035), transparent 34%),
    rgba(19, 13, 9, 0.9);
  box-shadow:
    inset 0 0 0 4px rgba(9, 6, 4, 0.5),
    7px 7px 0 rgba(9, 6, 4, 0.7);
}

.nd-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 5px;
  background: var(--chili);
  box-shadow: 76px 0 0 var(--broth);
}

.nd-section-head {
  display: grid;
  margin-bottom: 27px;
  grid-template-columns: 48px minmax(0, 1fr) minmax(220px, 0.8fr);
  align-items: start;
  gap: 18px;
}

.nd-index {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid var(--line-lit);
  background: var(--lacquer);
  color: var(--broth);
  font-family: var(--number);
  font-size: 14px;
  box-shadow: 4px 4px 0 var(--chili-deep);
}

.nd-section h2 {
  margin-top: 10px;
  color: var(--steam);
  font-family: var(--display);
  font-size: clamp(19px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.nd-head-note {
  justify-self: end;
  max-width: 480px;
  padding-left: 16px;
  border-left: 2px solid var(--chili-deep);
  color: var(--steam-dim);
  font-size: 13px;
  line-height: 1.75;
}

.nd-section-lede {
  max-width: 720px;
  margin: -12px 0 24px 66px;
  color: var(--steam-dim);
}

.nd-head-stamp {
  justify-self: end;
  display: flex;
  gap: 5px;
  padding-top: 9px;
}

.nd-head-stamp i {
  width: 15px;
  height: 28px;
  background: var(--chili);
  clip-path: polygon(0 5px, 5px 5px, 5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
}

.nd-head-stamp i:nth-child(2) { height: 19px; background: var(--broth); margin-top: 9px; }
.nd-head-stamp i:nth-child(3) { height: 10px; background: var(--steam); margin-top: 18px; }

.nd-mint-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(310px, 0.62fr);
  align-items: start;
  gap: 18px;
}

.nd-receipt {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 3vw, 34px) clamp(16px, 3vw, 34px) 45px;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(32, 18, 11, 0.04) 31px 32px),
    linear-gradient(115deg, #f5ead7 0%, #fff3db 48%, #e9d8bc 100%);
  box-shadow:
    10px 10px 0 var(--chili-deep),
    15px 15px 0 rgba(9, 6, 4, 0.66);
  clip-path: polygon(0 10px, 10px 10px, 10px 0, calc(100% - 10px) 0, calc(100% - 10px) 10px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 10px calc(100% - 10px), 0 calc(100% - 10px));
}

.nd-receipt::before,
.nd-receipt::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 10px;
  pointer-events: none;
}

.nd-receipt::before {
  top: 0;
  background: repeating-radial-gradient(circle at 5px 0, var(--ink) 0 4px, transparent 4.5px 13px);
}

.nd-receipt::after {
  bottom: 0;
  background: repeating-radial-gradient(circle at 5px 10px, var(--ink) 0 4px, transparent 4.5px 13px);
}

.nd-receipt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 3px double var(--lacquer);
}

.nd-receipt-serial {
  color: var(--lacquer);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.nd-status-lamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lacquer);
  font-family: var(--display);
  font-size: 7px;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.nd-status-lamp i {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--steam-dim);
  box-shadow: 2px 2px 0 var(--lacquer);
}

.nd-status-lamp.live i { background: var(--broth); animation: nd-blink 1.5s steps(2) infinite; }
.nd-status-lamp.warn i { background: var(--chili); }

.nd-receipt-readout {
  display: grid;
  grid-template-columns: minmax(170px, 0.85fr) minmax(230px, 1.15fr);
  gap: 22px;
  padding: 22px 0 16px;
}

.nd-mint-total > span,
.nd-timer > span {
  display: block;
  margin-bottom: 7px;
  color: #5d4734;
  font-family: var(--text);
  font-size: 12px;
}

.nd-mint-total p {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.nd-mint-total strong {
  color: var(--chili-deep);
  font-family: var(--number);
  font-size: clamp(39px, 5vw, 67px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.nd-mint-total b {
  font-family: var(--number);
  font-size: 17px;
  font-weight: 400;
}

.nd-timer-digits {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.nd-timer-digits div {
  display: grid;
  min-width: 43px;
  gap: 3px;
  text-align: center;
}

.nd-timer-digits strong {
  padding: 6px 2px;
  background: var(--lacquer);
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.1;
}

.nd-timer-digits span {
  color: #694f39;
  font-family: var(--display);
  font-size: 5px;
  line-height: 1.5;
}

.nd-timer-digits > i {
  color: var(--chili);
  font-family: var(--number);
  font-size: 22px;
  font-style: normal;
}

.nd-pixel-meter {
  display: grid;
  height: 18px;
  padding: 3px;
  grid-template-columns: repeat(20, 1fr);
  gap: 3px;
  background: var(--lacquer);
}

.nd-pixel-meter i {
  display: block;
  background: #57442f;
}

.nd-pixel-meter i.on {
  background: var(--chili);
  box-shadow: inset 0 2px 0 var(--broth);
}

.nd-route-state {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 10px 12px;
  border: 1px dashed #826b52;
  background: rgba(32, 18, 11, 0.055);
  font-size: 12px;
  line-height: 1.5;
}

.nd-route-state i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--chili);
  box-shadow: 2px 2px 0 var(--lacquer);
}

.nd-route-state.eligible {
  border-color: var(--chili);
  background: rgba(240, 165, 42, 0.15);
}

.nd-route-state.eligible i {
  background: var(--broth);
}

.nd-order-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 20px 0 13px;
}

.nd-small-label {
  display: block;
  color: var(--broth);
  font-family: var(--display);
  font-size: 7px;
  line-height: 1.65;
  text-transform: uppercase;
}

.nd-receipt .nd-small-label {
  color: #604834;
}

.nd-stepper {
  display: grid;
  width: 145px;
  height: 46px;
  grid-template-columns: 42px 1fr 42px;
  border: 2px solid var(--lacquer);
  background: var(--steam);
}

.nd-stepper button {
  border: 0;
  background: var(--lacquer);
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 23px;
}

.nd-stepper button:hover {
  background: var(--chili);
}

.nd-stepper input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--lacquer);
  font-family: var(--number);
  font-size: 21px;
  text-align: center;
  appearance: textfield;
}

.nd-stepper input::-webkit-inner-spin-button,
.nd-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.nd-max-key {
  height: 46px;
  padding: 0 13px;
  border: 2px solid var(--lacquer);
  background: transparent;
  color: var(--lacquer);
  font-family: var(--display);
  font-size: 8px;
}

.nd-max-key:hover {
  background: var(--lacquer);
  color: var(--broth-hi);
}

.nd-receipt-lines {
  margin: 7px 0 20px;
}

.nd-receipt-lines div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  border-bottom: 1px dashed #90785f;
  font-size: 13px;
}

.nd-receipt-lines b {
  font-family: var(--number);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

.nd-receipt-lines .nd-receipt-total {
  padding-top: 13px;
  border-bottom: 3px solid var(--lacquer);
  font-family: var(--display);
  font-size: 9px;
}

.nd-receipt-lines .nd-receipt-total b {
  color: var(--chili-deep);
  font-family: var(--number);
  font-size: 22px;
  font-weight: 500;
}

.nd-receipt-lines .nd-receipt-earn {
  border-bottom: 0;
  color: var(--chili-deep);
}

.nd-mint-button {
  width: 100%;
  min-height: 60px;
  font-size: 11px;
}

.nd-tx-note {
  display: none;
  margin-top: 11px;
  padding: 9px 12px;
  border-left: 4px solid var(--broth);
  background: rgba(240, 165, 42, 0.12);
  color: var(--steam);
  font-size: 12px;
  line-height: 1.5;
}

.nd-tx-note.show {
  display: block;
}

.nd-tx-note.err {
  border-left-color: var(--chili);
  background: rgba(211, 59, 36, 0.17);
}

.nd-receipt .nd-tx-note {
  color: var(--lacquer);
  background: rgba(240, 165, 42, 0.18);
}

.nd-receipt .nd-tx-note.err {
  background: rgba(211, 59, 36, 0.13);
}

.nd-ref-chip {
  margin-top: 8px;
  color: #6d533c;
  font-family: var(--number);
  font-size: 11px;
}

.nd-receipt-tear {
  position: absolute;
  top: 50%;
  right: -8px;
  bottom: 13%;
  width: 2px;
  background: repeating-linear-gradient(0deg, #947d63 0 5px, transparent 5px 10px);
  opacity: 0.45;
}

.nd-mint-rail {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.nd-route-ticket,
.nd-counter-ticket,
.nd-rule-grid,
.nd-x-ticket,
.nd-ramp-tile,
.nd-supply-tile,
.nd-sell-counter,
.nd-claim-tile,
.nd-invite-tile,
.nd-model-register {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(240, 165, 42, 0.055), transparent 45%),
    var(--lacquer);
  box-shadow: inset 0 0 0 3px rgba(9, 6, 4, 0.48);
}

.nd-route-ticket {
  padding: 20px;
  border-top: 5px solid var(--broth);
}

.nd-ticket-title > span {
  display: block;
  margin-top: 8px;
  color: var(--steam-dim);
  font-size: 11px;
  line-height: 1.55;
}

.nd-ticket-title h3 {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.nd-lane-row {
  display: grid;
  margin-top: 15px;
  grid-template-columns: 37px 1fr;
  align-items: start;
  gap: 11px;
}

.nd-lane-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--broth);
  color: var(--broth-hi);
  font-family: var(--display);
  font-size: 8px;
}

.nd-lane-x .nd-lane-mark {
  border-color: var(--chili);
  color: var(--steam);
  background: var(--chili);
}

.nd-lane-row strong {
  display: block;
  color: var(--steam);
  font-family: var(--display);
  font-size: 8px;
  line-height: 1.6;
}

.nd-lane-row p {
  color: var(--steam-dim);
  font-size: 11px;
  line-height: 1.55;
}

.nd-counter-ticket {
  padding: 18px 20px;
}

.nd-slot-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: var(--steam-dim);
  font-size: 12px;
}

.nd-slot-line b {
  color: var(--steam);
  font-family: var(--number);
  font-size: 12px;
  font-weight: 400;
}

.nd-slot-line i {
  color: var(--broth-hi);
  font-style: normal;
}

.nd-slot-track {
  height: 8px;
  margin-top: 5px;
  padding: 2px;
  border: 1px solid var(--line-lit);
}

.nd-slot-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--broth);
  transition: width 300ms steps(8);
}

.nd-slot-track.nd-slot-x i {
  background: var(--chili);
}

.nd-counter-ticket small {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: var(--steam-dim);
  font-size: 10px;
  line-height: 1.5;
}

.nd-box-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-lit);
  color: var(--steam-dim);
  font-size: 10px;
  line-height: 1.55;
}

.nd-rule-grid {
  display: grid;
  padding: 10px;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.nd-rule-badge {
  min-height: 90px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.nd-rule-badge b {
  display: block;
  margin-bottom: 7px;
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 18px;
  font-weight: 500;
}

.nd-rule-badge span {
  display: block;
  color: var(--steam-dim);
  font-size: 10px;
  line-height: 1.5;
}

.nd-rule-wide {
  grid-column: 1 / -1;
  min-height: 0;
  border-left: 4px solid var(--chili);
}

.nd-odds-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.nd-odd {
  display: grid;
  min-width: 0;
  padding: 7px;
  grid-template-columns: 4px minmax(0, 1fr);
  gap: 4px 6px;
  border: 1px solid var(--line);
  background: rgba(9, 6, 4, 0.72);
}

.nd-odd > i {
  grid-row: 1 / 3;
  background: var(--tier);
}

.nd-odd span {
  overflow: hidden;
  color: var(--steam-dim);
  font-size: 8px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nd-odd b {
  color: var(--steam);
  font-family: var(--number);
  font-size: 10px;
  font-weight: 400;
}

.nd-x-ticket {
  display: grid;
  grid-column: 1 / -1;
  padding: clamp(19px, 2.5vw, 28px);
  border-left: 6px solid var(--chili);
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  column-gap: 28px;
}

.nd-x-head {
  position: relative;
  grid-row: 1 / 3;
  padding-right: 18px;
  border-right: 1px dashed var(--line-lit);
}

.nd-x-head h3 {
  margin: 12px 0;
  font-family: var(--display);
  font-size: clamp(13px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.55;
}

.nd-x-stamp {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 3px solid var(--chili);
  color: var(--chili);
  font-family: var(--display);
  font-size: 20px;
  transform: rotate(-4deg);
  box-shadow: 4px 4px 0 rgba(211, 59, 36, 0.2);
}

.nd-x-desc {
  max-width: 640px;
  color: var(--steam-dim);
  font-size: 12px;
  line-height: 1.65;
}

.nd-x-form {
  display: grid;
  margin-top: 15px;
  grid-column: 2;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.nd-x-form label {
  margin-bottom: 7px;
}

.nd-x-post,
.nd-x-check {
  min-width: 0;
}

.nd-x-form textarea,
.nd-x-form input,
.nd-sell-form input,
.nd-copy-field input {
  width: 100%;
  border: 1px solid var(--line-lit);
  border-radius: 0;
  background: var(--ink);
  color: var(--steam);
  font-family: var(--number);
  font-size: 12px;
}

.nd-x-form textarea {
  min-height: 119px;
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

.nd-x-form input,
.nd-sell-form input,
.nd-copy-field input {
  height: 45px;
  padding: 0 12px;
}

.nd-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.nd-turnstile {
  min-height: 65px;
  margin-top: 9px;
  padding: 7px;
  border: 1px dashed var(--line);
  background: rgba(9, 6, 4, 0.5);
}

.nd-x-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.nd-state-note {
  margin-top: 8px;
  color: var(--steam-dim);
  font-size: 11px;
  line-height: 1.55;
}

.nd-reward-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.nd-ramp-tile {
  position: relative;
  overflow: hidden;
  padding: clamp(21px, 3vw, 34px);
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(211, 59, 36, 0.08) 70% 72%, transparent 72%),
    var(--lacquer);
}

.nd-ramp-tile::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 31px;
  height: 31px;
  border: 2px solid var(--chili);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 20% 91%, 31% 56%, 2% 35%, 39% 34%);
  opacity: 0.55;
}

.nd-tile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.nd-tile-head strong {
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 500;
  white-space: nowrap;
}

.nd-ramp-tile > p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--steam-dim);
  font-size: 12px;
}

.nd-ramp {
  display: flex;
  height: 190px;
  align-items: end;
  gap: 8px;
  margin-top: 27px;
  padding: 18px 14px 0;
  border-left: 1px solid var(--line-lit);
  border-bottom: 1px solid var(--line-lit);
  background:
    repeating-linear-gradient(0deg, transparent 0 37px, rgba(240, 165, 42, 0.08) 37px 38px);
}

.nd-ramp span {
  display: flex;
  height: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 5px;
}

.nd-ramp i {
  display: block;
  width: 100%;
  height: var(--h);
  min-height: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(9, 6, 4, 0.2) 0 4px, transparent 4px 8px),
    var(--broth);
  border-top: 3px solid var(--broth-hi);
  box-shadow: inset -4px 0 0 rgba(124, 31, 23, 0.45);
}

.nd-ramp span:nth-child(3n) i {
  background:
    repeating-linear-gradient(0deg, rgba(9, 6, 4, 0.18) 0 4px, transparent 4px 8px),
    var(--chili);
}

.nd-ramp b {
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 10px;
  font-weight: 400;
}

.nd-ramp-peak i {
  border-top-color: var(--steam);
  box-shadow: 0 0 18px rgba(240, 165, 42, 0.32);
}

.nd-supply-tile {
  display: grid;
  padding: clamp(20px, 2.5vw, 30px);
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.nd-supply-ring {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(var(--broth) 0 32.383%, var(--chili) 32.383% 59.433%, var(--line-lit) 59.433% 100%);
  box-shadow: 0 0 0 8px var(--ink);
}

.nd-supply-ring span {
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border-radius: 50%;
  background: var(--lacquer);
  color: var(--broth-hi);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}

.nd-supply-ring small {
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 8px;
}

.nd-supply-ledger {
  min-width: 0;
}

.nd-supply-ledger > div {
  display: grid;
  margin-top: 10px;
  grid-template-columns: 9px minmax(80px, 0.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.nd-supply-ledger > div > i {
  width: 9px;
  height: 9px;
}

.nd-swatch-a { background: var(--broth); }
.nd-swatch-b { background: var(--chili); }
.nd-swatch-c { background: var(--line-lit); }

.nd-supply-ledger b {
  overflow: hidden;
  color: var(--steam);
  font-size: 9px;
  font-weight: 400;
  text-align: right;
  text-overflow: ellipsis;
}

.nd-fine {
  margin-top: 17px;
  color: var(--steam-dim);
  font-size: 10px;
}

.nd-market-state {
  margin: -4px 0 18px 66px;
  color: var(--steam-dim);
  font-size: 12px;
}

.nd-fee-stamp {
  justify-self: end;
  align-self: start;
  padding: 10px 12px;
  border: 2px solid var(--chili);
  color: var(--steam);
  font-family: var(--display);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
  transform: rotate(2deg);
}

.nd-lot-grid {
  display: grid;
  margin-bottom: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nd-lot-card {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 116px minmax(0, 1fr);
  background: var(--ink-soft);
  border: 1px solid var(--line);
  box-shadow: 4px 4px 0 rgba(9, 6, 4, 0.6);
}

.nd-lot-art {
  position: relative;
  min-height: 142px;
  background: var(--lacquer);
  overflow: hidden;
}

.nd-lot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.nd-lot-art span {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 3px 5px;
  background: var(--ink);
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 9px;
}

.nd-lot-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px;
}

.nd-lot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 9px;
}

.nd-tier-dot {
  width: 7px;
  height: 7px;
  background: var(--tier);
  box-shadow: 2px 2px 0 var(--ink);
}

.nd-lot-body > strong {
  margin: 8px 0 auto;
  color: var(--steam);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.6;
}

.nd-lot-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 12px;
  color: var(--broth-hi);
  font-size: 12px;
}

.nd-lot-price span {
  color: var(--chili);
  font-family: var(--text);
  font-size: 8px;
}

.nd-lot-body .nd-button {
  width: 100%;
  margin-top: 9px;
}

.nd-sell-counter {
  padding: clamp(18px, 2.5vw, 28px);
  border-top: 4px solid var(--broth);
}

.nd-sell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--line-lit);
}

.nd-sell-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 24px;
}

.nd-cook-picker {
  display: flex;
  min-height: 92px;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.nd-cook-picker > button {
  display: grid;
  width: 92px;
  flex: 0 0 92px;
  padding: 0;
  overflow: hidden;
  grid-template-rows: 66px auto;
  border: 2px solid var(--line);
  background: var(--ink);
  color: var(--steam-dim);
  text-align: left;
}

.nd-cook-picker > button.selected {
  border-color: var(--broth);
  box-shadow: 3px 3px 0 var(--chili-deep);
}

.nd-cook-picker img {
  width: 100%;
  height: 66px;
  object-fit: cover;
  image-rendering: pixelated;
}

.nd-cook-picker span {
  overflow: hidden;
  padding: 4px;
  font-family: var(--number);
  font-size: 8px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nd-sell-form {
  min-width: 0;
}

.nd-sell-actions {
  display: grid;
  margin-top: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.nd-sell-actions .nd-button:first-child {
  grid-column: 1 / -1;
}

.nd-personal-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.36fr) minmax(0, 0.64fr);
  gap: 18px;
}

.nd-claim-tile {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px;
  border-top: 5px solid var(--chili);
}

.nd-claim-number {
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 500;
  line-height: 1;
  text-shadow: 5px 5px 0 var(--chili-deep);
  word-break: break-all;
}

.nd-invite-tile {
  min-width: 0;
  padding: 24px;
}

.nd-invite-tile > p:not(.nd-kicker) {
  margin: 7px 0 14px;
  color: var(--steam-dim);
  font-size: 12px;
}

.nd-copy-field {
  display: grid;
  margin-top: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.nd-invite-stats {
  display: grid;
  margin-top: 16px;
  grid-template-columns: 1fr 1fr;
  border-top: 1px dashed var(--line-lit);
  border-bottom: 1px dashed var(--line-lit);
}

.nd-invite-stats div {
  display: grid;
  padding: 12px 0;
  gap: 5px;
}

.nd-invite-stats div + div {
  padding-left: 18px;
  border-left: 1px dashed var(--line-lit);
}

.nd-invite-stats span {
  color: var(--steam-dim);
  font-size: 10px;
}

.nd-invite-stats strong {
  color: var(--broth-hi);
  font-size: 18px;
  font-weight: 500;
}

.nd-my-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 12px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.nd-my-toolbar p {
  color: var(--steam-dim);
  font-size: 12px;
}

.nd-cook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nd-cook-card,
.nd-empty-ticket {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.nd-cook-card {
  box-shadow: 4px 4px 0 var(--chili-deep);
}

.nd-cook-card > img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  image-rendering: pixelated;
}

.nd-cook-card .nd-card-body {
  padding: 12px;
}

.nd-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 8px;
  line-height: 1.4;
}

.nd-card-body > strong {
  display: block;
  margin-top: 7px;
  color: var(--steam);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.6;
}

.nd-card-body .nd-button {
  width: 100%;
  margin-top: 10px;
}

.nd-sealed-stamp {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  padding: 4px 6px;
  background: var(--ink);
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 8px;
}

.nd-empty-ticket {
  display: grid;
  min-height: 150px;
  grid-column: 1 / -1;
  place-items: center;
  padding: 22px;
  border-style: dashed;
  color: var(--steam-dim);
  font-size: 12px;
  text-align: center;
}

.nd-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nd-tier-slab {
  display: grid;
  min-width: 0;
  grid-template-columns: 42% minmax(0, 58%);
  border: 1px solid var(--line);
  background: var(--ink-soft);
  box-shadow: 5px 5px 0 rgba(9, 6, 4, 0.65);
}

.nd-tier-slab figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--lacquer);
}

.nd-tier-slab img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  image-rendering: pixelated;
}

.nd-tier-code {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 5px;
  background: var(--ink);
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 9px;
}

.nd-tier-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
  border-left: 5px solid var(--tier);
}

.nd-tier-copy h3 {
  color: var(--steam);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.65;
}

.nd-tier-count {
  display: flex;
  margin-top: 10px;
  align-items: baseline;
  gap: 6px;
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 9px;
}

.nd-tier-count b {
  color: var(--broth-hi);
  font-size: 20px;
  font-weight: 500;
}

.nd-tier-odds {
  display: grid;
  margin-top: 10px;
  gap: 3px;
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 8px;
}

.nd-tier-odds b {
  color: var(--chili);
  font-weight: 500;
}

.nd-model-register {
  margin-top: 18px;
  padding: clamp(18px, 2.5vw, 28px);
  border-top: 4px solid var(--broth);
}

.nd-register-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px dashed var(--line-lit);
}

.nd-register-head h3 {
  margin: 8px 0;
  color: var(--steam);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.nd-register-head p:last-child {
  max-width: 620px;
  color: var(--steam-dim);
  font-size: 11px;
}

.nd-model-groups {
  margin-top: 16px;
}

.nd-model-group + .nd-model-group {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed var(--line-lit);
}

.nd-model-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.nd-model-group-head > i {
  width: 8px;
  height: 8px;
}

.nd-model-group-head h4 {
  color: var(--steam);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.5;
}

.nd-model-group-head span {
  margin-left: auto;
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 9px;
}

.nd-model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.nd-model-grid-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nd-model-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--ink);
}

.nd-model-art {
  position: relative;
  min-height: 69px;
  overflow: hidden;
  background: var(--lacquer);
}

.nd-model-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.nd-model-art span {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 2px 3px;
  background: var(--ink);
  color: var(--broth-hi);
  font-family: var(--number);
  font-size: 7px;
}

.nd-model-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 7px;
  border-left: 3px solid var(--tier);
}

.nd-model-copy small,
.nd-model-copy span {
  overflow: hidden;
  color: var(--steam-dim);
  font-family: var(--number);
  font-size: 7px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nd-model-copy strong {
  overflow: hidden;
  margin: 2px 0;
  color: var(--steam);
  font-family: var(--display);
  font-size: 6px;
  font-weight: 400;
  line-height: 1.55;
  text-overflow: ellipsis;
}

.nd-shift-line {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  gap: 18px;
}

.nd-shift-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.nd-shift-steps li {
  display: grid;
  min-height: 154px;
  padding: 22px;
  grid-template-columns: 42px 1fr;
  align-content: start;
  gap: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nd-shift-steps li:nth-child(2n) { border-right: 0; }
.nd-shift-steps li:nth-child(n + 3) { border-bottom: 0; }

.nd-shift-steps li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-lit);
  color: var(--broth);
  font-family: var(--number);
  font-size: 11px;
  box-shadow: 3px 3px 0 var(--chili-deep);
}

.nd-shift-steps p {
  color: var(--steam-dim);
  font-size: 13px;
  line-height: 1.7;
}

.nd-kitchen-sign {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px;
  border: 1px solid var(--chili-deep);
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(245, 234, 215, 0.025) 18px 20px),
    var(--chili-deep);
  box-shadow: 7px 7px 0 var(--ink);
}

.nd-sign-bowl {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 90px;
  height: 72px;
}

.nd-sign-bowl::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32px;
  background: var(--steam);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
}

.nd-sign-bowl i {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 29px;
  margin: 0 8px 26px;
  background: transparent;
  box-shadow:
    0 -7px 0 var(--broth),
    5px -14px 0 var(--broth-hi),
    0 -21px 0 var(--broth);
}

.nd-kitchen-sign p {
  color: var(--steam);
  font-family: var(--display);
  font-size: 12px;
  line-height: 1.65;
}

.nd-faq {
  background:
    linear-gradient(120deg, rgba(211, 59, 36, 0.06), transparent 44%),
    var(--ink-soft);
}

.nd-head-link {
  justify-self: end;
  color: var(--broth);
  font-family: var(--display);
  font-size: 9px;
  text-decoration: none;
}

.nd-faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.nd-faq-item {
  border: 1px solid var(--line);
  background: var(--lacquer);
}

.nd-faq-item[open] {
  border-color: var(--line-lit);
  background: var(--lacquer-hi);
}

.nd-faq-item summary {
  position: relative;
  padding: 15px 45px 15px 17px;
  color: var(--steam);
  font-family: var(--display);
  font-size: 8px;
  line-height: 1.75;
  list-style: none;
  cursor: pointer;
}

.nd-faq-item summary::-webkit-details-marker {
  display: none;
}

.nd-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--broth);
  font-family: var(--number);
  font-size: 22px;
  transform: translateY(-50%);
}

.nd-faq-item[open] summary::after {
  content: "−";
}

.nd-faq-item p {
  padding: 0 17px 16px;
  color: var(--steam-dim);
  font-size: 12px;
  line-height: 1.75;
}

.nd-footer {
  width: min(1460px, calc(100% - 48px));
  margin: 0 auto 18px;
  padding: 30px;
  border-top: 4px solid var(--chili-deep);
  background: var(--lacquer);
}

.nd-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.nd-footer-brand {
  display: grid;
  gap: 7px;
}

.nd-footer-brand p,
.nd-footer-brand > span {
  color: var(--steam-dim);
  font-size: 10px;
}

.nd-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nd-footer-links > div {
  display: grid;
  min-width: 172px;
  padding: 9px 11px;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.nd-footer-links span {
  color: var(--steam-dim);
  font-family: var(--display);
  font-size: 6px;
  line-height: 1.6;
}

.nd-footer-links a {
  overflow: hidden;
  color: var(--broth-hi);
  font-size: 10px;
  text-overflow: ellipsis;
}

.nd-footer-links code {
  white-space: nowrap;
}

.nd-footer-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--broth-hi);
  font-family: var(--text);
  font-size: 10px;
  text-align: left;
}

.nd-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: grid;
  width: min(1080px, calc(100% - 20px));
  min-height: var(--dock);
  margin: 0 auto 8px;
  padding: 8px;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  border: 1px solid var(--line-lit);
  background: rgba(9, 6, 4, 0.94);
  box-shadow:
    0 -4px 0 rgba(9, 6, 4, 0.92),
    0 0 0 1px var(--ink),
    0 9px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  clip-path: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px));
}

.nd-dock a {
  display: flex;
  min-width: 0;
  min-height: 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 3px;
  border: 1px solid transparent;
  color: var(--steam-dim);
  font-family: var(--display);
  font-size: 6px;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.nd-dock a:hover,
.nd-dock a:focus-visible {
  border-color: var(--line-lit);
  background: var(--lacquer);
  color: var(--broth-hi);
}

.nd-dock a:first-child {
  border-color: var(--chili-deep);
  background: rgba(211, 59, 36, 0.12);
  color: var(--steam);
}

.nd-dock-icon {
  position: relative;
  display: block;
  width: 23px;
  height: 20px;
  color: var(--broth);
}

.nd-icon-box {
  border: 3px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat;
  box-shadow: 2px 2px 0 var(--chili-deep);
}

.nd-icon-bowl {
  border: 3px solid currentColor;
  border-top: 0;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}

.nd-icon-bowl::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 9px;
  width: 3px;
  height: 7px;
  background: currentColor;
  box-shadow: -6px -3px 0 var(--chili), 6px -3px 0 var(--chili);
}

.nd-icon-counter {
  border: 3px solid currentColor;
  border-top-width: 6px;
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px);
}

.nd-icon-cook {
  border: 3px solid currentColor;
  border-radius: 50% 50% 42% 42%;
  box-shadow:
    -7px 4px 0 -2px var(--broth),
    7px 4px 0 -2px var(--broth);
}

.nd-icon-cook::before,
.nd-icon-cook::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 3px;
  height: 3px;
  background: var(--lacquer);
}

.nd-icon-cook::before { left: 5px; }
.nd-icon-cook::after { right: 5px; }

.nd-icon-tier {
  background:
    linear-gradient(currentColor, currentColor) left 12px / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) left 5px / 70% 3px no-repeat,
    linear-gradient(var(--chili), var(--chili)) left 0 / 42% 3px no-repeat;
}

.nd-icon-pot {
  border: 3px solid currentColor;
  border-top: 0;
  background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(240, 165, 42, 0.28) 5px 8px);
}

.nd-icon-pot::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 2px;
  width: 3px;
  height: 3px;
  background: currentColor;
  box-shadow: 6px -4px 0 var(--steam), 12px 0 0 currentColor;
}

.nd-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(9, 6, 4, 0.82);
  backdrop-filter: blur(5px);
}

.nd-modal.show {
  display: grid;
}

.nd-modal-card {
  width: min(430px, 100%);
  padding: 20px;
  border: 2px solid var(--broth);
  background: var(--lacquer);
  box-shadow: 8px 8px 0 var(--chili-deep);
}

.nd-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--line-lit);
}

.nd-modal-head strong {
  font-family: var(--display);
  font-size: 11px;
}

.nd-icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-lit);
  background: var(--ink);
  color: var(--steam);
  font-family: var(--number);
  font-size: 18px;
}

.nd-wallet-options {
  display: grid;
  margin-top: 14px;
  gap: 8px;
}

.nd-wallet-options .nd-button {
  width: 100%;
}

.nd-toast {
  position: fixed;
  right: 18px;
  bottom: calc(var(--dock) + 22px);
  z-index: 110;
  max-width: min(380px, calc(100% - 36px));
  padding: 12px 15px;
  border-left: 5px solid var(--broth);
  background: var(--steam);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 5px 5px 0 var(--chili-deep);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms linear, transform 160ms steps(3);
}

.nd-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.nd-art-missing {
  background:
    repeating-linear-gradient(45deg, var(--lacquer) 0 8px, var(--lacquer-hi) 8px 16px) !important;
}

@keyframes nd-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nd-stage-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nd-steam {
  0%, 100% { opacity: 0.2; transform: translateY(5px); }
  45% { opacity: 0.9; transform: translateY(-13px); }
}

@keyframes nd-blink {
  50% { opacity: 0.35; }
}

@media (max-width: 1180px) {
  .nd-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 26px;
  }

  .nd-reveal-stage {
    min-height: 510px;
  }

  .nd-box-shrine {
    width: min(330px, 68vw);
  }

  .nd-mint-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(285px, 0.8fr);
  }

  .nd-reward-bento {
    grid-template-columns: 1fr;
  }

  .nd-lot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nd-cook-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nd-model-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nd-model-grid-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .nd-hero-inner {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 155px;
    grid-template-columns: 1fr;
  }

  .nd-hero-copy {
    max-width: 760px;
  }

  .nd-reveal-stage {
    width: min(560px, 100%);
    min-height: 480px;
    justify-self: center;
  }

  .nd-stage-caption {
    right: 2%;
  }

  .nd-hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .nd-hero-facts div:nth-child(2) {
    border-right: 0;
  }

  .nd-hero-facts div:nth-child(-n + 2) {
    border-bottom: 1px dashed var(--line);
  }

  .nd-mint-grid {
    grid-template-columns: 1fr;
  }

  .nd-mint-rail {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .nd-rule-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
  }

  .nd-rule-wide,
  .nd-odds-grid {
    grid-column: 1 / -1;
  }

  .nd-odds-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .nd-x-ticket {
    grid-template-columns: 1fr;
  }

  .nd-x-head {
    grid-row: auto;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px dashed var(--line-lit);
  }

  .nd-x-stamp {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .nd-x-form {
    margin-top: 15px;
    grid-column: 1;
  }

  .nd-supply-tile {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .nd-sell-grid {
    grid-template-columns: 1fr;
  }

  .nd-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nd-model-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nd-model-grid-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nd-shift-line {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar: 60px;
    --dock: 70px;
  }

  .nd-topbar {
    gap: 8px;
    padding: 0 11px;
  }

  .nd-topbar-rule,
  .nd-topbar-code {
    display: none;
  }

  .nd-brand {
    gap: 7px;
  }

  .nd-brand-mark {
    width: 24px;
    height: 24px;
  }

  .nd-brand-word {
    font-size: 8px;
  }

  .nd-topbar-actions {
    margin-left: auto;
    gap: 5px;
  }

  .nd-topbar select {
    width: 72px;
    height: 35px;
    padding-left: 6px;
    font-size: 9px;
  }

  .nd-connect {
    min-width: 84px;
    min-height: 35px;
    padding: 7px 9px;
    font-size: 7px;
  }

  .nd-hero-inner,
  .nd-bento,
  .nd-hero-facts,
  .nd-footer {
    width: calc(100% - 24px);
  }

  .nd-hero-inner {
    padding-top: 56px;
    padding-bottom: 190px;
    gap: 20px;
  }

  .nd-kicker {
    font-size: 7px;
  }

  .nd-hero h1 {
    margin: 17px 0 19px;
    font-size: clamp(25px, 7.3vw, 38px);
    line-height: 1.38;
    text-shadow:
      3px 3px 0 var(--chili-deep),
      6px 6px 0 rgba(9, 6, 4, 0.7);
  }

  .nd-hero-lede {
    font-size: 14px;
    line-height: 1.7;
  }

  .nd-hero-actions {
    gap: 8px;
    margin-top: 24px;
  }

  .nd-hero-actions .nd-button {
    min-height: 43px;
    padding: 10px 13px;
    font-size: 8px;
  }

  .nd-reveal-stage {
    min-height: 405px;
  }

  .nd-box-shrine {
    width: min(280px, 76vw);
    padding: 10px;
  }

  .nd-stage-caption {
    right: 0;
    bottom: 10%;
    min-width: 115px;
    padding: 8px 10px;
  }

  .nd-stage-caption strong {
    font-size: 20px;
  }

  .nd-pedestal {
    height: 92px;
  }

  .nd-pedestal i:nth-child(1) { height: 29px; }
  .nd-pedestal i:nth-child(2) { top: 24px; height: 31px; }
  .nd-pedestal i:nth-child(3) { top: 50px; height: 30px; }

  .nd-hero-facts div {
    display: grid;
    gap: 2px;
    padding: 9px 11px;
  }

  .nd-hero-facts strong {
    font-size: 16px;
  }

  .nd-hero-facts span {
    font-size: 10px;
  }

  .nd-bento {
    margin-top: 11px;
  }

  .nd-section {
    margin-bottom: 11px;
    padding: 17px 12px;
    box-shadow: 4px 4px 0 rgba(9, 6, 4, 0.7);
  }

  .nd-section-head {
    margin-bottom: 18px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }

  .nd-index {
    width: 32px;
    height: 32px;
    font-size: 10px;
    box-shadow: 3px 3px 0 var(--chili-deep);
  }

  .nd-section h2 {
    margin-top: 7px;
    font-size: clamp(16px, 5vw, 22px);
    line-height: 1.5;
  }

  .nd-head-note,
  .nd-head-stamp,
  .nd-fee-stamp,
  .nd-head-link {
    grid-column: 2;
    justify-self: start;
  }

  .nd-head-note {
    padding-left: 10px;
    font-size: 11px;
  }

  .nd-head-stamp {
    display: none;
  }

  .nd-fee-stamp,
  .nd-head-link {
    margin-top: 2px;
  }

  .nd-section-lede,
  .nd-market-state {
    margin-left: 45px;
    font-size: 12px;
  }

  .nd-receipt {
    padding: 18px 14px 38px;
    box-shadow:
      5px 5px 0 var(--chili-deep),
      8px 8px 0 rgba(9, 6, 4, 0.66);
  }

  .nd-receipt-head {
    align-items: flex-start;
    gap: 10px;
  }

  .nd-receipt-serial {
    font-size: 9px;
  }

  .nd-status-lamp {
    font-size: 6px;
  }

  .nd-receipt-readout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 17px;
  }

  .nd-mint-total strong {
    font-size: 48px;
  }

  .nd-timer-digits div {
    min-width: 0;
    flex: 1;
  }

  .nd-timer-digits strong {
    font-size: 19px;
  }

  .nd-timer-digits span {
    font-size: 4px;
  }

  .nd-pixel-meter {
    height: 16px;
    gap: 2px;
  }

  .nd-route-state {
    font-size: 11px;
  }

  .nd-order-row {
    flex-wrap: wrap;
  }

  .nd-stepper {
    width: 130px;
    height: 43px;
    grid-template-columns: 38px 1fr 38px;
  }

  .nd-max-key {
    height: 43px;
  }

  .nd-receipt-lines .nd-receipt-total b {
    font-size: 18px;
  }

  .nd-mint-button {
    min-height: 54px;
    font-size: 8px;
  }

  .nd-mint-rail {
    grid-template-columns: 1fr;
  }

  .nd-rule-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nd-odds-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .nd-x-form {
    grid-template-columns: 1fr;
  }

  .nd-x-stamp {
    width: 39px;
    height: 39px;
    font-size: 14px;
  }

  .nd-tile-head {
    display: grid;
    gap: 7px;
  }

  .nd-tile-head strong {
    font-size: 19px;
  }

  .nd-ramp {
    height: 155px;
    gap: 5px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .nd-supply-tile {
    grid-template-columns: 1fr;
  }

  .nd-supply-ring {
    justify-self: center;
  }

  .nd-supply-ledger b {
    font-size: 8px;
  }

  .nd-lot-grid {
    grid-template-columns: 1fr;
  }

  .nd-sell-head {
    display: grid;
    gap: 12px;
  }

  .nd-sell-actions {
    grid-template-columns: 1fr;
  }

  .nd-sell-actions .nd-button:first-child {
    grid-column: auto;
  }

  .nd-personal-grid {
    grid-template-columns: 1fr;
  }

  .nd-claim-tile {
    min-height: 215px;
  }

  .nd-copy-field {
    grid-template-columns: 1fr;
  }

  .nd-copy-field .nd-button {
    width: 100%;
  }

  .nd-cook-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nd-tier-grid {
    grid-template-columns: 1fr;
  }

  .nd-tier-slab {
    grid-template-columns: 39% 61%;
  }

  .nd-tier-slab img {
    min-height: 150px;
  }

  .nd-register-head {
    display: grid;
    gap: 13px;
  }

  .nd-register-head .nd-button {
    width: 100%;
  }

  .nd-model-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nd-model-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .nd-shift-steps {
    grid-template-columns: 1fr;
  }

  .nd-shift-steps li,
  .nd-shift-steps li:nth-child(2n),
  .nd-shift-steps li:nth-child(n + 3) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nd-shift-steps li:last-child {
    border-bottom: 0;
  }

  .nd-kitchen-sign {
    min-height: 280px;
  }

  .nd-faq-list {
    grid-template-columns: 1fr;
  }

  .nd-faq-item summary {
    font-size: 7px;
  }

  .nd-footer {
    margin-bottom: 11px;
    padding: 20px 15px;
  }

  .nd-footer-inner {
    display: grid;
  }

  .nd-footer-links {
    justify-content: stretch;
  }

  .nd-footer-links > div {
    min-width: 0;
    flex: 1 1 160px;
  }

  .nd-dock {
    width: calc(100% - 12px);
    margin-bottom: 5px;
    padding: 5px;
    gap: 2px;
  }

  .nd-dock a {
    min-height: 54px;
    gap: 4px;
    font-size: 5px;
  }

  .nd-dock-icon {
    width: 20px;
    height: 18px;
  }

  .nd-toast {
    bottom: calc(var(--dock) + 15px);
  }
}

@media (max-width: 410px) {
  .nd-brand-word {
    max-width: 62px;
    overflow: hidden;
    line-height: 1.3;
  }

  .nd-topbar select {
    width: 64px;
  }

  .nd-connect {
    min-width: 74px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .nd-hero h1 {
    font-size: 23px;
  }

  .nd-hero-actions .nd-button {
    width: 100%;
  }

  .nd-reveal-stage {
    min-height: 370px;
  }

  .nd-stage-caption {
    right: -3px;
  }

  .nd-rule-grid {
    grid-template-columns: 1fr;
  }

  .nd-odds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nd-tier-slab {
    grid-template-columns: 44% 56%;
  }

  .nd-cook-grid {
    grid-template-columns: 1fr;
  }

  .nd-invite-stats {
    grid-template-columns: 1fr;
  }

  .nd-invite-stats div + div {
    padding-left: 0;
    border-top: 1px dashed var(--line-lit);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
