/* 外部取码站 —— 移动优先，简洁原生风 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  background: #f2f3f5; color: #222; font-size: 15px; line-height: 1.6;
}
a { color: #1677ff; text-decoration: none; }
.hide { display: none; }
.muted { color: #999; font-size: 13px; }
.center { text-align: center; }
.ok { color: #c9302c; font-size: 18px; letter-spacing: 2px; }

.topbar {
  position: sticky; top: 0; z-index: 10; height: 50px; background: #fff;
  border-bottom: 1px solid #e5e5e5; display: flex; align-items: center;
  justify-content: space-between; padding: 0 14px;
}
.topbar .title { font-weight: bold; font-size: 16px; }
.topbar .user { font-size: 13px; color: #666; }

.wrap { max-width: 720px; margin: 14px auto 30px; padding: 0 12px; }
.wrap.narrow { max-width: 380px; margin-top: 60px; }
.card {
  background: #fff; border-radius: 8px; padding: 18px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 14px;
}
h1 { font-size: 20px; margin-bottom: 6px; text-align: center; }
label { display: block; font-size: 13px; color: #666; margin: 12px 0 6px; }
input, select {
  width: 100%; height: 46px; border: 1px solid #d9d9d9; border-radius: 6px;
  padding: 0 12px; font-size: 16px; background: #fff;
}
input:focus, select:focus { outline: none; border-color: #1677ff; }
button.primary {
  width: 100%; height: 46px; margin-top: 18px; border: none; border-radius: 6px;
  background: #1677ff; color: #fff; font-size: 16px; cursor: pointer;
}
button.primary:active { background: #0958d9; }
.alert {
  background: #fff1f0; color: #cf1322; border: 1px solid #ffa39e;
  border-radius: 6px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px;
}
.alert.warn { background: #fffbe6; color: #ad6800; border-color: #ffe58f; }
.tip { font-size: 13px; color: #999; margin-top: 12px; }
.foot { text-align: center; font-size: 13px; color: #999; margin-top: 18px; }

.row-top { display: flex; align-items: center; justify-content: space-between; }
.account { font-size: 18px; font-weight: bold; }
.time-text { font-size: 13px; color: #999; }
.code-area { text-align: center; margin: 14px 0 8px; }
.code-label { font-size: 12px; color: #999; letter-spacing: 1px; }
.code-value {
  font-size: 40px; font-weight: bold; color: #999; letter-spacing: 5px; line-height: 1.2;
}
.sms-content {
  font-size: 13px; color: #777; white-space: pre-wrap; word-break: break-all;
  border-top: 1px dashed #eee; padding-top: 8px; margin-top: 8px;
}

table.list { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
table.list th, table.list td {
  border-bottom: 1px solid #f0f0f0; padding: 8px 4px; text-align: left;
}
table.list th { color: #999; font-weight: normal; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 14px; }
