:root {
  --bg: #05070d;
  --bg-2: #0b1020;
  --card: rgba(12, 18, 34, 0.82);
  --cyan: #00e5ff;
  --purple: #8b5cf6;
  --green: #35ff9f;
  --gold: #ffcf5a;
  --text: #d7e6ff;
  --muted: #8ca3c7;
  --line: rgba(0, 229, 255, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 10%, rgba(0, 229, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 82% 14%, rgba(139, 92, 246, 0.18), transparent 24rem),
    linear-gradient(135deg, rgba(0, 229, 255, 0.055) 1px, transparent 1px),
    linear-gradient(45deg, rgba(139, 92, 246, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 5px);
  opacity: 0.25;
  z-index: -1;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 13, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(139, 92, 246, 0.24));
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}

.brand-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--cyan);
}

button,
.ghost-btn {
  font: inherit;
}

.nav-cta,
.primary-btn,
.ghost-btn {
  min-height: 44px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-cta,
.primary-btn {
  border: 0;
  color: #031018;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}

.nav-cta {
  padding: 0 18px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.ghost-btn {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cyan);
}

.hero,
.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-grid,
.split-layout,
.guide-layout,
.download-panel {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 84px);
  color: #ffffff;
  text-shadow: 0 0 22px rgba(0, 229, 255, 0.28);
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #ffffff;
}

h3 {
  font-size: 20px;
  color: #ffffff;
}

.hero-subtitle {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 18px;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-stats span {
  min-width: 122px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.hero-stats strong {
  display: block;
  color: var(--cyan);
  font-size: 24px;
}

.hero-media,
.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  border-top: 1px solid rgba(0, 229, 255, 0.08);
}

.section-heading,
.content-grid,
.gallery,
.feature-list,
.timeline,
.faq-grid,
.friend-links {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 28px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 28px;
}

.prose,
.guide-main,
.signal-panel,
.feature-card,
.feature-list article,
.faq-grid details,
.download-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.prose,
.guide-main {
  padding: clamp(22px, 4vw, 34px);
}

.prose p,
.guide-main p {
  margin: 0 0 16px;
}

.prose p:last-child,
.guide-main p:last-child {
  margin-bottom: 0;
}

.signal-panel {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.signal-panel span,
.friend-links a {
  border: 1px solid rgba(53, 255, 159, 0.28);
  border-radius: 8px;
  color: #dfffee;
  background: rgba(53, 255, 159, 0.07);
}

.signal-panel span {
  padding: 8px 10px;
  font-size: 14px;
}

.content-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.feature-list article {
  padding: 24px;
}

.feature-card:hover,
.feature-list article:hover,
.faq-grid details:hover {
  border-color: rgba(0, 229, 255, 0.52);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #021219;
  font-weight: 900;
  background: var(--cyan);
}

.feature-card p,
.feature-list p,
.timeline li,
.faq-grid p,
.download-panel p {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 22px;
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide-steps li {
  counter-increment: guide;
  position: relative;
  margin-bottom: 14px;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 18, 34, 0.66);
}

.guide-steps li::before {
  content: counter(guide);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #021219;
  font-weight: 900;
  background: var(--green);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-left: 0;
  list-style: none;
  counter-reset: patch;
}

.timeline li {
  counter-increment: patch;
  position: relative;
  padding: 18px 18px 18px 56px;
  border-left: 2px solid var(--cyan);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.timeline li::before {
  content: "V" counter(patch);
  position: absolute;
  left: 14px;
  top: 18px;
  color: var(--gold);
  font-weight: 900;
}

.download-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 5vw, 40px);
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.16)),
    var(--card);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  padding: 18px 20px;
}

.faq-grid summary {
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.friend-links a {
  padding: 10px 14px;
  text-decoration: none;
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  background: var(--bg-2);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 7, 13, 0.96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-layout,
  .guide-layout,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .content-grid,
  .gallery,
  .feature-list,
  .timeline,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .download-panel {
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .main-nav {
    top: 64px;
  }

  .hero,
  .section {
    padding: 44px 16px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .primary-btn,
  .ghost-btn,
  .nav-cta {
    width: 100%;
  }
}


/* Whitehat protocol surfaces; inherit each original site's theme. */
[data-seo-managed="download-link"] { text-decoration: none; }
.seo-home-news { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.seo-home-news .container { width: min(100%, 1180px); margin: 0 auto; }
.seo-home-news .section-head { max-width: 720px; }
.seo-home-news .section-head .kicker { margin-bottom: .7rem; color: var(--cyan); font-size: .86rem; font-weight: 800; }
.seo-home-news .section-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.seo-home-news .section-head p { margin: .85rem 0 0; color: var(--muted); }
.seo-home-news .seo-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1rem; margin-top: 1.75rem; }
.seo-home-news .seo-news-list > * { min-width: 0; }
.seo-home-news .seo-news-card,
.seo-home-news .seo-news-empty { border: 1px solid var(--line); border-radius: 8px; background: rgba(11, 16, 32, .74); box-shadow: var(--shadow); }
.seo-home-news .seo-news-card { padding: 1.35rem; }
.seo-home-news .seo-news-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.45; }
.seo-home-news .seo-news-card time { display: block; margin-top: .6rem; color: var(--cyan); font-size: .86rem; }
.seo-home-news .seo-news-card p { margin: .8rem 0 1.1rem; color: var(--muted); }
.seo-home-news .seo-news-card a { color: var(--cyan); font-weight: 800; text-underline-offset: .2em; }
.seo-home-news .seo-news-empty,
.seo-home-news .seo-home-news-empty { display: block; grid-column: 1 / -1; margin: 1.75rem 0 0; padding: 2.25rem 1.5rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-align: center; background: rgba(11, 16, 32, .74); box-shadow: var(--shadow); }
.seo-home-news .seo-news-list:has(.seo-news-card) + .seo-home-news-empty { display: none; }

/* Dedicated, self-contained presentation for server-rendered news pages. */
.seo-news-page { min-height: 100vh; display: flex; flex-direction: column; }
.seo-news-page .seo-news-main { width: 100%; max-width: none; margin: 0; padding: clamp(2.75rem, 6vw, 5.5rem) 1rem 4.5rem; min-height: calc(100vh - 72px); flex: 1; }
.seo-news-page .seo-news-shell,
.seo-news-page .seo-news-detail { width: min(100%, 1040px); margin: 0 auto; }
.seo-news-page .seo-news-header { max-width: 720px; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.seo-news-page .seo-news-header .kicker,
.seo-news-page .seo-news-detail .kicker { margin-bottom: .7rem; color: var(--cyan); font-size: .86rem; font-weight: 800; }
.seo-news-page .seo-news-header h1,
.seo-news-page .seo-news-detail h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; }
.seo-news-page .seo-news-header p { max-width: 42rem; margin: .9rem 0 0; color: var(--muted); }
.seo-news-page .seo-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1rem; padding-top: 1.75rem; }
.seo-news-page .seo-news-list > * { min-width: 0; }
.seo-news-page .seo-news-card,
.seo-news-page .seo-news-empty,
.seo-news-page .seo-news-detail { border: 1px solid var(--line); border-radius: 8px; background: rgba(11, 16, 32, .74); box-shadow: var(--shadow); }
.seo-news-page .seo-news-card { padding: 1.35rem; }
.seo-news-page .seo-news-card h2,
.seo-news-page .seo-news-card h3 { margin: 0; color: #fff; font-size: 1.15rem; line-height: 1.45; }
.seo-news-page .seo-news-card time { display: block; margin-top: .6rem; color: var(--cyan); font-size: .86rem; }
.seo-news-page .seo-news-card p { margin: .8rem 0 1.1rem; color: var(--muted); }
.seo-news-page .seo-news-card a,
.seo-news-page .seo-news-back a { color: var(--cyan); font-weight: 800; text-underline-offset: .2em; }
.seo-news-page .seo-news-empty { grid-column: 1 / -1; margin: 0; padding: 2.5rem 1.5rem; color: var(--muted); text-align: center; }
.seo-news-page .seo-news-list:empty::before { content: "暂无资讯内容。"; display: block; grid-column: 1 / -1; padding: 2.5rem 1.5rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); text-align: center; background: rgba(11, 16, 32, .74); box-shadow: var(--shadow); }
.seo-news-page .seo-news-detail { width: min(100%, 860px); padding: clamp(1.5rem, 4vw, 3rem); }
.seo-news-page .seo-news-plain-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.seo-news-page .seo-news-date { margin: .7rem 0 1.5rem; color: var(--muted); }
.seo-news-page .seo-news-back { margin: 2rem 0 0; }
.seo-news-page .site-footer { margin-top: auto; }
.seo-download-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.58); }
.seo-download-dialog { width: min(430px,100%); padding: 1.4rem; border-radius: .8rem; background: #182033; color: #fff; box-shadow: 0 1.2rem 3rem rgba(0,0,0,.35); }
.seo-download-dialog h3 { margin: 0 0 .7rem; }.seo-download-dialog p { margin: 0; line-height: 1.65; }.seo-download-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.15rem; }.seo-download-actions button { padding: .65rem 1rem; cursor: pointer; }
@media (max-width: 640px) {
  .seo-news-page .seo-news-main { min-height: calc(100vh - 64px); padding: 2.25rem .75rem 3rem; }
  .seo-news-page .seo-news-header { padding-bottom: 1.5rem; }
  .seo-news-page .seo-news-list { grid-template-columns: 1fr; padding-top: 1.25rem; }
  .seo-news-page .seo-news-empty { padding: 2rem 1rem; }
}
