* { box-sizing: border-box; }
body { margin: 0; background: #f5f6f8; color: #1f2329; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; }
.wrap { max-width: 820px; margin: 0 auto; padding: 24px 16px 60px; }
header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
h1 { font-size: 22px; margin: 0; font-weight: 600; }
h2 { font-size: 16px; margin: 0 0 14px; font-weight: 600; }
h3 { font-size: 14px; margin: 16px 0 8px; }
.card { background: #fff; border: 1px solid #e5e6eb; border-radius: 10px; padding: 18px 20px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: flex; flex-direction: column; gap: 6px; color: #4e5969; }
select, input, button { font: inherit; padding: 9px 10px; border: 1px solid #dcdfe6; border-radius: 6px; background: #fff; color: #1f2329; }
select:focus, input:focus { outline: 2px solid #3370ff33; border-color: #3370ff; }
.hint { color: #86909c; font-size: 12px; margin: 10px 0 0; }
button { cursor: pointer; border-color: #dcdfe6; transition: .15s; }
button:hover { border-color: #3370ff; color: #3370ff; }
.primary { background: #3370ff; color: #fff; border-color: #3370ff; }
.primary:hover { background: #245bdb; color: #fff; }
.danger { background: #f53f3f; color: #fff; border-color: #f53f3f; }
.danger:hover { background: #d92f2f; color: #fff; }
.ghost { background: #fff; }
.small { padding: 5px 10px; font-size: 12px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.upload { border: 1px dashed #c9cdd4; border-radius: 8px; padding: 18px; align-items: center; justify-content: center; cursor: pointer; min-height: 92px; text-align: center; color: #86909c; }
.upload input { display: none; }
.captcha-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.captcha-box img { height: 46px; border: 1px solid #e5e6eb; border-radius: 4px; background: #fafafa; }
.captcha-box input { flex: 1; min-width: 120px; }
.result { white-space: pre-wrap; line-height: 1.7; padding: 12px; background: #f7f8fa; border-radius: 6px; }
.result.ok { color: #00a870; }
.result.fail { color: #f53f3f; }
#receiptImg { max-width: 100%; border: 1px solid #e5e6eb; border-radius: 6px; display: block; margin-bottom: 10px; }
#receiptDownload { display: inline-block; background: #3370ff; color: #fff; padding: 8px 16px; border-radius: 6px; text-decoration: none; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: #1f2329; color: #fff; padding: 10px 18px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .2s; z-index: 9; }
.toast.show { opacity: 1; }
.modal { position: fixed; inset: 0; background: #0008; display: flex; align-items: center; justify-content: center; z-index: 20; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 12px; padding: 24px; width: min(420px, 92vw); }
.slide-imgs { position: relative; margin: 14px 0; }
.slide-imgs img { display: block; max-width: 100%; border: 1px solid #e5e6eb; border-radius: 4px; }
.slide-imgs #slideBlock { margin-top: 6px; }
@media (max-width: 600px) { .grid, .grid2 { grid-template-columns: 1fr; } }
