/* 同花顺财经安全下载站 - 经典财经门户版式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #1a1a1a;
  background: #f3f4f6;
  line-height: 1.75;
}

a {
  color: #9f1d2a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

svg {
  vertical-align: middle;
}

.site {
  min-height: 100vh;
}

.topbar {
  background: #9f1d2a;
  color: #fff;
  width: 100%;
}

.topbar > div {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.brand {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.brand a {
  color: #fff;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  padding: 8px 14px;
  font-size: 0.95rem;
  border-radius: 2px;
  text-decoration: none;
  opacity: 0.92;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  background: #fff;
  color: #9f1d2a;
  font-weight: 700;
  opacity: 1;
}

.site > main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.hero {
  display: flex;
  gap: 28px;
  align-items: stretch;
  background: linear-gradient(180deg, #fff 0%, #faf7f7 100%);
  border: 1px solid #e5d0d2;
  padding: 28px 24px;
  margin-bottom: 20px;
}

.hero-copy {
  flex: 1 1 58%;
  min-width: 0;
}

.hero-copy h1 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.65rem;
  color: #7a1520;
  line-height: 1.4;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-copy p {
  font-size: 0.98rem;
  color: #333;
  margin-bottom: 12px;
}

.hero-copy > a {
  display: inline-block;
  margin-top: 8px;
  background: #9f1d2a;
  color: #fff;
  padding: 12px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 2px;
  text-decoration: none;
}

.hero-copy > a:hover {
  background: #7a1520;
  text-decoration: none;
}

.dl-card {
  flex: 0 0 320px;
  background: #fff;
  border: 2px solid #9f1d2a;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dl-card > p {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.1rem;
  color: #9f1d2a;
  margin-bottom: 4px;
  text-align: center;
  font-weight: 700;
}

.dl-card a {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid #9f1d2a;
  color: #9f1d2a;
  background: #fff;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 2px;
}

.dl-card a:hover {
  background: #fceaea;
  text-decoration: none;
}

.dl-card a:first-of-type {
  background: #9f1d2a;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 14px 12px;
  border-width: 2px;
}

.dl-card a:first-of-type:hover {
  background: #7a1520;
}

.meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 16px 12px;
}

.meter div {
  text-align: center;
  padding: 8px 6px;
  border-right: 1px solid #eee;
}

.meter div:last-child {
  border-right: none;
}

.meter strong {
  display: block;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.25rem;
  color: #9f1d2a;
  margin-bottom: 4px;
}

.meter span {
  font-size: 0.85rem;
  color: #555;
}

.site > main > section {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 24px 22px;
  margin-bottom: 20px;
}

.site > main > section > h2 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.35rem;
  color: #7a1520;
  border-left: 4px solid #9f1d2a;
  padding-left: 12px;
  margin-bottom: 16px;
  line-height: 1.35;
}

.site > main > section > p {
  margin-bottom: 12px;
  color: #2a2a2a;
  font-size: 0.97rem;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

.col-a h3,
.col-b h3,
.col-c h3 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.05rem;
  color: #9f1d2a;
  margin-bottom: 10px;
}

.col-a p {
  font-size: 0.92rem;
  color: #333;
  margin-bottom: 10px;
}

.col-b ul {
  list-style: none;
}

.col-b li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: #333;
}

.col-b svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.col-c table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.col-c th,
.col-c td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}

.col-c th {
  background: #f8ecee;
  color: #7a1520;
  font-weight: 600;
}

.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

.cmp th,
.cmp td {
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.cmp th {
  background: #9f1d2a;
  color: #fff;
  font-family: "Songti SC", "SimSun", serif;
  font-weight: 600;
}

.cmp tr:nth-child(even) td {
  background: #faf6f6;
}

.quotes {
  margin-top: 8px;
}

.quotes blockquote {
  border-left: 4px solid #9f1d2a;
  background: #faf7f7;
  padding: 14px 16px;
  margin-bottom: 14px;
  color: #333;
  font-size: 0.95rem;
}

.quotes cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: #9f1d2a;
  font-size: 0.88rem;
}

.news {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  margin-top: 6px;
}

.news th,
.news td {
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}

.news th {
  background: #f5f5f5;
  color: #555;
  font-weight: 600;
  font-size: 0.85rem;
}

.news h3 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.news td:first-child {
  color: #9f1d2a;
  font-size: 0.85rem;
  white-space: nowrap;
  width: 7.5em;
}

.news p {
  margin: 0;
  color: #444;
  font-size: 0.9rem;
}

.faq {
  margin-top: 6px;
}

.faq dt {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 1.05rem;
  color: #7a1520;
  font-weight: 700;
  padding: 12px 0 6px;
  border-top: 1px solid #eee;
}

.faq dt:first-child {
  border-top: none;
  padding-top: 0;
}

.faq dd {
  color: #333;
  font-size: 0.95rem;
  padding: 0 0 14px;
  margin: 0;
}

.site > main > section > ol {
  counter-reset: step;
  list-style: none;
  margin: 12px 0;
}

.site > main > section > ol > li {
  position: relative;
  padding: 12px 12px 12px 48px;
  margin-bottom: 10px;
  background: #faf7f7;
  border: 1px solid #ecd8da;
  counter-increment: step;
  font-size: 0.95rem;
  color: #333;
}

.site > main > section > ol > li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  background: #9f1d2a;
  color: #fff;
  text-align: center;
  line-height: 26px;
  font-size: 0.85rem;
  border-radius: 2px;
}

.site > main > section > table:not(.cmp):not(.news) {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.site > main > section > table:not(.cmp):not(.news) th,
.site > main > section > table:not(.cmp):not(.news) td {
  border: 1px solid #d8d8d8;
  padding: 10px 12px;
  text-align: left;
}

.site > main > section > table:not(.cmp):not(.news) th {
  background: #f8ecee;
  color: #7a1520;
}

.site > main > section > p > a[href*="cdn_download"],
.site > main > section > p > a[href="download.html"] {
  display: inline-block;
  margin: 4px 8px 4px 0;
  background: #9f1d2a;
  color: #fff;
  padding: 10px 22px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
}

.site > main > section > p > a[href="download.html"] {
  background: #fff;
  color: #9f1d2a;
  border: 1px solid #9f1d2a;
}

.site > main > section > p > a[href*="cdn_download"]:hover {
  background: #7a1520;
  text-decoration: none;
}

.site > main > section > p > a[href="download.html"]:hover {
  background: #fceaea;
  text-decoration: none;
}

.foot {
  background: #2a2a2a;
  color: #ccc;
  padding: 36px 16px 28px;
  margin-top: 12px;
}

.foot > div:first-child {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.foot h3 {
  font-family: "Songti SC", "SimSun", serif;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.foot p,
.foot li {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #bbb;
}

.foot ul {
  list-style: none;
}

.foot a {
  color: #e8b4b8;
}

.foot a:hover {
  color: #fff;
}

.foot > div:last-child {
  max-width: 1120px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid #444;
  font-size: 0.82rem;
  color: #999;
  line-height: 1.8;
}

.foot > div:last-child p {
  color: #999;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .topbar > div {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding: 6px 10px;
    font-size: 0.88rem;
  }

  .hero {
    flex-direction: column;
    padding: 18px 14px;
  }

  .dl-card {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 1.35rem;
  }

  .meter {
    grid-template-columns: 1fr 1fr;
  }

  .meter div {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .cols {
    grid-template-columns: 1fr;
  }

  .foot > div:first-child {
    grid-template-columns: 1fr;
  }

  .news td:first-child {
    white-space: normal;
  }

  .cmp,
  .news,
  .site > main > section > table {
    display: block;
    overflow-x: auto;
  }
}
