.memory-app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f5f5f5;
    color: #333;
}

.memory-header {
    padding: 40px 20px 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.memory-title {
    font-size: 18px;
    font-weight: bold;
}

/* 角色列表样式 */
.memory-contact-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
}

.memory-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 15px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.memory-contact-item:active {
    transform: scale(0.95);
}

.memory-contact-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 8px;
    background-color: #eee;
}

.memory-contact-name {
    font-size: 13px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.memory-tabs {
    display: flex;
    background: #fff;
    padding: 10px 20px;
    gap: 20px;
    border-bottom: 1px solid #eee;
}

.memory-tab {
    font-size: 14px;
    color: #666;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
}

.memory-tab.active {
    color: #000;
    font-weight: bold;
}

.memory-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.auto-summary-settings-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.memory-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.memory-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.memory-item-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.memory-item-text {
    font-size: 15px;
    line-height: 1.5;
    word-break: break-all;
}

.memory-item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.memory-action-btn {
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.memory-action-btn.delete {
    color: #ff4d4f;
}

.memory-footer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.memory-input-group {
    display: flex;
    gap: 10px;
}

.memory-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

.memory-send-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
}
