body:not(.admin-page):not(.map-page):not(.game-home) {
  background: radial-gradient(circle at 20% 0%, rgba(124,58,237,.22), transparent 35%), linear-gradient(180deg, #f7f2ff, #fff 52%, #f9f7ff) !important;
  color: #172033 !important;
}

body:not(.admin-page):not(.map-page):not(.game-home) .site-header {
  background: rgba(255,255,255,.88) !important;
  border-bottom: 1px solid #e6eaf2 !important;
}

body:not(.admin-page):not(.map-page):not(.game-home) .brand,
body:not(.admin-page):not(.map-page):not(.game-home) .nav-links a,
body:not(.admin-page):not(.map-page):not(.game-home) h1,
body:not(.admin-page):not(.map-page):not(.game-home) h2,
body:not(.admin-page):not(.map-page):not(.game-home) h3 {
  color: #172033 !important;
}

body:not(.admin-page):not(.map-page):not(.game-home) .card,
body:not(.admin-page):not(.map-page):not(.game-home) .classic-side-card,
body:not(.admin-page):not(.map-page):not(.game-home) .classic-detail-card,
body:not(.admin-page):not(.map-page):not(.game-home) .classic-news-item,
body:not(.admin-page):not(.map-page):not(.game-home) .doc-section,
body:not(.admin-page):not(.map-page):not(.game-home) .docs-sticky,
body:not(.admin-page):not(.map-page):not(.game-home) .outline-sticky,
body:not(.admin-page):not(.map-page):not(.game-home) .changelog-toc-inner {
  background: #fff !important;
  color: #172033 !important;
  border-color: #e6eaf2 !important;
}

body:not(.admin-page):not(.map-page):not(.game-home) p,
body:not(.admin-page):not(.map-page):not(.game-home) li,
body:not(.admin-page):not(.map-page):not(.game-home) .news-content,
body:not(.admin-page):not(.map-page):not(.game-home) .footer-inner {
  color: #475569 !important;
}

.detail-recommend {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15,23,42,.08);
}

.detail-recommend h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.detail-recommend a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f8;
}

.detail-recommend a:last-child {
  border-bottom: 0;
}

.detail-recommend span {
  color: #6d28d9;
  font-weight: 900;
}

.detail-recommend strong {
  color: #172033;
  font-size: 14px;
}

.detail-recommend a:hover strong {
  color: #6d28d9;
}

.classic-detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 980px);
  gap: 28px;
  align-items: start;
}

@media(max-width: 1000px) {
  .classic-detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-recommend {
    position: static;
  }
}

.game-home {
  background: #f7f2ff;
  color: #172033;
}

.game-home .site-header,
.game-header {
  background: rgba(255,255,255,.88) !important;
  border-bottom: 1px solid #e6eaf2 !important;
}

.game-home .brand,
.game-home .nav-links a,
.game-header .brand,
.game-header .nav-links a {
  color: #172033;
}

.game-home .nav-links a,
.game-header .nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #647084;
}

.game-home .nav-links a:hover,
.game-header .nav-links a:hover {
  color: #6d28d9;
  background: #f5f0ff;
}

.home-main {
  min-height: 100vh;
  padding: 72px 0;
  background: radial-gradient(circle at 20% 0%, rgba(124,58,237,.22), transparent 35%), linear-gradient(180deg, #f7f2ff, #fff 52%, #f9f7ff);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 54px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 680px;
  color: #172033;
  font-size: clamp(48px, 6.8vw, 78px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.home-hero-copy p:not(.saas-kicker) {
  max-width: 640px;
  color: #647084;
  font-size: 19px;
}

.game-home .btn.primary {
  border: 0;
  background: linear-gradient(135deg,#7c3aed,#5b21b6);
  color: #fff;
  box-shadow: 0 16px 40px rgba(86,37,180,.18);
}

.game-home .btn.ghost {
  color: #172033;
  background: #fff;
  border-color: #e6eaf2;
}

.home-showcase {
  display: grid;
  gap: 18px;
}

.home-slider-card {
  padding: 14px;
  border: 1px solid #e6eaf2;
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 26px 70px rgba(91,33,182,.12);
}

.home-slider-card .hero-slider {
  min-height: 360px;
  border-color: #e6eaf2;
}

.home-hero-notice,
.home-stat,
.home-feature-grid .card,
.home-service-card,
.home-list-card,
.home-cta {
  border: 1px solid #e6eaf2;
  border-radius: 24px;
  background: #fff;
  color: #172033;
  box-shadow: 0 26px 70px rgba(91,33,182,.1);
}

.home-hero-notice {
  padding: 24px;
}

.home-hero-notice span,
.home-stat span,
.home-list-card .home-mini-list span,
.home-stat a {
  color: #6d28d9;
  font-weight: 900;
}

.home-hero-notice strong {
  display: block;
  color: #172033;
  font-size: 24px;
}

.home-hero-notice p,
.home-stat p,
.home-feature-grid .card p,
.home-service-card p,
.home-list-card .home-mini-list span,
.home-cta p {
  color: #647084;
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.home-stat {
  padding: 24px;
}

.home-stat strong {
  display: block;
  color: #172033;
  font-size: 30px;
}

.home-section {
  padding: 86px 0 44px;
}

.home-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.home-feature-grid .card {
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 30px;
}

.home-feature-grid .card h3,
.home-service-card h2,
.home-list-card h2,
.home-cta h2 {
  color: #172033;
}

.home-service-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  padding-bottom: 48px;
}

.home-service-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 34px;
}

.home-service-primary {
  background: linear-gradient(145deg, #9333ea, #5b21b6);
  color: #fff;
}

.home-service-primary h2,
.home-service-primary p,
.home-service-primary .saas-kicker {
  color: #fff !important;
}

.home-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.home-step-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 900;
}

.home-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: 70px;
}

.home-list-card {
  padding: 30px;
}

.home-list-card .home-mini-list a {
  border-color: #eef2f8;
}

.home-list-card .home-mini-list strong {
  color: #172033;
}

.home-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 38px;
}

.game-footer {
  background: #fff;
  border-color: #e6eaf2;
}

.game-footer .footer-inner,
.game-footer a {
  color: #647084;
}

@media(max-width: 980px) {
  .home-hero,
  .home-stat-grid,
  .home-feature-grid,
  .home-service-grid,
  .home-content-grid {
    grid-template-columns: 1fr !important;
  }
  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.game-hero {
  padding: 88px 0 70px;
  background: radial-gradient(circle at 16% 8%, rgba(124,58,237,.38), transparent 30%), radial-gradient(circle at 88% 28%, rgba(236,72,153,.26), transparent 30%), linear-gradient(135deg,#0b0718,#130b2e 48%,#080414);
}

.game-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 54px;
  align-items: center;
}

.game-hero-copy h1 {
  max-width: 680px;
  color: #fff;
  font-size: clamp(54px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.game-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,.72);
  font-size: 19px;
}

.game-home .btn.primary {
  border: 0;
  background: linear-gradient(135deg,#7c3aed,#ec4899);
  color: #fff;
}

.game-home .btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

.game-hero-panel {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.game-hero-panel .hero-slider {
  min-height: 390px;
  border-color: rgba(255,255,255,.12);
}

.game-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}

.game-stat,
.game-list-card,
.game-cta,
.game-action-grid .card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.04));
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}

.game-stat {
  padding: 22px;
}

.game-stat span,
.game-stat p,
.game-list-card .home-mini-list span,
.game-cta p {
  color: rgba(255,255,255,.66);
}

.game-stat strong {
  display: block;
  color: #fff;
  font-size: 30px;
}

.game-stat a,
.game-list-card .home-mini-list a span {
  color: #c084fc;
}

.game-section-title h2,
.game-list-card h2,
.game-cta h2 {
  color: #fff;
}

.game-action-grid .card p {
  color: rgba(255,255,255,.66);
}

.game-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 40px 0 70px;
}

.game-list-card {
  padding: 30px;
}

.game-list-card .home-mini-list a {
  border-color: rgba(255,255,255,.1);
}

.game-list-card .home-mini-list strong {
  color: #fff;
}

.game-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 38px;
  margin-bottom: 70px;
}

.game-footer {
  background: #080414;
  border-color: rgba(255,255,255,.08);
}

.game-footer .footer-inner,
.game-footer a {
  color: rgba(255,255,255,.7);
}

@media(max-width: 980px) {
  .game-hero-grid,
  .game-stat-grid,
  .game-content-grid {
    grid-template-columns: 1fr;
  }
  .game-stat-grid {
    margin-top: 24px;
  }
  .game-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.portfolio-home {
  background: #0d0d0f;
  color: #f7f7f4;
}

.portfolio-header {
  background: rgba(13, 13, 15, .88) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.portfolio-header .brand,
.portfolio-header .nav-links a {
  color: #f7f7f4;
}

.portfolio-hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 90px 0;
  background: radial-gradient(circle at 82% 18%, rgba(217,180,92,.18), transparent 28%), linear-gradient(135deg,#0d0d0f,#171514 55%,#0d0d0f);
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 64px;
  align-items: center;
}

.portfolio-kicker {
  color: #d9b45c;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.portfolio-hero-copy h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(58px, 9vw, 118px);
  line-height: .9;
  letter-spacing: -0.08em;
}

.portfolio-hero-copy p:not(.portfolio-kicker) {
  max-width: 620px;
  color: rgba(255,255,255,.68);
  font-size: 20px;
}

.portfolio-frame {
  padding: 18px;
  border: 1px solid rgba(217,180,92,.28);
  border-radius: 34px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 35px 100px rgba(0,0,0,.42);
}

.portfolio-frame .hero-slider {
  min-height: 460px;
  border-color: rgba(217,180,92,.22);
}

.portfolio-about {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 60px;
  padding: 110px 0 70px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.portfolio-about h2,
.portfolio-section-title h2,
.portfolio-news h2,
.portfolio-contact h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
}

.portfolio-about p,
.portfolio-contact p {
  color: rgba(255,255,255,.66);
  font-size: 18px;
}

.portfolio-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 70px 0;
}

.portfolio-services article,
.portfolio-panel,
.portfolio-contact {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 28px;
  background: linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
}

.portfolio-services article {
  display: grid;
  gap: 12px;
  min-height: 240px;
  padding: 28px;
}

.portfolio-services span {
  color: #d9b45c;
  font-size: 34px;
  font-weight: 900;
}

.portfolio-services h3 {
  color: #fff;
}

.portfolio-services p {
  color: rgba(255,255,255,.62);
}

.portfolio-services a,
.portfolio-work-grid a span,
.portfolio-panel .home-mini-list span {
  color: #d9b45c;
  font-weight: 900;
}

.portfolio-showcase {
  padding: 70px 0;
}

.portfolio-section-title {
  margin-bottom: 30px;
}

.portfolio-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-work-grid a {
  display: grid;
  align-content: end;
  min-height: 300px;
  padding: 28px;
  border-radius: 30px;
  color: #fff;
  background: radial-gradient(circle at 20% 20%, rgba(217,180,92,.24), transparent 34%), linear-gradient(135deg,#1f1f23,#111113);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.portfolio-work-grid strong {
  font-size: 30px;
}

.portfolio-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 70px 0;
}

.portfolio-panel {
  padding: 32px;
}

.portfolio-panel .home-mini-list a {
  border-color: rgba(255,255,255,.1);
}

.portfolio-panel .home-mini-list strong {
  color: #fff;
}

.portfolio-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 70px auto;
  padding: 44px;
}

.portfolio-footer {
  background: #08080a;
  border-color: rgba(255,255,255,.08);
}

.portfolio-footer .footer-inner,
.portfolio-footer a {
  color: rgba(255,255,255,.68);
}

.portfolio-home .btn.primary {
  background: #d9b45c;
  border: 0;
  color: #111;
}

.portfolio-home .btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
}

@media(max-width: 980px) {
  .portfolio-hero-grid,
  .portfolio-about,
  .portfolio-services,
  .portfolio-work-grid,
  .portfolio-news {
    grid-template-columns: 1fr;
  }
  .portfolio-hero-copy h1 {
    font-size: 58px;
  }
  .portfolio-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

.vip-page .vip-main {
  color: #172033 !important;
}

.vip-page .vip-plan,
.vip-page .vip-table,
.vip-page .vip-open .card,
.vip-page .notice {
  background: #fff !important;
  color: #172033 !important;
}

.vip-page .vip-plan h2,
.vip-page .vip-open h2,
.vip-page .vip-open h3,
.vip-page .vip-table h2,
.vip-page .vip-price {
  color: #172033 !important;
}

.vip-page .vip-plan p,
.vip-page .vip-plan li,
.vip-page .vip-open .card p,
.vip-page .notice,
.vip-page .vip-table td {
  color: #475569 !important;
}

.vip-page .featured-plan,
.vip-page .featured-plan h2,
.vip-page .featured-plan p,
.vip-page .featured-plan li,
.vip-page .featured-plan .vip-price {
  color: #fff !important;
}

.vip-page .featured-plan {
  background: linear-gradient(145deg, #9333ea, #5b21b6) !important;
}

.vip-page .vip-table th {
  color: #6d28d9 !important;
  background: #f5f0ff !important;
}

.vip-page .center-title h2 {
  color: #172033 !important;
}

.vip-page .center-title p {
  color: #647084 !important;
}

.vip-main {
  position: relative;
  min-height: 100vh;
  padding: 72px 0;
  background: radial-gradient(circle at 20% 0%, rgba(124,58,237,.22), transparent 35%), linear-gradient(180deg, #f7f2ff, #fff 52%, #f9f7ff);
  color: #172033;
}

.vip-hero {
  text-align: center;
}

.vip-hero h1 {
  color: #172033 !important;
  font-size: clamp(44px, 7vw, 76px);
}

.vip-hero p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #647084;
  font-size: 18px;
}

.billing-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(86, 37, 180, .15);
}

.billing-toggle button {
  border: 0;
  padding: 12px 28px;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 900;
  color: #647084;
  cursor: pointer;
}

.billing-toggle button.active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.vip-float-nav {
  position: fixed;
  left: 24px;
  top: 180px;
  z-index: 12;
  display: grid;
  gap: 10px;
}

.vip-float-nav button {
  width: 148px;
  min-height: 44px;
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #6d28d9;
  box-shadow: 0 14px 34px rgba(91,33,182,.12);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.vip-float-nav button:hover {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.vip-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,23,42,.48);
  backdrop-filter: blur(8px);
}

.vip-modal.open {
  display: flex;
}

.vip-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: 82vh;
  overflow: auto;
  padding: 34px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15,23,42,.24);
}

.vip-modal-card h2 {
  color: #172033 !important;
}

.vip-modal-card p {
  margin-bottom: 12px;
  color: #475569;
}

.vip-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f5f0ff;
  color: #6d28d9;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .vip-float-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(720px, calc(100% - 40px));
    margin: 0 auto 24px;
  }
  .vip-float-nav button {
    width: auto;
  }
}

.billing-toggle button em {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-style: normal;
  font-size: 12px;
}

.billing-toggle span {
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 900;
  color: #647084;
}

.billing-toggle .active {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.billing-toggle em {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #fff;
  background: #ef4444;
  font-style: normal;
  font-size: 12px;
}

.vip-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}

.vip-plan {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 38px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(91,33,182,.12);
}

.vip-service-plan {
  border: 1px solid rgba(124,58,237,.12);
  background: linear-gradient(180deg, #fff, #fbf8ff);
}

.vip-plan h2 {
  color: #6d28d9 !important;
  font-size: 30px;
}

.vip-plan p {
  color: #647084;
}

.vip-price {
  color: #172033;
  font-size: 38px;
  font-weight: 900;
}

.vip-price span {
  font-size: 16px;
}

.vip-plan ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vip-plan li {
  position: relative;
  padding-left: 28px;
  color: #475569;
}

.vip-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 900;
}

.featured-plan {
  color: #fff;
  background: linear-gradient(145deg, #9333ea, #5b21b6);
  transform: translateY(-18px);
}

.featured-plan h2,
.featured-plan p,
.featured-plan li,
.featured-plan .vip-price {
  color: #fff !important;
}

.recommend-badge {
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: #111827;
  background: #facc15;
  font-size: 12px;
  font-weight: 900;
}

.vip-table-wrap {
  padding-top: 80px;
}

.vip-table {
  overflow-x: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(91,33,182,.1);
}

.vip-table table {
  width: 100%;
  border-collapse: collapse;
  color: #172033;
}

.vip-table th,
.vip-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #eef2f8;
  text-align: left;
}

.vip-table th {
  color: #6d28d9;
  background: #f5f0ff;
}

@media (max-width: 900px) {
  .vip-pricing {
    grid-template-columns: 1fr;
  }
  .featured-plan {
    transform: none;
  }
}

body:not(.admin-page):not(.map-page) {
  background: #090515;
  color: #fff;
}

body:not(.admin-page):not(.map-page) .site-header {
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.98), rgba(19, 11, 46, 0.96) 48%, rgba(80, 18, 62, 0.94)) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

body:not(.admin-page):not(.map-page) .brand,
body:not(.admin-page):not(.map-page) .nav-links a,
body:not(.admin-page):not(.map-page) h1,
body:not(.admin-page):not(.map-page) h2,
body:not(.admin-page):not(.map-page) h3 {
  color: #fff;
}

body:not(.admin-page):not(.map-page) .nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
}

body:not(.admin-page):not(.map-page) .nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

body:not(.admin-page):not(.map-page) .card,
body:not(.admin-page):not(.map-page) .doc-section,
body:not(.admin-page):not(.map-page) .docs-sticky,
body:not(.admin-page):not(.map-page) .outline-sticky,
body:not(.admin-page):not(.map-page) .changelog-toc-inner,
body:not(.admin-page):not(.map-page) .article-list-item,
body:not(.admin-page):not(.map-page) .article-card,
body:not(.admin-page):not(.map-page) .article-side-card,
body:not(.admin-page):not(.map-page) .saas-panel,
body:not(.admin-page):not(.map-page) .saas-feature-card,
body:not(.admin-page):not(.map-page) .saas-cta {
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  color: #fff;
}

body:not(.admin-page):not(.map-page) .card p,
body:not(.admin-page):not(.map-page) .card li,
body:not(.admin-page):not(.map-page) .docs-content p,
body:not(.admin-page):not(.map-page) .docs-content li,
body:not(.admin-page):not(.map-page) .article-info p,
body:not(.admin-page):not(.map-page) .article-meta,
body:not(.admin-page):not(.map-page) .changelog-hero p,
body:not(.admin-page):not(.map-page) .news-content,
body:not(.admin-page):not(.map-page) .footer-inner {
  color: rgba(255,255,255,.68);
}

body:not(.admin-page):not(.map-page) .eyebrow,
body:not(.admin-page):not(.map-page) .saas-kicker,
body:not(.admin-page):not(.map-page) .footer a,
body:not(.admin-page):not(.map-page) .docs-sticky a:hover,
body:not(.admin-page):not(.map-page) .outline-links a:hover,
body:not(.admin-page):not(.map-page) .docs-sticky a.active,
body:not(.admin-page):not(.map-page) .outline-links a.active {
  color: #c084fc;
}

body:not(.admin-page):not(.map-page) .soft,
body:not(.admin-page):not(.map-page) .notice,
body:not(.admin-page):not(.map-page) .docs-sticky a:hover,
body:not(.admin-page):not(.map-page) .docs-sticky a.active,
body:not(.admin-page):not(.map-page) .outline-links a:hover,
body:not(.admin-page):not(.map-page) .outline-links a.active,
body:not(.admin-page):not(.map-page) .article-tabs,
body:not(.admin-page):not(.map-page) .article-tabs button,
body:not(.admin-page):not(.map-page) .article-tags span,
body:not(.admin-page):not(.map-page) .article-badges span {
  background: rgba(255,255,255,.08);
  color: #fff;
}

body:not(.admin-page):not(.map-page) .table-wrap,
body:not(.admin-page):not(.map-page) .yuque-content td,
body:not(.admin-page):not(.map-page) .yuque-content th,
body:not(.admin-page):not(.map-page) details,
body:not(.admin-page):not(.map-page) .footer {
  border-color: rgba(255,255,255,.12);
}

body:not(.admin-page):not(.map-page) .yuque-content table {
  background: rgba(255,255,255,.04);
  color: #fff;
}

body:not(.admin-page):not(.map-page) .btn.primary {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border: 0;
}

body:not(.admin-page):not(.map-page) .btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

body:not(.admin-page):not(.map-page) .footer {
  background: #080414;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.upload-media,
.news-content img,
.yuque-content img,
.visual-editor img,
.article-cover,
.doc-cover img,
.doc-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.news-content figure,
.yuque-content figure {
  margin: 0;
}

.news-content p:has(img),
.yuque-content p:has(img) {
  display: inline-block;
  width: calc((100% - 24px) / 3);
  margin: 8px 8px 8px 0;
  vertical-align: top;
}

.news-content p:has(img) img,
.yuque-content p:has(img) img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-content > img,
.yuque-content > img,
.news-content figure > img,
.yuque-content figure > img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  background: var(--bg);
}

.visual-editor img {
  width: auto;
  max-height: 360px;
  object-fit: contain;
}

.news-content video,
.yuque-content video,
.visual-editor video {
  width: 100%;
  max-height: 620px;
  border-radius: 16px;
  background: #000;
}

@media (max-width: 900px) {
  .news-content p:has(img),
  .yuque-content p:has(img) {
    width: calc((100% - 12px) / 2);
  }
}

@media (max-width: 560px) {
  .news-content p:has(img),
  .yuque-content p:has(img) {
    width: 100%;
    margin-right: 0;
  }
}

.saas-home {
  background: #090515;
  color: #fff;
}

.saas-home .container {
  width: min(1240px, calc(100% - 48px));
}

.saas-header {
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.96), rgba(19, 11, 46, 0.94) 48%, rgba(80, 18, 62, 0.92)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none;
}

.saas-home .site-header {
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.98), rgba(19, 11, 46, 0.96) 48%, rgba(80, 18, 62, 0.94)) !important;
  backdrop-filter: blur(14px);
}

.saas-header .nav {
  min-height: 76px;
}

.saas-header .brand {
  color: #fff;
}

.saas-header .nav-links {
  gap: 10px;
}

.saas-header .nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.72);
}

.saas-header .nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.saas-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 86px 0;
  background: radial-gradient(circle at 18% 8%, rgba(128, 90, 213, 0.45), transparent 30%), radial-gradient(circle at 86% 26%, rgba(236, 72, 153, 0.32), transparent 30%), linear-gradient(135deg, #0b0718, #130b2e 48%, #080414);
}

.saas-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.saas-glow.one { left: -80px; top: 120px; background: #7c3aed; }
.saas-glow.two { right: -80px; bottom: 40px; background: #ec4899; }

.saas-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 56px;
  align-items: center;
}

.saas-kicker {
  color: #c084fc;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.saas-hero-copy h1 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(52px, 6.8vw, 82px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.saas-hero-copy p:not(.saas-kicker) {
  max-width: 620px;
  color: rgba(255,255,255,.72);
  font-size: 19px;
}

.saas-home .btn.primary {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  border: 0;
  box-shadow: 0 18px 45px rgba(236,72,153,.28);
}

.saas-home .btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}

.saas-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.saas-metrics span {
  min-width: 124px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.72);
}

.saas-metrics strong { display: block; color: #fff; font-size: 26px; }
.saas-visual { position: relative; }
.saas-visual .hero-slider {
  min-height: 420px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.saas-floating-card { position: absolute; z-index: 4; padding: 14px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.12); backdrop-filter: blur(18px); color: #fff; font-weight: 900; }
.saas-floating-card.card-a {
  left: -18px;
  top: 38px;
}

.saas-floating-card.card-b {
  right: -18px;
  bottom: 50px;
}

.saas-marquee {
  display: flex;
  gap: 32px;
  overflow: hidden;
  padding: 18px 0;
  background: #0d071a;
  color: rgba(255,255,255,.45);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}
.saas-marquee div { animation: marqueeMove 18s linear infinite; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-220px); } }

.saas-section,
.saas-dashboard,
.saas-cta { color: #fff; }
.saas-section {
  padding-top: 72px;
  padding-bottom: 40px;
}

.center-title {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}
.center-title p:last-child { color: rgba(255,255,255,.66); }
.saas-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.saas-feature-card,
.saas-panel,
.saas-cta {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.saas-feature-card {
  display: grid;
  gap: 14px;
  min-height: 240px;
  padding: 30px;
}
.saas-feature-card span { color: #ec4899; font-size: 34px; font-weight: 900; }
.saas-feature-card h3,
.saas-panel h2,
.saas-cta h2 { color: #fff; }
.saas-feature-card p,
.saas-cta p { color: rgba(255,255,255,.66); }
.saas-feature-card a { color: #c084fc; font-weight: 900; }
.saas-dashboard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 40px;
}
.saas-panel { padding: 30px; }
.saas-panel .home-mini-list a { border-color: rgba(255,255,255,.1); }
.saas-panel .home-mini-list strong { color: #fff; }
.saas-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px; margin-bottom: 70px; }
.saas-footer { background: #080414; border-color: rgba(255,255,255,.08); }
.saas-footer .footer-inner,
.saas-footer a { color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .saas-hero-grid,
  .saas-feature-grid,
  .saas-dashboard {
    grid-template-columns: 1fr;
  }
  .saas-hero-copy h1 {
    font-size: 48px;
  }
  .saas-visual .hero-slider {
    min-height: 320px;
  }
  .saas-floating-card {
    display: none;
  }
  .saas-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #647084;
  --primary: #2f6df6;
  --primary-dark: #1f4fc6;
  --border: #e6eaf2;
  --soft: #eef4ff;
  --shadow: 0 20px 50px rgba(20, 35, 70, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.98), rgba(19, 11, 46, 0.96) 48%, rgba(80, 18, 62, 0.94)) !important;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  box-shadow: 0 14px 38px rgba(39, 12, 72, .16);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(124,58,237,.34), rgba(236,72,153,.22));
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  opacity: 0;
  visibility: hidden;
}

.nav-links.nav-ready,
.nav-links:not(:empty) {
  opacity: 1;
  visibility: visible;
  transition: opacity .15s ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.06);
  font-weight: 800;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.nav-links a:hover,
.docs-sidebar a:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(135deg, rgba(124,58,237,.78), rgba(236,72,153,.68));
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 800;
}

.hero {
  padding: 96px 0 82px;
  background: radial-gradient(circle at top left, #dfeaff, transparent 36%), linear-gradient(180deg, #fff, var(--bg));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.split {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.btn.primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 30px rgba(47, 109, 246, 0.24);
}

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

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.hero-slider {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-art {
  display: grid;
  align-content: end;
  height: 100%;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #2f6df6, #6aa6ff);
}

.slide-art.with-image {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.78));
}

.slide-art span {
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.slide-art strong {
  max-width: 360px;
  font-size: 34px;
  line-height: 1.2;
}

.slide-blue {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 28%), linear-gradient(135deg, #2f6df6, #38bdf8);
}

.slide-purple {
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.32), transparent 30%), linear-gradient(135deg, #7c3aed, #ec4899);
}

.slide-dark {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 30%), linear-gradient(135deg, #0f172a, #334155);
}

.slider-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slider-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.terminal-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.terminal-bar span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-bar span:nth-child(3) {
  background: #27c93f;
}

pre {
  overflow: auto;
  margin: 0;
  padding: 26px;
  border-radius: 18px;
  background: #0f172a;
  color: #d8e4ff;
  line-height: 1.9;
}

.section {
  padding: 84px 0;
}

.section-title {
  max-width: 680px;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card p,
.card li,
.docs-content p,
.docs-content li {
  color: var(--muted);
}

.soft {
  background: var(--soft);
}

.plan ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary) !important;
}

.featured {
  border-color: rgba(47, 109, 246, 0.45);
  transform: translateY(-8px);
}

.split {
  justify-content: space-between;
}

.split p {
  max-width: 680px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  background: var(--panel);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
  color: var(--muted);
}

.footer a {
  color: var(--primary);
}

.docs-topbar .nav {
  width: min(1480px, calc(100% - 40px));
}

.docs-topbar .nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
}

.docs-topbar .nav-links a:hover {
  background: linear-gradient(135deg, rgba(124,58,237,.78), rgba(236,72,153,.68));
}

.docs-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 880px) 240px;
  gap: 28px;
  align-items: start;
  width: min(1500px, calc(100% - 32px));
  padding-top: 22px;
  padding-bottom: 80px;
}

.docs-sidebar,
.docs-outline {
  border-right: 1px solid var(--border);
}

.docs-outline {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  border-right: 0;
  border-left: 1px solid var(--border);
}

.outline-sticky {
  position: static;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  padding-left: 18px;
}

.docs-sticky h2,
.outline-sticky h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.docs-sticky a,
.outline-links a,
.docs-menu-title {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.docs-sticky a:hover,
.docs-sticky a.active,
.outline-links a:hover,
.outline-links a.active {
  color: var(--primary);
  background: var(--soft);
}

.docs-home {
  margin-bottom: 6px;
}

.docs-menu-title {
  color: var(--text);
  font-weight: 800;
}

.doc-section.is-hidden {
  display: none;
}

.outline-current {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 800;
  font-size: 14px;
}

.outline-links a[data-level="3"] {
  padding-left: 24px;
}

.outline-links a[data-level="4"] {
  padding-left: 36px;
  font-size: 13px;
}

.docs-content {
  min-width: 0;
}

.doc-section {
  margin-bottom: 24px;
  padding: 42px 48px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.doc-section h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.doc-section h2 {
  font-size: 30px;
}

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: var(--soft);
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
}

.steps div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.steps span {
  color: var(--primary);
  font-weight: 900;
}

details {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.doc-cover,
.doc-image {
  margin: 22px 0;
}

.doc-cover img,
.doc-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
}

.yuque-content h2 {
  margin-top: 32px;
  font-size: 28px;
}

.yuque-content h3 {
  margin-top: 28px;
  font-size: 22px;
}

.yuque-content blockquote {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  background: var(--soft);
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.yuque-content table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.yuque-content td,
.yuque-content th {
  padding: 12px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.yuque-content img {
  max-width: 100%;
}

.yuque-content a {
  color: var(--primary);
  text-decoration: underline;
}

.news-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

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

.news-list-item {
  display: block;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
}

.news-list-item.active,
.news-list-item:hover {
  border-color: rgba(47, 109, 246, 0.35);
  background: var(--soft);
}

.news-list-item strong,
.news-list-item span {
  display: block;
}

.news-list-item span {
  color: var(--muted);
  font-size: 13px;
}

.news-detail {
  min-height: 520px;
}

.news-article-page {
  max-width: 960px;
}

.news-article-page .news-detail h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.news-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.news-content img,
.visual-editor img {
  max-width: 100%;
  border-radius: 14px;
}

.admin-page {
  background: #eef2f8;
}

.admin-shell {
  min-height: 100vh;
  padding: 32px;
}

.admin-login,
.admin-dashboard {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.admin-login {
  display: grid;
  gap: 16px;
  max-width: 420px;
  margin-top: 12vh;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.admin-side,
.admin-editor {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.admin-side {
  display: grid;
  align-content: start;
  gap: 12px;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.admin-profile h1 {
  margin: 0;
  font-size: 22px;
}

.admin-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.admin-stats div {
  padding: 12px;
  border-radius: 14px;
  background: var(--soft);
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  color: var(--primary);
  font-size: 22px;
}

.admin-stats span {
  color: var(--muted);
  font-size: 12px;
}

.admin-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.admin-tab,
.admin-list-item,
.toolbar button,
.admin-editor input,
.admin-editor textarea,
.admin-editor select,
.admin-login input,
.admin-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}

.admin-tab,
.admin-list-item,
.toolbar button {
  cursor: pointer;
  text-align: left;
}

.admin-tab.active,
.admin-list-item.active {
  color: var(--primary);
  background: var(--soft);
  border-color: rgba(47, 109, 246, 0.3);
}

.admin-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.admin-list-item strong,
.admin-list-item span {
  display: block;
}

.admin-list-item span {
  color: var(--muted);
  font-size: 13px;
}

.admin-editor {
  display: grid;
  gap: 12px;
}

.admin-editor-head,
.admin-actions,
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-actions {
  justify-content: flex-end;
}

.toolbar {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.toolbar button {
  width: auto;
}

.visual-editor,
.html-editor {
  min-height: 420px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  outline: none;
}

.html-editor {
  width: 100%;
  font-family: Consolas, Monaco, monospace;
  resize: vertical;
}

.cover-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.cover-preview {
  width: 220px;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.admin-message {
  color: #d93025;
}

.is-hidden {
  display: none !important;
}

.changelog-home,
.changelog-page {
  padding: 84px 0;
}

.changelog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  width: min(1680px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 54px;
  padding-bottom: 84px;
}

.changelog-full {
  width: min(1760px, calc(100% - 32px));
}

.changelog-main {
  min-width: 0;
}

.changelog-hero {
  padding: 0 24px;
}

.changelog-toc {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.changelog-toc-inner {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.changelog-toc h2 {
  margin-bottom: 14px;
  font-size: 18px;
}

.changelog-toc nav {
  display: grid;
  gap: 8px;
}

.changelog-toc a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}

.changelog-toc a span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.changelog-toc a:hover,
.changelog-toc a.active {
  color: var(--primary);
  background: var(--soft);
}

.changelog-home,
.changelog-hero {
  text-align: center;
}

.changelog-home h1,
.changelog-hero h1 {
  font-size: clamp(44px, 7vw, 72px);
}

.changelog-home p,
.changelog-hero p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 18px;
}

.changelog-list {
  position: relative;
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 44px 0 0;
}

.changelog-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: var(--border);
}

.changelog-item {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 22px;
}

.active-change .changelog-card {
  min-height: 520px;
}

.changelog-dot {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  margin-top: 28px;
  border: 6px solid var(--soft);
  border-radius: 50%;
  background: var(--primary);
}

.changelog-card {
  padding: 34px;
}

.changelog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.changelog-meta span,
.changelog-meta time,
.changelog-toc time {
  display: inline-flex;
  width: max-content;
}

.changelog-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
}

.changelog-meta time,
.changelog-toc time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.changelog-card h2 {
  font-size: 30px;
}

.news-content {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.news-content p:has(img),
.yuque-content p:has(img) {
  display: inline-block;
  width: calc((100% - 24px) / 3);
  margin: 8px 8px 8px 0;
  vertical-align: top;
}

.news-content img,
.visual-editor img,
.yuque-content img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-content img:hover,
.yuque-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(20, 35, 70, 0.18);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(10, 16, 28, 0.82);
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 90vh;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}

.home-dashboard {
  padding-top: 34px;
  padding-bottom: 34px;
}

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

.status-card {
  display: grid;
  gap: 6px;
}

.status-card span {
  color: var(--muted);
  font-size: 14px;
}

.status-card strong {
  color: var(--primary);
  font-size: 30px;
}

.status-card p {
  margin: 0;
}

.status-card a {
  color: var(--primary);
  font-weight: 800;
}

.home-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 20px;
}

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

.compact-title {
  margin-bottom: 4px;
}

.compact-title h2 {
  font-size: 30px;
}

.home-mini-list {
  display: grid;
  gap: 10px;
}

.home-mini-list a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.home-mini-list a:last-child {
  border-bottom: 0;
}

.home-mini-list span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.home-mini-list strong:hover {
  color: var(--primary);
}

.classic-news-page {
  background: #f5f6f8 !important;
  color: #222 !important;
}

.classic-header {
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.98), rgba(19, 11, 46, 0.96) 48%, rgba(80, 18, 62, 0.94)) !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
}

.classic-header .brand,
.classic-header .nav-links a {
  color: #fff !important;
}

.classic-news-hero {
  padding: 54px 0;
  color: #172033;
  background: radial-gradient(circle at 20% 0%, rgba(124,58,237,.22), transparent 35%), linear-gradient(180deg, #f7f2ff, #fff 52%, #f9f7ff);
}

.classic-news-hero p {
  margin: 0 0 8px;
  color: #7c3aed;
  text-transform: uppercase;
  font-weight: 800;
}

.classic-news-hero h1 {
  margin: 0;
  color: #172033 !important;
  font-size: clamp(34px, 5vw, 58px);
}

.classic-news-hero span {
  color: #647084;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.article-hero-meta span,
.classic-detail-card .article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f5f0ff;
  color: #6d28d9 !important;
  font-size: 13px;
  font-weight: 900;
}

.classic-detail-card .article-meta {
  gap: 10px;
  margin: 0 0 18px;
}

.classic-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  padding: 38px 0 70px;
}

.classic-news-main,
.classic-news-list {
  display: grid;
  gap: 18px;
}

.classic-news-tabs {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
}

.classic-news-tabs button {
  border: 0;
  border-radius: 6px;
  padding: 9px 16px;
  background: #f3f4f6;
  cursor: pointer;
  font-weight: 700;
}

.classic-news-tabs button.active,
.classic-news-tabs button:hover {
  color: #fff;
  background: #2563eb;
}

.classic-news-item {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.classic-news-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  font-size: 38px;
  font-weight: 900;
}

.classic-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classic-news-info {
  display: grid;
  align-content: center;
  gap: 10px;
}

.classic-news-meta {
  display: flex;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.classic-news-meta span {
  color: #2563eb;
  font-weight: 800;
}

.classic-news-info h2 {
  margin: 0;
  color: #111827 !important;
  font-size: 24px;
}

.classic-news-info h2 a:hover {
  color: #2563eb;
}

.classic-news-info p {
  margin: 0;
  color: #64748b;
}

.classic-news-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.classic-side-card {
  padding: 22px;
  border-radius: 10px;
  background: #fff !important;
  color: #111827 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

.classic-side-card h3 {
  color: #111827 !important;
}

.classic-empty {
  padding: 24px;
  border-radius: 10px;
  background: #fff;
}

.classic-detail-layout {
  padding: 38px 0 70px;
}

.classic-detail-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

.classic-detail-card h1,
.classic-detail-card h2,
.classic-detail-card h3 {
  color: #111827 !important;
}

.classic-detail-desc {
  color: #64748b;
  font-size: 18px;
}

.classic-detail-card .news-content {
  color: #1f2937 !important;
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eef2f8;
}

.article-pager a,
.article-pager .disabled {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbf8ff);
}

.article-pager a:hover {
  border-color: rgba(124,58,237,.35);
  box-shadow: 0 16px 34px rgba(91,33,182,.1);
}

.article-pager span {
  color: #7c3aed;
  font-size: 13px;
  font-weight: 900;
}

.article-pager strong {
  overflow: hidden;
  color: #172033;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-pager .disabled {
  opacity: .52;
}

.article-float-actions {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 30;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.article-float-actions a,
.article-float-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #6d28d9;
  box-shadow: 0 14px 34px rgba(91,33,182,.14);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.article-float-actions a:hover,
.article-float-actions button:hover {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
}

@media (max-width: 900px) {
  .article-pager {
    grid-template-columns: 1fr;
  }
  .article-float-actions {
    right: 14px;
    bottom: 18px;
    top: auto;
    transform: none;
  }
}

.classic-footer {
  background: #fff !important;
  border-color: #e5e7eb !important;
}

.classic-footer .footer-inner,
.classic-footer a {
  color: #64748b !important;
}

@media (max-width: 900px) {
  .classic-news-layout,
  .classic-news-item {
    grid-template-columns: 1fr;
  }
  .classic-news-sidebar {
    position: static;
  }
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(20, 35, 70, 0.12);
}

.article-card-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
}

.article-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.article-card:hover .article-card-cover img {
  transform: scale(1.06);
}

.article-card-cover > span {
  font-size: 46px;
  font-weight: 900;
}

.article-card-cover em {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.article-card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.article-card-body h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.article-card-body h2 a:hover {
  color: var(--primary);
}

.article-card-body p {
  margin: 0;
  color: var(--muted);
}

.article-card.is-pinned {
  border-color: rgba(47, 109, 246, 0.45);
}

.article-page {
  padding: 54px 0 84px;
}

.article-hero {
  margin-bottom: 34px;
}

.article-hero h1 {
  font-size: clamp(42px, 6vw, 64px);
}

.article-hero p {
  color: var(--muted);
  font-size: 18px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-main,
.article-list {
  display: grid;
  gap: 18px;
}

.article-tabs {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.article-tabs button.active,
.article-tabs button:hover {
  color: #fff;
  background: var(--primary);
}

.article-list-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  font-size: 36px;
  font-weight: 900;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  border-radius: 18px;
  object-fit: cover;
}

.article-badges,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.article-badges span,
.article-tags span {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.article-list-item.is-pinned {
  border-color: rgba(47, 109, 246, 0.45);
}

.article-cover {
  width: 100%;
  max-height: 420px;
  margin: 20px 0;
  border-radius: 20px;
  object-fit: cover;
}

.article-info h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.article-info h2 a:hover {
  color: var(--primary);
}

.article-info p,
.article-meta {
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 14px;
}

.article-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.article-side-card {
  display: grid;
  gap: 12px;
}

.hot-article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.hot-article span {
  color: var(--primary);
  font-weight: 900;
}

.hot-article strong {
  font-size: 14px;
}

.hot-article:hover strong {
  color: var(--primary);
}

.map-page {
  overflow: hidden;
}

.map-header {
  z-index: 1200;
}

.map-shell {
  height: calc(100vh - 69px);
  padding: 18px;
  background: var(--bg);
}

.map-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 82px;
  margin-bottom: 14px;
  padding: 14px 18px;
  overflow-x: auto;
}

.map-toolbar h1 {
  margin: 0;
  font-size: 24px;
  white-space: nowrap;
}

.map-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  height: calc(100% - 96px);
}

.map-stage {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0f172a;
}

.map-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 4000px;
  height: 4000px;
  transform-origin: 0 0;
  background:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px),
    radial-gradient(circle at 30% 25%, rgba(34,197,94,.45), transparent 8%),
    radial-gradient(circle at 65% 55%, rgba(56,189,248,.32), transparent 12%),
    radial-gradient(circle at 48% 45%, rgba(148,163,184,.24), transparent 18%),
    linear-gradient(135deg, #1e3a2f, #334155 45%, #0f172a);
  background-size: 800px 800px, 800px 800px, auto, auto, auto, auto;
  cursor: grab;
}

.map-grid::before {
  content: "A4  A3  A2  A1  A0\A B4  B3  B2  B1  B0\A C4  C3  C2  C1  C0\A D4  D3  D2  D1  D0\A Z4  Z3  Z2  Z1  Z0";
  white-space: pre;
  position: absolute;
  inset: 180px;
  color: rgba(255,255,255,.62);
  font-size: 96px;
  line-height: 760px;
  font-weight: 900;
  letter-spacing: 48px;
  text-shadow: 0 4px 14px rgba(0,0,0,.65);
}

.map-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  pointer-events: none;
}

.map-cross::before,
.map-cross::after {
  content: "";
  position: absolute;
  background: #ef4444;
}

.map-cross::before {
  left: 39px;
  top: 0;
  width: 2px;
  height: 80px;
}

.map-cross::after {
  left: 0;
  top: 39px;
  width: 80px;
  height: 2px;
}

.map-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: auto;
}

.map-sidebar h2 {
  font-size: 18px;
}

.coord-grid {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  color: var(--muted);
}

.coord-grid strong {
  color: var(--primary);
  font-family: Consolas, monospace;
  font-size: 22px;
}

.map-categories {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.map-category {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.map-category span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.map-category.active {
  background: var(--soft);
  color: var(--primary);
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 4px 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  cursor: pointer;
}

.map-status {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(15,23,42,.78);
  color: #fff;
  font-weight: 800;
}

.map-context {
  position: fixed;
  z-index: 1500;
  display: none;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-context.open {
  display: grid;
}

.map-context button {
  border: 0;
  padding: 12px 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.map-context button:hover {
  background: var(--soft);
}

.measure-point,
.measure-label {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.measure-point {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  text-align: center;
  line-height: 26px;
  font-weight: 900;
}

.measure-line {
  position: absolute;
  height: 4px;
  transform-origin: 0 0;
  background: #f59e0b;
  z-index: 3;
}

.measure-label {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(15,23,42,.86);
  color: #fbbf24;
  font-weight: 900;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 2000;
  opacity: 0;
  transform: translateX(-50%);
  border-radius: 12px;
  padding: 10px 14px;
  background: #16a34a;
  color: #fff;
  transition: .2s;
}

.toast.show {
  opacity: 1;
}

.help-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,.55);
}

.help-modal.show {
  display: flex;
}

.help-box {
  width: min(560px, 92vw);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.help-head,
.help-content {
  padding: 18px;
}

.help-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .map-shell {
    height: auto;
  }
  .map-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }
  .map-stage {
    height: 70vh;
  }
}

  .admin-dashboard,
  .article-card-grid,
  .article-layout,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .advanced-fields .post-form-grid,
  .article-list-item {
    grid-template-columns: 1fr;
  }

  .article-thumb {
    min-height: 150px;
  }

  .nav {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0 8px;
  }

  .nav-links a {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .community-hero-grid,
  .forum-shell,
  .changelog-layout,
  .home-status-grid,
  .home-content-grid,
  .cards.three,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    width: min(1120px, calc(100% - 40px));
    gap: 20px;
  }

.community-hero {
  padding: 34px 0 20px;
  background: radial-gradient(circle at 12% 0%, rgba(47, 109, 246, 0.18), transparent 34%), linear-gradient(180deg, #fff, var(--bg));
}

.community-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
}

.community-card,
.forum-post {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-intro {
  padding: 44px;
}

.profile-card {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 28px;
  text-align: center;
}

.profile-avatar,
.post-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  font-weight: 900;
}

.profile-avatar {
  margin: 0 auto;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.profile-stats span {
  padding: 10px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}

.profile-stats strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.forum-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  padding: 20px 0 40px;
}

.forum-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.forum-tabs a,
.forum-tabs button,
.tag-cloud span,
.tag-cloud button,
.quick-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
}

.forum-tabs a,
.forum-tabs button {
  padding: 9px 16px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

.forum-tabs a.active,
.forum-tabs button.active,
.forum-tabs a:hover,
.forum-tabs button:hover {
  color: #fff;
  background: var(--primary);
}

.forum-feed,
.forum-sidebar {
  display: grid;
  gap: 18px;
}

.forum-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
  margin-bottom: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.forum-post-list {
  display: grid;
  gap: 16px;
}

.forum-post {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.post-meta,
.post-actions {
  color: var(--muted);
  font-size: 14px;
}

.post-body h3 {
  margin-bottom: 8px;
}

.post-body h3 a:hover,
.post-actions a:hover {
  color: var(--primary);
}

.post-actions {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.post-editor {
  display: grid;
  gap: 12px;
  padding: 22px;
  margin-bottom: 18px;
}

.post-form-grid {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 10px;
}

.post-editor input,
.post-editor select,
.post-editor textarea,
.forum-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.post-actions button,
.tag-cloud button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.tag-cloud button {
  padding: 8px 12px;
}

.tag-cloud button.active {
  color: #fff;
  background: var(--primary);
}

.comments {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.comments p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--soft);
}

.forum-sidebar {
  align-content: start;
}

.forum-sidebar .community-card {
  padding: 22px;
}

.quick-links,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a,
.tag-cloud span {
  padding: 8px 12px;
}

  .hero {
    padding-top: 64px;
  }

  .hero-intro,
  .forum-post,
  .forum-title {
    padding: 22px;
  }

  .split,
  .hero-actions,
  .footer-inner,
  .forum-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-sidebar,
.docs-sticky {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding-right: 18px;
}

.docs-outline {
    border-right: 0;
    border-left: 0;
  }

  .docs-sticky,
  .outline-sticky {
    position: static;
    max-height: none;
    padding-right: 0;
    padding-left: 0;
  }

  .doc-section {
    padding: 24px;
  }

  .changelog-toc {
    position: static;
    max-height: none;
  }

  .news-content p:has(img),
  .yuque-content p:has(img) {
    width: 100%;
    margin-right: 0;
  }
}
.game-home .nav-links.nav-ready {
  display: flex;
}

.game-home {
  background: #f7f2ff !important;
  color: #172033 !important;
}

.game-home .container {
  width: min(1180px, calc(100% - 40px));
}

.game-home .site-header {
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.98), rgba(19, 11, 46, 0.96) 48%, rgba(80, 18, 62, 0.94)) !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
}

.game-home .brand,
.game-home .nav-links a {
  color: #fff !important;
}

.game-home h1,
.game-home h2,
.game-home h3 {
  color: #172033 !important;
}

.game-home .nav-links a {
  color: rgba(255,255,255,.78) !important;
}

.game-home .nav-links a:hover {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(124,58,237,.78), rgba(236,72,153,.68)) !important;
}

.game-home .home-main {
  min-height: 100vh;
  padding: 64px 0;
  background: radial-gradient(circle at 20% 0%, rgba(124,58,237,.22), transparent 35%), linear-gradient(180deg, #f7f2ff, #fff 52%, #f9f7ff);
}

.game-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, .72fr);
  gap: 34px;
  align-items: stretch;
}

.game-home .home-hero-copy {
  align-self: center;
}

.game-home .home-hero-copy h1 {
  max-width: 680px !important;
  font-size: clamp(48px, 6.8vw, 78px) !important;
  line-height: 1 !important;
  letter-spacing: -0.06em;
}

.game-home .home-hero-copy p:not(.saas-kicker),
.game-home .home-hero-notice p,
.game-home .home-stat p,
.game-home .home-feature-grid .card p,
.game-home .home-service-card p,
.game-home .home-cta p,
.game-home .center-title p:last-child {
  color: #647084 !important;
}

.game-home .saas-kicker,
.game-home .home-hero-notice span,
.game-home .home-stat span,
.game-home .home-list-card .home-mini-list span,
.game-home .home-stat a {
  color: #6d28d9 !important;
  font-weight: 900;
}

.game-home .btn.primary {
  border: 0 !important;
  background: linear-gradient(135deg,#7c3aed,#5b21b6) !important;
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(86,37,180,.18);
}

.game-home .btn.ghost {
  color: #172033 !important;
  background: #fff !important;
  border-color: #e6eaf2 !important;
}

.game-home .home-showcase {
  display: grid;
  gap: 18px;
}

.game-home .home-command-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 34px;
  border-radius: 30px;
  color: #fff;
  background: radial-gradient(circle at 18% 18%, rgba(255,255,255,.32), transparent 26%), linear-gradient(135deg, #7c3aed, #2563eb 56%, #06b6d4);
  box-shadow: 0 26px 70px rgba(91,33,182,.18);
}

.game-home .home-command-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.game-home .home-command-card span,
.game-home .home-command-card h2,
.game-home .home-command-card p,
.game-home .home-command-card a {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

.game-home .home-command-card span {
  width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-weight: 900;
}

.game-home .home-command-card h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.game-home .home-command-card p {
  max-width: 460px;
  margin: 0;
  opacity: .82;
}

.game-home .home-command-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-home .home-command-actions a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  font-weight: 900;
}

.game-home .home-feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.game-home .home-feature-list b {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.game-home .home-hero-notice,
.game-home .home-stat,
.game-home .home-feature-grid .card,
.game-home .home-service-card,
.game-home .home-list-card,
.game-home .home-cta {
  border: 1px solid #e6eaf2 !important;
  border-radius: 24px;
  background: #fff !important;
  color: #172033 !important;
  box-shadow: 0 26px 70px rgba(91,33,182,.1) !important;
}

.game-home .home-hero-notice {
  padding: 24px;
}

.game-home .home-hero-notice strong {
  display: block;
  color: #172033;
  font-size: 24px;
}

.game-home .home-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 54px;
}

.game-home .home-stat {
  padding: 24px;
}

.game-home .home-stat strong {
  display: block;
  color: #172033;
  font-size: 30px;
}

.game-home .status-online strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-home .status-online i {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.14);
}

.game-home .status-online i::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(34,197,94,.42);
}

.game-home .home-section {
  padding: 86px 0 44px;
}

.game-home .home-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.game-home .home-feature-grid .card {
  display: grid;
  gap: 14px;
  min-height: 230px;
  padding: 30px;
}

.game-home .home-service-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  padding-bottom: 48px;
}

.game-home .home-service-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 34px;
}

.game-home .home-service-primary {
  background: linear-gradient(145deg, #9333ea, #5b21b6) !important;
  color: #fff !important;
}

.game-home .home-service-primary h2,
.game-home .home-service-primary p,
.game-home .home-service-primary .saas-kicker {
  color: #fff !important;
}

.game-home .home-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.game-home .home-step-list span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 900;
}

.game-home .home-content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-bottom: 70px;
}

.game-home .home-list-card {
  padding: 30px;
}

.game-home .home-list-card .home-mini-list a {
  border-color: #eef2f8 !important;
}

.game-home .home-list-card .home-mini-list strong {
  color: #172033 !important;
}

.game-home .home-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 38px;
}

.game-home .game-footer {
  background: #fff !important;
  border-color: #e6eaf2 !important;
}

.game-home .game-footer .footer-inner,
.game-home .game-footer a {
  color: #647084 !important;
}

@media (max-width: 980px) {
  .game-home .home-feature-grid,
  .game-home .home-stat-grid,
  .game-home .home-service-grid,
  .game-home .home-content-grid {
    grid-template-columns: 1fr !important;
  }
  .game-home .home-hero {
    grid-template-columns: 1fr !important;
  }
  .game-home .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-header,
.classic-header,
.game-home .site-header,
.saas-header,
.saas-home .site-header,
body:not(.admin-page):not(.map-page) .site-header {
  background: linear-gradient(135deg, rgba(11, 7, 24, 0.98), rgba(19, 11, 46, 0.96) 48%, rgba(80, 18, 62, 0.94)) !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  box-shadow: 0 14px 38px rgba(39, 12, 72, .16) !important;
}

.brand,
.site-header .brand,
.classic-header .brand,
.game-home .brand,
.saas-header .brand,
body:not(.admin-page):not(.map-page) .brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff !important;
  background: transparent;
  box-shadow: none;
  font-weight: 900;
}

.nav-links,
.site-header .nav-links,
.game-home .nav-links,
.saas-header .nav-links {
  gap: 10px;
}

.nav-links.nav-ready,
.nav-links:not(:empty),
.game-home .nav-links.nav-ready {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.nav-links a,
.site-header .nav-links a,
.classic-header .nav-links a,
.game-home .nav-links a,
.saas-header .nav-links a,
body:not(.admin-page):not(.map-page) .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px !important;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.06) !important;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover,
.site-header .nav-links a:hover,
.classic-header .nav-links a:hover,
.game-home .nav-links a:hover,
.saas-header .nav-links a:hover,
.docs-topbar .nav-links a:hover,
body:not(.admin-page):not(.map-page) .nav-links a:hover {
  color: #fff !important;
  border-color: rgba(255,255,255,.24) !important;
  background: linear-gradient(135deg, rgba(124,58,237,.78), rgba(236,72,153,.68)) !important;
}

.nav-toggle,
.site-header .nav-toggle {
  border: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border-radius: 999px;
}

@media (max-width: 820px) {
  .nav-links.nav-ready,
  .nav-links:not(:empty),
  .game-home .nav-links.nav-ready {
    display: none;
  }
  .nav-links.open,
  .nav-links.nav-ready.open,
  .game-home .nav-links.nav-ready.open {
    display: flex;
  }
  .nav-links a,
  .site-header .nav-links a,
  .classic-header .nav-links a,
  .game-home .nav-links a,
  .saas-header .nav-links a,
  body:not(.admin-page):not(.map-page) .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .nav-links:not(.open) {
    display: none !important;
  }
  .nav-links.open {
    display: flex !important;
  }
}
