/* ============================================================
   【20261028H】磁贴管家 kz-tile-tools.css
   配合 kz-tile-tools.js：
     · 拖动中（.kzt-dragging / .kzt-src）
     · 落点提示（.kzt-t-before / -after / -merge / -into）
     · 文件夹磁贴（.kzt-folder）与 2×2 小脸（.kzt-face / .kzt-cell）
     · ⋮ 角标、✏️ 角标、菜单、更换弹窗、文件夹卡片、导航底部工具条
   ============================================================ */

/* ---------------- 拖动状态 ---------------- */

.kzt-src {
    opacity: .34 !important;
    pointer-events: none !important;
}

body.kzt-dragging,
body.kzt-dragging * {
    cursor: grabbing !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

body.kzt-dragging .desktop-icon,
body.kzt-dragging .nav-item,
body.kzt-dragging .kzt-folder {
    transition: none !important;
}

/* ---------------- 落点提示 ---------------- */

.kzt-t-merge {
    outline: 2px dashed #8B5CF6 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .22) !important;
}

.kzt-t-into {
    outline: 2px solid #22C55E !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .22) !important;
}

.kzt-t-before,
.kzt-t-after {
    position: relative !important;
}

.kzt-t-before::before,
.kzt-t-after::after {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    width: 3px;
    border-radius: 3px;
    background: #38BDF8;
    box-shadow: 0 0 8px rgba(56, 189, 248, .8);
    pointer-events: none;
}

.kzt-t-before::before { left: -7px; }
.kzt-t-after::after { right: -7px; }

/* ---------------- 被收进文件夹 / 被删掉 ---------------- */

.kzt-in-folder { display: none !important; }
.kzt-gone { display: none !important; }

/* ---------------- 文件夹磁贴 ---------------- */

.kzt-folder {
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    box-sizing: border-box;
}

/* 黑色电脑大屏：一格 100×100，和原来的 .desktop-icon 对齐
   外观 = 磨砂玻璃：半透明白 + 背景模糊 + 一道高光，不挡壁纸 */
#desktopIcons > .kzt-folder {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 14px;
    /* 磨砂玻璃：顶上一道高光 -> 中间淡蓝 -> 底部回亮，实色才不会有东西透上来 */
    background:
        linear-gradient(150deg,
            #FBFDFF 0%,
            #DCE7F7 48%,
            #EFF5FD 100%);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -10px 20px rgba(255, 255, 255, .16),
        0 8px 22px rgba(0, 0, 0, .22);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    backdrop-filter: blur(16px) saturate(1.8);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

#desktopIcons > .kzt-folder:hover {
    background:
        linear-gradient(150deg,
            #FFFFFF 0%,
            #E7EFFA 48%,
            #F8FBFF 100%);
    box-shadow:
        inset 0 1px 0 #fff,
        inset 0 -10px 20px rgba(255, 255, 255, .2),
        0 12px 28px rgba(0, 0, 0, .26);
    transform: translateY(-5px);
}

/* 玻璃底 + 底部一层暗角，白字才压得住 */
#desktopIcons > .kzt-folder::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42px;
    border-radius: 0 0 13px 13px;
    background: linear-gradient(rgba(15, 23, 42, 0), rgba(15, 23, 42, .42));
    pointer-events: none;
}

#desktopIcons > .kzt-folder .kzt-fname {
    position: relative;
    z-index: 2;
}

/* 玻璃里的小格子：也是玻璃，只是染了成员自己的颜色 */
#desktopIcons > .kzt-folder .kzt-cell {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42);
}

/* 智能导航窗口：和 .nav-item 一样是 3 列卡片 */
.nav-items > .kzt-folder {
    padding: 9px 10px;
    border-radius: 12px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, rgba(255, 255, 255, .95) 0%, rgba(226, 234, 245, .72) 100%);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(15, 23, 42, .08);
    -webkit-backdrop-filter: blur(10px) saturate(1.5);
    backdrop-filter: blur(10px) saturate(1.5);
    transition: background .2s ease, transform .2s ease;
}

.nav-items > .kzt-folder:hover {
    background: linear-gradient(150deg, #FFFFFF 0%, rgba(219, 229, 243, .92) 100%);
    transform: translateY(-3px);
}

.night-mode .nav-items > .kzt-folder {
    background: linear-gradient(150deg, rgba(71, 85, 105, .92) 0%, rgba(51, 65, 85, .82) 100%);
    border-color: rgba(148, 163, 184, .5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 3px 10px rgba(0, 0, 0, .28);
}

.night-mode .nav-items > .kzt-folder:hover { background: #475569; }

/* 导航窗口里的小格子给点颜色，白底上才看得出来 */
.nav-items > .kzt-folder .kzt-cell {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
}

.nav-items > .kzt-folder .kzt-cell-empty {
    background: rgba(15, 23, 42, .08);
}

.nav-items > .kzt-folder .kzt-fname { color: #0F172A; }
.night-mode .nav-items > .kzt-folder .kzt-fname { color: #E2E8F0; }

/* 2×2 小脸 */
.kzt-face {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    width: 44px;
    height: 44px;
    margin-bottom: 7px;
}

.kzt-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(0, 0, 0, .26);
}

.kzt-cell i {
    font-size: 11px;
    line-height: 1;
    color: #fff;
}

.kzt-cell i.kzt-emoji { font-size: 11px; }

.kzt-cell-empty {
    background: rgba(255, 255, 255, .3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.kzt-fname {
    font-size: 13px;
    line-height: 1.2;
    max-width: 92px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#desktopIcons .kzt-fname {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.nav-items .kzt-fname { color: inherit; }

.nav-items > .kzt-folder .kzt-face {
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
}

.nav-items > .kzt-folder .kzt-cell i { font-size: 9px; }

/* ---------------- 磁贴上的 ⋮ 角标 ---------------- */

.kzt-more {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, .62) !important;
    color: #fff !important;
    font: 700 13px/17px system-ui, -apple-system, sans-serif !important;
    text-align: center !important;
    cursor: pointer !important;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 12 !important;
    box-shadow: none !important;
    display: block !important;
}

.desktop-icon:hover > .kzt-more,
.nav-item:hover > .kzt-more,
.kzt-folder:hover > .kzt-more { opacity: 1; }

.nav-items .nav-item { position: relative; }

/* ---------------- 小窗口左上角 ✏️ ---------------- */

.kzt-pen {
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, .6) !important;
    color: #fff !important;
    font: 11px/20px system-ui, -apple-system, sans-serif !important;
    text-align: center !important;
    cursor: pointer !important;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 12 !important;
    box-shadow: none !important;
    display: block !important;
}

.quick-access-item:hover > .kzt-pen { opacity: 1; }

/* ---------------- 菜单 ---------------- */

.kzt-menu {
    position: fixed;
    z-index: 2147483000;
    min-width: 156px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 14px 44px rgba(15, 23, 42, .26);
    font: 600 13px/1.4 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
}

.kzt-mi {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #0F172A;
    font: inherit;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.kzt-mi:hover { background: #F1F5F9; }
.kzt-mi-danger { color: #DC2626; }
.kzt-mi-danger:hover { background: #FEE2E2; }

/* ---------------- 更换 / 添加弹窗 ---------------- */

.kzt-dlg {
    position: fixed;
    inset: 0;
    z-index: 2147483100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(2px);
}

.kzt-dlg-win {
    width: min(400px, 96vw);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
    font: 13px/1.5 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #0F172A;
}

.kzt-dlg-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 15px;
    border-bottom: 1px solid #E2E8F0;
}

.kzt-dlg-title {
    flex: 1 1 auto;
    margin: 0;
    font: 700 15px/1.3 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #0F172A;
}

.kzt-dlg-x {
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #F1F5F9;
    color: #475569;
    font: 700 13px/1 system-ui, sans-serif;
    cursor: pointer;
}

.kzt-dlg-body { padding: 14px 15px 4px; }

.kzt-dlg-foot {
    display: flex;
    gap: 8px;
    padding: 12px 15px 15px;
}

.kzt-btn {
    flex: 1 1 auto;
    padding: 11px 14px;
    border: 0;
    border-radius: 10px;
    font: 700 13.5px/1 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    cursor: pointer;
}

.kzt-btn-blue { background: #2563EB; color: #fff; }
.kzt-btn-blue:hover { background: #1D4ED8; }
.kzt-btn-gray { background: #F1F5F9; color: #334155; }
.kzt-btn-gray:hover { background: #E2E8F0; }

.kzt-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.kzt-lb {
    flex: 0 0 34px;
    width: 34px;
    font: 600 12.5px/1.2 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #475569;
}

.kzt-inp {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #CBD5E1;
    border-radius: 9px;
    background: #fff;
    color: #0F172A;
    font: 13px/1.3 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
}

.kzt-inp:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
}

.kzt-swatches {
    display: flex;
    flex: 1 1 auto;
    gap: 6px;
    flex-wrap: wrap;
}

.kzt-sw {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

.kzt-sw.on {
    border-color: #0F172A;
    box-shadow: 0 0 0 2px #fff inset;
}

/* 图标用 emoji 时 */
i.kzt-emoji {
    font-family: inherit !important;
    font-style: normal !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

/* ---------------- 文件夹卡片 ---------------- */

.kzt-sheet {
    position: fixed;
    inset: 0;
    z-index: 2147483050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(2px);
}

.kzt-sheet-win {
    display: flex;
    flex-direction: column;
    width: min(420px, 94vw);
    max-height: min(72vh, 520px);
    background: linear-gradient(150deg, rgba(255, 255, 255, .96) 0%, rgba(240, 246, 254, .93) 100%);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        0 24px 70px rgba(0, 0, 0, .42);
    -webkit-backdrop-filter: blur(26px) saturate(1.7);
    backdrop-filter: blur(26px) saturate(1.7);
}

.kzt-sheet-head {
    background: linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .18));
}

.kzt-sheet-head {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 13px;
    border-bottom: 1px solid #E2E8F0;
}

.kzt-sheet-title {
    flex: 1 1 auto;
    min-width: 0;
    font: 700 14px/1.3 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #0F172A;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kzt-sheet-btn {
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 9px;
    background: rgba(255, 255, 255, .66);
    color: #334155;
    font: 600 12px/1 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.kzt-sheet-btn:hover { background: #E2E8F0; }

.kzt-sheet-x {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #F1F5F9;
    color: #475569;
    font: 700 13px/1 system-ui, sans-serif;
    cursor: pointer;
}

.kzt-sheet-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    overflow: auto;
}

.kzt-sheet-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 5px;
    border: 0;
    border-radius: 12px;
    /* 卡片本身是玻璃，格子也做成小块玻璃；有自己底色的会被内联样式盖掉 */
    background: linear-gradient(135deg, #8B9BB1 0%, #64748B 100%);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 2px 7px rgba(15, 23, 42, .14);
    color: #fff;
    cursor: pointer;
    overflow: hidden;
}

.kzt-sheet-cell i,
.kzt-sheet-cell span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.kzt-sheet-cell:hover { filter: brightness(1.08); }

.kzt-sheet-cell i {
    font-size: 20px;
    line-height: 1;
}

.kzt-sheet-cell i.kzt-emoji { font-size: 20px; }

.kzt-sheet-cell span {
    width: 100%;
    font: 600 11px/1.2 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kzt-sheet-tip {
    padding: 0 14px 13px;
    font: 11.5px/1.4 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #64748B;
}

/* ---------------- 智能导航底部工具条 ---------------- */

.kzt-navbar {
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
}

.kzt-navbar button {
    flex: 1 1 auto;
    padding: 9px 10px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    background: #F8FAFC;
    color: #334155;
    font: 600 12.5px/1 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.kzt-navbar button:hover { background: #E2E8F0; }

.kzt-navbar button[disabled] {
    opacity: .48;
    cursor: default;
}

.night-mode .kzt-navbar button {
    border-color: #475569;
    background: #1E293B;
    color: #E2E8F0;
}

.night-mode .kzt-navbar button:hover { background: #334155; }

.kzt-bin {
    margin-top: 8px;
    padding: 10px;
    max-height: 176px;
    overflow: auto;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    background: #F8FAFC;
}

.kzt-bin-t {
    margin-bottom: 6px;
    font: 600 12px/1.4 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #475569;
}

.kzt-bin-it {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #0F172A;
    font: 600 12.5px/1.2 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    text-align: left;
    cursor: pointer;
}

.kzt-bin-it:hover { background: #E2E8F0; }

.kzt-bin-empty {
    font: 12.5px/1.4 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #64748B;
}

.night-mode .kzt-bin {
    border-color: #475569;
    background: #1E293B;
}

.night-mode .kzt-bin-t,
.night-mode .kzt-bin-empty { color: #CBD5E1; }

.night-mode .kzt-bin-it {
    background: #334155;
    color: #E2E8F0;
}

/* ============================================================
   【20261028I】
   ① 弹窗 / 卡片改成玻璃质感（与文件夹磁贴统一）
   ② 「更换 / 添加」改成应用商店式选择器（不再露网址和图标代码）
   ③ 小窗口卡片的 ✕ 删除 + 回收站条
   ============================================================ */

/* ---------------- 弹窗：玻璃 ---------------- */

.kzt-dlg-win {
    width: min(452px, 96vw);
    background: linear-gradient(155deg, rgba(255, 255, 255, .92) 0%, rgba(240, 246, 254, .78) 100%);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .95),
        0 24px 70px rgba(0, 0, 0, .42);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
    backdrop-filter: blur(26px) saturate(1.6);
}

.kzt-dlg-head {
    background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .1));
    border-bottom-color: rgba(148, 163, 184, .3);
}

.kzt-dlg-body { padding: 13px 15px 4px; }

/* ---------------- 应用商店式选择器 ---------------- */

.kzt-pick-srow {
    display: flex;
    gap: 8px;
    margin-bottom: 9px;
}

.kzt-pick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    max-height: 224px;
    overflow-y: auto;
    padding: 3px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(148, 163, 184, .22);
    overscroll-behavior: contain;
}

.kzt-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 3px 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease;
}

.kzt-app:hover { background: rgba(37, 99, 235, .08); }

.kzt-app.on {
    background: rgba(37, 99, 235, .12);
    border-color: rgba(37, 99, 235, .55);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .18);
}

.kzt-app i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-style: normal;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 6px rgba(15, 23, 42, .16);
}

.kzt-app i.kzt-emoji { font-size: 15px !important; }

.kzt-app span {
    max-width: 100%;
    font: 600 10.5px/1.2 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #334155;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kzt-pick-empty {
    padding: 16px 4px;
    font: 12.5px/1.4 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #64748B;
    text-align: center;
}

.kzt-pick-tip {
    margin: 2px 0 0;
    font: 11.5px/1.4 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    color: #94A3B8;
}

/* ---------------- 小窗口：✕ 删除 + 回收站条 ---------------- */

.kzt-x {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(220, 38, 38, .72) !important;
    color: #fff !important;
    font: 11px/20px system-ui, -apple-system, sans-serif !important;
    text-align: center !important;
    cursor: pointer !important;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 12 !important;
    box-shadow: none !important;
    display: block !important;
}

.quick-access-item:hover > .kzt-x { opacity: 1; }

/* 小窗口的 ✏️ 常显一点，不然根本看不出能改 */
.quick-access-item > .kzt-pen { opacity: .58; }
.quick-access-item:hover > .kzt-pen { opacity: 1; }

.kzt-sbar {
    display: flex;
    gap: 8px;
    margin: 2px 0 10px;
}

.kzt-sbar button {
    padding: 7px 11px;
    border: 1px solid #CBD5E1;
    border-radius: 9px;
    background: #F8FAFC;
    color: #334155;
    font: 600 12px/1 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    cursor: pointer;
}

.kzt-sbar button:hover { background: #E2E8F0; }

/* ============================================================
   【20261028J】长说明折叠：主题中心 / 文件夹小窗口
   ------------------------------------------------------------
   用户 10-28 第三次提：Windows 主题中心里那一段「点任意一张，桌面立刻换…」
   太长，要像设置面板一样收成一个小方块（感叹号），鼠标点开才看全文。
   折叠逻辑在 kz-settings-help.js，这里只管它在两个新窗口里的长相。
   ============================================================ */

/* 主题中心：页签顶上那行小药丸，跟设置面板一个样子。
   必须 display:flex + width:fit-content —— 否则它会跟后面的按钮挤在同一行
   （「桌面图标」页就是「❓本节说明 📦打开应用与文件夹」黏在一起） */
#kzWinTheme .kz-hint-chip {
    display: flex;
    width: fit-content;
    margin: 0 0 10px !important;
}

/* 文件夹小窗口：.kzf-win 是 flex 竖排，药丸不写 align-self 会被拉成整行 */
.kzf-win > .kz-hint-chip {
    align-self: flex-start !important;
    margin: 0 14px 10px !important;
}

/* 主题中心的说明收起来之后，标题和下面那排按钮之间的距离别突然变大 */
#kzWinTheme .kzwt-h + .kz-hint-chip {
    margin-top: -2px !important;
}

/* 文件夹窗口标题原地改名用的输入框（不用 prompt，不露地址） */
.kzt-ren-wrap { display: inline-flex; min-width: 0; }

.kzt-ren-in {
    width: 138px;
    max-width: 46vw;
    height: 24px;
    padding: 0 7px;
    border: 1px solid rgba(99, 102, 241, .55);
    border-radius: 7px;
    background: #fff;
    color: #0F172A;
    font: 700 13px/24px system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .16);
}
