#cssWarn { display: none !important; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/IBMPlexMono-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("fonts/BebasNeue.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("fonts/NotoSansSC-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("fonts/NotoSansSC-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("fonts/NotoSansSC-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Syne"; src: url("fonts/Syne-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Syne"; src: url("fonts/Syne-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #000000;
  --bg-elev: #070707;
  --card: #080808;
  --card-2: #0C0C0C;
  --black: #000000;
  --red: #E41726;
  --red-deep: #B8121C;
  --white: #F6F4F2;
  --muted: #8A8582;
  --line: #1C1C1C;
  --line-soft: #141414;
  --up: #3DDC8A;
  --down: #E41726;
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: 240ms;
  --ring: 0 0 0 3px rgba(228, 23, 38, .18);
  --elev: 0 18px 50px rgba(0, 0, 0, .55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--white); }
html { scrollbar-width: thin; scrollbar-color: #2a2a2a var(--bg); }
body {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.55; min-height: 100vh;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #000;
}
h1, h2, h3, b, strong { font-weight: 700; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

::selection { background: var(--red); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid rgba(228, 23, 38, .8); outline-offset: 2px; }
.search:focus-visible,
.find-asset:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible,
.textin:focus-visible,
.amt input:focus-visible,
.trade-meta input:focus-visible {
  outline: none;
}
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--bg); }
*::-webkit-scrollbar-thumb {
  background: #2a2a2a; border-radius: 99px; border: 2px solid var(--bg);
}
*::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ATMOSPHERE */
.page-vignette,
.page-grain {
  position: fixed; inset: 0; pointer-events: none;
}
.page-vignette {
  z-index: 60;
  background:
    radial-gradient(ellipse 80% 70% at 50% 28%, transparent 42%, rgba(0,0,0,.38) 100%);
}
.page-grain {
  z-index: 400;
  opacity: .055;
  background-image: url("img/grain.png");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* NAV — floating architectural bar */
.nav {
  position: sticky; top: 12px; z-index: 50;
  height: auto; margin-top: 12px;
  background: transparent; border: 0;
}
.nav-inner {
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  border-radius: 20px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(28px) saturate(1.25);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  padding: 0 12px 0 18px;
}
.nav-left, .nav-right, .nav-links { display: flex; align-items: center; gap: 2px; }
.nav-right { gap: 8px; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 11px; margin-right: 22px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--red);
  display: grid; place-items: center; color: #fff;
  font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 22px;
  line-height: 1; letter-spacing: 0; padding-top: 1px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(0,0,0,.28), 0 0 18px rgba(228,23,38,.38);
}
.logo-name {
  font-family: "Syne", "Noto Sans SC", sans-serif;
  font-weight: 800; font-size: 17px; letter-spacing: -0.05em;
}
.nav-links a, .nav-links button.nav-link {
  padding: 8px 12px; font-size: 13px; color: #6E6A68; border-radius: 8px; font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.nav-links a:hover, .nav-links button.nav-link:hover { color: var(--white); }
.nav-links a.active, .nav-links button.nav-link.active { color: var(--white); font-weight: 700; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 11px; border: 1px solid rgba(255,255,255,.08);
  color: var(--muted); display: grid; place-items: center; font-size: 13px;
  background: rgba(255,255,255,.03);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.icon-btn:hover { color: var(--white); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06); }
.icon-btn.on { color: var(--white); border-color: rgba(255,255,255,.18); }
.burger { display: none; }
.lang-toggle {
  height: 36px; padding: 3px; border-radius: 11px; border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35); display: inline-flex; gap: 2px;
}
.lang-toggle button {
  min-width: 34px; height: 28px; padding: 0 8px; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .04em;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.lang-toggle button.on { background: rgba(255,255,255,.1); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.btn-red, .btn-outline, .btn-dark, .btn-ghost, .btn-green {
  height: 36px; padding: 0 15px; border-radius: 11px; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative; overflow: hidden;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn-red {
  background: linear-gradient(180deg, #FF2C3B 0%, #E41726 46%, #C4111E 100%);
  color: #fff;
  border: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(80,0,8,.35),
    0 1px 2px rgba(0,0,0,.45),
    0 8px 22px rgba(228,23,38,.28);
}
.btn-red::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,.3) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 280ms var(--ease);
  pointer-events: none;
}
.btn-red:hover { background: linear-gradient(180deg, #FF3A48 0%, #F01A2A 46%, #D01220 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.44), inset 0 -1px 0 rgba(80,0,8,.3), 0 0 24px rgba(228,23,38,.38); }
.btn-red:hover::after { transform: translateX(130%); }
.btn-red:active { background: linear-gradient(180deg, #C4111E 0%, #B8121C 100%); }
.btn-outline {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.btn-outline:hover { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.btn-dark { background: #000; color: #fff; }
.btn-ghost { border: 1px solid rgba(255,255,255,.1); color: var(--muted); }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.22); }
.btn-green { background: #0A0A0A; color: var(--up); border: 1px solid var(--up); }
.btn-green:hover { background: #102018; }
.btn-lg { height: 52px; padding: 0 26px; border-radius: 14px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; height: 52px; font-size: 15px; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn-red:disabled, .btn-outline:disabled, .btn-dark:disabled, .btn-ghost:disabled, .btn-green:disabled {
  opacity: .45; cursor: not-allowed; box-shadow: none;
}
.btn-red:disabled::after { display: none; }
.wallet-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--up);
  box-shadow: 0 0 0 3px rgba(61,220,138,.18);
}

/* MOBILE MENU */
.mobile-menu {
  display: none; position: absolute; left: 0; right: 0;
  width: min(1180px, calc(100% - 48px));
  margin: 8px auto 0; top: 100%;
  background: rgba(0,0,0,.94); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 10px 0 16px; z-index: 49;
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
}
.mobile-menu.on { display: block; }
.mobile-menu .wrap { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.mobile-menu a, .mobile-menu button.nav-link {
  text-align: left; padding: 13px 18px; font-size: 15px; font-weight: 600;
  color: var(--muted); border-bottom: 1px solid var(--line-soft);
  transition: color var(--t) var(--ease);
}
.mobile-menu a.active, .mobile-menu button.nav-link.active { color: var(--white); font-weight: 700; }
.mobile-menu a:hover, .mobile-menu button.nav-link:hover { color: var(--white); }

.wrap { width: min(1200px, calc(100% - 56px)); margin: 0 auto; }
.view { display: none; padding: 22px 0 112px; }
.view.on { display: block; }

/* HERO — cinematic stage */
.hero {
  background: #000000;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 32px;
  padding: 72px 72px 60px;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 28px; align-items: center;
  position: relative; overflow: hidden; min-height: 620px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 40px 80px rgba(0,0,0,.45);
}
.hero-flow {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; z-index: 0;
}
.hero-bloom {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 58% 80% at 78% 52%, rgba(228,23,38,.22) 0%, rgba(228,23,38,.06) 38%, transparent 70%);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 32%, rgba(0,0,0,.16) 52%, transparent 68%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 22%, transparent 78%, rgba(0,0,0,.4) 100%);
}
.hero-copy, .hero-art { position: relative; z-index: 2; }
.hero-copy h1, .hero-copy p {
  text-shadow: 0 2px 28px rgba(0,0,0,.95), 0 0 48px rgba(0,0,0,.75), 0 1px 2px rgba(0,0,0,.9);
}
.hero h1 {
  font-family: "Noto Sans SC", sans-serif;
  font-size: clamp(52px, 6.2vw, 80px);
  font-weight: 900; letter-spacing: -0.06em; line-height: 1.04;
  max-width: 8.2em;
}
.hero h1 .sub { display: block; margin-top: 8px; }
.hero p { margin-top: 22px; color: #C8C3BF; font-size: 16px; line-height: 1.7; max-width: 34em; font-weight: 400; }
.hero-cta { margin-top: 36px; }
.hero-art { position: relative; height: 420px; min-height: 200px; }
.hero-art svg { display: none; }
.feat {
  display: block;
  position: absolute; right: 4px; bottom: 8px;
  width: 268px;
  background: rgba(6,6,6,.62);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 18px 18px 16px;
  box-shadow:
    0 24px 50px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 0 0 1px rgba(228,23,38,.06);
  text-align: left; cursor: pointer;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.feat:hover {
  border-color: rgba(228,23,38,.5);
  transform: translateY(-3px);
  background: rgba(8,8,8,.72);
  box-shadow: 0 28px 56px rgba(0,0,0,.6), 0 0 32px rgba(228,23,38,.14), inset 0 1px 0 rgba(255,255,255,.26);
}
.feat-top { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.feat-top b { color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: -0.03em; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(228,23,38,.8); }
.feat-pair { margin: 8px 0 16px; font-size: 12px; color: var(--muted); }
.feat-pair span { color: var(--white); font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; }
.feat-px { display: flex; justify-content: space-between; align-items: baseline; }
.feat-px .mc { font-size: 26px; font-weight: 600; letter-spacing: -0.05em; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.feat-px .chg { font-size: 13px; font-weight: 700; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero-copy { animation: riseIn 900ms var(--ease) both; }
.hero-art .feat { animation: riseIn 900ms var(--ease) 160ms both; }

/* TOOLBAR */
.toolbar { margin: 48px 0 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.search {
  flex: 1; min-width: 280px; max-width: 520px; height: 46px; border-radius: 999px;
  background: #050505; border: 1px solid rgba(255,255,255,.08); padding: 0 16px 0 42px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 8px 24px rgba(0,0,0,.25);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.search-wrap { position: relative; flex: 1; min-width: 280px; max-width: 520px; }
.search-wrap::before {
  content: "⌕"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 16px; z-index: 1; pointer-events: none;
}
.search { width: 100%; }
.search:focus { border-color: rgba(228,23,38,.5); box-shadow: var(--ring), inset 0 1px 0 rgba(255,255,255,.03); }
.search::-webkit-search-decoration,
.search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search::placeholder, .find-asset::placeholder, textarea::placeholder, input::placeholder { color: #666; }
.sort { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.sort > span { margin-right: 4px; font-weight: 600; }
.sort button {
  padding: 6px 10px; border-radius: 8px; color: var(--muted); font-weight: 600;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.sort button.on, .sort button:hover { color: var(--white); }
.sort button.on { font-weight: 700; background: rgba(255,255,255,.08); color: var(--white); }

.pair-row, .filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-row { margin-bottom: 24px; }
.pair-label { font-size: 12px; color: var(--muted); white-space: nowrap; font-weight: 600; letter-spacing: .01em; }
.chip {
  height: 34px; padding: 0 13px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); color: var(--muted);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.chip:hover { color: var(--white); border-color: rgba(255,255,255,.16); }
.chip.on {
  background: rgba(228,23,38,.12); color: var(--white); border-color: rgba(228,23,38,.55);
  font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(228,23,38,.12);
}
.find-asset {
  margin-left: auto; height: 34px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08);
  background: #050505; padding: 0 12px; font-size: 12px; width: 160px; outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.find-asset:focus { border-color: rgba(228,23,38,.5); box-shadow: var(--ring); }

.section-title { font-size: 22px; font-weight: 900; margin: 14px 0 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; letter-spacing: -0.045em; }
.section-title span, .section-title .count { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: 0; font-family: "IBM Plex Mono", ui-monospace, monospace; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #050505; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 16px 18px 14px; text-align: left;
  display: flex; flex-direction: column; gap: 0;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 28px rgba(0,0,0,.28);
}
@media (min-width: 981px) {
  .card { aspect-ratio: 406 / 254; }
}
.card:hover {
  border-color: rgba(228, 23, 38, .55);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0,0,0,.5), 0 0 0 1px rgba(228,23,38,.16), 0 12px 28px rgba(228,23,38,.12), inset 0 1px 0 rgba(255,255,255,.08);
}
.card-clip {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  pointer-events: none; z-index: 0;
}
.card-flow-bg {
  position: absolute;
  inset: -70% -40% -50% -40%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 48% at 18% 28%, rgba(228, 23, 38, .42), transparent 62%),
    radial-gradient(48% 40% at 82% 72%, rgba(228, 23, 38, .22), transparent 58%),
    radial-gradient(36% 46% at 62% 18%, rgba(90, 16, 24, .55), transparent 62%),
    linear-gradient(118deg, rgba(228, 23, 38, .12), transparent 42%, rgba(28, 8, 12, .4));
  filter: blur(22px);
  opacity: .42;
  animation: cardFlow 11s ease-in-out infinite alternate;
  animation-delay: var(--flow-delay, 0s);
  transform-origin: 45% 50%;
  transition: opacity var(--t) var(--ease), filter var(--t) var(--ease);
}
.card:hover .card-flow-bg { opacity: 1; filter: blur(16px); }
.card-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 0; }
@keyframes cardFlow {
  0% { transform: translate3d(-8%, -6%, 0) scale(1) rotate(-6deg); }
  50% { transform: translate3d(4%, 8%, 0) scale(1.12) rotate(3deg); }
  100% { transform: translate3d(10%, -4%, 0) scale(1.2) rotate(9deg); }
}
@media (prefers-reduced-motion: reduce) {
  .card-flow-bg { animation: none; }
}
.card-top { display: flex; align-items: flex-start; gap: 10px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px;
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  background: var(--red); color: #000; overflow: hidden;
}
.card .avatar {
  width: 40px; height: 40px; flex-basis: 40px; font-size: 15px;
}
.avatar img, .preview-av img, .token-id .avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.inv { background: #1a1a1a; color: var(--white); border: 1px solid #333; }
.avatar.dim { background: #2A1012; color: var(--red); }
.avatar.gold { background: #2A2410; color: #E8C56B; }
.avatar.blue { background: #101820; color: #8CB4D4; }
.avatar.green { background: #102018; color: var(--up); }
.tk-name { font-weight: 700; font-size: 15px; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-sym { color: #7A8086; font-size: 12px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-acts { margin-left: auto; display: flex; gap: 6px; color: var(--muted); font-size: 11px; align-items: flex-start; flex: 0 0 auto; }
.card-ico {
  width: 30px; height: 30px; box-sizing: border-box;
  border: 1px solid #2A2A2A; border-radius: 50%;
  display: grid; place-items: center;
  color: #9a9a9a; background: rgba(12,12,12,.72);
  padding: 0; font-size: 10px; font-weight: 700; letter-spacing: .04em;
  position: relative;
}
.card-ico { transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
button.card-ico:hover { color: var(--white); border-color: #555; background: rgba(20,20,20,.88); }
.card-gift {
  color: #E8C56B;
  border-color: rgba(232,197,107,.45);
  background: rgba(28,22,8,.8);
}
.card-ca { width: auto; min-width: 30px; padding: 0 8px; border-radius: 999px; }
.tk-meta { min-width: 0; flex: 1; }
.pair-chip {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid rgba(232,197,107,.4); color: #E8C56B;
  border-radius: 6px; padding: 1px 6px;
}
.card-wave {
  position: absolute; left: -8%; right: -8%; bottom: -10px;
  width: 116%; height: 80px; z-index: 0; pointer-events: none;
  fill: rgba(228,23,38,.16); opacity: .7;
  animation: cardWave 12s ease-in-out infinite alternate;
  animation-delay: var(--flow-delay, 0s);
}
@keyframes cardWave {
  0% { transform: translateX(-5%); }
  100% { transform: translateX(5%); }
}
@media (prefers-reduced-motion: reduce) {
  .card-wave { animation: none; }
}
.mc { font-size: 26px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.mc small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; letter-spacing: 0; font-family: inherit; }
.meta-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.paired { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.paired b { color: var(--white); font-weight: 700; font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: -0.02em; }
.paired .quote-mini { width: 16px; height: 16px; }
.badge {
  display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; border: 1px solid #333; border-radius: 6px; padding: 2px 6px; color: var(--muted);
}
.badge.custom { color: #3DDC8A; border-color: rgba(61,220,138,.35); }
.badge.plat { color: #F4F5F6; border-color: var(--red); background: #1A0508; }
.badge.rew { color: #E8C56B; border-color: rgba(232,197,107,.4); }
.badge.team { color: #8CB4D4; border-color: rgba(140,180,212,.4); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid #333; border-radius: 999px; padding: 2px 7px; color: var(--muted);
}
.pill.new { color: var(--up); border-color: rgba(61,220,138,.35); }
.pill.graduating { color: #E8C56B; border-color: rgba(232,197,107,.4); }
.pill.graduated { color: var(--white); border-color: #444; }
.pill.fly { color: var(--red); border-color: rgba(228,23,38,.45); }
.foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.vol { font-size: 11px; color: var(--muted); font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.chg { font-size: 12px; font-weight: 700; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.quote-wm {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  right: 3%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: #E41726;
  transform: rotate(-8deg);
  transform-origin: center center;
  container-type: inline-size;
}
.quote-wm::before {
  content: "";
  position: absolute;
  inset: 10% 4%;
  border-radius: 50%;
  background: #E41726;
  filter: blur(48px);
  opacity: .14;
  z-index: 0;
}
.quote-wm .qw-glow,
.quote-wm .qw-text {
  font-weight: 800;
  font-style: italic;
  font-size: calc(114cqw / var(--qw-len, 4));
  letter-spacing: -0.05em;
  line-height: .8;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Noto Sans SC", "Segoe UI", sans-serif;
}
.quote-wm .qw-glow {
  position: absolute;
  color: #E41726;
  filter: blur(18px);
  opacity: .32;
  transform: scale(1.04);
  z-index: 1;
  animation: qwPulse 8s ease-in-out infinite;
}
.quote-wm .qw-text {
  position: relative;
  z-index: 2;
  color: #000;
  -webkit-text-stroke: 0.04em #E41726;
  paint-order: stroke fill;
  opacity: .5;
}
@keyframes qwPulse {
  0%, 100% { opacity: .24; filter: blur(16px); }
  50% { opacity: .4; filter: blur(22px); }
}
.card-viz { display: flex; align-items: flex-end; gap: 10px; }
.card-spark { display: block; flex: 0 0 auto; overflow: visible; }
.spark { display: block; flex: 0 0 auto; }
.foot { padding-right: 36px; margin-top: auto; }
.foot-stats { display: flex; align-items: baseline; gap: 10px; }
.paired { flex-wrap: wrap; padding-right: 36px; }
@media (prefers-reduced-motion: reduce) {
  .quote-wm .qw-glow { animation: none; }
}

.empty {
  grid-column: 1 / -1;
  border: 1px dashed #2A2A2A; border-radius: 20px; padding: 52px 24px;
  text-align: center; color: var(--muted);
  background: #0A0A0A;
}
.empty b { display: block; color: var(--white); font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.empty button { margin-top: 14px; }

/* INNER PAGES */
.page-kicker { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.page-title { font-size: clamp(36px, 4vw, 56px); font-weight: 900; letter-spacing: -0.055em; line-height: 1.08; }
.page-desc { color: var(--muted); margin-top: 12px; max-width: 42rem; font-size: 15px; line-height: 1.75; }
.launch-hero { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-soft); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.launch-form { padding: 28px 30px; border-radius: 22px; }
.launch-sec { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.launch-sec-fee { margin-top: 0; padding-top: 0; border-top: 0; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.sec-label { font-size: 14px; font-weight: 700; color: #E6E1DD; margin: 0 0 4px; letter-spacing: -0.02em; }
.sec-help { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 4px 0 0; }
.fee-tier { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #050505; }
.fee-tier button {
  height: 32px; min-width: 56px; padding: 0 16px; border: 0; border-radius: 8px;
  font-size: 14px; font-weight: 700; color: var(--muted); background: transparent;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.fee-tier button.on { background: rgba(228, 23, 38, .14); color: var(--white); }
.fee-tier button.disabled, .fee-tier button:disabled { opacity: .4; cursor: not-allowed; }
.field-hint { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.launch-image .upload {
  height: auto; min-height: 96px; flex-direction: row; justify-content: flex-start;
  gap: 16px; padding: 16px; text-align: left; border-radius: 10px;
}
.launch-image .upload-ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: #161616;
  color: var(--muted); display: grid; place-items: center;
}
.launch-image .upload-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.launch-image .upload-copy strong { font-size: 14px; font-weight: 600; color: #c8c8c8; }
.launch-image .upload-copy span { font-size: 12px; color: var(--muted); }
.launch-image .upload.has-img { padding: 12px; }
.launch-image .upload.has-img .upload-ico { display: none; }
.launch-image .upload.has-img .upload-copy { display: none; }
.launch-image .upload img, .launch-image .upload.has-img img {
  position: static; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: 0 0 64px;
}
.quote-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 12px 0 0; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #050505; }
.quote-toolbar .chip {
  height: 32px; border: 0; border-radius: 8px; padding: 0 12px;
  font-size: 13px; font-weight: 700; color: var(--muted); background: transparent;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.quote-toolbar .chip.on { background: rgba(228, 23, 38, .14); color: var(--white); }
.quote-toolbar .chip .cat-n { margin-left: 6px; font-size: 11px; font-weight: 600; color: #666; font-variant-numeric: tabular-nums; }
.quote-toolbar .chip.on .cat-n { color: #999; }
.quote-toolbar .find-asset {
  margin: 0 0 0 auto; flex: 1; min-width: 140px; height: 32px;
  background: transparent; border: 0; padding: 0 10px; font-size: 13px;
}
.quote-empty {
  margin-top: 12px; padding: 20px; border: 1px dashed #333; border-radius: 10px;
  font-size: 14px; color: var(--muted); text-align: left;
}
.launch-summary {
  border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: #070707; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
}
.launch-summary::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, #ff6a72 50%, var(--red) 80%, transparent);
  pointer-events: none;
}
.launch-summary .summary-head { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.launch-summary .summary-head h2 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.launch-summary .summary-token {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px 0;
}
.launch-summary .preview-av {
  width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; border-radius: 10px; background: #161616;
}
.launch-summary .preview-name { font-size: 15px; font-weight: 700; }
.launch-summary .preview-pair { font-size: 12px; color: var(--muted); margin-top: 2px; }
.launch-summary .summary-kvs { padding: 8px 20px 16px; }
.launch-summary .kv { padding: 12px 0; border-bottom: 0; font-size: 14px; color: var(--muted); }
.launch-summary .kv .v { color: var(--white); font-weight: 600; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.launch-summary .summary-notes {
  padding: 16px 20px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); line-height: 1.55;
}
.launch-summary .summary-notes p { margin: 0 0 10px; }
.launch-summary .summary-notes p:last-child { margin-bottom: 0; }
.launch-summary .summary-cta { padding: 16px; border-top: 1px solid var(--line-soft); }
.launch-summary .summary-cta .btn-full { height: 44px; border-radius: 10px; font-weight: 700; }
.launch-summary .note { margin-top: 10px; opacity: .8; }
.panel {
  background: #070707; border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px; padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 40px rgba(0,0,0,.28);
}
.panel-red { background: var(--red); color: #000; border-color: var(--red); }
.panel h3.plain { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.step { margin-bottom: 24px; }
.step:last-child { margin-bottom: 0; }
.step h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.step-no {
  width: 20px; height: 20px; border-radius: 6px; background: var(--red); color: #000;
  font-size: 12px; font-weight: 700; display: inline-grid; place-items: center;
}
.field { margin-bottom: 12px; }
.field label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field .hint { font-size: 11px; color: #666; }
.field input[type="text"], .field input[type="url"], .field input[type="number"],
.field textarea, .field select, .textin {
  width: 100%; height: 46px; background: #050505; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 0 14px; outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field textarea { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus, .textin:focus {
  border-color: rgba(228,23,38,.55); box-shadow: var(--ring);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.upload {
  height: 110px; border: 1px dashed rgba(255,255,255,.14); border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--muted); font-size: 13px; background: #050505; width: 100%;
  overflow: hidden; position: relative;
}
.upload { transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background-color var(--t) var(--ease); }
.upload:hover { border-color: var(--red); color: var(--white); }
.upload img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upload.has-img .upload-copy { display: none; }
.fee-opts, .mode-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode-opts { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 10px; }
.opt { border: 1px solid #2A2A2A; border-radius: 12px; padding: 12px; text-align: left; background: transparent; transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.opt:hover, .opt.on { border-color: var(--red); }
.opt.on { background: #140003; box-shadow: inset 0 0 0 1px rgba(228,23,38,.35); }
.opt b { display: block; font-size: 14px; margin-bottom: 4px; font-weight: 700; }
.opt span { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.rate-pills { display: flex; gap: 8px; margin: 8px 0 12px; }
.rate-pills button {
  flex: 1; height: 38px; border: 1px solid #2A2A2A; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: var(--muted);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.rate-pills button.on { border-color: var(--red); color: var(--white); background: #140003; }

.page-title .zh, .sec-label .zh, .field label .zh, .summary-head .zh { color: var(--muted); font-weight: 600; }
.page-desc.zh { margin-top: 2px; }
.launch-block { margin-bottom: 20px; }
.pill-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 10px; padding: 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #050505; }
.pill-row button {
  height: 32px; padding: 0 14px; border: 0; border-radius: 8px;
  font-size: 13px; font-weight: 700; color: var(--muted); background: transparent; white-space: nowrap;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.pill-row button.on { background: rgba(228, 23, 38, .16); color: var(--white); }
.pill-row button.disabled, .pill-row button:disabled { opacity: .45; cursor: not-allowed; }
.curve-explain {
  margin: 4px 0 22px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px;
  font-size: 13px; line-height: 1.7; color: var(--muted);
  background: #050505;
}
.curve-explain p { margin: 0; }
.summary-kvs .kv .v { text-align: right; font-weight: 700; }
.summary-kvs .kv-note { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--muted); }
.launch-devbuy { padding-top: 8px; }
.quote-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 12px; }
.quote-opts {
  max-height: min(420px, 52vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
  align-content: start;
}
.quote-opts .q-why { grid-column: 1 / -1; }
.q-tile { position: relative; min-width: 0; }
.q-tile .q { width: 100%; height: 100%; }
.q-tile.has-mint .q { padding-right: 34px; }
.q-mint-copy {
  position: absolute; top: 4px; right: 4px;
  display: grid; place-items: center; width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 6px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.q-mint-copy:hover, .q-mint-copy:focus-visible { color: var(--white); border-color: var(--red); }
.q-mint-copy::before, .q-mint-copy::after {
  content: ""; grid-area: 1 / 1; width: 8px; height: 9px;
  border: 1px solid currentColor; border-radius: 2px;
}
.q-mint-copy::before { transform: translate(-2px, -2px); }
.q-mint-copy::after { transform: translate(2px, 2px); background: #110b0c; }
.q {
  border: 1px solid #2A2A2A; border-radius: 12px; min-height: 64px; padding: 10px 12px; background: transparent;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; text-align: left;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.q:hover { border-color: var(--red); }
.q.on { border-color: var(--red); background: #140003; color: var(--white); box-shadow: inset 0 0 0 1px var(--red); }
.q .q-logo, .q .q-logo-fallback {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 32px; background: #161616;
}
.q .q-logo-fallback { display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--white); }
.q .q-meta { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.q .q-sym { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 700; }
.q .q-name { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q.on .q-name { color: #9a9a9a; }
.q-why { grid-column: 1 / -1; font-size: 12px; color: var(--muted); margin-top: -4px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0 12px; font-size: 13px; }
.check-row input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: 0 0 16px; }
.check-row .sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.preview-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.preview-av { width: 56px; height: 56px; border-radius: 50%; background: #000; color: var(--red);
  font-size: 22px; font-weight: 700; display: grid; place-items: center; overflow: hidden; flex: 0 0 56px; }
.preview-name { font-size: 20px; font-weight: 700; }
.preview-pair { font-size: 12px; margin-top: 4px; }
.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.15); font-size: 13px; gap: 12px; }
.kv .v { font-weight: 700; text-align: right; }
.panel:not(.panel-red) .kv { border-bottom-color: #222; }
.sticky-side { position: sticky; top: 92px; }
.note { font-size: 11px; margin-top: 10px; opacity: .75; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* TOKEN */
.token-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.token-id { display: flex; gap: 14px; align-items: center; }
.token-id .avatar { width: 64px; height: 64px; flex-basis: 64px; font-size: 24px; }
.token-title { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; }
.token-sub { margin-top: 6px; color: var(--muted); font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pair-pill { border: 1px solid #333; border-radius: 999px; padding: 2px 8px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.quote-mini { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #111; flex: 0 0 auto; }

.ca-btn, .link-btn {
  border: 1px solid #333; border-radius: 999px; padding: 2px 8px; font-size: 12px; color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
a.link-btn { display: inline-block; text-decoration: none; cursor: pointer; }
.token-links { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.token-link { display: flex; gap: 10px; align-items: baseline; color: var(--muted); text-decoration: none; font-size: 13px; max-width: 100%; }
.token-link { transition: color var(--t) var(--ease); }
.token-link:hover { color: var(--white); }
.token-link-label { flex: 0 0 auto; color: var(--muted); }
.token-link-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--white); }
.token-head a { color: var(--white); }
.ca-btn:hover, .link-btn:hover { color: var(--white); border-color: #555; }
.token-price { text-align: right; }
.token-price .px { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.token-grid { display: grid; grid-template-columns: 1.5fr .85fr; gap: 16px; }

.token-crumb { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.token-crumb a { color: var(--muted); text-decoration: none; }
.token-crumb a { transition: color var(--t) var(--ease); }
.token-crumb a:hover { color: var(--white); }
.token-hero { margin-bottom: 16px; }
.token-title .pill { margin-left: 10px; font-size: 11px; vertical-align: middle; }
.soc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.soc-pill {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border: 1px solid #2A2A2A; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--white); text-decoration: none; background: #141414;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.soc-pill:hover { border-color: #555; background: #1A1A1A; }
.token-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 16px; }
.token-stats .stat-card { background: var(--card); border: 1px solid #1E1E1E; border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.token-stats .lbl { font-size: 11px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; font-weight: 600; }
.token-stats .num { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.token-stats .sub { font-size: 12px; margin-top: 4px; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.chart-head h3 { font-size: 16px; margin: 0; }
.chart-frame { position: relative; height: 420px; border-radius: 12px; overflow: hidden; background: #050505; border: 1px solid rgba(255,255,255,.07); }
.dex-frame { width: 100%; height: 100%; border: 0; display: block; }
.chart-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.chart-tools .chart-tabs { margin-bottom: 0; }
.chart-ohlc {
  position: absolute; top: 8px; left: 10px; right: 10px; z-index: 3;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; color: var(--muted); pointer-events: none; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.chart-ohlc b { font-weight: 700; color: var(--white); }
.chart-ohlc .up, .chart-ohlc .up b { color: var(--green); }
.chart-ohlc .down, .chart-ohlc .down b { color: var(--red); }
.chart-ohlc .ohlc-sym { color: var(--white); font-weight: 700; margin-right: 8px; }
.chart-canvas { position: absolute; inset: 0; }
.chart-frame > .chart-empty {
  position: absolute; inset: 0; z-index: 2; margin: 0; min-height: 0;
  background: #0C0C0C; height: auto;
}
.chart-frame > .chart-empty[hidden] { display: none !important; }
.chart-src {
  position: absolute; right: 10px; bottom: 8px; z-index: 3;
  font-size: 10px; color: #555; pointer-events: none;
}
.token-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 92px; }
.side-card { background: #070707; border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.side-card h3 { font-size: 16px; margin: 0 0 8px; }
.holders-card { margin-top: 16px; }
.side-empty, .swap-box { color: var(--muted); font-size: 13px; }
.swap-card { border-color: var(--red); }
.swap-box {
  margin-top: 12px; border: 1px dashed #3A3A3A; border-radius: 16px; padding: 18px 16px;
  text-align: center; background: #0C0C0C;
}
.swap-title { color: var(--white); font-weight: 700; margin-bottom: 6px; }
.swap-box .btn-red, .swap-box .btn-full { margin-top: 14px; }
.info-copy { display: inline-flex; align-items: center; gap: 8px; }
.holders-table { width: 100%; }
.holders-table .holders-row {
  grid-template-columns: minmax(110px, 1.3fr) minmax(100px, 1fr) minmax(90px, .9fr) !important;
  gap: 8px; align-items: start;
}
.holders-row .right { text-align: right; word-break: break-word; }
.holder-addr { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.holder-ca { padding: 0; border: 0; background: none; color: var(--white); font-size: 12px; cursor: pointer; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.holder-ca:hover { text-decoration: underline; }
.holder-tag { font-size: 10px; color: var(--muted); }
@media (max-width: 900px) {
  .token-stats { grid-template-columns: 1fr 1fr; }
  .token-side { position: static; }
  .chart-frame { height: 320px; }
}

.chart-box { background: var(--card); border: 1px solid #1E1E1E; border-radius: 20px; padding: 16px; }
.chart-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.chart-tabs button { padding: 6px 10px; font-size: 12px; font-weight: 700; color: var(--muted); border-radius: 8px; transition: color var(--t) var(--ease), background-color var(--t) var(--ease); }
.chart-tabs button.on { color: var(--white); background: #1a1a1a; }
.curve { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.curve-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; color: var(--muted); gap: 12px; }
.bar { height: 8px; background: #1a1a1a; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--red); width: 0; }
.pool-state {
  margin-top: 12px; border-top: 1px solid var(--line); padding-top: 14px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap;
}
.pool-state b { font-size: 13px; font-weight: 700; }
.lock {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #333; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; color: var(--muted);
}
.trade { background: var(--card); border: 1px solid var(--red); border-radius: 20px; padding: 16px; }
.side-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.side-toggle button { height: 40px; font-weight: 700; border: 1px solid #2A2A2A; border-radius: 10px; }
.side-toggle button.buy.on { background: var(--red); border-color: var(--red); color: #000; }
.side-toggle button.sell.on { background: #1a1a1a; border-color: #3DDC8A; color: #3DDC8A; }
.amt { position: relative; margin-bottom: 10px; }
.amt input { width: 100%; height: 52px; background: #0C0C0C; border: 1px solid #2A2A2A; border-radius: 12px; padding: 0 72px 0 12px; font-size: 18px; outline: none; font-family: "IBM Plex Mono", monospace; font-variant-numeric: tabular-nums; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.amt input:focus { border-color: rgba(228,23,38,.55); box-shadow: var(--ring); }
.amt .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--muted); }
.quick { display: flex; gap: 6px; margin-bottom: 16px; }
.quick button { flex: 1; height: 30px; border: 1px solid #2A2A2A; border-radius: 8px; font-size: 11px; font-weight: 700; color: var(--muted); transition: color var(--t) var(--ease), border-color var(--t) var(--ease), background-color var(--t) var(--ease); }
.quick button:hover { color: var(--white); border-color: #444; }
.trade-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; gap: 8px; }
.trade-meta input[type="number"] {
  width: 64px; height: 24px; background: #0C0C0C; border: 1px solid #2A2A2A;
  border-radius: 6px; padding: 0 6px; text-align: right; font-size: 12px;
}
.tx-list { margin-top: 16px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.tx-list.flat { margin-top: 0; }
.tx-row, .tx-head {
  display: grid; grid-template-columns: 70px 1fr 1fr 1.2fr 80px;
  padding: 10px 14px; font-size: 12px; border-bottom: 1px solid var(--line-soft); align-items: center; gap: 8px;
}
.tx-head { color: var(--muted); font-size: 11px; }
.tx-row:last-child { border-bottom: 0; }
.tx-row.clickable { cursor: pointer; text-align: left; width: 100%; background: transparent; }
.tx-row.clickable { transition: background-color var(--t) var(--ease); }
.tx-row.clickable:hover { background: #161616; }
.list-title { padding: 12px 14px 4px; font-size: 13px; font-weight: 700; }

.tabs { display: flex; gap: 4px; margin: 18px 0 12px; flex-wrap: wrap; }
.tabs button { padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--muted); border-radius: 10px; border: 1px solid transparent; transition: color var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease); }
.tabs button.on { color: var(--white); background: #161616; border-color: #2A2A2A; }
.holders-row {
  display: grid; grid-template-columns: 1.2fr 1fr 80px;
  padding: 10px 14px; font-size: 12px; border-bottom: 1px solid var(--line-soft);
}
.hold-bar { height: 4px; background: #1a1a1a; border-radius: 99px; margin-top: 6px; }
.hold-bar > i { display: block; height: 100%; background: var(--red); }

.callout {
  background: #140003; border: 1px solid rgba(228,23,38,.35);
  border-radius: 12px; padding: 12px 14px; font-size: 12px; color: var(--muted); margin-top: 10px;
}
.callout b { color: var(--white); font-weight: 700; }
.callout.soft { background: #121212; border-color: #2A2A2A; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.stat-card {
  background: var(--card); border: 1px solid #1E1E1E; border-radius: 16px; padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.stat-card .lbl { font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.stat-card .num { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-family: "IBM Plex Mono", monospace; }
.stat-card .sub { font-size: 11px; color: var(--muted); margin-top: 6px; }

.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click td { transition: background-color var(--t) var(--ease); }
.tbl tr.click:hover td { background: #161616; }
.tbl .right, .tbl td.right, .tbl th.right { text-align: right; }
.token-cell { display: flex; align-items: center; gap: 10px; }
.token-cell .avatar { width: 32px; height: 32px; flex-basis: 32px; font-size: 13px; }

.explain { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin: 20px 0 28px; }
.explain-card {
  background: var(--card); border: 1px solid #1E1E1E; border-radius: 16px; padding: 16px 18px;
}
.explain-card h3 { font-size: 14px; margin-bottom: 8px; font-weight: 700; }
.explain-card p { font-size: 13px; color: var(--muted); }

.feed { display: flex; flex-direction: column; }
.feed-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.feed-item:last-child { border-bottom: 0; }

/* API DOC */
.doc { margin-top: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.doc-side { position: sticky; top: 92px; align-self: start; }
.doc-side a { display: block; padding: 8px 0; font-size: 13px; color: var(--muted); transition: color var(--t) var(--ease); }
.doc-side a:hover { color: var(--white); }
.endpoint { margin-bottom: 28px; scroll-margin-top: 92px; }
.endpoint h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.method {
  font-family: "IBM Plex Mono", monospace; font-size: 11px; font-weight: 700;
  background: #1A1A1A; border: 1px solid #333; border-radius: 6px; padding: 2px 6px; color: var(--up);
}
.method.post { color: #E8C56B; }
.path { font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 500; }
.code-block {
  position: relative; background: #0C0C0C; border: 1px solid #222; border-radius: 12px;
  padding: 14px 14px 14px; margin-top: 10px; overflow-x: auto;
}
.code-block pre { font-family: "IBM Plex Mono", monospace; font-size: 12px; line-height: 1.55; color: #D0D4D8; white-space: pre-wrap; word-break: break-word; }
.code-block .copy {
  position: absolute; top: 8px; right: 8px; height: 26px; padding: 0 8px;
  border: 1px solid #333; border-radius: 7px; font-size: 11px; font-weight: 700; color: var(--muted); background: #141414;
}
.code-block .copy:hover { color: var(--white); }

/* MODALS / TOAST */
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(14px); z-index: 100; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.on { display: flex; }
.modal { width: 360px; max-width: 100%; background: #080808; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; padding: 20px; max-height: min(86vh, 760px); overflow: auto; box-shadow: 0 32px 80px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08); }
.modal.wide { width: 460px; }
.modal h2 { font-size: 18px; margin-bottom: 8px; font-weight: 700; letter-spacing: -0.03em; }
.modal .lead { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.w-item { width: 100%; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 14px; border: 1px solid #2A2A2A; border-radius: 12px; margin-bottom: 8px; font-weight: 700; transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.w-item:hover { border-color: var(--red); }
.modal.wallet-modal { width: 440px; padding: 28px 26px 24px; background: #080808; }
.wallet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.wallet-head h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; letter-spacing: -0.045em; }
.wallet-head .lead { margin: 0; font-size: 13px; line-height: 1.5; }
.wallet-x {
  width: 32px; height: 32px; border: 0; padding: 0;
  background: transparent; color: var(--muted); font-size: 24px;
  border-radius: 8px; flex-shrink: 0; line-height: 1; cursor: pointer;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.wallet-x:hover { color: var(--white); background: #1c1c1c; }
.wallet-sec { font-size: 11px; color: var(--muted); margin: 20px 0 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wallet-modal .w-item {
  margin: 0; height: 58px; padding: 0 14px;
  justify-content: flex-start; gap: 10px;
  background: #0C0C0C; border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  font-size: 14px; text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.wallet-modal .w-item:hover { border-color: var(--red); background: #121212; box-shadow: 0 0 0 1px rgba(228,23,38,.25), inset 0 1px 0 rgba(255,255,255,.05); }
.wallet-modal .w-item.is-missing { opacity: .72; }
.wallet-modal .w-item.is-on { border-color: var(--red); box-shadow: inset 0 0 0 1px rgba(228,23,38,.35); }
.w-logo { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; }
.w-logo svg { display: block; }
.w-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#walletHint { margin: 12px 0 0; }
@media (max-width: 480px) {
  .wallet-grid { grid-template-columns: 1fr; }
}
.modal-acts { display: flex; gap: 8px; margin-top: 16px; }
.modal-acts .btn-full { flex: 1; }
.status-wait { text-align: center; padding: 18px 8px 8px; }
.status-wait .spin {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid #2A2A2A; border-top-color: var(--red);
  margin: 0 auto 12px; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  min-width: 240px; max-width: 360px; background: #0A0A0A; border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 11px 14px; font-size: 13px;
  box-shadow: 0 16px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}
.toast b { display: block; margin-bottom: 2px; font-weight: 700; }

footer { border-top: 1px solid rgba(255,255,255,.06); padding: 48px 0 72px; color: #6A6664; font-size: 12px; line-height: 1.8; letter-spacing: .01em; }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
footer strong { color: #D4D0CC; font-weight: 700; font-family: "Syne", "Noto Sans SC", sans-serif; letter-spacing: -0.03em; }

@media (max-width: 980px) {
  .hero, .launch-grid, .token-grid, .grid, .doc, .explain, .stat-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .mode-opts, .quote-opts { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .wrap { width: calc(100% - 28px); }
  .mobile-menu { width: calc(100% - 28px); }
  .find-asset { margin-left: 0; }
  .page-title { font-size: clamp(32px, 8vw, 40px); }
  .hero {
    padding: 32px 28px 28px; min-height: 0;
    border-radius: 24px;
    align-items: stretch;
  }
  .hero-copy { max-width: 74%; padding-right: 8px; }
  .hero h1 { font-size: clamp(36px, 10vw, 52px); max-width: none; }
  .hero p { font-size: 14px; max-width: 100%; }
  .hero-art {
    height: auto !important; min-height: 0 !important;
    overflow: visible; display: flow-root; width: 100%;
  }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 36%, rgba(0,0,0,.45) 100%),
      linear-gradient(90deg, rgba(0,0,0,.35) 0%, transparent 50%);
  }
  .feat {
    position: relative !important;
    inset: auto !important;
    width: 100%; max-width: 100%;
    margin: 24px 0 0;
    background: rgba(8,8,8,.9);
  }
  .tx-row, .tx-head { grid-template-columns: 54px 1fr 1fr 70px; }
  .tx-row span:nth-child(4), .tx-head span:nth-child(4) { display: none; }
  .nav-right .btn-red { padding: 0 10px; }
}
@media (max-width: 640px) {
  .stat-grid, .row-2, .fee-opts { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .nav { top: 8px; margin-top: 8px; }
  .nav-inner { height: 56px; gap: 6px; padding: 0 8px 0 12px; border-radius: 16px; }
  .mobile-menu { margin-top: 8px; }
  .logo { margin-right: 8px; }
  .nav-right { gap: 6px; }
  .nav-right .btn-red, #btnWallet { padding: 0 8px; }
  .hero { padding: 28px 22px 24px; border-radius: 24px; }
  .hero-copy { max-width: 78%; }
  .hero h1 { font-size: clamp(34px, 11vw, 48px); letter-spacing: -0.05em; }
  .hero-cta { margin-top: 24px; }
  .btn-lg { height: 48px; padding: 0 20px; }
  footer { padding: 36px 0 52px; }
}
@media (max-width: 480px) {
  .hero-copy { max-width: 100%; }
  .logo { margin-right: 6px; gap: 8px; }
  .logo-name { display: none; }
  .nav-right { gap: 5px; }
  .lang-toggle button { min-width: 28px; padding: 0 6px; }
  #btnWallet { max-width: 112px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .card:hover, .feat:hover { transform: none; }
  .hero-copy, .hero-art .feat { animation: none; }
  .btn-red::after { display: none; }
}

.protocol-banner {
  background: #1A080A;
  color: var(--white);
  border-bottom: 1px solid rgba(228,23,38,.55);
  font-size: 13px;
  padding: 10px 16px;
  text-align: center;
  line-height: 1.45;
}
.protocol-banner[hidden] { display: none !important; }
.w-item .w-status { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: auto; }
.w-item .w-status.ok { color: var(--up); }
.w-item .w-status.miss { color: #8A8A8A; }
.w-item .w-status:empty { display: none; }
.wallet-session {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 4px 12px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
#btnWallet .wallet-bal, .wallet-session .kv .v { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wallet-session .kv { border-color: #222; }
#btnWallet { max-width: 240px; }
#btnWallet .wallet-meta {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1.15; text-align: left;
}
#btnWallet .wallet-bal { font-size: 10px; color: var(--muted); font-weight: 600; }

/* Official catalog states (Step 2) */
.empty p { margin: 0; }
.empty.error b { color: var(--white); }
.catalog-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.chart-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 24px;
}
.preview-banner, .official-missing {
  border: 1px dashed #2A2A2A;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}
.preview-banner b, .official-missing b { color: var(--white); font-weight: 700; }
.table-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.table-empty b { display: block; color: var(--white); font-size: 15px; margin-bottom: 6px; font-weight: 700; }
.loading-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

/* Step 3 launch: disabled quotes, confirm stages, official-record */
.q.disabled, .opt.disabled, .rate-pills button.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: auto;
}
.q.disabled { position: relative; }
.q-why {
  display: block;
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  margin: -6px 0 8px;
}
.fee-disabled-note, .launch-blocker, .confirm-section {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.launch-blocker, .confirm-blocker {
  border: 1px solid #E41726;
  background: rgba(228,23,38,.12);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 13px;
}
.confirm-section h3 {
  margin: 16px 0 8px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.json-block {
  background: #0C0C0C;
  border: 1px solid #2A2A2A;
  border-radius: 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.45;
  max-height: 220px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 8px 0 0;
}
.pending-official {
  border: 1px solid #E41726;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}
.pending-official b { color: var(--white); font-weight: 700; }

#launchLive[hidden], .launch-grid[hidden] { display: none !important; }
.launch-live {
  max-width: 560px;
  margin: 28px auto 48px;
  background: #070707;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 24px 24px 22px;
  box-shadow: 0 20px 48px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
}
.launch-live-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.launch-live-check {
  width: 36px; height: 36px; border-radius: 50%;
  background: #102018; border: 2px solid var(--up); color: var(--up);
  display: grid; place-items: center; flex: 0 0 36px; font-size: 18px; font-weight: 700; line-height: 1;
}
.launch-live-title { font-size: 20px; font-weight: 700; margin: 2px 0 6px; letter-spacing: -0.02em; }
.launch-live-title .zh { font-weight: 700; }
.launch-live-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.launch-live-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px;
  padding: 4px 0 18px; border-bottom: 1px solid #222; margin-bottom: 16px;
}
.launch-live-stats .lbl { font-size: 12px; color: var(--muted); margin-bottom: 6px; line-height: 1.35; font-weight: 600; }
.launch-live-stats .val { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.launch-live-ids { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.launch-live-id { font-size: 12px; color: var(--muted); line-height: 1.45; word-break: break-all; }
.launch-live-id b { color: var(--muted); font-weight: 700; }
.launch-live-id span { color: var(--white); font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.launch-live-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.launch-live-acts .btn-red, .launch-live-acts .btn-outline { height: 42px; padding: 0 16px; border-radius: 10px; font-weight: 700; }
.launch-live-acts .btn-red { flex: 1 1 180px; }
.launch-live-another { margin-top: 12px; }
.launch-live-another .btn-outline { height: 38px; padding: 0 14px; font-size: 13px; }
@media (max-width: 640px) {
  .launch-live-stats { grid-template-columns: 1fr; }
}

/* ========================================================================
   ATELIER v3 — below-the-fold elevation (materials only, no behavior change)
   Cheap surfaces: hairlines, inset rims, static gradients. No card blur loops.
   ======================================================================== */

/* Kill expensive per-card filter animations */
.card-flow-bg {
  inset: -40% -25% -30% -25%;
  filter: none;
  animation: none;
  opacity: .55;
  transform: none;
  background:
    radial-gradient(42% 55% at 18% 30%, rgba(228, 23, 38, .34), transparent 68%),
    radial-gradient(50% 42% at 86% 78%, rgba(228, 23, 38, .16), transparent 64%),
    radial-gradient(40% 50% at 70% 16%, rgba(80, 10, 16, .5), transparent 70%);
  transition: opacity var(--t) var(--ease);
}
.card:hover .card-flow-bg { opacity: .82; filter: none; }
.card-wave {
  animation: none;
  fill: rgba(228, 23, 38, .13);
  opacity: .85;
}
.quote-wm::before {
  filter: none;
  background: radial-gradient(ellipse at center, rgba(228, 23, 38, .30) 0%, rgba(228, 23, 38, .10) 42%, transparent 70%);
  opacity: 1;
  inset: 6% 0%;
}
.quote-wm .qw-glow {
  animation: none;
  filter: none;
  opacity: .22;
  color: #E41726;
  text-shadow: 0 0 28px rgba(228, 23, 38, .45);
  transform: scale(1.03);
}
.quote-wm .qw-text {
  font-family: "Syne", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", sans-serif;
  font-weight: 800;
  opacity: .55;
}
@media (prefers-reduced-motion: reduce) {
  .card-flow-bg, .card-wave, .quote-wm .qw-glow { animation: none; filter: none; }
}

/* Discover — gallery under the same black-red light */
.toolbar {
  margin: 64px 0 22px;
  align-items: stretch;
}
.search {
  height: 48px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), inset 0 -18px 36px rgba(0,0,0,.28);
  padding: 0 18px 0 44px;
}
.search:focus {
  border-color: rgba(228,23,38,.55);
  box-shadow: var(--ring), inset 0 1px 0 rgba(255,255,255,.04);
}
.search-wrap::before { left: 18px; font-size: 15px; color: #6E6A68; }
.sort {
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  gap: 2px;
}
.sort > span {
  margin: 0 6px 0 10px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6E6A68;
}
.sort button {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
}
.sort button.on {
  background: rgba(255,255,255,.1);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.pair-row, .filter-row { gap: 8px; }
.pair-label {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6E6A68;
}
.chip {
  height: 34px;
  padding: 0 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  letter-spacing: .01em;
}
.chip:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}
.chip.on {
  background: linear-gradient(180deg, rgba(255,44,59,.22) 0%, rgba(228,23,38,.14) 100%);
  color: var(--white);
  border-color: rgba(228,23,38,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(228,23,38,.08);
}
.find-asset {
  height: 34px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.08);
}

.section-title {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 900;
  margin: 32px 0 22px;
  letter-spacing: -0.05em;
  align-items: baseline;
}
.section-title::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(228,23,38,.7);
  transform: rotate(45deg);
  flex: 0 0 8px;
  position: relative;
  top: -1px;
}
.section-title .count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #6E6A68;
}

.grid { gap: 20px; }
.card {
  background: linear-gradient(180deg, #0B0B0B 0%, #050505 100%);
  border: 1px solid rgba(255,255,255,.08);
  padding: 18px 18px 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 16px 36px rgba(0,0,0,.32);
}
.card:hover {
  border-color: rgba(228, 23, 38, .58);
  transform: translateY(-3px);
  box-shadow:
    0 22px 40px rgba(0,0,0,.48),
    0 0 0 1px rgba(228,23,38,.16),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.card .avatar {
  width: 42px; height: 42px; flex-basis: 42px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 8px 16px rgba(0,0,0,.35);
}
.tk-name { font-size: 16px; font-weight: 800; letter-spacing: -0.035em; }
.tk-sym { color: #7A7572; font-size: 12px; }
.card-ico {
  border-color: rgba(255,255,255,.1);
  background: rgba(8,8,8,.7);
}
button.card-ico:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(18,18,18,.9);
}
.mc { font-size: 27px; letter-spacing: -0.045em; }
.paired { font-size: 12px; color: #7A7572; }
.vol { font-size: 11px; color: #6E6A68; }
.card-inner { gap: 10px; }

.empty {
  border: 1px solid rgba(255,255,255,.08);
  border-style: solid;
  background: linear-gradient(180deg, #0B0B0B, #060606);
  border-radius: 22px;
  padding: 64px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* Launch — editorial form + jewel summary */
.page-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  color: #6E6A68;
}
.page-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.04;
}
.page-desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #8A8582;
  max-width: 38rem;
}
.launch-hero {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.launch-grid { gap: 28px; grid-template-columns: minmax(0, 1fr) 352px; }
.launch-form {
  padding: 32px 34px;
  border-radius: 24px;
}
.panel {
  background: linear-gradient(180deg, #0B0B0B 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 48px rgba(0,0,0,.32);
}
.sec-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #F0EBE7;
}
.sec-help {
  font-size: 12px;
  line-height: 1.65;
  color: #6E6A68;
  max-width: 46em;
}
.launch-devbuy .sec-help { font-size: 12px; color: #5F5B59; }
.launch-sec { margin-top: 28px; padding-top: 28px; border-top-color: rgba(255,255,255,.06); }
.launch-block { margin-bottom: 24px; }

.pill-row,
.fee-tier,
.quote-toolbar {
  padding: 4px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: #050505;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.pill-row button,
.fee-tier button,
.quote-toolbar .chip {
  height: 34px;
  border-radius: 10px;
  font-weight: 700;
}
.pill-row button.on,
.fee-tier button.on,
.quote-toolbar .chip.on {
  background: linear-gradient(180deg, rgba(255,44,59,.24), rgba(228,23,38,.16));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.curve-explain {
  margin: 2px 0 28px;
  padding: 2px 0 2px 16px;
  border: 0;
  border-left: 2px solid rgba(228,23,38,.7);
  border-radius: 0;
  background: transparent;
  font-size: 12.5px;
  line-height: 1.7;
  color: #6E6A68;
}

.field { margin-bottom: 14px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #8A8582;
  margin-bottom: 7px;
}
.field input[type="text"], .field input[type="url"], .field input[type="number"],
.field textarea, .field select, .textin {
  height: 48px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 0 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 -16px 28px rgba(0,0,0,.2);
}
.field textarea { height: 100px; padding: 12px 15px; }
.field input:focus, .field textarea:focus, .field select:focus, .textin:focus {
  border-color: rgba(228,23,38,.55);
  box-shadow: var(--ring), inset 0 1px 0 rgba(255,255,255,.04);
}
.field-hint { color: #5F5B59; }

.launch-image .upload {
  min-height: 108px;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.16);
  background: #050505;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.launch-image .upload:hover {
  border-color: rgba(228,23,38,.7);
  background: #0A0506;
}
.launch-image .upload-ico {
  width: 44px; height: 44px; flex-basis: 44px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid rgba(255,255,255,.08);
  color: #C8C3BF;
}
.launch-image .upload-copy strong { color: #E8E4E0; font-weight: 700; }

.q {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  min-height: 68px;
  padding: 12px 14px;
  background: #060606;
}
.q:hover { border-color: rgba(228,23,38,.7); background: #0A0506; }
.q.on {
  border-color: rgba(228,23,38,.8);
  background: #140003;
  box-shadow: inset 0 0 0 1px rgba(228,23,38,.4), inset 0 1px 0 rgba(255,255,255,.06);
}
.opt {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: #060606;
}
.opt:hover, .opt.on { border-color: rgba(228,23,38,.7); }
.opt.on { background: #140003; box-shadow: inset 0 0 0 1px rgba(228,23,38,.4); }

.launch-summary {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  background: linear-gradient(180deg, #0D0D0D 0%, #060606 55%, #050505 100%);
  box-shadow:
    0 28px 64px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.launch-summary::before {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #E41726 18%, #ff6a72 50%, #E41726 82%, transparent 100%);
}
.launch-summary .summary-head { padding: 18px 22px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.launch-summary .summary-head h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.launch-summary .summary-kvs { padding: 10px 22px 18px; }
.launch-summary .kv {
  padding: 13px 0;
  font-size: 13px;
  color: #8A8582;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.launch-summary .kv:last-child { border-bottom: 0; }
.launch-summary .kv .v {
  color: var(--white);
  font-weight: 600;
}
.launch-summary .summary-notes {
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: #6E6A68;
  line-height: 1.65;
}
.launch-summary .summary-cta { padding: 16px 16px 18px; border-top: 1px solid rgba(255,255,255,.06); }
.launch-summary .summary-cta .btn-full {
  height: 52px;
  border-radius: 14px;
  font-size: 15px;
}
.launch-live {
  background: linear-gradient(180deg, #0D0D0D, #070707);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}

/* Token + shells */
.token-crumb { font-size: 12px; letter-spacing: .04em; color: #6E6A68; margin-bottom: 18px; }
.token-title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.05em;
}
.token-id .avatar {
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.4);
}
.token-price .px { font-size: 36px; font-weight: 600; letter-spacing: -0.05em; }
.token-stats { gap: 14px; margin: 0 0 20px; }
.token-stats .stat-card {
  background: linear-gradient(180deg, #0B0B0B, #070707);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.token-stats .lbl {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6E6A68;
  font-weight: 700;
}
.token-stats .num { font-size: 22px; }
.pair-pill, .ca-btn, .link-btn, .soc-pill {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.soc-pill:hover, .ca-btn:hover, .link-btn:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.chart-box {
  background: linear-gradient(180deg, #0B0B0B, #070707);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 40px rgba(0,0,0,.28);
}
.chart-frame {
  height: 420px;
  border-radius: 16px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.07);
}
.chart-tabs button.on {
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.token-side, .sticky-side.token-side, aside.token-side {
  background: linear-gradient(180deg, #0D0D0D 0%, #060606 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.side-toggle button {
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
}
.side-toggle button.buy.on {
  background: linear-gradient(180deg, #FF2C3B 0%, #E41726 50%, #C4111E 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.amt input {
  height: 54px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.quick button {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
}
.tx-list {
  background: #070707;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
}
.tx-row, .tx-head { border-bottom-color: rgba(255,255,255,.06); }

.stat-grid { gap: 14px; }
.explain { gap: 14px; }
.explain-card, .stat-grid > *, .doc, .preview-banner, .official-missing {
  border-radius: 18px;
}
.explain-card {
  background: linear-gradient(180deg, #0B0B0B, #070707);
  border: 1px solid rgba(255,255,255,.08);
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.preview-banner, .official-missing, .catalog-note, .pending-official, .table-empty {
  border-color: rgba(255,255,255,.1);
}

/* Wallet — glass object, same family as the nav */
.modal-bg {
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}
.modal {
  background: rgba(8,8,8,.9);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow:
    0 40px 80px rgba(0,0,0,.65),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.modal.wallet-modal {
  width: 448px;
  padding: 30px 28px 26px;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
}
.wallet-modal h2, .modal h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.wallet-modal .lead, .modal .lead {
  font-size: 13px;
  color: #8A8582;
  line-height: 1.55;
}
.wallet-sec {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6E6A68;
  margin: 18px 0 10px;
}
.wallet-modal .w-item {
  height: 56px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  padding: 0 14px;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.wallet-modal .w-item:hover {
  border-color: rgba(228,23,38,.7);
  background: #120406;
  box-shadow: 0 0 0 1px rgba(228,23,38,.18), inset 0 1px 0 rgba(255,255,255,.06);
}
.w-name { font-weight: 700; letter-spacing: -0.02em; }
.wallet-session {
  background: #0C0C0C;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}
.toast {
  background: rgba(10,10,10,.92);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}

/* Footer */
footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 88px;
  color: #6A6664;
  font-size: 12px;
  line-height: 1.85;
}
footer strong {
  color: #E8E4E0;
  font-weight: 800;
  font-size: 14px;
}

/* Token-side if rendered as panel */
#view-token .panel,
#view-opos .panel,
#view-rewards .panel,
#view-revenue .panel,
#view-api .panel {
  background: linear-gradient(180deg, #0B0B0B, #070707);
  border: 1px solid rgba(255,255,255,.08);
}

/* Hero / feat — silk room + unclipped $OPOS card */
@media (max-width: 980px) {
  .hero {
    padding: 48px 36px 32px;
    min-height: 0;
  }
  .hero-art { height: auto; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 40%, rgba(0,0,0,.12) 64%, transparent 82%),
      linear-gradient(180deg, rgba(0,0,0,.28) 0%, transparent 22%, transparent 72%, rgba(0,0,0,.4) 100%);
  }
  .hero-bloom {
    background: radial-gradient(ellipse 64% 70% at 82% 38%, rgba(228,23,38,.2) 0%, rgba(228,23,38,.05) 42%, transparent 70%);
  }
  .hero-copy { max-width: 74%; padding-right: 8px; }
  .feat {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 28px 0 0;
    background: rgba(8,8,8,.9);
  }
}
@media (max-width: 640px) {
  .hero {
    padding: 28px 22px 26px;
    border-radius: 24px;
  }
  .hero-copy { max-width: 82%; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.2) 68%, transparent 88%),
      linear-gradient(180deg, rgba(0,0,0,.22) 0%, transparent 20%, transparent 68%, rgba(0,0,0,.5) 100%);
  }
  .feat {
    border-radius: 16px;
    margin: 22px 0 0;
  }
  .toolbar { margin-top: 40px; }
  .section-title { font-size: 24px; margin-top: 26px; }
  .launch-form { padding: 22px 18px; }
  .launch-grid { gap: 20px; }
  .page-title { font-size: clamp(34px, 11vw, 48px); }
}
@media (max-width: 480px) {
  .hero-copy { max-width: 86%; }
  .hero { padding: 26px 20px 24px; border-radius: 22px; }
  .feat { border-radius: 14px; }
}
@media (min-width: 981px) {
  .card { aspect-ratio: 406 / 254; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover, .feat:hover { transform: none; }
}


/* ATELIER v3b — token sides as separate objects; search glyph; tighter summary */
.search-wrap::before {
  content: "";
  width: 15px; height: 15px;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #7A7572;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='6.5' cy='6.5' r='5' fill='none' stroke='black' stroke-width='1.7'/><path d='M10.2 10.2L14.2 14.2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/></svg>") no-repeat center / 15px 15px;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='6.5' cy='6.5' r='5' fill='none' stroke='black' stroke-width='1.7'/><path d='M10.2 10.2L14.2 14.2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/></svg>") no-repeat center / 15px 15px;
}
.token-side,
.sticky-side.token-side,
aside.token-side {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-card {
  background: linear-gradient(180deg, #0C0C0C 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 36px rgba(0,0,0,.28);
}
.side-card h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.swap-card {
  border-color: rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}
.swap-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E41726 18%, #ff6a72 50%, #E41726 82%, transparent);
  pointer-events: none;
}
.swap-box {
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 22px 16px 18px;
  text-align: center;
  background: #080808;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.swap-title { letter-spacing: -0.03em; font-weight: 800; }
.launch-summary .kv { padding: 10px 0; }
.launch-summary .summary-kvs { padding: 6px 22px 12px; }
.launch-summary .summary-notes { padding: 14px 22px; }
.token-crumb {
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 700;
  color: #8A8582;
  margin-bottom: 20px;
}
.token-hero { margin-bottom: 22px; }
.chart-head h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; }
.chart-frame > .chart-empty { background: #050505; }
#view-launch.view,
#view-token.view,
#view-opos.view,
#view-rewards.view,
#view-revenue.view,
#view-api.view { padding-top: 28px; }
.wallet-x {
  width: 32px; height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #8A8582;
  display: grid; place-items: center;
  font-size: 20px; line-height: 1;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.wallet-x:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

/* Pin launch CTA in the summary on desktop so the action stays in view */
@media (min-width: 981px) {
  .launch-summary.sticky-side,
  .launch-summary {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 116px);
  }
  .launch-summary .summary-token { flex: 0 0 auto; }
  .launch-summary .summary-kvs {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    scrollbar-width: thin;
  }
  .launch-summary .summary-head,
  .launch-summary .summary-notes,
  .launch-summary .summary-cta { flex-shrink: 0; }
}

/* First-screen fit for the launch CTA */
@media (min-width: 981px) {
  .launch-hero { margin-bottom: 28px; padding-bottom: 24px; }
  .launch-summary .summary-head { padding: 16px 22px 14px; }
  .launch-summary .kv { padding: 8px 0; }
  .launch-summary .summary-kvs { padding: 4px 22px 8px; }
  .launch-summary .summary-notes { padding: 10px 22px; font-size: 11px; line-height: 1.55; }
  .launch-summary .summary-cta { padding: 12px 16px 14px; }
  .launch-summary { max-height: calc(100vh - 116px); }
}

/* ATELIER v3c — mobile line wrap + keep 查找资产 with the chip row */
@media (max-width: 640px) {
  .hero p {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: auto;
  }
}
@media (max-width: 480px) {
  .hero-copy { max-width: 100%; padding-right: 36px; }
  .hero p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}
.pair-row .find-asset { margin-left: 0; }

/* Restore single-column launch below 980px (atelier desktop grid had leaked). */
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   ATELIER v4 — remaining mid-tier lift (visual only)
   Keep later-winning mobile launch-grid / typography / find-asset intact.
   ======================================================================== */

/* Discover cards: treat missing metrics as a reserved typographic slot */
.card-inner { gap: 8px; }
.card .mc {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #E4DFDB;
  line-height: 1.1;
  min-height: 1.15em;
  padding-bottom: 0;
  position: relative;
}
.card .mc::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(228, 23, 38, .7), rgba(228, 23, 38, 0));
  pointer-events: none;
}
.card .paired {
  font-size: 11px;
  letter-spacing: .02em;
  color: #6E6A68;
  padding-right: 36px;
}
.card .foot {
  margin-top: auto;
  padding-right: 36px;
}
.card .vol {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5C5856;
}
.card .chg { font-size: 11px; }
.tk-name { font-size: 15px; font-weight: 800; letter-spacing: -0.03em; }
.tk-sym { font-size: 11px; color: #6E6A68; margin-top: 1px; }

/* Token / shell empty stats: label leads, figure is a reserved mark */
.token-stats .stat-card,
.stat-grid .stat-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #0C0C0C 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.token-stats .lbl,
.stat-card .lbl {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6E6A68;
  margin-bottom: 14px;
}
.token-stats .num,
.stat-card .num {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #E8E4E0;
  line-height: 1.15;
}
.token-stats .num::after,
.stat-grid .stat-card .num::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(228, 23, 38, .55), rgba(228, 23, 38, 0));
  pointer-events: none;
}
.token-stats .sub,
.stat-card .sub {
  margin-top: 8px;
  font-size: 11px;
  color: #5C5856;
  line-height: 1.45;
}
.explain-card {
  background: linear-gradient(180deg, #0C0C0C, #070707);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 20px 20px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.explain-card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.explain-card p { font-size: 13px; color: #6E6A68; line-height: 1.65; }
.table-empty, .empty, .chart-empty {
  background: transparent;
}
.chart-empty {
  color: #6E6A68;
  font-size: 13px;
  letter-spacing: .02em;
}

/* Footer — wordmark typography + crimson hairline, no new copy */
footer {
  position: relative;
  border-top: 0;
  padding: 72px 0 96px;
  margin-top: 8px;
  color: #7A7572;
  font-size: 13px;
  line-height: 1.85;
}
footer::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: min(1200px, calc(100% - 56px));
  height: 1px;
  background: linear-gradient(90deg, #E41726 0 56px, rgba(255,255,255,.08) 56px 100%);
  pointer-events: none;
}
footer .wrap {
  gap: 48px 64px;
  align-items: flex-start;
}
#footerLeft {
  font-family: "Syne", "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: #B8B2AE;
  max-width: 42em;
}
#footerRight {
  font-family: "IBM Plex Mono", "Noto Sans SC", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .02em;
  color: #6E6A68;
  text-align: right;
  max-width: 28em;
  margin-left: auto;
  white-space: nowrap;
}

/* Discover toolbar as a gallery instrument */
.toolbar {
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.05);
  position: relative;
}
.toolbar::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 48px; height: 1px;
  background: #E41726;
  pointer-events: none;
}
.search {
  height: 46px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.09);
}
.sort {
  background: #050505;
  border: 1px solid rgba(255,255,255,.08);
}
.pair-row, .filter-row { gap: 7px; }
.pair-label {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6E6A68;
  margin-right: 4px;
}
.chip {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  background: #080808;
  border: 1px solid rgba(255,255,255,.08);
}
.pair-row .find-asset {
  margin-left: 0;
  height: 32px;
  width: 148px;
  border-radius: 999px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
}
.section-title { margin: 28px 0 20px; }

/* Token head alignment, especially on narrow screens */
.token-id {
  align-items: flex-start;
}
.token-id .avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  max-width: 64px;
  overflow: hidden;
}
.token-id > div:not(.avatar) { min-width: 0; flex: 1; }
.token-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.token-title .pill { margin-left: 0; }
.token-crumb a { letter-spacing: .08em; }

/* Wallet / launch help / official empty shells already share materials;
   quiet launch help a little more on small screens, keep desktop two-col. */
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr; }
  .sec-help, .curve-explain, .launch-devbuy .sec-help {
    font-size: 12px;
    line-height: 1.7;
    color: #6E6A68;
  }
  .launch-form { padding: 24px 20px; }
}

@media (min-width: 981px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr) 352px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card { aspect-ratio: 406 / 254; }
}

/* Composed 390 nav: all six controls stay, tighter rhythm */
@media (max-width: 480px) {
  .hero-copy { max-width: 100%; padding-right: 36px; }
  .hero p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .nav { top: 6px; margin-top: 6px; }
  .nav-inner {
    height: 50px;
    gap: 4px;
    padding: 0 6px 0 8px;
    border-radius: 14px;
  }
  .logo { margin-right: 0; }
  .logo-mark {
    width: 24px; height: 24px;
    font-size: 17px;
    border-radius: 7px;
  }
  .nav-right { gap: 3px; }
  .lang-toggle { height: 28px; padding: 2px; border-radius: 8px; gap: 1px; }
  .lang-toggle button {
    min-width: 24px; height: 24px; padding: 0 5px;
    font-size: 10px; border-radius: 6px;
  }
  .icon-btn, .burger {
    width: 28px; height: 28px; border-radius: 8px; font-size: 12px;
  }
  .nav-right .btn-red,
  .nav-right .btn-outline,
  #btnWallet {
    height: 28px;
    padding: 0 7px;
    font-size: 11px;
    border-radius: 8px;
    letter-spacing: 0;
  }
  #btnWallet { max-width: 86px; }
  .token-id {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .token-id .avatar {
    width: 52px; height: 52px; flex-basis: 52px; font-size: 20px;
    margin-top: 2px;
  }
  .token-title { font-size: 24px; letter-spacing: -0.05em; }
  .token-sub { gap: 6px 8px; font-size: 12px; }
  .soc-row { gap: 6px; }
  .soc-pill { height: 26px; padding: 0 10px; font-size: 11px; }
  footer { padding: 52px 0 72px; }
  footer::before { width: calc(100% - 28px); }
  #footerRight { text-align: left; margin-left: 0; white-space: normal; max-width: none; }
}

@media (max-width: 640px) {
  .hero p {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  .toolbar { margin-top: 36px; padding-top: 22px; }
  footer::before { width: calc(100% - 28px); }
}

/* Guarantee single-column launch below 980 after any v4 desktop grid rules */
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
}

/* ATELIER v4c — pull back over-applied metric underlines; let the footer breathe */
.card .mc::after,
.token-stats .num::after,
.stat-grid .stat-card .num::after,
.stat-card .num::after {
  content: none;
  display: none;
}
#footerLeft {
  flex: 1 1 36em;
  min-width: 0;
  max-width: 52em;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: auto;
}
#footerRight {
  flex: 0 1 22em;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
}
#footerRight {
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: none;
}

/* ========================================================================
   ATELIER v5 — $10k typography, empty states, launch/wallet materials
   Later-winning. Do not restore metric ::after underlines.
   ======================================================================== */

/* 1) 390 H1: fit “发行与任何事物” on line 1 (no mid-compound split).
   keep-all is NOT used on the spaceless H1 (it would overflow).
   max-width ~7.25em wraps after the 7th CJK character. */
@media (max-width: 480px) {
  .hero-copy { max-width: 100%; padding-right: 28px; }
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 38px);
    letter-spacing: -0.055em;
    line-height: 1.08;
    max-width: 7.25em;
    word-break: normal;
    overflow-wrap: normal;
  }
  .hero p {
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

/* 2 + 3) Reserved typographic figures — large, high-contrast, no underlines */
.card-inner { position: relative; z-index: 2; }
.card .mc {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: #F6F4F2;
  line-height: 1.08;
  min-height: 1.08em;
  position: relative;
  z-index: 3;
}
.card .mc::after,
.token-stats .num::after,
.stat-grid .stat-card .num::after,
.stat-card .num::after {
  content: none !important;
  display: none !important;
}
.card .vol {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8A8582;
}

.token-stats { gap: 12px; }
.token-stats .stat-card,
.stat-grid .stat-card {
  min-height: 0;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(180deg, #0C0C0C 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.token-stats .lbl,
.stat-card .lbl {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6E6A68;
  margin-bottom: 10px;
}
.token-stats .num,
.stat-card .num {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #F0EBE7;
  line-height: 1.12;
  min-height: 1.12em;
}
.token-stats .sub,
.stat-card .sub {
  margin-top: 6px;
  font-size: 11px;
  color: #5C5856;
  line-height: 1.45;
}

/* 4) Launch — atelier form, enamel chips, jewel summary */
.launch-hero { margin-bottom: 36px; padding-bottom: 28px; }
.launch-form {
  padding: 34px 36px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0C0C0C 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 56px rgba(0,0,0,.35);
}
.launch-block { margin-bottom: 28px; }
.sec-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #C8C3BF;
  margin-bottom: 8px;
}
.sec-help,
.launch-devbuy .sec-help {
  font-size: 12px;
  line-height: 1.75;
  color: #6A6664;
  max-width: 46em;
}
.curve-explain {
  margin: 4px 0 30px;
  padding: 2px 0 2px 16px;
  border: 0;
  border-left: 2px solid rgba(228,23,38,.65);
  background: transparent;
  font-size: 12px;
  line-height: 1.75;
  color: #6A6664;
  max-width: 46em;
}
.pill-row,
.fee-tier,
.quote-toolbar {
  padding: 5px;
  border-radius: 16px;
  background: #040404;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.pill-row button,
.fee-tier button,
.quote-toolbar .chip {
  height: 36px;
  border-radius: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}
.pill-row button.on,
.fee-tier button.on,
.quote-toolbar .chip.on {
  background: linear-gradient(180deg, #FF2C3B 0%, #E41726 52%, #C4111E 100%);
  color: #fff;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 -1px 0 rgba(80,0,8,.3),
    0 6px 16px rgba(228,23,38,.28);
}
.field input[type="text"], .field input[type="url"], .field input[type="number"],
.field textarea, .field select, .textin {
  height: 50px;
  border-radius: 14px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 18px 28px rgba(0,0,0,.18);
}
.field input:focus, .field textarea:focus, .field select:focus, .textin:focus,
.search:focus, .find-asset:focus {
  border-color: rgba(228,23,38,.6);
  box-shadow: var(--ring), inset 0 1px 0 rgba(255,255,255,.05);
}
.launch-summary {
  background: linear-gradient(180deg, #0E0E0E 0%, #070707 50%, #050505 100%);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow:
    0 28px 64px rgba(0,0,0,.52),
    inset 0 1px 0 rgba(255,255,255,.1);
}
.launch-summary .summary-head h2 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
}
.launch-summary .kv .v { font-weight: 600; }

/* 5) Chart empty — quiet atelier mark, no fake candles */
.chart-frame {
  background: #070707;
}
.chart-frame > .chart-empty,
.chart-empty {
  background:
    radial-gradient(ellipse 56% 50% at 50% 48%, rgba(228,23,38,.07), transparent 68%),
    #080808;
  color: #7A7572;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 28px 24px;
}
.chart-frame > .chart-empty::before,
.chart-empty::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: #E41726;
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(228,23,38,.55);
  flex: 0 0 auto;
}
.chart-frame > .chart-empty[hidden],
.chart-empty[hidden] { display: none !important; }

/* 6) Wallet — denser glass, sharper rows */
.modal-bg {
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.modal.wallet-modal {
  padding: 32px 30px 28px;
  border-radius: 26px;
  background: rgba(8,8,8,.94);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 44px 90px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.wallet-modal h2, .modal h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.055em;
}
.wallet-sec {
  font-size: 10px;
  letter-spacing: .16em;
}
.wallet-modal .w-item {
  height: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.wallet-modal .w-item:hover {
  border-color: rgba(228,23,38,.7);
  background: #140406;
  box-shadow: 0 0 0 1px rgba(228,23,38,.16), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translateY(-1px);
}
.wallet-x:hover { border-color: rgba(255,255,255,.2); }

/* 7) Micro-luxury motion — short, restrained, reduced-motion safe */
.nav-links a, .chip, .card, .feat, .btn-red, .btn-outline, .icon-btn,
.w-item, .pill-row button, .sort button, .soc-pill, .ca-btn, .link-btn {
  transition:
    color var(--t) var(--ease),
    background-color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}
.chip:hover { transform: translateY(-1px); }
.card:hover { transform: translateY(-3px); }
.nav-links a:hover { color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .chip:hover, .card:hover, .feat:hover, .wallet-modal .w-item:hover { transform: none; }
  .hero-copy, .hero-art .feat, .btn-red::after { animation: none; }
}

/* Footer v4c — keep punctuation wrap + hex on one line */
#footerLeft {
  flex: 1 1 36em;
  min-width: 0;
  max-width: 52em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
#footerRight {
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: none;
  word-break: normal;
}
@media (max-width: 480px) {
  #footerRight {
    text-align: left;
    margin-left: 0;
    white-space: normal;
    max-width: none;
    word-break: keep-all;
  }
}

/* Desktop / mobile launch-grid must remain later-winning */
@media (min-width: 981px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr) 352px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card { aspect-ratio: 406 / 254; }
  .launch-form { padding: 34px 36px; }
}
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr !important; }
  .launch-form { padding: 24px 20px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .hero p { word-break: keep-all; overflow-wrap: break-word; }
}

/* ATELIER v5b — more monumental reserved figures, less hollow stat air */
.card .mc {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.055em;
  color: #F6F4F2;
  line-height: 1;
}
.token-stats .stat-card,
.stat-grid .stat-card {
  min-height: 0;
  padding: 14px 16px 16px;
}
.token-stats .lbl,
.stat-card .lbl { margin-bottom: 8px; }
.token-stats .num,
.stat-card .num {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  color: #F6F4F2;
}
.token-stats .sub,
.stat-card .sub { margin-top: 4px; }
.card .mc::after,
.token-stats .num::after,
.stat-grid .stat-card .num::after,
.stat-card .num::after {
  content: none !important;
  display: none !important;
}
@media (min-width: 981px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr) 352px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card { aspect-ratio: 406 / 254; }
}
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr !important; }
}

/* ATELIER v5c — 640 title breaks after 事物, not a 代币 orphan */
@media (max-width: 640px) and (min-width: 481px) {
  .hero h1 {
    max-width: 7.25em;
    word-break: normal;
    overflow-wrap: normal;
  }
}
@media (min-width: 981px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr) 352px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card { aspect-ratio: 406 / 254; }
}
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr !important; }
}

/* ATELIER quotes-mobile — keep 180px tile mins from widening the launch form */
.launch-grid, .launch-form, .step, .quote-opts, .quote-toolbar { min-width: 0; }
.quote-opts {
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
}
.quote-toolbar { width: 100%; }
.quote-toolbar .find-asset { min-width: 0; }
.step h3 + p, .step .hint, [data-quote-hint], .launch-block .page-desc, .step p {
  overflow-wrap: break-word;
  word-break: keep-all;
}
@media (min-width: 981px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr) 352px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .card { aspect-ratio: 406 / 254; }
}
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: 1fr !important; }
  .quote-opts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .quote-toolbar .find-asset { flex: 1 1 100%; margin-left: 0; }
}

/* Quote watermarks: globally smaller, scale to fit up to 24 characters, fully inside the card */
.quote-wm {
  width: 82%;
  height: 56%;
  top: 22%;
  right: 7%;
  left: auto;
  overflow: hidden;
}
.quote-wm .qw-glow,
.quote-wm .qw-text {
  font-size: calc(64cqw / var(--qw-len, 4));
  letter-spacing: -0.06em;
  max-width: 100%;
}
.quote-wm .qw-glow {
  transform: none;
}


/* ============================================================================
   EDITION 01: MÖBIUS OBSIDIAN CINEMA DESIGN SYSTEM
   Full-bleed GPU WebGL obsidian void, brushed gunmetal titanium specular cards,
   Syne + Instrument Serif + IBM Plex Mono typography, laser-crimson accents.
   ============================================================================ */
:root {
  --bg: #020203;
  --bg-elev: #070709;
  --card: #0A0A0D;
  --card-2: #121318;
  --red: #FF2A38;
  --red-deep: #CC101E;
  --white: #F4F1EC;
  --muted: #989490;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.07);
  --up: #34D399;
  --down: #FF2A38;
  --radius: 3px;
  --radius-sm: 2px;
}

html, body {
  background: #020203 !important;
  color: #F4F1EC;
  font-family: "Archivo", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

/* Persistent Full-Viewport GPU WebGL Canvas */
#heroFlow.hero-flow {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}
.page-vignette { z-index: 1; opacity: 0.45; }
.page-grain { z-index: 60; opacity: 0.04; }

.wrap {
  width: min(1440px, calc(100% - 64px));
  position: relative;
  z-index: 2;
}

/* Single-Row Airy Cinema Header (Exact Edition 01) */
.nav {
  position: sticky !important;
  top: 0 !important;
  margin-top: 0 !important;
  z-index: 50;
  height: 80px;
  background: rgba(2, 2, 3, 0.58) !important;
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.nav-inner {
  width: min(1520px, calc(100% - 64px)) !important;
  height: 80px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
.logo { gap: 13px; margin-right: 32px; }
.logo .logo-name {
  display: block;
  font-family: "Archivo", "Syne", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  color: #F6F4F0;
}
.nav-links { gap: 22px !important; }
.nav-links a, .nav-links button.nav-link {
  padding: 6px 2px !important;
  font-family: "IBM Plex Mono", "Noto Sans SC", ui-monospace, monospace;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: #8E8B88;
  border-radius: 0 !important;
  background: transparent !important;
}
.nav-links a:hover, .nav-links a.active { color: #FFFFFF !important; }
.nav-links a.nav-link-burn { color: rgba(255, 77, 88, 0.85); }
.nav-links a.nav-link-burn:hover, .nav-links a.nav-link-burn.active { color: #FF4D58 !important; }

.lang-toggle {
  height: 36px;
  padding: 2px;
  border-radius: 2px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
}
.lang-toggle button {
  height: 30px;
  border-radius: 1px !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.lang-toggle button.on {
  background: rgba(255, 42, 56, 0.2);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(255, 42, 56, 0.5);
}

/* Luxury Sharp Architectural Buttons */
.btn-red, .btn-outline, .btn-dark, .btn-ghost, .btn-green {
  height: 38px;
  padding: 0 18px;
  border-radius: 2px !important;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.btn-red {
  background: linear-gradient(180deg, #FF2836 0%, #CC101E 100%) !important;
  border: 1px solid rgba(255, 160, 166, 0.42) !important;
  box-shadow:
    0 0 0 1px rgba(228, 23, 38, 0.25),
    0 14px 40px rgba(228, 23, 38, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}
.btn-red:hover {
  filter: brightness(1.09);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 60, 72, 0.5),
    0 18px 56px rgba(228, 23, 38, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}
.btn-outline {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #F4F1EC !important;
  backdrop-filter: blur(12px);
}
.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.46) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.btn-lg { height: 50px !important; padding: 0 30px !important; font-size: 12px !important; letter-spacing: 0.16em !important; }
.btn-full { height: 50px !important; font-size: 12px !important; letter-spacing: 0.15em !important; }
.mobile-menu { border-radius: 3px !important; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Brushed Gunmetal Titanium Surface with Cursor-Tracking Specular Crimson Sheen */
.ti-surface,
.panel,
.card,
.stat-card,
.explain-card,
.launch-summary,
.endpoint,
.chart-box,
.modal {
  position: relative;
  background: linear-gradient(165deg, rgba(28, 29, 34, 0.72) 0%, rgba(10, 10, 13, 0.88) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 3px !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}
.ti-surface::before,
.card::before,
.stat-card::before,
.explain-card::before,
.launch-summary::before,
.endpoint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 42, 56, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 260ms ease;
}
.ti-surface::after,
.card::after,
.panel::after,
.stat-card::after,
.explain-card::after,
.launch-summary::after {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
  z-index: 2;
}
.ti-surface:hover::before,
.card:hover::before,
.stat-card:hover::before,
.explain-card:hover::before,
.endpoint:hover::before {
  opacity: 1;
}
.card:hover,
.strip-card:hover,
.ti-plaque:hover {
  border-color: rgba(255, 42, 56, 0.5) !important;
  box-shadow: 0 28px 72px -18px rgba(228, 23, 38, 0.28) !important;
  transform: translateY(-2px);
}
.card-clip, .card-flow-bg, .card-wave { display: none !important; }

/* Views */
.view {
  position: relative;
  z-index: 2;
  padding: 40px 0 96px;
  min-height: calc(100vh - 150px);
}
#view-home.view { padding-top: 0 !important; }

/* ============================================================================
   HOME: 100VH EDITION 01 MÖBIUS CINEMA STAGE + BOTTOM LIVE STRIP
   ============================================================================ */
.mobius-stage {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-stage-wrap {
  flex: 1;
  display: flex;
  align-items: center;
}
.hero {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 40px 0 !important;
  min-height: 0 !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) !important;
  gap: 44px !important;
  overflow: visible !important;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: #FF4D58;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow-line {
  width: 32px;
  height: 1px;
  background: rgba(255, 77, 88, 0.5);
}
.hero h1 {
  font-family: "Syne", "Archivo", "Noto Sans SC", sans-serif !important;
  font-size: clamp(50px, 6.2vw, 84px) !important;
  font-weight: 700 !important;
  line-height: 0.94 !important;
  letter-spacing: -0.04em !important;
  max-width: none !important;
  color: #FFFFFF;
  text-shadow: none !important;
}
.hero-serif {
  display: block;
  margin-top: 4px;
  font-family: "Instrument Serif", "Didot", "Bodoni MT", Georgia, "Songti SC", serif !important;
  font-style: italic;
  font-weight: 400 !important;
  letter-spacing: -0.025em !important;
  background: linear-gradient(90deg, #F4F1EC 0%, #FFD0D3 52%, #FF2A38 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 26px !important;
  color: #A4A09C !important;
  font-size: 15.5px !important;
  line-height: 1.72 !important;
  max-width: 38rem !important;
  font-weight: 400;
  text-shadow: none !important;
}

/* Hero market prices */
.hero-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}
.hero-price-card {
  padding: 10px 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: #A1A1AA;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-price-card dt { color: #FFFFFF; font-weight: 600; }
.hero-price-card dd { margin: 0; color: #E4E4E7; font-variant-numeric: tabular-nums; }
.hero-price-card:first-child {
  background: rgba(255, 30, 45, 0.18);
  border-color: #FF2A38;
  color: #FFFFFF;
  box-shadow: 0 0 28px rgba(255, 30, 45, 0.3);
}

@media (max-width: 480px) {
  .hero-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-price-card { justify-content: space-between; padding-inline: 8px; gap: 4px; }
}

.hero-cta {
  margin-top: 28px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.hero-allocation {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  min-width: 180px;
  font-size: 12px;
  line-height: 1.5;
}
.hero-allocation-label { display: inline-block; margin-bottom: 6px; color: #AFA9A5; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.hero-allocation dl { margin: 0; display: grid; gap: 4px; }
.hero-allocation dl > div { display: flex; justify-content: space-between; gap: 16px; }
.hero-allocation dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }

/* 3D Mouse-Parallax Möbius Centerpiece */
.hero-art {
  position: relative;
  height: auto !important;
  min-height: 440px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg.mobius-rings { display: block !important; }
.mobius-core {
  position: relative;
  width: min(440px, 84vw);
  height: min(440px, 84vw);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease-out;
}
.mobius-core-sm {
  width: min(320px, 78vw);
  height: min(320px, 78vw);
}
.mobius-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: mobiusSpin 68s linear infinite;
}
@keyframes mobiusSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes mobiusPulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
.pulse-dot { animation: mobiusPulse 2.8s ease-in-out infinite; }
.mobius-core .mobius-hero {
  width: 82%;
  height: 82%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 56%, transparent 92%);
  mask-image: radial-gradient(circle at 50% 50%, #000 56%, transparent 92%);
  user-select: none;
  pointer-events: none;
  will-change: transform;
}
.hero-eyebrow .brand-tagline { text-transform: none; }

.ti-plaque {
  position: absolute;
  padding: 10px 16px;
  border-radius: 2px !important;
  z-index: 5;
  text-align: left;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.ti-plaque-top { top: 14px; right: 4px; }
.plaque-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #FF4D58;
}
.plaque-val {
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 4px;
}

.feat {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 18px !important;
  width: 232px !important;
  padding: 13px 16px !important;
  border-radius: 2px !important;
  z-index: 5;
}
.feat-top { font-size: 10px !important; letter-spacing: 0.14em !important; text-transform: uppercase; }
.feat-top b { font-size: 13px !important; }
.feat-pair { margin: 5px 0 10px !important; font-size: 11px !important; }
.feat-px .mc { font-size: 20px !important; }

/* Bottom Anchored Hairline 4-Card Live Market Strip */
.hero-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 22px 0;
}
.hero-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.strip-card {
  padding: 16px !important;
  cursor: pointer;
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.strip-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.strip-idx { font-size: 10px; letter-spacing: 0.14em; color: #71717A; }
.strip-idx span { color: #FF2A38; }
.strip-sym { font-size: 16px; font-weight: 700; color: #FFFFFF; margin-top: 4px; }
.strip-px { text-align: right; }
.strip-mc { font-size: 14px; font-weight: 600; color: #FFFFFF; }
.strip-chg { font-size: 11px; margin-top: 2px; }
.strip-bot {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}
.strip-curve { font-size: 10px; color: #A1A1AA; }
.strip-curve b { color: #FFFFFF; }
.strip-bar {
  width: 92px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 6px;
}
.strip-bar-fill { height: 100%; background: #FF2A38; }
.strip-bar-fill.grad { background: #34D399; }

/* Discover Markets Section Below the Fold */
.discover-section { padding-top: 32px; }
.toolbar {
  margin: 24px 0 18px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.search, .find-asset {
  border-radius: 2px !important;
  background: rgba(5, 5, 7, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12px;
}
.chip, .sort button, .pill-row button, .tabs button {
  border-radius: 2px !important;
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 11px !important;
  letter-spacing: 0.06em;
}
.chip.on, .pill-row button.on, .tabs button.on {
  background: rgba(255, 30, 45, 0.18) !important;
  border-color: #FF2A38 !important;
  color: #FFFFFF !important;
}
.sort button.on {
  background: #FFFFFF !important;
  color: #020203 !important;
  border-color: #FFFFFF !important;
}
.section-title {
  font-family: "Syne", "Noto Sans SC", sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}
.card .mc { font-size: 26px !important; color: #FFFFFF !important; }
.card-ico { border-radius: 2px !important; }
.pill, .pair-chip { border-radius: 2px !important; }
.empty {
  border-radius: 3px !important;
  background: rgba(8, 8, 11, 0.72) !important;
  border: 1px dashed rgba(255, 255, 255, 0.14) !important;
}

/* ============================================================================
   LAUNCH CONSOLE (Clean Precision Instrument — Zero Fluff)
   ============================================================================ */
.page-kicker {
  color: #FF4D58 !important;
  font-size: 10.5px !important;
  letter-spacing: 0.24em !important;
}
.page-title {
  font-family: "Syne", "Noto Sans SC", sans-serif !important;
  font-size: clamp(34px, 4.4vw, 54px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
}
.launch-hero {
  margin-bottom: 28px !important;
  padding-bottom: 22px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.launch-grid { gap: 28px !important; }
.launch-form { padding: 28px !important; }
.launch-sec-first { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
.launch-sec {
  margin-top: 26px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}
.step-idx {
  color: #FF2A38;
  font-weight: 700;
  margin-right: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.sec-label {
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 12.5px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF !important;
  margin-bottom: 14px !important;
}
.sec-label-sm {
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8E8B88;
  margin-bottom: 8px;
}
.identity-grid {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.identity-fields { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.launch-image .upload {
  width: 126px;
  height: 126px !important;
  min-height: 126px !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 12px !important;
  gap: 8px !important;
  border-radius: 3px !important;
  border: 1px dashed rgba(255, 255, 255, 0.2) !important;
  background: rgba(4, 4, 6, 0.65) !important;
}
.launch-image .upload:hover { border-color: #FF2A38 !important; }
.launch-image .upload-ico {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.launch-image .upload-copy strong { font-size: 11px !important; color: #D4D4D8 !important; }
.launch-image .upload-copy span { font-size: 10px !important; color: #71717A !important; }
.launch-image .upload.has-img { padding: 0 !important; }
.launch-image .upload.has-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 2px; }
.launch-image .upload.has-img .upload-copy { display: none; }

.params-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}
.field input, .field textarea, .field select, .textin {
  border-radius: 2px !important;
  background: rgba(5, 5, 7, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}
.field input:focus, .field textarea:focus {
  border-color: #FF2A38 !important;
  box-shadow: none !important;
}
.quote-opt {
  border-radius: 2px !important;
  background: rgba(5, 5, 7, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.quote-opt.on {
  background: rgba(255, 30, 45, 0.16) !important;
  border-color: #FF2A38 !important;
  box-shadow: 0 0 22px rgba(255, 30, 45, 0.22) !important;
}

.launch-summary { padding: 24px !important; border-color: rgba(255, 42, 56, 0.28) !important; }
.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.summary-tag {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #FF4D58;
  padding: 3px 7px;
  border: 1px solid rgba(255, 42, 56, 0.4);
  background: rgba(255, 42, 56, 0.12);
}
.pv-token {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.preview-av {
  width: 42px;
  height: 42px;
  border-radius: 2px !important;
  border: 1px solid rgba(255, 42, 56, 0.45);
  background: #08080B;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 700;
  flex-shrink: 0;
}
.pv-name { font-weight: 700; font-size: 14px; color: #FFFFFF; }
.pv-pair { font-size: 11px; color: #FF4D58; margin-top: 2px; }
#launchBtnNote.note {
  font-size: 11px;
  color: #71717A;
  line-height: 1.55;
  margin-top: 10px;
}

/* ============================================================================
   SOL BURN LEDGER PAGE (#view-burn)
   ============================================================================ */
.burn-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.burn-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.stat-card.hot { border-color: rgba(255, 42, 56, 0.42) !important; }
.stat-card.hot .lbl { color: #FF5A65 !important; }
.burn-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.burn-addr {
  margin-top: 12px;
  text-align: center;
  font-size: 10.5px;
  color: #71717A;
  letter-spacing: 0.08em;
  word-break: break-all;
}
.burn-addr span { display: block; margin-bottom: 4px; color: #FF4D58; letter-spacing: 0.2em; }
.burn-addr b { color: #E4E4E7; font-weight: 500; }
.tax-vaults { margin-bottom: 24px; }
.tax-vaults h2 { margin: 0 0 12px; font-size: 18px; }
.tax-collector:not([hidden]) { display: grid; gap: 4px; padding: 10px 0; }
.tax-collector span { color: var(--muted); font-size: 12px; }
.tax-collector code { overflow-wrap: anywhere; }
.tax-vaults dl { margin: 0; }
.tax-vaults dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.tax-vaults small { display: block; margin-top: 2px; color: var(--muted); }
.tax-vaults dd { margin: 0; font-variant-numeric: tabular-nums; }
.tax-vaults .tiny { margin: 12px 0 0; }

/* Inner Tables, Callouts, Code Blocks & Footer */
.callout {
  border-radius: 3px !important;
  background: rgba(255, 30, 45, 0.08) !important;
  border: 1px solid rgba(255, 42, 56, 0.32) !important;
}
.code-block, .code-block pre { border-radius: 2px !important; }
.w-item { border-radius: 2px !important; }
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(0, 0, 0, 0.68) !important;
  backdrop-filter: blur(18px);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .burn-hero { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap, .nav-inner { width: calc(100% - 32px) !important; }
  .hero-strip-grid { grid-template-columns: 1fr; }
  .identity-grid, .row-3, .params-row, .burn-metrics { grid-template-columns: 1fr; }
  .ti-plaque-top { right: 0; top: 0; }
  .feat { width: 200px !important; }
}

@media (max-width: 480px) {
  .logo { margin-right: 0; }
  .nav-right .btn-red, .nav-right #btnWallet {
    padding-inline: 6px;
    font-size: 10px;
    letter-spacing: 0.02em;
  }
  .nav-right #btnWallet { max-width: 110px; }
}

@media (max-width: 360px) {
  .nav-inner, .nav-right { gap: 2px; }
  .logo .logo-name { font-size: 13px !important; letter-spacing: .14em !important; }
  .lang-toggle button { min-width: 20px; padding-inline: 3px; }
  .nav-right .btn-red, .nav-right #btnWallet { padding-inline: 4px; }
}

.treasury-activity { margin: 18px 0; }
.treasury-activity h2 { margin: 0; font-size: 19px; }
.treasury-records { margin-top: 14px; overflow-wrap: anywhere; }
.treasury-records .table-wrap { overflow-x: auto; }
.treasury-records button { margin-top: 10px; }
.treasury-wallet-lookup { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.treasury-wallet-lookup .field { flex: 1 1 240px; margin: 0; min-width: 0; }

/* OPOS treasury dashboards */
.treasury-dashboard {
  --ledger-border: rgba(255, 145, 157, 0.16);
  --ledger-muted: #af9da6;
  --ledger-card: #130e13;
  max-width: 1220px;
  display: grid;
  gap: 20px;
  margin-inline: auto;
}
.ledger-heading { padding: 6px 0; }
.ledger-heading .page-title { margin: 0 0 10px; }
.ledger-heading .page-desc { margin: 0; max-width: 54ch; }
.ledger-scope { margin: 8px 0 0; color: var(--ledger-muted); font-size: 12px; }
.ledger-stats, .ledger-pairs { display: grid; gap: 14px; min-width: 0; }
.ledger-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ledger-stats-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger-stat, .ledger-panel {
  min-width: 0;
  background: var(--ledger-card);
  border: 1px solid var(--ledger-border);
  border-radius: 9px;
}
.ledger-stat {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 17px 18px;
  background: linear-gradient(125deg, #221016, #130e13 80%);
}
.ledger-stat span, .ledger-stat small { color: var(--ledger-muted); font-size: 12px; }
.ledger-stat strong { color: #fff5f3; font-size: clamp(17px, 2.25vw, 30px); line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ledger-stat:nth-child(2) strong { color: #ff798a; }
.ledger-revenue .ledger-stat:nth-child(3) strong { color: #ffc083; }
.ledger-panel { overflow: hidden; }
.ledger-panel header {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ledger-border);
}
.ledger-panel-rule { margin: 0; padding: 12px 16px; color: var(--ledger-muted); font-size: 12px; }
.ledger-panel header h2 { margin: 0; color: #fff5f3; font-size: 15px; font-weight: 700; }
.ledger-empty { margin: 0; padding: 24px 16px; color: var(--ledger-muted); font-size: 12px; }
.ledger-panel-footer { padding: 10px 16px; border-top: 1px solid var(--ledger-border); }
.ledger-scroll { min-width: 0; max-height: 372px; overflow: auto; }
.ledger-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.ledger-table th, .ledger-table td { padding: 11px 13px; white-space: nowrap; border-bottom: 1px solid var(--ledger-border); }
.ledger-table thead th { position: sticky; top: 0; color: var(--ledger-muted); background: #1c1219; font-weight: 600; }
.ledger-table tbody tr:last-child td { border-bottom: 0; }
.ledger-table tbody tr:hover td { background: rgba(255, 83, 114, 0.055); }
.ledger-token { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; }
.ledger-token .av, .ledger-token .avatar, .ledger-token img { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 5px; }
.ledger-sig { color: #ff8897; }
.ledger-sig:hover { text-decoration: underline; }
.ledger-wallet form { margin: 15px 16px 0; }
.ledger-wallet .treasury-records { margin: 12px 16px 16px; }
.ledger-wallet .treasury-records:empty { margin: 0 16px 16px; }
.ledger-toolbar, .ledger-toolbar-end { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.ledger-toolbar { justify-content: space-between; }
.ledger-segments { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px; padding: 3px; border: 1px solid var(--ledger-border); border-radius: 7px; background: #0d090e; }
.ledger-segments button {
  padding: 5px 9px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ledger-muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.ledger-segments button:hover { color: #fff5f3; }
.ledger-segments button[aria-pressed="true"] { border-color: rgba(255, 103, 128, 0.37); background: #39151e; color: #fff5f3; }
.ledger-unit { color: var(--ledger-muted); padding: 3px 6px; font-size: 11px; }
.ledger-legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--ledger-muted); font-size: 12px; }
.ledger-legend span { display: inline-flex; gap: 6px; align-items: center; }
.ledger-legend span::before { content: ""; background: var(--series); border-radius: 2px; width: 8px; height: 8px; }
.ledger-chart { min-width: 0; }
.ledger-chart canvas, .ledger-chart-empty { display: block; width: 100%; height: 232px; }
.ledger-chart-daily canvas, .ledger-chart-daily .ledger-chart-empty { height: 205px; }
.ledger-chart-empty {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 20px;
  text-align: center;
  color: var(--ledger-muted);
  font-size: 12px;
  background: repeating-linear-gradient(to bottom, transparent 0 44px, rgba(255, 255, 255, 0.035) 44px 45px);
}
@media (max-width: 760px) {
  .treasury-dashboard { gap: 16px; }
  .ledger-stats-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-pairs { grid-template-columns: minmax(0, 1fr); }
  .ledger-stat { min-height: 86px; padding: 12px; }
}
@media (max-width: 420px) {
  .ledger-revenue .ledger-stats { gap: 6px; }
  .ledger-revenue .ledger-stat { padding: 8px; }
  .ledger-revenue .ledger-stat strong { font-size: 14px; }
  .ledger-chart canvas, .ledger-chart-empty { height: 195px; }
}
