:root{
    --bg:#0a0a0f;
    --bg2:#12121a;
    --bg3:#16161f;
    --bg4:#1c1c28;
    --border:rgba(255,255,255,0.06);
    --border2:rgba(255,255,255,0.12);
    --text:#e8e8ed;
    --text2:#8b8b9e;
    --text3:#5a5a6e;
    --accent:#6366f1;
    --accent2:#818cf8;
    --glow:rgba(99,102,241,0.15);
    --gradient:linear-gradient(135deg,#6366f1,#a855f7);
    --radius:14px;
    --radius-s:10px;
    --navbar-bg:rgba(10,10,15,0.82);
}

html[data-theme="light"]{
    --bg:#f7f8fc;
    --bg2:#ffffff;
    --bg3:#ffffff;
    --bg4:#f0f2f8;
    --border:rgba(0,0,0,0.08);
    --border2:rgba(0,0,0,0.14);
    --text:#1a1a2e;
    --text2:#4a4a5e;
    --text3:#7a7a8e;
    --accent:#6366f1;
    --accent2:#4f46e5;
    --glow:rgba(99,102,241,0.1);
    --gradient:linear-gradient(135deg,#6366f1,#a855f7);
    --navbar-bg:rgba(255,255,255,0.85);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    font-family:-apple-system,BlinkMacSystemFont,'SF Pro Display','PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    min-height:100vh;
}
a{color:inherit;text-decoration:none}

html[data-theme="light"] body{
    background:linear-gradient(180deg,#f7f8fc 0%,#eef0f7 100%);
}

/* navbar */
.navbar{
    position:sticky;
    top:0;
    z-index:100;
    background:var(--navbar-bg);
    backdrop-filter:blur(20px) saturate(1.4);
    border-bottom:1px solid var(--border);
    padding:0 24px;
}
.navbar-inner{
    max-width:1400px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:64px;
}
.logo{
    font-size:21px;
    font-weight:800;
    background:var(--gradient);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    display:flex;
    align-items:center;
    gap:8px;
}
.logo img{
    height:36px;
    -webkit-text-fill-color:initial;
    object-fit:contain;
}
.logo .logo-icon{
    font-size:24px;
    -webkit-text-fill-color:initial;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:4px;
}
.nav-links a{
    padding:7px 13px;
    border-radius:8px;
    font-size:13.5px;
    color:var(--text2);
    transition:.2s;
}
.nav-links a:hover,
.nav-links a.active{
    color:var(--text);
    background:rgba(255,255,255,0.06);
}

.nav-dropdown{
    position:relative;
    display:inline-block;
}
.nav-dropdown > a{
    display:inline-flex;
    align-items:center;
    gap:4px;
}
.nav-dropdown .arrow{
    font-size:10px;
    opacity:.6;
    transition:transform .2s;
}
.nav-dropdown:hover > a .arrow{
    transform:rotate(180deg);
}
.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:200px;
    background:var(--bg2);
    border:1px solid var(--border);
    border-radius:10px;
    padding:6px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    opacity:0;
    visibility:hidden;
    transform:translateY(-4px);
    transition:.18s;
    z-index:120;
}
.nav-dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.dropdown-menu a{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:7px;
    font-size:13px;
    color:var(--text2);
    white-space:nowrap;
    transition:.15s;
}
.dropdown-menu a:hover,
.dropdown-menu a.active{
    background:rgba(99,102,241,.1);
    color:var(--accent2);
}
.dropdown-divider{
    height:1px;
    background:var(--border);
    margin:4px 0;
}

html[data-theme="light"] .dropdown-menu{
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}
html[data-theme="light"] .dropdown-menu a:hover,
html[data-theme="light"] .dropdown-menu a.active{
    background:rgba(99,102,241,.08);
}


/* ===== PC navbar long-title optimization v13 =====
   Based on the v8 horizontal-scroll solution, with only two fixes:
   1) when top categories fit, keep the original right-aligned navbar UI;
   2) keep desktop subcategory dropdowns usable even when the nav track can scroll.
   Mobile layout is intentionally unchanged. */
.logo-text,
.nav-label{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.navbar-actions{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    flex-wrap:wrap;
}
.nav-links{
    min-width:0;
}
.nav-links a{
    display:inline-flex;
    align-items:center;
    gap:4px;
    min-width:0;
    white-space:nowrap;
}
.nav-dropdown > a{
    min-width:0;
}
.nav-dropdown .arrow{
    flex:0 0 auto;
}
.nav-dropdown.is-dropdown-open > a .arrow,
.nav-dropdown:hover > a .arrow{
    transform:rotate(180deg);
}
.dropdown-menu.dropdown-menu-floating{
    position:fixed !important;
    top:var(--ymnav-dropdown-top, 64px) !important;
    left:var(--ymnav-dropdown-left, 24px) !important;
    z-index:1000 !important;
    max-width:min(320px, calc(100vw - 24px));
    max-height:min(70vh, 520px);
    overflow:auto;
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) !important;
    pointer-events:auto !important;
    transition:opacity .08s ease !important;
}

@media(min-width:769px){
    body .navbar .navbar-inner{
        min-width:0;
        gap:18px;
        flex-wrap:nowrap;
        justify-content:flex-start;
        overflow:visible;
    }
    body .navbar .logo{
        flex:0 1 240px;
        min-width:132px;
        max-width:260px;
        white-space:nowrap;
        overflow:hidden;
        line-height:1.1;
    }
    body .navbar .logo img,
    body .navbar .logo .logo-icon{
        flex:0 0 auto;
    }
    body .navbar .navbar-actions{
        flex:1 1 auto;
        min-width:0;
        flex-wrap:nowrap;
        justify-content:flex-end;
        overflow:visible;
    }
    body .navbar .nav-links{
        flex:0 1 auto;
        max-width:100%;
        min-width:0;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        flex-wrap:nowrap;
        gap:4px;
        overflow:visible;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        overscroll-behavior-inline:contain;
        scroll-behavior:smooth;
        padding:2px 4px;
        margin:-2px 0;
    }
    body .navbar .nav-links.nav-links-overflowing{
        flex:1 1 0%;
        width:0;
        justify-content:flex-start;
        overflow-x:auto;
        overflow-y:hidden;
        cursor:grab;
        mask-image:linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
        -webkit-mask-image:linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    }
    body .navbar .nav-links::-webkit-scrollbar{
        display:none;
    }
    body .navbar .nav-links.is-dragging{
        cursor:grabbing;
        scroll-behavior:auto;
        user-select:none;
    }
    body .navbar .nav-links > a,
    body .navbar .nav-dropdown{
        flex:0 0 auto;
    }
    body .navbar .nav-links > a,
    body .navbar .nav-dropdown > a{
        max-width:168px;
        line-height:1.15;
        flex:0 0 auto;
    }
    body .navbar .nav-links > a > .nav-label,
    body .navbar .nav-dropdown > a > .nav-label{
        max-width:132px;
    }
    body .navbar .dropdown-menu a .nav-label{
        max-width:260px;
    }
    body .navbar .theme-btn,
    body .navbar .lang-toggle-btn{
        flex:0 0 auto;
        margin-left:0;
    }
    html[data-lang="en"] body .navbar .nav-links{
        gap:3px;
    }
    html[data-lang="en"] body .navbar .nav-links > a,
    html[data-lang="en"] body .navbar .nav-dropdown > a{
        padding-left:9px;
        padding-right:9px;
        font-size:12.6px;
        max-width:160px;
    }
    html[data-lang="en"] body .navbar .nav-links > a > .nav-label,
    html[data-lang="en"] body .navbar .nav-dropdown > a > .nav-label{
        max-width:124px;
    }
}

@media(min-width:769px) and (max-width:1180px){
    body .navbar{
        padding-left:16px;
        padding-right:16px;
    }
    body .navbar .navbar-inner{
        gap:12px;
    }
    body .navbar .logo{
        flex-basis:190px;
        max-width:210px;
        font-size:19px;
    }
    body .navbar .navbar-actions{
        gap:8px;
    }
    body .navbar .nav-links{
        gap:2px;
    }
    body .navbar .nav-links > a,
    body .navbar .nav-dropdown > a{
        padding-left:8px;
        padding-right:8px;
        max-width:142px;
    }
    html[data-lang="en"] body .navbar .nav-links > a > .nav-label,
    html[data-lang="en"] body .navbar .nav-dropdown > a > .nav-label{
        max-width:106px;
    }
}

@media(max-width:768px){
    .navbar-actions{
        flex-wrap:nowrap;
        gap:8px;
        margin-left:auto;
    }
}


/* Hide translate.js built-in language selector; YmNav uses its own top-bar button. */
#translate,
.translateSelectLanguage,
.translateSelectLanguage select{
    display:none !important;
}

/* Language switcher v5: translation is controlled by YmNav and applied from original text/cache.
   Do not hide the whole page here; hiding made navigation feel slow. */
html[data-lang="en"][data-ymnav-translating="1"] .lang-toggle-btn{
    opacity:.82;
}
html[data-lang="en"][data-ymnav-translating="1"] .lang-toggle-btn::after{
    content:"";
    width:4px;
    height:4px;
    margin-left:3px;
    border-radius:999px;
    background:currentColor;
    opacity:.65;
}

.theme-btn,
.lang-toggle-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    background:rgba(255,255,255,0.04);
    border:1px solid var(--border);
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.2s;
    margin-left:8px;
    color:var(--text2);
}
.lang-toggle-btn{
    min-width:42px;
    width:auto;
    padding:0 10px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.02em;
    line-height:1;
}
.theme-btn:hover,
.lang-toggle-btn:hover{
    background:rgba(99,102,241,0.12);
    border-color:rgba(99,102,241,0.3);
    color:var(--accent2);
}

.footer{
    border-top:1px solid var(--border);
    padding:28px 24px;
    text-align:center;
}
.footer p{
    font-size:12px;
    color:var(--text3);
    margin-bottom:3px;
}

.footer-social{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:14px;
}
.footer-social-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
    min-height:30px;
    padding:6px 10px;
    border:1px solid var(--border);
    border-radius:999px;
    background:rgba(255,255,255,.04);
    color:var(--text2);
    font-size:12px;
    text-decoration:none;
    transition:.18s ease;
}
.footer-social-item:hover{
    border-color:rgba(99,102,241,.45);
    color:var(--text1);
    transform:translateY(-1px);
}
.footer-social-item strong{font-weight:500;}


.badge{
    display:inline-flex;
    padding:1px 6px;
    border-radius:4px;
    font-size:10px;
    font-weight:500;
}
.badge-featured{background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff}
.badge-free{background:rgba(34,197,94,0.15);color:#4ade80}
.badge-domestic{background:rgba(59,130,246,0.15);color:#60a5fa}

html[data-theme="light"] .theme-btn,
html[data-theme="light"] .lang-toggle-btn{
    background:rgba(0,0,0,.04);
    color:var(--text2);
}
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active{
    background:rgba(0,0,0,.04);
    color:var(--text);
}

@media(max-width:768px){
    .nav-links{display:none}
}

/* ===== Cat navigation forced mobile optimization 20260427 =====
   Shared fallback: loaded by common.css on every front-end page.
*/
.cat-nav,
#categories.cat-nav{
    max-width:1400px !important;
    width:100% !important;
    box-sizing:border-box !important;
}
.cat-nav .cat-nav-inner,
#categories .cat-nav-inner{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    white-space:nowrap !important;
}
.cat-nav .cat-group,
#categories .cat-group{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    flex:0 0 auto !important;
    width:auto !important;
    white-space:nowrap !important;
}
.cat-nav .cat-children,
#categories .cat-children{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    flex:0 0 auto !important;
    width:auto !important;
    white-space:nowrap !important;
}
.cat-nav .cat-pill,
#categories .cat-pill{
    display:inline-flex !important;
    flex:0 0 auto !important;
    width:auto !important;
    white-space:nowrap !important;
}

@media(max-width:768px){
    .cat-nav,
    #categories.cat-nav{
        margin-top:14px !important;
        padding:0 12px !important;
        overflow:hidden !important;
    }
    .cat-nav .cat-nav-inner,
    #categories .cat-nav-inner{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        gap:8px !important;
        padding:8px 4px 10px !important;
        max-height:52px !important;
        min-height:48px !important;
        border-radius:16px !important;
        scrollbar-width:none !important;
    }
    .cat-nav .cat-nav-inner::-webkit-scrollbar,
    #categories .cat-nav-inner::-webkit-scrollbar{
        display:none !important;
        height:0 !important;
    }
    .cat-nav .cat-group,
    #categories .cat-group,
    .cat-nav .cat-children,
    #categories .cat-children{
        display:inline-flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        flex:0 0 auto !important;
        width:auto !important;
        max-width:none !important;
        margin:0 !important;
    }
    .cat-nav .cat-pill,
    #categories .cat-pill{
        display:inline-flex !important;
        flex:0 0 auto !important;
        width:auto !important;
        min-width:auto !important;
        max-width:170px !important;
        min-height:34px !important;
        padding:8px 12px !important;
        font-size:12px !important;
        line-height:1 !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
    }
    .cat-nav .cat-pill .count,
    #categories .cat-pill .count{
        display:none !important;
    }
    .cat-nav .cat-pill-main .cat-arrow,
    #categories .cat-pill-main .cat-arrow{
        display:none !important;
    }
}


/* ===== Category nav grouped mobile layout 20260428 =====
   PC: normal wrapped category navigation.
   Mobile: each top-level category becomes its own compact horizontal row.
*/
.cat-nav .cat-nav-inner,
#categories .cat-nav-inner{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    overflow:visible !important;
    white-space:normal !important;
    max-height:none !important;
    padding:0 !important;
}
.cat-nav .cat-all-group,
#categories .cat-all-group{
    display:inline-flex !important;
    flex:0 0 auto !important;
}
.cat-nav .cat-group,
#categories .cat-group{
    position:relative !important;
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    width:auto !important;
    overflow:visible !important;
    white-space:normal !important;
}
.cat-nav .cat-children,
#categories .cat-children{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:5px !important;
    width:auto !important;
    overflow:visible !important;
    white-space:normal !important;
    margin-left:2px !important;
}
.cat-nav .cat-pill,
#categories .cat-pill{
    flex:0 0 auto !important;
}

@media(max-width:768px){
    .cat-nav,
    #categories.cat-nav{
        margin-top:14px !important;
        padding:0 12px !important;
        overflow:visible !important;
    }
    .cat-nav .cat-nav-inner,
    #categories .cat-nav-inner{
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        flex-wrap:nowrap !important;
        gap:9px !important;
        overflow:visible !important;
        padding:0 !important;
        max-height:none !important;
        min-height:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
    }
    .cat-nav .cat-all-group,
    #categories .cat-all-group,
    .cat-nav .cat-group,
    #categories .cat-group{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        flex-wrap:nowrap !important;
        gap:7px !important;
        width:100% !important;
        max-width:100% !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        -webkit-overflow-scrolling:touch !important;
        scrollbar-width:none !important;
        white-space:nowrap !important;
        padding:7px 8px !important;
        border:1px solid rgba(148,163,184,.18) !important;
        border-radius:14px !important;
        background:rgba(255,255,255,.035) !important;
        box-sizing:border-box !important;
    }
    .cat-nav .cat-all-group::-webkit-scrollbar,
    #categories .cat-all-group::-webkit-scrollbar,
    .cat-nav .cat-group::-webkit-scrollbar,
    #categories .cat-group::-webkit-scrollbar{
        display:none !important;
        height:0 !important;
    }
    .cat-nav .cat-children,
    #categories .cat-children{
        display:inline-flex !important;
        flex-direction:row !important;
        align-items:center !important;
        flex-wrap:nowrap !important;
        gap:6px !important;
        width:auto !important;
        max-width:none !important;
        overflow:visible !important;
        white-space:nowrap !important;
        margin:0 !important;
    }
    .cat-nav .cat-pill,
    #categories .cat-pill{
        display:inline-flex !important;
        align-items:center !important;
        justify-content:center !important;
        width:auto !important;
        max-width:none !important;
        min-height:34px !important;
        padding:8px 12px !important;
        border-radius:999px !important;
        font-size:12px !important;
        line-height:1 !important;
        white-space:nowrap !important;
    }
    .cat-nav .cat-pill-main,
    #categories .cat-pill-main{
        font-weight:700 !important;
        background:rgba(99,102,241,.13) !important;
        border-color:rgba(99,102,241,.24) !important;
    }
    .cat-nav .cat-pill-sub,
    #categories .cat-pill-sub{
        border-left:0 !important;
        background:rgba(255,255,255,.035) !important;
        border-color:rgba(148,163,184,.14) !important;
    }
    .cat-nav .cat-pill .count,
    #categories .cat-pill .count,
    .cat-nav .cat-pill-main .cat-arrow,
    #categories .cat-pill-main .cat-arrow{
        display:none !important;
    }
}


/* ===== Category nav overflow rule 20260429 =====
   Mobile: only top-level groups with more than 8 child categories scroll.
   Groups with 8 or fewer child categories wrap normally.
   PC: keep normal wrapped layout.
*/
html, body{
    max-width:100%;
    overflow-x:hidden;
}
.cat-nav,
#categories.cat-nav{
    max-width:1400px !important;
    width:100% !important;
    box-sizing:border-box !important;
    overflow:visible !important;
}
.cat-nav .cat-nav-inner,
#categories .cat-nav-inner{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:8px !important;
    overflow:visible !important;
    max-width:100% !important;
    white-space:normal !important;
}
.cat-nav .cat-group,
#categories .cat-group,
.cat-nav .cat-all-group,
#categories .cat-all-group{
    max-width:100% !important;
    box-sizing:border-box !important;
}
.cat-nav .cat-children,
#categories .cat-children{
    min-width:0 !important;
}

@media(max-width:768px){
    .cat-nav,
    #categories.cat-nav{
        padding:0 12px !important;
        overflow:hidden !important;
    }
    .cat-nav .cat-nav-inner,
    #categories .cat-nav-inner{
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        flex-wrap:nowrap !important;
        gap:8px !important;
        padding:0 !important;
        overflow:visible !important;
        max-width:100% !important;
    }
    .cat-nav .cat-all-group,
    #categories .cat-all-group{
        display:flex !important;
        flex-wrap:wrap !important;
        gap:7px !important;
        width:100% !important;
        max-width:100% !important;
        overflow:visible !important;
        padding:0 !important;
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
    }
    .cat-nav .cat-group,
    #categories .cat-group{
        display:flex !important;
        flex-direction:row !important;
        align-items:center !important;
        gap:7px !important;
        width:100% !important;
        max-width:100% !important;
        box-sizing:border-box !important;
        padding:7px 0 !important;
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        white-space:normal !important;
    }
    .cat-nav .cat-group-normal,
    #categories .cat-group-normal{
        flex-wrap:wrap !important;
        overflow:visible !important;
    }
    .cat-nav .cat-group-scroll,
    #categories .cat-group-scroll{
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        -webkit-overflow-scrolling:touch !important;
        scrollbar-width:none !important;
        white-space:nowrap !important;
        padding-bottom:9px !important;
    }
    .cat-nav .cat-group-scroll::-webkit-scrollbar,
    #categories .cat-group-scroll::-webkit-scrollbar{
        display:none !important;
        height:0 !important;
    }
    .cat-nav .cat-group-normal .cat-children,
    #categories .cat-group-normal .cat-children{
        display:flex !important;
        flex-wrap:wrap !important;
        overflow:visible !important;
        white-space:normal !important;
        min-width:0 !important;
    }
    .cat-nav .cat-group-scroll .cat-children,
    #categories .cat-group-scroll .cat-children{
        display:inline-flex !important;
        flex-wrap:nowrap !important;
        width:auto !important;
        max-width:none !important;
        overflow:visible !important;
        white-space:nowrap !important;
        flex:0 0 auto !important;
    }
    .cat-nav .cat-pill,
    #categories .cat-pill{
        display:inline-flex !important;
        flex:0 0 auto !important;
        width:auto !important;
        max-width:160px !important;
        overflow:hidden !important;
        text-overflow:ellipsis !important;
        white-space:nowrap !important;
    }
    .cat-nav .cat-group-normal .cat-pill,
    #categories .cat-group-normal .cat-pill{
        flex:0 1 auto !important;
    }
    .cat-nav .cat-pill .count,
    #categories .cat-pill .count,
    .cat-nav .cat-pill-main .cat-arrow,
    #categories .cat-pill-main .cat-arrow{
        display:none !important;
    }
}


/* 2026-04-25 category nav final layout fix
   Goal: stop category groups from being forced into one horizontal row,
   keep every child category visible, and use a card/grid layout on PC + mobile. */
.cat-nav,
#categories.cat-nav{
    max-width:1400px !important;
    margin:28px auto 0 !important;
    padding:0 24px !important;
    overflow:visible !important;
}
.cat-nav .cat-nav-inner,
#categories .cat-nav-inner{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
    gap:12px !important;
    align-items:start !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
    white-space:normal !important;
}
.cat-nav .cat-all-group,
#categories .cat-all-group,
.cat-nav .cat-group,
#categories .cat-group,
.cat-nav .cat-group-normal,
#categories .cat-group-normal,
.cat-nav .cat-group-scroll,
#categories .cat-group-scroll{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:9px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:12px !important;
    border:1px solid rgba(148,163,184,.22) !important;
    border-radius:18px !important;
    background:rgba(255,255,255,.78) !important;
    box-shadow:0 8px 24px rgba(15,23,42,.06) !important;
    box-sizing:border-box !important;
    overflow:visible !important;
    white-space:normal !important;
}
.cat-nav .cat-all-group{
    justify-content:center !important;
}
.cat-nav .cat-children,
#categories .cat-children,
.cat-nav .cat-group-normal .cat-children,
#categories .cat-group-normal .cat-children,
.cat-nav .cat-group-scroll .cat-children,
#categories .cat-group-scroll .cat-children{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:7px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:visible !important;
    white-space:normal !important;
}
.cat-nav .cat-pill,
#categories .cat-pill{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 1 auto !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    box-sizing:border-box !important;
}
.cat-nav .cat-pill-main,
#categories .cat-pill-main{
    justify-content:flex-start !important;
    width:100% !important;
    min-height:40px !important;
    font-weight:700 !important;
}
.cat-nav .cat-pill-sub,
#categories .cat-pill-sub{
    max-width:148px !important;
}
@media(max-width:768px){
    .cat-nav,
    #categories.cat-nav{
        margin-top:18px !important;
        padding:0 12px !important;
        overflow:visible !important;
    }
    .cat-nav .cat-nav-inner,
    #categories .cat-nav-inner{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:10px !important;
        padding:0 !important;
        overflow:visible !important;
        white-space:normal !important;
    }
    .cat-nav .cat-all-group,
    #categories .cat-all-group,
    .cat-nav .cat-group,
    #categories .cat-group,
    .cat-nav .cat-group-normal,
    #categories .cat-group-normal,
    .cat-nav .cat-group-scroll,
    #categories .cat-group-scroll{
        display:flex !important;
        flex-direction:column !important;
        gap:8px !important;
        padding:10px !important;
        border-radius:16px !important;
        overflow:visible !important;
        white-space:normal !important;
    }
    .cat-nav .cat-children,
    #categories .cat-children,
    .cat-nav .cat-group-normal .cat-children,
    #categories .cat-group-normal .cat-children,
    .cat-nav .cat-group-scroll .cat-children,
    #categories .cat-group-scroll .cat-children{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:7px !important;
        width:100% !important;
        overflow:visible !important;
        white-space:normal !important;
    }
    .cat-nav .cat-pill,
    #categories .cat-pill{
        width:100% !important;
        max-width:100% !important;
        min-height:34px !important;
        padding:7px 9px !important;
        white-space:nowrap !important;
    }
    .cat-nav .cat-pill-sub,
    #categories .cat-pill-sub{
        max-width:100% !important;
        justify-content:flex-start !important;
    }
    .cat-nav .cat-pill .count,
    #categories .cat-pill .count{
        display:none !important;
    }
}
@media(max-width:380px){
    .cat-nav .cat-children,
    #categories .cat-children,
    .cat-nav .cat-group-normal .cat-children,
    #categories .cat-group-normal .cat-children,
    .cat-nav .cat-group-scroll .cat-children,
    #categories .cat-group-scroll .cat-children{
        grid-template-columns:1fr !important;
    }
}

/* 2026-04-25 final requested category row layout
   Layout requested by site owner:
   one row per main category, main category on the left, child categories on the right.
   Only rows with many children scroll inside their own child area. */
.cat-nav,
#categories.cat-nav{
    max-width:1400px !important;
    margin:26px auto 0 !important;
    padding:0 24px !important;
    overflow:visible !important;
}
.cat-nav .cat-nav-inner,
#categories .cat-nav-inner{
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    width:100% !important;
    overflow:visible !important;
    white-space:normal !important;
}
.cat-nav .cat-all-group,
#categories .cat-all-group{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    overflow:visible !important;
}
.cat-nav .cat-group,
#categories .cat-group,
.cat-nav .cat-group-normal,
#categories .cat-group-normal,
.cat-nav .cat-group-scroll,
#categories .cat-group-scroll{
    position:relative !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    width:100% !important;
    min-width:0 !important;
    gap:10px !important;
    padding:10px 12px !important;
    border-radius:16px !important;
    background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(99,102,241,.045)) !important;
    border:1px solid rgba(255,255,255,.075) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.10) !important;
    overflow:hidden !important;
    white-space:nowrap !important;
}
html[data-theme="light"] .cat-nav .cat-group,
html[data-theme="light"] #categories .cat-group{
    background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(99,102,241,.055)) !important;
    border-color:rgba(99,102,241,.12) !important;
    box-shadow:0 8px 22px rgba(30,41,59,.06) !important;
}
.cat-nav .cat-pill,
#categories .cat-pill{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:34px !important;
    padding:7px 12px !important;
    border-radius:999px !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
    line-height:1.2 !important;
}
.cat-nav .cat-pill-main,
#categories .cat-pill-main{
    flex:0 0 158px !important;
    width:158px !important;
    min-height:38px !important;
    justify-content:flex-start !important;
    padding:8px 13px !important;
    font-weight:800 !important;
    color:#fff !important;
    background:var(--gradient) !important;
    border-color:transparent !important;
    box-shadow:0 8px 22px rgba(99,102,241,.22) !important;
}
.cat-nav .cat-pill-main .count,
#categories .cat-pill-main .count{
    margin-left:auto !important;
    color:rgba(255,255,255,.85) !important;
    background:rgba(255,255,255,.16) !important;
}
.cat-nav .cat-pill-main .cat-arrow,
#categories .cat-pill-main .cat-arrow{
    display:none !important;
}
.cat-nav .cat-children,
#categories .cat-children,
.cat-nav .cat-group-normal .cat-children,
#categories .cat-group-normal .cat-children,
.cat-nav .cat-group-scroll .cat-children,
#categories .cat-group-scroll .cat-children{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
    width:auto !important;
    flex:1 1 auto !important;
    margin:0 !important;
    padding:2px 2px 7px 0 !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-behavior:smooth !important;
    scrollbar-width:thin !important;
    scrollbar-color:rgba(129,140,248,.55) rgba(255,255,255,.06) !important;
    cursor:grab !important;
}
.cat-nav .cat-children:active,
#categories .cat-children:active{
    cursor:grabbing !important;
}
.cat-nav .cat-children::-webkit-scrollbar,
#categories .cat-children::-webkit-scrollbar{
    height:6px !important;
}
.cat-nav .cat-children::-webkit-scrollbar-track,
#categories .cat-children::-webkit-scrollbar-track{
    background:rgba(255,255,255,.055) !important;
    border-radius:999px !important;
}
.cat-nav .cat-children::-webkit-scrollbar-thumb,
#categories .cat-children::-webkit-scrollbar-thumb{
    background:linear-gradient(90deg,#6366f1,#a855f7) !important;
    border-radius:999px !important;
}
.cat-nav .cat-pill-sub,
#categories .cat-pill-sub{
    max-width:none !important;
    padding:7px 11px !important;
    color:var(--text2) !important;
    background:rgba(255,255,255,.035) !important;
    border:1px solid rgba(255,255,255,.07) !important;
    border-left:1px solid rgba(255,255,255,.07) !important;
}
.cat-nav .cat-pill-sub:hover,
.cat-nav .cat-pill-sub.active,
#categories .cat-pill-sub:hover,
#categories .cat-pill-sub.active{
    color:var(--accent2) !important;
    background:rgba(99,102,241,.13) !important;
    border-color:rgba(129,140,248,.35) !important;
}
.cat-nav .cat-group::after,
#categories .cat-group::after{
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:42px !important;
    pointer-events:none !important;
    background:linear-gradient(90deg,rgba(18,18,26,0),var(--bg2)) !important;
    opacity:.75 !important;
}
html[data-theme="light"] .cat-nav .cat-group::after,
html[data-theme="light"] #categories .cat-group::after{
    background:linear-gradient(90deg,rgba(255,255,255,0),#fff) !important;
}
@media(max-width:768px){
    .cat-nav,
    #categories.cat-nav{
        margin-top:18px !important;
        padding:0 12px !important;
    }
    .cat-nav .cat-nav-inner,
    #categories .cat-nav-inner{
        gap:8px !important;
    }
    .cat-nav .cat-group,
    #categories .cat-group,
    .cat-nav .cat-group-normal,
    #categories .cat-group-normal,
    .cat-nav .cat-group-scroll,
    #categories .cat-group-scroll{
        flex-direction:row !important;
        align-items:center !important;
        gap:8px !important;
        padding:8px 10px !important;
        border-radius:14px !important;
    }
    .cat-nav .cat-pill-main,
    #categories .cat-pill-main{
        flex:0 0 108px !important;
        width:108px !important;
        min-height:34px !important;
        padding:7px 10px !important;
        font-size:12.5px !important;
    }
    .cat-nav .cat-pill-sub,
    #categories .cat-pill-sub{
        padding:6px 10px !important;
        font-size:12px !important;
    }
    .cat-nav .cat-pill .count,
    #categories .cat-pill .count{
        display:none !important;
    }
    .cat-nav .cat-children,
    #categories .cat-children{
        gap:6px !important;
        padding-bottom:6px !important;
    }
    .cat-nav .cat-group::after,
    #categories .cat-group::after{
        width:28px !important;
    }
}
@media(max-width:390px){
    .cat-nav .cat-pill-main,
    #categories .cat-pill-main{
        flex-basis:94px !important;
        width:94px !important;
        font-size:12px !important;
    }
    .cat-nav .cat-pill-sub,
    #categories .cat-pill-sub{
        font-size:11.5px !important;
    }
}


/* ===== Mobile top category drawer 2026-04-26 ===== */
.mobile-cat-btn{
    display:none;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    margin-left:0;
    border:1px solid var(--border);
    border-radius:10px;
    background:rgba(255,255,255,.045);
    color:var(--text2);
    cursor:pointer;
    transition:.2s;
}
.mobile-cat-btn:hover,
.mobile-cat-btn.active{
    color:var(--accent2);
    border-color:rgba(129,140,248,.38);
    background:rgba(99,102,241,.13);
}
.mobile-cat-btn-lines{
    display:flex;
    flex-direction:column;
    gap:4px;
    width:17px;
}
.mobile-cat-btn-lines i{
    display:block;
    height:2px;
    border-radius:999px;
    background:currentColor;
}
html[data-theme="light"] .mobile-cat-btn{
    background:rgba(0,0,0,.035);
}
.mobile-cat-mask{
    display:none;
}
.mobile-cat-panel{
    display:none;
}

@media(max-width:768px){
    .navbar{
        padding:0 12px;
    }
    .navbar-inner{
        height:58px;
    }
    .logo{
        min-width:0;
        max-width:calc(100vw - 176px);
        overflow:hidden;
        white-space:nowrap;
        text-overflow:ellipsis;
        font-size:18px;
    }
    .logo img{
        height:32px;
        flex:0 0 auto;
    }
    .theme-btn,
    .lang-toggle-btn{
        margin-left:0;
        width:36px;
        height:36px;
    }
    .lang-toggle-btn{
        min-width:38px;
        padding:0 8px;
        font-size:12px;
    }
    .mobile-cat-btn{
        display:inline-flex;
    }
    body.mobile-cat-open{
        overflow:hidden;
    }
    .mobile-cat-mask{
        position:fixed;
        inset:58px 0 0;
        z-index:140;
        display:block;
        background:rgba(0,0,0,.46);
        backdrop-filter:blur(4px);
        opacity:0;
        pointer-events:none;
        transition:opacity .22s ease;
    }
    .mobile-cat-mask.show{
        opacity:1;
        pointer-events:auto;
    }
    .mobile-cat-panel{
        position:fixed;
        top:58px;
        left:0;
        right:0;
        z-index:150;
        display:flex;
        flex-direction:column;
        max-height:calc(100vh - 58px);
        padding:12px;
        background:linear-gradient(180deg,var(--bg2),rgba(18,18,26,.96));
        border-bottom:1px solid var(--border2);
        box-shadow:0 18px 42px rgba(0,0,0,.38);
        transform:translateY(-112%);
        opacity:0;
        pointer-events:none;
        transition:transform .26s ease,opacity .22s ease;
    }
    .mobile-cat-panel.open{
        transform:translateY(0);
        opacity:1;
        pointer-events:auto;
    }
    html[data-theme="light"] .mobile-cat-panel{
        background:linear-gradient(180deg,#ffffff,rgba(247,248,252,.98));
        box-shadow:0 18px 36px rgba(15,23,42,.16);
    }
    .mobile-cat-panel-head{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:4px 2px 12px;
    }
    .mobile-cat-panel-head strong{
        display:block;
        font-size:16px;
        line-height:1.2;
        color:var(--text);
    }
    .mobile-cat-panel-head span{
        display:block;
        margin-top:2px;
        font-size:12px;
        color:var(--text3);
    }
    .mobile-cat-close{
        width:34px;
        height:34px;
        border:1px solid var(--border);
        border-radius:10px;
        background:rgba(255,255,255,.045);
        color:var(--text2);
        font-size:24px;
        line-height:1;
        cursor:pointer;
    }
    .mobile-cat-panel-body{
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
        padding:0 0 16px;
    }
    .mobile-cat-home,
    .mobile-cat-main,
    .mobile-cat-sub{
        display:flex;
        align-items:center;
        gap:8px;
        min-height:40px;
        border-radius:13px;
        transition:.18s;
    }
    .mobile-cat-home{
        margin-bottom:9px;
        padding:10px 12px;
        font-weight:800;
        color:#fff;
        background:var(--gradient);
        box-shadow:0 9px 22px rgba(99,102,241,.24);
    }
    .mobile-cat-home.active{
        outline:2px solid rgba(255,255,255,.18);
    }
    .mobile-cat-block{
        margin-bottom:10px;
        padding:10px;
        border:1px solid rgba(255,255,255,.08);
        border-radius:16px;
        background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(99,102,241,.045));
    }
    html[data-theme="light"] .mobile-cat-block{
        border-color:rgba(99,102,241,.12);
        background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(99,102,241,.055));
    }
    .mobile-cat-block.active{
        border-color:rgba(129,140,248,.38);
        box-shadow:0 8px 24px rgba(99,102,241,.12);
    }
    .mobile-cat-main{
        padding:9px 10px;
        font-weight:800;
        color:var(--text);
        background:rgba(255,255,255,.045);
        border:1px solid rgba(255,255,255,.075);
    }
    html[data-theme="light"] .mobile-cat-main{
        background:rgba(99,102,241,.06);
        border-color:rgba(99,102,241,.12);
    }
    .mobile-cat-main.active{
        color:#fff;
        background:var(--gradient);
        border-color:transparent;
    }
    .mobile-cat-name{
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .mobile-cat-count{
        margin-left:auto;
        min-width:24px;
        padding:2px 7px;
        border-radius:999px;
        text-align:center;
        font-size:11px;
        color:var(--accent2);
        background:rgba(99,102,241,.13);
    }
    .mobile-cat-main.active .mobile-cat-count{
        color:rgba(255,255,255,.92);
        background:rgba(255,255,255,.18);
    }
    .mobile-cat-sublist{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        margin-top:8px;
    }
    .mobile-cat-sub{
        min-width:0;
        padding:8px 9px;
        color:var(--text2);
        background:rgba(255,255,255,.032);
        border:1px solid rgba(255,255,255,.065);
        font-size:12.5px;
    }
    html[data-theme="light"] .mobile-cat-sub{
        background:rgba(255,255,255,.72);
        border-color:rgba(99,102,241,.10);
    }
    .mobile-cat-sub span:last-of-type{
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .mobile-cat-sub em{
        margin-left:auto;
        font-style:normal;
        font-size:10px;
        color:var(--text3);
    }
    .mobile-cat-sub:hover,
    .mobile-cat-sub.active{
        color:var(--accent2);
        border-color:rgba(129,140,248,.36);
        background:rgba(99,102,241,.13);
    }
}
@media(max-width:380px){
    .mobile-cat-sublist{
        grid-template-columns:1fr;
    }
}



/* 2026-04-26 cat-nav v2: 主分类横向滑动，PC悬停显示子分类 */
.cat-nav-v2,
#categories.cat-nav-v2{
    max-width:1400px !important;
    margin:28px auto 0 !important;
    padding:0 24px !important;
    overflow:visible !important;
    position:relative !important;
    z-index:20 !important;
}
.cat-nav-v2 .cat-main-scroll,
#categories.cat-nav-v2 .cat-main-scroll{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    padding:4px 4px 14px !important;
    white-space:nowrap !important;
}
.cat-nav-v2 .cat-main-scroll::-webkit-scrollbar{display:none;height:0}
.cat-nav-v2 .cat-hover-item{
    position:relative !important;
    flex:0 0 auto !important;
}
.cat-nav-v2 .cat-main-pill,
#categories.cat-nav-v2 .cat-main-pill{
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    height:42px !important;
    max-width:190px !important;
    padding:0 14px !important;
    border-radius:999px !important;
    border:1px solid rgba(148,163,184,.22) !important;
    background:rgba(255,255,255,.7) !important;
    color:var(--text) !important;
    text-decoration:none !important;
    box-shadow:0 8px 20px rgba(15,23,42,.06) !important;
    transition:all .18s ease !important;
}
[data-theme="dark"] .cat-nav-v2 .cat-main-pill{
    background:rgba(15,23,42,.72) !important;
    border-color:rgba(148,163,184,.2) !important;
}
.cat-nav-v2 .cat-main-pill:hover,
.cat-nav-v2 .cat-main-pill.active{
    color:#fff !important;
    border-color:transparent !important;
    background:linear-gradient(135deg,var(--primary),var(--secondary)) !important;
    transform:translateY(-1px) !important;
}
.cat-nav-v2 .cat-main-pill .cat-name{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.cat-nav-v2 .cat-main-pill .count{
    font-size:11px !important;
    min-width:20px !important;
    height:20px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 6px !important;
    border-radius:999px !important;
    background:rgba(148,163,184,.14) !important;
}
.cat-nav-v2 .cat-main-pill.active .count,
.cat-nav-v2 .cat-main-pill:hover .count{background:rgba(255,255,255,.2) !important}
.cat-nav-v2 .cat-dropdown{
    display:none !important;
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:0 !important;
    min-width:300px !important;
    max-width:460px !important;
    padding:14px !important;
    border-radius:18px !important;
    border:1px solid rgba(148,163,184,.24) !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 22px 60px rgba(15,23,42,.18) !important;
    backdrop-filter:blur(18px) !important;
    z-index:100 !important;
}
[data-theme="dark"] .cat-nav-v2 .cat-dropdown{
    background:rgba(15,23,42,.96) !important;
}
@media (hover:hover) and (pointer:fine){
    .cat-nav-v2 .cat-hover-item:hover .cat-dropdown{display:block !important}
}
.cat-nav-v2 .cat-dropdown-title{
    font-weight:700 !important;
    color:var(--text) !important;
    margin-bottom:10px !important;
    font-size:14px !important;
}
.cat-nav-v2 .cat-dropdown-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
}
.cat-nav-v2 .cat-sub-pill{
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
    padding:9px 10px !important;
    border-radius:12px !important;
    text-decoration:none !important;
    color:var(--text2) !important;
    background:rgba(148,163,184,.08) !important;
    border:1px solid transparent !important;
}
.cat-nav-v2 .cat-sub-pill:hover,
.cat-nav-v2 .cat-sub-pill.active{
    color:var(--primary) !important;
    background:rgba(99,102,241,.12) !important;
    border-color:rgba(99,102,241,.22) !important;
}
.cat-nav-v2 .cat-sub-pill span:nth-child(2){
    flex:1 !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.cat-nav-v2 .cat-sub-pill .count{
    font-size:11px !important;
    color:var(--text3) !important;
}
@media(max-width:768px){
    .cat-nav-v2,
    #categories.cat-nav-v2{padding:0 12px !important;margin-top:18px !important}
    .cat-nav-v2 .cat-main-scroll{gap:8px !important;padding-bottom:10px !important}
    .cat-nav-v2 .cat-main-pill{height:38px !important;max-width:150px !important;padding:0 12px !important}
    .cat-nav-v2 .cat-main-pill .count,
    .cat-nav-v2 .cat-main-pill .cat-arrow{display:none !important}
    .cat-nav-v2 .cat-dropdown{display:none !important}
}

/* 2026-04-26 cat-nav v3: front UI polish + fixed PC hover dropdown + mobile tap-to-expand */
.cat-nav-v2,
#categories.cat-nav-v2{
    max-width:1400px !important;
    margin:24px auto 0 !important;
    padding:0 24px !important;
    position:relative !important;
    z-index:80 !important;
    overflow:visible !important;
}
.cat-nav-v2 .cat-main-scroll,
#categories.cat-nav-v2 .cat-main-scroll{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    padding:8px !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    white-space:nowrap !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    border:1px solid var(--border) !important;
    border-radius:22px !important;
    background:
        radial-gradient(circle at 8% 0%, rgba(99,102,241,.18), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)) !important;
    box-shadow:0 16px 46px rgba(0,0,0,.16) !important;
    backdrop-filter:blur(18px) saturate(1.25) !important;
}
html[data-theme="light"] .cat-nav-v2 .cat-main-scroll,
html[data-theme="light"] #categories.cat-nav-v2 .cat-main-scroll{
    background:
        radial-gradient(circle at 8% 0%, rgba(99,102,241,.13), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,248,252,.78)) !important;
    box-shadow:0 14px 36px rgba(30,41,59,.08) !important;
}
.cat-nav-v2 .cat-main-scroll::-webkit-scrollbar{display:none !important;height:0 !important}
.cat-nav-v2 .cat-hover-item{
    position:relative !important;
    flex:0 0 auto !important;
}
.cat-nav-v2 .cat-main-pill,
#categories.cat-nav-v2 .cat-main-pill{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    height:40px !important;
    max-width:188px !important;
    padding:0 14px !important;
    border-radius:999px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    background:rgba(255,255,255,.045) !important;
    color:var(--text2) !important;
    text-decoration:none !important;
    box-shadow:none !important;
    transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
html[data-theme="light"] .cat-nav-v2 .cat-main-pill,
html[data-theme="light"] #categories.cat-nav-v2 .cat-main-pill{
    color:#4a4a5e !important;
    border-color:rgba(99,102,241,.10) !important;
    background:rgba(255,255,255,.74) !important;
}
.cat-nav-v2 .cat-main-pill:hover,
.cat-nav-v2 .cat-main-pill.active,
.cat-nav-v2 .cat-hover-item.is-open > .cat-main-pill,
.cat-nav-v2 .cat-hover-item.mobile-open > .cat-main-pill{
    color:#fff !important;
    border-color:transparent !important;
    background:var(--gradient) !important;
    transform:translateY(-1px) !important;
    box-shadow:0 10px 24px rgba(99,102,241,.24) !important;
}
.cat-nav-v2 .cat-main-home{font-weight:800 !important}
.cat-nav-v2 .cat-main-pill .icon{font-size:15px !important;line-height:1 !important}
.cat-nav-v2 .cat-main-pill .cat-name{
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.cat-nav-v2 .cat-main-pill .count{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:20px !important;
    height:20px !important;
    padding:0 6px !important;
    border-radius:999px !important;
    font-size:11px !important;
    font-weight:700 !important;
    color:var(--accent2) !important;
    background:rgba(99,102,241,.12) !important;
}
.cat-nav-v2 .cat-main-pill:hover .count,
.cat-nav-v2 .cat-main-pill.active .count,
.cat-nav-v2 .cat-hover-item.is-open > .cat-main-pill .count,
.cat-nav-v2 .cat-hover-item.mobile-open > .cat-main-pill .count{
    color:rgba(255,255,255,.92) !important;
    background:rgba(255,255,255,.18) !important;
}
.cat-nav-v2 .cat-arrow{
    font-size:11px !important;
    opacity:.75 !important;
    transition:transform .18s ease !important;
}
.cat-nav-v2 .cat-hover-item.is-open .cat-arrow,
.cat-nav-v2 .cat-hover-item.mobile-open .cat-arrow{transform:rotate(180deg) !important}
.cat-nav-v2 .cat-dropdown,
#categories.cat-nav-v2 .cat-dropdown{
    display:none !important;
    position:absolute !important;
    top:calc(100% + 10px) !important;
    left:0 !important;
    min-width:340px !important;
    max-width:520px !important;
    padding:14px !important;
    border-radius:20px !important;
    border:1px solid var(--border2) !important;
    background:
        radial-gradient(circle at 14% 0%, rgba(99,102,241,.18), transparent 36%),
        rgba(18,18,26,.96) !important;
    box-shadow:0 24px 70px rgba(0,0,0,.36) !important;
    backdrop-filter:blur(20px) saturate(1.25) !important;
    z-index:9999 !important;
}
html[data-theme="light"] .cat-nav-v2 .cat-dropdown,
html[data-theme="light"] #categories.cat-nav-v2 .cat-dropdown{
    background:
        radial-gradient(circle at 14% 0%, rgba(99,102,241,.12), transparent 36%),
        rgba(255,255,255,.97) !important;
    box-shadow:0 24px 60px rgba(30,41,59,.16) !important;
}
.cat-nav-v2 .cat-hover-item.is-open > .cat-dropdown,
#categories.cat-nav-v2 .cat-hover-item.is-open > .cat-dropdown,
.cat-nav-v2 .cat-hover-item.mobile-open > .cat-dropdown,
#categories.cat-nav-v2 .cat-hover-item.mobile-open > .cat-dropdown{
    display:block !important;
}
@media (hover:hover) and (pointer:fine){
    .cat-nav-v2 .cat-hover-item:hover > .cat-dropdown,
    #categories.cat-nav-v2 .cat-hover-item:hover > .cat-dropdown{display:block !important}
}
.cat-nav-v2 .cat-dropdown-title{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin-bottom:12px !important;
    padding:0 2px 10px !important;
    border-bottom:1px solid var(--border) !important;
    font-size:14px !important;
    font-weight:800 !important;
    color:var(--text) !important;
}
.cat-nav-v2 .cat-dropdown-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    max-height:336px !important;
    overflow-y:auto !important;
    padding-right:2px !important;
}
.cat-nav-v2 .cat-sub-pill,
#categories.cat-nav-v2 .cat-sub-pill{
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
    padding:9px 10px !important;
    border-radius:13px !important;
    text-decoration:none !important;
    color:var(--text2) !important;
    background:rgba(255,255,255,.04) !important;
    border:1px solid rgba(255,255,255,.065) !important;
    transition:all .16s ease !important;
}
html[data-theme="light"] .cat-nav-v2 .cat-sub-pill,
html[data-theme="light"] #categories.cat-nav-v2 .cat-sub-pill{
    background:rgba(99,102,241,.045) !important;
    border-color:rgba(99,102,241,.09) !important;
}
.cat-nav-v2 .cat-sub-pill:hover,
.cat-nav-v2 .cat-sub-pill.active,
#categories.cat-nav-v2 .cat-sub-pill:hover,
#categories.cat-nav-v2 .cat-sub-pill.active{
    color:var(--accent2) !important;
    background:rgba(99,102,241,.14) !important;
    border-color:rgba(129,140,248,.35) !important;
    transform:translateY(-1px) !important;
}
.cat-nav-v2 .cat-sub-pill span:nth-child(2){
    flex:1 1 auto !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}
.cat-nav-v2 .cat-sub-pill .count{
    flex:0 0 auto !important;
    font-size:11px !important;
    color:var(--text3) !important;
}
@media(max-width:768px){
    .cat-nav-v2,
    #categories.cat-nav-v2{
        margin-top:18px !important;
        padding:0 12px !important;
        z-index:60 !important;
    }
    .cat-nav-v2 .cat-main-scroll,
    #categories.cat-nav-v2 .cat-main-scroll{
        align-items:flex-start !important;
        gap:8px !important;
        padding:7px !important;
        border-radius:18px !important;
        overflow-x:auto !important;
        overflow-y:visible !important;
    }
    .cat-nav-v2 .cat-main-pill,
    #categories.cat-nav-v2 .cat-main-pill{
        height:38px !important;
        max-width:150px !important;
        padding:0 12px !important;
        font-size:13px !important;
    }
    .cat-nav-v2 .cat-main-pill .count{display:none !important}
    .cat-nav-v2 .cat-hover-item.mobile-open{
        position:static !important;
    }
    .cat-nav-v2 .cat-dropdown,
    #categories.cat-nav-v2 .cat-dropdown{
        position:absolute !important;
        left:12px !important;
        right:12px !important;
        top:calc(100% + 8px) !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        max-height:52vh !important;
        overflow-y:auto !important;
        padding:12px !important;
        border-radius:18px !important;
        z-index:9999 !important;
    }
    .cat-nav-v2 .cat-dropdown-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;max-height:none !important}
    .cat-nav-v2 .cat-sub-pill{padding:8px 9px !important;font-size:12.5px !important}
    .cat-nav-v2 .cat-sub-pill .count{display:none !important}
}
@media(max-width:420px){
    .cat-nav-v2 .cat-dropdown-grid{grid-template-columns:1fr !important}
    .cat-nav-v2 .cat-main-pill,
    #categories.cat-nav-v2 .cat-main-pill{max-width:136px !important}
}

/* 2026-04-26 mobile category drawer: tap main category to expand children */
.mobile-cat-block.has-children .mobile-cat-main{cursor:pointer}
.mobile-cat-arrow{
    margin-left:4px;
    font-size:12px;
    color:var(--text3);
    transition:transform .18s ease,color .18s ease;
}
.mobile-cat-block.open .mobile-cat-arrow{transform:rotate(180deg);color:var(--accent2)}
.mobile-cat-block.has-children .mobile-cat-sublist{display:none}
.mobile-cat-block.has-children.open .mobile-cat-sublist{display:grid}
.mobile-cat-block.has-children.open{
    border-color:rgba(129,140,248,.38);
    box-shadow:0 10px 26px rgba(99,102,241,.12);
}
.mobile-cat-block.has-children.open .mobile-cat-main{
    color:#fff;
    background:var(--gradient);
    border-color:transparent;
}
.mobile-cat-block.has-children.open .mobile-cat-main .mobile-cat-count{
    color:rgba(255,255,255,.92);
    background:rgba(255,255,255,.18);
}

/* 2026-04-26 cat-nav compact + true floating dropdown visibility fix */
.cat-nav-v2,
#categories.cat-nav-v2{
    margin-top:20px !important;
}
.cat-nav-v2 .cat-main-scroll,
#categories.cat-nav-v2 .cat-main-scroll{
    gap:8px !important;
    padding:6px !important;
    border-radius:19px !important;
}
.cat-nav-v2 .cat-main-pill,
#categories.cat-nav-v2 .cat-main-pill{
    height:34px !important;
    max-width:168px !important;
    padding:0 11px !important;
    gap:5px !important;
    font-size:12.5px !important;
}
.cat-nav-v2 .cat-main-pill .icon{font-size:13px !important;}
.cat-nav-v2 .cat-main-pill .count{min-width:18px !important;height:18px !important;padding:0 5px !important;font-size:10px !important;}
.cat-nav-v2 .cat-arrow{font-size:10px !important;}
.cat-nav-v2 .cat-dropdown,
#categories.cat-nav-v2 .cat-dropdown,
.cat-dropdown.cat-dropdown-floating{min-width:360px !important;max-width:620px !important;padding:12px !important;border-radius:18px !important;}
.cat-dropdown.cat-dropdown-floating{display:block !important;position:fixed !important;z-index:2147483000 !important;pointer-events:auto !important;}
.cat-nav-v2 .cat-dropdown-title{margin-bottom:10px !important;padding-bottom:8px !important;font-size:13px !important;}
.cat-nav-v2 .cat-dropdown-grid,
.cat-dropdown-floating .cat-dropdown-grid{gap:7px !important;max-height:420px !important;}
.cat-nav-v2 .cat-sub-pill,
#categories.cat-nav-v2 .cat-sub-pill,
.cat-dropdown-floating .cat-sub-pill{padding:7px 9px !important;border-radius:12px !important;font-size:12px !important;gap:6px !important;}
.cat-nav-v2 .cat-sub-pill .count,
.cat-dropdown-floating .cat-sub-pill .count{font-size:10px !important;}
@media(max-width:768px){
    .cat-nav-v2,#categories.cat-nav-v2{margin-top:14px !important;padding:0 10px !important;}
    .cat-nav-v2 .cat-main-scroll,#categories.cat-nav-v2 .cat-main-scroll{gap:6px !important;padding:6px !important;border-radius:16px !important;}
    .cat-nav-v2 .cat-main-pill,#categories.cat-nav-v2 .cat-main-pill{height:34px !important;max-width:138px !important;padding:0 10px !important;font-size:12px !important;}
    .cat-nav-v2 .cat-dropdown,#categories.cat-nav-v2 .cat-dropdown,.cat-dropdown.cat-dropdown-floating{left:10px !important;right:10px !important;width:auto !important;min-width:0 !important;max-width:none !important;max-height:58vh !important;padding:10px !important;border-radius:16px !important;}
    .cat-nav-v2 .cat-sub-pill,#categories.cat-nav-v2 .cat-sub-pill,.cat-dropdown-floating .cat-sub-pill{padding:7px 8px !important;font-size:11.8px !important;}
}

/* 2026-04-26 cat-nav v2 dropdown: match top nav-links dropdown visual style */
.cat-nav-v2 .cat-dropdown,
#categories.cat-nav-v2 .cat-dropdown,
.cat-dropdown.cat-dropdown-floating{
    min-width:220px !important;
    max-width:280px !important;
    width:max-content !important;
    padding:6px !important;
    border-radius:10px !important;
    border:1px solid var(--border) !important;
    background:var(--bg2) !important;
    background-image:none !important;
    box-shadow:0 10px 30px rgba(0,0,0,.25) !important;
    backdrop-filter:none !important;
}
html[data-theme="light"] .cat-nav-v2 .cat-dropdown,
html[data-theme="light"] #categories.cat-nav-v2 .cat-dropdown,
html[data-theme="light"] .cat-dropdown.cat-dropdown-floating{
    background:var(--bg2) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08) !important;
}
.cat-nav-v2 .cat-dropdown-title,
.cat-dropdown-floating .cat-dropdown-title{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 0 4px !important;
    padding:8px 12px 9px !important;
    border-bottom:1px solid var(--border) !important;
    border-radius:7px 7px 0 0 !important;
    font-size:12px !important;
    font-weight:700 !important;
    color:var(--text3) !important;
}
.cat-nav-v2 .cat-dropdown-grid,
.cat-dropdown-floating .cat-dropdown-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    max-height:360px !important;
    overflow-y:auto !important;
    padding:0 !important;
}
.cat-nav-v2 .cat-sub-pill,
#categories.cat-nav-v2 .cat-sub-pill,
.cat-dropdown-floating .cat-sub-pill{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
    width:100% !important;
    padding:8px 12px !important;
    border-radius:7px !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:var(--text2) !important;
    font-size:13px !important;
    line-height:1.35 !important;
    white-space:nowrap !important;
    text-decoration:none !important;
    transform:none !important;
    transition:.15s !important;
}
.cat-nav-v2 .cat-sub-pill:hover,
.cat-nav-v2 .cat-sub-pill.active,
#categories.cat-nav-v2 .cat-sub-pill:hover,
#categories.cat-nav-v2 .cat-sub-pill.active,
.cat-dropdown-floating .cat-sub-pill:hover,
.cat-dropdown-floating .cat-sub-pill.active{
    background:rgba(99,102,241,.1) !important;
    color:var(--accent2) !important;
    border:0 !important;
    transform:none !important;
}
html[data-theme="light"] .cat-nav-v2 .cat-sub-pill:hover,
html[data-theme="light"] .cat-nav-v2 .cat-sub-pill.active,
html[data-theme="light"] #categories.cat-nav-v2 .cat-sub-pill:hover,
html[data-theme="light"] #categories.cat-nav-v2 .cat-sub-pill.active,
html[data-theme="light"] .cat-dropdown-floating .cat-sub-pill:hover,
html[data-theme="light"] .cat-dropdown-floating .cat-sub-pill.active{
    background:rgba(99,102,241,.08) !important;
}
.cat-nav-v2 .cat-sub-pill .icon,
.cat-dropdown-floating .cat-sub-pill .icon{
    flex:0 0 auto !important;
    font-size:14px !important;
    line-height:1 !important;
}
.cat-nav-v2 .cat-sub-pill span:nth-child(2),
.cat-dropdown-floating .cat-sub-pill span:nth-child(2){
    flex:1 1 auto !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.cat-nav-v2 .cat-sub-pill .count,
.cat-dropdown-floating .cat-sub-pill .count{
    flex:0 0 auto !important;
    margin-left:8px !important;
    font-size:11px !important;
    color:var(--text3) !important;
}
.cat-nav-v2 .cat-sub-pill:hover .count,
.cat-nav-v2 .cat-sub-pill.active .count,
.cat-dropdown-floating .cat-sub-pill:hover .count,
.cat-dropdown-floating .cat-sub-pill.active .count{
    color:var(--accent2) !important;
}
@media(max-width:768px){
    .cat-nav-v2 .cat-dropdown,
    #categories.cat-nav-v2 .cat-dropdown,
    .cat-dropdown.cat-dropdown-floating{
        left:10px !important;
        right:10px !important;
        width:auto !important;
        min-width:0 !important;
        max-width:none !important;
        padding:6px !important;
        border-radius:10px !important;
        max-height:60vh !important;
    }
    .cat-nav-v2 .cat-dropdown-title,
    .cat-dropdown-floating .cat-dropdown-title{
        padding:8px 11px 9px !important;
        font-size:12px !important;
    }
    .cat-nav-v2 .cat-dropdown-grid,
    .cat-dropdown-floating .cat-dropdown-grid{
        display:flex !important;
        flex-direction:column !important;
        max-height:calc(60vh - 46px) !important;
    }
    .cat-nav-v2 .cat-sub-pill,
    #categories.cat-nav-v2 .cat-sub-pill,
    .cat-dropdown-floating .cat-sub-pill{
        padding:8px 11px !important;
        font-size:12.5px !important;
    }
}


/* fix1 v2: mobile category submenu must render outside cat-main-scroll, but follow the tapped main category */
@media(max-width:768px){
    .cat-nav-v2,
    #categories.cat-nav-v2{
        overflow:visible !important;
        position:relative !important;
        z-index:50 !important;
    }
    .cat-nav-v2 .cat-main-scroll,
    #categories.cat-nav-v2 .cat-main-scroll{
        overflow-x:auto !important;
        overflow-y:hidden !important;
        padding-bottom:14px !important;
    }
    .cat-nav-v2 > .cat-dropdown.cat-dropdown-layer,
    #categories.cat-nav-v2 > .cat-dropdown.cat-dropdown-layer{
        display:block !important;
        position:absolute !important;
        min-width:0 !important;
        max-width:calc(100vw - 24px) !important;
        padding:12px !important;
        border-radius:16px !important;
        z-index:9999 !important;
    }
    .cat-nav-v2 > .cat-dropdown.cat-dropdown-layer .cat-dropdown-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        white-space:normal !important;
    }
}
@media(max-width:420px){
    .cat-nav-v2 > .cat-dropdown.cat-dropdown-layer .cat-dropdown-grid{
        grid-template-columns:1fr !important;
    }
}


/* Advertisement zones: lightweight, lazy images, no layout shift as much as possible */
.ad-zone-wrap{max-width:1200px;margin:18px auto;padding:0 16px;clear:both;box-sizing:border-box}
.ad-zone{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0}
.ad-zone + .ad-zone-text-list{margin-top:10px}
.ad-item{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid var(--border);background:var(--bg2);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--text2);transition:.2s;position:relative}
.ad-item:hover{transform:translateY(-1px);border-color:var(--border2);color:var(--accent2)}
.ad-item img{display:block;width:100%;height:auto;max-height:160px;object-fit:cover}
.ad-text-hint{display:flex;align-items:center;gap:8px;margin:0 0 10px;padding:0 2px;color:var(--text);font-size:15px;font-weight:700;line-height:1.4}
.ad-text-hint:before{content:"🔥";font-size:16px;line-height:1}
.ad-zone-text-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;align-items:stretch}
.ad-text-item{display:flex;align-items:center;gap:10px;min-width:0;min-height:38px;padding:9px 12px;border:1px dashed var(--border);background:rgba(255,255,255,.025);border-radius:12px;text-decoration:none;color:var(--text2);line-height:1.5;transition:.2s}
.ad-text-item:hover{border-color:var(--border2);background:rgba(99,102,241,.08);color:var(--accent2)}
.ad-text-badge{font-size:12px;color:var(--text3);border:1px solid var(--border);border-radius:999px;padding:1px 7px;flex:0 0 auto;background:var(--bg2)}
.ad-text-content{font-size:14px;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-caption{position:absolute;left:10px;bottom:8px;background:rgba(0,0,0,.45);color:#fff;font-size:12px;border-radius:999px;padding:2px 8px;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.detail-sidebar .ad-zone-wrap{display:block;margin:0 0 18px;padding:0}.detail-sidebar .ad-zone{display:block}.detail-sidebar .ad-item{margin-bottom:12px}.detail-sidebar .ad-item img{max-height:none}.detail-sidebar .ad-zone-text-list{display:block;margin-top:0}.detail-sidebar .ad-text-item{margin-bottom:10px;white-space:normal}.detail-sidebar .ad-text-content{white-space:normal}
.ad-zone-footer_top{margin-top:28px;margin-bottom:8px}.ad-zone-global_top{margin-top:12px;margin-bottom:12px}
@media(max-width:640px){.ad-zone-wrap{margin:14px auto}.ad-zone{grid-template-columns:1fr}.ad-item img{max-height:110px}.ad-zone-text-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ad-text-item{gap:6px;min-height:34px;padding:7px 8px;border-radius:10px}.ad-text-badge{font-size:10px;padding:0 5px}.ad-text-content{font-size:12px;white-space:nowrap}.ad-text-hint{font-size:14px;margin-bottom:8px}}


/* v14: dropdown close safety after floating submenu is restored. */
@media(min-width:769px){
    body .navbar .nav-dropdown:not(.is-dropdown-open) > .dropdown-menu:not(.dropdown-menu-floating){
        pointer-events:none;
    }
    body .navbar .nav-dropdown:hover > .dropdown-menu,
    body .navbar .nav-dropdown:focus-within > .dropdown-menu,
    .dropdown-menu.dropdown-menu-floating{
        pointer-events:auto;
    }
}


/* v15: prevent fixed submenu from flying in from the left. */
.dropdown-menu.dropdown-menu-positioning{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:none !important;
}


/* YmNav 内容库：软件/文章前台通用样式 */
.ym-content-block{margin-top:16px}.ym-content-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ym-content-block-head h3{margin:0;font-size:18px}.ym-content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.ym-content-card{display:flex;gap:12px;padding:14px;border:1px solid var(--border);border-radius:16px;background:var(--card);color:var(--text);text-decoration:none;transition:.18s}.ym-content-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:var(--primary)}.ym-content-thumb{width:54px;height:54px;border-radius:14px;background:rgba(127,127,127,.12);display:flex;align-items:center;justify-content:center;font-size:26px;flex:0 0 auto;overflow:hidden}.ym-content-thumb img{width:100%;height:100%;object-fit:cover}.ym-content-body{min-width:0}.ym-content-meta{font-size:12px;color:var(--text3);margin-bottom:4px}.ym-content-card h3{margin:0 0 6px;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ym-content-card p{margin:0;color:var(--text2);font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ym-content-detail{max-width:980px;margin:0 auto}.ym-content-article{padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--card)}.ym-content-article h1{margin:0 0 12px}.ym-content-detail-meta{color:var(--text3);font-size:13px;margin-bottom:18px}.ym-content-download{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.ym-content-download .btn{font-weight:800}.ym-content-rich{line-height:1.85;color:var(--text)}.ym-content-rich img{max-width:100%;height:auto;border-radius:12px}.ym-content-cats,.ym-content-tags{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.ym-content-cats a,.ym-content-tags a{padding:7px 10px;border-radius:999px;border:1px solid var(--border);color:var(--text2);text-decoration:none}.ym-content-cats a:hover,.ym-content-tags a:hover{color:var(--primary);border-color:var(--primary)}

/* YmNav v1.1.5 content/search enhancement: search type selector + software/article pages */
body .search-box.ymnav-search-with-type{display:flex;align-items:center;gap:8px;max-width:720px;padding:6px;border:1px solid var(--border2);border-radius:18px;background:var(--bg3);box-shadow:var(--shadow);overflow:visible}
body .search-box.ymnav-search-with-type .search-type-wrap{position:relative;flex:0 0 auto;display:flex;align-items:center}
body .search-box.ymnav-search-with-type .search-type-wrap:after{content:"▾";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:10px;color:var(--text3);pointer-events:none}
body .search-box.ymnav-search-with-type .search-type-select{height:42px;min-width:92px;padding:0 26px 0 13px;border:1px solid var(--border);border-radius:13px;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.03));color:var(--text);font-size:13px;font-weight:800;outline:0;appearance:none;-webkit-appearance:none;cursor:pointer;transition:.2s}
html[data-theme="light"] body .search-box.ymnav-search-with-type .search-type-select{background:rgba(255,255,255,.88)}
body .search-box.ymnav-search-with-type .search-type-select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--glow)}
body .search-box.ymnav-search-with-type input{position:relative!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;height:46px!important;padding:0 8px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important;color:var(--text)!important}
body .search-box.ymnav-search-with-type .search-btn{position:static!important;right:auto!important;top:auto!important;transform:none!important;flex:0 0 auto!important;width:44px!important;height:44px!important;border-radius:13px!important;display:grid;place-items:center}
body .search-box.ymnav-search-with-type .search-btn:hover{transform:scale(1.04)!important}
.site-style-editorial-pro .search-box.ymnav-search-with-type{background:#fffdf8;border-radius:999px}.site-style-editorial-pro .search-box.ymnav-search-with-type .search-type-select{border-radius:999px;background:#f0e5d3;color:var(--text)}
.site-style-neon-hub .search-box.ymnav-search-with-type{border-radius:24px;background:rgba(255,255,255,.07);box-shadow:0 24px 80px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08)}
.site-style-ACGNav .search-box.ymnav-search-with-type{border-radius:20px;background:rgba(255,255,255,.11)}.site-style-MusicWave .search-box.ymnav-search-with-type{border-radius:999px;background:rgba(255,255,255,.12)}.site-style-MovieCinema .search-box.ymnav-search-with-type{border-radius:18px;background:rgba(255,255,255,.10)}
.site-style-NavProStyle7 .np7-search.np7-search-with-type{gap:8px}.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-wrap{position:relative;flex:0 0 auto}.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-wrap:after{content:"▾";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:10px;color:#64748b;pointer-events:none}.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-select{height:44px;min-width:88px;padding:0 25px 0 12px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc;color:#0f172a;font-size:13px;font-weight:900;appearance:none;-webkit-appearance:none;outline:0}.site-style-NavProStyle7 .np7-search.np7-search-with-type input{padding-left:0!important}
.ym-search-type-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.ym-search-type-tabs a{padding:8px 14px;border:1px solid var(--border);border-radius:999px;text-decoration:none;color:var(--text2);background:var(--bg2);font-weight:800}.ym-search-type-tabs a.active,.ym-search-type-tabs a:hover{color:#fff;border-color:transparent;background:var(--gradient)}

.ym-content-page{position:relative}.ym-content-hero{max-width:1200px;margin:26px auto 20px;padding:0 16px}.ym-content-hero-inner{position:relative;overflow:hidden;border:1px solid var(--border);border-radius:28px;padding:34px;background:linear-gradient(135deg,rgba(99,102,241,.18),rgba(168,85,247,.10)),var(--card);box-shadow:var(--shadow)}.ym-content-hero-inner:before{content:"";position:absolute;inset:-35% -10% auto auto;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.20),transparent 60%);pointer-events:none}.ym-content-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.08);color:var(--text2);font-weight:900;font-size:13px}.ym-content-hero h1{position:relative;margin:14px 0 8px;font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.04em;color:var(--text)}.ym-content-hero p{position:relative;max-width:760px;margin:0;color:var(--text2);font-size:15px;line-height:1.8}.ym-content-hero-stats{position:relative;display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.ym-content-hero-stats span{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.06);color:var(--text2)}.ym-content-hero-stats strong{color:var(--accent2);font-size:18px}.ym-content-main{max-width:1200px}.ym-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.ym-content-primary{min-width:0}.ym-filter-panel{border:1px solid var(--border);border-radius:22px;background:var(--card);padding:14px;margin-bottom:16px;box-shadow:var(--shadow)}.ym-filter-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ym-filter-row+.ym-filter-row{margin-top:12px;padding-top:12px;border-top:1px dashed var(--border)}.ym-filter-row a{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border-radius:999px;background:var(--bg2);border:1px solid var(--border);color:var(--text2);text-decoration:none;font-size:13px;font-weight:800}.ym-filter-row a.active,.ym-filter-row a:hover{color:#fff;background:var(--gradient);border-color:transparent}.ym-filter-row small{opacity:.72}.ym-filter-sort span{color:var(--text3);font-weight:900;font-size:13px}.ym-content-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.ym-content-card{position:relative;overflow:hidden;border-radius:22px;background:var(--card);border:1px solid var(--border);box-shadow:0 10px 24px rgba(15,23,42,.06);transition:.2s}.ym-content-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--accent)}.ym-content-card-app{min-height:230px;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:22px}.ym-content-card-app .ym-content-thumb{width:86px;height:86px;border-radius:24px;margin:0 auto 14px;background:linear-gradient(135deg,rgba(99,102,241,.12),rgba(244,114,182,.10))}.ym-content-card-app .ym-content-body{width:100%}.ym-content-card-article{min-height:160px}.ym-content-card-article .ym-content-thumb{width:112px;height:82px;border-radius:16px}.ym-content-thumb{background:rgba(127,127,127,.12);display:flex;align-items:center;justify-content:center;font-size:32px;overflow:hidden;flex:0 0 auto}.ym-content-thumb img{width:100%;height:100%;object-fit:cover}.ym-content-body{min-width:0}.ym-content-meta{display:flex;gap:6px;align-items:center;justify-content:inherit;flex-wrap:wrap;font-size:12px;color:var(--text3);margin-bottom:6px}.ym-content-card h3{font-size:17px;line-height:1.35;margin:0 0 6px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ym-content-card p{font-size:13px;line-height:1.65;color:var(--text2);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ym-content-mini-tags{display:flex;gap:5px;justify-content:inherit;flex-wrap:wrap;margin-top:10px}.ym-content-mini-tags em{font-style:normal;font-size:11px;padding:3px 7px;border-radius:999px;background:var(--bg2);color:var(--text3)}.ym-content-sidebar{display:flex;flex-direction:column;gap:14px;position:sticky;top:86px}.ym-widget{border:1px solid var(--border);border-radius:22px;background:var(--card);padding:14px;box-shadow:var(--shadow)}.ym-widget-title{display:flex;align-items:center;gap:8px;margin-bottom:12px;color:var(--text);font-weight:1000}.ym-side-tags{display:flex;gap:8px;flex-wrap:wrap}.ym-side-tags a{display:inline-flex;align-items:center;gap:4px;padding:7px 10px;border-radius:999px;background:var(--bg2);border:1px solid var(--border);text-decoration:none;color:var(--text2);font-size:12px;font-weight:800}.ym-side-tags a.active,.ym-side-tags a:hover{background:var(--gradient);color:#fff;border-color:transparent}.ym-side-tags small{opacity:.7}.ym-widget-list{display:flex;flex-direction:column;gap:9px}.ym-widget-list a{display:block;padding:10px;border-radius:14px;background:var(--bg2);border:1px solid var(--border);text-decoration:none;color:var(--text);transition:.18s}.ym-widget-list a:hover{transform:translateX(2px);border-color:var(--accent)}.ym-widget-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.ym-widget-list small{display:block;margin-top:4px;color:var(--text3);font-size:11px}.ym-content-detail-layout{grid-template-columns:minmax(0,1fr) 310px}.ym-content-article{border:1px solid var(--border);border-radius:26px;background:var(--card);padding:24px;box-shadow:var(--shadow)}.ym-detail-hero-card{position:relative;margin-bottom:22px}.ym-detail-app-head{display:flex;gap:22px;align-items:center}.ym-detail-app-logo{width:112px;height:112px;border-radius:28px;background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(244,114,182,.10));display:grid;place-items:center;flex:0 0 auto;overflow:hidden;font-size:46px}.ym-detail-app-logo img{width:100%;height:100%;object-fit:cover}.ym-detail-title-wrap{min-width:0}.ym-detail-title-wrap h1,.ym-detail-article-head h1{margin:12px 0 10px;font-size:clamp(26px,3vw,42px);line-height:1.15;letter-spacing:-.035em;color:var(--text)}.ym-detail-title-wrap p,.ym-detail-article-head p{margin:0;color:var(--text2);line-height:1.8}.ym-detail-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.ym-detail-pills span{padding:8px 11px;border-radius:12px;background:var(--bg2);border:1px solid var(--border);color:var(--text2);font-size:13px}.ym-content-download{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 0}.ym-content-download .btn{text-decoration:none}.ym-download-main{box-shadow:0 12px 26px rgba(99,102,241,.22)}.ym-detail-cover{margin:18px 0 0;border-radius:22px;overflow:hidden;background:var(--bg2);border:1px solid var(--border)}.ym-detail-cover img{display:block;width:100%;height:auto}.ym-content-detail-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:var(--text3);font-size:13px;margin:0 0 12px}.ym-article-note{display:flex;gap:10px;align-items:center;margin:0 0 20px;padding:12px 14px;border-radius:16px;background:var(--bg2);border:1px solid var(--border);color:var(--text2)}.ym-article-note strong{color:var(--text)}.ym-content-rich{font-size:15px;line-height:1.92;color:var(--text)}.ym-content-rich h2,.ym-content-rich h3{margin-top:1.6em;color:var(--text)}.ym-content-rich p{margin:0 0 1.15em}.ym-content-rich img{max-width:100%;height:auto;border-radius:18px}.ym-detail-tags{margin-top:22px;padding-top:18px;border-top:1px dashed var(--border)}.ym-content-tags{display:flex;gap:8px;flex-wrap:wrap}.ym-content-tags a{padding:7px 11px;border-radius:999px;border:1px solid var(--border);background:var(--bg2);color:var(--text2);text-decoration:none;font-weight:800;font-size:12px}.ym-content-tags a:hover{background:var(--gradient);color:#fff;border-color:transparent}.ym-related-content{margin-top:18px;border:1px solid var(--border);border-radius:24px;background:var(--card);padding:18px;box-shadow:var(--shadow)}.ym-related-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.site-style-neon-hub .ym-content-hero-inner,.site-style-neon-hub .ym-filter-panel,.site-style-neon-hub .ym-widget,.site-style-neon-hub .ym-content-article,.site-style-neon-hub .ym-related-content{background:rgba(255,255,255,.06);backdrop-filter:blur(18px)}.site-style-editorial-pro .ym-content-hero-inner,.site-style-editorial-pro .ym-filter-panel,.site-style-editorial-pro .ym-widget,.site-style-editorial-pro .ym-content-article,.site-style-editorial-pro .ym-related-content{background:#fffdf8}.site-style-ACGNav .ym-content-hero-inner{background:linear-gradient(135deg,rgba(255,126,182,.20),rgba(125,92,255,.14)),var(--card)}.site-style-MusicWave .ym-content-hero-inner{background:linear-gradient(135deg,rgba(34,197,94,.16),rgba(14,165,233,.12)),var(--card)}.site-style-MovieCinema .ym-content-hero-inner{background:linear-gradient(135deg,rgba(239,68,68,.16),rgba(245,197,66,.12)),var(--card)}.site-style-NavProStyle7 .ym-content-hero,.site-style-NavProStyle7 .ym-content-main{max-width:none}.site-style-NavProStyle7 .ym-content-page{padding:0 18px}.site-style-NavProStyle7 .ym-content-hero-inner{background:linear-gradient(135deg,#2563eb,#14b8a6);color:#fff}.site-style-NavProStyle7 .ym-content-hero h1,.site-style-NavProStyle7 .ym-content-hero p,.site-style-NavProStyle7 .ym-content-hero-stats span{color:#fff}
@media(max-width:980px){.ym-content-layout,.ym-content-detail-layout{grid-template-columns:1fr}.ym-content-sidebar{position:static}.ym-detail-app-head{align-items:flex-start}.ym-content-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}
@media(max-width:640px){body .search-box.ymnav-search-with-type{gap:6px;padding:5px}.search-box.ymnav-search-with-type .search-type-select{min-width:78px;font-size:12px;padding-left:10px}.ym-content-hero{margin-top:16px}.ym-content-hero-inner{padding:24px 18px;border-radius:22px}.ym-content-layout{gap:14px}.ym-content-card-article{flex-direction:column}.ym-content-card-article .ym-content-thumb{width:100%;height:132px}.ym-content-article{padding:18px;border-radius:22px}.ym-detail-app-head{display:block;text-align:center}.ym-detail-app-logo{margin:0 auto 16px}.ym-content-detail-meta,.ym-detail-pills,.ym-content-download{justify-content:center}.ym-filter-row{max-height:none}.ym-content-grid{grid-template-columns:1fr}.ym-content-sidebar{display:block}.ym-widget{margin-bottom:12px}}

/* =========================================================
   YmNav 内容模块视觉升级 v3：软件/文章分类、标签、详情页
   - 统一使用站点变量，自动跟随后台 7 套网站样式
   - 仅覆盖软件/文章页面，不影响原网址导航页面
   ========================================================= */
body.ym-content-template .ym-content-page{
    --ymc-accent:var(--accent,#6366f1);
    --ymc-accent-2:var(--accent2,#8b5cf6);
    --ymc-grad:var(--gradient,linear-gradient(135deg,#6366f1,#a855f7));
    --ymc-card:color-mix(in srgb,var(--bg2,#fff) 86%,transparent);
    --ymc-card-solid:var(--bg2,#fff);
    --ymc-soft:color-mix(in srgb,var(--accent,#6366f1) 12%,transparent);
    --ymc-soft-2:color-mix(in srgb,var(--accent2,#a855f7) 10%,transparent);
    --ymc-line:var(--border,rgba(127,127,127,.14));
    --ymc-shadow:0 20px 55px rgba(15,23,42,.10);
    --ymc-shadow-hover:0 28px 70px rgba(15,23,42,.16);
    --ymc-radius:28px;
    padding:28px 16px 54px;
    position:relative;
    overflow:clip;
}
body.ym-content-template .ym-content-page::before,
body.ym-content-template .ym-content-page::after{
    content:"";
    position:absolute;
    z-index:-1;
    width:420px;
    height:420px;
    border-radius:999px;
    filter:blur(28px);
    opacity:.18;
    pointer-events:none;
    background:var(--ymc-grad);
}
body.ym-content-template .ym-content-page::before{top:18px;left:-150px}
body.ym-content-template .ym-content-page::after{top:220px;right:-180px;opacity:.12}
body.ym-content-template .ym-content-main,
body.ym-content-template .ym-content-hero{max-width:1180px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
body.ym-content-template .ym-content-hero{margin-top:8px;margin-bottom:22px}
body.ym-content-template .ym-content-hero-inner{
    position:relative;
    min-height:188px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow:hidden;
    border:1px solid color-mix(in srgb,var(--ymc-accent) 18%,var(--ymc-line));
    border-radius:34px;
    padding:34px 38px;
    background:
        radial-gradient(circle at 78% 18%,rgba(255,255,255,.22),transparent 28%),
        radial-gradient(circle at 12% 110%,var(--ymc-soft),transparent 38%),
        linear-gradient(135deg,color-mix(in srgb,var(--ymc-accent) 16%,transparent),color-mix(in srgb,var(--ymc-accent-2) 10%,transparent)),
        var(--ymc-card-solid);
    box-shadow:var(--ymc-shadow);
}
body.ym-content-template .ym-content-hero-inner::before{
    content:"";
    position:absolute;
    inset:0;
    opacity:.52;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.10) 1px,transparent 1px);
    background-size:36px 36px;
    mask-image:linear-gradient(120deg,rgba(0,0,0,.78),transparent 72%);
    pointer-events:none;
}
body.ym-content-template .ym-content-hero-inner::after{
    content:"";
    position:absolute;
    right:34px;
    top:50%;
    width:126px;
    height:126px;
    transform:translateY(-50%) rotate(14deg);
    border-radius:36px;
    border:1px solid rgba(255,255,255,.22);
    background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(255,255,255,.04));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.24);
    pointer-events:none;
}
body.ym-content-template .ym-content-kicker{
    position:relative;
    display:inline-flex;
    width:max-content;
    align-items:center;
    gap:8px;
    padding:8px 13px;
    border-radius:999px;
    border:1px solid color-mix(in srgb,var(--ymc-accent) 22%,var(--ymc-line));
    background:color-mix(in srgb,var(--ymc-card-solid) 72%,transparent);
    color:var(--ymc-accent-2);
    font-size:13px;
    font-weight:900;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
    backdrop-filter:blur(14px);
}
body.ym-content-template .ym-content-hero h1{
    position:relative;
    z-index:1;
    max-width:760px;
    margin:14px 0 8px;
    font-size:clamp(30px,4.2vw,52px);
    line-height:1.06;
    letter-spacing:-.045em;
    color:var(--text);
}
body.ym-content-template .ym-content-hero p{
    position:relative;
    z-index:1;
    max-width:720px;
    margin:0;
    color:var(--text2);
    font-size:15px;
    line-height:1.85;
}
body.ym-content-template .ym-content-hero-stats{
    position:relative;
    z-index:1;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}
body.ym-content-template .ym-content-hero-stats span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:9px 13px;
    border-radius:16px;
    border:1px solid color-mix(in srgb,var(--ymc-accent) 16%,var(--ymc-line));
    background:color-mix(in srgb,var(--ymc-card-solid) 68%,transparent);
    color:var(--text2);
    font-weight:800;
    backdrop-filter:blur(12px);
}
body.ym-content-template .ym-content-hero-stats strong{color:var(--ymc-accent-2);font-size:19px}
body.ym-content-template .ym-content-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 312px;
    gap:20px;
    align-items:start;
}
body.ym-content-template .ym-content-primary{min-width:0}
body.ym-content-template .ym-filter-panel{
    position:relative;
    overflow:hidden;
    margin-bottom:18px;
    padding:14px;
    border-radius:24px;
    border:1px solid var(--ymc-line);
    background:var(--ymc-card);
    box-shadow:var(--ymc-shadow);
    backdrop-filter:blur(16px);
}
body.ym-content-template .ym-filter-panel::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:3px;
    background:var(--ymc-grad);
    opacity:.9;
}
body.ym-content-template .ym-filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;position:relative;z-index:1}
body.ym-content-template .ym-filter-row+.ym-filter-row{margin-top:12px;padding-top:12px;border-top:1px dashed var(--ymc-line)}
body.ym-content-template .ym-filter-row a{
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:35px;
    padding:8px 13px;
    border-radius:999px;
    border:1px solid var(--ymc-line);
    background:color-mix(in srgb,var(--ymc-card-solid) 78%,transparent);
    color:var(--text2);
    font-size:13px;
    font-weight:850;
    text-decoration:none;
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
body.ym-content-template .ym-filter-row a:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--ymc-accent) 42%,var(--ymc-line));color:var(--ymc-accent-2);box-shadow:0 10px 24px var(--ymc-soft)}
body.ym-content-template .ym-filter-row a.active{border-color:transparent;background:var(--ymc-grad);color:#fff;box-shadow:0 12px 28px var(--ymc-soft)}
body.ym-content-template .ym-filter-sort span{font-size:13px;color:var(--text3);font-weight:900;margin-right:2px}
body.ym-content-template .ym-content-grid{display:grid;gap:16px}
body.ym-content-template .ym-content-grid-app{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}
body.ym-content-template .ym-content-grid-article{grid-template-columns:repeat(2,minmax(0,1fr))}
body.ym-content-template .ym-content-card{
    position:relative;
    overflow:hidden;
    display:flex;
    height:100%;
    color:var(--text);
    text-decoration:none;
    border:1px solid var(--ymc-line);
    border-radius:24px;
    background:
        linear-gradient(180deg,rgba(255,255,255,.055),transparent 40%),
        var(--ymc-card);
    box-shadow:0 12px 34px rgba(15,23,42,.08);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;
    backdrop-filter:blur(12px);
}
body.ym-content-template .ym-content-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:3px;
    background:var(--ymc-grad);
    opacity:0;
    transition:opacity .22s ease;
}
body.ym-content-template .ym-content-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--ymc-accent) 46%,var(--ymc-line));box-shadow:var(--ymc-shadow-hover)}
body.ym-content-template .ym-content-card:hover::before{opacity:1}
body.ym-content-template .ym-content-thumb{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--ymc-soft),rgba(255,255,255,.06));color:var(--ymc-accent-2);flex:0 0 auto}
body.ym-content-template .ym-content-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
body.ym-content-template .ym-content-card:hover .ym-content-thumb img{transform:scale(1.055)}
body.ym-content-template .ym-content-card-app{
    min-height:248px;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    padding:22px 16px 16px;
    text-align:center;
}
body.ym-content-template .ym-content-card-app .ym-content-thumb{
    width:86px;
    height:86px;
    margin:2px auto 14px;
    border-radius:28px;
    font-size:34px;
    box-shadow:0 14px 32px var(--ymc-soft),inset 0 1px 0 rgba(255,255,255,.18);
}
body.ym-content-template .ym-content-card-app .ym-content-body{display:flex;min-height:0;width:100%;flex:1;flex-direction:column;align-items:center}
body.ym-content-template .ym-content-card-article{
    min-height:168px;
    align-items:stretch;
    gap:14px;
    padding:13px;
}
body.ym-content-template .ym-content-card-article .ym-content-thumb{
    width:150px;
    min-height:126px;
    border-radius:18px;
    font-size:30px;
}
body.ym-content-template .ym-content-card-article .ym-content-body{display:flex;min-width:0;flex:1;flex-direction:column;padding:2px 2px 1px 0}
body.ym-content-template .ym-content-meta{
    display:flex;
    align-items:center;
    justify-content:inherit;
    gap:6px;
    flex-wrap:wrap;
    min-height:24px;
    margin-bottom:8px;
    color:var(--text3);
    font-size:12px;
}
body.ym-content-template .ym-content-meta span{
    display:inline-flex;
    align-items:center;
    max-width:120px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    padding:3px 7px;
    border:1px solid var(--ymc-line);
    border-radius:999px;
    background:color-mix(in srgb,var(--ymc-card-solid) 72%,transparent);
}
body.ym-content-template .ym-content-meta .ym-content-kind{color:var(--ymc-accent-2);border-color:color-mix(in srgb,var(--ymc-accent) 25%,var(--ymc-line));background:var(--ymc-soft)}
body.ym-content-template .ym-content-card h3{
    width:100%;
    margin:0 0 7px;
    font-size:16px;
    line-height:1.35;
    color:var(--text);
    letter-spacing:-.015em;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
body.ym-content-template .ym-content-card-app h3{font-size:16.5px;text-align:center}
body.ym-content-template .ym-content-card p{
    width:100%;
    margin:0;
    color:var(--text2);
    font-size:13px;
    line-height:1.62;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}
body.ym-content-template .ym-content-mini-tags{display:flex;gap:6px;justify-content:inherit;flex-wrap:wrap;margin-top:11px}
body.ym-content-template .ym-content-mini-tags em{
    max-width:86px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    padding:4px 8px;
    border-radius:999px;
    font-style:normal;
    font-size:11.5px;
    color:var(--text2);
    background:color-mix(in srgb,var(--ymc-accent) 8%,var(--ymc-card-solid));
    border:1px solid color-mix(in srgb,var(--ymc-accent) 13%,var(--ymc-line));
}
body.ym-content-template .ym-content-card-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
    margin-top:auto;
    padding-top:11px;
    color:var(--text3);
    font-size:12px;
}
body.ym-content-template .ym-content-card-app .ym-content-card-foot{justify-content:center;border-top:1px dashed var(--ymc-line)}
body.ym-content-template .ym-content-card-article .ym-content-card-foot{border-top:1px dashed var(--ymc-line)}
body.ym-content-template .ym-content-sidebar{position:sticky;top:82px;display:flex;flex-direction:column;gap:14px}
body.ym-content-template .ym-widget{
    position:relative;
    overflow:hidden;
    border:1px solid var(--ymc-line);
    border-radius:24px;
    background:var(--ymc-card);
    padding:15px;
    box-shadow:var(--ymc-shadow);
    backdrop-filter:blur(16px);
}
body.ym-content-template .ym-widget::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--ymc-grad);opacity:.88}
body.ym-content-template .ym-widget-title{position:relative;display:flex;align-items:center;gap:8px;margin:0 0 13px;font-size:15px;font-weight:1000;color:var(--text)}
body.ym-content-template .ym-side-tags{position:relative;display:flex;flex-wrap:wrap;gap:8px}
body.ym-content-template .ym-side-tags a{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:7px 10px;
    border:1px solid var(--ymc-line);
    border-radius:999px;
    color:var(--text2);
    background:color-mix(in srgb,var(--ymc-card-solid) 70%,transparent);
    font-size:12px;
    font-weight:850;
    text-decoration:none;
    transition:.18s ease;
}
body.ym-content-template .ym-side-tags a:hover,
body.ym-content-template .ym-side-tags a.active{transform:translateY(-1px);border-color:transparent;background:var(--ymc-grad);color:#fff;box-shadow:0 10px 22px var(--ymc-soft)}
body.ym-content-template .ym-widget-list{position:relative;display:flex;flex-direction:column;gap:9px}
body.ym-content-template .ym-widget-list a{
    display:block;
    padding:11px 12px;
    border:1px solid var(--ymc-line);
    border-radius:16px;
    background:color-mix(in srgb,var(--ymc-card-solid) 72%,transparent);
    color:var(--text);
    text-decoration:none;
    transition:.18s ease;
}
body.ym-content-template .ym-widget-list a:hover{transform:translateX(3px);border-color:color-mix(in srgb,var(--ymc-accent) 38%,var(--ymc-line));background:var(--ymc-soft)}
body.ym-content-template .ym-widget-list strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}
body.ym-content-template .ym-widget-list small{display:block;margin-top:4px;color:var(--text3);font-size:11.5px}
body.ym-content-template .empty-state{border:1px dashed color-mix(in srgb,var(--ymc-accent) 28%,var(--ymc-line));border-radius:24px;background:var(--ymc-card);box-shadow:var(--ymc-shadow)}

/* 详情页 */
body.ym-content-detail-template .ym-content-main{margin-top:18px}
body.ym-content-detail-template .ym-content-detail-layout{grid-template-columns:minmax(0,1fr) 318px;gap:22px}
body.ym-content-detail-template .ym-content-article{
    overflow:hidden;
    padding:0;
    border:1px solid var(--ymc-line);
    border-radius:30px;
    background:var(--ymc-card);
    box-shadow:var(--ymc-shadow);
    backdrop-filter:blur(16px);
}
body.ym-content-detail-template .ym-detail-hero-card{
    position:relative;
    overflow:hidden;
    margin:0;
    padding:34px 34px 28px;
    border-bottom:1px solid var(--ymc-line);
    background:
        radial-gradient(circle at 85% 12%,rgba(255,255,255,.18),transparent 30%),
        linear-gradient(135deg,var(--ymc-soft),var(--ymc-soft-2)),
        color-mix(in srgb,var(--ymc-card-solid) 78%,transparent);
}
body.ym-content-detail-template .ym-detail-hero-card::before{
    content:"";
    position:absolute;
    right:-90px;
    top:-110px;
    width:270px;
    height:270px;
    border-radius:999px;
    background:var(--ymc-grad);
    opacity:.18;
    filter:blur(18px);
    pointer-events:none;
}
body.ym-content-detail-template .ym-detail-app-head{position:relative;display:flex;align-items:center;gap:24px;z-index:1}
body.ym-content-detail-template .ym-detail-app-logo{
    width:116px;
    height:116px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    overflow:hidden;
    border-radius:30px;
    border:1px solid color-mix(in srgb,var(--ymc-accent) 20%,var(--ymc-line));
    background:linear-gradient(135deg,rgba(255,255,255,.45),var(--ymc-soft));
    color:var(--ymc-accent-2);
    font-size:46px;
    box-shadow:0 18px 42px var(--ymc-soft),inset 0 1px 0 rgba(255,255,255,.24);
}
body.ym-content-detail-template .ym-detail-app-logo img{width:100%;height:100%;object-fit:cover}
body.ym-content-detail-template .ym-detail-title-wrap h1,
body.ym-content-detail-template .ym-detail-article-head h1{
    margin:13px 0 10px;
    color:var(--text);
    font-size:clamp(28px,3.4vw,45px);
    line-height:1.14;
    letter-spacing:-.045em;
}
body.ym-content-detail-template .ym-detail-title-wrap p,
body.ym-content-detail-template .ym-detail-article-head p{max-width:860px;margin:0;color:var(--text2);font-size:15px;line-height:1.85}
body.ym-content-detail-template .ym-detail-pills{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
body.ym-content-detail-template .ym-detail-pills span{
    padding:9px 12px;
    border:1px solid var(--ymc-line);
    border-radius:15px;
    background:color-mix(in srgb,var(--ymc-card-solid) 70%,transparent);
    color:var(--text2);
    font-size:13px;
    font-weight:750;
}
body.ym-content-detail-template .ym-content-download{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:11px;margin:22px 0 0}
body.ym-content-detail-template .ym-content-download .btn{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border-radius:15px;
    padding:10px 18px;
    font-weight:900;
    text-decoration:none;
}
body.ym-content-detail-template .ym-download-main{border:0;background:var(--ymc-grad)!important;color:#fff!important;box-shadow:0 16px 34px var(--ymc-soft)}
body.ym-content-detail-template .ym-content-download .btn-outline{border:1px solid color-mix(in srgb,var(--ymc-accent) 32%,var(--ymc-line));background:color-mix(in srgb,var(--ymc-card-solid) 70%,transparent);color:var(--text)}
body.ym-content-detail-template .ym-detail-article-head{position:relative;z-index:1}
body.ym-content-detail-template .ym-content-detail-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 13px;
    color:var(--text3);
    font-size:13px;
}
body.ym-content-detail-template .ym-content-detail-meta span:not(:empty){padding:5px 9px;border:1px solid var(--ymc-line);border-radius:999px;background:color-mix(in srgb,var(--ymc-card-solid) 64%,transparent)}
body.ym-content-detail-template .ym-content-detail-meta span:nth-child(2),
body.ym-content-detail-template .ym-content-detail-meta span:nth-child(4){padding:0;border:0;background:none}
body.ym-content-detail-template .ym-detail-cover{position:relative;z-index:1;margin:23px 0 0;overflow:hidden;border:1px solid var(--ymc-line);border-radius:24px;background:var(--ymc-card-solid);box-shadow:0 18px 44px rgba(15,23,42,.12)}
body.ym-content-detail-template .ym-detail-cover img{display:block;width:100%;height:auto;max-height:470px;object-fit:cover}
body.ym-content-detail-template .ym-article-note{margin:24px 30px 0;padding:13px 15px;border:1px solid color-mix(in srgb,var(--ymc-accent) 18%,var(--ymc-line));border-radius:18px;background:var(--ymc-soft);color:var(--text2)}
body.ym-content-detail-template .ym-article-note strong{color:var(--ymc-accent-2);margin-right:8px}
body.ym-content-detail-template .ym-content-rich{
    padding:30px 34px;
    color:var(--text);
    font-size:15.5px;
    line-height:1.96;
}
body.ym-content-detail-template .ym-content-rich>:first-child{margin-top:0}
body.ym-content-detail-template .ym-content-rich p{margin:0 0 1.2em}
body.ym-content-detail-template .ym-content-rich h2,
body.ym-content-detail-template .ym-content-rich h3{
    margin:1.7em 0 .75em;
    color:var(--text);
    letter-spacing:-.02em;
}
body.ym-content-detail-template .ym-content-rich h2{font-size:24px;padding-left:13px;border-left:4px solid var(--ymc-accent)}
body.ym-content-detail-template .ym-content-rich img{max-width:100%;height:auto;border-radius:20px;box-shadow:0 14px 34px rgba(15,23,42,.10)}
body.ym-content-detail-template .ym-detail-tags{margin:0 34px 30px;padding-top:20px;border-top:1px dashed var(--ymc-line)}
body.ym-content-detail-template .ym-content-tags{display:flex;flex-wrap:wrap;gap:9px}
body.ym-content-detail-template .ym-content-tags a{padding:8px 12px;border:1px solid var(--ymc-line);border-radius:999px;background:color-mix(in srgb,var(--ymc-card-solid) 72%,transparent);color:var(--text2);font-size:12.5px;font-weight:850;text-decoration:none;transition:.18s ease}
body.ym-content-detail-template .ym-content-tags a:hover{border-color:transparent;background:var(--ymc-grad);color:#fff;transform:translateY(-1px)}
body.ym-content-detail-template .ym-related-content{
    margin-top:20px;
    padding:20px;
    border:1px solid var(--ymc-line);
    border-radius:28px;
    background:var(--ymc-card);
    box-shadow:var(--ymc-shadow);
    backdrop-filter:blur(16px);
}
body.ym-content-detail-template .ym-related-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}

/* 7 套样式调色 */
body.site-style-classic.ym-content-template .ym-content-page{--ymc-accent:#6366f1;--ymc-accent-2:#a855f7;--ymc-grad:linear-gradient(135deg,#6366f1,#a855f7)}
body.site-style-neon-hub.ym-content-template .ym-content-page{--ymc-accent:#22d3ee;--ymc-accent-2:#a78bfa;--ymc-grad:linear-gradient(135deg,#06b6d4,#7c3aed 52%,#ec4899);--ymc-shadow:0 24px 72px rgba(6,182,212,.16);--ymc-shadow-hover:0 32px 88px rgba(124,58,237,.22)}
body.site-style-editorial-pro.ym-content-template .ym-content-page{--ymc-accent:#b45309;--ymc-accent-2:#ea580c;--ymc-grad:linear-gradient(135deg,#d97706,#f97316);--ymc-card:#fffdf7;--ymc-card-solid:#fffdf7;--ymc-shadow:0 18px 44px rgba(120,53,15,.10)}
body.site-style-ACGNav.ym-content-template .ym-content-page,
body.site-style-acgnav.ym-content-template .ym-content-page{--ymc-accent:#ff72b6;--ymc-accent-2:#7c5cff;--ymc-grad:linear-gradient(135deg,#ff72b6,#a855f7 52%,#38bdf8);--ymc-shadow:0 22px 62px rgba(255,114,182,.15);--ymc-shadow-hover:0 32px 82px rgba(124,92,255,.22)}
body.site-style-MusicWave.ym-content-template .ym-content-page,
body.site-style-musicwave.ym-content-template .ym-content-page{--ymc-accent:#22c55e;--ymc-accent-2:#06b6d4;--ymc-grad:linear-gradient(135deg,#22c55e,#06b6d4 55%,#2563eb);--ymc-shadow:0 22px 58px rgba(6,182,212,.14)}
body.site-style-MovieCinema.ym-content-template .ym-content-page,
body.site-style-moviecinema.ym-content-template .ym-content-page{--ymc-accent:#ef4444;--ymc-accent-2:#f59e0b;--ymc-grad:linear-gradient(135deg,#dc2626,#f97316 52%,#facc15);--ymc-shadow:0 22px 60px rgba(220,38,38,.15)}
body.site-style-NavProStyle7.ym-content-template .ym-content-page,
body.site-style-navprostyle7.ym-content-template .ym-content-page{--ymc-accent:#14b8a6;--ymc-accent-2:#2563eb;--ymc-grad:linear-gradient(135deg,#14b8a6,#06b6d4 50%,#2563eb);--ymc-card:#ffffff;--ymc-card-solid:#ffffff;--ymc-line:#e2e8f0;--ymc-shadow:0 18px 44px rgba(15,23,42,.08);--ymc-shadow-hover:0 28px 70px rgba(37,99,235,.16)}

body.site-style-neon-hub.ym-content-template .ym-content-hero-inner,
body.site-style-neon-hub.ym-content-template .ym-filter-panel,
body.site-style-neon-hub.ym-content-template .ym-widget,
body.site-style-neon-hub.ym-content-template .ym-content-card,
body.site-style-neon-hub.ym-content-template .ym-content-article,
body.site-style-neon-hub.ym-content-template .ym-related-content{background:rgba(15,23,42,.56);border-color:rgba(148,163,184,.16);box-shadow:0 24px 72px rgba(0,0,0,.24)}
body.site-style-editorial-pro.ym-content-template .ym-content-hero-inner{border-radius:18px;background:linear-gradient(135deg,rgba(180,83,9,.12),rgba(255,247,237,.84)),#fffdf7}
body.site-style-editorial-pro.ym-content-template .ym-content-card,
body.site-style-editorial-pro.ym-content-template .ym-widget,
body.site-style-editorial-pro.ym-content-template .ym-filter-panel,
body.site-style-editorial-pro.ym-content-template .ym-content-article{border-radius:18px}
body.site-style-ACGNav.ym-content-template .ym-content-hero-inner::before{background-image:radial-gradient(rgba(255,114,182,.24) 1.2px,transparent 1.2px);background-size:18px 18px;opacity:.55}
body.site-style-MovieCinema.ym-content-template .ym-content-hero-inner{background:radial-gradient(circle at 80% 8%,rgba(250,204,21,.18),transparent 28%),linear-gradient(135deg,rgba(220,38,38,.16),rgba(15,23,42,.08)),var(--ymc-card-solid)}
body.site-style-navprostyle7.ym-content-template .ym-content-page{padding-top:22px}
body.site-style-navprostyle7.ym-content-template .ym-content-hero-inner{border-radius:30px;background:linear-gradient(135deg,rgba(20,184,166,.14),rgba(37,99,235,.12)),#fff}

@media(max-width:1080px){
    body.ym-content-template .ym-content-layout,
    body.ym-content-detail-template .ym-content-detail-layout{grid-template-columns:1fr}
    body.ym-content-template .ym-content-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
}
@media(max-width:760px){
    body.ym-content-template .ym-content-page{padding:18px 12px 42px}
    body.ym-content-template .ym-content-hero-inner{min-height:auto;padding:26px 20px;border-radius:26px}
    body.ym-content-template .ym-content-hero-inner::after{display:none}
    body.ym-content-template .ym-content-hero h1{font-size:31px}
    body.ym-content-template .ym-content-grid-app,
    body.ym-content-template .ym-content-grid-article{grid-template-columns:1fr}
    body.ym-content-template .ym-content-card-article{min-height:0;flex-direction:column}
    body.ym-content-template .ym-content-card-article .ym-content-thumb{width:100%;height:170px;min-height:170px}
    body.ym-content-template .ym-content-sidebar{display:block}
    body.ym-content-template .ym-widget{margin-bottom:14px}
    body.ym-content-detail-template .ym-detail-hero-card{padding:26px 20px 22px}
    body.ym-content-detail-template .ym-detail-app-head{display:block;text-align:center}
    body.ym-content-detail-template .ym-detail-app-logo{margin:0 auto 17px}
    body.ym-content-detail-template .ym-content-download,
    body.ym-content-detail-template .ym-detail-pills,
    body.ym-content-detail-template .ym-content-detail-meta{justify-content:center}
    body.ym-content-detail-template .ym-content-rich{padding:24px 20px}
    body.ym-content-detail-template .ym-article-note{margin:20px 20px 0}
    body.ym-content-detail-template .ym-detail-tags{margin:0 20px 24px}
}

/* =========================================================
   YmNav 内容库体验优化 v4
   1. 软件/文章详情面包屑  2. 统一内容卡片  3. 搜索下拉可读性
   4. 首页顶部/分类滑条兼容内容分类
   ========================================================= */
body .search-box.ymnav-search-with-type .search-type-select option,
.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-select option{
    color:#334155;
    background:#ffffff;
    font-weight:800;
}
html:not([data-theme="light"]) body .search-box.ymnav-search-with-type .search-type-select option,
html:not([data-theme="light"]) .site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-select option{
    color:#e5e7eb;
    background:#111827;
}
html[data-theme="light"] body .search-box.ymnav-search-with-type .search-type-select,
html[data-theme="light"] .site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-select{
    color:#334155 !important;
}

.ym-content-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 16px;
    padding:11px 14px;
    border:1px solid var(--border);
    border-radius:16px;
    background:color-mix(in srgb,var(--bg2,#fff) 82%,transparent);
    box-shadow:0 12px 32px rgba(15,23,42,.06);
    color:var(--text3);
    font-size:13px;
}
.ym-content-breadcrumb a{color:var(--text2);text-decoration:none;font-weight:800;transition:.18s}
.ym-content-breadcrumb a:hover{color:var(--accent)}
.ym-content-breadcrumb span{opacity:.55}
.ym-content-breadcrumb b{color:var(--text);font-weight:900;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

body.ym-content-template .ym-content-grid{
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:16px;
    align-items:stretch;
}
body.ym-content-template .ym-content-card,
.ym-content-hub .ym-content-card,
.ym-search-content-grid .ym-content-card{
    position:relative;
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:14px;
    min-height:168px;
    height:100%;
    padding:16px;
    overflow:hidden;
    border:1px solid color-mix(in srgb,var(--border) 84%,var(--accent) 16%);
    border-radius:22px;
    background:
        radial-gradient(circle at 0 0,color-mix(in srgb,var(--accent) 10%,transparent),transparent 34%),
        linear-gradient(180deg,color-mix(in srgb,var(--bg2,#fff) 92%,transparent),color-mix(in srgb,var(--bg3,#fff) 96%,transparent));
    box-shadow:0 16px 38px rgba(15,23,42,.07);
    color:var(--text);
    text-decoration:none;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
body.ym-content-template .ym-content-card::after,
.ym-content-hub .ym-content-card::after,
.ym-search-content-grid .ym-content-card::after{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    bottom:0;
    height:3px;
    border-radius:999px 999px 0 0;
    background:var(--gradient,linear-gradient(135deg,var(--accent),var(--accent2)));
    opacity:.72;
    transform:scaleX(.38);
    transform-origin:left center;
    transition:.22s ease;
}
body.ym-content-template .ym-content-card:hover,
.ym-content-hub .ym-content-card:hover,
.ym-search-content-grid .ym-content-card:hover{
    transform:translateY(-4px);
    border-color:color-mix(in srgb,var(--accent) 58%,var(--border));
    box-shadow:0 26px 70px rgba(15,23,42,.14);
}
body.ym-content-template .ym-content-card:hover::after,
.ym-content-hub .ym-content-card:hover::after,
.ym-search-content-grid .ym-content-card:hover::after{transform:scaleX(1)}
body.ym-content-template .ym-content-thumb,
.ym-content-hub .ym-content-thumb,
.ym-search-content-grid .ym-content-thumb{
    width:72px;
    height:72px;
    border-radius:20px;
    display:grid;
    place-items:center;
    overflow:hidden;
    flex:none;
    font-size:30px;
    background:
        linear-gradient(135deg,color-mix(in srgb,var(--accent) 16%,transparent),color-mix(in srgb,var(--accent2) 9%,transparent)),
        var(--bg2);
    border:1px solid color-mix(in srgb,var(--accent) 14%,var(--border));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 26px rgba(15,23,42,.08);
}
body.ym-content-template .ym-content-thumb img,
.ym-content-hub .ym-content-thumb img,
.ym-search-content-grid .ym-content-thumb img{width:100%;height:100%;object-fit:cover;display:block}
body.ym-content-template .ym-content-thumb.is-empty::before,
.ym-content-hub .ym-content-thumb.is-empty::before,
.ym-search-content-grid .ym-content-thumb.is-empty::before{content:"🧩"}
body.ym-content-template .ym-content-body,
.ym-content-hub .ym-content-body,
.ym-search-content-grid .ym-content-body{
    display:flex;
    min-width:0;
    flex-direction:column;
    justify-content:flex-start;
}
body.ym-content-template .ym-content-meta,
.ym-content-hub .ym-content-meta,
.ym-search-content-grid .ym-content-meta{
    display:flex;
    align-items:center;
    gap:6px;
    min-height:24px;
    margin:0 0 7px;
    overflow:hidden;
    color:var(--text3);
    font-size:11px;
    line-height:1;
    white-space:nowrap;
}
body.ym-content-template .ym-content-meta span,
.ym-content-hub .ym-content-meta span,
.ym-search-content-grid .ym-content-meta span{
    display:inline-flex;
    align-items:center;
    max-width:118px;
    min-height:22px;
    padding:0 7px;
    overflow:hidden;
    text-overflow:ellipsis;
    border:1px solid var(--border);
    border-radius:999px;
    background:color-mix(in srgb,var(--bg2,#fff) 72%,transparent);
}
body.ym-content-template .ym-content-meta .ym-content-kind,
.ym-content-hub .ym-content-meta .ym-content-kind,
.ym-search-content-grid .ym-content-meta .ym-content-kind{
    color:color-mix(in srgb,var(--accent) 76%,var(--text));
    border-color:color-mix(in srgb,var(--accent) 22%,var(--border));
    background:color-mix(in srgb,var(--accent) 9%,transparent);
}
body.ym-content-template .ym-content-card h3,
.ym-content-hub .ym-content-card h3,
.ym-search-content-grid .ym-content-card h3{
    min-height:24px;
    margin:0 0 7px;
    color:var(--text);
    font-size:16px;
    font-weight:1000;
    line-height:1.45;
    letter-spacing:-.01em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
body.ym-content-template .ym-content-card p,
.ym-content-hub .ym-content-card p,
.ym-search-content-grid .ym-content-card p{
    min-height:42px;
    margin:0;
    color:var(--text2);
    font-size:13px;
    line-height:1.6;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
body.ym-content-template .ym-content-mini-tags,
.ym-content-hub .ym-content-mini-tags,
.ym-search-content-grid .ym-content-mini-tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    min-height:24px;
    margin-top:10px;
    overflow:hidden;
}
body.ym-content-template .ym-content-mini-tags em,
.ym-content-hub .ym-content-mini-tags em,
.ym-search-content-grid .ym-content-mini-tags em{
    max-width:86px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-style:normal;
    font-size:11px;
    font-weight:800;
    padding:3px 7px;
    border-radius:999px;
    color:var(--text3);
    background:var(--bg2);
    border:1px solid var(--border);
}
body.ym-content-template .ym-content-card-foot,
.ym-content-hub .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:22px;
    margin-top:auto;
    padding-top:10px;
    color:var(--text3);
    font-size:12px;
    font-weight:800;
}

body.ym-content-template .ym-content-card-app.ym-content-card-style-clean,
.ym-content-hub .ym-content-card-app.ym-content-card-style-clean,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-clean{min-height:142px}
body.ym-content-template .ym-content-card-app.ym-content-card-style-clean .ym-content-meta,
body.ym-content-template .ym-content-card-app.ym-content-card-style-clean .ym-content-mini-tags,
body.ym-content-template .ym-content-card-app.ym-content-card-style-clean .ym-content-card-foot,
.ym-content-hub .ym-content-card-app.ym-content-card-style-clean .ym-content-meta,
.ym-content-hub .ym-content-card-app.ym-content-card-style-clean .ym-content-mini-tags,
.ym-content-hub .ym-content-card-app.ym-content-card-style-clean .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-clean .ym-content-meta,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-clean .ym-content-mini-tags,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-clean .ym-content-card-foot{display:none}
body.ym-content-template .ym-content-card-app.ym-content-card-style-clean p,
.ym-content-hub .ym-content-card-app.ym-content-card-style-clean p,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-clean p{min-height:42px;margin-top:2px}
body.ym-content-template .ym-content-card-app.ym-content-card-style-simple,
.ym-content-hub .ym-content-card-app.ym-content-card-style-simple,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-simple{
    min-height:104px;
    align-items:center;
}
body.ym-content-template .ym-content-card-app.ym-content-card-style-simple .ym-content-meta,
body.ym-content-template .ym-content-card-app.ym-content-card-style-simple p,
body.ym-content-template .ym-content-card-app.ym-content-card-style-simple .ym-content-mini-tags,
body.ym-content-template .ym-content-card-app.ym-content-card-style-simple .ym-content-card-foot,
.ym-content-hub .ym-content-card-app.ym-content-card-style-simple .ym-content-meta,
.ym-content-hub .ym-content-card-app.ym-content-card-style-simple p,
.ym-content-hub .ym-content-card-app.ym-content-card-style-simple .ym-content-mini-tags,
.ym-content-hub .ym-content-card-app.ym-content-card-style-simple .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-simple .ym-content-meta,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-simple p,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-simple .ym-content-mini-tags,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-simple .ym-content-card-foot{display:none}
body.ym-content-template .ym-content-card-app.ym-content-card-style-simple h3,
.ym-content-hub .ym-content-card-app.ym-content-card-style-simple h3,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-simple h3{margin:0;font-size:17px}

.site-style-neon-hub .ym-content-card{background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.035));backdrop-filter:blur(18px)}
.site-style-editorial-pro .ym-content-card{border-radius:20px;background:#fffdf8;box-shadow:0 18px 45px rgba(78,55,29,.08)}
.site-style-ACGNav .ym-content-card{border-radius:24px;background:linear-gradient(135deg,rgba(255,126,182,.12),rgba(125,92,255,.07)),var(--card)}
.site-style-MusicWave .ym-content-card{background:linear-gradient(135deg,rgba(34,197,94,.10),rgba(14,165,233,.06)),var(--card)}
.site-style-MovieCinema .ym-content-card{background:linear-gradient(135deg,rgba(239,68,68,.10),rgba(245,197,66,.06)),var(--card)}
.site-style-NavProStyle7 .ym-content-card{border-radius:18px;box-shadow:0 14px 34px rgba(2,6,23,.08)}

.nav-dropdown.ym-content-nav-dropdown .dropdown-menu a .nav-label{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cat-nav-v2 .ym-content-cat-main{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,var(--bg2)),var(--bg2))}
.cat-nav-v2 .ym-content-cat-main .icon{filter:saturate(1.15)}
.mobile-cat-block.ym-mobile-content-cat-block .mobile-cat-main{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,var(--bg2)),var(--bg2))}

@media(max-width:640px){
    body.ym-content-template .ym-content-grid{grid-template-columns:1fr}
    body.ym-content-template .ym-content-card,
    .ym-content-hub .ym-content-card,
    .ym-search-content-grid .ym-content-card{grid-template-columns:62px minmax(0,1fr);min-height:150px;padding:14px;border-radius:18px}
    body.ym-content-template .ym-content-thumb,
    .ym-content-hub .ym-content-thumb,
    .ym-search-content-grid .ym-content-thumb{width:62px;height:62px;border-radius:17px}
    .ym-content-breadcrumb{font-size:12px;border-radius:14px}
    .ym-content-breadcrumb b{max-width:210px}
}


/* YmNav 内容库分类层级/卡片链接/文章缩略图优化 v5 */
body.ym-content-template .ym-filter-row .ym-content-cat-child{
    margin-left:8px;
    opacity:.92;
}
body.ym-content-template .ym-content-grid.content-category-cols-1{grid-template-columns:repeat(1,minmax(0,1fr)) !important}
body.ym-content-template .ym-content-grid.content-category-cols-2{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
body.ym-content-template .ym-content-grid.content-category-cols-3{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
body.ym-content-template .ym-content-grid.content-category-cols-4{grid-template-columns:repeat(4,minmax(0,1fr)) !important}

body.ym-content-template .ym-content-card h3 a,
.ym-content-hub .ym-content-card h3 a,
.ym-search-content-grid .ym-content-card h3 a{
    color:inherit;
    text-decoration:none;
}
body.ym-content-template .ym-content-card h3 a:hover,
.ym-content-hub .ym-content-card h3 a:hover,
.ym-search-content-grid .ym-content-card h3 a:hover{color:var(--accent)}
body.ym-content-template .ym-content-meta a,
.ym-content-hub .ym-content-meta a,
.ym-search-content-grid .ym-content-meta a,
body.ym-content-template .ym-content-meta span,
.ym-content-hub .ym-content-meta span,
.ym-search-content-grid .ym-content-meta span{
    display:inline-flex;
    align-items:center;
    max-width:118px;
    min-height:22px;
    padding:0 7px;
    overflow:hidden;
    text-overflow:ellipsis;
    border:1px solid var(--border);
    border-radius:999px;
    background:color-mix(in srgb,var(--bg2,#fff) 72%,transparent);
    color:var(--text3);
    text-decoration:none;
}
body.ym-content-template .ym-content-meta a:hover,
.ym-content-hub .ym-content-meta a:hover,
.ym-search-content-grid .ym-content-meta a:hover{
    color:var(--accent);
    border-color:color-mix(in srgb,var(--accent) 48%,var(--border));
}
body.ym-content-template .ym-content-mini-tags a,
.ym-content-hub .ym-content-mini-tags a,
.ym-search-content-grid .ym-content-mini-tags a{
    color:inherit;
    text-decoration:none;
}
body.ym-content-template .ym-content-mini-tags a:hover em,
.ym-content-hub .ym-content-mini-tags a:hover em,
.ym-search-content-grid .ym-content-mini-tags a:hover em{
    color:var(--accent);
    border-color:color-mix(in srgb,var(--accent) 45%,var(--border));
}
body.ym-content-template .ym-content-card-foot .ym-content-more,
.ym-content-hub .ym-content-card-foot .ym-content-more,
.ym-search-content-grid .ym-content-card-foot .ym-content-more{
    margin-left:auto;
    color:var(--accent);
    text-decoration:none;
    font-weight:900;
}

body.ym-content-template .ym-content-card-article,
.ym-content-hub .ym-content-card-article,
.ym-search-content-grid .ym-content-card-article{
    display:flex !important;
    flex-direction:row;
    align-items:stretch;
    grid-template-columns:none !important;
    min-height:145px;
}
body.ym-content-template .ym-content-card-article .ym-content-thumb,
.ym-content-hub .ym-content-card-article .ym-content-thumb,
.ym-search-content-grid .ym-content-card-article .ym-content-thumb{
    width:160px !important;
    height:115px !important;
    min-width:160px !important;
    min-height:115px !important;
    max-height:115px;
    aspect-ratio:160/115;
    border-radius:18px;
}
body.ym-content-template .ym-related-grid.ym-content-grid-article{
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
body.ym-content-template .ym-related-grid .ym-content-card-article{
    min-height:145px;
}

@media(max-width:900px){
    body.ym-content-template .ym-content-grid.content-category-cols-3,
    body.ym-content-template .ym-content-grid.content-category-cols-4{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:640px){
    body.ym-content-template .ym-content-grid.content-category-cols-1,
    body.ym-content-template .ym-content-grid.content-category-cols-2,
    body.ym-content-template .ym-content-grid.content-category-cols-3,
    body.ym-content-template .ym-content-grid.content-category-cols-4{grid-template-columns:1fr !important}
    body.ym-content-template .ym-content-card-article,
    .ym-content-hub .ym-content-card-article,
    .ym-search-content-grid .ym-content-card-article{
        flex-direction:column;
        min-height:0;
    }
    body.ym-content-template .ym-content-card-article .ym-content-thumb,
    .ym-content-hub .ym-content-card-article .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article .ym-content-thumb{
        width:100% !important;
        height:auto !important;
        min-width:0 !important;
        min-height:0 !important;
        max-height:none;
        aspect-ratio:160/115;
    }
}

/* YmNav 内容库文章分类卡片样式补充 */
body.ym-content-template .ym-content-card-article.ym-content-card-style-clean .ym-content-meta,
body.ym-content-template .ym-content-card-article.ym-content-card-style-clean .ym-content-mini-tags,
body.ym-content-template .ym-content-card-article.ym-content-card-style-clean .ym-content-card-foot,
.ym-content-hub .ym-content-card-article.ym-content-card-style-clean .ym-content-meta,
.ym-content-hub .ym-content-card-article.ym-content-card-style-clean .ym-content-mini-tags,
.ym-content-hub .ym-content-card-article.ym-content-card-style-clean .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-clean .ym-content-meta,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-clean .ym-content-mini-tags,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-clean .ym-content-card-foot{display:none}
body.ym-content-template .ym-content-card-article.ym-content-card-style-simple .ym-content-meta,
body.ym-content-template .ym-content-card-article.ym-content-card-style-simple p,
body.ym-content-template .ym-content-card-article.ym-content-card-style-simple .ym-content-mini-tags,
body.ym-content-template .ym-content-card-article.ym-content-card-style-simple .ym-content-card-foot,
.ym-content-hub .ym-content-card-article.ym-content-card-style-simple .ym-content-meta,
.ym-content-hub .ym-content-card-article.ym-content-card-style-simple p,
.ym-content-hub .ym-content-card-article.ym-content-card-style-simple .ym-content-mini-tags,
.ym-content-hub .ym-content-card-article.ym-content-card-style-simple .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-simple .ym-content-meta,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-simple p,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-simple .ym-content-mini-tags,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-simple .ym-content-card-foot{display:none}
body.ym-content-template .ym-content-card-article.ym-content-card-style-simple,
.ym-content-hub .ym-content-card-article.ym-content-card-style-simple,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-simple{align-items:center}
body.ym-content-template .ym-content-card-article.ym-content-card-style-simple h3,
.ym-content-hub .ym-content-card-article.ym-content-card-style-simple h3,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-simple h3{margin:0;font-size:17px;white-space:normal}


/* 内容库分类图标（软件分类/文章分类复用网址分类图标） */
.ym-content-cat-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;vertical-align:middle}
.ym-content-cat-icon img,.ym-content-cat-link img,.np7-content-filter img,.np7-side-list img,.np7-top-links img,.np7-menu img{width:1.15em;height:1.15em;object-fit:contain;vertical-align:-.15em;border-radius:4px}
.ym-content-cat-prefix{opacity:.55;font-weight:900}
.ym-content-cat-name{display:inline-flex;align-items:center;gap:4px}


/* YmNav content grid columns and one-line card polish v6 */
.ym-content-grid.content-category-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}
.ym-content-grid.content-category-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.ym-content-grid.content-category-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ym-content-grid.content-category-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ym-content-grid-article:not([class*="content-category-cols-"]){grid-template-columns:repeat(auto-fit,minmax(min(100%,500px),1fr))}
.ym-content-card .ym-content-body{flex:1 1 auto;min-width:0;overflow:hidden}
.ym-content-card-app.ym-content-card-style-default{min-width:0;overflow:hidden}
.ym-content-card-app.ym-content-card-style-default .ym-content-body{display:flex;flex-direction:column;gap:5px;min-width:0;overflow:hidden}
.ym-content-card-app.ym-content-card-style-default .ym-content-meta,
.ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
.ym-content-card-app.ym-content-card-style-default .ym-content-card-foot{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;max-width:100%;overflow:hidden;white-space:nowrap}
.ym-content-card-app.ym-content-card-style-default .ym-content-meta>*{flex:0 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-app.ym-content-card-style-default h3,
.ym-content-card-app.ym-content-card-style-default h3 a,
.ym-content-card-app.ym-content-card-style-default p{display:block!important;max-width:100%;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important}
.ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a{flex:0 1 auto;min-width:0;max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span{flex:0 0 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more{flex:0 0 auto;margin-left:auto}
.ym-content-card-article.ym-content-card-style-default{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px;min-width:0;overflow:hidden;padding:10px 12px;border-radius:14px}
.ym-content-card-article.ym-content-card-style-default .ym-content-thumb{width:168px!important;height:96px!important;min-width:168px!important;min-height:96px!important;max-height:96px!important;border-radius:12px;aspect-ratio:7/4}
.ym-content-card-article.ym-content-card-style-default .ym-content-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:5px;overflow:hidden}
.ym-content-card-article.ym-content-card-style-default .ym-content-meta,
.ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;max-width:100%;overflow:hidden;white-space:nowrap}
.ym-content-card-article.ym-content-card-style-default .ym-content-meta>*{flex:0 1 auto;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-article.ym-content-card-style-default h3{margin:0;font-size:16px;line-height:1.35;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ym-content-card-article.ym-content-card-style-default h3 a{color:inherit;text-decoration:none}
.ym-content-card-article.ym-content-card-style-default p{display:block!important;max-width:100%;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;line-height:1.45}
.ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a{flex:0 1 auto;min-width:0;max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span{flex:0 0 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more{flex:0 0 auto;margin-left:auto}
@media(max-width:900px){.ym-content-grid.content-category-cols-3,.ym-content-grid.content-category-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ym-content-grid-article.content-category-cols-2,.ym-content-grid-article.content-category-cols-3,.ym-content-grid-article.content-category-cols-4{grid-template-columns:1fr!important}}
@media(max-width:640px){.ym-content-grid.content-category-cols-1,.ym-content-grid.content-category-cols-2,.ym-content-grid.content-category-cols-3,.ym-content-grid.content-category-cols-4{grid-template-columns:1fr!important}.ym-content-card-article.ym-content-card-style-default{align-items:flex-start!important;gap:10px}.ym-content-card-article.ym-content-card-style-default .ym-content-thumb{width:118px!important;height:76px!important;min-width:118px!important;min-height:76px!important;max-height:76px!important}.ym-content-card-article.ym-content-card-style-default h3{font-size:15px;-webkit-line-clamp:2}.ym-content-card-article.ym-content-card-style-default .ym-content-meta .ym-content-kind{display:none}}

/* YmNav content card polish round3: remove meta, reuse site tag/button, mobile thumb centering */
.ym-content-card .ym-content-meta{display:none!important}
.ym-content-card .ym-content-more.visit-btn{display:inline-flex;align-items:center;justify-content:center;line-height:1;text-decoration:none;white-space:nowrap;flex:0 0 auto;margin-left:auto}
.ym-content-card .ym-content-mini-tags{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;max-width:100%;overflow:hidden;white-space:nowrap}
.ym-content-card .ym-content-mini-tags a{display:inline-flex;align-items:center;min-width:0;max-width:108px;flex:0 1 auto;text-decoration:none;overflow:hidden;color:inherit}
.ym-content-card .ym-content-mini-tags .site-tag{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}
body.ym-content-template .ym-content-mini-tags a:hover .site-tag,
.ym-content-hub .ym-content-mini-tags a:hover .site-tag,
.ym-search-content-grid .ym-content-mini-tags a:hover .site-tag{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 45%,var(--border))}
.ym-content-card-article.ym-content-card-style-default h3,
.ym-content-card-article.ym-content-card-style-default h3 a{display:block!important;max-width:100%;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important}
.ym-content-card-article.ym-content-card-style-default p{display:-webkit-box!important;max-width:100%;overflow:hidden!important;text-overflow:ellipsis!important;white-space:normal!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;line-height:1.55!important}
.ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;max-width:100%;overflow:hidden;white-space:nowrap}
.ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span,
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span{flex:0 0 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:640px){.ym-content-card-article.ym-content-card-style-default{align-items:center!important}.ym-content-card-article.ym-content-card-style-default .ym-content-thumb{align-self:center!important}}


/* YmNav round4: prev/next, related spacing, reading note, Style7 search selector fixes */
.ym-prev-next{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 18px}
.ym-prev-next-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:15px 16px;border:1px solid var(--border);border-radius:18px;background:var(--card);color:var(--text);text-decoration:none;box-shadow:0 8px 22px rgba(15,23,42,.05);transition:.18s ease}
.ym-prev-next-card:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:var(--shadow)}
.ym-prev-next-card.is-empty{opacity:.5;box-shadow:none}
.ym-prev-next-arrow{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:999px;background:var(--bg2);border:1px solid var(--border);font-size:20px;font-weight:1000;line-height:1;color:var(--primary)}
.ym-prev-next-card strong{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.45}
.ym-next-card{align-items:flex-end;text-align:right}
.ym-related-content .section-header{margin-bottom:16px!important}
.ym-related-content .section-header + .ym-content-grid{margin-top:0!important}
.ym-article-note{display:flex;align-items:center;gap:10px;margin:18px 0;padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:var(--bg2);color:var(--text2);font-size:14px;line-height:1.6}
.ym-article-note strong{color:var(--text);white-space:nowrap}.ym-article-note span{min-width:0}
.site-style-NavProStyle7 .np7-search.np7-search-with-type{gap:8px;overflow:visible}
.site-style-NavProStyle7 .np7-search.np7-search-with-type>span:not(.search-type-wrap){flex:0 0 42px;width:42px}
.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-wrap{display:flex!important;align-items:center!important;place-items:normal!important;width:auto!important;min-width:96px!important;flex:0 0 auto!important;color:inherit!important;font-size:initial!important}
.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-select{width:96px;min-width:96px;height:44px;box-sizing:border-box}
.site-style-NavProStyle7 .np7-search.np7-search-with-type input{flex:1 1 auto!important;min-width:0!important;padding-left:6px!important}
@media(max-width:700px){.ym-prev-next{grid-template-columns:1fr;gap:10px}.ym-next-card{align-items:flex-start;text-align:left}.ym-article-note{align-items:flex-start}.site-style-NavProStyle7 .np7-search.np7-search-with-type{display:flex!important;flex-wrap:wrap!important}.site-style-NavProStyle7 .np7-search.np7-search-with-type>span:not(.search-type-wrap){display:none!important}.site-style-NavProStyle7 .np7-search.np7-search-with-type .search-type-wrap{display:flex!important;flex:0 0 100px!important;order:1}.site-style-NavProStyle7 .np7-search.np7-search-with-type input{display:block!important;flex:1 1 calc(100% - 112px)!important;min-width:130px!important;order:2;height:44px!important;padding:0 10px!important}.site-style-NavProStyle7 .np7-search.np7-search-with-type button{order:3;width:100%!important}}

/* YmNav round5: force white visit button text and keep article cards responsive */
.ym-content-card .ym-content-more.visit-btn,
.ym-content-card .ym-content-more.visit-btn:visited,
.ym-content-card .ym-content-more.visit-btn:hover,
body.ym-content-template .ym-content-card .ym-content-more.visit-btn,
.ym-content-hub .ym-content-card .ym-content-more.visit-btn,
.ym-search-content-grid .ym-content-card .ym-content-more.visit-btn{
    color:#fff!important;
}

body.ym-content-template .ym-content-grid-article,
.ym-content-hub .ym-content-grid-article,
.ym-search-content-grid.ym-content-grid-article{
    width:100%;
    max-width:100%;
    min-width:0;
    overflow:hidden;
    box-sizing:border-box;
}
body.ym-content-template .ym-content-grid-article.content-category-cols-3,
body.ym-content-template .ym-content-grid-article.content-category-cols-4,
.ym-content-hub .ym-content-grid-article.content-category-cols-3,
.ym-content-hub .ym-content-grid-article.content-category-cols-4,
.ym-search-content-grid.ym-content-grid-article.content-category-cols-3,
.ym-search-content-grid.ym-content-grid-article.content-category-cols-4{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.ym-content-template .ym-content-card-article.ym-content-card-style-default,
.ym-content-hub .ym-content-card-article.ym-content-card-style-default,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-default{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
}

@media(max-width:1100px){
    body.ym-content-template .ym-content-grid-article.content-category-cols-2,
    body.ym-content-template .ym-content-grid-article.content-category-cols-3,
    body.ym-content-template .ym-content-grid-article.content-category-cols-4,
    .ym-content-hub .ym-content-grid-article.content-category-cols-2,
    .ym-content-hub .ym-content-grid-article.content-category-cols-3,
    .ym-content-hub .ym-content-grid-article.content-category-cols-4,
    .ym-search-content-grid.ym-content-grid-article.content-category-cols-2,
    .ym-search-content-grid.ym-content-grid-article.content-category-cols-3,
    .ym-search-content-grid.ym-content-grid-article.content-category-cols-4{
        grid-template-columns:1fr!important;
    }
}

@media(max-width:640px){
    body.ym-content-template .ym-content-layout,
    body.ym-content-template .ym-content-primary,
    body.ym-content-template .ym-content-main,
    .ym-content-hub,
    .ym-search-content-grid{
        min-width:0!important;
        max-width:100%!important;
        overflow:hidden!important;
        box-sizing:border-box!important;
    }
    body.ym-content-template .ym-content-grid-article,
    .ym-content-hub .ym-content-grid-article,
    .ym-search-content-grid.ym-content-grid-article{
        grid-template-columns:1fr!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        overflow:hidden!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default{
        display:flex!important;
        flex-direction:row!important;
        align-items:center!important;
        gap:9px!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        padding:10px!important;
        overflow:hidden!important;
        box-sizing:border-box!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-thumb{
        width:96px!important;
        height:64px!important;
        min-width:96px!important;
        min-height:64px!important;
        max-width:96px!important;
        max-height:64px!important;
        flex:0 0 96px!important;
        align-self:center!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-body{
        flex:1 1 auto!important;
        min-width:0!important;
        max-width:calc(100% - 105px)!important;
        overflow:hidden!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default h3,
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default h3 a,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default h3,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default h3 a,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default h3,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default h3 a{
        max-width:100%!important;
        white-space:nowrap!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags{
        max-width:100%!important;
        min-width:0!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a:nth-child(n+3),
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a:nth-child(n+3),
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a:nth-child(n+3),
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
        display:none!important;
    }
}

@media(max-width:380px){
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-thumb{
        width:84px!important;
        height:58px!important;
        min-width:84px!important;
        min-height:58px!important;
        max-width:84px!important;
        max-height:58px!important;
        flex-basis:84px!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-body{
        max-width:calc(100% - 93px)!important;
    }
}

/* YmNav round6: content cards, prev/next, article grid and content category tabs */
.ym-content-card-app.ym-content-card-style-default h3,
.ym-content-card-app.ym-content-card-style-default h3 a{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    -webkit-line-clamp:unset!important;
    -webkit-box-orient:initial!important;
}
.ym-content-card-app.ym-content-card-style-default p{
    display:-webkit-box!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:normal!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    line-height:1.55!important;
}
.ym-content-mini-tags .site-tag::before{content:none!important}.ym-content-mini-tags .site-tag{letter-spacing:0}

.ym-prev-next{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:22px 0 18px!important}
.ym-prev-next-card{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;padding:12px 14px!important;border-radius:16px!important;background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(127,127,127,.035)),var(--card)!important;border:1px solid var(--border)!important;text-decoration:none!important;color:var(--text)!important;box-shadow:0 8px 20px rgba(15,23,42,.045)!important;transition:.18s ease!important}
.ym-prev-next-card:hover{transform:translateY(-1px)!important;border-color:var(--accent)!important;box-shadow:var(--shadow)!important}
.ym-prev-next-card.is-empty{opacity:.48!important;pointer-events:none!important;box-shadow:none!important}
.ym-prev-next-top{display:inline-flex!important;align-items:center!important;gap:6px!important;max-width:100%!important;color:var(--text3)!important;font-size:12px!important;font-weight:900!important;line-height:1!important}
.ym-prev-next-top em{font-style:normal!important;white-space:nowrap!important}
.ym-prev-next-arrow{display:inline-grid!important;place-items:center!important;width:24px!important;height:24px!important;border-radius:999px!important;background:var(--bg2)!important;border:1px solid var(--border)!important;color:var(--accent)!important;font-size:18px!important;font-weight:1000!important;line-height:1!important}
.ym-prev-next-card strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:var(--text)!important;font-size:14px!important;line-height:1.45!important}
.ym-next-card{align-items:flex-end!important;text-align:right!important}.ym-prev-card{align-items:flex-start!important;text-align:left!important}
@media(max-width:700px){.ym-prev-next{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.ym-prev-next-card{padding:10px!important;border-radius:14px!important}.ym-prev-next-card strong{font-size:12px!important}.ym-prev-next-top{font-size:11px!important}.ym-prev-next-arrow{width:22px!important;height:22px!important;font-size:16px!important}}

body .ym-content-grid.ym-content-grid-article.content-category-cols-3,
body .ym-content-grid.ym-content-grid-article.content-category-cols-4,
body.ym-content-template .ym-content-grid.ym-content-grid-article.content-category-cols-3,
body.ym-content-template .ym-content-grid.ym-content-grid-article.content-category-cols-4,
.ym-content-hub .ym-content-grid.ym-content-grid-article.content-category-cols-3,
.ym-content-hub .ym-content-grid.ym-content-grid-article.content-category-cols-4,
.ym-search-content-grid.ym-content-grid-article.content-category-cols-3,
.ym-search-content-grid.ym-content-grid-article.content-category-cols-4{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.ym-content-template .ym-content-grid.ym-content-grid-article,
.ym-content-hub .ym-content-grid.ym-content-grid-article,
.ym-search-content-grid.ym-content-grid-article{
    min-width:0!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important;
}
@media(max-width:1180px){
    body.ym-content-template .ym-content-grid.ym-content-grid-article,
    body.ym-content-template .ym-content-grid.ym-content-grid-article.content-category-cols-2,
    body.ym-content-template .ym-content-grid.ym-content-grid-article.content-category-cols-3,
    body.ym-content-template .ym-content-grid.ym-content-grid-article.content-category-cols-4{
        grid-template-columns:1fr!important;
    }
}
@media(max-width:640px){
    body.ym-content-template .ym-content-page,
    body.ym-content-template .ym-content-main,
    body.ym-content-template .ym-content-layout,
    body.ym-content-template .ym-content-primary{
        width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;box-sizing:border-box!important;
    }
    body.ym-content-template .ym-content-main{padding-left:10px!important;padding-right:10px!important}
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default{
        gap:7px!important;padding:9px!important;max-width:100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-thumb{
        width:78px!important;height:54px!important;min-width:78px!important;min-height:54px!important;max-width:78px!important;max-height:54px!important;flex:0 0 78px!important;align-self:center!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-body{
        flex:1 1 auto!important;min-width:0!important;max-width:calc(100% - 85px)!important;overflow:hidden!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default p,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default p,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default p{
        -webkit-line-clamp:1!important;line-height:1.45!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(1),
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(1),
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(1){display:none!important}
}
@media(max-width:380px){
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-thumb{
        width:68px!important;height:48px!important;min-width:68px!important;min-height:48px!important;max-width:68px!important;max-height:48px!important;flex-basis:68px!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-body{max-width:calc(100% - 75px)!important}
}

.ym-content-block-head h3{display:flex;align-items:center;gap:8px;min-width:0}.ym-content-block-head h3 .icon.cat{display:inline-flex;align-items:center;justify-content:center;line-height:1}.ym-content-block-head h3 .icon.cat img{width:1.15em;height:1.15em;object-fit:contain;border-radius:4px}
.ym-content-subcat-tabs{margin:-2px 0 12px!important;overflow:hidden}.ym-content-subcat-tabs .section-subcat-scroll{display:flex;gap:8px;overflow-x:auto;padding:0 0 4px;scrollbar-width:thin}.ym-content-subcat-tabs .section-subcat-tab{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;max-width:180px;min-height:32px;padding:0 11px;border-radius:999px;border:1px solid var(--border);background:var(--bg2);color:var(--text2);font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap}.ym-content-subcat-tabs .section-subcat-tab.active,.ym-content-subcat-tabs .section-subcat-tab:hover{background:var(--gradient);border-color:transparent;color:#fff}.ym-content-subcat-tabs .section-subcat-tab small{opacity:.72}.ym-content-subcat-tabs .section-subcat-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* YmNav round7: content card overflow, article mobile clamp, compact prev/next */
body.ym-content-list-template.ym-content-article-template .ym-content-grid.ym-content-grid-article,
body.ym-content-template.ym-content-article-template .ym-content-grid.ym-content-grid-article{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}
@media(max-width:1180px){
    body.ym-content-list-template.ym-content-article-template .ym-content-grid.ym-content-grid-article,
    body.ym-content-template.ym-content-article-template .ym-content-grid.ym-content-grid-article{grid-template-columns:1fr!important}
}
body.ym-content-template .ym-content-card-app.ym-content-card-style-default,
.ym-content-hub .ym-content-card-app.ym-content-card-style-default,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-default{
    min-height:268px!important;
    overflow:hidden!important;
    padding-bottom:18px!important;
}
body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-body,
.ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-body,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-body{
    overflow:visible!important;
    min-height:0!important;
}
body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
.ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot{
    flex:0 0 auto!important;
    min-height:30px!important;
    overflow:visible!important;
    padding-bottom:1px!important;
}
.ym-content-card .ym-content-more.visit-btn{
    min-height:26px!important;
    padding:6px 11px!important;
    line-height:1!important;
    box-sizing:border-box!important;
    overflow:visible!important;
}
.ym-prev-next-top em{display:none!important}
.ym-prev-next-top{min-height:24px!important}
.ym-prev-next-card{justify-content:flex-start!important}
@media(max-width:700px){
    .ym-prev-next{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
    .ym-next-card{align-items:flex-end!important;text-align:right!important}
}
@media(max-width:640px){
    body.ym-content-template .ym-content-card:hover,
    .ym-content-hub .ym-content-card:hover,
    .ym-search-content-grid .ym-content-card:hover{transform:none!important}
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        box-sizing:border-box!important;
        overflow:hidden!important;
        gap:7px!important;
        padding:8px!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-thumb{
        width:72px!important;
        height:52px!important;
        min-width:72px!important;
        min-height:52px!important;
        max-width:72px!important;
        max-height:52px!important;
        flex:0 0 72px!important;
        align-self:center!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-body{
        flex:1 1 auto!important;
        min-width:0!important;
        max-width:calc(100% - 79px)!important;
        overflow:hidden!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default p,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default p,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default p{
        display:-webkit-box!important;
        -webkit-line-clamp:2!important;
        -webkit-box-orient:vertical!important;
        white-space:normal!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        line-height:1.42!important;
        max-height:calc(1.42em * 2)!important;
        min-height:0!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags{
        max-width:100%!important;
    }
}
@media(max-width:380px){
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-thumb{
        width:64px!important;height:48px!important;min-width:64px!important;min-height:48px!important;max-width:64px!important;max-height:48px!important;flex-basis:64px!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-body{max-width:calc(100% - 71px)!important}
}

/* YmNav round8: related tag skin, article card balance, mobile app card overlap fix */
.ym-content-card .ym-content-mini-tags .site-tag,
.ym-related-grid .ym-content-mini-tags .site-tag,
body.ym-content-template .ym-content-card .ym-content-mini-tags .site-tag,
.ym-content-hub .ym-content-card .ym-content-mini-tags .site-tag,
.ym-search-content-grid .ym-content-card .ym-content-mini-tags .site-tag{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:100%!important;
    min-height:20px!important;
    padding:3px 8px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    border:1px solid var(--border)!important;
    border-radius:999px!important;
    background:var(--bg2)!important;
    color:var(--text3)!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:1.15!important;
}
.ym-content-card .ym-content-mini-tags a:hover .site-tag,
.ym-related-grid .ym-content-mini-tags a:hover .site-tag{
    color:var(--accent)!important;
    border-color:color-mix(in srgb,var(--accent) 45%,var(--border))!important;
}
.ym-content-card-article.ym-content-card-style-default .ym-content-body{
    padding-top:5px!important;
    box-sizing:border-box!important;
}
.ym-content-card-article.ym-content-card-style-default h3,
.ym-content-card-article.ym-content-card-style-default p,
.ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags{
    transform:translateY(3px);
}
@media(max-width:640px){
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default{
        display:grid!important;
        grid-template-columns:58px minmax(0,1fr)!important;
        align-items:center!important;
        gap:10px!important;
        min-height:0!important;
        width:100%!important;
        max-width:100%!important;
        padding:12px!important;
        overflow:hidden!important;
        text-align:left!important;
        box-sizing:border-box!important;
    }
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-thumb{
        position:relative!important;
        z-index:1!important;
        grid-column:1!important;
        grid-row:1!important;
        width:58px!important;
        height:58px!important;
        min-width:58px!important;
        min-height:58px!important;
        max-width:58px!important;
        max-height:58px!important;
        flex:0 0 58px!important;
        margin:0!important;
        align-self:center!important;
        justify-self:center!important;
    }
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-body,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-body,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-body{
        position:relative!important;
        z-index:2!important;
        grid-column:2!important;
        grid-row:1!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        overflow:hidden!important;
        padding:0!important;
        box-sizing:border-box!important;
        text-align:left!important;
    }
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default h3,
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default h3 a,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default h3,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default h3 a,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default h3,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default h3 a{
        max-width:100%!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default p,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default p,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default p{
        display:-webkit-box!important;
        -webkit-line-clamp:2!important;
        -webkit-box-orient:vertical!important;
        white-space:normal!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        min-height:0!important;
        max-height:calc(1.45em * 2)!important;
        line-height:1.45!important;
    }
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot{
        max-width:100%!important;
        overflow:hidden!important;
        justify-content:flex-start!important;
    }
    .ym-content-card-article.ym-content-card-style-default .ym-content-body{padding-top:3px!important}
    .ym-content-card-article.ym-content-card-style-default h3,
    .ym-content-card-article.ym-content-card-style-default p,
    .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags{transform:translateY(2px)}
}

/* YmNav round9: app card tag skin and stable footer action */
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag{
    display:inline-block!important;
    max-width:100%!important;
    min-height:0!important;
    padding:2px 8px!important;
    border:0!important;
    border-radius:5px!important;
    background:rgba(255,255,255,0.04)!important;
    color:var(--text3)!important;
    font-size:11px!important;
    font-weight:400!important;
    line-height:1.45!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    box-shadow:none!important;
}
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
html[data-theme="light"] body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag{
    background:rgba(0,0,0,.04)!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a{
    display:inline-flex!important;
    min-width:0!important;
    max-width:86px!important;
    overflow:hidden!important;
    text-decoration:none!important;
    color:inherit!important;
}
.ym-content-card.ym-content-card-style-default .ym-content-card-foot,
body.ym-content-template .ym-content-card.ym-content-card-style-default .ym-content-card-foot,
.ym-content-hub .ym-content-card.ym-content-card-style-default .ym-content-card-foot,
.ym-search-content-grid .ym-content-card.ym-content-card-style-default .ym-content-card-foot{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
}
.ym-content-card.ym-content-card-style-default .ym-content-card-foot span,
body.ym-content-template .ym-content-card.ym-content-card-style-default .ym-content-card-foot span,
.ym-content-hub .ym-content-card.ym-content-card-style-default .ym-content-card-foot span,
.ym-search-content-grid .ym-content-card.ym-content-card-style-default .ym-content-card-foot span{
    display:inline-flex!important;
    align-items:center!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    flex:1 1 0!important;
    max-width:none!important;
}
.ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
body.ym-content-template .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
.ym-content-hub .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
.ym-search-content-grid .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
    flex:0 1 68px!important;
    justify-content:flex-start!important;
}
.ym-content-card.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
body.ym-content-template .ym-content-card.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
.ym-content-hub .ym-content-card.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
.ym-search-content-grid .ym-content-card.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn{
    flex:0 0 auto!important;
    margin-left:auto!important;
    white-space:nowrap!important;
    max-width:none!important;
    color:#fff!important;
    position:relative!important;
    z-index:2!important;
}
@media(max-width:640px){
    .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:first-child,
    body.ym-content-template .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-content-hub .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-search-content-grid .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:first-child{
        flex:1 1 auto!important;
    }
    .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    body.ym-content-template .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-content-hub .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-search-content-grid .ym-content-card.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
        flex:0 1 54px!important;
    }
}

/* YmNav round10: article tag skins and app card desktop footer date width */
body:not(.site-style-navprostyle7) .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag{
    display:inline-block!important;
    max-width:100%!important;
    min-height:0!important;
    padding:2px 8px!important;
    border:0!important;
    border-radius:5px!important;
    background:rgba(255,255,255,0.04)!important;
    color:var(--text3)!important;
    font-size:11px!important;
    font-weight:400!important;
    line-height:1.45!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    box-shadow:none!important;
}
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag,
html[data-theme="light"] body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags .site-tag{
    background:rgba(0,0,0,.04)!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags a{
    display:inline-flex!important;
    min-width:0!important;
    max-width:86px!important;
    overflow:hidden!important;
    text-decoration:none!important;
    color:inherit!important;
}
@media(min-width:641px){
    .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot{
        justify-content:flex-start!important;
        overflow:hidden!important;
        gap:6px!important;
    }
    .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child,
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child{
        flex:0 0 76px!important;
        width:76px!important;
        max-width:76px!important;
        min-width:76px!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
        flex:1 1 0!important;
        max-width:64px!important;
        min-width:0!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
    }
    .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    body.ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn{
        flex:0 0 auto!important;
        margin-left:auto!important;
    }
}

/* YmNav round11: app cards use top-logo layout, stable footer, article tags left */
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    grid-template-columns:none!important;
    gap:0!important;
    min-height:260px!important;
    height:100%!important;
    padding:18px 18px 14px!important;
    text-align:center!important;
    background:var(--bg3)!important;
    border:1px solid var(--border)!important;
    border-radius:var(--radius,18px)!important;
    overflow:hidden!important;
    box-shadow:none!important;
}
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default,
html[data-theme="light"] body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default{
    box-shadow:0 1px 3px rgba(0,0,0,.04)!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default:hover,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default:hover,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default:hover,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default:hover{
    border-color:var(--border2)!important;
    background:var(--bg4)!important;
    transform:translateY(-2px)!important;
    box-shadow:0 12px 40px rgba(0,0,0,.20)!important;
}
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default:hover,
html[data-theme="light"] body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default:hover,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default:hover,
html[data-theme="light"] body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default:hover{
    box-shadow:0 12px 40px rgba(99,102,241,.12)!important;
    background:#fafbff!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-thumb{
    position:relative!important;
    z-index:1!important;
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    min-height:64px!important;
    max-width:64px!important;
    max-height:64px!important;
    flex:0 0 64px!important;
    align-self:center!important;
    justify-self:center!important;
    margin:0 auto 12px!important;
    border-radius:16px!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-body,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-body,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-body,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-body{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    padding:0!important;
    text-align:center!important;
    box-sizing:border-box!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default h3,
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default h3 a,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default h3,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default h3 a,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default h3,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default h3 a,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default h3,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default h3 a{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    text-align:center!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default p,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default p,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default p,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default p{
    width:100%!important;
    text-align:center!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    white-space:normal!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1.55!important;
    min-height:calc(1.55em * 2)!important;
    max-height:calc(1.55em * 2)!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:22px!important;
    margin-top:10px!important;
    overflow:hidden!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags a{
    display:inline-flex!important;
    min-width:0!important;
    max-width:160px!important;
    flex:0 1 auto!important;
    overflow:hidden!important;
    text-decoration:none!important;
    color:inherit!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-mini-tags .site-tag{
    display:inline-block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:26px!important;
    margin-top:auto!important;
    padding-top:10px!important;
    border-top:1px solid var(--border)!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    font-weight:400!important;
    box-sizing:border-box!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span{
    display:inline-flex!important;
    align-items:center!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-weight:400!important;
    line-height:1.2!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:first-child{
    flex:0 0 auto!important;
    max-width:84px!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
    flex:1 1 auto!important;
    max-width:none!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn{
    flex:0 0 auto!important;
    margin-left:0!important;
    font-weight:400!important;
    color:#fff!important;
}
body:not(.site-style-navprostyle7) .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags,
body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-mini-tags{
    justify-content:flex-start!important;
    text-align:left!important;
}
@media(max-width:640px){
    body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default,
    body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default,
    body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default,
    body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default{
        min-height:250px!important;
        padding:16px 14px 13px!important;
        text-align:center!important;
    }
    body:not(.site-style-navprostyle7) .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
    body:not(.site-style-navprostyle7).ym-content-template .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
    body:not(.site-style-navprostyle7) .ym-content-hub .ym-content-card-app.ym-content-card-style-default .ym-content-thumb,
    body:not(.site-style-navprostyle7) .ym-search-content-grid .ym-content-card-app.ym-content-card-style-default .ym-content-thumb{
        width:60px!important;
        height:60px!important;
        min-width:60px!important;
        min-height:60px!important;
        max-width:60px!important;
        max-height:60px!important;
        flex-basis:60px!important;
        margin:0 auto 11px!important;
    }
}

/* YmNav round12: mobile article foot visibility and style7 article card polish */
@media(max-width:640px){
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot{
        display:flex!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:5px!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        overflow:hidden!important;
        white-space:nowrap!important;
        font-size:11px!important;
        line-height:1.2!important;
        padding-top:6px!important;
        margin-top:auto!important;
        box-sizing:border-box!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span{
        display:inline-flex!important;
        align-items:center!important;
        min-width:0!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
        white-space:nowrap!important;
        font-weight:400!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child{
        flex:0 0 auto!important;
        max-width:78px!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
        flex:1 1 auto!important;
        max-width:none!important;
    }
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn{
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        flex:0 0 auto!important;
        margin-left:auto!important;
        min-width:38px!important;
        min-height:24px!important;
        padding:5px 9px!important;
        color:#fff!important;
        font-size:11px!important;
        font-weight:400!important;
        line-height:1!important;
        white-space:nowrap!important;
    }
}

/* YmNav round13: article footer visibility, normal weight detail texts, no bold tags */
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
.ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
.ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    font-weight:400!important;
    box-sizing:border-box!important;
}
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
.ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span,
.ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span{
    display:inline-flex!important;
    align-items:center!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-weight:400!important;
    line-height:1.2!important;
}
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
.ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
.ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child{
    display:inline-flex!important;
    flex:0 0 82px!important;
    max-width:82px!important;
}
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
.ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
.ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
    display:inline-flex!important;
    flex:1 1 auto!important;
    max-width:none!important;
}
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
.ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
.ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
.ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn{
    display:inline-flex!important;
    flex:0 0 auto!important;
    margin-left:auto!important;
    font-weight:400!important;
    white-space:nowrap!important;
}
.ym-content-breadcrumb,
.ym-content-breadcrumb *,
.ym-detail-pills,
.ym-detail-pills *,
.ym-content-tags.ym-detail-tags,
.ym-content-tags.ym-detail-tags *,
.ym-side-tags,
.ym-side-tags *,
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
.ym-content-card-article.ym-content-card-style-default .ym-content-card-foot *{
    font-weight:400!important;
}
.ym-content-tags.ym-detail-tags a::before,
.ym-side-tags a::before{content:none!important}
@media(max-width:640px){
    .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot{
        display:flex!important;
        gap:5px!important;
        font-size:11px!important;
        line-height:1.2!important;
        min-height:23px!important;
    }
    .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:first-child{
        display:inline-flex!important;
        flex:0 0 72px!important;
        max-width:72px!important;
    }
    .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2),
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot span:nth-child(2){
        display:inline-flex!important;
        flex:1 1 auto!important;
        max-width:none!important;
    }
    .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    body.ym-content-template .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-content-hub .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-search-content-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn,
    .ym-related-grid .ym-content-card-article.ym-content-card-style-default .ym-content-card-foot .ym-content-more.visit-btn{
        display:inline-flex!important;
        flex:0 0 auto!important;
        min-width:36px!important;
        padding:5px 8px!important;
        font-size:11px!important;
        font-weight:400!important;
        margin-left:auto!important;
    }
}

/* =========================================================
   YmNav 修复：样式2 neon-hub 亮色模式内容库浅色覆盖
   说明：暗色模式继续使用 rgba(15,23,42,.56)，只有 html[data-theme="light"] 下改为白色半透明。
   ========================================================= */
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-content-page{
    --ymc-card:rgba(255,255,255,.82);
    --ymc-card-solid:#ffffff;
    --ymc-line:rgba(15,23,42,.08);
    --ymc-shadow:0 18px 42px rgba(15,23,42,.08);
    --ymc-shadow-hover:0 24px 58px rgba(15,23,42,.12);
}
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-content-hero-inner,
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-filter-panel,
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-widget,
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-content-card,
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-content-article,
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-related-content{
    background:rgba(255,255,255,.82) !important;
    border-color:rgba(15,23,42,.08) !important;
    box-shadow:0 18px 42px rgba(15,23,42,.08) !important;
    color:#1f2937 !important;
}
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-related-content{
    background:rgba(255,255,255,.56) !important;
}
html[data-theme="light"] body.site-style-neon-hub.ym-content-template .ym-content-card:hover{
    background:#ffffff !important;
    border-color:rgba(37,99,235,.22) !important;
    box-shadow:0 24px 58px rgba(15,23,42,.12) !important;
}

