:root, [data-theme="dark"] {
  --bg: #07101e;
  --bg2: #0b1730;
  --card: #121c33;
  --card2: #18243f;
  --line: rgba(255,255,255,.08);
  --text: #f4f7ff;
  --muted: #8d97ad;
  --blue: #1a73e8;
  --blue2: #3d8bfd;
  --gold: #e6c35c;
  --ok: #3dd68c;
  --danger: #ff6b7a;
  --tab: #05070d;
  --shadow: 0 10px 30px rgba(0,0,0,.28);
  --hero: radial-gradient(circle at 80% 20%, rgba(26,115,232,.25), transparent 42%), linear-gradient(180deg, #0c1a33, #07101e);
}
[data-theme="light"] {
  --bg: #f3f6fb;
  --bg2: #e8eef6;
  --card: #ffffff;
  --card2: #f7f9fd;
  --line: rgba(30,60,120,.10);
  --text: #152033;
  --muted: #6a7b92;
  --blue: #2f74e8;
  --blue2: #4c8dff;
  --gold: #c4922a;
  --ok: #129a64;
  --danger: #e04b5a;
  --tab: #ffffff;
  --shadow: 0 12px 30px rgba(30,50,90,.08);
  --hero: radial-gradient(circle at 80% 10%, rgba(47,116,232,.16), transparent 46%), linear-gradient(180deg, #eef4ff, #f3f6fb);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 400;
  background: var(--bg2);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
b, strong { font-weight: 600; }
h1, h2, h3 { font-weight: 600; }
button, input { font: inherit; font-weight: 500; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
.stage {
  height: 100%;
  display: grid;
  justify-items: center;
  background:
    radial-gradient(900px 420px at 18% -8%, rgba(26,115,232,.16), transparent 55%),
    var(--bg2);
}
.phone {
  width: 100%;
  max-width: 430px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
@media (min-width: 760px) {
  .stage { padding: 24px 0; align-items: center; }
  .phone {
    height: 844px;
    min-height: 844px;
    max-height: 844px;
    border-radius: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
}
.topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 8px;
  flex: none;
  z-index: 20;
  overflow: hidden;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
}
.chip, .wallet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 12px;
  white-space: nowrap;
}
.chip img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}
.topbar .chip:first-child {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}
.topbar .chip:first-child span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar .net { flex: 0 0 auto; }
.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.theme-btn {
  width: 32px;
  min-width: 32px;
  padding: 0;
  justify-content: center;
  color: var(--gold);
}
.theme-btn svg { width: 18px; height: 18px; display: block; }
.wallet-btn {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 999px;
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  flex: 0 0 auto;
  overflow: visible;
}
.flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
  display: block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}
[data-theme="dark"] .flag { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.pager {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.track {
  flex: 1 1 auto;
  min-height: 0;
  height: 0;
  display: flex;
  will-change: transform;
}
.page {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 16px 28px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  display: block;
}
.puller {
  height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.puller i {
  width: 16px; height: 16px; flex: none;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
}
.puller.spin i { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 2px 22px;
}
.hero h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; }
.hero p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.hero-art {
  width: 86px; height: 86px; flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #2a5cb0, #0b1b36 68%);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(120,170,255,.18);
}
[data-theme="light"] .hero-art {
  background: radial-gradient(circle at 36% 30%, #ffffff 0%, #e4eefe 62%, #cddff8 100%);
  box-shadow: 0 8px 18px rgba(47,116,232,.12), inset 0 0 0 1px rgba(47,116,232,.16);
}
[data-theme="light"] .hero-ring { stroke: #8fb4f0; opacity: .95; }
[data-theme="light"] .hero-hex { fill: #f7faff; opacity: 1; }
[data-theme="light"] .hero-visor { fill: #3d5c8c; }
[data-theme="light"] .hero-mouth { stroke: #3d5c8c; }
.ticker {
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.ticker .bell { color: var(--blue); flex: none; }
.marquee { overflow: hidden; flex: 1; }
.marquee span {
  display: inline-block;
  white-space: nowrap;
  animation: slide 18s linear infinite;
  color: var(--muted); font-size: 12px;
}
@keyframes slide { from { transform: translateX(12%); } to { transform: translateX(-100%); } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}
.card-auth {
  padding: 22px 16px 26px;
  position: relative;
  background:
    radial-gradient(circle at 92% 8%, rgba(230,195,92,.18), transparent 34%),
    linear-gradient(180deg, #1a2a4c 0%, #121c33 72%);
  border: 1px solid rgba(77, 138, 232, .42);
  box-shadow:
    0 12px 28px rgba(8, 16, 36, .38),
    0 0 0 1px rgba(61, 139, 253, .12) inset;
}
.card-auth .auth-hint {
  margin: 22px 0 24px;
  font-size: 13px;
  line-height: 1.55;
  color: #c5d2ea;
}
.card-auth .btn {
  height: 48px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(26, 115, 232, .32);
}
[data-theme="light"] .card-auth {
  background:
    radial-gradient(circle at 92% 8%, rgba(230,195,92,.22), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid rgba(47, 116, 232, .28);
  box-shadow:
    0 12px 26px rgba(30, 50, 90, .10),
    0 0 0 1px rgba(47, 116, 232, .08) inset;
}
[data-theme="light"] .card-auth .auth-hint {
  color: #4d6280;
}
.h { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.cols-2,
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
}
.cols-2 > :nth-child(2n),
.stats > :nth-child(2n) {
  text-align: right;
}
.stats { row-gap: 14px; }
.stats small { color: var(--muted); font-size: 12px; display: block; }
.stats b { font-size: 16px; font-weight: 600; }
.auth-kv {
  row-gap: 14px;
  align-items: baseline;
}
.auth-kv-title,
.auth-kv #hCum {
  font-size: 16px;
  font-weight: 600;
}
.vip-banner {
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,220,80,.9), transparent 32%),
    linear-gradient(135deg, #2a4bff 0%, #6a3dff 42%, #f0c14b 120%);
  font-size: 13px; font-weight: 400; line-height: 1.45;
}
[data-theme="light"] .vip-banner {
  background:
    radial-gradient(circle at 88% 16%, rgba(255,210,90,.42), transparent 36%),
    linear-gradient(135deg, #4d86f2 0%, #7380f2 48%, #e2b24a 128%);
}
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.muted { color: var(--muted); font-size: 12px; }
.green { color: var(--ok); font-weight: 400; }
.btn {
  display: block; width: 100%; height: 46px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 500; font-size: 15px;
}
.btn:disabled { opacity: .55; }
.btn.ghost { background: var(--card2); color: var(--text); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { color: var(--muted); font-weight: 500; text-align: left; padding: 10px 0; }
.table td { padding: 10px 0; border-top: 1px solid var(--line); }
.rank-head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  padding: 0 10px 8px;
}
.rank-wrap {
  height: 400px;
  overflow: hidden;
}
.rank-wrap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rank-wrap li {
  height: 68px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-sizing: border-box;
  box-shadow: inset 0 -1px 0 var(--line);
}
.rank-wrap li.rank-empty {
  height: auto;
  min-height: 68px;
  justify-content: center;
  box-shadow: none;
}
.rank-ico {
  width: 28px;
  height: 28px;
  flex: none;
  display: block;
}
.rank-addr {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.rank-amt {
  flex: none;
  font-size: 14px;
  white-space: nowrap;
  text-align: right;
}
.rank-usdt {
  color: var(--blue2);
  margin-left: 4px;
}
.faq-item { border-top: 1px solid var(--line); padding: 2px 0; }
.faq-item:first-child { border-top: 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  width: 100%; text-align: left; padding: 12px 0;
  font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.45;
}
.faq-q em { font-style: normal; font-weight: 500; }
.faq-arr {
  color: var(--muted); flex: none; font-size: 12px;
  transition: transform .2s ease; line-height: 1;
}
.faq-a { display: none; color: var(--muted); font-size: 13px; line-height: 1.65; padding: 0 0 12px; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arr { transform: rotate(180deg); }
.home-sec { margin: 24px 0 28px; }
.sec-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}
.sec-sub {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 18px;
}
.audit-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.audit-card {
  height: 54px;
  border-radius: 8px;
  background: #e8eaee;
  display: grid;
  place-items: center;
  padding: 8px 6px;
}
.audit-card img { width: 100%; height: 28px; object-fit: contain; display: block; }
[data-theme="light"] .audit-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(20, 32, 56, .06);
}
.partner-box {
  background: #121a2b;
  border-radius: 16px;
  padding: 22px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 12px;
}
[data-theme="light"] .partner-box {
  background: var(--card);
  border: 1px solid var(--line);
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b93a7;
  font-size: 14px;
  min-width: 0;
}
[data-theme="light"] .partner-item { color: var(--muted); }
.p-ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #111;
}
.p-ico img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  display: block;
}
.big-num { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0; }
.center { text-align: center; }
.kv { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.empty { text-align: center; padding: 22px 8px; color: var(--muted); }
.empty svg { width: 86px; height: 86px; margin-bottom: 6px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.feat div {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; font-size: 13px;
}
.gold { color: var(--gold); }
.svc-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 148px;
  margin-top: 24px;
  margin-bottom: 22px;
  padding: 18px 16px 22px;
  background:
    radial-gradient(circle at 78% 30%, rgba(80,120,200,.35), transparent 42%),
    linear-gradient(135deg, #0c1730 0%, #15264a 55%, #0e1a36 100%);
  color: #fff;
}
[data-theme="light"] .svc-banner {
  background:
    radial-gradient(circle at 78% 30%, rgba(80,140,255,.28), transparent 42%),
    linear-gradient(135deg, #1d4f9c 0%, #2f74e8 60%, #1a3f86 100%);
}
.svc-banner-text { position: relative; z-index: 1; max-width: 58%; }
.svc-l1 { font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.svc-l2 { font-size: 18px; font-weight: 500; margin-top: 4px; }
.svc-l3 { font-size: 13px; color: rgba(255,255,255,.78); margin-top: 8px; line-height: 1.4; }
.svc-banner-art {
  position: absolute; right: -6px; top: 4px;
  width: 150px; height: 118px;
}
.svc-slides { position: relative; min-height: 148px; overflow: hidden; }
.svc-rail { position: relative; }
.svc-slide { display: none; }
.svc-slide.on { display: block; }
.svc-banner.has-img { padding: 0; min-height: 0; }
.svc-banner.has-img .svc-slides {
  min-height: 0;
  aspect-ratio: 750 / 280;
  overflow: hidden;
}
.svc-banner.has-img .svc-rail {
  display: flex;
  height: 100%;
  will-change: transform;
}
.svc-banner.has-img #svcFallback { display: none; }
.svc-banner.has-img .svc-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}
.svc-banner.has-img .svc-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.svc-dots {
  position: absolute; left: 0; right: 0; bottom: 8px;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.svc-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.28); display: block;
  transition: width .24s ease, background .24s ease;
}
.svc-dots i.on { background: #fff; width: 14px; border-radius: 8px; }
.svc-title {
  font-size: 14px; font-weight: 600; line-height: 1.4;
  margin: 10px 0 16px;
  text-align: center;
}
.svc-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.svc-qcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.svc-qico {
  width: 42px; height: 42px; margin: 0 auto 8px;
  color: var(--gold);
}
.svc-qico svg { width: 42px; height: 42px; }
.svc-slogan { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 24px; }
.svc-h { font-size: 16px; font-weight: 600; margin: 14px 0 16px; }
.svc-h-center { text-align: center; font-size: 20px; margin: 12px 0 18px; }
.svc-feats { display: grid; gap: 16px; margin-bottom: 28px; }
.svc-feat {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
}
.svc-fico {
  width: 48px; height: 48px; flex: none;
  color: var(--gold);
  display: grid; place-items: center;
}
.svc-fico svg { width: 36px; height: 36px; }
.svc-feat b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.svc-feat p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.svc-faq { margin-bottom: 24px; }
.svc-faq .faq-item { border-top: 1px solid var(--line); padding: 2px 0; }
.coop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 8px; }
.coop-cell {
  height: 52px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 500; font-size: 14px; letter-spacing: .02em;
  background: #fff; color: #111;
}
[data-theme="dark"] .coop-cell { background: #f4f6fb; }
.c-binance { color: #f0b90b; }
.c-lbank { color: #1a73e8; }
.c-kraken { color: #5741d9; }
.c-cdc { color: #002d74; font-size: 13px; }
.c-okx { color: #111; }
.c-bitfinex { color: #16b157; font-size: 13px; }
.ico {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(230,195,92,.12);
  display: grid; place-items: center; color: var(--gold); flex: none;
}
.tabs { display: flex; gap: 28px; margin: 8px 0 18px; }
.tabs button { color: var(--muted); padding: 8px 0 10px; font-weight: 500; font-size: 15px; position: relative; }
.tabs button.on { color: var(--text); }
.tabs button.on:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--gold); border-radius: 3px;
}
.invite-hero { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0 16px; }
.inv-title { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0; }
.inv-sub { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.inv-art {
  width: 92px; height: 92px; flex: none;
  border-radius: 50%;
}
[data-theme="light"] .inv-art .inv-bg { fill: #d7e6ff; }
.copybox {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 10px 10px 14px;
  margin-bottom: 18px;
}
.copy-label { color: var(--muted); font-size: 13px; }
.copybox .btn { width: auto; height: 34px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.inv-steps {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 14px 8px;
}
.inv-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; }
.inv-step + .inv-step { border-top: 1px solid var(--line); }
.inv-ico { width: 36px; height: 36px; flex: none; color: var(--gold); margin-top: 2px; }
.inv-ico svg { width: 36px; height: 36px; display: block; }
.inv-step b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.inv-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.earn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.earn-grid small { color: var(--muted); display: block; }
.input {
  width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card2); color: var(--text); padding: 0 12px 0 12px;
  outline: none;
}
.input-wrap { position: relative; }
.input-wrap .all {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  color: var(--blue); font-weight: 500; font-size: 13px;
}
.tabbar {
  position: relative;
  flex: none;
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--tab);
  border-top: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  z-index: 30;
}
.tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #f2f4f8;
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: 0;
}
.tabbar button.on { color: #F0B90B; }
.tabbar svg { width: 22px; height: 22px; display: block; }
.tabbar .tab-home .ico-home { width: 24px; height: 24px; }
[data-theme="light"] .tabbar {
  background: var(--tab);
  border-top: 1px solid var(--line);
}
[data-theme="light"] .tabbar button { color: #5a6578; }
[data-theme="light"] .tabbar button.on { color: #c4922a; }
.ico-home .home-sq {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.ico-home .home-line {
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico-home .home-dot { fill: currentColor; }
.tabbar button.on .ico-home .home-sq {
  fill: currentColor;
  stroke: none;
}
.tabbar button.on .ico-home .home-line { stroke: #1a1400; }
.tabbar button.on .ico-home .home-dot { fill: #1a1400; }
[data-theme="light"] .tabbar button.on .ico-home .home-line { stroke: #fff; }
[data-theme="light"] .tabbar button.on .ico-home .home-dot { fill: #fff; }
.sheet {
  position: absolute; inset: 0; background: rgba(0,0,0,.28); z-index: 50;
  display: none;
}
.sheet.show { display: block; }
.sheet .box {
  position: absolute;
  top: 50px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px 10px;
  max-height: min(68%, 460px);
  overflow: auto;
  box-shadow: var(--shadow);
}
.sheet.drop-lang .box { left: 12px; width: min(230px, calc(100% - 24px)); }
.sheet.drop-net .box { left: 50%; transform: translateX(-50%); width: min(260px, calc(100% - 24px)); }
.sheet.drop-net .net-hint { margin: 0 0 10px; padding: 0 4px; font-size: 12px; line-height: 1.45; }
.usdc-auth-card { border: 1px solid rgba(255, 193, 7, 0.35); background: rgba(255, 193, 7, 0.08); }
.sheet.drop-wallet .box { left: 12px; right: 12px; width: auto; }
.sheet h3 { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.lang-row, .wallet-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 6px; border-bottom: 1px solid var(--line); width: 100%; text-align: left;
}
.lang-row img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}
.lang-row img.flag {
  width: 32px;
  height: 22px;
  border-radius: 4px;
}
.wallet-row img { width: 28px; height: 28px; border-radius: 6px; }
.lang-row .ck { margin-left: auto; color: var(--gold); }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.wallet-grid button {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px;
}
.wallet-grid button.def { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.wallet-grid button em { font-style: normal; font-size: 10px; color: var(--gold); }
.sheet.modal-center {
  display: none;
  z-index: 70;
  background: rgba(4, 10, 22, .55);
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}
[data-theme="light"] .sheet.modal-center { background: rgba(18, 32, 56, .38); }
.sheet.modal-center.show { display: flex; }
.sheet.modal-center .box,
.sheet.modal-center .auth-box {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  width: min(340px, 100%);
  max-height: min(78dvh, 520px);
  padding: 18px 16px 16px;
  border-radius: 18px;
}
.auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card2);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  line-height: 1;
  font-size: 20px;
}
.auth-title {
  margin: 0 0 10px;
  padding: 0 28px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.auth-q {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
}
.auth-meta {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.auth-meta .dot { color: var(--ok); margin-right: 4px; }
.auth-card {
  background: var(--card2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}
.auth-card .lab { color: var(--muted); font-size: 12px; }
.auth-card .val { margin-top: 6px; font-size: 14px; word-break: break-all; }
.auth-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-acts .btn { width: 100%; }
.addr-full {
  margin: 4px 0 16px;
  padding: 12px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-all;
}
.toast {
  position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: rgba(20,28,48,.92); color: #fff; padding: 8px 14px; border-radius: 20px;
  font-size: 13px; display: none; z-index: 80; white-space: nowrap;
}
[data-theme="light"] .toast { background: rgba(21,32,51,.92); }
.ann-fab {
  position: absolute;
  z-index: 40;
  right: 8px;
  top: 42%;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.ann-fab.dragging { cursor: grabbing; }
.ann-fab.dragging i { animation: none; }
.ann-fab i {
  display: block;
  width: 16px;
  height: 16px;
  margin: 10px;
  border-radius: 50%;
  background: rgba(61, 139, 253, .42);
  border: 1px solid rgba(255, 255, 255, .38);
  box-shadow: 0 0 10px rgba(61, 139, 253, .35);
  animation: ann-breathe 2.4s ease-in-out infinite;
  pointer-events: none;
}
[data-theme="light"] .ann-fab i {
  background: rgba(47, 116, 232, .38);
  border-color: rgba(47, 116, 232, .48);
}
@keyframes ann-breathe {
  0%, 100% { transform: scale(1); opacity: .5; box-shadow: 0 0 6px rgba(61,139,253,.22); }
  50% { transform: scale(1.28); opacity: .95; box-shadow: 0 0 14px 4px rgba(61,139,253,.42); }
}
.ann-box {
  width: min(360px, 100%);
  max-height: min(78dvh, 560px);
  display: flex;
  flex-direction: column;
}
.ann-list {
  overflow: auto;
  min-height: 72px;
  margin-top: 4px;
}
.ann-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.ann-item:first-child { border-top: 0; padding-top: 0; }
.ann-item h4 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.ann-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.ann-item time {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 12px;
  text-align: right;
}
.sheet.modal-center .msg-box {
  width: min(360px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow);
}
.msg-box .auth-close {
  background: var(--card2);
  border-color: var(--line);
  color: var(--muted);
}
.sheet .msg-title,
.msg-box .msg-title {
  margin: 0;
  padding: 4px 28px 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: #000;
  text-align: center;
  letter-spacing: .02em;
}
[data-theme="dark"] .sheet .msg-title,
[data-theme="dark"] .msg-box .msg-title { color: #fff; }
.msg-body {
  margin: 0;
  padding: 16px 4px 2px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: min(50dvh, 360px);
  overflow: auto;
  text-align: left;
}
.hidden { display: none !important; }
.theme-mini { margin-left: 8px; color: var(--muted); font-size: 12px; }
.subpage { display: none; }
.subpage.on { display: block; }
.gold-link { color: var(--gold); font-size: 12px; }
.amt { font-variant-numeric: tabular-nums; }
.logs li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.logs small { color: var(--muted); display: block; }
