:root {
  --bg: #07090c;
  --bg-soft: #0a0d12;
  --panel: #0e1219;
  --panel-2: #11161f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef3f8;
  --muted: #8995a7;
  --muted-2: #5d6778;
  --accent: #b6ff3c;
  --accent-soft: rgba(182, 255, 60, 0.12);
  --accent-2: #46e3c4;
  --danger: #ff6b6b;
  --warn: #ffc857;
  --radius: 18px;
  --max: 1180px;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  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(900px 520px at 12% -8%, rgba(182, 255, 60, 0.11), transparent 62%),
    radial-gradient(760px 520px at 92% 4%, rgba(70, 227, 196, 0.09), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(70, 110, 227, 0.08), transparent 65%);
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}

.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: rgba(7, 9, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #07090c;
  box-shadow: 0 0 28px rgba(182, 255, 60, 0.25);
}
.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 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(182, 255, 60, 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; }

.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(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.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; }

.login-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 29, 39, 0.94), rgba(12, 16, 22, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.login-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(182, 255, 60, 0.35), transparent 38%, rgba(70, 227, 196, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.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(182, 255, 60, 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(182, 255, 60, 0.28);
  background: var(--accent-soft);
  color: #d8ffa0;
}

.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: 10px;
  background: rgba(6, 8, 11, 0.72);
  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(182, 255, 60, 0.5);
  box-shadow: 0 0 0 3px rgba(182, 255, 60, 0.09);
}
.login-card .field input { margin-bottom: 14px; }

.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;
  box-shadow: 0 10px 30px rgba(182, 255, 60, 0.18);
}
.btn-primary:hover { transform: translateY(-1px); background: #c5ff63; }
.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%; }

.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(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-index {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 9px;
}
.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; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.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: rgba(14, 18, 25, 0.6);
  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(182, 255, 60, 0.45);
  background: linear-gradient(160deg, rgba(182, 255, 60, 0.1), rgba(14, 18, 25, 0.7));
}
.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(182, 255, 60, 0.4); }

.period-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 22, 31, 0.85), rgba(10, 13, 18, 0.85));
  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(182, 255, 60, 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: rgba(5, 7, 9, 0.5);
}
.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(182, 255, 60, 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: 21px; letter-spacing: -0.02em; }
.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 6px;
}
.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.progress-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.progress-foot span:last-child { font-family: var(--mono); color: var(--text); }
.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); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  background: rgba(12, 16, 22, 0.85);
  padding: 24px 24px 26px;
  position: relative;
}
.step-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.step h3 { font-size: 15px; margin-bottom: 9px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.step p strong { color: var(--text); }

.submit-card {
  margin-top: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(17, 22, 31, 0.9), rgba(9, 12, 16, 0.9));
}
.submit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.submit-head h3 { font-size: 17px; }
.submit-head p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.submit-head p strong { color: var(--accent); font-family: var(--mono); }
.seal {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  border: 1px solid rgba(70, 227, 196, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.submit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 22px;
}
.submit-grid .btn { height: 46px; padding-inline: 22px; }
.submit-result {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.65;
  border: 1px solid rgba(182, 255, 60, 0.25);
  background: var(--accent-soft);
  color: #d8ffa0;
}
.submit-result.is-error {
  border-color: rgba(255, 107, 107, 0.3);
  background: rgba(255, 107, 107, 0.08);
  color: #ffb4b4;
}
.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: rgba(10, 13, 18, 0.5);
}
.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(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric {
  background: rgba(12, 16, 22, 0.9);
  padding: 20px 22px;
  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-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-top: 16px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 16, 22, 0.82);
  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(182, 255, 60, 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(--line);
}
.dividend-grid > div {
  background: rgba(12, 16, 22, 0.9);
  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: 26px;
  transform: translateX(-50%) translateY(14px);
  z-index: 90;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(15, 20, 27, 0.96);
  backdrop-filter: blur(12px);
  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(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(17, 22, 31, 0.9), rgba(9, 12, 16, 0.9));
}
.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(182, 255, 60, 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: rgba(5, 7, 9, 0.45);
  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(182, 255, 60, 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: rgba(5, 7, 9, 0.5);
}
.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(4, 6, 8, 0.72); backdrop-filter: blur(6px); }
.qr-dialog {
  position: relative;
  width: min(360px, 92vw);
  padding: 22px 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(23, 29, 39, 0.98), rgba(11, 15, 20, 0.98));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  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 { display: none; }

@media (max-width: 760px) {
  .tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(9, 12, 16, 0.94);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .tabbar a {
    flex: 1;
    text-align: center;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    color: var(--muted);
  }
  .tabbar a:active { color: var(--accent); }
  body { padding-bottom: 58px; }
}

@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: 1fr; }
  .stat { padding: 14px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .submit-grid { grid-template-columns: 1fr; }
  .submit-grid .btn { width: 100%; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .dividend-grid { grid-template-columns: 1fr; }
  .metric strong { font-size: 18px; }
  .login-card { padding: 20px; }
  .period-main, .period-progress { padding: 22px 20px; }
  .footer { flex-direction: column; gap: 8px; }
}

