/* 同花顺行情 www 双栏站 */
:root {
  --teal: #0e3b3b;
  --coral: #d4654a;
  --mint: #e6f3f1;
  --text: #14302e;
  --card-radius: 16px;
  --sidebar-w: 300px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--text);
  background: var(--mint);
  line-height: 1.75;
  font-size: 16px;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

.site-header {
  width: 100%;
  background: var(--teal);
  color: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.brand:hover {
  color: #f0d9d2;
}

.nav {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.nav a {
  color: #dceee8;
  font-size: 15px;
  padding: 4px 2px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
  border-bottom: 2px solid var(--coral);
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: 28px;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.side-col {
  min-width: 0;
}

.hero {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 22px 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(14, 59, 59, 0.08);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.35;
  color: var(--teal);
}

.hero-lead {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--text);
}

.ticker-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.ticker {
  background: var(--mint);
  border: 1px solid #b8d9d4;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
}

.ticker-name {
  font-weight: 700;
  color: var(--teal);
  font-size: 15px;
}

.ticker-hint {
  font-size: 12px;
  color: #4a6b68;
  margin-top: 4px;
}

.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-btns a,
.btn-download {
  display: inline-block;
  background: var(--coral);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--card-radius);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.download-btns a:hover,
.btn-download:hover {
  background: #b8533c;
  transform: translateY(-1px);
}

.section {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 20px 22px 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(14, 59, 59, 0.06);
}

.section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--teal);
  border-left: 4px solid var(--coral);
  padding-left: 12px;
  line-height: 1.4;
}

.section p {
  margin: 0 0 12px;
  text-align: justify;
}

.section p:last-child {
  margin-bottom: 0;
}

.hero-svg,
.inline-svg {
  display: block;
  margin: 8px 0 16px;
}

.side-panel {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 16px 18px 18px;
  box-shadow: 0 2px 10px rgba(14, 59, 59, 0.06);
  position: sticky;
  top: 16px;
}

.side-panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--teal);
  border-bottom: 2px solid var(--mint);
  padding-bottom: 8px;
}

.news-item {
  padding: 12px 0;
  border-bottom: 1px solid #d5e8e4;
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  font-weight: 700;
}

.news-item time {
  display: block;
  font-size: 12px;
  color: #5a7a76;
  margin-bottom: 6px;
}

.news-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #2a4542;
}

.faq-block {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 20px 22px 8px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(14, 59, 59, 0.06);
}

.faq-block > h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--teal);
  border-left: 4px solid var(--coral);
  padding-left: 12px;
}

.faq-item {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d5e8e4;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--teal);
  line-height: 1.45;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  text-align: justify;
}

.cta-row {
  margin: 16px 0;
}

.site-footer {
  background: var(--teal);
  color: #dceee8;
  padding: 22px 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}

.site-footer p {
  margin: 0 0 8px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer p:last-child {
  margin-bottom: 0;
  opacity: 0.92;
}

@media (max-width: 1199px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .ticker-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 22px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
