* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1d1d1f; background: #f5f5f7; }
header { display: flex; justify-content: space-between; align-items: center; max-width: 760px; margin: 0 auto; padding: 24px 16px 8px; }
h1 { font-size: 22px; margin: 0; }
h2 { font-size: 17px; margin: 0 0 8px; }
main { max-width: 760px; margin: 0 auto; padding: 0 16px 24px; }
.card { background: #fff; border-radius: 14px; padding: 20px; margin: 16px 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.balance { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.big { font-size: 40px; font-weight: 600; line-height: 1.1; }
form { display: flex; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
input[type=email], input:not([type]), input[inputmode] { flex: 1; min-width: 200px; padding: 9px 12px; border: 1px solid #d2d2d7; border-radius: 9px; font: inherit; }
button { padding: 9px 16px; border: 0; border-radius: 9px; background: #0071e3; color: #fff; font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
button.link, button.danger { background: none; color: #0071e3; padding: 0; }
button.danger { color: #d70015; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
th, td { text-align: left; padding: 6px 4px; border-bottom: 1px solid #f0f0f2; }
th { color: #86868b; font-weight: 500; }
.muted { color: #86868b; }
.small { font-size: 13px; }
.message { min-height: 1.4em; margin: 4px 0; }
.message.error { color: #d70015; }
.message.ok { color: #248a3d; }
.secret { background: #f5f5f7; border-radius: 9px; padding: 12px; margin: 8px 0; }
.secret code { font-size: 14px; word-break: break-all; margin-right: 8px; }
.toggle { display: flex; gap: 8px; align-items: center; }
.revoked { color: #86868b; text-decoration: line-through; }
footer { text-align: center; padding: 16px; }
a { color: #0071e3; }
.home { text-decoration: none; color: inherit; }
td.rating { white-space: nowrap; }
button.vote { background: none; padding: 2px 6px; font-size: 16px; opacity: .45; filter: grayscale(1); }
button.vote:hover { opacity: 1; filter: none; }
.owed { margin-left: 6px; font-size: 12px; color: #d70015; }
