:root {
  --navy: #075f9f;
  --blue: #1579d7;
  --green: #45a466;
  --ink: #202c34;
  --muted: #77858e;
  --line: #d9e1e5;
  --wash: #f4f6f7;
  --paper: #fff;
}

html { background: #e9edf0; }
body { color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.65; }
body > .container-box { width: 1200px; margin: 0 auto; padding: 26px 20px 0; background: #fff !important; box-shadow: none !important; }
.container-box { width: 1200px; padding-right: 20px; padding-left: 20px; }

.header_top { height: 32px; color: var(--muted); background: #f5f7f8 !important; border-bottom: 1px solid #e5eaed; }
.header_top .container-box { height: 32px; }
.header_logo { height: 136px !important; background: #fff !important; }
.header_logo .container-box::after { display: none !important; content: none !important; }
.header_logo .container-box { height: 100%; }
.logo1, .logo2 { width: 90px !important; height: 90px !important; }
.title-logo { margin-left: 28px !important; color: var(--navy) !important; font-size: 46px !important; font-weight: 700 !important; }
.search-input { width: 228px !important; height: 42px !important; border-color: #bdc9cf !important; border-radius: 0 !important; }
.search-btn { height: 42px !important; background: var(--blue) !important; border-radius: 0 !important; }

/* Continuous blue navigation: no white cut-out and no dark navy block. */
.navigator,
.navigator .container-box,
.navigator ul { height: 58px !important; background: var(--blue) !important; border: 0 !important; box-shadow: none !important; }
.navigator .container-box { padding: 0 20px !important; }
.navigator li { position: relative; background: transparent !important; box-shadow: none !important; transition: background .18s ease, box-shadow .18s ease; }
.navigator li + li::before { display: none !important; }
.navigator li a { height: 58px !important; color: #fff !important; font-size: 18px !important; font-weight: 500 !important; }
.navigator li:hover { background: rgba(255,255,255,.1) !important; }
.navigator li.active { background: #0868b3 !important; box-shadow: inset 0 -3px 0 #39a9e0 !important; }
.navigator li:hover a,
.navigator li.active a { color: #fff !important; }
.navigator li::after { display: none !important; }

.section { margin-bottom: 30px; }
.section:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.section2 { height: 104px !important; }
.section2 img { width: 100%; height: 100%; object-fit: cover; }

.section1 { height: 382px !important; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr) !important; gap: 32px !important; margin-bottom: 30px !important; }
.section1 .swiper-container { height: 382px !important; background: #afbdc5; box-shadow: none !important; }
.section1 .swiper-p { height: auto; min-height: 72px; padding: 24px 20px 32px; overflow: hidden; line-height: 1.5; text-align: center; text-overflow: ellipsis; white-space: nowrap; background: linear-gradient(transparent, rgba(17,44,59,.94)); }
.section1 .swiper-pagination { right: 0 !important; bottom: 11px !important; left: 0 !important; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.section1 .swiper-pagination button { width: 7px; height: 7px; padding: 0; cursor: pointer; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; background: rgba(198,210,218,.62); box-shadow: none; transition: width .18s ease, background .18s ease; }
.section1 .swiper-pagination button.active { width: 20px; border-radius: 4px; background: rgba(132,167,190,.88); box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.section1 .swiper-pagination button:focus-visible { outline: 2px solid rgba(198,210,218,.85); outline-offset: 3px; }
.sec1-tabbar { height: 382px !important; padding: 0 !important; border-top: 0 !important; }
.sec1-tabbar-ul { height: 48px !important; margin-bottom: 0 !important; display: flex !important; align-items: flex-end; gap: 30px !important; background: transparent !important; border-top: 0 !important; border-bottom: 1px solid var(--line) !important; }
.sec1-tabbar-ul li { flex: 0 0 auto !important; display: block !important; text-align: left !important; }
.sec1-tabbar-ul a { padding: 0 0 11px !important; color: var(--muted) !important; border: 0 !important; font-size: 17px !important; font-weight: 400 !important; }
.sec1-tabbar-ul li.active a { color: var(--navy) !important; font-size: 19px !important; font-weight: 700 !important; }
.homepage-headline { height: 122.5px; padding: 20px 0 17px; overflow: hidden; border-bottom: 1px solid var(--line); }
.homepage-headline-title { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 14px; }
.homepage-headline h3 { min-width: 0; margin: 0; overflow: hidden; color: var(--navy); font-size: 20px; line-height: 1.55; }
.homepage-headline h3 a { width: 100%; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.homepage-headline time { padding-top: 5px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.homepage-headline p {
  margin: 8px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  max-height: 3.5em;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}
.homepage-headline p.is-empty { color: #a0abb2; }
.sec1-tabbar > .tab-detail li:first-child { display: none !important; }
.sec1-tabbar > .tab-detail li:nth-child(n+7) { display: none !important; }
.tab-detail li { height: 42px !important; grid-template-columns: minmax(0,1fr) 58px !important; gap: 12px !important; border-bottom: 1px solid #edf0f2 !important; }
.tab-detail .detail-title,
.tab-detail li:hover .detail-title {
  width: 100% !important;
  min-width: 0;
  padding-left: 17px;
  position: relative;
  display: block !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: none !important;
}
.tab-detail .detail-title::before {
  width: 0;
  height: 0;
  margin-top: -4px;
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--blue);
  opacity: .78;
  transition: transform .18s ease;
}
.tab-detail li:hover .detail-title::before { transform: translateX(3px); }
.tab-detail .fr { width: auto !important; white-space: nowrap; }

.general-header { height: 48px !important; margin-bottom: 12px !important; align-items: center !important; border-bottom: 1px solid var(--line) !important; }
.general-header .section-title { padding: 0 !important; color: var(--navy) !important; border: 0 !important; font-size: 20px !important; font-weight: 700 !important; }
.general-header .section-title::before,
.general-header .section-title::after { display: none !important; }
.general-header > a:last-child,
.more-link { padding: 0 !important; color: var(--muted) !important; font-size: 12px !important; }

.platform-strip { height: auto !important; margin: 30px 0 34px !important; }
.platform-strip .fast-road-box { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding: 14px; background: #f3f7f9; border: 1px solid #d8e3e9; }
.platform-strip .fast-road-item { min-width: 0; height: 72px; margin: 0 !important; padding: 0 11px; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 0; background: #fff; border: 1px solid #e0e7eb; box-shadow: none; }
.platform-strip .fast-road-item img { width: 36px; height: 36px; object-fit: contain; }
.platform-strip .fast-road-item a { color: #344853; font-size: 13px; line-height: 1.4; text-align: left; }
.platform-strip .fast-road-item:hover { transform: none; border-color: #b9d3e4; background: #fff; }

.data-hub { height: auto; margin: 44px 0 34px; padding: 28px 22px 30px; background: #eef3f5; border: 1px solid #d7e2e7; }
.data-hub-heading { height: 44px; display: flex; align-items: center; justify-content: space-between; }
.data-hub-heading h2 { margin: 0; color: var(--navy); font-size: 22px; font-weight: 700; }
.data-hub-heading a { color: var(--muted); font-size: 13px; }
.data-hub .section3 { width: 100% !important; height: auto !important; margin: 15px 0 0 !important; padding: 0 !important; display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 22px !important; align-items: stretch; background: transparent !important; border: 0 !important; }
.data-hub .section3 > div { min-width: 0; height: auto; padding: 0 18px 18px; background: #fff; border: 0 !important; }
.data-hub .section3 > .price-index { border-top: 4px solid #7b2529 !important; }
.data-hub .section3 > .ratio-index { border-top: 4px solid var(--green) !important; }
.data-hub .section3 > div > .general-header { display: none !important; }
.data-hub .section3 .index-chart { height: auto !important; min-height: 0; padding: 0 !important; position: static !important; background: transparent !important; border: 0 !important; }
.data-hub .price-index-content > div,
.data-hub .ratio-index-content > div { display: flex; flex-direction: column; }
.data-hub .price-index-title,
.data-hub .ratio-index-title {
  order: 1;
  height: 68px !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  color: var(--ink) !important;
  background: transparent !important;
}
.data-hub .price-index-title .index-name,
.data-hub .ratio-index-title .index-name {
  padding: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4 !important;
}
.data-hub .price-index-title .index-update-time,
.data-hub .ratio-index-title .index-update-time {
  width: auto !important;
  margin-left: auto;
  padding: 0 !important;
  color: var(--muted) !important;
  background: transparent !important;
  font-size: 12px;
  line-height: 1.4 !important;
}
.data-hub .index-update-time::before { content: "更新时间 "; }
.data-hub .section3 .index-name-list { padding: 0 !important; }
.data-hub .section3 .index-name-list ul { margin: 0 0 10px !important; }
.data-hub .section3 .index-content { order: 2; position: static !important; inset: auto !important; }
.data-hub #swiper5,
.data-hub .ratio-index-content > div > .index-name-list { order: 3; margin-top: 10px; }
.data-hub #swiper5 { position: relative; overflow: hidden; }
.data-hub #swiper5 > .swiper-wrapper { min-height: 67px; }
.data-hub #swiper5 > .arrow {
  width: 30px;
  height: 50px;
  position: absolute;
  top: 9px;
  z-index: 3;
  display: none;
  visibility: hidden;
  color: #1579d7;
  background: rgba(255, 255, 255, .6);
  font-size: 60px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
.data-hub #swiper5.has-pages > .arrow { display: block; }
.data-hub #swiper5.has-pages:hover > .arrow,
.data-hub #swiper5.has-pages:focus-within > .arrow,
.data-hub #swiper5.has-pages > .arrow:focus { visibility: visible; }
.data-hub #swiper5 > .arrow-left { left: 0 !important; }
.data-hub #swiper5 > .arrow-right { right: 0 !important; }
.data-hub #swiper5 .swiper-slide.slide-from-right { animation: index-page-from-right .18s ease-out; }
.data-hub #swiper5 .swiper-slide.slide-from-left { animation: index-page-from-left .18s ease-out; }
@keyframes index-page-from-right { from { transform: translateX(24px); opacity: .4; } }
@keyframes index-page-from-left { from { transform: translateX(-24px); opacity: .4; } }
.data-hub #swiper5 .index-name-list ul,
.data-hub .ratio-index-content > div > .index-name-list ul {
  min-height: 67px;
  margin-bottom: 0 !important;
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  grid-auto-rows: 30px;
  gap: 7px;
}
.data-hub #swiper5 .index-name-list li,
.data-hub .ratio-index-content > div > .index-name-list li { min-width: 0; width: 100%; }
.data-hub .index-name-list .box { cursor: pointer; }
.data-hub .section3 .content-item { position: static !important; }
.data-hub .index-current-title {
  height: 34px;
  padding: 2px 0 9px;
  overflow: hidden;
  color: #3f505b;
  font-size: 14px;
  line-height: 23px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-hub .index-current-code { margin-right: 8px; color: var(--blue); font-weight: 700; }
.data-hub .section3 .item-value-area { width: 26%; height: 60px; }
.data-hub .section3 .item-detail-area { width: 71%; height: 60px; margin-left: 2%; padding: 7px 14px; }
.data-hub .section3 .index-value { height: 60px; padding: 0 !important; display: grid; place-items: center; font-size: 22px; white-space: nowrap; }
.data-hub .price-index .index-value { background: #7b2529 !important; }
.data-hub .ratio-index .index-value { background: var(--green) !important; }
.data-hub .section3 .content-item .bottom {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  flex: 0 0 auto;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e0e4;
}
.data-hub .section3 .content-item .bottom img { display: block !important; width: 100%; height: 100%; object-fit: contain; }
.data-hub .section3 .content-item .bottom::before { display: none !important; content: none !important; }
.data-hub .section3 .content-item .bottom.index-unavailable { display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.data-hub .section9 { height: auto !important; margin: 28px 0 0 !important; padding: 25px 0 0 !important; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px !important; border-top: 1px solid #d5e0e5; }
.data-hub .section9 > div { min-width: 0; padding: 0 !important; border: 0 !important; }
.data-hub .section9 > div::before,
.data-hub .section9 > div::after { display: none !important; content: none !important; }
.data-hub .section9 .general-header {
  height: 48px !important;
  margin-bottom: 0 !important;
  border-bottom: 2px solid var(--navy) !important;
}
.data-hub .section9 .general-header .section-title { color: var(--navy) !important; font-size: 20px !important; }
.data-hub .section9 .tab-detail li { height: 39px !important; }
.data-hub .section9 .section-title img { display: none; }

.section9:not(.data-hub .section9),
.section7 { gap: 34px !important; }
.section7 > div,
.section9 > div { border-right: 0 !important; }
.section7 > div::before,
.section7 > div::after,
.section9 > div::before,
.section9 > div::after { display: none !important; content: none !important; }
.section7 .general-header {
  height: 48px !important;
  margin-bottom: 0 !important;
  border-bottom: 2px solid var(--navy) !important;
}
.section7 .general-header .section-title { color: var(--navy) !important; font-size: 20px !important; }
.section7 .tab-detail li { height: 39px !important; }

.section6 { width: 100% !important; height: 174px !important; margin: 42px 0 30px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.section6 #swiper2,
.section6 .swiper-wrapper { height: 126px !important; gap: 16px !important; }
.section6 .general-header { border-bottom: 0 !important; }
.section6 .swiper-slide { flex-basis: 219px !important; }
.section6 img { width: 210px !important; height: 106px !important; margin: 5px !important; object-fit: contain; background: #fff; border: 1px solid #e4e9ec !important; filter: none !important; }

.section8 { width: 100% !important; height: 286px !important; margin-right: 0 !important; margin-left: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.section8 .general-header { border-bottom: 0 !important; }
.section8 #swiper3,
.section8 .swiper-wrapper { height: 220px !important; gap: 18px !important; }
.section8 .swiper-slide {
  min-width: 0;
  padding: 0 !important;
  position: relative;
  overflow: visible !important;
  background: #fff !important;
  border: 0 !important;
}
.section8 .swiper-slide::before,
.section8 .swiper-slide::after { display: none !important; content: none !important; }
.section8 img { width: 100% !important; height: 142px !important; object-fit: cover; filter: none !important; transform: none !important; }
.section8 h5 {
  position: static !important;
  width: 100%;
  margin: 0 !important;
  padding: 12px 8px 0 !important;
  overflow: hidden;
  color: var(--ink) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  text-align: center !important;
  text-overflow: ellipsis;
  text-shadow: none !important;
  white-space: nowrap !important;
}

/* Confirmed homepage vertical rhythm. */
body > .container-box > .section2:first-child { margin-bottom: 26px !important; border: 0 !important; box-shadow: none !important; }
.section1 + .section2 { height: 96px !important; margin-bottom: 30px !important; }
.data-hub + .section2 { height: 96px !important; margin-top: 30px !important; margin-bottom: 0 !important; }
.section7 { height: 278px !important; margin-bottom: 32px !important; padding-top: 40px !important; }
.section8 { padding-top: 10px !important; padding-bottom: 44px !important; }

.footer { color: #d3e0e7 !important; background: #1c2b40 !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; }
.footer::before, .footer::after { display: none !important; content: none !important; }
.footer .container-box { padding-top: 27px !important; padding-bottom: 25px !important; }
.footer .con > div { border-bottom-color: rgba(255,255,255,.12) !important; }

@media (max-width: 900px) {
  body > .container-box, .container-box { width: 100%; padding-right: 12px; padding-left: 12px; }
  .header_logo { height: auto !important; padding: 18px 0; }
  .logo1, .logo2 { width: 52px !important; height: 52px !important; }
  .title-logo { margin-left: 10px !important; font-size: 26px !important; }
  .navigator, .navigator .container-box, .navigator ul { height: auto !important; }
  .navigator li a { height: 48px !important; }
  .section1 { height: auto !important; grid-template-columns: 1fr !important; }
  .section1 .swiper-container { height: min(58vw,350px) !important; }
  .sec1-tabbar { height: auto !important; }
  .platform-strip .fast-road-box { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .platform-strip .fast-road-item:last-child { grid-column: 1 / -1; }
  .homepage-headline { height: auto; }
  .data-hub { height: auto; margin-right: -12px; margin-left: -12px; padding: 18px 12px 22px; }
  .data-hub .section3, .data-hub .section9 { height: auto !important; grid-template-columns: 1fr !important; }
  .data-hub .section3 > div { min-height: 410px; }
  .section7, .section9 { height: auto !important; grid-template-columns: 1fr !important; }
}

/* Shared search control: keep homepage and secondary headers pixel-identical. */
@media (min-width: 901px) {
  #header .search-box {
    width: 300px !important;
    min-width: 300px !important;
    text-align: right;
  }
  #header .search-box > div:first-child {
    width: 300px !important;
    height: 42px !important;
    display: flex !important;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid #b8c7d1;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(22, 67, 95, .08);
    transition: border-color .18s ease, box-shadow .18s ease;
  }
  #header .search-box > div:first-child:focus-within {
    border-color: #1579d7;
    box-shadow: 0 0 0 3px rgba(21, 121, 215, .12);
  }
  #header .search-input {
    min-width: 0;
    height: 40px !important;
    flex: 1 1 auto;
    width: auto !important;
    padding: 0 13px !important;
    color: #26333c;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 14px;
    line-height: 40px;
  }
  #header .search-input::placeholder { color: #8a969e; opacity: 1; }
  #header .search-btn {
    width: 68px !important;
    height: 40px !important;
    flex: 0 0 68px;
    padding: 0 !important;
    display: grid;
    place-items: center;
    color: #fff;
    background: #1579d7 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    cursor: pointer;
  }
  #header .search-btn:hover { background: #0868b3 !important; }
  #header .search-box p {
    width: 300px;
    margin: 0 !important;
    color: #496d84 !important;
    line-height: 24px !important;
  }
  #header .search-box > div:first-child + p { margin-top: 18px !important; }
}
