@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
body:has(.legacy-not-found) {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 18%, rgba(26, 126, 200, 0.1), transparent 45%),
    linear-gradient(180deg, #edf4fa 0%, #f6f9fc 100%);
  color: #1d344b;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.legacy-not-found {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 4px 10px rgba(4, 20, 36, 0.04), 0 24px 56px -16px rgba(4, 20, 36, 0.12);
}
.legacy-not-found::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0a2540 0%, #1a7ec8 65%, #56c2ff 100%);
}
.legacy-not-found .mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e6f2fb;
  border: 1px solid rgba(26, 126, 200, 0.16);
  padding: 12px;
}
.legacy-not-found .mark img {
  width: 100%;
  height: 100%;
  display: block;
}
.legacy-not-found small {
  display: inline-block;
  margin-top: 26px;
  font-family: "Barlow Semi Condensed", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #1a7ec8;
}
.legacy-not-found h1 {
  margin: 12px 0 0;
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #041424;
}
.legacy-not-found p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: #4f687d;
}
.legacy-not-found nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.legacy-not-found a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #0a2540;
  color: #ffffff;
  border: 1px solid #0a2540;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}
.legacy-not-found a:hover {
  transform: translateY(-1px);
  background: #1a7ec8;
  border-color: #1a7ec8;
}
.legacy-not-found a:last-child {
  background: #ffffff;
  color: #0a2540;
  border-color: rgba(10, 37, 64, 0.16);
}
.legacy-not-found a:last-child:hover {
  background: #edf3f8;
  border-color: #0a2540;
}
.legacy-not-found a:focus-visible {
  outline: 3px solid #1a7ec8;
  outline-offset: 3px;
}
  
