:root {
  --bg: #070706;
  --panel: rgba(17, 17, 15, 0.82);
  --panel-2: rgba(22, 21, 17, 0.92);
  --line: rgba(235, 190, 82, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f0df;
  --muted: #b4ab98;
  --gold: #efbd48;
  --gold-2: #ffe29a;
  --soft: #ead7a6;
  --green: #b7d978;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(235, 190, 82, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 190, 82, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 22% -12%, rgba(239, 189, 72, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 8%, rgba(255, 226, 154, 0.1), transparent 28rem),
    #070706;
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 7, 6, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(239, 189, 72, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(239, 189, 72, 0.12), rgba(255, 255, 255, 0.03)),
    #050505;
  box-shadow: 0 16px 36px rgba(239, 189, 72, 0.1);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.brand-mark img {
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--text);
}

.top-actions {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.primary-btn,
.ghost-btn,
.lang-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-color: rgba(239, 189, 72, 0.82);
  background: linear-gradient(180deg, #ffe39b, #e2ad37);
  color: #141008;
  box-shadow: 0 14px 36px rgba(239, 189, 72, 0.14);
}

.primary-btn:hover {
  filter: brightness(1.06);
}

.ghost-btn,
.lang-btn {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.ghost-btn:hover,
.lang-btn:hover {
  border-color: rgba(239, 189, 72, 0.38);
  background: rgba(239, 189, 72, 0.07);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.lang-btn {
  min-width: 54px;
}

.wallet-connect {
  position: relative;
}

.wallet-btn {
  min-height: 42px;
  max-width: 180px;
  overflow: hidden;
  padding: 0 16px;
  border: 1px solid rgba(239, 189, 72, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 226, 154, 0.15), rgba(239, 189, 72, 0.06));
  color: var(--text);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: 292px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 13, 11, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.wallet-menu[hidden] {
  display: none;
}

.wallet-menu button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-align: left;
}

.wallet-menu button:hover {
  border-color: rgba(239, 189, 72, 0.38);
  background: rgba(239, 189, 72, 0.07);
}

.wallet-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  color: #0b0d0e;
  font-size: 12px;
  font-weight: 950;
}

.wallet-logo.okx {
  background: #f4f1e8;
}

.wallet-logo.metamask {
  background: linear-gradient(135deg, #ffbc58, #f0642f);
}

.wallet-menu strong,
.wallet-menu small {
  display: block;
}

.wallet-menu small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.wallet-menu p {
  margin: 6px 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  min-width: 112px;
  padding: 12px 16px;
  border: 1px solid rgba(239, 189, 72, 0.35);
  border-radius: var(--radius);
  background: rgba(14, 13, 11, 0.94);
  color: var(--text);
  box-shadow: var(--shadow);
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.large {
  min-height: 54px;
  padding: 0 24px;
}

.full {
  width: 100%;
  min-height: 50px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.78fr);
  gap: 28px;
  align-items: stretch;
  min-height: 640px;
  aspect-ratio: 16 / 7;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 74% 40%, rgba(239, 189, 72, 0.2), transparent 27rem),
    radial-gradient(circle at 16% 78%, rgba(255, 226, 154, 0.08), transparent 22rem),
    linear-gradient(120deg, rgba(16, 15, 12, 0.95), rgba(8, 8, 7, 0.98));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.54;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.18), transparent 46%, rgba(239, 189, 72, 0.06)),
    linear-gradient(transparent, rgba(8, 8, 7, 0.88));
  content: "";
  pointer-events: none;
}

.hero-copy,
.launch-console {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 86px);
}

.eyebrow,
.kicker {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(239, 190, 72, 0.24);
  border-radius: 999px;
  background: rgba(239, 190, 72, 0.08);
}

.eyebrow span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.launch-console {
  align-self: center;
  margin: 46px 46px 46px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.panel-head,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head {
  margin-bottom: 22px;
}

.panel-head h2,
.section-head h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.2;
}

.fee-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(231, 191, 90, 0.34);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 850;
  background: rgba(231, 191, 90, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

label small {
  color: rgba(180, 171, 152, 0.78);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

input {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  padding: 0 12px;
}

input[type="file"] {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--muted);
}

input:focus {
  border-color: rgba(239, 189, 72, 0.62);
  box-shadow: 0 0 0 3px rgba(239, 189, 72, 0.08);
}

.tax-board {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.tax-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  color: var(--muted);
  font-weight: 800;
}

.tax-row meter {
  grid-column: 1 / -1;
}

meter {
  width: 100%;
  height: 10px;
}

meter::-webkit-meter-bar {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

meter::-webkit-meter-optimum-value {
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.tokenomics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.tokenomics div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.tokenomics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.tokenomics strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 42px;
}

.trust-grid article,
.dashboard,
.mechanics {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.trust-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(239, 189, 72, 0.24);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(239, 189, 72, 0.08);
}

.trust-grid h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.trust-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dashboard,
.mechanics,
.docs-panel {
  padding: 28px;
  margin-bottom: 28px;
}

.section-head {
  margin-bottom: 24px;
}

.launch-head {
  align-items: flex-end;
}

.hall-create-btn {
  display: none;
}

.list-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.mobile-status-tabs {
  display: none;
}

.search-field {
  position: relative;
  display: block;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translateY(-50%);
}

.search-field input {
  min-height: 48px;
  padding-left: 42px;
}

.realtime-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(183, 217, 120, 0.28);
  border-radius: var(--radius);
  color: var(--green);
  background: rgba(183, 217, 120, 0.07);
  font-size: 13px;
  white-space: nowrap;
}

.realtime-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(103, 230, 162, 0.9);
}

.launch-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.launch-column {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 8, 0.4);
}

.column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
}

.column-head div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.column-head h3 {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.2;
}

.column-head b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(231, 191, 90, 0.28);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(231, 191, 90, 0.08);
  font-size: 14px;
}

.status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--soft);
  box-shadow: 0 0 18px rgba(234, 215, 166, 0.62);
}

.launch-column.minting .status-dot {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(231, 191, 90, 0.7);
}

.launch-column.live .status-dot {
  background: var(--green);
  box-shadow: 0 0 18px rgba(103, 230, 162, 0.7);
}

.column-viewport {
  position: relative;
  height: 560px;
  overflow: auto;
  scrollbar-color: rgba(231, 191, 90, 0.5) rgba(255, 255, 255, 0.04);
}

.launch-mini-card {
  display: grid;
  grid-template-rows: auto auto auto;
  height: 182px;
  margin: 0 10px 10px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 226, 154, 0.035), transparent 60%),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.launch-mini-card:first-child {
  margin-top: 10px;
}

.launch-mini-card:hover {
  border-color: rgba(239, 189, 72, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 226, 154, 0.07), transparent 60%),
    rgba(239, 189, 72, 0.035);
}

.mini-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  min-width: 0;
}

.mini-identity {
  min-width: 0;
}

.mini-title-line {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto minmax(132px, auto);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.mini-title-line strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-identity > span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-progress {
  margin-bottom: 14px;
  min-width: 0;
}

.mini-progress div,
.mini-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mini-progress span,
.mini-metrics span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.mini-progress strong,
.mini-metrics strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mini-metrics {
  min-width: 0;
}

.mini-metrics div {
  min-width: 0;
}

.mini-contract {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 0;
  min-width: 0;
  width: 128px;
  height: 30px;
  padding: 0 0 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.026);
}

.mini-contract span {
  min-width: 0;
  overflow: hidden;
  padding-right: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-contract button {
  display: grid;
  width: 42px;
  height: 28px;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(231, 191, 90, 0.08);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
}

.mini-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.mini-link {
  flex: 0 0 auto;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.mini-link svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.mini-link.x svg {
  fill: currentColor;
  stroke: none;
}

.mini-link:hover {
  border-color: rgba(239, 189, 72, 0.42);
  background: rgba(239, 189, 72, 0.08);
  color: var(--gold-2);
}

.virtual-spacer {
  width: 1px;
}

.virtual-content {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  will-change: transform;
}

.list-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(231, 191, 90, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(231, 191, 90, 0.2), rgba(255, 226, 154, 0.08));
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  overflow: hidden;
}

.list-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.new {
  border-color: rgba(234, 215, 166, 0.34);
  color: var(--soft);
  background: rgba(234, 215, 166, 0.08);
}

.status-badge.minting {
  border-color: rgba(231, 191, 90, 0.4);
  color: var(--gold-2);
  background: rgba(231, 191, 90, 0.1);
}

.status-badge.live {
  border-color: rgba(103, 230, 162, 0.4);
  color: var(--green);
  background: rgba(103, 230, 162, 0.1);
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flow div {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.flow span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 900;
}

.flow strong {
  font-size: 20px;
}

.docs-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(239, 189, 72, 0.08), transparent 60%),
    var(--panel);
}

.docs-panel h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.docs-grid div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.docs-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.docs-grid strong {
  font-size: 20px;
}

.create-page {
  padding: 34px 0 54px;
}

.create-page[hidden] {
  display: none;
}

.create-page-head {
  display: grid;
  gap: 22px;
  margin-bottom: 26px;
}

.create-page-head h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(38px, 5vw, 64px);
}

.create-page-head p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.create-page-head .ghost-btn {
  width: fit-content;
}

.create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.36fr);
  gap: 18px;
  align-items: start;
}

.create-form {
  display: grid;
  gap: 16px;
}

.create-panel,
.create-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.create-panel {
  padding: 24px;
}

.create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tax-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tax-group {
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.tax-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tax-group-head h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.tax-group-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(231, 191, 90, 0.32);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(231, 191, 90, 0.08);
}

.tax-config {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tax-config label {
  min-width: 0;
}

.create-summary {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.summary-number {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(231, 191, 90, 0.3);
  border-radius: var(--radius);
  background: rgba(231, 191, 90, 0.08);
}

.summary-number strong {
  display: block;
  color: var(--gold-2);
  font-size: 38px;
  line-height: 1;
}

.summary-number span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.summary-list span {
  color: var(--muted);
  font-weight: 800;
}

.summary-list strong {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .shell {
    width: min(100% - 28px, 980px);
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .docs-panel,
  .create-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .launch-console {
    grid-column: 1 / -1;
    align-self: auto;
    margin: 0 24px 24px;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .trust-grid,
  .flow,
  .tax-groups,
  .tax-config {
    grid-template-columns: 1fr 1fr;
  }

  .create-summary {
    position: static;
  }

  .launch-columns {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 16px, 620px);
  }

  .topbar {
    grid-template-columns: auto 1fr;
    gap: 10px;
    min-height: 72px;
  }

  .brand {
    gap: 9px;
    font-size: 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .top-actions .ghost-btn {
    display: none;
  }

  .top-actions {
    min-width: 0;
    gap: 6px;
  }

  .top-actions > .primary-btn {
    display: none;
  }

  .lang-btn {
    min-width: 42px;
    min-height: 36px;
    font-size: 12px;
  }

  .wallet-btn {
    max-width: 104px;
    min-height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }

  .wallet-menu {
    right: -6px;
    width: min(300px, calc(100vw - 24px));
  }

  .primary-btn {
    padding: 0 12px;
  }

  .hero {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    min-height: clamp(360px, 74vh, 560px);
    aspect-ratio: auto;
    margin-top: 12px;
    background:
      radial-gradient(circle at 50% 18%, rgba(239, 190, 72, 0.18), transparent 17rem),
      linear-gradient(180deg, rgba(11, 11, 10, 0.96), rgba(8, 8, 7, 0.98));
  }

  #heroCanvas {
    height: 100%;
    min-height: clamp(360px, 74vh, 560px);
    opacity: 0.42;
  }

  .dashboard {
    order: 1;
    margin-top: 10px;
  }

  .trust-grid {
    order: 3;
  }

  .mechanics {
    order: 4;
  }

  .docs-panel {
    order: 5;
  }

  h1 {
    font-size: 32px;
  }

  .hero-copy {
    justify-content: center;
    min-height: clamp(360px, 74vh, 560px);
    padding: 28px 18px;
  }

  .hero-copy p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.55;
  }

  .brand-mark img {
    object-fit: contain;
  }

  .dashboard,
  .mechanics,
  .docs-panel {
    padding: 14px;
  }

  .launch-console {
    display: none;
  }

  .form-grid,
  .create-grid,
  .tokenomics,
  .trust-grid,
  .flow,
  .tax-groups,
  .tax-config,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .launch-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .launch-head > div:first-child {
    min-width: 0;
  }

  .launch-head h2 {
    font-size: 22px;
  }

  .realtime-pill {
    display: none;
  }

  .hall-create-btn {
    display: inline-flex;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .list-toolbar {
    grid-template-columns: 1fr;
    width: 100%;
    margin-bottom: 10px;
  }

  .mobile-status-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }

.mobile-status-tabs button {
    min-width: 0;
    min-height: 38px;
    padding: 0 8px;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-status-tabs button.active {
    border-color: rgba(239, 189, 72, 0.65);
    background: linear-gradient(180deg, rgba(255, 226, 154, 0.18), rgba(239, 189, 72, 0.08));
    color: var(--gold-2);
  }

  .launch-columns {
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 10px;
  }

  .launch-columns[data-mobile-status="new"] .launch-column:not(.new),
  .launch-columns[data-mobile-status="live"] .launch-column:not(.live),
  .launch-columns[data-mobile-status="minting"] .launch-column:not(.minting) {
    display: none;
  }

  .column-viewport {
    height: clamp(360px, 62dvh, 520px);
    min-height: 360px;
  }

  .launch-column {
    margin-bottom: 0;
  }

  .column-head {
    min-height: 48px;
    padding: 10px 12px;
  }

  .column-head h3 {
    font-size: 16px;
  }

  .column-head b {
    min-width: 32px;
    height: 26px;
    font-size: 12px;
  }

  .launch-mini-card {
    height: 152px;
    margin: 0 8px 8px;
    padding: 10px;
  }

  .launch-mini-card:first-child {
    margin-top: 8px;
  }

  .mini-top {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 10px;
  }

  .list-avatar {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .mini-title-line {
    grid-template-columns: minmax(54px, 1fr) auto minmax(102px, auto);
    gap: 6px;
  }

  .status-badge {
    display: none;
  }

  .mini-progress {
    margin-bottom: 9px;
  }

  .mini-link {
    width: 22px;
    height: 22px;
  }

  .mini-link svg {
    width: 12px;
    height: 12px;
  }

  .mini-contract {
    grid-template-columns: minmax(0, 1fr) 36px;
    width: 102px;
    height: 30px;
    padding-left: 10px;
  }

  .mini-contract button {
    width: 36px;
    font-size: 10px;
  }

  .mini-metrics span {
    font-size: 10px;
  }

  .mini-metrics strong {
    font-size: 11px;
  }

  .create-page {
    order: 0;
  }
}

/* ===== 项目弹窗 (mint / 退款 / 领分红) ===== */
.nova-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nova-modal[hidden] { display: none; }
.nova-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 4, 0.74);
  backdrop-filter: blur(8px);
}
.nova-modal-card {
  position: relative;
  width: min(460px, 100%);
  background:
    radial-gradient(circle at 80% 0%, rgba(239, 189, 72, 0.1), transparent 14rem),
    var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}
.nova-modal-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  color: var(--text);
}
.nova-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}
.nova-modal-close:hover {
  border-color: rgba(239, 189, 72, 0.34);
  background: rgba(239, 189, 72, 0.08);
  color: var(--gold-2);
}
.modal-stats {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.modal-stats .row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.modal-stats .row strong { color: var(--text); font-weight: 800; }
.modal-progress meter { width: 100%; height: 10px; }
.modal-actions { display: grid; gap: 10px; margin-top: 6px; }
.modal-actions button {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 850;
  font-size: 15px;
  cursor: pointer;
}
.modal-actions .act-mint { background: linear-gradient(180deg, #ffe39b, #e2ad37); color: #141008; }
.modal-actions .act-secondary { background: rgba(255, 255, 255, 0.055); color: var(--text); }
.modal-actions button:disabled { opacity: 0.45; cursor: not-allowed; }
.modal-loading { color: var(--muted); font-size: 14px; }
.modal-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.modal-logo {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(239, 189, 72, 0.34);
  border-radius: var(--radius);
  background: rgba(239, 189, 72, 0.08);
  color: var(--gold-2);
  font-weight: 950;
}
.modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-profile strong,
.modal-profile span {
  display: block;
}
.modal-profile strong {
  color: var(--text);
  font-size: 16px;
}
.modal-profile span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.modal-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.modal-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
}
.modal-socials a:hover {
  border-color: rgba(239, 189, 72, 0.34);
  background: rgba(239, 189, 72, 0.08);
}
.modal-contract {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  word-break: break-all;
}
.launch-mini-card { cursor: pointer; }
