:root {
  --wood-dark: #2b1a12;
  --wood-deep: #3b2418;
  --oak: #70452a;
  --oak-light: #96633d;
  --gold: #d6a653;
  --gold-bright: #f0c56a;
  --parchment: #f3e3c0;
  --parchment-soft: #fff4d7;
  --wine: #7b3428;
  --ink: #2b1a12;
  --muted: #755b45;
  --line: rgba(214, 166, 83, 0.32);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  font-family: "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 24% 12%, rgba(214, 166, 83, 0.16), transparent 27rem),
    linear-gradient(135deg, rgba(112, 69, 42, 0.24), transparent 36%),
    var(--wood-dark);
  color: var(--parchment);
  line-height: 1.75;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 86px 86px;
  opacity: 0.55;
  z-index: -1;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.65rem 1rem;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(43, 26, 18, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 211, 122, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}

.brand strong {
  display: block;
  color: var(--gold-bright);
  line-height: 1.05;
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: rgba(243, 227, 192, 0.76);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a,
.nav-download {
  border: 0;
  background: transparent;
  color: rgba(243, 227, 192, 0.9);
  font: inherit;
  font-size: 0.94rem;
  text-decoration: none;
  padding: 0.55rem 0.72rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-download:hover {
  color: var(--gold-bright);
  background: rgba(214, 166, 83, 0.12);
}

.nav-download {
  margin-left: 0.35rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.nav-download:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(112, 69, 42, 0.42);
  padding: 0.65rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-bright);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 26, 18, 0.92), rgba(43, 26, 18, 0.62) 42%, rgba(43, 26, 18, 0.28)),
    linear-gradient(0deg, rgba(43, 26, 18, 0.94), transparent 56%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - 76px);
  object-fit: cover;
}

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 58%, rgba(240, 197, 106, 0.24), transparent 18rem),
    radial-gradient(circle at 70% 40%, rgba(123, 52, 40, 0.24), transparent 22rem);
  animation: lamp-breathe 5.5s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes lamp-breathe {
  from { opacity: 0.65; }
  to { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(2.5rem, 7vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--parchment-soft);
  font-family: "Noto Serif SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(2.35rem, 5.4vw, 5.25rem);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 244, 215, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 1.8rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(214, 166, 83, 0.24);
}

.btn-primary:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  background: rgba(243, 227, 192, 0.1);
  color: var(--parchment-soft);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin: 0;
}

.hero-stats div {
  min-height: 78px;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(43, 26, 18, 0.64);
}

.hero-stats dt {
  color: rgba(243, 227, 192, 0.68);
  font-size: 0.78rem;
}

.hero-stats dd {
  margin: 0.2rem 0 0;
  color: var(--gold-bright);
  font-weight: 900;
}

.paper-section,
.dark-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.paper-section {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(112, 69, 42, 0.08), transparent 38%, rgba(123, 52, 40, 0.07)),
    var(--parchment);
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(43, 26, 18, 0.98), rgba(59, 36, 24, 0.96)),
    var(--wood-dark);
}

.section-heading,
.split-layout,
.guide-layout,
.system-grid,
.feature-grid,
.gallery,
.timeline,
.faq-grid,
.friend-links {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: clamp(1.7rem, 4vw, 3rem);
}

.section-heading h2 {
  margin-bottom: 0.72rem;
  color: inherit;
  font-family: "Noto Serif SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
}

.paper-section .section-heading p:not(.eyebrow) {
  max-width: 820px;
  color: #5f4633;
}

.dark-section .section-heading p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(243, 227, 192, 0.78);
}

.split-layout,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}

.guide-layout {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
}

.content-copy {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-left: 4px solid var(--gold);
  background: rgba(255, 244, 215, 0.54);
  border-radius: 8px;
}

.content-copy h3 {
  font-size: 1.45rem;
  color: var(--wine);
}

.content-copy p {
  color: #4d3728;
}

.framed-media {
  margin: 0;
  padding: 0.7rem;
  border: 1px solid rgba(112, 69, 42, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--oak), #4d2c1d);
  box-shadow: var(--shadow);
}

.framed-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.framed-media figcaption {
  margin-top: 0.55rem;
  color: rgba(255, 244, 215, 0.82);
  font-size: 0.88rem;
}

.system-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.system-grid article,
.feature-grid article {
  min-height: 230px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(112, 69, 42, 0.84), rgba(43, 26, 18, 0.72)),
    var(--oak);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.system-grid h3,
.feature-grid h3 {
  margin-bottom: 0.55rem;
  color: var(--gold-bright);
  font-size: 1.2rem;
}

.system-grid p,
.feature-grid p {
  color: rgba(243, 227, 192, 0.82);
}

.card-index {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: rgba(240, 197, 106, 0.58);
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.accordion-list {
  display: grid;
  gap: 0.85rem;
}

.accordion-item {
  border: 1px solid rgba(112, 69, 42, 0.26);
  border-radius: 8px;
  background: rgba(255, 244, 215, 0.58);
  overflow: hidden;
}

.accordion-item button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  color: var(--wine);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.accordion-item div {
  display: none;
  padding: 0 1.1rem 1.05rem;
  color: #4d3728;
}

.accordion-item.is-open div {
  display: block;
}

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

.feature-grid article {
  min-height: 210px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(112, 69, 42, 0.38);
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery figure:first-child img {
  height: 320px;
}

.gallery figcaption {
  padding: 0.7rem 0.85rem;
  color: var(--gold-bright);
  font-weight: 800;
}

.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 170px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(112, 69, 42, 0.24);
  border-radius: 8px;
  background: rgba(255, 244, 215, 0.58);
}

.timeline time {
  color: var(--wine);
  font-weight: 900;
}

.timeline strong {
  color: var(--ink);
}

.timeline span {
  color: #5a4231;
}

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

.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(112, 69, 42, 0.42);
  padding: 1rem 1.1rem;
}

.faq-grid summary {
  color: var(--gold-bright);
  font-weight: 900;
  cursor: pointer;
}

.faq-grid p {
  margin: 0.7rem 0 0;
  color: rgba(243, 227, 192, 0.82);
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.friend-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  background: rgba(112, 69, 42, 0.14);
  border: 1px solid rgba(112, 69, 42, 0.26);
  color: var(--wine);
  text-decoration: none;
  font-weight: 800;
}

.friend-links a:hover {
  background: var(--gold);
  color: var(--ink);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(243, 227, 192, 0.8);
}

.site-footer strong {
  color: var(--gold-bright);
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.subpage {
  background:
    linear-gradient(180deg, rgba(43, 26, 18, 0.94), rgba(43, 26, 18, 0.82)),
    var(--wood-dark);
  min-height: 70vh;
}

.subpage-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.subpage-hero h1 {
  max-width: 900px;
  font-size: clamp(2.1rem, 4.8vw, 4.3rem);
}

.subpage-hero p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(243, 227, 192, 0.82);
  font-size: 1.05rem;
}

.answer-list,
.profile-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.answer-list {
  display: grid;
  gap: 1rem;
}

.answer-list article {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 227, 192, 0.96);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
}

.answer-list h2 {
  margin-bottom: 0.55rem;
  color: var(--wine);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.answer-list p {
  margin-bottom: 0;
  color: #4f3a2a;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
}

.profile-grid article {
  min-height: 118px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(112, 69, 42, 0.9), rgba(59, 36, 24, 0.92));
}

.profile-grid span {
  display: block;
  color: rgba(243, 227, 192, 0.68);
  font-size: 0.88rem;
}

.profile-grid strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--gold-bright);
  font-size: 1.08rem;
}

.subpage-timeline,
.subpage-faq {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.subpage-faq details {
  background: rgba(243, 227, 192, 0.96);
  color: var(--ink);
}

.subpage-faq summary {
  color: var(--wine);
}

.subpage-faq p {
  color: #4f3a2a;
}

.download-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(21, 12, 8, 0.72);
  backdrop-filter: blur(8px);
  z-index: 60;
}

.download-modal.is-visible {
  display: flex;
}

.download-dialog {
  width: min(460px, 100%);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--parchment);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.download-dialog h2 {
  margin-bottom: 0.55rem;
  color: var(--wine);
  font-size: 1.35rem;
}

.download-dialog p {
  color: #594230;
}

.download-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.modal-cancel {
  background: rgba(112, 69, 42, 0.12);
  color: var(--ink);
  border-color: rgba(112, 69, 42, 0.28);
}

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

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(43, 26, 18, 0.97);
    box-shadow: var(--shadow);
  }

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

  .nav-links a,
  .nav-download {
    width: 100%;
    text-align: left;
  }

  .split-layout,
  .guide-layout,
  .system-grid,
  .feature-grid,
  .gallery,
  .faq-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .guide-layout .framed-media {
    order: 2;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-content,
  .section-heading,
  .split-layout,
  .guide-layout,
  .system-grid,
  .feature-grid,
  .gallery,
  .timeline,
  .faq-grid,
  .friend-links,
  .site-footer,
  .subpage-hero,
  .answer-list,
  .profile-grid {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    min-height: 760px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .download-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .gallery img,
  .gallery figure:first-child img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* Whitehat protocol surfaces. These selectors are isolated from the original design. */
[data-seo-managed="download-link"] { text-decoration: none; }
.seo-home-news { padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem); border-top: 1px solid var(--line, rgba(127,127,127,.22)); }
.seo-home-news-shell { width: min(100%, 1180px); margin: 0 auto; }
.seo-home-news-header { max-width: 760px; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line, rgba(127,127,127,.22)); }
.seo-home-news-kicker { margin: 0 0 .65rem; color: var(--accent, var(--primary, #b30f0f)); 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, #6a5151); }
.seo-home-news:has(.seo-home-news-card) .seo-home-news-header-empty { display: none; }
.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-card, .seo-home-news-empty { margin: 0; padding: 1.35rem; border: 1px solid var(--line, rgba(127,127,127,.22)); border-radius: 8px; background: var(--panel, rgba(255,255,255,.82)); box-shadow: var(--shadow, 0 18px 42px rgba(0,0,0,.14)); }
.seo-home-news-card h3 { margin: 0; }
.seo-home-news-card time { display: block; margin-top: .65rem; color: var(--accent, var(--primary, #b30f0f)); font-size: .9rem; }
.seo-home-news-card p { margin: .75rem 0 1rem; color: var(--muted, #6a5151); }
.seo-home-news-card a { color: var(--accent, var(--primary, #b30f0f)); 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, #6a5151); text-align: center; }
body.seo-news-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg, var(--paper, #fafafa)); color: var(--text, var(--ink, #2b1a12)); }
.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, rgba(127,127,127,.22)); 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(--accent, var(--primary, #b30f0f)); border-radius: 8px; color: var(--accent, var(--primary, #b30f0f)); }
.seo-news-main { width: min(100%, 1100px); flex: 1; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 1rem; }
.seo-news-header { max-width: 760px; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line, rgba(127,127,127,.22)); }
.seo-news-kicker { margin: 0 0 .65rem; color: var(--accent, var(--primary, #b30f0f)); 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, #6a5151); }
.seo-news-header:has(+ .seo-news-list .seo-news-card) .seo-news-header-empty { display: none; }
.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, rgba(127,127,127,.22)); border-radius: 8px; background: var(--panel, rgba(255,255,255,.82)); box-shadow: var(--shadow, 0 18px 42px rgba(0,0,0,.14)); }
.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(--accent, var(--primary, #b30f0f)); font-size: .9rem; }
.seo-news-card p { margin: .75rem 0 1rem; color: var(--muted, #6a5151); }
.seo-news-card a, .seo-news-back a { color: var(--accent, var(--primary, #b30f0f)); font-weight: 800; text-underline-offset: .2em; }
.seo-news-empty-state { margin: 1.5rem 0 0; padding: 2rem 1.25rem; color: var(--muted, #6a5151); 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, #6a5151); }
.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,.62); }
.seo-download-dialog { width: min(430px, 100%); padding: 1.35rem; border: 1px solid var(--line, rgba(127,127,127,.22)); border-radius: 8px; background: var(--panel, #fff); color: var(--text, var(--ink, #1f2937)); box-shadow: var(--shadow, 0 18px 42px rgba(0,0,0,.18)); }
.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, rgba(127,127,127,.22)); border-radius: 6px; color: inherit; background: transparent; cursor: pointer; }
.seo-download-actions button:last-child { border-color: var(--accent, var(--primary, #b30f0f)); color: var(--accent, var(--primary, #b30f0f)); }
@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; } }
