#app-checkphone {
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --c-bg: #F4F3F0;
    --c-black: #1C1C1E;
    --c-white: #FFFFFF;
    --c-gray: #8E8E93;
    --c-gold: #C3A772;
    --c-border: rgba(0,0,0,0.06);
}

#app-checkphone .cp-serif { font-family: 'Playfair Display', 'Times New Roman', serif; }
#app-checkphone .cp-mono { font-family: 'Courier New', 'SF Mono', monospace; }

#app-checkphone .cp-phone-case {
    width: 380px; height: 820px;
    background-color: #f9f9f9;
    border-radius: 55px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15), 0 30px 60px -30px rgba(0,0,0,0.2), inset 0 0 4px 3px rgba(255,255,255,0.8);
    position: relative; padding: 12px;
    border: 1px solid #d1d1d6;
    transform: scale(min(calc(100vw / 400), calc(100vh / 850)));
    transform-origin: center center;
}

#app-checkphone .cp-screen-container {
    width: 100%; height: 100%; background-color: var(--c-bg);
    border-radius: 43px; position: relative; overflow: hidden;
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

#app-checkphone .cp-dynamic-island {
    position: absolute; top: 12px; left: 50%; transform: translate(-50%, -20px); 
    width: 110px; height: 32px; background-color: #000; border-radius: 20px; z-index: 9999;
    box-shadow: inset 0 0 4px rgba(255,255,255,0.2); display: flex; justify-content: flex-end; align-items: center; padding: 0 10px;
    opacity: 0; pointer-events: none; transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#app-checkphone .cp-dynamic-island.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

#app-checkphone .cp-camera-lens {
    width: 12px; height: 12px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4a4a55 0%, #08080c 60%);
    box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

#app-checkphone .cp-global-status-bar {
    position: absolute; top: 0; left: 0; width: 100%; height: 50px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 28px; font-size: 14px; font-weight: 600; z-index: 9998; color: var(--c-black); 
    opacity: 0; pointer-events: none; transition: opacity 0.6s ease;
}
#app-checkphone .cp-global-status-bar.show { opacity: 1; }
#app-checkphone .cp-status-right { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
#app-checkphone .cp-battery-icon { width: 22px; height: 11px; border: 1px solid currentColor; border-radius: 3px; position: relative; padding: 1px; opacity: 0.8; }
#app-checkphone .cp-battery-icon::after { content: ''; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 2px; height: 4px; background: currentColor; border-radius: 0 2px 2px 0; }
#app-checkphone .cp-battery-level { width: 80%; height: 100%; background: currentColor; border-radius: 1px; }

#app-checkphone .cp-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transition: transform 0.5s var(--ease-in-out), opacity 0.5s var(--ease-in-out); opacity: 0; pointer-events: none;
    background: var(--c-bg);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
#app-checkphone .cp-screen.active { opacity: 1; pointer-events: auto; }

#cp-selection-screen { transform: scale(0.98); }
#cp-selection-screen.active { transform: scale(1); }

#app-checkphone .cp-bg-stripes {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none;
    background-image: repeating-linear-gradient(0deg, rgba(0,0,0,0.015) 0px, rgba(0,0,0,0.015) 1px, transparent 1px, transparent 3px);
    z-index: 0;
}
#app-checkphone .cp-bg-watermark {
    position: absolute; top: 15%; right: -15%; font-family: 'Playfair Display', serif; 
    font-size: 110px; font-weight: 900; font-style: italic; color: rgba(0,0,0,0.02); pointer-events: none; z-index: 0;
}
#app-checkphone .cp-corner-cross { position: absolute; width: 10px; height: 10px; fill: none; stroke: var(--c-gray); stroke-width: 1.5; opacity: 0.3; z-index: 0;}
#app-checkphone .cp-cc-tl { top: 60px; left: 24px; } #app-checkphone .cp-cc-tr { top: 60px; right: 24px; }
#app-checkphone .cp-cc-bl { bottom: 40px; left: 24px; } #app-checkphone .cp-cc-br { bottom: 40px; right: 24px; }

#app-checkphone .cp-aesthetic-header { 
    position: absolute; top: 60px; left: 0; width: 100%;
    text-align: center; z-index: 30; pointer-events: none;
}
#app-checkphone .cp-aesthetic-header .cp-sub { font-size: 8px; color: var(--c-gold); letter-spacing: 3px; font-weight: 800; margin-bottom: 4px; }
#app-checkphone .cp-aesthetic-header .cp-title { font-size: 20px; font-weight: 900; color: var(--c-black); letter-spacing: 4px; }

/* ==============================================
   V3.7.1 核心修复：滚动容器
   ============================================== */
#app-checkphone .cp-dossier-scroll-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    overflow-y: auto; 
    padding: 200px 0 200px 0;
    scrollbar-width: none; z-index: 10;
    overscroll-behavior: contain;
    -webkit-over-scrolling: touch;
}
#app-checkphone .cp-dossier-scroll-container::-webkit-scrollbar { display: none; }

#app-checkphone .cp-dossier-wrapper {
    flex-shrink: 0; width: 260px;
    cursor: pointer; transition: all 0.5s var(--ease-out);
    opacity: 0.7; transform: scale(0.94);
}
#app-checkphone .cp-dossier-wrapper.active { 
    opacity: 1 !important; 
    transform: scale(1) !important; 
    z-index: 20; 
}

#app-checkphone .cp-dossier-card {
    background: var(--c-white); border-radius: 24px; padding: 20px;
    border: 0.5px solid var(--c-border);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    display: flex; flex-direction: column; align-items: center; position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
}
#app-checkphone .cp-dossier-wrapper.active .cp-dossier-card {
    border-color: rgba(0,0,0,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

#app-checkphone .cp-dossier-top-meta {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    font-size: 9px; font-weight: 800; color: var(--c-gray); letter-spacing: 1px; margin-bottom: 20px;
}
#app-checkphone .cp-dossier-status { display: flex; align-items: center; gap: 4px; }
#app-checkphone .cp-dossier-status.online { color: var(--c-black); }
#app-checkphone .cp-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c-gray); }
#app-checkphone .cp-dossier-status.online .cp-status-dot { background: #34C759; box-shadow: 0 0 6px rgba(52,199,89,0.4); }

#app-checkphone .cp-dossier-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--c-black); font-size: 28px; font-weight: 400;
    background: var(--c-bg); border: 2px solid var(--c-white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06); margin-bottom: 16px;
    overflow: hidden;
}
#app-checkphone .cp-dossier-avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

#app-checkphone .cp-dossier-name { font-size: 22px; font-weight: 600; color: var(--c-black); letter-spacing: 2px; margin-bottom: 8px; }
#app-checkphone .cp-dossier-desc { font-size: 11px; color: var(--c-gray); font-weight: 500; letter-spacing: 0.5px; text-align: center; line-height: 1.4; }

#app-checkphone .cp-bottom-action-zone {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 120px;
    background: linear-gradient(to top, var(--c-bg) 40%, transparent);
    display: flex; justify-content: center; align-items: center; z-index: 30; pointer-events: none;
}
#app-checkphone .cp-btn-black-capsule {
    background: var(--c-black); color: var(--c-white);
    padding: 16px 40px; border-radius: 100px; border: none;
    font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); cursor: pointer; pointer-events: auto;
    transition: all 0.3s var(--ease-out); font-family: inherit;
}
#app-checkphone .cp-btn-black-capsule:active { transform: scale(0.95); }

#app-checkphone .cp-exit-btn, #app-checkphone .cp-exit-btn-home {
    position: absolute; top: 60px; left: 24px; width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid var(--c-border); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; z-index: 99999 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.2s var(--ease-out);
    pointer-events: auto !important;
}
#app-checkphone .cp-exit-btn:active, #app-checkphone .cp-exit-btn-home:active { transform: scale(0.85); }
#app-checkphone .cp-exit-btn svg, #app-checkphone .cp-exit-btn-home svg { width: 16px; height: 16px; fill: var(--c-black); margin-right: 2px; pointer-events: none; }

#cp-loading-screen {
    display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 15;
}
#app-checkphone .cp-loading-spinner {
    width: 80px; height: 80px; position: relative;
    display: flex; justify-content: center; align-items: center; margin-bottom: 40px;
}
#app-checkphone .cp-loading-circle {
    position: absolute; width: 100%; height: 100%;
    border: 1.5px dashed var(--c-gray); border-radius: 50%;
    animation: cpSpinRing 4s linear infinite;
}
#app-checkphone .cp-loading-circle-inner {
    position: absolute; width: 65%; height: 65%;
    border: 1px solid rgba(0,0,0,0.1); border-radius: 50%;
    animation: cpSpinRingReverse 3s linear infinite;
}
#app-checkphone .cp-loading-star {
    width: 20px; height: 20px; fill: var(--c-black);
    animation: cpPulseGlow 1.5s ease-in-out infinite;
}
@keyframes cpSpinRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes cpSpinRingReverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes cpPulseGlow { 0%, 100% { transform: scale(0.9); opacity: 0.6; } 50% { transform: scale(1.2); opacity: 1; filter: drop-shadow(0 0 4px rgba(0,0,0,0.2)); } }

#app-checkphone .cp-loading-text-main { font-size: 12px; color: var(--c-black); letter-spacing: 3px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; }
#app-checkphone .cp-loading-text-sub { font-size: 10px; color: var(--c-gray); letter-spacing: 2px; font-weight: 600; }

#cp-home-screen { transform: scale(1.05); }
#cp-home-screen.active { transform: scale(1); }

#app-checkphone .cp-wallpaper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    transition: background 0.8s ease; background-size: cover; background-position: center;
}
#app-checkphone .cp-wallpaper::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 0; mix-blend-mode: multiply;
}

#app-checkphone .cp-profile-widget {
    margin: 115px 24px 24px; height: 220px; 
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(40px) saturate(150%); -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 0.5px solid rgba(255, 255, 255, 0.8); border-radius: 28px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03), inset 0 1px 2px rgba(255,255,255,1);
    position: relative; overflow: hidden; z-index: 2;
}

#app-checkphone .cp-widget-top-bar {
    position: absolute; top: 16px; left: 20px; right: 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 9px; font-weight: 800; color: rgba(0,0,0,0.4); letter-spacing: 2px;
}
#app-checkphone .cp-widget-top-bar svg { width: 12px; height: 12px; fill: rgba(0,0,0,0.4); }

#app-checkphone .cp-widget-avatar {
    width: 75px; height: 75px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--c-black); font-size: 24px; font-weight: 400;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); border: 2px solid var(--c-white);
    margin-bottom: 12px; z-index: 2; margin-top: 10px; background: var(--c-bg);
    overflow: hidden;
}
#app-checkphone .cp-widget-avatar img { width: 100%; height: 100%; object-fit: cover; }
#app-checkphone .cp-widget-name { font-size: 20px; font-weight: 600; color: var(--c-black); z-index: 2; letter-spacing: 2px; }
#app-checkphone .cp-widget-status { 
    font-size: 10px; color: var(--c-black); margin-top: 8px; 
    display: flex; align-items: center; gap: 6px; z-index: 2; font-weight: 700; letter-spacing: 1px;
    background: rgba(255,255,255,0.6); padding: 5px 12px; border-radius: 20px; backdrop-filter: blur(10px);
    text-transform: uppercase;
}

#app-checkphone .cp-app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; padding: 0 24px; z-index: 2; position: relative;}
#app-checkphone .cp-app-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s; }
#app-checkphone .cp-app-item:active { transform: scale(0.85); }

#app-checkphone .cp-app-icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04); margin-bottom: 8px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border: 0.5px solid var(--c-border); position: relative; overflow: hidden;
}
#app-checkphone .cp-app-icon svg { width: 28px; height: 28px; z-index: 2; fill: var(--c-black); }
#app-checkphone .cp-app-name { font-size: 11px; color: var(--c-black); font-weight: 600; letter-spacing: 0.5px;}

#app-checkphone .cp-ic-dark { background: var(--c-black); border: none;}
#app-checkphone .cp-ic-dark svg { fill: var(--c-white); }

#app-checkphone .cp-dock {
    position: absolute; bottom: 24px; left: 16px; right: 16px; height: 86px;
    background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(40px) saturate(150%); -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 0.5px solid rgba(255, 255, 255, 0.8); border-radius: 32px;
    display: flex; justify-content: space-around; align-items: center; padding: 0 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); z-index: 2;
    transition: opacity 0.3s var(--ease-out);
}
#app-checkphone .cp-dock .cp-app-name { display: none; }
#app-checkphone .cp-dock .cp-app-icon { margin-bottom: 0; box-shadow: none; border: none; background: transparent; }
#app-checkphone .cp-dock .cp-app-icon svg { fill: var(--c-black); width: 32px; height: 32px; }

#app-checkphone .cp-home-indicator {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    width: 130px; height: 5px; background-color: var(--c-black);
    border-radius: 10px; z-index: 100; cursor: pointer; opacity: 0.8;
    transition: opacity 0.3s var(--ease-out);
}

#cp-home-screen.app-opened .cp-dock,
#cp-home-screen.app-opened .cp-home-indicator {
    opacity: 0;
    pointer-events: none;
}

#cp-app-screen {
    background: var(--c-white); z-index: 500; transform: translateY(100%); opacity: 1 !important; border-radius: 0 0 43px 43px;
    display: flex; flex-direction: column; overflow: hidden;
}
#cp-app-screen.active { transform: translateY(0); }

#app-checkphone .cp-app-header {
    padding: 70px 24px 20px; display: flex; align-items: center;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); 
    border-bottom: 0.5px solid var(--c-border); flex-shrink: 0; z-index: 10;
    transform: translateZ(0); 
}
#app-checkphone .cp-back-btn { font-size: 15px; color: var(--c-black); cursor: pointer; display: flex; align-items: center; gap: 4px; font-weight: 600; }
#app-checkphone .cp-back-btn svg { width: 18px; height: 18px; fill: currentColor; }
#app-checkphone .cp-app-title { flex: 1; text-align: center; font-size: 16px; font-weight: 800; color: var(--c-black); margin-right: 40px; letter-spacing: 1px;}

#app-checkphone .cp-app-content-area {
    flex: 1; overflow-y: auto; scrollbar-width: none; position: relative;
}
#app-checkphone .cp-app-content-area::-webkit-scrollbar { display: none; }

#app-checkphone .cp-app-content-default { padding: 40px 24px; text-align: center; }
#app-checkphone .cp-skeleton-line { height: 10px; background: var(--c-bg); border-radius: 5px; margin-bottom: 16px; width: 100%; }
#app-checkphone .cp-skeleton-line:last-child { width: 60%; margin: 0 auto; }

#app-checkphone .cp-fold-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease-out); }
#app-checkphone .cp-fold-wrapper.open { grid-template-rows: 1fr; }
#app-checkphone .cp-fold-inner { overflow: hidden; }

#app-checkphone .cp-app-content-gallery { padding: 24px 24px 100px; display: none; flex-direction: column; }
#app-checkphone .cp-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; align-items: start; }
#app-checkphone .cp-gallery-item { display: flex; flex-direction: column; cursor: pointer; }
#app-checkphone .cp-gallery-img-box { width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: var(--c-bg); border: 0.5px solid var(--c-border); position: relative; }
#app-checkphone .cp-gallery-img-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.1); transition: transform 0.6s var(--ease-out); }
#app-checkphone .cp-gallery-item:active .cp-gallery-img-box img { transform: scale(1.05); }
#app-checkphone .cp-gallery-meta { font-size: 9px; color: var(--c-gray); font-weight: 800; letter-spacing: 1px; margin-top: 12px; }
#app-checkphone .cp-gallery-desc { padding-top: 8px; font-size: 12px; color: var(--c-black); line-height: 1.6; opacity: 0; transform: translateY(-10px); transition: all 0.5s var(--ease-out); font-weight: 500; }
#app-checkphone .cp-fold-wrapper.open .cp-gallery-desc { opacity: 1; transform: translateY(0); }

#app-checkphone .cp-app-content-notes { padding: 10px 24px 100px; display: none; flex-direction: column; gap: 0; }
#app-checkphone .cp-note-item { border-bottom: 0.5px solid var(--c-border); padding: 24px 0; cursor: pointer; }
#app-checkphone .cp-note-date { font-size: 10px; color: var(--c-gray); letter-spacing: 1.5px; margin-bottom: 10px; font-weight: 600; }
#app-checkphone .cp-note-title { font-size: 18px; font-weight: 800; color: var(--c-black); margin-bottom: 8px; letter-spacing: 0.5px; }
#app-checkphone .cp-note-preview { font-size: 13px; color: var(--c-gray); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#app-checkphone .cp-note-full-content { padding-top: 24px; font-size: 14px; color: var(--c-black); line-height: 1.8; opacity: 0; transform: translateY(-10px); transition: all 0.5s var(--ease-out); }
#app-checkphone .cp-note-full-content::first-letter { font-size: 32px; font-weight: 900; float: left; line-height: 1; margin-right: 6px; margin-top: 4px; font-family: 'Playfair Display', serif; }
#app-checkphone .cp-fold-wrapper.open .cp-note-full-content { opacity: 1; transform: translateY(0); }

#app-checkphone .cp-app-content-calls { padding: 10px 24px 100px; display: none; flex-direction: column; gap: 0; }
#app-checkphone .cp-call-item { border-bottom: 0.5px solid var(--c-border); padding: 16px 0; cursor: pointer; }
#app-checkphone .cp-call-main { display: flex; align-items: center; justify-content: space-between; }
#app-checkphone .cp-call-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c-bg); border: 0.5px solid var(--c-border); display: flex; justify-content: center; align-items: center; font-size: 18px; color: var(--c-black); flex-shrink: 0; }
#app-checkphone .cp-call-info { flex: 1; margin-left: 16px; display: flex; flex-direction: column; gap: 4px; }
#app-checkphone .cp-call-name { font-size: 16px; font-weight: 600; color: var(--c-black); }
#app-checkphone .cp-call-name.missed { color: var(--c-gray); }
#app-checkphone .cp-call-type { font-size: 10px; color: var(--c-gray); letter-spacing: 1px; font-weight: 600; }
#app-checkphone .cp-call-time { font-size: 12px; color: var(--c-gray); font-weight: 500; }
#app-checkphone .cp-call-detail { padding: 20px 10px 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(-10px); transition: all 0.5s var(--ease-out); }
#app-checkphone .cp-fold-wrapper.open .cp-call-detail { opacity: 1; transform: translateY(0); }
#app-checkphone .cp-cd-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--c-black); letter-spacing: 1px; border-bottom: 1px dashed var(--c-border); padding-bottom: 4px; }
#app-checkphone .cp-cd-row span:first-child { color: var(--c-gray); font-weight: 600;}
#app-checkphone .cp-cd-row span:last-child { font-weight: 800; }
#app-checkphone .cp-call-transcript { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-border); display: flex; flex-direction: column; gap: 12px; }
#app-checkphone .cp-transcript-header { font-size: 9px; color: var(--c-gray); letter-spacing: 2px; font-weight: 700; margin-bottom: 4px; }
#app-checkphone .cp-transcript-line { display: flex; flex-direction: column; gap: 4px; }
#app-checkphone .cp-ts-speaker { font-size: 10px; font-weight: 800; color: var(--c-black); }
#app-checkphone .cp-ts-text { font-size: 13px; color: var(--c-black); line-height: 1.6; padding-left: 10px; border-left: 2px solid var(--c-black); }

#app-checkphone .cp-app-content-explore { padding: 10px 24px 100px; display: none; flex-direction: column; gap: 0; }
#app-checkphone .cp-history-item { border-bottom: 0.5px solid var(--c-border); padding: 16px 0; cursor: pointer; }
#app-checkphone .cp-hi-top { display: flex; align-items: center; gap: 12px; }
#app-checkphone .cp-hi-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--c-bg); border: 0.5px solid var(--c-border); display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
#app-checkphone .cp-hi-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--c-black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#app-checkphone .cp-hi-info { flex: 1; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
#app-checkphone .cp-hi-query { font-size: 15px; font-weight: 600; color: var(--c-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#app-checkphone .cp-hi-time { font-size: 10px; color: var(--c-gray); letter-spacing: 1px; font-weight: 600;}
#app-checkphone .cp-hi-reply { margin-top: 16px; padding: 14px; background: #EAEAEA; border-radius: 8px; border-left: 3px solid var(--c-black); opacity: 0; transform: translateY(-10px); transition: all 0.5s var(--ease-out); }
#app-checkphone .cp-fold-wrapper.open .cp-hi-reply { opacity: 1; transform: translateY(0); }
#app-checkphone .cp-reply-header { font-size: 9px; color: var(--c-gray); letter-spacing: 2px; font-weight: 800; margin-bottom: 6px; }
#app-checkphone .cp-reply-text { font-size: 13px; color: var(--c-black); line-height: 1.6; font-weight: 500;}

#app-checkphone .cp-app-content-secret { padding: 10px 24px 100px; display: none; flex-direction: column; gap: 0; }
#app-checkphone .cp-secret-item { border-bottom: 0.5px solid var(--c-border); padding: 20px 0; cursor: pointer; }
#app-checkphone .cp-secret-time { font-size: 10px; color: var(--c-gray); letter-spacing: 1.5px; margin-bottom: 12px; font-weight: 600; }
#app-checkphone .cp-secret-sent-box { display: flex; align-items: flex-start; gap: 10px; }
#app-checkphone .cp-secret-label { font-size: 9px; padding: 3px 6px; background: var(--c-bg); border: 0.5px solid var(--c-border); border-radius: 4px; font-weight: 800; color: var(--c-gray); margin-top: 2px;}
#app-checkphone .cp-secret-sent-text { font-size: 15px; color: var(--c-black); font-weight: 600; }
#app-checkphone .cp-secret-draft-box { margin-top: 16px; padding: 16px; background: var(--c-black); border-radius: 12px; opacity: 0; transform: translateY(-10px); transition: all 0.5s var(--ease-out); }
#app-checkphone .cp-fold-wrapper.open .cp-secret-draft-box { opacity: 1; transform: translateY(0); }
#app-checkphone .cp-draft-label { font-size: 9px; color: var(--c-gray); letter-spacing: 2px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 6px;}
#app-checkphone .cp-draft-label::before { content: ''; width: 4px; height: 4px; background: #FF3B30; border-radius: 50%; box-shadow: 0 0 4px #FF3B30;}
#app-checkphone .cp-draft-text { font-size: 14px; color: var(--c-white); line-height: 1.6; font-family: 'Playfair Display', serif; }

#cp-app-chat-screen {
    background: var(--c-white); z-index: 800; transform: translateY(100%); opacity: 1 !important; border-radius: 0 0 43px 43px;
    display: flex; flex-direction: column; overflow: hidden;
}
#cp-app-chat-screen.active { transform: translateY(0); }

#app-checkphone .cp-chat-app-view {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--c-white); display: flex; flex-direction: column;
    transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
#cp-chat-list-view { transform: translateX(0); }
#cp-chat-list-view.hidden-left { transform: translateX(-30%); opacity: 0; pointer-events: none; }
#cp-chat-detail-view { transform: translateX(100%); z-index: 10; background: var(--c-bg); }
#cp-chat-detail-view.active { transform: translateX(0); }

#app-checkphone .cp-cl-header {
    padding: 60px 24px 15px; display: flex; flex-direction: column; gap: 12px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border-bottom: 0.5px solid var(--c-border); z-index: 5;
    transform: translateZ(0);
}
#app-checkphone .cp-cl-header-top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
#app-checkphone .cp-cl-title { font-size: 24px; font-weight: 900; color: var(--c-black); letter-spacing: 1px; }

#app-checkphone .cp-cl-search-bar {
    margin: 15px 20px 5px; padding: 10px 16px; background: var(--c-bg); border-radius: 12px;
    display: flex; align-items: center; gap: 8px; border: 0.5px solid var(--c-border);
}
#app-checkphone .cp-cl-search-bar svg { width: 14px; height: 14px; stroke: var(--c-gray); stroke-width: 2; fill: none; }
#app-checkphone .cp-cl-search-bar input { border: none; background: transparent; outline: none; font-size: 14px; width: 100%; color: var(--c-black); }
#app-checkphone .cp-cl-search-bar input::placeholder { color: var(--c-gray); }

#app-checkphone .cp-cl-list { flex: 1; overflow-y: auto; padding: 0 10px 80px; scrollbar-width: none; }
#app-checkphone .cp-cl-item {
    display: flex; align-items: center; padding: 12px 10px; border-bottom: 0.5px solid var(--c-border);
    cursor: pointer; transition: background 0.2s; border-radius: 12px;
}
#app-checkphone .cp-cl-item:active { background: var(--c-bg); }

#app-checkphone .cp-cl-item.pinned { background: rgba(0,0,0,0.02); }
#app-checkphone .cp-cl-item.pinned:active { background: rgba(0,0,0,0.05); }
#app-checkphone .cp-pin-icon { width: 12px; height: 12px; fill: var(--c-gray); margin-left: 4px; transform: rotate(45deg); opacity: 0.6;}

#app-checkphone .cp-cl-avatar {
    width: 48px; height: 48px; border-radius: 14px; background: var(--c-bg);
    display: flex; justify-content: center; align-items: center; font-size: 18px; color: var(--c-black);
    flex-shrink: 0; margin-right: 14px; border: 0.5px solid var(--c-border);
    overflow: hidden;
}

#app-checkphone .cp-cl-content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
#app-checkphone .cp-cl-name-row { display: flex; justify-content: space-between; align-items: center; }
#app-checkphone .cp-cl-name { font-size: 16px; font-weight: 600; color: var(--c-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center;}
#app-checkphone .cp-cl-time { font-size: 11px; color: var(--c-gray); flex-shrink: 0; }
#app-checkphone .cp-cl-msg-row { display: flex; justify-content: space-between; align-items: center; }
#app-checkphone .cp-cl-msg { font-size: 13px; color: var(--c-gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; }
#app-checkphone .cp-cl-unread { width: 8px; height: 8px; background: var(--c-black); border-radius: 50%; flex-shrink: 0; }

#app-checkphone .cp-cd-header {
    padding: 60px 20px 15px; display: flex; justify-content: space-between; align-items: center;
    background: rgba(244,243,240,0.9); backdrop-filter: blur(20px); border-bottom: 0.5px solid var(--c-border); z-index: 5;
    transform: translateZ(0);
}
#app-checkphone .cp-cd-back { display: flex; align-items: center; gap: 4px; font-size: 15px; color: var(--c-black); cursor: pointer; font-weight: 600; width: 60px;}
#app-checkphone .cp-cd-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#app-checkphone .cp-cd-title { font-size: 16px; font-weight: 800; color: var(--c-black); text-align: center; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#app-checkphone .cp-cd-more { width: 60px; display: flex; justify-content: flex-end; cursor: pointer; }
#app-checkphone .cp-cd-more svg { width: 20px; height: 20px; fill: var(--c-black); }

#app-checkphone .cp-cd-messages {
    flex: 1; overflow-y: auto; padding: 20px 16px 90px; scrollbar-width: none;
    display: flex; flex-direction: column; gap: 16px;
}
#app-checkphone .cp-cd-time-divider { text-align: center; font-size: 10px; color: var(--c-gray); margin: 10px 0; font-weight: 600; letter-spacing: 1px;}

#app-checkphone .cp-msg-row { display: flex; width: 100%; align-items: flex-start; gap: 10px; }
#app-checkphone .cp-msg-row.me { justify-content: flex-start; flex-direction: row-reverse; }
#app-checkphone .cp-msg-row.them { justify-content: flex-start; }

#app-checkphone .cp-msg-avatar { width: 36px; height: 36px; border-radius: 12px; background: var(--c-white); border: 0.5px solid var(--c-border); display: flex; justify-content: center; align-items: center; font-size: 14px; flex-shrink: 0; overflow: hidden; }
#app-checkphone .cp-msg-body { display: flex; flex-direction: column; max-width: 70%; }
#app-checkphone .cp-msg-row.me .cp-msg-body { align-items: flex-end; }
#app-checkphone .cp-msg-row.them .cp-msg-body { align-items: flex-start; }

#app-checkphone .cp-msg-bubble {
    padding: 10px 14px; font-size: 14px; line-height: 1.5; word-wrap: break-word; text-align: left;
}
#app-checkphone .cp-msg-row.me .cp-msg-bubble {
    background: var(--c-black); color: var(--c-white);
    border-radius: 18px 4px 18px 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
#app-checkphone .cp-msg-row.them .cp-msg-bubble {
    background: var(--c-white); color: var(--c-black); border: 0.5px solid var(--c-border);
    border-radius: 4px 18px 18px 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

#app-checkphone .cp-cd-input-bar {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 10px 16px calc(10px + 24px); background: rgba(244,243,240,0.9); backdrop-filter: blur(20px);
    border-top: 0.5px solid var(--c-border); display: flex; align-items: center; gap: 12px; z-index: 5;
}
#app-checkphone .cp-cd-icon-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--c-black); display: flex; justify-content: center; align-items: center; cursor: pointer; flex-shrink: 0; }
#app-checkphone .cp-cd-icon-btn svg { width: 14px; height: 14px; fill: none; stroke: var(--c-black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

#app-checkphone .cp-cd-input-box {
    flex: 1; background: var(--c-white); border: 0.5px solid var(--c-border); border-radius: 20px;
    padding: 8px 16px; font-size: 14px; outline: none; color: var(--c-black);
}
#app-checkphone .cp-cd-input-box::placeholder { color: var(--c-gray); }

#app-checkphone .cp-wallpaper-btn {
    position: absolute; top: 60px; right: 24px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid var(--c-border); border-radius: 50%;
    display: none; justify-content: center; align-items: center;
    cursor: pointer; z-index: 99998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.3s var(--ease-out);
    pointer-events: auto;
}
#app-checkphone .cp-wallpaper-btn.show { display: flex; }
#app-checkphone .cp-wallpaper-btn:active { transform: scale(0.85); }
#app-checkphone .cp-wallpaper-btn svg {
    width: 16px; height: 16px; fill: none; stroke: var(--c-black); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    pointer-events: none;
}

#cp-stealth-toggle {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
}
#cp-stealth-toggle * { pointer-events: none !important; }

#cp-selection-screen { position: relative; }

.cp-aesthetic-header {
    position: relative;
    z-index: 50;
}

.cp-bg-stripes,
.cp-bg-watermark,
.cp-corner-cross {
    pointer-events: none !important;
}

#app-checkphone .cp-app-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 70px 24px 20px !important;
}

#app-checkphone .cp-app-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}

#cp-app-action-btns {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

#app-checkphone .cp-back-btn {
    flex-shrink: 0 !important;
    width: 40px !important;
}

#app-checkphone .cp-gallery-zoom-modal {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out, ease);
    cursor: pointer;
}
#app-checkphone .cp-gallery-zoom-modal.show {
    opacity: 1;
    pointer-events: auto;
}

#app-checkphone .cp-gallery-zoom-box {
    width: 100%;
    max-width: 320px;
    min-height: 200px;
    background: linear-gradient(135deg, #FDFDFD 0%, #F4F3F0 100%);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
#app-checkphone .cp-gallery-zoom-modal.show .cp-gallery-zoom-box {
    transform: scale(1);
}

#app-checkphone .cp-gallery-zoom-meta {
    font-size: 9px;
    color: var(--c-gray);
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Courier New', monospace;
}

#app-checkphone .cp-gallery-zoom-desc {
    font-size: 14px;
    color: var(--c-black);
    line-height: 1.8;
    text-align: center;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-width: none;
}
#app-checkphone .cp-gallery-zoom-desc::-webkit-scrollbar { display: none; }

#app-checkphone .cp-gallery-zoom-hint {
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

#app-checkphone .cp-cl-header {
    padding: 60px 24px 15px !important;
}
#app-checkphone .cp-cl-header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
}
#app-checkphone .cp-cl-title {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}
#app-checkphone #cp-messages-action-btns {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: 60px !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
}
#app-checkphone .cp-cl-header-top > .cp-back-btn,
#app-checkphone .cp-cl-header-top [class*="cp-back"] {
    flex-shrink: 0 !important;
    width: 40px !important;
    font-size: 14px !important;
    color: var(--c-black) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 600 !important;
}
#app-checkphone .cp-cl-header-top > .cp-back-btn svg,
#app-checkphone .cp-cl-header-top [class*="cp-back"] svg {
    width: 16px !important;
    height: 16px !important;
}

#app-checkphone #cp-messages-action-btns .cp-app-action-btn {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 0.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--c-black);
    transition: all 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
#app-checkphone #cp-messages-action-btns .cp-app-action-btn:active { transform: scale(0.88); }

#app-checkphone #cp-cd-more-btn {
    cursor: pointer !important;
    transition: opacity 0.2s !important;
}
#app-checkphone #cp-cd-more-btn:active { opacity: 0.5; transform: scale(0.9); }

#app-checkphone #cp-cd-dropdown {
    font-family: var(--font-sans, inherit);
    animation: cpChatMenuIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#app-checkphone #cp-cd-dropdown .cp-cd-dropdown-item {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
#app-checkphone #cp-cd-dropdown .cp-cd-dropdown-item:active { transform: scale(0.97); }
@keyframes cpChatMenuIn {
    0% { opacity: 0; transform: translateY(-8px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

#app-checkphone .cp-cl-header-top .cp-back-btn-svg {
    width: 16px;
    height: 16px;
    fill: var(--c-black);
}

#app-checkphone .cp-cl-header { z-index: 20 !important; }

#cp-app-chat-screen { background: var(--c-bg) !important; }

#app-checkphone #cp-app-chat-screen .cp-home-indicator { z-index: 100; }

/* ==================================================
   🚀 V3.10 NEW: 群详情弹窗 (wechat-style bottom sheet)
   ================================================== */

/* 弹窗遮罩层 */
#app-checkphone .cp-group-detail-modal-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}
#app-checkphone .cp-group-detail-modal-overlay.active {
    opacity: 1;
}

/* 抽屉式sheet */
#app-checkphone .cp-group-detail-sheet {
    width: 100%;
    max-height: 85%;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
#app-checkphone .cp-group-detail-modal-overlay.active .cp-group-detail-sheet {
    transform: translateY(0);
}

/* 顶部拉条 */
#app-checkphone .cp-gd-handle {
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
    margin: 8px auto 4px;
    flex-shrink: 0;
}

/* 头部信息区 */
#app-checkphone .cp-gd-header {
    padding: 12px 20px 20px;
    border-bottom: 0.5px solid rgba(0,0,0,0.05);
    text-align: center;
    flex-shrink: 0;
    background: #FFFFFF;
}

/* 群头像四宫格（与列表样式一致） */
#app-checkphone .cp-gd-avatar-grid {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    padding: 2px;
    background: #EAEAEA;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
#app-checkphone .cp-gd-avatar-grid > div {
    background: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    color: #333;
    font-weight: 600;
}
#app-checkphone .cp-gd-avatar-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 群名 */
#app-checkphone .cp-gd-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-black);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
    word-break: break-word;
    padding: 0 8px;
}

/* 群统计信息 */
#app-checkphone .cp-gd-stats {
    font-size: 9px;
    color: var(--c-gray);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}
#app-checkphone .cp-gd-stat-sep {
    margin: 0 6px;
    opacity: 0.5;
}

/* 群描述 */
#app-checkphone .cp-gd-desc {
    font-size: 11px;
    color: var(--c-gray);
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.4;
    padding: 0 12px;
    word-break: break-word;
}

/* 数据未生成警告横幅 */
#app-checkphone .cp-gd-data-warn {
    margin: 12px auto 0;
    padding: 8px 12px;
    background: rgba(255, 149, 0, 0.08);
    border: 0.5px solid rgba(255, 149, 0, 0.2);
    border-radius: 10px;
    font-size: 10px;
    color: #B26A00;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    max-width: 100%;
}

/* 成员列表区（可滚动） */
#app-checkphone .cp-gd-members-section {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
#app-checkphone .cp-gd-members-section::-webkit-scrollbar {
    display: none;
}

/* 区块标题 */
#app-checkphone .cp-gd-section-title {
    font-size: 9px;
    color: var(--c-gray);
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

/* 成员列表 */
#app-checkphone .cp-gd-members-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 单个成员行 */
#app-checkphone .cp-gd-member-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(0,0,0,0.025);
    transition: background 0.2s;
}
#app-checkphone .cp-gd-member-row:active {
    background: rgba(0,0,0,0.05);
}

/* 成员头像 */
#app-checkphone .cp-gd-member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-black);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 0.5px solid rgba(0,0,0,0.04);
}
#app-checkphone .cp-gd-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#app-checkphone .cp-gd-member-avatar span {
    line-height: 1;
}

/* 成员信息（名字+角色） */
#app-checkphone .cp-gd-member-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#app-checkphone .cp-gd-member-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-black);
    font-family: 'Playfair Display', serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#app-checkphone .cp-gd-member-role {
    font-size: 9px;
    color: var(--c-gray);
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

/* 更多成员提示 */
#app-checkphone .cp-gd-more-hint {
    text-align: center;
    padding: 12px 0 4px;
    font-size: 10px;
    color: var(--c-gray);
    letter-spacing: 1px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    opacity: 0.6;
}

/* 底部操作栏 */
#app-checkphone .cp-gd-bottom-bar {
    padding: 12px 20px calc(20px + var(--safe-bottom, 0px));
    border-top: 0.5px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* 操作按钮 */
#app-checkphone .cp-gd-action-btn {
    flex: 1;
    padding: 14px;
    border-radius: 100px;
    background: var(--c-black);
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    letter-spacing: 0.5px;
    font-family: inherit;
}
#app-checkphone .cp-gd-action-btn:active {
    transform: scale(0.96);
    background: #333;
}

/* ==================================================
   🚀 V3.10 NEW: 错误提示toast样式 (通用)
   ================================================== */
#app-checkphone .cp-error-toast {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.88);
    color: #FFFFFF;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    z-index: 99999;
    max-width: 80%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    animation: cpErrorToastIn 0.3s ease;
}
#app-checkphone .cp-error-toast .cp-err-title {
    font-weight: 800;
    margin-bottom: 4px;
    font-size: 13px;
}
#app-checkphone .cp-error-toast .cp-err-msg {
    font-size: 11px;
    opacity: 0.9;
    line-height: 1.5;
    white-space: pre-wrap;
}
#app-checkphone .cp-error-toast .cp-err-close {
    margin-top: 8px;
    font-size: 10px;
    opacity: 0.6;
    text-align: right;
    letter-spacing: 1px;
}
@keyframes cpErrorToastIn {
    0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==================================================
   🚀 V3.10 NEW: 通信App加载遮罩样式
   ================================================== */
#app-checkphone .cp-messages-loading-overlay {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(253,253,253,0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}
#app-checkphone .cp-msgs-loading-icon {
    font-size: 32px;
    margin-bottom: 16px;
    animation: cpPulseGlow 1.5s ease-in-out infinite;
}
#app-checkphone .cp-msgs-loading-title {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--c-black);
    margin-bottom: 8px;
    font-weight: 800;
}
#app-checkphone .cp-msgs-loading-progress {
    font-size: 28px;
    font-weight: 200;
    color: var(--c-black);
    margin-bottom: 8px;
}
#app-checkphone .cp-msgs-loading-status {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--c-gray);
    font-weight: 600;
}

/* ==================================================
   🚀 V3.10 NEW: 应用加载遮罩样式 (gallery/notes/calls等)
   ================================================== */
#app-checkphone #cp-app-loading-overlay {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(253,253,253,0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 999 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}
#app-checkphone #cp-app-loading-overlay[style*="display: flex"] {
    opacity: 1 !important;
}

/* ==================================================
   🚀 V3.10 兼容性修复：char选择页溢出处理
   ================================================== */
#app-checkphone #cp-scroll-container {
    overscroll-behavior: contain;
    -webkit-over-scrolling: touch;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
#app-checkphone .cp-dossier-wrapper {
    pointer-events: auto;
    -webkit-user-select: none;
    user-select: none;
}

/* ==================================================
   🚀 V3.10 兼容性修复：确保选择页按钮在最上层
   ================================================== */
#app-checkphone #cp-stealth-toggle {
    position: relative;
    z-index: 100;
}
#app-checkphone .cp-bottom-action-zone {
    z-index: 30 !important;
    pointer-events: none;
}
#app-checkphone .cp-btn-black-capsule {
    pointer-events: auto !important;
    z-index: 31;
    -webkit-tap-highlight-color: transparent;
}

/* ==================================================
   🚀 V3.10 NEW: 群聊头像四宫格的图片溢出修复
   ================================================== */
#app-checkphone .cp-cl-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#app-checkphone .cp-cl-avatar {
    background-size: cover;
    background-position: center;
}

/* ==================================================
   🚀 V3.10 NEW: 列表项点击反馈增强
   ================================================== */
#app-checkphone .cp-cl-item {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.15s ease, transform 0.1s ease;
}
#app-checkphone .cp-cl-item:active {
    transform: scale(0.98);
}

/* ==================================================
   🚀 V3.10 NEW: 群聊名字括号数字样式优化
   ================================================== */
#app-checkphone .cp-cl-name span {
    display: inline-block;
    margin-left: 4px;
}

/* ==================================================
   修复：查手机选择页 STEALTH 胶囊按钮样式
   防止重复文字、SVG 巨大化、按钮错位
   ================================================== */

#app-checkphone #cp-stealth-toggle {
    margin: 22px auto 0 !important;
    width: fit-content !important;
    min-width: 150px !important;
    height: 42px !important;
    padding: 0 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    background: rgba(255, 255, 255, 0.45) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 999px !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.035),
        inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;

    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;

    cursor: pointer !important;
    user-select: none !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100 !important;

    transition: all 0.3s var(--ease-out) !important;
}

#app-checkphone #cp-stealth-toggle:active {
    transform: scale(0.96) !important;
}

#app-checkphone #cp-stealth-toggle * {
    pointer-events: none !important;
}

#app-checkphone #cp-stealth-icon {
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    min-height: 19px !important;
    max-width: 19px !important;
    max-height: 19px !important;

    display: block !important;
    flex: 0 0 19px !important;

    color: var(--c-gray) !important;
    stroke: currentColor !important;
    opacity: 0.75 !important;
}

#app-checkphone #cp-stealth-label {
    display: inline-block !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: 3px !important;
    color: var(--c-black) !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

#app-checkphone #cp-stealth-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;

    border-radius: 50% !important;
    background: var(--c-gold) !important;
    opacity: 0.35 !important;

    display: block !important;
    flex: 0 0 6px !important;

    transition: all 0.3s var(--ease-out) !important;
}