* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #f5f6f8; color: #222; -webkit-text-size-adjust: 100%;
}
.page { max-width: 480px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.bar { background: #c0392b; color: #fff; padding: 14px 16px; font-size: 17px; font-weight: 700; text-align: center; }
.bar.dark { background: #34495e; }
.content { flex: 1; padding: 16px; }
.hint { color: #888; font-size: 13px; margin: 8px 0; line-height: 1.6; }
.person-list { display: flex; flex-direction: column; gap: 10px; }
.person-btn { padding: 14px; font-size: 16px; border: 1px solid #ddd; border-radius: 10px; background: #fff; }
.person-btn:active { background: #fdecea; }
.foot { padding: 14px; text-align: center; font-size: 12px; color: #999; }
.foot a { color: #999; }
.empty { color: #999; padding: 24px 0; text-align: center; font-size: 14px; }
.empty a { color: #c0392b; }
button.primary { display: block; width: 100%; padding: 14px; background: #c0392b; color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 700; }
button.primary:disabled { background: #e5b3ad; }
.link-row { display: flex; justify-content: space-between; margin: 12px 0; font-size: 14px; }
.link-row a { color: #555; text-decoration: none; }
.poster-preview { display: flex; justify-content: center; gap: 2px; margin: 10px 0; }
.poster-side { position: relative; }
.poster-side img { display: block; width: 42vw; max-width: 226px; }
.badge {
  position: absolute; right: 3%; top: 4.5%; color: #fff; font-weight: 800; font-size: 4.6vw;
  text-shadow: -1px -1px 0 #222, 1px -1px 0 #222, -1px 1px 0 #222, 1px 1px 0 #222; letter-spacing: 1px;
}
.count { text-align: center; color: #666; font-size: 14px; margin: 6px 0; }
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .78); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
.modal img { max-width: 100%; max-height: 72vh; border-radius: 8px; }
.modal .tips { color: #fff; margin-top: 12px; font-size: 13px; text-align: center; }
.modal .close { margin-top: 12px; padding: 10px 28px; background: #fff; color: #222; border: none; border-radius: 8px; font-size: 15px; }
form.field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
form.field input[type=text], form.field input[type=password] { padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 15px; }
form.field input[type=file] { font-size: 13px; }
.item { display: flex; align-items: center; gap: 10px; border: 1px solid #eee; border-radius: 10px; padding: 10px; margin-bottom: 8px; background: #fff; }
.item img.thumb { width: 44px; height: 62px; object-fit: cover; border: 1px solid #ddd; border-radius: 4px; background: #f2f3f5; }
.item .info { flex: 1; }
.item .info .n { font-size: 15px; font-weight: 600; }
.item .info .s { font-size: 12px; color: #999; margin-top: 2px; }
.item .ops button { margin-left: 6px; padding: 6px 10px; border: 1px solid #ccc; background: #fff; border-radius: 6px; font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
th, td { border: 1px solid #e5e5e5; padding: 7px 6px; text-align: left; }
th { background: #f2f3f5; }
.section-title { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
.msg { padding: 10px; border-radius: 8px; font-size: 14px; margin: 8px 0; }
.msg.error { background: #fdecea; color: #a93226; }
.msg.ok { background: #eafaf1; color: #1e8449; }
.hidden { display: none; }
.rename-input { padding: 8px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; width: 100%; }
