:root {
  color-scheme: dark;
  --m: #8ba8a8;
  --a: #40e0d0;
  --g: #ffd700;
  --ok: #65ff9a;
  --bad: #ff7b7b;
  --b: #40e0d038;
  --bs: #40e0d07a;
  --panel: #030707;
  --panel2: #050909;
  --ink: #ffffff;
  font-family: "SF Mono", Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #000; color: var(--ink); font: 14px/1.72 "SF Mono", Monaco, Consolas, monospace; letter-spacing: 0; }
body::before { content: ""; position: fixed; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 2px, #40e0d009 2px 4px); pointer-events: none; z-index: 99; }
.grid { position: fixed; inset: 0; background-image: linear-gradient(#40e0d00e 1px, transparent 1px), linear-gradient(90deg, #40e0d00e 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
button, input, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
a { color: var(--g); text-decoration: none; }
a:hover, button:hover:not(:disabled) { color: var(--a); }

.status { position: fixed; inset: 0 0 auto; height: 32px; padding: 7px 24px; background: #000e; border-bottom: 1px solid var(--bs); display: flex; justify-content: space-between; z-index: 20; color: var(--m); font-size: 10px; letter-spacing: .2em; }
.dot { color: var(--a); }
.app-header { position: fixed; top: 32px; left: 0; right: 0; height: 72px; padding: 0 24px; background: #000e; border-bottom: 1px solid var(--bs); display: flex; align-items: center; justify-content: space-between; gap: 24px; z-index: 20; }
.brand-block, .header-actions, .top-nav, .hero-actions, .world-actions { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px; object-fit: contain; background: #061111; border: 1px solid var(--bs); box-shadow: 0 0 18px #40e0d055; }
.brand-block div { display: grid; gap: 2px; }
.brand-block strong { letter-spacing: .17em; }
.brand-block span, .panel-status, .field-note, .preview-note, p { color: var(--m); }
.top-nav button, .text-button { border: 0; background: transparent; color: var(--m); font-weight: 800; letter-spacing: .12em; }
.top-nav button.active { color: var(--g); }

main { position: relative; z-index: 1; padding-top: 104px; }
.view { display: none; max-width: 1200px; margin: 0 auto; padding: 44px 24px 70px; }
#exploreView { max-width: 1500px; }
.view.active { display: block; }
.eyebrow { margin: 0 0 8px; color: var(--a); font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.eyebrow::before { content: "> "; color: var(--g); }
h1 { margin: 0; font-size: clamp(32px, 5vw, 60px); line-height: 1.05; }
h2 { font-size: 18px; margin: 26px 0 14px; }

.primary-button, .secondary-button, .launch-button {
  min-height: 40px;
  padding: 10px 15px;
  border: 1px solid var(--bs);
  background: #000;
  color: var(--a);
  font-weight: 800;
  letter-spacing: .05em;
}
.primary-button { border-color: var(--a); background: #40e0d010; }
.secondary-button { color: var(--g); }
button:disabled, .secondary-button[disabled] { opacity: .42; cursor: not-allowed; }

.wallet-dialog { width: min(440px, calc(100vw - 28px)); padding: 0; border: 1px solid var(--a); background: #020606; color: #fff; box-shadow: 0 0 34px #40e0d02e; }
.wallet-dialog::backdrop { background: #000c; backdrop-filter: blur(2px); }
.wallet-dialog-head { min-height: 72px; padding: 14px 16px; border-bottom: 1px solid var(--b); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.wallet-dialog-head > div { display: grid; gap: 2px; }
.wallet-dialog-head span { color: var(--a); font-size: 9px; letter-spacing: .16em; }
.wallet-dialog-head strong { font-size: 16px; }
.wallet-dialog-close { width: 38px; height: 38px; padding: 0; border: 1px solid var(--bs); background: #000; color: var(--m); font-size: 24px; line-height: 1; }
.wallet-options { padding: 12px; display: grid; gap: 8px; }
.wallet-option { width: 100%; min-height: 58px; padding: 10px 12px; border: 1px solid var(--b); background: #000; color: #fff; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: left; }
.wallet-option:hover { border-color: var(--a); background: #40e0d008; }
.wallet-option img, .wallet-option-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--bs); background: #061111; object-fit: cover; color: var(--a); font-weight: 900; }
.wallet-option strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallet-option span:last-child { color: var(--a); font-size: 10px; }
.wallet-empty { padding: 22px 12px; border: 1px solid var(--b); color: var(--m); text-align: center; }
.wallet-dialog-note { margin: 0; padding: 0 16px 16px; font-size: 10px; }

.hero-panel { border-bottom: 1px solid var(--b); padding: 56px 0 36px; }
.hero-panel p { max-width: 820px; }
.accent-heading { color: var(--a); }
.hero-actions { margin-top: 24px; flex-wrap: wrap; }
.directory-head { min-height: 54px; margin-top: 34px; padding: 0 16px; border: 1px solid var(--bs); border-bottom: 0; background: var(--panel); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.directory-head > div { display: grid; gap: 2px; }
.directory-head span { color: var(--m); font-size: 10px; letter-spacing: .16em; }
.directory-head strong { color: #fff; font-size: 12px; }
.directory-live { color: var(--ok) !important; white-space: nowrap; }
.directory-live i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.explore-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 220px; gap: 14px; margin: 0; padding: 16px; border: 1px solid var(--bs); background: #020505; }
.panel-status { border-left: 3px solid var(--a); background: #40e0d008; padding: 12px 15px; margin-bottom: 18px; font-size: 12px; }
.directory-status { border-inline: 1px solid var(--bs); border-bottom: 1px solid var(--b); background: #40e0d008; padding: 11px 16px; color: var(--m); font-size: 11px; }
.world-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.world-card, .console-card, .editor, .status-rail, .empty-worlds, .world-console { border: 1px solid var(--bs); background: var(--panel); }
.world-card { min-width: 0; padding: 12px; display: flex; flex-direction: column; border-color: var(--b); background: #050909; }
.world-sigil { position: relative; width: 100%; min-width: 0; aspect-ratio: 1; padding: 0; display: grid; place-items: center; background: #000; border: 1px solid var(--b); color: var(--g); font-size: 28px; font-weight: 900; letter-spacing: .16em; overflow: hidden; }
.world-sigil:hover { color: var(--a); background: #030909; }
.world-sigil:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }
.world-sigil img { width: 100%; height: 100%; object-fit: cover; display: block; }
.world-sigil small { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 4px 8px; border: 1px solid #ffffff24; border-radius: 999px; background: #000c; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.world-card-body { padding: 14px 3px 3px; min-width: 0; }
.world-card-body > span, .console-card span { color: var(--a); font-size: 10px; letter-spacing: .16em; }
.world-card h2 { margin: 0 0 2px; color: #fff; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.world-card p { margin: 0 0 12px; color: var(--m); font-size: 13px; }
.world-card-contracts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.world-card-contracts a { min-width: 0; display: grid; gap: 1px; color: var(--m); }
.world-card-contracts a:hover code { color: var(--a); }
.world-card-contracts span { color: var(--m); font-size: 8px; letter-spacing: .12em; }
.world-card-contracts code { color: #b8c5c5; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
dt { color: var(--m); font-size: 10px; }
dd { margin: 0; color: #fff; font-size: 11px; }
.world-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.world-links > span { width: 100%; color: var(--m); font-size: 9px; letter-spacing: .14em; }
.world-links a { border: 1px solid var(--bs); color: var(--a); padding: 6px 9px; font-size: 10px; font-weight: 800; }
.world-links small { color: var(--m); font-size: 10px; }
.world-links-empty { border-left: 2px solid var(--b); padding-left: 9px; }
.empty-worlds { grid-column: 1 / -1; padding: 40px; display: grid; gap: 8px; color: var(--m); }
.empty-worlds strong { color: var(--g); font-size: 20px; }

.world-console { padding: 26px; }
.world-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--b); padding: 18px 0 24px; }
.world-profile { display: flex; align-items: center; gap: 20px; min-width: 0; }
.world-profile > div:last-child { min-width: 0; }
.world-artwork { width: 132px; aspect-ratio: 1; flex: 0 0 132px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--bs); background: #020505; color: var(--g); font-size: 24px; font-weight: 900; }
.world-artwork img { width: 100%; height: 100%; display: block; object-fit: cover; }
.world-profile code, #activeWorldMeta { display: block; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; word-break: break-word; }
.world-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.world-contract-directory { margin-top: 18px; border: 1px solid var(--bs); background: #020505; }
.world-contract-directory-head { min-height: 48px; padding: 10px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--b); }
.world-contract-directory-head span { color: var(--a); font-size: 10px; letter-spacing: .16em; }
.world-contract-directory-head strong { color: var(--g); font-size: 12px; }
.world-contract-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.world-contract-grid a { min-width: 0; padding: 15px; display: grid; gap: 6px; border-right: 1px solid var(--b); color: inherit; }
.world-contract-grid a:last-child { border-right: 0; }
.world-contract-grid a:hover { background: #40e0d008; }
.world-contract-grid span { color: var(--m); font-size: 9px; letter-spacing: .1em; }
.world-contract-grid strong { color: #fff; font-size: 12px; overflow-wrap: anywhere; }
.world-contract-grid code { color: var(--a); font-size: 10px; overflow-wrap: anywhere; word-break: break-all; }
.world-contract-directory + .panel-status { margin: 18px 0 0; }
.mint-live { margin-top: 18px; border: 1px solid var(--bs); background: #020505; }
.mint-live-head { min-height: 43px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--b); color: var(--m); font-size: 10px; letter-spacing: .1em; }
.mint-live-phase { display: grid; grid-template-columns: 1.1fr 1fr; border-bottom: 1px solid var(--b); }
.mint-live-phase > div { min-width: 0; padding: 24px; }
.mint-live-phase > div:first-child > span, .mint-countdown > span { display: block; color: var(--m); font-size: 10px; letter-spacing: .14em; }
.mint-live-phase > div:first-child > span b, .mint-countdown > span b { color: var(--a); }
.mint-live-phase > div:first-child > strong { display: block; margin-top: 8px; color: var(--a); font-size: clamp(38px, 6vw, 70px); line-height: .95; }
.mint-live-phase p { margin: 9px 0 0; font-size: 11px; }
.mint-countdown { border-left: 1px solid var(--b); }
.mint-countdown > strong { display: block; margin: 7px 0 0; color: var(--g); font-size: clamp(25px, 4vw, 42px); line-height: 1.1; }
.mint-countdown small { display: block; margin-top: 8px; color: var(--m); font-size: 10px; }
.mint-progress { height: 4px; margin-top: 16px; background: #40e0d014; }
.mint-progress i { display: block; width: 0; height: 100%; background: var(--a); box-shadow: 0 0 12px var(--a); transition: width .35s ease; }
.mint-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mint-metrics > div { min-width: 0; padding: 15px; border-right: 1px solid var(--b); border-bottom: 1px solid var(--b); }
.mint-metrics > div:nth-child(4n) { border-right: 0; }
.mint-metrics > div:nth-last-child(-n+4) { border-bottom: 0; }
.mint-metrics span { display: block; color: var(--m); font-size: 9px; letter-spacing: .1em; }
.mint-metrics strong { display: block; margin-top: 5px; color: #fff; font-size: 16px; overflow-wrap: anywhere; }
.wallet-assets-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--b); padding: 16px 0; }
.wallet-assets-bar > div { display: grid; gap: 4px; }
.wallet-assets-bar span { color: var(--a); font-size: 10px; letter-spacing: .16em; }
.wallet-assets-bar strong { color: #fff; font-size: 11px; font-weight: 500; }
.console-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.console-card { padding: 18px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; }
.console-card strong { color: var(--g); }
.console-card label { letter-spacing: .08em; }
.console-card input { min-height: 38px; }
.action-fields { display: grid; grid-template-columns: minmax(90px, .55fr) minmax(180px, 1.45fr) minmax(110px, .65fr); gap: 10px; }
.two-action-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.action-readout { min-height: 62px; border: 1px solid var(--b); background: #000; padding: 10px; color: #d7e6e6; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }
.action-row button { flex: 1 1 100px; }
.action-status { margin: 0; min-height: 38px; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.action-status.busy { color: var(--g); }
.action-status.success { color: var(--ok); }
.action-status.error { color: var(--bad); }
.danger-confirm { border-left: 3px solid var(--bad); padding: 8px 10px; background: #ff7b7b08; font-size: 10px; line-height: 1.45; }
.world-activity { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--b); }
.activity-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.activity-head > div { display: grid; gap: 4px; }
.activity-head span { color: var(--a); font-size: 10px; letter-spacing: .16em; }
.activity-head strong { color: var(--g); }
.activity-list { border-top: 1px solid var(--b); }
.activity-row { min-height: 54px; display: grid; grid-template-columns: 100px minmax(0, 1fr) 120px; gap: 16px; align-items: center; border-bottom: 1px solid var(--b); padding: 9px 4px; }
.activity-row > span { color: var(--a); font-size: 10px; }
.activity-row strong { display: block; font-size: 12px; color: #fff; overflow-wrap: anywhere; }
.activity-row small { display: block; margin-top: 2px; color: var(--m); font-size: 10px; overflow-wrap: anywhere; }
.activity-row a { justify-self: end; font-size: 10px; }
.activity-empty { color: var(--m); padding: 18px 4px; font-size: 11px; }

.workspace { min-height: calc(100vh - 104px); display: grid; grid-template-columns: 190px minmax(0, 1fr) 250px; gap: 0; }
.step-nav { padding: 28px 16px; border: 1px solid var(--b); border-right: 0; background: #0008; display: flex; flex-direction: column; gap: 4px; }
.step-link { border: 0; background: transparent; color: var(--m); text-align: left; padding: 10px 8px; display: flex; align-items: center; gap: 10px; }
.step-link span { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--bs); border-radius: 50%; font-size: 12px; }
.step-link.active { color: #fff; font-weight: 800; background: #40e0d00a; }
.step-link.active span { color: #000; background: var(--a); border-color: var(--a); }

.editor { max-width: 980px; width: 100%; margin: 0 auto; padding: 30px 40px 0; display: flex; flex-direction: column; }
.editor-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--b); }
.draft-state { color: var(--m); font-size: 12px; }
#launchForm { flex: 1; }
.step-panel { display: none; padding: 26px 0 34px; }
.step-panel.active { display: block; }
.section-intro { margin-bottom: 22px; color: var(--m); line-height: 1.6; }
.field-grid { display: grid; gap: 18px; }
.community-fields { margin-top: 18px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
label { display: grid; gap: 7px; color: var(--a); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
input, select { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid var(--b); background: #020505; color: #fff; outline: none; }
input:focus, select:focus { border-color: var(--a); box-shadow: 0 0 0 2px #40e0d01c; }
input.invalid { border-color: var(--bad); }
.mono-input, code { font-family: "SFMono-Regular", Consolas, monospace; }
code { color: var(--a); background: #40e0d00d; padding: 2px 5px; }

.seed-layout { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(320px, 1.15fr); gap: 26px; }
.upload-zone { min-height: 340px; border: 1px dashed var(--bs); background: #020505; display: grid; place-items: center; position: relative; overflow: hidden; }
#uploadEmpty { display: grid; justify-items: center; gap: 10px; color: var(--m); }
#uploadEmpty strong { color: var(--g); font-size: 17px; }
.upload-zone img { width: 100%; height: 340px; object-fit: contain; background: #000; }
.icon-text-button { position: absolute; right: 10px; bottom: 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.78); color: white; padding: 7px 10px; }
.seed-details { display: grid; align-content: start; gap: 16px; }
.hash-list { border-top: 1px solid var(--b); }
.hash-list div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--b); }
.hash-list span { color: var(--m); font-size: 12px; }
.hash-list code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.preview-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.preview-band div { background: #000; position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--b); }
.preview-band span { position: absolute; z-index: 1; left: 8px; top: 8px; color: #fff; background: rgba(0,0,0,.72); padding: 4px 6px; font-size: 11px; }
.preview-band img { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.preview-band img[hidden] { display: none; }
.preview-band em { position: absolute; inset: 0; display: grid; place-items: center; color: var(--m); font-size: 12px; font-style: normal; border: 1px dashed #40e0d024; }
.preview-band div.has-preview em { display: none; }

.difficulty-control { border: 0; padding: 0; margin: 0 0 22px; }
.difficulty-control legend { margin-bottom: 9px; color: var(--a); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.segmented-control { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--bs); }
.segmented-control button { min-height: 46px; border: 0; border-right: 1px solid var(--b); background: #000; color: var(--m); }
.segmented-control button:last-child { border-right: 0; }
.segmented-control button.active { background: #40e0d012; color: var(--g); }
.metrics-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }
.metric { padding: 18px 14px; border-right: 1px solid var(--b); }
.metric:last-child { border-right: 0; }
.metric span { color: var(--m); font-size: 11px; display: block; margin-bottom: 6px; }
.metric strong { font-size: 15px; }
.fusion-template { margin-top: 26px; border: 1px solid var(--b); background: #020505; padding: 0 16px 16px; }
.fusion-template summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; color: var(--a); font-weight: 800; }
.fusion-template summary strong { color: var(--g); font-size: 12px; }
.template-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 18px; }
.add-collection-row { margin-bottom: 12px; }
.collection-tree { max-height: 430px; overflow: auto; border: 1px solid var(--b); }
.tier-branch { border-bottom: 1px solid var(--b); }
.tier-branch summary { min-height: 44px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #40e0d008; color: var(--g); cursor: pointer; }
.tier-branch summary span { color: var(--m); font-size: 11px; }
.collection-row { display: grid; grid-template-columns: 28px minmax(150px, 1fr) minmax(180px, 1fr) 92px 72px; gap: 10px; align-items: center; padding: 9px 10px; border-top: 1px solid var(--b); }
.collection-rank { color: var(--m); font-size: 11px; text-align: right; }
.collection-row strong, .collection-row code, .collection-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.collection-row small { color: var(--m); display: block; font-size: 10px; margin-top: 2px; }
.collection-row select { min-height: 34px; padding: 5px 7px; }
.collection-row button { min-height: 32px; padding: 5px 8px; }

.mode-row { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }
.mode-row div { display: grid; gap: 5px; }
.mode-row div span { color: var(--m); font-size: 12px; }
.switch { display: block; }
.switch input { display: none; }
.switch span { width: 42px; height: 24px; border-radius: 12px; background: #193131; display: block; padding: 3px; }
.switch span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: white; display: block; transition: transform .16s ease; }
.switch input:checked + span { background: var(--a); }
.switch input:checked + span::after { transform: translateX(18px); }
.checkbox-row { display: flex; align-items: center; gap: 9px; color: var(--m); letter-spacing: 0; }
.checkbox-row input { width: 17px; min-height: 17px; accent-color: var(--a); }

.review-alert { border-left: 3px solid var(--g); background: #ffd70008; color: #cfc078; padding: 12px 14px; font-size: 13px; }
.review-table { margin: 18px 0; }
.review-table div, .fee-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--b); }
.review-table span, .fee-row span { color: var(--m); font-size: 13px; }
.review-table strong { overflow-wrap: anywhere; font-size: 13px; }
.fee-row strong { color: var(--g); }
.confirmation { margin: 20px 0; }
.launch-button { width: 100%; min-height: 52px; background: #40e0d010; }
.transaction-state, .launch-result { margin-top: 16px; padding: 14px; border: 1px solid var(--b); background: #020505; font-size: 13px; line-height: 1.6; }
.launch-result { border-color: var(--ok); background: #65ff9a07; }

.editor-footer { position: sticky; bottom: 0; background: rgba(0,0,0,.9); border-top: 1px solid var(--b); display: flex; justify-content: space-between; padding: 14px 0; }
.status-rail { border-left: 0; padding: 28px 20px; background: #0008; }
.status-rail h2 { margin: 0 0 18px; font-size: 14px; color: var(--g); }
.status-rail dl { margin: 0; }
.status-rail dl div { padding: 11px 0; border-bottom: 1px solid var(--b); }
.status-rail dt { color: var(--m); font-size: 11px; margin-bottom: 5px; }
.status-rail dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.immutability-note { margin-top: 24px; border-left: 3px solid var(--bad); padding-left: 11px; display: grid; gap: 6px; }
.immutability-note strong { font-size: 12px; }
.immutability-note span { color: var(--m); font-size: 11px; line-height: 1.5; }

@media (max-width: 1050px) {
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace { grid-template-columns: 170px minmax(0, 1fr); }
  .status-rail { display: none; }
  .editor { padding-inline: 28px; }
}

@media (max-width: 720px) {
  .status { padding-inline: 14px; }
  .status span:last-child { display: none; }
  .app-header { height: auto; min-height: 72px; padding: 10px 14px; flex-wrap: wrap; }
  .brand-block div span { display: none; }
  .header-actions { margin-left: auto; gap: 7px; }
  .header-actions button { min-height: 36px; padding: 7px 9px; font-size: 10px; }
  .top-nav { order: 3; width: 100%; justify-content: space-between; }
  .view { padding: 28px 14px 50px; }
  .world-grid, .console-grid, .explore-toolbar { grid-template-columns: 1fr; }
  .directory-head { align-items: flex-start; flex-direction: column; padding-block: 13px; }
  .action-fields { grid-template-columns: 1fr; }
  .world-head, .activity-head, .wallet-assets-bar { align-items: stretch; flex-direction: column; }
  .mint-live-phase { grid-template-columns: 1fr; }
  .mint-countdown { border-left: 0; border-top: 1px solid var(--b); }
  .mint-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mint-metrics > div:nth-child(2n) { border-right: 0; }
  .mint-metrics > div:nth-child(-n+6) { border-bottom: 1px solid var(--b); }
  .mint-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .world-profile { align-items: flex-start; flex-direction: column; width: 100%; }
  .world-profile > div:last-child { width: 100%; }
  .world-artwork { width: 92px; flex-basis: 92px; }
  .world-head-actions { width: 100%; }
  .world-head-actions > * { flex: 1; text-align: center; }
  .world-contract-directory-head { align-items: flex-start; flex-direction: column; }
  .world-contract-grid { grid-template-columns: 1fr; }
  .world-contract-grid a { border-right: 0; border-bottom: 1px solid var(--b); }
  .world-contract-grid a:last-child { border-bottom: 0; }
  .activity-row { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .activity-row a { grid-column: 2; justify-self: start; }
  .workspace { display: block; }
  .step-nav { border: 1px solid var(--b); display: grid; grid-template-columns: repeat(4, 1fr); }
  .step-link { justify-content: center; padding: 5px; font-size: 0; }
  .step-link span { font-size: 11px; }
  .editor { padding: 20px 16px 0; }
  .editor-heading { align-items: start; }
  h1 { font-size: 28px; }
  .two-columns, .three-columns, .seed-layout { grid-template-columns: 1fr; }
  .upload-zone, .upload-zone img { min-height: 280px; height: 280px; }
  .preview-band { gap: 5px; }
  .preview-band span { font-size: 9px; }
  .segmented-control { grid-template-columns: repeat(2, 1fr); }
  .segmented-control button:nth-child(2) { border-right: 0; }
  .segmented-control button:nth-child(-n+2) { border-bottom: 1px solid var(--b); }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--b); }
  .review-table div, .fee-row { grid-template-columns: 1fr; gap: 5px; }
  .collection-row { grid-template-columns: 1fr; }
  .collection-rank { text-align: left; }
  .editor-footer { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
