* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; font-size: 19px; line-height: 1.6;
  color: #1d2733; background: #f4f6f9; }
a { color: #0b6bcb; text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 12px 14px 60px; }
header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 14px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
header .brand { font-weight: bold; font-size: 21px; color: #1d2733; }
header nav { display: flex; gap: 4px; flex-wrap: wrap; }
header nav a { padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
header nav a.on { background: #e6f0fa; }
header .who { margin-left: auto; color: #66727f; font-size: 17px; display: flex; gap: 10px; align-items: center; }
header .who a { min-height: 44px; display: inline-flex; align-items: center; }
.card { background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
h2 { font-size: 22px; margin: 6px 0 10px; }
.big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big a { display: block; padding: 22px 16px; border-radius: 14px; color: #fff; font-size: 22px; font-weight: bold; min-height: 110px; }
.big a small { display: block; font-weight: normal; font-size: 17px; opacity: .92; margin-top: 6px; }
.big .b { background: #0b6bcb; } .big .a { background: #2e9e5b; }
button, .btn { font-family: inherit; font-size: 19px; cursor: pointer; border: none; border-radius: 10px; min-height: 48px; padding: 8px 16px;
  background: #0b6bcb; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.btn.ghost, button.ghost { background: #fff; color: #0b6bcb; border: 1px solid #b8cde3; }
button:disabled { opacity: .5; }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #f7f9fc; min-height: 52px; flex-wrap: wrap; }
.item .t { flex: 1; min-width: 200px; color: #1d2733; }
.tag { font-size: 15px; padding: 2px 8px; border-radius: 10px; background: #e3e8ef; color: #4d5967; white-space: nowrap; }
.tag.r-stuck { background: #fde2e2; color: #b03030; } .tag.r-main { background: #e0ecfa; color: #0b5bab; } .tag.r-touch { background: #eef1f4; }
.tag.uncertain { background: #fff1d6; color: #9a5b00; } .tag.correct { background: #e1f3e8; color: #1f7a45; }
.tag.failed { background: #fde2e2; color: #b03030; } .tag.running, .tag.queued { background: #e0ecfa; color: #0b5bab; } .tag.done { background: #e1f3e8; color: #1f7a45; }
.muted { color: #66727f; font-size: 17px; }
.err { color: #c03b3b; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.chap { display: block; padding: 12px; border-radius: 10px; background: #f7f9fc; color: #1d2733; min-height: 64px; }
.chap.has { background: #eef5fd; }
.stem-preview { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
input[type=text], input[type=password], select { font-size: 19px; padding: 10px 12px; border: 1px solid #b8cde3; border-radius: 10px; width: 100%; min-height: 48px; font-family: inherit; background: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 10px 0; }
.thumbs .th { position: relative; } .thumbs img { width: 100%; border-radius: 8px; display: block; }
.thumbs .x { position: absolute; top: 4px; right: 4px; min-height: 44px; min-width: 44px; padding: 0; background: rgba(0,0,0,.6); border-radius: 22px; }
table { border-collapse: collapse; width: 100%; font-size: 17px; } td, th { border-bottom: 1px solid #e3e8ef; padding: 6px 8px; text-align: left; }
@media (max-width: 600px) { .big { grid-template-columns: 1fr; } }
