
    .nex-box{
        --nb-panel:var(--nx-soft,#272d38);--nb-page:var(--nx-bg,#20242c);
        --nb-line:var(--nx-border,#3a3f4a);--nb-text:var(--nx-text,#e8eaee);
        --nb-muted:var(--nx-muted,#9aa1ad);--nb-accent:#2f7bff;
        box-sizing:border-box;width:100%;max-width:1200px;margin:0 auto;
    }
    .nex-box *{box-sizing:border-box}
    .nex-box-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}
    .nex-box-title{
        position:relative;margin:0;
        color:var(--nb-text);font-size:18px;font-weight:700;line-height:1.4;letter-spacing:-.01em;
    }

    .nex-box-grid{display:grid;grid-template-columns:repeat(var(--nb-cols,5),minmax(0,1fr));gap:14px}

    /* 面板：封面斜向平铺当整块背景，分类名压在底部。
       （0.14–0.17 是「扇形叠压」，张数一多就挤成一团，换成 App Store 那种平铺。） */
    .nex-box-card{
        /* 瓦片越小越密，越像「一堆游戏」。52px 是实测出来的下界：
           再小的话六列铺不满 220% 宽的那层，转 14° 之后四个角会露出底色。 */
        
        position:relative;isolation:isolate;
        display:flex;align-items:flex-end;justify-content:stretch;
        min-height:152px;padding:16px 16px 15px 18px;
        border:1px solid var(--nb-line);border-radius:14px;
        background:var(--nb-panel);
        text-decoration:none;overflow:hidden;
        transition:transform .22s cubic-bezier(.4,0,.2,1),border-color .22s,box-shadow .22s;
    }
    .nex-box-card:hover{
        transform:translateY(-3px);
        border-color:rgba(47,123,255,.62);
        box-shadow:0 14px 30px rgba(10,18,32,.34),0 0 0 1px rgba(47,123,255,.24);
    }
    .nex-box-card:focus-visible{outline:2px solid var(--nb-accent);outline-offset:3px}


    /* 0.21.90 压暗：标题在左下角，底部由深到浅（四段，避免横向分界线），整块再压一层很淡的底色。静态渐变，不参与动画。 */
    .nex-box-card::after{
        content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
        background-color:rgba(8,14,24,.14);
        background-image:linear-gradient(to top,rgba(8,14,24,.86) 0%,rgba(8,14,24,.5) 22%,rgba(8,14,24,.12) 46%,rgba(8,14,24,0) 64%);
    }

    /* 0.21.90 标题：左下角一行「分类名 + 数量」，右边细线箭头。字重不超过 600，不发光，留给封面墙去热闹 */
    .nex-box-foot{
        position:relative;z-index:2;
        display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;
    }
    .nex90-text{
        display:flex;align-items:baseline;gap:10px;min-width:0;
        transition:transform .35s cubic-bezier(.2,.7,.2,1);
    }
    .nex-box-name{
        min-width:0;color:#fff;font-size:22px;font-weight:600;line-height:1.3;letter-spacing:.02em;
        text-shadow:0 1px 10px rgba(0,0,0,.5);
        white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .nex-box-count{flex:none;color:rgba(255,255,255,.6);font-size:13px;font-style:normal;font-weight:500;white-space:nowrap}
    .nex90-go{flex:none;display:grid;place-items:center;width:28px;height:28px;color:#fff;opacity:.55;transition:opacity .25s,transform .3s cubic-bezier(.2,.7,.2,1)}
    .nex90-go svg{width:20px;height:20px}
    .nex-box-card:hover .nex90-text{transform:translateY(-2px)}
    .nex-box-card:hover .nex90-go{opacity:1;transform:translateX(4px)}

    /* 浅色主题 */
    html[data-bs-theme="light"] .nex-box-card,
    html[data-nex-theme="light"] .nex-box-card{box-shadow:0 1px 3px rgba(16,32,64,.06)}
    html[data-bs-theme="light"] .nex-box-card:hover,
    html[data-nex-theme="light"] .nex-box-card:hover{box-shadow:0 12px 26px rgba(16,32,64,.14)}

    /* 响应式 */
    @media (max-width:1023px){.nex-box-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
    @media (max-width:860px){.nex-box-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
    @media (max-width:600px){
        .nex-box-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
        /* 卡片小了，瓦片跟着收，不然一条列只看得见两张 */
        .nex-box-card{min-height:126px;padding:12px 12px 11px 13px}
        .nex-box-name{font-size:16px}
        .nex90-text{flex-direction:column;align-items:flex-start;gap:2px}
        .nex-box-count{font-size:11.5px}
        .nex90-go{display:none}
    }
    @media (max-width:380px){.nex-box-grid{grid-template-columns:minmax(0,1fr)}}
    @media (prefers-reduced-motion:reduce){
        .nex-box-card{transition:none}
        .nex-box-card:hover{transform:none}
        .nex-box-card:hover .nex90-text,.nex-box-card:hover .nex90-go{transform:none}
    }
    
    /* 0.21.94「常用工具」：和分类盒子同尺寸同边框，里面一排手机文件夹（3×3 小图标）。点开的面板只动 transform 和透明度。 */
    .nex94-tools{position:relative;display:flex;flex-direction:column;gap:14px;min-height:152px;padding:15px 16px 14px 18px;border:1px solid var(--nb-line);border-radius:14px;background:var(--nb-panel)}
    .nex94-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
    .nex94-head strong{color:var(--nb-text);font-size:15px;font-weight:600;letter-spacing:.02em}
    .nex94-head a{display:inline-flex;align-items:center;gap:4px;color:var(--nb-muted);font-size:12.5px;text-decoration:none;transition:color .2s}
    .nex94-head a svg{width:14px;height:14px;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
    .nex94-head a:hover{color:var(--nb-text)}
    .nex94-head a:hover svg{transform:translateX(3px)}
    .nex94-folders{flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:8px}
    .nex94-folder{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;text-decoration:none;-webkit-tap-highlight-color:transparent}
    .nex94-tile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));align-content:start;gap:4px;width:62px;height:62px;padding:7px;border-radius:17px;background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transition:transform .25s cubic-bezier(.2,.7,.2,1),background-color .25s}
    .nex94-cell{display:grid;place-items:center;width:100%;height:100%;min-height:0;border-radius:4px;object-fit:cover;background:rgba(255,255,255,.1);color:var(--nb-text);font-size:8px;font-style:normal;line-height:1;overflow:hidden}
    .nex94-folder-name{max-width:100%;color:var(--nb-muted);font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s}
    .nex94-folder:hover .nex94-tile{transform:translateY(-3px) scale(1.05);background:rgba(255,255,255,.11)}
    .nex94-folder:hover .nex94-folder-name{color:var(--nb-text)}
    .nex94-folder:active .nex94-tile{transform:scale(.96)}
    .nex94-folder:focus-visible{outline:none}
    .nex94-folder:focus-visible .nex94-tile{outline:2px solid var(--nb-accent);outline-offset:3px}

    .nex94-pop{--nex94-x:0px;--nex94-y:0px;--nex94-s:.2;width:min(440px,calc(100vw - 32px));max-height:min(560px,calc(100dvh - 48px));margin:auto;padding:22px 22px 18px;border:1px solid rgba(255,255,255,.1);border-radius:26px;background:#121722;color:#e8eaee;overflow:auto;opacity:0;transform:translate(var(--nex94-x),var(--nex94-y)) scale(var(--nex94-s));transition:opacity .2s ease,transform .3s cubic-bezier(.2,.8,.2,1)}
    .nex94-pop.is-in{opacity:1;transform:none}
    .nex94-pop::backdrop{background:rgba(4,8,14,.62)}
    .nex94-pop header{display:flex;align-items:baseline;gap:10px;margin:0 36px 18px 2px}
    .nex94-pop h3{margin:0;color:#fff;font-size:19px;font-weight:600;letter-spacing:.02em}
    .nex94-pop header small{color:#8b93a1;font-size:12.5px}
    .nex94-pop-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.07);color:#aab2bf;font-size:19px;line-height:1;cursor:pointer;transition:background-color .2s,color .2s}
    .nex94-pop-close:hover{background:rgba(255,255,255,.14);color:#fff}
    .nex94-apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 10px}
    .nex94-app{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;color:#c9cfd8;font-size:12px;line-height:1.35;text-align:center;text-decoration:none}
    .nex94-app span{display:-webkit-box;max-width:100%;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-word}
    .nex94-app-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;object-fit:cover;background:#222a37;color:#fff;font-size:22px;font-weight:600;box-shadow:0 0 0 1px rgba(255,255,255,.06);transition:transform .22s cubic-bezier(.2,.7,.2,1)}
    .nex94-app:hover{color:#fff}
    .nex94-app:hover .nex94-app-icon{transform:translateY(-3px)}
    .nex94-app:focus-visible{outline:none}
    .nex94-app:focus-visible .nex94-app-icon{outline:2px solid #0a6cff;outline-offset:3px}
    .nex94-pop-more{display:flex;justify-content:center;margin:20px 0 0;padding:10px;border-radius:12px;background:rgba(255,255,255,.05);color:#c8fbff;font-size:13px;text-decoration:none;transition:background-color .2s}
    .nex94-pop-more:hover{background:rgba(10,108,255,.18)}
    html[data-bs-theme="light"] .nex94-tile,html[data-nex-theme="light"] .nex94-tile{background:rgba(16,32,64,.06);box-shadow:inset 0 0 0 1px rgba(16,32,64,.06)}
    html[data-bs-theme="light"] .nex94-cell,html[data-nex-theme="light"] .nex94-cell{background:rgba(16,32,64,.08)}
    @media (min-width:601px){.nex-box-grid:has(> .nex94-tools){grid-template-columns:repeat(var(--nb-cols,3),minmax(0,1fr))}}
    @media (max-width:600px){
        .nex94-tools{grid-column:1/-1;min-height:0;padding:12px 12px 12px 13px;gap:12px}
        .nex94-tile{width:56px;height:56px;padding:6px;border-radius:15px}
        .nex94-apps{grid-template-columns:repeat(3,minmax(0,1fr))}
    }
    @media (prefers-reduced-motion:reduce){.nex94-pop,.nex94-tile,.nex94-app-icon{transition:none}}
