@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@600;700&display=swap');

:root {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #203646;
  background: #eee9dd;
  --ink: #203646;
  --deep: #172f42;
  --rust: #c96642;
  --rust-soft: #f8e7d9;
  --linen: #f7f3e9;
  --paper: #fffdf7;
  --muted: #6c7b80;
  --line: #d9d7cb;
  --sage: #b9cdc5;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #eee9dd; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site { max-width: 1240px; margin: auto; padding: 26px 40px 58px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #b9c0bc; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 800; font-size: 18px; letter-spacing: .14em; }
.mark { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--deep); color: var(--deep); background: var(--paper); font-family: "Noto Serif SC", "SimSun", serif; font-size: 23px; line-height: 1; box-shadow: 5px 5px 0 var(--rust); }
.tag { color: var(--rust); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.layout { display: grid; grid-template-columns: minmax(320px, 1fr) 430px; gap: clamp(34px, 7vw, 90px); align-items: center; min-height: calc(100vh - 100px); }
.intro { padding: 32px 0 45px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--rust); font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
h1, h2, .cardtitle, .success-title { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; }
h1 { margin: 27px 0 28px; font-size: clamp(42px, 5vw, 66px); line-height: 1.23; letter-spacing: -.055em; color: var(--deep); }
h1 em { color: var(--rust); font-style: normal; }
.intro > p { max-width: 500px; margin: 0; padding-left: 18px; border-left: 3px solid var(--rust); color: #586d75; font-size: 16px; line-height: 1.9; }
.flows { max-width: 510px; margin-top: 50px; border-top: 1px solid #b9c0bc; }
.flow { width: 100%; padding: 18px 4px; display: grid; grid-template-columns: 47px 1fr 20px; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid #b9c0bc; background: transparent; color: var(--ink); text-align: left; transition: padding .2s, color .2s; }
.flow:hover, .flow:focus-visible { padding-left: 12px; color: var(--rust); outline: none; }
.flow-num { font-family: Georgia, serif; font-size: 28px; color: var(--rust); }
.flow strong { display: block; font-size: 15px; margin-bottom: 5px; }
.flow small { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.flow-arrow { color: var(--rust); font-size: 24px; }
.footnote { margin-top: 28px; color: #7d8a89; font-size: 11px; letter-spacing: .03em; }

.device { width: 390px; max-width: 100%; height: 844px; justify-self: center; position: relative; overflow: hidden; border: 10px solid #1c2d36; border-radius: 46px; background: var(--paper); box-shadow: 16px 20px 0 #d4d0c5, 0 30px 55px #152f4230; }
.device::before { content: ""; position: absolute; z-index: 5; left: 50%; top: 8px; transform: translateX(-50%); width: 112px; height: 24px; border-radius: 20px; background: #1c2d36; }
.status { height: 43px; display: flex; align-items: center; justify-content: space-between; padding: 8px 26px 0; color: #243847; font-size: 11px; font-weight: 800; background: var(--paper); }
.screen { height: calc(100% - 43px); overflow-y: auto; overscroll-behavior: contain; background: var(--linen); scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.appbar { min-height: 60px; position: sticky; top: 0; z-index: 4; display: flex; justify-content: center; align-items: center; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--deep); font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.appbar::after { content: ""; position: absolute; bottom: -1px; left: calc(50% - 12px); width: 24px; height: 2px; background: var(--rust); }
.back { position: absolute; left: 16px; top: 11px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--deep); font-size: 26px; line-height: 1; }
.body { padding: 23px 20px 96px; }
h2 { margin: 4px 0 10px; color: var(--deep); font-size: 24px; line-height: 1.4; }
h3 { margin: 23px 0 13px; color: var(--deep); font-size: 16px; }
.muted { color: var(--muted); font-size: 13px; line-height: 1.72; }
.mini-label { display: block; color: var(--rust); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin: 22px 0 13px; }
.section-head h3 { margin: 0; }
.section-head small { color: var(--rust); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.hero { position: relative; overflow: hidden; min-height: 170px; padding: 24px 22px; border-radius: 5px 26px 5px 5px; background: var(--deep); color: var(--paper); }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid #ffffff38; border-radius: 50%; pointer-events: none; }
.hero::before { right: -36px; top: -63px; width: 185px; height: 185px; }
.hero::after { right: 5px; top: -21px; width: 105px; height: 105px; }
.hero h2 { position: relative; z-index: 1; margin: 12px 0 8px; color: #fff9ed; font-size: 25px; }
.hero .muted { position: relative; z-index: 1; color: #cfd8d4; }
.hero .mini-label { color: #e9a587; }
.hero-number { position: absolute; right: 17px; bottom: 4px; color: #ffffff1b; font-family: Georgia, serif; font-size: 74px; font-weight: 700; line-height: 1; }
.searchlink, .searchrow { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 50px; background: var(--paper); border: 1px solid #bcc7c4; border-radius: 7px; color: #79888c; }
.searchlink { margin-top: 17px; padding: 13px 16px; text-align: left; font-size: 13px; }
.searchlink:hover, .searchlink:focus-visible { border-color: var(--rust); outline: 2px solid #c9664230; }
.search-glyph { color: var(--rust); font-size: 19px; line-height: 1; }
.searchrow { padding: 0 13px; }
.searchrow input { width: 100%; height: 48px; border: 0; outline: none; background: transparent; color: var(--deep); }
.searchrow:focus-within { border-color: var(--rust); outline: 2px solid #c9664230; }
.seg { display: flex; gap: 6px; margin-top: 17px; border-bottom: 1px solid var(--line); }
.seg button { flex: 1; border: 0; border-bottom: 3px solid transparent; padding: 10px 5px 11px; background: transparent; color: #8c9999; font-size: 13px; font-weight: 700; }
.seg button.active, .seg button[aria-pressed="true"] { border-bottom-color: var(--rust); color: var(--deep); }
.list { display: grid; gap: 11px; }
.card { display: block; width: 100%; padding: 15px 14px 15px 16px; border: 1px solid var(--line); border-left: 4px solid var(--rust); border-radius: 4px 15px 4px 4px; background: var(--paper); color: var(--ink); text-align: left; box-shadow: 3px 4px 0 #dedbd1; }
.card.kind-lost { border-left-color: #607f94; }
.card:hover, .card:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-serial { color: var(--rust); font-family: Georgia, serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.kind-lost .card-serial { color: #607f94; }
.card-type { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.card-main { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e8bca5; border-radius: 5px; background: var(--rust-soft); color: #a85033; font-family: "Noto Serif SC", "SimSun", serif; font-size: 21px; }
.kind-lost .card-icon { border-color: #bbccd2; background: #e7eef0; color: #4f7087; }
.cardtitle { display: block; color: var(--deep); font-size: 15px; font-weight: 700; line-height: 1.45; }
.meta { margin-top: 5px; color: #7b8888; font-size: 11px; line-height: 1.55; }
.pill { display: inline-block; padding: 5px 8px; border: 1px solid #edc3af; border-radius: 3px; background: #fff3e9; color: #a65434; font-size: 11px; font-weight: 800; }
.pill.lost { border-color: #c5d4d8; background: #edf3f4; color: #526e7d; }
.pill.closed { border-color: #d4d7d2; background: #f2f2ed; color: #73817c; }
.cta, .secondary { width: 100%; min-height: 49px; padding: 13px 17px; border-radius: 6px; font-weight: 800; }
.cta { border: 1px solid var(--deep); background: var(--deep); color: #fffaf0; box-shadow: 4px 4px 0 #ced7d1; }
.cta:hover, .cta:focus-visible { background: #294a5e; outline: 2px solid var(--rust); outline-offset: 2px; }
.secondary { border: 1px solid var(--deep); background: transparent; color: var(--deep); }
.secondary:hover, .secondary:focus-visible { background: #e7ede9; outline: 2px solid var(--rust); outline-offset: 2px; }
.secondary:disabled { opacity: .6; cursor: default; }
.actions { display: grid; gap: 11px; margin-top: 25px; }
.bottomnav { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; display: flex; padding: 9px 5px 15px; border-top: 1px solid var(--line); background: var(--paper); }
.bottomnav button { flex: 1; border: 0; background: transparent; color: #87938f; font-size: 11px; font-weight: 700; }
.bottomnav button.active { color: var(--rust); }
.bottomnav b { display: block; font-size: 20px; line-height: 25px; font-weight: 400; }
.field { display: block; margin-top: 17px; color: #52646a; font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #becbc8; border-radius: 6px; outline: none; background: var(--paper); color: var(--deep); }
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rust); box-shadow: 0 0 0 3px #c9664222; }
.help { margin: 13px 0 0; color: #84908e; font-size: 11px; line-height: 1.5; }
.photo { position: relative; height: 178px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 20px 0; border: 1px solid #c7c9be; border-radius: 4px 24px 4px 4px; background: #e7e7dc; color: var(--muted); font-size: 11px; overflow: hidden; }
.photo::before { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid #cbd1c8; border-radius: 50%; }
.photo-token { position: relative; display: grid; place-items: center; width: 82px; height: 82px; border: 2px solid var(--rust); border-radius: 5px; background: var(--paper); box-shadow: 6px 6px 0 #d8a58e; color: var(--deep); font-family: "Noto Serif SC", "SimSun", serif; font-size: 39px; }
.photo span { position: relative; font-weight: 700; letter-spacing: .08em; }
.facts { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.fact { display: grid; grid-template-columns: 66px 1fr; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #e6e5dc; font-size: 13px; line-height: 1.6; }
.fact:last-child { border-bottom: 0; }
.fact b { color: #879393; font-size: 12px; }
.fact span { color: var(--deep); }
.note { padding: 13px 15px; border-left: 3px solid var(--rust); background: #f8eadf; color: #85543c; font-size: 12px; line-height: 1.7; }
.center { text-align: center; }
.symbol { width: 84px; height: 84px; display: grid; place-items: center; margin: 56px auto 24px; border: 2px solid var(--rust); border-radius: 50%; background: var(--rust-soft); color: var(--rust); font-family: Georgia, serif; font-size: 42px; font-weight: 700; box-shadow: 7px 7px 0 #e6d0bf; }
.empty { padding: 26px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: 13px; line-height: 1.8; text-align: center; }
.error { min-height: 14px; margin: 8px 0; color: #ab4634; font-size: 12px; }
.step-list { display: grid; gap: 13px; margin: 24px 0; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.step b { color: var(--rust); font-family: Georgia, serif; font-size: 23px; }
.step span { color: var(--ink); font-size: 13px; line-height: 1.7; }
.result-count { color: var(--rust); font-family: Georgia, serif; font-size: 36px; font-weight: 700; }
.result-heading { display: flex; align-items: baseline; gap: 7px; margin: 22px 0 15px; }
.result-heading span:last-child { color: var(--muted); font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 850px) {
  .site { padding: 16px 12px 26px; }
  .top { padding: 0 8px 13px; }
  .tag { font-size: 10px; letter-spacing: .05em; }
  .layout { display: block; min-height: 0; }
  .intro { padding: 23px 12px 26px; }
  .intro h1 { margin: 14px 0; font-size: clamp(30px, 8vw, 42px); }
  .intro > p { font-size: 13px; line-height: 1.65; }
  .flows, .footnote { display: none; }
  .device { width: min(390px, 100%); height: min(844px, calc(100dvh - 235px)); min-height: 600px; margin: auto; box-shadow: 8px 10px 0 #d4d0c5; }
}
@media (max-width: 400px) { .tag { max-width: 110px; text-align: right; } .device { min-height: 570px; } }
@media (prefers-reduced-motion: reduce) { .flow { transition: none; } }
