:root {
  --bg: #07090d;
  --panel: #10141c;
  --line: #243044;
  --text: #eef3f9;
  --muted: #8b9bb0;
  --accent: #00e676;
  --green: #34d399;
  --radius: 18px;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
.wrap { max-width: 980px; margin: 0 auto; padding: 20px 20px 80px; }
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0 28px;
}
.logo { display: flex; gap: 10px; align-items: center; color: var(--text); font-weight: 700; letter-spacing: .02em; font-size: 18px; }
.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}
.mark { display: none; }
nav { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
nav a { color: var(--muted); }
h1 { font-size: 42px; margin: 10px 0 8px; letter-spacing: -0.03em; }
.sub { color: var(--muted); margin: 0 0 28px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; font-size: 12px; color: var(--muted); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
label { display: block; font-size: 12px; color: var(--muted); margin: 12px 0 6px; }
select, input {
  width: 100%; background: #0c1016; color: var(--text);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.row { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 12px; align-items: end; }
.flip {
  height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #0c1016; color: var(--text); cursor: pointer;
}
.meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin: 14px 0; gap: 12px; flex-wrap: wrap; }
.btn {
  width: 100%; border: 0; border-radius: 12px; padding: 14px;
  background: var(--accent); color: #04120a; font-weight: 700; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.notice { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #0c1016; padding: 12px; border-radius: 10px; word-break: break-all;
  border: 1px dashed var(--line);
}
.status { color: var(--green); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .row, .grid { grid-template-columns: 1fr; } h1 { font-size: 32px; } }
footer { margin-top: 40px; color: #66768a; font-size: 12px; line-height: 1.6; }
.hidden { display: none; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }
