:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: #1f2020;
  --panel-2: #101212;
  --ink: #f3f3ef;
  --muted: #9b9f9b;
  --line: #3a3d38;
  --lime: #baff00;
  --green: #00f060;
  --amber: #ff9b18;
  --cyan: #53d7ff;
  --magenta: #ff4eb8;
  --red: #ff4f38;
  --rail-width: 74px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    repeating-linear-gradient(0deg, rgba(186, 255, 0, 0.03) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 72px),
    var(--bg);
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0;
}

a {
  color: var(--lime);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.concept-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  margin-left: var(--rail-width);
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 155, 24, 0.72);
  background:
    repeating-linear-gradient(90deg, rgba(255, 155, 24, 0.14) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(48, 26, 4, 0.98), rgba(20, 12, 4, 0.98));
  color: #ffd69a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.concept-banner strong {
  color: var(--amber);
  font-size: 28px;
  line-height: 1;
}

.concept-banner span {
  color: #ffe3b4;
}

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: grid;
  align-content: start;
  gap: 9px;
  width: var(--rail-width);
  padding: 58px 9px 0;
  border-right: 1px solid #2c312a;
  background: #101111;
}

.rail-mark {
  display: grid;
  width: 56px;
  height: 44px;
  place-items: center;
  border: 1px solid #42473e;
  color: #bfc4bb;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.rail-mark img {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
}

.rail-mark.active,
.rail-mark:hover {
  border-color: var(--lime);
  background: rgba(186, 255, 0, 0.1);
  color: var(--lime);
  text-decoration: none;
}

.vote-mark {
  background: rgba(255, 155, 24, 0.06);
}

.vote-mark.active,
.vote-mark:hover {
  border-color: var(--amber);
  background: rgba(255, 155, 24, 0.12);
}

.wallet-mark {
  background: rgba(83, 215, 255, 0.045);
}

.wallet-mark.active,
.wallet-mark:hover {
  border-color: var(--cyan);
  background: rgba(83, 215, 255, 0.11);
  color: var(--cyan);
}

.map-mark {
  background: rgba(255, 78, 184, 0.05);
}

.map-mark.active,
.map-mark:hover {
  border-color: var(--magenta);
  background: rgba(255, 78, 184, 0.12);
  color: var(--magenta);
}

.top-shell {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 98px;
  margin-left: var(--rail-width);
  padding: 14px 20px 18px;
  border-bottom: 1px solid #252a22;
  background:
    linear-gradient(180deg, rgba(20, 21, 21, 0.98), rgba(8, 9, 9, 0.98)),
    #0b0c0c;
  text-align: center;
}

.launcher {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 4px 12px;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.launcher img {
  width: 26px;
  height: 26px;
  image-rendering: pixelated;
}

.top-shell p {
  display: flex;
  max-width: 1080px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  text-transform: uppercase;
}

.top-shell strong {
  color: var(--green);
}

.top-shell span::before {
  color: #565b52;
  content: ". ";
}

.map-shell {
  width: min(1280px, calc(100% - (var(--rail-width) + 32px)));
  margin: 16px auto 54px;
  margin-left: max(calc(var(--rail-width) + 30px), calc((100% - 1280px) / 2 + var(--rail-width)));
  display: grid;
  gap: 14px;
}

.headline-box {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: center;
  border: 1px dashed var(--cyan);
  background:
    linear-gradient(90deg, rgba(83, 215, 255, 0.12), rgba(17, 19, 19, 0.96)),
    var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
}

h1 {
  font-size: 42px;
  max-width: 780px;
}

.headline-box p {
  color: #d8ddd4;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  text-transform: uppercase;
}

.map-summary-box h2 {
  font-size: 28px;
  max-width: 780px;
}

.how-works-strip {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(186, 255, 0, 0.36);
  background:
    linear-gradient(90deg, rgba(186, 255, 0, 0.08), rgba(9, 10, 10, 0.96)),
    #101212;
  padding: 10px;
}

.how-works-title {
  display: grid;
  place-items: center;
  border-left: 4px solid var(--lime);
  background: rgba(5, 6, 7, 0.62);
  color: var(--lime);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.how-works-strip ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-works-strip li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 7, 0.48);
  padding: 8px;
}

.how-works-strip li strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--lime);
  background: rgba(186, 255, 0, 0.12);
  color: var(--lime);
  font-size: 16px;
  line-height: 1;
}

.how-works-strip li span {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.map-editor-toolbar {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: -6px;
}

body.map-editing .map-editor-toolbar {
  display: flex;
}

.toolbar-break {
  flex-basis: 100%;
  height: 0;
}

.map-editor-toolbar button,
.map-editor-toolbar select,
.switch-control {
  min-height: 32px;
  border: 1px solid #55614b;
  border-radius: 0;
  padding: 0 10px;
  background: #101212;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-editor-toolbar button,
.map-editor-toolbar select,
.switch-control {
  cursor: pointer;
}

.map-editor-toolbar select {
  min-width: 92px;
  color: var(--lime);
}

.map-editor-toolbar button:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.switch-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}

.switch-control input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--lime);
}

.switch-control:has(input:checked) {
  border-color: var(--lime);
  color: var(--lime);
}

#mapSaveBtn {
  min-height: 46px;
  margin-left: auto;
  border-color: var(--lime);
  background: var(--lime);
  color: #111605;
  font-size: 13px;
  padding: 0 26px;
}

#mapSaveBtn:hover {
  background: #d4ff4a;
  color: #111605;
}

#deleteSelectedBtn {
  border-color: rgba(255, 79, 56, 0.64);
  color: #ffb4a8;
}

#deleteSelectedBtn:hover {
  border-color: var(--red);
  color: var(--red);
}

#mapSaveStatus {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.map-board {
  --region-x: 51%;
  --region-left-y: 70%;
  --region-right-y: 55%;
  position: relative;
  min-height: 920px;
  overflow: hidden;
  border: 1px dashed var(--lime);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(186, 255, 0, 0.13), transparent 25%),
    radial-gradient(circle at 17% 20%, rgba(83, 215, 255, 0.11), transparent 21%),
    radial-gradient(circle at 82% 59%, rgba(255, 155, 24, 0.13), transparent 23%),
    #151717;
  background-size: 24px 24px, 24px 24px, auto, auto, auto, auto;
  box-shadow: var(--shadow);
  isolation: isolate;
}

body.snap-enabled .map-board {
  background:
    linear-gradient(rgba(186, 255, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 255, 0, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 44%, rgba(186, 255, 0, 0.13), transparent 25%),
    radial-gradient(circle at 17% 20%, rgba(83, 215, 255, 0.11), transparent 21%),
    radial-gradient(circle at 82% 59%, rgba(255, 155, 24, 0.13), transparent 23%),
    #151717;
  background-size: 24px 24px, 24px 24px, auto, auto, auto, auto;
}

.map-board-title {
  display: inline-grid;
  justify-self: start;
  gap: 5px;
  padding: 10px 12px;
  border-left: 4px solid var(--lime);
  background: rgba(5, 6, 7, 0.68);
}

.map-board-title span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.map-board-title strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.map-board::before {
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  content: "";
  pointer-events: none;
}

.map-board::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 8;
  color: rgba(243, 243, 239, 0.32);
  content: "STONKMAP / WIP";
  font-size: 10px;
  font-weight: 900;
}

.map-region-grid {
  position: absolute;
  inset: 18px;
  pointer-events: none;
}

.map-region {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.035);
}

.map-region::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  opacity: 0.68;
}

.region-defi {
  top: 0;
  left: 0;
  width: var(--region-x);
  height: var(--region-left-y);
  background: rgba(83, 215, 255, 0.065);
}

.region-coretech {
  top: 0;
  right: 0;
  width: calc(100% - var(--region-x));
  height: var(--region-right-y);
  background: rgba(0, 240, 96, 0.055);
}

.region-memecoins {
  bottom: 0;
  left: 0;
  width: var(--region-x);
  height: calc(100% - var(--region-left-y));
  background: rgba(255, 255, 255, 0.047);
}

.region-nftfi {
  right: 0;
  bottom: 0;
  width: calc(100% - var(--region-x));
  height: calc(100% - var(--region-right-y));
  background: rgba(255, 155, 24, 0.065);
}

.region-handle {
  position: absolute;
  z-index: 7;
  display: none;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(186, 255, 0, 0.92);
  background: #101212;
  box-shadow: 0 0 0 2px rgba(5, 6, 7, 0.86);
  pointer-events: all;
}

body.map-editing .region-handle {
  display: block;
}

body.hide-line-handles .region-handle {
  display: none;
}

.region-handle-x {
  top: 14px;
  left: var(--region-x);
  cursor: ew-resize;
  transform: translate(-50%, -50%);
}

.region-handle-left-y {
  top: var(--region-left-y);
  left: 14px;
  cursor: ns-resize;
  transform: translate(-50%, -50%);
}

.region-handle-right-y {
  top: var(--region-right-y);
  right: 14px;
  cursor: ns-resize;
  transform: translate(50%, -50%);
}

.region-handle.is-dragging {
  background: var(--lime);
}

.map-paths {
  position: absolute;
  inset: 36px 24px 24px;
  z-index: 2;
  width: calc(100% - 48px);
  height: calc(100% - 60px);
  overflow: visible;
}

.district-label {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 196px;
  min-height: 44px;
  place-items: center;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(5, 6, 7, 0.32);
  color: var(--ink);
  text-transform: uppercase;
}

.district-label span {
  color: inherit;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.district-label strong {
  display: none;
}

.district-finance {
  left: 54px;
  top: 102px;
  border-color: rgba(83, 215, 255, 0.34);
}

.district-chain {
  left: 50%;
  top: 58px;
  min-width: 156px;
  border-color: rgba(186, 255, 0, 0.3);
  color: #dce0d8;
  transform: translateX(-50%);
}

.district-nfts {
  right: 54px;
  top: 102px;
  border-color: rgba(255, 155, 24, 0.34);
  color: var(--amber);
  text-align: right;
}

.district-nft-sub {
  right: 54px;
  top: 520px;
  min-width: 150px;
  border-color: rgba(0, 240, 96, 0.36);
  color: var(--green);
}

.district-memes {
  left: 50%;
  top: 706px;
  min-width: 176px;
  border-color: rgba(0, 240, 96, 0.34);
  text-align: center;
  transform: translateX(-50%);
}

.path {
  cursor: default;
  fill: none;
  stroke-width: 7;
  stroke-linecap: square;
  stroke-dasharray: 12 14;
  opacity: 0.76;
  pointer-events: none;
}

.path-soft {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1 12;
  opacity: 0.42;
}

.path-future,
.path-launch-ghost {
  opacity: 0.32;
}

body.map-editing .path {
  cursor: move;
  pointer-events: stroke;
}

.path.is-dragging-line {
  opacity: 1;
}

.path.is-selected {
  opacity: 1;
  stroke-width: 10;
}

.path-lime {
  stroke: var(--lime);
}

.path-cyan {
  stroke: var(--cyan);
}

.path-amber {
  stroke: var(--amber);
}

.path-magenta {
  stroke: var(--magenta);
}

.path-green {
  stroke: var(--green);
}

.path-blue {
  stroke: #7aa8ff;
}

.path-purple {
  stroke: #7d5cff;
}

.path-red {
  stroke: var(--red);
}

.line-handle {
  cursor: move;
  fill: #101212;
  opacity: 0.86;
  pointer-events: all;
  stroke: var(--lime);
  stroke-width: 2;
}

.line-handle.is-control {
  fill: rgba(83, 215, 255, 0.3);
  stroke: var(--cyan);
}

.line-handle.is-dragging {
  fill: var(--lime);
  opacity: 1;
}

body.hide-line-handles .line-handle {
  display: none;
}

.map-node {
  position: absolute;
  z-index: 4;
  display: block;
  width: 188px;
  min-height: 64px;
  padding: 8px;
  border: 1px solid #4a5047;
  background:
    linear-gradient(180deg, rgba(31, 32, 32, 0.96), rgba(12, 14, 14, 0.96)),
    var(--panel);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  cursor: default;
  touch-action: auto;
}

body.map-editing .map-node,
body.map-editing .chain-context-node,
body.map-editing .district-label,
body.map-editing .relation-label {
  cursor: grab;
  touch-action: none;
}

.map-node.is-dragging,
.chain-context-node.is-dragging,
.district-label.is-dragging,
.relation-label.is-dragging {
  cursor: grabbing;
  opacity: 0.9;
  z-index: 8;
}

.map-node.is-selected,
.chain-context-node.is-selected,
.district-label.is-selected,
.relation-label.is-selected {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.node-main {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  gap: 9px;
}

.map-node img {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  object-fit: cover;
  image-rendering: pixelated;
}

.map-node h2 {
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.node-comp {
  position: absolute;
  left: 10px;
  top: calc(100% - 1px);
  z-index: 2;
  display: grid;
  align-items: center;
  width: fit-content;
  max-width: 176px;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 7, 0.82);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.node-kicker {
  color: var(--green);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.node-icon,
.coin-glyph {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.coin-glyph {
  width: 34px;
  height: 34px;
  background: var(--lime);
  color: #111605;
  font-size: 22px;
}

.market-icon {
  color: var(--cyan);
}

.game-icon {
  color: var(--magenta);
}

.up-icon {
  color: #7aa8ff;
}

.oakmont-icon {
  color: var(--red);
}

.nft-icon {
  color: var(--lime);
}

.chain-context-node {
  position: absolute;
  z-index: 3;
  display: block;
  width: 172px;
  min-height: 54px;
  padding: 8px;
  border: 1px dashed rgba(186, 255, 0, 0.24);
  background: rgba(5, 6, 7, 0.42);
  box-shadow: none;
  cursor: default;
  opacity: 0.92;
  touch-action: auto;
}

body.map-editing .chain-context-node {
  cursor: grab;
  touch-action: none;
}

.chain-context-node .node-main {
  min-height: 38px;
}

.chain-context-node h2 {
  margin-top: 2px;
  color: #dce0d8;
  font-size: 15px;
}

.chain-context-node .node-kicker {
  color: #b9bdb6;
}

.chain-context-node .node-comp {
  color: #b9bdb6;
}

.chain-icon {
  color: var(--lime);
}

.chain-robinhood {
  left: 37%;
  top: 142px;
  border-color: rgba(83, 215, 255, 0.3);
}

.chain-rwas {
  left: 54%;
  top: 142px;
  border-color: rgba(255, 155, 24, 0.3);
}

.chain-rwas .chain-icon {
  color: var(--amber);
}

.core-node {
  left: 50%;
  top: 43%;
  z-index: 5;
  width: 380px;
  min-height: 224px;
  transform: translate(-50%, -50%);
  border-color: var(--lime);
  background:
    linear-gradient(180deg, rgba(186, 255, 0, 0.12), rgba(17, 19, 19, 0.96)),
    var(--panel);
}

.core-node img {
  width: 42px;
  height: 42px;
}

.core-node h2 {
  font-size: 24px;
}

.core-tagline {
  margin-top: 9px;
  color: #d8ddd4;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.core-assets {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) 34px minmax(0, 1fr);
  gap: 7px;
  align-items: stretch;
  margin-top: 14px;
}

.core-asset,
.core-asset-link {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(186, 255, 0, 0.7);
  background: rgba(5, 6, 7, 0.58);
  text-align: center;
  text-transform: uppercase;
}

.core-asset {
  gap: 4px;
  padding: 8px;
}

.core-asset span {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.core-asset strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.08;
}

.core-asset em {
  color: var(--amber);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.core-asset-token,
.core-asset-link {
  border-color: rgba(255, 155, 24, 0.82);
}

.core-asset-link {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

.core-built-list {
  margin: 10px 0 0;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.core-swap {
  display: grid;
  grid-template-columns: minmax(58px, 0.7fr) 34px minmax(120px, 1.3fr);
  gap: 6px;
  align-items: stretch;
  margin-top: 8px;
}

.core-swap span,
.core-swap strong {
  display: grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(186, 255, 0, 0.7);
  background: rgba(5, 6, 7, 0.54);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.core-swap strong {
  border-color: var(--amber);
  color: var(--amber);
}

.soft-staking-box {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding: 9px;
  border: 1px solid rgba(255, 155, 24, 0.78);
  background: rgba(255, 155, 24, 0.09);
}

.soft-staking-box strong {
  color: var(--amber);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.soft-staking-box span {
  color: #d8ddd4;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.coin-node {
  left: 42%;
  top: 66%;
  z-index: 4;
  width: 214px;
  min-height: 64px;
  transform: translate(-50%, -50%);
  border-color: var(--amber);
}

.nft-node {
  left: 58%;
  top: 66%;
  z-index: 4;
  width: 188px;
  min-height: 64px;
  transform: translate(-50%, -50%);
  border-color: var(--lime);
}

.relation-label {
  position: absolute;
  left: 52.6%;
  top: 66.9%;
  z-index: 5;
  display: grid;
  width: 48px;
  min-height: 32px;
  place-items: center;
  border: 1px solid var(--amber);
  background: rgba(5, 6, 7, 0.86);
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.node-anvil {
  left: 50%;
  top: 112px;
  width: 188px;
  border-color: var(--cyan);
  transform: translateX(-50%);
}

.node-mancer {
  left: 54px;
  top: 172px;
  border-color: #7d5cff;
}

.node-wall {
  right: 54px;
  top: 172px;
  border-color: var(--amber);
}

.node-gamefi {
  right: 54px;
  top: 324px;
  border-color: var(--magenta);
}

.node-launcher {
  left: 50%;
  top: 770px;
  transform: translateX(-50%);
  border-color: var(--green);
}

.node-clockin {
  left: 22%;
  top: 836px;
  border-color: var(--green);
}

.node-up {
  left: 54px;
  top: 476px;
  border-color: var(--green);
}

.node-oakmont {
  left: 54px;
  top: 324px;
  border-color: var(--red);
}

.node-tickeryard {
  left: 54px;
  top: 628px;
  border-color: var(--cyan);
}

.node-perps {
  left: 292px;
  top: 628px;
  border-color: #7aa8ff;
}

.node-derp {
  right: 54px;
  top: 628px;
  border-color: var(--red);
}

.node-interns {
  left: 50%;
  top: 556px;
  transform: translateX(-50%);
}

.placeholder-node {
  border-style: dashed;
  opacity: 0.92;
}

.future-node {
  border-style: dashed;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(31, 32, 32, 0.72), rgba(12, 14, 14, 0.9)),
    var(--panel);
  opacity: 0.82;
}

.future-node .node-kicker,
.future-node .node-comp {
  color: #b9bdb6;
}

.future-node h2 {
  color: #dce0d8;
}

.future-icon {
  color: #b9bdb6;
}

.mini-node {
  width: 148px;
  min-height: 48px;
  padding: 7px;
}

.mini-node .node-main {
  min-height: 34px;
  gap: 7px;
}

.mini-node .node-icon {
  width: 28px;
  height: 28px;
}

.mini-node h2 {
  font-size: 12px;
}

.custom-node,
.custom-section {
  border-style: dashed;
}

.color-lime {
  border-color: var(--lime);
}

.color-green {
  border-color: var(--green);
}

.color-cyan {
  border-color: var(--cyan);
}

.color-amber {
  border-color: var(--amber);
}

.color-magenta {
  border-color: var(--magenta);
}

.color-blue {
  border-color: #7aa8ff;
}

.color-red {
  border-color: var(--red);
}

.custom-section.color-lime {
  color: var(--lime);
}

.custom-section.color-green {
  color: var(--green);
}

.custom-section.color-cyan {
  color: var(--cyan);
}

.custom-section.color-amber {
  color: var(--amber);
}

.custom-section.color-magenta {
  color: var(--magenta);
}

.custom-section.color-blue {
  color: #7aa8ff;
}

.custom-section.color-red {
  color: var(--red);
}

.node-wall .node-comp,
.node-gamefi .node-comp,
.node-derp .node-comp {
  right: 10px;
  left: auto;
}

.core-node .node-comp {
  top: 52px;
  left: calc(100% - 1px);
  max-width: 162px;
}

.explain-band {
  display: grid;
  border: 1px solid #3a3d38;
  background: rgba(16, 18, 18, 0.92);
}

.flywheel-band {
  grid-template-columns: minmax(220px, 0.52fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.flywheel-copy {
  display: grid;
  gap: 10px;
  align-content: center;
}

.flywheel-copy h2 {
  margin: 0;
  color: var(--lime);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.flywheel-copy p {
  max-width: 560px;
  margin: 0;
  color: #d8ddd4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.flywheel-visual {
  position: relative;
  width: min(100%, 620px);
  min-height: 210px;
  justify-self: end;
}

.flywheel-loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flywheel-loop > path {
  fill: none;
  opacity: 0.88;
  stroke-dasharray: 9 9;
  stroke-linecap: square;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.flywheel-loop marker path {
  marker-end: none;
  stroke: none;
}

.flywheel-to-projects {
  marker-end: url("#flywheelArrowGreen");
  stroke: var(--lime);
}

.flywheel-to-holders {
  marker-end: url("#flywheelArrowBlue");
  stroke: var(--cyan);
}

.flywheel-to-value {
  marker-end: url("#flywheelArrowOrange");
  stroke: var(--amber);
}

.flywheel-arrow-green {
  fill: var(--lime);
}

.flywheel-arrow-blue {
  fill: var(--cyan);
}

.flywheel-arrow-orange {
  fill: var(--amber);
}

.flywheel-node {
  position: absolute;
  display: grid;
  width: 190px;
  min-height: 48px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(186, 255, 0, 0.48);
  background:
    linear-gradient(180deg, rgba(31, 32, 32, 0.96), rgba(12, 14, 14, 0.96)),
    var(--panel);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
}

.flywheel-projects {
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.flywheel-holders {
  right: 0;
  bottom: 22px;
  border-color: rgba(83, 215, 255, 0.52);
}

.flywheel-value {
  bottom: 22px;
  left: 0;
  border-color: rgba(255, 155, 24, 0.52);
}

[contenteditable="true"] {
  cursor: text;
}

[contenteditable="true"]:focus {
  outline: 1px dashed var(--lime);
  outline-offset: 2px;
}

@media (max-width: 1060px) {
  .headline-box {
    grid-template-columns: 1fr;
  }

  .how-works-strip {
    grid-template-columns: 1fr;
  }

  .how-works-title {
    min-height: 42px;
  }

  .how-works-strip ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
    padding: 16px;
  }

  .map-paths,
  .map-region-grid,
  .district-label,
  .map-board::before,
  .map-board::after {
    display: none;
  }

  .map-node,
  .chain-context-node,
  .core-node,
  .coin-node,
  .nft-node,
  .relation-label,
  .node-anvil,
  .node-mancer,
  .node-wall,
  .node-gamefi,
  .node-launcher,
  .node-clockin,
  .node-up,
  .node-oakmont,
  .node-tickeryard,
  .node-perps,
  .node-interns,
  .node-derp,
  .chain-robinhood,
  .chain-rwas {
    position: static;
    width: auto;
    min-height: 64px;
    transform: none;
  }

  .node-comp,
  .chain-context-node .node-comp,
  .core-node .node-comp,
  .node-wall .node-comp,
  .node-gamefi .node-comp,
  .node-derp .node-comp {
    position: static;
    margin-top: 7px;
    max-width: 100%;
  }

  .core-node,
  .coin-node {
    grid-column: 1 / -1;
  }

  .relation-label {
    width: auto;
    min-height: 40px;
  }

  .flywheel-band {
    grid-template-columns: 1fr;
  }

  .flywheel-visual {
    min-height: 250px;
  }
}

@media (max-width: 680px) {
  .side-rail {
    display: none;
  }

  .concept-banner {
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
    padding: 12px;
  }

  .concept-banner strong {
    font-size: 24px;
  }

  .top-shell {
    margin-left: 0;
    padding-inline: 14px;
  }

  .map-shell {
    width: min(100% - 24px, 1180px);
    margin: 14px auto 38px;
  }

  .headline-box {
    padding: 14px;
  }

  h1 {
    font-size: 28px;
  }

  .headline-box p {
    font-size: 12px;
  }

  .how-works-strip ol {
    grid-template-columns: 1fr;
  }

  .how-works-strip li {
    min-height: 0;
  }

  .map-board {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .map-node {
    min-height: 0;
  }

  .core-node h2 {
    font-size: 24px;
  }

  .flywheel-band {
    padding: 14px;
  }

  .flywheel-copy h2 {
    font-size: 26px;
  }

  .flywheel-visual {
    display: grid;
    gap: 8px;
    min-height: 0;
  }

  .flywheel-loop {
    display: none;
  }

  .flywheel-node {
    position: static;
    width: auto;
    min-height: 44px;
    transform: none;
  }
}
