:root {
  --bg: #080808;
  --bg2: #111111;
  --bg3: #191919;
  --accent: #00e563;
  --text: #f0f0f0;
  --muted: #9a9a9a;
  --danger: #ff5c7a;
  --warn: #ffc857;
  --radius: 16px;
  --tap: 44px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  min-height: 100%;
}
body { padding: 0 16px 32px; }
.top { padding: 18px 0 8px; }
.brand { font-weight: 800; letter-spacing: .04em; font-size: 13px; text-transform: uppercase; }
.brand .ac { color: var(--accent); }
.brand .dim { color: var(--muted); font-weight: 600; }
h1 { font-size: 22px; margin: 8px 0 12px; }
h2 { font-size: 15px; margin: 20px 0 10px; color: var(--muted); font-weight: 600; }
p { color: var(--muted); line-height: 1.45; }
.card-face {
  background: linear-gradient(145deg, #1a1c1f, #121416);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 20px; margin: 12px 0 18px;
}
.pan {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px; letter-spacing: .14em; font-weight: 700; margin: 16px 0;
}
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.v { font-family: "JetBrains Mono", monospace; font-weight: 700; margin-top: 4px; }
.bal { font-size: 28px; font-weight: 800; margin: 4px 0 2px; }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: var(--bg3);
}
.badge.ok { color: var(--accent); }
.badge.warn { color: var(--warn); }
.badge.bad { color: var(--danger); }
.row { display: flex; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
button, .btn {
  min-height: var(--tap); border: 0; border-radius: 12px;
  padding: 0 16px; font-weight: 700; font-size: 15px; cursor: pointer;
  font-family: inherit; color: #08140c; background: var(--accent);
  flex: 1; text-align: center; text-decoration: none; display: flex;
  align-items: center; justify-content: center;
}
button.ghost, .btn.ghost { background: var(--bg3); color: var(--text); }
button.danger { background: #3a1218; color: var(--danger); }
button:disabled { opacity: .5; }
.otp { display: flex; gap: 8px; justify-content: space-between; margin: 18px 0; }
.otp input {
  width: 44px; height: 52px; text-align: center; font-size: 22px; font-weight: 800;
  border-radius: 12px; border: 1px solid #2a2a2a; background: var(--bg2); color: var(--text);
  font-family: "JetBrains Mono", monospace;
}
input[type=number], input[type=text], select {
  width: 100%; min-height: var(--tap); border-radius: 12px; border: 1px solid #2a2a2a;
  background: var(--bg2); color: var(--text); padding: 0 14px; font-size: 16px; font-family: inherit;
}
.list { display: flex; flex-direction: column; gap: 8px; }
.item {
  background: var(--bg2); border-radius: 14px; padding: 12px 14px;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.item .m { font-size: 13px; color: var(--muted); }
.acc {
  background: var(--bg2); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px;
}
.acc summary { cursor: pointer; font-weight: 700; min-height: 28px; }
.msg { color: var(--danger); font-size: 14px; min-height: 20px; }
.okmsg { color: var(--accent); }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--bg2);
  border-radius: 20px 20px 0 0; padding: 16px 16px 28px;
  box-shadow: 0 -10px 40px rgba(0,0,0,.45); z-index: 20;
}
.sheet.hidden { display: none; }
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 19; }
.hidden { display: none !important; }
.mono { font-family: "JetBrains Mono", monospace; }
small { color: var(--muted); }
@media (min-width: 560px) {
  #app { max-width: 430px; margin: 0 auto; }
}
