﻿:root {
  --st-max: 1180px;
  --st-wide: 1320px;
  --st-brand: #ff5b4d;
  --st-brand-2: #ff9a1f;
  --st-ink: #111827;
  --st-muted: #667085;
  --st-soft: #f6f8fb;
  --st-line: #e8edf5;
  --st-radius: 26px;
  --st-shadow: 0 18px 45px rgba(17, 24, 39, .08);
  --st-shadow-strong: 0 24px 70px rgba(255, 91, 77, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body, .editor-styles-wrapper { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }

.st-header-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,237,245,.85);
}
.admin-bar .st-header-wrap { top: 32px; }
.st-header-inner {
  max-width: var(--st-wide);
  margin: 0 auto;
  padding: 15px clamp(18px, 4vw, 34px);
  gap: 22px;
}
.st-brand { gap: 12px; min-width: 210px; }
.st-brand .wp-block-site-logo img,
.st-hero-app-icon img {
  border-radius: 24%;
  box-shadow: var(--st-shadow-strong);
}
.st-brand-title a,
.st-brand-title {
  text-decoration: none;
  color: var(--st-ink);
  font-weight: 900;
  letter-spacing: -.02em;
}
.st-brand-tagline { margin-top: -6px !important; color: var(--st-muted); font-size: 12px; line-height: 1.2; }
.st-main-nav { flex: 1; justify-content: center; }
.st-main-nav .wp-block-navigation-item__content { padding: 8px 0; }
.st-main-nav .wp-block-navigation-item__content:hover { color: var(--st-brand); }
.st-header-cta .wp-block-button__link {
  padding: 10px 22px;
  background: linear-gradient(135deg, #008de3 0%, #00a4ec 100%);
  box-shadow: 0 12px 28px rgba(0, 141, 227, .22);
}

.st-section { padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 36px); }
.st-section-narrow { padding: clamp(46px, 7vw, 78px) clamp(18px, 4vw, 36px); }
.st-section > .wp-block-group__inner-container,
.st-section-narrow > .wp-block-group__inner-container { max-width: var(--st-max); margin-left: auto; margin-right: auto; }
.st-hero { padding-top: clamp(56px, 8vw, 88px); text-align: center; background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #f8fbff 100%); }
.st-hero-inner { max-width: 1040px; margin-inline: auto; }
.st-hero-app-icon { width: clamp(108px, 14vw, 168px); margin-inline: auto; margin-bottom: 28px; }
.st-eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #ffe2d2;
  color: #ff6a32;
  background: #fff6ef;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
}
.st-hero h1,
.st-page-hero h1,
.st-section-title {
  letter-spacing: -.045em;
  line-height: 1.16;
  margin-top: 0;
}
.st-gradient-text {
  background: linear-gradient(135deg, #ff405f, #ff9a1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.st-lead {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: var(--st-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.st-download-buttons { justify-content: center; gap: 18px; margin-top: 32px; }
.st-download-buttons .wp-block-button__link,
.st-button-gradient .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 190px;
  padding: 14px 24px;
  color: #fff !important;
  border: 0;
  background: linear-gradient(135deg, #ff405f 0%, #ff9a1f 100%);
  box-shadow: 0 16px 36px rgba(255, 100, 72, .25);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.st-download-buttons .wp-block-button__link:hover,
.st-button-gradient .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(255, 100, 72, .32);
  filter: saturate(1.05);
}
.st-button-soft .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--st-ink) !important;
  background: #fff;
  border: 1px solid var(--st-line);
  box-shadow: 0 12px 28px rgba(17,24,39,.06);
}

.st-feature-grid { margin-top: 48px; gap: 26px; }
.st-feature-card {
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(17,24,39,.055);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.st-feature-card:hover { transform: translateY(-5px); box-shadow: var(--st-shadow); }
.st-feature-card figure { margin: 0; }
.st-feature-card img { display: block; width: 100%; }
.st-feature-body { padding: 22px 24px 26px; }
.st-feature-body h3 { margin: 0 0 8px; }
.st-feature-body p { margin: 0; color: var(--st-muted); }

.st-blue-panel {
  background: linear-gradient(135deg, #dff3ff 0%, #f1fff8 100%);
  border-top: 1px solid rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.9);
}
.st-version-layout { gap: clamp(32px, 6vw, 70px); align-items: center; }
.st-version-image img { border-radius: 34px; box-shadow: 0 28px 70px rgba(35, 109, 164, .12); }
.st-check-list { list-style: none; padding-left: 0; }
.st-check-list li { margin: 14px 0; color: var(--st-muted); }
.st-check-list li strong { color: var(--st-ink); }
.st-check-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  color: #15b985;
  margin-right: 10px;
}

.st-card-grid { gap: 22px; }
.st-info-card {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 12px 32px rgba(17,24,39,.055);
}
.st-info-card .fa-solid,
.st-info-card .fa-brands {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff2ef, #fff7e8);
  color: var(--st-brand);
  margin-bottom: 14px;
  font-size: 20px;
}
.st-info-card h3 { margin-top: 0; }
.st-info-card p { color: var(--st-muted); margin-bottom: 0; }

.st-platform-card {
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--st-shadow);
}
.st-platform-card figure { margin: 0; }
.st-platform-card .wp-block-group { padding: 26px; }
.st-platform-card h3 { margin-top: 0; }

.st-news-section { background: var(--st-soft); }
.st-section-head { max-width: 840px; margin: 0 auto 34px; text-align: center; }
.st-section-head p { color: var(--st-muted); }
.st-query .wp-block-post-template {
  gap: 22px;
}
.st-query .wp-block-post,
.st-news-card {
  height: 100%;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--st-line);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17,24,39,.045);
}
.st-news-card { padding: 0; }
.st-news-image { margin: 0; }
.st-news-image img,
.st-query .wp-block-post-featured-image img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.st-news-card-body { padding: 20px 22px 22px; }
.st-news-card-body h3 { font-size: 1.08rem; margin: 0 0 10px; line-height: 1.45; }
.st-news-card-body h3 a { text-decoration: none; }
.st-news-card-body .wp-block-post-excerpt { color: var(--st-muted); font-size: .94rem; }
.st-news-card-body .wp-block-post-excerpt__more-text a { color: var(--st-brand); font-weight: 800; text-decoration: none; }
.st-news-card-body time { color: #98a2b3; font-size: .86rem; }
.st-news-more { justify-content: center; margin-top: 34px; }

.st-faq-grid { gap: 18px; }
.st-faq-grid details {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 18px;
  padding: 18px 20px;
}
.st-faq-grid summary { font-weight: 800; cursor: pointer; }
.st-faq-grid p { color: var(--st-muted); }

.st-page-hero {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 36px);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  text-align: center;
}
.st-page-hero > .wp-block-group__inner-container { max-width: 980px; margin: 0 auto; }
.st-content-wrap {
  max-width: var(--st-max);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 72px) clamp(18px, 4vw, 36px);
}
.st-download-box {
  border-radius: 32px;
  background: linear-gradient(135deg, #fff6ef, #fff 55%, #f4fbff);
  border: 1px solid var(--st-line);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--st-shadow);
}
.st-table table {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--st-line);
  border-radius: 18px;
  background: #fff;
}
.st-table td,
.st-table th { border-color: var(--st-line); padding: 14px 16px; }
.st-table tr:nth-child(even) td { background: #fbfcff; }

.st-article {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 74px) clamp(18px, 4vw, 36px);
}
.st-article-header { text-align: center; margin-bottom: 34px; }
.st-post-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: #98a2b3;
  font-size: .92rem;
  margin-top: 12px;
}
.st-article .wp-block-post-featured-image img { border-radius: 28px; box-shadow: var(--st-shadow); }
.st-article-content { font-size: 1.04rem; }
.st-article-content h2,
.st-article-content h3 { margin-top: 2.2em; line-height: 1.3; }
.st-article-content p { color: #3f4a5f; }
.download-toc {
  margin: 28px 0 34px;
  border: 1px solid var(--st-line);
  border-radius: 20px;
  background: #fbfcff;
  padding: 0;
  overflow: hidden;
}
.download-toc-summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 900;
  background: #fff;
}
.download-toc-list { margin: 0; padding: 16px 24px 18px 42px; }
.download-toc-item { margin: 8px 0; color: var(--st-muted); }
.download-toc-item a { color: var(--st-muted); text-decoration: none; }
.download-toc-item a:hover { color: var(--st-brand); }
.download-toc-num { color: var(--st-brand); margin-right: 7px; font-weight: 800; }

.st-archive-head { text-align: center; padding: clamp(42px, 7vw, 72px) 18px 22px; }
.st-archive-list { max-width: var(--st-max); margin: 0 auto; padding: 18px 18px 72px; }
.st-pagination { margin-top: 34px; }

.st-footer-wrap {
  background: #252d35;
  color: rgba(255,255,255,.78);
  padding: 42px clamp(18px, 4vw, 34px);
}
.st-footer-inner { max-width: var(--st-wide); margin: 0 auto; gap: 18px; text-align: center; }
.st-footer-inner a { color: rgba(255,255,255,.86); text-decoration: none; }
.st-footer-inner a:hover { color: #fff; }
.st-footer-links { justify-content: center; gap: 20px 28px; }
.st-footer-note { color: rgba(255,255,255,.62); font-size: .9rem; max-width: 920px; margin-inline: auto; }

.st-floating-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 60;
}
.st-floating-top a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--st-line);
  box-shadow: var(--st-shadow);
  text-decoration: none;
  color: var(--st-muted);
}

@media (max-width: 940px) {
  .st-header-inner { justify-content: center; }
  .st-main-nav { order: 3; flex-basis: 100%; }
  .st-main-nav .wp-block-navigation__container { justify-content: center; gap: 18px !important; }
  .admin-bar .st-header-wrap { top: 0; }
}
@media (max-width: 720px) {
  .st-download-buttons .wp-block-button,
  .st-download-buttons .wp-block-button__link { width: 100%; }
  .st-download-buttons { display: grid; }
  .st-hero { text-align: left; }
  .st-hero-inner, .st-lead { margin-left: 0; }
  .st-hero-app-icon { margin-left: 0; }
  .st-section-head { text-align: left; }
  .st-floating-top { display: none; }
}
.st-footer-inner .st-brand-title,
.st-footer-inner .st-brand-title a { color: #fff; }
.st-section > .wp-block-columns,
.st-section > .wp-block-group,
.st-section > .wp-block-query,
.st-section > .wp-block-buttons,
.st-section-narrow > .wp-block-columns,
.st-section-narrow > .wp-block-group,
.st-section-narrow > .wp-block-query,
.st-section-narrow > .wp-block-buttons {
  max-width: var(--st-max);
  margin-left: auto;
  margin-right: auto;
}
.st-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
@media (max-width: 980px) {
  .st-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .st-query .wp-block-post-template { grid-template-columns: 1fr; }
}


/* --- v1.1.0 资讯卡片栅格修正 ---
 * 覆盖 WordPress Query Loop / Post Template 默认 flex 样式，避免卡片宽度被内容撑成窄条。
 */
.st-news-section .wp-block-query.st-query,
.st-archive-list .wp-block-query.st-query,
.wp-block-query.st-query {
  width: 100%;
  max-width: var(--st-max);
  margin-left: auto;
  margin-right: auto;
}
.wp-block-query.st-query ul.wp-block-post-template,
.wp-block-query.st-query .wp-block-post-template,
.st-news-section .wp-block-post-template,
.st-archive-list .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  justify-content: initial !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.wp-block-query.st-query .wp-block-post-template.is-flex-container {
  display: grid !important;
}
.wp-block-query.st-query .wp-block-post-template > li,
.wp-block-query.st-query .wp-block-post-template > .wp-block-post {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  float: none !important;
}
.wp-block-query.st-query .wp-block-post-template > li > *,
.wp-block-query.st-query .wp-block-post > * {
  width: 100% !important;
  max-width: none !important;
}
.wp-block-query.st-query .st-news-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
.wp-block-query.st-query .st-news-card-body {
  width: 100% !important;
  flex: 1 1 auto !important;
}
.wp-block-query.st-query .wp-block-post-featured-image,
.wp-block-query.st-query .st-news-image {
  width: 100% !important;
  min-width: 100% !important;
  height: 190px !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #f2f5f9 !important;
}
.wp-block-query.st-query .wp-block-post-featured-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.wp-block-query.st-query .wp-block-post-featured-image img,
.wp-block-query.st-query .st-news-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 190px !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
}
.wp-block-query.st-query .wp-block-post-title,
.wp-block-query.st-query .wp-block-post-title a {
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
@media (max-width: 980px) {
  .wp-block-query.st-query ul.wp-block-post-template,
  .wp-block-query.st-query .wp-block-post-template,
  .st-news-section .wp-block-post-template,
  .st-archive-list .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .wp-block-query.st-query ul.wp-block-post-template,
  .wp-block-query.st-query .wp-block-post-template,
  .st-news-section .wp-block-post-template,
  .st-archive-list .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
  .wp-block-query.st-query .wp-block-post-featured-image,
  .wp-block-query.st-query .st-news-image {
    height: auto !important;
  }
  .wp-block-query.st-query .wp-block-post-featured-image img,
  .wp-block-query.st-query .st-news-image img {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
}
.tx-friend-links {
  padding: 56px 20px 64px;
  background: #ffffff;
}

.tx-friend-links__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 38px 38px;
  border-radius: 24px;
  border: 1px solid #e8eef6;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  box-shadow: 0 16px 45px rgba(15, 75, 120, 0.08);
}

.tx-friend-links__head {
  margin-bottom: 22px;
}

.tx-friend-links__tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(0, 153, 255, 0.1);
  color: #0099ff;
  font-size: 13px;
  font-weight: 700;
}

.tx-friend-links h2 {
  margin: 0 0 8px;
  color: #182235;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 800;
}

.tx-friend-links p {
  margin: 0;
  color: #6b778a;
  font-size: 15px;
  line-height: 1.8;
}

.tx-friend-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tx-friend-links__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #dcecff;
  background: #ffffff;
  color: #1677ff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s ease;
}

.tx-friend-links__list a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0aa8ff 0%, #1677ff 100%);
  border-color: #1677ff;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.22);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .tx-friend-links {
    padding: 38px 16px 46px;
  }

  .tx-friend-links__inner {
    padding: 26px 20px 28px;
    border-radius: 18px;
  }

  .tx-friend-links h2 {
    font-size: 24px;
  }

  .tx-friend-links__list {
    gap: 10px;
  }

  .tx-friend-links__list a {
    width: calc(50% - 5px);
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }
}