/* ==========================================================================
   招标采购信息网 · 前台主题样式
   基于 Bootstrap 5.3 + Font Awesome 4.7，只做主题化与补充，
   不改 Bootstrap 组件结构，避免与后台 LAYUI 样式互相影响。

   配色：中国红（主色）+ 墨蓝（导航/页脚）+ 金（荣誉/VIP）+ 青灰（辅助）
   ========================================================================== */

:root {
    /* 品牌色 */
    --site-red: #cf1f2e;
    --site-red-dark: #a4161f;
    --site-red-deep: #7d0f17;
    --site-red-soft: #fdf2f3;
    --site-red-line: #f0d2d5;
    --site-red-rgb: 207, 31, 46;

    /* 辅助色 */
    --site-gold: #bf8b2c;
    --site-gold-soft: #fdf7e9;
    --site-teal: #0f7b6c;
    --site-teal-soft: #eaf6f4;
    --site-blue: #2f6fdc;
    --site-blue-soft: #eef4ff;

    /* 中性色 */
    --site-ink: #182230;
    --site-ink-2: #26313f;
    --site-slate: #5b6878;
    --site-line: #e5e9ef;
    --site-bg: #f3f5f8;

    --site-radius: .6rem;
    --site-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -18px rgba(16, 24, 40, .38);
    --site-shadow-hover: 0 2px 6px rgba(16, 24, 40, .06), 0 18px 36px -20px rgba(16, 24, 40, .48);

    /* 覆盖 Bootstrap 语义色：text-danger / bg-danger / 链接统一为品牌红 */
    --bs-danger: var(--site-red);
    --bs-danger-rgb: var(--site-red-rgb);
    --bs-primary: var(--site-red);
    --bs-primary-rgb: var(--site-red-rgb);
    --bs-link-color: #b21724;
    --bs-link-color-rgb: 178, 23, 36;
    --bs-link-hover-color: var(--site-red-dark);
    --bs-body-color: #2b3543;
    --bs-secondary-color: #64707f;
    --bs-border-color: var(--site-line);
    --bs-tertiary-bg: #f6f8fa;
    --bs-secondary-bg: #eef1f5;
    --bs-body-bg: var(--site-bg);
    --bs-border-radius: .45rem;
    --bs-border-radius-sm: .3rem;
    --bs-border-radius-lg: .75rem;

    --site-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础排版 ---------- */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a,
button,
.btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

body.site-body {
    background-color: var(--site-bg);
    color: var(--bs-body-color);
    font-family: var(--site-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site-header,
.site-footer {
    font-family: var(--site-font);
}

::selection {
    background-color: rgba(var(--site-red-rgb), .16);
    color: var(--site-red-deep);
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: .01em;
}

a {
    transition: color .15s ease;
}

a:focus-visible,
.btn:focus-visible {
    outline: 2px solid rgba(var(--site-red-rgb), .55);
    outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--site-bg);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--site-bg);
    border-radius: 6px;
    background-color: #cbd4df;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #b6c1ce;
}

/* ---------- 按钮 ---------- */
.btn {
    border-radius: .4rem;
    font-weight: 500;
    letter-spacing: .02em;
}

.btn-danger {
    --bs-btn-bg: var(--site-red);
    --bs-btn-border-color: var(--site-red);
    --bs-btn-hover-bg: var(--site-red-dark);
    --bs-btn-hover-border-color: var(--site-red-dark);
    --bs-btn-active-bg: var(--site-red-deep);
    --bs-btn-active-border-color: var(--site-red-deep);
    --bs-btn-disabled-bg: #e2939a;
    --bs-btn-disabled-border-color: #e2939a;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
    box-shadow: 0 3px 8px -4px rgba(var(--site-red-rgb), .7);
}

.btn-outline-danger {
    --bs-btn-color: var(--site-red);
    --bs-btn-border-color: #e3a3a9;
    --bs-btn-hover-bg: var(--site-red);
    --bs-btn-hover-border-color: var(--site-red);
    --bs-btn-active-bg: var(--site-red-dark);
    --bs-btn-active-border-color: var(--site-red-dark);
}

.btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--site-line);
    --bs-btn-hover-bg: var(--site-red-soft);
    --bs-btn-hover-border-color: var(--site-red-line);
    --bs-btn-hover-color: var(--site-red);
}

/* ---------- 表单 ---------- */
.form-control,
.form-select {
    border-color: #dde3ea;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: #e2a5ab;
    /* 聚焦只改变边框颜色，不加外发光 */
    box-shadow: none;
}

.form-check-input:checked {
    border-color: var(--site-red);
    background-color: var(--site-red);
}

.form-check-input:focus {
    border-color: #e2a5ab;
    box-shadow: none;
}

.form-label {
    color: var(--site-slate);
}

/* ---------- 检索条件面板 ---------- */
.filter-row {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px dashed var(--site-line);
}

.filter-row:first-child {
    padding-top: 0;
}

.filter-row:last-of-type {
    padding-bottom: .25rem;
    border-bottom: 0;
}

.filter-label {
    flex: 0 0 5rem;
    padding-top: .4rem;
    color: var(--site-slate);
    font-size: .85rem;
    font-weight: 600;
}

.filter-body {
    flex: 1 1 auto;
    min-width: 0;
}

.filter-hint {
    margin: .4rem 0 0;
    color: #97a1ae;
    font-size: .75rem;
}

/* 起止日期并排展示，限宽避免过宽 */
.filter-dates {
    max-width: 420px;
}

.filter-actions {
    padding-top: 1.25rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    .filter-row {
        display: block;
    }

    .filter-label {
        margin-bottom: .5rem;
        padding-top: 0;
    }
}

/* 胶囊式选项：隐藏原生控件，用 label 承担点击与选中态 */
.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.choice-group .form-check {
    min-height: 0;
    margin: 0;
    padding: 0;
}

.choice-group .form-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.choice-group .form-check-label {
    display: inline-block;
    padding: .26rem .8rem;
    border: 1px solid var(--site-line);
    border-radius: 1rem;
    background-color: #fff;
    color: var(--site-slate);
    font-size: .82rem;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.choice-group .form-check-label:hover {
    border-color: var(--site-red-line);
    color: var(--site-red);
}

.choice-group .form-check-input:checked + .form-check-label {
    border-color: var(--site-red);
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-weight: 600;
}

.choice-group .form-check-input:focus-visible + .form-check-label {
    box-shadow: 0 0 0 .2rem rgba(var(--site-red-rgb), .18);
}

/* 地区选择面板 */
.city-panel {
    max-height: 290px;
    padding: .75rem;
    border: 1px solid var(--site-line);
    border-radius: .5rem;
    background-color: #fbfcfd;
    overflow: auto;
}

.city-province {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .45rem 0;
    border-bottom: 1px dashed #eef1f4;
}

.city-province:last-child {
    border-bottom: 0;
}

.city-province > .choice-group {
    flex: 1 1 auto;
}

.city-prov {
    min-height: 0;
    margin: 0;
    padding: 0;
}

.city-prov .form-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.city-prov .form-check-label {
    display: inline-block;
    padding: .26rem .8rem;
    border: 1px solid var(--site-line);
    border-radius: 1rem;
    background-color: #f2f5f8;
    color: var(--site-slate);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.city-prov .form-check-input:checked + .form-check-label {
    border-color: var(--site-red);
    background-color: var(--site-red);
    color: #fff;
}

/* ==========================================================================
   顶部工具条
   ========================================================================== */
.site-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(90deg, var(--site-ink) 0%, var(--site-ink-2) 100%);
    color: rgba(255, 255, 255, .58);
    font-size: .78rem;
}

.site-topbar .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: .25rem .75rem;
    min-height: 34px;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

/* 欢迎语超宽时省略，保证顶栏始终单行、高度稳定 */
.site-topbar .container > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-topbar .container > div {
    flex: 0 0 auto;
}
.site-topbar a {
    color: rgba(255, 255, 255, .68);
    text-decoration: none;
}

.site-topbar a:hover {
    color: #fff;
}

.site-topbar .fa {
    color: #ef7b84;
}

.site-topbar .sep {
    color: rgba(255, 255, 255, .22);
}

/* ==========================================================================
   站点头部（Logo / 搜索 / 服务热线）
   ========================================================================== */
.site-header {
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid var(--site-line);
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--site-red-deep), var(--site-red) 46%, #ea5b63);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* 顶部 Logo：限制高度，避免原图过大撑破导航 */
.brand-logo {
    max-height: 58px;
    width: auto;
}

.site-search .input-group {
    flex-wrap: nowrap;
}

.site-search .form-select,
.site-search .form-control,
.site-search .btn {
    height: 44px;
}

.site-search .form-select {
    max-width: 100px;
    border-color: var(--site-red-line);
    background-color: #f7f8fa;
    color: var(--site-slate);
    font-size: .85rem;
}

.site-search .form-control {
    border-color: var(--site-red-line);
    font-size: .9rem;
}

.site-search .form-control:focus {
    border-color: #e2a5ab;
    box-shadow: none;
}

.site-search .btn {
    min-width: 84px;
    font-size: .95rem;
}

.site-hotwords {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .7rem;
    margin-top: .45rem;
    color: var(--site-slate);
    font-size: .78rem;
    line-height: 1.7;
}

.site-hotwords a {
    color: var(--site-slate);
    text-decoration: none;
    white-space: nowrap;
}

.site-hotwords a:hover {
    color: var(--site-red);
}

.site-hotwords .hotwords-label {
    color: var(--site-red);
    font-weight: 400;
    white-space: nowrap;
}

.site-hotwords .hotwords-label .fa {
    color: #ef8b2c;
}

.site-hotwords .hotwords-more {
    display: inline-flex;
    align-items: baseline;
    margin-left: auto;
    color: #9aa4b1;
    font-weight: 400;
    white-space: nowrap;
}

.site-hotwords .hotwords-more:hover {
    color: var(--site-red);
}

.site-hotline {
    display: flex;
    align-items: center;
    gap: .6rem;
    justify-content: flex-end;
}

.site-hotline > .fa {
    color: var(--site-red);
    font-size: 1.65rem;
    line-height: 1;
}

.site-hotline .label {
    display: block;
    color: var(--site-slate);
    font-size: .72rem;
    letter-spacing: .1em;
}

.site-hotline strong {
    color: var(--site-ink);
    font-size: 1.12rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.site-datacount {
    margin-top: .35rem;
    color: var(--site-slate);
    font-size: .75rem;
    text-align: right;
}

.site-datacount .num {
    color: var(--site-red);
    font-size: .95rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   主导航
   ========================================================================== */
.site-nav {
    padding: 0;
    background: linear-gradient(90deg, var(--site-red-deep) 0%, var(--site-red) 52%, #d92b38 100%);
    box-shadow: 0 8px 20px -14px rgba(var(--site-red-rgb), .95);
}

/* 10 个栏目在通栏内等宽平分，文字居中 */
.site-nav .navbar-nav {
    width: 100%;
    gap: 0;
}

.site-nav .nav-item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

/* 内阴影做分隔线，不占布局宽度，保证各列严格等宽 */
.site-nav .nav-item + .nav-item .nav-link {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, .13);
}

.site-nav .nav-link {
    position: relative;
    padding: .8rem .2rem;
    color: rgba(255, 255, 255, .9);
    font-size: .94rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-align: center;
}

.site-nav .nav-link::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: .32rem;
    left: 50%;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    opacity: .9;
    transition: left .18s ease, right .18s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: #fff;
    background-color: rgba(0, 0, 0, .12);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus::after {
    right: .35rem;
    left: .35rem;
}

/* 当前栏目：常驻下划线 + 轻微底色，和各页标题栏的红色保持同一视觉语言 */
.site-nav .nav-link.active {
    color: #fff;
    background-color: rgba(0, 0, 0, .16);
}

.site-nav .nav-link.active::after {
    right: .35rem;
    left: .35rem;
}

.site-nav .navbar-toggler {
    margin: .4rem 0;
    padding: .2rem .45rem;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.site-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .28);
}

/* ==========================================================================
   首页服务入口
   ========================================================================== */
.service-entry-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .service-entry-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.service-entry {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem .9rem;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background-color: #fff;
    box-shadow: var(--site-shadow);
    color: var(--bs-body-color);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-entry:hover {
    transform: translateY(-2px);
    border-color: var(--site-red-line);
    box-shadow: var(--site-shadow-hover);
    color: var(--site-red);
}

.service-entry .service-entry-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .55rem;
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-size: 1.05rem;
}

.service-entry:nth-child(2) .service-entry-icon {
    background-color: var(--site-teal-soft);
    color: var(--site-teal);
}

.service-entry:nth-child(3) .service-entry-icon {
    background-color: var(--site-blue-soft);
    color: var(--site-blue);
}

.service-entry:nth-child(4) .service-entry-icon {
    background-color: var(--site-gold-soft);
    color: var(--site-gold);
}

.service-entry .service-entry-copy {
    min-width: 0;
}

.service-entry .service-entry-copy strong {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
}

.service-entry .service-entry-copy span {
    display: block;
    color: var(--site-slate);
    font-size: .73rem;
    line-height: 1.5;
}

/* 视口较窄时四列会挤成两三行，隐藏副标题保持整齐 */
@media (max-width: 1199.98px) {
    .service-entry .service-entry-copy span {
        display: none;
    }
}

/* 首页轮播：圆角与指示器统一为品牌风格 */
#homeSlider {
    overflow: hidden;
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
}

#homeSlider .carousel-indicators {
    margin-bottom: .5rem;
}

#homeSlider .carousel-indicators [data-bs-target] {
    width: 20px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background-color: #fff;
    opacity: .5;
}

#homeSlider .carousel-indicators .active {
    width: 26px;
    background-color: #fff;
    opacity: 1;
}

/* ==========================================================================
   卡片 / 区块标题
   ========================================================================== */
.card {
    --bs-card-border-radius: var(--site-radius);
    --bs-card-bg: #fff;
    border: 1px solid var(--site-line);
    box-shadow: var(--site-shadow);
}

.card-header {
    padding: .72rem 1rem;
    border-bottom: 1px solid var(--site-line);
    background-color: #fff;
    font-size: .95rem;
}

.card-footer {
    padding: .6rem .75rem;
    border-top: 1px solid var(--site-line);
    background-color: #fff;
}

/* 首页两行三列：同一行卡片等高，底部对齐 */
.card-fill {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-fill > .card-body {
    flex: 1 1 auto;
}

/* 列表条目均分卡片高度：条数不同也能填满，避免宽屏下底部留白 */
.card-fill > .list-group {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.card-fill > .list-group > .list-group-item {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 2rem;
}

.card-fill > .list-group > .list-group-item > a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 首页左侧广告位：卡片保持自身高度，不再压缩广告图 */
@media (min-width: 768px) {
    .ads-fill .card {
        flex: 0 0 auto;
        overflow: hidden;
    }

    .ads-fill .card > a {
        display: block;
        height: 100%;
    }

    .ads-fill .card img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* 会员卡：头像与欢迎语同排，登录入口、快捷链接分层排布 */
.member-card {
    overflow: hidden;
}

/* 仅首页首屏这一列跟随行高拉伸，侧栏内保持内容高度 */
.member-col > .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.member-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
}

.member-head {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1rem 0;
}

.member-head-avatar {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--site-red), var(--site-red-deep));
    box-shadow: 0 6px 16px -8px rgba(var(--site-red-rgb), .9);
    color: #fff;
    font-size: 1.15rem;
}

.member-id {
    min-width: 0;
}

.member-name {
    margin: 0;
    color: var(--site-ink);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
}

.member-tip {
    margin: .1rem 0 0;
    color: var(--site-slate);
    font-size: .72rem;
    line-height: 1.4;
    text-wrap: balance;
}

.member-cta {
    display: flex;
    gap: .5rem;
    padding: .8rem 1rem .9rem;
}

.member-btn {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .38rem .25rem;
    border: 1px solid var(--site-line);
    border-radius: .4rem;
    background: #fff;
    color: var(--site-slate);
    font-size: .8rem;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.member-btn:hover {
    border-color: var(--site-red);
    color: var(--site-red);
}

.member-btn-solid {
    border-color: transparent;
    background: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
    color: #fff;
}

.member-btn-solid:hover {
    color: #fff;
    filter: brightness(1.06);
}

.member-links {
    margin-top: auto;
    border-top: 1px solid var(--site-line);
}

.member-links a {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border-top: 1px solid var(--site-line);
    color: var(--site-slate);
    font-size: .82rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.member-links a:first-child {
    border-top: 0;
}

.member-links a:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

.member-links .member-arrow {
    margin-left: auto;
    color: #c4ccd6;
}

.member-links a:hover .member-arrow {
    color: var(--site-red);
}

/* 轮播在 lg 以上跟随行高，超出的部分按比例裁掉（通常仅几像素），避免底部留白 */
@media (min-width: 992px) {
    #homeSlider {
        height: 100%;
    }

    #homeSlider .carousel-inner,
    #homeSlider .carousel-item,
    #homeSlider .carousel-item img {
        height: 100%;
    }

    #homeSlider .carousel-item img {
        object-fit: cover;
    }
}

/* 卡片标题左侧强调条 */
.title-bar {
    position: relative;
}

.title-bar::before {
    content: "";
    position: absolute;
    top: .5rem;
    bottom: .5rem;
    left: 0;
    width: 4px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--site-red), var(--site-red-deep));
}

/* 标题内的图标做成小色块，层次更清晰 */
.title-bar .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.12rem;
    height: 1.12rem;
    border-radius: .26rem;
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-size: .7rem;
    vertical-align: -.08em;
}

/* “更多”之类放在链里的图标保持原样 */
.title-bar a .fa {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: inherit;
    vertical-align: baseline;
}

.title-bar a.text-body-secondary:hover {
    color: var(--site-red) !important;
}

/* ==========================================================================
   列表
   ========================================================================== */
/* 栏目内部统一白底：列表与手风琴不再继承页面灰底 */
.list-group {
    --bs-list-group-bg: #fff;
}

.accordion {
    --bs-accordion-bg: #fff;
    --bs-accordion-btn-bg: #fff;
    --bs-accordion-active-bg: #fff;
    --bs-accordion-active-color: var(--site-red-dark);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(var(--site-red-rgb), .16);
}

.list-group-item {
    padding: .55rem 1rem;
    border-color: #eef1f4;
    font-size: .875rem;
}

.list-hover .list-group-item {
    position: relative;
    transition: background-color .15s ease;
}

.list-hover .list-group-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background-color: transparent;
    transition: background-color .15s ease;
}

.list-hover .list-group-item:hover {
    background-color: #fcfcfd;
}

.list-hover .list-group-item:hover::before {
    background-color: var(--site-red);
}

.list-hover .list-group-item a {
    transition: color .15s ease;
}

.list-hover .list-group-item a:hover {
    color: var(--site-red) !important;
}

.list-hover .fa-angle-double-right {
    color: #c6cdd7 !important;
    transition: transform .15s ease, color .15s ease;
}

.list-hover .list-group-item:hover .fa-angle-double-right {
    transform: translateX(2px);
    color: var(--site-red) !important;
}

.list-hover .list-group-item .fa-download,
.list-hover .list-group-item .fa-book {
    opacity: .55;
    transition: opacity .15s ease, color .15s ease;
}

.list-hover .list-group-item:hover .fa-download,
.list-hover .list-group-item:hover .fa-book {
    opacity: 1;
    color: var(--site-red) !important;
}

/* 列表内的时间列 */
.list-hover .list-group-item .text-body-secondary,
.list-muted-date {
    font-variant-numeric: tabular-nums;
}

/* 卡片轻微上浮，用于企业/广告类卡片 */
.hover-lift {
    transition: transform .18s ease, box-shadow .18s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -12px rgba(16, 24, 40, .45) !important;
}

/* 多行截断（Bootstrap 只提供单行 text-truncate） */
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 空数据占位 */
.empty-state {
    padding: 2.5rem 1rem;
    color: var(--bs-secondary-color);
    text-align: center;
}

.empty-state i {
    display: block;
    margin-bottom: .5rem;
    color: #c3ccd7;
    font-size: 1.75rem;
    opacity: .9;
}

/* ==========================================================================
   面包屑 / 分页 / 标签页
   ========================================================================== */
.breadcrumb {
    --bs-breadcrumb-divider-color: #c3cbd6;
    margin-bottom: 0;
    padding: .5rem .9rem;
    border: 1px solid var(--site-line);
    border-radius: .5rem;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}

.breadcrumb a {
    color: var(--site-slate);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--site-red);
}

.breadcrumb-item.active {
    color: var(--site-ink);
    font-weight: 500;
}

.breadcrumb .fa-home {
    color: var(--site-red);
}

.pagination {
    --bs-pagination-color: var(--site-slate);
    --bs-pagination-bg: #fff;
    --bs-pagination-hover-color: var(--site-red);
    --bs-pagination-hover-bg: var(--site-red-soft);
    --bs-pagination-hover-border-color: var(--site-red-line);
    --bs-pagination-active-bg: var(--site-red);
    --bs-pagination-active-border-color: var(--site-red);
    --bs-pagination-focus-color: var(--site-red);
    --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(var(--site-red-rgb), .15);
    gap: .25rem;
}

.pagination .page-link {
    min-width: 2rem;
    border-color: var(--site-line);
    border-radius: .35rem;
    text-align: center;
}

.pagination .page-item.active .page-link {
    box-shadow: 0 3px 8px -3px rgba(var(--site-red-rgb), .65);
}

.nav-pills {
    --bs-nav-pills-border-radius: .35rem;
    gap: .2rem;
}

.nav-pills .nav-link {
    padding: .18rem .6rem;
    border-radius: .35rem;
    color: var(--site-slate);
}

.nav-pills .nav-link:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

.nav-pills .nav-link.bg-danger {
    background-color: var(--site-red) !important;
    color: #fff;
    box-shadow: 0 2px 6px -2px rgba(var(--site-red-rgb), .6);
}

.nav-tabs {
    --bs-nav-tabs-link-active-color: var(--site-red);
    border-bottom-color: var(--site-line);
}

.nav-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--site-slate);
    background: none;
    font-size: .85rem;
}

.nav-tabs .nav-link:hover {
    color: var(--site-red);
}

.nav-tabs .nav-link.active {
    border-bottom-color: var(--site-red);
    background: none;
    color: var(--site-red);
    font-weight: 600;
}

/* ==========================================================================
   徽标 / 表格
   ========================================================================== */
.badge {
    padding: .32em .5em;
    border-radius: .28rem;
    font-weight: 600;
    letter-spacing: .03em;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--site-red), var(--site-red-dark)) !important;
    box-shadow: 0 2px 5px -2px rgba(var(--site-red-rgb), .55);
}

.badge.bg-warning {
    background: linear-gradient(135deg, #f2bd53, var(--site-gold)) !important;
    color: #3d2b05 !important;
}

.table {
    --bs-table-bg: #fff;
    --bs-table-border-color: #e9edf2;
}

/* 表头同样走白底，避免栏目内部出现灰色条带 */
.table-light {
    --bs-table-bg: #fff;
    --bs-table-color: var(--site-ink);
}

.table-bordered > :not(caption) > * > * {
    border-color: #e9edf2;
}

.table > tbody > tr > td.bg-body-tertiary,
.table > tbody > tr > th.bg-body-tertiary {
    color: var(--site-slate);
    font-weight: 500;
}

/* 城市/地区表格：单元格更紧凑，链接不换行 */
.table-city td {
    padding: .35rem .5rem;
}

.table-city a {
    color: var(--site-slate);
    text-decoration: none;
    white-space: nowrap;
}

.table-city a:hover {
    color: var(--site-red);
}

.table-city tr:hover td {
    background-color: #fbfcfd;
}

/* ==========================================================================
   正文 / 文档详情
   ========================================================================== */
/* 富文本正文：UEditor 内容常带宽表格/大图，统一在此收口。
   正文里的表格多为排版表（带固定 width 属性），只限制最大宽度、不强制 100%，
   否则会把源站的两列结构挤变形；超宽时由容器横向滚动。 */
.article-body {
    color: #3a4453;
    font-size: .95rem;
    line-height: 1.95;
    overflow-x: auto;
    word-break: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body table {
    max-width: 100%;
}

.article-body a {
    color: var(--site-red);
}

.article-body p {
    margin-bottom: .9rem;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin: 1.2rem 0 .8rem;
    color: var(--site-ink);
    font-size: 1.05rem;
}

/* 详情页大标题与元信息 */
.doc-title {
    margin: 0 0 .9rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--site-line);
    color: var(--site-ink);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .3rem 1.4rem;
    margin-bottom: 1.25rem;
    color: var(--site-slate);
    font-size: .8rem;
}

.doc-meta .fa {
    margin-right: .25rem;
    color: var(--site-red);
}

/* 文章内联系方式块 */
.contact-block {
    padding: .9rem 1rem;
    border: 1px solid var(--site-line);
    border-left: 3px solid var(--site-red);
    border-radius: .5rem;
    background-color: #fafbfc;
}

.contact-block .fa {
    color: var(--site-red);
}

/* 关于我们：地图容器固定高度，避免懒加载前塌陷 */
.map-embed {
    height: 400px;
}

/* 未登录提示区 */
.login-guard {
    margin-top: 1.5rem;
    padding: 1.75rem 1rem;
    border: 1px dashed var(--site-red-line);
    border-radius: .6rem;
    background-color: var(--site-red-soft);
    text-align: center;
}

.login-guard .guard-icon {
    display: block;
    margin-bottom: .5rem;
    color: var(--site-red);
    font-size: 1.75rem;
}

/* 数字列宽固定，统计数字跳动时不抖 */
.stat-num {
    font-variant-numeric: tabular-nums;
}

/* 顶部搜索框：窄屏下不让下拉框挤压输入框 */
@media (max-width: 575.98px) {
    .search-inline .form-select {
        max-width: 6.5rem;
    }
}

/* ==========================================================================
   侧栏
   ========================================================================== */
/* 侧栏链接列表 */
.side-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border-top: 1px solid #eef1f4;
    color: var(--bs-body-color);
    font-size: .875rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, padding-left .15s ease;
}

.side-link:hover {
    padding-left: 1.2rem;
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

.side-link .fa {
    color: var(--site-red);
}

/* 行业分类小格 */
.industry-chip {
    display: block;
    padding: .3rem .2rem;
    border-radius: .3rem;
    background-color: #f6f8fa;
    color: var(--site-slate);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.industry-chip:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

/* 客服浮层：固定窄宽度，避免遮挡内容 */
.kefu-panel {
    width: 122px;
    z-index: 1030;
    overflow: hidden;
    border-radius: .55rem;
}

.kefu-panel .card-header {
    background: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
    letter-spacing: .02em;
    padding: .25rem .3rem;
    font-size: .74rem;
}

.kefu-panel .list-group-item {
    font-size: .78rem;
    padding-left: .3rem;
    padding-right: .3rem;
}

/* 收起按钮：右上角小箭头 */
.kefu-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    padding: 0;
    border: 0;
    border-radius: .24rem;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: .72rem;
    line-height: 1;
}

.kefu-toggle:hover {
    background: rgba(255, 255, 255, .34);
    color: #fff;
}

/* 收起后贴在页面右侧的竖排小标签 */
.kefu-tab {
    display: none;
    padding: .55rem .32rem;
    border: 0;
    border-radius: .5rem 0 0 .5rem;
    background: linear-gradient(160deg, var(--site-red), var(--site-red-deep));
    color: #fff;
    font-size: .7rem;
    line-height: 1.2;
    text-align: center;
}

.kefu-tab .fa {
    display: block;
    margin-bottom: .2rem;
    font-size: .95rem;
}

.kefu-tab:hover {
    color: #fff;
    filter: brightness(1.06);
}

#customer-service-panel.is-collapsed .kefu-panel {
    display: none;
}

#customer-service-panel.is-collapsed .kefu-tab {
    display: block;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: linear-gradient(160deg, var(--site-red), var(--site-red-deep)) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgba(var(--site-red-rgb), .85);
}

.back-to-top.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    color: #fff;
    filter: brightness(1.08);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
    position: relative;
    margin-top: 2rem;
    background: linear-gradient(180deg, var(--site-ink-2) 0%, var(--site-ink) 100%);
    color: rgba(255, 255, 255, .6);
    font-size: .84rem;
}

.site-footer::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--site-red-deep), var(--site-red) 48%, var(--site-gold));
}

.site-footer a {
    color: rgba(255, 255, 255, .64);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .7rem;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .06em;
}

.footer-brand .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .45rem;
    background-color: rgba(var(--site-red-rgb), .22);
    color: #ff8a92;
    font-size: .95rem;
}

.footer-desc {
    margin-bottom: .9rem;
    color: rgba(255, 255, 255, .52);
    font-size: .8rem;
    line-height: 1.9;
}

.footer-note {
    color: rgba(255, 255, 255, .45);
    font-size: .78rem;
    line-height: 1.8;
}

.footer-title {
    position: relative;
    margin-bottom: .8rem;
    padding-bottom: .45rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--site-red);
}

.footer-links {
    display: grid;
    gap: .45rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.footer-links a::before {
    content: "\f105";
    color: rgba(255, 255, 255, .3);
    font-family: FontAwesome;
    font-size: .8rem;
    transition: color .15s ease, transform .15s ease;
}

.footer-links a:hover::before {
    transform: translateX(2px);
    color: var(--site-red);
}

.footer-contact {
    display: grid;
    gap: .55rem;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: .82rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    line-height: 1.6;
}

.footer-contact .fa {
    flex: 0 0 auto;
    width: .9rem;
    margin-top: .25rem;
    color: #ff8a92;
}

.footer-contact span {
    overflow-wrap: anywhere;
}

.footer-qr {
    text-align: center;
}

.footer-qr img {
    padding: 4px;
    border-radius: .45rem;
    background-color: #fff;
}

.footer-qr span {
    display: block;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .5);
    font-size: .74rem;
}

.footer-bottom {
    margin-top: 1.25rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .42);
    font-size: .78rem;
    line-height: 1.6;
}

/* 底部版权多行文案：收紧段间距，避免逐行拉得过开 */
.footer-bottom p,
.site-footer .small p {
    margin-bottom: .3rem;
    line-height: 1.6;
}

.footer-bottom p:last-child,
.site-footer .small p:last-child {
    margin-bottom: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   轻量提示条（替代 alert）
   ========================================================================== */
.site-toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    z-index: 2000;
    display: none;
    max-width: 90vw;
    padding: .55rem 1.1rem;
    border-left: 4px solid var(--site-red);
    border-radius: .5rem;
    background-color: #fff;
    box-shadow: 0 8px 24px -10px rgba(16, 24, 40, .5);
    font-size: .875rem;
    line-height: 1.5;
    transform: translateX(-50%);
}

.site-toast.is-error {
    border-left-color: var(--site-red);
}

.site-toast.is-ok {
    border-left-color: var(--site-teal);
}

/* 密码强度条：宽度与颜色由 JS 添加的 level-1/2/3 控制 */
.pwd-meter {
    height: 4px;
    overflow: hidden;
    border-radius: 2px;
    background-color: var(--bs-secondary-bg);
}

.pwd-meter span {
    display: block;
    width: 0;
    height: 100%;
    transition: width .2s ease, background-color .2s ease;
}

.pwd-meter span.level-1 {
    width: 33%;
    background-color: var(--site-red);
}

.pwd-meter span.level-2 {
    width: 66%;
    background-color: #e8a33a;
}

.pwd-meter span.level-3 {
    width: 100%;
    background-color: var(--site-teal);
}

/* ==========================================================================
   会员中心
   ========================================================================== */
.member-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--site-red), var(--site-red-deep));
    color: #fff;
    font-size: 1.4rem;
}

.member-avatar-lg {
    width: 72px;
    height: 72px;
    font-size: 2rem;
}

/* 侧栏分组标题 */
.nav-group-title {
    padding: .55rem 1rem .25rem;
    border-bottom: 1px solid #f1f3f6;
    background-color: #fafbfc;
    color: #8b95a3;
    font-size: .75rem;
    letter-spacing: .02em;
}

.member-nav .list-group-item.active,
.member-nav .list-group-item.bg-danger {
    background: linear-gradient(135deg, var(--site-red), var(--site-red-dark)) !important;
    border-color: var(--site-red-dark);
    color: #fff;
}

/* 数据卡片：整块可点击 */
.stat-tile {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    height: 100%;
    padding: .9rem 1rem;
    border: 1px solid var(--site-line);
    border-radius: .5rem;
    background-color: #fff;
    box-shadow: 0 2px 8px -4px rgba(16, 24, 40, .18);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.stat-tile:hover {
    transform: translateY(-2px);
    border-color: var(--site-red-line);
    box-shadow: 0 10px 22px -12px rgba(16, 24, 40, .4);
}

.stat-tile .stat-icon {
    color: var(--site-red);
    font-size: 1.1rem;
}

.stat-tile .stat-value {
    color: var(--site-ink);
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}

.stat-tile .stat-label {
    color: var(--site-slate);
    font-size: .8rem;
}

/* 快捷操作按钮 */
.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem .5rem;
    border: 1px solid var(--site-line);
    border-radius: .5rem;
    color: var(--bs-body-color);
    font-size: .875rem;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.quick-link .fa {
    color: var(--site-red);
}

.quick-link:hover {
    border-color: var(--site-red-line);
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

/* 推送渠道状态块 */
.channel-box {
    display: flex;
    align-items: center;
    gap: .6rem;
    height: 100%;
    padding: .6rem .75rem;
    border: 1px solid var(--site-line);
    border-radius: .5rem;
    background-color: #fcfdfe;
}

.channel-box > i {
    flex-shrink: 0;
    color: var(--site-red);
    font-size: 1.25rem;
}

/* 推荐关键词 */
.kw-chip {
    padding: .1rem .65rem;
    border: 1px solid var(--site-line);
    border-radius: 1rem;
    background-color: #fff;
    color: var(--bs-body-color);
    font-size: .8rem;
    line-height: 1.7;
}

.kw-chip:hover {
    border-color: var(--site-red-line);
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

/* 微信头像占位（无授权头像时） */
.wx-avatar {
    width: 40px;
    height: 40px;
}

/* ==========================================================================
   会员中心 · 统一视觉层
   作用于 .member-page：所有会员页共用侧栏、面板、表单与表格规范
   ========================================================================== */
.member-page {
    --m-line: var(--bd-color);
    --m-radius: var(--radius-md);
    --m-shadow: var(--site-shadow);
}

/* 面包屑 */
.member-page .breadcrumb {
    --bs-breadcrumb-divider: "›";
    --bs-breadcrumb-margin-bottom: 0;
}

.member-page .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #b6c1ce;
}

.member-page .breadcrumb .breadcrumb-item a {
    color: var(--site-slate);
}

.member-page .breadcrumb .breadcrumb-item.active {
    color: var(--site-ink);
    font-weight: 600;
}

/* 内页卡片：直接复用全站卡片与表单规范 */
.member-page .card-header {
    font-weight: 600;
}

.member-page .card-footer {
    background-color: var(--bs-tertiary-bg);
}

.member-page .card-header.title-bar::before {
    top: var(--sp-2);
    bottom: var(--sp-2);
    width: 3px;
}

.member-page .form-control,
.member-page .form-select {
    border-color: var(--bd-color);
    border-radius: var(--radius-sm);
}

.member-page .form-control:focus,
.member-page .form-select:focus {
    border-color: var(--site-red-line);
    box-shadow: 0 0 0 .2rem rgba(var(--site-red-rgb), .1);
}

.member-page .form-label {
    color: var(--site-slate);
}

.member-page .table td.bg-body-tertiary {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-secondary-color);
    font-size: var(--fs-xs);
}

/* ---------- 侧栏 ---------- */
.member-side {
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background-color: #fff;
    box-shadow: var(--m-shadow);
}

.member-side-title {
    display: flex;
    align-items: center;
    padding: .9rem 1.15rem;
    border-bottom: 1px solid var(--m-line);
    color: var(--site-ink);
    font-size: .95rem;
    font-weight: 600;
}

.member-side-title .fa {
    color: var(--site-red);
}

@media (min-width: 768px) {
    .member-page .col-md-3 > .member-side {
        position: sticky;
        top: 48px;
    }
}

.member-side-head {
    position: relative;
    padding: 1.45rem 1rem 1rem;
    border-radius: var(--m-radius) var(--m-radius) 0 0;
    background: linear-gradient(155deg, #2b3644 0%, #182230 72%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.member-side-head::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--site-red-rgb), .3), transparent 70%);
}

.member-side-avatar {
    position: relative;
    width: 64px;
    height: 64px;
    border: 3px solid rgba(255, 255, 255, .2);
    box-shadow: 0 0 0 4px rgba(var(--site-red-rgb), .25);
    font-size: 1.55rem;
}

.member-side-name {
    position: relative;
    margin: .7rem 0 .15rem;
    color: #fff;
    font-size: .98rem;
    font-weight: 600;
}

.member-side-greet {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .78rem;
}

.member-side-actions {
    position: relative;
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
}

.member-side-actions a {
    flex: 1;
    padding: .42rem .25rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .5rem;
    color: rgba(255, 255, 255, .88);
    font-size: .78rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.member-side-actions a:hover {
    background-color: rgba(255, 255, 255, .12);
    color: #fff;
}

.member-page .nav-group-title {
    padding: .8rem 1.15rem .35rem;
    border-bottom: 0;
    background-color: #fff;
    color: #9aa5b4;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.member-nav .list-group-item {
    position: relative;
    padding: .58rem 1.15rem;
    border: 0;
    color: var(--site-slate);
    font-size: .875rem;
}

.member-nav .list-group-item > .fa {
    width: 1.05rem;
    color: #a4aebc;
    font-size: .88rem;
    text-align: center;
}

.member-nav .list-group-item::after {
    content: "\f105";
    margin-left: auto;
    color: #ccd4df;
    font-family: FontAwesome;
    font-size: .8rem;
}

.member-nav .list-group-item:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

.member-nav .list-group-item:hover > .fa {
    color: var(--site-red);
}

.member-nav .list-group-item.is-current {
    background: linear-gradient(90deg, var(--site-red-soft), #fff 92%);
    color: var(--site-red);
    font-weight: 600;
}

.member-nav .list-group-item.is-current::before {
    content: "";
    position: absolute;
    top: .42rem;
    bottom: .42rem;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background-color: var(--site-red);
}

.member-nav .list-group-item.is-current > .fa,
.member-nav .list-group-item.is-current::after {
    color: var(--site-red);
}

.member-side-foot {
    padding: .9rem 1.15rem;
    border-top: 1px solid var(--m-line);
    border-radius: 0 0 var(--m-radius) var(--m-radius);
    background-color: #fafbfd;
    font-size: .76rem;
}

.member-side-foot-title {
    margin: 0 0 .3rem;
    color: var(--site-ink);
    font-weight: 600;
}

.member-side-foot-title .fa {
    color: var(--site-red);
}

.member-side-foot-tel {
    color: var(--site-slate);
    text-decoration: none;
}

.member-side-foot-tel:hover {
    color: var(--site-red);
}

.member-side-foot-time {
    margin: .2rem 0 0;
    color: #9aa5b4;
}

/* ---------- 账户概览 ---------- */
.member-hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem 1.5rem;
    padding: 1.4rem 1.5rem;
    border-radius: var(--m-radius);
    background: linear-gradient(118deg, #2b3644 0%, #182230 62%, #2b1a21 100%);
    color: #fff;
    box-shadow: var(--m-shadow);
    overflow: hidden;
}

.member-hero::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -50px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--site-red-rgb), .28), transparent 70%);
}

.member-hero-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    min-width: 0;
}

.member-hero-avatar {
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, .16);
    box-shadow: 0 0 0 5px rgba(var(--site-red-rgb), .2);
}

.member-hero-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin-bottom: .35rem;
}

.member-hero-name {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.member-level {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border: 1px solid rgba(223, 183, 105, .45);
    border-radius: 999px;
    background-color: rgba(191, 139, 44, .18);
    color: #f2d59a;
    font-size: .72rem;
    font-weight: 600;
}

.member-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1.3rem;
    margin: .25rem 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: .79rem;
}

.member-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.member-hero-meta i {
    color: rgba(255, 255, 255, .42);
}

.member-hero-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.member-btn-primary,
.member-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: .4rem .95rem;
    border-radius: .5rem;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.member-btn-primary {
    border: 1px solid var(--site-red);
    background-color: var(--site-red);
    color: #fff;
    box-shadow: 0 6px 16px -8px rgba(var(--site-red-rgb), .9);
}

.member-btn-primary:hover {
    background-color: var(--site-red-dark);
    border-color: var(--site-red-dark);
    color: #fff;
}

.member-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .26);
    background-color: rgba(255, 255, 255, .08);
    color: #fff;
}

.member-btn-ghost:hover {
    background-color: rgba(255, 255, 255, .16);
    color: #fff;
}

/* ---------- 数据概览 ---------- */
.metric-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 108px;
    padding: .9rem 1rem .8rem;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background-color: #fff;
    box-shadow: var(--m-shadow);
    text-decoration: none;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background-color: var(--metric-color);
}

.metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: .55rem;
    border-radius: .55rem;
    background-color: var(--metric-soft);
    color: var(--metric-color);
    font-size: .9rem;
}

.metric-value {
    color: var(--site-ink);
    font-size: 1.65rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.metric-label {
    margin-top: .18rem;
    color: var(--site-slate);
    font-size: .78rem;
}

.metric-arrow {
    position: absolute;
    right: .9rem;
    bottom: 1rem;
    color: #ccd4df;
    font-size: .78rem;
    transition: transform .15s ease, color .15s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: var(--metric-line);
    box-shadow: var(--site-shadow-hover);
}

.metric-card:hover .metric-arrow {
    transform: translateX(3px);
    color: var(--metric-color);
}

.metric-red   { --metric-color: #cf1f2e; --metric-soft: #fdf2f3; --metric-line: #f0d2d5; }
.metric-blue  { --metric-color: #2f6fdc; --metric-soft: #eef4ff; --metric-line: #cfdefc; }
.metric-teal  { --metric-color: #0f7b6c; --metric-soft: #eaf6f4; --metric-line: #c9e8e2; }
.metric-gold  { --metric-color: #bf8b2c; --metric-soft: #fdf7e9; --metric-line: #efdcb4; }

/* ---------- 通用面板 ---------- */
.member-panel {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--m-line);
    border-radius: var(--m-radius);
    background-color: #fff;
    box-shadow: var(--m-shadow);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 54px;
    padding: .75rem 1.15rem;
    border-bottom: 1px solid var(--m-line);
    border-radius: var(--m-radius) var(--m-radius) 0 0;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: var(--site-ink);
    font-size: .95rem;
    font-weight: 600;
}

.panel-title > .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: .4rem;
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-size: .72rem;
}

.panel-more,
.panel-subtitle {
    flex-shrink: 0;
    font-size: .76rem;
    white-space: nowrap;
}

.panel-more {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--site-slate);
    text-decoration: none;
}

.panel-more:hover {
    color: var(--site-red);
}

.panel-subtitle {
    color: #9aa5b4;
}

.panel-body {
    flex: 1;
    padding: 1.1rem 1.15rem;
}

.panel-body-flush {
    padding: 0;
}

.panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .7rem 1.15rem;
    border-top: 1px solid var(--m-line);
    border-radius: 0 0 var(--m-radius) var(--m-radius);
    background-color: #fbfcfe;
    color: var(--site-slate);
    font-size: .78rem;
}

.panel-foot a {
    color: var(--site-red);
    text-decoration: none;
}

.panel-foot-note {
    display: block;
    line-height: 1.6;
}

/* 空状态 */
.member-page .empty-state {
    padding: 1.4rem 1rem;
}

.empty-state-lg .empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #f4f6f9;
    color: #b6c1ce;
    font-size: 1.3rem;
}

.empty-state-lg .empty-icon i {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    opacity: 1;
}

.empty-title {
    margin: .8rem 0 .25rem;
    color: var(--site-slate);
    font-size: .9rem;
    font-weight: 600;
}

.empty-desc {
    margin: 0 0 .9rem;
    color: #9aa5b4;
    font-size: .78rem;
}

.member-btn-primary-outline {
    display: inline-block;
    padding: .32rem .8rem;
    border: 1px solid var(--site-red-line);
    border-radius: .45rem;
    background-color: #fff;
    color: var(--site-red);
    font-size: .78rem;
    text-decoration: none;
}

.member-btn-primary-outline:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red-dark);
}

/* 推送记录 */
.push-list li {
    padding: .7rem 1.15rem;
    border-bottom: 1px solid var(--m-line);
}

.push-list li:last-child {
    border-bottom: 0;
}

.push-list li:hover {
    background-color: #fbfcfe;
}

/* 推送渠道 */
.channel-list {
    margin: 0;
    padding: .3rem 0;
    list-style: none;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem 1.15rem;
}

.channel-item + .channel-item {
    border-top: 1px solid #f2f4f8;
}

.channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    font-size: .9rem;
}

.channel-icon-wechat { background-color: #eaf6ee; color: #1aad5b; }
.channel-icon-mail   { background-color: #eef4ff; color: #2f6fdc; }
.channel-icon-inbox  { background-color: #f2f4f8; color: #7a8798; }

.channel-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-right: auto;
}

.channel-text strong {
    color: var(--site-ink);
    font-size: .85rem;
    font-weight: 600;
}

.channel-text small {
    color: #9aa5b4;
    font-size: .72rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-pill.is-ok    { background-color: #eaf6ee; color: #1a7f45; }
.status-pill.is-muted { background-color: #f2f4f8; color: #7a8798; }

.status-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--site-red);
    font-size: .75rem;
    text-decoration: none;
    white-space: nowrap;
}

.status-link:hover {
    text-decoration: underline;
}

/* 快捷操作 */
.action-tile {
    display: flex;
    align-items: center;
    gap: .65rem;
    height: 100%;
    padding: .8rem .85rem;
    border: 1px solid var(--m-line);
    border-radius: .7rem;
    background-color: #fff;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: .6rem;
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-size: .9rem;
}

.action-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.action-text strong,
.action-text small {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.action-text strong {
    color: var(--site-ink);
    font-size: .85rem;
    font-weight: 600;
}

.action-text small {
    color: #9aa5b4;
    font-size: .72rem;
}

.action-tile > .fa-angle-right {
    margin-left: auto;
    color: #ccd4df;
    font-size: .8rem;
}

.action-tile:hover {
    transform: translateY(-2px);
    border-color: var(--site-red-line);
    background-color: var(--site-red-soft);
    box-shadow: var(--m-shadow);
}

/* 账号资料：描述列表 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.info-item {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: .7rem .9rem;
    border-bottom: 1px solid var(--m-line);
}

.info-item:nth-child(odd) {
    border-right: 1px solid var(--m-line);
}

.info-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.info-item dt {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 5.6rem;
    margin: 0;
    color: #8b95a3;
    font-size: .78rem;
    font-weight: 400;
}

.info-item dt .fa {
    width: .9rem;
    color: #b6c1ce;
}

.info-item dd {
    min-width: 0;
    margin: 0;
    color: var(--site-ink);
    font-size: .85rem;
    font-weight: 500;
    word-break: break-all;
}

/* 会员中心窄屏适配 */
@media (max-width: 991.98px) {
    .member-hero {
        padding: 1.15rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item:nth-child(odd) {
        border-right: 0;
    }

    .info-item:nth-last-child(2) {
        border-bottom: 1px solid var(--m-line);
    }
}

@media (max-width: 767.98px) {
    .member-side-head {
        padding: 1rem .85rem .85rem;
    }

    .member-side-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .member-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-page .nav-group-title {
        grid-column: 1 / -1;
    }

    .member-side-foot {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .2rem .8rem;
    }

    .member-side-foot p {
        margin: 0;
    }

    .member-hero-actions {
        width: 100%;
    }

    .member-hero-actions .btn {
        flex: 1;
    }
}

@media (max-width: 575.98px) {
    .member-hero-main {
        align-items: flex-start;
        gap: .8rem;
    }

    .member-hero-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .member-hero-name {
        font-size: 1.1rem;
    }

    .member-hero-meta {
        gap: .2rem .8rem;
        font-size: .74rem;
    }

    .metric-card {
        min-height: 100px;
        padding: .85rem;
    }

    .metric-value {
        font-size: 1.35rem;
    }

    .panel-head,
    .panel-body,
    .panel-foot {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .action-tile {
        padding: .65rem;
    }

    .action-text small {
        display: none;
    }

    .info-item {
        padding: .65rem .5rem;
    }
}

/* 推送记录：命中标题列 */
.push-titles-cell {
    min-width: 220px;
}

.push-title-line {
    max-width: 340px;
}

/* 省市区三联下拉：插件生成三个纵向 select，这里改为并排一行 */
#citylist {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

#citylist select {
    flex: 1 1 0;
    min-width: 6rem;
    margin-bottom: 0 !important;
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    .list-hover .list-group-item,
    .hover-lift,
    .service-entry,
    .stat-tile,
    .side-link,
    .site-nav .nav-link::after {
        transition: none;
    }

    .hover-lift:hover,
    .service-entry:hover,
    .stat-tile:hover,
    .list-hover .list-group-item:hover .fa-angle-double-right {
        transform: none;
    }
}

/* 弹窗与下拉统一白底 */
.modal {
    --bs-modal-bg: #fff;
}

.dropdown-menu {
    --bs-dropdown-bg: #fff;
}

/* ==========================================================================
   移动端适配（公众号内置浏览器）
   ========================================================================== */
/* 平板宽度下 10 个栏目会挤出行，先收紧导航内边距 */
@media (min-width: 768px) and (max-width: 991.98px) {
    .site-nav .nav-link {
        padding: .72rem .1rem;
        font-size: .84rem;
        letter-spacing: 0;
    }

    /* Bootstrap 的 .navbar-expand-md .navbar-nav .nav-link 会锁 8px 左右内边距，
       10 等分后最宽栏目会溢出，这里用更高优先级归零 */
    .site-nav .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }

    .site-nav .nav-link:hover::after,
    .site-nav .nav-link.active::after {
        right: .2rem;
        left: .2rem;
    }
}

@media (max-width: 767.98px) {
    /* 顶栏：窄屏只保留账号入口，避免欢迎语被截断 */
    .site-topbar {
        font-size: .8rem;
    }

    .site-topbar .container {
        justify-content: center;
        gap: .5rem;
        min-height: 38px;
    }

    .site-topbar .container > span {
        display: none;
    }

    .site-topbar a {
        padding: .15rem 0;
    }

    /* 头部：Logo 与热线同一行，搜索独占一行 */
    .brand-logo {
        max-height: 42px;
    }

    .site-header .site-hotline {
        gap: .35rem;
    }

    .site-hotline > .fa {
        display: none;
    }

    .site-hotline {
        justify-content: flex-end;
    }

    .site-hotline .label {
        display: none;
    }

    .site-hotline strong {
        font-size: .9rem;
        white-space: nowrap;
    }

    .site-datacount {
        display: none;
    }

    .site-search .form-select,
    .site-search .form-control,
    .site-search .btn {
        height: 42px;
    }

    .site-search .form-select {
        max-width: 110px;
        padding-left: .35rem;
        font-size: 16px;
    }

    .site-search .form-control {
        font-size: 16px;
    }

    .site-search .btn {
        min-width: 70px;
        font-size: .88rem;
    }

    .site-hotwords {
        flex-wrap: nowrap;
        margin-top: .35rem;
        padding-bottom: .1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-hotwords::-webkit-scrollbar {
        display: none;
    }

    .site-hotwords > * {
        flex: 0 0 auto;
    }

    .site-hotwords .hotwords-more {
        margin-left: .2rem;
    }

    /* 首页服务入口：两列时保留副标题 */
    .service-entry .service-entry-copy span {
        display: block;
        font-size: .72rem;
    }

    /* 导航：两列网格，展开后不用长距离滚动 */
    .site-nav .navbar-toggler {
        margin: .35rem 0;
        padding: .35rem .55rem;
    }

    .site-nav .navbar-collapse {
        padding: .35rem 0 .55rem;
    }

    .site-nav .navbar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .3rem .5rem;
    }

    .site-nav .nav-item + .nav-item .nav-link {
        box-shadow: none;
    }

    .site-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: .55rem .8rem;
        border-radius: .35rem;
        font-size: .92rem;
    }

    .site-nav .nav-link::after {
        display: none;
    }

    .site-nav .nav-link.active {
        background-color: rgba(0, 0, 0, .18);
        box-shadow: inset 3px 0 0 #fff;
    }

    /* 两栏页面：正文在前、侧栏在后 */
    main .row > aside.col-12.col-md-3 {
        order: 2;
    }

    main .row > .col-12.col-md-9 {
        order: 1;
    }

    /* 面包屑单行省略，长标题不再占三行 */
    .breadcrumb {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .breadcrumb-item {
        white-space: nowrap;
    }

    .breadcrumb-item.active {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 列表行加大可点区域 */
    .list-hover > .list-group-item {
        padding-top: .55rem;
        padding-bottom: .55rem;
    }

    .list-hover > .list-group-item > a.d-flex {
        min-height: 44px;
        margin: -.55rem -1rem;
        padding: .55rem 1rem;
    }

    .card-header .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .card-header .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .card-header .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    .card-header .nav-link {
        padding: .4rem .6rem;
        white-space: nowrap;
    }

    /* 表单：16px 防止 iOS 聚焦时自动放大 */
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px;
    }

    .form-control-sm,
    .form-select-sm {
        min-height: 40px;
    }

    .col-form-label,
    .form-label {
        font-size: .88rem;
    }

    .btn:not(.btn-link):not(.btn-close) {
        min-height: 42px;
    }

    .btn-sm:not(.btn-link):not(.btn-close) {
        min-height: 38px;
    }

    /* 检索条件标签加大触控面积 */
    .choice-group .form-check-label {
        padding: .38rem .85rem;
    }

    /* 详情页排版 */
    .doc-title {
        padding-bottom: .75rem;
        font-size: 1.2rem;
        line-height: 1.55;
        text-align: left;
    }

    .doc-meta {
        justify-content: flex-start;
        gap: .3rem .9rem;
        margin-bottom: 1rem;
        font-size: .78rem;
    }

    .article-body {
        font-size: .96rem;
        line-height: 1.85;
    }

    .contact-block {
        padding: .75rem .85rem;
    }

    .login-guard {
        padding: 1.25rem .9rem;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: .3rem;
    }

    /* 页脚 */
    .site-footer .footer-links a {
        display: inline-block;
        padding: .2rem 0;
    }

    .site-footer .footer-links a,
    .site-footer .footer-contact li {
        line-height: 1.9;
    }

    /* 回到顶部避开 iPhone 底部安全区 */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 359.98px) {
    .brand-logo {
        max-height: 36px;
    }

    .site-hotline > .fa {
        display: none;
    }

    .site-hotline strong {
        font-size: .82rem;
    }

    .site-search .form-select {
        max-width: 100px;
        padding-left: .25rem;
    }

    .site-search .btn {
        min-width: 60px;
    }

    .site-search .btn .fa {
        display: none;
    }

    .card-header .nav-link {
        padding: .35rem .45rem;
        font-size: .82rem;
    }

    .card-header .ms-2.flex-shrink-0 {
        display: none;
    }

    .service-entry {
        gap: .5rem;
        padding: .65rem .6rem;
    }

    .service-entry .service-entry-icon {
        width: 2rem;
        height: 2rem;
        font-size: .95rem;
    }

    .service-entry .service-entry-copy strong {
        font-size: .86rem;
    }

    .service-entry .service-entry-copy span {
        display: none;
    }
}

/* ==========================================================================
   首页结构与细节优化（保持现有功能与区块不变）
   ========================================================================== */
.service-entry-grid {
    gap: .85rem;
}

.service-entry {
    min-height: 76px;
    padding: .9rem 1rem;
}

.service-entry .service-entry-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: .65rem;
}

.service-entry .service-entry-copy strong {
    font-size: .95rem;
}

/* 中等宽度下四列仍能容纳副标题，不必提前隐藏 */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .service-entry .service-entry-copy span {
        display: block;
        font-size: .7rem;
        line-height: 1.4;
    }
}

/* 行业分类小格：增加可点击质感 */
.industry-chip {
    padding: .38rem .35rem;
    border: 1px solid transparent;
}

.industry-chip:hover {
    border-color: var(--site-red-line);
    transform: translateY(-1px);
}

/* 城市导航：由表格改为紧凑的两段式列表，减少同排卡片底部空白 */
.city-nav {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.city-nav-row {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .4rem .25rem;
    border-bottom: 1px dashed #eef1f4;
}

.city-nav-row:last-child {
    border-bottom: 0;
}

.city-nav-label {
    color: var(--site-red);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.city-nav-label:hover {
    color: var(--site-red-deep);
}

.city-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .55rem;
    min-width: 0;
}

.city-nav-links a {
    color: var(--site-slate);
    text-decoration: none;
    white-space: nowrap;
}

.city-nav-links a:hover {
    color: var(--site-red);
}

/* 合作单位 / 友情链接：缩小字号并加分隔线，换行更整齐 */
.link-cloud {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    row-gap: .3rem;
    line-height: 1.7;
}

.link-cloud a {
    position: relative;
    color: var(--site-slate);
    text-decoration: none;
}

.link-cloud a::after {
    content: "";
    position: absolute;
    top: .55em;
    right: -.7rem;
    width: 1px;
    height: .7em;
    background-color: var(--site-line);
}

.link-cloud a:last-child::after {
    display: none;
}

.link-cloud a:hover {
    color: var(--site-red);
}

@media (max-width: 575.98px) {
    .service-entry {
        min-height: 68px;
    }

    .link-cloud {
        column-gap: .9rem;
    }

    .link-cloud a::after {
        right: -.5rem;
    }
}

/* 中等宽度下城市导航列较窄，收紧排版避免同排卡片被撑得过高 */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .city-nav-row {
        gap: .4rem;
        padding: .3rem .15rem;
    }

    .city-nav-links {
        gap: .18rem .35rem;
        font-size: .8rem;
    }
}

/* ==========================================================================
   首页行业分类 / 会员卡细节升级
   通用类名：industry-*、member-*，样式优先使用 Bootstrap 工具类
   ========================================================================== */
.industry-panel {
    border-right: 0;
    background: linear-gradient(160deg, var(--site-red-soft) 0%, #fff 100%);
    color: var(--site-red);
}

.industry-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: .55rem;
    background: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
    box-shadow: 0 6px 14px -8px rgba(var(--site-red-rgb), .9);
    color: #fff;
    font-size: .95rem;
}

.industry-grid .industry-tile {
    padding: .45rem .5rem;
    border: 1px solid var(--site-line);
    border-radius: .45rem;
    background-color: #fff;
    color: var(--site-slate);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.industry-grid .industry-tile:hover {
    border-color: var(--site-red-line);
    background-color: var(--site-red-soft);
    box-shadow: var(--site-shadow);
    color: var(--site-red);
    transform: translateY(-1px);
}

.industry-tile-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: .4rem;
    background-color: #f4f6f9;
    color: var(--site-red);
    font-size: .78rem;
    transition: background-color .18s ease, color .18s ease;
}

.industry-tile:hover .industry-tile-icon {
    background-color: var(--site-red);
    color: #fff;
}

.member-card {
    transition: box-shadow .2s ease, transform .2s ease;
}

.member-card:hover {
    box-shadow: var(--site-shadow-hover);
    transform: translateY(-1px);
}

.homepage-layout {
    display: grid;
    grid-template-columns: calc((100% - 1rem) * .25 - .5rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.industry-nav-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.industry-nav-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    padding: .5rem .5rem .6rem;
}

.industry-nav-grid {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 44px;
    align-content: space-around;
    gap: .1rem .1rem;
}

.industry-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: .22rem;
    padding: .2rem .12rem;
    border-radius: .3rem;
    color: var(--site-slate);
    font-size: .72rem;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.industry-nav-item:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

.industry-nav-item i {
    flex: 0 0 .85rem;
    width: .85rem;
    font-size: .8rem;
}

.industry-nav-item span {
    line-height: 1.15;
    white-space: nowrap;
}

.industry-nav-item:nth-child(4n+1) i { color: #2f9e6d; }
.industry-nav-item:nth-child(4n+2) i { color: #e74c3c; }
.industry-nav-item:nth-child(4n+3) i { color: #e67e22; }
.industry-nav-item:nth-child(4n) i { color: #3498db; }

@media (max-width: 991.98px) {
    .homepage-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .homepage-main,
    .industry-nav-col {
        min-width: 0;
    }

    .industry-nav-body {
        flex: 0 0 auto;
    }

    .industry-nav-grid {
        grid-auto-rows: auto;
        align-content: start;
    }

    .industry-nav-col {
        order: 2;
    }

    .homepage-main {
        order: 1;
    }
}

.member-main {
    gap: .65rem;
    padding: 1.1rem 0;
}

.member-head {
    gap: .75rem;
    padding: 0 1rem;
}

.member-head-avatar {
    width: 3.1rem;
    height: 3.1rem;
    box-shadow: 0 0 0 4px rgba(var(--site-red-rgb), .1), 0 8px 18px -10px rgba(var(--site-red-rgb), .9);
    font-size: 1.25rem;
}

.member-watermark {
    position: absolute;
    right: -.6rem;
    bottom: -1.6rem;
    color: rgba(var(--site-red-rgb), .05);
    font-size: 7rem;
    line-height: 1;
    pointer-events: none;
    transform: rotate(-12deg);
}

.member-name {
    font-size: .95rem;
}

.member-tip {
    font-size: .75rem;
}

/* 会员卡片：等级 / 有效期 / 累计登录次数 */
.member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .9rem;
    margin: .55rem 1rem 0;
    padding-top: .55rem;
    border-top: 1px dashed rgba(var(--site-red-rgb), .18);
    font-size: .75rem;
    color: #6c757d;
}

.member-meta span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.member-meta i {
    color: rgba(var(--site-red-rgb), .85);
}

/* 广告位占位色块（psmart_ad 广告数据已下线，留位待填充） */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(var(--site-red-rgb), .25);
    border-radius: .75rem;
    background: repeating-linear-gradient(135deg, #fdf5f5, #fdf5f5 12px, #fbe9e9 12px, #fbe9e9 24px);
    color: rgba(var(--site-red-rgb), .55);
    font-size: .8125rem;
    letter-spacing: .1em;
    user-select: none;
}

.ad-slot-hero {
    min-height: 320px;
    font-size: 1rem;
}

/* 首页招投标宣传轮播：纯 CSS 自动切换，无脚本依赖 */
.promo-carousel {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: .75rem;
    background: #e9eef5;
    box-shadow: 0 6px 20px rgba(23, 43, 77, .08);
}

.promo-track {
    display: flex;
    width: 300%;
    height: 100%;
}

.promo-slide {
    position: relative;
    display: flex;
    flex: 0 0 33.3333%;
    flex-direction: column;
    justify-content: center;
    gap: .9rem;
    width: 33.3333%;
    min-height: 240px;
    padding: 1.6rem 2.2rem;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.promo-slide::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -90px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 68%);
}

.promo-slide::after {
    content: "";
    position: absolute;
    right: 42px;
    bottom: -80px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(255, 255, 255, .06), 0 0 0 52px rgba(255, 255, 255, .04);
}

.promo-slide-1 { background: linear-gradient(120deg, #1e6fd9 0%, #1656ad 55%, #0f3f86 100%); }
.promo-slide-2 { background: linear-gradient(120deg, #0f8f83 0%, #16baaa 55%, #0d7b70 100%); }
.promo-slide-3 { background: linear-gradient(120deg, #d92f3f 0%, #a51f31 55%, #6f1424 100%); }

.promo-tag {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    padding: .25rem .7rem;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .14);
    font-size: .75rem;
    letter-spacing: .08em;
}

.promo-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    max-width: 34rem;
}

.promo-copy strong {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .5px;
}

.promo-copy span {
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    line-height: 1.7;
}

.promo-btn {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    background-color: #fff;
    color: #1f3b5c;
    font-size: .85rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.promo-slide-2 .promo-btn { color: #0f6d63; }
.promo-slide-3 .promo-btn { color: #9d1d2c; }
.promo-btn .fa { transition: transform .2s ease; }
.promo-slide:hover .promo-btn .fa { transform: translateX(3px); }

.promo-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}

@media (max-width: 575.98px) {
    .promo-carousel,
    .promo-slide { min-height: 195px; }
    .promo-slide { padding: 1.2rem 1.2rem; }
    .promo-copy strong { font-size: 1.3rem; }
    .promo-copy span { font-size: .85rem; }
}

.ad-slot-banner {
    min-height: 100px;
}

.ad-slot-card {
    min-height: 200px;
}

.ad-slot-side {
    min-height: 180px;
}

.ad-slot-square {
    aspect-ratio: 4 / 3;
    min-height: 120px;
}

.ad-slot-strip {
    min-height: 60px;
}

.member-cta {
    padding: 0 1rem;
}

.member-cta .btn {
    font-size: .82rem;
}

.member-links a {
    padding: .65rem 1rem;
}

.member-link-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: .4rem;
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-size: .8rem;
    transition: background-color .18s ease, color .18s ease;
}

.member-links a:hover .member-link-icon {
    background-color: var(--site-red);
    color: #fff;
}

@media (max-width: 575.98px) {
    .member-watermark {
        right: -.4rem;
        bottom: -1rem;
        font-size: 5rem;
    }
}

/* ==========================================================================
   全站设计规则：字号 / 行高 / 间距 / 边框统一令牌
   优先使用 Bootstrap 组件类；此处只做令牌声明与全局归一化
   ========================================================================== */
:root {
    /* 字号阶梯 */
    --fs-2xs: .7rem;
    --fs-xs: .75rem;
    --fs-sm: .82rem;
    --fs-base: .9rem;
    --fs-md: 1rem;
    --fs-lg: 1.2rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.8rem;

    /* 行高阶梯 */
    --lh-tight: 1.3;
    --lh-base: 1.6;
    --lh-loose: 1.8;

    /* 间距阶梯 */
    --sp-1: .25rem;
    --sp-2: .5rem;
    --sp-3: .75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;

    /* 边框与圆角 */
    --bd-color: var(--site-line);
    --bd-thin: 1px solid var(--bd-color);
    --radius-sm: .35rem;
    --radius-md: var(--site-radius);
    --radius-lg: .9rem;
}

/* 基础文字：正文、标题、辅助文本统一节奏 */
body.site-body {
    font-size: var(--fs-base);
    line-height: var(--lh-base);
}

.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4,
.site-body h5,
.site-body h6 {
    line-height: var(--lh-tight);
    margin-bottom: var(--sp-3);
}

.site-body h1 { font-size: var(--fs-2xl); }
.site-body h2 { font-size: var(--fs-xl); }
.site-body h3 { font-size: var(--fs-lg); }
.site-body h4 { font-size: var(--fs-md); }
.site-body h5,
.site-body h6 { font-size: var(--fs-base); }

.site-body p {
    line-height: var(--lh-base);
    margin-bottom: var(--sp-3);
}

.site-body small,
.site-body .small,
.site-body .fs-sm {
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

/* 组件文字与内边距对齐 */
.site-body .card-header {
    font-size: var(--fs-md);
    line-height: var(--lh-tight);
    padding: var(--sp-3) var(--sp-4);
}

.site-body .list-group-item,
.site-body .table,
.site-body .breadcrumb {
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

.site-body .btn,
.site-body .form-control,
.site-body .form-select {
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    border-radius: var(--radius-sm);
}

.site-body .badge {
    font-size: var(--fs-2xs);
    font-weight: 600;
}

/* 边框与圆角只做统一，不改变组件结构 */
.site-body .card,
.site-body .list-group-item,
.site-body .table,
.site-body .form-control,
.site-body .form-select,
.site-body .nav-tabs {
    border-color: var(--bd-color);
}

.site-body .card {
    border-radius: var(--radius-md);
}

/* 交互反馈统一 */
.site-body .btn,
.site-body a,
.site-body .list-group-item-action {
    transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/* 页脚链接统一补一个细箭头图标，无需逐个改模板 */
.site-footer .footer-links a::before {
    content: "\f105";
    display: inline-block;
    margin-right: var(--sp-2);
    color: var(--site-red);
    font-family: FontAwesome;
    font-size: var(--fs-2xs);
    opacity: .65;
}

.site-footer .footer-links a:hover::before {
    opacity: 1;
}

/* 城市导航补图标后给标签留出稳定宽度 */
.city-nav-label {
    flex-basis: 3.8rem;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .city-nav-label {
        flex-basis: 3.2rem;
        font-size: .8rem;
    }
}

@media (max-width: 575.98px) {
    .city-nav-label {
        flex-basis: 3.1rem;
        font-size: .85rem;
    }
}

/* 城市导航只展示省级入口：固定四列紧凑网格 */
.city-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .1rem .15rem;
}

.city-nav-row {
    display: block;
    padding: .2rem 0;
    border-bottom: 0;
}

.city-nav-label {
    display: block;
    padding: .3rem .15rem;
    border-radius: 5px;
    flex-basis: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: .82rem;
    font-weight: 400;
    transition: background-color .15s, color .15s;
}

.city-nav-label:hover {
    background: #fff4f4;
    color: var(--site-red-deep);
}

/* ==========================================================================
   首页公告 Tab 与列表
   保持 nav-tabs / list-unstyled 等 Bootstrap 结构，只做主题化与节奏统一
   ========================================================================== */
.notice-tabs {
    flex-wrap: nowrap;
    min-width: 0;
    margin: 0;
    border-bottom: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.notice-tabs::-webkit-scrollbar {
    display: none;
}

.notice-tabs .nav-item {
    flex: 0 0 auto;
}

.notice-tabs .nav-link {
    padding: var(--sp-1) var(--sp-2);
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--site-slate);
    font-size: var(--fs-sm);
    line-height: var(--lh-tight);
    white-space: nowrap;
}

.notice-tabs .nav-link:hover {
    background-color: var(--bs-tertiary-bg);
    color: var(--site-red);
}

.notice-tabs .nav-link.active {
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-weight: 600;
}

.notice-list {
    padding-top: var(--sp-1);
    padding-bottom: var(--sp-1);
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

.notice-item {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: var(--sp-2) var(--sp-3);
    border-bottom: 1px dashed var(--bd-color);
    border-radius: var(--radius-sm);
    transition: background-color .15s ease;
}

.notice-item:last-child {
    border-bottom: 0;
}

.notice-item:hover {
    background-color: var(--site-red-soft);
}

.notice-item-icon {
    flex: 0 0 auto;
    color: #b7c0cc;
    font-size: var(--fs-2xs);
    transition: color .15s ease;
}

.notice-item:hover .notice-item-icon {
    color: var(--site-red);
}

.notice-item > a {
    flex: 1 1 auto;
    display: block;
    min-width: 0;
}

.notice-item > a:hover {
    color: var(--site-red);
}

.notice-item-date {
    flex: 0 0 auto;
    font-size: var(--fs-2xs);
    font-variant-numeric: tabular-nums;
}

/* 卡片被同排侧栏撑高时，公告条目均分剩余高度，避免卡片底部留白 */
.notice-card > .card-body {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.notice-card > .card-body > .tab-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.notice-card .tab-pane.active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.notice-card .notice-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-top: 0;
    padding-bottom: 0;
}

.notice-card .notice-item {
    flex: 1 1 auto;
}

/* 列表卡底部“查看更多”条：补足卡片高度，让同排各行行高一致 */
.card-more-link {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    height: 2.2rem;
    border-top: 1px dashed var(--bd-color);
    color: var(--site-slate);
    font-size: var(--fs-xs);
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

.card-more-link:hover {
    color: var(--site-red);
    background-color: var(--site-red-soft);
}

/* ==========================================================================
   全站共用组件基类
   认证页只加载 auth.css，不加载本文件，因此不会受以下规则影响
   ========================================================================== */
.site-card {
    border: 0;
    border-radius: var(--radius-md);
    background-color: #fff;
    box-shadow: var(--site-shadow);
}

.site-card-head {
    padding: var(--sp-3) var(--sp-4);
    border-bottom: var(--bd-thin);
    background-color: #fff;
    font-size: var(--fs-md);
    line-height: var(--lh-tight);
}

.site-list {
    font-size: var(--fs-sm);
    line-height: var(--lh-base);
}

.site-list .list-group-item {
    position: relative;
    transition: background-color .15s ease;
}

.site-list .list-group-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background-color: transparent;
    transition: background-color .15s ease;
}

.site-list .list-group-item:hover {
    background-color: var(--site-red-soft);
}

.site-list .list-group-item:hover::before {
    background-color: var(--site-red);
}

.site-list .list-group-item a {
    transition: color .15s ease;
}

.site-list .list-group-item a:hover {
    color: var(--site-red) !important;
}

/* 标题占满剩余宽度后由 text-truncate 省略，日期/图标保持原宽 */
.site-list .list-group-item > a {
    min-width: 0;
}

.site-list .list-group-item > a.text-truncate {
    flex: 1 1 auto;
}

.site-list .list-group-item > .text-nowrap {
    flex: 0 0 auto;
}

.site-list .fa-angle-double-right {
    color: #c6cdd7 !important;
    transition: transform .15s ease, color .15s ease;
}

.site-list .list-group-item:hover .fa-angle-double-right {
    transform: translateX(2px);
    color: var(--site-red) !important;
}

.site-list .fa-download,
.site-list .fa-book {
    opacity: .55;
    transition: opacity .15s ease, color .15s ease;
}

.site-list .list-group-item:hover .fa-download,
.site-list .list-group-item:hover .fa-book {
    opacity: 1;
    color: var(--site-red) !important;
}

.site-list .list-group-item .text-body-secondary {
    font-variant-numeric: tabular-nums;
}

.site-body .btn:not(.btn-sm):not(.btn-link):not(.btn-close) {
    min-height: 38px;
    padding: var(--sp-2) var(--sp-4);
}

/* ==========================================================================
   首页首屏两块统一视觉：轮播 / 会员卡
   统一为深墨蓝底 + 品牌红强调 + 白色半透明图标容器
   ========================================================================== */
.promo-slide,
.promo-slide-1,
.promo-slide-2,
.promo-slide-3 {
    background: linear-gradient(120deg, var(--site-ink) 0%, var(--site-ink-2) 58%, #0e1620 100%);
}

.promo-slide::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: radial-gradient(65% 110% at 100% 0%, rgba(var(--site-red-rgb), .26), rgba(var(--site-red-rgb), 0) 62%);
    pointer-events: none;
}

.promo-slide::after {
    display: none;
}

.promo-emblem {
    position: absolute;
    top: 50%;
    right: clamp(1.5rem, 5vw, 3rem);
    z-index: 1;
    display: grid;
    place-items: center;
    width: clamp(5.5rem, 14vw, 8rem);
    height: clamp(5.5rem, 14vw, 8rem);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.25rem;
    background-color: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 40px -24px rgba(0, 0, 0, .7);
    color: rgba(255, 255, 255, .9);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    transform: translateY(-50%);
    pointer-events: none;
}

.promo-copy {
    max-width: 58%;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-color: rgba(255, 255, 255, .28);
    background-color: rgba(255, 255, 255, .1);
}

.promo-tag::before {
    content: "";
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background-color: var(--site-red);
    box-shadow: 0 0 0 3px rgba(var(--site-red-rgb), .25);
}

.promo-btn {
    background-image: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
    color: #fff;
    box-shadow: 0 10px 22px -12px rgba(var(--site-red-rgb), .95);
}

.promo-slide-2 .promo-btn,
.promo-slide-3 .promo-btn {
    color: #fff;
}

.member-card {
    border-top: 3px solid var(--site-red);
}

.member-main {
    background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
}

.member-head-avatar {
    border-radius: .75rem;
    box-shadow: 0 0 0 4px rgba(var(--site-red-rgb), .1), 0 10px 20px -12px rgba(var(--site-red-rgb), .9);
}

.member-name .badge {
    border: 1px solid var(--site-red-line);
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-weight: 600;
}

.member-cta .btn {
    min-height: 2.4rem;
    border-radius: .55rem;
    font-size: .82rem;
    font-weight: 600;
}

.member-cta .btn-danger {
    border-color: transparent;
    background-image: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
    box-shadow: 0 10px 20px -12px rgba(var(--site-red-rgb), .95);
}

.member-cta .btn-outline-danger {
    border-color: var(--site-red-line);
    background-color: #fff;
    color: var(--site-red);
}

.member-cta .btn-outline-danger:hover {
    border-color: var(--site-red);
    background-color: var(--site-red-soft);
    color: var(--site-red-dark);
}

@media (max-width: 767.98px) {
    .promo-emblem {
        display: none;
    }

    .promo-copy {
        max-width: 100%;
    }
}

/* 统一视觉后文案换行增多，收紧排版让首屏仍维持 240px 高度 */
.promo-slide {
    gap: .6rem;
}

.promo-copy {
    max-width: 62%;
    gap: .35rem;
}

.promo-copy strong {
    font-size: 1.55rem;
}

.promo-copy span {
    font-size: .85rem;
    line-height: 1.45;
}

.promo-btn {
    padding: .42rem .95rem;
    font-size: .8rem;
}

@media (max-width: 767.98px) {
    .promo-copy {
        max-width: 100%;
    }

    .promo-copy strong {
        font-size: 1.3rem;
    }

    .promo-copy span {
        font-size: .8rem;
    }
}

/* ==========================================================================
   首页项目市场数据看板：指标卡 + 柱状趋势 + 城市热度
   ========================================================================== */
.home-data-card {
    overflow: hidden;
    border-top: 3px solid var(--site-red);
}

.home-data-body {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(220px, .8fr);
    gap: 1rem;
    padding: .9rem;
}

.home-data-main {
    min-width: 0;
}

.home-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .6rem;
}

.home-metric {
    padding: .65rem .75rem;
    border: 1px solid var(--site-red-line);
    border-radius: .55rem;
    background: linear-gradient(135deg, #fff7f8, #fff);
}

.home-metric-label {
    display: flex;
    align-items: center;
    gap: .3rem;
    color: var(--site-slate);
    font-size: .72rem;
}

.home-metric-label i {
    color: var(--site-red);
}

.home-metric strong {
    display: block;
    margin-top: .2rem;
    color: var(--site-red);
    font-size: 1.35rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.home-metric small {
    margin-left: .15rem;
    color: var(--site-slate);
    font-size: .7rem;
    font-weight: 500;
}

.home-bar-panel {
    margin-top: .75rem;
    padding: .7rem .8rem .55rem;
    border: 1px solid var(--site-line);
    border-radius: .6rem;
    background: #f8fafc;
}

.home-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .3rem;
    height: 110px;
    padding: 0 .2rem;
    border-bottom: 1px solid #dfe5ec;
}

.home-bar {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.home-bar i {
    display: block;
    width: 58%;
    max-width: 22px;
    height: var(--h);
    border-radius: .25rem .25rem 0 0;
    background: linear-gradient(180deg, #f0a23b, #f47c20);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45);
}

.home-bar.is-peak i {
    background: linear-gradient(180deg, #ffb347, #f06c12);
}

.home-bar em {
    position: absolute;
    bottom: -1.15rem;
    color: #8a95a5;
    font-size: .62rem;
    font-style: normal;
}

.home-bar-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 1.4rem;
    color: var(--site-slate);
    font-size: .72rem;
}

.home-bar-foot i {
    color: var(--site-red);
}

.home-data-side {
    padding: .8rem;
    border: 1px solid var(--site-line);
    border-radius: .6rem;
    background: #fff;
}

@media (max-width: 991.98px) {
    .home-data-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .home-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-bar-chart {
        height: 90px;
    }

    .home-bar em {
        font-size: .55rem;
    }
}

/* 首页市场数据看板右侧：热搜榜 TOP10 */
.hot-rank-list {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin-top: .5rem;
}

.hot-rank-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .15rem;
    border-bottom: 1px dashed var(--site-line);
    color: var(--site-slate);
    font-size: .75rem;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

.hot-rank-item:last-child {
    border-bottom: 0;
}

.hot-rank-item:hover {
    background-color: var(--site-red-soft);
    color: var(--site-red);
}

.hot-rank-num {
    flex: 0 0 1.35rem;
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: .35rem;
    background-color: #e9edf2;
    color: #8a95a5;
    font-size: .72rem;
    font-weight: 700;
}

.hot-rank-item.rank-1 .hot-rank-num { background-color: #e74c3c; color: #fff; }
.hot-rank-item.rank-2 .hot-rank-num { background-color: #f39c12; color: #fff; }
.hot-rank-item.rank-3 .hot-rank-num { background-color: #f5b041; color: #fff; }

.hot-rank-title {
    flex: 1 1 auto;
    min-width: 0;
}

/* 首页末尾不留大块空白：只收紧首页 main 与页脚之间的间距 */
.home-main {
    padding-top: 1rem;
    padding-bottom: .5rem;
}

.home-main + .site-footer {
    margin-top: 0;
}

/* 市场数据与热搜榜拆成两张独立卡片，和首页其它楼层一致 */
.home-data-body {
    display: block;
}

.home-data-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-bar-panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.home-bar-chart {
    flex: 1 1 auto;
    min-height: 180px;
}

.home-data-side {
    padding: .5rem .8rem .8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.hot-rank-head {
    padding: .75rem .8rem .5rem;
}

/* 通用栏目头部：栏目名与右侧入口拉开字号层级 */
.card-header.title-bar > span:first-child {
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.card-header.title-bar > a,
.card-header.title-bar > span:not(:first-child) {
    font-size: .75rem;
    font-weight: 400;
}

/* 市场数据卡：补充城市 / 行业 / 7日趋势三组紧凑图表 */
.home-data-extra {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .75rem;
}

.home-data-extra-panel {
    padding: .6rem;
    border: 1px solid var(--site-line);
    border-radius: .6rem;
    background-color: #fff;
}

.home-data-extra-head {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--site-ink);
    font-size: .82rem;
    font-weight: 600;
}

.home-data-extra-head i {
    color: var(--site-red);
    font-size: .85rem;
}

.home-data-extra-head span {
    margin-left: auto;
    padding: .08rem .35rem;
    border-radius: 999px;
    background-color: var(--site-red-soft);
    color: var(--site-red);
    font-size: .62rem;
    font-weight: 500;
}

.city-mini-bars {
    display: flex;
    align-items: flex-end;
    gap: .25rem;
    height: 72px;
    margin-top: .5rem;
}

.city-mini-bar {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.city-mini-bar i {
    display: block;
    width: 70%;
    max-width: 16px;
    height: var(--h);
    border-radius: .2rem .2rem 0 0;
    background: linear-gradient(180deg, #8ab4f8, #5b7cf0);
}

.city-mini-bar em {
    margin-top: .25rem;
    color: var(--site-slate);
    font-size: .58rem;
    font-style: normal;
    white-space: nowrap;
}

.donut-wrap {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .5rem;
}

.mini-donut {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: conic-gradient(#4caf50 0 32%, #2196f3 32% 56%, #ff9800 56% 74%, #9c6ade 74% 89%, #ffd54f 89% 100%);
}

.mini-donut::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background-color: #fff;
}

.donut-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .15rem .35rem;
    min-width: 0;
    color: var(--site-slate);
    font-size: .62rem;
}

.donut-legend span {
    display: flex;
    align-items: center;
    gap: .25rem;
    white-space: nowrap;
}

.donut-legend i {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background-color: var(--c);
}

.trend-svg {
    display: block;
    width: 100%;
    height: 70px;
    margin-top: .5rem;
}

.trend-grid {
    fill: none;
    stroke: #eef1f5;
    stroke-width: 1;
}

.trend-line {
    fill: none;
    stroke: #f47c20;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trend-labels {
    display: flex;
    justify-content: space-between;
    color: var(--site-slate);
    font-size: .58rem;
}

.home-data-main .home-bar-chart {
    min-height: 110px;
}

@media (max-width: 991.98px) {
    .home-data-extra {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .home-data-extra {
        grid-template-columns: 1fr;
    }
}

/* 首页轮播：浅色卡片 + 品牌红强调，与全站卡片风格统一 */
.promo-carousel {
    border: 1px solid var(--site-line);
    border-left: 3px solid var(--site-red);
    background-color: #fff;
    box-shadow: var(--site-shadow);
}

.promo-slide,
.promo-slide-1,
.promo-slide-2,
.promo-slide-3 {
    background: linear-gradient(120deg, #fff 0%, #fff8f9 100%);
    color: var(--site-ink);
}

.promo-slide::before {
    background: radial-gradient(60% 100% at 100% 0%, rgba(var(--site-red-rgb), .08), rgba(var(--site-red-rgb), 0) 65%);
}

.promo-tag {
    border-color: var(--site-red-line);
    background-color: #fff;
    color: var(--site-red);
}

.promo-tag::before {
    background-color: var(--site-red);
    box-shadow: 0 0 0 3px rgba(var(--site-red-rgb), .12);
}

.promo-copy strong {
    color: var(--site-ink);
    font-size: 1.5rem;
}

.promo-copy span {
    color: var(--site-slate);
}

.promo-btn {
    border-color: var(--site-red);
    background-image: linear-gradient(135deg, var(--site-red), var(--site-red-deep));
    color: #fff;
}

.promo-emblem {
    right: clamp(1.5rem, 4vw, 2.5rem);
    width: clamp(5rem, 12vw, 7rem);
    height: clamp(5rem, 12vw, 7rem);
    border-color: var(--site-red-line);
    border-radius: 1rem;
    background-color: var(--site-red-soft);
    box-shadow: none;
    color: var(--site-red);
}

.promo-dots {
    bottom: 12px;
}

/* ==========================================================================
   首页轮播：圆点可点击切换 + 当前页彩色动态背景
   切换由 site-ui.js 控制，动画只作用于当前幻灯片
   ========================================================================== */
.promo-carousel {
    --promo-accent: #d92f3f;
    --promo-accent-rgb: 217, 47, 63;
}

.promo-track {
    animation: none;
    transform: translate3d(0, 0, 0);
    transition: transform .7s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.promo-slide {
    --promo-tone-1: #fff1f3;
    --promo-tone-2: #ffd4df;
    background-color: #fff;
    background-image:
        radial-gradient(circle at 82% 16%, rgba(255, 255, 255, .9) 0 9%, rgba(255, 255, 255, 0) 9.5%),
        radial-gradient(circle at 98% 78%, rgba(255, 255, 255, .55) 0 15%, rgba(255, 255, 255, 0) 15.5%),
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .34) 0 14px, rgba(255, 255, 255, 0) 14px 32px),
        linear-gradient(120deg, #fff 0%, var(--promo-tone-1) 42%, var(--promo-tone-2) 100%);
    background-size: 100% 100%, 100% 100%, 120px 120px, 100% 100%;
}

.promo-slide-2 {
    --promo-tone-1: #fff5e9;
    --promo-tone-2: #ffd9b8;
}

.promo-slide-3 {
    --promo-tone-1: #fff1fa;
    --promo-tone-2: #f3d8ff;
}

.promo-slide.is-current {
    animation: promoBgDrift 12s ease-in-out infinite alternate;
}

.promo-slide::before {
    top: -32%;
    right: -14%;
    bottom: auto;
    left: auto;
    width: 62%;
    height: 180%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .28) 44%, rgba(255, 255, 255, 0) 72%);
    opacity: .85;
    pointer-events: none;
}

.promo-slide.is-current::before {
    animation: promoGlowFloat 9s ease-in-out infinite alternate;
}

.promo-slide::after {
    display: block;
    right: 7%;
    bottom: -62%;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .22), 0 0 0 64px rgba(255, 255, 255, .14);
    pointer-events: none;
}

.promo-slide.is-current::after {
    animation: promoRingFloat 11s ease-in-out infinite alternate;
}

.promo-slide.is-current .promo-emblem {
    animation: promoEmblemFloat 6s ease-in-out infinite alternate;
}

.promo-tag {
    border-color: rgba(var(--promo-accent-rgb), .28);
    color: var(--promo-accent);
}

.promo-tag::before {
    background-color: var(--promo-accent);
    box-shadow: 0 0 0 3px rgba(var(--promo-accent-rgb), .12);
}

.promo-emblem {
    border-color: rgba(var(--promo-accent-rgb), .22);
    background-color: rgba(255, 255, 255, .74);
    color: var(--promo-accent);
}

.promo-btn {
    border-color: var(--promo-accent);
    background-image: linear-gradient(135deg, var(--promo-accent), rgba(var(--promo-accent-rgb), .78));
    color: #fff;
}

.promo-dots {
    gap: 8px;
}

.promo-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(var(--promo-accent-rgb), .26);
    box-shadow: 0 0 0 0 rgba(var(--promo-accent-rgb), .14);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.promo-dot:hover {
    background-color: rgba(var(--promo-accent-rgb), .55);
    transform: scale(1.2);
}

.promo-dot.is-active {
    width: 22px;
    background-image: linear-gradient(90deg, var(--promo-accent), rgba(var(--promo-accent-rgb), .7));
    box-shadow: 0 0 0 4px rgba(var(--promo-accent-rgb), .14);
}

.promo-dot:focus-visible {
    outline: 2px solid var(--promo-accent);
    outline-offset: 3px;
}

@keyframes promoBgDrift {
    from { background-position: 0 0, 0 0, 0 0, 0 0; }
    to { background-position: -6% 3%, 5% -4%, 48px 20px, 3% 0; }
}

@keyframes promoGlowFloat {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
    to { transform: translate3d(-18px, 14px, 0) scale(1.08); opacity: .6; }
}

@keyframes promoRingFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-24px, -18px, 0) scale(1.08); }
}

@keyframes promoEmblemFloat {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-6px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
    .promo-track,
    .promo-slide.is-current,
    .promo-slide.is-current::before,
    .promo-slide.is-current::after,
    .promo-slide.is-current .promo-emblem {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   首页栏目间距统一：横向、纵向、页脚前统一为 16px
   ========================================================================== */
.home-main {
    --home-gap: 1rem;
    padding-bottom: var(--home-gap);
}

.home-main .homepage-layout,
.home-main .row.g-3 {
    --bs-gutter-x: var(--home-gap);
    --bs-gutter-y: var(--home-gap);
}

.home-main .homepage-layout {
    gap: var(--home-gap);
}

.home-main .homepage-main > .row.g-3.mt-3,
.home-main .container > .row.g-3.mt-1 {
    margin-top: 0 !important;
}

/* ==========================================================================
   首页市场数据看板：指标卡 / 月度柱状图 / 三块补充图表统一优化
   ========================================================================== */
.home-data-body {
    padding: .9rem 1rem 1rem;
}

.home-data-main {
    gap: .75rem;
}

.home-metric-grid {
    gap: .6rem;
}

.home-metric {
    --metric-color: var(--site-red);
    --metric-soft: var(--site-red-soft);
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .7rem;
    border: 1px solid var(--site-line);
    border-radius: .55rem;
    background: linear-gradient(135deg, #fff, var(--metric-soft));
    box-shadow: 0 4px 12px -10px rgba(var(--site-red-rgb), .55);
}

.home-metric:nth-child(2) {
    --metric-color: #e87516;
    --metric-soft: #fff8ef;
}

.home-metric:nth-child(3) {
    --metric-color: #2f9e6d;
    --metric-soft: #f3fbf7;
}

.home-metric:nth-child(4) {
    --metric-color: #3b74d5;
    --metric-soft: #f4f8ff;
}

.home-metric-icon {
    display: inline-flex;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px var(--site-line);
}

.home-metric-icon i {
    color: var(--metric-color);
    font-size: .9rem;
}

.home-metric-copy {
    display: block;
    min-width: 0;
}

.home-metric-label {
    display: block;
    overflow: hidden;
    color: var(--site-slate);
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-metric strong {
    display: block;
    margin-top: .1rem;
    color: var(--metric-color);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.15;
}

.home-metric small {
    margin-left: .15rem;
    color: var(--site-slate);
    font-size: .68rem;
    font-weight: 500;
}

.home-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .45rem;
    color: var(--site-ink);
    font-size: .78rem;
    font-weight: 600;
}

.home-panel-head i {
    margin-right: .25rem;
    color: var(--site-red);
}

.home-panel-tag {
    padding: .1rem .45rem;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background-color: #fff;
    color: var(--site-slate);
    font-size: .62rem;
    font-weight: 500;
}

.home-bar-panel {
    margin-top: 0;
    padding: .65rem .8rem .55rem;
    border-color: var(--site-line);
    background-color: #fff;
    box-shadow: 0 3px 10px -10px rgba(23, 43, 77, .6);
}

.home-bar-chart {
    height: 104px;
    padding: .35rem .2rem 0;
    border-bottom-color: #e6ebf1;
    background-image: repeating-linear-gradient(180deg, transparent 0 33px, #eef2f7 33px 34px);
}

.home-bar i {
    width: 52%;
    max-width: 18px;
    border-radius: .3rem .3rem 0 0;
    background: linear-gradient(180deg, #ffb25a, #f07818);
    box-shadow: 0 3px 8px -4px rgba(240, 120, 24, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
    transition: transform .2s ease, filter .2s ease;
}

.home-bar.is-peak i {
    background: linear-gradient(180deg, #ff6b7a, var(--site-red));
    box-shadow: 0 3px 10px -4px rgba(var(--site-red-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.home-bar:hover i {
    transform: scaleY(1.04);
    filter: brightness(1.05);
}

.home-bar em {
    bottom: -1rem;
    font-size: .58rem;
}

.home-bar-foot {
    margin-top: 1.1rem;
    padding-top: .4rem;
    border-top: 1px dashed var(--site-line);
}

.home-data-extra {
    gap: .6rem;
    margin-top: .65rem;
}

.home-data-extra-panel {
    position: relative;
    overflow: hidden;
    padding: .6rem .65rem;
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.home-data-extra-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--site-red), rgba(var(--site-red-rgb), 0));
}

.home-data-extra-head {
    font-size: .78rem;
}

.home-data-extra-head i {
    display: inline-flex;
    flex: 0 0 1.35rem;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: .35rem;
    background-color: var(--site-red-soft);
    font-size: .8rem;
}

.home-data-extra-head span {
    border: 1px solid var(--site-red-line);
    background-color: #fff;
}

.city-mini-bars {
    height: 66px;
    margin-top: .45rem;
}

.city-mini-bar i {
    border-radius: .25rem .25rem 0 0;
    box-shadow: 0 3px 8px -5px rgba(79, 110, 240, .8);
}

.mini-donut {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--site-line);
}

.mini-donut::after {
    inset: 16px;
}

.donut-legend {
    font-size: .6rem;
}

.trend-svg {
    height: 64px;
    margin-top: .4rem;
}

.trend-area {
    fill: rgba(240, 120, 24, .12);
    stroke: none;
}

.trend-line {
    stroke: #f07818;
    stroke-width: 2;
}

.trend-labels {
    font-size: .56rem;
}

@media (max-width: 575.98px) {
    .home-metric {
        gap: .4rem;
        padding: .5rem;
    }

    .home-metric-icon {
        flex-basis: 1.7rem;
        width: 1.7rem;
        height: 1.7rem;
    }

    .home-metric strong {
        font-size: 1.15rem;
    }

    .home-bar-chart {
        height: 88px;
    }
}

/* ==========================================================================
   顶部搜索：完整显示“招标信息”，并补充热门词入口
   ========================================================================== */
.site-search .form-select {
    flex: 0 0 112px;
    width: 112px;
    max-width: 112px;
    padding-right: 1.5rem;
}

.site-hotwords .hotwords-word:hover {
    color: var(--site-red);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .site-search .form-select {
        flex-basis: 104px;
        width: 104px;
        max-width: 104px;
        padding-left: .45rem;
        padding-right: 1.35rem;
        font-size: 15px;
    }

    .site-hotwords .hotwords-word {
        font-size: .75rem;
    }
}

/* ==========================================================================
   内页与首页共享视觉规范：标题层级 / 列表对齐 / 品牌细节
   ========================================================================== */
.site-body .doc-title { font-size: 1.4rem; }
.site-body .member-hero-name { font-size: 1.3rem; }
.site-body .panel-title { font-size: var(--fs-md); }
.site-body .card-header h1,
.site-body .card-header h1.h6 {
    margin-bottom: 0;
    font-size: var(--fs-md);
    font-weight: 600;
}

.site-body .list-group-item.d-flex.justify-content-between {
    align-items: center;
    gap: .5rem;
}

.site-body .site-list .list-group-item > a,
.site-body .site-list .list-group-item > a.d-flex {
    min-width: 0;
    width: 100%;
    gap: .4rem;
}

.site-body .site-list .list-group-item .text-nowrap {
    flex: 0 0 auto;
}

.site-body .breadcrumb {
    --bs-breadcrumb-divider: "/";
}

.member-page .breadcrumb .breadcrumb-item.active {
    font-weight: 500;
}

.member-page .card-header.title-bar::before {
    top: var(--sp-3);
    bottom: var(--sp-3);
    width: 4px;
}

.member-page .card-footer {
    background-color: #fff;
}

.member-page .form-control:focus,
.member-page .form-select:focus {
    box-shadow: none;
}

.site-body .btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--site-red);
    --bs-btn-border-color: var(--site-red);
    --bs-btn-hover-bg: var(--site-red-dark);
    --bs-btn-hover-border-color: var(--site-red-dark);
    --bs-btn-active-bg: var(--site-red-deep);
    --bs-btn-active-border-color: var(--site-red-deep);
}

.site-body .alert-warning {
    --bs-alert-bg: var(--site-gold-soft);
    --bs-alert-border-color: var(--site-line);
    --bs-alert-color: var(--site-ink);
}

.site-body .alert-info {
    --bs-alert-bg: var(--site-blue-soft);
    --bs-alert-border-color: var(--site-line);
    --bs-alert-color: var(--site-ink);
}

.site-body main.py-4 {
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-3);
}

@media (max-width: 575.98px) {
    .site-body .member-hero-name { font-size: 1.1rem; }
}

.site-list .list-group-item-action.bg-danger:hover,
.site-list .list-group-item-action.bg-danger:focus {
    background-color: var(--site-red) !important;
    color: #fff !important;
}
