:root {
  color-scheme: dark;
  --bg: #120d1d;
  --bg-deep: #1a1526;
  --panel: rgba(28, 20, 44, 0.78);
  --panel-strong: rgba(38, 28, 57, 0.92);
  --line: rgba(232, 223, 255, 0.16);
  --text: #ffffff;
  --muted: #e8dfff;
  --soft: #bfb3da;
  --primary: #ff3366;
  --primary-2: #ff7a9c;
  --accent: #00f5d4;
  --gold: #ffd37a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 51, 102, 0.22), transparent 28rem),
    radial-gradient(circle at 84% 10%, rgba(0, 245, 212, 0.16), transparent 26rem),
    linear-gradient(135deg, var(--bg), var(--bg-deep) 52%, #0d0a16);
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.68;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 84%);
}

body::after {
  content: "♠  ♥  ♦  ♣";
  position: fixed;
  inset: auto -4vw 6vh auto;
  z-index: -1;
  color: rgba(232, 223, 255, 0.055);
  font-family: Georgia, serif;
  font-size: 18vw;
  line-height: 1;
  pointer-events: none;
  transform: rotate(-8deg);
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #071014;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header--scrolled,
.is-nav-open .site-header {
  background: rgba(18, 13, 29, 0.9);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 74px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 28px rgba(255, 51, 102, 0.38);
}

.brand__name {
  display: block;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.brand__desc {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.2;
}

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

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

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

.nav-links a,
.nav-links button {
  min-height: 42px;
  padding: 0.55rem 0.72rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--text);
  background: rgba(232, 223, 255, 0.08);
}

.nav-links .nav-cta {
  margin-left: 0.4rem;
  background: linear-gradient(135deg, var(--primary), #b929ff);
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 51, 102, 0.35);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.2rem 1.25rem 3.4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

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

h1 {
  max-width: 700px;
  font-size: clamp(2.45rem, 3.85vw, 3.9rem);
  line-height: 1.08;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 span:nth-child(2) {
  margin-top: 0.3rem;
  color: #fff;
}

h1 span:nth-child(3) {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.52em;
  line-height: 1.22;
}

h2 {
  font-size: clamp(1.72rem, 4vw, 3rem);
  text-wrap: balance;
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
}

.hero__lead {
  margin-top: 1.2rem;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__actions,
.section-actions,
.download-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero__actions {
  margin-top: 1.35rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.78rem 1.05rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #a52aff);
  box-shadow: 0 0 22px rgba(255, 51, 102, 0.46), 0 16px 44px rgba(255, 51, 102, 0.18);
}

.btn--primary:hover {
  box-shadow: 0 0 34px rgba(255, 51, 102, 0.62), 0 20px 54px rgba(255, 51, 102, 0.22);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.btn--ghost:hover {
  border-color: rgba(0, 245, 212, 0.45);
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.12);
}

.hero__meta {
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero__meta li {
  min-height: 76px;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.hero__meta strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.1;
}

.hero__meta span {
  color: var(--soft);
  font-size: 0.88rem;
}

.hero__media {
  min-width: 0;
  padding-top: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 223, 255, 0.18);
  border-radius: 8px;
  background-color: rgba(28, 20, 44, 0.78);
  background-image: url("../img/6.webp");
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  min-height: 380px;
  filter: saturate(1.08) brightness(1.12);
}

.media-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(18, 13, 29, 0.72);
  backdrop-filter: blur(12px);
}

.media-caption strong,
.media-caption span {
  display: block;
}

.media-caption span {
  color: var(--soft);
  font-size: 0.88rem;
}

.chip {
  min-width: max-content;
  color: #071014;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-weight: 900;
  font-size: 0.78rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.hero-panel span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 245, 212, 0.18);
  border-radius: 8px;
  background: rgba(0, 245, 212, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 4rem 1.25rem;
}

.section--tinted {
  background: rgba(255, 255, 255, 0.025);
  border-block: 1px solid rgba(232, 223, 255, 0.08);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__header {
  max-width: 820px;
  margin-bottom: 1.8rem;
}

.section__header p {
  margin-top: 0.85rem;
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.fact-list {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.fact {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.fact dt {
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-weight: 900;
}

.fact dd {
  margin: 0;
  color: var(--muted);
}

.content-flow {
  display: grid;
  gap: 0.9rem;
}

.content-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1rem;
  align-items: center;
  min-height: 186px;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.content-block img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.content-block p {
  margin-top: 0.5rem;
  color: var(--muted);
}

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

.feature {
  min-height: 178px;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 8px;
  background: rgba(0, 245, 212, 0.12);
  color: var(--accent);
  font-size: 1.3rem;
}

.feature p {
  margin-top: 0.45rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.strategy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.tabs {
  display: grid;
  gap: 0.6rem;
}

.tab-button {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  padding: 0.75rem 0.9rem;
}

.tab-button.is-active {
  color: #061417;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #7dffe9);
  font-weight: 900;
}

.tab-panel {
  min-height: 330px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  display: grid;
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0;
}

.check-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 0.35rem;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.timeline-item time,
.timeline-item .version-label {
  color: var(--gold);
  font-weight: 900;
}

.timeline-item p {
  margin-top: 0.35rem;
  color: var(--muted);
}

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

.install-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.install-card p {
  margin-top: 0.5rem;
  color: var(--soft);
}

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

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.gallery-grid figure:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

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

.gallery-grid figure:first-child img {
  min-height: 238px;
}

.gallery-grid figcaption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.65rem;
  border-radius: 8px;
  background: rgba(18, 13, 29, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
}

.faq {
  display: grid;
  gap: 0.8rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1rem;
  font-weight: 900;
}

.faq p {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

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

.links a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.links a:hover {
  border-color: rgba(0, 245, 212, 0.5);
  color: var(--text);
}

.cta-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 51, 102, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 51, 102, 0.18), rgba(0, 245, 212, 0.1)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 40px rgba(255, 51, 102, 0.16);
}

.cta-band p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.site-footer {
  padding: 2rem 1.25rem 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--soft);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.download-modal[hidden] {
  display: none;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 10, 0.74);
  backdrop-filter: blur(8px);
}

.download-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 1.3rem;
  border: 1px solid rgba(255, 51, 102, 0.36);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(30, 22, 45, 0.98), rgba(15, 11, 25, 0.98));
  box-shadow: var(--shadow), 0 0 42px rgba(255, 51, 102, 0.2);
}

.download-modal__dialog p:not(.eyebrow) {
  margin-top: 0.75rem;
  color: var(--muted);
}

.download-modal__actions {
  margin-top: 1.1rem;
  justify-content: flex-end;
}

.download-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.is-modal-open,
.is-nav-open {
  overflow: hidden;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(18, 13, 29, 0.96);
    box-shadow: var(--shadow);
  }

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

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .hero,
  .overview-grid,
  .strategy-layout {
    grid-template-columns: 1fr;
  }

  .hero__media {
    padding-top: 0;
  }

  .media-frame img {
    min-height: 280px;
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .tab-panel img {
    height: auto;
  }

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

@media (max-width: 720px) {
  .nav {
    min-height: 66px;
  }

  .brand__desc {
    display: none;
  }

  .hero {
    padding-top: 2.4rem;
    gap: 1.6rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }

  h1 span:nth-child(3) {
    font-size: 0.58em;
  }

  .hero__lead {
    font-size: 1rem;
  }

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

  .media-frame img {
    min-height: 220px;
  }

  .hero__meta,
  .feature-grid,
  .install-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .content-block {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .content-block img {
    order: -1;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .media-caption,
  .cta-band,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid figure:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid figure:first-child img,
  .gallery-grid img {
    min-height: 210px;
  }

  .section {
    padding-block: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !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; } }
