*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #222;
  background: #f5f5f5;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 前台「原创」标签统一：红字 + 红框（列表/频道/侧栏/详情共用） */
.original-tag,
.column-tag-original,
.news-feeds .red-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  height: 18px;
  line-height: 1;
  box-sizing: border-box;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: #e60012 !important;
  border: 1px solid #e60012;
  border-radius: 2px;
  background: transparent;
  text-decoration: none;
  vertical-align: middle;
  flex-shrink: 0;
}

a.original-tag:hover,
.detail-sub .original-tag:hover {
  background: #fff1f0;
  color: #cf1322 !important;
  border-color: #cf1322;
}

button,
input,
textarea {
  font: inherit;
}

ul,
ol,
dl,
p,
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.none {
  display: none !important;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.root-container {
  min-width: 1200px;
  background: #fff;
}

/* 预发布/预览/待发布吸顶提示（fixed，兼容 H5 overflow 场景） */
.prepublish-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1200;
  box-sizing: border-box;
  background: linear-gradient(90deg, #e60012 0%, #ff4d4f 50%, #e60012 100%);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 20px;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(230, 0, 18, 0.35);
}

.prepublish-banner.is-preview {
  background: repeating-linear-gradient(
    -45deg,
    #d4380d,
    #d4380d 12px,
    #fa541c 12px,
    #fa541c 24px
  );
  box-shadow: 0 2px 8px rgba(212, 56, 13, 0.35);
  letter-spacing: 0.5px;
}

.prepublish-banner.is-scheduled {
  background: linear-gradient(90deg, #cf1322 0%, #f5222d 45%, #cf1322 100%);
  box-shadow: 0 2px 10px rgba(207, 19, 34, 0.4);
}

.prepublish-banner.is-review {
  /* 实色底，避免条纹在部分环境下看起来像「镂空」 */
  background: linear-gradient(90deg, #820014 0%, #cf1322 45%, #820014 100%);
  box-shadow: 0 2px 12px rgba(130, 0, 20, 0.45);
  font-size: 17px;
  letter-spacing: 0.8px;
  z-index: 1300;
}

body.has-prepublish {
  padding-top: var(--prepublish-banner-h, 48px);
}

body.has-prepublish .header,
body.is-preview-mode .header,
body.is-scheduled-mode .header,
body.is-review-mode .header {
  top: var(--prepublish-banner-h, 48px);
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.main-one-menu-nav {
  width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #e60012;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #e60012;
  letter-spacing: 0.5px;
}

.logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 220px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

body[data-biz="XLJJ"] .logo.has-img,
body[data-biz="XLJJ"] .logo:has(.logo-img) {
  gap: 0;
}

body[data-biz="XLJJ"] .logo,
body[data-biz="XLJJ"] .site-switcher {
  display: inline-flex;
  align-items: center;
  align-self: center;
  height: 40px;
}

body[data-biz="XLJJ"] .site-switcher {
  margin-left: 4px;
}

body[data-biz="XLJJ"] .site-switcher-trigger {
  height: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

/* 站点切换：logo 后方展示 + 悬停浮层 */
.site-switcher {
  position: relative;
  flex-shrink: 0;
  margin-left: -12px;
  z-index: 120;
}

.site-switcher.is-open {
  z-index: 320;
}

.site-switcher-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 7em;
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.site-switcher-trigger:hover,
.site-switcher.is-open .site-switcher-trigger {
  color: #e60012;
  background: rgba(230, 0, 18, 0.06);
}

.site-switcher-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-switcher-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.site-switcher-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 320;
  width: min(420px, 86vw);
  max-height: min(70vh, 480px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.site-switcher-section + .site-switcher-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.site-switcher-section-title {
  margin-bottom: 8px;
  color: #8c8c8c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-switcher-recent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.site-switcher-group {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.site-switcher-letter {
  flex: 0 0 18px;
  color: #e60012;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.site-switcher-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-switcher-link {
  display: inline-block;
  padding: 2px 4px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  border-radius: 3px;
}

.site-switcher-link:hover,
.site-switcher-link.is-current {
  color: #e60012;
}

.site-switcher-link.is-current {
  font-weight: 700;
}

.top-nav {
  display: flex;
  gap: 8px;
  flex: 1;
}

.top-nav li a {
  display: block;
  padding: 8px 14px;
  color: #333;
  font-size: 15px;
}

.top-nav li.act a,
.top-nav li a:hover {
  color: #e60012;
}

.main-menu-r {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  color: #666;
  font-size: 14px;
}

.search-line {
  width: 1px;
  height: 14px;
  background: #ddd;
}

.search-btn,
.search-cancel-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.search-btn::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid #666;
  border-radius: 50%;
}

.search-btn::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 6px;
  width: 8px;
  height: 2px;
  background: #666;
  transform: rotate(45deg);
}

.search-cancel-btn::before,
.search-cancel-btn::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 16px;
  height: 2px;
  background: #666;
}

.search-cancel-btn::before {
  transform: rotate(45deg);
}

.search-cancel-btn::after {
  transform: rotate(-45deg);
}

.main-menu {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  position: relative;
  z-index: 30;
  overflow: visible;
}

.main-menu-content {
  width: 1200px;
  margin: 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.main-menu-nav {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.main-menu-nav > ul {
  display: flex;
  gap: 4px;
  align-items: stretch;
  flex-wrap: nowrap;
}

.main-menu-nav .channel-nav-item {
  position: relative;
}

.main-menu-nav a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
}

.main-menu-nav .channel-nav-item.act > a,
.main-menu-nav .channel-nav-item > a:hover {
  color: #e60012;
}

.main-menu-nav .channel-nav-item.act > a span {
  border-bottom: 2px solid #e60012;
  padding-bottom: 4px;
}

.main-menu-nav .channel-sub-nav {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 128px;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 40;
  flex-direction: column;
}

.main-menu-nav .channel-nav-item.has-sub:hover > .channel-sub-nav,
.main-menu-nav .channel-nav-item.has-sub:focus-within > .channel-sub-nav {
  display: block;
}

.main-menu-nav .channel-sub-nav li {
  display: block;
}

.main-menu-nav .channel-sub-nav a {
  padding: 8px 16px;
  color: #333;
  white-space: nowrap;
  line-height: 1.4;
}

.main-menu-nav .channel-sub-nav li.act > a,
.main-menu-nav .channel-sub-nav a:hover {
  color: #e60012;
  background: #fff5f5;
}

.city-loc {
  color: #999;
  font-size: 13px;
  flex-shrink: 0;
  padding-left: 16px;
}

/* SEO：对用户隐藏但仍保留在 DOM 中的主标题（名称不展示时） */
.seo-h1-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.channel-page-heading.is-seo-only,
.original-list-title.is-seo-only {
  margin: 0;
  padding: 0;
  border: 0;
  min-height: 0;
}

/* ========== 新浪家居：财联社式双层头 ========== */
body[data-biz="XLJJ"] .header {
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

body[data-biz="XLJJ"] .main-one-menu-nav {
  height: 64px;
  gap: 32px;
}

/* 主导航：logo 旁「资讯 / 精选 / 独家 / 专栏」左对齐 */
body[data-biz="XLJJ"] .top-nav {
  gap: 4px;
  justify-content: flex-start;
}

body[data-biz="XLJJ"] .top-nav li a {
  padding: 8px 16px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}

body[data-biz="XLJJ"] .top-nav li.act a,
body[data-biz="XLJJ"] .top-nav li a:hover {
  color: #e60012;
}

body[data-biz="XLJJ"] .header-search {
  display: flex;
  align-items: center;
  width: min(280px, 32vw);
  height: 36px;
  padding: 0 4px 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
}

body[data-biz="XLJJ"] .header-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #333;
  font-size: 13px;
}

body[data-biz="XLJJ"] .header-search-input::placeholder {
  color: #999;
}

body[data-biz="XLJJ"] .header-search-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}

body[data-biz="XLJJ"] .header-search-btn::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 2px solid #333;
  border-radius: 50%;
  box-sizing: border-box;
}

body[data-biz="XLJJ"] .header-search-btn::after {
  content: "";
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 8px;
  height: 2px;
  background: #333;
  transform: rotate(45deg);
  transform-origin: right center;
}

body[data-biz="XLJJ"] .main-menu {
  background: #2a2f36;
  border-top: none;
}

body[data-biz="XLJJ"] .main-menu-content {
  height: 42px;
  gap: 8px;
}

body[data-biz="XLJJ"] .main-menu-nav {
  flex: 1;
  min-width: 0;
  overflow: visible;
}

body[data-biz="XLJJ"] .main-menu-nav > ul {
  flex-wrap: nowrap;
  gap: 0;
  height: 100%;
  align-items: stretch;
}

body[data-biz="XLJJ"] .main-menu-nav .channel-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

body[data-biz="XLJJ"] .main-menu-nav .channel-nav-item + .channel-nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  margin-top: -7px;
  background: rgba(255, 255, 255, 0.28);
}

body[data-biz="XLJJ"] .main-menu-nav a {
  color: #fff;
  font-size: 14px;
  padding: 0 16px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

body[data-biz="XLJJ"] .main-menu-nav .channel-nav-item.act > a,
body[data-biz="XLJJ"] .main-menu-nav .channel-nav-item > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body[data-biz="XLJJ"] .main-menu-nav .channel-nav-item.act > a span {
  border-bottom: 2px solid #e60012;
  padding-bottom: 1px;
}

body[data-biz="XLJJ"] .main-menu-nav .channel-sub-nav {
  top: 100%;
  left: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 40;
}

body[data-biz="XLJJ"] .main-menu-nav .channel-sub-nav a {
  color: #333;
  height: auto;
  padding: 10px 14px;
  display: block;
}

body[data-biz="XLJJ"] .main-menu-nav .channel-sub-nav li.act > a,
body[data-biz="XLJJ"] .main-menu-nav .channel-sub-nav a:hover {
  color: #e60012;
  background: #fafafa;
}

/* 从 SYS_DEFAULT 克隆的 XLJJ 站仍带青绿皮肤时，压过墨绿，回到 DEMO 新浪红 */
body[data-biz="XLJJ"].sys-default-pack .top-nav a.act,
body[data-biz="XLJJ"].sys-default-pack .top-nav a:hover,
body[data-biz="XLJJ"].sys-default-pack .top-nav li.act a,
body[data-biz="XLJJ"].sys-default-pack .top-nav li a:hover {
  color: #e60012;
}

body[data-biz="XLJJ"].sys-default-pack .main-menu-nav .channel-nav-item.act > a,
body[data-biz="XLJJ"].sys-default-pack .main-menu-nav .channel-nav-item > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body[data-biz="XLJJ"].sys-default-pack .main-menu-nav .channel-nav-item.act > a span {
  border-bottom-color: #e60012;
}

body[data-biz="XLJJ"].sys-default-pack .channel-feed-body h2 a:hover,
body[data-biz="XLJJ"].sys-default-pack .channel-headline-item:hover .channel-headline-title,
body[data-biz="XLJJ"].sys-default-pack .original-article-item h2 a:hover,
body[data-biz="XLJJ"].sys-default-pack .news-feeds h2 a:hover {
  color: #e60012;
}

body[data-biz="XLJJ"] .main-menu-more {
  flex-shrink: 0;
  width: 36px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-biz="XLJJ"] .main-menu-more[hidden] {
  display: none !important;
}

body[data-biz="XLJJ"] .main-menu-more-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -4px;
}

body[data-biz="XLJJ"] .city-loc {
  display: none !important;
}

body[data-biz="XLJJ"] .search-bar {
  border-bottom: 1px solid #eee;
  background: #fff;
}

body[data-biz="XLJJ"] .search-bar .search {
  display: none;
}

/* 下拉刷新提示条 */
.xljj-pull-refresh {
  position: sticky;
  top: 0;
  z-index: 300;
  height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
  color: #666;
  font-size: 13px;
  transition: none;
  pointer-events: none;
}

.xljj-pull-refresh.is-active {
  border-bottom: 1px solid #eee;
}

.xljj-pull-refresh.is-armed,
.xljj-pull-refresh.is-loading {
  color: #e60012;
}

.xljj-pull-refresh-text {
  line-height: 1;
}

@media (min-width: 769px) {
  .xljj-pull-refresh {
    display: none !important;
  }
}

@media (max-width: 980px) {
  body[data-biz="XLJJ"] .main-one-menu-nav {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0;
  }

  body[data-biz="XLJJ"] .header-search {
    width: min(220px, 46vw);
  }

  body[data-biz="XLJJ"] .main-menu-r {
    margin-left: auto;
  }

  body[data-biz="XLJJ"] .top-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body[data-biz="XLJJ"] .main-menu-nav a {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* XLJJ 手机端：顶栏不溢出、搜索右对齐、频道条垂直居中并吸顶 */
@media (max-width: 768px) {
  body[data-biz="XLJJ"] .header {
    position: static;
    overflow: visible;
    max-width: 100%;
  }

  body[data-biz="XLJJ"] .main-one-menu-nav {
    width: 100%;
    max-width: 100%;
    height: 52px;
    min-height: 52px;
    margin: 0;
    padding: 0 12px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
    box-sizing: border-box;
    /* 须 visible：否则站点切换浮层被裁切，移动端点城市无响应 */
    overflow: visible;
    background: #fff;
    /* 高于频道条(z=200)，避免浮层被深色导航挡住点不到 */
    position: relative;
    z-index: 220;
  }

  body[data-biz="XLJJ"] .site-switcher-panel {
    left: 0;
    right: auto;
    width: min(420px, calc(100vw - 24px));
    max-height: min(68vh, 440px);
  }

  body[data-biz="XLJJ"] .logo,
  body[data-biz="XLJJ"] .site-switcher {
    height: 28px;
  }

  body[data-biz="XLJJ"] .logo {
    flex: 0 0 auto;
    min-width: auto;
    max-width: min(160px, calc(100% - 168px));
  }

  body[data-biz="XLJJ"] .logo-img {
    height: 28px;
    max-width: 100%;
  }

  body[data-biz="XLJJ"] .site-switcher {
    margin-left: 2px;
  }

  body[data-biz="XLJJ"] .site-switcher-trigger {
    padding: 0 6px;
    font-size: 13px;
  }

  body[data-biz="XLJJ"] .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  body[data-biz="XLJJ"] .top-nav {
    display: none;
  }

  body[data-biz="XLJJ"] .main-menu-r {
    margin-left: auto;
    flex-shrink: 0;
  }

  body[data-biz="XLJJ"] .header-search {
    width: 136px;
    max-width: 42vw;
    height: 34px;
  }

  body[data-biz="XLJJ"] .header-search-input {
    font-size: 12px;
  }

  body[data-biz="XLJJ"] .header-search-input::placeholder {
    font-size: 12px;
  }

  /* 频道导航：越过顶栏后由 JS 加 is-xljj-channel-pinned → fixed 常驻（避免 header 内 sticky 滚出后失效） */
  body[data-biz="XLJJ"] .main-menu {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 200;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: top 0.18s ease;
  }

  body[data-biz="XLJJ"] .xljj-channel-spacer {
    display: none;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
  }

  body[data-biz="XLJJ"].is-xljj-channel-pinned .xljj-channel-spacer {
    display: block;
  }

  body[data-biz="XLJJ"].is-xljj-channel-pinned .main-menu {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  body[data-biz="XLJJ"].is-xljj-topnav-show .main-one-menu-nav {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    z-index: 210;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  }

  body[data-biz="XLJJ"].is-xljj-channel-pinned.is-xljj-topnav-show .main-menu,
  body[data-biz="XLJJ"].is-xljj-topnav-show .main-menu {
    top: calc(env(safe-area-inset-top, 0px) + var(--xljj-topnav-h, 52px));
  }

  body[data-biz="XLJJ"] .main-menu-content {
    width: 100%;
    max-width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
    box-sizing: border-box;
  }

  body[data-biz="XLJJ"] .main-menu-nav {
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body[data-biz="XLJJ"] .main-menu-nav > ul {
    height: 100%;
    align-items: center;
  }

  body[data-biz="XLJJ"] .main-menu-nav .channel-nav-item {
    height: 100%;
    align-items: center;
  }

  body[data-biz="XLJJ"] .main-menu-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
    padding: 0 12px;
  }

  body[data-biz="XLJJ"] .main-menu-more {
    align-self: center;
  }

  body.has-prepublish[data-biz="XLJJ"] .main-menu,
  body.is-preview-mode[data-biz="XLJJ"] .main-menu,
  body.is-scheduled-mode[data-biz="XLJJ"] .main-menu,
  body.is-review-mode[data-biz="XLJJ"] .main-menu {
    top: calc(env(safe-area-inset-top, 0px) + var(--prepublish-banner-h, 56px));
  }

  body.has-prepublish[data-biz="XLJJ"].is-xljj-topnav-show .main-one-menu-nav,
  body.is-preview-mode[data-biz="XLJJ"].is-xljj-topnav-show .main-one-menu-nav,
  body.is-scheduled-mode[data-biz="XLJJ"].is-xljj-topnav-show .main-one-menu-nav,
  body.is-review-mode[data-biz="XLJJ"].is-xljj-topnav-show .main-one-menu-nav {
    top: calc(env(safe-area-inset-top, 0px) + var(--prepublish-banner-h, 56px));
  }

  body.has-prepublish[data-biz="XLJJ"].is-xljj-topnav-show .main-menu,
  body.is-preview-mode[data-biz="XLJJ"].is-xljj-topnav-show .main-menu,
  body.is-scheduled-mode[data-biz="XLJJ"].is-xljj-topnav-show .main-menu,
  body.is-review-mode[data-biz="XLJJ"].is-xljj-topnav-show .main-menu {
    top: calc(
      env(safe-area-inset-top, 0px) + var(--prepublish-banner-h, 56px) + var(--xljj-topnav-h, 52px)
    );
  }
}

.search-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.search-bar-content {
  width: 1200px;
  margin: 0 auto;
  padding: 20px 0 24px;
}

.search {
  display: flex;
  gap: 0;
  max-width: 560px;
}

.search input {
  flex: 1;
  height: 40px;
  border: 1px solid #e60012;
  border-right: none;
  padding: 0 14px;
  outline: none;
}

.search button {
  height: 40px;
  padding: 0 22px;
  border: none;
  background: #e60012;
  color: #fff;
  cursor: pointer;
}

.history-search,
.hot-search {
  margin-top: 18px;
}

.history-search h4,
.hot-search h4 {
  font-size: 14px;
  color: #999;
  font-weight: 500;
  margin-bottom: 10px;
}

.tag-list,
.hot-search-ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a,
.hot-search-ul a {
  display: inline-block;
  padding: 4px 12px;
  background: #f5f5f5;
  color: #666;
  border-radius: 2px;
  font-size: 13px;
}

.tag-list a:hover,
.hot-search-ul a:hover {
  color: #e60012;
  background: #fff1f0;
}

/* ===== Content ===== */
.content {
  background: #f5f5f5;
  padding: 20px 0 40px;
}

.content-wrap {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.side-bar {
  width: 320px;
  flex-shrink: 0;
  order: 2;
}

.content-bar {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 28px 36px 40px;
  order: 1;
}

/* 详情侧栏「专栏关注」卡片（勿用 .column-wrap，以免污染专栏页容器） */
.detail-column-card {
  background: #fff;
  padding: 20px 18px;
  margin-bottom: 20px;
  text-align: center;
}

.column-img {
  width: 100%;
  height: 132px;
  background: linear-gradient(135deg, #e60012 0%, #ff6b6b 50%, #ffb4b4 100%);
  border-radius: 4px;
  margin-bottom: 14px;
  background-size: cover;
  background-position: center;
}

.detail-column-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  line-height: 1.45;
}

.detail-column-card p {
  color: #999;
  font-size: 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.detail-column-card-btn,
.column-wrap-btn {
  display: inline-block;
  min-width: 88px;
  height: 32px;
  border: 1px solid #e60012;
  background: #fff;
  color: #e60012;
  cursor: pointer;
  border-radius: 2px;
}

.detail-column-card-btn.is-on,
.column-wrap-btn.is-on {
  background: #e60012;
  color: #fff;
}

.side-bar-item {
  background: #fff;
  padding: 24px 20px 22px;
  margin-bottom: 28px;
}

.side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.side-title span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  padding-left: 12px;
}

.side-title span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 15px;
  background: #e60012;
  border-radius: 1px;
}

.side-list .content-item + .content-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f5f5f5;
}

.side-list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.side-list .item-img {
  width: 96px;
  height: 64px;
  flex-shrink: 0;
  background: #f0f0f0;
  overflow: hidden;
  border-radius: 3px;
}

.side-list .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-list .item-img.placeholder {
  background: linear-gradient(135deg, #ffe8e8, #fff5f5);
}

.side-list .item-context {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.side-list h4 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.side-list p {
  margin-top: 10px;
  color: #999;
  font-size: 12px;
  line-height: 1.45;
}

.side-list p span + span {
  margin-left: 10px;
}

.data-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.data-tabs button {
  flex: 1;
  height: 36px;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.data-tabs button.act {
  color: #e60012;
  border-bottom-color: #e60012;
}

.data-list li {
  padding: 11px 0;
  border-bottom: 1px dashed #f0f0f0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.data-list li span {
  color: #999;
  flex-shrink: 0;
}

.side-ad {
  background: linear-gradient(90deg, #e60012, #ff4d4f);
  color: #fff;
  text-align: center;
  padding: 32px 16px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.column-cards .content-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

.column-cards .item-pic {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: #fff1f0;
  color: #e60012;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.column-cards .item-info h4 {
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.45;
}

.column-cards .item-desc {
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

/* 侧栏通用「专栏推荐」 */
.column-recs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.column-rec-item {
  padding: 0 0 20px;
}

.column-rec-item + .column-rec-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.column-rec-item:last-child {
  padding-bottom: 0;
}

.column-rec-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
}

.column-rec-head:hover .column-rec-name {
  color: #e60012;
}

.column-rec-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f5;
  margin-top: 1px;
}

.column-rec-avatar.is-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff1f0;
  color: #e60012;
  font-size: 15px;
  font-weight: 700;
}

.column-rec-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.column-rec-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.column-rec-desc {
  color: #999;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-rec-articles {
  list-style: none;
  margin: 14px 0 0;
  /* 与专栏头像左缘垂直对齐（勿再按头像+间距缩进） */
  padding: 12px 0 0;
  border-top: 1px dashed #f0f0f0;
}

.column-rec-articles li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
}

.column-rec-articles li + li {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f7f7f7;
}

.column-rec-dot {
  width: 5px;
  height: 5px;
  margin-top: 7px;
  border-radius: 50%;
  background: #e60012;
  flex-shrink: 0;
  opacity: 0.75;
}

.column-rec-articles a {
  flex: 1;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.column-rec-articles a:hover {
  color: #e60012;
}

.hot-rank {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hot-rank li {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  align-items: flex-start;
}

.hot-rank li + li {
  border-top: 1px solid #f5f5f5;
}

.hot-rank .rank {
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  background: #f0f0f0;
  color: #999;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 2px;
}

.hot-rank li:nth-child(-n + 3) .rank {
  background: #e60012;
  color: #fff;
}

.hot-rank a {
  flex: 1;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hot-rank a:hover {
  color: #e60012;
}

.hot-rank .hot-views {
  flex-shrink: 0;
  color: #bbb;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 1px;
}

.side-list .original-tag {
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  margin-right: 6px;
}

/* ===== Detail ===== */
.detail-loading,
.detail-error {
  padding: 80px 0;
  text-align: center;
  color: #999;
  font-size: 15px;
}

.detail-error {
  color: #e60012;
}

.detail-title h1 {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: #111;
}

.detail-sub {
  margin-top: 16px;
  margin-bottom: 24px;
  color: #999;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.detail-sub > span,
.detail-sub > a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: 18px;
}

.detail-sub .original-tag {
  height: 18px;
  padding: 0 6px;
  font-size: 12px;
}

.detail-sub .view-count {
  color: #999;
}

.detail-summary {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #fafafa;
  border-left: 3px solid #e60012;
  border-radius: 2px;
}

.detail-summary .summary-label {
  font-size: 13px;
  color: #e60012;
  font-weight: 600;
  margin-bottom: 8px;
}

.detail-summary .summary-text {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.detail-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  overflow-x: hidden;
}

.detail-content p {
  margin: 0 0 1em;
}

.detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
}

.detail-content .ql-align-left img,
.detail-content p.ql-align-left img {
  margin-left: 0;
  margin-right: auto;
}

.detail-content .ql-align-center img,
.detail-content p.ql-align-center img {
  margin-left: auto;
  margin-right: auto;
}

.detail-content .ql-align-right img,
.detail-content p.ql-align-right img {
  margin-left: auto;
  margin-right: 0;
}

.detail-content p:not(.ql-align-center):not(.ql-align-right):not(.ql-align-justify) img {
  margin-left: 0;
  margin-right: auto;
}

.detail-content img,
.detail-content video,
.detail-content iframe,
.detail-content embed,
.detail-content object,
.detail-content svg {
  max-width: 100%;
  height: auto;
}

.detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.detail-content td,
.detail-content th {
  border: 1px solid #e8e8e8;
  padding: 8px 10px;
}

.detail-content strong {
  font-weight: 700;
}

.detail-media {
  margin-top: 28px;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.detail-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-tags .label {
  color: #999;
}

.detail-tags a {
  display: inline-block;
  padding: 2px 10px;
  background: #f5f5f5;
  color: #666;
  border-radius: 2px;
  font-size: 13px;
}

.detail-tags a:hover {
  color: #e60012;
}

.detail-columns {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.detail-columns .label {
  color: #999;
}

.detail-columns a {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border: 1px solid #e60012;
  color: #e60012;
  background: #fff5f5;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.detail-columns a:hover {
  background: #e60012;
  color: #fff;
}

.detail-line {
  height: 1px;
  background: #f0f0f0;
  margin: 24px 0;
}

.detail-tip-text {
  background: #fafafa;
  padding: 14px 16px;
  color: #888;
  font-size: 13px;
  line-height: 1.7;
  border-radius: 2px;
}

.detail-tip-text a {
  color: #4987f2;
}

.detail-about-title {
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-about-title h4 {
  font-size: 18px;
  font-weight: 600;
  position: relative;
  padding-left: 12px;
}

.detail-about-title h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 16px;
  background: #e60012;
}

.comment-box textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid #e8e8e8;
  padding: 12px;
  resize: vertical;
  outline: none;
}

.comment-box textarea:focus {
  border-color: #e60012;
}

.comment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.comment-count {
  color: #999;
  font-size: 13px;
}

.comment-actions button {
  height: 32px;
  padding: 0 18px;
  border: none;
  background: #e60012;
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
}

.comment-empty {
  margin-top: 16px;
  padding: 24px;
  text-align: center;
  color: #bbb;
  background: #fafafa;
}

.comment-item {
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

.comment-item .name {
  color: #666;
  font-size: 13px;
  margin-bottom: 6px;
}

.comment-item .text {
  color: #333;
  line-height: 1.6;
}

.news-feeds .feed-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
}

.news-feeds .feed-item.cover-none {
  gap: 0;
}

.news-feeds .feed-item.cover-triple {
  flex-direction: column;
  gap: 12px;
}

.news-feeds .pic-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.news-feeds .pic-triple .pic {
  width: 100%;
  height: 96px;
}

.news-feeds .pic {
  width: 160px;
  height: 106px;
  flex-shrink: 0;
  background: #f5f5f5;
  overflow: hidden;
}

.news-feeds .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-feeds .pic.placeholder {
  background: linear-gradient(135deg, #ffe8e8, #fff);
}

.news-feeds .txt-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-feeds h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-feeds h2 a:hover {
  color: #e60012;
}

.news-feeds .desc {
  color: #999;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.news-feeds .source {
  margin-top: auto;
  color: #999;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.detail-about-more {
  text-align: center;
  padding: 18px 0 8px;
}

.detail-about-more a {
  color: #666;
  font-size: 14px;
}

.detail-about-more a:hover {
  color: #e60012;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 36px 0 28px;
}

.footer-content {
  width: 1200px;
  margin: 0 auto;
}

.footer-c1 {
  display: flex;
  gap: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid #333;
}

.fc1-app {
  width: 120px;
  text-align: center;
  flex-shrink: 0;
}

.app-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  background: #e60012;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.fc1-app p {
  color: #ccc;
  font-size: 13px;
}

.fc1-list {
  flex: 1;
}

.l1 {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}

.l1 a {
  color: #ccc;
}

.l1 a:hover {
  color: #fff;
}

.fc-tip-text {
  margin-bottom: 14px;
  line-height: 1.7;
  font-size: 13px;
}

.fc-tip-text dt {
  display: inline;
  color: #bbb;
}

.fc-tip-text dd {
  display: inline;
}

.l2 dt {
  margin-bottom: 8px;
  color: #bbb;
}

.l2 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.l2 a {
  color: #888;
  font-size: 13px;
}

.l2 a:hover {
  color: #ccc;
}

.footer-c3 {
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: #777;
}

/* ===== Float widgets ===== */
.news-detail-form {
  position: fixed;
  left: max(16px, calc(50% - 680px));
  top: 220px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-detail-form a {
  width: 54px;
  text-align: center;
  color: #666;
  font-size: 12px;
}

.news-detail-form b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 4px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-detail-form .icon {
  width: 20px;
  height: 20px;
  display: block;
}

.news-detail-form .zan .icon,
.news-detail-form .collect .icon,
.news-detail-form .talk .icon {
  fill: none;
  stroke: #999;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.news-detail-form .zan.is-on b,
.news-detail-form .collect.is-on b {
  border-color: #e60012;
  background: #fff1f0;
}

.news-detail-form .zan.is-on .icon,
.news-detail-form .collect.is-on .icon {
  fill: #e60012;
  stroke: #e60012;
}

.news-detail-form .zan.is-on p,
.news-detail-form .collect.is-on p {
  color: #e60012;
}

.share-wrap {
  position: fixed;
  right: max(16px, calc(50% - 680px));
  top: 220px;
  z-index: 80;
  width: 56px;
  text-align: center;
}

.share-tit {
  font-size: 12px;
  color: #666;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.share-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.share-content a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.share-content .icon {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 50%;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  z-index: 200;
  font-size: 13px;
}

@media (max-width: 1280px) {
  .news-detail-form,
  .share-wrap {
    display: none;
  }
}

@media (max-width: 900px) {
  .root-container {
    min-width: 0;
  }

  .main-one-menu-nav,
  .main-menu-content,
  .search-bar-content,
  .content-wrap,
  .footer-content {
    width: auto;
    margin: 0 12px;
  }

  /* 新浪家居顶栏/频道条保持满宽，避免专栏等页被挤成双侧留白变形 */
  body[data-biz="XLJJ"] .main-one-menu-nav,
  body[data-biz="XLJJ"] .main-menu-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .content-wrap {
    flex-direction: column;
  }

  .side-bar {
    width: 100%;
  }

  .content-bar {
    padding: 20px 16px 28px;
  }
}

/* 手机端正文适配（微信内打开） */
@media (max-width: 768px) {
  html,
  body {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    /* clip 防止横溢，且不像 hidden 那样打断 sticky */
    overflow-x: clip;
  }

  .root-container,
  .header {
    min-width: 0;
    max-width: 100%;
    overflow-x: visible;
  }

  .content,
  .footer {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .main-menu {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  /* XLJJ：频道条吸顶依赖祖先 overflow 可见；长页滚动由 is-xljj-channel-pinned → fixed */
  body[data-biz="XLJJ"] .root-container,
  body[data-biz="XLJJ"] .header {
    overflow: visible;
  }

  body[data-biz="XLJJ"] .main-menu {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 200;
    overflow: visible;
  }

  body[data-biz="XLJJ"].is-xljj-channel-pinned .main-menu {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  body[data-biz="XLJJ"].is-xljj-channel-pinned.is-xljj-topnav-show .main-menu,
  body[data-biz="XLJJ"].is-xljj-topnav-show .main-menu {
    top: calc(env(safe-area-inset-top, 0px) + var(--xljj-topnav-h, 52px));
  }

  .prepublish-banner {
    font-size: 14px;
    padding: 10px 12px;
    letter-spacing: 0;
    word-break: break-word;
  }

  body.has-prepublish {
    padding-top: var(--prepublish-banner-h, 56px);
  }

  body.has-prepublish .header,
  body.is-preview-mode .header,
  body.is-scheduled-mode .header,
  body.is-review-mode .header {
    top: var(--prepublish-banner-h, 56px);
  }

  .main-one-menu-nav {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0 12px;
    height: 52px;
    gap: 12px;
    box-sizing: border-box;
  }

  .top-nav {
    display: none;
  }

  .logo-text {
    font-size: 16px;
  }

  .main-menu-r .login-btn,
  .main-menu-r .search-line {
    display: none;
  }

  .main-menu-content {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0 12px 8px;
    flex-wrap: wrap;
    gap: 8px;
    box-sizing: border-box;
  }

  .main-menu-nav {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-menu-nav > ul {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .main-menu-nav .channel-sub-nav {
    position: static;
    display: none;
    box-shadow: none;
  }

  .city-loc {
    width: 100%;
    font-size: 12px;
  }

  .search-bar-content {
    width: auto;
    max-width: 100%;
    margin: 0 12px;
    box-sizing: border-box;
  }

  .content {
    padding: 12px 0 24px;
  }

  .content-wrap {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0 12px;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
  }

  .content-bar {
    width: 100%;
    max-width: 100%;
    padding: 16px 14px 24px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .detail-body,
  .detail-title,
  .detail-summary,
  .detail-tags,
  .detail-columns,
  .detail-media {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .side-bar {
    width: 100%;
    max-width: 100%;
    order: 3;
    box-sizing: border-box;
  }

  .side-bar-item,
  .detail-column-card {
    margin-bottom: 12px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 窄屏：专栏推荐取消文章区左缩进，间距略收 */
  .column-rec-item + .column-rec-item {
    margin-top: 16px;
    padding-top: 16px;
  }

  .column-rec-articles {
    margin-top: 12px;
    padding: 12px 0 0;
  }

  .column-rec-articles li + li {
    margin-top: 8px;
    padding-top: 8px;
  }

  .news-detail-form,
  .share-wrap {
    display: none !important;
  }

  .detail-title h1 {
    font-size: 22px;
    line-height: 1.45;
    word-break: break-word;
  }

  .detail-sub {
    margin-top: 12px;
    margin-bottom: 16px;
    gap: 8px 10px;
    font-size: 12px;
    align-items: center;
  }

  .detail-sub > span,
  .detail-sub > a,
  .detail-sub .original-tag {
    height: 16px;
    line-height: 1;
  }

  .detail-sub .original-tag {
    padding: 0 5px;
    font-size: 11px;
  }

  .detail-summary {
    margin-bottom: 16px;
    padding: 12px 14px;
  }

  .detail-summary .summary-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .detail-content {
    font-size: 17px;
    line-height: 1.85;
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* 覆盖 Word/微信导入的固定宽，避免整页被撑开导致微信缩小视口 */
  .detail-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .detail-content section,
  .detail-content article,
  .detail-content aside,
  .detail-content header,
  .detail-content footer,
  .detail-content figure,
  .detail-content figcaption,
  .detail-content div,
  .detail-content p,
  .detail-content span,
  .detail-content ul,
  .detail-content ol,
  .detail-content li,
  .detail-content blockquote {
    width: auto !important;
    min-width: 0 !important;
  }

  .detail-content img,
  .detail-content video,
  .detail-content iframe,
  .detail-content embed,
  .detail-content object,
  .detail-content svg {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .detail-content table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .detail-content pre,
  .detail-content code {
    white-space: pre-wrap !important;
    word-break: break-word;
  }

  .detail-tags a {
    margin-bottom: 6px;
  }

  .feed-item {
    flex-direction: column;
    max-width: 100%;
  }

  .feed-item .pic,
  .feed-item .pic-triple {
    width: 100%;
    max-width: 100%;
  }

  .feed-item .pic img,
  .feed-item .pic-triple img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .comment-box textarea {
    min-height: 88px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer {
    padding: 24px 0 20px;
  }

  .footer-content {
    width: auto;
    max-width: 100%;
    margin: 0 12px;
    box-sizing: border-box;
  }

  .footer-c1 {
    flex-direction: column;
    gap: 18px;
  }

  .l1 {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .footer-c3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .detail-title h1 {
    font-size: 20px;
  }

  .detail-content {
    font-size: 16px;
  }

  .main-one-menu-nav {
    height: 48px;
  }
}
