/* 桌面页头：香槟金会员 / 朱红创作，同置一个浅色胶囊框。 */
.header .yg-header-actions {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
    margin-inline-end: 6px;
    padding: 2px;
    border: 1px solid #e7e0d0;
    border-radius: 999px;
    background: transparent;
    box-sizing: border-box;
}

.header .yg-header-actions .yg-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    box-sizing: border-box;
    min-width: 70px;
    padding: 0 10px;
    gap: 5px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    box-shadow: none;
    transform: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s ease;
}

/* 两枚入口之间的短分隔竖线 */
.header .yg-header-actions-sep {
    width: 1px;
    height: 14px;
    flex: 0 0 1px;
    background: #e9e1cf;
}

.header .yg-header-action svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.header .yg-header-actions .yg-header-action-vip {
    color: #c29b40;
}

.header .yg-header-actions .yg-header-action-create {
    color: #c29b40;
}

.header .yg-header-actions .yg-header-action-vip:hover {
    color: #9a7a26;
}

.header .yg-header-actions .yg-header-action-create:hover {
    color: #9a7a26;
}

.header .yg-header-action:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 1239px) {
    .header .yg-header-actions { margin-inline-end: 2px; }
    .header .yg-header-actions .yg-header-action { min-width: 34px; padding: 0 7px; }
    .header .yg-header-action span { display: none; } /* 链接的 aria-label 保留用途说明 */
    .header .yg-header-actions-sep { display: none; }
}

/* 窄桌面缩减主导航留白，给右侧入口留出空间。 */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header .ygui-pc-nav .custom-logo-link { width: 116px; }
    .header .ygui-pc-nav .main-nav > .menu-item { padding-inline: 3px !important; }
    .header .ygui-pc-nav .main-nav > .menu-item > a.dropdown-item { font-size: 13px !important; }
}

img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.custom-logo-link {
    max-width: 160px;
    width: 100%;
    height: 100%;
}

.custom-logo-link img {
    height: 100%;
    width: 100%;
}

.blog {
    height: inherit;
}

.blog::before,
.blog::after {
    content: none;
}

#alert_placeholder .alert {
    display: inline-block;
}

.alert-system {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    bottom: 10px;
    right: -10px;
    z-index: 10000;
}
.alert-body {
    transform: translateX(110%);
    opacity: 0.5;
    transition: 0.3s;
    max-height: 10px;
}
.alert-body.show {
    transform: translateX(0);
    opacity: 1;
    max-height: 200px;
    transition: 0.5s;
}
.alert-body.align-items-center {
    min-width: 200px;
    max-width: 360px;
    float: right;
    margin-bottom: 10px;
}

.carousel .carousel-item img {
    max-width: 100%;
}

/* 创作中心图片修复 */
.yg-field-upload-image .upload-image-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.yg-field-upload-image .upload-image-btn img {
    width: unset !important;
    height: unset !important;
    max-width: 100%;
    max-height: 100%;
}

.yg-sticky-site-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #11192d;
}

.yg-articlelist-header-title-box h1 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

@media (min-width: 992px) {
    .header .ygui-pc-nav > .d-flex:first-child {
        flex: 1 1 auto !important;
        min-width: 0;
        overflow: visible !important;
    }

    .header .custom-logo-link {
        flex: 0 0 auto !important;
    }
    /* 主菜单可收缩，但单个菜单项不压缩文字（防止末尾「商城」被 overflow 裁字） */
    .header .main-nav {
        flex: 0 1 auto !important;
        min-width: 0;
    }
    .header .main-nav > .menu-item {
        flex: 0 0 auto !important;
        white-space: nowrap;
    }
    .header .main-nav > .menu-item > a {
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .header .ygui-pc-nav > .d-flex:last-child {
        flex: 0 0 auto !important;
        min-width: 0;
        gap: 6px !important;
    }

    .header .search-box {
        flex: 0 1 180px !important;
        min-width: 100px !important;
        margin-right: 0 !important;
    }

    .header .search-box .search-input-wrapper,
    .header .search-box form,
    .header .search-box input[name="s"] {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* 2026-11-26 窄桌面导航「商城」裁字根因修复：
   本文件后于 yg-v4.css 加载且全 !important，覆盖了 yg-v4 里隐藏的搜索框规则，
   且旧值把左区锁成 flex:0 0 auto + overflow:hidden，整行超宽时末尾「商城」被硬裁。
   处理：<1500px 隐藏顶部搜索框腾空间（移动端抽屉/导航页有独立搜索），
   左区 overflow 改 visible + 菜单项文字不裁（上方已改），确保任何窄屏「商城/创作」完整。 */
@media (min-width: 992px) and (max-width: 1500px) {
    .header .ygui-pc-nav > .d-flex:last-child .search-box {
        display: none !important;
    }
}

@media (min-width: 992px) and (max-width: 1500px) {
    .header .ygv4-header-vip {
        display: none !important;
    }

    .header .main-nav > .nav-link > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 13px !important;
    }

    .header .main-nav > .nav-link > a svg {
        width: 15px !important;
        height: 15px !important;
    }

    .header .ygui-pc-nav .login-btn {
        font-size: 0 !important;
    }

    .header .ygui-pc-nav .login-btn::before {
        content: '登录';
        font-size: 14px;
    }
}

/* 修复后台用户列表显示 */
@media (max-width: 768px) {
    .column-id {
        display: none !important;
    }
}

/* 广告位容器（AdsService 渲染包裹层）；不做 overflow 裁剪——浮窗/横幅类联盟广告需要溢出渲染 */
.yg-ad { margin: 14px 0; }
.yg-ad:first-child { margin-top: 0; }
.yg-ad:last-child { margin-bottom: 0; }
.yg-ad img { max-width: 100%; height: auto; }

/* ============================================================
   网址卡片样式增强（导航页/分类页/搜索页通用）
   针对: S1 标题截断可读性 S4 标签样式 S7 hover 层次 S2 摘要可读
   ============================================================ */

/* 卡片主体：抬升+描边+阴影过渡（hover 层次感） */
.yg-article-absite-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid #f0f3f7;
}
.yg-article-absite-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(29, 78, 216, .13);
  border-color: #dbe7ff;
}

/* 标题：允许两行(原一比一行省略太狠)，行高收紧 */
.yg-article-absite-content-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: .2px;
}

/* 摘要：灰度降低对比+行高舒展（原文 48px 固定高改 2 行 clamp）
   2026-11-18 改固定 44px(2×22 行高)：clamp 已把内容封顶两行，固定高让空简介同样占满，
   防同行卡片参差（搜索页无 overrides.css 的 min-height:48 兜底曾塌 0px，169/140 不等高） */
.yg-article-absite-content-sum {
  height: 44px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: #7a8699 !important;
  line-height: 22px !important;
  margin-top: 6px !important;
}

/* 标签：圆角胶囊+浅底色（与卡片风格统一） */
.yg-article-absite-tag-item span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  background: #eef4ff;
  color: #5d87ff;
  border: 1px solid #dce6ff;
  transition: background .2s;
}
.yg-article-absite-tag-item span:hover {
  background: #dce6ff;
}

/* 评分星+分数：紧凑排布 */
.yg-article-absite-content-ranklist .ranklist-imgbox {
  gap: 1px;
}
.yg-article-absite-content-ranklist .rank-item-icon svg {
  width: 13px;
  height: 13px;
}

/* 卡片图标尺寸统一 */
.yg-article-absite-img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  border: 1px solid #eef1f5;
}

/* 分类页(0mo-pitem)卡片——与首页 absite 同等增强 */
.yg-product-0mo-pitem-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid #f0f3f7;
}
.yg-product-0mo-pitem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(29, 78, 216, .13);
  border-color: #dbe7ff;
}
/* 标题两行截断+字重 */
.yg-product-0mo-pitem-card .yg-article-absite-content-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
/* 摘要两行+灰度（2026-11-18 同步改固定 44px，空简介占位等高） */
.yg-product-0mo-pitem-card .yg-article-absite-content-sum {
  height: 44px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  color: #7a8699 !important;
  line-height: 22px !important;
  margin-top: 6px !important;
}
/* 图标圆角边框 */
.yg-product-0mo-pitem-card .yg-article-absite-img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  border: 1px solid #eef1f5;
  overflow: hidden;
}
/* 标签胶囊统一 */
.yg-product-0mo-pitem-card .yg-article-absite-tag-item span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  background: #eef4ff;
  color: #5d87ff;
  border: 1px solid #dce6ff;
  transition: background .2s;
}

/* 分类页头间距收紧（原 30/40 上下留白过大压第一屏） */
.yg-product-0mo-head { padding-top: 18px !important; padding-bottom: 16px !important; }
.yg-articlelist-header-title-box { margin-bottom: 6px !important; }
.yg-articlelist-header-subtitle span { font-size: 13px !important; }
/* 筛选 tab 行与投稿按钮间距 */
.yg-articlelist-header-menu { margin-top: 8px !important; }

/* 分类页卡片等高: 摘要固定两行高度,行不齐问题修复 */
.yg-articlelist-body .row-cols-1 .col,
.yg-articlelist-body [class*=col-] { display: flex; }
.yg-articlelist-body [class*=col-] > .yg-product-0mo-pitem { display: flex; flex-direction: column; width: 100%; }
.yg-articlelist-body [class*=col-] .yg-product-0mo-pitem-card { display: flex; flex-direction: column; height: 100%; }
.yg-articlelist-body [class*=col-] .yg-article-absite-content-sum {
  min-height: 44px;
  -webkit-line-clamp: 2 !important;
}

/* 卡片网格等高通用守卫(2026-11-18):同款卡片除栏目分类页外还出现在
   搜索(.ygv4-search-grid)/首页 tab(tab-sites partial)/作者主页——
   这些容器没有 .yg-articlelist-body 的 flex 等高链,列内卡片不撑满,
   简介为空的卡矮 29px(169/140)。统一:列 flex + pitem/card 拉满 + 简介占位 */
.yg-search-home [class*=col-] > .yg-product-0mo-pitem,
.yg-search-home [class*=col-] > .yg-product-0mo-pitem .yg-product-0mo-pitem-card,
.yg-search-home [class*=col-] > .yg-product-0mo-pitem .yg-article-absite {
  display: flex;
  flex-direction: column;
}
.yg-search-home [class*=col-] > .yg-product-0mo-pitem,
.yg-search-home [class*=col-] > .yg-product-0mo-pitem .yg-product-0mo-pitem-card {
  height: 100%;
}
.yg-search-home [class*=col-] .yg-article-absite-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

/* 评分行统一高度:文字★(font 图标行高 21px)与「暂无评分」(12px 文本 18px)差 3px,
   卡内布局压缩后累计造成行错位;统一锁定 20px 行高盒。
   作用域限定在四类站点卡(搜索/首页tab/作者页/栏目页),不影响
   tui-cards(四卡小星)/site 详情头/models 详情头等仅复用类名的场景 */
.yg-search-home .yg-article-absite-content-ranklist,
.yg-articlelist-body .yg-article-absite-content-ranklist,
.yg-article-absite .yg-article-absite-content-ranklist {
  height: 20px;
  display: flex;
  align-items: flex-end;
}
.yg-search-home .yg-article-absite-content-ranklist .ranklist-imgbox,
.yg-articlelist-body .yg-article-absite-content-ranklist .ranklist-imgbox,
.yg-article-absite .yg-article-absite-content-ranklist .ranklist-imgbox {
  display: flex;
  align-items: center;
  line-height: 20px;
}
.yg-search-home .yg-article-absite-content-ranklist .rank-item-icon,
.yg-articlelist-body .yg-article-absite-content-ranklist .rank-item-icon,
.yg-article-absite .yg-article-absite-content-ranklist .rank-item-icon {
  height: 15px;
}

/* ============================================================
   站点详情页样式整改（对照截图 D1-D8）
   ============================================================ */

/* D2: 头部卡与吸顶条之间的空隙收紧（头部卡 margin-top 移除+紧凑 padding） */
.yg-product-header { padding: 20px 24px !important; }
.yg-product-header-menu { margin-top: 14px !important; }
.yg-product-header-menu-list { gap: 4px; }

/* D1: 头部左侧布局密度——图标加大+标题与摘要紧凑 */
.yg-product-header-logo img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 16px !important;
  border: 1px solid #eef1f5;
}
.yg-product-header-info h1 { font-size: 24px !important; margin-bottom: 6px !important; }
.yg-product-header-summary { color: #7a8699 !important; font-size: 13px !important; margin-top: 4px !important; }

/* D1: 右侧功能行(相关文章/手机看/举报)横排间距 */
.yg-product-header-right-fun-list { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.yg-product-header-right-fun-list a { white-space: nowrap; font-size: 13px; }

/* D3/D4: 信息五段密度——段间距+标题行紧凑 */
.yg-product-body-box { padding: 18px 22px !important; }
.yg-product-body-box-title { margin-bottom: 12px !important; font-size: 15px !important; }
.yg-product-body-box-content p { margin-bottom: 10px !important; }

/* D5: FAQ 问答卡片化 */
.yg-product-faq-list > div { padding: 10px 0 !important; }
.yg-product-faq-list div[style*="font-size:15px"] { font-size: 14px !important; }

/* D6: 相关文章列表加缩略图占位边框 */
.yg-product-body-box .yg-article-absite-content-corre-body a {
  display: flex; align-items: center; gap: 8px;
}

/* D7: 右侧栏同类排行条目卡片化 */
.yg-product-right-ranklist a, .yg-product-right-ranklist-item {
  display: flex; align-items: center; gap: 8px;
}

/* 广告位容器在详情页的间距 */
#product-info .yg-ad:first-child { margin-top: 0; }

/* 详情页富文本排版(站点内容 h2/ul 渲染优化) */
.yg-product-hidden-content h2,
.yg-product-body-box-content h2,
#article-content h2 {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #11192D !important;
  margin: 14px 0 8px !important;
  padding-left: 10px !important;
  border-left: 3px solid #5d87ff !important;
  line-height: 1.4 !important;
}
.yg-product-hidden-content h2:first-child { margin-top: 0; }
.yg-product-hidden-content ul { margin: 6px 0 10px; padding-left: 20px; }
.yg-product-hidden-content li { margin-bottom: 4px; color: #5a6a85; line-height: 1.7; }
.yg-product-hidden-content p { margin-bottom: 8px !important; }
/* 查看更多按钮与内容的间距 */
.ygui-product-morebtn { margin-top: 4px; }

/* 详情页锚点跳转位置修正: 吸顶导航(约70px)+页面头部留白补偿 */
#product-info, #pricing, #faq, #articles, #circle, #reviews {
  scroll-margin-top: 84px;
}
/* 页内栏目导航(产品信息/定价/常见问题…)点击跳转时，吸顶栏(实际实测总高约200px，
 * 含吸顶头 + DeepSeek评分栏 + 栏目导航行)会挡住板块标题，按实测值下移落点。 */
#pricing, #faq, #articles, #circle, #reviews {
  scroll-margin-top: 210px;
}

/* footer 品牌横幅: 深色块改浅色渐变(与整站白底统一) */
.ygv4-footer .footer-brand,
.ygv4-footer [class*=footer-hero],
.ygv4-footer .yg-footer-top {
  background: linear-gradient(135deg, #eef4ff 0%, #f8faff 100%) !important;
  color: #1f2937 !important;
}

/* footer 保持源站深色背景图（与 test.99.mobi 一致），不再覆盖 */

/* 点评评分卡: 对齐参考站 test.99.mobi——深色渐变底 + 白字 + 橙色评分 */
.yg-product-comment-card {
  background: linear-gradient(to right, #262a39 40%, #3a3f54 99%) !important;
  position: relative;
  overflow: hidden;
}
.yg-product-comment-card .yg-product-comment-card-text,
.yg-product-comment-card .yg-product-comment-body-header-rankuser-text p { color: rgba(255,255,255,.6) !important; }
.yg-product-comment-card .yg-product-comment-body-header-ranknum span { color: #fe5f29 !important; }
.yg-product-comment-body-header-box { display: flex; justify-content: space-between; gap: 24px; }
.yg-product-comment-body-header-left,
.yg-product-comment-body-header-right { flex: 1 1 0 !important; min-width: 0; }
.yg-product-comment-body-header-right { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.yg-product-comment-body-header-rankinfo { display: flex; align-items: center; flex-wrap: wrap; }
.yg-product-comment-body-header-rankstar { margin-right: 20px; }
.yg-product-comment-body-header-rankstar .ranklist-imgbox-item,
.yg-product-comment-body-header-right .comment-rank-item-icon .ranklist-imgbox-item {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  background: transparent !important;
}
.yg-product-comment-card .rank-item-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.yg-product-comment-body-header-rankstar .rank-item-icon { width: 17px !important; height: 17px !important; }
.yg-product-comment-body-header-rankstar .rank-item-icon svg {
  width: 17px !important;
  height: 17px !important;
  fill: #d9dde6 !important;
  stroke: none !important;
  background: transparent !important;
}
.yg-product-comment-body-header-rankstar .rank-item-icon.active svg { fill: #fe5f29 !important; }
.yg-product-comment-body-header-more { margin-top: 16px; }
.yg-product-comment-body-header-more::after { display: none !important; content: none !important; }
.yg-product-comment-body-header-more .comment-header-table {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  background: transparent !important;
  padding: 0 !important;
}
.yg-product-comment-body-header-more .comment-header-table .comment-table-column {
  display: block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.yg-product-comment-body-header-more .comment-header-table .comment-table-column-item,
.yg-product-comment-body-header-more .comment-header-table .comment-table-column.table-title .comment-table-column-item {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 18px !important;
  white-space: nowrap !important;
}
.yg-product-comment-body-header-more .comment-header-table .comment-table-column-item:last-child,
.yg-product-comment-body-header-more .comment-header-table .comment-table-column.table-title .comment-table-column-item:last-child { margin-bottom: 0 !important; }
.yg-product-comment-body-header-right-title { color: #ffffff !important; font-weight: 600 !important; margin-bottom: 12px !important; }
.yg-product-comment-body-header-right .comment-rank-item-icon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 5px !important;
  padding: 0 !important;
}
.yg-product-comment-body-header-right .comment-rank-item-icon .rank-item-icon { width: 13px !important; height: 13px !important; }
.yg-product-comment-body-header-right .comment-rank-item-icon .rank-item-icon svg {
  width: 13px !important;
  height: 13px !important;
  fill: #ffffff !important;
  stroke: none !important;
  background: transparent !important;
}
.yg-product-comment-body-header-right .comment-rank-item-icon .progress {
  flex: 1 1 auto !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 4px !important;
  overflow: hidden;
}
.yg-product-comment-body-header-right .comment-rank-item-icon .comment-rank-item-nmu {
  flex: 0 0 48px !important;
  text-align: right !important;
  font-size: 12px !important;
  color: #ffffff !important;
}
.yg-product-comment-card svg { background: transparent !important; }
@media (max-width: 991px) {
  .yg-product-comment-body-header-box { flex-direction: column; }
  .yg-product-comment-body-header-right { padding-left: 0; border-left: 0; }
}

/* 点评列表：评论主题样式只认 .comment-head 等旧类名，详情页需要独立限定 */
.yg-price-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #f8faff;
  border: 1px dashed #c9d9f5;
  border-radius: 10px;
}
.yg-price-empty-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #e3ecff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #5d87ff;
  flex: 0 0 48px;
}
.yg-price-empty-main { flex: 1; }
.yg-price-empty-title { font-size: 15px; font-weight: 600; color: #1f2937; }
.yg-price-empty-desc { font-size: 13px; color: #7a8699; margin-top: 4px; }
.yg-price-empty-btn { flex: 0 0 auto; white-space: nowrap; }

/* 定价占位区充实化(无套餐时) */
/* ---------- 五轮：通用搜索框（yg-egg-search 提升为全局：模型栏目复用） ---------- */
.yg-egg-search { display: flex; align-items: center; }
.yg-egg-search input {
  width: 220px; height: 32px; padding: 0 12px;
  font-size: 13px; color: #333;
  border: 1px solid #dfe3e8; border-radius: 6px 0 0 6px; outline: none;
}
.yg-egg-search input:focus { border-color: #FF5000; }
.yg-egg-search button {
  height: 32px; padding: 0 10px; font-size: 14px;
  color: #6b7688; background: #fff; border: 1px solid #dfe3e8; border-left: 0; border-radius: 0 6px 6px 0; cursor: pointer;
  transition: color .15s;
}
.yg-egg-search button:hover { color: #FF5000; }

/* ---------- 十七轮：header「创作」按钮浅红 → 主题蓝（全站一致） ---------- */
.btn-yg-create.btn-danger, a.btn-danger.btn-yg-create,
#masthead a.btn-danger { background: #5D87FF !important; border-color: #5D87FF !important; color: #fff !important; }
#masthead a.btn-danger:hover { background: #3D6BEB !important; border-color: #3D6BEB !important; }

/* ---------- 网址详情页：头部卡双栏（左信息 + 右官网截图，高度齐平） ---------- */
.yg-header-layout { display: flex; gap: 22px; align-items: flex-start; }
/* 左栏内容决定卡片高度；右栏截图视觉上与之齐平但不撑高 */
.yg-header-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.yg-header-main .yg-product-header-menu { margin-top: 12px; padding-top: 0; }
.yg-header-shot {
  flex: 0 0 258px;
  width: 258px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  /* 与左栏等高（含导航行），截图内部自适应填充 */
  min-height: 100%;
}
.yg-header-shot .yg-site-shot { flex: 1 1 auto; min-height: 0; }
.yg-header-shot .yg-site-shot-body { flex: 1 1 auto; min-height: 200px; }
.yg-header-shot .yg-site-shot { display: flex; flex-direction: column; width: 100%; }
.yg-site-shot {
  display: flex;
  flex-direction: column;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e6ebf2;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  box-shadow: 0 1px 2px rgba(17, 25, 45, .04), 0 14px 34px -18px rgba(17, 25, 45, .22);
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.yg-site-shot:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #d8e0ec;
  box-shadow: 0 2px 4px rgba(17, 25, 45, .05), 0 22px 46px -18px rgba(61, 88, 205, .32);
}
.yg-site-shot:focus-visible { outline: 2px solid #5D87FF; outline-offset: 2px; }
.yg-site-shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(90deg, #10192f, #1d2a48);
}
.yg-site-shot-dots { display: inline-flex; gap: 4px; flex: none; }
.yg-site-shot-dots i { width: 8px; height: 8px; border-radius: 50%; }
.yg-site-shot-dots i:nth-child(1) { background: #ff5f57; }
.yg-site-shot-dots i:nth-child(2) { background: #febc2e; }
.yg-site-shot-dots i:nth-child(3) { background: #28c840; }
.yg-site-shot-url {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  line-height: 1.6;
}
.yg-site-shot-url > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yg-site-shot-url .ti { font-size: 11px; color: #4ade80; flex: none; }
.yg-site-shot-body {
  display: block;
  position: relative;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 300px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}
.yg-site-shot-body img {
  display: block;
  width: 100%;
  height: 100%;
  /* 完整显示：contain 而非 cover——源截图多为 764x485（<900px），
     cover 会按高缩放后裁掉右侧，页面看起来缺一块；contain 完整呈现 + 灰底兜边 */
  object-fit: contain;
  object-position: left top;
  background: #eef2f7;
  transition: transform .5s ease;
}
.yg-site-shot:hover .yg-site-shot-body img { transform: scale(1.02); }

/* 底部信息条：收录时间 / 累计浏览 / 标签 */
.yg-shot-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f7f9fc;
  font-size: 12px;
  color: #8590a6;
}
.yg-shot-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.yg-shot-meta .ti { font-size: 13px; color: #b3bdd0; }
.yg-shot-meta b { color: #51607a; font-weight: 600; }
.yg-shot-meta-sep { width: 1px; height: 12px; background: #e3e9f2; flex: none; }
.yg-shot-meta-tags { flex-wrap: wrap; }
.yg-shot-meta .yg-site-info-tag { margin: 0 0 0 2px; padding: 0 8px; line-height: 18px; font-size: 11px; }

/* 头部卡内的概况条（收录时间/浏览/标签）：字号与左侧信息区一致，内容两端分布撑满整行 */
.yg-shot-meta-header {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border-top: 0;
  gap: 6px 18px;
  font-size: 14px;
  justify-content: flex-start;
  align-items: center;
  line-height: 22px;
  min-height: 22px;
}
.yg-shot-meta-header > span { line-height: 22px; height: 22px; display: inline-flex; align-items: center; }
.yg-shot-meta-header .ti { font-size: 15px; color: #9aa7bd; margin-right: 2px; }
.yg-shot-meta-header b { color: #2f3d56; font-weight: 600; margin-left: 2px; }
.yg-shot-meta-header .yg-shot-meta-sep {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: #e3e9f2;
  margin: 0;
  opacity: .9;
}
.yg-shot-meta-header .yg-site-info-tag {
  background: #f2f5fa;
  border-color: #e6ebf3;
  font-size: 12px;
  line-height: 22px;
  padding: 0 10px;
  color: #51607a;
}
.yg-shot-meta-header .yg-site-info-tag:hover { background: #eef3ff; border-color: #c3d2ff; color: #3d6beb; }
.yg-shot-meta-header .yg-shot-meta-tags { gap: 6px; }

/* 产品信息底部站点档案 */
.yg-site-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 24px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f3f7;
}
.yg-site-fact { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; min-width: 0; }
.yg-site-fact-label { flex: 0 0 82px; font-size: 13px; color: #8590a6; }
.yg-site-fact-label .ti { font-size: 13px; margin-right: 3px; color: #b3bdd0; vertical-align: -2px; }
.yg-site-fact-value { flex: 1 1 auto; min-width: 0; font-size: 13px; color: #11192D; word-break: break-all; }
.yg-site-fact-value a { color: #5D87FF; text-decoration: none; }
.yg-site-fact-value a:hover { text-decoration: underline; }

@media (max-width: 1199.98px) {
  .yg-header-shot { flex-basis: 220px; width: 220px; }
}
@media (max-width: 991.98px) {
  .yg-header-layout { gap: 16px; }
  .yg-header-shot { flex-basis: 180px; width: 180px; }
  .yg-site-facts { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767.98px) {
  /* 移动端：截图置于标题区之后，栏目导航横向可滚动，不挤压换行 */
  .yg-header-layout { flex-direction: column; gap: 14px; }
  .yg-header-shot { width: 100%; flex: none; }
  .yg-header-shot .yg-site-shot-body { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .yg-shot-meta { gap: 6px 10px; padding: 10px 12px; margin-top: 12px; }
  /* 移动端概况条：内容换行时行间距收紧、上下 padding 对称，避免文字显得浮在上半部 */
  .yg-shot-meta-header {
    gap: 6px 12px;
    padding: 0;
    min-height: 0;
    align-items: flex-start;
    align-content: flex-start;
    line-height: 20px;
  }
  .yg-shot-meta-header > span { height: auto; line-height: 20px; }
  .yg-shot-meta-header .yg-shot-meta-sep { display: none; }
  /* 栏目导航：单行横向滚动，避免文字折行/塌陷 */
  .yg-header-main .yg-product-header-menu { margin-top: 12px; padding-top: 0; overflow: hidden; }
  .yg-product-header-menu-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .yg-product-header-menu-list::-webkit-scrollbar { display: none; }
  .yg-product-header-menu-item { flex: 0 0 auto; }
  .yg-product-header-menu-item a {
    display: inline-block;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 13px;
  }
  /* 头部功能行（相关文章/手机看/举报/认领）：主题在移动端默认 display:none，这里恢复
     站点认领是重要入口，移动端不能丢；改用横向滚动保持一行，避免挤压折行 */
  .yg-product-header-right-fun { margin-bottom: 10px; }
  .yg-product-header-right-fun-list {
    display: flex !important;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .yg-product-header-right-fun-list::-webkit-scrollbar { display: none; }
  .yg-product-header-right-fun-list > a { flex: 0 0 auto; white-space: nowrap; font-size: 13px; }
  .yg-header-claim { margin-left: 0; flex: 0 0 auto; }
  /* 容器宽度约束：禁止子元素撑破视口 */
  .yg-header-layout, .yg-header-main, .yg-product-body { max-width: 100%; min-width: 0; box-sizing: border-box; }
  .yg-product-header { max-width: 100%; }
  .yg-product-header-left { max-width: 100%; min-width: 0; }
  .yg-product-header-info { min-width: 0; max-width: 100%; }
  .yg-product-header-info h1,
  .yg-product-header-summary,
  .yg-article-absite-content-ranklist { max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* 操作按钮组：整行显示，主次分明（立即访问 2/3，收藏 1/3），文字不竖排 */
  .yg-product-header { flex-direction: column; align-items: stretch; }
  .yg-product-header-right { width: 100%; max-width: 100%; flex-shrink: unset !important; }
  /* 主体头部卡（非吸顶副本）内的按钮行 */
  .ygui-card-20 .yg-product-header-right-btn { width: 100%; display: flex; align-items: center; gap: 10px; justify-content: flex-start; box-sizing: border-box; }
  .ygui-card-20 .yg-product-header-right-btn > a.btn {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    white-space: nowrap;
    padding-left: 12px;
    padding-right: 12px;
  }
  .ygui-card-20 .yg-product-header-right-btn > form { flex: 0 0 30%; width: 30%; margin: 0; }
  .ygui-card-20 .yg-product-header-right-btn > form > button {
    width: 100%;
    white-space: nowrap;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 14px;
    min-width: 76px;
  }

  /* 面包屑：强制单行，超长站点名用省略号收尾（不再折成两行） */
  .z-nav-index {
    flex-wrap: nowrap !important;
    overflow: hidden;
    align-items: center;
    height: 22px !important;
    line-height: 22px;
  }
  .z-nav-index > li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 22px !important;
    line-height: 22px;
    white-space: nowrap;
  }
  /* 「当前位置：」+ 首页 + 分类 保持完整；最后一项（站点名）可压缩省略 */
  .z-nav-index > li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; }
  .z-nav-index .z-nav {
    display: inline-flex;
    align-items: center;
    height: 22px;
    line-height: 22px;
    white-space: nowrap;
  }
  .z-nav-index > li:last-child .z-nav {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }
  .z-nav-index .z-nav a { white-space: nowrap; }
  .z-nav-index .ti { flex: none; }

  /* 收藏按钮：文字不换行、内边距收紧，保证「收藏/取消收藏」单行完整 */
  .ygui-card-20 .yg-product-header-right-btn > form > button,
  .ygui-card-20 .yg-product-header-right-btn > form > button .label {
    white-space: nowrap !important;
    word-break: keep-all;
    writing-mode: horizontal-tb;
  }
  .ygui-card-20 .yg-product-header-right-btn > form > button {
    padding-left: 4px;
    padding-right: 4px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }
  .ygui-card-20 .yg-product-header-right-btn > form { flex: 0 0 auto; width: auto; min-width: 82px; }
}


/* ---------- 详情页侧栏：站长认领（站长卡徽标 + 认领按钮） ---------- */
.yg-owner-verified {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f0f9eb;
  border: 1px solid #d4edda;
  color: #3e8e41;
  font-size: 11px;
  line-height: 16px;
  font-weight: 400;
  white-space: nowrap;
}

/* ---------- 详情页头部：认领站点入口（与「相关文章/手机看/举报」同排） ---------- */
/* 2026-11-30 与「推广站点」协调(站长定:不换色,尺寸/样式一致即可)——同构胶囊,配色保留各自语义(认领灰/推广橙) */
.yg-header-claim {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid #dfe3e8;
  background: #fff;
  color: #51607a;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.yg-header-claim .ti { font-size: 13px; color: #b3bdd0; transition: color .2s ease; }
.yg-header-claim:hover { color: #5D87FF; border-color: #b9c8ff; background: #f3f6ff; text-decoration: none; }
.yg-header-claim:hover .ti { color: #5D87FF; }
.yg-header-claim.is-pending { color: #b88230; border-color: #f5dab1; background: #fdf6ec; }
.yg-header-claim.is-pending .ti { color: #b88230; }

/* ---------- 详情页头部：推广站点入口（2026-11-29 付费推广·自动上首页；2026-11-30 与认领同构,配色保留橙系） ---------- */
.yg-header-promote {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid #f5dab1;
  background: #fff;
  color: #b88230;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.yg-header-promote .ti { font-size: 13px; color: #d48806; transition: color .2s ease; }
/* 2026-11-30 站长反馈「推广站点外面的框太大」:yg-v4.css 给 fun-list 每个 a::after 画分隔竖线(margin 0 15px),
   推广钮后置竖线+30px 空隙让它看起来比认领钮大一圈——摘除其 ::after 分隔线,与认领钮完全同框 */
.yg-header-promote::after { display: none !important; margin: 0 !important; width: 0 !important; }
.yg-header-promote:hover { color: #d48806; border-color: #d48806; background: #fff7e8; text-decoration: none; }
.yg-header-promote:hover .ti { color: #d48806; }

/* ---------- 移动端：账户中心底部固定导航遮挡修复（站长中心三个页面） ---------- */
/* 账户中心左栏在移动端变为底部固定导航条（高约 96px + 安全区），
   新页面内容需留出同等底部间距，否则按钮被遮挡且点击会穿透到导航链接。 */
@media (max-width: 1199.98px) {
  /* 账户中心左栏移动端为「固定底部导航条」（yg-user.css:3463 position:fixed 高约 96px）。
     主要内容区需留出等量底部空间，否则最后一块内容被压在导航下方无法点击。 */
  .yg-owner-page { padding-bottom: 130px !important; }
  /* 站长中心三个页面：底部再补一层安全间距（含移动端底部工具条） */
  .yg-edit-user .col-xl-9.z-u-edit-right { padding-bottom: 20px; }
}
@media (max-width: 767.98px) {
  /* 认领向导：验证按钮/人工审核区不被底部导航覆盖 */
  .yg-claim-steps,
  .yg-claim-start { padding-bottom: 20px; }
  .yg-claim-verify-row { flex-wrap: wrap; gap: 10px; }
  .yg-claim-verify-tip { font-size: 12px; }
  .yg-claim-manual { padding: 14px; }
  .yg-claim-method { padding: 14px; }
  .yg-claim-code { font-size: 12px; padding: 9px 12px; }
  .yg-claim-head { flex-wrap: wrap; gap: 10px; }
  .yg-claim-site { min-width: 0; flex: 1 1 auto; }
  .yg-claim-site-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- 移动端：点评区内容溢出卡片修复（内层固定宽 350 撑破 325 可用宽） ---------- */
@media (max-width: 767.98px) {
  #reviews,
  #reviews * { box-sizing: border-box; }
  #reviews .yg-product-comment-body-header-left,
  #reviews .yg-product-comment-body-header-right,
  #reviews .yg-product-comment-body-header-more,
  #reviews .yg-product-comment-card-text,
  #reviews .yg-product-comment-body-header-rankinfo,
  #reviews .comment-header-table,
  #reviews .comment-rank-item-icon,
  #reviews .yg-product-comment-body-header-right-title {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #reviews .yg-product-comment-body-header-box { width: 100%; }
  /* 评分明细表：窄屏横向排不下 → 横向可滑动（保留「项目 | 分值」成对读感） */
  #reviews .yg-product-comment-body-header-more { overflow: hidden; }
  #reviews .comment-header-table {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  #reviews .comment-header-table::-webkit-scrollbar { display: none; }
  #reviews .comment-header-table .comment-table-column,
  #reviews .comment-header-table .comment-table-column.table-title {
    flex: 0 0 auto;
    margin-right: 16px !important;
    width: auto !important;
    min-width: 58px;
    max-width: none;
  }
  #reviews .comment-header-table .comment-table-column:last-child { margin-right: 0 !important; }
  #reviews .comment-header-table .comment-table-column-item {
    margin-bottom: 4px !important;
    white-space: nowrap;
    font-size: 13px;
  }
  /* 星级分布行：星星 + 进度条 + 次数 自适应 */
  #reviews .comment-rank-item-icon { gap: 6px; }
  #reviews .comment-rank-item-icon .progress { flex: 1 1 auto; min-width: 40px; }
  #reviews .comment-rank-item-nmu { flex: none; white-space: nowrap; }
}

/* ---------- 移动端：吸顶栏过高遮挡内容 + 点评评分表白字白底看不见 ---------- */
@media (max-width: 767.98px) {
  /* 吸顶栏：移动端只保留精简信息（LOGO+标题+评分），高度压到 60px 以内，
     并让主内容滚动时预留同等顶部间距，避免遮挡「点评」等板块标题 */
  .yg-sticky-header {
    top: 0 !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    max-height: none !important;
    padding: 6px 10px !important;
    border-radius: 16px !important;
  }
  /* 移动端吸顶栏改为「tab 导航行」：隐藏左侧 logo/标题块与背景，tab 平铺一行贴顶 */
  .yg-sticky-header .yg-product-header-left,
  .yg-sticky-header .yg-product-header-right-fun,
  .yg-sticky-header .yg-product-header-right-btn,
  .yg-sticky-header .yg-article-absite-content-ranklist,
  .yg-sticky-header-bg { display: none !important; }
  .yg-sticky-header .yg-product-header { min-height: 0 !important; padding: 0 !important; width: 100% !important; }
  .yg-sticky-header .yg-product-header-menu { display: block !important; width: 100% !important; }
  .yg-sticky-header .yg-product-header-menu::before { display: none !important; }
  .yg-sticky-header .yg-product-header-menu-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 0 !important;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .yg-sticky-header .yg-product-header-menu-item a { font-size: 12px !important; padding: 8px 2px !important; white-space: nowrap; color: #4a5568 !important; }
  /* 相关文章/点评计数角标窄屏隐藏（6 tab 平铺优先） */
  .yg-sticky-header .yg-product-header-menu-item small { display: none !important; }
  .yg-sticky-header .yg-product-header-menu-item .active { color: #FF5000 !important; }

  /* 点评评分明细表：主题用了白色文字（为深色底设计），本站是浅色卡片 → 改深色 */
  #reviews .yg-product-comment-card,
  #reviews .yg-product-comment-body-header-box,
  #reviews .comment-header-table { background: transparent !important; }
  #reviews .comment-header-table .comment-table-column-item { color: #51607a !important; }
  #reviews .comment-header-table .comment-table-column.table-title .comment-table-column-item { color: #8590a6 !important; font-weight: 500; }
  #reviews .yg-product-comment-card-text,
  #reviews .yg-product-comment-body-header-right-title { color: #11192D !important; }
  #reviews .yg-product-comment-body-header-ranknum span { color: #11192D !important; }
  #reviews .yg-product-comment-body-header-rankuser-text p { color: #8590a6 !important; }
}

/* ---------- 星级图标配色：active 金色 / 未激活浅灰（原规则把两者都设成浅灰，导致已评分星级看不见） ---------- */
#reviews .rank-item-icon svg,
.comment-rank-item-icon .rank-item-icon svg,
#reviews .comment-item .rank-item-icon svg {
  fill: #d9dde6 !important;
  stroke: none !important;
}
#reviews .rank-item-icon.active svg,
.comment-rank-item-icon .rank-item-icon.active svg,
#reviews .comment-item .rank-item-icon.active svg {
  fill: #FFAE1F !important;
}
/* 星级分布行：星星与进度条、次数三段对齐 */
#reviews .comment-rank-item-icon {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px;
}
#reviews .comment-rank-item-icon .ranklist-imgbox-item { flex: 0 0 auto; display: inline-flex; gap: 1px; }
#reviews .comment-rank-item-icon .rank-item-icon { width: 14px !important; height: 14px !important; }
#reviews .comment-rank-item-icon .rank-item-icon svg { width: 14px !important; height: 14px !important; }
#reviews .comment-rank-item-icon .progress { flex: 1 1 auto; min-width: 40px; margin: 0 !important; }
#reviews .comment-rank-item-icon .comment-rank-item-nmu { flex: 0 0 auto; white-space: nowrap; font-size: 12px; color: #8590a6; }

/* ---------- 点评分数分布：无点评时进度条全 0%，补一个明确的空状态提示 ---------- */
#reviews .comment-rank-item-icon .progress:has(.progress-bar[style*="width: 0%"]) {
  opacity: .35;
}
.yg-rank-empty-hint { font-size: 12px; font-weight: 400; color: #a5afc2; margin-left: 6px; }


/* ---------- 首页公告条：单行显示（标题+摘要+详情 一排，不换行） ---------- */
.yg-bulletin-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.yg-bulletin-ico { font-size: 18px; color: #FF5000; flex: none; }
.yg-bulletin-title {
  font-weight: 600; color: #11192D; flex: none;
  white-space: nowrap; max-width: 42%;
  overflow: hidden; text-overflow: ellipsis;
}
.yg-bulletin-text {
  flex: 1 1 auto; min-width: 0;
  font-size: 13px; color: #5A6A85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yg-bulletin-more {
  flex: none; font-size: 13px; color: #5D87FF; white-space: nowrap;
  text-decoration: none;
}
.yg-bulletin-more:hover { color: #3d6beb; text-decoration: none; }

@media (max-width: 767.98px) {
  .yg-bulletin-inner { gap: 6px; padding: 9px 12px !important; }
  .yg-bulletin-ico { font-size: 16px; }
  .yg-bulletin-title { font-size: 13px; max-width: none; flex: 0 1 auto; }
  .yg-bulletin-text { font-size: 12px; }
  .yg-bulletin-more { font-size: 12px; }
  /* 超窄屏隐藏摘要，只留标题+详情，确保单行 */
  .yg-bulletin-text { display: none; }
}

/* ---------- 移动端三点菜单：改为高度展开 + 淡入（原 translateY 与 Bootstrap 高度动画冲突，观感抖动） ---------- */
@media (max-width: 991.98px) {
  .mobile-nav-collapse {
    position: fixed !important;
    top: 65px !important;
    left: 0; right: 0;
    transform: none !important;          /* 去掉纵向位移，避免与高度动画叠加 */
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease !important;
    pointer-events: none;
    will-change: opacity;
    border-top: 1px solid #eef2f7;
    box-shadow: 0 8px 20px -12px rgba(17, 25, 45, .28) !important;
  }
  .mobile-nav-collapse.show {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
    transform: none !important;
  }
  /* 覆盖 Bootstrap 的 collapsing 中间态：只做透明度过渡，高度直接到位 */
  .mobile-nav-collapse.collapsing {
    display: block !important;
    height: auto !important;
    transform: none !important;
    opacity: .55;
    transition: opacity .18s ease !important;
  }
  .mobile-nav-collapse.collapsing.show {
    transform: none !important;
    opacity: 1;
  }
}

/* 三点按钮：点击时轻微旋转 + 按下反馈，让操作有回应 */
.navbar-toggler {
  transition: background-color .18s ease, transform .18s ease;
  border-radius: 8px;
}
.navbar-toggler:hover { background-color: #f2f5fa; }
.navbar-toggler:active { transform: scale(.94); }
.navbar-toggler[aria-expanded="true"] { background-color: #eef3ff; }
.navbar-toggler[aria-expanded="true"] .ti-dots { color: #5D87FF; }

@media (max-width: 767.98px) {
  /* 文章封面加载失败兜底：中性灰底，不显示破图 */
  .ygui-card-article-img { background: #f2f5f9; }
  .ygui-card-article-img img:not([src]), 
  .ygui-card-article-img img[src=""] { visibility: hidden; }
}

/* ---------- 移动端首页商品卡：标题 2 行 + 间距收紧 ---------- */
@media (max-width: 767.98px) {
  .ygui-card-shop-item { margin-bottom: 10px !important; }
  .ygui-card-shop-item [class*="-title"] {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
    font-size: 12.5px;
    line-height: 1.4;
    min-height: 35px;
  }
}

/* ---------- 移动端三点菜单：重做为带文字的网格面板 + 遮罩（原纯图标条观感突兀） ---------- */
@media (max-width: 991.98px) {
  /* 面板：宽屏内缩、圆角、卡片化，与页面风格统一 */
  .mobile-nav-collapse {
    top: 70px !important;
    left: 12px !important;
    right: 12px !important;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    background: #ffffff !important;
    opacity: 1;
    padding: 14px 12px !important;
    box-shadow: 0 18px 40px -16px rgba(17, 25, 45, .3) !important;
    transform-origin: top right;
    transform: translateY(-6px) scale(.98) !important;
    opacity: 0;
    transition: opacity .2s ease, transform .2s cubic-bezier(.2,.9,.3,1.2) !important;
  }
  .mobile-nav-collapse.show {
    display: block !important;
    opacity: 1;
    transform: none !important;
    pointer-events: auto;
  }
  .mobile-nav-collapse.collapsing {
    display: block !important;
    height: auto !important;
    opacity: .7;
    transform: translateY(-4px) scale(.99) !important;
    transition: opacity .18s ease, transform .18s ease !important;
  }
  .mobile-nav-collapse.collapsing.show { transform: none !important; opacity: 1; }

  /* 菜单项：3 列网格，图标上 + 文字下，点击区域大 */
  .mobile-nav-collapse .navbar-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mobile-nav-collapse .nav-item {
    width: 100%;
    padding: 0 !important;
  }
  .mobile-nav-collapse .nav-item > a,
  .mobile-nav-collapse .nav-item > .dropdown > a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 12px 6px !important;
    border-radius: 10px;
    background: #f8fafd;
    border: 1px solid #f0f3f8;
    transition: background .18s ease, border-color .18s ease, transform .12s ease;
  }
  .mobile-nav-collapse .nav-item > a:active,
  .mobile-nav-collapse .nav-item > .dropdown > a:active {
    transform: scale(.96);
    background: #eef3ff;
  }
  .mobile-nav-collapse .nav-item > a:hover,
  .mobile-nav-collapse .nav-item > .dropdown > a:hover {
    background: #eef3ff;
    border-color: #d9e3ff;
  }
  .mobile-nav-collapse .nav-icon-hover i,
  .mobile-nav-collapse .nav-item i {
    font-size: 21px;
    color: #5d87ff;
    line-height: 1;
  }
  /* 文字标签 */
  .yg-mnav-label {
    font-size: 11.5px;
    color: #51607a;
    line-height: 1;
    white-space: nowrap;
  }
  /* 隐藏 PC 下拉箭头 */
  .mobile-nav-collapse .dropdown-toggle::after { display: none; }
}

/* PC 端不显示这些文字标签（保持纯图标） */
@media (min-width: 992px) {
  .yg-mnav-label { display: none; }
}

/* 移动端三点菜单遮罩：点击空白关闭 */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 25, 45, .28);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  backdrop-filter: blur(1px);
}
.mobile-nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 移动端板块 Tab 行：单行横向滚动 + 柔和边缘（既不溢出也不占多行） ---------- */
@media (max-width: 991.98px) {
  /* 行本身必须被宽度约束（此前 498px 超出 390 视口，把 tab/查看更多推到屏外） */
  .ygmo-list-title {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .ygmo-list-title > .row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
  }
  /* 外层 col 也必须收缩 */
  .ygmo-list-title .col-lg-12,
  .ygmo-list-title .col-xl-12 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto;
    padding-left: 0; padding-right: 0;
  }
  /* 包含 ygmo-list-title 的更外层容器 */
  .container .ygmo-list-title,
  section .ygmo-list-title,
  .ygui-home-article-section .ygmo-list-title { max-width: 100%; }

  /* 第一列（tab 导航）占满剩余宽度并可横滑 */
  .ygmo-list-title .col-lg-12.d-flex { min-width: 0; }
  .z-list-mobile,
  .z-list-mobi {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 4px 2px !important;
  }
  .z-list-mobile::-webkit-scrollbar,
  .z-list-mobi::-webkit-scrollbar { display: none; }

  .z-list-mobile .items,
  .z-list-mobi .items { flex: 0 0 auto !important; margin: 0 !important; }
  .z-list-mobile .items a,
  .z-list-mobi .items a {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 4px 10px !important;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    white-space: nowrap;
    color: #5a6a85;
  }
  .z-list-mobile .items a.current,
  .z-list-mobi .items a.current {
    background: #fff3ec;
    color: #ff6600;
    font-weight: 600;
  }
  /* 右侧渐隐，暗示还有内容 */
  .z-list-mobile { 
    mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 20px), transparent);
  }
  /* 「查看更多」按钮保持不压缩、不被挤走 */
  .ygmo-list-title .btn.z-home-more {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 4px 10px;
    font-size: 12px;
  }
  /* 移除之前加的伪元素遮罩 */
  .ygmo-list-title::after { content: none !important; display: none !important; }
}

/* 兼容：文章卡左上角的小横条（装饰条）在移动端收窄，避免视觉抢眼 */
@media (max-width: 767.98px) {
  .ygui-home-article-item::before,
  [class*=article-item]::before {
    max-width: 28px !important;
  }
}

/* ---------- 移动端 Tab 行：右侧渐隐遮罩，提示"可以滑动"（避免被截断的 tab 看起来像坏掉的色块） ---------- */
@media (max-width: 991.98px) {
  /* 容器裁剪：保证溢出内容不跑到容器外（这是那个"红框"的根因） */
  .ygmo-list-title {
    position: relative;
    overflow: hidden;
    max-width: 100%;
  }
  .ygmo-list-title > .row { max-width: 100%; overflow: hidden; }
  /* 右侧渐隐：提示可横向滑动 */
  .ygmo-list-title::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 36px;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 78%);
    pointer-events: none;
    z-index: 3;
  }
  /* tab 行本身：占据容器宽度，横向滚动 */
  .z-list-mobile, .z-list-mobi {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
  /* tab 项之间加分隔，避免视觉粘连 */
  .z-list-mobile .items a,
  .z-list-mobi .items a {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
  }
  .z-list-mobile .items a.current,
  .z-list-mobi .items a.current {
    background: #fff3ec;
    border-radius: 6px;
  }
}

/* ---------- 移动端首页：板块头部「查看更多」被 tab 区挤出屏幕修复 ---------- */
@media (max-width: 991.98px) {
  /* 外层头：flex 布局，tab 区自适应，按钮固定宽度不被挤压 */
  .yg-tab > .container > .d-flex.justify-content-between {
    gap: 8px;
    align-items: center;
    max-width: 100%;
  }
  .yg-tab .btn.z-home-more i { margin-left: 2px; }
  /* tab 行占满 tab 区宽度 */
  .yg-tab .zwap-tab,
  .yg-tab .zwap-tab > .row,
  .yg-tab .ygmo-list-title {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* ---------- 首页板块头：标题 + 查看更多 同一行（不再挤占分类 tab 位置） ---------- */
.z-home-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.z-home-head-row .z-home-title {
  margin-bottom: 0 !important;
  min-width: 0;
}
.z-home-head-row .btn.z-home-more {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .z-home-head-row { gap: 8px; margin-bottom: 8px; }
  .z-home-head-row .z-home-title { font-size: 17px; }
  .z-home-head-row .btn.z-home-more {
    padding: 4px 9px;
    font-size: 12px;
    line-height: 1.5;
  }
}

/* ---------- 顶部消息铃铛：去掉常驻灰底，与其他图标一致（悬停才出现浅蓝圆底） ---------- */
#masthead .ygv4-header-notice,
header .ygv4-header-notice {
  background-color: transparent !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  padding: 8px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .3s ease-in-out;
}
/* 与其他图标同款悬停圆底 */
#masthead .ygv4-header-notice:hover::before,
header .ygv4-header-notice:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 40px;
  width: 40px;
  z-index: -1;
  border-radius: 100px;
  transition: all .3s ease-in-out;
  background-color: #ecf2ff;
}
/* 图标尺寸与其他图标统一（原来 18px 偏大） */
#masthead .ygv4-header-notice i,
header .ygv4-header-notice i {
  font-size: 20px !important;
  color: #333;
}
/* 未读红点保持在图标右上角 */
#masthead .ygv4-header-notice .badge,
header .ygv4-header-notice .badge {
  position: absolute;
  top: 4px;
  right: 4px;
}

/* 移动端三点菜单里的消息项：沿用网格卡片样式，不加圆底 */
@media (max-width: 991.98px) {
  #masthead .mobile-nav-collapse .ygv4-header-notice,
  header .mobile-nav-collapse .ygv4-header-notice {
    background: #f8fafd !important;
    border-radius: 10px !important;
    width: 100% !important;
    height: auto !important;
  }
  #masthead .mobile-nav-collapse .ygv4-header-notice:hover::before,
  header .mobile-nav-collapse .ygv4-header-notice:hover::before {
    content: none;
  }
}

/* ---------- 分类页：子分类树状下拉（窄条二级行 + hover 右侧滑出三级面板） ---------- */
.yg-cat-tree-menu {
  min-width: 200px;
  max-height: 62vh;
  overflow: visible;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid #e8edf6;
  box-shadow: 0 18px 44px -18px rgba(17, 25, 45, .28), 0 2px 8px rgba(17, 25, 45, .06);
}
.yg-cat-tree-menu .yg-articlelist-headercategory-list {
  padding: 0;
  gap: 2px;
}
/* 行容器：承载 hover 联动（行 + 右侧弹出面板）。
   ::after 隐形桥：常驻元素，盖住行与面板之间的 6px 空隙——
   桥挂在行上而非面板上，鼠标横穿空隙时行 hover 不断链（面板隐藏时桥也随面板消失，导致必断）。 */
.yg-cat-tree-row { position: relative; }
.yg-cat-tree-row::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  height: 100%;
  width: 10px;
}
/* 二级行：纯净名称 + 箭头，有子级的箭头高亮提示 */
.yg-cat-tree-item {
  padding: 0;
  border-radius: 10px;
  display: block;
}
.yg-cat-tree-item::after { content: none !important; display: none !important; }
.yg-cat-tree-item .yg-articlelist-right-categorylist-item-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.yg-cat-tree-item .yg-cat-tree-name {
  font-size: 13.5px;
  font-weight: 500;
  color: #2A3547;
}
.yg-cat-tree-item .yg-cat-tree-arrow {
  display: inline-flex;
  align-items: center;
}
.yg-cat-tree-item .yg-cat-tree-arrow i {
  font-size: 13px;
  color: #c3cddd;
  transition: transform .15s ease, color .15s ease;
}
.yg-cat-tree-row:has(.yg-cat-tree-sub) .yg-cat-tree-arrow i { color: #5D87FF; }
.yg-cat-tree-item:hover .yg-articlelist-right-categorylist-item-box {
  background: #f2f6ff;
}
.yg-cat-tree-item:hover .yg-cat-tree-name { color: #3b5bfd; }
.yg-cat-tree-item:hover .yg-cat-tree-arrow i {
  color: #5D87FF;
  transform: translateX(2px);
}
.yg-cat-tree-item.active .yg-articlelist-right-categorylist-item-box {
  background: #ECF2FF;
}
.yg-cat-tree-item.active .yg-cat-tree-name {
  color: #3b5bfd;
  font-weight: 600;
}
/* 三级面板：默认隐藏，hover 行时从右侧滑出 */
.yg-cat-tree-sub {
  position: absolute;
  left: calc(100% + 6px);
  top: 0;
  min-width: 150px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e8edf6;
  border-radius: 12px;
  box-shadow: 0 14px 36px -16px rgba(17, 25, 45, .30);
  display: none;
  z-index: 20;
}
.yg-cat-tree-row:hover .yg-cat-tree-sub,
.yg-cat-tree-sub:hover { display: block; }
/* 三级项：纵向列表 + 圆点导引 */
.yg-cat-tree-grandchild {
  display: block;
  position: relative;
  font-size: 12.5px;
  color: #5f7089;
  padding: 6px 10px 6px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.yg-cat-tree-grandchild::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b9c8de;
  transition: background .15s ease;
}
.yg-cat-tree-grandchild:hover {
  color: #3b5bfd;
  background: #e9f0ff;
  text-decoration: none;
}
.yg-cat-tree-grandchild:hover::before { background: #5D87FF; }
.yg-cat-tree-grandchild.active {
  color: #3b5bfd;
  background: #e3ecff;
  font-weight: 600;
}
.yg-cat-tree-grandchild.active::before { background: #5D87FF; }

/* ---------- 分类页：三级树状下拉被下方板块遮挡修复 ---------- */
/* 下拉菜单的祖先容器建立独立层叠上下文并提到最上层。
   关键：菜单 overflow 必须 visible，否则右侧滑出的三级面板会被裁剪 */
.yg-headbanner {
  z-index: 20;
  overflow: visible !important;
}
.yg-articlelist-header-title-box .dropdown {
  z-index: 30;
}
/* 下拉菜单自身确保最高层级 + 独立层叠；overflow visible 放行右侧三级面板 */
.yg-cat-tree-menu {
  z-index: 1050 !important;
  overflow: visible !important;
}

/* 移动端登录行：忘记密码链接较长会挤压密码输入框（375px 下输入区仅 102px），允许换行 */
@media (max-width: 575px) {
  .yg-login-itembody { flex-wrap: wrap; height: auto; }
  .yg-login-message-input { flex: 1 1 100%; }
  .yg-login-message-btn { flex: 0 0 auto; margin-left: auto; padding: 4px 0; font-size: 12px; }
}

/* ---------- 详情页点评区：表情按钮/面板 + 评论筛选排序（2026-11-07 对齐源站） ---------- */
.emoji-btn {
  border: 1px solid #e6ebf2;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  color: #5a6a85;
  background: #fff;
  transition: border-color .15s ease, color .15s ease;
  user-select: none;
}
.emoji-btn:hover { border-color: #5d87ff; color: #5d87ff; }
.emoji-btn i { font-size: 16px; margin-right: 5px; }
.emoji-panel {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 500;
  width: 320px;
  max-width: calc(100vw - 40px);
  padding: 10px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(17, 25, 45, .12);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}
.emoji-panel[hidden] { display: none; }
.emoji-item {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  padding: 5px 0;
  border-radius: 6px;
  cursor: pointer;
}
.emoji-item:hover { background: #eef3ff; }
/* ===== 点评表情面板 · /circle 产品圈同款(2026-11-29 拷贝自 yg-ed-panel 系列) =====
   面板结构由 site/detail.php JS 生成:标题行 + 7 列 42 表情网格(32 贴纸图 + 10 系统字形)。
   注意:旧 .emoji-panel 是 display:grid+8列直铺字符;新结构是"标题行+网格"两块,面板改 block,
   由内层 .yg-ed-emoji-grid 自己做 7 列 grid。 */
.emoji-panel {
  display: block !important;
  padding: 12px 14px;
}
.emoji-panel[hidden] { display: none !important; }
.emoji-panel .yg-ed-panel-title {
  font-size: 13px;
  font-weight: 600;
  color: #222226;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.emoji-panel .yg-ed-panel-close { cursor: pointer; color: #8590a6; font-size: 15px; }
.emoji-panel .yg-ed-panel-close:hover { color: #f56c6c; }
.emoji-panel .yg-ed-emoji-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.emoji-panel .yg-ed-emoji {
  border: 0;
  background: none;
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.emoji-panel .yg-ed-emoji:hover { background: #f4f6fb; }
.emoji-panel .yg-ed-emoji-img { width: 28px; height: 28px; display: block; }
/* ===== 点评图文混排编辑器(2026-11-29 表情一致性根治,拷贝 /circle 发布器同款) =====
   textarea → contenteditable:贴纸以原子 img 混排,点击=输入框=评论三处全图标 */
.comment-textarea .yg-ed-rich {
  min-height: 88px;
  max-height: 220px;
  overflow-y: auto;
  outline: none;
  word-break: break-word;
  white-space: pre-wrap;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.6;
  cursor: text;
  transition: border-color .15s ease;
}
.comment-textarea .yg-ed-rich:focus { border-color: #5d87ff; }
.comment-textarea .yg-ed-rich:empty::before {
  content: attr(data-placeholder);
  color: #9aa4b2;
  pointer-events: none;
  display: block;
}
/* 贴纸原子图在输入框与评论内同尺寸(全局 yg-emoji-sticker 32px 基础上微调对齐) */
.comment-textarea .yg-ed-rich img.yg-emoji-sticker,
.product-comment-content-text .yg-emoji-sticker { width: 26px; height: 26px; vertical-align: -7px; margin: 0 1px; cursor: default; }
/* 评分区/工具条之间保持原间距(原 textarea mb-3 由容器承担) */
.comment-textarea .yg-ed-rich + input[type="hidden"] { display: none; }
.cmt-sort { align-items: center; gap: 14px; }
.cmt-sort a { font-size: 13px; color: #5a6a85; text-decoration: none; }
.cmt-sort a:hover { color: #5d87ff; }
.cmt-sort a.active { color: #5d87ff; font-weight: 600; }
.comment-list-empty { text-align: center; color: #9aa5b1; padding: 22px 0; font-size: 13.5px; }


/* ===== zf→yg 迁移补齐（2026-11-27 巡检 guard19）：以下规则原在 zf/custom.css，迁移时遗漏 ===== */

.zero-product-comment-card svg { background: transparent !important; }
.zero-product-0mo-pitem-card {
.zero-product-0mo-pitem-card:hover {
.zero-product-0mo-pitem-card .zero-article-absite-content-title {
.zero-product-0mo-pitem-card .zero-article-absite-content-sum {
.zero-product-0mo-pitem-card .zero-article-absite-img {
.zero-product-0mo-pitem-card .zero-article-absite-tag-item span {
.zero-product-0mo-head { padding-top: 18px !important; padding-bottom: 16px !important; }
.zero-articlelist-body [class*=col-] > .zero-product-0mo-pitem { display: flex; flex-direction: column; width: 100%; }
.zero-articlelist-body [class*=col-] .zero-product-0mo-pitem-card { display: flex; flex-direction: column; height: 100%; }
.zero-search-home [class*=col-] > .zero-product-0mo-pitem,
.zero-search-home [class*=col-] > .zero-product-0mo-pitem .zero-product-0mo-pitem-card,
.zero-search-home [class*=col-] > .zero-product-0mo-pitem .zero-article-absite {
.zero-search-home [class*=col-] > .zero-product-0mo-pitem,
.zero-search-home [class*=col-] > .zero-product-0mo-pitem .zero-product-0mo-pitem-card {
.zero-product-header { padding: 20px 24px !important; }
.zero-product-header-menu { margin-top: 14px !important; }
.zero-product-header-menu-list { gap: 4px; }
.zero-product-header-logo img {
.zero-product-header-info h1 { font-size: 24px !important; margin-bottom: 6px !important; }
.zero-product-header-summary { color: #7a8699 !important; font-size: 13px !important; margin-top: 4px !important; }
.zero-product-header-right-fun-list { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.zero-product-header-right-fun-list a { white-space: nowrap; font-size: 13px; }
.zero-product-body-box { padding: 18px 22px !important; }
.zero-product-body-box-title { margin-bottom: 12px !important; font-size: 15px !important; }
.zero-product-body-box-content p { margin-bottom: 10px !important; }
.zero-product-faq-list > div { padding: 10px 0 !important; }
.zero-product-faq-list div[style*="font-size:15px"] { font-size: 14px !important; }
.zero-product-body-box .zero-article-absite-content-corre-body a {
.zero-product-right-ranklist a, .zero-product-right-ranklist-item {
.zero-product-hidden-content h2,
.zero-product-body-box-content h2,
.zero-product-hidden-content h2:first-child { margin-top: 0; }
.zero-product-hidden-content ul { margin: 6px 0 10px; padding-left: 20px; }
.zero-product-hidden-content li { margin-bottom: 4px; color: #5a6a85; line-height: 1.7; }
.zero-product-hidden-content p { margin-bottom: 8px !important; }
.zero-product-comment-card {
.zero-product-comment-card .zero-product-comment-card-text,
.zero-product-comment-card .zero-product-comment-body-header-rankuser-text p { color: rgba(255,255,255,.6) !important; }
.zero-product-comment-card .zero-product-comment-body-header-ranknum span { color: #fe5f29 !important; }
.zero-product-comment-body-header-box { display: flex; justify-content: space-between; gap: 24px; }
.zero-product-comment-body-header-left,
.zero-product-comment-body-header-right { flex: 1 1 0 !important; min-width: 0; }
.zero-product-comment-body-header-right { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.zero-product-comment-body-header-rankinfo { display: flex; align-items: center; flex-wrap: wrap; }
.zero-product-comment-body-header-rankstar { margin-right: 20px; }
.zero-product-comment-body-header-rankstar .ranklist-imgbox-item,
.zero-product-comment-body-header-right .comment-rank-item-icon .ranklist-imgbox-item {
.zero-product-comment-card .rank-item-icon {
.zero-product-comment-body-header-rankstar .rank-item-icon { width: 17px !important; height: 17px !important; }
.zero-product-comment-body-header-rankstar .rank-item-icon svg {
.zero-product-comment-body-header-rankstar .rank-item-icon.active svg { fill: #fe5f29 !important; }
.zero-product-comment-body-header-more { margin-top: 16px; }
.zero-product-comment-body-header-more::after { display: none !important; content: none !important; }
.zero-product-comment-body-header-more .comment-header-table {
.zero-product-comment-body-header-more .comment-header-table .comment-table-column {
.zero-product-comment-body-header-more .comment-header-table .comment-table-column-item,
.zero-product-comment-body-header-more .comment-header-table .comment-table-column.table-title .comment-table-column-item {
.zero-product-comment-body-header-more .comment-header-table .comment-table-column-item:last-child,
.zero-product-comment-body-header-more .comment-header-table .comment-table-column.table-title .comment-table-column-item:last-child { margin-bottom: 0 !important; }
.zero-product-comment-body-header-right-title { color: #ffffff !important; font-weight: 600 !important; margin-bottom: 12px !important; }
.zero-product-comment-body-header-right .comment-rank-item-icon {
.zero-product-comment-body-header-right .comment-rank-item-icon .rank-item-icon { width: 13px !important; height: 13px !important; }
.zero-product-comment-body-header-right .comment-rank-item-icon .rank-item-icon svg {
.zero-product-comment-body-header-right .comment-rank-item-icon .progress {
.zero-product-comment-body-header-right .comment-rank-item-icon .comment-rank-item-nmu {
.zero-product-comment-card svg { background: transparent !important; }
.zero-product-comment-body-header-box { flex-direction: column; }
.zero-product-comment-body-header-right { padding-left: 0; border-left: 0; }
.zf-header-main .zero-product-header-menu { margin-top: 12px; padding-top: 0; }
.zf-header-main .zero-product-header-menu { margin-top: 12px; padding-top: 0; overflow: hidden; }
.zero-product-header-menu-list {
.zero-product-header-menu-list::-webkit-scrollbar { display: none; }
.zero-product-header-menu-item { flex: 0 0 auto; }
.zero-product-header-menu-item a {
.zero-product-header-right-fun { margin-bottom: 10px; }
.zero-product-header-right-fun-list {
.zero-product-header-right-fun-list::-webkit-scrollbar { display: none; }
.zero-product-header-right-fun-list > a { flex: 0 0 auto; white-space: nowrap; font-size: 13px; }
.zf-header-layout, .zf-header-main, .zero-product-body { max-width: 100%; min-width: 0; box-sizing: border-box; }
.zero-product-header { max-width: 100%; }
.zero-product-header-left { max-width: 100%; min-width: 0; }
.zero-product-header-info { min-width: 0; max-width: 100%; }
.zero-product-header-info h1,
.zero-product-header-summary,
.zero-product-header { flex-direction: column; align-items: stretch; }
.zero-product-header-right { width: 100%; max-width: 100%; flex-shrink: unset !important; }
.zeroui-card-20 .zero-product-header-right-btn { width: 100%; display: flex; align-items: center; gap: 10px; justify-content: flex-start; box-sizing: border-box; }
.zeroui-card-20 .zero-product-header-right-btn > a.btn {
.zeroui-card-20 .zero-product-header-right-btn > form { flex: 0 0 30%; width: 30%; margin: 0; }
.zeroui-card-20 .zero-product-header-right-btn > form > button {
.zeroui-card-20 .zero-product-header-right-btn > form > button,
.zeroui-card-20 .zero-product-header-right-btn > form > button .label {
.zeroui-card-20 .zero-product-header-right-btn > form > button {
.zeroui-card-20 .zero-product-header-right-btn > form { flex: 0 0 auto; width: auto; min-width: 82px; }
#reviews .zero-product-comment-body-header-left,
#reviews .zero-product-comment-body-header-right,
#reviews .zero-product-comment-body-header-more,
#reviews .zero-product-comment-card-text,
#reviews .zero-product-comment-body-header-rankinfo,
#reviews .zero-product-comment-body-header-right-title {
#reviews .zero-product-comment-body-header-box { width: 100%; }
#reviews .zero-product-comment-body-header-more { overflow: hidden; }
.zero-sticky-header .zero-product-header-left,
.zero-sticky-header .zero-product-header-right-fun,
.zero-sticky-header .zero-product-header-right-btn,
.zero-sticky-header .zero-product-header { min-height: 0 !important; padding: 0 !important; width: 100% !important; }
.zero-sticky-header .zero-product-header-menu { display: block !important; width: 100% !important; }
.zero-sticky-header .zero-product-header-menu::before { display: none !important; }
.zero-sticky-header .zero-product-header-menu-list {
.zero-sticky-header .zero-product-header-menu-item a { font-size: 12px !important; padding: 8px 2px !important; white-space: nowrap; color: #4a5568 !important; }
.zero-sticky-header .zero-product-header-menu-item small { display: none !important; }
.zero-sticky-header .zero-product-header-menu-item .active { color: #FF5000 !important; }
#reviews .zero-product-comment-card,
#reviews .zero-product-comment-body-header-box,
#reviews .zero-product-comment-card-text,
#reviews .zero-product-comment-body-header-right-title { color: #11192D !important; }
#reviews .zero-product-comment-body-header-ranknum span { color: #11192D !important; }
#reviews .zero-product-comment-body-header-rankuser-text p { color: #8590a6 !important; }
