/* 手机端新闻详情浮层（图四）— 顶栏沿用 .mobile-fixed-header */

html[data-mobile-page="news-detail"].dual-active-mobile,
html[data-mobile-page="news-detail"].dual-active-mobile body {
  height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  background: #eef3f8;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail {
  top: 0.7rem;
  height: calc(100% - 0.7rem);
  background: #eef3f8;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .page--news-detail {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: transparent;
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .page-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  z-index: 0;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-scroll {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-page-body {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 0.08rem 0.15rem 0.28rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0.5rem;
  margin-bottom: 0.1rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-back {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-back:active {
  opacity: 0.75;
  transform: scale(0.96);
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-back img {
  width: 0.5rem;
  height: 0.5rem;
  object-fit: contain;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-title {
  flex: 1;
  font-size: 0.18rem;
  color: #222222;
  text-align: center;
  line-height: 1.45;
  margin: 0;
  padding: 0 0.54rem;
  font-weight: bold;
  word-break: break-word;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-date {
  font-size: 0.11rem;
  color: #999999;
  text-align: center;
  line-height: 1;
  margin-bottom: 0.14rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: 0.14rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-content {
  font-size: 0.12rem;
  color: #666666;
  line-height: 1.85;
  text-align: center;
  word-break: break-word;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-content p {
  margin: 0 0 0.12rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-content p:last-child {
  margin-bottom: 0;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-content * {
  max-width: 100% !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  white-space: normal !important;
  word-break: break-word;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-content img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0.12rem auto;
  border-radius: 0.04rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-content a {
  color: #1a4a7a;
  text-decoration: underline;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-banner {
  margin: 0.16rem 0 0;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-banner img {
  display: block;
  width: 100%;
  border-radius: 0.04rem;
}

html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-empty,
html[data-mobile-page="news-detail"] .spa-overlay--news-detail .detail-loading {
  padding: 0.8rem 0.15rem;
  text-align: center;
  font-size: 0.13rem;
  color: #999999;
}
