:root {
  --bg: #060708;
  --bg-soft: #0a0b0b;
  --panel: #0d0f0e;
  --panel-2: #12150f;
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(255, 255, 255, 0.42);
  --hairline: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #bfc7ba;
  --muted-2: #8b9386;
  --accent: #39ff14;
  --accent-soft: rgba(57, 255, 20, 0.12);
  --accent-2: #7fe3c4;
  --danger: #ff7a7a;
  --warn: #ffc857;
  --radius: 22px;
  --max: 1180px;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --sans: "HarmonyOS Sans SC", "MiSans", "OPPO Sans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 104px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; }
p { margin: 0; }
code, .mono { font-family: var(--mono); }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(880px 500px at 10% -8%, rgba(57, 255, 20, 0.12), transparent 62%),
    radial-gradient(720px 460px at 94% 3%, rgba(127, 227, 196, 0.08), transparent 60%),
    radial-gradient(900px 680px at 50% 110%, rgba(70, 110, 227, 0.08), transparent 65%),
    var(--bg);
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: #060708;
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent);
  color: #07090c;
  transition: transform 0.22s;
}
.brand:hover .brand-mark {
  transform: translateY(-1px);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15px; letter-spacing: 0.02em; }
.brand-text strong em { font-style: normal; color: var(--accent); }
.brand-text span { font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }

.nav { display: flex; gap: 22px; margin-left: 10px; flex: 1; }
.nav a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.live-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}
.live-pill.is-error i { background: var(--danger); box-shadow: 0 0 10px rgba(255, 107, 107, 0.7); }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px 72px; }

.maintenance-banner {
  margin-top: 20px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 200, 87, 0.35);
  border-radius: 12px;
  background: rgba(255, 200, 87, 0.10);
  color: #ffd88a;
  font-size: 14px;
  line-height: 1.5;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 56px;
  align-items: start;
  padding: 76px 0 68px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow span { color: var(--accent); }
.eyebrow b {
  font-weight: 500;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.042em;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero-sub {
  max-width: 560px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 20px 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-label { font-size: 11.5px; color: var(--muted); letter-spacing: 0.08em; }
.stat-value {
  font-family: var(--mono);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: break-all;
}
.stat-unit { font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; }

.funds-stats { margin-top: 0; border-top: 0; }

.login-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.login-head { display: flex; align-items: center; gap: 10px; }
.login-head h2 { font-size: 16px; }
.login-head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.8);
}
.login-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  border: 1px solid rgba(70, 227, 196, 0.3);
  padding: 3px 7px;
  border-radius: 4px;
}
.login-hint { color: var(--muted); font-size: 12.5px; margin: 12px 0 18px; }
.login-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.login-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  border: 1px solid rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.08);
  color: #ffb4b4;
}
.login-note.is-ok {
  border-color: rgba(57, 255, 20, 0.28);
  background: var(--accent-soft);
  color: #d9ffcd;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  background: #070908;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input::placeholder { color: var(--muted-2); font-family: inherit; }
.field input:focus {
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08);
}
.login-card .field input { margin-bottom: 14px; }

/* 钱包登录卡: 连接按钮 + 两个跳转按钮 */
.btn-wallet {
  width: 100%;
  margin-top: 14px;
  background: #11140e;
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-wallet:hover { background: #171b12; border-color: rgba(57, 255, 20, 0.45); color: var(--accent); }
.btn-wallet:disabled { opacity: 0.55; cursor: not-allowed; }
/* 未连接钱包: 红色提示"点击此处连接钱包" */
.btn-wallet.is-disconnected {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(255, 122, 122, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.18), 0 10px 26px rgba(255, 122, 122, 0.22);
  animation: walletPulse 1.7s ease-in-out infinite;
}
.btn-wallet.is-disconnected:hover {
  border-color: var(--danger);
  color: #ff9a9a;
  background: rgba(255, 122, 122, 0.14);
}
@keyframes walletPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.18), 0 10px 26px rgba(255, 122, 122, 0.22); }
  50%      { box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.42), 0 12px 30px rgba(255, 122, 122, 0.36); }
}
.login-card .wallet-tip { margin-top: 12px; font-size: 11.5px; }
.login-card .wallet-info { margin: 12px 0 14px; }
/* 登录卡操作区: 玻璃拟态定义见下方 .btn 之后的 .btn.hero-lead / .btn.hero-card */
.wallet-state {
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s, background 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--accent);
  color: #07090c;
}
.btn-primary:hover { transform: translateY(-1px); background: #63ff4f; }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
#login-btn { width: 100%; }

/* ========== 登录卡操作区: 两个实心按钮并排 ==========
   放在 .btn 之后并用双类选择器, 避免被 .btn / .btn-primary 覆盖 */
.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

/* 主按钮「参与共建」: 纯色绿底, 无渐变无光效 */
.btn.hero-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #0b0f07;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn.hero-lead:hover { transform: translateY(-1px); background: #63ff4f; }
.btn.hero-lead:active { transform: translateY(0); background: #1fd600; }
.btn.hero-lead svg { width: 16px; height: 16px; flex: none; }

/* 次按钮「查询我的数据」: 纯深色底, 与主按钮同高 */
.btn.hero-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e9ede1;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel-2);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn.hero-card:hover {
  transform: translateY(-1px);
  border-color: rgba(57, 255, 20, 0.45);
  background: #171b12;
  color: var(--accent);
}
.btn.hero-card:active { transform: translateY(0); }
.btn.hero-card svg { width: 15px; height: 15px; flex: none; color: var(--accent); }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section { padding: 56px 0; border-top: 1px solid var(--hairline); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 9px;
}
.section-index::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.5), transparent);
}
.section-head h2 { font-size: clamp(22px, 2.4vw, 30px); }
.section-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.ghost-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.ghost-btn:hover { color: var(--text); border-color: var(--line-strong); }

.period-tabs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.period-select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(57, 255, 20, 0.45);
  background: #101311;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.period-select-toggle:hover { border-color: var(--accent); }
.period-select-toggle .pst-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.period-select-toggle .pst-main b { font-size: 13.5px; }
.period-select-toggle .pst-main > span {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em;
}
.period-select-toggle .mini-chip {
  position: static;
  align-self: flex-start;
  margin-bottom: 2px;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(57, 255, 20, 0.4);
  color: var(--accent);
  letter-spacing: 0.06em;
}
.period-select-toggle .pst-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.period-select-toggle .chev { width: 12px; height: 12px; transition: transform 0.18s; }
.period-select-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.period-select-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c0f0d;
}
.period-select-list .period-tab { width: 100%; min-width: 0; }
.period-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 172px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0c0f0d;
  text-align: left;
  transition: border-color 0.18s, background 0.18s;
}
.period-tab:hover { border-color: var(--line-strong); }
.period-tab.is-active {
  border-color: rgba(57, 255, 20, 0.45);
  background: #141a10;
}
.period-tab b { font-size: 13px; }
.period-tab span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }
.period-tab .mini-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.period-tab.is-mine .mini-chip { color: var(--accent); border-color: rgba(57, 255, 20, 0.4); }

.period-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #0d100e;
  box-shadow: none;
  overflow: hidden;
}
.period-main { padding: 28px 30px; border-right: 1px solid var(--line); }
.period-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.period-title-row h3 { font-size: 19px; }
.status-chip {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.status-chip.is-closed {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}
.status-chip.is-upcoming {
  border-color: rgba(255, 200, 87, 0.35);
  background: rgba(255, 200, 87, 0.1);
  color: var(--warn);
}
.period-note { color: var(--muted); font-size: 13px; margin-top: 12px; line-height: 1.75; }
.address-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #080a08;
}
.address-label { font-size: 10.5px; color: var(--muted); letter-spacing: 0.08em; width: 100%; }
.address-box code {
  font-size: 12px;
  letter-spacing: 0.01em;
  word-break: break-all;
  color: var(--accent-2);
  flex: 1;
  min-width: 180px;
}
.copy-btn, .explorer-link {
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
}
.copy-btn:hover, .explorer-link:hover { color: var(--accent); border-color: rgba(57, 255, 20, 0.4); }

.period-progress { padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.progress-head span { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.progress-head strong {
  font-family: var(--mono);
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.progress-track {
  height: 10px;
  border-radius: 999px;
  background: #1b1e19;
  overflow: hidden;
  margin-top: 10px;
}
.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.progress-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.progress-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #101311;
  min-width: 0;
}
.progress-stat span { font-size: 10px; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.progress-stat b {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: break-word;
}
/* 目标: 纯色高亮, 让金额一眼可见 */
.progress-stat.is-target {
  border-color: rgba(57, 255, 20, 0.45);
  background: #141a10;
}
.progress-stat.is-target span { color: #cfe8a4; }
.progress-stat.is-target b {
  font-size: 17px;
  color: var(--accent);
}
/* 剩余: 青色强调, 与目标区分 */
.progress-stat.is-remain { border-color: rgba(127, 227, 196, 0.32); }
.progress-stat.is-remain b { color: var(--accent-2); }
.progress-stat.is-remain.is-done { border-color: rgba(57, 255, 20, 0.4); background: #141a10; }
.progress-stat.is-remain.is-done b { color: var(--accent); }
.progress-stat.is-percent b { font-size: 17px; }
.period-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.period-mini b { color: var(--text); font-family: var(--mono); }

.fine-print { margin-top: 16px; font-size: 11px; color: var(--muted-2); line-height: 1.7; }

.mine-section { position: relative; }
.mine-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 54px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #0a0c0b;
}
.mine-locked[hidden] { display: none; }
.lock-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--accent);
}
.lock-mark svg { width: 25px; height: 25px; }
.mine-locked p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric {
  background: #0c0f0d;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.07em; }
.metric strong { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; word-break: break-all; }
.metric small { font-size: 10.5px; color: var(--muted-2); }

/* 我的数据里的盟主战况：只给共建成员看的小卡片，不单独占一个大区块 */
.mine-lords {
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.mine-lords-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mine-lords-title { font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); }
.mine-lords-note { font-size: 10.5px; color: var(--accent); opacity: 0.85; }
.mine-lords-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.mine-lords-stats > div { display: flex; flex-direction: column; gap: 2px; }
.mine-lords-stats span { font-size: 10.5px; color: var(--muted); }
.mine-lords-stats strong { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--accent); letter-spacing: -0.01em; }
.mine-lords-periods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mine-lords-periods:empty { display: none; }
.lords-chip {
  border: 1px solid var(--hairline); border-radius: 999px;
  padding: 4px 10px; font-size: 10.5px; color: var(--muted-2);
}
.lords-chip b { color: var(--muted); font-weight: 600; margin-right: 6px; }
@media (max-width: 640px) {
  .mine-lords-stats { gap: 22px; }
  .mine-lords-stats strong { font-size: 19px; }
}

.mine-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-top: 16px;
}
.panel {
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #0c0f0d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 { font-size: 13.5px; }
.panel-head span { font-size: 10.5px; color: var(--muted); letter-spacing: 0.05em; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th, .data-table td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  white-space: nowrap;
}
.data-table th {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.015);
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; font-family: var(--mono); }
.data-table td.num { text-align: right; font-family: var(--mono); }
.data-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.tag-status {
  display: inline-block;
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  letter-spacing: 0.05em;
}
.tag-status.approved { color: var(--accent); border-color: rgba(57, 255, 20, 0.4); background: var(--accent-soft); }
.tag-status.pending { color: var(--warn); border-color: rgba(255, 200, 87, 0.35); background: rgba(255, 200, 87, 0.09); }
.tag-status.rejected { color: var(--danger); border-color: rgba(255, 107, 107, 0.35); background: rgba(255, 107, 107, 0.08); }
.tx-link { font-family: var(--mono); font-size: 10.5px; color: var(--accent-2); }
.tx-link:hover { text-decoration: underline; }
.empty-line { padding: 26px 18px; text-align: center; font-size: 12px; color: var(--muted); }
.records-panel { margin-top: 16px; }

.dividend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
}
.dividend-grid > div {
  background: #0c0f0d;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dividend-grid span { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }
.dividend-grid strong { font-family: var(--mono); font-size: 15px; font-weight: 600; word-break: break-all; }
.panel-note { padding: 14px 18px; font-size: 10.5px; color: var(--muted-2); line-height: 1.7; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 34px;
}
.rank-list { list-style: none; margin: 0; padding: 4px 0; counter-reset: rank; }
.rank-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  counter-increment: rank;
  font-size: 12.5px;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list li::before {
  content: counter(rank, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
}
.rank-list li:nth-child(-n + 3)::before { color: var(--accent); }
.rank-list .rank-address { font-family: var(--mono); font-size: 12px; color: var(--text); }
.rank-list .rank-amount { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.rank-empty { padding: 30px 18px; text-align: center; color: var(--muted); font-size: 12px; }

.announcements { border-bottom: 1px solid var(--line); }
.announcement { padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.045); }
.announcement:last-child { border-bottom: 0; }
.announcement b { display: block; font-size: 12.5px; margin-bottom: 5px; }
.announcement p { font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.risk-list { margin: 0; padding: 18px 18px 8px 34px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.risk-list li { margin-bottom: 8px; }
.risk-list li::marker { color: var(--accent); }
.faq { border-top: 1px solid var(--line); padding: 14px 18px; }
.faq summary { font-size: 12px; cursor: pointer; color: var(--text); list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--mono); }
.faq[open] summary::after { content: "-"; }
.faq p { font-size: 11.5px; color: var(--muted); line-height: 1.75; margin-top: 10px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.05em;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  transform: translateX(-50%) translateY(14px);
  z-index: 90;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #14170f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-size: 12.5px;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { border-color: rgba(255, 107, 107, 0.4); color: #ffb4b4; }

@media (max-width: 1040px) {
  .nav { gap: 16px; }
  .nav a:nth-child(4), .nav a:nth-child(5) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 54px; }
  .login-card { max-width: 520px; }
  .period-panel { grid-template-columns: 1fr; }
  .period-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .mine-columns { grid-template-columns: 1fr; }
}

/* ---------- 钱包快捷操作 ---------- */
.wallet-card {
  margin-top: 18px;
  padding: 26px 28px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: #0d100e;
  box-shadow: none;
}
.wallet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wallet-head h3 { font-size: 17px; }
.wallet-head p { font-size: 12px; color: var(--muted); margin-top: 5px; max-width: 560px; line-height: 1.7; }
.opt-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.wallet-connect { flex: none; min-width: 128px; }
.wallet-tip {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed var(--line-strong);
  background: #080a08;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
}
.wallet-body { margin-top: 20px; }
.wallet-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.wallet-addr {
  font-size: 12px;
  color: var(--accent-2);
  word-break: break-all;
}
.wallet-chain {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.wallet-chain.is-bad {
  border-color: rgba(255, 200, 87, 0.4);
  background: rgba(255, 200, 87, 0.1);
  color: var(--warn);
}
.wallet-transfer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) auto;
  gap: 14px;
  align-items: end;
}
.wallet-to {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 2px;
}
.wallet-to span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.wallet-to code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-2);
  word-break: break-all;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #080a08;
}
.wallet-transfer .btn { height: 46px; padding-inline: 22px; white-space: nowrap; }

/* ---------- 二维码弹层 ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.qr-modal[hidden] { display: none; }
.qr-backdrop { position: absolute; inset: 0; background: rgba(3, 4, 4, 0.84); }
.qr-dialog {
  position: relative;
  width: min(360px, 92vw);
  padding: 22px 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #0e110f;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.qr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.qr-head h3 { font-size: 15px; }
.qr-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}
.qr-close:hover { color: var(--text); border-color: var(--line-strong); }
.qr-canvas {
  display: grid;
  place-items: center;
  margin: 0 auto;
  width: fit-content;
  padding: 14px;
  border-radius: 14px;
  background: #ffffff;
}
.qr-canvas img { display: block; width: 216px; height: 216px; image-rendering: pixelated; }
.qr-address {
  margin-top: 14px;
  font-size: 11px;
  color: var(--accent-2);
  word-break: break-all;
  line-height: 1.6;
}
.qr-hint { margin-top: 10px; font-size: 11px; color: var(--muted); line-height: 1.7; }

/* ---------- 底部悬浮导航: 白色胶囊, 黑色文字 ---------- */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}
.tabbar a {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #000000;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.tabbar a:hover { background: rgba(0, 0, 0, 0.08); }
.tabbar a.is-active { background: #000000; color: #ffffff; }

@media (max-width: 560px) {
  .tabbar { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 5px; }
  .tabbar a { padding: 8px 12px; font-size: 12px; }
}

@media (max-width: 760px) {
  .wallet-head { flex-direction: column; }
  .wallet-connect { width: 100%; }
  .wallet-transfer { grid-template-columns: 1fr; }
  .wallet-transfer .btn { width: 100%; }
}

@media (max-width: 760px) {
  .topbar { gap: 14px; padding: 13px 18px; }
  .nav { display: none; }
  main { padding: 0 18px 56px; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 34px; }
  /* 移动端三项统计保持横向并排, 只压缩字号与内边距, 避免竖排堆叠 */
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
  .stat { padding: 14px 10px 0 0; gap: 3px; }
  .stat + .stat { padding-left: 10px; border-left: 1px solid var(--line); border-top: 0; }
  .stat:last-child { padding-right: 0; }
  .stat-label { font-size: 10.5px; letter-spacing: 0.04em; }
  .stat-value { font-size: clamp(17px, 5.4vw, 24px); letter-spacing: -0.02em; }
  .stat-unit { font-size: 10px; letter-spacing: 0.02em; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .dividend-grid { grid-template-columns: 1fr; }
  .metric strong { font-size: 18px; }
  .login-card { padding: 20px; }
  .btn.hero-lead, .btn.hero-card { height: 46px; padding: 0 10px; font-size: 12.5px; }
  .progress-head strong { font-size: 23px; }
  .progress-stats { gap: 6px; margin-top: 12px; }
  .progress-stat { padding: 8px 9px; gap: 3px; }
  .progress-stat span { font-size: 9.5px; letter-spacing: 0.02em; }
  .progress-stat b { font-size: 12.5px; }
  .progress-stat.is-target b, .progress-stat.is-percent b { font-size: 14px; }
  .period-main, .period-progress { padding: 22px 20px; }
  .footer { flex-direction: column; gap: 8px; }
  /* iOS 对字号 <16px 的输入框会自动放大页面: 移动端统一 16px, 点击后页面不再跳缩放 */
  input, textarea, select, .field input, .login-card .field input { font-size: 16px; }
  .btn, .copy-btn, .ghost-btn, .link-btn, .period-tab { touch-action: manipulation; }
}


/* 修复: 作者样式 display 会覆盖 hidden 属性的 UA 默认规则, 统一兜底 */
[hidden] { display: none !important; }

/* ---- 期满状态: 目标金额达成后的展示 ---- */
.period-full-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  background: #141a10;
  border-bottom: 1px solid rgba(57, 255, 20, 0.28);
  color: var(--accent);
}
.period-full-banner svg { width: 22px; height: 22px; flex: none; }
.period-full-banner strong { display: block; font-size: 13.5px; letter-spacing: 0.02em; }
.period-full-banner span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.status-chip.is-full {
  border-color: transparent;
  background: var(--accent);
  color: #07090c;
}
.progress-bar.is-full {
  background: var(--accent);
}

/* ---- 共建期奖励发放记录(我的数据 · 分红记录) ---- */
.rewards-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.reward-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0c0f0d;
}
.reward-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.reward-main b { font-size: 13px; }
.reward-main span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.05em; }
.reward-side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.reward-side strong { color: var(--accent); font-size: 14px; }
.reward-side .tx-link {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
}
.reward-side .tx-link:hover { color: var(--accent); border-color: rgba(57, 255, 20, 0.45); }
@media (max-width: 560px) {
  .reward-item { flex-direction: column; align-items: flex-start; }
  .reward-side { justify-content: flex-start; }
}

/* ---------- 首屏入场: 轻微上浮, 只播放一次 ---------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: riseIn 0.7s cubic-bezier(0.22, 0.68, 0.24, 1) both; }
.login-card { animation: riseIn 0.7s cubic-bezier(0.22, 0.68, 0.24, 1) 0.09s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy, .login-card { animation: none; }
}

/* ========== 深色主题: 圆润字体 + 明显边框 ========== */
body { font-size: 15.5px; font-weight: 500; }
h1, h2, h3 { font-weight: 700; }
.hero h1 {
  font-size: clamp(42px, 5.4vw, 70px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
.hero-sub { font-size: 15px; line-height: 1.85; }
.section-head h2 { font-size: 27px; font-weight: 700; letter-spacing: -0.012em; }
.section-index { font-size: 11px; font-weight: 600; }
.brand-text strong { font-weight: 700; font-size: 15.5px; }
.stat-value { font-size: clamp(26px, 2.8vw, 36px); font-weight: 650; }
.progress-head strong { font-weight: 700; }
.progress-stat b { font-size: 14px; }
.progress-stat.is-target b { font-size: 18px; }

/* 按钮: 更圆润、更醒目 */
.btn { border-radius: 16px; font-weight: 650; }
.btn.hero-lead, .btn.hero-card { height: 50px; border-radius: 16px; font-size: 14px; }
.field input { border-radius: 14px; background: #070908; }
.field span { font-size: 12px; font-weight: 500; }

/* 所有卡片边框: 更粗更亮, 轮廓更明显 */
.login-card,
.period-panel,
.wallet-card,
.panel,
.metric-grid,
.mine-locked,
.period-select-toggle,
.period-select-list,
.address-box,
.qr-dialog,
.reward-item,
.period-tab,
.progress-stat,
.wallet-tip,
.wallet-to code,
.progress-track,
.period-full-banner,
.swap-dir {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.period-tab,
.progress-stat,
.wallet-tip,
.wallet-to code,
.progress-track { border-width: 1px; }

/* 主要分区卡片: 背景提亮 + 投影, 与页面底色拉开层次 */
.login-card,
.period-panel,
.wallet-card,
.panel,
.mine-locked {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 30%), #0e120f;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* 兑换方向切换 */
.swap-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.swap-dir {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #070a08;
}
.swap-dir-btn {
  border: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
.swap-dir-btn:hover { color: var(--text); }
.swap-dir-btn.is-active { background: var(--accent); color: #06110a; }
.metric-grid, .dividend-grid { background-color: var(--line); }
.period-main { border-right: 1.5px solid var(--line-strong); }
.panel-head { border-bottom: 1px solid var(--line-strong); }
.data-table th, .data-table td { border-bottom-color: var(--line); }
.data-table th { background: #0a0c0b; }

/* 分隔与点缀 */
.section { border-top: 1px solid var(--line-strong); }
.hero-stats, .stat + .stat { border-color: var(--line-strong); }
.live-pill { border-color: var(--line-strong); }
.copy-btn, .ghost-btn { border-color: var(--line-strong); }
.tabbar { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6); }

/* 超额处理方式选择：用户端台账内嵌提示 */
.data-table tr.record-overflow td {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 200, 87, 0.045);
}
.overflow-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text);
  border-left: 2px solid var(--warn);
}
.overflow-note.is-done {
  border-left-color: var(--accent);
  background: rgba(57, 255, 20, 0.05);
}
.overflow-note b { color: var(--warn); font-family: var(--mono); }
.overflow-note.is-done b { color: var(--accent); }
.overflow-badge {
  flex: none;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--warn);
  border: 1px solid rgba(255, 200, 87, 0.4);
  background: rgba(255, 200, 87, 0.1);
}
.overflow-badge.is-done {
  color: var(--accent);
  border-color: rgba(57, 255, 20, 0.4);
  background: var(--accent-soft);
}
.overflow-actions { display: flex; gap: 8px; margin-left: auto; }
.overflow-btn {
  padding: 6px 13px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}
.overflow-btn:hover { border-color: var(--accent); color: var(--accent); }
.overflow-btn.is-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #06110a;
  font-weight: 600;
}
.overflow-btn.is-primary:hover { filter: brightness(1.08); }
.overflow-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* 客服信息区块：延续深色 + 荧光绿视觉 */
.support-panel {
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 20px;
  padding: 22px;
}
.support-copy p { font-size: 12.5px; line-height: 1.8; color: var(--text); }
.support-copy .support-warn {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
  padding-left: 11px;
  border-left: 2px solid var(--warn);
}
.support-actions { display: grid; gap: 10px; align-content: start; }
.support-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a0d0b;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.support-card:hover {
  border-color: rgba(57, 255, 20, 0.45);
  box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.16), 0 12px 30px rgba(0, 0, 0, 0.48);
  transform: translateY(-1px);
}
.support-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(57, 255, 20, 0.24);
}
.support-icon svg { width: 19px; height: 19px; }
.support-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.support-body small { font-size: 9.5px; letter-spacing: 0.08em; color: var(--muted); }
.support-body b {
  font-size: 13px;
  color: var(--accent);
  word-break: break-all;
}
.support-body span { font-size: 11px; color: var(--muted); line-height: 1.6; }
.support-arrow { margin-left: auto; flex: none; color: var(--accent-2); font-size: 12px; }

@media (max-width: 860px) {
  .support-panel { grid-template-columns: 1fr; }
  .overflow-actions { margin-left: 0; }
}


/* ---------- 公告弹窗 / 入场先连接钱包 ---------- */
.notice-modal { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: 18px; }
.notice-modal[hidden] { display: none; }
.notice-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(3px); }
.notice-dialog { position: relative; width: min(560px, 100%); max-height: 82vh; overflow: auto; background: #ffffff; color: #111111; border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45); }
.notice-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.notice-head h3 { font-size: 18px; }
.notice-list { display: grid; gap: 12px; }
.notice-item { border: 1px solid rgba(0, 0, 0, 0.1); border-left: 4px solid #111111; border-radius: 12px; padding: 13px 14px; background: #fafafa; }
.notice-item b { display: block; font-size: 14px; margin-bottom: 6px; }
.notice-item p { font-size: 13px; line-height: 1.75; color: #444444; white-space: pre-wrap; }
.notice-item.notice-warning { border-left-color: #d97706; background: #fffbeb; }
.notice-item.notice-critical { border-left-color: #dc2626; background: #fef2f2; }
.notice-ok { width: 100%; margin-top: 16px; justify-content: center; }
.gate-modal { z-index: 150; }
.gate-dialog { width: min(420px, 100%); text-align: center; padding: 28px 24px 22px; }
.gate-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #111111; color: #ffffff; font-size: 11px; letter-spacing: 0.08em; }
.gate-dialog h3 { font-size: 22px; margin: 12px 0 8px; }
.gate-text { font-size: 13px; line-height: 1.75; color: #555555; margin-bottom: 18px; }
.gate-dialog .btn { width: 100%; justify-content: center; }
.gate-skip { display: block; margin: 12px auto 0; color: #666666; font-size: 12.5px; }

/* 共建金额输入更醒目 */
.amount-field span { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
#wallet-amount { width: 100%; margin-top: 6px; padding: 16px 18px; font-size: 26px; font-weight: 700; color: #111111; background: #ffffff; border: 2px solid #111111; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); }
#wallet-amount::placeholder { font-size: 14px; font-weight: 500; color: #9a9a9a; }
#wallet-amount:focus { outline: none; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.14); }

/* 底部导航更明显 */
.tabbar { z-index: 130; gap: 4px; padding: 7px; border: 1px solid rgba(0, 0, 0, 0.18); }
.tabbar a { padding: 11px 20px; font-size: 13.5px; font-weight: 700; color: #111111; }
.tabbar a.is-active { background: #000000; color: #ffffff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28); }
@media (max-width: 560px) {
  .tabbar { gap: 3px; padding: 5px; }
  .tabbar a { padding: 9px 11px; font-size: 12.5px; }
  #wallet-amount { font-size: 22px; padding: 14px 15px; }
}
