/* ===== 微信后日谈 ===== */
#wechat-screen {
    flex-direction: column;
    background: #ededed;
}

.wechat-container {
    width: 100%;
    max-width: 480px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #ededed;
}

.wechat-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #ededed;
    border-bottom: 1px solid #d9d9d9;
    position: relative;
}

.wechat-back {
    background: none;
    border: none;
    font-size: 20px;
    color: #000;
    cursor: pointer;
    padding: 4px 8px;
}

.wechat-contact {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 4px;
}

.wechat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #ccc;
    overflow: hidden;
}

.wechat-avatar::after {
    content: '她';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wechat-name {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.wechat-actions {
    font-size: 20px;
    color: #000;
    padding: 4px 8px;
}

.wechat-chat {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wechat-date {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding: 4px 0;
}

.wechat-message {
    display: flex;
    animation: messageIn 0.3s ease;
}

.wechat-message.from-her {
    justify-content: flex-start;
}

.wechat-message.from-me {
    justify-content: flex-end;
}

.wechat-bubble {
    max-width: 70%;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #000;
}

.wechat-message.from-her .wechat-bubble {
    background: #fff;
}

.wechat-message.from-me .wechat-bubble {
    background: #95ec69;
}

.wechat-input-area {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #f7f7f7;
    border-top: 1px solid #d9d9d9;
    gap: 10px;
}

#wechat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-main);
    outline: none;
    background: #fff;
}

#wechat-input:focus {
    border-color: #999;
}

.wechat-send-btn {
    padding: 8px 16px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-main);
    cursor: pointer;
}

.wechat-send-btn:active {
    background: #06ad56;
}

.wechat-send-btn:disabled {
    background: #aaa;
    cursor: not-allowed;
}
