:root {
  --bg: #10141a;
  --bg-2: #171d24;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.26);
  --ink: #f3f5f7;
  --muted: rgba(243, 245, 247, 0.72);
  --accent: #8be0d2;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --sans: system-ui, -apple-system, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 224, 210, 0.08), transparent 22%),
    radial-gradient(circle at 80% 14%, rgba(123, 106, 214, 0.12), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.05), transparent 28%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 34%, transparent 82%);
  pointer-events: none;
}

a {
  color: inherit;
}

.page {
  width: min(calc(100% - 1.5rem), 980px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 2.5rem 0;
}

.shell {
  width: 100%;
  max-width: 680px;
}

.hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

.mark {
  width: 7rem;
  height: 7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.38rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 0.9rem rgba(255, 255, 255, 0.02),
    var(--shadow);
}

.mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 999px;
}

.title {
  margin: 1.55rem 0 0;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.subtitle {
  width: min(100%, 33rem);
  margin: 1.1rem 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 2rem 0 0;
  background: var(--line);
}

.links {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
  border-left: 1px solid var(--line);
}

.links a {
  min-width: 11rem;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.79rem;
}

.links a:first-child {
  border-left: 1px solid var(--line);
}

.links a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.card {
  margin: 2.35rem auto 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.meta-row {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-row:first-child {
  border-top: 0;
}

.meta-label {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.mono {
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.8;
  word-break: break-word;
}

.footnote {
  margin: 1.25rem 0 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.footnote a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 640px) {
  .page {
    width: min(calc(100% - 1rem), 980px);
    padding: 1.5rem 0;
  }

  .shell {
    max-width: 100%;
  }

  .mark {
    width: 5.4rem;
    height: 5.4rem;
  }

  .links {
    display: grid;
    border-left: 0;
  }

  .links a,
  .links a:first-child {
    min-width: 0;
    border-left: 1px solid var(--line);
  }

  .card {
    padding: 1rem;
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
