/*! site: style.css + richtext.css + home.css + about.css + member.css + mobile.css 合并，由 build-css.py 生成 */

/* ===== style.css ===== */
.navbar{box-shadow: 0 2px 8px rgba(0,0,0,.08)}.navbar-brand{font-weight: 700;font-size: 1.4rem}@media (min-width: 992px){.nav-item.dropdown:hover .dropdown-menu{display: block;margin-top: 0}}.dropdown-menu{border: none;box-shadow: 0 4px 16px rgba(0,0,0,.1);border-radius: 8px}.btn-login{color: #555;border: 1px solid #ddd}.btn-login:hover{background: #f5f5f5;color: #333}.lang-toggle{border:none;background:transparent;color:#555;padding:.375rem .5rem;border-radius:6px;text-decoration:none !important;white-space:nowrap}.lang-toggle:hover{background:#f5f5f5;color:#333}.lang-toggle::after{display:none}footer{background-color: #161e2e;color:#e2e8f0;padding:3rem 0 1.5rem}.footer-logo{font-size:1.5rem;font-weight:bold;color:#ffffff}.footer-desc{color:#a0aec0;line-height:1.7;margin:1rem 0 1.5rem;max-width:320px;font-size:0.95rem}.social-icon{width:40px;height:40px;background:#232e42;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#cbd5e1;font-size:1.1rem;text-decoration:none}.footer-column h5{color:#fff;margin-bottom:1rem;font-weight:600;font-size:1.15rem}.footer-column ul{list-style:none;padding:0}.footer-column ul li{margin-bottom:0.65rem}.footer-column ul li a{color:#a0aec0;text-decoration:none;font-size:0.95rem}.footer-column ul li a:hover{color:#3b82f6}.subscribe-wrap{display:flex;gap:12px;align-items:stretch}@media (max-width:767px){.subscribe-wrap{flex-direction:column}}.subscribe-input{background:#232e42;border:0;color:#fff;padding:0.65rem 1rem;border-radius:10px;font-size:0.95rem;flex:1;width:100%}.subscribe-input:focus{background:#2a374e;outline:none;box-shadow:0 0 0 2px #3b82f6}.btn-subscribe{background:#2563eb;color:#fff;border:none;border-radius:10px;padding:0.65rem 1.4rem;font-size:1rem;white-space:nowrap}.copyright-line{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid #232e42;color:#718096;font-size:0.9rem}.sub-desc-text{color:#94a3b8;font-size:0.95rem;margin:0.8rem 0 0.6rem}.sub-small-note{color:#818fa3;font-size:0.85rem;margin-top:0.6rem}.pages .form-control{border-radius:10px;border-color:#e2e8f0;padding:.6rem .9rem}.pages .form-control:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.pages .btn-info{background:#2563eb;border-color:#2563eb;color:#fff;border-radius:10px;padding:.55rem 1.4rem;font-weight:500}.pages .btn-info:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.pages .btn-light{border-radius:10px}.pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center}.pagination .page-link,.pagination .page-item{border-radius:8px !important;margin:0 !important;min-width:40px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;font-size:.92rem}.pagination .page-link{color:#475569;border-color:#e2e8f0}.pagination .page-link:hover{background:#f1f5f9;color:#2563eb;border-color:#bfdbfe}.pages .border-info{border-color:#e2e8f0 !important}.navbar .nav-link{font-size:.93rem;color:#475569;line-height:1.5}.navbar .nav-link:hover{color:#2563eb}.navbar .nav-link.active{color:#2563eb;font-weight:600}.navbar .dropdown-toggle::after{margin-left:.22em;vertical-align:.16em;border-top-width:.28em;border-right-width:.28em;border-left-width:.28em}.navbar .btn{white-space:nowrap}@media (min-width:992px){.navbar>.container{max-width:min(100% - 1.5rem,1340px)}#mainNav>.navbar-nav:first-child{flex-wrap:nowrap}.navbar-nav>.nav-item>.nav-link{padding-left:.5rem;padding-right:.5rem;white-space:nowrap}.nav-tool-menu{min-width:196px;max-height:min(72vh,540px);overflow-y:auto}}.nav-tool-menu .nav-head{padding:.12rem .95rem .34rem;font-size:.78rem;font-weight:600;letter-spacing:.02em;color:#94a3b8;background:transparent}.nav-tool-menu .nav-head:hover{color:#64748b;background:transparent}.nav-tool-menu .dropdown-item{padding:.42rem .95rem;font-size:.92rem;line-height:1.5;color:#334155}.nav-tool-menu .dropdown-item:hover{background:#f1f5f9;color:#2563eb}.nav-tool-menu .dropdown-item.active,.nav-tool-menu .dropdown-item.active:hover,.nav-tool-menu .dropdown-item.active:focus{background:#eff6ff;color:#1d4ed8;font-weight:600;box-shadow:inset 2px 0 0 #2563eb}.nav-tool-menu .nav-more{color:#2563eb;font-weight:500}.nav-tool-menu .nav-more:hover{background:#eff6ff;color:#1d4ed8}.nav-tool-menu .nav-more i{font-size:.85em}.nav-tool-menu .dropdown-divider{margin:.3rem 0}@media (min-width:992px) and (max-width:1199.98px){.navbar .nav-extra{display:none}.navbar .nav-link{font-size:.86rem}.navbar-nav>.nav-item>.nav-link{padding-left:.36rem;padding-right:.36rem}.navbar-brand{font-size:1.24rem}}@media (min-width:1200px) and (max-width:1399.98px){html[lang="ru"] .navbar .nav-link,html[lang="de"] .navbar .nav-link{font-size:.86rem}html[lang="ru"] .navbar .btn,html[lang="de"] .navbar .btn{font-size:.82rem;padding-left:.7rem;padding-right:.7rem}html[lang="ru"] .navbar .nav-link i,html[lang="de"] .navbar .nav-link i{margin-right:.2rem!important}}@media (max-width:991.98px){#mainNav{margin:.55rem 0 .85rem;padding:.15rem .85rem .95rem;background:#fff;border:1px solid #e6edf7;border-radius:14px;box-shadow:0 14px 34px rgba(15,23,42,.10);max-height:calc(100vh - 84px);overflow-y:auto;overscroll-behavior:contain}#mainNav>.navbar-nav:first-child>.nav-item + .nav-item{border-top:1px solid #f1f5f9}#mainNav>.navbar-nav:first-child>.nav-item>.nav-link{display:flex;align-items:center;padding:.8rem .1rem;font-size:.97rem;font-weight:500;color:#334155}#mainNav>.navbar-nav:first-child>.nav-item>.nav-link.active{color:#2563eb}#mainNav>.navbar-nav:first-child>.nav-item>.dropdown-toggle::after{margin-left:auto;border-top-width:.32em;border-right-width:.32em;border-left-width:.32em;transition:transform .18s ease}#mainNav>.navbar-nav:first-child>.nav-item>.dropdown-toggle[aria-expanded="true"]::after{transform:rotate(180deg)}#mainNav .nav-tool .dropdown-menu{position:static;float:none;border:0;box-shadow:none;background:#f7f9fc;border-radius:10px;padding:.3rem .3rem .4rem;margin:.1rem 0 .55rem;max-height:none}#mainNav .nav-tool .dropdown-menu .nav-head{padding:.35rem .6rem .3rem;font-size:.74rem;color:#94a3b8}#mainNav .nav-tool .dropdown-menu .dropdown-item{padding:.56rem .6rem;font-size:.92rem;line-height:1.35;border-radius:7px;color:#334155}#mainNav .nav-tool .dropdown-menu .dropdown-item:active{background:#e8f0fe;color:#1d4ed8}#mainNav .nav-tool .dropdown-menu .dropdown-item.active,#mainNav .nav-tool .dropdown-menu .dropdown-item.active:hover{background:#e8f0fe;color:#1d4ed8;font-weight:600;box-shadow:inset 2px 0 0 #2563eb}#mainNav .nav-tool .dropdown-menu .nav-more{margin-top:.15rem;padding:.6rem;color:#2563eb;font-weight:500}#mainNav>.navbar-nav:last-child{margin-top:.2rem;padding-top:.85rem;border-top:1px solid #e6edf7}#mainNav>.navbar-nav:last-child>.nav-item{width:100%}#mainNav>.navbar-nav:last-child .dropdown,#mainNav>.navbar-nav:last-child .btn-login{width:100%}#mainNav>.navbar-nav:last-child .btn{flex:1 1 0;text-align:center;padding:.62rem .5rem;font-size:.94rem;border-radius:9px}}@media (max-width:767.98px){footer{padding:2.4rem 0 1.2rem}footer .row>[class*="col-"]{flex:0 0 100%;max-width:100%}footer .row>.footer-column{flex:0 0 50%;max-width:50%}footer .footer-column h5{font-size:1rem;margin-bottom:.65rem}footer .footer-column ul li{margin-bottom:.42rem}footer .footer-column ul li a{font-size:.9rem}footer .sub-desc-text{font-size:.86rem;margin:.55rem 0 .5rem;line-height:1.5}footer .subscribe-input{padding:.52rem .7rem;font-size:.88rem}footer .btn-subscribe{padding:.52rem .75rem;font-size:.88rem}footer .sub-small-note{font-size:.76rem;line-height:1.5;margin-top:.5rem}}@media (max-width:359.98px){footer .row>.footer-column{flex:0 0 100%;max-width:100%}}

/* ===== richtext.css ===== */
/* ============================================================
   ChatBen 正文富文本样式（.cb-rich）
   用于工具介绍、关于我们、新闻/案例/产品详情的正文区，
   让后台录入的 p / h2 / h3 / ul / ol / strong / code / pre /
   table / blockquote / a / img 等标签与站点风格一致。
   ============================================================ */

  /* 工具介绍正文：富文本标签排版（p / h2 / h3 / ul / ol / strong / code / pre / table / blockquote / a / img） */
  .cb-rich{max-width:880px;color:#475569;font-size:.95rem;line-height:1.9;word-break:break-word;}
  /* 工具页：外层容器已限宽（.container + 32px 内边距），正文跟随容器满宽，避免桌面端在 880px 处提前断行 */
  .tool-page .cb-rich{max-width:none;}
  .cb-rich > *:first-child{margin-top:0;}
  .cb-rich > *:last-child{margin-bottom:0;}
  .cb-rich > p:first-child{font-size:1rem;color:#334155;}
  .cb-rich p{margin:0 0 14px;}
  .cb-rich h2,.cb-rich h3,.cb-rich h4{color:#0f172a;font-weight:700;line-height:1.45;letter-spacing:-.2px;}
  .cb-rich h2{position:relative;font-size:1.38rem;margin:34px 0 18px;padding-left:15px;}
  .cb-rich h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:4px;border-radius:4px;background:linear-gradient(180deg,#2563eb,#60a5fa);}
  .cb-rich h3{position:relative;font-size:1.1rem;margin:28px 0 14px;padding:0 0 9px 19px;border-bottom:1px solid #eef2f7;}
  .cb-rich h3::before{content:"";position:absolute;left:0;top:.42em;width:8px;height:8px;border-radius:3px;background:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1);}
  .cb-rich h4{font-size:.98rem;margin:20px 0 10px;color:#1e293b;}
  .cb-rich h2 + p,.cb-rich h3 + p,.cb-rich h4 + p{margin-top:0;}
  .cb-rich ul,.cb-rich ol{margin:14px 0 16px;padding:0;list-style:none;}
  .cb-rich li{position:relative;margin-bottom:10px;padding-left:22px;}
  .cb-rich li:last-child{margin-bottom:0;}
  .cb-rich ul > li::before{content:"";position:absolute;left:5px;top:.75em;width:6px;height:6px;border-radius:50%;background:#bfdbfe;}
  .cb-rich ol{counter-reset:ti-ol;}
  .cb-rich ol > li{counter-increment:ti-ol;padding-left:28px;}
  .cb-rich ol > li::before{content:counter(ti-ol);position:absolute;left:0;top:.24em;width:19px;height:19px;line-height:19px;text-align:center;font-size:.72rem;font-weight:700;color:#2563eb;background:#eff6ff;border:1px solid #dbeafe;border-radius:6px;}
  .cb-rich li > ul,.cb-rich li > ol{margin:9px 0 0;}
  .cb-rich li p{margin:0 0 6px;}
  .cb-rich strong,.cb-rich b{color:#0f172a;font-weight:600;}
  .cb-rich li > strong:first-child,.cb-rich li > b:first-child{color:#1d4ed8;}
  .cb-rich code,.cb-rich kbd{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.86em;color:#0f172a;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:1px 6px;-webkit-box-decoration-break:clone;box-decoration-break:clone;}
  .cb-rich kbd{border-bottom-width:2px;font-weight:600;}
  .cb-rich pre{margin:0 0 16px;padding:14px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;overflow:auto;line-height:1.65;}
  .cb-rich pre code{background:none;border:0;border-radius:0;padding:0;font-size:.86rem;color:#0f172a;white-space:pre;}
  .cb-rich blockquote{margin:0 0 16px;padding:12px 16px;background:#f8fbff;border-left:3px solid #93c5fd;border-radius:0 10px 10px 0;color:#475569;}
  .cb-rich blockquote p:last-child{margin-bottom:0;}
  .cb-rich table{width:100%;border-collapse:collapse;margin:0 0 18px;font-size:.88rem;}
  .cb-rich th,.cb-rich td{border:1px solid #e2e8f0;padding:9px 12px;text-align:left;vertical-align:top;}
  .cb-rich th{background:#f8fafc;color:#334155;font-weight:600;white-space:nowrap;}
  .cb-rich tbody tr:nth-child(even){background:#fcfdff;}
  .cb-rich a{color:#2563eb;text-decoration:none;border-bottom:1px solid rgba(37,99,235,.28);transition:color .15s ease,border-color .15s ease;}
  .cb-rich a:hover{color:#1d4ed8;border-bottom-color:#1d4ed8;}
  .cb-rich img{max-width:100%;height:auto;border-radius:10px;border:1px solid #eef2f7;}
  .cb-rich hr{border:0;height:1px;background:#eef2f7;margin:26px 0;}
  .cb-rich figure{margin:0 0 16px;}
  .cb-rich figcaption{font-size:.82rem;color:#94a3b8;text-align:center;margin-top:6px;}

/* ---------- 文章底部：相关工具卡片（后台「关联工具」写入 ext_tool） ---------- */
.cb-toolcard {
    margin: 36px 0 8px;
    padding: 20px 22px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 46%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.cb-tc-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
}

.cb-tc-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}

.cb-tc-titles {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.cb-tc-titles strong {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.cb-tc-titles em {
    font-style: normal;
    font-size: .8rem;
    color: #94a3b8;
}

.cb-tc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cb-tc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e6eefa;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cb-tc-item:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .12);
}

.cb-tc-ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--tc, #2563eb);
    background: var(--tcbg, #eff6ff);
}

.cb-tc-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cb-tc-name {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
}

.cb-tc-desc {
    font-size: .84rem;
    line-height: 1.6;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cb-tc-tag {
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .72rem;
    white-space: nowrap;
}

.cb-tc-go {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
    transition: background .2s ease, box-shadow .2s ease;
}

.cb-tc-item:hover .cb-tc-go {
    background: #1d4ed8;
    box-shadow: 0 8px 20px rgba(29, 78, 216, .3);
}

.cb-tc-go i {
    transition: transform .2s ease;
}

.cb-tc-item:hover .cb-tc-go i {
    transform: translateX(3px);
}

/* ---------- 移动端 ---------- */
@media (max-width: 767.98px) {
    .cb-toolcard {
        margin: 26px 0 6px;
        padding: 16px 14px;
        border-radius: 16px;
    }

    .cb-tc-head {
        margin-bottom: 12px;
    }

    .cb-tc-badge {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: .92rem;
    }

    .cb-tc-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
        border-radius: 12px;
    }

    .cb-tc-ico {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 1.1rem;
    }

    .cb-tc-main {
        flex: 1 1 calc(100% - 54px);
    }

    .cb-tc-name {
        font-size: .96rem;
    }

    .cb-tc-tag {
        display: none;
    }

    .cb-tc-go {
        flex: 1 1 100%;
        justify-content: center;
        padding: 9px 14px;
    }
}

/* ---------- 移动端 ---------- */
@media (max-width: 767.98px) {
    .cb-rich{max-width:none;font-size:.92rem;line-height:1.85;}
    .cb-rich > p:first-child{font-size:.95rem;}
    .cb-rich h2{font-size:1.18rem;margin:26px 0 14px;padding-left:13px;}
    .cb-rich h3{font-size:1.02rem;margin:22px 0 12px;padding:0 0 8px 17px;}
    .cb-rich pre{padding:12px;font-size:.8rem;}
    .cb-rich th,.cb-rich td{padding:7px 9px;}
    .cb-rich table{display:block;overflow-x:auto;}
}


/* ===== home.css ===== */
 /* ===== Banner =====*/
 :root{--brand:#2563eb;}
.banner-hero{position: relative;background: linear-gradient(135deg, #eaf4ff 0%, #f8fbff 50%, #eef7ff 100%);overflow: hidden;padding: 72px 0 64px;}
.hero-blob{position:absolute;border-radius:50%;filter: blur(60px);opacity:.5;z-index:0;}
.hero-blob.b1{width:380px;height:380px;background:#bfdbfe;top:-120px;right:-60px;}
.hero-blob.b2{width:300px;height:300px;background:#ddd6fe;bottom:-100px;left:-80px;}
.hero-blob.b3{width:220px;height:220px;background:#bae6fd;top:40%;left:45%;}
.banner-hero .container{position:relative;z-index:1;}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:#e0ecff;color:var(--brand);font-size:.85rem;font-weight:500;padding:6px 14px;border-radius:999px;}
.hero-title{font-weight:800;line-height:1.15;letter-spacing:-.5px;}
.hero-title .hl{color:var(--brand);}
.hero-desc{color:#5b6577;}
.search-box{border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(37,99,235,.12);}
.search-box .form-control{border:none;padding:.9rem 1rem;font-size:1rem;min-width:0;flex:1 1 auto;}
.search-box .btn{border:none;background:var(--brand);color:#fff;padding:.9rem 1.6rem;font-size:1rem;font-weight:500;flex-shrink:0;white-space:nowrap;}
.search-box .btn:hover{background:#1d4ed8;}
.hot-search a{color:#64748b;background:#fff;border:1px solid #e2e8f0;padding:4px 12px;border-radius:999px;font-size:.85rem;text-decoration:none;transition:.2s;}
.hot-search a:hover{color:var(--brand);border-color:var(--brand);}
.hero-visual{position:relative;min-height:420px;margin-bottom:36px;overflow:visible;}
.browser-window{background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(30,64,175,.15);overflow:hidden;max-width:520px;margin-left:auto;}
.browser-bar{display:flex;align-items:center;gap:6px;padding:12px 16px;background:#f1f5f9;}
.browser-bar .dot{width:11px;height:11px;border-radius:50%;}
.browser-bar .url{flex:1;margin-left:10px;background:#fff;border-radius:6px;padding:3px 12px;font-size:.78rem;color:#64748b;}
.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:22px;}
.tool-item{text-align:center;}
.tool-icon{width:52px;height:52px;margin:0 auto 8px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:#fff;}
.tool-item span{font-size:.78rem;color:#475569;}
.code-card{position:absolute;right:-10px;bottom:-30px;z-index:2;width:250px;background:#111827;border-radius:14px;box-shadow:0 20px 40px rgba(17,24,39,.35);padding:16px;}
.code-card .bar{display:flex;gap:6px;margin-bottom:12px;}
.code-card .bar i{width:9px;height:9px;border-radius:50%;}
.code-card code{font-size:.75rem;line-height:1.7;color:#93c5fd;display:block;white-space:pre;font-family:Consolas,ui-monospace,monospace;}
.float-icon{position:absolute;width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:#fff;box-shadow:0 10px 24px rgba(15,23,42,.2);z-index:3;}
.fi-1{top:6%;left:6%;background:#3b82f6;}
.fi-2{top:40%;left:2%;background:#8b5cf6;}
.fi-3{bottom:36%;right:6%;background:#10b981;}
.fi-4{top:-6%;right:16%;background:#f59e0b;}
/* ===== 统计栏 =====*/
.hero-stats{background:#fff;border-radius:20px;box-shadow:0 12px 32px rgba(30,64,175,.08);margin-top:56px;padding:28px 20px;}
.stat-item{display:flex;align-items:center;gap:14px;padding:4px 8px;}
.stat-icon{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:#fff;flex-shrink:0;}
.stat-num{font-size:1.7rem;font-weight:800;color:var(--brand);line-height:1.1;}
.stat-label{color:#64748b;font-size:.88rem;}
@media (max-width: 767.98px){.stat-icon{width:46px;height:46px;font-size:1.1rem;}
.stat-num{font-size:1.4rem;}}
/* ===== 工具区块 =====*/
.tools-section{background:#f8fafc;padding:80px 0;}
.section-title{font-weight:800;letter-spacing:-.5px;}
.section-sub{color:#64748b;}
.cat-btn{border:1px solid #e2e8f0;background:#fff;color:#475569;padding:7px 18px;border-radius:999px;font-size:.9rem;font-weight:500;transition:.2s;}
.cat-btn:hover{border-color:var(--brand);color:var(--brand);}
.cat-btn.active{background:var(--brand);border-color:var(--brand);color:#fff;}
.tool-card{background:#fff;border-radius:16px;padding:24px;height:100%;box-shadow:0 4px 16px rgba(15,23,42,.05);display:flex;flex-direction:column;transition:.25s;}
.tool-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(15,23,42,.1);}
.t-icon{width:48px;height:48px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:1.3rem;color:#fff;}
.tool-card h5{font-weight:700;margin-bottom:0;font-size:1rem;line-height:1.45;word-break:break-word;}
.tool-card p{flex:1;font-size:.88rem;color:#64748b;margin-bottom:16px;}
.use-btn{display:inline-flex;align-items:center;align-self:flex-start;background:#e0ecff;color:var(--brand);padding:6px 16px;border-radius:8px;font-size:.85rem;font-weight:500;text-decoration:none;transition:.2s;}
.use-btn:hover{background:var(--brand);color:#fff;}
.more-btn{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--brand);color:var(--brand);background:#fff;padding:10px 28px;border-radius:999px;font-weight:500;text-decoration:none;transition:.2s;}
.more-btn:hover{background:var(--brand);color:#fff;}
.empty-tip{color:#94a3b8;font-size:.95rem;padding:40px 0;}

/* ===== 首页工具分组瀑布流 v2 ===== */
.tools-section{background:linear-gradient(180deg,#f7f9fc 0%,#f2f6fb 100%);padding:80px 0;}
.tools-head{margin-bottom:42px;}
.tools-head .section-title{font-size:2rem;font-weight:800;color:#0f172a;letter-spacing:-.02em;margin:0 0 8px;}
.tools-head .section-sub{color:#64748b;font-size:.97rem;margin:0;}

/* 四列：分组卡由 JS 按顺序装入列容器（保持分组原有顺序，尽量让各列等高） */
.tool-masonry{display:flex;align-items:flex-start;gap:18px;}
.tool-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:18px;}
.tool-group{break-inside:avoid;-webkit-column-break-inside:avoid;page-break-inside:avoid;container-type:inline-size;background:#fff;border:1px solid #eceff5;border-radius:16px;padding:15px 12px 12px;margin:0;box-shadow:0 1px 2px rgba(15,23,42,.04),0 10px 24px -20px rgba(15,23,42,.35);transition:border-color .2s,box-shadow .2s;}
.tool-group:hover{border-color:#e2e8f0;box-shadow:0 2px 6px rgba(15,23,42,.05),0 18px 36px -24px rgba(15,23,42,.45);}
.tg-head{display:flex;align-items:center;gap:10px;padding:2px 6px 10px;}
.tg-ico{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--tcb,#eff6ff);color:var(--tc,#2563eb);font-size:1rem;flex:none;}
.tg-head h3{font-size:1rem;font-weight:700;color:#0f172a;margin:0;line-height:1.25;}
.tg-count{margin-left:auto;font-size:.72rem;font-weight:600;color:#94a3b8;background:#f7f9fc;border:1px solid #eef1f6;border-radius:999px;padding:1px 8px;display:none;}
.tg-list{list-style:none;margin:0;padding:0;}
.tg-list li a{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:10px;color:#3f4756;font-size:.9rem;line-height:1.4;text-decoration:none;transition:background .16s,color .16s;}
.tg-list li a i{width:20px;text-align:center;font-size:.98rem;color:var(--tc,#2563eb);opacity:.85;flex:none;}
.tg-list li a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tg-list li a:hover{background:var(--tcb,#eff6ff);color:var(--tc,#2563eb);}
.tg-list li a:hover i{opacity:1;}
.tg-more{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 4px 0;padding:9px 0 2px;border-top:1px dashed #eef2f7;color:var(--tc,#2563eb);font-size:.82rem;font-weight:600;text-decoration:none;transition:opacity .16s;}
.tg-more:hover{opacity:.75;}
.tg-more i{font-size:.72rem;}

@media (max-width:1399.98px){.tool-masonry,.tool-col{gap:16px;}}
@media (max-width:1199.98px){.tool-masonry,.tool-col{gap:16px;}}
@media (max-width:767.98px){.tools-head .section-title{font-size:1.7rem;}}
@media (max-width:575.98px){
  .tools-section{padding:56px 0;}
  .tools-head{margin-bottom:26px;}
  .tools-head .section-title{font-size:1.5rem;}
  .tool-masonry,.tool-col{gap:14px;}
  .tool-group{padding:14px 12px 12px;}
}

/* 推荐角标：工具卡片右上角胶囊 */
.tool-card{position:relative;}
.tool-card .rec-badge{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:4px;background:#fff7e0;color:#c98a00;border:1px solid #ffe6a6;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:600;line-height:1.4;}
.tool-card .rec-badge i{font-size:10px;line-height:1;}
/* 首页工具区块与相关工具的推荐小星 */
.tg-list li a i.tg-star{width:auto;color:#e0a800;opacity:1;font-size:.78rem;flex:none;}
.rt-name .rt-star{color:#e0a800;font-size:11px;margin-left:5px;flex:none;}

/* ===== 工具列表：自动加载更多（隐藏分页） ===== */
.tools-more{display:flex;flex-direction:column;align-items:center;gap:12px;padding:34px 0 8px;color:#94a3b8;font-size:.88rem;}
.tools-more .tm-dots{display:flex;gap:6px;}
.tools-more .tm-dots i{width:8px;height:8px;border-radius:50%;background:#bfdbfe;animation:tmPulse 1.1s infinite ease-in-out;}
.tools-more .tm-dots i:nth-child(2){animation-delay:.16s;background:#93c5fd;}
.tools-more .tm-dots i:nth-child(3){animation-delay:.32s;background:#60a5fa;}
.tools-more .tm-text{margin:0;}
.tools-more .tm-retry{display:none;border:1px solid #cfe1fb;background:#fff;color:#2563eb;border-radius:999px;padding:6px 18px;font-size:.85rem;font-weight:600;cursor:pointer;}
.tools-more .tm-retry:hover{background:#eff6ff;}
.tools-more.is-error .tm-dots{display:none;}
.tools-more.is-error .tm-text{display:none;}
.tools-more.is-error .tm-retry{display:inline-block;}
@keyframes tmPulse{0%,80%,100%{transform:scale(.7);opacity:.45}40%{transform:scale(1);opacity:1}}
.tm-end{text-align:center;color:#94a3b8;font-size:.86rem;padding:30px 0 6px;}
.tm-new{animation:tmIn .38s ease both;}
@keyframes tmIn{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;}}
@media (max-width:575.98px){.tools-more{padding:26px 0 4px;}.tm-end{padding:24px 0 2px;}}

/* ===== 工具列表页：顶部分类标签 ===== */
.tools-cats{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:-6px auto 28px;}
.tc-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #e6edf9;background:#fff;border-radius:999px;font-size:.84rem;font-weight:500;color:#334155;text-decoration:none;line-height:1.4;white-space:nowrap;transition:border-color .16s ease,color .16s ease,background .16s ease,box-shadow .16s ease;}
.tc-chip i{color:var(--tc);font-size:.92rem;line-height:1;display:flex;align-items:center;}
.tc-chip span{font-size:.72rem;font-weight:600;color:#9aa8bd;line-height:1;}
.tc-chip:hover{border-color:var(--tc);color:var(--tc);background:#f9fcff;box-shadow:0 8px 16px -14px rgba(15,40,90,.95);}
.tc-chip:hover span{color:var(--tc);}
.tc-chip.is-cur{border-color:var(--tc);background:var(--tcb);color:var(--tc);font-weight:600;}
.tc-chip.is-cur span{color:var(--tc);}
@media (max-width:767.98px){
  .tools-cats{gap:8px;margin:-2px auto 22px;}
  .tc-chip{font-size:.82rem;padding:6px 11px;gap:5px;}
  .tc-chip span{font-size:.68rem;}
}

/* ===== 内页页头（替代原深色 banner 图） ===== */
.cb-pagehead{position:relative;overflow:hidden;background:linear-gradient(180deg,#eff6ff 0%,#f7fbff 58%,#ffffff 100%);border-bottom:1px solid #e6eefa;padding:32px 0 26px;text-align:center;}
.cb-pagehead::before{content:"";position:absolute;left:50%;top:-150px;width:820px;height:300px;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(37,99,235,.14),rgba(37,99,235,0));pointer-events:none;}
.cb-pagehead .container{position:relative;z-index:1;}
.cb-ph-title{font-size:1.85rem;font-weight:800;color:#0f172a;letter-spacing:-.02em;line-height:1.25;margin:0;}
.cb-ph-sub{margin:9px 0 0;color:#64748b;font-size:.95rem;line-height:1.7;}
.cb-ph-sub:empty{display:none;}
@media (max-width:767.98px){
  .cb-pagehead{padding:22px 0 18px;}
  .cb-ph-title{font-size:1.4rem;}
  .cb-ph-sub{font-size:.85rem;margin-top:6px;line-height:1.6;}
}

/* ===== 首页 hero 移动端收紧 ===== */
@media (max-width:991.98px){
  .banner-hero{padding:52px 0 44px;}
  .banner-hero .row.align-items-center{--bs-gutter-y:0;}
  .hero-visual{display:none !important;}
  .hero-stats{margin-top:36px;}
}
@media (max-width:767.98px){
  .banner-hero{padding:34px 0 28px;}
  .hero-title{font-size:1.95rem;}
  .hero-stats{margin-top:26px;padding:20px 14px;}
}
@media (max-width:575.98px){
  .banner-hero{padding:20px 0 20px;}
  .hero-badge{font-size:.75rem;padding:4px 10px;gap:4px;}
  .hero-title{font-size:1.6rem;letter-spacing:-.3px;margin:.6rem 0 .45rem !important;}
  .hero-desc{font-size:.9rem;line-height:1.62;margin-bottom:.85rem !important;}
  .search-box{border-radius:12px;margin-bottom:.65rem !important;box-shadow:0 6px 18px rgba(37,99,235,.1);}
  .search-box .bi-search{margin-left:.7rem !important;}
  .search-box .form-control{padding:.62rem .75rem;font-size:16px;}
  .search-box .btn{padding:.62rem .95rem;font-size:.95rem;}
  .hot-search{gap:.4rem !important;flex-wrap:wrap !important;}
  .hot-search>span{font-size:.76rem;}
  .hot-search a{font-size:.76rem;padding:3px 10px;}
  .hero-stats{margin-top:22px;padding:14px 10px;border-radius:16px;}
  .stat-item{gap:10px;padding:2px;}
  .tools-section{padding:42px 0;}
  .tools-head{margin-bottom:20px;}
}


/* ===== about.css ===== */
/* ============ 关于我们 / About 页面（全语言共用） ============ */
.about-page{background:#f7f9fc;}
@media (min-width:992px){.about-page .container{max-width:1140px;}}
.ab-hero{padding:56px 0 0;background:linear-gradient(180deg,#e9f3ff 0%,#f4f8fd 55%,#f7f9fc 100%);}
.ab-badge{display:inline-block;color:#2563eb;background:#e4eeff;border-radius:999px;padding:5px 14px;font-size:.8rem;font-weight:600;letter-spacing:.6px;}
.ab-title{font-size:clamp(2rem,3.2vw,2.7rem);font-weight:800;color:#0f172a;letter-spacing:-.02em;line-height:1.2;margin:16px 0 12px;}
.ab-lead{font-size:1rem;line-height:1.9;color:#5b6577;margin:0;}

/* hero 两栏：左文案 / 右数据卡，避免桌面端右侧空白 */
.ab-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:center;padding-bottom:44px;}
.ab-hero-main{min-width:0;}
.ab-facts{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #e3ecf8;border-radius:18px;overflow:hidden;box-shadow:0 20px 44px -36px rgba(15,40,90,.95);}
.ab-fact{padding:24px 26px;border-left:1px solid #eef3fa;border-top:1px solid #eef3fa;}
.ab-fact:nth-child(1),.ab-fact:nth-child(2){border-top:0;}
.ab-fact:nth-child(odd){border-left:0;}
.ab-fact .n{font-size:1.9rem;font-weight:800;color:#2563eb;line-height:1.1;letter-spacing:-.02em;}
.ab-fact .t{font-size:.85rem;color:#64748b;margin-top:5px;}

/* 正文 */
.ab-body{padding:32px 0 0;}
.ab-card{background:#fff;border:1px solid #e9eff8;border-radius:18px;padding:42px 46px;box-shadow:0 12px 30px -26px rgba(15,40,90,.85);}
.ab-card h2{font-size:1.28rem;font-weight:700;color:#0f172a;margin:36px 0 12px;padding-left:13px;border-left:4px solid #2563eb;line-height:1.4;}
.ab-card h2:first-child{margin-top:0;}
.ab-card h3{font-size:1.06rem;font-weight:700;color:#1e293b;margin:28px 0 10px;}
.ab-card h3:first-child{margin-top:0;}
.ab-card p{font-size:1rem;line-height:2;color:#475569;margin:0 0 14px;}
.ab-card p:last-child{margin-bottom:0;}
.ab-card strong{color:#1e3a8a;font-weight:600;}
.ab-card ul{list-style:none;margin:0 0 16px;padding:0;}
.ab-card ol{margin:0 0 16px;padding-left:1.25rem;}
.ab-card li{position:relative;padding-left:20px;font-size:.97rem;line-height:1.95;color:#475569;margin-bottom:8px;}
.ab-card ul > li::before{content:"";position:absolute;left:4px;top:.8em;width:6px;height:6px;border-radius:50%;background:#93c5fd;}
.ab-card ol > li{padding-left:0;}
.ab-card a{color:#2563eb;text-decoration:none;}
.ab-card a:hover{text-decoration:underline;}

/* 底部 CTA */
.ab-cta{padding:40px 0 64px;}
.ab-cta .box{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;background:#f1f7ff;border:1px solid #dbe9fb;border-radius:18px;padding:28px 32px;}
.ab-cta h3{font-size:1.16rem;font-weight:700;color:#0f172a;margin:0 0 6px;}
.ab-cta p{font-size:.9rem;color:#64748b;margin:0;line-height:1.8;}
.ab-btn{display:inline-flex;align-items:center;gap:8px;background:#2563eb;color:#fff;border-radius:10px;padding:11px 22px;font-size:.92rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .2s;}
.ab-btn:hover{background:#1d4ed8;color:#fff;}

/* 导语：比正文略大，拉开层次 */
.ab-card > p:first-child{font-size:1.04rem;color:#334155;}

/* ---------- 平板 ---------- */
@media (max-width:1199.98px){
  .ab-hero-grid{grid-template-columns:minmax(0,1fr) 340px;gap:40px;}
  .ab-fact{padding:20px 20px;}
}

/* ---------- 窄屏：文案与数据卡上下堆叠，数据改成一行四项铺满 ---------- */
@media (max-width:991.98px){
  .ab-hero{padding-top:44px;}
  .ab-hero-grid{grid-template-columns:minmax(0,1fr);gap:26px;padding-bottom:40px;}
  .ab-facts{grid-template-columns:repeat(4,1fr);}
  .ab-fact{border-top:0;border-left:1px solid #eef3fa;padding:20px 22px;}
  .ab-fact:nth-child(3){border-left:1px solid #eef3fa;}
}

@media (max-width:767.98px){
  .ab-hero{padding-top:36px;}
  .ab-title{font-size:1.8rem;margin:14px 0 10px;}
  .ab-lead{font-size:.95rem;line-height:1.85;}
  .ab-hero-grid{gap:22px;padding-bottom:32px;}
  .ab-facts{grid-template-columns:1fr 1fr;}
  .ab-fact{padding:16px 18px;border-top:1px solid #eef3fa;}
  .ab-fact:nth-child(1),.ab-fact:nth-child(2){border-top:0;}
  .ab-fact:nth-child(odd){border-left:0;}
  .ab-fact:nth-child(3){border-left:0;}
  .ab-fact .n{font-size:1.55rem;}
  .ab-fact .t{font-size:.8rem;margin-top:3px;}
  .ab-body{padding-top:26px;}
  .ab-card{padding:28px 20px;}
  .ab-card p{font-size:.97rem;line-height:1.95;}
  .ab-card h2{font-size:1.16rem;margin-top:30px;}
  .ab-cta{padding:30px 0 48px;}
  .ab-cta .box{padding:22px;flex-direction:column;align-items:flex-start;gap:16px;}
  .ab-cta .ab-btn{width:100%;justify-content:center;}
}

/* ---------- 联系方式（联系页正文） ---------- */
.ab-contact{display:grid;gap:14px;}
.ab-contact .item{display:flex;align-items:center;gap:16px;border:1px solid #eef3fa;background:#fafcff;border-radius:14px;padding:18px 22px;}
.ab-contact .ico{width:44px;height:44px;border-radius:12px;background:#e8f1ff;color:#2563eb;display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex:none;}
.ab-contact .txt{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.ab-contact .k{font-size:.88rem;color:#64748b;line-height:1.4;flex:none;}
.ab-contact .v{font-size:1.02rem;font-weight:600;color:#0f172a;line-height:1.5;word-break:break-all;}
.ab-contact a.v{text-decoration:none;}
.ab-contact a.v:hover{color:#2563eb;}
@media (max-width:767.98px){
  .ab-contact .item{padding:15px 16px;gap:13px;}
  .ab-contact .txt{display:block;}
  .ab-contact .k{margin-bottom:3px;font-size:.8rem;}
  .ab-contact .ico{width:38px;height:38px;font-size:1rem;}
  .ab-contact .v{font-size:.95rem;}
}


/* ===== member.css ===== */
/* ===== ChatBen 会员页面样式（与站点风格统一） ===== */
:root{--mbrand:#2563eb;--mbrand-dark:#1d4ed8;}

.member-wrap{background:linear-gradient(180deg,#f8fafc 0%,#e8f0fe 100%);padding:40px 0 64px;min-height:calc(100vh - 260px);}
.member-card{max-width:460px;margin:0 auto;background:#fff;border-radius:16px;box-shadow:0 4px 16px rgba(15,23,42,.06),0 20px 40px rgba(37,99,235,.08);padding:36px 34px;}
.member-icon{width:60px;height:60px;border-radius:16px;background:#e0ecff;color:var(--mbrand);display:flex;align-items:center;justify-content:center;font-size:1.7rem;margin:0 auto 14px;}
.member-title{font-size:1.4rem;font-weight:700;color:#1e293b;text-align:center;margin-bottom:4px;}
.member-sub{font-size:.9rem;color:#64748b;text-align:center;margin-bottom:24px;}
.member-card .form-label{font-size:.9rem;font-weight:500;color:#475569;margin-bottom:.35rem;}
.member-card .form-control,.member-card .form-select{border-radius:10px;padding:.65rem .9rem;border-color:#e2e8f0;font-size:.95rem;}
.member-card .form-control:focus,.member-card .form-select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.member-btn{width:100%;background:var(--mbrand);border:none;color:#fff;border-radius:10px;padding:.72rem;font-size:1rem;font-weight:500;transition:.2s;}
.member-btn:hover{background:var(--mbrand-dark);color:#fff;}
.member-btn:disabled{opacity:.65;}
.member-links{display:flex;justify-content:space-between;font-size:.9rem;margin-top:18px;}
.member-links a{color:var(--mbrand);text-decoration:none;font-weight:500;}
.member-links a:hover{text-decoration:underline;}
.member-msg{display:none;border-radius:10px;padding:.6rem .9rem;font-size:.9rem;margin-bottom:14px;}
.member-msg.err{display:block;background:#fef2f2;color:#dc2626;border:1px solid #fecaca;}
.member-msg.ok{display:block;background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0;}
.member-hint{font-size:.85rem;color:#94a3b8;}
.code-img{height:42px;border-radius:8px;cursor:pointer;border:1px solid #e2e8f0;}

/* 用户中心 / 资料修改 */
.member-side{background:#fff;border-radius:16px;box-shadow:0 4px 16px rgba(15,23,42,.06);padding:20px 14px;}
.member-side .avatar{width:64px;height:64px;border-radius:50%;background:#e0ecff;color:var(--mbrand);display:flex;align-items:center;justify-content:center;font-size:1.8rem;margin:0 auto 10px;overflow:hidden;}
.member-side .avatar img{width:100%;height:100%;object-fit:cover;}
.member-side .uname{text-align:center;font-weight:600;color:#1e293b;margin-bottom:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.member-side a.ms-link{display:flex;align-items:center;gap:8px;padding:.55rem .8rem;border-radius:8px;color:#475569;text-decoration:none;font-size:.95rem;transition:.15s;}
.member-side a.ms-link:hover{background:#f1f5f9;color:var(--mbrand);}
.member-side a.ms-link.active{background:#e0ecff;color:var(--mbrand);font-weight:600;}
.member-panel{background:#fff;border-radius:16px;box-shadow:0 4px 16px rgba(15,23,42,.06);padding:28px 30px;}
.member-panel h4{font-weight:700;color:#1e293b;margin-bottom:20px;font-size:1.2rem;}
.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 24px;}
@media (max-width:575px){.info-grid{grid-template-columns:1fr;}}
.info-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:12px 16px;}
.info-item .k{font-size:.8rem;color:#94a3b8;margin-bottom:2px;}
.info-item .v{font-size:.95rem;color:#1e293b;font-weight:500;word-break:break-all;}
.member-panel .form-label{font-size:.9rem;font-weight:500;color:#475569;margin-bottom:.35rem;}
.member-panel .form-control,.member-panel .form-select{border-radius:10px;padding:.6rem .9rem;border-color:#e2e8f0;font-size:.95rem;}
.member-panel .form-control:focus,.member-panel .form-select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.btn-brand{background:var(--mbrand);color:#fff;border:none;border-radius:10px;padding:.6rem 1.4rem;font-weight:500;}
.btn-brand:hover{background:var(--mbrand-dark);color:#fff;}
.btn-ghost{background:#fff;color:#475569;border:1px solid #e2e8f0;border-radius:10px;padding:.6rem 1.4rem;font-weight:500;}
.btn-ghost:hover{background:#f5f5f5;color:#333;}

/* 验证码行：输入框自适应，按钮不换行、不被压缩 */
.member-card .ret-code{display:flex;gap:10px;align-items:center;}
.member-card .ret-code .form-control{flex:1 1 auto;min-width:0;}
.member-card .ret-code .btn-ghost{white-space:nowrap;flex:0 0 auto;min-width:112px;padding:.6rem 1.1rem;text-align:center;}
@media (max-width:400px){
  .member-card .ret-code .btn-ghost{min-width:96px;padding:.6rem .7rem;font-size:.9rem;}
}

/* 结果弹窗（找回密码成功等） */
.member-modal{position:fixed;inset:0;z-index:1080;display:none;align-items:center;justify-content:center;padding:20px;}
.member-modal.show{display:flex;}
.member-modal-mask{position:absolute;inset:0;background:rgba(15,23,42,.45);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:mm-fade .18s ease-out;}
.member-modal-box{position:relative;width:100%;max-width:352px;background:#fff;border-radius:18px;padding:30px 26px 22px;text-align:center;box-shadow:0 18px 48px rgba(15,23,42,.22);animation:mm-pop .22s cubic-bezier(.2,.9,.3,1.05);}
.member-modal-ico{width:60px;height:60px;border-radius:50%;background:#dcfce7;color:#16a34a;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.member-modal-ico svg{width:30px;height:30px;display:block;}
.member-modal-title{margin:0 0 8px;font-size:1.15rem;font-weight:600;color:#0f172a;}
.member-modal-text{margin:0 0 18px;font-size:.92rem;line-height:1.7;color:#64748b;}
.member-modal-auto{margin:12px 0 0;font-size:.82rem;color:#94a3b8;min-height:1.2em;}
body.member-modal-open{overflow:hidden;}
@keyframes mm-fade{from{opacity:0}to{opacity:1}}
@keyframes mm-pop{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){
  .member-modal-mask,.member-modal-box{animation:none;}
}


/* 窄屏：评论表转卡片，避免列被压缩成竖排 */
@media (max-width: 575.98px){
  .member-table thead{display:none;}
  .member-table,.member-table tbody,.member-table tr,.member-table td{display:block;width:100%;}
  .member-table tr{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:12px 14px;margin-bottom:12px;}
  .member-table td{border:none !important;padding:5px 0 !important;display:flex;align-items:flex-start;gap:10px;font-size:.92rem;color:#1e293b;}
  .member-table td::before{content:attr(data-label);flex:0 0 52px;color:#94a3b8;font-size:.82rem;line-height:1.7;}
  .member-table td[data-label="操作"]{padding-top:10px !important;}
  .member-table .del{display:inline-flex;align-items:center;min-height:32px;}
}

/* 中屏（≥576px 表格模式）：固定窄列宽度，避免「状态/时间/操作」被压扁 */
@media (min-width: 576px){
  .member-table th:nth-child(1), .member-table td:nth-child(1){min-width:104px;}
  .member-table th:nth-child(2), .member-table td:nth-child(2){min-width:120px;}
  .member-table th:nth-child(3), .member-table td:nth-child(3){width:84px;white-space:nowrap;}
  .member-table th:nth-child(5), .member-table td:nth-child(5){width:68px;white-space:nowrap;}
  .member-table td{vertical-align:middle;}
}


/* ===== mobile.css ===== */
/* ===== 移动端适配补丁（中英文站共用） ===== */

/* 媒体与富文本不撑破内容区 */
img, video, iframe { max-width: 100%; }
.cb-rich img, .richtext img { height: auto; }

@media (max-width: 767.98px) {
  /* 表单控件统一 16px，避免 iOS 聚焦时页面被自动放大 */
  .form-control, .form-select, textarea,
  input[type="text"], input[type="password"], input[type="email"],
  input[type="search"], input[type="tel"], input[type="number"] { font-size: 16px; }

  /* 触控区域不小于 40px，避免误触 */
  .btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-sm { min-height: 34px; }

  /* 分页条：允许换行，避免数字条挤在一起 */
  .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
  .pagination .page-link,
  .pagination .page-item {
    border-radius: 8px !important; margin: 0 !important;
    min-width: 40px; min-height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem;
  }

  /* 富文本：超长英文/链接强制断行，表格改为横向滑动而不是压缩列宽 */
  .cb-rich, .richtext { word-break: break-word; overflow-wrap: anywhere; }
  .cb-rich table, .richtext table {
    display: block; width: 100%; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* 旧版页头横幅：压缩高度，避免首屏被吃掉 */
  .jumbotron.jumbotron-fluid { padding: 18px 0 !important; margin-bottom: 12px !important; }
  .jumbotron.jumbotron-fluid h1 { font-size: 1.25rem !important; margin-bottom: 4px; }
  .jumbotron.jumbotron-fluid p { font-size: .85rem !important; margin-bottom: 0; }
}

@media (max-width: 575.98px) {
  /* 通用「表格转卡片」：给表格加 class="table-stack" 并在 td 上写 data-label */
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr {
    background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px;
    padding: 12px 14px; margin-bottom: 12px;
  }
  .table-stack td {
    border: none !important; padding: 5px 0 !important;
    display: flex; gap: 10px; align-items: flex-start; font-size: .92rem;
  }
  .table-stack td::before {
    content: attr(data-label); flex: 0 0 54px;
    color: #94a3b8; font-size: .82rem; line-height: 1.7;
  }
  .table-stack td:empty { display: none; }
}

/* 会员侧栏图标：图标字体子集缺 bi-star 等字形，收藏项改用内联 SVG，尺寸与字体图标对齐 */
.ms-ico{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;vertical-align:-3px;}

/* 顶部导航用户名：显示昵称，过长省略 */
.nav-uname{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;line-height:1.35;}
@media (max-width:575.98px){.nav-uname{max-width:92px}}
