#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; }

#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; scroll-snap-type: y mandatory;
    padding: 280px 0; scrollbar-width: none; z-index: 10;
    mask-image: linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 95%);
    -webkit-mask-image: -webkit-linear-gradient(top, transparent 5%, black 25%, black 75%, transparent 95%);
}
#app-checkphone .cp-dossier-scroll-container::-webkit-scrollbar { display: none; }

#app-checkphone .cp-dossier-wrapper {
    scroll-snap-align: center; flex-shrink: 0; width: 260px;
    cursor: pointer; transition: all 0.5s var(--ease-out);
}
#app-checkphone .cp-dossier-wrapper:not(.active) { opacity: 0.35; transform: scale(0.85); }
#app-checkphone .cp-dossier-wrapper.active { opacity: 1; transform: scale(1); 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;
}

#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);
}
#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;
}
