        /* 基础样式 - 与主页面保持一致 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('../图片/壁纸.jpg') no-repeat center center;
            background-size: cover;
            z-index: -2;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            /* 新增的固定全屏属性 */
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            max-width: none; /* 覆盖原有的max-width限制 */
            margin: 0; /* 移除原有的auto margin */
            border-radius: 0; /* 可选：移除圆角以实现真正的全屏 */
        }
        
        /* 头部导航 */
        .header {
            background: linear-gradient(90deg, #6e8efb, #a777e3);
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: white;
            position: relative;
            z-index: 10;
        }
        
        .back-btn {
            color: white;
            text-decoration: none;
            font-size: 16px;
            display: flex;
            align-items: center;
        }
        
        .back-btn i {
            margin-right: 8px;
        }
        
        /* 日记容器 - 新增滚动区域 */
        .diary-container {
            height: calc(100vh - 70px);
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        /* 日记内容区域 - 优化部分 */
        .diary-text {
            background: rgba(255, 255, 255, 0.8);
            padding: 25px;
            border-radius: 12px;
            line-height: 1.8;
            font-size: 17px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            color: #444;
            text-align: justify;
            /* 高度自适应内容 */
            height: auto;
            min-height: auto;
        }
        
        .diary-title {
            text-align: center;
            margin-bottom: 20px;
            color: #6e8efb;
            position: relative;
            padding-bottom: 15px;
        }
        
        .diary-title:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #6e8efb, #a777e3);
        }
        
        .diary-date {
            text-align: center;
            color: #888;
            margin-bottom: 30px;
            font-size: 16px;
            font-style: italic;
        }
        
        .diary-text p {
            margin-bottom: 15px;
        }
        
        .diary-text p:last-child {
            margin-bottom: 0;
        }
        
        .diary-mood {
            text-align: center;
            margin-top: 30px;
            font-size: 24px;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .diary-container {
                padding: 15px;
                gap: 20px;
            }
            
            .diary-text {
                padding: 20px;
                font-size: 16px;
            }
        }