* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f8f4ee;
    color: #5a4a42;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部标题栏 */
.header {
    background-color: #fff9f0;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f0e6d6;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b38a58;
    letter-spacing: 0.5px;
}

.header-icon {
    font-size: 1.3rem;
    color: #b38a58;
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-icon:active {
    opacity: 0.7;
}

/* 内容区域 */
.content {
    flex: 1;
    padding: 20px 15px;
    overflow-y: auto;
}

/* 日记卡片 */
.diary-card {
    background-color: #fff;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    transition: all 0.25s ease;
    border: 1px solid #f0e6d6;
}

.diary-card:active {
    transform: scale(0.98);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.diary-time {
    width: 70px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diary-date {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e67e22;
    line-height: 1;
}

.diary-week {
    font-size: 0.75rem;
    color: #e67e22;
    margin: 5px 0;
    font-weight: 500;
    opacity: 0.9;
}

.diary-hour {
    font-size: 0.75rem;
    color: #e67e22;
    opacity: 0.8;
    font-weight: 500;
}

.diary-content {
    flex: 1;
    padding-left: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5a4a42;
    border-left: 1px dashed #f0e6d6;
    padding-top: 3px;
}

/* 加载更多 */
.load-more {
    text-align: center;
    margin-top: 10px;
    color: #b38a58;
    font-size: 0.9rem;
    padding: 12px;
    cursor: pointer;
}

.load-more:active {
    opacity: 0.7;
}