:root {
  color-scheme: dark;
  --bg: #12110d;
  --surface: #1c1a15;
  --surface-raised: #232119;
  --border: #36322a;
  --border-strong: #4a4231;
  --text: #f6efda;
  --text-soft: #c9c0a6;
  --text-muted: #8f8770;
  --accent: #ffd23f;
  --green: #34c77f;
  --red: #f0585d;
  --content-width: 1120px;
  --font: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection { color: var(--bg); background: var(--accent); }
[hidden] { display: none !important; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(201, 192, 166, .12);
  background: rgba(18, 17, 13, .92);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(100% - 48px, var(--content-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 42px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .09em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  transition: color .16s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.language-toggle {
  min-width: 36px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: border-color .16s ease, background .16s ease;
}
.language-toggle:hover { border-color: var(--accent); background: rgba(255, 210, 66, .06); }
.language-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.network-label, .panel-chain {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 199, 127, .25);
}
.muted { color: var(--text-muted); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--accent); color: #211c0e; }
.button-primary:hover { background: #ffdc68; }
.button-secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}
.button-secondary:hover { border-color: var(--text-muted); background: rgba(255, 255, 255, .025); }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.button-small { min-height: 36px; padding: 0 13px; font-size: 12px; }
.button-full { width: 100%; margin-top: 24px; }

.page-shell { width: min(100% - 48px, var(--content-width)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
  padding: 88px 0 70px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.5;
}
.eyebrow-line {
  width: 16px;
  height: 1px;
  display: inline-block;
  margin: 0 8px 3px 0;
  background: var(--accent);
}
.eyebrow-separator { padding: 0 6px; color: var(--border-strong); }
.hero h1, .guide-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: 1.04;
}
.hero-description {
  max-width: 490px;
  margin: 20px 0 28px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

.wallet-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(35, 33, 25, .9), rgba(28, 26, 21, .88));
}
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
.panel-heading h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.02em; }
.panel-chain { padding-top: 4px; }
.wallet-details { margin: 18px 0 0; }
.wallet-details > div {
  display: grid;
  grid-template-columns: minmax(92px, .7fr) minmax(0, 1.3fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(201, 192, 166, .1);
}
.wallet-details dt { color: var(--text-muted); font-size: 12px; }
.wallet-details dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-align: right;
}
.wallet-details dd .ok { color: var(--green); }
.wallet-details dd .bad { color: var(--red); }
.panel-footnote { margin: 15px 0 0; color: var(--text-muted); font-size: 11px; }

.supply-section {
  padding: 28px 0 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-heading { margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 6px; }
.section-heading h2 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.035em; }
.section-heading-inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-note { margin: 0; color: var(--text-soft); font-size: 13px; }
.section-heading-inline .section-note { padding-bottom: 2px; }
.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #2b2820;
}
.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width .35s ease;
}
.progress-caption { margin: 9px 0 0; color: var(--text-muted); font-family: var(--mono); font-size: 10px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}
.stat-item { min-width: 0; padding: 28px 22px 27px; border-right: 1px solid var(--border); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: 0; }
.stat-label, .stat-caption { display: block; color: var(--text-muted); font-size: 11px; }
.stat-item strong {
  display: block;
  margin: 9px 0 1px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.stat-caption { color: var(--text-soft); font-family: var(--mono); font-size: 10px; }

.content-section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.content-section .section-heading { margin-bottom: 22px; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.details-card {
  min-width: 0;
  padding: 22px 23px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.details-card h3 { margin: 0 0 13px; font-size: 14px; font-weight: 650; }
.data-list { margin: 0; }
.data-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(201, 192, 166, .09);
}
.data-list dt { color: var(--text-muted); font-size: 12px; }
.data-list dd { margin: 0; color: var(--text); font-size: 12px; font-weight: 560; text-align: right; overflow-wrap: anywhere; }
.card-note { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid rgba(201, 192, 166, .09); color: var(--text-soft); font-size: 11px; }

.mint-section { padding-bottom: 70px; border-bottom: 0; }
.mint-notes { max-width: 800px; margin-bottom: 16px; }
.mint-action-card {
  display: grid;
  grid-template-columns: minmax(140px, .55fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}
.mint-action-fields label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 12px; }
.mint-action-fields input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #14130f;
  color: var(--text);
  font: 14px var(--mono);
}
.mint-cost-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.mint-cost-summary > div { min-width: 0; }
.mint-cost-summary dt { color: var(--text-muted); font-size: 11px; }
.mint-cost-summary dd { margin: 5px 0 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.mint-action-buttons { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mint-action-buttons .button { white-space: nowrap; }
.mint-contract-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(201, 192, 166, .09);
}
.mint-contract-label { color: var(--text-muted); font-size: 11px; }
.mint-contract-address { min-width: 0; color: var(--text-soft); font: 11px/1.6 var(--mono); overflow-wrap: anywhere; }
.mint-contract-copy { min-height: 34px; padding: 0 11px; font-size: 11px; }
.mint-action-note { grid-column: 1 / -1; margin: -7px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.6; }
.mint-notes p {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 9px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 192, 166, .1);
  color: var(--text-soft);
  font-size: 13px;
}
.note-marker { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.text-link, .footer-link { color: var(--accent); font-size: 12px; }
.text-link:hover, .footer-link:hover { color: #ffdf75; }

.guide-shell { padding-bottom: 72px; }
.guide-hero { max-width: 690px; padding: 78px 0 44px; }
.guide-hero h1 { font-size: clamp(42px, 6vw, 64px); }
.guide-hero .hero-description { max-width: 560px; margin: 17px 0 23px; font-size: 14px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 58px; }
.guide-main { min-width: 0; }
.first-section { padding-top: 4px; }
.guide-main .content-section { padding: 38px 0; }
.guide-main .first-section { padding-top: 4px; }
.endpoint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.endpoint-row .stat-label { margin-bottom: 4px; }
.endpoint-row code { color: var(--text); font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; }
.wallet-prerequisite { margin: 0 0 20px; padding: 15px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.wallet-prerequisite strong { display: block; margin-bottom: 5px; font-size: 13px; }
.wallet-prerequisite p { margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.7; }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding: 16px 0; border-top: 1px solid rgba(201, 192, 166, .1); }
.step-number {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}
.guide-steps h3 { margin: 1px 0 5px; font-size: 13px; font-weight: 650; }
.guide-steps p { margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.75; }
.data-list-large > div { padding: 12px 0; }
.data-list-large dt, .data-list-large dd { font-size: 12px; }
.guide-main .section-note { margin-top: 17px; color: var(--text-muted); font-size: 11px; line-height: 1.75; }
.guide-wallet { position: sticky; top: 100px; }
.guide-wallet .wallet-details > div { grid-template-columns: minmax(94px, .75fr) minmax(0, 1.25fr); }
.guide-wallet .wallet-details dd { text-align: right; }

.site-footer { border-top: 1px solid var(--border); }
.footer-inner {
  width: min(100% - 48px, var(--content-width));
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 auto;
}
.footer-brand { font-size: 11px; }
.footer-brand .brand-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.footer-meta { margin-left: auto; color: var(--text-muted); font-family: var(--mono); font-size: 10px; }
.toast {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .3);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.modal {
  width: min(460px, calc(100vw - 28px));
  max-width: none;
  max-height: min(90vh, 780px);
  overflow: auto;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 10px 12px 0 rgba(0, 0, 0, .55), 0 24px 90px rgba(0, 0, 0, .58);
}
.modal::backdrop { background: rgba(0, 0, 0, .68); backdrop-filter: blur(4px); }
.modal-card { padding: 24px; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.modal-heading .eyebrow { margin-bottom: 5px; }
.modal-heading h2 { margin: 0; font-size: 20px; line-height: 1.3; }
.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 21px;
}
.icon-button:hover { border-color: var(--text-muted); }
.modal-copy { margin: 0 0 15px; color: var(--text-soft); font-size: 13px; line-height: 1.75; }
.centered { text-align: center; }
.qr-frame { width: min(280px, 100%); margin: 8px auto 16px; padding: 12px; border-radius: 15px; background: #fff; }
.qr-frame img { width: 100%; height: auto; display: block; image-rendering: pixelated; }
.pair-code-label { margin: 0; color: var(--text-muted); font-size: 11px; text-align: center; }
.pair-code { margin: 0 0 8px; color: var(--accent); font-family: var(--mono); font-size: 27px; font-weight: 700; letter-spacing: .18em; text-align: center; }
.centered-link { display: block; margin: 4px auto 0; width: fit-content; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.pair-countdown { margin: 12px 0 0; color: var(--text-soft); font-size: 12px; text-align: center; }
.pair-countdown span { font-family: var(--mono); }
.modal-footnote { margin: 12px 0 0; color: var(--text-muted); font-size: 11px; text-align: center; }
.modal .button-full { margin-top: 17px; }
.connected-mark { width: 42px; height: 42px; display: grid; place-items: center; margin: 2px auto 12px; border-radius: 50%; background: rgba(52, 199, 127, .13); color: var(--green); font-size: 23px; }
.modal-details { margin: 18px 0; }
.modal-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid rgba(201, 192, 166, .1); }
.modal-details dt { color: var(--text-muted); font-size: 11px; }
.modal-details dd { margin: 0; font-family: var(--mono); font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.error-panel { padding: 13px; border: 1px solid rgba(240, 88, 93, .3); border-radius: 9px; background: rgba(240, 88, 93, .08); color: #f2b6b7; font-size: 12px; }
.developer-mode-modal { width: min(540px, calc(100vw - 28px)); border-color: rgba(255, 210, 63, .62); }
.developer-mode-card { padding: 27px; }
.developer-mode-card .modal-heading { align-items: center; }
.developer-mode-checklist { display: grid; gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; }
.developer-mode-checklist li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid rgba(201, 192, 166, .12); border-radius: 9px; background: rgba(255, 255, 255, .018); color: var(--text-soft); font-size: 12px; }
.developer-mode-checklist li span:first-child { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.developer-mode-check-value { font-size: 11px; font-weight: 600; text-align: right; white-space: nowrap; }
.developer-mode-check-value.is-passed { color: var(--green); }
.developer-mode-check-value.is-failed { color: var(--red); }
.developer-mode-check-value.is-unknown { color: var(--text-muted); }
.developer-mode-status { display: grid; gap: 3px; padding: 13px 14px; border: 1px solid rgba(255, 210, 63, .34); border-left: 3px solid var(--accent); border-radius: 9px; background: rgba(255, 210, 63, .07); }
.developer-mode-status strong { color: var(--text); font-size: 12px; }
.developer-mode-status p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.6; }
.developer-mode-modal .modal-actions { flex-wrap: wrap; }
.developer-mode-modal .modal-actions .button-primary { min-width: 132px; }
.button[aria-busy="true"] { display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: wait; }
.button-spinner { width: 15px; height: 15px; flex: 0 0 15px; border: 2px solid rgba(18, 17, 13, .3); border-top-color: currentColor; border-radius: 50%; animation: button-spin .75s linear infinite; }
.button-secondary .button-spinner { border-color: rgba(246, 239, 218, .24); border-top-color: var(--accent); }
@keyframes button-spin { to { transform: rotate(360deg); } }
.transaction-card { padding-bottom: 21px; }
.transaction-summary { margin: 0; }
.transaction-summary > div { display: grid; grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr); gap: 12px; padding: 11px 0; border-top: 1px solid rgba(201, 192, 166, .1); }
.transaction-summary dt { color: var(--text-muted); font-size: 12px; }
.transaction-summary dd { margin: 0; font-family: var(--mono); font-size: 11px; text-align: right; overflow-wrap: anywhere; }
.transaction-status { margin: 16px 0 0; color: var(--text-soft); font-size: 12px; line-height: 1.7; }
.transaction-parsed { margin-top: 13px; border-top: 1px solid rgba(201, 192, 166, .1); padding-top: 12px; color: var(--text-soft); font-size: 11px; }
.transaction-parsed summary { cursor: pointer; }
.transaction-parsed pre { max-height: 200px; overflow: auto; padding: 10px; border-radius: 7px; background: #14130f; color: var(--text-soft); font: 10px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.transaction-risks { margin-top: 12px; }
.risk-note { margin: 8px 0; padding: 10px 12px; border: 1px solid rgba(240, 88, 93, .3); border-radius: 8px; color: #f2b6b7; font-size: 11px; line-height: 1.65; }
.risk-note.caution { border-color: rgba(255, 210, 63, .32); color: var(--text-soft); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 19px; }
.modal-actions .button { min-width: 112px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 34px; padding-top: 68px; }
  .guide-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
  .wallet-panel { padding: 20px; }
}
@media (max-width: 720px) {
  .header-inner, .page-shell, .footer-inner { width: min(100% - 32px, var(--content-width)); }
  .header-inner { min-height: 66px; gap: 20px; }
  .main-nav { gap: 17px; }
  .network-label { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 58px 0 46px; }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .hero-description { margin: 16px 0 23px; font-size: 14px; }
  .wallet-panel { max-width: none; }
  .supply-section { padding: 24px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 21px 15px; border-bottom: 1px solid var(--border); }
  .stat-item:first-child { padding-left: 15px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: 0; }
  .content-section { padding: 48px 0; }
  .details-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-hero { padding: 58px 0 34px; }
  .guide-layout { grid-template-columns: 1fr; gap: 12px; }
  .guide-wallet { position: static; grid-row: 1; }
  .guide-main { grid-row: 2; }
  .guide-main .content-section { padding: 35px 0; }
  .guide-main .first-section { padding-top: 25px; }
  .mint-action-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; }
  .mint-action-buttons { grid-column: 1 / -1; }
  .mint-action-note { margin-top: 0; }
}
@media (max-width: 480px) {
  .developer-mode-checklist li { grid-template-columns: 24px minmax(0, 1fr); }
  .developer-mode-check-value { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .button-spinner { animation-duration: 2.5s; }
}
@media (max-width: 480px) {
  .header-inner { gap: 14px; }
  .brand { gap: 7px; font-size: 11px; letter-spacing: .06em; }
  .brand-mark { width: 25px; height: 25px; border-radius: 7px; }
  .main-nav { gap: 12px; }
  .nav-link { font-size: 11px; }
  .header-actions { gap: 0; }
  .language-toggle { margin-right: 8px; }
  .header-actions .button { padding: 0 10px; font-size: 11px; }
  .hero-actions .button { flex: 1 1 auto; }
  .section-heading-inline { align-items: flex-start; flex-direction: column; gap: 9px; }
  .data-list > div { gap: 10px; }
  .data-list dt, .data-list dd { font-size: 11px; }
  .endpoint-row { align-items: flex-start; flex-direction: column; }
  .footer-inner { min-height: 76px; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; padding: 16px 0; }
  .footer-meta { width: calc(100% - 100px); margin-left: 0; text-align: right; }
  .footer-link { margin-left: auto; }
  .toast { right: 16px; bottom: 16px; }
  .mint-action-card { grid-template-columns: 1fr; }
  .mint-cost-summary { grid-template-columns: 1fr 1fr; }
  .mint-action-buttons { grid-column: 1; }
  .mint-contract-row { grid-column: 1; grid-template-columns: 1fr auto; }
  .mint-contract-label { grid-column: 1 / -1; }
  .mint-contract-address { grid-column: 1; }
  .mint-contract-copy { grid-column: 2; grid-row: 2; }
  .modal-card { padding: 19px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
