:root {
  --bg: #f3f5ef;
  --bg-soft: #e9ede4;
  --surface: #ffffff;
  --surface-soft: #f8faf5;
  --text: #0b0d0c;
  --text-2: #4f5751;
  --muted: #7a817c;
  --dark: #101311;
  --dark-2: #181d19;
  --lime: #c7f000;
  --lime-strong: #b7e600;
  --lime-wash: #effbc6;
  --border: rgba(11, 13, 12, .13);
  --border-strong: rgba(11, 13, 12, .24);
  --success: #278a4a;
  --warning: #8b6200;
  --error: #c83d3d;
  --shadow-sm: 0 10px 30px rgba(16, 19, 17, .06);
  --shadow-lg: 0 28px 80px rgba(16, 19, 17, .11);
  --radius: 12px;
  --container: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(11,13,12,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,13,12,.022) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  font-family: Inter, Geist, "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
::selection { background: var(--lime); color: var(--dark); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, model-viewer { max-width: 100%; }
.shell { min-height: 100vh; overflow: clip; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(243,245,239,.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px) saturate(1.3);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; }
.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--lime);
  border-radius: 7px 7px 7px 2px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.nav { display: flex; justify-content: center; align-items: center; gap: 28px; color: var(--text-2); }
.nav a { position: relative; padding: 14px 0; font-size: 13px; font-weight: 600; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; background: var(--lime-strong); transition: right .2s ease; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.wallet { display: flex; align-items: center; gap: 12px; }
.wallet-address { color: var(--text-2); font: 12px/1.2 "SFMono-Regular", Consolas, monospace; }
.wallet-backdrop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(10,12,11,.52); backdrop-filter: blur(10px); }
.wallet-dialog { position: relative; width: min(100%, 500px); padding: 34px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: 0 24px 70px rgba(31,35,28,.2); }
.wallet-dialog h2 { margin: 8px 0 12px; font-size: 38px; }
.wallet-dialog > p { color: var(--text-2); }
.wallet-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--text); font-size: 25px; cursor: pointer; }
.wallet-options { display: grid; gap: 10px; margin-top: 24px; }
.wallet-option { display: grid; gap: 4px; width: 100%; padding: 18px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.wallet-option:hover { border-color: var(--dark); transform: translateY(-1px); }
.wallet-option strong { font-size: 15px; }
.wallet-option span, .wallet-security { color: var(--muted); font-size: 12px; }
.wallet-security { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

.page { width: min(100%, var(--container)); margin: 0 auto; padding: 42px 24px 104px; position: relative; }
.hero {
  min-height: calc(100svh - 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
  padding: 34px 0 46px;
}
.hero-copy { position: relative; z-index: 2; }
.kicker, .state-label {
  color: var(--warning);
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .15em;
  font-weight: 800;
}
.kicker::before { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 9px 3px 0; background: currentColor; }
h1, h2, h3 { margin: 0; letter-spacing: 0; font-family: "Space Grotesk", Geist, Inter, sans-serif; }
h1 { max-width: 810px; margin-top: 20px; font-size: clamp(54px, 6.7vw, 98px); line-height: .91; font-weight: 730; }
h2 { font-size: clamp(34px, 4.2vw, 62px); line-height: .98; font-weight: 680; }
h3 { font-size: 19px; line-height: 1.16; }
p { color: var(--text-2); line-height: 1.68; }
.hero-copy > p { max-width: 650px; margin: 26px 0 30px; font-size: 18px; }
.support-line { max-width: 570px !important; margin: 28px 0 0 !important; padding: 14px 16px; border-left: 3px solid var(--lime-strong); background: rgba(255,255,255,.46); font-size: 13px !important; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 25px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.hero-facts span { display: inline-flex; align-items: baseline; gap: 6px; }
.hero-facts strong { color: var(--text); font-size: 14px; letter-spacing: 0; }
.hero-copy .kicker, .hero-copy h1, .hero-copy > p, .hero-copy .actions, .hero-copy .support-line {
  opacity: 0;
  filter: blur(15px);
  transform: translateY(18px);
  animation: heroTextIn .82s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-copy h1 { animation-delay: .1s; }
.hero-copy > p { animation-delay: .2s; }
.hero-copy .actions { animation-delay: .3s; }
.hero-copy .support-line { animation-delay: .4s; }
@keyframes heroTextIn { to { opacity: 1; filter: blur(0); transform: translateY(0); } }

.actions, .flow-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.btn {
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: rgba(255,255,255,.52);
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--dark); }
.btn.primary { background: var(--dark); border-color: var(--dark); color: #fff; box-shadow: 0 10px 24px rgba(16,19,17,.12); }
.btn.primary:hover { color: var(--lime); }
.btn.ghost { background: transparent; }
.btn.block { width: 100%; }
.btn.small { min-height: 36px; padding: 7px 11px; font-size: 12px; }

.model-stage { min-height: 620px; position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.model-stage::before {
  content: "";
  position: absolute;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  border-radius: 48% 48% 14% 14%;
  background: linear-gradient(145deg, rgba(239,251,198,.84), rgba(255,255,255,.42));
  border: 1px solid rgba(139,98,0,.15);
  box-shadow: inset 0 0 80px rgba(199,240,0,.14);
}
.model-stage::after { content: ""; position: absolute; bottom: 78px; width: 58%; height: 38px; background: radial-gradient(ellipse, rgba(16,19,17,.25), transparent 70%); filter: blur(14px); }
.lime-mark { position: absolute; width: 70%; height: 12px; background: var(--lime); opacity: .52; transform: rotate(-7deg); }
model-viewer { width: min(100%, 570px); height: 570px; z-index: 2; filter: drop-shadow(0 34px 34px rgba(16,19,17,.17)); --progress-bar-color: transparent; --progress-bar-height: 0; contain: layout paint; transition: transform .24s ease-out; }
.model-fallback { position: absolute; z-index: 1; width: 290px; height: 360px; border: 1px solid var(--border); background: linear-gradient(145deg, #fff, var(--lime-wash)); transform: rotateX(9deg) rotateY(-18deg); animation: float 6s ease-in-out infinite; }
.model-fallback::before { content: "3D MODEL SLOT"; position: absolute; inset: 22px; display: grid; place-items: center; border: 1px solid var(--border); color: var(--muted); font-size: 11px; letter-spacing: .18em; }
.model-loading { position: absolute; z-index: 1; bottom: 104px; color: var(--muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
model-viewer[loaded] ~ .model-loading { display: none; }
@keyframes float { 0%,100% { transform: translateY(0) rotateX(9deg) rotateY(-18deg); } 50% { transform: translateY(-16px) rotateX(11deg) rotateY(-8deg); } }

.ticker { border-block: 1px solid var(--dark); padding: 14px 0; display: flex; gap: 22px; overflow-x: auto; white-space: nowrap; color: var(--text-2); font-size: 12px; scrollbar-width: none; }
.ticker::-webkit-scrollbar { display: none; }
.ticker > span:first-child { padding: 2px 8px; background: var(--lime); color: var(--dark); font-weight: 800; text-transform: uppercase; }
.ticker strong { color: var(--text); font-weight: 800; }
.section { margin-top: 110px; position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 540px); align-items: end; gap: 44px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-strong); }
.section-head p { margin: 0; }
.section-head h2 { margin-top: 12px; max-width: 820px; }
.grid { display: grid; gap: 18px; }
.grid > *, .app-layout > *, .explore-layout > *, .panel, .card, .field { min-width: 0; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.panel, .card { background: rgba(255,255,255,.78); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel { padding: clamp(22px, 3vw, 34px); }
.card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nft-art, .drop-art, .row-art { aspect-ratio: 1; background: var(--art), var(--surface); background-size: cover; background-position: center; border: 1px solid var(--border); }
.opensea-art { image-rendering: auto; background-color: #0f1010; }
.drop-art { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.thumb-large { min-height: 180px; border-radius: 8px; }
.mini-art { width: 42px; height: 42px; background: var(--art); background-size: cover; border: 1px solid var(--border); border-radius: 6px; }
.card-body { padding: 19px; }

.collection-row { display: grid; grid-template-columns: 190px minmax(0,1fr) 220px; gap: 26px; padding: 24px; margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.62); align-items: center; transition: background .18s ease, transform .18s ease; }
.collection-row:hover { background: #fff; transform: translateY(-2px); }
.collection-row h3 { margin: 8px 0; font-size: 25px; }
.collection-row p { margin: 7px 0 13px; }
.row-art { border-radius: 8px; box-shadow: var(--shadow-sm); }
.row-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-2); font-size: 12px; }
.row-links { display: grid; gap: 10px; color: var(--text-2); font-size: 12px; }
.row-links a, .panel a { text-decoration: underline; text-decoration-color: var(--lime-strong); text-underline-offset: 4px; overflow-wrap: anywhere; }
.opensea-empty { display: grid; gap: 24px; min-height: 310px; align-content: center; background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(239,251,198,.4)); }
.opensea-empty h3 { max-width: 720px; font-size: clamp(28px, 3.3vw, 46px); line-height: 1; }
.opensea-empty p { max-width: 760px; }

.opensea-card { padding: 19px; display: grid; gap: 16px; }
.opensea-card-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 15px; align-items: center; }
.opensea-card-head p { margin: 5px 0 0; font-size: 12px; }
.collection-avatar { width: 76px; height: 76px; display: block; background: var(--art), #111; background-size: cover; background-position: center; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 24px rgba(16,19,17,.09); }
.hero-avatar { width: clamp(90px, 10vw, 132px); height: clamp(90px, 10vw, 132px); }
.opensea-card-actions { display: flex; gap: 18px; align-items: center; }
.market-link { display: inline-flex; margin-top: 14px; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.market-detail-layout { align-items: start; }
.market-detail-panel { min-height: 520px; }
.market-detail-identity { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.market-detail-identity h1 { margin-top: 10px; font-size: clamp(42px, 6vw, 82px); }
.market-samples { margin-top: 48px; }
.card-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; padding-top: 15px; border-top: 1px solid var(--border); }
.card-metrics span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.card-metrics strong { display: block; margin-top: 5px; font-size: 17px; }
.metric-up { color: var(--success) !important; }
.metric-down { color: var(--error) !important; }
.metric-flat { color: var(--text-2) !important; }
.stat-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; color: var(--text-2); font-size: 12px; margin-top: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.stat-row strong { color: var(--text); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.progress { height: 6px; background: #dfe5d7; overflow: hidden; margin-top: 16px; border-radius: 999px; }
.progress span { display: block; height: 100%; background: var(--lime-strong); box-shadow: inset 0 0 0 1px rgba(16,19,17,.08); }

.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.step { min-height: 170px; padding: 26px; background: rgba(255,255,255,.82); transition: background .2s ease; }
.step:hover { background: var(--lime-wash); }
.step span { color: var(--warning); font-size: 11px; letter-spacing: .14em; }
.step h3 { margin-top: 42px; max-width: 210px; font-size: 21px; }
.editorial-split, .economics { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(38px, 7vw, 110px); align-items: start; padding: clamp(34px, 6vw, 74px); border-radius: 16px; }
.editorial-split { background: var(--dark); color: #fff; }
.editorial-split p, .editorial-split .technical-table span { color: rgba(255,255,255,.65); }
.editorial-split .technical-table, .editorial-split .technical-table div { border-color: rgba(255,255,255,.15); }
.editorial-split .kicker { color: var(--lime); }
.technical-table { border-top: 1px solid var(--border); }
.technical-table div { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.technical-table span { color: var(--muted); }
.technical-table strong { overflow-wrap: anywhere; }
.economics { padding-inline: 0; }
.split-diagram { display: grid; grid-template-columns: 1.8fr 1fr; border: 1px solid var(--dark); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-diagram div { padding: 32px; min-height: 220px; display: grid; align-content: end; background: var(--surface); }
.split-diagram div:first-child { background: var(--dark); color: #fff; }
.split-diagram div:first-child strong { color: var(--lime); }
.split-diagram strong { font-size: clamp(58px, 8vw, 108px); line-height: .82; }
.count-number { display: inline-block; min-width: 1.4em; font-variant-numeric: tabular-nums; }

.app-layout, .explore-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 34px; align-items: start; }
.side { position: sticky; top: 100px; padding: 12px 18px; box-shadow: none; }
.side a, .side button { width: 100%; display: flex; justify-content: space-between; padding: 15px 4px; color: var(--text-2); background: transparent; border: 0; border-bottom: 1px solid var(--border); text-align: left; font-size: 12px; }
.side .active, .side button.active { color: var(--text); border-color: var(--dark); font-weight: 800; }
.side button.active::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-strong); box-shadow: 0 0 0 3px var(--lime-wash); }
.app-layout > section > .section-head { grid-template-columns: 1fr; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; align-content: start; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--text); font-size: 12px; font-weight: 720; }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
textarea { min-height: 132px; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: rgba(11,13,12,.38); }
input:focus, textarea:focus, select:focus { border-color: var(--dark); background: #fff; box-shadow: 0 0 0 4px rgba(199,240,0,.22); }
input[type="file"] { padding: 10px; background: var(--surface-soft); }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 11px; border: 0; border-radius: 5px; background: var(--dark); color: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--lime-strong); outline-offset: 3px; }
.upload-zone { min-height: 380px; display: grid; place-items: center; text-align: left; border: 1px dashed var(--border-strong); background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,251,198,.55)); }
.upload-zone > div { max-width: 520px; }
.upload-zone h3 { font-size: 28px; }
.artist-rec { margin: 15px 0; padding: 13px 0; border-block: 1px solid var(--border); }
.artist-rec a { color: var(--text); font-weight: 750; text-decoration-color: var(--lime-strong); }
.flow-actions { justify-content: flex-end; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.deploy-docs-table td:nth-child(3) { color: var(--text-2); line-height: 1.5; min-width: 220px; }
.code { background: var(--dark); border: 1px solid var(--dark); border-radius: 7px; padding: 17px; max-width: 100%; overflow: auto; color: #d8ded9; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; line-height: 1.65; }
.state-list { color: var(--text-2); line-height: 1.85; padding-left: 22px; }
.warning { color: var(--warning); border-left: 3px solid var(--warning); padding: 12px 14px; background: rgba(255,246,218,.7); }
.hint { font-size: 12px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { min-height: 110px; background: rgba(255,255,255,.82); padding: 20px; }
.stat span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.stat strong { display: block; margin-top: 15px; font-size: 25px; }
.filters { display: grid; gap: 17px; align-self: start; box-shadow: none; }
.filters label { display: grid; gap: 7px; }
.activity-item { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.activity-item > span { color: var(--muted); text-align: right; }
.thumb { width: 44px; height: 44px; background: var(--art); background-size: cover; border: 1px solid var(--border); border-radius: 6px; }
.mint-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .74fr); gap: 36px; align-items: start; }
.mint-module { position: sticky; top: 100px; box-shadow: var(--shadow-lg); }
.mint-module h1 { font-size: clamp(40px, 5vw, 68px); margin-top: 16px; line-height: .93; }
.mint-module, .mint-module * { min-width: 0; }
.mint-module .field { margin-top: 22px; }
.divider { height: 1px; background: var(--border); margin: 28px 0; }
.final-cta { display: flex; align-items: end; justify-content: space-between; gap: 36px; padding: 52px; border: 0; border-radius: 16px; background: var(--lime); }
.final-cta p { max-width: 790px; color: rgba(11,13,12,.7); }
.footer { width: min(100%, var(--container)); margin: 0 auto; border-top: 1px solid var(--border); padding: 30px 24px 40px; color: var(--muted); display: grid; grid-template-columns: .5fr 1fr; gap: 32px; font-size: 11px; line-height: 1.6; }

.backend-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.backend-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.backend-status.online::before { background: var(--success); }
.backend-status.offline::before { background: var(--warning); }
.notice { padding: 12px 14px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 7px; background: rgba(255,255,255,.72); color: var(--text-2); font-size: 12px; }
.notice.success { border-left: 3px solid var(--success); }
.notice.error { border-left: 3px solid var(--error); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .hero-copy .kicker, .hero-copy h1, .hero-copy > p, .hero-copy .actions, .hero-copy .support-line { opacity: 1; filter: none; transform: none; }
}
@media (max-width: 1180px) {
  .topbar { gap: 20px; }
  .nav { gap: 18px; }
  .gallery-grid, .step-list, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-row { grid-template-columns: 150px minmax(0,1fr); }
  .row-links { grid-column: 2; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 980px) {
  .topbar { grid-template-columns: auto 1fr; min-height: 68px; }
  .wallet { justify-self: end; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-top: 64px; }
  .hero-copy { text-align: center; }
  .hero-copy > p, .hero-copy .support-line { margin-inline: auto !important; }
  .hero-copy .actions { justify-content: center; }
  .hero-facts { justify-content: center; }
  .model-stage { min-height: 520px; }
  .model-stage::before { width: min(78vw, 570px); }
  model-viewer { height: 500px; }
  .app-layout, .explore-layout, .mint-layout, .editorial-split, .economics { grid-template-columns: minmax(0, 1fr); }
  .side, .mint-module { position: static; }
  .side { display: flex; overflow-x: auto; gap: 6px; padding: 8px; }
  .side button { width: auto; min-width: max-content; padding: 11px 12px; border: 0; border-radius: 6px; }
  .side button.active { background: var(--dark); color: #fff; }
  .side button.active::after { display: none; }
  .editorial-split { padding: 42px 28px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 680px) {
  body { background-size: 48px 48px; }
  .topbar { padding-inline: 15px; }
  .wallet-address, .backend-status { display: none; }
  .wallet-dialog { padding: 28px 20px 22px; }
  .wallet-dialog h2 { font-size: 34px; }
  .page { padding: 26px 15px 72px; }
  .hero { padding-top: 42px; gap: 14px; }
  h1 { font-size: clamp(45px, 14vw, 64px); }
  h2 { font-size: clamp(32px, 10vw, 46px); }
  .hero-copy > p { font-size: 16px; }
  .model-stage { min-height: 410px; }
  .model-stage::before { width: min(92vw, 410px); }
  model-viewer { width: min(100%, 430px); height: 410px; }
  .model-loading { bottom: 54px; }
  .section { margin-top: 76px; }
  .grid.cols-2, .grid.cols-3, .form-grid, .gallery-grid, .step-list, .stats { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 20px; }
  .collection-row { grid-template-columns: minmax(0,1fr); padding: 16px; }
  .row-art { width: 100%; }
  .row-links { grid-column: auto; }
  .technical-table div { grid-template-columns: minmax(0,1fr); gap: 5px; }
  .split-diagram { grid-template-columns: minmax(0,1fr); }
  .split-diagram div { min-height: 170px; }
  .economics { gap: 26px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
  .field.full { grid-column: auto; }
  .final-cta { display: grid; align-items: start; padding: 30px 22px; }
  .footer { grid-template-columns: 1fr; padding-inline: 15px; }
  .market-detail-identity { grid-template-columns: 1fr; }
}

