:root {
  --ink: #1c2430;
  --muted: #6b7280;
  --line: #e6e8ee;
  --bg: #f4f6f8;
  --card: #fff;
  --lost: #c45c26;
  --found: #1f7a4d;
  --accent: #1f4e79;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #d9dee6;
  font-family: "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
}
.phone {
  width: 390px;
  height: 780px;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 30, 50, 0.18);
  display: flex;
  flex-direction: column;
}
.status {
  height: 44px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.brand { color: var(--accent); font-weight: 700; letter-spacing: 0.08em; }
#screen { flex: 1; overflow: auto; padding: 12px 14px 18px; }
.tabbar {
  height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
}
.tabbar button {
  border: 0;
  background: transparent;
  font-size: 13px;
  color: var(--muted);
}
.tabbar button.on { color: var(--accent); font-weight: 700; }
h1 { font-size: 22px; margin: 4px 0 8px; }
h2 { font-size: 18px; margin: 0 0 8px; }
p.lead { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.filters { display: flex; gap: 8px; margin-bottom: 12px; }
.filters button, .primary, .ghost, .chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.filters button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.card:hover { border-color: #b7c3d4; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.title { font-size: 16px; font-weight: 700; }
.tag {
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 8px;
  color: #fff;
}
.tag.lost { background: var(--lost); }
.tag.found { background: var(--found); }
.tag.done { background: #8b93a1; }
.meta { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
label { display: block; font-size: 13px; margin: 10px 0 4px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
textarea { min-height: 84px; resize: vertical; }
.primary {
  width: 100%;
  margin-top: 14px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  font-size: 15px;
}
.ghost { border-radius: 12px; }
.searchbar { display: flex; gap: 8px; }
.searchbar input { flex: 1; }
.searchbar button { width: auto; margin-top: 0; padding: 0 14px; }
.back {
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0 0 8px;
  font-size: 14px;
}
.success {
  margin-top: 48px;
  text-align: center;
}
.success .mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--found);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
}
.detail dt { color: var(--muted); font-size: 12px; margin-top: 10px; }
.detail dd { margin: 2px 0 0; font-size: 15px; }
.empty { color: var(--muted); text-align: center; margin-top: 40px; }
.note { font-size: 12px; color: var(--muted); margin-top: 8px; }
body.shot { background: #f4f6f8; display: block; }
body.shot .phone {
  width: 390px;
  height: 780px;
  border-radius: 0;
  box-shadow: none;
}
