:root {
  --midnight: #0b1026;
  --midnight-2: #121a38;
  --panel: #182142;
  --panel-soft: #202a4d;
  --magenta: #d946ef;
  --magenta-soft: #f0abfc;
  --cold-white: #f4f7ff;
  --muted: #a9b4d0;
  --line: rgba(196, 206, 235, .16);
  --success: #7ef0c5;
  --max: 1180px;
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--midnight); color: var(--cold-white); line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 4%, rgba(217,70,239,.13), transparent 32%), linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 36px 36px, 36px 36px; mask-image: linear-gradient(to bottom, #000, transparent 70%); z-index: -1; }
a { color: inherit; text-decoration-color: rgba(217,70,239,.55); text-underline-offset: .18em; }
a:hover { color: var(--magenta-soft); }
button, input { font: inherit; }
button, .button { min-height: 44px; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--cold-white); color: var(--midnight); border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(11,16,38,.88); backdrop-filter: blur(16px); }
.nav-shell { width: min(var(--max), calc(100% - 2rem)); min-height: 72px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg, var(--magenta), #7c3aed); font-weight: 900; box-shadow: 0 8px 30px rgba(217,70,239,.28); }
.brand b, .brand small { display: block; line-height: 1.15; }
.brand b { letter-spacing: .06em; }
.brand small { color: var(--muted); font-size: .7rem; margin-top: .2rem; }
.site-nav { display: flex; align-items: center; gap: 1rem; font-size: .9rem; }
.site-nav > a, .nav-group a { text-decoration: none; color: var(--muted); }
.site-nav > a:hover, .nav-group a:hover { color: var(--cold-white); }
.nav-group { display: flex; gap: .85rem; }
.nav-toggle { display: none; color: var(--cold-white); border: 1px solid var(--line); border-radius: .55rem; background: var(--panel); padding: .35rem .8rem; }
.hero { width: min(1320px, calc(100% - 2rem)); margin: 0 auto; min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: 5.5rem 0 4rem; }
.eyebrow, .section-label, .card-kicker { color: var(--magenta-soft); text-transform: uppercase; letter-spacing: .11em; font-size: .73rem; font-weight: 800; }
.status-dot { display: inline-block; width: .52rem; height: .52rem; margin-right: .4rem; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(126,240,197,.09); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.025em; }
.hero h1 { max-width: 720px; margin: 1rem 0 1.3rem; font-size: clamp(3.1rem, 5.4vw, 5.8rem); }
.hero h1 em { color: var(--magenta-soft); font-style: normal; text-shadow: 0 0 40px rgba(217,70,239,.28); }
.hero-lead { max-width: 680px; color: #c8d2ea; font-size: 1.12rem; }
.search-console { margin: 2rem 0 1.3rem; padding: 1rem; border: 1px solid rgba(217,70,239,.32); border-radius: 1rem; background: rgba(24,33,66,.78); box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.search-console label { display: block; margin-bottom: .55rem; color: var(--muted); font-size: .82rem; font-weight: 700; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.search-row input { width: 100%; border: 1px solid var(--line); border-radius: .7rem; background: #0d1430; color: var(--cold-white); padding: .75rem .9rem; outline: none; }
.search-row input:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(217,70,239,.18); }
.search-row button, .button.primary { border: 0; border-radius: .7rem; background: linear-gradient(135deg, var(--magenta), #9333ea); color: #fff; font-weight: 800; padding: .7rem 1.2rem; cursor: pointer; }
.search-status { margin: .6rem 0 0; color: var(--muted); font-size: .78rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.button.secondary { border: 1px solid var(--line); border-radius: .7rem; background: rgba(255,255,255,.035); color: var(--cold-white); padding: .68rem 1rem; }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { content: ""; position: absolute; inset: -8%; background: radial-gradient(circle, rgba(217,70,239,.23), transparent 65%); filter: blur(20px); z-index: -1; }
.hero-visual img { border: 1px solid rgba(240,171,252,.26); border-radius: 1.2rem; box-shadow: 0 38px 100px rgba(0,0,0,.45); object-fit: cover; }
.hero-visual figcaption { margin-top: .8rem; color: var(--muted); font-size: .74rem; text-align: center; }
.trust-strip { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto 5rem; display: grid; grid-template-columns: .75fr 2.25fr; gap: 2rem; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip h2 { margin: .4rem 0 0; font-size: 1.35rem; }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.trust-strip li { padding-left: 1rem; border-left: 1px solid var(--line); }
.trust-strip b, .trust-strip span { display: block; }
.trust-strip span { color: var(--muted); font-size: .78rem; }
.section-shell, .page-shell, .article-shell { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.section-shell { padding: 5rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin: .45rem 0 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading > p { max-width: 480px; margin-bottom: .25rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.filters button { border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--muted); padding: .45rem .9rem; cursor: pointer; }
.filters button:hover, .filters button.is-active { border-color: rgba(217,70,239,.65); background: rgba(217,70,239,.11); color: var(--cold-white); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.article-card { min-width: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(145deg, rgba(32,42,77,.74), rgba(18,26,56,.78)); transition: transform .2s ease, border-color .2s ease; }
.article-card:hover { transform: translateY(-3px); border-color: rgba(217,70,239,.4); }
.article-card h2, .article-card h3 { margin: .8rem 0; font-size: 1.12rem; }
.article-card h2 a, .article-card h3 a { text-decoration: none; }
.article-card p { color: var(--muted); font-size: .9rem; }
.card-meta { display: flex; justify-content: space-between; gap: .6rem; align-items: center; color: var(--muted); font-size: .72rem; }
.tag { display: inline-flex; margin: .15rem; padding: .18rem .48rem; border: 1px solid var(--line); border-radius: 99px; color: #cbd5ef; font-size: .68rem; text-decoration: none; }
.article-card[hidden] { display: none; }
.empty-state { padding: 2rem; border: 1px dashed var(--line); border-radius: 1rem; text-align: center; color: var(--muted); }
.explainer { border-top: 1px solid var(--line); }
.explainer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.explainer-grid article { position: relative; padding: 1.5rem 1.5rem 1.5rem 4.5rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.025); }
.explainer-grid article > span { position: absolute; left: 1.4rem; top: 1.4rem; color: var(--magenta-soft); font-weight: 900; }
.explainer-grid h3 { margin-bottom: .6rem; }
.explainer-grid p { margin-bottom: 0; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { padding: .8rem 1.2rem 0; color: var(--muted); }
.comments { border-top: 1px solid var(--line); }
.comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.comment-grid article { padding: 1.4rem; border-left: 3px solid var(--magenta); background: rgba(255,255,255,.025); }
.comment-grid h3 { font-size: .82rem; color: var(--magenta-soft); }
.comment-grid p { margin-bottom: 0; color: #c8d2ea; }
.page-shell { padding: 2rem 0 6rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.page-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: .8rem 0 1rem; font-size: clamp(2.8rem, 6vw, 5.5rem); }
.page-hero > p { max-width: 760px; color: #c2cde7; font-size: 1.05rem; }
.focus-line { color: var(--muted); }
.listing { padding-top: 3rem; }
.listing > h2 { margin-bottom: 1.5rem; }
.article-grid.compact { grid-template-columns: repeat(3, 1fr); }
.index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 3rem; }
.index-card, .author-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.025); }
.index-card h2 { margin: .5rem 0; }
.index-card p, .author-card p, .author-card small { color: var(--muted); }
.author-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-top: 3rem; }
.author-card { display: flex; gap: 1rem; }
.avatar { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(145deg, rgba(217,70,239,.4), rgba(124,58,237,.28)); border: 1px solid rgba(240,171,252,.25); font-weight: 900; }
.author-card h2 { margin: .3rem 0; }
.author-card small { display: block; }
.author-hero { display: flex; gap: 1.2rem; align-items: flex-start; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; padding: 2rem 0 6rem; }
.article-shell > .breadcrumbs { grid-column: 1 / -1; }
.article-detail > header { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--line); }
.article-detail h1 { margin: .8rem 0 1rem; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.article-lead { color: #c5cfe7; font-size: 1.13rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .78rem; }
.article-byline a { color: var(--magenta-soft); }
.tag-row { margin-top: 1rem; }
.safety-note { margin: 2rem 0; padding: 1rem 1.2rem; border-left: 3px solid var(--success); background: rgba(126,240,197,.05); }
.safety-note p { margin: .35rem 0 0; color: var(--muted); }
.article-body section { padding: 1rem 0 1.5rem; }
.article-body h2 { margin-top: 1.5rem; font-size: 1.75rem; }
.article-body h3 { margin: 1.2rem 0 .4rem; color: var(--magenta-soft); font-size: .92rem; }
.article-body p { color: #c8d2ea; }
.article-side { position: sticky; top: 100px; align-self: start; margin-top: 2.5rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--midnight-2); }
.article-side h2 { font-size: 1.1rem; }
.article-side ol { padding-left: 1.2rem; color: var(--muted); }
.article-side .button { width: 100%; margin-top: .6rem; }
.feature-shell { max-width: 930px; }
.feature-body { padding: 2.5rem 0; }
.feature-body section { padding: 1.2rem 0; }
.feature-body h2 { font-size: 1.8rem; }
.feature-body h3 { color: var(--magenta-soft); font-size: 1rem; }
.feature-body p { color: #c8d2ea; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.steps article, .check-grid article { padding: 1.2rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255,255,255,.025); }
.steps article > span { color: var(--magenta-soft); font-size: 1.5rem; font-weight: 900; }
.steps h3, .check-grid h3 { margin: .5rem 0; }
.steps p, .check-grid p { margin-bottom: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--magenta-soft); font-size: .8rem; }
td { color: #c8d2ea; }
.legal-copy section { border-bottom: 1px solid var(--line); }
.not-found { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.error-code { color: var(--magenta); font-size: clamp(6rem, 20vw, 13rem); font-weight: 900; line-height: .8; opacity: .8; }
.not-found h1 { margin: 2rem 0 1rem; font-size: clamp(2rem, 5vw, 4rem); }
.not-found p { max-width: 650px; color: var(--muted); }
.not-found h2 { margin-top: 2rem; font-size: 1rem; }
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: #080d20; }
.footer-grid { width: min(var(--max), calc(100% - 2rem)); margin: auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding: 3.5rem 0; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .82rem; }
.footer-grid h2 { font-size: .88rem; color: var(--cold-white); }
.footer-grid a { display: block; margin: .45rem 0; text-decoration: none; }
.footer-brand { color: var(--cold-white) !important; font-size: 1.05rem !important; font-weight: 900; }
.footer-bottom { width: min(var(--max), calc(100% - 2rem)); margin: auto; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
@media (max-width: 980px) {
  .nav-group { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4rem; }
  .hero-visual { max-width: 760px; }
  .trust-strip { grid-template-columns: 1fr; }
  .article-grid, .article-grid.compact, .index-grid { grid-template-columns: repeat(2, 1fr); }
  .article-shell { grid-template-columns: 1fr; }
  .article-side { position: static; margin-top: 0; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 64px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--midnight-2); }
  .site-nav.is-open { display: flex; }
  .hero { width: min(100% - 1.2rem, 1320px); padding-top: 3rem; }
  .hero-visual::before { inset: 0; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.6rem); }
  .search-row { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .trust-strip { width: min(100% - 1.2rem, var(--max)); }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .section-shell, .page-shell, .article-shell { width: min(100% - 1.2rem, var(--max)); }
  .section-heading { display: block; }
  .article-grid, .article-grid.compact, .index-grid, .author-grid, .explainer-grid, .comment-grid, .steps, .check-grid { grid-template-columns: 1fr; }
  .card-meta { align-items: flex-start; flex-direction: column; }
  .page-hero { padding-top: 3rem; }
  .page-hero h1, .article-detail h1 { font-size: clamp(2.25rem, 12vw, 3.6rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
html,body{overflow-x:hidden}
