:root {
  --bg: #0b0e14; --panel: #141925; --panel2: #1b2230; --line: #28303f;
  --text: #e8ecf3; --muted: #8a94a7;
  --pays: #34d399; --dead: #f87171; --unknown: #9aa3b2; --acc: #5b8cff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5; padding-bottom: 60px;
}
.wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 18px; }
header { background: linear-gradient(180deg, #121826, #0b0e14); border-bottom: 1px solid var(--line); padding: 26px 0 20px; }
h1 { font-size: 26px; letter-spacing: -0.5px; }
.tag { color: var(--muted); font-size: 14.5px; margin: 6px 0 16px; max-width: 640px; }
.tag b { color: var(--text); }
.bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
button.primary {
  background: var(--acc); color: #fff; border: none; border-radius: 9px;
  padding: 10px 16px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
}
button.primary:hover { opacity: 0.92; }
button.primary:disabled { opacity: 0.5; cursor: default; }
.status { color: var(--muted); font-size: 13px; }
.warn {
  margin-top: 14px; background: #2a1f12; border: 1px solid #5a4320; color: #ffce93;
  padding: 11px 14px; border-radius: 9px; font-size: 13px; line-height: 1.55;
}
.warn a { color: #ffd9a8; }

.headrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pro-link {
  background: linear-gradient(90deg, #ffb84d, #ff8a3d); color: #1a1206; text-decoration: none;
  font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 20px; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(255,150,60,0.25);
}
.pro-link:hover { opacity: 0.92; }
.pro-link.active { background: rgba(52,211,153,0.18); color: var(--pays); box-shadow: none; cursor: default; }
.freeinfo { color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.freeinfo b { color: var(--text); }

.paywall {
  margin-top: 14px; background: linear-gradient(180deg, #1d2433, #161b27);
  border: 1px solid var(--warn); border-radius: 14px; padding: 22px; text-align: center;
}
.pw-title { font-size: 17px; font-weight: 800; }
.pw-body { color: #c4ccda; font-size: 13.5px; margin: 8px auto 16px; max-width: 420px; line-height: 1.55; }
.btn.pay {
  display: inline-block; background: linear-gradient(90deg, #ffb84d, #ff8a3d); color: #1a1206;
  text-decoration: none; font-weight: 800; font-size: 15px; padding: 13px 26px; border-radius: 11px; width: auto;
}
.btn.pay:hover { opacity: 0.92; }
.pw-sub { color: var(--muted); font-size: 12px; margin-top: 12px; }
.pw-sub a { color: var(--acc); }

.checker { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-top: 22px; }
.checker .q { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.checkrow { display: flex; gap: 10px; }
.checkrow input {
  flex: 1; background: var(--panel2); border: 1px solid var(--line); border-radius: 9px;
  color: var(--text); font-size: 14px; padding: 12px 14px; font-family: inherit; outline: none;
}
.checkrow input:focus { border-color: var(--acc); }
.hintline { color: var(--muted); font-size: 12.5px; margin-top: 9px; }
.hintline a { color: var(--acc); text-decoration: none; }
#checkResult { margin-top: 14px; }
#checkResult:empty { margin-top: 0; }

button.ghost {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  border-radius: 8px; padding: 7px 13px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
}
button.ghost:hover { border-color: var(--acc); color: var(--text); }
button.ghost:disabled { opacity: 0.5; cursor: default; }

.board-head { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; }
.board-head h2 { font-size: 16px; }
.board-head .status { flex: 1; }

.legend { color: var(--muted); font-size: 12.5px; margin: 22px 0 14px; line-height: 2; }
.legend .sep { opacity: 0.4; margin: 0 4px; }

.badge {
  display: inline-block; border-radius: 6px; padding: 2px 9px; font-size: 11.5px;
  font-weight: 800; letter-spacing: 0.4px; vertical-align: middle;
}
.badge.PAYS { background: rgba(52,211,153,0.16); color: var(--pays); border: 1px solid rgba(52,211,153,0.4); }
.badge.DEADBEAT { background: rgba(248,113,113,0.16); color: var(--dead); border: 1px solid rgba(248,113,113,0.4); }
.badge.UNKNOWN { background: rgba(154,163,178,0.14); color: var(--unknown); border: 1px solid rgba(154,163,178,0.34); }

.cards { display: flex; flex-direction: column; gap: 12px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 13px;
  padding: 16px 18px; border-left: 4px solid var(--line);
}
.card.PAYS { border-left-color: var(--pays); }
.card.DEADBEAT { border-left-color: var(--dead); }
.card.UNKNOWN { border-left-color: var(--unknown); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.title { font-size: 15.5px; font-weight: 700; }
.who { color: var(--muted); font-size: 13px; margin-top: 2px; }
.who a { color: var(--acc); text-decoration: none; }
.reward { text-align: right; white-space: nowrap; }
.reward .usd { font-size: 18px; font-weight: 800; color: var(--pays); }
.reward .sol { font-size: 12px; color: var(--muted); }
.why { font-size: 13px; color: #c4ccda; margin-top: 10px; }
.meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--muted); }
.meta a { color: var(--muted); text-decoration: none; border-bottom: 1px dotted var(--line); }
.meta a:hover { color: var(--text); }
.flag { color: #ffce93; }

.empty { background: var(--panel); border: 1px dashed var(--line); border-radius: 12px;
  padding: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.empty a { color: var(--acc); }

footer { margin-top: 30px; display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; color: var(--muted); font-size: 12px; }
footer a { color: var(--muted); }
