/* 病毒王：单文件样式 */
:root {
  --bg: #000;
  --panel: rgba(7, 20, 12, 0.82);
  --neon: #39ff14;
  --neon-dim: rgba(57, 255, 20, 0.3);
  --text: #e7ffe9;
  --muted: #8eb897;
  --border: rgba(57, 255, 20, 0.24);
  --font-pixel: "Pixelify Sans", "Noto Sans SC", sans-serif;
  --font-terminal: "VT323", "Noto Sans SC", monospace;
  --font-body: "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-terminal);
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.7);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.65), 0 0 32px rgba(57, 255, 20, 0.24);
}
.brand-logo { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { font-family: var(--font-pixel); font-size: 1.1rem; letter-spacing: 0.08em; }
.header-end { display: flex; gap: 8px; align-items: center; }

.header-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  flex-shrink: 0;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.25s, transform 0.15s;
}

.header-x:hover {
  color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 18px var(--neon-dim), inset 0 0 12px rgba(57, 255, 20, 0.08);
}

.header-x:active {
  transform: scale(0.96);
}

.header-x-icon {
  display: block;
}

.btn {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 18px var(--neon-dim), inset 0 0 12px rgba(57, 255, 20, 0.09);
}
.btn-sm { padding: 7px 12px; font-size: 0.75rem; }

.main { max-width: 1120px; margin: 0 auto; padding: 18px; }
.hero {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../images/bg.png") center/cover no-repeat;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(57, 255, 20, 0.18), rgba(0,0,0,0.85) 55%);
}
.hero-inner { position: relative; padding: 32px 22px; z-index: 1; }
.hero-tag { color: var(--neon); margin: 0 0 8px; }
h1, h2, h3 { font-family: var(--font-pixel); letter-spacing: 0.06em; margin: 0; }
h1 { margin-bottom: 10px; }
.hero-sub { margin: 0 0 16px; max-width: 720px; font-family: var(--font-body); color: var(--muted); }
.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(360px, 100%);
  margin-bottom: 14px;
}
.btn-create {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.08rem;
  border-radius: 14px;
  letter-spacing: 0.08em;
  background: linear-gradient(145deg, rgba(57, 255, 20, 0.24), rgba(7, 36, 17, 0.96));
  border-color: #53ff33;
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.32), inset 0 0 18px rgba(57, 255, 20, 0.14);
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.btn-create:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.45), inset 0 0 22px rgba(57, 255, 20, 0.2);
}
.btn-mine {
  justify-self: start;
  padding: 8px 14px;
  font-size: 0.78rem;
  border-radius: 10px;
  color: #c8d0d8;
  border-color: #2c3139;
  background: rgba(14, 16, 22, 0.88);
  opacity: 0.98;
}
.btn-mine:hover {
  color: #e8edf3;
  border-color: #4a505a;
  box-shadow: 0 0 14px rgba(100, 120, 140, 0.18);
}

.btn-vision-link {
  justify-self: start;
  padding: 8px 14px;
  font-size: 0.78rem;
  border-radius: 10px;
  color: #d8dde6;
  border-color: #313843;
  background: rgba(14, 17, 24, 0.9);
}

.btn-vision-link:hover {
  color: #f0f6ff;
  border-color: #4f5662;
  box-shadow: 0 0 14px rgba(126, 148, 172, 0.2);
}
.status {
  display: inline-block;
  border: 1px dashed var(--border);
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--muted);
}

.panel {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 16px;
}

.vision-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.32);
  background:
    radial-gradient(circle at 85% 15%, rgba(57, 255, 20, 0.15), rgba(4, 10, 8, 0) 45%),
    linear-gradient(180deg, rgba(7, 18, 12, 0.95), rgba(5, 12, 9, 0.95));
  box-shadow: 0 0 26px rgba(57, 255, 20, 0.12), inset 0 0 28px rgba(57, 255, 20, 0.05);
}

.vision-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.22), rgba(57, 255, 20, 0));
  pointer-events: none;
}

.vision-head,
.vision-body,
.vision-grid {
  position: relative;
  z-index: 1;
}

.vision-tag {
  margin: 0 0 6px;
  color: #8adf9a;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vision-slogan {
  margin: 10px 0 0;
  color: #e8ffec;
  font-size: 1.18rem;
  font-family: var(--font-pixel);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.26);
}

.vision-body {
  margin: 14px 0 16px;
  padding: 12px 14px;
  border-left: 3px solid rgba(57, 255, 20, 0.55);
  border-radius: 8px;
  background: rgba(7, 18, 12, 0.62);
  color: #c9e8cf;
  font-family: var(--font-body);
  line-height: 1.8;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.vision-card {
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 12px;
  padding: 12px;
  background: rgba(3, 8, 6, 0.62);
}

.vision-card h3 {
  margin: 0 0 6px;
  color: #deffe5;
  font-size: 0.86rem;
}

.vision-card p {
  margin: 0;
  color: #9bc9a4;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
}
.grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.28);
}
.card h3 { font-size: 0.88rem; margin-bottom: 6px; color: var(--muted); }
.card p { margin: 0; color: var(--neon); font-size: 1.1rem; }

.features {
  margin: 10px 0 0;
  padding-left: 20px;
  font-family: var(--font-body);
  color: var(--muted);
}
.features li { margin-bottom: 8px; }

.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.token-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.token-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.35);
}
.token-avatar { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.token-meta strong { font-family: var(--font-pixel); }
.token-meta p { margin: 2px 0; color: var(--muted); font-family: var(--font-body); font-size: 0.88rem; }
.token-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  z-index: 50;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal.open { display: grid; }
.modal-panel {
  width: min(620px, 100%);
  max-height: calc(100vh - 24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #051008;
  padding: 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(57, 255, 20, 0.55) rgba(8, 14, 12, 0.9);
}

.modal-panel::-webkit-scrollbar {
  width: 10px;
}

.modal-panel::-webkit-scrollbar-track {
  background: rgba(8, 14, 12, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.14);
}

.modal-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.7), rgba(33, 136, 18, 0.75));
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.45);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.28);
}

.modal-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(90, 255, 66, 0.9), rgba(44, 168, 24, 0.9));
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.42);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.close {
  background: transparent; border: 0; color: var(--muted); font-size: 1.5rem; cursor: pointer;
}
.form { display: grid; gap: 8px; }
label { font-family: var(--font-pixel); font-size: 0.92rem; color: #b7b7b7; }
label em { font-style: normal; color: #ff3849; }
input, textarea, select {
  width: 100%;
  border: 1px solid #1b1f25;
  border-radius: 12px;
  padding: 12px 14px;
  background: #0c0f14;
  color: var(--text);
  font-family: var(--font-body);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 10px;
}

.avatar-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid #2a2f36;
  background: #0c0f14;
  padding: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.avatar-box.empty {
  background: #2d3138;
  border-color: #3a3f47;
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-box.empty img {
  display: none;
}

.avatar-empty-icon {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  display: none;
}

.avatar-box.empty .avatar-empty-icon {
  display: block;
}

.avatar-box-mask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 6px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #d0d0d0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.avatar-box:hover {
  border-color: #3a3f46;
}

.hidden-upload {
  display: none;
}

.notice-panel {
  width: min(440px, 100%);
  background: linear-gradient(180deg, #07130a 0%, #050d08 100%);
  border-color: rgba(57, 255, 20, 0.36);
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.18), inset 0 0 22px rgba(57, 255, 20, 0.06);
}

.notice-text {
  margin: 8px 0 14px;
  font-family: var(--font-body);
  color: #d4e4d7;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

.notice-actions {
  display: flex;
  justify-content: flex-end;
}

.meta-fields {
  display: grid;
  gap: 12px;
}

.meta-fields input {
  height: 46px;
}

select {
  height: 48px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7f8590 50%), linear-gradient(135deg, #7f8590 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: #cfd3dc;
}

textarea#tokenIntro {
  min-height: 132px;
  resize: vertical;
}

@media (max-width: 700px) {
  .brand-text { display: none; }
  .token-item { grid-template-columns: 48px 1fr; }
  .token-actions { grid-column: 1 / -1; }
  .modal-body-grid { grid-template-columns: 1fr; }
  .avatar-box { width: 120px; }
  .modal {
    align-items: start;
    padding: 8px;
  }
  .modal-panel {
    width: 100%;
    max-height: calc(100vh - 16px);
    border-radius: 12px;
  }
  .form {
    padding-bottom: 8px;
  }
}


/* merged Launch/zero-launchpad.css */

/* 发射台专页：广场 / 交易 / 创建 / 文档等布局与组件 */

.header-inner-launch {
  flex-wrap: nowrap;
  max-width: 1120px;
  position: relative;
}

.header-nav-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.header-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--neon);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.header-menu-toggle:hover {
  border-color: var(--neon);
  box-shadow: 0 0 14px var(--neon-dim);
}

.header-menu-toggle.is-open {
  border-color: var(--neon);
  background: rgba(57, 255, 20, 0.1);
  box-shadow: 0 0 18px var(--neon-dim);
}

.header-menu-bars,
.header-menu-bars::before,
.header-menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.2s ease, top 0.22s ease;
}

.header-menu-bars {
  position: relative;
}

.header-menu-bars::before,
.header-menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.header-menu-bars::before {
  top: -6px;
}

.header-menu-bars::after {
  top: 6px;
}

.header-menu-toggle.is-open .header-menu-bars {
  background: transparent;
}

.header-menu-toggle.is-open .header-menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.header-menu-toggle.is-open .header-menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-drawer-backdrop {
  display: none;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-tabs a.active {
  color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 14px var(--neon-dim);
}

@media (max-width: 900px) {
  .header-inner-launch {
    padding: 8px 12px;
    gap: 10px;
  }

  .brand-text {
    display: none;
  }

  .header-menu-toggle {
    display: inline-flex;
  }

  .header-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 18;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .header-drawer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .header-nav-panel {
    position: fixed;
    z-index: 19;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 72px 16px 24px;
    background: linear-gradient(180deg, rgba(6, 18, 11, 0.98) 0%, rgba(2, 8, 5, 0.98) 100%);
    border-left: 1px solid var(--border);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.55);
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
  }

  .header-nav-panel.is-open {
    transform: translateX(0);
  }

  .nav-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .nav-tabs .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px !important;
    font-size: 0.88rem !important;
  }

  .header-end {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .header-end .btn {
    width: 100%;
    justify-content: center;
  }

  .header-end .header-link-out {
    justify-content: flex-start;
  }

  #btnConnect {
    margin-top: 4px;
    padding: 12px 16px !important;
  }

  body.header-menu-open {
    overflow: hidden;
  }
}

/* ========== 代币广场（卡片网格） ========== */

.market-place {
  margin-top: 16px;
  border: 1px solid rgba(57, 255, 20, 0.28);
  background:
    linear-gradient(165deg, rgba(8, 22, 14, 0.96) 0%, rgba(4, 12, 8, 0.92) 100%);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.06), inset 0 1px 0 rgba(57, 255, 20, 0.08);
}

.market-place-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.market-place-title h2 {
  margin: 0;
  font-family: var(--font-pixel);
  font-size: 1.28rem;
  color: var(--neon);
  letter-spacing: 0.06em;
  text-shadow: 0 0 14px var(--neon-dim);
}

.market-place-lead {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
}

.market-place-meta {
  font-family: var(--font-terminal);
  font-size: 0.82rem;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px dashed var(--border);
  border-radius: 8px;
}

.market-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.market-search-wrap {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
}

.market-search-icon {
  color: var(--muted);
  font-size: 1rem;
}

.market-search {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  padding: 12px 0 !important;
  border-radius: 0 !important;
}

.market-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 工具栏右侧两控件统一高度 */
.market-toolbar-ctrl-h {
  height: 38px;
  box-sizing: border-box;
}

.market-filter-launched {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 12.5rem;
  height: 38px;
  padding: 0 12px !important;
  font-size: 0.75rem !important;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
}

.market-filter-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #6b7a72;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s, filter 0.2s;
}

.market-filter-launched.is-active {
  border-color: var(--neon) !important;
  color: var(--neon) !important;
  box-shadow: 0 0 14px var(--neon-dim), inset 0 0 10px rgba(57, 255, 20, 0.08);
}

.market-filter-launched.is-active .market-filter-icon {
  color: var(--neon);
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(57, 255, 20, 0.75));
}

.market-filter-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-sort-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 38px;
  flex-shrink: 0;
}

.market-sort-wrap::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}

.market-sort {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-width: 0;
  max-width: 5.5rem;
  height: 38px;
  padding: 0 26px 0 10px !important;
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  line-height: 38px;
  cursor: pointer;
}

.market-sort-wrap:focus-within::after {
  border-top-color: var(--neon);
}

@media (max-width: 640px) {
  .market-filter-launched {
    max-width: 9rem;
    height: 36px;
    padding: 0 8px !important;
    font-size: 0.68rem !important;
  }

  .market-sort-wrap {
    height: 36px;
  }

  .market-sort {
    max-width: 4.8rem;
    height: 36px;
    line-height: 36px;
    font-size: 0.78rem !important;
  }
}

.market-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.market-page-info {
  font-family: var(--font-terminal);
  font-size: 0.84rem;
  color: var(--muted);
}

.market-pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 14px;
}

.market-grid--loading {
  min-height: 200px;
}

.market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  background: linear-gradient(180deg, rgba(10, 28, 18, 0.55) 0%, rgba(3, 10, 7, 0.85) 100%);
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.market-card:hover,
.market-card:focus {
  outline: none;
  border-color: rgba(57, 255, 20, 0.55);
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.18), inset 0 0 20px rgba(57, 255, 20, 0.04);
  transform: translateY(-2px);
}

.market-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.market-card-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(57, 255, 20, 0.25);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.15);
}

.market-card-logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a3d22, #0d1810);
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--neon);
}

.market-card-headtxt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.market-card-symbol {
  font-family: var(--font-pixel);
  font-size: 1.12rem;
  color: var(--neon);
  letter-spacing: 0.04em;
}

.market-card-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-status {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-pixel);
  letter-spacing: 0.06em;
}

.market-status--live {
  color: #b8ffc8;
  border: 1px solid rgba(57, 255, 20, 0.45);
  background: rgba(57, 255, 20, 0.12);
}

.market-status--done {
  color: #a8c4ff;
  border: 1px solid rgba(120, 160, 255, 0.35);
  background: rgba(80, 120, 255, 0.1);
}

.market-card-addr {
  font-family: var(--font-terminal);
  font-size: 0.78rem;
  color: #6a8f72;
  margin-bottom: 12px;
}

.market-card-progress {
  margin-top: auto;
}

.market-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
}

.market-progress-row strong {
  color: var(--text);
}

.market-progress-bar {
  height: 8px;
  border-radius: 999px;
}

.market-card-cta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(57, 255, 20, 0.12);
  font-size: 0.78rem;
  color: var(--muted);
  font-family: var(--font-pixel);
}

.market-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 36px 16px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.market-empty-title {
  margin: 0 0 8px;
  font-family: var(--font-pixel);
  color: var(--neon);
}

.market-card--skeleton {
  pointer-events: none;
  cursor: default;
}

.market-card--skeleton:hover {
  transform: none;
  box-shadow: none;
}

.market-card--skeleton .sk {
  display: block;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(57, 255, 20, 0.06) 0%,
    rgba(57, 255, 20, 0.14) 50%,
    rgba(57, 255, 20, 0.06) 100%
  );
  background-size: 200% 100%;
  animation: pulseSk 1.2s ease-in-out infinite;
}

.market-card--skeleton .market-card-logo.sk {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.market-card--skeleton .sk-line {
  height: 12px;
  margin-bottom: 6px;
}

.market-card--skeleton .sk-line.short {
  width: 60%;
}

.market-card--skeleton .sk-progress {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0 14px;
}

.toolbar input[type="search"],
.toolbar select {
  min-width: 160px;
}

/* 交易页：左图右 Swap；同列等高，左侧折线区随高度伸展 */
.trade-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items: stretch;
  margin-top: 16px;
}

.trade-layout-curve-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

@media (max-width: 900px) {
  .trade-layout {
    grid-template-columns: 1fr;
  }

  .trade-layout-curve-col {
    min-height: auto;
  }

  .inner-curve-panel {
    flex: none !important;
    min-height: 280px;
  }

  .curve-spark-wrap {
    flex: none !important;
  }

  .curve-spark-svg {
    height: 140px !important;
    flex: none !important;
  }

  .swap-panel.panel {
    height: auto !important;
  }
}

.inner-curve-panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.inner-curve-panel .curve-head {
  flex-shrink: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 16, 10, 0.75);
}

.inner-curve-panel .curve-head h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--neon);
}

.inner-curve-panel .curve-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.curve-spark-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 8px 12px 4px;
  background: linear-gradient(180deg, rgba(5, 12, 8, 0.9), rgba(0, 0, 0, 0.5));
}

.curve-spark-svg {
  width: 100%;
  flex: 1;
  min-height: 148px;
  height: auto;
  display: block;
}

.curve-progress-block {
  flex-shrink: 0;
  padding: 12px 14px 16px;
}

.curve-progress-block .progress-bar {
  height: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border: 1px solid rgba(57, 255, 20, 0.2);
}

.curve-progress-block .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a5c1a, var(--neon));
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.55);
  transition: width 0.35s ease;
}

.curve-meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
}

.curve-dex-link {
  flex-shrink: 0;
  margin: 10px 14px 14px;
}

.swap-panel.panel {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
}

.swap-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.swap-tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--muted);
  font-family: var(--font-pixel);
  cursor: pointer;
}

.swap-tabs button.active {
  color: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 12px var(--neon-dim);
}

.trade-input-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trade-input-stack label {
  margin-top: 10px;
}

.trade-input-stack label:first-child {
  margin-top: 0;
}

.trade-readonly {
  opacity: 0.92;
  cursor: default;
}

.trade-sell-block .trade-sell-heading {
  margin-top: 0;
}

.trade-title-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trade-symbol-name-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  font-weight: normal;
}

.trade-symbol-main {
  font-family: var(--font-pixel);
  font-size: 1.28rem;
  color: var(--neon);
  letter-spacing: 0.04em;
}

.trade-name-inline {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 100%;
}

.trade-social-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.trade-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 200, 0.35);
  color: var(--neon);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.trade-social-link:hover {
  background: rgba(0, 255, 200, 0.1);
  border-color: var(--neon);
}

.trade-social-link:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.trade-social-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.trade-addr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 10px;
}

.trade-addr-full {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-terminal);
  font-size: 0.72rem;
  line-height: 1.45;
  word-break: break-all;
  color: var(--muted);
}

.buy-bnb-wrap {
  position: relative;
  width: 100%;
}

.buy-bal-corner {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.76rem;
  font-family: var(--font-terminal);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.buy-bnb-input {
  width: 100%;
  box-sizing: border-box;
  padding-right: min(48%, 220px);
  text-align: left;
}

.buy-pct-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.buy-pct-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  cursor: pointer;
}

.buy-pct-btn:hover {
  border-color: rgba(57, 255, 20, 0.45);
  color: var(--neon);
}

.sell-amt-wrap {
  position: relative;
  width: 100%;
}

.sell-bal-corner {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-family: var(--font-terminal);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.sell-amt-input {
  width: 100%;
  box-sizing: border-box;
  padding-right: min(42%, 200px);
  text-align: left;
}

.sell-pct-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.sell-pct-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  font-family: var(--font-pixel);
  font-size: 0.82rem;
  cursor: pointer;
}

.sell-pct-btn:hover {
  border-color: rgba(57, 255, 20, 0.45);
  color: var(--neon);
}

.fee-line {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  font-family: var(--font-body);
}

.console-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed rgba(57, 255, 20, 0.45);
  border-radius: 14px;
  background: rgba(57, 255, 20, 0.04);
}

.console-panel h3 {
  margin: 0 0 10px;
  color: var(--neon);
  font-family: var(--font-pixel);
}

/* 交易页 · 曲线 Transfer 列表（发射控制台下方） */
.trade-tx-panel {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  background: rgba(4, 14, 10, 0.65);
}

.trade-tx-panel > h3 {
  margin: 0 0 8px;
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.trade-tx-list-meta {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.55;
}

.trade-tx-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.trade-tx-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

.trade-tx-table th {
  text-align: left;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.35);
}

.trade-tx-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.1);
  vertical-align: middle;
}

.trade-tx-row--buy .trade-tx-tag {
  color: #39ff14;
  font-weight: 700;
}

.trade-tx-row--sell .trade-tx-tag {
  color: #ff6b7a;
  font-weight: 700;
}

.trade-tx-row--create .trade-tx-tag {
  color: #ffd54f;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 213, 79, 0.35);
}

.trade-tx-bnb {
  font-weight: 600;
  white-space: nowrap;
}

.trade-tx-bnb--buy {
  color: #39ff14;
}

.trade-tx-bnb--sell {
  color: #ff6b7a;
}

.trade-tx-mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
}

.trade-tx-hash {
  color: var(--neon);
  text-decoration: none;
  word-break: break-all;
}

.trade-tx-hash:hover {
  text-decoration: underline;
}

@keyframes pulseSk {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}

.toast-host {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(380px, calc(100vw - 32px));
}

.toast {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--neon);
  background: rgba(5, 16, 10, 0.96);
  box-shadow: 0 0 20px var(--neon-dim);
  font-size: 0.88rem;
  font-family: var(--font-body);
  animation: toastIn 0.25s ease;
}

.toast.err {
  border-color: #ff4466;
  color: #ffc8d4;
}

@keyframes toastIn {
  from {
    transform: translateX(12px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hint {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.settings-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.portfolio-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-family: var(--font-body);
}

.portfolio-table th,
.portfolio-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
}

.portfolio-table th {
  color: var(--muted);
  font-weight: normal;
}

.chart-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.chart-box iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.swap-panel.panel #tBnb,
.swap-panel.panel .buy-bnb-input,
.swap-panel.panel #tTokEst,
.swap-panel.panel #tAmtSell,
.swap-panel.panel #tBnbEst {
  margin-top: 4px;
}

/* 创建页：头像链接说明区 */
.create-logo-block {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  background: rgba(5, 20, 12, 0.55);
}

.create-logo-block label {
  margin-top: 0;
}

.create-logo-label-sub {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
}

.create-logo-howto {
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.45;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.88;
}

.create-logo-howto code {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(150, 158, 152, 0.95);
  background: rgba(0, 0, 0, 0.25);
  padding: 0 4px;
  border-radius: 4px;
}

.create-logo-howto a {
  color: rgba(130, 150, 138, 0.98);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.create-logo-howto a:hover {
  color: var(--muted);
  filter: none;
}

.create-post-avatar-note {
  margin: 10px 0 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid rgba(248, 180, 60, 0.65);
}

/* 开发文档 / 使用教程 */
.docs-page {
  max-width: 860px;
  margin-inline: auto;
}

.docs-page > h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.docs-lead {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 14px;
  font-family: var(--font-body);
}

.docs-lead strong {
  color: var(--text);
  font-weight: 600;
}

.docs-factory-line {
  margin: 0 0 22px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.5;
}

.docs-code {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  font-size: 0.78rem;
  word-break: break-all;
  color: rgba(200, 230, 205, 0.95);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: ui-monospace, monospace;
}

.docs-section {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.docs-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.docs-section h3 {
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--neon);
  font-weight: 600;
  font-family: var(--font-body);
}

.docs-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  line-height: 1.65;
  font-size: 0.88rem;
  font-family: var(--font-body);
}

.docs-section li {
  margin: 7px 0;
}

.docs-section li strong {
  color: #b8e8bf;
  font-weight: 600;
}

.docs-section a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.docs-section a:hover {
  filter: brightness(1.08);
}

.docs-section code {
  font-size: 0.82em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(190, 220, 198, 0.95);
}

.docs-risk {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(180, 140, 120, 0.95);
  font-family: var(--font-body);
}

.docs-back {
  margin-top: 20px;
  padding-top: 8px;
}


/* ========== 病毒王定制首页 ========== */
:root {
  --neon: #38f6d0;
  --neon-dim: rgba(56, 246, 208, 0.3);
  --border: rgba(56, 246, 208, 0.28);
  --panel: rgba(3, 18, 19, 0.84);
  --text: #ecfffb;
  --muted: #9fcac4;
}

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(56, 246, 208, 0.12), transparent 32%),
    radial-gradient(circle at 12% 18%, rgba(56, 246, 208, 0.08), transparent 28%),
    linear-gradient(180deg, #000606 0%, #010b0c 46%, #000 100%);
}

.brand-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(56, 246, 208, 0.3);
}

.brand-text {
  font-size: 1.35rem;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(56, 246, 208, 0.48);
}

.nav-disabled {
  position: relative;
}
.nav-disabled:hover::after {
  content: "功能待开发中";
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  transform: translateX(-50%);
  z-index: 30;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(1, 16, 17, 0.96);
  color: var(--text);
  box-shadow: 0 0 18px var(--neon-dim);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.virus-king-hero {
  min-height: 560px;
  border-color: rgba(56, 246, 208, 0.36);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.45), inset 0 0 42px rgba(56, 246, 208, 0.06);
}

.virus-king-hero .hero-bg {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,10,11,0.8) 45%, rgba(0,0,0,0.6) 100%),
    url("../images/bg.png") center/cover no-repeat;
  opacity: 1;
}

.virus-king-hero .hero-overlay {
  background:
    radial-gradient(circle at 74% 38%, rgba(56, 246, 208, 0.18), transparent 33%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.72));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 26px;
  align-items: center;
  padding: 42px 34px 22px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 0 22px rgba(56, 246, 208, 0.32);
  margin-bottom: 22px;
}

.hero-dollar {
  color: var(--neon);
  text-shadow: 0 0 24px rgba(56, 246, 208, 0.85);
}

.hero-fire {
  display: inline-block;
  margin-right: 10px;
  filter: drop-shadow(0 0 12px rgba(255, 100, 40, 0.6));
}

.hero-lines {
  display: grid;
  gap: 13px;
}

.hero-lines p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(56, 246, 208, 0.14);
  border-left-color: rgba(56, 246, 208, 0.74);
  background: linear-gradient(90deg, rgba(56, 246, 208, 0.08), rgba(0,0,0,0.2));
  border-radius: 12px;
  color: #f6fffd;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-lines span {
  display: inline-block;
  width: 30px;
}

.hero-lines em {
  display: inline-block;
  margin-top: 7px;
  color: #f2fffc;
  font-style: normal;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(56, 246, 208, 0.08);
  filter: blur(16px);
}

.hero-visual::before { width: 62%; height: 62%; }
.hero-visual::after { width: 82%; height: 20px; bottom: 32px; box-shadow: 0 0 48px rgba(56, 246, 208, 0.42); }

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  border-radius: 28px;
  object-fit: cover;
  opacity: 0.92;
  box-shadow: 0 0 38px rgba(56, 246, 208, 0.34), 0 0 120px rgba(56, 246, 208, 0.16);
  mask-image: radial-gradient(circle, #000 56%, rgba(0,0,0,0.78) 74%, transparent 100%);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(56, 246, 208, 0.35);
  border-radius: 50%;
  box-shadow: inset 0 0 32px rgba(56, 246, 208, 0.08), 0 0 28px rgba(56, 246, 208, 0.12);
}
.hero-orbit-one { width: 78%; height: 78%; animation: spinSlow 18s linear infinite; }
.hero-orbit-two { width: 58%; height: 58%; animation: spinSlow 14s linear infinite reverse; }

@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-info-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 34px 34px;
}

.info-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(56, 246, 208, 0.36);
  background:
    linear-gradient(120deg, rgba(56, 246, 208, 0.1), rgba(0,0,0,0.35)),
    rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 22px rgba(56, 246, 208, 0.06), 0 0 20px rgba(56, 246, 208, 0.1);
}

.info-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(56, 246, 208, 0.42);
  color: var(--neon);
  background: rgba(56, 246, 208, 0.08);
  box-shadow: 0 0 18px rgba(56, 246, 208, 0.18);
}

.info-card h3 {
  margin: 0 0 5px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff;
}

.info-card p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--neon);
  font-family: var(--font-terminal);
  font-size: 1rem;
}

.copy-btn {
  border: 1px solid rgba(56, 246, 208, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: var(--neon);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: var(--font-pixel);
}
.copy-btn:hover { box-shadow: 0 0 18px var(--neon-dim); }

.virus-empty-market .market-place-head {
  align-items: center;
}

.market-empty--king {
  position: relative;
  overflow: hidden;
  padding: 46px 18px;
  background:
    linear-gradient(90deg, rgba(56, 246, 208, 0.06), rgba(0,0,0,0.22), rgba(56, 246, 208, 0.05)),
    rgba(0, 0, 0, 0.28);
}

.market-empty--king::before,
.market-empty--king::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(56, 246, 208, 0.18);
  border-radius: 14px;
  pointer-events: none;
}
.market-empty--king::after {
  inset: auto 8% 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 246, 208, 0.6), transparent);
  border: none;
  box-shadow: 0 0 22px rgba(56, 246, 208, 0.45);
}

.empty-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(56, 246, 208, 0.42);
  box-shadow: 0 0 24px rgba(56, 246, 208, 0.25);
}
.empty-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 28px 18px 16px; }
  .hero-visual { min-height: 260px; }
  .hero-visual img { width: min(100%, 340px); }
  .hero-info-grid { grid-template-columns: 1fr; padding: 0 18px 22px; }
  .hero-copy h1 { font-size: clamp(1.8rem, 9vw, 2.65rem); }
  .hero-lines p { font-size: 0.95rem; }
  .info-card { grid-template-columns: auto 1fr; }
  .copy-btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 540px) {
  .brand-text { font-size: 1.05rem; }
  .brand-logo-wrap { width: 42px; height: 42px; }
  .hero-lines span { width: 24px; }
  .info-card p { font-size: 0.88rem; }
}


/* 病毒王底部项目介绍：简短文案 + 精致排版 */
.virus-project-intro {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(56, 246, 208, 0.36);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(56, 246, 208, 0.14), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(57, 255, 20, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(0, 0, 0, 0.56), rgba(4, 30, 24, 0.82));
  box-shadow:
    0 0 34px rgba(56, 246, 208, 0.1),
    inset 0 0 28px rgba(56, 246, 208, 0.055);
}

.virus-project-intro::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(56, 246, 208, 0.18);
  border-radius: 18px;
  pointer-events: none;
}

.project-intro-glow {
  position: absolute;
  right: -120px;
  top: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 246, 208, 0.3), transparent 64%);
  filter: blur(2px);
  pointer-events: none;
}

.intro-top-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.project-intro-head {
  max-width: 840px;
}

.intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--neon);
  font-family: var(--font-pixel);
  letter-spacing: 0.14em;
}

.intro-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon-dim);
}

.project-intro-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.48rem, 3vw, 2.18rem);
  color: #fff;
  text-shadow: 0 0 20px rgba(56, 246, 208, 0.26);
}

.project-intro-head p {
  margin: 0;
  color: rgba(231, 255, 233, 0.86);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.82;
}

.intro-logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  min-height: 148px;
  border-radius: 26px;
  border: 1px solid rgba(56, 246, 208, 0.34);
  background: linear-gradient(180deg, rgba(56, 246, 208, 0.12), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 0 24px rgba(56, 246, 208, 0.08), 0 0 28px rgba(56, 246, 208, 0.08);
}

.intro-logo-badge img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(56, 246, 208, 0.66));
}

.intro-logo-badge span {
  margin-top: 10px;
  color: var(--neon);
  font-family: var(--font-pixel);
  letter-spacing: 0.08em;
}

.intro-card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.intro-card {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(56, 246, 208, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(56, 246, 208, 0.11), rgba(0, 0, 0, 0.32));
  box-shadow: inset 0 0 18px rgba(56, 246, 208, 0.045);
}

.intro-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--neon);
  border: 1px solid rgba(56, 246, 208, 0.36);
  background: rgba(56, 246, 208, 0.09);
  font-family: var(--font-terminal);
  font-size: 1rem;
}

.intro-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.04rem;
}

.intro-card p {
  margin: 0;
  color: rgba(231, 255, 233, 0.78);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.68;
}

.intro-roadmap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.intro-roadmap > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(56, 246, 208, 0.22);
  background: rgba(0, 0, 0, 0.28);
}

.intro-roadmap strong {
  flex: 0 0 auto;
  min-width: 48px;
  color: var(--neon);
  font-family: var(--font-pixel);
  font-size: 1.02rem;
}

.intro-roadmap p {
  margin: 0;
  color: rgba(231, 255, 233, 0.76);
  font-family: var(--font-body);
  line-height: 1.55;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .virus-project-intro { padding: 24px 18px; }
  .intro-top-layout { grid-template-columns: 1fr; }
  .intro-logo-badge { width: 100%; min-height: 110px; flex-direction: row; gap: 14px; }
  .intro-logo-badge img { width: 62px; height: 62px; }
  .intro-card-grid { grid-template-columns: 1fr; }
  .intro-roadmap { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .project-intro-head p,
  .intro-card p,
  .intro-roadmap p { font-size: 0.88rem; }
  .intro-roadmap > div { align-items: flex-start; flex-direction: column; gap: 6px; }
}


.market-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.market-create-cta {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

@media (max-width: 560px) {
  .market-actions {
    width: 100%;
    justify-content: flex-start;
  }
}


/* 病毒王闪光特效字：所有页面中出现“病毒王”的核心字样统一放大、闪光 */
.virus-glow-text,
.brand-text,
.hero-dollar {
  position: relative;
  display: inline-block;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: transparent !important;
  background: linear-gradient(90deg, #ffffff 0%, #38f6d0 24%, #eaffff 45%, #7dfff0 62%, #ffffff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 8px rgba(56, 246, 208, 0.72),
    0 0 18px rgba(56, 246, 208, 0.58),
    0 0 34px rgba(56, 246, 208, 0.32);
  animation: virusTextShine 2.1s linear infinite, virusTextFlash 1.35s ease-in-out infinite alternate;
}

.virus-glow-text { font-size: 1.16em; }
.brand-text { font-size: 1.78rem !important; }
.hero-dollar { font-size: 1.18em; }
.project-intro-head h2 .virus-glow-text,
.docs-page h2 .virus-glow-text { font-size: 1.24em; }

@keyframes virusTextShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 240% 50%; }
}

@keyframes virusTextFlash {
  0% {
    filter: brightness(1);
    text-shadow:
      0 0 8px rgba(56, 246, 208, 0.55),
      0 0 18px rgba(56, 246, 208, 0.42),
      0 0 34px rgba(56, 246, 208, 0.24);
  }
  100% {
    filter: brightness(1.35);
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.78),
      0 0 24px rgba(56, 246, 208, 0.86),
      0 0 48px rgba(56, 246, 208, 0.52),
      0 0 72px rgba(56, 246, 208, 0.32);
  }
}

@media (max-width: 540px) {
  .brand-text { font-size: 1.38rem !important; }
  .virus-glow-text { font-size: 1.11em; }
  .hero-dollar { font-size: 1.1em; }
}
