/* ============================================================
   ✅ 全新签名弹窗 UI — 毛玻璃 + 卡片化 + 渐变装饰
   ============================================================ */

@layer utilities {
    .scroll-hide::-webkit-scrollbar { display: none; }
    .scroll-hide { -ms-overflow-style: none; scrollbar-width: none; }
    .card-shadow { box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
    .dark .card-shadow { box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
    .category-active { background-color: #007aff; color: white; }
    .dark .category-active { background-color: #0a84ff; color: white; }
    .tab-item { transition: transform 0.15s ease; }
    .tab-item:active { transform: scale(0.88); }
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
html, body { overflow-x: hidden; }
body { font-size: 13px; padding-bottom: 56px; padding-top: 60px; }
.swiper-pagination-bullet { background-color: rgba(255,255,255,0.6); opacity: 0.4; }
.swiper-pagination-bullet-active { background-color: #ffffff; opacity: 1; }
.icon-pass { pointer-events: none; }
#zzToast { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.75); color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 13px; z-index: 9999; max-width: 80vw; text-align: center; display: none; }
#zzToast[hidden] { display: none; }
#zzDialogMask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9000; }
#zzDialogMask[hidden] { display: none; }
#zzDialog { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 14px; padding: 20px; z-index: 9001; max-width: 90vw; width: 340px; max-height: 70vh; overflow-y: auto; }
.dark #zzDialog { background: #1e1e1e; color: #fff; }
#zzDialog[hidden] { display: none; }
#zzDialog h2 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
#zzDialog p { font-size: 12px; color: #666; line-height: 1.5; white-space: pre-wrap; }
.dark #zzDialog p { color: #aaa; }
.zz-dialog-cert #zzDialogBody p { margin-bottom: 10px; }
input, select, textarea { font-size: 16px; -webkit-text-size-adjust: 100%; }
input::placeholder, textarea::placeholder { font-size: 15px; }
body.zz-sheet-locked { position: fixed; width: 100%; height: 100%; overflow: hidden; touch-action: manipulation; }
#zzSheetMask { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 8000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
#zzSheetMask.is-visible { opacity: 1; visibility: visible; }

#zzSignSheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 8001;
    background: #ffffff; border-radius: 28px 28px 0 0;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 92vh; display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 -16px 50px rgba(0,0,0,0.2);
}
.dark #zzSignSheet { background: #1c1c1e; box-shadow: 0 -16px 50px rgba(0,0,0,0.6); }
#zzSignSheet.is-open { transform: translateY(0); }
#zzSignSheet[aria-hidden="true"] { display: none; }

.zz-sheet-deco-bar { height: 4px; background: linear-gradient(90deg, #007aff 0%, #5856d6 40%, #af52de 70%, #ff2d55 100%); flex-shrink: 0; }
.zz-sheet-handle-bar { width: 40px; height: 5px; border-radius: 3px; background: #d1d1d6; margin: 10px auto 0; flex-shrink: 0; }
.dark .zz-sheet-handle-bar { background: #48484a; }

.zz-sheet-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 0; flex-shrink: 0; height: 44px; }
.zz-sheet-header .zz-sheet-title { font-size: 17px; font-weight: 700; color: #1c1c1e; letter-spacing: 0.3px; }
.dark .zz-sheet-header .zz-sheet-title { color: #fff; }
.zz-sheet-header .zz-sheet-close {
    width: 30px; height: 30px; border-radius: 50%; background: rgba(120,120,128,0.12);
    border: none; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #8e8e93; font-size: 14px; transition: background 0.2s, transform 0.15s; z-index: 10;
}
.zz-sheet-header .zz-sheet-close:hover { background: rgba(120,120,128,0.22); }
.zz-sheet-header .zz-sheet-close:active { transform: scale(0.88); background: rgba(120,120,128,0.3); }

.zz-sheet-body { flex: 1; overflow-y: auto; padding: 0 20px 8px; -webkit-overflow-scrolling: touch; }
.zz-sheet-body::-webkit-scrollbar { display: none; }

.zz-app-info-card {
    display: flex; align-items: center; gap: 14px;
    background: linear-gradient(135deg, rgba(0,122,255,0.04) 0%, rgba(88,86,214,0.04) 100%);
    border: 1.5px solid rgba(0,122,255,0.08); border-radius: 18px; padding: 14px 16px; margin: 14px 0;
    box-shadow: 0 2px 12px rgba(0,122,255,0.06); position: relative; overflow: hidden;
}
.zz-app-info-card::before { content: ''; position: absolute; top: -20px; right: -20px; width: 80px; height: 80px; background: rgba(0,122,255,0.06); border-radius: 50%; }
.dark .zz-app-info-card { background: linear-gradient(135deg, rgba(10,132,255,0.08) 0%, rgba(120,100,255,0.08) 100%); border-color: rgba(10,132,255,0.15); box-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.zz-app-icon-wrap { position: relative; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.12); cursor: pointer; }
.zz-app-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.zz-app-icon-wrap .zz-change-icon-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s ease; border-radius: 16px;
}
.zz-app-icon-wrap .zz-change-icon-overlay i { color: #fff; font-size: 22px; }
.zz-app-icon-wrap:hover .zz-change-icon-overlay,
.zz-app-icon-wrap:active .zz-change-icon-overlay { opacity: 1; }
.dark .zz-app-icon-wrap .zz-change-icon-overlay { background: rgba(0,0,0,0.55); }
.zz-app-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zz-app-text h4 { font-size: 16px; font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1c1c1e; }
.dark .zz-app-text h4 { color: #fff; }
.zz-app-text p { font-size: 11px; color: #8e8e93; margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.zz-group-card { background: #fff; border-radius: 18px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); }
.dark .zz-group-card { background: #2c2c2e; box-shadow: 0 2px 10px rgba(0,0,0,0.25); border-color: rgba(255,255,255,0.04); }
.zz-group-card .zz-group-title { font-size: 11px; font-weight: 700; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.8px; padding: 14px 16px 8px; margin: 0; display: flex; align-items: center; gap: 6px; }
.zz-group-card .zz-group-title::before { content: ''; width: 3px; height: 12px; border-radius: 2px; background: linear-gradient(180deg, #007aff, #5856d6); }

.zz-segment-control { display: flex; background: rgba(120,120,128,0.08); border-radius: 14px; padding: 3px; margin: 6px 16px 12px; gap: 3px; position: relative; }
.dark .zz-segment-control { background: rgba(120,120,128,0.18); }
.zz-segment-control label { flex: 1; text-align: center; padding: 9px 6px; font-size: 13px; font-weight: 600; color: #8e8e93; border-radius: 11px; cursor: pointer; transition: all 0.25s ease; user-select: none; position: relative; z-index: 1; }
.zz-segment-control label:has(input:checked) { background: #fff; color: #007aff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); font-weight: 700; }
.dark .zz-segment-control label:has(input:checked) { background: #3a3a3c; color: #0a84ff; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.zz-segment-control label input { position: absolute; opacity: 0; pointer-events: none; }

.zz-form-row { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(0,0,0,0.04); }
.dark .zz-form-row { border-bottom-color: rgba(255,255,255,0.05); }
.zz-form-row:last-child { border-bottom: none; }
.zz-form-row label { font-size: 13px; color: #8e8e93; min-width: 72px; flex-shrink: 0; font-weight: 500; }
.zz-form-row input, .zz-form-row select { flex: 1; border: none; background: transparent; font-size: 16px; color: #1c1c1e; outline: none; text-align: right; padding: 4px 0; -webkit-appearance: none; -moz-appearance: none; appearance: none; -webkit-text-size-adjust: 100%; transform: translateZ(0); }
.dark .zz-form-row input, .dark .zz-form-row select { color: #fff; }
.zz-form-row input::placeholder { color: #c7c7cc; font-size: 15px; }
.dark .zz-form-row input::placeholder { color: #636366; }
.zz-form-row input[type="file"] { text-align: right; font-size: 14px; }

.zz-form-row .flex { display: flex; align-items: center; gap: 10px; flex: 1; }
.zz-form-row input[type="range"] {
    flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px;
    background: linear-gradient(90deg, #007aff var(--val, 5%), #e0e0e0 var(--val, 5%)); outline: none; text-align: center;
}
.dark .zz-form-row input[type="range"] { background: linear-gradient(90deg, #0a84ff var(--val, 5%), #4a4a4a var(--val, 5%)); }
.zz-form-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2.5px solid #007aff; cursor: pointer; box-shadow: 0 2px 6px rgba(0,122,255,0.3); transition: transform 0.15s; }
.zz-form-row input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); }
.dark .zz-form-row input[type="range"]::-webkit-slider-thumb { background: #2c2c2e; border-color: #0a84ff; }
.zz-form-row input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2.5px solid #007aff; cursor: pointer; }
#zzMultiCountVal { font-size: 13px; font-weight: 700; color: #007aff; min-width: 24px; text-align: center; background: rgba(0,122,255,0.08); padding: 2px 8px; border-radius: 8px; }

.zz-desc-content { font-size: 12px; color: #666; padding: 6px 16px 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.dark .zz-desc-content { color: #aaa; }

.zz-collapsible-section { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.35s ease; opacity: 0; }
.zz-collapsible-section.is-expanded { max-height: 2400px; opacity: 1; }

.zz-sheet-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 28px; flex-shrink: 0; background: inherit; border-top: 1px solid rgba(0,0,0,0.04); }
.dark .zz-sheet-footer { border-top-color: rgba(255,255,255,0.04); }

.zz-sign-reset-btn {
    flex: 0 0 auto; padding: 14px 18px; background: rgba(120,120,128,0.08); color: #8e8e93;
    border: none; border-radius: 16px; font-size: 13px; font-weight: 600; cursor: pointer;
    letter-spacing: 0.3px; transition: transform 0.15s ease, background 0.2s;
    display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.dark .zz-sign-reset-btn { background: rgba(120,120,128,0.18); color: #a0a0a5; }
.zz-sign-reset-btn:hover { background: rgba(120,120,128,0.15); }
.zz-sign-reset-btn:active { transform: scale(0.95); background: rgba(120,120,128,0.22); }
.dark .zz-sign-reset-btn:active { background: rgba(120,120,128,0.3); }

.zz-sign-submit-btn {
    flex: 1; padding: 15px 24px; background: linear-gradient(135deg, #007aff 0%, #5856d6 60%, #af52de 100%);
    color: #fff; border: none; border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer;
    letter-spacing: 0.5px; box-shadow: 0 6px 20px rgba(0,122,255,0.35);
    transition: transform 0.15s ease, opacity 0.2s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.zz-sign-submit-btn:hover { box-shadow: 0 8px 28px rgba(0,122,255,0.45); transform: translateY(-1px); }
.zz-sign-submit-btn:active { transform: scale(0.97); }
.zz-sign-submit-btn:disabled { opacity: 0.5; }

.zz-field-is-hidden { display: none !important; }
.zz-rotate-icon { transition: transform 0.3s ease; }
.zz-rotate-icon.is-flipped { transform: rotate(180deg); }

#zzSignSheet.is-open .zz-deco-bar { animation: decoSlideIn 0.5s ease forwards; }
#zzSignSheet.is-open .zz-app-info-card { animation: cardSlideUp 0.4s ease 0.15s forwards; opacity: 0; transform: translateY(16px); }
@keyframes decoSlideIn { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes cardSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.zz-app-card { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.dark .zz-app-card { background: #1e1e1e; }
.zz-app-icon { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.zz-app-info { flex: 1; min-width: 0; }
.zz-app-title-row { display: flex; align-items: center; gap: 6px; }
.zz-app-title-row h3 { font-size: 13px; font-weight: 600; margin: 0; }
.zz-app-title-row span { font-size: 11px; color: #999; }
.zz-app-meta { font-size: 10px; color: #999; margin: 2px 0; }
.zz-app-info p { font-size: 11px; color: #777; margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dark .zz-app-info p { color: #aaa; }
.zz-sign-btn { flex-shrink: 0; padding: 6px 14px; background: #007aff; color: #fff; border: none; border-radius: 20px; font-size: 12px; font-weight: 500; cursor: pointer; align-self: center; }
.zz-sign-btn.is-disabled { background: #ccc; cursor: not-allowed; }
.zz-empty { text-align: center; padding: 30px 16px; }
.zz-empty h2 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.zz-empty p { font-size: 12px; color: #888; margin-bottom: 12px; }
.zz-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.zz-outline { padding: 6px 16px; border: 1px solid #007aff; color: #007aff; background: transparent; border-radius: 20px; font-size: 12px; cursor: pointer; }
#zzLoadMoreBtn { display: none; width: 100%; padding: 10px; background: #007aff; color: #fff; border: none; border-radius: 10px; font-size: 13px; cursor: pointer; margin-top: 8px; }
#zzLoadMoreBtn:disabled { opacity: 0.5; }

.zz-record-card { position: relative; padding-bottom: 50px; background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.dark .zz-record-card { background: #1e1e1e; }
.zz-record-actions { position: absolute; right: 12px; bottom: 12px; margin-top: 0; display: flex; gap: 8px; align-items: center; }
.zz-record-actions a { padding: 6px 16px; background: #007aff; color: white !important; border-radius: 20px; font-size: 12px; text-decoration: none; font-weight: 500; box-shadow: 0 2px 6px rgba(0,122,255,0.3); transition: transform 0.15s ease, opacity 0.2s; }
.zz-record-actions a:active { transform: scale(0.95); opacity: 0.9; }
.zz-record-actions button { padding: 6px 16px; border: 1px solid #ff3b30; color: #ff3b30; background: transparent; border-radius: 20px; font-size: 12px; cursor: pointer; font-weight: 500; transition: transform 0.15s ease; }
.zz-record-actions button:active { transform: scale(0.95); background-color: rgba(255,59,48,0.1); }
.dark .zz-record-actions a { box-shadow: 0 2px 6px rgba(10,132,255,0.4); }
.dark .zz-record-actions button { border-color: #ff453a; color: #ff453a; }
.zz-record-card h3, .zz-emp-record-card p { padding-right: 140px; }

/* 签名记录卡片渐变色 + 图标 + 按钮 */
.zz-record-card-item {
    background: linear-gradient(135deg, #f7fbff 0%, #e7f2ff 48%, #f3edff 100%) !important;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    box-shadow: 0 2px 12px rgba(61,88,142,0.08) !important;
}
.dark .zz-record-card-item {
    background: linear-gradient(135deg, #1d2838 0%, #1c2f48 48%, #2a2238 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25) !important;
}
.zz-record-icon-wrap {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    overflow: hidden; position: relative;
    background: linear-gradient(135deg, #5ac8fa 0%, #0a84ff 46%, #5856d6 100%);
    box-shadow: 0 2px 8px rgba(0,122,255,0.2);
}
.zz-record-icon {
    width: 100%; height: 100%; object-fit: cover;
}
.zz-record-icon-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
}
.zz-record-btn {
    flex-shrink: 0; padding: 6px 16px;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: #fff !important; border: none; border-radius: 20px;
    font-size: 12px; font-weight: 600; text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,122,255,0.3);
    transition: transform 0.15s ease, opacity 0.2s;
    display: inline-flex; align-items: center;
}
.zz-record-btn:active { transform: scale(0.95); opacity: 0.9; }

/* 签名记录小按钮组 */
.zz-record-actions-mini {
    display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.zz-record-btn-mini {
    padding: 3px 10px; border-radius: 14px; font-size: 10px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer; text-align: center;
    transition: transform 0.15s ease, opacity 0.2s; white-space: nowrap;
}
.zz-record-btn-mini:active { transform: scale(0.92); opacity: 0.9; }
.zz-record-install {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: #fff !important; box-shadow: 0 2px 6px rgba(0,122,255,0.25);
}
.zz-record-delete {
    background: transparent; color: #ff3b30;
    border: 1px solid rgba(255,59,48,0.4);
}
.dark .zz-record-delete { color: #ff453a; border-color: rgba(255,69,58,0.4); }

/* 签名记录页与顶部栏距离拉近 */
[data-page="records"].is-active > section:first-child { margin-top: -20px; }

/* 所有主题统一：分类区域与顶部栏距离 */
body.on-home #zzCategoryListSection {
    margin: 0 0 2px !important;
    padding: 0 !important;
}

@media (max-width: 380px) {
    .zz-record-card { padding-bottom: 46px; }
    .zz-record-actions { right: 10px; bottom: 10px; gap: 6px; }
    .zz-record-actions a, .zz-record-actions button { padding: 5px 12px; font-size: 11px; }
}

.zz-chip-row, #zzCategoryList { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.zz-chip-row::-webkit-scrollbar, #zzCategoryList::-webkit-scrollbar { display: none; }
.zz-chip-row, #zzCategoryList { -ms-overflow-style: none; scrollbar-width: none; }
.zz-chip-row .zz-chip, #zzCategoryList .zz-chip { padding: 4px 10px; border-radius: 16px; background: #f2f2f7; font-size: 10px; white-space: nowrap; cursor: pointer; border: none; color: inherit; flex-shrink: 0; }
.dark .zz-chip-row .zz-chip, .dark #zzCategoryList .zz-chip { background: #2c2c2e; }
.zz-chip-row .zz-chip.is-active, #zzCategoryList .zz-chip.is-active { background: #007aff; color: #fff; }
.zz-bottom-nav { display: flex; align-items: center; justify-content: space-around; height: 100%; }
.zz-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: #86868b; font-size: 11px; gap: 2px; }
.zz-bottom-nav button.is-active { color: #007aff; }
.zz-page { display: none; }
.zz-page.is-active { display: block; }
[data-member-action] { cursor: pointer; }

/* ===== 会员中心样式 ===== */
.zz-member-card {
    position: relative; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 14px;
    overflow: hidden; box-shadow: 0 8px 30px rgba(102, 126, 234, 0.35); margin-bottom: 16px;
    margin-top: -20px;
}
.zz-member-card::before { content: ''; position: absolute; top: -50%; right: -30%; width: 180px; height: 180px; background: rgba(255,255,255,0.08); border-radius: 50%; }
.dark .zz-member-card { background: linear-gradient(135deg, #4c63b6 0%, #5a3d82 100%); box-shadow: 0 8px 30px rgba(76, 99, 182, 0.45); }
.zz-member-card > * { position: relative; z-index: 1; }
.zz-member-logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.2); border: 2px solid rgba(255,255,255,0.3); }
.zz-member-card h2 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.zz-member-card p { font-size: 12px; color: rgba(255,255,255,0.75); margin: 0; word-break: break-all; }
.zz-member-card .zz-outline.small {
    position: relative; z-index: 1; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,0.7);
    color: #fff; background: rgba(255,255,255,0.12); border-radius: 20px; font-size: 11px;
    font-weight: 500; text-decoration: none; white-space: nowrap; backdrop-filter: blur(8px); transition: all 0.2s;
}
.zz-member-card .zz-outline.small:active { background: rgba(255,255,255,0.25); transform: scale(0.95); }
.zz-logout-btn {
    position: absolute; bottom: 10px; right: 14px; z-index: 2;
    width: 28px; height: 28px; border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.15);
    border-radius: 50%; font-size: 12px; cursor: pointer;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.zz-logout-btn:active { transform: scale(0.88); background: rgba(0,0,0,0.3); }
.zz-vip-badge { display: inline-flex; align-items: center; gap: 3px; background: linear-gradient(135deg, #ffd700, #ffaa00); color: #7a4f00; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; }
.zz-vip-badge i { font-size: 9px; }

.zz-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.zz-stat { background: #fff; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: transform 0.15s ease; min-height: 70px; }
.dark .zz-stat { background: #2c2c2e; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.zz-stat:active { transform: scale(0.97); }
.zz-stat span { font-size: 9px; color: #8e8e93; font-weight: 500; }
.zz-stat strong { font-size: 14px; font-weight: 700; color: #1c1c1e; }
.dark .zz-stat strong { color: #fff; }
.zz-stat-icon { width: 20px; height: 20px; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 3px; font-size: 9px; color: #fff; }
.zz-stat-icon.blue { background: linear-gradient(135deg, #007aff, #5ac8fa); }
.zz-stat-icon.green { background: linear-gradient(135deg, #34c759, #30d158); }
.zz-stat-icon.orange { background: linear-gradient(135deg, #ff9500, #ffcc00); }
.zz-stat-icon.purple { background: linear-gradient(135deg, #af52de, #d96bff); }

.zz-form-card { background: #fff; border-radius: 16px; padding: 6px 16px 16px; margin-bottom: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.dark .zz-form-card { background: #1e1e1e; box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.zz-form-card label { display: block; font-size: 12px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.5px; margin: 14px 0 6px; }
.zz-query-line { display: flex; align-items: center; gap: 10px; }
.zz-query-line input { flex: 1; border: 1.5px solid rgba(0,0,0,0.08); background: #f9f9fb; border-radius: 12px; padding: 11px 14px; font-size: 14px; color: inherit; outline: none; }
.dark .zz-query-line input { border-color: rgba(255,255,255,0.1); background: #2c2c2e; color: #fff; }
.zz-primary { padding: 11px 18px; background: linear-gradient(135deg, #007aff, #5856d6); color: #fff; border: none; border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: 0 3px 10px rgba(0,122,255,0.3); }
.zz-primary:active { transform: scale(0.96); }

.zz-action-list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.dark .zz-action-list { background: #1e1e1e; }
.zz-action-list button, .zz-action-list a { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: none; border: none; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 14px; color: inherit; cursor: pointer; text-decoration: none; }
.dark .zz-action-list button, .dark .zz-action-list a { border-bottom-color: rgba(255,255,255,0.06); }
.zz-action-list button:last-child, .zz-action-list a:last-child { border-bottom: none; }
.zz-action-list span { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.zz-action-list em { font-style: normal; color: #c7c7cc; font-size: 18px; }
.zz-action-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; flex-shrink: 0; }
.zz-action-icon.blue { background: linear-gradient(135deg, #007aff, #5ac8fa); }
.zz-action-icon.green { background: linear-gradient(135deg, #34c759, #30d158); }
.zz-action-icon.orange { background: linear-gradient(135deg, #ff9500, #ffcc00); }
.zz-action-icon.red { background: linear-gradient(135deg, #ff3b30, #ff6b60); }
.zz-action-icon.purple { background: linear-gradient(135deg, #af52de, #d96bff); }
.zz-action-icon.gray { background: linear-gradient(135deg, #8e8e93, #aeaeb2); }
.zz-action-icon.teal { background: linear-gradient(135deg, #5ac8fa, #00c7be); }

#zzDownCertBtn { color: #007aff; font-weight: 600; }
.dark #zzDownCertBtn { color: #0a84ff; }

[data-page="member"].is-active .zz-member-card { animation: slideUp 0.4s ease forwards; }
[data-page="member"].is-active .zz-grid-2 { animation: slideUp 0.4s ease 0.08s forwards; opacity: 0; }
[data-page="member"].is-active .zz-form-card { animation: slideUp 0.4s ease 0.16s forwards; opacity: 0; }
[data-page="member"].is-active .zz-action-list { animation: slideUp 0.4s ease 0.24s forwards; opacity: 0; }
[data-page="member"].is-active #zzMemberActionList { opacity: 1 !important; animation: none !important; }
[data-page="member"].is-active #zzMemberActionList > a,
[data-page="member"].is-active #zzMemberActionList > button { display: flex !important; opacity: 1 !important; visibility: visible !important; }

/* ============================================================
   🎨 主题渐变覆盖层 — 确保渐变在所有主题下生效
   放置在文件末尾以覆盖上方 html[class*="theme-"] 规则
   ============================================================ */

/* --- 统计卡片覆盖 --- */
html.theme-warm .zz-stat { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 35%, #f5d8c0 65%, #fff0e0 100%) !important; }
html.theme-forest .zz-stat { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 35%, #d0e8d8 65%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-stat { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 35%, #f0d0f5 65%, #fff0f5 100%) !important; }

/* --- 分组卡片覆盖 --- */
html.theme-warm .zz-group-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-group-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-group-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 应用卡片覆盖 --- */
html.theme-warm .zz-app-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-app-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-app-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 记录卡片覆盖 --- */
html.theme-warm .zz-record-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-record-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-record-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 记录项卡片覆盖 --- */
html.theme-warm .zz-record-card-item { background: linear-gradient(135deg, #fff5e0 0%, #f5e0c8 30%, #ecd0b8 60%, #fff0e0 100%) !important; }
html.theme-forest .zz-record-card-item { background: linear-gradient(135deg, #e8f5e0 0%, #d0e8c8 30%, #c0e0d0 60%, #d8f0e0 100%) !important; }
html.theme-sakura .zz-record-card-item { background: linear-gradient(135deg, #ffeef4 0%, #f5d0e0 30%, #e8c8f0 60%, #ffe0ec 100%) !important; }

/* --- 对话框覆盖 --- */
html.theme-warm #zzDialog { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest #zzDialog { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura #zzDialog { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 签名弹窗覆盖 --- */
html.theme-warm #zzSignSheet { background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important; }
html.theme-forest #zzSignSheet { background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important; }
html.theme-sakura #zzSignSheet { background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important; }

/* --- 登录弹窗覆盖 --- */
html.theme-warm #zzLoginSheet { background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important; }
html.theme-forest #zzLoginSheet { background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important; }
html.theme-sakura #zzLoginSheet { background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important; }

/* --- 续费弹窗覆盖 --- */
html.theme-warm #zzRenewSheet { background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important; }
html.theme-forest #zzRenewSheet { background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important; }
html.theme-sakura #zzRenewSheet { background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important; }

/* --- 上传进度卡片覆盖 --- */
html.theme-warm .zz-progress-card { background: linear-gradient(135deg, rgba(255,248,234,0.97) 0%, rgba(251,232,208,0.97) 40%, rgba(245,216,192,0.97) 70%, rgba(255,240,224,0.97) 100%) !important; }
html.theme-forest .zz-progress-card { background: linear-gradient(135deg, rgba(240,250,239,0.97) 0%, rgba(220,239,216,0.97) 40%, rgba(208,232,216,0.97) 70%, rgba(224,245,232,0.97) 100%) !important; }
html.theme-sakura .zz-progress-card { background: linear-gradient(135deg, rgba(255,244,248,0.97) 0%, rgba(248,219,232,0.97) 40%, rgba(240,208,245,0.97) 70%, rgba(255,240,245,0.97) 100%) !important; }

/* --- 主题下拉菜单覆盖 --- */
html.theme-warm #zzThemeDropdown { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest #zzThemeDropdown { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura #zzThemeDropdown { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 表单卡片覆盖 --- */
html.theme-warm .zz-form-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-form-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-form-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 操作列表覆盖 --- */
html.theme-warm .zz-action-list { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-action-list { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-action-list { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* ============================================================
   🎨 全局多色渐变系统 — 签名记录 / 用户中心 / 窗口 / 卡片
   适配所有主题：默认(白) / 深夜 / 暖棕 / 墨绿 / 樱花
   仅修改外观，不改变任何逻辑或变量
   ============================================================ */

/* ===== 1. 用户中心 — 统计卡片 (.zz-stat) ===== */
.zz-stat {
    background: linear-gradient(135deg, #eef4ff 0%, #ede5ff 35%, #ffeef6 65%, #e8fff8 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 4px 14px rgba(0,122,255,0.08) !important;
}
.dark .zz-stat {
    background: linear-gradient(135deg, #1a2438 0%, #1e1c38 35%, #2a1e30 65%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
}
html.theme-warm .zz-stat {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 35%, #f5d8c0 65%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 4px 14px rgba(92,61,46,0.08) !important;
}
html.theme-forest .zz-stat {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 35%, #d0e8d8 65%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 4px 14px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-stat {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 35%, #f0d0f5 65%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 4px 14px rgba(122,56,83,0.06) !important;
}

/* ===== 2. 用户中心 — 表单卡片 (.zz-form-card) ===== */
.zz-form-card {
    background: linear-gradient(135deg, #eef4ff 0%, #ede5ff 40%, #ffeef6 70%, #e8fff8 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 4px 14px rgba(0,122,255,0.06) !important;
}
.dark .zz-form-card {
    background: linear-gradient(135deg, #1a2438 0%, #1e1c38 40%, #2a1e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22) !important;
}
html.theme-warm .zz-form-card {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 4px 14px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-form-card {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 4px 14px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-form-card {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 4px 14px rgba(122,56,83,0.06) !important;
}

/* ===== 3. 用户中心 — 操作列表 (.zz-action-list) ===== */
.zz-action-list {
    background: linear-gradient(135deg, #eef4ff 0%, #ede5ff 40%, #ffeef6 70%, #e8fff8 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 4px 14px rgba(0,122,255,0.06) !important;
}
.dark .zz-action-list {
    background: linear-gradient(135deg, #1a2438 0%, #1e1c38 40%, #2a1e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22) !important;
}
html.theme-warm .zz-action-list {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 4px 14px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-action-list {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 4px 14px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-action-list {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 4px 14px rgba(122,56,83,0.06) !important;
}

/* ===== 4. 签名弹窗 — 分组卡片 (.zz-group-card) ===== */
.zz-group-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #ede5ff 40%, #ffeef6 70%, #f0fffc 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 3px 12px rgba(0,122,255,0.06) !important;
}
.dark .zz-group-card {
    background: linear-gradient(135deg, #1c2638 0%, #201e38 40%, #281e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
}
html.theme-warm .zz-group-card {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 3px 12px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-group-card {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 3px 12px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-group-card {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 3px 12px rgba(122,56,83,0.06) !important;
}

/* ===== 5. 签名记录 — 应用卡片 (.zz-app-card) ===== */
.zz-app-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #ede5ff 40%, #ffeef6 70%, #f0fffc 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 3px 12px rgba(0,122,255,0.06) !important;
}
.dark .zz-app-card {
    background: linear-gradient(135deg, #1c2638 0%, #201e38 40%, #281e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
}
html.theme-warm .zz-app-card {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 3px 12px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-app-card {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 3px 12px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-app-card {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 3px 12px rgba(122,56,83,0.06) !important;
}

/* ===== 6. 签名记录 — 记录卡片 (.zz-record-card) ===== */
.zz-record-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #ede5ff 40%, #ffeef6 70%, #f0fffc 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 3px 12px rgba(0,122,255,0.06) !important;
}
.dark .zz-record-card {
    background: linear-gradient(135deg, #1c2638 0%, #201e38 40%, #281e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
}
html.theme-warm .zz-record-card {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 3px 12px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-record-card {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 3px 12px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-record-card {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 3px 12px rgba(122,56,83,0.06) !important;
}

/* ===== 7. 签名记录 — 记录项卡片 (.zz-record-card-item) 增强多色渐变 ===== */
.zz-record-card-item {
    background: linear-gradient(135deg, #e8f0ff 0%, #e0deff 30%, #ffe0f0 60%, #e0fff5 100%) !important;
    border: 1px solid rgba(255,255,255,0.8) !important;
    box-shadow: 0 3px 14px rgba(61,88,142,0.1) !important;
}
.dark .zz-record-card-item {
    background: linear-gradient(135deg, #1d2840 0%, #221e3c 30%, #2e1e34 60%, #1c2a28 100%) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.25) !important;
}
html.theme-warm .zz-record-card-item {
    background: linear-gradient(135deg, #fff5e0 0%, #f5e0c8 30%, #ecd0b8 60%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.14) !important;
    box-shadow: 0 3px 14px rgba(92,61,46,0.08) !important;
}
html.theme-forest .zz-record-card-item {
    background: linear-gradient(135deg, #e8f5e0 0%, #d0e8c8 30%, #c0e0d0 60%, #d8f0e0 100%) !important;
    border-color: rgba(45,74,45,0.12) !important;
    box-shadow: 0 3px 14px rgba(45,74,45,0.08) !important;
}
html.theme-sakura .zz-record-card-item {
    background: linear-gradient(135deg, #ffeef4 0%, #f5d0e0 30%, #e8c8f0 60%, #ffe0ec 100%) !important;
    border-color: rgba(122,56,83,0.12) !important;
    box-shadow: 0 3px 14px rgba(122,56,83,0.08) !important;
}

/* ===== 8. 空状态提示 (.zz-empty) ===== */
.zz-empty {
    background: linear-gradient(135deg, #f0f4ff 0%, #ede5ff 40%, #ffeef6 70%, #f0fffc 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    border-radius: 16px !important;
    box-shadow: 0 3px 12px rgba(0,122,255,0.06) !important;
}
.dark .zz-empty {
    background: linear-gradient(135deg, #1c2638 0%, #201e38 40%, #281e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.06) !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
}
html.theme-warm .zz-empty {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.1) !important;
    box-shadow: 0 3px 12px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-empty {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.08) !important;
    box-shadow: 0 3px 12px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-empty {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.08) !important;
    box-shadow: 0 3px 12px rgba(122,56,83,0.06) !important;
}

/* ===== 9. 对话框 (#zzDialog) ===== */
#zzDialog {
    background: linear-gradient(135deg, #f0f4ff 0%, #ede5ff 40%, #ffeef6 70%, #f0fffc 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 8px 30px rgba(0,122,255,0.12) !important;
}
.dark #zzDialog {
    background: linear-gradient(135deg, #1c2638 0%, #201e38 40%, #281e30 70%, #1c2828 100%) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3) !important;
}
html.theme-warm #zzDialog {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.12) !important;
    box-shadow: 0 8px 30px rgba(92,61,46,0.1) !important;
}
html.theme-forest #zzDialog {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.1) !important;
    box-shadow: 0 8px 30px rgba(45,74,45,0.08) !important;
}
html.theme-sakura #zzDialog {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.1) !important;
    box-shadow: 0 8px 30px rgba(122,56,83,0.08) !important;
}

/* ===== 10. 上传进度卡片 (.zz-progress-card) ===== */
.zz-progress-card {
    background: linear-gradient(135deg, rgba(238,244,255,0.97) 0%, rgba(237,229,255,0.97) 40%, rgba(255,238,246,0.97) 70%, rgba(232,255,248,0.97) 100%) !important;
    border: 1px solid rgba(255,255,255,0.8) !important;
    box-shadow: 0 20px 60px rgba(0,122,255,0.15) !important;
}
.dark .zz-progress-card {
    background: linear-gradient(135deg, rgba(28,38,56,0.97) 0%, rgba(32,30,56,0.97) 40%, rgba(40,30,48,0.97) 70%, rgba(28,40,40,0.97) 100%) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
}
html.theme-warm .zz-progress-card {
    background: linear-gradient(135deg, rgba(255,248,234,0.97) 0%, rgba(251,232,208,0.97) 40%, rgba(245,216,192,0.97) 70%, rgba(255,240,224,0.97) 100%) !important;
    border-color: rgba(139,111,94,0.12) !important;
    box-shadow: 0 20px 60px rgba(92,61,46,0.12) !important;
}
html.theme-forest .zz-progress-card {
    background: linear-gradient(135deg, rgba(240,250,239,0.97) 0%, rgba(220,239,216,0.97) 40%, rgba(208,232,216,0.97) 70%, rgba(224,245,232,0.97) 100%) !important;
    border-color: rgba(45,74,45,0.1) !important;
    box-shadow: 0 20px 60px rgba(45,74,45,0.1) !important;
}
html.theme-sakura .zz-progress-card {
    background: linear-gradient(135deg, rgba(255,244,248,0.97) 0%, rgba(248,219,232,0.97) 40%, rgba(240,208,245,0.97) 70%, rgba(255,240,245,0.97) 100%) !important;
    border-color: rgba(122,56,83,0.1) !important;
    box-shadow: 0 20px 60px rgba(122,56,83,0.1) !important;
}

/* ===== 11. 会员卡片 (.zz-member-card) 多色渐变增强 ===== */
.zz-member-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 35%, #f093fb 65%, #f5576c 100%) !important;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.35) !important;
}
.dark .zz-member-card {
    background: linear-gradient(135deg, #4c63b6 0%, #5a3d82 35%, #8b3daa 65%, #c4406a 100%) !important;
    box-shadow: 0 8px 30px rgba(76, 99, 182, 0.45) !important;
}
html.theme-warm .zz-member-card {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
    box-shadow: 0 8px 30px rgba(164, 106, 63, 0.3) !important;
}
html.theme-forest .zz-member-card {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
    box-shadow: 0 8px 30px rgba(63, 139, 97, 0.3) !important;
}
html.theme-sakura .zz-member-card {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
    box-shadow: 0 8px 30px rgba(184, 107, 217, 0.3) !important;
}

/* ===== 12. 签名弹窗应用信息卡片 (.zz-app-info-card) 多色渐变增强 ===== */
.zz-app-info-card {
    background: linear-gradient(135deg, rgba(0,122,255,0.06) 0%, rgba(88,86,214,0.06) 35%, rgba(175,82,222,0.06) 65%, rgba(90,200,250,0.06) 100%) !important;
    border: 1.5px solid rgba(0,122,255,0.1) !important;
    box-shadow: 0 3px 14px rgba(0,122,255,0.08) !important;
}
.dark .zz-app-info-card {
    background: linear-gradient(135deg, rgba(10,132,255,0.1) 0%, rgba(120,100,255,0.1) 35%, rgba(191,90,242,0.1) 65%, rgba(90,200,250,0.08) 100%) !important;
    border-color: rgba(10,132,255,0.18) !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.2) !important;
}
html.theme-warm .zz-app-info-card {
    background: linear-gradient(135deg, rgba(209,154,98,0.08) 0%, rgba(200,133,74,0.08) 35%, rgba(184,115,51,0.08) 65%, rgba(212,167,106,0.08) 100%) !important;
    border-color: rgba(139,111,94,0.14) !important;
    box-shadow: 0 3px 14px rgba(92,61,46,0.06) !important;
}
html.theme-forest .zz-app-info-card {
    background: linear-gradient(135deg, rgba(105,183,127,0.08) 0%, rgba(63,139,97,0.08) 35%, rgba(91,168,122,0.08) 65%, rgba(76,169,143,0.08) 100%) !important;
    border-color: rgba(45,74,45,0.12) !important;
    box-shadow: 0 3px 14px rgba(45,74,45,0.06) !important;
}
html.theme-sakura .zz-app-info-card {
    background: linear-gradient(135deg, rgba(236,138,177,0.08) 0%, rgba(184,107,217,0.08) 35%, rgba(217,107,154,0.08) 65%, rgba(232,155,181,0.08) 100%) !important;
    border-color: rgba(122,56,83,0.12) !important;
    box-shadow: 0 3px 14px rgba(122,56,83,0.06) !important;
}

/* ===== 13. 签名弹窗底部按钮 (.zz-sign-submit-btn) 多色渐变增强 ===== */
.zz-sign-submit-btn {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 35%, #af52de 65%, #f5576c 100%) !important;
    box-shadow: 0 6px 20px rgba(88,86,214,0.4) !important;
}
.dark .zz-sign-submit-btn {
    background: linear-gradient(135deg, #0a84ff 0%, #5856d6 35%, #bf5af2 65%, #f5576c 100%) !important;
    box-shadow: 0 6px 20px rgba(120,100,255,0.4) !important;
}
html.theme-warm .zz-sign-submit-btn {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
    box-shadow: 0 6px 20px rgba(164,106,63,0.35) !important;
}
html.theme-forest .zz-sign-submit-btn {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
    box-shadow: 0 6px 20px rgba(63,139,97,0.35) !important;
}
html.theme-sakura .zz-sign-submit-btn {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
    box-shadow: 0 6px 20px rgba(184,107,217,0.35) !important;
}

/* ===== 14. 登录按钮 (.zz-login-submit-btn) 多色渐变增强 ===== */
.zz-login-submit-btn {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 35%, #af52de 65%, #f5576c 100%) !important;
    box-shadow: 0 6px 20px rgba(88,86,214,0.4) !important;
}
html.theme-warm .zz-login-submit-btn {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
    box-shadow: 0 6px 20px rgba(164,106,63,0.35) !important;
}
html.theme-forest .zz-login-submit-btn {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
    box-shadow: 0 6px 20px rgba(63,139,97,0.35) !important;
}
html.theme-sakura .zz-login-submit-btn {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
    box-shadow: 0 6px 20px rgba(184,107,217,0.35) !important;
}

/* ===== 15. 签名弹窗装饰条 (.zz-sheet-deco-bar) 多色渐变增强 ===== */
.zz-sheet-deco-bar {
    background: linear-gradient(90deg, #007aff 0%, #5856d6 25%, #af52de 50%, #f5576c 75%, #5ac8fa 100%) !important;
}
html.theme-warm .zz-sheet-deco-bar {
    background: linear-gradient(90deg, #d19a62 0%, #c8854a 25%, #b87333 50%, #d4a76a 75%, #e8c89a 100%) !important;
}
html.theme-forest .zz-sheet-deco-bar {
    background: linear-gradient(90deg, #69b77f 0%, #3f8b61 25%, #5ba87a 50%, #4ca98f 75%, #7dc4a0 100%) !important;
}
html.theme-sakura .zz-sheet-deco-bar {
    background: linear-gradient(90deg, #ec8ab1 0%, #b86bd9 25%, #d96b9a 50%, #e89bb5 75%, #f5b8d0 100%) !important;
}

/* ===== 16. 登录弹窗装饰区 (.zz-login-deco) 多色渐变增强 ===== */
.zz-login-deco {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 25%, #af52de 50%, #f5576c 75%, #5ac8fa 100%) !important;
}
html.theme-warm .zz-login-deco {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 25%, #b87333 50%, #d4a76a 75%, #e8c89a 100%) !important;
}
html.theme-forest .zz-login-deco {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 25%, #5ba87a 50%, #4ca98f 75%, #7dc4a0 100%) !important;
}
html.theme-sakura .zz-login-deco {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 25%, #d96b9a 50%, #e89bb5 75%, #f5b8d0 100%) !important;
}

/* ===== 17. 续费弹窗 (.zz-primary 按钮) 多色渐变增强 ===== */
.zz-primary {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 35%, #af52de 65%, #f5576c 100%) !important;
    box-shadow: 0 3px 10px rgba(88,86,214,0.3) !important;
}
html.theme-warm .zz-primary {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
    box-shadow: 0 3px 10px rgba(164,106,63,0.3) !important;
}
html.theme-forest .zz-primary {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
    box-shadow: 0 3px 10px rgba(63,139,97,0.3) !important;
}
html.theme-sakura .zz-primary {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
    box-shadow: 0 3px 10px rgba(184,107,217,0.3) !important;
}

/* ===== 18. 签名记录按钮 (.zz-record-btn) 多色渐变增强 ===== */
.zz-record-btn {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%) !important;
    box-shadow: 0 3px 10px rgba(88,86,214,0.3) !important;
}
html.theme-warm .zz-record-btn {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 50%, #b87333 100%) !important;
    box-shadow: 0 3px 10px rgba(164,106,63,0.3) !important;
}
html.theme-forest .zz-record-btn {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 50%, #5ba87a 100%) !important;
    box-shadow: 0 3px 10px rgba(63,139,97,0.3) !important;
}
html.theme-sakura .zz-record-btn {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 50%, #d96b9a 100%) !important;
    box-shadow: 0 3px 10px rgba(184,107,217,0.3) !important;
}

/* ===== 19. 签名记录安装按钮 (.zz-record-install) 多色渐变增强 ===== */
.zz-record-install {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%) !important;
    box-shadow: 0 2px 6px rgba(88,86,214,0.25) !important;
}
html.theme-warm .zz-record-install {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 50%, #b87333 100%) !important;
    box-shadow: 0 2px 6px rgba(164,106,63,0.25) !important;
}
html.theme-forest .zz-record-install {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 50%, #5ba87a 100%) !important;
    box-shadow: 0 2px 6px rgba(63,139,97,0.25) !important;
}
html.theme-sakura .zz-record-install {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 50%, #d96b9a 100%) !important;
    box-shadow: 0 2px 6px rgba(184,107,217,0.25) !important;
}

/* ===== 20. 签名记录图标容器 (.zz-record-icon-wrap) 多色渐变增强 ===== */
.zz-record-icon-wrap {
    background: linear-gradient(135deg, #5ac8fa 0%, #0a84ff 30%, #5856d6 60%, #af52de 100%) !important;
    box-shadow: 0 3px 10px rgba(88,86,214,0.25) !important;
}
html.theme-warm .zz-record-icon-wrap {
    background: linear-gradient(135deg, #e8c89a 0%, #d19a62 30%, #c8854a 60%, #b87333 100%) !important;
    box-shadow: 0 3px 10px rgba(164,106,63,0.25) !important;
}
html.theme-forest .zz-record-icon-wrap {
    background: linear-gradient(135deg, #7dc4a0 0%, #69b77f 30%, #3f8b61 60%, #5ba87a 100%) !important;
    box-shadow: 0 3px 10px rgba(63,139,97,0.25) !important;
}
html.theme-sakura .zz-record-icon-wrap {
    background: linear-gradient(135deg, #f5b8d0 0%, #ec8ab1 30%, #b86bd9 60%, #d96b9a 100%) !important;
    box-shadow: 0 3px 10px rgba(184,107,217,0.25) !important;
}

/* ===== 21. 获取UDID卡片 (.zz-get-udid-card) 多色渐变增强 ===== */
.zz-get-udid-card {
    background: linear-gradient(135deg, rgba(0,122,255,0.06) 0%, rgba(88,86,214,0.06) 35%, rgba(175,82,222,0.06) 65%, rgba(90,200,250,0.06) 100%) !important;
    border-color: rgba(0,122,255,0.14) !important;
}
.dark .zz-get-udid-card {
    background: linear-gradient(135deg, rgba(10,132,255,0.1) 0%, rgba(120,100,255,0.1) 35%, rgba(191,90,242,0.1) 65%, rgba(90,200,250,0.08) 100%) !important;
    border-color: rgba(10,132,255,0.2) !important;
}
html.theme-warm .zz-get-udid-card {
    background: linear-gradient(135deg, rgba(209,154,98,0.08) 0%, rgba(200,133,74,0.08) 35%, rgba(184,115,51,0.08) 65%, rgba(212,167,106,0.08) 100%) !important;
    border-color: rgba(139,111,94,0.16) !important;
}
html.theme-forest .zz-get-udid-card {
    background: linear-gradient(135deg, rgba(105,183,127,0.08) 0%, rgba(63,139,97,0.08) 35%, rgba(91,168,122,0.08) 65%, rgba(76,169,143,0.08) 100%) !important;
    border-color: rgba(45,74,45,0.14) !important;
}
html.theme-sakura .zz-get-udid-card {
    background: linear-gradient(135deg, rgba(236,138,177,0.08) 0%, rgba(184,107,217,0.08) 35%, rgba(217,107,154,0.08) 65%, rgba(232,155,181,0.08) 100%) !important;
    border-color: rgba(122,56,83,0.14) !important;
}

/* ===== 22. 获取UDID图标 (.zz-get-udid-icon) 多色渐变增强 ===== */
.zz-get-udid-icon {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 35%, #af52de 65%, #5ac8fa 100%) !important;
    box-shadow: 0 4px 12px rgba(88,86,214,0.3) !important;
}
html.theme-warm .zz-get-udid-icon {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
    box-shadow: 0 4px 12px rgba(164,106,63,0.3) !important;
}
html.theme-forest .zz-get-udid-icon {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
    box-shadow: 0 4px 12px rgba(63,139,97,0.3) !important;
}
html.theme-sakura .zz-get-udid-icon {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
    box-shadow: 0 4px 12px rgba(184,107,217,0.3) !important;
}

/* ===== 23. 上传进度图标 (.zz-progress-icon) 多色渐变增强 ===== */
.zz-progress-icon {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 35%, #af52de 65%, #5ac8fa 100%) !important;
}
html.theme-warm .zz-progress-icon {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
}
html.theme-forest .zz-progress-icon {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
}
html.theme-sakura .zz-progress-icon {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
}

/* ===== 24. 上传进度条 (.zz-progress-bar-fill) 多色渐变增强 ===== */
.zz-progress-bar-fill {
    background: linear-gradient(90deg, #007aff 0%, #5856d6 35%, #af52de 65%, #f5576c 100%) !important;
}
html.theme-warm .zz-progress-bar-fill {
    background: linear-gradient(90deg, #d19a62 0%, #c8854a 35%, #b87333 65%, #d4a76a 100%) !important;
}
html.theme-forest .zz-progress-bar-fill {
    background: linear-gradient(90deg, #69b77f 0%, #3f8b61 35%, #5ba87a 65%, #4ca98f 100%) !important;
}
html.theme-sakura .zz-progress-bar-fill {
    background: linear-gradient(90deg, #ec8ab1 0%, #b86bd9 35%, #d96b9a 65%, #e89bb5 100%) !important;
}

/* ===== 25. 段选器选中项 (.zz-segment-control label:has(input:checked)) 主题增强 ===== */
html.theme-warm .zz-segment-control label:has(input:checked) {
    background: linear-gradient(135deg, #fff5e0, #fbe8d0) !important;
    color: #a46a3f !important;
}
html.theme-forest .zz-segment-control label:has(input:checked) {
    background: linear-gradient(135deg, #f0faef, #dcefd8) !important;
    color: #3f7f5a !important;
}
html.theme-sakura .zz-segment-control label:has(input:checked) {
    background: linear-gradient(135deg, #fff4f8, #f8dbe8) !important;
    color: #c05a82 !important;
}

/* ===== 26. 签名弹窗主体背景多色渐变增强 ===== */
#zzSignSheet {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 30%, #f7f5ff 60%, #fff8fc 100%) !important;
}
.dark #zzSignSheet {
    background: linear-gradient(180deg, #1c1c1e 0%, #1a1e28 30%, #1c1a28 60%, #1e1a24 100%) !important;
}
html.theme-warm #zzSignSheet {
    background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important;
}
html.theme-forest #zzSignSheet {
    background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important;
}
html.theme-sakura #zzSignSheet {
    background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important;
}

/* ===== 27. 登录弹窗主体背景多色渐变增强 ===== */
#zzLoginSheet {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 30%, #f7f5ff 60%, #fff8fc 100%) !important;
}
.dark #zzLoginSheet {
    background: linear-gradient(180deg, #1c1c1e 0%, #1a1e28 30%, #1c1a28 60%, #1e1a24 100%) !important;
}
html.theme-warm #zzLoginSheet {
    background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important;
}
html.theme-forest #zzLoginSheet {
    background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important;
}
html.theme-sakura #zzLoginSheet {
    background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important;
}

/* ===== 28. 续费弹窗主体背景多色渐变增强 ===== */
#zzRenewSheet {
    background: linear-gradient(180deg, #f8f9fa 0%, #f5f8ff 30%, #f7f5ff 60%, #fff8fc 100%) !important;
}
.dark #zzRenewSheet {
    background: linear-gradient(180deg, #1c1c1e 0%, #1a1e28 30%, #1c1a28 60%, #1e1a24 100%) !important;
}
html.theme-warm #zzRenewSheet {
    background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important;
}
html.theme-forest #zzRenewSheet {
    background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important;
}
html.theme-sakura #zzRenewSheet {
    background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important;
}

/* ===== 29. 主题下拉菜单多色渐变增强 ===== */
#zzThemeDropdown {
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 40%, #f7f5ff 70%, #fff8fc 100%) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow: 0 8px 30px rgba(0,122,255,0.12) !important;
}
.dark #zzThemeDropdown {
    background: linear-gradient(135deg, #1c1c1e 0%, #1a1e28 40%, #1c1a28 70%, #1e1a24 100%) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4) !important;
}
html.theme-warm #zzThemeDropdown {
    background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important;
    border-color: rgba(139,111,94,0.12) !important;
    box-shadow: 0 8px 30px rgba(92,61,46,0.1) !important;
}
html.theme-forest #zzThemeDropdown {
    background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important;
    border-color: rgba(45,74,45,0.1) !important;
    box-shadow: 0 8px 30px rgba(45,74,45,0.08) !important;
}
html.theme-sakura #zzThemeDropdown {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important;
    border-color: rgba(122,56,83,0.1) !important;
    box-shadow: 0 8px 30px rgba(122,56,83,0.08) !important;
}

/* ===== 30. 登录步骤数字 (.zz-login-step-num) 多色渐变增强 ===== */
.zz-login-step-num {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%) !important;
}
html.theme-warm .zz-login-step-num {
    background: linear-gradient(135deg, #d19a62 0%, #c8854a 50%, #b87333 100%) !important;
}
html.theme-forest .zz-login-step-num {
    background: linear-gradient(135deg, #69b77f 0%, #3f8b61 50%, #5ba87a 100%) !important;
}
html.theme-sakura .zz-login-step-num {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 50%, #d96b9a 100%) !important;
}

/* ===== 31. 登录步骤连线 (.zz-login-step-line) 多色渐变增强 ===== */
.zz-login-step-line {
    background: linear-gradient(90deg, #007aff 0%, #5856d6 50%, #af52de 100%) !important;
}
html.theme-warm .zz-login-step-line {
    background: linear-gradient(90deg, #d19a62 0%, #c8854a 50%, #b87333 100%) !important;
}
html.theme-forest .zz-login-step-line {
    background: linear-gradient(90deg, #69b77f 0%, #3f8b61 50%, #5ba87a 100%) !important;
}
html.theme-sakura .zz-login-step-line {
    background: linear-gradient(90deg, #ec8ab1 0%, #b86bd9 50%, #d96b9a 100%) !important;
}

/* ===== 32. 搜索框多色渐变增强（所有主题） ===== */
html.theme-warm body.on-home .search-area > div {
    background: linear-gradient(135deg, rgba(255,245,224,0.82) 0%, rgba(251,232,208,0.78) 100%) !important;
    border: 1px solid rgba(139,111,94,0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 8px 20px rgba(92,61,46,0.08) !important;
}
html.theme-forest body.on-home .search-area > div {
    background: linear-gradient(135deg, rgba(240,250,239,0.82) 0%, rgba(220,239,216,0.78) 100%) !important;
    border: 1px solid rgba(45,74,45,0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 8px 20px rgba(45,74,45,0.06) !important;
}
html.theme-sakura body.on-home .search-area > div {
    background: linear-gradient(135deg, rgba(255,244,248,0.82) 0%, rgba(248,219,232,0.78) 100%) !important;
    border: 1px solid rgba(122,56,83,0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 8px 20px rgba(122,56,83,0.06) !important;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ===== UDID 登录弹窗样式 ===== */
#zzLoginSheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 8001; background: #ffffff;
    border-radius: 24px 24px 0 0; transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1); max-height: 88vh;
    display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -12px 40px rgba(0,0,0,0.18);
}
.dark #zzLoginSheet { background: #1c1c1e; box-shadow: 0 -12px 40px rgba(0,0,0,0.55); }
#zzLoginSheet.is-open { transform: translateY(0); }
#zzLoginSheet[aria-hidden="true"] { display: none; }
#zzLoginSheetMask { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 8000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
#zzLoginSheetMask.is-visible { opacity: 1; visibility: visible; }

.zz-login-deco { position: relative; background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%); padding: 28px 24px 32px; overflow: hidden; flex-shrink: 0; }
.zz-login-deco::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.zz-login-deco::after { content: ''; position: absolute; bottom: -30px; left: -20px; width: 100px; height: 100px; background: rgba(255,255,255,0.06); border-radius: 50%; }
.zz-login-deco > * { position: relative; z-index: 1; }
.zz-login-deco-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.zz-login-deco-icon i { font-size: 24px; color: #fff; }
.zz-login-deco h3 { font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.zz-login-deco p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.5; }
.zz-login-close-new {
    position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; font-size: 16px; z-index: 10; transition: background 0.2s, transform 0.15s;
}
.zz-login-close-new:active { background: rgba(255,255,255,0.35); transform: scale(0.9); }

.zz-login-body-new { flex: 1; overflow-y: auto; padding: 20px 24px 8px; -webkit-overflow-scrolling: touch; }
.zz-login-body-new::-webkit-scrollbar { display: none; }

.zz-udid-input-group { margin-bottom: 20px; }
.zz-udid-input-group label { display: block; font-size: 12px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.zz-udid-input-wrapper { position: relative; display: flex; align-items: center; }
.zz-udid-input-wrapper input {
    width: 100%; height: 52px; padding: 0 52px 0 48px; font-size: 15px; border-radius: 14px;
    border: 2px solid rgba(0,0,0,0.06); background: #f9f9fb; color: #1c1c1e; outline: none;
    transition: all 0.25s; -webkit-appearance: none; appearance: none; -webkit-text-size-adjust: 100%; font-family: 'SF Mono', 'Monaco', monospace; letter-spacing: 0.5px;
}
.dark .zz-udid-input-wrapper input { border-color: rgba(255,255,255,0.08); background: #2c2c2e; color: #fff; }
.zz-udid-input-wrapper input::placeholder { color: #c7c7cc; font-size: 14px; font-family: -apple-system, sans-serif; }
.dark .zz-udid-input-wrapper input::placeholder { color: #636366; }
.zz-udid-input-wrapper input:focus { border-color: #007aff; background: #fff; box-shadow: 0 0 0 4px rgba(0,122,255,0.1); }
.dark .zz-udid-input-wrapper input:focus { background: #3a3a3c; box-shadow: 0 0 0 4px rgba(10,132,255,0.15); }
.zz-udid-input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8e8e93; font-size: 18px; pointer-events: none; }
.zz-udid-clear-btn {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
    border-radius: 50%; background: rgba(120,120,128,0.12); border: none; display: none;
    align-items: center; justify-content: center; cursor: pointer; color: #8e8e93; font-size: 12px;
}
.zz-udid-clear-btn:hover { background: rgba(120,120,128,0.22); }
.zz-udid-clear-btn.is-visible { display: flex; }

.zz-get-udid-card { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(0,122,255,0.06) 0%, rgba(88,86,214,0.06) 100%); border: 1.5px solid rgba(0,122,255,0.12); border-radius: 16px; text-decoration: none; transition: all 0.2s; cursor: pointer; }
.zz-get-udid-card:active { transform: scale(0.98); }
.dark .zz-get-udid-card { background: linear-gradient(135deg, rgba(10,132,255,0.1) 0%, rgba(120,100,255,0.1) 100%); border-color: rgba(10,132,255,0.2); }
.zz-get-udid-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #007aff, #5856d6); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,122,255,0.3); }
.zz-get-udid-icon i { font-size: 20px; color: #fff; }
.zz-get-udid-text { flex: 1; }
.zz-get-udid-text h4 { font-size: 14px; font-weight: 600; color: #1c1c1e; margin: 0 0 2px; }
.dark .zz-get-udid-text h4 { color: #fff; }
.zz-get-udid-text p { font-size: 11px; color: #8e8e93; margin: 0; }
.zz-get-udid-arrow { color: #007aff; font-size: 18px; flex-shrink: 0; }
.zz-get-udid-card:active .zz-get-udid-arrow { transform: translateX(3px); }

.zz-login-tips { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: rgba(52,199,89,0.06); border-radius: 12px; margin-bottom: 8px; }
.zz-login-tips i { color: #34c759; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.zz-login-tips span { font-size: 12px; color: #30b058; font-weight: 500; line-height: 1.5; }
.dark .zz-login-tips { background: rgba(48,209,88,0.1); }

/* ===== IPA 上传进度浮层 ===== */
#zzUploadProgress {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
#zzUploadProgress[hidden] { display: none; }
.zz-progress-card {
    width: calc(100% - 48px); max-width: 360px;
    background: rgba(255,255,255,0.95);
    border-radius: 20px; padding: 24px 20px;
    display: flex; gap: 16px; align-items: flex-start;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: zzProgressIn 0.3s ease;
}
.dark .zz-progress-card { background: rgba(28,28,30,0.95); }
@keyframes zzProgressIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.zz-progress-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, #007aff, #5856d6);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
}
.zz-progress-info { flex: 1; min-width: 0; }
.zz-progress-title { font-size: 15px; font-weight: 600; color: #1c1c1e; margin-bottom: 2px; }
.dark .zz-progress-title { color: #fff; }
.zz-progress-filename {
    font-size: 11px; color: #8e8e93; margin-bottom: 12px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.zz-progress-bar-track {
    width: 100%; height: 8px; border-radius: 4px;
    background: rgba(0,0,0,0.06); overflow: hidden;
}
.dark .zz-progress-bar-track { background: rgba(255,255,255,0.1); }
.zz-progress-bar-fill {
    height: 100%; border-radius: 4px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    transition: width 0.2s ease;
}
.zz-progress-bar-fill.is-indeterminate {
    width: 30% !important; animation: zzProgressIndeterminate 1.2s ease-in-out infinite;
}
@keyframes zzProgressIndeterminate {
    0%   { margin-left: -30%; }
    50%  { margin-left: 100%; }
    100% { margin-left: 100%; }
}
.zz-progress-stats {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 8px; font-size: 11px; color: #8e8e93;
}
#zzProgressPercent { font-weight: 600; color: #007aff; }
.dark .zz-login-tips span { color: #30d158; }

.zz-login-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.zz-login-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.zz-login-step-num { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #007aff, #5ac8fa); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.zz-login-step-text { font-size: 10px; color: #8e8e93; text-align: center; font-weight: 500; }
.zz-login-step-line { width: 24px; height: 2px; background: linear-gradient(90deg, #007aff, #5ac8fa); border-radius: 1px; margin-bottom: 18px; }

.zz-login-footer-new { display: flex; align-items: center; justify-content: center; padding: 12px 24px 32px; flex-shrink: 0; }
.zz-login-submit-btn {
    width: 100%; padding: 16px 24px; background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: #fff; border: none; border-radius: 16px; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,122,255,0.35); transition: transform 0.15s ease;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.zz-login-submit-btn:active { transform: scale(0.97); }

#zzLoginSheet.is-open .zz-login-deco { animation: decoSlideDown 0.5s ease 0.1s forwards; opacity: 0; transform: translateY(-20px); }
@keyframes decoSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 续费弹窗样式 ===== */
#zzRenewSheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 8001; background: #f8f9fa;
    border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
}
.dark #zzRenewSheet { background: #1c1c1e; box-shadow: 0 -8px 30px rgba(0,0,0,0.5); }
#zzRenewSheet.is-open { transform: translateY(0); }
#zzRenewSheet[aria-hidden="true"] { display: none; }
#zzRenewSheetMask { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 8000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
#zzRenewSheetMask.is-visible { opacity: 1; visibility: visible; }
.dark #zzRenewSheet input#zzCertCode { background: #2c2c2e !important; border-color: rgba(255,255,255,0.1) !important; color: #fff !important; }
.dark #zzRenewSheet input#zzCertCode::placeholder { color: #636366 !important; }
.dark #zzRenewSheet button#zzRenewCancelBtn { background: #2c2c2e !important; color: #8e8e93 !important; }

nav.fixed.bottom-0 { padding-bottom: env(safe-area-inset-bottom); }

/* ===== 首页新 UI：仅调整外观，不改变应用卡片排版 ===== */
html:not([class*="theme-"]) body.on-home {
    background:
        radial-gradient(circle at 12% -8%, rgba(0, 122, 255, 0.18) 0, transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(175, 82, 222, 0.16) 0, transparent 32%),
        linear-gradient(180deg, #f5f8ff 0%, #f7f8fc 48%, #eef3ff 100%) !important;
}

html:not([class*="theme-"]).dark body.on-home,
html:not([class*="theme-"]) .dark body.on-home {
    background:
        radial-gradient(circle at 12% -8%, rgba(10, 132, 255, 0.24) 0, transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(191, 90, 242, 0.22) 0, transparent 32%),
        linear-gradient(180deg, #101522 0%, #111318 50%, #0b1020 100%) !important;
}

html:not([class*="theme-"]) body.on-home::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 122, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 122, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 72%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 72%);
}

html:not([class*="theme-"]) body.on-home header.sticky {
    top: 8px;
    margin: 0 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.62) !important;
    box-shadow: 0 14px 36px rgba(61, 88, 142, 0.12);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    overflow: hidden;
}

html:not([class*="theme-"]).dark body.on-home header.sticky,
html:not([class*="theme-"]) body.on-home.dark header.sticky,
html:not([class*="theme-"]) .dark body.on-home header.sticky {
    background: rgba(22, 24, 32, 0.76) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.30);
}

html:not([class*="theme-"]) body.on-home header.sticky h1 {
    background: linear-gradient(135deg, #0a84ff, #5856d6 55%, #af52de);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    letter-spacing: 0.2px;
}

/* 搜索框自适应屏幕大小，保证左侧名称不被挤压 */
.search-area {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden;
}
.search-area > div:first-child {
    max-width: 260px !important;
    min-width: 100px !important;
    flex: 0 1 auto !important;
}
.search-area > div:first-child input {
    width: 100% !important;
    max-width: none !important;
}

/* 小屏幕下搜索框缩短 */
@media (max-width: 480px) {
    .search-area > div:first-child {
        max-width: 180px !important;
        min-width: 80px !important;
    }
}
@media (max-width: 360px) {
    .search-area > div:first-child {
        max-width: 130px !important;
        min-width: 60px !important;
    }
}

html:not([class*="theme-"]) body.on-home .search-area > div {
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(0, 122, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 8px 20px rgba(46, 74, 130, 0.08);
    border-radius: 18px !important;
}

html:not([class*="theme-"]).dark body.on-home .search-area > div,
html:not([class*="theme-"]) body.on-home.dark .search-area > div,
html:not([class*="theme-"]) .dark body.on-home .search-area > div {
    background: rgba(38, 40, 50, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 20px rgba(0,0,0,0.22);
}

html:not([class*="theme-"]) body.on-home #themeToggle,
html:not([class*="theme-"]) body.on-home #themeToggle2 {
    background: linear-gradient(135deg, #0a84ff 0%, #5856d6 58%, #af52de 100%) !important;
    box-shadow: 0 8px 18px rgba(88, 86, 214, 0.28);
}

html:not([class*="theme-"]) body.on-home #zzCategoryListSection {
    margin: -16px 0 2px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html:not([class*="theme-"]).dark body.on-home #zzCategoryListSection,
html:not([class*="theme-"]) body.on-home.dark #zzCategoryListSection,
html:not([class*="theme-"]) .dark body.on-home #zzCategoryListSection {
    background: transparent;
}

html:not([class*="theme-"]) body.on-home #zzCategoryList .zz-chip {
    background: rgba(255, 255, 255, 0.72);
    color: #526070;
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: none;
}

html:not([class*="theme-"]).dark body.on-home #zzCategoryList .zz-chip,
html:not([class*="theme-"]) body.on-home.dark #zzCategoryList .zz-chip,
html:not([class*="theme-"]) .dark body.on-home #zzCategoryList .zz-chip {
    background: rgba(38, 40, 50, 0.74);
    color: #c7d2e5;
    border-color: rgba(255,255,255,0.08);
    box-shadow: none;
}

html:not([class*="theme-"]) body.on-home #zzCategoryList .zz-chip.is-active {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    background: linear-gradient(135deg, #0a84ff 0%, #5856d6 60%, #af52de 100%);
    box-shadow: none;
}

html:not([class*="theme-"]) body.on-home .zz-banner-swiper,
html:not([class*="theme-"]) body.on-home .zz-default-swiper {
    border: 1px solid rgba(255,255,255,0.68);
    box-shadow: 0 18px 46px rgba(44, 73, 129, 0.16) !important;
}

html:not([class*="theme-"]).dark body.on-home .zz-banner-swiper,
html:not([class*="theme-"]).dark body.on-home .zz-default-swiper,
html:not([class*="theme-"]) body.on-home.dark .zz-banner-swiper,
html:not([class*="theme-"]) body.on-home.dark .zz-default-swiper,
html:not([class*="theme-"]) .dark body.on-home .zz-banner-swiper,
html:not([class*="theme-"]) .dark body.on-home .zz-default-swiper {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36) !important;
}

html:not([class*="theme-"]) body.on-home .zz-page-section > div:first-child h3,
html:not([class*="theme-"]) body.on-home [data-page="home"] > section > div:first-child h3 {
    position: relative;
    padding-left: 10px;
    letter-spacing: 0.2px;
}

html:not([class*="theme-"]) body.on-home .zz-page-section > div:first-child h3::before,
html:not([class*="theme-"]) body.on-home [data-page="home"] > section > div:first-child h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 14px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #0a84ff, #af52de);
}

html:not([class*="theme-"]) body.on-home .zz-page-section > div:first-child span,
html:not([class*="theme-"]) body.on-home [data-page="home"] > section > div:first-child span {
    color: #7b8aa0 !important;
}

html:not([class*="theme-"]) body.on-home nav.fixed.bottom-0 {
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 56px;
    border: 1px solid rgba(255,255,255,0.7) !important;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 18px 45px rgba(61, 88, 142, 0.18);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    overflow: hidden;
}

html:not([class*="theme-"]).dark body.on-home nav.fixed.bottom-0,
html:not([class*="theme-"]) body.on-home.dark nav.fixed.bottom-0,
html:not([class*="theme-"]) .dark body.on-home nav.fixed.bottom-0 {
    background: rgba(26, 28, 36, 0.86) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

html:not([class*="theme-"]) body.on-home .zz-bottom-nav button.is-active {
    color: #0a84ff;
}

html:not([class*="theme-"]) body.on-home .zz-bottom-nav button.is-active i {
    width: 30px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0a84ff, #5856d6);
    box-shadow: 0 7px 16px rgba(88, 86, 214, 0.28);
}

/* 首页应用卡片渐变色：只换背景，不改排版 */
html:not([class*="theme-"]) body.on-home .zz-page-section article[data-app-card] {
    background: linear-gradient(145deg, #f7fbff 0%, #e7f2ff 48%, #f3edff 100%);
    border-radius: 16px;
}

html:not([class*="theme-"]) body.on-home .zz-page-section article[data-app-card] > .relative {
    background: linear-gradient(135deg, #5ac8fa 0%, #0a84ff 46%, #5856d6 100%) !important;
}

html:not([class*="theme-"]) body.on-home [data-page="home"] .grid article[data-app-card] {
    background: linear-gradient(135deg, #f6fffb 0%, #e4f4ff 52%, #f5eeff 100%) !important;
    border: 1px solid rgba(255,255,255,0.7);
}

html:not([class*="theme-"]) body.on-home [data-page="home"] > section:last-of-type > div {
    background: transparent !important;
    box-shadow: none !important;
}

html:not([class*="theme-"]) body.on-home [data-page="home"] > section:last-of-type article[data-app-card] {
    background: linear-gradient(135deg, #fffaf0 0%, #e8f5ff 54%, #f4efff 100%);
}

html:not([class*="theme-"]) body.on-home.dark .zz-page-section article[data-app-card],
html:not([class*="theme-"]).dark body.on-home .zz-page-section article[data-app-card],
html:not([class*="theme-"]) .dark body.on-home .zz-page-section article[data-app-card] {
    background: linear-gradient(145deg, #1d2838 0%, #1c2f48 48%, #2a2238 100%);
}

html:not([class*="theme-"]) body.on-home.dark [data-page="home"] .grid article[data-app-card],
html:not([class*="theme-"]).dark body.on-home [data-page="home"] .grid article[data-app-card],
html:not([class*="theme-"]) .dark body.on-home [data-page="home"] .grid article[data-app-card] {
    background: linear-gradient(135deg, #1a302d 0%, #172d46 52%, #2a2238 100%) !important;
    border-color: rgba(255,255,255,0.08);
}

html:not([class*="theme-"]) body.on-home.dark [data-page="home"] > section:last-of-type article[data-app-card],
html:not([class*="theme-"]).dark body.on-home [data-page="home"] > section:last-of-type article[data-app-card],
html:not([class*="theme-"]) .dark body.on-home [data-page="home"] > section:last-of-type article[data-app-card] {
    background: linear-gradient(135deg, #332c1e 0%, #172d45 55%, #2a2238 100%);
}

/* 主题模式下的首页卡片渐变适配：排版不变，只跟随主题换色 */
html.theme-warm body.on-home .zz-page-section article[data-app-card] {
    background: linear-gradient(145deg, #fff6e8 0%, #f7e5cf 48%, #efd6c3 100%) !important;
    border-radius: 16px;
}
html.theme-warm body.on-home [data-page="home"] .grid article[data-app-card] {
    background: linear-gradient(135deg, #fff8ea 0%, #f4dfc9 52%, #ead0bf 100%) !important;
    border: 1px solid rgba(139,111,94,0.14);
}
html.theme-warm body.on-home [data-page="home"] > section:last-of-type > div {
    background: transparent !important;
    box-shadow: none !important;
}
html.theme-warm body.on-home [data-page="home"] > section:last-of-type article[data-app-card] {
    background: linear-gradient(135deg, #fff6e7 0%, #f2ddc6 52%, #ead0bd 100%) !important;
}

html.theme-forest body.on-home .zz-page-section article[data-app-card] {
    background: linear-gradient(145deg, #f0faef 0%, #dcefdc 48%, #cfe7d9 100%) !important;
    border-radius: 16px;
}
html.theme-forest body.on-home [data-page="home"] .grid article[data-app-card] {
    background: linear-gradient(135deg, #f4fbe9 0%, #dcefd8 52%, #cde7d9 100%) !important;
    border: 1px solid rgba(45,74,45,0.12);
}
html.theme-forest body.on-home [data-page="home"] > section:last-of-type > div {
    background: transparent !important;
    box-shadow: none !important;
}
html.theme-forest body.on-home [data-page="home"] > section:last-of-type article[data-app-card] {
    background: linear-gradient(135deg, #f0fae7 0%, #d9edd5 52%, #cbe5d6 100%) !important;
}

html.theme-sakura body.on-home .zz-page-section article[data-app-card] {
    background: linear-gradient(145deg, #fff2f7 0%, #f9dce9 48%, #f1dcfb 100%) !important;
    border-radius: 16px;
}
html.theme-sakura body.on-home [data-page="home"] .grid article[data-app-card] {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 52%, #efd9fa 100%) !important;
    border: 1px solid rgba(122,56,83,0.12);
}
html.theme-sakura body.on-home [data-page="home"] > section:last-of-type > div {
    background: transparent !important;
    box-shadow: none !important;
}
html.theme-sakura body.on-home [data-page="home"] > section:last-of-type article[data-app-card] {
    background: linear-gradient(135deg, #fff2f7 0%, #f7d9e6 52%, #efd8f8 100%) !important;
}

/* ===== ✅ 隐藏指定元素的 CSS ===== */
#zzQueryBtn, .zz-query-udid-row { display: none !important; }

/* ============================================================
   🎨 多主题系统 — 暖棕 / 墨绿 / 樱花
   ============================================================ */

/* --- 主题变量定义 --- */
html.theme-warm {
    --t-bg: #f5ebe0; --t-surface: #fdf6ec; --t-surface2: #ede0d0;
    --t-text: #5c3d2e; --t-text-sub: #8b6f5e;
    --t-border: rgba(139,111,94,0.1); --t-border-light: rgba(139,111,94,0.06);
    --t-shadow: rgba(92,61,46,0.06); --t-header: rgba(253,246,236,0.92);
}
html.theme-forest {
    --t-bg: #e8f0e8; --t-surface: #f0f7f0; --t-surface2: #d8e8d8;
    --t-text: #2d4a2d; --t-text-sub: #6a8a6a;
    --t-border: rgba(45,74,45,0.08); --t-border-light: rgba(45,74,45,0.05);
    --t-shadow: rgba(45,74,45,0.06); --t-header: rgba(240,247,240,0.92);
}
html.theme-sakura {
    --t-bg: #fce8ef; --t-surface: #fff0f5; --t-surface2: #f5d8e0;
    --t-text: #7a3853; --t-text-sub: #a66880;
    --t-border: rgba(122,56,83,0.08); --t-border-light: rgba(122,56,83,0.05);
    --t-shadow: rgba(122,56,83,0.06); --t-header: rgba(255,240,245,0.92);
}

/* --- 通用主题覆盖 (匹配 theme-warm / theme-forest / theme-sakura) --- */
html[class*="theme-"] body { background-color: var(--t-bg) !important; color: var(--t-text) !important; }
html[class*="theme-"] header.sticky { background-color: var(--t-header) !important; border-color: var(--t-border) !important; }
html[class*="theme-"] header.sticky h1 { color: var(--t-text) !important; }
html[class*="theme-"] .bg-white { background-color: var(--t-surface) !important; }
html[class*="theme-"] .bg-appleGray { background-color: var(--t-surface2) !important; }
html[class*="theme-"] nav.fixed.bottom-0 { background-color: var(--t-surface) !important; border-color: var(--t-border) !important; }
html[class*="theme-"] .text-appleText { color: var(--t-text) !important; }
html[class*="theme-"] .text-appleSub { color: var(--t-text-sub) !important; }
html[class*="theme-"] .border-gray-100, html[class*="theme-"] .border-gray-200, html[class*="theme-"] .border-gray-800 { border-color: var(--t-border-light) !important; }
html[class*="theme-"] .card-shadow { box-shadow: 0 4px 14px var(--t-shadow) !important; }

/* 卡片类 */
html[class*="theme-"] .zz-stat { background: var(--t-surface) !important; box-shadow: 0 2px 8px var(--t-shadow) !important; }
html[class*="theme-"] .zz-stat strong { color: var(--t-text) !important; }
html[class*="theme-"] .zz-stat span { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-group-card { background: var(--t-surface) !important; box-shadow: 0 2px 10px var(--t-shadow) !important; border-color: var(--t-border-light) !important; }
html[class*="theme-"] .zz-app-card { background: var(--t-surface) !important; }
html[class*="theme-"] .zz-record-card { background: var(--t-surface) !important; }

/* 主题模式签名记录卡片渐变色 */
html.theme-warm .zz-record-card-item {
    background: linear-gradient(135deg, #fff8ea 0%, #f4dfc9 52%, #ead0bf 100%) !important;
    border-color: rgba(139,111,94,0.14) !important;
}
html.theme-forest .zz-record-card-item {
    background: linear-gradient(135deg, #f4fbe9 0%, #dcefd8 52%, #cde7d9 100%) !important;
    border-color: rgba(45,74,45,0.12) !important;
}
html.theme-sakura .zz-record-card-item {
    background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 52%, #efd9fa 100%) !important;
    border-color: rgba(122,56,83,0.12) !important;
}

/* 弹窗 */
html[class*="theme-"] #zzSignSheet { background: var(--t-surface) !important; box-shadow: 0 -16px 50px var(--t-shadow) !important; }
html[class*="theme-"] #zzLoginSheet { background: var(--t-surface) !important; }
html[class*="theme-"] #zzRenewSheet { background: var(--t-surface2) !important; box-shadow: 0 -8px 30px var(--t-shadow) !important; }
html[class*="theme-"] #zzDialog { background: var(--t-surface) !important; color: var(--t-text) !important; }
html[class*="theme-"] #zzDialog p { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-progress-card { background: rgba(255,255,255,0.95) !important; }

/* 签名弹窗内部元素 */
html[class*="theme-"] .zz-sheet-title { color: var(--t-text) !important; }
html[class*="theme-"] .zz-app-text h4 { color: var(--t-text) !important; }
html[class*="theme-"] .zz-app-text p { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-desc-content { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-form-row { border-bottom-color: var(--t-border-light) !important; }
html[class*="theme-"] .zz-form-row label { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-form-row input, html[class*="theme-"] .zz-form-row select { color: var(--t-text) !important; }
html[class*="theme-"] .zz-form-row input::placeholder { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-group-title { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-sheet-footer { border-top-color: var(--t-border-light) !important; }
html[class*="theme-"] .zz-sheet-handle-bar { background: var(--t-border) !important; }

/* 段选器 */
html[class*="theme-"] .zz-segment-control { background: var(--t-border-light) !important; }
html[class*="theme-"] .zz-segment-control label { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-segment-control label:has(input:checked) { background: var(--t-surface) !important; color: #007aff !important; }

/* 登录弹窗内部 */
html[class*="theme-"] .zz-udid-input-wrapper input { background: var(--t-surface2) !important; color: var(--t-text) !important; border-color: var(--t-border) !important; }
html[class*="theme-"] .zz-udid-input-wrapper input::placeholder { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-udid-input-group label { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-udid-input-icon { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-get-udid-text h4 { color: var(--t-text) !important; }
html[class*="theme-"] .zz-get-udid-text p { color: var(--t-text-sub) !important; }
html[class*="theme-"] .zz-login-step-text { color: var(--t-text-sub) !important; }

/* 芯片 */
html[class*="theme-"] .zz-chip, html[class*="theme-"] #zzCategoryList .zz-chip { background: var(--t-surface2) !important; }

/* 续费弹窗 */
html[class*="theme-"] #zzRenewSheet input#zzCertCode { background: var(--t-surface2) !important; border-color: var(--t-border) !important; color: var(--t-text) !important; }
html[class*="theme-"] #zzRenewSheet input#zzCertCode::placeholder { color: var(--t-text-sub) !important; }
html[class*="theme-"] #zzRenewSheet button#zzRenewCancelBtn { background: var(--t-surface2) !important; color: var(--t-text-sub) !important; }

/* 查询UDID行 */
html[class*="theme-"] .zz-query-udid-row { background: var(--t-surface) !important; }

/* 会员中心操作列表边框 */
html[class*="theme-"] #zzMemberActionList > a,
html[class*="theme-"] #zzMemberActionList > button { border-bottom-color: var(--t-border-light) !important; }

/* 全页面顶部栏：固定悬浮圆角卡片 */
header.sticky {
    position: fixed !important;
    top: 8px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 10px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.62) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(197,226,255,0.92) 48%, rgba(222,205,255,0.94) 100%) !important;
    box-shadow: 0 14px 36px rgba(61,88,142,0.12) !important;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    overflow: hidden;
}

html.dark header.sticky,
.dark header.sticky {
    background: linear-gradient(135deg, rgba(37,54,82,0.94) 0%, rgba(24,52,88,0.94) 48%, rgba(66,43,84,0.94) 100%) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 14px 36px rgba(0,0,0,0.30) !important;
}

html[class*="theme-"] header.sticky {
    background: linear-gradient(135deg, var(--t-header) 0%, var(--t-surface) 52%, var(--t-surface2) 100%) !important;
    border-color: var(--t-border) !important;
    box-shadow: 0 14px 36px var(--t-shadow) !important;
}

html.theme-warm header.sticky {
    background: linear-gradient(135deg, rgba(255,246,230,0.96) 0%, rgba(238,202,162,0.94) 50%, rgba(214,166,133,0.96) 100%) !important;
}

html.theme-forest header.sticky {
    background: linear-gradient(135deg, rgba(238,250,236,0.96) 0%, rgba(186,225,190,0.94) 50%, rgba(151,203,178,0.96) 100%) !important;
}

html.theme-sakura header.sticky {
    background: linear-gradient(135deg, rgba(255,238,246,0.96) 0%, rgba(244,190,214,0.94) 50%, rgba(218,190,244,0.96) 100%) !important;
}

/* 全页面底部导航：签名记录 / 个人中心与首页保持同一卡片框 */
nav.fixed.bottom-0 {
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
    height: 56px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(195,225,255,0.92) 48%, rgba(222,204,255,0.94) 100%) !important;
    box-shadow: 0 18px 45px rgba(61, 88, 142, 0.18) !important;
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    overflow: hidden;
}

html.dark nav.fixed.bottom-0,
.dark nav.fixed.bottom-0 {
    background: linear-gradient(135deg, rgba(37,54,82,0.96) 0%, rgba(24,52,88,0.96) 48%, rgba(66,43,84,0.96) 100%) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.38) !important;
}

nav.fixed.bottom-0 .zz-bottom-nav button.is-active {
    color: #0a84ff;
}

nav.fixed.bottom-0 .zz-bottom-nav button.is-active i {
    width: 30px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0a84ff, #5856d6);
    box-shadow: 0 7px 16px rgba(88,86,214,0.28);
}

html.theme-warm nav.fixed.bottom-0 {
    background: linear-gradient(135deg, rgba(255,246,230,0.96) 0%, rgba(238,202,162,0.94) 50%, rgba(214,166,133,0.96) 100%) !important;
    border-color: rgba(139,111,94,0.14) !important;
    box-shadow: 0 18px 45px rgba(92,61,46,0.12) !important;
}
html.theme-warm nav.fixed.bottom-0 .zz-bottom-nav button.is-active { color: #a46a3f; }
html.theme-warm nav.fixed.bottom-0 .zz-bottom-nav button.is-active i {
    background: linear-gradient(135deg, #d19a62, #a46a3f);
    box-shadow: 0 7px 16px rgba(164,106,63,0.24);
}

html.theme-forest nav.fixed.bottom-0 {
    background: linear-gradient(135deg, rgba(238,250,236,0.96) 0%, rgba(186,225,190,0.94) 50%, rgba(151,203,178,0.96) 100%) !important;
    border-color: rgba(45,74,45,0.12) !important;
    box-shadow: 0 18px 45px rgba(45,74,45,0.12) !important;
}
html.theme-forest nav.fixed.bottom-0 .zz-bottom-nav button.is-active { color: #3f7f5a; }
html.theme-forest nav.fixed.bottom-0 .zz-bottom-nav button.is-active i {
    background: linear-gradient(135deg, #69b77f, #3f7f5a);
    box-shadow: 0 7px 16px rgba(63,127,90,0.24);
}

html.theme-sakura nav.fixed.bottom-0 {
    background: linear-gradient(135deg, rgba(255,240,245,0.94) 0%, rgba(249,220,233,0.92) 52%, rgba(241,220,251,0.94) 100%) !important;
    border-color: rgba(122,56,83,0.12) !important;
    box-shadow: 0 18px 45px rgba(122,56,83,0.12) !important;
}
html.theme-sakura nav.fixed.bottom-0 .zz-bottom-nav button.is-active { color: #c05a82; }
html.theme-sakura nav.fixed.bottom-0 .zz-bottom-nav button.is-active i {
    background: linear-gradient(135deg, #ec8ab1, #b86bd9);
    box-shadow: 0 7px 16px rgba(192,90,130,0.24);
}

html[class*="theme-"] body.on-home .search-area > div {
    border-radius: 18px !important;
    background: rgba(255,255,255,0.58) !important;
    border: 1px solid var(--t-border) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 8px 20px var(--t-shadow) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* 非白色主题：首页分类按钮保留清晰背景框 */
html.dark body.on-home #zzCategoryList .zz-chip,
.dark body.on-home #zzCategoryList .zz-chip {
    background: rgba(38, 44, 58, 0.88) !important;
    color: #d7e1f0 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: none !important;
}

html.dark body.on-home #zzCategoryList .zz-chip.is-active,
.dark body.on-home #zzCategoryList .zz-chip.is-active {
    background: linear-gradient(135deg, #2f7dff 0%, #6b5cff 58%, #a14ee8 100%) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.18) !important;
}

html.theme-warm body.on-home #zzCategoryList .zz-chip {
    background: rgba(255, 239, 216, 0.92) !important;
    color: #7b543c !important;
    border: 1px solid rgba(139,111,94,0.16) !important;
    box-shadow: none !important;
}

html.theme-warm body.on-home #zzCategoryList .zz-chip.is-active {
    background: linear-gradient(135deg, #dfaa70 0%, #b8784d 100%) !important;
    color: #fff !important;
    border-color: rgba(139,111,94,0.22) !important;
}

html.theme-forest body.on-home #zzCategoryList .zz-chip {
    background: rgba(225, 242, 225, 0.92) !important;
    color: #3f6948 !important;
    border: 1px solid rgba(45,74,45,0.14) !important;
    box-shadow: none !important;
}

html.theme-forest body.on-home #zzCategoryList .zz-chip.is-active {
    background: linear-gradient(135deg, #75bd84 0%, #3f8b61 100%) !important;
    color: #fff !important;
    border-color: rgba(45,74,45,0.20) !important;
}

html.theme-sakura body.on-home #zzCategoryList .zz-chip {
    background: rgba(255, 226, 238, 0.94) !important;
    color: #9a4f6d !important;
    border: 1px solid rgba(122,56,83,0.14) !important;
    box-shadow: none !important;
}

html.theme-sakura body.on-home #zzCategoryList .zz-chip.is-active {
    background: linear-gradient(135deg, #ec8ab1 0%, #b86bd9 100%) !important;
    color: #fff !important;
    border-color: rgba(122,56,83,0.20) !important;
}

/* --- 主题选择器下拉菜单 --- */
#zzThemeDropdown {
    position: fixed; top: 48px; right: 12px; z-index: 9999;
    background: #fff; border-radius: 14px; padding: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.06);
    min-width: 130px; animation: zzThemeDrop 0.2s ease;
}
.dark #zzThemeDropdown { background: #1c1c1e; border-color: rgba(255,255,255,0.08); box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
html[class*="theme-"] #zzThemeDropdown { background: var(--t-surface); border-color: var(--t-border); box-shadow: 0 8px 30px var(--t-shadow); }
#zzThemeDropdown.hidden { display: none; }
@keyframes zzThemeDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.zz-theme-option {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 8px 10px; border-radius: 10px; border: none; background: none;
    font-size: 12px; color: inherit; cursor: pointer; transition: background 0.15s;
}
.zz-theme-option:hover { background: rgba(0,0,0,0.05); }
.dark .zz-theme-option:hover { background: rgba(255,255,255,0.08); }
html[class*="theme-"] .zz-theme-option:hover { background: var(--t-border-light); }
.zz-theme-option.is-active { font-weight: 700; }
.zz-theme-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(0,0,0,0.1); }
.dark .zz-theme-dot { border-color: rgba(255,255,255,0.15); }

/* ===== 强制显示用户中心所有菜单项 ===== */
#zzMemberActionList { display: block !important; opacity: 1 !important; animation: none !important; }
#zzMemberActionList > a,
#zzMemberActionList > button { display: flex !important; opacity: 1 !important; visibility: visible !important; }

/* ============================================================
   🎨 主题渐变覆盖层 — 确保渐变在所有主题下生效
   放置在文件最末尾以覆盖上方 html[class*="theme-"] 规则
   ============================================================ */

/* --- 统计卡片 --- */
html.theme-warm .zz-stat { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 35%, #f5d8c0 65%, #fff0e0 100%) !important; }
html.theme-forest .zz-stat { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 35%, #d0e8d8 65%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-stat { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 35%, #f0d0f5 65%, #fff0f5 100%) !important; }

/* --- 分组卡片 --- */
html.theme-warm .zz-group-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-group-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-group-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 应用卡片 --- */
html.theme-warm .zz-app-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-app-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-app-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 记录卡片 --- */
html.theme-warm .zz-record-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-record-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-record-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 记录项卡片 --- */
html.theme-warm .zz-record-card-item { background: linear-gradient(135deg, #fff5e0 0%, #f5e0c8 30%, #ecd0b8 60%, #fff0e0 100%) !important; }
html.theme-forest .zz-record-card-item { background: linear-gradient(135deg, #e8f5e0 0%, #d0e8c8 30%, #c0e0d0 60%, #d8f0e0 100%) !important; }
html.theme-sakura .zz-record-card-item { background: linear-gradient(135deg, #ffeef4 0%, #f5d0e0 30%, #e8c8f0 60%, #ffe0ec 100%) !important; }

/* --- 对话框 --- */
html.theme-warm #zzDialog { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest #zzDialog { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura #zzDialog { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 签名弹窗 --- */
html.theme-warm #zzSignSheet { background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important; }
html.theme-forest #zzSignSheet { background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important; }
html.theme-sakura #zzSignSheet { background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important; }

/* --- 登录弹窗 --- */
html.theme-warm #zzLoginSheet { background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important; }
html.theme-forest #zzLoginSheet { background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important; }
html.theme-sakura #zzLoginSheet { background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important; }

/* --- 续费弹窗 --- */
html.theme-warm #zzRenewSheet { background: linear-gradient(180deg, #fff8ea 0%, #fdf0e0 30%, #fbe8d0 60%, #fff5e8 100%) !important; }
html.theme-forest #zzRenewSheet { background: linear-gradient(180deg, #f0faef 0%, #e8f5e8 30%, #dcefd8 60%, #e8f5e8 100%) !important; }
html.theme-sakura #zzRenewSheet { background: linear-gradient(180deg, #fff4f8 0%, #fff0f5 30%, #f8dbe8 60%, #fff0f5 100%) !important; }

/* --- 上传进度卡片 --- */
html.theme-warm .zz-progress-card { background: linear-gradient(135deg, rgba(255,248,234,0.97) 0%, rgba(251,232,208,0.97) 40%, rgba(245,216,192,0.97) 70%, rgba(255,240,224,0.97) 100%) !important; }
html.theme-forest .zz-progress-card { background: linear-gradient(135deg, rgba(240,250,239,0.97) 0%, rgba(220,239,216,0.97) 40%, rgba(208,232,216,0.97) 70%, rgba(224,245,232,0.97) 100%) !important; }
html.theme-sakura .zz-progress-card { background: linear-gradient(135deg, rgba(255,244,248,0.97) 0%, rgba(248,219,232,0.97) 40%, rgba(240,208,245,0.97) 70%, rgba(255,240,245,0.97) 100%) !important; }

/* --- 主题下拉菜单 --- */
html.theme-warm #zzThemeDropdown { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest #zzThemeDropdown { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura #zzThemeDropdown { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 表单卡片 --- */
html.theme-warm .zz-form-card { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-form-card { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-form-card { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }

/* --- 操作列表 --- */
html.theme-warm .zz-action-list { background: linear-gradient(135deg, #fff8ea 0%, #fbe8d0 40%, #f5d8c0 70%, #fff0e0 100%) !important; }
html.theme-forest .zz-action-list { background: linear-gradient(135deg, #f0faef 0%, #dcefd8 40%, #d0e8d8 70%, #e0f5e8 100%) !important; }
html.theme-sakura .zz-action-list { background: linear-gradient(135deg, #fff4f8 0%, #f8dbe8 40%, #f0d0f5 70%, #fff0f5 100%) !important; }
