* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.35 -apple-system, system-ui, Roboto, sans-serif;
       background: #10131a; color: #fff; }
a { color: #8ab4ff; text-decoration: none; }
.wrap { padding: 14px 12px 28px; max-width: 620px; margin: 0 auto; }
h1 { font-size: 22px; margin: 0 0 10px; }
.demo { background: #3a2a12; color: #ffe0a8; border-radius: 12px; padding: 8px 10px; margin-bottom: 12px; font-size: 13px; }
.who { background: #1b2130; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 17px; }
.who b { font-size: 19px; }
.who a { color: #8ab4ff; margin-left: 6px; }
.btn { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
       border-radius: 16px; padding: 18px 16px; margin-bottom: 12px; border: 0; width: 100%;
       text-align: left; cursor: pointer; font: inherit; }
.btn .i { font-size: 34px; line-height: 1; }
.btn .t { font-size: 22px; font-weight: 800; }
.btn .s { font-size: 14px; color: #d5dbe7; margin-top: 2px; }
.recv { background: #5b3f8c; }
.put { background: #1f6a6a; }
.out { background: #33404f; }
.work { background: #7a5a12; }
.ok { background: #2e7d4f; }
.danger { background: #7a2a2a; }
.sec { background: #1f4a7a; }
.ghost { background: #222c3b; }
.card { background: #1b2130; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; color: #fff; display: block; }
.card:hover { text-decoration: none; }
.card .num { font-size: 18px; font-weight: 800; }
.st { display: inline-block; border-radius: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.st.wait { background: #1b2434; color: #c6d2e4; }
.st.work { background: #2f2713; color: #ffe0a8; }
.st.diff { background: #3a1f1f; color: #ffd0cb; }
.st.done { background: #17331f; color: #a9e7bf; }
.catch { width: 100%; font-size: 22px; padding: 16px 14px; border: 0; border-radius: 14px;
         background: #1b2130; color: #fff; margin-bottom: 10px; }
.hint { color: #8b97aa; font-size: 13px; margin: 0 0 10px; }
.codes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.codes button { border: 0; background: #222c3b; color: #cfe0ff; border-radius: 9px; padding: 8px 10px; font-size: 13px; cursor: pointer; }
.line { background: #1b2130; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.line .n { font-weight: 700; }
.line .c { color: #8b97aa; font-size: 13px; }
.cnt { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cnt b { font-size: 22px; }
.cnt .bad { color: #ffd0cb; }
.rowbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.rowbtns .btn, .stack .btn { margin: 0; justify-content: center; padding: 14px 10px; }
.rowbtns .t, .stack .t { font-size: 16px; }
.suggest { background: #17331f; color: #a9e7bf; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.suggest .big { font-size: 28px; font-weight: 800; letter-spacing: .5px; }
.msg { border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.msg.err { background: #3a1f1f; color: #ffd0cb; }
.msg.ok { background: #17331f; color: #a9e7bf; }
.msg.warn { background: #2f2713; color: #ffe0a8; }
.back { display: inline-block; margin-bottom: 10px; }
input[type=file], input[type=text], input[type=number] { width: 100%; }
