/* ===================== 大宗交易网 - 样式框架（浅色商务风） ===================== */

/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f7f9fc;
  color: #2c3542;
  font-size: 14px;
  line-height: 1.6;
}
a { color: #2563eb; text-decoration: none; }
a:hover { color: #1d4ed8; }

/* ---- Header ---- */
.header {
  background: #ffffff;
  color: #2c3542;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 #e8ecf3, 0 4px 16px rgba(37, 99, 235, .05);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 20px;
  gap: 32px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
  letter-spacing: 1px;
}
.logo span { color: #8a94a6; font-size: 13px; font-weight: 400; margin-left: 6px; }
.nav { display: flex; gap: 28px; }
.nav a {
  color: #5a6577;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.nav a:hover, .nav a.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}
.search-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.search-box input {
  width: 200px;
  height: 34px;
  border: 1px solid #d9e1ec;
  background: #f7f9fc;
  color: #2c3542;
  border-radius: 6px 0 0 6px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
}
.search-box input::placeholder { color: #a0aab8; }
.search-box input:focus { border-color: #2563eb; background: #fff; }
.search-box button {
  height: 34px;
  padding: 0 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-size: 13px;
}
.search-box button:hover { background: #1d4ed8; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f7f9fc 60%, #eef7f2 100%);
  color: #1e293b;
  padding: 56px 20px 48px;
  text-align: center;
  border-bottom: 1px solid #e8ecf3;
}
.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
  color: #16213a;
}
.hero h1 .sep { color: #2563eb; margin: 0 10px; }
.hero p {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-card {
  background: #ffffff;
  border: 1px solid #e8ecf3;
  border-radius: 12px;
  padding: 24px 36px;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(30, 41, 59, .05);
}
.stat-card .stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 13px;
  color: #64748b;
}
.stat-card .stat-change { font-size: 12px; margin-top: 4px; }
.stat-card .stat-change.up { color: #d93025; }
.stat-card .stat-change.down { color: #0f9d58; }

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Section ---- */
.section {
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 20px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #16213a;
  position: relative;
  padding-left: 14px;
}
.section-header h2::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border-radius: 2px;
}
.section-header .more {
  font-size: 14px;
  color: #8a94a6;
}
.section-header .more:hover { color: #2563eb; }

/* ---- Stat Bar (data pages) ---- */
.stat-bar {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.stat-bar .stat-item {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 16px 24px;
  flex: 1;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(30, 41, 59, .04);
}
.stat-bar .stat-item .label { font-size: 13px; color: #8a94a6; margin-bottom: 6px; }
.stat-bar .stat-item .value { font-size: 24px; font-weight: 700; color: #16213a; }
.stat-bar .stat-item .value.red { color: #d93025; }
.stat-bar .stat-item .value.green { color: #0f9d58; }

/* ---- Filter Bar ---- */
.filter-bar {
  background: #fff;
  border-radius: 10px 10px 0 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #eef1f6;
  flex-wrap: wrap;
}
.filter-bar label { font-size: 13px; color: #8a94a6; }
.filter-bar input[type="date"],
.filter-bar select {
  height: 34px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
  background: #fff;
  color: #2c3542;
}
.filter-bar input[type="date"]:focus,
.filter-bar select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.filter-bar .btn {
  height: 34px;
  padding: 0 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}
.filter-bar .btn:hover { background: #1d4ed8; }
.filter-bar .btn.outline { background: #fff; color: #2563eb; border: 1px solid #2563eb; }
.filter-bar .btn.outline:hover { background: #eef4ff; }
.filter-bar .info-text { margin-left: auto; font-size: 13px; color: #8a94a6; }

/* ---- Data Table ---- */
.data-table-wrap {
  background: #fff;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(30, 41, 59, .04);
}
.filter-bar + .data-table-wrap { border-radius: 0; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table thead th {
  background: #f4f7fb;
  color: #5a6577;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e8ecf3;
  white-space: nowrap;
  position: sticky;
  top: 0;
}
.data-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f2f4f8;
  white-space: nowrap;
}
.data-table tbody tr:hover { background: #f4f8ff; }
.data-table .stock-code { color: #2563eb; font-weight: 600; }
.data-table .stock-name { color: #2c3542; font-weight: 500; }
.data-table .num { font-family: 'Consolas', 'Monaco', monospace; }
.data-table .up { color: #d93025; }
.data-table .down { color: #0f9d58; }
.data-table .tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.data-table .tag.red { background: #fdeceb; color: #d93025; }
.data-table .tag.green { background: #e6f4ea; color: #0f9d58; }
.data-table .tag.gray { background: #f2f4f8; color: #8a94a6; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-bottom: 8px;
}
.pagination a {
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  color: #5a6577;
  font-size: 13px;
  padding: 0 10px;
}
.pagination a:hover { border-color: #2563eb; color: #2563eb; }
.pagination a.active { background: #2563eb; color: #fff; border-color: #2563eb; }

/* ---- Charts ---- */
.charts-row {
  display: flex;
  gap: 20px;
  margin: 28px auto;
  max-width: 1280px;
  padding: 0 20px;
}
.chart-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 20px;
  flex: 1;
  box-shadow: 0 2px 8px rgba(30, 41, 59, .04);
}
.chart-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #16213a;
}

/* ---- Cards Grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.info-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(30, 41, 59, .04);
  transition: box-shadow .2s, transform .2s;
}
.info-card:hover { box-shadow: 0 8px 20px rgba(30, 41, 59, .08); transform: translateY(-2px); }
.info-card .card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #16213a;
}
.info-card .card-meta { font-size: 12px; color: #a0aab8; }
.info-card .card-body { font-size: 13px; color: #64748b; margin-top: 8px; }

/* ---- City Grid ---- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.city-grid a {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 8px;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
  color: #5a6577;
  transition: all .2s;
}
.city-grid a:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ---- News List ---- */
.news-list { list-style: none; }
.news-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f2f4f8;
}
.news-list li:last-child { border-bottom: none; }
.news-list .news-title { font-size: 14px; color: #2c3542; }
.news-list .news-title:hover { color: #2563eb; }
.news-list .news-date { font-size: 12px; color: #a0aab8; white-space: nowrap; margin-left: 16px; }

/* ---- News Roll (首页当天资讯自动滚动) ---- */
.roll-tag {
  font-size: 12px; color: #2563eb; background: #eff6ff;
  border-radius: 10px; padding: 3px 10px; font-weight: 500;
}
.news-roll-wrap { height: 384px; flex: none; overflow: hidden; position: relative; }
.news-roll-wrap::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px;
  background: linear-gradient(transparent, #fff); pointer-events: none;
}
.news-roll-inner .news-list { margin-bottom: 0; }
.news-roll-inner.anim { animation: newsScroll var(--roll-dur, 40s) linear infinite; }
.news-roll-wrap:hover .news-roll-inner.anim { animation-play-state: paused; }
@keyframes newsScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
.news-more {
  display: block; text-align: center; margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed #e5e9f0; font-size: 13px; color: #2563eb;
}
.news-more:hover { color: #1d4ed8; }

/* ===== 数据大屏 ===== */
.screen-hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #0d2a6b 0%, #061029 55%, #030814 100%);
  overflow: hidden;
  padding: 48px 0 60px;
}
.screen-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(56,189,248,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.screen-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8 50%, transparent);
}
.screen-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.screen-title { text-align: center; margin-bottom: 28px; }

/* ---- 个股搜索框（大屏内） ---- */
.stock-search { max-width: 640px; margin: 0 auto 34px; }
.ss-box { position: relative; display: flex; align-items: center; }
.ss-search-icon { position: absolute; left: 16px; font-size: 16px; opacity: 0.8; pointer-events: none; }
#stockInput {
  flex: 1; height: 48px; padding: 0 120px 0 44px;
  border: 1px solid rgba(56,189,248,0.45); border-radius: 24px 0 0 24px; border-right: none;
  background: rgba(3,10,28,0.75); color: #e0f2fe; font-size: 15px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
#stockInput::placeholder { color: #64748b; }
#stockInput:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}
.ss-btn {
  height: 48px; padding: 0 28px; border: none; border-radius: 0 24px 24px 0;
  background: linear-gradient(90deg, #0ea5e9, #2563eb); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: 1px;
  transition: filter .2s;
}
.ss-btn:hover { filter: brightness(1.15); }
.ss-drop {
  position: absolute; top: 52px; left: 0; right: 96px; z-index: 60;
  background: #0b1531; border: 1px solid rgba(56,189,248,0.4);
  border-radius: 8px; overflow: hidden; display: none;
  box-shadow: 0 10px 30px rgba(2,6,23,0.7);
}
.ss-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; cursor: pointer; border-bottom: 1px solid rgba(56,189,248,0.1);
}
.ss-item:last-child { border-bottom: none; }
.ss-item:hover { background: rgba(56,189,248,0.14); }
.ss-code { font-family: Consolas, monospace; color: #38bdf8; font-size: 14px; min-width: 64px; }
.ss-name { color: #e2e8f0; font-size: 14px; flex: 1; }
.ss-mkt { font-size: 11px; color: #64748b; }
.ss-hot { text-align: center; margin-top: 12px; font-size: 13px; color: #64748b; }
.ss-hot span { margin-right: 4px; }
.ss-hot a { color: #7dd3fc; margin: 0 8px; cursor: pointer; }
.ss-hot a:hover { color: #38bdf8; text-decoration: underline; }
.screen-title h1 {
  font-size: 34px; font-weight: 800; letter-spacing: 2px; color: #fff;
  text-shadow: 0 0 18px rgba(56,189,248,0.6);
}
.screen-title h1 .sep { color: #38bdf8; margin: 0 6px; }
.screen-title p { margin-top: 10px; font-size: 14px; color: #7dd3fc; letter-spacing: 1px; }
.screen-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.screen-stat {
  position: relative; text-align: center;
  background: linear-gradient(180deg, rgba(14,116,144,0.28), rgba(6,16,41,0.45));
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 8px; padding: 18px 12px;
}
.screen-stat::before, .screen-stat::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border-color: #38bdf8; border-style: solid; border-width: 0;
}
.screen-stat::before { top: 5px; left: 5px; border-top-width: 2px; border-left-width: 2px; }
.screen-stat::after { bottom: 5px; right: 5px; border-bottom-width: 2px; border-right-width: 2px; }
.ss-icon { font-size: 20px; color: #38bdf8; margin-bottom: 4px; line-height: 1; }
.ss-num {
  font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1;
  font-family: "DIN Alternate","Helvetica Neue",Impact,sans-serif;
  text-shadow: 0 0 12px rgba(56,189,248,0.5);
}
.ss-unit { font-size: 12px; color: #7dd3fc; margin-top: -2px; }
.ss-label { font-size: 13px; color: #93c5fd; margin-top: 8px; }
.screen-charts {
  display: flex; gap: 20px; max-width: 1280px; margin: -24px auto 28px;
  padding: 0 20px; position: relative; z-index: 2;
}
.screen-chart-card {
  flex: 1; padding: 16px; border-radius: 8px;
  background: linear-gradient(180deg, #0a1c3d, #061029);
  border: 1px solid rgba(56,189,248,0.2);
}
.scc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.scc-header h3 { font-size: 15px; color: #7dd3fc; font-weight: 600; }
.scc-tag { font-size: 11px; color: #38bdf8; border: 1px solid rgba(56,189,248,0.4); border-radius: 4px; padding: 1px 8px; }
@media (max-width: 900px) {
  .screen-stats { grid-template-columns: repeat(2, 1fr); }
  .screen-charts { flex-direction: column; margin-top: 0; }
  .screen-title h1 { font-size: 26px; }
}

/* ---- Two Column ---- */
.two-col {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 1280px;
  margin: 28px auto;
  padding: 0 20px;
}
.two-col .col-main { flex: 1; display: flex; flex-direction: column; }
.two-col .col-main .data-table-wrap { flex: 1; display: flex; flex-direction: column; }
.two-col .col-main .data-table-wrap table { flex: 1; }
.two-col .col-side { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; }
.two-col .col-side .data-table-wrap { flex: 1; display: flex; flex-direction: column; }
.two-col .col-side .news-list { flex: 1; }

/* ---- Page Title ---- */
.page-title-bar {
  background: #fff;
  padding: 20px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #e8ecf3;
}
.page-title-bar .page-title {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-title-bar h1 {
  font-size: 24px;
  font-weight: 600;
  color: #16213a;
  margin-bottom: 4px;
}
.page-title-bar .breadcrumb { font-size: 13px; color: #a0aab8; }
.page-title-bar .breadcrumb a { color: #8a94a6; }
.page-title-bar .breadcrumb a:hover { color: #2563eb; }

/* ---- Footer ---- */
.footer {
  background: #ffffff;
  color: #64748b;
  padding: 40px 20px 20px;
  margin-top: 48px;
  border-top: 1px solid #e8ecf3;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-col h4 {
  color: #16213a;
  font-size: 15px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #64748b; font-size: 13px; }
.footer-col ul li a:hover { color: #2563eb; }
.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid #eef1f6;
  text-align: center;
  font-size: 12px;
  color: #a0aab8;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 12px; }
  .nav { gap: 16px; flex-wrap: wrap; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; }
  .hero h1 { font-size: 22px; }
  .hero-stats { gap: 12px; }
  .stat-card { min-width: 140px; padding: 16px 20px; }
  .stat-card .stat-value { font-size: 22px; }
  .charts-row { flex-direction: column; }
  .two-col { flex-direction: column; }
  .two-col .col-side { width: 100%; }
  .data-table { font-size: 12px; }
  .data-table thead th, .data-table tbody td { padding: 8px 8px; }
  .filter-bar { gap: 10px; }
  .filter-bar .info-text { display: none; }
  /* ---- Mobile: consultation widget ---- */
  .cs-panel { right: 8px !important; left: 8px !important; width: auto !important; max-width: 380px; }
  .cs-panel .cs-panel-body { padding: 16px; }
}

/* ===================== 客服留资组件 ===================== */

/* ---- Floating Button ---- */
.cs-fab {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d93025, #e84a3f);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(217, 48, 37, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, box-shadow .25s;
  animation: cs-pulse 2s infinite;
}
.cs-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(217, 48, 37, .55); }
.cs-fab.active { animation: none; transform: scale(0); opacity: 0; pointer-events: none; }
.cs-fab svg { width: 28px; height: 28px; fill: #fff; }

@keyframes cs-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(217, 48, 37, .4), 0 0 0 0 rgba(217, 48, 37, .3); }
  50% { box-shadow: 0 4px 20px rgba(217, 48, 37, .4), 0 0 0 14px rgba(217, 48, 37, 0); }
}

/* ---- Floating Badge ---- */
.cs-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #faad14;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  border: 2px solid #fff;
  animation: none;
}

/* ---- Panel ---- */
.cs-panel {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 10000;
  width: 360px;
  max-height: 560px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecf3;
  box-shadow: 0 8px 40px rgba(30, 41, 59, .15);
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.cs-panel.show { display: flex; animation: cs-slide-up .3s ease; }

@keyframes cs-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Panel Header ---- */
.cs-panel-header {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cs-panel-header .cs-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cs-panel-header .cs-title-wrap { flex: 1; }
.cs-panel-header .cs-title { font-size: 16px; font-weight: 600; }
.cs-panel-header .cs-subtitle { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 2px; }
.cs-panel-header .cs-close {
  background: none; border: none; color: rgba(255,255,255,.8);
  font-size: 20px; cursor: pointer; padding: 4px 8px;
  border-radius: 4px; transition: all .2s;
}
.cs-panel-header .cs-close:hover { color: #fff; background: rgba(255,255,255,.15); }

/* ---- Panel Body ---- */
.cs-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* ---- Quick Contact ---- */
.cs-quick-contact {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.cs-quick-item {
  flex: 1;
  background: #f7f9fc;
  border: 1px solid #e8ecf3;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.cs-quick-item:hover { border-color: #2563eb; background: #eef4ff; }
.cs-quick-item .cs-q-icon { font-size: 20px; margin-bottom: 4px; }
.cs-quick-item .cs-q-label { font-size: 12px; color: #8a94a6; }
.cs-quick-item .cs-q-value { font-size: 13px; font-weight: 600; color: #16213a; margin-top: 2px; }

/* ---- Form ---- */
.cs-form-group { margin-bottom: 14px; }
.cs-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2c3542;
  margin-bottom: 6px;
}
.cs-form-group label .cs-required { color: #d93025; }
.cs-form-group input,
.cs-form-group select,
.cs-form-group textarea {
  width: 100%;
  height: 38px;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
  outline: none;
  transition: border-color .2s;
  background: #fff;
  color: #2c3542;
  font-family: inherit;
}
.cs-form-group textarea { height: auto; padding: 8px 12px; resize: vertical; min-height: 70px; }
.cs-form-group input:focus,
.cs-form-group select:focus,
.cs-form-group textarea:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.08); }

.cs-form-row { display: flex; gap: 10px; }
.cs-form-row .cs-form-group { flex: 1; }

.cs-submit-btn {
  width: 100%;
  height: 42px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  margin-top: 4px;
}
.cs-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,.35); }
.cs-submit-btn:active { transform: translateY(0); }

/* ---- Privacy Note ---- */
.cs-privacy-note {
  text-align: center;
  font-size: 11px;
  color: #a0aab8;
  margin-top: 10px;
}

/* ---- Success Message ---- */
.cs-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.cs-success.show { display: block; animation: cs-slide-up .3s ease; }
.cs-success .cs-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #e6f4ea;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
}
.cs-success .cs-success-title { font-size: 18px; font-weight: 600; color: #16213a; margin-bottom: 8px; }
.cs-success .cs-success-desc { font-size: 13px; color: #8a94a6; line-height: 1.6; }
.cs-success .cs-success-reset {
  margin-top: 20px;
  font-size: 13px;
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
}

/* ---- QR Code Area ---- */
.cs-qr-area {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.cs-qr-area.show { display: block; animation: cs-slide-up .3s ease; }
.cs-qr-area .cs-qr-img {
  width: 180px; height: 180px;
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 8px;
  margin: 0 auto 12px;
  display: block;
  font-size: 12px; color: #a0aab8;
  object-fit: contain;
}
.cs-qr-area .cs-qr-desc { font-size: 13px; color: #64748b; }

/* ---- Back button in sub-views ---- */
.cs-back-btn {
  font-size: 13px;
  color: #2563eb;
  cursor: pointer;
  margin-bottom: 12px;
  display: inline-block;
}

/* ===================== 内容页通用样式（about / source / contact / join） ===================== */

/* 内容大块（白底圆角卡片，纵向堆叠） */
.content-block {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(30, 41, 59, .04);
}
.content-block h2 {
  font-size: 20px;
  font-weight: 600;
  color: #16213a;
  margin-bottom: 16px;
  padding-left: 14px;
  position: relative;
}
.content-block h2::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  border-radius: 2px;
}
.content-block h3 {
  font-size: 16px;
  font-weight: 600;
  color: #16213a;
  margin: 18px 0 10px;
}
.content-block p {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 10px;
}
.content-block ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.content-block ul li {
  font-size: 14px;
  color: #475569;
  line-height: 1.9;
}
.content-block ul li strong { color: #16213a; }

/* 4 列特性网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.feature-card {
  padding: 22px 20px;
  background: #f7f9fc;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  transition: all .2s;
}
.feature-card:hover {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37,99,235,.08);
}
.feature-card .feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 10px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.feature-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #16213a;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* 数据来源页 - 数据源大卡片 */
.source-card {
  padding: 22px 24px;
  background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
  border: 1px solid #d9e5ff;
  border-radius: 12px;
  margin-bottom: 14px;
}
.source-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #16213a;
  margin-bottom: 8px;
}
.source-card .source-url {
  display: inline-block;
  font-size: 13px;
  color: #2563eb;
  background: #fff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  padding: 4px 10px;
  margin-top: 6px;
}

/* 联系页布局 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-info {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: 12px;
  padding: 28px;
}
.contact-info h3 { color: #fff; margin-top: 0; }
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.contact-info .info-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.contact-info .info-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 12px;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info .info-label { font-size: 12px; opacity: .8; margin-bottom: 4px; }
.contact-info .info-value { font-size: 15px; font-weight: 500; }

.contact-qr-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.contact-qr-card .qr-img {
  width: 200px; height: 200px;
  margin: 0 auto 16px;
  display: block;
  border-radius: 10px;
  border: 1px solid #eef0f5;
}
.contact-qr-card .qr-title { font-size: 15px; font-weight: 600; color: #16213a; margin-bottom: 6px; }
.contact-qr-card .qr-desc { font-size: 13px; color: #64748b; line-height: 1.6; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .content-block { padding: 22px 18px; }
}

/* 招聘页 - 职位列表 */
.job-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: all .2s;
}
.job-card:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37,99,235,.08);
}
.job-card .job-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.job-card .job-title {
  font-size: 17px;
  font-weight: 600;
  color: #16213a;
}
.job-card .job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.job-card .job-tag {
  font-size: 12px;
  padding: 3px 10px;
  background: #eef4ff;
  color: #2563eb;
  border-radius: 4px;
}
.job-card .job-tag.salary {
  background: #fff5e6;
  color: #d97706;
}
.job-card .job-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 10px;
}
.job-card .job-req {
  font-size: 13px;
  color: #64748b;
  line-height: 1.8;
}
.job-card .job-req strong { color: #16213a; }

/* 加入我们横幅 */
.join-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin-bottom: 24px;
}
.join-banner h2 { color: #fff; padding-left: 0; margin-bottom: 12px; }
.join-banner h2::before { display: none; }
.join-banner h2 span { display: block; font-size: 28px; font-weight: 700; }
.join-banner p { color: rgba(255,255,255,.92); font-size: 15px; margin: 0; }
