:root {
  --forest: #0d3527;
  --forest-2: #17533c;
  --cream: #f2f4ee;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --gold: #cda94c;
  --gold-light: #ecd888;
  --lime: #8fd05e;
  --ink: #13271f;
  --muted: #718078;
  --line: rgba(25,55,43,.11);
  --shadow-sm: 0 8px 24px rgba(25,55,43,.06);
  --shadow-md: 0 16px 45px rgba(25,55,43,.10);
  --font-ui: Inter, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 50% 0, #fffdf6 0, var(--paper) 34%, #f1f4ee 100%); font-family: var(--font-ui); line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 74px;
  padding: 0 max(20px, calc((100vw - 1220px)/2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(25,55,43,.04);
  backdrop-filter: blur(18px);
}
.app-brand { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.app-brand { width: max-content; border-radius: 12px; transition: opacity .2s ease, transform .2s ease; }
.app-brand:hover { opacity: .82; transform: translateY(-1px); }
.app-brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.app-brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #edf0e9; box-shadow: 0 4px 12px rgba(25,55,43,.1); }
.app-brand span, .app-brand strong, .app-brand small { display: block; }
.app-brand span { line-height: 1; }
.app-brand strong { font-family: var(--font-ui); font-size: 18px; font-weight: 850; letter-spacing: -.025em; }
.app-brand small { margin-top: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 7px; }
.header-status { justify-self: center; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; }
.header-status i { grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(205,169,76,.12); }
.header-status span, .header-status strong { display: block; }
.header-status span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 7px; font-weight: 800; }
.header-status strong { margin-top: 1px; font-size: 10px; }
.app-nav { display: flex; gap: 26px; align-self: stretch; }
.app-nav a { display: flex; align-items: center; color: #87928c; border-bottom: 2px solid transparent; font-size: 10px; font-weight: 800; }
.app-nav a:hover, .app-nav a.active { color: var(--forest); border-color: var(--forest); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.chain-pill { min-height: 39px; padding: 0 13px; display: inline-flex; align-items: center; color: #4e6258; border: 1px solid var(--line); border-radius: 11px; background: #f9faf7; font-size: 8px; font-weight: 800; }
.chain-pill i { width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #4cc36b; box-shadow: 0 0 0 4px rgba(76,195,107,.11); }
.app-button, .icon-button, .filter-tabs button, .select-button { cursor: pointer; }
.app-button { min-height: 40px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; font-size: 9px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.app-button:hover { transform: translateY(-1px); }
.app-button.connect, .app-button.create { color: white; background: linear-gradient(135deg, #0d3a2a, #176044); box-shadow: 0 7px 18px rgba(13,58,42,.18); }
.icon-button { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 11px; color: var(--forest); background: #f9faf7; }

.market-app { width: min(calc(100% - 40px),1240px); min-height: calc(100vh - 140px); margin: 0 auto; padding: 50px 0 78px; }
.market-heading { max-width: 880px; }
.eyebrow { color: var(--forest-2); text-transform: uppercase; letter-spacing: .17em; font-size: 8px; font-weight: 900; }
.eyebrow i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--gold); }
.market-heading h1 { margin: 15px 0 8px; font-family: var(--font-ui); font-size: clamp(42px,5vw,64px); font-weight: 830; line-height: .98; letter-spacing: -.055em; }
.market-heading p { max-width: 700px; margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.launch-hero { max-width: none; display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: 70px; }
.launch-hero h1 em { color: var(--forest-2); font-style: normal; }
.launch-hero p { max-width: 760px; }
.launch-visual { justify-self: end; width: 220px; text-align: center; }
.launch-seal { position: relative; width: 205px; aspect-ratio: 1; margin: 0 auto; padding: 8px; border-radius: 50%; background: linear-gradient(145deg, var(--gold), #efd477); box-shadow: 0 20px 55px rgba(13,53,39,.2), 0 0 0 8px rgba(13,53,39,.08); }
.launch-seal::before { content: ""; position: absolute; inset: -15px; border: 1px dashed rgba(205,169,76,.75); border-radius: inherit; }
.launch-seal img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border: 5px solid #173f31; border-radius: 50%; }
.launch-caption { margin-top: 24px; }
.launch-caption span, .launch-caption strong, .launch-caption small { display: block; }
.launch-caption span { color: var(--forest-2); text-transform: uppercase; letter-spacing: .15em; font-size: 7px; font-weight: 900; }
.launch-caption strong { margin-top: 4px; font-size: 21px; line-height: 1; letter-spacing: -.04em; }
.launch-caption small { margin-top: 5px; color: var(--muted); font-size: 8px; }

.coming-panel {
  margin-top: 32px;
  min-height: 190px;
  padding: 32px 38px;
  display: grid;
  grid-template-columns: minmax(390px,1fr) auto 190px;
  align-items: center;
  gap: 42px;
  color: white;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: radial-gradient(circle at 75% 0, rgba(143,208,94,.16), transparent 34%), linear-gradient(135deg, #0b3023, #114a35);
  box-shadow: var(--shadow-md);
}
.coming-copy span, .coming-copy strong, .coming-copy p { display: block; }
.coming-copy span { color: var(--lime); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 900; }
.coming-copy strong { margin-top: 9px; font-family: var(--font-ui); font-size: 31px; font-weight: 800; letter-spacing: -.035em; }
.coming-copy strong { white-space: nowrap; }
.coming-copy p { max-width: 430px; margin: 9px 0 0; color: rgba(255,255,255,.58); font-size: 12px; }
.compact-countdown { display: flex; align-items: center; gap: 12px; }
.compact-countdown div { min-width: 80px; text-align: center; }
.compact-countdown strong, .compact-countdown span { display: block; }
.compact-countdown strong { color: var(--gold-light); font-family: var(--font-ui); font-size: 40px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.compact-countdown span { margin-top: 8px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .14em; font-size: 8px; }
.compact-countdown > b { color: rgba(255,255,255,.25); font-size: 25px; }
.compact-countdown.countdown-tba { justify-content: flex-start; }
.compact-countdown.countdown-tba div { min-width: 230px; text-align: left; }
.compact-countdown.countdown-tba strong { font-size: 34px; }
.system-status { justify-self: end; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.system-status i { grid-row: 1 / 3; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 7px rgba(185,245,109,.1); }
.system-status span, .system-status strong { display: block; }
.system-status span { color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .14em; font-size: 8px; }
.system-status strong { margin-top: 2px; font-size: 13px; }

.activity-ticker { margin-top: 20px; padding: 9px; display: flex; gap: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.68); box-shadow: var(--shadow-sm); }
.activity-ticker > span { min-width: max-content; padding: 7px 10px; color: var(--muted); border: 1px solid rgba(25,55,43,.09); border-radius: 99px; background: white; font-size: 7px; box-shadow: 0 3px 10px rgba(25,55,43,.035); }
.activity-ticker i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; }
.buy-dot { background: #2cc75b; }
.sell-dot { background: #ef5a61; }
.activity-ticker b { color: #29a94f; }
.activity-ticker em { color: #e45860; font-style: normal; font-weight: 800; }
.activity-ticker strong { color: var(--ink); margin-left: 4px; }
.trending-section { margin-top: 30px; }
.trending-section h2 { margin: 0 0 13px; color: #52645b; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.trending-row { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 11px; }
.trending-row article { position: relative; min-width: 0; min-height: 96px; padding: 14px; display: grid; grid-template-columns: 42px 1fr; gap: 11px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.trending-row article:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trend-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--forest); background: linear-gradient(145deg,#f0ede5,#e4e8df); font-size: 8px; font-weight: 900; }
.trend-avatar.bom { color: var(--gold-light); background: var(--forest); }
.trending-row strong, .trending-row small, .trending-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trending-row strong { font-size: 10px; }
.trending-row small { color: var(--muted); font-size: 7px; }
.trending-row b { margin-top: 6px; color: #29a94f; font-size: 9px; }
.trending-row article > i { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 3px; overflow: hidden; border-radius: 99px; background: #e7e2d5; }
.trending-row article > i::after { content: ""; display: block; width: var(--trend); height: 100%; background: linear-gradient(90deg,#1fbe4b,var(--gold)); }

.market-controls {
  margin-top: 26px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
}
.filter-tabs, .control-actions { display: flex; align-items: center; gap: 7px; }
.filter-tabs button, .select-button { min-height: 40px; padding: 0 14px; color: var(--muted); border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 9px; }
.filter-tabs button:hover { color: var(--forest); background: #f0f4ed; }
.filter-tabs button.active { color: white; border-color: var(--forest); background: var(--forest); box-shadow: 0 5px 14px rgba(13,53,39,.14); }
.search-box { height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: inset 0 1px 2px rgba(25,55,43,.025); }
.search-box span { color: var(--muted); }
.search-box { min-width: 270px; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 9px; }
.select-button span { margin-left: 7px; }

.token-area { margin-top: 32px; }
.token-area-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.token-area-head > div { display: flex; align-items: baseline; gap: 9px; }
.token-area-head h2 { margin: 0; font-family: var(--font-ui); font-size: 26px; font-weight: 820; letter-spacing: -.035em; }
.token-area-head span, .token-area-head small { color: var(--muted); font-size: 8px; }
.token-grid { margin-top: 15px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.token-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.token-card:hover { transform: translateY(-4px); border-color: rgba(23,83,60,.22); box-shadow: var(--shadow-md); }
.token-card.featured { border-color: rgba(205,169,76,.58); box-shadow: inset 0 3px 0 var(--gold), var(--shadow-sm); }
.token-card.locked { background: rgba(250,251,248,.9); }
.token-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; }
.token-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #89958e; border: 1px solid var(--line); background: linear-gradient(145deg,#f0f2ed,#e6eae3); font-size: 9px; font-weight: 900; }
.token-avatar.bom { color: var(--gold-light); border: 0; background: var(--forest); }
.token-title strong, .token-title small { display: block; }
.token-title strong { font-family: var(--font-ui); font-size: 14px; font-weight: 800; letter-spacing: -.015em; }
.token-title small { color: var(--muted); font-size: 7px; }
.status { align-self: start; padding: 5px 7px; border-radius: 99px; color: #7a725f; background: #eee9dc; text-transform: uppercase; letter-spacing: .09em; font-size: 6px; font-weight: 900; }
.status.registered { color: #3f6821; background: #e2f2ce; }
.token-card > p { min-height: 34px; margin: 15px 0; color: var(--muted); font-size: 9px; }
.token-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.token-card dl div { padding: 9px 0; }
.token-card dt, .token-card dd { margin: 0; }
.token-card dt { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 6px; }
.token-card dd { margin-top: 2px; font-size: 9px; font-weight: 800; }
.progress { height: 4px; margin-top: 13px; overflow: hidden; border-radius: 99px; background: #e8e3d6; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg,var(--gold),var(--lime)); }
.progress-label { display: block; margin-top: 6px; color: var(--muted); font-size: 7px; }
.empty-state { margin-top: 16px; padding: 42px 20px; text-align: center; border: 1px dashed rgba(23,83,60,.2); border-radius: 15px; background: rgba(255,255,255,.6); }
.vault-mark { width: 38px; height: 38px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: var(--forest); }
.empty-state strong { font-family: var(--font-ui); font-size: 16px; font-weight: 800; }
.empty-state p { margin: 4px auto 14px; color: var(--muted); font-size: 9px; }

/* Honest pre-launch marketplace */
.launch-capabilities { margin-top: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.launch-capabilities article { min-height: 116px; padding: 19px; display: grid; grid-template-columns: 34px 1fr auto; align-items: start; gap: 13px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.launch-capabilities article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-light); background: var(--forest); font-size: 8px; font-weight: 900; }
.launch-capabilities strong, .launch-capabilities p { display: block; }
.launch-capabilities strong { font-size: 12px; }
.launch-capabilities p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.launch-capabilities b { padding: 5px 7px; border-radius: 999px; color: #796e52; background: #eee9dc; text-transform: uppercase; letter-spacing: .1em; font-size: 6px; }
.marketplace-preview, .create-coin-section { margin-top: 66px; }
.section-title-row { display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 50px; margin-bottom: 22px; }
.section-title-row > div > span { color: var(--forest-2); text-transform: uppercase; letter-spacing: .16em; font-size: 8px; font-weight: 900; }
.section-title-row h2 { margin: 8px 0 0; font-size: clamp(31px,4vw,48px); line-height: 1; letter-spacing: -.045em; }
.section-title-row > p { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.preview-toolbar { min-height: 63px; padding: 10px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 15px 15px 0 0; color: #9aa59f; background: rgba(255,255,255,.78); }
.preview-search { padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 9px; }
.preview-filters { display: flex; gap: 5px; }
.preview-filters span { padding: 9px 11px; border-radius: 8px; font-size: 8px; }
.preview-filters .active { color: white; background: var(--forest); }
.preview-action { padding: 11px 14px; border-radius: 9px; color: white; background: #759187; font-size: 8px; font-weight: 900; }
.marketplace-locked { min-height: 230px; padding: 32px 34px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 34px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: linear-gradient(140deg, rgba(255,255,255,.94), rgba(240,244,237,.92)); box-shadow: var(--shadow-md); }
.locked-copy > span { color: var(--forest-2); text-transform: uppercase; letter-spacing: .15em; font-size: 8px; font-weight: 900; }
.locked-copy > strong { display: block; max-width: 700px; margin-top: 7px; font-size: 24px; line-height: 1.08; letter-spacing: -.035em; }
.locked-copy > p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 10px; }
.market-ready-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.market-ready-list span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #5f7268; background: rgba(255,255,255,.72); font-size: 7px; font-weight: 800; }
.creator-workspace { display: grid; grid-template-columns: 360px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-md); }
.creator-steps { margin: 0; padding: 30px; list-style: none; color: white; background: radial-gradient(circle at 0 100%, rgba(205,169,76,.14), transparent 32%), #0d3527; }
.creator-steps li { position: relative; min-height: 94px; display: grid; grid-template-columns: 38px 1fr; gap: 14px; opacity: .47; }
.creator-steps li::before { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 1px; background: rgba(255,255,255,.18); }
.creator-steps li:last-child::before { display: none; }
.creator-steps li.active { opacity: 1; }
.creator-steps li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; color: var(--gold-light); font-size: 8px; font-weight: 900; }
.creator-steps li.active > span { color: var(--forest); border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 6px rgba(205,169,76,.1); }
.creator-steps strong, .creator-steps small { display: block; }
.creator-steps strong { margin-top: 2px; font-size: 11px; }
.creator-steps small { max-width: 210px; margin-top: 4px; color: rgba(255,255,255,.55); font-size: 8px; }
.creator-form-preview { padding: 34px; background: linear-gradient(145deg,#fff,#f7f8f4); }
.form-preview-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-preview-head span, .form-preview-head strong { display: block; }
.form-preview-head span { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 7px; font-weight: 900; }
.form-preview-head strong { margin-top: 3px; font-size: 20px; }
.form-preview-head b { padding: 7px 10px; border-radius: 999px; color: #6d5c27; background: #f2e7bf; text-transform: uppercase; letter-spacing: .1em; font-size: 7px; }
.logo-upload { margin-top: 24px; min-height: 95px; padding: 18px; display: flex; align-items: center; gap: 15px; border: 1px dashed rgba(13,53,39,.24); border-radius: 13px; background: rgba(255,255,255,.7); }
.logo-upload > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--forest-2); background: #eaf0e9; font-size: 22px; }
.logo-upload strong, .logo-upload small { display: block; }
.logo-upload strong { font-size: 11px; }
.logo-upload small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.field-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field-grid label > span { display: block; margin-bottom: 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 7px; font-weight: 900; }
.field-grid label > div { min-height: 42px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; color: #a3aca7; background: white; font-size: 9px; }
.field-grid .wide { grid-column: 1 / -1; }
.field-grid .wide > div { min-height: 72px; }
.form-safety { margin-top: 18px; padding: 14px; display: flex; align-items: flex-start; gap: 10px; border-radius: 11px; background: #edf3eb; }
.form-safety i { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--forest-2); font-style: normal; font-size: 9px; }
.form-safety p { margin: 0; color: var(--muted); font-size: 8px; }
.form-safety strong { color: var(--ink); }
.creator-next { width: 100%; min-height: 45px; margin-top: 18px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 11px; color: white; background: linear-gradient(135deg,#0d3a2a,#176044); font-size: 9px; font-weight: 900; cursor: pointer; }

.app-footer { min-height: 65px; padding: 0 max(20px,calc((100vw - 1220px)/2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: rgba(255,255,255,.4); background: #081a12; font-size: 8px; }
.app-footer p { margin: 0 auto; }
.app-footer a { color: var(--gold-light); }
.portal-toast { position: fixed; left: 50%; bottom: 22px; z-index: 50; padding: 10px 16px; color: var(--forest); border-radius: 99px; background: var(--gold); box-shadow: 0 14px 35px rgba(0,0,0,.16); font-size: 9px; font-weight: 900; transform: translate(-50%,15px); opacity: 0; pointer-events: none; transition: .2s ease; }
.portal-toast.show { transform: translate(-50%,0); opacity: 1; }
.modal-open { overflow: hidden; }
.launch-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .22s ease, visibility .22s ease; }
.launch-modal.open { visibility: visible; opacity: 1; }
.launch-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(4,15,10,.76); backdrop-filter: blur(10px); cursor: pointer; }
.launch-modal-card { position: relative; z-index: 1; width: min(100%,570px); padding: 38px; overflow: hidden; text-align: center; border: 1px solid rgba(205,169,76,.3); border-radius: 25px; color: white; background: radial-gradient(circle at 50% 0, rgba(143,208,94,.13), transparent 34%), linear-gradient(145deg,#123c2d,#081f17); box-shadow: 0 35px 100px rgba(0,0,0,.42); transform: translateY(18px) scale(.97); transition: transform .25s ease; }
.launch-modal.open .launch-modal-card { transform: none; }
.launch-modal-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 0, rgba(255,255,255,.055), transparent 48%); }
.launch-modal-card > * { position: relative; z-index: 1; }
.launch-modal-card > img { width: 66px; height: 66px; margin: 0 auto 18px; border: 4px solid var(--gold); border-radius: 50%; }
.launch-modal-card > span { color: var(--gold-light); text-transform: uppercase; letter-spacing: .16em; font-size: 8px; font-weight: 900; }
.launch-modal-card h2 { margin: 8px 0 0; font-size: 48px; line-height: 1; letter-spacing: -.055em; }
.launch-modal-card > p { max-width: 440px; margin: 13px auto 0; color: rgba(255,255,255,.58); font-size: 11px; }
.modal-close { position: absolute; right: 15px; top: 15px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: white; background: rgba(255,255,255,.05); font-size: 19px; cursor: pointer; }
.modal-countdown { margin: 28px auto 0; display: flex; align-items: center; justify-content: center; gap: 12px; }
.modal-countdown div { min-width: 80px; padding: 14px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.045); }
.modal-countdown strong, .modal-countdown span { display: block; }
.modal-countdown strong { color: var(--gold-light); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.modal-countdown span { margin-top: 7px; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .13em; font-size: 7px; }
.modal-countdown > b { color: rgba(255,255,255,.2); }
.modal-countdown.countdown-tba div { min-width: 260px; }
.modal-countdown.countdown-tba strong { font-size: 34px; }
.modal-status { width: max-content; max-width: 100%; margin: 20px auto 0; padding: 9px 13px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.62); font-size: 8px; }
.modal-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(143,208,94,.1); }

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body {
  color: #eef2f0;
  background: radial-gradient(circle at 50% -10%, #202724 0, #111614 38%, #090c0b 100%);
}
html[data-theme="dark"] .app-header {
  color: #f5faf7;
  background: rgba(12,16,14,.94);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
html[data-theme="dark"] .app-brand img { border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .app-brand small,
html[data-theme="dark"] .app-nav a { color: rgba(255,255,255,.48); }
html[data-theme="dark"] .app-nav a:hover,
html[data-theme="dark"] .app-nav a.active { color: white; border-color: var(--gold); }
html[data-theme="dark"] .chain-pill,
html[data-theme="dark"] .icon-button {
  color: #dce3df;
  border-color: rgba(255,255,255,.12);
  background: #171d1a;
}
html[data-theme="dark"] .eyebrow { color: var(--gold-light); }
html[data-theme="dark"] .coming-panel {
  border-color: rgba(236,216,136,.22);
  background: radial-gradient(circle at 70% 0, rgba(205,169,76,.12), transparent 34%), linear-gradient(135deg,#131a17,#1a211e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 55px rgba(0,0,0,.28);
}
html[data-theme="dark"] .coming-copy span { color: var(--gold-light); }
html[data-theme="dark"] .system-status i { background: #64d27e; box-shadow: 0 0 0 7px rgba(100,210,126,.1); }
html[data-theme="dark"] .market-heading p,
html[data-theme="dark"] .trending-section h2,
html[data-theme="dark"] .token-area-head span,
html[data-theme="dark"] .token-area-head small { color: #91a29a; }
html[data-theme="dark"] .activity-ticker,
html[data-theme="dark"] .market-controls {
  border-color: rgba(255,255,255,.08);
  background: #121714;
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
html[data-theme="dark"] .activity-ticker > span,
html[data-theme="dark"] .trending-row article,
html[data-theme="dark"] .token-card,
html[data-theme="dark"] .search-box {
  color: #edf5f0;
  border-color: rgba(255,255,255,.08);
  background: #161c19;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
}
html[data-theme="dark"] .activity-ticker strong { color: #f2f7f4; }
html[data-theme="dark"] .trend-avatar,
html[data-theme="dark"] .token-avatar {
  color: #aeb8b2;
  border-color: rgba(255,255,255,.09);
  background: linear-gradient(145deg,#2a302d,#202522);
}
html[data-theme="dark"] .trend-avatar.bom,
html[data-theme="dark"] .token-avatar.bom { color: #101411; background: var(--gold); }
html[data-theme="dark"] .trending-row small,
html[data-theme="dark"] .token-title small,
html[data-theme="dark"] .token-card > p,
html[data-theme="dark"] .token-card dt,
html[data-theme="dark"] .progress-label { color: #8fa198; }
html[data-theme="dark"] .filter-tabs button,
html[data-theme="dark"] .select-button { color: #91a29a; }
html[data-theme="dark"] .filter-tabs button:hover { color: white; background: rgba(255,255,255,.07); }
html[data-theme="dark"] .filter-tabs button.active { color: #111511; border-color: var(--gold-light); background: var(--gold-light); box-shadow: 0 6px 18px rgba(205,169,76,.15); }
html[data-theme="dark"] .search-box input { color: white; }
html[data-theme="dark"] .token-card.locked { background: #141916; }
html[data-theme="dark"] .token-card dl { border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .progress,
html[data-theme="dark"] .trending-row article > i { background: rgba(255,255,255,.1); }
html[data-theme="dark"] .empty-state {
  color: #edf5f0;
  border-color: rgba(236,216,136,.18);
  background: #111613;
}
html[data-theme="dark"] .empty-state p { color: #8fa198; }
html[data-theme="dark"] .header-status strong { color: #f5faf7; }
html[data-theme="dark"] .launch-hero h1 em { color: var(--gold-light); }
html[data-theme="dark"] .launch-caption span { color: var(--gold-light); }
html[data-theme="dark"] .launch-caption strong { color: white; }
html[data-theme="dark"] .launch-capabilities article,
html[data-theme="dark"] .preview-toolbar,
html[data-theme="dark"] .marketplace-locked,
html[data-theme="dark"] .creator-workspace,
html[data-theme="dark"] .creator-form-preview { color: #edf5f0; border-color: rgba(255,255,255,.09); background: #141916; }
html[data-theme="dark"] .preview-search,
html[data-theme="dark"] .logo-upload,
html[data-theme="dark"] .field-grid label > div { color: #73847b; border-color: rgba(255,255,255,.1); background: #101411; }
html[data-theme="dark"] .form-preview-head { border-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .form-safety { background: #1a241f; }
html[data-theme="dark"] .form-safety strong { color: white; }
html[data-theme="dark"] .market-ready-list span { color: #a9b7b0; border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.045); }

@media (max-width: 900px) {
  .app-header { grid-template-columns: 1fr auto; }
  .app-nav, .chain-pill { display: none; }
  .coming-panel { grid-template-columns: 1fr auto; }
  .coming-copy strong { white-space: normal; }
  .system-status { display: none; }
  .trending-row { grid-template-columns: repeat(3,1fr); }
  .market-controls { align-items: stretch; flex-wrap: wrap; }
  .search-box { flex: 1; min-width: 240px; }
  .token-grid { grid-template-columns: 1fr 1fr; }
  .header-status { display: none; }
  .launch-hero { grid-template-columns: 1fr 170px; gap: 30px; }
  .launch-visual { width: 170px; }
  .launch-seal { width: 160px; }
  .launch-capabilities { grid-template-columns: 1fr; }
  .section-title-row { grid-template-columns: 1fr; gap: 12px; }
  .preview-toolbar { grid-template-columns: 1fr auto; }
  .preview-filters { display: none; }
  .marketplace-locked { grid-template-columns: 1fr auto; }
  .marketplace-locked > button { justify-self: start; }
  .creator-workspace { grid-template-columns: 290px 1fr; }
}

@media (max-width: 650px) {
  .app-header { min-height: 66px; padding-inline: 14px; }
  .app-header { gap: 9px; }
  .app-brand img { width: 36px; height: 36px; }
  .app-brand strong { font-size: 15px; }
  .app-brand small { display: none; }
  .header-actions { gap: 6px; }
  .icon-button { display: block; width: 36px; height: 36px; }
  .app-button.connect { min-height: 36px; padding-inline: 12px; font-size: 8px; }
  .market-app { width: min(calc(100% - 28px),1220px); padding-top: 34px; padding-bottom: 58px; }
  .market-heading h1 { font-size: clamp(39px,12vw,45px); line-height: .96; }
  .market-heading p { font-size: 12px; }
  .launch-hero { grid-template-columns: 1fr; }
  .launch-visual { width: 178px; margin: 14px auto 0; justify-self: center; }
  .launch-seal { width: 162px; }
  .launch-caption { margin-top: 20px; }
  .coming-panel { min-height: auto; margin-top: 26px; padding: 24px 18px; grid-template-columns: 1fr; gap: 24px; }
  .coming-copy strong { font-size: 26px; }
  .compact-countdown { justify-content: space-between; }
  .compact-countdown { gap: 4px; }
  .compact-countdown div { min-width: 48px; }
  .compact-countdown strong { font-size: 27px; }
  .compact-countdown > b { font-size: 18px; }
  .launch-capabilities article { min-height: auto; grid-template-columns: 34px 1fr; }
  .launch-capabilities article > b { grid-column: 2; justify-self: start; }
  .marketplace-preview, .create-coin-section { margin-top: 52px; }
  .section-title-row h2 { font-size: 36px; }
  .section-title-row > p { font-size: 10px; }
  .market-controls { align-items: stretch; flex-direction: column; }
  .trending-row { display: flex; overflow-x: auto; }
  .trending-row article { min-width: 190px; }
  .filter-tabs { overflow-x: auto; }
  .filter-tabs button { white-space: nowrap; }
  .control-actions { justify-content: space-between; }
  .search-box { flex: 1; }
  .search-box input { width: 100%; }
  .token-grid { grid-template-columns: 1fr; }
  .preview-toolbar { grid-template-columns: 1fr; gap: 9px; padding: 9px; }
  .preview-filters { display: flex; max-width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .preview-filters::-webkit-scrollbar { display: none; }
  .preview-filters span { white-space: nowrap; }
  .preview-action { display: none; }
  .marketplace-locked { min-height: 0; padding: 24px 19px; grid-template-columns: 1fr; gap: 20px; text-align: left; }
  .locked-copy > strong { font-size: 22px; }
  .locked-copy > p { font-size: 10px; }
  .market-ready-list { display: grid; grid-template-columns: 1fr 1fr; }
  .market-ready-list span { text-align: center; }
  .marketplace-locked > button { width: 100%; grid-column: auto; justify-self: stretch; }
  .creator-workspace { grid-template-columns: 1fr; }
  .creator-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; padding: 17px; }
  .creator-steps li { min-height: auto; display: block; }
  .creator-steps li::before, .creator-steps li div { display: none; }
  .creator-steps li > span { margin: auto; }
  .creator-form-preview { padding: 22px 18px; }
  .form-preview-head { align-items: flex-start; gap: 10px; }
  .form-preview-head strong { font-size: 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .app-footer { padding: 20px; grid-template-columns: 1fr; text-align: center; }
  .launch-modal { padding: 14px; }
  .launch-modal-card { padding: 30px 14px 22px; border-radius: 20px; }
  .launch-modal-card h2 { font-size: 38px; }
  .launch-modal-card > p { padding-inline: 8px; }
  .modal-countdown { gap: 4px; }
  .modal-countdown div { min-width: 53px; padding: 11px 4px; }
  .modal-countdown strong { font-size: 23px; }
}

@media (max-width: 370px) {
  .app-brand strong { font-size: 14px; }
  .app-button.connect { padding-inline: 9px; }
  .compact-countdown div { min-width: 43px; }
  .compact-countdown strong { font-size: 24px; }
  .modal-countdown div { min-width: 47px; }
  .modal-countdown strong { font-size: 21px; }
}
