* { box-sizing: border-box; }
:root {
  --bg-1: #f4fbf6;
  --bg-2: #eaf5ee;
  --panel: rgba(255,255,255,0.78);
  --panel-border: rgba(84, 133, 103, 0.14);
  --text: #183525;
  --muted: #6f8477;
  --accent: #4d9b6a;
  --accent-strong: #2f7d4c;
  --accent-soft: rgba(77,155,106,0.12);
}
body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(900px 700px at 15% 20%, rgba(139, 202, 162, 0.26), transparent 60%),
    radial-gradient(700px 520px at 85% 12%, rgba(197, 227, 204, 0.28), transparent 55%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.14), transparent 28%, transparent 72%, rgba(255,255,255,0.08));
}
.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px 24px;
}
.hero, .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1;
}
.hero {
  width: min(1100px, 100%);
  gap: 0;
  align-items: center;
  text-align: center;
}
.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-logo {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,0.22));
}
h1 {
  font-family: 'AiDianGanFengXingKai', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: 0;
  max-width: 760px;
  font-weight: 400;
  color: #206f9f;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 0 rgba(255,255,255,0.32), 0 8px 18px rgba(32,111,159,0.12);
}
p {
  display: none;
}
.card {
  width: min(520px, 100%);
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(244,251,246,0.62));
  backdrop-filter: blur(22px);
  border: 1px solid rgba(84,133,103,0.10);
  box-shadow: 0 14px 34px rgba(54,98,70,0.08);
  justify-content: flex-start;
  align-self: center;
}
form {
  display: grid;
  gap: 14px;
  width: 100%;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(93, 215, 255, 0.10), rgba(167, 139, 250, 0.05), rgba(255,255,255,0.015));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
form {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #355543;
  font-weight: 700;
}
input {
  border: 1px solid rgba(84,133,103,0.18);
  background: rgba(255,255,255,0.92);
  color: #183525;
  padding: 14px 16px;
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
input::placeholder { color: rgba(111,132,119,0.68); }
input:focus {
  border-color: rgba(77,155,106,0.42);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #ffffff;
}
button {
  margin-top: 10px;
  border: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f7fff9;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(77,155,106,0.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(77,155,106,0.18);
  filter: brightness(1.01);
}
button:active { transform: translateY(0); }
pre {
  margin-top: 20px;
  white-space: pre-wrap;
  color: #c7e9ff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
  background: transparent;
  border: 0;
  border-radius: 14px;
  padding: 0;
  min-height: 0;
}
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-copyright,
.footer-browser-tip {
  color: #5e7769;
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}
.police-record {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.police-record-logo {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}
@font-face {
  font-family: 'AiDianGanFengXingKai';
  src: url('../fonts/AiDianGanFengXingKai-2.ttf') format('truetype'), url('/public/fonts/AiDianGanFengXingKai-2.ttf') format('truetype');
  font-display: swap;
}

@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; padding-bottom: 58px; }
  .hero, .card { padding: 34px 20px; margin: 0; }
  .card { border-radius: 24px 24px 0 0; }
  h1 { font-size: 40px; }
  .site-footer { position: static; padding-bottom: 16px; }
}
