:root {
  color-scheme: light;
  --sun: #ffc300;
  --sky: #4ea8de;
  --ice: #edf6f9;
  --sea: #1d3557;
  --ink: #14213d;
  --text: #1d3557;
  --muted: #5b6d82;
  --panel: #ffffff;
  --panel-soft: #edf6f9;
  --line: rgba(29, 53, 87, 0.14);
  --orange: #ff8a3d;
  --rose: #ff5a7a;
  --green: #2ca970;
  --shadow: 0 18px 54px rgba(29, 53, 87, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 195, 0, 0.28), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(78, 168, 222, 0.26), transparent 24rem),
    linear-gradient(180deg, #fffdf3 0%, #edf6f9 42%, #fffaf0 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
summary {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--sea);
  color: #fff;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 243, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1200px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--sea);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--sea);
  background: linear-gradient(135deg, var(--sun), #ffe66d);
  box-shadow: 0 10px 24px rgba(255, 195, 0, 0.28);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a,
.nav-menu button,
.footer-grid a,
.footer-grid button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 15px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.footer-grid a:hover,
.footer-grid button:hover {
  color: var(--sea);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-left: 8px;
  padding: 0 15px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--sun), var(--orange)) !important;
  color: var(--sea) !important;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(255, 195, 0, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--sea);
}

.section {
  padding: 86px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(237, 246, 249, 0.92), rgba(255, 255, 255, 0.82));
  border-block: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 76px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 243, 0.96), rgba(255, 253, 243, 0.62)),
    url("img/1.webp") center / cover no-repeat;
  opacity: 0.9;
}

.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 168, 222, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 195, 0, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #247ca9;
  font-size: 14px;
  font-weight: 900;
}

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

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

h1 {
  max-width: 780px;
  font-size: clamp(38px, 7vw, 74px);
  color: var(--sea);
}

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

h3 {
  font-size: 20px;
  color: var(--ink);
}

.hero-lead {
  max-width: 710px;
  margin: 22px 0 0;
  color: #40566f;
  font-size: 18px;
}

.hero-actions,
.notice-grid,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 900;
}

.btn-primary {
  color: var(--sea);
  background: linear-gradient(135deg, var(--sun), var(--orange));
  box-shadow: 0 14px 36px rgba(255, 195, 0, 0.28);
}

.btn-secondary {
  color: var(--sea);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.btn-small {
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: var(--sky);
}

.hero-actions {
  margin-top: 30px;
}

.hero-stats {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stats div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-stats dt {
  color: #c28f00;
  font-size: 24px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  margin: 0;
  border: 1px solid rgba(78, 168, 222, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 876 / 461;
  object-fit: cover;
}

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

.notice-band {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.78);
  border-block: 1px solid rgba(78, 168, 222, 0.18);
}

.notice-grid {
  justify-content: space-between;
}

.notice-grid p {
  flex: 1 1 560px;
  margin: 0;
  color: #40566f;
}

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

.section-heading.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

.content-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 52px;
}

.prose {
  color: #40566f;
  font-size: 17px;
}

.prose p:first-child {
  margin-top: 0;
}

.image-feature,
.updates {
  background: rgba(255, 255, 255, 0.48);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.feature-row.reverse figure {
  order: 2;
}

.feature-row figure,
.story-panel,
.info-card,
.timeline article,
.updates-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 246, 249, 0.92));
  box-shadow: var(--shadow);
}

.feature-row figure {
  margin: 0;
  overflow: hidden;
}

.feature-row img,
.story-panel img,
.faq-image img {
  width: 100%;
  object-fit: cover;
}

.feature-row p {
  color: #40566f;
}

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

.info-card {
  min-height: 270px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.story-panel:hover,
.updates-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 168, 222, 0.48);
}

.info-card > i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--sea);
  background: linear-gradient(135deg, var(--sun), #ffe66d);
}

.info-card p,
.timeline p,
.updates-grid p,
.faq-list p,
.story-panel p,
.footer-grid p,
.cta-inner p {
  color: var(--muted);
}

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

.story-panel {
  overflow: hidden;
}

.story-panel div {
  padding: 22px;
}

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

.timeline article {
  min-height: 260px;
  padding: 24px;
}

.timeline span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--sky);
  font-weight: 900;
}

.guide-note {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 195, 0, 0.34);
  border-radius: 8px;
  background: rgba(255, 247, 205, 0.76);
}

.guide-note i {
  color: #c28f00;
  margin-top: 4px;
}

.guide-note p {
  margin: 0;
  color: #5e4a09;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.feature-list i {
  color: var(--green);
  margin-top: 5px;
}

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

.updates-grid article {
  min-height: 190px;
  padding: 22px;
}

.updates-grid time {
  color: #c28f00;
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: start;
}

.faq-image {
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--sea);
  font-weight: 900;
}

.faq-list summary::after {
  content: "+";
  color: var(--sky);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 0 18px;
}

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

.friend-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--sea);
  background: rgba(255, 255, 255, 0.74);
}

.friend-links a:hover {
  border-color: var(--sky);
  color: #247ca9;
}

.cta-section {
  padding: 46px 0;
  background:
    linear-gradient(135deg, rgba(255, 195, 0, 0.3), rgba(78, 168, 222, 0.18)),
    #fff9df;
  border-block: 1px solid var(--line);
}

.cta-inner {
  justify-content: space-between;
}

.cta-inner > div {
  max-width: 720px;
}

.site-footer {
  background: var(--sea);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .brand,
.site-footer h2,
.site-footer a,
.site-footer button {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 36px;
  padding: 48px 0 28px;
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-grid a,
.footer-grid button {
  display: block;
  width: fit-content;
  margin: 8px 0;
  padding: 0;
  font-size: 15px;
}

.footer-grid p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 18px 20px 24px;
    background: rgba(255, 253, 243, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-open .nav-menu {
    display: grid;
    gap: 8px;
  }

  .nav-menu a,
  .nav-cta {
    min-height: 46px;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .content-split,
  .feature-row,
  .feature-row.reverse,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse figure {
    order: 0;
  }

  .cards-grid,
  .timeline,
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container,
  .nav {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 46px 0 52px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-stats,
  .cards-grid,
  .timeline,
  .updates-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .info-card,
  .timeline article,
  .updates-grid article {
    min-height: auto;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .notice-grid,
  .cta-inner,
  .footer-bottom {
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
/* Whitehat protocol surfaces: isolated from the original visual system. */
[data-seo-managed="download-link"] { text-decoration: none; }
.seo-home-news, body.seo-news-page { --seo-accent: var(--sky); }
.seo-home-news { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line); }
.seo-home-news-shell { width: min(100%, 1180px); margin: 0 auto; }
.seo-home-news-header { max-width: 720px; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.seo-home-news-kicker { margin: 0 0 .65rem; color: var(--seo-accent); font-size: .85rem; font-weight: 800; }
.seo-home-news-header h2 { margin: 0; }
.seo-home-news-header > p:last-child { margin: .8rem 0 0; color: var(--muted); }
.seo-home-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.seo-home-news-list > * { min-width: 0; }
.seo-home-news-card, .seo-home-news-empty { margin: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.seo-home-news-card h3 { margin: 0; }
.seo-home-news-card time { display: block; margin-top: .65rem; color: var(--seo-accent); font-size: .9rem; }
.seo-home-news-card p { margin: .75rem 0 1rem; color: var(--muted); }
.seo-home-news-card a { color: var(--seo-accent); font-weight: 800; text-underline-offset: .2em; }
.seo-home-news-list:has(.seo-home-news-card) + .seo-home-news-empty { display: none; }
.seo-home-news-empty { margin-top: 1.5rem; color: var(--muted); text-align: center; }

body.seo-news-page { min-height: 100vh; display: flex; flex-direction: column; }
.seo-news-sitebar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: var(--panel); }
.seo-news-sitebar a { color: inherit; font-weight: 800; text-decoration: none; }
.seo-news-sitebar-nav { display: flex; align-items: center; gap: 1rem; }
.seo-news-sitebar-nav a:last-child { padding: .55rem .9rem; border: 1px solid var(--seo-accent); border-radius: 8px; color: var(--seo-accent); }
.seo-news-main { width: min(100%, 1100px); flex: 1; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 1rem; }
.seo-news-header { max-width: 720px; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.seo-news-kicker { margin: 0 0 .65rem; color: var(--seo-accent); font-size: .85rem; font-weight: 800; }
.seo-news-header h1, .seo-news-detail h1 { margin: 0; }
.seo-news-header p { margin: .8rem 0 0; color: var(--muted); }
.seo-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.seo-news-card, .seo-news-empty-state, .seo-news-detail { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.seo-news-card { padding: 1.35rem; }
.seo-news-card h2 { margin: 0; font-size: 1.25rem; }
.seo-news-card time { display: block; margin-top: .65rem; color: var(--seo-accent); font-size: .9rem; }
.seo-news-card p { margin: .75rem 0 1rem; color: var(--muted); }
.seo-news-card a, .seo-news-back a { color: var(--seo-accent); font-weight: 800; text-underline-offset: .2em; }
.seo-news-empty-state { margin: 1.5rem 0 0; padding: 2rem 1.25rem; color: var(--muted); text-align: center; }
.seo-news-list:has(.seo-news-card) + .seo-news-empty-state { display: none; }
.seo-news-detail { width: min(100%, 860px); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem); }
.seo-news-date { margin: .75rem 0 1.5rem; color: var(--muted); }
.seo-news-plain-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.seo-news-back { margin: 2rem 0 0; }
.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.35rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.seo-download-dialog h3 { margin: 0 0 .7rem; }.seo-download-dialog p { margin: 0; }.seo-download-actions { display: flex; justify-content: flex-end; gap: .75rem; margin-top: 1.1rem; }.seo-download-actions button { padding: .6rem .95rem; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--panel); cursor: pointer; }.seo-download-actions button:last-child { border-color: var(--seo-accent); color: var(--seo-accent); }
@media (max-width: 640px) { .seo-news-sitebar { align-items: flex-start; flex-direction: column; }.seo-news-sitebar-nav { width: 100%; justify-content: space-between; }.seo-home-news, .seo-news-main { padding-left: .75rem; padding-right: .75rem; }.seo-home-news-list, .seo-news-list { grid-template-columns: 1fr; } }
