:root {
  color-scheme: light;
  --bg: #fff0f5;
  --panel: #ffffff;
  --text: #26304f;
  --muted: #66708f;
  --pink: #ff85a2;
  --pink-strong: #ff5f8a;
  --blue: #a8dadc;
  --blue-strong: #4fb7c1;
  --line: rgba(38, 48, 79, 0.12);
  --shadow: 0 24px 64px rgba(255, 133, 162, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 133, 162, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 218, 220, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #fff0f5 48%, #ecfbfc 100%);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.72;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, summary { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: 0; }
h1 { max-width: 920px; font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 21px; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(1260px, 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;
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 133, 162, 0.42);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff0f5, #e6fbff);
}
.brand-mark img { width: 30px; height: 30px; object-fit: contain; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a,
.nav-menu button,
.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.nav-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
}
.nav-menu a:hover,
.footer-links a:hover,
.footer-links button:hover { color: var(--pink-strong); }
.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 0 15px;
  border-radius: 12px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong)) !important;
  font-weight: 900;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}

.poster-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.poster-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,240,245,0.88) 42%, rgba(255,240,245,0.22) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.98) 100%);
}
.poster-media img {
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 72px);
  object-fit: cover;
}
.poster-content {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 34px;
  align-items: end;
  padding: 86px 0 56px;
}
.poster-copy p:not(.eyebrow) {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}
.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink-strong);
  font-size: 14px;
  font-weight: 900;
}
.hero-actions,
.cta-inner,
.links-grid {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-actions { margin-top: 30px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 900;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-strong));
  box-shadow: 0 14px 34px rgba(255, 95, 138, 0.28);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}
.case-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.case-card > span {
  display: block;
  color: var(--blue-strong);
  font-weight: 900;
  margin-bottom: 8px;
}
.case-card dl { margin: 0; }
.case-card div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.case-card dt { color: var(--muted); }
.case-card dd { margin: 0; font-weight: 900; }

.archive-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 240, 245, 0.62);
}
.archive-items {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.archive-items a {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
}
.archive-items strong { color: var(--pink-strong); font-size: 20px; }
.archive-items span { color: var(--muted); font-weight: 800; }

.file-section,
.world-board,
.route-ribbon,
.character-band,
.feature-ledger,
.update-faq-wrap,
.links-section {
  padding: 86px 0;
}
.file-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 58px;
}
.file-label {
  position: sticky;
  top: 104px;
  height: fit-content;
}
.file-text {
  columns: 2 340px;
  column-gap: 44px;
  color: var(--muted);
  font-size: 17px;
}
.file-text p:first-child { margin-top: 0; }

.section-head { margin-bottom: 32px; }
.section-head.centered {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.section-head p,
.world-card p,
.route-track p,
.character-scroll p,
.feature-list,
.timeline p,
.faq-list p,
.site-footer p,
.cta-inner p {
  color: var(--muted);
}

.world-board,
.update-faq-wrap {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}
.world-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.world-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(255, 133, 162, 0.12);
}
.world-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.world-card div {
  flex: 1;
  padding: 20px;
}
.world-card span {
  color: var(--blue-strong);
  font-weight: 900;
  text-transform: uppercase;
}
.world-card h3 { margin-top: 8px; }

.route-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.route-track article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(255, 133, 162, 0.12);
}
.route-track span {
  color: var(--pink-strong);
  font-size: 24px;
  font-weight: 900;
}
.route-track h3 { margin-top: 12px; }

.character-scroll {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.character-scroll article {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}
.character-scroll img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.character-scroll div {
  flex: 1;
  padding: 20px;
}

.feature-ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}
.feature-ledger figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.feature-ledger img {
  width: 100%;
  min-height: 480px;
  object-fit: cover;
}
.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}
.feature-list i {
  margin-top: 5px;
  color: var(--pink-strong);
}

.dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 30px;
  align-items: start;
}
.updates-panel,
.faq-panel {
  min-width: 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.timeline article,
.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(255, 133, 162, 0.1);
}
.timeline article {
  min-height: 170px;
  padding: 18px;
}
.timeline time {
  color: var(--pink-strong);
  font-weight: 900;
}
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.faq-list details { padding: 0 18px; }
.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 900;
}
.faq-list summary::after {
  content: "+";
  color: var(--pink-strong);
  font-size: 24px;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list p {
  margin: 0;
  padding: 0 0 18px;
}

.links-grid,
.cta-inner {
  justify-content: space-between;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.friend-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.friend-links a:hover {
  color: var(--pink-strong);
  border-color: var(--pink);
}

.cta-section {
  padding: 52px 0;
  border-block: 1px solid rgba(255, 133, 162, 0.24);
  background: linear-gradient(135deg, rgba(255, 133, 162, 0.16), rgba(168, 218, 220, 0.22));
}
.cta-inner > div { max-width: 760px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff0f5;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  padding: 46px 0 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 10px;
}
.footer-links a,
.footer-links button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
}

@media (max-width: 1080px) {
  .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;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
  }
  .nav-open .nav-menu { display: grid; gap: 8px; }
  .nav-menu a,
  .nav-menu button {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
  }
  .nav-cta { margin-left: 0; justify-content: flex-start; }
  .poster-content,
  .file-grid,
  .feature-ledger-grid,
  .dual-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .file-label { position: static; }
  .archive-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-track,
  .character-scroll,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .friend-links,
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .container,
  .nav { width: min(100% - 28px, 1200px); }
  h1 { font-size: clamp(36px, 12vw, 54px); }
  .poster-hero { min-height: auto; }
  .poster-content {
    min-height: auto;
    padding: 58px 0 38px;
    gap: 22px;
  }
  .poster-media img { min-height: 720px; }
  .file-section,
  .world-board,
  .route-ribbon,
  .character-band,
  .feature-ledger,
  .update-faq-wrap,
  .links-section {
    padding: 58px 0;
  }
  .archive-items,
  .world-layout,
  .route-track,
  .character-scroll,
  .timeline {
    grid-template-columns: 1fr;
  }
  .file-text { columns: 1; }
  .btn,
  .hero-actions .btn,
  .cta-inner .btn { width: 100%; }
  .character-scroll { width: min(100% - 28px, 1200px); }
  .feature-ledger img { min-height: 260px; }
  .links-grid,
  .cta-inner,
  .footer-bottom {
    align-items: flex-start;
    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(--pink); }
.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, var(--ink-soft)); }
.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, rgba(255,255,255,.82)); 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, var(--ink-soft)); }.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, var(--ink-soft)); 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, rgba(255,255,255,.82)); }.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, var(--ink-soft)); }.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, rgba(255,255,255,.82)); 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, var(--ink-soft)); }.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, var(--ink-soft)); 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, var(--ink-soft)); }.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,rgba(255,255,255,.95)); color: var(--text,var(--ink)); 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,var(--ink)); background: var(--panel,rgba(255,255,255,.95)); 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; } }
