* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.phone2-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0d1117;
    font-family: 'SimSun', 'Songti SC', serif;
}

/* ========== 手机外壳 ========== */

.phone2 {
    width: 320px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* ========== 屏幕区域 ========== */

.phone2-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 24px;
    overflow-y: auto;
    padding: 24px 20px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.phone2-screen::-webkit-scrollbar {
    display: none;
}

/* ========== 桌面 ========== */

.phone2-home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.app-icon {
    text-align: center;
    cursor: pointer;
}

.app-icon-img {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    margin-bottom: 8px;
}

.app-icon p {
    font-size: 12px;
    color: #c9d1d9;
}

/* ========== 应用内部 ========== */

.phone2-app {
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #222;
    margin-bottom: 16px;
    font-size: 14px;
    color: #8b949e;
}

.app-header span:first-child {
    cursor: pointer;
}

/* ========== 信息 ========== */

.message-contact {
    padding: 14px 0;
    border-bottom: 1px solid #222;
    cursor: pointer;
}

.contact-name {
    font-size: 17px;
    color: #fff;
    margin-bottom: 4px;
}

.contact-preview {
    font-size: 14px;
    color: #8b949e;
}

.chat-box {
    padding: 16px 0;
}

.msg-left {
    background: #1a1a1a;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 2px;
    margin-bottom: 10px;
    max-width: 80%;
    font-size: 15px;
    line-height: 1.6;
}

.msg-right {
    background: #2a3a2a;
    padding: 10px 14px;
    border-radius: 12px 12px 2px 12px;
    margin-bottom: 10px;
    max-width: 80%;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.6;
}

/* ========== 搜猫 ========== */

.search-bar {
    display: flex;
    gap: 8px;
}

.search-bar input {
    flex: 1;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.search-bar button {
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #8b949e;
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-bar button:hover {
    border-color: #e6edf3;
    color: #e6edf3;
}

.search-result {
    padding: 16px 0;
    border-bottom: 1px solid #222;
}

.result-title {
    font-size: 16px;
    color: #6ca0dc;
    margin-bottom: 4px;
}

.result-date {
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 8px;
}

.result-content {
    font-size: 15px;
    color: #c9d1d9;
    line-height: 1.7;
}

.no-result {
    text-align: center;
    color: #8b949e;
    font-size: 15px;
    padding: 40px 0;
}