:root {
  color: #17243a;
  background: #eaf2ff;
  font-family: "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-width: 800px; min-height: 100%; }

body {
  min-width: 800px;
  min-height: 100vh;
  margin: 0;
  background: #eaf2ff url("https://p3.ssl.qhimg.com/t110b9a9301272ab12801299f0b.png") center top / cover no-repeat;
}

a { color: inherit; }

.page-frame {
  min-height: 100vh;
  padding: 0 24px;
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1240px);
  min-height: 64px;
  margin: 0 auto;
  color: #1a2941;
  font-size: 14px;
}

.brand,
.return-link {
  text-decoration: none;
}

.brand {
  font-weight: 700;
  letter-spacing: .03em;
}

.brand span {
  margin: 0 5px;
  color: #9baac0;
  font-weight: 400;
}

.return-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.return-link span {
  color: #5d6d82;
  font-size: 14px;
}

.page-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.page-shell::before {
  position: absolute;
  z-index: 0;
  top: 150px;
  left: 50%;
  width: min(500px, 100vw);
  height: 235px;
  background: url("https://p3.ssl.qhimg.com/t110b9a930199ad22e9bbecae05.png") center top / contain no-repeat;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.intro,
.verify-card,
.result {
  position: relative;
  z-index: 1;
}

.intro {
  text-align: center;
}

.intro h1 {
  margin: 0;
  color: #17243a;
  font-size: 32px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.35;
}

.intro p {
  margin: 10px 0 0;
  color: #77859a;
  font-size: 14px;
  line-height: 1.6;
}

.intro p:nth-of-type(2) { margin-top: 4px; }

.verify-card {
  position: relative;
  width: min(100%, 980px);
  margin: 176px auto 0;
  overflow: visible;
}

.card-content {
  padding: 28px 48px 23px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 24px 24px 24px 24px;
  border: 1px solid #FFFFFF;
  box-shadow: 0 18px 52px rgba(67, 114, 180, .12), inset 0 1px 0 rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
}

.card-content h2 {
  margin: 0 0 23px;
  color: #1e2a3c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.search-row {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 4px 4px 4px 15px;
  border: 1px solid rgba(203, 220, 241, .92);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(65, 114, 180, .06);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.search-row:hover {
  border-color: rgba(157, 188, 229, .96);
  box-shadow: 0 5px 16px rgba(65, 114, 180, .1);
}

.search-row:focus-within {
  border-color: rgba(91, 137, 220, .88);
  box-shadow: 0 0 0 3px rgba(91, 137, 220, .12), 0 5px 16px rgba(65, 114, 180, .1);
}

.search-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-right: 14px;
  border: 2px solid #8a97a8;
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #8a97a8;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.search-row input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #263952;
  font-size: 14px;
}

.search-row input::placeholder { color: #9da8b6; }

.search-row input:focus-visible { outline: none; }

/* 覆盖浏览器自动填充的默认蓝色背景，保持输入区域与搜索框一致。 */
.search-row input:-webkit-autofill,
.search-row input:-webkit-autofill:hover,
.search-row input:-webkit-autofill:focus,
.search-row input:-webkit-autofill:active {
  -webkit-text-fill-color: #263952;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
}

.search-row button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 25px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(110deg, #7049ef, #087eea);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.search-row button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.search-row button:focus-visible { outline: 3px solid rgba(36, 103, 238, .28); outline-offset: 2px; }
.search-row button:disabled { cursor: wait; opacity: .62; transform: none; }

.notes {
  display: grid;
  gap: 3px;
  margin: 13px 0 0;
  padding-left: 17px;
  color: #8997aa;
  font-size: 12px;
  line-height: 1.55;
}

.form-message {
  min-height: 18px;
  margin: 9px 0 0;
  color: #df5a5a;
  font-size: 12px;
}

.result {
  width: min(100%, 980px);
  margin: 24px auto 0;
}

.result-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 32px rgba(67, 114, 180, .08);
}

.result-card.matched {
  overflow: hidden;
  padding: 0 0 20px;
  border: 3px solid #2164f3;
}

.result-card.not-found {
  padding: 30px 42px 34px;
  border: 0;
  text-align: center;
}

.result-title {
  margin: 0 0 16px;
  color: #1758cf;
  font-size: 18px;
  line-height: 1.45;
}

.result-card.matched .result-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 22px;
  background: linear-gradient(105deg, #2164f3, #146df1);
  color: #fff;
  font-size: 19px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.result-card.not-found .result-title {
  color: #1e2a3c;
}

.result-body {
  padding: 0 26px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}

.result-agency {
  padding: 22px 0 18px;
  border-bottom: 1px solid #edf0f5;
}

.result-agency .result-label {
  display: block;
  margin-bottom: 8px;
}

.result-agency .result-value {
  display: block;
  font-size: 20px;
  line-height: 1.5;
}

.result-contact {
  padding: 17px 0 13px;
  color: #263e63;
  font-size: 14px;
  line-height: 1.6;
}

.result-contact p {
  margin: 0 0 12px;
}

.result-contact p:last-child { margin-bottom: 0; }

.result-contact strong { font-weight: 600; }

.result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #f6f8fb;
}

.result-warning {
  margin: 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.6;
}

.result-card.not-found p {
  margin: 0;
  color: #8997aa;
  font-size: 15px;
  line-height: 1.7;
}

.result-notice {
  margin-top: 24px;
  padding: 13px 18px;
  border: 1px solid #F53F3F;
  border-radius: 12px 12px 12px 12px;
  background: #FFECE8;
  color: #F53F3F;
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
}

.result-notice strong { font-weight: 700; }

.result-label {
  color: #8492a5;
}

.result-value {
  color: #263e63;
  font-weight: 600;
}

.copy-btn {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 8px 14px;
  border: 1px solid #9bbdf6;
  border-radius: 15px;
  background: #f4f8ff;
  color: #2164db;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.copy-btn:focus-visible { outline: 3px solid rgba(36, 103, 238, .24); outline-offset: 2px; }

.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;
}
