         .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(5px); z-index: 200; display: none; justify-content: center; align-items: center; padding: 20px; overscroll-behavior: none; }
.modal-overlay.active { display: flex; }
.modal-content { width: 100%; background: rgba(250,250,252,0.95); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border-radius: 28px; padding: 18px; animation: scaleInQ 0.5s cubic-bezier(0.34, 1.8, 0.64, 1); border: 0.5px solid rgba(255,255,255,0.5); box-shadow: 0 24px 60px rgba(0,0,0,0.15); max-height: 85vh; overflow-y: auto; overscroll-behavior-y: none; -webkit-overflow-scrolling: touch; }
@keyframes scaleInQ { 0% { transform: scale(0.7); opacity: 0;} 100% { transform: scale(1); opacity: 1;} }
.modal-title { font-size: 18px; font-weight: 800; text-align: center; margin-bottom: 20px; letter-spacing: 0.5px; color: var(--c-black);}
.modal-btns { display: flex; gap: 12px; margin-top: 24px; }
.m-btn { flex: 1; padding: 16px; border-radius: 16px; font-weight: 700; cursor: pointer; text-align: center; font-size: 15px; transition: 0.2s; letter-spacing: 0.5px;}
.m-btn-cancel { background: rgba(0,0,0,0.05); color: var(--c-black); }
.m-btn-cancel:active { background: rgba(0,0,0,0.1); }
.m-btn-save { background: var(--c-black); color: var(--c-white); box-shadow: 0 8px 20px rgba(28,28,30,0.2);}
.m-btn-save:active { transform: scale(0.97); }
/* 确保更新公告弹窗内的加粗文字颜色正确 */
#update-notice-modal b {
    color: var(--c-black);
    font-weight: 800;
}
.action-sheet-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(5px); z-index: 300; display: none; flex-direction: column; justify-content: flex-end; padding: 15px; padding-bottom: calc(15px + var(--safe-bottom)); overscroll-behavior: none; }
         .action-sheet-overlay.active { display: flex; }
         .action-sheet { width: 100%; background: transparent; animation: slideUpQ 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
         @keyframes slideUpQ { 0% { transform: translateY(100%); } 100% { transform: translateY(0); } }
         .as-group { background: rgba(250,250,252,0.95); backdrop-filter: blur(30px); border-radius: 24px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border: 0.5px solid rgba(255,255,255,0.5);}
         .as-btn { width: 100%; padding: 20px; text-align: center; font-size: 16px; font-weight: 600; background: transparent; border: none; border-bottom: 0.5px solid rgba(0,0,0,0.05); cursor: pointer; color: var(--c-black); transition: background 0.2s;}
         .as-btn:last-child { border-bottom: none; }
         .as-btn:active { background: rgba(0,0,0,0.05); }
         .as-btn.danger { color: #FF3B30; font-weight: 700;}
         .as-cancel { background: var(--c-card); border-radius: 24px; font-weight: 700; box-shadow: 0 10px 40px rgba(0,0,0,0.1);}
         .chat-menu-panel { background: rgba(245,245,247,0.95); backdrop-filter: blur(30px); border-radius: 32px 32px 0 0; padding: 36px 24px calc(24px + var(--safe-bottom)); border-top: 0.5px solid rgba(255,255,255,0.6); box-shadow: 0 -10px 40px rgba(0,0,0,0.1);}
         .cm-grid { display: flex; flex-wrap: wrap; gap: 24px; }
         .cm-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; width: calc(25% - 18px); }
         .cm-item:active .cm-icon-box { transform: scale(0.9); background: var(--c-gray-mid); }
         .cm-icon-box { width: 64px; height: 64px; background: var(--c-card); border-radius: 20px; display: flex; justify-content: center; align-items: center; font-size: 26px; transition: 0.2s cubic-bezier(0.2,0.8,0.2,1); border: none; box-shadow: 0 8px 20px rgba(0,0,0,0.04); margin-bottom: 10px; color: var(--c-black);}
         .cm-text { font-size: 12px; color: var(--c-gray-dark); font-weight: 700; text-align: center; }