/* ============================================================
   ✅ 全新签名弹窗 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; }
.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: #1c1c1c1e; 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); }
.zz-app-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.zz-app-icon-wrap .zz-change-icon-btn { display: none !important; }
.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; }

@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: 8px; 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: 6px 14px; border-radius: 20px; background: #f2f2f7; font-size: 11px; 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;
}
.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-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; }
@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); }
.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); }

/* ===== ✅ 隐藏指定元素的 CSS ===== */
#zzQueryBtn, .zz-query-udid-row { display: none !important; }
a[href="/zsjq/index.php"], a[href="/zsgm/index.html"], button[data-member-action="buycert"], a[href="/index/dumpapp/index"] { display: none !important; }