:root {
  --bg: #080a0c;
  --panel: #101418;
  --panel2: #151a1f;
  --line: #28313a;
  --text: #eef2f5;
  --muted: #98a5b1;
  --gold: #f4b728;
  --gold2: #ffd978;
  --green: #5bd6a2;
  --red: #ff6b6b;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 70% -20%, #202617 0, transparent 38%), var(--bg); color: var(--text); font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: .08em; }
.brand span { color: var(--gold); }
.badge { border: 1px solid var(--line); border-radius: 99px; padding: 5px 10px; color: var(--muted); font-size: 12px; }
.panel { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)), var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 16px 40px rgba(0,0,0,.15); }
.hero { padding: 56px; margin-top: 40px; }
.hero h1, .room-head h1 { margin: 6px 0 12px; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 850px; }
.room-head h1 { font-size: clamp(28px, 4vw, 44px); }
.lede { max-width: 760px; font-size: 18px; color: #c0c9d1; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.create-form, .contribute-form { margin-top: 28px; display: grid; gap: 14px; }
.create-form { grid-template-columns: 1fr auto; align-items: end; }
label { display: grid; gap: 7px; color: #cbd3da; font-size: 13px; font-weight: 650; }
input[type=text], input:not([type]) { width: 100%; background: #090c0f; color: var(--text); border: 1px solid #33404a; border-radius: 10px; padding: 12px 13px; outline: none; }
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244,183,40,.1); }
.primary, .secondary, .danger, .mini { border-radius: 10px; padding: 11px 15px; border: 1px solid transparent; font-weight: 750; }
.primary { background: var(--gold); color: #161307; }
.primary:hover { background: var(--gold2); }
.secondary { background: #151b20; color: var(--text); border-color: #34404a; }
.secondary:hover { border-color: #52606b; }
.danger { background: #2b1518; border-color: #673037; color: #ffb1b1; }
.mini { padding: 6px 9px; background: #171d22; color: #cfd7de; border-color: #313b44; font-size: 12px; }
.full { width: 100%; margin-top: 14px; }
.notice { margin-top: 24px; border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.warning { border: 1px solid #5e4b1b; background: #211b0b; color: #e6ce87; }
.success { border: 1px solid #245d49; background: #10251f; color: #9ee5c7; }
.room-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.room-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.section-title { font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.metric { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 13px 0; }
.metric.vertical { display: grid; gap: 6px; }
.metric span, .muted { color: var(--muted); }
.metric strong { font-size: 26px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.small { color: var(--muted); font-size: 12px; }
.verify-line { margin-top: 10px; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #58636d; box-shadow: 0 0 0 4px rgba(88,99,109,.12); }
.dot.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(91,214,162,.12); }
.dot.bad { background: var(--red); box-shadow: 0 0 0 4px rgba(255,107,107,.12); }
.output-label { margin-top: 14px; color: var(--muted); }
.copy-row { margin-top: 6px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.copy-row code { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #090c0f; }
.contribute { margin: 16px 0; }
.checkline { display: flex; align-items: flex-start; gap: 9px; font-weight: 500; }
.checkline input { margin-top: 4px; }
.contribution-list { display: grid; gap: 8px; }
.contribution { border: 1px solid var(--line); background: #0c1013; border-radius: 10px; padding: 12px; display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.seq { color: var(--gold); font-family: ui-monospace, monospace; }
.contribution .who { font-weight: 750; }
.contribution .finger { color: var(--muted); font: 11px ui-monospace, monospace; text-align: right; }
.final { margin-top: 16px; border-color: #6d571c; box-shadow: 0 0 0 1px rgba(244,183,40,.08), 0 20px 55px rgba(0,0,0,.25); }
.final h2 { margin-top: 5px; }
.final-address code { border-color: #6f5a1f; color: #ffe49a; }
footer { margin-top: auto; padding: 28px 0; display: flex; gap: 8px; flex-wrap: wrap; color: #697681; font-size: 12px; }
.toast { position: fixed; right: 20px; bottom: 20px; background: #182019; border: 1px solid #365545; color: #c8f5de; padding: 11px 14px; border-radius: 9px; box-shadow: 0 15px 40px rgba(0,0,0,.35); }
.hidden { display: none !important; }
@media (max-width: 760px) {
  .shell { width: min(100% - 20px, 1100px); }
  .hero { padding: 26px; margin-top: 16px; }
  .create-form, .grid.two { grid-template-columns: 1fr; }
  .room-head { align-items: flex-start; flex-direction: column; }
  .room-actions { justify-content: flex-start; }
  .contribution { grid-template-columns: 42px 1fr; }
  .contribution .finger { grid-column: 2; text-align: left; }
}

.status-good { color: #87e2bb; }
.status-bad { color: #ff9a9a; }
