/* Author: 关羽 | Telegram: @cnitgy | Email: cnitol@hotmail.com */
:root {
  color-scheme: dark;
  --bg: #08090c;
  --surface: #111217;
  --surface2: #191b22;
  --text: #f0f1f5;
  --muted: #abb0bd;
  --subtle: #9299aa;
  --line: #30333f;
  --control: #777f90;
  --accent: #ff505d;
  --ink: #16080b;
  --soft: #29151c;
  --glow: rgba(255, 65, 87, 0.16);
  --ok: #8cd2b0;
  --warn: #e5be7d;
}
:root[data-theme="B"] {
  --bg: #060d1d;
  --surface: #0d1930;
  --surface2: #142440;
  --text: #eef4ff;
  --muted: #b0bfd7;
  --subtle: #96abc9;
  --line: #2b4265;
  --control: #8399b7;
  --accent: #73b4ff;
  --ink: #061329;
  --soft: #132d51;
  --glow: rgba(60, 135, 255, 0.18);
  --ok: #9ed8bc;
  --warn: #ebc890;
}
.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;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.7 system-ui,
    -apple-system,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
input,
select,
textarea {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--control);
  border-radius: 3px;
}
button,
input,
select {
  min-height: 44px;
}
button {
  padding: 9px 15px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
}
textarea {
  resize: vertical;
  min-height: 150px;
}
select option {
  background: #fff;
  color: #15171d;
}
p,
h1,
h2,
h3,
li,
a,
label {
  overflow-wrap: anywhere;
}
p {
  margin: 0 0 1.2em;
}
h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.5rem, 4.7vw, 5.5rem);
  margin: 0.4em 0 0.5em;
}
h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  margin: 0.4em 0 0.7em;
}
h3 {
  font-size: 1.3rem;
  margin: 0.5em 0 0.8em;
}
small,
.small {
  font-size: 0.8rem;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--accent);
}
.eyebrow {
  font:
    11px/1.8 ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.wrap {
  width: min(100% - 80px, 1600px);
  margin-inline: auto;
}
.narrow {
  max-width: 900px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--text);
  color: var(--bg);
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
}
.brand small {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.25em;
  margin-top: 5px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
  margin-left: auto;
  font-size: 13px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 21px;
  border: 1px solid var(--control);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn.primary:hover {
  filter: brightness(1.08);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.menu-toggle {
  display: none;
  min-width: 44px;
}
.mobile-nav {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  max-height: calc(100dvh - 80px);
  overflow: auto;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
}
.language {
  position: relative;
  flex-shrink: 0;
}
.language select {
  width: 106px;
}
.lang-toggle {
  min-width: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 13px;
  font-size: 13px;
}
.flag {
  width: 23px;
  height: 16px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #ffffff30;
}
.lang-links {
  direction: rtl;
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  width: 132px;
  max-width: calc(100vw - 24px);
  max-height: 300px;
  overflow: auto;
  overscroll-behavior-y: contain;
  background: var(--surface2);
  border: 1px solid var(--control);
  padding: 5px;
  box-shadow: 0 14px 40px #0008;
  z-index: 50;
}
.lang-links a {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 40px;
  padding: 8px;
  font-size: 13px;
}
.lang-links.lang-viewport {
  position: fixed;
  top: 8px;
  right: 12px;
}
.lang-links a:hover,
.lang-links [aria-current="true"] {
  background: var(--soft);
  color: var(--text);
}
[hidden] {
  display: none !important;
}
.hero-stage {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 78% 42%, var(--glow), transparent 64%);
  border-bottom: 1px solid var(--line);
}
.hero-stage:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.2;
  mask-image: radial-gradient(ellipse at 78% 50%, #0008, transparent 73%);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 30px;
}
.hero-copy {
  padding-block: 20px;
}
.hero h1 {
  max-width: 12em;
  text-wrap: balance;
}
.hero .subline {
  text-wrap: balance;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  color: var(--text);
}
.hero .intro {
  max-width: 610px;
  color: var(--muted);
  font-size: 15px;
}
.hero-visual {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.core-stage {
  color: var(--accent);
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.core {
  grid-area: 1/1;
  width: 100%;
  height: auto;
  display: block;
}
.core {
  width: 88%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px var(--glow));
}
::placeholder {
  color: var(--subtle);
  opacity: 1;
}
.hero-visual figcaption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.section {
  padding-block: 88px;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 32px;
}
.section-head p {
  max-width: 570px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  background: linear-gradient(145deg, var(--surface), var(--bg));
  border: 1px solid var(--line);
  padding: 30px;
  min-width: 0;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.card-no {
  color: var(--accent);
  font:
    12px ui-monospace,
    monospace;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
}
.service-card a {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.service-card h3 a {
  font-size: 1.3rem;
}
.service-card .arrow {
  color: var(--accent);
  font-size: 22px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.method-grid article {
  padding-top: 22px;
  border-top: 1px solid var(--accent);
}
.method-grid p {
  color: var(--muted);
  font-size: 14px;
}
.story {
  max-width: 960px;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.9;
}
.portraits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-block: 40px;
}
.person {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.person figure {
  margin: 0 0 20px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
}
.person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.person:hover img {
  transform: scale(1.025);
}
.person h3 {
  font-size: 1.4rem;
}
.person p {
  font-size: 13px;
  color: var(--muted);
}
.person blockquote {
  font-size: 13px;
  margin: 0 0 18px;
  border-left: 2px solid var(--accent);
  padding-left: 12px;
}
.person .btn {
  margin-top: auto;
  font-size: 12px;
  padding: 10px 12px;
}
.empty {
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.empty p {
  max-width: 750px;
  color: var(--muted);
}
.channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.channel-links a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  min-height: 44px;
}
.contact-panel {
  background: radial-gradient(ellipse at right, var(--glow), transparent 70%);
  border: 1px solid var(--line);
  padding: clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-grid label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  margin-top: 7px;
}
.full {
  grid-column: 1/-1;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--ok);
  margin-top: 16px;
}
.site-footer {
  padding-block: 40px;
  font-size: 12px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.page-heading {
  padding-block: 70px 30px;
}
.page-heading h1 {
  max-width: 1100px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
}
.prose {
  max-width: 850px;
  padding-bottom: 70px;
}
.prose h2 {
  font-size: 1.9rem;
  margin-top: 2em;
}
.prose p {
  color: var(--muted);
  line-height: 1.95;
  white-space: pre-line;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .conditions {
  padding: 24px;
  background: var(--surface);
  border-left: 2px solid var(--accent);
}
.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.evidence-list {
  padding-left: 20px;
}
.search-form {
  display: flex;
  gap: 12px;
  margin-block: 30px;
}
.search-form button {
  flex-shrink: 0;
}
.result {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}




.motion-hidden *,
.motion-hidden::before,
.motion-hidden::after,
.motion-hidden *::before,
.motion-hidden *::after {
  animation-play-state: paused !important;
}


@media (min-width: 1700px) {
  .hero {
    padding-top: 85px;
  }
  .hero-copy {
    padding-right: 35px;
  }
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 14px;
  }
  .header-actions > .btn {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portraits {
    gap: 12px;
  }
  .person h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-inner {
    min-height: 78px;
  }
  .hero {
    padding-top: 35px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
  }
  .portraits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact-panel {
    gap: 32px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 32px;
  }
  .hero-copy {
    max-width: 680px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 7.4vw, 4.1rem);
    max-width: 15em;
  }
  .core-stage {
    max-width: 500px;
  }
  .hero-foot {
    gap: 24px;
  }
  .section {
    padding-block: 60px;
  }
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .section-head {
    display: block;
  }
  .portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .header-inner {
    gap: 12px;
  }
  .header-actions {
    gap: 12px;
  }
  .lang-toggle,
  .language select {
    min-width: 96px;
    width: 96px;
  }
  .lang-toggle {
    gap: 7px;
  }
  .flag {
    width: 22px;
    height: 15px;
  }
  .lang-links {
    width: 124px;
  }
  .page-heading {
    padding-top: 40px;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 16px;
  }
  .brand small {
    font-size: 8px;
  }
  .header-inner {
    gap: 8px;
    min-height: 76px;
  }
  .header-actions {
    gap: 8px;
  }
  .menu-toggle {
    padding: 8px;
    font-size: 12px;
  }
  .hero .intro {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-card {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .portraits {
    gap: 26px 12px;
  }
  .person .btn {
    font-size: 11px;
  }
  .person h3 {
    font-size: 1.2rem;
  }
  .hero-foot .eyebrow {
    max-width: 170px;
  }
  .contact-panel {
    padding: 22px;
  }
  .empty {
    padding: 25px;
  }
  .actions .btn {
    padding: 12px 16px;
  }
  .hero-visual figcaption {
    font-size: 10px;
  }
  .footer-row {
    display: block;
  }
  .footer-links {
    margin-top: 20px;
  }
  .method-grid {
    gap: 25px 18px;
  }
}

@media (forced-colors: active) {
  .flag {
    forced-color-adjust: none;
  }
  .btn,
  .service-card,
  .lang-links {
    border: 1px solid CanvasText;
  }
  .hero-stage:before,
  
}
@media print {
  .site-header,
  .site-footer,
  .actions,
  button,
  form {
    display: none;
  }
  .hero-stage {
    background: none;
  }
  body {
    color: #000;
    background: #fff;
  }
  .wrap {
    width: 100%;
  }
  .prose p {
    color: #111;
  }
}

.hero h1 > span {
  display: block;
}
.prose > img {
  width: min(100%, 400px);
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.no-script-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.no-script-nav a {
  padding: 8px;
  min-height: 44px;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.method-grid {
  position: relative;
}
.method-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
  transform-origin: left;
}
.method-visible::before {
  animation: method-trace 900ms ease-out both;
}
.method-visible > article {
  animation: method-stage 540ms ease-out both;
  animation-delay: var(--stage-delay, 0ms);
}
.method-grid > article:focus-within {
  outline: 1px solid var(--control);
  outline-offset: 4px;
}
.anchor-alias {
  scroll-margin-top: 110px;
}
@keyframes method-trace {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes method-stage {
  from {
    transform: translateY(8px);
  }
  to {
    transform: translateY(0);
  }
}

