/* 求路网移动端局部优化 2.0.66：仅结果数字、文章正文和“我的”页面 */

/* 一分一段：查询结果数字使用清晰的黑色大字号。 */
html body.qlm-body.mobile-query-score_rank .mr2-table td {
  color: #171a21 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

html body.qlm-body.mobile-query-score_rank .mr2-table tr.active td {
  color: #171a21 !important;
  font-weight: 700 !important;
}

/* 省控线：只放大查询结果，不改变表头和提示区。 */
html body.qlm-body.mobile-query-control_line .mcontrol-result tbody td {
  color: #171a21 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* 文章页：清除父级重复留白，正文卡片左右各留 12px。 */
html body.qlm-body.is-mobile-article main.qlm-main {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

html body.qlm-body.is-mobile-article .qln-article-layout {
  width: calc(100% - 24px) !important;
  max-width: none !important;
  margin: 12px 12px 92px !important;
  box-sizing: border-box !important;
}

html body.qlm-body.is-mobile-article .qln-article-main {
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 16px 26px !important;
  box-sizing: border-box !important;
}

html body.qlm-body.is-mobile-article .qln-article-body {
  max-width: 100% !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html body.qlm-body.is-mobile-article .qln-article-body img,
html body.qlm-body.is-mobile-article .qln-article-body video,
html body.qlm-body.is-mobile-article .qln-article-body table {
  max-width: 100% !important;
  height: auto !important;
}

/* “我的”：完整展示求路ID，并为固定底栏和安全区域预留空间。 */
html body.qlm-body.mobile-file-user-center .muser-page {
  padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
  overflow: visible !important;
}

html body.qlm-body.mobile-file-user-center .muser-head > div:nth-child(2) {
  min-width: 0;
  padding-right: 42px;
}

html body.qlm-body.mobile-file-user-center .muser-head h1,
html body.qlm-body.mobile-file-user-center .muser-head p,
html body.qlm-body.mobile-file-user-center .muser-head small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html body.qlm-body.mobile-file-user-center .muser-head p {
  color: #4a5568;
  font-size: 11px;
  letter-spacing: .2px;
}


/* Article pages share the persistent mobile navigation with the news list. */
body.qlm-body.is-mobile-article .mp-bottom-nav{display:grid!important}
body.qlm-body.is-mobile-article .qln-article-layout{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}

/* A single bottom-nav reserve for news lists and articles, matching home. */
html body.qlm-body.is-mobile-news main.qlm-main{min-height:0!important;padding-bottom:calc(69px + env(safe-area-inset-bottom))!important}
html body.qlm-body.is-mobile-article .qln-article-layout{margin-bottom:0!important;padding-bottom:0!important}
/* The profile has its own inner padding; do not reserve the nav twice. */
html body.qlm-body.mobile-file-user-center main.qlm-main{min-height:0!important;padding-bottom:calc(69px + env(safe-area-inset-bottom))!important}
