@import url("assets/fonts.css");
:root {
  color-scheme: dark;
  --bg: #101211;
  --panel: #181b18;
  --raised: #20241f;
  --line: #30362d;
  --text: #f1f3eb;
  --muted: #a3aa9a;
  --lime: #c1f77b;
  --black: #11170a;
  --purple: #baa0f6;
  --red: #ff9898;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover:not(:disabled) {
  filter: brightness(1.15);
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 88px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 3.5%;
  background: #111410;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 29px;
  letter-spacing: -1.3px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.brand-period {
  color: var(--lime);
  margin-left: -10px;
}
.brand-mark {
  width: 23px;
  height: 23px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  transform: rotate(-8deg);
}
.brand-mark i {
  background: var(--lime);
}
nav {
  display: flex;
  align-items: stretch;
  gap: 28px;
  height: 100%;
}
.nav-item {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  padding: 0 2px;
  white-space: nowrap;
}
a.nav-item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-item.active {
  color: var(--text);
}
.nav-item.active:after {
  content: "";
  height: 2px;
  background: var(--lime);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.nav-item span {
  font-size: 12px;
  background: #30362b;
  border-radius: 4px;
  margin-left: 5px;
  padding: 2px 5px;
}
.header-end {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
.network {
  font-size: 12px;
  color: var(--muted);
}
body[data-site="prelaunch"] .header-end .network {
  display: none;
}
.wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #252c1c;
  border: 1px solid #485b2c;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.wallet-icon {
  color: var(--lime);
  font-size: 19px;
}
.muted {
  color: var(--muted);
}
main {
  max-width: 1720px;
  margin: 0 auto;
  padding: 38px 3.5% 0;
}
.simulation-banner {
  display: none;
}
body[data-runtime="testnet"] .simulation-banner,
body[data-runtime="prelaunch"] .simulation-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -12px 0 24px;
  padding: 10px 14px;
  border: 1px solid #485b2c;
  background: #1c2518;
  color: #c3cebb;
  font-size: 11px;
  line-height: 1.4;
}
.simulation-banner strong {
  flex: 0 0 auto;
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.9px;
}
@media (max-width: 760px) {
  body[data-runtime="testnet"] .simulation-banner,
  body[data-runtime="prelaunch"] .simulation-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin: 0 0 19px;
  }
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 24px;
}
.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.demo-label {
  background: #25351e;
  color: var(--lime);
  padding: 5px 7px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 1px;
}
h1 {
  font:
    500 clamp(28px, 3.3vw, 48px) / 1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -1.6px;
  margin: 14px 0 11px;
}
h1 > span {
  color: var(--lime);
}
p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}
.heading-note {
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.mini-grid {
  color: var(--lime);
  font-size: 30px;
  border: 1px solid #39482b;
  border-radius: 10px;
  padding: 3px 12px;
}
.heading-note strong {
  font:
    500 18px "Space Grotesk",
    sans-serif;
  display: block;
}
.heading-note strong span {
  font:
    14px "DM Sans",
    sans-serif;
  color: var(--muted);
}
.heading-note small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.wall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 20px;
  align-items: stretch;
}
.wall-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wall-topline {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.live-label {
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}
.green-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}
.separator {
  color: #5d6856;
}
#wall-dimensions {
  color: var(--muted);
  letter-spacing: 0;
}
.text-button {
  font-size: 12px;
  color: var(--muted);
  padding: 3px 0;
  white-space: nowrap;
}
.text-button span {
  color: var(--lime);
  margin-left: 7px;
}
.stage {
  position: relative;
  height: 382px;
  overflow: auto;
  background-color: #131710;
  background-image: radial-gradient(#39412e 1px, transparent 1px);
  background-size: 16px 16px;
  overscroll-behavior: contain;
  scrollbar-color: #526041 #191e15;
  scrollbar-width: thin;
}
.map-loading {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  padding: 24px;
  color: var(--text);
  text-align: center;
  background: #131710e8;
  pointer-events: none;
}
.map-loading-spinner {
  width: 24px;
  height: 24px;
  margin-bottom: 3px;
  border: 2px solid #4b5a3e;
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: map-loading-spin 700ms linear infinite;
}
.map-loading strong {
  font:
    600 14px/1.3 "Space Grotesk",
    sans-serif;
}
.map-loading small {
  color: var(--muted);
  font-size: 12px;
}
.map-loading.is-reconnecting .map-loading-spinner {
  animation-duration: 1.25s;
  border-top-color: #d2b87c;
}
@keyframes map-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.world-wrap {
  min-width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px;
  position: relative;
  width: max-content;
}
#wall {
  display: block;
  image-rendering: pixelated;
  box-shadow:
    0 0 0 1px #485039,
    0 15px 55px #0005;
  cursor: crosshair;
  touch-action: none;
  background: #242a1e;
}
/* Match the prelaunch canvas's first painted size to backToCenter() before JavaScript runs. */
body[data-site="prelaunch"] #wall {
  width: min(1536px, max(512px, calc(93vw - 64px)));
  height: min(1536px, max(512px, calc(93vw - 64px)));
}
.wall-tooltip {
  pointer-events: none;
  position: fixed;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(280px, calc(100vw - 16px));
  padding: 7px;
  border: 1px solid #71835b;
  background: #1c2419f5;
  box-shadow: 0 12px 28px #0008;
  color: #f6f7ef;
}
.wall-tooltip[hidden] {
  display: none;
}
.wall-tooltip img {
  flex: none;
  width: 50px;
  height: 50px;
  object-fit: contain;
  image-rendering: pixelated;
  background: #293220;
}
.wall-tooltip > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.wall-tooltip span {
  color: #b2c59b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wall-tooltip strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wall-tooltip small {
  color: #c1f77b;
  font-size: 11px;
}
.wall-tooltip.is-gift {
  border-color: #c1f77b;
}
.center-giveaway-halo {
  position: absolute;
  z-index: 5;
  display: block;
  pointer-events: none;
  border: 1px solid var(--lime);
  box-shadow:
    0 0 8px #c1f77b80,
    inset 0 0 8px #c1f77b35;
}
.center-giveaway-halo::after {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid var(--lime);
  box-shadow: 0 0 12px #c1f77b66;
}
.center-giveaway-halo[hidden] {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .center-giveaway-halo::after {
    animation: giveaway-halo 2.4s ease-out infinite;
  }
}
@keyframes giveaway-halo {
  0%,
  25% {
    opacity: 0.7;
    transform: scale(1);
  }
  75%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}
.canvas-controls {
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.tool-group {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tool {
  width: 33px;
  height: 32px;
  font-size: 20px;
  border-radius: 5px;
  color: var(--muted);
}
.tool.active {
  color: var(--lime);
  background: #354327;
}
.tool-divider {
  height: 20px;
  width: 1px;
  background: var(--line);
  margin: 0 5px;
}
#tool-hint {
  font-size: 12px;
  color: var(--muted);
}
.zoom-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zoom-group button {
  font-size: 20px;
  min-width: 28px;
  min-height: 32px;
  border-radius: 4px;
}
.zoom-group button:hover {
  background: var(--raised);
}
.zoom-group output {
  font-size: 12px;
  color: var(--muted);
  width: 47px;
  text-align: center;
}
.wall-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 12px;
  color: var(--muted);
}
.wall-foot > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-square {
  width: 7px;
  height: 7px;
  background: #293220;
  display: inline-block;
  margin-left: 8px;
}
.legend-square:first-child {
  margin-left: 0;
}
.legend-square.owned {
  background: #949c85;
}
.legend-square.mine {
  background: #949c85;
  border: 1px solid var(--lime);
}
.inspector {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.section-label {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.section-label b {
  font-size: 12px;
  background: #2a3323;
  padding: 4px 6px;
  color: var(--lime);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.selection-visual {
  width: 58px;
  height: 58px;
  background: repeating-conic-gradient(#353e2b 0% 25%, #26301e 0% 50%) 0 0/14px 14px;
  border: 1px dashed var(--lime);
  border-radius: 3px;
  position: relative;
  margin-bottom: 20px;
}
.selection-visual:after {
  content: "+";
  position: absolute;
  right: -5px;
  bottom: -10px;
  color: var(--lime);
  font-size: 26px;
}
h2 {
  font:
    500 23px/1.2 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.inspector p {
  font-size: 13px;
  line-height: 1.6;
}
.inspector .grow {
  flex: 1;
  min-height: 15px;
}
.quick-label {
  font-size: 12px;
  color: var(--muted);
  margin: 23px 0 8px;
}
.quick-sizes {
  display: flex;
  gap: 6px;
}
.chip {
  border: 1px solid #414b36;
  border-radius: 5px;
  padding: 7px 9px;
  font-size: 12px;
  color: var(--text);
}
.chip:hover {
  border-color: var(--lime);
}
.primary {
  background: var(--lime);
  border: 1px solid var(--lime);
  color: var(--black);
  padding: 13px 16px;
  border-radius: 7px;
  font-weight: 650;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
}
.secondary {
  border: 1px solid #48513d;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 14px;
  background: #23291d;
  min-height: 44px;
}
.full {
  width: 100%;
}
.inspector .secondary {
  margin-top: 9px;
}
.quiet-caption {
  font-size: 12px !important;
  color: #8c977f !important;
  text-align: center;
  margin-top: 12px !important;
  line-height: 1.5 !important;
}
.inspector details {
  margin-top: 13px;
}
.inspector summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}
.coord-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
input,
select {
  border: 1px solid #46503b;
  background: #10160d;
  border-radius: 6px;
  color: var(--text);
  padding: 10px;
  min-width: 0;
  width: 100%;
  font-size: 14px;
}
input:focus,
select:focus {
  border-color: var(--lime);
}
.stats-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1.7fr;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 18px;
  padding: 24px 0;
  background: #151814;
}
.stats-strip > div {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.stats-strip > div:last-child {
  border: 0;
}
.stats-strip span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}
.stats-strip strong {
  font:
    500 25px "Space Grotesk",
    sans-serif;
  display: block;
  margin-top: 7px;
  letter-spacing: -0.5px;
}
.stats-strip strong small {
  color: var(--muted);
  font:
    12px "DM Sans",
    sans-serif;
}
.growth-stat strong {
  font-size: 13px;
  margin: 0;
  letter-spacing: 0;
}
.growth-stat > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.progress-track {
  height: 5px;
  border-radius: 2px;
  background: #333c29;
  margin-top: 16px;
  position: relative;
}
.progress-track i {
  height: 100%;
  display: block;
  background: var(--lime);
  width: 40%;
  border-radius: 2px;
}
.progress-track b {
  position: absolute;
  left: 80%;
  width: 2px;
  height: 9px;
  top: -2px;
  background: #7f8a71;
}
.growth-stat > small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.lower-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 33px 0 16px;
}
.lower-heading h2 {
  font-size: 19px;
  margin: 0;
}
.featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.art-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}
.art-card:hover {
  border-color: #73895a;
}
.art-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  image-rendering: pixelated;
  border-radius: 4px;
  background: #283123;
}
.art-card strong {
  font-size: 13px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}
.art-card small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.art-card .art-meta {
  min-width: 0;
  overflow: hidden;
}
.art-card .art-meta > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
footer {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 31px 0 22px;
  color: #78816e;
  font-size: 12px;
}
footer > span:nth-child(2) {
  margin-right: auto;
}
.footer-brand {
  font: 600 17px "Space Grotesk";
  color: #a3ad94;
}
.footer-brand b {
  color: var(--lime);
  font-weight: inherit;
}
.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-height: 400px;
}
.gallery .art-card {
  display: block;
  padding: 14px;
}
.gallery .art-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 5px;
  margin-bottom: 15px;
}
.gallery .art-card strong {
  font-size: 16px;
}
.gallery .art-card small {
  font-size: 13px;
}
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
  padding: 65px 20px;
  align-self: start;
}
.empty-state h2 {
  margin-bottom: 14px;
}
.empty-state button {
  margin: 20px auto 0;
  width: max-content;
}
dialog {
  background: var(--panel);
  color: var(--text);
  border: 1px solid #4b583c;
  border-radius: 15px;
  box-shadow: 0 30px 120px #0009;
  padding: 0;
  max-width: min(92vw, 900px);
  max-height: 92dvh;
  width: 480px;
  overflow: auto;
}
dialog::backdrop {
  background: #080c08b8;
  backdrop-filter: blur(7px);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 26px 0;
  gap: 15px;
}
.modal-header h2 {
  margin: 0;
}
.close-button {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 23px;
}
.close-button:hover {
  background: var(--raised);
}
.modal-body {
  padding: 24px 26px 28px;
}
.modal-body p {
  font-size: 14px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.receipt {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 16px;
  margin: 18px 0;
}
.receipt > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.receipt > div:last-child {
  border: 0;
}
.receipt span {
  color: var(--muted);
}
.receipt .receipt-total {
  font-size: 17px;
}
.receipt-total strong {
  color: var(--lime);
}
.tag {
  display: inline-block;
  padding: 5px 7px;
  background: #2b3c20;
  color: var(--lime);
  font-size: 12px;
  border-radius: 4px;
}
.warning {
  background: #352d1e;
  border: 1px solid #5e4d2b;
  padding: 12px;
  border-radius: 6px;
  color: #e1c691;
  font-size: 13px;
  line-height: 1.5;
}
.danger {
  color: #ffaaa1;
  border-color: #693e39;
}
.detail-art {
  height: 160px;
  max-width: 100%;
  image-rendering: pixelated;
  object-fit: contain;
  margin-bottom: 20px;
  background: #20291a;
  border-radius: 5px;
}
.stat-pair {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  font-size: 13px;
}
.stat-pair span {
  color: var(--muted);
}
.big-number {
  font: 500 35px "Space Grotesk";
  color: var(--lime);
  margin: 4px 0 2px;
}
.editor-dialog {
  width: 900px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 25px;
  padding: 24px;
}
.editor-stage {
  background: repeating-conic-gradient(#2b3125 0% 25%, #23291e 0% 50%) 0 0/18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}
.editor-stage canvas {
  image-rendering: pixelated;
  touch-action: none;
  max-width: 100%;
  cursor: crosshair;
  border: 1px solid #65724f;
}
.editor-tools {
  display: flex;
  gap: 6px;
  margin: 12px 0;
}
.editor-tools button {
  flex: 1;
  font-size: 13px;
}
.editor-tools .active {
  background: #354727;
  color: var(--lime);
  border-color: var(--lime);
}
.palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  margin: 15px 0;
}
.swatch {
  aspect-ratio: 1;
  border-radius: 4px;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px #ffffff15;
}
.swatch.active {
  border-color: white;
  box-shadow: 0 0 0 2px var(--lime);
}
.color-input {
  height: 37px;
  padding: 4px;
  cursor: pointer;
}
.editor-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 24px;
  gap: 15px;
}
.editor-actions p {
  font-size: 12px;
}
.editor-actions > div {
  display: flex;
  gap: 10px;
}
.upload-label {
  display: block;
  width: 100%;
  border: 1px dashed #677853;
  text-align: center;
  padding: 13px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  margin-top: 14px;
}
.upload-label:hover {
  color: var(--lime);
}
.upload-label input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.editor-message {
  min-height: 22px;
  font-size: 12px !important;
  margin-top: 10px !important;
}
.draft-size {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}
.editor-footnote {
  margin-top: 18px !important;
  font-size: 12px !important;
}
.selection-cost {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.selection-cost > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.selection-cost span {
  color: var(--muted);
}
.selection-cost strong {
  color: var(--lime);
  font-size: 18px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  top: auto;
  right: auto;
  margin: 0;
  width: max-content;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #d0f8a2;
  color: #16210e;
  box-shadow: 0 8px 30px #0006;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 14px;
  max-width: 90vw;
  z-index: 20;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.inline-error {
  font-size: 12px;
  color: #ffad9a;
  margin-top: 10px;
}
.editor-sizes {
  display: flex;
  gap: 7px;
  margin-top: 12px;
}
.mobile-only {
  display: none;
}
@media (min-width: 1500px) {
  .stage {
    height: 445px;
  }
  .wall-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .inspector {
    padding: 26px;
  }
}
@media (max-width: 1150px) {
  .topbar {
    gap: 30px;
  }
  .network {
    display: none;
  }
  .heading-note {
    display: none;
  }
  .wall-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  #tool-hint {
    display: none;
  }
  .stats-strip > div {
    padding: 0 18px;
  }
  .growth-stat > div:first-child {
    display: block;
  }
  .growth-stat strong {
    margin-top: 7px;
  }
  .featured {
    grid-template-columns: repeat(2, 1fr);
  }
  .eyebrow > span:last-child {
    display: none;
  }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 76px;
    padding: 17px 20px 0;
    flex-wrap: wrap;
    gap: 15px;
  }
  .brand {
    font-size: 27px;
  }
  .header-end {
    order: 1;
  }
  .wallet {
    font-size: 12px;
    padding: 8px 10px;
    gap: 5px;
  }
  .wallet-icon {
    font-size: 15px;
  }
  nav {
    order: 2;
    width: 100%;
    height: 43px;
    gap: 28px;
  }
  .nav-item {
    font-size: 13px;
  }
  .nav-item.active:after {
    bottom: 0;
  }
  main {
    padding: 26px 16px 0;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 35px;
    letter-spacing: -1px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .wall-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .wall-topline {
    padding: 14px;
  }
  .stage {
    height: 285px;
  }
  .canvas-controls {
    padding: 10px;
  }
  .tool {
    width: 36px;
    height: 36px;
  }
  .zoom-group {
    gap: 3px;
  }
  .zoom-group button {
    min-width: 30px;
    min-height: 36px;
  }
  .world-wrap {
    padding: 20px;
  }
  .wall-foot {
    padding: 10px 13px;
  }
  .inspector {
    padding: 20px;
  }
  .selection-visual {
    display: none;
  }
  .section-label {
    margin-bottom: 15px;
  }
  .inspector h2 {
    font-size: 23px;
  }
  .inspector .grow {
    min-height: 10px;
  }
  .inspector .quick-label {
    margin-top: 14px;
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
    padding: 20px 0;
  }
  .stats-strip > div:nth-child(2) {
    border: 0;
  }
  .stats-strip strong {
    font-size: 23px;
  }
  .growth-stat strong {
    font-size: 12px;
  }
  .progress-track {
    margin-top: 12px;
  }
  .stats-strip span {
    font-size: 12px;
  }
  .stats-strip > div {
    padding: 0 16px;
  }
  .featured {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .art-card {
    display: block;
    padding: 9px;
  }
  .art-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 10px;
  }
  .art-card strong {
    font-size: 12px;
  }
  .art-card small {
    font-size: 12px;
  }
  .lower-heading h2 {
    font-size: 18px;
  }
  .lower-heading {
    margin-top: 25px;
  }
  footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  footer .text-button {
    font-size: 12px;
    white-space: normal;
    max-width: 230px;
    text-align: right;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gallery .art-card {
    padding: 10px;
  }
  .gallery .art-card strong {
    font-size: 14px;
  }
  .gallery .art-card small {
    font-size: 12px;
  }
  .gallery-toolbar {
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 18px;
  }
  .editor-stage {
    min-height: 250px;
    max-height: 330px;
    padding: 15px;
  }
  .editor-stage canvas {
    max-height: 290px;
  }
  .editor-tools {
    margin-top: 0;
  }
  .palette {
    grid-template-columns: repeat(12, 1fr);
    gap: 5px;
  }
  .editor-actions {
    padding: 0 18px 20px;
    align-items: stretch;
    flex-direction: column;
  }
  .editor-actions > div {
    justify-content: flex-end;
  }
  .editor-dialog {
    width: 94vw;
    max-width: 94vw;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-header {
    padding: 20px 20px 0;
  }
  .modal-header h2 {
    font-size: 22px;
  }
  .detail-art {
    height: 120px;
  }
  .gallery .empty-state {
    padding: 35px 20px;
  }
  .editor-tools button {
    min-height: 42px;
  }
  .swatch {
    min-height: 24px;
  }
  .text-button {
    min-height: 28px;
  }
  .close-button {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Comfortable text sizes for the editor and reservation flow. */
.inspector p {
  font-size: 14px;
}
.field,
.text-button,
.chip {
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
}
.demo-label {
  font-size: 12px;
}
.stats-strip span {
  font-size: 12px;
  letter-spacing: 0.4px;
}
.wall-foot {
  font-size: 12px;
}
.art-card strong {
  font-size: 14px;
}
.stats-strip strong small {
  font-size: 12px;
}
.quick-label {
  font-size: 12px;
}
.nav-item {
  font-size: 14px;
}
.editor-footnote {
  font-size: 12px !important;
}
.quiet-caption {
  font-size: 12px !important;
}
.gallery .art-card small {
  font-size: 12px;
}
.wall-layout {
  align-items: start;
}
.wall-panel {
  align-self: stretch;
}
.stage {
  flex: 1;
  min-height: 382px;
}
.inspector {
  min-height: 536px;
}
.inspector .grow {
  min-height: 20px;
}
@media (max-width: 760px) {
  .stage {
    flex: initial;
    min-height: 285px;
  }
  .inspector {
    min-height: 0;
  }
  .stats-strip span {
    font-size: 12px;
  }
  .stats-strip > div {
    padding: 0 12px;
  }
  .stats-strip strong {
    font-size: 22px;
  }
  .text-button {
    font-size: 12px;
  }
  .quick-sizes .chip {
    min-height: 40px;
  }
  .heading-note {
    display: none;
  }
  .growth-stat > div:first-child {
    display: block;
  }
  .growth-stat strong {
    font-size: 12px;
  }
  .wall-foot > span:first-child {
    gap: 4px;
  }
  .legend-square {
    margin-left: 5px;
  }
  .wallet {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .stage {
    height: 320px;
    min-height: 320px;
  }
  .lower-heading {
    gap: 12px;
  }
  .lower-heading h2 {
    max-width: 60%;
  }
  .lower-heading .text-button {
    white-space: normal;
    text-align: right;
  }
  .world-wrap {
    padding: 32px;
  }
}
/* The viewport stays bounded as the world grows or zooms. */
.wall-panel {
  height: 560px;
  min-height: 0;
  align-self: start;
}
.wall-topline,
.canvas-controls,
.wall-foot {
  flex-shrink: 0;
}
.stage {
  height: auto;
  min-height: 0;
  flex: 1 1 0;
}
.inspector {
  min-height: 560px;
}
@media (min-width: 1500px) {
  .wall-panel {
    height: 620px;
  }
  .inspector {
    min-height: 620px;
  }
}
@media (max-width: 760px) {
  .wall-panel {
    height: auto;
  }
  .stage {
    flex: 0 0 320px;
    height: 320px;
    min-height: 320px;
  }
  .inspector {
    min-height: 0;
  }
  .palette {
    grid-template-columns: repeat(6, 1fr);
  }
  .swatch {
    min-height: 36px;
  }
  .editor-stage {
    min-height: 230px;
  }
}
/* Focused workspace, guided creation and transparent token valuation. */
.price-ticker {
  padding: 10px 14px;
  border: 1px solid #435335;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #202a18;
  white-space: nowrap;
  text-align: left;
  min-height: 48px;
}
.price-ticker > span {
  font-size: 14px;
  color: var(--text);
}
.price-ticker strong {
  color: var(--lime);
  font-weight: 600;
}
.price-ticker small {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #b1c29e;
}
.heading-note {
  gap: 15px;
}
.heading-note .mini-grid {
  display: none;
}
.heading-note > div {
  margin-right: 5px;
}
.heading-note small {
  max-width: 220px;
  line-height: 1.5;
}
.heading-note .price-ticker small {
  font-size: 10px;
  margin: 0;
}
.wall-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}
.wall-panel {
  height: 650px;
}
.inspector {
  min-height: 650px;
  padding: 24px;
}
.wall-topline {
  gap: 14px;
  padding: 14px 18px;
}
.wall-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.wall-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.wall-actions #help-button {
  width: 36px;
  padding: 0;
}
.compact-primary {
  font-weight: 600;
  color: var(--black);
  background: var(--lime);
}
.wall-actions .view-button {
  color: #c5d0bc;
  border-color: #3b4732;
}
.view-button:hover {
  background: #303d25;
}
.viewport-shell {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}
.viewport-shell > .stage {
  height: 100%;
  width: 100%;
  min-height: 0;
  flex: none;
}
.tool {
  width: auto;
  padding: 0 9px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.tool-label {
  font:
    12px "DM Sans",
    sans-serif;
}
#tool-hint {
  display: none;
}
.tool-divider {
  display: none;
}
.placement-banner {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  max-width: 90%;
  width: max-content;
  padding: 9px 13px;
  border: 1px solid #96b970;
  background: #18290df0;
  border-radius: 6px;
  color: #daf4bc;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 4px 18px #0003;
}
.placement-banner.invalid {
  border-color: #d67c70;
  background: #39211ef0;
  color: #ffc2b7;
}
.panel-collapsed {
  grid-template-columns: minmax(0, 1fr);
}
.panel-collapsed #inspector {
  display: none;
}
.immersive {
  overflow: hidden;
}
.immersive .wall-layout {
  position: fixed;
  inset: 12px;
  z-index: 40;
  background: var(--bg);
  gap: 12px;
  align-items: stretch;
}
.immersive .wall-panel {
  height: 100%;
  min-height: 0;
  align-self: stretch;
}
.immersive .inspector {
  height: 100%;
  min-height: 0;
  overflow-y: auto;
}
.immersive .wall-panel .viewport-shell {
  min-height: 0;
}
.immersive .wall-topline {
  background: var(--panel);
}
.creation-steps {
  list-style: none;
  display: flex;
  padding: 0 0 18px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
  gap: 13px;
  align-items: center;
}
.creation-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #78876b;
  white-space: nowrap;
}
.creation-steps b {
  width: 21px;
  height: 21px;
  border: 1px solid #415035;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 500;
}
.creation-steps .current {
  color: var(--lime);
}
.creation-steps .current b {
  border-color: var(--lime);
  background: var(--lime);
  color: #1c2a0c;
}
.creation-steps .complete {
  color: #b5cba1;
}
.creation-steps .complete b {
  background: #354927;
  color: var(--lime);
}
.creation-symbol {
  width: 54px;
  height: 54px;
  border: 1px dashed #819c61;
  color: var(--lime);
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(#303f24 0% 25%, #23311a 0% 50%) 0 0/13px 13px;
  font-size: 30px;
  margin: 0 0 22px;
}
.journey-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0 6px;
}
.journey-list > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.journey-list b {
  font: 500 13px "Space Grotesk";
  background: #29391e;
  color: var(--lime);
  width: 25px;
  height: 25px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.journey-list strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.journey-list small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.inspector .section-label {
  margin-bottom: 18px;
}
.inspector .grow {
  min-height: 22px;
}
.value-panel {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0 8px;
}
.value-panel > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.value-panel > strong {
  display: block;
  color: var(--lime);
  font: 500 35px "Space Grotesk";
  letter-spacing: -1px;
  margin: 8px 0;
}
.value-panel > small {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.owner-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
}
.owner-actions .text-button {
  white-space: normal;
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
}
.owner-actions .text-button:last-child {
  text-align: right;
}
.cost-summary {
  padding: 16px;
  border: 1px solid #3c4e2c;
  border-radius: 7px;
  background: #1c2715;
  margin: 20px 0 12px;
}
.cost-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 10px;
}
.cost-summary > div:last-of-type {
  margin-bottom: 0;
}
.cost-summary span {
  color: #b5c1a9;
}
.cost-summary strong {
  color: var(--lime);
  white-space: nowrap;
}
.cost-summary > small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
  line-height: 1.5;
}
.draft-preview {
  width: 100%;
  height: 116px;
  object-fit: contain;
  background: repeating-conic-gradient(#27351f 0% 25%, #202b1a 0% 50%) 0 0/16px 16px;
  border: 1px solid #435334;
  border-radius: 6px;
  image-rendering: pixelated;
  margin-bottom: 18px;
}
.placement-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.placement-actions .chip {
  flex: 1;
  font-size: 12px;
}
.position-details {
  font-size: 12px;
  color: var(--muted);
}
.position-details summary {
  padding: 8px 0;
  cursor: pointer;
}
.size-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 23px 0;
}
.size-option {
  border: 1px solid #445335;
  background: #202b19;
  padding: 18px 10px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
}
.size-option.active {
  border-color: var(--lime);
  background: #2b4020;
  box-shadow: inset 0 0 0 1px var(--lime);
}
.size-option strong {
  font: 500 20px "Space Grotesk";
  white-space: nowrap;
}
.size-option small {
  color: var(--lime);
  font-size: 14px;
}
.size-option span {
  font-size: 11px;
  color: var(--muted);
}
.custom-size-label {
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.start-art-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.start-art-actions button {
  font-size: 14px;
  white-space: nowrap;
}
.editor-progress {
  padding: 18px 24px 0;
}
.editor-progress .creation-steps {
  margin: 0;
  padding-bottom: 15px;
}
.editor-layout {
  padding-top: 20px;
}
.card-value {
  color: var(--lime) !important;
  font-size: 14px !important;
  font-weight: 500;
}
.card-value > span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.artwork-dialog {
  width: 880px;
  max-width: 94vw;
}
.artwork-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 24px 26px 30px;
}
.artwork-visual {
  background: repeating-conic-gradient(#25311d 0% 25%, #1d2816 0% 50%) 0 0/24px 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #394b2a;
  min-height: 360px;
}
.artwork-visual canvas {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
.artwork-info .value-panel {
  margin-top: 18px;
}
.creator-line {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}
.creator-avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: #314923;
  border: 1px solid #5c7744;
  border-radius: 50%;
  color: var(--lime);
}
.creator-line small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.creator-line strong {
  font-size: 14px;
}
.artwork-info .tag {
  font-size: 10px;
}
.gallery .art-card .card-value {
  font-size: 19px !important;
  margin-top: 12px;
}
.gallery .art-card .art-meta > * {
  white-space: normal;
}
.featured .art-card {
  padding: 13px;
}
.featured .art-thumb {
  width: 60px;
  height: 60px;
}
.featured .art-card .art-meta > * {
  white-space: normal;
}
.artwork-info .quiet-caption {
  font-size: 11px !important;
}
@media (max-width: 1150px) {
  .wall-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .heading-note {
    display: flex;
  }
  .heading-note > div {
    display: none;
  }
  .wall-topline {
    flex-wrap: wrap;
    gap: 12px;
  }
  .wall-actions {
    margin-left: auto;
  }
  .tool-label {
    display: none;
  }
  .tool {
    width: 33px;
    padding: 0;
  }
  .panel-collapsed {
    grid-template-columns: 1fr;
  }
  .inspector {
    padding: 20px;
  }
  .creation-steps {
    gap: 9px;
  }
  .creation-steps li {
    font-size: 11px;
  }
  .creation-steps b {
    width: 20px;
    height: 20px;
  }
  .cost-summary {
    padding: 12px;
  }
  .cost-summary > div {
    font-size: 12px;
  }
  .cost-summary strong {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .heading-note {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 12px;
  }
  .heading-note > div {
    display: block;
  }
  .heading-note strong {
    font-size: 16px;
  }
  .heading-note > div small {
    max-width: 175px;
    font-size: 11px;
    margin-top: 5px;
  }
  .price-ticker {
    padding: 8px 10px;
  }
  .heading-note .price-ticker small {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .wall-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .wall-panel {
    height: 500px;
  }
  .viewport-shell {
    flex: 1 1 0;
    min-height: 0;
  }
  .viewport-shell > .stage {
    height: 100%;
    min-height: 0;
    flex: none;
  }
  .wall-topline {
    gap: 12px;
    padding: 13px;
  }
  .wall-topline .live-label {
    width: 100%;
  }
  .wall-actions {
    display: grid;
    grid-template-columns: 0.85fr 1fr 1.2fr 40px;
    width: 100%;
    margin: 0;
    gap: 6px;
  }
  .wall-actions > button {
    height: 40px;
    min-height: 40px;
    min-width: 0;
    padding: 0 5px;
    font-size: 11px;
  }
  .wall-actions #help-button {
    width: 40px;
  }
  .canvas-controls {
    padding: 10px;
  }
  .tool-label {
    display: none;
  }
  .tool {
    width: 32px;
    padding: 0;
  }
  .placement-banner {
    font-size: 11px;
    top: 10px;
    padding: 7px 10px;
    max-width: 94%;
  }
  .inspector {
    min-height: 0;
    padding: 20px;
  }
  .creation-steps {
    gap: 20px;
  }
  .creation-steps li {
    font-size: 12px;
  }
  .creation-symbol {
    display: none;
  }
  .journey-list {
    gap: 13px;
    margin-top: 18px;
  }
  .inspector h2 {
    font-size: 27px;
  }
  .creation-steps {
    margin-bottom: 20px;
  }
  .value-panel > strong {
    font-size: 32px;
  }
  .featured .art-card {
    display: block;
    padding: 10px;
  }
  .featured .art-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }
  .card-value {
    font-size: 14px !important;
  }
  .card-value > span {
    display: block;
    font-size: 10px;
  }
  .cost-summary > div {
    font-size: 13px;
  }
  .start-art-actions {
    grid-template-columns: 1fr;
  }
  .start-art-actions .secondary {
    margin: 0;
  }
  .size-options {
    gap: 7px;
  }
  .size-option {
    padding: 14px 8px;
  }
  .size-option strong {
    font-size: 18px;
  }
  .size-option small {
    font-size: 13px;
  }
  .editor-progress {
    padding: 14px 18px 0;
  }
  .artwork-layout {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 22px;
  }
  .artwork-visual {
    min-height: 200px;
    max-height: 250px;
  }
  .artwork-visual canvas {
    max-height: 250px;
    object-fit: contain;
  }
  .artwork-info .value-panel {
    margin-top: 16px;
  }
  .creator-line {
    margin-top: 16px;
  }
  .immersive .wall-layout {
    inset: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .immersive .wall-panel {
    flex: 1 1 0;
    min-height: 200px;
    height: auto;
  }
  .immersive .inspector {
    flex: 0 1 36dvh;
    min-height: 0;
    max-height: 36dvh;
    width: 100%;
    overflow: auto;
  }
  .immersive .panel-collapsed .inspector {
    display: none;
  }
  .immersive .wall-panel .viewport-shell {
    min-height: 0;
  }
  .immersive .wall-topline {
    padding: 10px;
  }
  .immersive .wall-topline .live-label {
    display: none;
  }
  .panel-collapsed {
    grid-template-columns: 1fr;
  }
  .immersive .inspector .draft-preview {
    height: 80px;
  }
  .immersive .inspector .creation-steps {
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .owner-actions .text-button {
    min-height: 36px;
  }
  .draft-preview {
    height: 136px;
  }
}

.immersive::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  background: var(--bg);
}

/* Focused studio: one primary action, contextual image controls. */
.editor-dialog {
  width: 940px;
  max-width: min(96vw, 940px);
}
.editor-dialog #modal-content {
  display: flex;
  flex-direction: column;
  max-height: 92dvh;
  overflow: hidden;
}
.editor-dialog .modal-header {
  flex-shrink: 0;
  padding: 20px 24px 0;
}
.editor-dialog .modal-header h2 {
  font-size: 25px;
}
#draft-save-status {
  letter-spacing: 0;
  font-size: 11px;
}
.save-error {
  color: #ffaaa0;
}
.studio-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 24px;
  padding: 24px;
  overflow: auto;
  min-height: 0;
}
.studio-body[hidden],
#import-workspace[hidden],
.editor-actions[hidden] {
  display: none;
}
.studio-main {
  min-width: 0;
}
.studio-main .editor-stage {
  height: 340px;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}
.studio-main .editor-stage canvas {
  max-height: 100%;
  object-fit: contain;
}
.studio-main .editor-tools {
  margin: 12px 0 8px;
}
.studio-main .editor-message {
  font-size: 11px;
  margin: 0;
}
.studio-settings .field {
  margin: 0;
}
.studio-settings .palette {
  gap: 9px;
  grid-template-columns: repeat(6, 1fr);
  margin: 22px 0 16px;
}
.studio-settings .swatch {
  min-height: 23px;
}
.custom-color-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.custom-color-field .color-input {
  width: 58px;
  margin: 0;
}
.studio-settings .upload-label {
  margin-top: 22px;
  font-size: 13px;
}
.studio-settings .editor-footnote {
  font-size: 11px;
}
.editor-dialog .editor-actions {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  flex-shrink: 0;
  gap: 12px;
  margin: 0;
}
.editor-actions .studio-price,
.crop-footer .studio-price {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.studio-price strong {
  font-size: 16px;
  line-height: 1.2;
}
.studio-price small {
  font-size: 11px;
  color: var(--muted);
}
.studio-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.studio-buttons .text-button {
  font-size: 12px;
}
.studio-buttons .primary {
  white-space: nowrap;
}
#import-workspace {
  overflow: auto;
  padding: 22px 24px;
  min-height: 0;
}
.crop-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  align-items: baseline;
}
.crop-heading strong {
  font-size: 18px;
}
.crop-heading span {
  font-size: 12px;
  color: var(--muted);
}
.crop-stage {
  min-height: 270px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #11170e;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}
#crop-preview {
  image-rendering: pixelated;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  touch-action: none;
  cursor: grab;
  background: repeating-conic-gradient(#2b3125 0% 25%, #23291e 0% 50%) 0 0/16px 16px;
  box-shadow: 0 0 0 1px #6b8356;
}
#crop-preview:active {
  cursor: grabbing;
}
.crop-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0;
}
.segmented {
  display: flex;
  gap: 5px;
}
.segmented .active,
.crop-resolution .active {
  border-color: var(--lime);
  color: var(--lime);
  background: #354727;
}
.crop-zoom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 12px;
  color: var(--muted);
}
.crop-zoom input {
  width: 100%;
  min-width: 40px;
  accent-color: var(--lime);
}
.crop-zoom output {
  min-width: 30px;
}
.crop-tools .text-button {
  font-size: 12px;
}
.crop-resolution {
  margin: 12px 0;
  font-size: 13px;
}
.crop-resolution p {
  font-size: 12px;
  margin: 10px 0;
}
.crop-resolution summary {
  color: var(--text);
}
.crop-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}
.availability-toggle {
  font: inherit;
  font-size: 11px;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}
.availability-toggle[aria-pressed="true"] {
  color: var(--lime);
  border-color: #536c38;
  background: #24341b;
}
.publish-success {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #273c19;
  border: 1px solid #587c36;
  color: var(--lime);
  border-radius: 7px;
  padding: 14px;
  margin-bottom: 22px;
}
.publish-success b {
  font-size: 16px;
}
.publish-success span {
  font-size: 11px;
  color: #c5d6b5;
}
.just-published {
  animation: publish-glow 1.2s ease-out;
}
@keyframes publish-glow {
  0% {
    box-shadow:
      0 0 0 3px #c1f77b,
      0 0 42px #c1f77b55;
  }
  100% {
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .just-published {
    animation: none;
  }
}
@media (max-width: 760px) {
  .editor-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .editor-dialog #modal-content {
    height: 100dvh;
    max-height: 100dvh;
  }
  .editor-dialog .modal-header {
    padding: 14px 16px 0;
  }
  .editor-dialog .modal-header h2 {
    font-size: 23px;
  }
  .studio-body {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
    flex: 1;
    align-content: start;
  }
  .studio-main .editor-stage {
    height: 260px;
    padding: 12px;
  }
  .studio-main .editor-tools {
    position: sticky;
    bottom: 0;
    background: var(--panel);
    padding: 8px 0;
    z-index: 2;
    margin: 0;
  }
  .studio-main .editor-tools .chip {
    min-height: 40px;
  }
  .studio-main .editor-message {
    font-size: 11px;
    margin: 0;
  }
  .studio-settings {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    align-items: center;
  }
  .studio-settings > .field:first-child {
    grid-column: 1/-1;
  }
  .studio-settings .palette {
    grid-template-columns: repeat(9, 1fr);
    gap: 7px;
    margin: 15px 0;
  }
  .studio-settings .swatch {
    min-height: 24px;
  }
  .custom-color-field {
    font-size: 0;
  }
  .custom-color-field .color-input {
    width: 38px;
    height: 42px;
  }
  .studio-settings .upload-label {
    grid-column: 1/-1;
    margin-top: 0;
    padding: 11px;
  }
  .studio-settings .editor-footnote {
    display: none;
  }
  .editor-dialog .editor-actions {
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .editor-actions .studio-price {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }
  .studio-price strong {
    font-size: 14px;
  }
  .studio-price small {
    font-size: 10px;
    text-align: right;
  }
  .editor-actions .studio-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .studio-buttons .primary {
    flex: 1;
    font-size: 13px;
    padding: 12px;
  }
  .studio-buttons .text-button {
    font-size: 12px;
    flex: 0 0 auto;
  }
  .studio-buttons {
    gap: 12px;
  }
  #import-workspace {
    padding: 16px;
    flex: 1;
  }
  .crop-heading {
    display: block;
    margin-bottom: 12px;
  }
  .crop-heading strong {
    display: block;
    font-size: 20px;
  }
  .crop-heading span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
  }
  .crop-stage {
    height: 260px;
    min-height: 220px;
  }
  .crop-tools {
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
  }
  .crop-tools .segmented {
    flex: 1;
  }
  .crop-tools .crop-zoom {
    order: 3;
    flex-basis: 100%;
  }
  .crop-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .crop-footer .studio-price {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }
  .crop-footer .studio-buttons {
    display: flex;
    justify-content: space-between;
  }
  .availability-toggle {
    font-size: 10px;
    padding: 4px;
  }
  .wall-foot {
    flex-wrap: wrap;
    gap: 6px;
  }
  .wall-foot #coordinates {
    margin-left: auto;
  }
  .publish-success {
    margin-bottom: 16px;
  }
}
@media (max-width: 350px) {
  .studio-price small {
    max-width: 140px;
  }
  .studio-settings .palette {
    gap: 5px;
  }
  .studio-settings .swatch {
    min-height: 21px;
  }
  .studio-main .editor-stage {
    height: 220px;
  }
}

/* Artwork actions follow ownership, with secondary information folded away. */
.artwork-inspector {
  gap: 0;
  justify-content: flex-start;
}
.artwork-preview-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #212b1a;
  overflow: hidden;
  text-align: initial;
  margin-top: 18px;
}
.artwork-preview-button canvas {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: contain;
  image-rendering: pixelated;
}
.artwork-preview-button > span {
  position: absolute;
  right: 9px;
  bottom: 8px;
  border-radius: 4px;
  padding: 2px 7px;
  background: #111b0cce;
  color: #d4e8bd;
  font-size: 15px;
}
.artwork-preview-button:hover {
  border-color: #778f58;
}
.artwork-heading h2 {
  font-size: 25px;
  line-height: 1.15;
  margin: 19px 0 7px;
}
.artwork-heading p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.artwork-backing {
  border-top: 1px solid var(--line);
  margin-top: 21px;
  padding: 19px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.artwork-backing > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.artwork-backing > strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  color: var(--lime);
  letter-spacing: -1px;
}
.artwork-backing > small {
  font-size: 12px;
  color: #d5ddce;
}
.artwork-backing > p {
  font-size: 10px;
  margin: 0;
  color: var(--muted);
}
.artwork-owner-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 18px;
}
.artwork-owner-actions .primary {
  min-height: 46px;
}
.release-action {
  border: 1px solid #665146;
  border-radius: 6px;
  background: transparent;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #e1c8b7;
  text-align: left;
}
.release-action > span {
  font-size: 12px;
  font-weight: 600;
}
.release-action > small {
  font-size: 10px;
  color: #c0b09f;
}
.release-action:hover {
  background: #33251e;
  border-color: #a97a5f;
}
.artwork-inspector .publish-success {
  padding: 10px 12px;
  margin-bottom: 15px;
}
.artwork-inspector .publish-success b {
  font-size: 13px;
}
.position-details .chip {
  margin: 8px 0;
}
.inspector #move-preview[hidden] {
  display: none;
}
@media (max-width: 760px) {
  .artwork-preview-button canvas {
    height: 160px;
  }
  .artwork-backing {
    padding: 16px 0;
  }
  .artwork-heading h2 {
    font-size: 25px;
  }
  .artwork-owner-actions {
    margin-bottom: 16px;
  }
  .release-action {
    min-height: 44px;
  }
  .artwork-inspector .publish-success {
    margin-bottom: 12px;
  }
  .immersive .artwork-preview-button canvas {
    height: 90px;
  }
}

.growth-direction {
  position: absolute;
  top: calc(50% - var(--wall-pixel-height, 256px) / 2 - 24px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  color: #a8ba94;
  letter-spacing: 0.35px;
  pointer-events: none;
  line-height: 16px;
}

/* Account view: one balance and one action for all spaces. */
.rewards-card {
  padding: 28px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.rewards-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rewards-top > div {
  min-width: 0;
}
.rewards-top .section-label {
  justify-content: flex-start;
  gap: 12px;
}
.reward-amount {
  margin: 16px 0 8px;
  font:
    500 clamp(28px, 4vw, 44px) / 1.15 "Space Grotesk",
    sans-serif;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.reward-amount span {
  color: var(--muted);
  font-size: 0.55em;
  letter-spacing: 0;
}
.rewards-top p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.rewards-top > button {
  flex-shrink: 0;
  min-width: 148px;
}
.account-balances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.account-balances > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.account-balances span,
.account-balances small {
  color: var(--muted);
  font-size: 12px;
}
.account-balances strong {
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.reward-explanation {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.reward-explanation summary,
.reward-demo-controls summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}
.reward-explanation p,
.reward-demo-controls p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 760px;
}
.reward-demo-controls {
  margin: 0 0 32px;
}
.reward-demo-controls > button {
  margin: 4px 0;
}
.owner-rewards-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0 0;
}
@media (max-width: 600px) {
  .rewards-card {
    padding: 20px;
  }
  .rewards-top {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .rewards-top > button {
    width: 100%;
  }
  .account-balances {
    gap: 16px;
  }
  .account-balances strong {
    font-size: 16px;
  }
  .account-balances small {
    line-height: 1.6;
  }
}

/* Lifetime artwork rewards stay separate from the wallet's claimable balance. */
.card-rewards {
  color: var(--purple);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.card-rewards > span {
  color: var(--muted);
  font-size: 11px;
}
.card-returned {
  color: var(--muted);
  font-size: 12px;
}
.artwork-earned {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.artwork-earned > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.7px;
}
.artwork-earned > span small {
  font-size: 9px;
  margin-left: 6px;
  color: var(--purple);
}
.artwork-earned > strong {
  display: block;
  font:
    500 23px/1.3 "Space Grotesk",
    sans-serif;
  color: var(--purple);
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.artwork-earned > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 0;
}
.gallery-filters {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  padding-bottom: 8px;
}
.gallery-filters button {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}
.gallery-filters button.active {
  color: var(--lime);
  background: #2b3721;
}
@media (max-width: 600px) {
  .artwork-earned > strong {
    font-size: 21px;
  }
  .card-rewards {
    font-size: 11px;
  }
}
.artwork-info .artwork-earned {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.gallery .art-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.gallery .art-card .art-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.gallery .art-card .card-value,
.gallery .art-card .card-returned {
  margin-top: auto;
}
.art-card .card-rewards {
  color: var(--purple);
  font-size: 12px;
}

.local-drafts {
  margin-bottom: 30px;
}
.local-drafts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.local-drafts-title-row {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 10px;
}
.local-draft-label {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.local-drafts-heading h2 {
  margin: 0;
  font:
    700 22px/1.2 "Space Grotesk",
    sans-serif;
}
#local-drafts-count {
  color: var(--muted);
  font-size: 13px;
}
.local-drafts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  max-width: 1280px;
}
.local-draft-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
}
.local-draft-preview {
  display: grid;
  height: 186px;
  place-items: center;
  overflow: hidden;
  background: #242c20;
  border-bottom: 1px solid var(--line);
}
.local-draft-preview img,
.local-draft-preview canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}
.local-draft-body {
  display: flex;
  min-height: 171px;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.local-draft-body h3 {
  margin: 7px 0 4px;
  font:
    700 18px/1.25 "Space Grotesk",
    sans-serif;
  overflow-wrap: anywhere;
}
.local-draft-size {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.local-draft-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.local-draft-actions .primary {
  min-height: 42px;
  padding: 0 15px;
}
.local-draft-utilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.local-draft-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--line);
  background: #11170f;
}
.local-draft-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.local-draft-link:hover {
  color: var(--lime);
  border-color: #5c704e;
  background: #1b2518;
}
.local-draft-delete {
  color: #dfa49d;
}
.local-draft-delete:hover {
  color: #ffb4aa;
  border-color: #815149;
  background: #281815;
}
@media (max-width: 600px) {
  .local-drafts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .local-draft-preview {
    height: 190px;
  }
  .local-draft-body {
    min-height: 156px;
  }
}
