:root {
  --bg: #05070a;
  --bg2: #070b11;
  --panel: #0b1017;
  --line: rgba(255, 255, 255, 0.09);
  --text: #edf2f6;
  --muted: #8592a0;
  --mint: #00e28a;
  --mint-dim: rgba(0, 226, 138, 0.14);
  --red: #ff4d6a;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .25s ease, border-color .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 10, .82);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; height: 68px;
  display: flex; align-items: center; gap: 26px; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 30px; height: 30px; color: #00E0C6;
  filter: drop-shadow(0 0 8px rgba(61,107,255,.5));
  display: inline-flex;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.brand-text em { font-style: normal; color: #00E0C6; letter-spacing: -.2px; }
.brand.small .brand-mark { width: 24px; height: 24px; font-size: 20px; filter: none; }

.menu { display: flex; align-items: center; gap: 22px; flex: 1; }
.menu a { font-size: 13.5px; color: #c8d1da; position: relative; white-space: nowrap; }
.menu a:hover { color: #fff; }
.menu .hot {
  font-style: normal; font-size: 9px; font-weight: 800; color: #ff6b6b;
  background: rgba(255, 77, 106, .12); border-radius: 4px; padding: 1px 3px; margin-left: 3px;
  vertical-align: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 10px;
  font-size: 13px; font-weight: 700; border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.97); }
.btn.ghost { border-color: rgba(0,226,138,.45); color: var(--mint); background: rgba(0,226,138,.04); }
.btn.ghost:hover { background: rgba(0,226,138,.1); }
.btn.solid {
  background: var(--mint); color: #04130d;
  box-shadow: 0 6px 24px rgba(0,226,138,.28);
}
.btn.solid:hover { box-shadow: 0 8px 30px rgba(0,226,138,.42); }
.gift { font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 720px; display: flex; align-items: center; padding: 132px 24px 44px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: #04060a; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero-bg .g1 { width: 720px; height: 720px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(0,226,138,.32), transparent 65%); }
.hero-bg .g2 { width: 900px; height: 900px; right: -260px; bottom: -420px; background: radial-gradient(circle, rgba(20,120,255,.18), transparent 65%); }
.tentacles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,10,.2) 0%, rgba(5,7,10,.55) 55%, var(--bg) 100%); }

.hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2.4px; color: #9fb0bf; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: rgba(255,255,255,.02);
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }

.hero h1 {
  margin: 22px 0 18px; font-size: clamp(44px, 6.4vw, 82px); line-height: 1.05;
  letter-spacing: -3px; font-weight: 850;
}
.hero h1 span { color: var(--mint); text-shadow: 0 0 40px rgba(0,226,138,.35); }
.lead { color: #b3bfca; font-size: 16px; line-height: 1.75; margin: 0 0 30px; }
.lead b { color: var(--mint); font-size: 18px; }

.signup {
  display: flex; align-items: center; gap: 8px; max-width: 540px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  padding: 7px; border-radius: 14px; backdrop-filter: blur(10px);
}
.signup input {
  flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: #fff; color: #101418;
  border-radius: 9px; padding: 0 16px; font-size: 14px;
}
.signup input::placeholder { color: #98a2ad; }
.signup button[type="submit"] {
  height: 46px; padding: 0 22px; border: 0; border-radius: 9px;
  background: var(--mint); color: #04130d; font-weight: 800; font-size: 14px; white-space: nowrap;
  box-shadow: 0 6px 22px rgba(0,226,138,.3);
}
.signup .qr {
  width: 46px; height: 46px; border-radius: 9px; border: 1px solid var(--line);
  background: #0a0e14; color: #cfd8e1; display: grid; place-items: center; flex: 0 0 auto;
}
.signup .qr svg { width: 20px; height: 20px; }

.trust { display: flex; gap: 22px; margin-top: 18px; color: #7c8a97; font-size: 12px; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- stats ---------- */
.stats {
  max-width: 1280px; margin: 0 auto; padding: 8px 24px 10px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stat { border-top: 1px solid var(--line); padding-top: 18px; }
.stat b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 850; letter-spacing: -1px; color: #fff; }
.stat span { font-size: 11.5px; color: var(--muted); }

/* ---------- promos ---------- */
.promos {
  max-width: 1280px; margin: 0 auto; padding: 22px 24px 10px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.promo {
  position: relative; overflow: hidden; min-height: 168px;
  background: linear-gradient(160deg, #0c1218, #080c11 65%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  transition: transform .2s ease, border-color .2s;
}
.promo:hover { transform: translateY(-3px); border-color: rgba(0,226,138,.35); }
.promo h3 { font-size: 15px; margin: 0 0 8px; font-weight: 800; }
.promo p { font-size: 12px; color: #8f9caa; line-height: 1.6; margin: 0 0 16px; max-width: 78%; }
.promo a { font-size: 12px; color: var(--mint); font-weight: 700; }
.promo-art {
  position: absolute; right: 14px; bottom: 12px; width: 62px; height: 62px;
  color: var(--mint); opacity: .8;
  filter: drop-shadow(0 0 22px rgba(0,226,138,.45));
  transform: rotate(-4deg);
}
.promo-art svg { width: 100%; height: 100%; }
.promo-art.rad { color: #4dd8ff; filter: drop-shadow(0 0 22px rgba(0,200,255,.4)); }
.promo::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,226,138,.16), transparent 65%);
}

/* ---------- markets ---------- */
.markets, .products { max-width: 1280px; margin: 0 auto; padding: 64px 24px 10px; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -1.2px; margin: 0; font-weight: 850; text-align: center; }
.tabs { display: inline-flex; gap: 4px; background: #0a0f15; border: 1px solid var(--line); padding: 4px; border-radius: 999px; }
.tabs button {
  border: 0; background: transparent; color: #a7b4c0; font-size: 12.5px; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
}
.tabs button.on { background: var(--mint); color: #04130d; }

.coin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.coin {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(160deg, #0b1117, #080c11);
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s, transform .2s;
}
.coin:hover { border-color: rgba(0,226,138,.3); transform: translateY(-2px); }
.coin .ico {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.06); font-size: 12px; font-weight: 800; color: #dfe7ee; flex: 0 0 auto;
  position: relative; overflow: hidden;
}
.coin .ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; z-index: 1; }
.coin .ico .ico-fb { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 11px; letter-spacing: .02em; z-index: 0; }
.coin .meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.coin .name { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin .sub { display: block; font-size: 10.5px; color: var(--muted); }
.coin .price { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.coin .price b { display: block; font-size: 13px; font-variant-numeric: tabular-nums; }
.coin .price span { font-size: 11px; font-weight: 700; }
.up { color: var(--mint); }
.down { color: var(--red); }
.more { text-align: center; margin-top: 22px; }
.more a { color: var(--mint); font-size: 13px; font-weight: 700; }

/* ---------- products ---------- */
.product-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  border: 1px solid var(--line); border-radius: 26px; padding: 46px;
  background:
    radial-gradient(circle at 80% 30%, rgba(0,226,138,.10), transparent 55%),
    linear-gradient(160deg, #0a0f15, #070a0e);
}
.features { display: flex; flex-direction: column; gap: 26px; position: relative; padding-left: 26px; }
.features::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0,226,138,.5), transparent);
}
.feat { position: relative; }
.feat::before {
  content: ""; position: absolute; left: -26px; top: 6px; width: 11px; height: 11px;
  border-radius: 50%; background: #101820; border: 1px solid rgba(0,226,138,.45);
}
.feat.on::before { background: var(--mint); box-shadow: 0 0 14px var(--mint); border-color: var(--mint); }
.feat h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: #e6edf4; }
.feat.on h3 { font-size: 24px; color: var(--mint); }
.feat p { margin: 0; font-size: 13px; color: #a7b4c1; line-height: 1.7; max-width: 330px; }

.phone {
  justify-self: center; width: 344px; padding: 10px; border-radius: 38px;
  background: linear-gradient(160deg, #18222c, #0a0e13);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 60px rgba(0,226,138,.12);
  transform: rotate(-6deg);
}
.phone-inner { background: #070b10; border-radius: 30px; padding: 20px 18px 22px; border: 1px solid rgba(255,255,255,.06); }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #cfd8e1; }
.phone-top b { font-size: 11px; }
.phone-top .lev { font-style: normal; font-size: 9px; color: #04130d; background: var(--mint); border-radius: 4px; padding: 1px 4px; margin-left: 4px; font-weight: 800; }
.phone-price { font-size: 34px; font-weight: 850; letter-spacing: -1px; margin: 6px 0 4px; }
.phone-price small { font-size: 16px; color: #8b98a5; }
.phone-chart { width: 100%; height: 132px; display: block; }
.phone-book { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; display: grid; gap: 7px; }
.phone-book div { display: grid; grid-template-columns: 38px 1fr auto; font-size: 11px; color: #9aa7b4; }
.phone-book b { font-weight: 700; }
.phone-book i { font-style: normal; color: #6f7c89; }
.phone-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.phone-btns span { text-align: center; padding: 9px 0; border-radius: 8px; font-size: 12px; font-weight: 800; }
.phone-btns .buy { background: rgba(0,226,138,.14); color: var(--mint); }
.phone-btns .sell { background: rgba(255,77,106,.16); color: #ff758c; }

/* ---------- cta ---------- */
.cta {
  max-width: 1280px; margin: 70px auto 0; padding: 34px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 50%, rgba(0,226,138,.16), transparent 55%),
    linear-gradient(120deg, #0b1411, #080d10);
  border: 1px solid rgba(0,226,138,.22);
}
.cta h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.8px; }
.cta p { margin: 0; color: #8f9caa; font-size: 13px; }
.cta-btns { display: flex; gap: 10px; }

/* ---------- footer ---------- */
.footer { max-width: 1280px; margin: 70px auto 0; padding: 44px 24px 30px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.foot-brand p { color: #7d8a97; font-size: 12px; line-height: 1.7; margin: 12px 0 0; }
.footer h4 { font-size: 12px; color: #cfd8e1; margin: 4px 0 14px; font-weight: 800; }
.footer .foot-grid a { display: block; font-size: 12px; color: #7d8a97; margin-bottom: 10px; }
.footer .foot-grid a:hover { color: #fff; }
.foot-bottom {
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #6b7885; font-size: 11px;
}

/* ---------- 事件合约 ---------- */
.events { max-width: 1280px; margin: 0 auto; padding: 58px 24px 6px; }
.events-wrap {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center;
  border: 1px solid rgba(0, 226, 138, .26); border-radius: 26px; padding: 46px;
  background:
    radial-gradient(circle at 78% 26%, rgba(0, 226, 138, .17), transparent 58%),
    linear-gradient(150deg, #0a1214, #070a0e 70%);
  position: relative; overflow: hidden;
}
.events-wrap::after {
  content: ""; position: absolute; left: -60px; bottom: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,226,138,.14), transparent 65%);
}
.events-copy { position: relative; z-index: 2; }
.events h2 {
  font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -1.6px;
  margin: 16px 0 14px; font-weight: 850;
}
.events h2 span { color: var(--mint); text-shadow: 0 0 34px rgba(0,226,138,.35); }
.events-lead { color: #a7b4c1; font-size: 14px; line-height: 1.8; max-width: 470px; margin: 0 0 22px; }
.events-facts {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px; margin: 0 0 26px; padding: 0;
}
.events-facts li { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.events-facts b { font-size: 19px; font-weight: 850; color: #fff; letter-spacing: -.5px; }
.events-facts span { font-size: 11px; color: var(--muted); }
.events-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.events-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.event-glow {
  position: absolute; inset: 8% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,226,138,.30), transparent 62%); filter: blur(46px);
  animation: glowPulse 5s ease-in-out infinite;
}
.ticket {
  position: relative; z-index: 2; width: min(100%, 380px); padding: 22px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(18,27,34,.96), rgba(8,12,17,.97));
  border: 1px solid rgba(0,226,138,.28);
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 44px rgba(0,226,138,.10);
  transform: rotate(-2deg);
}
.ticket-top { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; }
.ticket-pair { font-weight: 800; letter-spacing: .4px; color: #dfe7ee; }
.ticket-badge {
  color: var(--mint); background: rgba(0,226,138,.12); border: 1px solid rgba(0,226,138,.3);
  border-radius: 999px; padding: 2px 9px; font-size: 10px; font-weight: 800;
}
.ticket-q { font-size: 15.5px; font-weight: 800; line-height: 1.5; margin: 14px 0 12px; color: #eaf1f7; }
.ticket-timer { display: flex; align-items: baseline; gap: 8px; }
.ticket-timer b { font-size: 30px; font-weight: 850; letter-spacing: -1px; color: var(--mint); font-variant-numeric: tabular-nums; }
.ticket-timer span { font-size: 10.5px; color: var(--muted); }
.ticket-bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); margin: 10px 0 16px; overflow: hidden; }
.ticket-bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, rgba(0,226,138,.35), var(--mint)); border-radius: inherit; transition: width 1s linear; }
.ticket-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ticket-btns span { text-align: center; padding: 11px 0; border-radius: 10px; font-size: 13px; font-weight: 800; }
.ticket-btns .g { background: rgba(0,226,138,.16); color: var(--mint); border: 1px solid rgba(0,226,138,.35); }
.ticket-btns .r { background: rgba(255,77,106,.14); color: #ff758c; border: 1px solid rgba(255,77,106,.32); }
.ticket-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 6px 12px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 11px; color: #8b98a5;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .menu { gap: 16px; }
  .menu a:nth-child(n+7) { display: none; }
  .promos { grid-template-columns: repeat(2, 1fr); }
  .coin-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr; row-gap: 26px; }
  .events-wrap { grid-template-columns: 1fr; padding: 34px; gap: 28px; }
  .events-visual { min-height: auto; }
}
@media (max-width: 820px) {
  .nav-inner { gap: 14px; padding: 0 16px; }
  .menu { display: none; }
  .hero { padding: 120px 18px 70px; min-height: auto; }
  .hero h1 { letter-spacing: -1.6px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .promos { grid-template-columns: 1fr; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
  .product-wrap { grid-template-columns: 1fr; padding: 28px; gap: 30px; }
  .events { padding: 40px 16px 0; }
  .events-wrap { padding: 26px; }
  .events-facts { grid-template-columns: repeat(2, 1fr); }
  .ticket { transform: none; }
  .ticket-foot { font-size: 10.5px; }
  .phone { transform: none; width: 270px; }
  .cta { margin: 50px 16px 0; padding: 26px; }
  .footer { padding: 36px 18px 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .signup { flex-wrap: wrap; }
  .signup input { flex: 1 1 100%; }
}
@media (max-width: 520px) {
  .coin-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-inner .eyebrow { font-size: 9.5px; letter-spacing: 1.6px; }
}

/* ---------- hero 右侧视觉 ---------- */
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-visual { position: relative; height: 430px; }
.hv-glow {
  position: absolute; inset: 8% 0 6% 0; border-radius: 50%;
  background: radial-gradient(circle at 55% 45%, rgba(0, 226, 138, .26), transparent 62%);
  filter: blur(46px);
}
.hv-octo { position: absolute; width: 300px; right: 6px; top: 0; opacity: .05; filter: blur(2px); }
.hv-card {
  position: absolute; z-index: 2; border-radius: 16px; padding: 14px 16px;
  background: linear-gradient(160deg, rgba(17, 25, 33, .94), rgba(8, 12, 17, .94));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  backdrop-filter: blur(14px);
}
.hv-card.c1 { top: 18px; left: 0; width: 264px; transform: rotate(-3deg); }
.hv-card.c2 { top: 176px; right: -4px; width: 226px; transform: rotate(2.5deg); }
.hv-card.c3 { bottom: 4px; left: 34px; width: 238px; transform: rotate(-1.5deg); }
.hv-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #93a1af; }
.hv-head i { font-style: normal; font-weight: 800; font-size: 11px; }
.hv-price { display: block; font-size: 26px; font-weight: 850; letter-spacing: -1px; margin: 4px 0 2px; }
.hv-price small { font-size: 14px; color: #8794a2; }
.hv-chart { width: 100%; height: 66px; display: block; }
.hv-label { font-size: 10.5px; color: #8b98a5; letter-spacing: .3px; }
.hv-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.hv-row b { font-size: 15px; font-weight: 800; }
.hv-row em { font-style: normal; font-size: 11px; color: var(--mint); font-weight: 800; }
.hv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.hv-btns span { text-align: center; padding: 8px 0; border-radius: 8px; font-size: 12px; font-weight: 800; }
.hv-btns .g { background: rgba(0, 226, 138, .14); color: var(--mint); }
.hv-btns .r { background: rgba(255, 77, 106, .12); color: var(--red); }
.hv-num { display: block; font-size: 22px; font-weight: 850; letter-spacing: -.6px; margin: 6px 0 2px; color: var(--mint); }
.hv-num small { font-size: 12px; color: #9fb0bf; }
.hv-sub { font-size: 10.5px; color: #7f8c99; }

.cta-qr { display: flex; align-items: center; gap: 10px; color: #8f9caa; font-size: 11px; }
.qr-box {
  width: 72px; height: 72px; border-radius: 10px; background: #fff; padding: 6px;
  box-shadow: 0 0 24px rgba(0,226,138,.25);
}
.qr-box svg { width: 100%; height: 100%; display: block; }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ---------- 首屏卡片动效 ---------- */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hv-card { animation: floaty 6.5s ease-in-out infinite; will-change: translate; }
.hv-card.c2 { animation-delay: -2.2s; }
.hv-card.c3 { animation-delay: -4.1s; }
@keyframes glowPulse { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.06); } }
.hv-glow { animation: glowPulse 5s ease-in-out infinite; }
.hv-price { transition: color .25s; }
.hv-price.up-flash { color: #00e28a; }
.hv-price.down-flash { color: #ff6b84; }
#hvCountdown { color: var(--mint); font-variant-numeric: tabular-nums; font-weight: 700; }
.hv-num { transition: color .3s; }
.hv-num.tick { color: #7dffc6; }
.hv-btns .g, .hv-btns .r { transition: filter .25s; }
.hv-btns .g { animation: btnPulse 3.2s ease-in-out infinite; }
@keyframes btnPulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }

/* ---------- 登录 / 注册弹窗 ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-user {
  display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; color: #b9c5d1; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.03); text-decoration: none;
  transition: border-color .18s, color .18s;
}
a.nav-user:hover { color: #fff; border-color: rgba(0,226,138,.45); }
.nav-dep { height: 32px; padding: 0 14px; font-size: 12px; border-radius: 999px; }
.btn.link { border: 0; background: transparent; color: #8b98a5; font-size: 12px; padding: 8px 4px; }
.btn.link:hover { color: #fff; }

body.auth-open { overflow: hidden; }
.auth-mask {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 18px; background: rgba(3, 6, 9, .72); backdrop-filter: blur(6px);
  animation: maskIn .18s ease;
}
.auth-mask[hidden] { display: none; }
@keyframes maskIn { from { opacity: 0 } to { opacity: 1 } }
.auth-modal {
  position: relative; width: min(100%, 420px); max-height: calc(100vh - 36px); overflow-y: auto;
  padding: 30px 28px 24px; border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(0,226,138,.16), transparent 55%),
    linear-gradient(160deg, #0d141b, #070b10 72%);
  border: 1px solid rgba(0,226,138,.22);
  box-shadow: 0 40px 90px rgba(0,0,0,.65);
  animation: modalIn .22s cubic-bezier(.2,.8,.3,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }
.auth-close {
  position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #9aa7b4;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.auth-close:hover { color: #fff; border-color: rgba(0,226,138,.4); }
.auth-title { margin: 0 0 6px; font-size: 21px; font-weight: 850; letter-spacing: -.4px; }
.auth-sub { margin: 0 0 18px; font-size: 12px; color: #8b98a5; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #0a0f15; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { border: 0; background: transparent; color: #9fadba; font-size: 13px; font-weight: 800; padding: 9px 0; border-radius: 999px; cursor: pointer; }
.auth-tabs button.on { background: var(--mint); color: #04130d; }
.auth-label { display: block; font-size: 11.5px; color: #8b98a5; margin: 0 0 6px; }
.auth-modal input[type="email"], .auth-modal input[type="password"], .auth-modal input[type="text"] {
  width: 100%; height: 44px; margin-bottom: 14px; padding: 0 14px;
  border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.035);
  color: #eaf1f7; font-size: 14px; outline: none; transition: border-color .18s, background .18s;
}
.auth-modal input:focus { border-color: rgba(0,226,138,.55); background: rgba(0,226,138,.05); }
.auth-modal input::placeholder { color: #5f6c79; }

.cap { margin: 4px 0 14px; user-select: none; }
.cap-track {
  position: relative; height: 46px; border-radius: 12px; overflow: hidden;
  background: rgba(255,255,255,.045); border: 1px solid var(--line); touch-action: none;
}
.cap-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 46px; max-width: 100%; background: rgba(0,226,138,.16); }
.cap-handle {
  position: absolute; left: 0; top: 0; width: 46px; height: 44px; display: grid; place-items: center;
  border-radius: 11px; background: #e9f3f0; color: #06231a; font-weight: 900; font-size: 15px;
  cursor: grab; touch-action: none; box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.cap-handle:active { cursor: grabbing; }
.cap-label { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #8b98a5; pointer-events: none; }
.cap.ok .cap-track { border-color: rgba(0,226,138,.55); background: rgba(0,226,138,.10); }
.cap.ok .cap-handle { background: var(--mint); color: #04130d; }
.cap.ok .cap-label { color: var(--mint); font-weight: 800; }
.cap.fail .cap-track { border-color: rgba(255,77,106,.5); }
.cap.fail .cap-label { color: #ff758c; }

.auth-msg { min-height: 18px; margin: 0 0 10px; font-size: 12px; color: #ff758c; }
.auth-msg.ok { color: var(--mint); }
.auth-submit {
  width: 100%; height: 46px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--mint); color: #04130d; font-size: 15px; font-weight: 850;
  transition: filter .18s, opacity .18s;
}
.auth-submit:hover { filter: brightness(1.06); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.auth-foot { margin: 14px 0 0; font-size: 10.5px; color: #6b7885; text-align: center; }
.auth-foot a { color: #94a3b1; text-decoration: underline; }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  padding: 12px 20px; border-radius: 12px; z-index: 120;
  background: #0f1a16; border: 1px solid rgba(0,226,138,.4); color: #d8f5e9;
  font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(255,77,106,.45); color: #ffd9e1; background: #1a0f13; }

@media (max-width: 520px) {
  .auth-modal { padding: 26px 20px 20px; border-radius: 18px; }
  .nav-user { display: none; }
}

/* 品牌后缀：官方网站 */
.brand-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .6px; white-space: nowrap;
  color: var(--mint); background: rgba(0,226,138,.08);
  border: 1px solid rgba(0,226,138,.35); border-radius: 999px; padding: 3px 8px;
}
@media (max-width: 520px) {
  .brand-tag { display: none; }
}

/* ---------- 首屏：电影感实景轮播 ---------- */
.hero.cine {
  min-height: 88svh; padding: 118px 24px 104px;
  align-items: center; background: #04060a;
}
.hero.cine .slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #04060a; }
.hero.cine .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1300ms cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}
.hero.cine .slide.active { opacity: 1; }
.hero.cine .slide video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.04);
}
.hero.cine .slide.active video { animation: cineKen var(--dur, 7000ms) linear forwards; }
@keyframes cineKen {
  from { transform: scale(var(--s0, 1.04)) translate3d(var(--x0, 0), var(--y0, 0), 0); }
  to   { transform: scale(var(--s1, 1.14)) translate3d(var(--x1, 0), var(--y1, 0), 0); }
}

.cine-grade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, .95) 0%, rgba(4, 7, 10, .78) 32%, rgba(4, 7, 10, .34) 58%, rgba(4, 7, 10, .14) 100%),
    linear-gradient(180deg, rgba(4, 7, 10, .88) 0%, rgba(4, 7, 10, .16) 24%, rgba(4, 7, 10, .10) 58%, rgba(5, 7, 10, .97) 100%);
}
.cine-tint {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(118deg, rgba(0, 226, 138, .16) 0%, rgba(0, 226, 138, 0) 42%, rgba(0, 255, 180, .05) 100%);
  mix-blend-mode: soft-light;
}
.cine-grain {
  position: absolute; inset: -40%; z-index: 3; pointer-events: none; opacity: .06;
  mix-blend-mode: overlay; animation: cineGrain 700ms steps(5) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
@keyframes cineGrain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-3%, 2%, 0); }
  40% { transform: translate3d(2%, -3%, 0); }
  60% { transform: translate3d(-2%, -2%, 0); }
  80% { transform: translate3d(3%, 1%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.hero.cine .hero-inner { display: block; }
.hero.cine .hero-copy { max-width: 620px; }
.hero.cine h1 { text-shadow: 0 18px 70px rgba(0, 0, 0, .55); }
.hero.cine .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, .6); }

.cine-hud {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; align-items: flex-end; justify-content: flex-end; gap: 24px;
  padding: 0 32px 26px;
}
.scene-meta { display: flex; align-items: center; gap: 14px; }
.scene-idx { font-size: 11px; letter-spacing: .16em; color: #9fb0bf; font-variant-numeric: tabular-nums; }
.scene-name { font-size: 13.5px; font-weight: 800; color: #eaf1f7; }
.scene-en { font-size: 9.5px; letter-spacing: .22em; color: #7d8a97; }
.scene-meta.swap .scene-txt { animation: cineSwap .5s ease; }
@keyframes cineSwap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cine-bars { display: flex; align-items: center; gap: 6px; }
.cine-bars .bar {
  width: 46px; height: 4px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .22); overflow: hidden; cursor: pointer;
}
.cine-bars .bar i { display: block; height: 100%; width: 100%; background: var(--mint); transform: scaleX(0); transform-origin: left; }

.cine-gate {
  position: absolute; left: 50%; bottom: 19%; transform: translateX(-50%); z-index: 7;
  display: none; align-items: center; gap: 8px; padding: 11px 20px;
  border-radius: 999px; cursor: pointer; font-size: 12.5px;
  background: rgba(6, 10, 7, .72); border: 1px solid rgba(0, 226, 138, .4); color: #eaf7e2;
  backdrop-filter: blur(10px);
}
.cine-gate.show { display: inline-flex; }

@media (max-width: 820px) {
  .hero.cine { min-height: 82svh; padding: 96px 18px 84px; }
  .hero.cine .hero-copy { max-width: none; }
  .cine-hud { padding: 0 18px 18px; }
  .cine-bars .bar { width: 26px; }
  .scene-en { display: none; }
}

/* 首屏注册框：轮播中下方 */
.cine-cta {
  position: absolute; left: 0; right: 0; bottom: 92px; z-index: 6;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 24px;
}
.cine-cta .trust {
  margin-top: 0; gap: 18px; color: #c3cfc4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}
.cine-cta .signup {
  width: min(100%, 560px); max-width: 560px; margin: 0;
  background: rgba(8, 12, 17, .62);
  border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
@media (max-width: 820px) {
  .cine-cta { bottom: 82px; padding: 0 14px; }
  .cine-cta .signup { flex-wrap: nowrap; }
  .cine-cta .signup input { flex: 1 1 auto; min-width: 0; }
  .cine-cta .signup button[type="submit"] { padding: 0 16px; }
}

/* 隐藏首屏轮播进度条（保留自动轮播） */
.cine-hud { display: none !important; }

/* 隐藏「点击播放背景影像」按钮（首次交互时自动恢复播放） */
.cine-gate { display: none !important; }

/* ---------- 节点售卖页 ---------- */
.node-page { background: var(--bg); }
.node-main { max-width: 1280px; margin: 0 auto; padding: 96px 24px 20px; }

.node-crumb { display: flex; gap: 26px; border-bottom: 1px solid var(--line); padding-bottom: 0; margin-bottom: 34px; }
.node-crumb a {
  position: relative; padding: 0 0 14px; font-size: 13.5px; font-weight: 700; color: #8b98a5; text-decoration: none;
}
.node-crumb a.on { color: #fff; }
.node-crumb a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--mint);
  box-shadow: 0 0 14px rgba(0, 226, 138, .6);
}

.node-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; margin-bottom: 34px; }
.node-hero h1 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.4px; font-weight: 850; }
.node-hero p { margin: 0 0 16px; color: #9fadba; font-size: 14px; line-height: 1.8; }
.node-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 12px; color: #b7f5d8; background: rgba(0, 226, 138, .08); border: 1px solid rgba(0, 226, 138, .3);
}
.node-pill span { color: var(--mint); font-weight: 900; }
.node-art { justify-self: center; width: min(100%, 380px); }
.node-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 60px rgba(0, 226, 138, .12)); }

.node-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 34px; }
.nstep {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #0b1117, #080c11);
}
.nstep b {
  font-size: 20px; font-weight: 850; color: var(--mint); opacity: .85; letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.nstep h3 { margin: 0 0 3px; font-size: 14px; font-weight: 800; }
.nstep p { margin: 0; font-size: 11.5px; color: #8b98a5; }
.nstep i { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); font-style: normal; color: #3a4753; font-size: 18px; }

.node-tabs { display: inline-flex; gap: 4px; background: #0a0f15; border: 1px solid var(--line); padding: 4px; border-radius: 999px; margin-bottom: 20px; }
.node-tabs button { border: 0; background: transparent; color: #9fadba; font-size: 12.5px; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.node-tabs button.on { background: var(--mint); color: #04130d; }

.node-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.node-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 226, 138, .10), transparent 55%),
    linear-gradient(160deg, #0b1117, #080c11);
  transition: border-color .2s, transform .2s;
}
.node-card:hover { border-color: rgba(0, 226, 138, .35); transform: translateY(-2px); }
.node-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.node-badge {
  font-size: 10px; font-weight: 800; color: var(--mint); background: rgba(0, 226, 138, .12);
  border: 1px solid rgba(0, 226, 138, .32); border-radius: 999px; padding: 3px 9px;
}
.node-id { font-size: 10.5px; color: #6f7c89; letter-spacing: .08em; }
.node-card h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; }
.node-project { font-size: 11px; color: #7d8a97; margin-bottom: 14px; }
.node-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 10px; margin-bottom: 14px; }
.node-metrics span { display: block; font-size: 10.5px; color: #6f7c89; margin-bottom: 3px; }
.node-metrics b { font-size: 14px; font-weight: 850; font-variant-numeric: tabular-nums; }
.node-metrics em { font-style: normal; font-size: 10px; color: #8b98a5; font-weight: 600; }
.node-metrics .up { color: var(--mint); }
.node-progress { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.node-progress i { display: block; height: 100%; background: linear-gradient(90deg, rgba(0, 226, 138, .4), var(--mint)); }
.node-stock { display: flex; justify-content: space-between; font-size: 10.5px; color: #7d8a97; margin: 8px 0 14px; }
.node-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.node-limit { font-size: 10.5px; color: #6f7c89; }
.node-buy {
  padding: 9px 18px; border-radius: 10px; background: var(--mint); color: #04130d;
  font-size: 12.5px; font-weight: 850; text-decoration: none; box-shadow: 0 8px 24px -8px rgba(0, 226, 138, .7);
}
.node-buy:hover { filter: brightness(1.06); }

.node-empty { display: grid; place-items: center; gap: 8px; padding: 70px 0 80px; color: #6f7c89; }
.node-empty[hidden] { display: none; }
.node-empty-mark { font-size: 34px; color: #2b3742; }
.node-empty p { margin: 0; font-size: 13px; }

.node-faq { margin: 56px 0 30px; }
.node-faq h2 { text-align: center; font-size: clamp(24px, 3vw, 32px); letter-spacing: -1px; margin: 0 0 22px; font-weight: 850; }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; color: #e6edf4; cursor: pointer;
  padding: 18px 34px 18px 0; font-size: 14px; font-weight: 700; position: relative;
}
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: #7d8a97; font-size: 18px; }
.faq.open .faq-q::after { content: "–"; color: var(--mint); }
.faq-a { display: none; padding: 0 0 18px; }
.faq-a p { margin: 0; color: #9fadba; font-size: 13px; line-height: 1.85; }
.faq.open .faq-a { display: block; }

@media (max-width: 900px) {
  .node-main { padding: 88px 18px 12px; }
  .node-hero { grid-template-columns: 1fr; }
  .node-art { order: -1; width: min(100%, 300px); }
  .node-steps { grid-template-columns: 1fr; }
  .nstep i { display: none; }
  .node-crumb { gap: 18px; overflow-x: auto; }
}

/* 节点页提示 */
.node-toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 200;
  padding: 12px 20px; border-radius: 12px; font-size: 13px; font-weight: 700;
  background: #0f1a16; border: 1px solid rgba(0, 226, 138, .4); color: #d8f5e9;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
}

/* 我的节点面板 */
.node-mine {
  max-width: 1180px; margin: 0 auto 18px; padding: 16px 18px;
  border: 1px solid rgba(0, 226, 138, .25); border-radius: 16px;
  background: linear-gradient(160deg, #0b1318, #070b0f);
}
.node-mine-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.node-mine-head b { font-size: 15px; }
.node-mine-head button {
  background: none; border: 1px solid var(--line); color: #9fb0bf;
  border-radius: 8px; padding: 5px 10px; font-size: 11px; cursor: pointer;
}
.node-mine-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 12.5px;
}
.node-mine-row:last-child { border-bottom: 0; }
.node-mine-row .nm-name { font-weight: 700; }
.node-mine-row .nm-meta { color: #7d8a97; font-size: 11px; }
.node-mine-row .nm-odds { color: #00e28a; font-weight: 700; }
.node-mine-row .nm-off { color: #7d8a97; font-weight: 600; }

/* ---------- 现货交易页 ---------- */
.trade-page { background: #05070a; }
.t-main {
  max-width: 1600px; margin: 0 auto; padding: 78px 14px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.t-head {
  display: grid; grid-template-columns: 220px 200px 1fr; gap: 14px; align-items: center;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  background: linear-gradient(160deg, #0b1117, #080c11);
}
.t-pairbox select {
  width: 100%; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: #0b1219; color: #eaf1f7; font-size: 14px; font-weight: 800; padding: 0 10px; outline: none;
}
.t-pairname { font-size: 10.5px; color: #7d8a97; margin-top: 4px; }
.t-quote { display: flex; flex-direction: column; gap: 2px; }
.t-price { font-size: 24px; font-weight: 850; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.t-chg { font-size: 12px; font-weight: 700; }
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.t-stats span { display: block; font-size: 10px; color: #6f7c89; }
.t-stats b { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

.t-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px 300px; gap: 10px; min-height: 520px; }
.t-chartbox {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(160deg, #0a0f15, #070a0e); overflow: hidden; min-width: 0;
}
.t-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.t-periods { display: flex; gap: 2px; }
.t-periods button, .t-otabs button, .t-btabs button {
  border: 0; background: transparent; color: #8b98a5; font-size: 11.5px; font-weight: 700;
  padding: 5px 9px; border-radius: 7px; cursor: pointer;
}
.t-periods button.on, .t-otabs button.on { background: rgba(0, 226, 138, .14); color: var(--mint); }
.t-btabs button.on { background: rgba(255,255,255,.07); color: #fff; }
.t-ma { display: flex; gap: 10px; font-size: 10px; color: #7d8a97; flex-wrap: wrap; }
.t-canvas-wrap { position: relative; flex: 1; min-height: 380px; }
#tChart { display: block; width: 100%; height: 100%; }
#tChart a[href*="tradingview"] { display: none !important; }

.t-book {
  border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #0a0f15, #070a0e);
  display: flex; flex-direction: column; overflow: hidden;
}
.t-book-title, .t-brow { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; padding: 4px 10px; font-size: 10.5px; }
.t-book-title { color: #6f7c89; padding-top: 10px; }
.t-asks, .t-bids { display: flex; flex-direction: column; }
.t-brow {
  position: relative; border: 0; background: none; color: #b9c5d1; cursor: pointer;
  font-variant-numeric: tabular-nums; text-align: left;
}
.t-brow span { position: relative; z-index: 1; }
.t-brow i { position: absolute; right: 0; top: 1px; bottom: 1px; z-index: 0; opacity: .16; }
.t-brow.ask i { background: #ff4d6a; }
.t-brow.bid i { background: #00e28a; }
.t-brow.ask .t-bp { color: #ff758c; }
.t-brow.bid .t-bp { color: #4dffb0; }
.t-brow:hover { background: rgba(255,255,255,.04); }
.t-book-mid {
  display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; border-block: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.t-book-mid b { font-size: 17px; font-weight: 850; font-variant-numeric: tabular-nums; }
.t-book-mid i { font-style: normal; font-size: 10.5px; font-weight: 700; }
.t-book-foot { display: flex; justify-content: space-between; padding: 6px 10px; font-size: 10px; color: #6f7c89; margin-top: auto; }

.t-order { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #0a0f15, #070a0e); padding: 12px; }
.t-otabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #080d12; border: 1px solid var(--line); border-radius: 9px; padding: 3px; margin-bottom: 10px; }
.t-otabs button.on { background: var(--mint); color: #04130d; }
.t-avail { font-size: 10.5px; color: #7d8a97; margin-bottom: 8px; }
.t-avail b { color: #cfd8e1; }
.t-label { display: block; font-size: 10.5px; color: #6f7c89; margin: 8px 0 4px; }
.t-input {
  width: 100%; height: 38px; border-radius: 9px; border: 1px solid var(--line);
  background: rgba(255,255,255,.035); color: #fff; font-size: 14px; font-weight: 700;
  padding: 0 10px; outline: none; font-variant-numeric: tabular-nums;
}
.t-input:focus { border-color: rgba(0,226,138,.5); }
.t-input:disabled { opacity: .5; }
.t-pct { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.t-pct button { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #9fadba; border-radius: 7px; padding: 5px 0; font-size: 10.5px; cursor: pointer; }
.t-pct button:hover { color: #fff; border-color: rgba(0,226,138,.4); }
.t-total { font-size: 10.5px; color: #7d8a97; margin: 10px 0; }
.t-total b { color: #cfd8e1; }
.t-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t-buy, .t-sell { height: 40px; border: 0; border-radius: 10px; font-size: 14px; font-weight: 850; cursor: pointer; }
.t-buy { background: var(--mint); color: #04130d; }
.t-sell { background: #ff4d6a; color: #fff; }
.t-buy:disabled, .t-sell:disabled { opacity: .6; cursor: not-allowed; }
.t-hint { margin: 10px 0 0; font-size: 10px; color: #5f6c79; line-height: 1.6; }

.t-bottom { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(160deg, #0a0f15, #070a0e); overflow: hidden; }
.t-btabs { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.t-table { max-height: 260px; overflow-y: auto; }
.t-row {
  display: grid; grid-template-columns: 1.25fr 1fr .7fr .9fr .9fr .9fr .7fr;
  gap: 6px; padding: 8px 12px; font-size: 11px; color: #a7b4c1; border-top: 1px solid rgba(255,255,255,.04);
  font-variant-numeric: tabular-nums;
}
.t-row.t-head { color: #6f7c89; border-top: 0; font-size: 10.5px; }
.t-row .up { color: var(--mint); }
.t-row .down { color: #ff758c; }
.t-cancel { border: 1px solid var(--line); background: none; color: #9fadba; border-radius: 6px; padding: 2px 8px; font-size: 10.5px; cursor: pointer; }
.t-cancel:hover { color: #fff; border-color: rgba(255,77,106,.5); }
.t-empty { display: block; padding: 26px 14px; text-align: center; color: #6f7c89; font-size: 12px; }

@media (max-width: 1180px) {
  .t-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .t-chartbox { grid-column: 1 / -1; min-height: 420px; }
  .t-head { grid-template-columns: 200px 180px 1fr; }
}
@media (max-width: 820px) {
  .t-main { padding: 74px 10px 14px; }
  .t-head { grid-template-columns: 1fr; gap: 10px; }
  .t-stats { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; }
  .t-chartbox { min-height: 360px; }
  .t-book, .t-order { width: 100%; }
  .t-row { grid-template-columns: 1.1fr .9fr .8fr .9fr .8fr; }
  .t-row span:nth-child(6), .t-row span:nth-child(7) { display: none; }
}

@media (max-width: 820px) {
  .t-chartbox { order: 1; }
  .t-order { order: 2; }
  .t-book { order: 3; }
}
#tChart { max-width: 100%; }

.t-loading {
  position: absolute; right: 78px; top: 10px; z-index: 4;
  padding: 4px 10px; border-radius: 999px; font-size: 10.5px;
  color: #cfd8e1; background: rgba(8, 12, 17, .75); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

/* ---------- 移动端导航 ---------- */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; margin-left: auto;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04);
  color: #e6edf4; font-size: 16px; cursor: pointer; line-height: 1;
}
.nav-toggle:hover { border-color: rgba(0, 226, 138, .45); color: var(--mint); }
.nav-actions { flex-shrink: 0; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; margin-left: 0; order: 3; }
  .nav-actions { margin-left: auto; order: 2; }
  .nav.open .menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0; z-index: 60;
    padding: 8px 16px 14px;
    background: rgba(5, 7, 10, .97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  }
  .nav.open .menu a {
    padding: 12px 6px; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .05);
  }
  .nav.open .menu a:last-child { border-bottom: 0; }
  .nav.open .menu a.active { color: var(--mint); }
}
.node-mine-row .nm-claim { display: flex; align-items: center; gap: 10px; }
.node-mine-row .nm-amount { font-size: 11.5px; color: #d8f5e9; font-family: ui-monospace, Menlo, monospace; }
.node-claim {
  background: rgba(0, 226, 138, .12); border: 1px solid rgba(0, 226, 138, .45);
  color: #00e28a; border-radius: 8px; padding: 5px 12px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.node-claim:disabled { opacity: .4; cursor: not-allowed; }
