:root {
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #080b0f;
  color: #f5f2e9;
  --lime: #c9ff43;
  --muted: #8c959f;
  --line: rgba(255, 255, 255, 0.12);
  --panel: rgba(19, 24, 29, 0.86);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(201, 255, 67, 0.12), transparent 28rem),
    linear-gradient(145deg, #080b0f, #10161b 58%, #080b0f);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 80px; position: relative; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: 28px 0 48px; }
h1 { margin: 8px 0 20px; font-size: clamp(3rem, 8vw, 6.6rem); line-height: 0.9; letter-spacing: -0.065em; max-width: 850px; }
h2 { margin: 8px 0 12px; font-size: 1.45rem; }
p { color: var(--muted); line-height: 1.65; }
.intro { max-width: 620px; font-size: 1.06rem; }
.eyebrow { color: var(--lime); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.19em; margin: 0; }
button { border: 1px solid var(--line); border-radius: 10px; padding: 13px 18px; background: #1a2026; color: #fff; font-weight: 750; cursor: pointer; transition: 160ms ease; }
button:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(201,255,67,.6); }
button:disabled { opacity: .42; cursor: not-allowed; }
button.primary { background: var(--lime); color: #111; border-color: var(--lime); box-shadow: 0 14px 42px rgba(201,255,67,.14); }
.notice { border: 1px solid rgba(201,255,67,.28); background: rgba(201,255,67,.06); padding: 14px 18px; border-radius: 12px; display: flex; gap: 18px; margin-bottom: 18px; }
.notice strong { color: var(--lime); white-space: nowrap; }
.notice span { color: #c8ced3; }
.grid { display: grid; gap: 14px; }
.stats { grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; }
.stats article, .panel, .status-card { border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(18px); border-radius: 16px; }
.stats article { padding: 20px; min-width: 0; }
.stats span { color: var(--muted); font-size: .78rem; display: block; margin-bottom: 12px; }
.stats strong { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 1.04rem; }
.panel { padding: 28px; }
.action-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 14px; }
.action-button { min-width: 200px; }
.binding-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.binding-panel > div { min-width: 0; }
.binding-controls button { width: 100%; margin-top: 12px; }
.binding-hint { margin: 10px 0 0; font-size: .78rem; }
label { display: block; color: #b3bbc3; font-size: .8rem; margin: 17px 0 7px; }
input, textarea { width: 100%; color: #f7f4ea; background: #0a0e12; border: 1px solid var(--line); border-radius: 9px; padding: 12px; font: inherit; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(201,255,67,.35); border-color: var(--lime); }
.warning { color: #f0bd70; font-size: .78rem; margin-bottom: 0; }
.contract-link { color: var(--lime); font-size: .83rem; word-break: break-all; }
.status-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-top: 14px; }
.status-card p { margin: 0; color: #cdd3d8; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(201,255,67,.1); }
@media (max-width: 760px) {
  .shell { padding-top: 24px; }
  .hero, .action-panel { align-items: stretch; flex-direction: column; }
  .hero button { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .binding-panel { grid-template-columns: 1fr; gap: 12px; }
  .action-button { width: 100%; }
}
