
    /* ======================================
       全局基础样式（优化质感）
       ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #fdfaf6;
    background-image: radial-gradient(rgba(212, 168, 168, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(212, 168, 168, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    color: #6d5b5b;
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 90px;
    opacity: 0;
    animation: pageFadeIn 1.5s ease-in-out forwards;
    padding-bottom: 60px;
    position: relative;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 阅读进度条（优化渐变） */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #d4a8a8, #c89898, #b88888, #c89898, #d4a8a8);
    background-size: 200% 100%;
    animation: progressGradient 3s ease infinite;
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: 0 2px 12px rgba(212, 168, 168, 0.3);
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ======================================
   两侧填充装饰（强化精致感）
   ====================================== */
.side-decoration {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.side-left {
    left: 0;
    background: linear-gradient(to right, rgba(212, 168, 168, 0.2), transparent);
}

.side-right {
    right: 0;
    background: linear-gradient(to left, rgba(212, 168, 168, 0.2), transparent);
}

.decoration-petal {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50% 0;
    background: #d4a8a8;
    transform: rotate(45deg);
    animation: petalFloatVertical linear infinite;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.4);
}

/* 优化花瓣动画节奏 */
.side-left .decoration-petal:nth-child(1) {
    top: 10%;
    left: 30px;
    animation-duration: 20s;
    animation-delay: 0s;
}

.side-left .decoration-petal:nth-child(2) {
    top: 25%;
    left: 60px;
    animation-duration: 25s;
    animation-delay: 5s;
}

.side-left .decoration-petal:nth-child(3) {
    top: 40%;
    left: 20px;
    animation-duration: 18s;
    animation-delay: 2s;
}

.side-left .decoration-petal:nth-child(4) {
    top: 55%;
    left: 70px;
    animation-duration: 22s;
    animation-delay: 8s;
}

.side-left .decoration-petal:nth-child(5) {
    top: 70%;
    left: 40px;
    animation-duration: 19s;
    animation-delay: 4s;
}

.side-left .decoration-petal:nth-child(6) {
    top: 85%;
    left: 50px;
    animation-duration: 24s;
    animation-delay: 10s;
}

.side-right .decoration-petal:nth-child(1) {
    top: 10%;
    right: 30px;
    animation-duration: 19s;
    animation-delay: 1s;
}

.side-right .decoration-petal:nth-child(2) {
    top: 25%;
    right: 60px;
    animation-duration: 23s;
    animation-delay: 6s;
}

.side-right .decoration-petal:nth-child(3) {
    top: 40%;
    right: 20px;
    animation-duration: 21s;
    animation-delay: 3s;
}

.side-right .decoration-petal:nth-child(4) {
    top: 55%;
    right: 70px;
    animation-duration: 24s;
    animation-delay: 9s;
}

.side-right .decoration-petal:nth-child(5) {
    top: 70%;
    right: 40px;
    animation-duration: 20s;
    animation-delay: 5s;
}

.side-right .decoration-petal:nth-child(6) {
    top: 85%;
    right: 50px;
    animation-duration: 22s;
    animation-delay: 11s;
}

@keyframes petalFloatVertical {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: rotate(45deg) scale(1.1);
    }
    50% {
        transform: rotate(45deg) translate(0, 75px) scale(1.05);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(0, 150px) scale(0.9);
        opacity: 0;
    }
}

.decoration-text {
    position: absolute;
    writing-mode: vertical-rl;
    font-size: 16px;
    color: #d4a8a8;
    opacity: 0.8;
    letter-spacing: 12px;
    font-style: italic;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0 1px 3px rgba(212, 168, 168, 0.4);
    animation: textBreath 4s ease-in-out infinite;
    background: linear-gradient(180deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes textBreath {
    0%, 100% {
        opacity: 0.8;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.05);
    }
}

.side-left .decoration-text {
    left: 40px;
    content: "温柔倾诉 用心回应";
}

.side-right .decoration-text {
    right: 40px;
    content: "每一条留言 都被珍惜";
}

/* ======================================
   导航栏样式（更精致的光影）
   ====================================== */
.nav {
    width: 80%;
    max-width: 1000px;
    padding: 8px 2.5%;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(212, 168, 168, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(212, 168, 168, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #d4a8a8, #f3e0e0, #d4a8a8);
    border-radius: 62px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(1px);
}

.nav:hover::after {
    opacity: 1;
}

.nav.scroll {
    width: 60%;
    max-width: 700px;
    padding: 6px 2.5%;
    top: 8px;
    box-shadow: 0 10px 40px rgba(212, 168, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(212, 168, 168, 0.15);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.5s ease;
}

.nav.scroll .author-info {
    gap: 5px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-avatar::after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, #d4a8a8, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: avatarRotate 8s linear infinite;
}

@keyframes avatarRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.nav-avatar:hover::after {
    opacity: 1;
}

.nav.scroll .nav-avatar {
    width: 32px;
    height: 32px;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05);
}

.author-info:hover .nav-avatar {
    transform: rotate(5deg) scale(1.08);
}

.logo {
    font-size: 18px;
    color: #d4a8a8;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 1px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav.scroll .logo {
    font-size: 15px;
    letter-spacing: 0.6px;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    box-shadow: 0 1px 3px rgba(212, 168, 168, 0.6);
    transition: width 0.4s ease;
}

.author-info:hover .logo::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
}

.nav-item {
    margin-left: 22px;
    text-decoration: none;
    color: #8a7a7a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.nav.scroll .nav-item {
    margin-left: 16px;
    font-size: 12px;
}

.nav-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    border-radius: 1px;
    box-shadow: 0 1px 4px rgba(212, 168, 168, 0.5);
    transition: width 0.4s ease;
}

.nav-item:hover {
    color: #d4a8a8;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(212, 168, 168, 0.2);
}

.nav-item:hover::before {
    width: 80%;
}

.nav-item.active {
    color: #d4a8a8;
    text-shadow: 0 2px 4px rgba(212, 168, 168, 0.2);
}

.nav-item.active::before {
    width: 80%;
}

/* ======================================
   留言板核心样式（大幅优化精致度）
   ====================================== */
.message-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 2;
}

/* 留言板头部（强化渐变和光影） */
.message-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    /*background: linear-gradient(120deg, #f9e9e9 0%, #f3e0e0 100%);*/
    border-radius: 28px;
    position: relative;
    /*overflow: hidden;*/
    /*box-shadow: 0 10px 40px rgba(212, 168, 168, 0.12),*/
    /*inset 0 1px 0 rgba(255, 255, 255, 0.9),*/
    /*inset 0 -1px 0 rgba(212, 168, 168, 0.1);*/
    /*animation: headerFloat 6s ease-in-out infinite;*/
    /*border: 1px solid rgba(255, 255, 255, 0.7);*/
}

@keyframes headerFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

/* 头部装饰光点 */
.message-header::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.message-header::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(212, 168, 168, 0.08);
    border-radius: 50%;
    z-index: 0;
    animation: circleFloat 10s ease-in-out infinite;
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10px, 10px) scale(1.1);
    }
}

.message-title {
    font-size: 36px;
    color: #7d6a6a;
    margin-bottom: 18px;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
    font-weight: 500;
    text-shadow: 0 4px 12px rgba(212, 168, 168, 0.15);
    animation: titleBounce 3s ease-in-out infinite;
    background: linear-gradient(180deg, #7d6a6a, #5d4a4a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes titleBounce {
    0%, 100% {
        transform: translateY(0);
        text-shadow: 0 4px 12px rgba(212, 168, 168, 0.15);
    }
    50% {
        transform: translateY(-5px);
        text-shadow: 0 6px 18px rgba(212, 168, 168, 0.25);
    }
}

.message-desc {
    font-size: 17px;
    color: #a89696;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 0 20px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* 留言输入区域（更通透的毛玻璃） */
.message-input-section {
    /*background: rgba(255, 255, 255, 0.98);*/
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 35px 40px;
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06),*/
    /*inset 0 1px 0 rgba(255, 255, 255, 0.9),*/
    /*inset 0 -1px 0 rgba(212, 168, 168, 0.1);*/
    margin-bottom: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.8);*/
    position: relative;
    overflow: hidden;
}

/* 输入区域装饰线条 */
.message-input-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a8a8, #f3e0e0, #d4a8a8);
    border-radius: 3px 3px 0 0;
}

.input-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.input-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.input-item {
    flex: 1;
    min-width: 200px;
}

.input-label {
    display: block;
    font-size: 14px;
    color: #8a7a7a;
    margin-bottom: 10px;
    padding-left: 8px;
    font-weight: 500;
}

.input-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(212, 168, 168, 0.25);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    font-family: inherit;
    font-size: 14px;
    color: #6d5b5b;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(212, 168, 168, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.8);
}

.input-control:focus {
    outline: none;
    border-color: #d4a8a8;
    box-shadow: 0 0 0 4px rgba(212, 168, 168, 0.15),
    inset 0 2px 4px rgba(212, 168, 168, 0.08);
    transform: translateY(-1px);
}

.input-control::placeholder {
    color: #c8b8b8;
    font-style: italic;
}

.textarea-control {
    height: 160px;
    resize: vertical;
    line-height: 1.7;
}

.submit-btn {
    align-self: flex-end;
    padding: 14px 35px;
    border-radius: 35px;
    border: none;
    background: linear-gradient(90deg, #d4a8a8, #c89898);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 168, 168, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.8s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #c89898, #b88888);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 168, 168, 0.35);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212, 168, 168, 0.25);
}

/* 留言统计（优化布局和质感） */
.message-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(212, 168, 168, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a7a7a;
    font-size: 15px;
}

.stats-item i {
    color: #d4a8a8;
    font-size: 18px;
}

.stats-number {
    color: #d4a8a8;
    font-weight: 600;
    font-size: 18px;
    background: linear-gradient(90deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.filter-control {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 168, 0.25);
    background: transparent;
    color: #8a7a7a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active {
    background: linear-gradient(90deg, #d4a8a8, #c89898);
    color: white;
    border-color: #d4a8a8;
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.2);
}

.filter-btn:hover:not(.active) {
    border-color: #d4a8a8;
    color: #d4a8a8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.1);
}

/* 留言列表（强化卡片质感） */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.message-item {
    /*background: rgba(255, 255, 255, 0.95);*/
    backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 30px 35px;
    /*box-shadow: 0 8px 30px rgba(212, 168, 168, 0.08),*/
    /*inset 0 1px 0 rgba(255, 255, 255, 0.9);*/
    border-left: 4px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    /*border: 1px solid rgba(255, 255, 255, 0.7);*/
}

/* 留言卡片装饰光效 */
.message-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 168, 0.08), transparent);
    transition: all 1s ease;
}

.message-item:hover::before {
    left: 100%;
}

.message-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(212, 168, 168, 0.15);
    border-left-color: #d4a8a8;
}

.message-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.message-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.15);
    transition: all 0.3s ease;
}

.message-item:hover .user-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(212, 168, 168, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 16px;
    color: #7d6a6a;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.message-time {
    font-size: 13px;
    color: #b8a8a8;
    font-style: italic;
}

.message-tools {
    display: flex;
    gap: 18px;
}

.message-tool-btn {
    font-size: 13px;
    color: #a89696;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 15px;
}

.message-tool-btn:hover {
    color: #d4a8a8;
    transform: translateY(-2px);
    background: rgba(212, 168, 168, 0.08);
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.1);
}

.message-content {
    font-size: 16px;
    color: #6d5b5b;
    line-height: 1.9;
    margin-bottom: 20px;
    padding-left: 8px;
    border-left: 3px solid rgba(212, 168, 168, 0.15);
    padding-bottom: 5px;
}

.message-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 168, 168, 0.15);
}

.action-left {
    display: flex;
    gap: 25px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #a89696;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 18px;
}

.action-btn:hover {
    color: #d4a8a8;
    background: rgba(212, 168, 168, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.1);
}

.action-btn.liked {
    color: #d4a8a8;
    background: rgba(212, 168, 168, 0.1);
}

.action-btn.liked i {
    animation: heartBeat 1s ease infinite;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 回复列表（更精致的嵌套效果） */
.reply-list {
    margin-top: 25px;
    padding-left: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reply-item {
    /*background: rgba(255, 255, 255, 0.9);*/
    border-radius: 18px;
    padding: 20px 25px;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05),*/
    /*inset 0 1px 0 rgba(255, 255, 255, 0.9);*/
    transition: all 0.4s ease;
    /*border: 1px solid rgba(255, 255, 255, 0.7);*/
    position: relative;
}

.reply-item::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 20px;
    width: 8px;
    height: 8px;
    background: #d4a8a8;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 168, 168, 0.2);
}

.reply-item::after {
    content: "";
    position: absolute;
    left: -6px;
    top: 28px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, #d4a8a8, transparent);
    opacity: 0.3;
}

.reply-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(212, 168, 168, 0.12);
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reply-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reply-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.1);
}

.reply-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05);
}

.reply-username {
    font-size: 14px;
    color: #7d6a6a;
    font-weight: 600;
}

.reply-username::after {
    content: "";
    margin-left: 5px;
    padding: 2px 6px;
    background: rgba(212, 168, 168, 0.15);
    color: #d4a8a8;
    font-size: 10px;
    border-radius: 6px;
}

.reply-user:has(.reply-username:contains("syyue")) .reply-username::after {
    content: "博主";
}

.reply-time {
    font-size: 12px;
    color: #b8a8a8;
    font-style: italic;
}

.reply-content {
    font-size: 15px;
    color: #6d5b5b;
    line-height: 1.8;
    padding-left: 5px;
}

.reply-form {
    margin-top: 20px;
    display: none;
}

.reply-form.show {
    display: block;
    animation: replyFormShow 0.5s ease-out forwards;
}

@keyframes replyFormShow {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.reply-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(212, 168, 168, 0.25);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    resize: none;
    height: 90px;
    font-family: inherit;
    font-size: 14px;
    color: #6d5b5b;
    line-height: 1.7;
    margin-bottom: 12px;
    box-shadow: inset 0 2px 4px rgba(212, 168, 168, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.8);
}

.reply-textarea:focus {
    outline: none;
    border-color: #d4a8a8;
    box-shadow: 0 0 0 4px rgba(212, 168, 168, 0.15),
    inset 0 2px 4px rgba(212, 168, 168, 0.08);
    transform: translateY(-1px);
}

.reply-textarea::placeholder {
    color: #c8b8b8;
    font-style: italic;
}

.reply-btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.reply-submit {
    padding: 8px 22px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(90deg, #d4a8a8, #c89898);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(212, 168, 168, 0.2);
}

.reply-submit:hover {
    background: linear-gradient(90deg, #c89898, #b88888);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 168, 168, 0.3);
}

.reply-cancel {
    padding: 8px 22px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 168, 0.25);
    background: transparent;
    color: #8a7a7a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.reply-cancel:hover {
    border-color: #d4a8a8;
    color: #d4a8a8;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 168, 168, 0.1);
}

/* 空状态（更精致的视觉） */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #b8a8a8;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    box-shadow: 0 8px 30px rgba(212, 168, 168, 0.08);
    margin-bottom: 40px;
}

.empty-icon {
    font-size: 60px;
    margin-bottom: 25px;
    color: #d4a8a8;
    opacity: 0.5;
    animation: emptyBreath 4s ease-in-out infinite;
}

@keyframes emptyBreath {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.08);
    }
}

.empty-text {
    font-size: 18px;
    margin-bottom: 15px;
    color: #8a7a7a;
}

.empty-subtext {
    font-size: 15px;
    line-height: 1.8;
}

/* 返回顶部按钮（修复样式+显示问题） */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 168, 0.4);
    color: #d4a8a8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 168, 168, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    font-size: 22px;
}

.back-to-top::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, #d4a8a8, transparent);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: btnRotate 8s linear infinite;
    filter: blur(1px);
}

@keyframes btnRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.back-to-top:hover::after {
    opacity: 1;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
    animation: backToTopShow 0.5s ease-out forwards;
}

@keyframes backToTopShow {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
    70% {
        transform: scale(1.15) translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(212, 168, 168, 0.1);
    color: #c89898;
    box-shadow: 0 12px 30px rgba(212, 168, 168, 0.25);
}

/* 悬浮提示（更精致的质感） */
.floating-card {
    position: fixed;
    left: 20px;
    bottom: 20px;
    top: auto;
    transform: none;
    z-index: 998;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 168, 0.4);
    border-radius: 18px;
    padding: 20px 15px;
    width: 160px;
    box-shadow: 0 8px 30px rgba(212, 168, 168, 0.15);
    text-align: center;
    animation: floatCardCycle 10s ease-in-out infinite 1.8s;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes floatCardCycle {
    0% {
        opacity: 0;
        transform: translateX(-30px) translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-5px) translateY(5px);
    }
    100% {
        opacity: 0;
        transform: translateX(-10px) translateY(10px);
    }
}

.floating-card:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(212, 168, 168, 0.25);
    border-color: rgba(212, 168, 168, 0.6);
    animation-play-state: paused;
}

.floating-card .card-icon {
    font-size: 26px;
    color: #d4a8a8;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.8s ease-in-out infinite;
    background: linear-gradient(180deg, #d4a8a8, #b88888);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes breathRotate {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(8deg);
    }
}

.floating-card:hover .card-icon {
    animation: breathRotate 2.5s ease-in-out infinite;
}

.floating-card .card-text {
    font-size: 14px;
    color: #8c7676;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.floating-card .card-subtext {
    font-size: 12px;
    color: #a89696;
    margin-top: 8px;
    display: block;
    font-style: italic;
}

/* 页脚样式（优化质感） */
.footer {
    text-align: center;
    padding: 50px 20px;
    color: #b8a8a8;
    font-size: 15px;
    margin-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8%;
    padding-right: 8%;
    z-index: 2;
    position: relative;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    line-height: 2;
}

.footer p {
    transition: color 0.4s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.footer:hover p {
    color: #d4a8a8;
    text-shadow: 0 2px 4px rgba(212, 168, 168, 0.15);
}

.footer p:first-child {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* ======================================
   移动端适配（优化小屏体验）
   ====================================== */
@media (max-width: 1200px) {
    .side-decoration {
        display: none;
    }
}

@media (max-width: 992px) {
    .floating-card {
        display: none;
    }

    .message-container {
        max-width: 850px;
        padding: 0 5%;
    }

    .message-header {
        padding: 35px 15px;
    }

    .message-title {
        font-size: 32px;
    }

    .message-input-section {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 75px;
        background-size: 40px 40px;
    }

    .nav {
        width: 85%;
        padding: 6px 2%;
    }

    .nav.scroll {
        width: 70%;
    }

    .nav-item {
        margin-left: 18px;
        font-size: 13px;
    }

    .nav.scroll .nav-item {
        margin-left: 14px;
        font-size: 11px;
    }

    .message-container {
        max-width: 100%;
    }

    .message-title {
        font-size: 28px;
    }

    .message-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 15px 20px;
    }

    .reply-list {
        padding-left: 30px;
    }

    .reply-item::before {
        left: -15px;
    }

    .reply-item::after {
        left: -11px;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .nav {
        width: 90%;
        padding: 5px 2%;
    }

    .nav-avatar {
        width: 32px;
        height: 32px;
    }

    .nav.scroll .nav-avatar {
        width: 28px;
        height: 28px;
    }

    .logo {
        font-size: 16px;
    }

    .nav.scroll .logo {
        font-size: 14px;
    }

    .nav-item {
        margin-left: 14px;
        font-size: 12px;
    }

    .nav.scroll .nav-item {
        margin-left: 10px;
        font-size: 11px;
    }

    .message-title {
        font-size: 24px;
    }

    .message-input-section {
        padding: 25px 20px;
    }

    .input-row {
        flex-direction: column;
        gap: 18px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px 0;
    }

    .message-item {
        padding: 25px 20px;
    }

    .message-content {
        font-size: 15px;
    }

    .reply-list {
        padding-left: 20px;
    }

    .reply-item {
        padding: 15px 20px;
    }
}
