/* ===== 留言板气泡样式（复用碎碎念风格） ===== */
.guestbook-bubble {
    padding: 14px 18px 14px;
    margin-bottom: 14px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    background-image:
        linear-gradient(to right, rgba(180, 160, 140, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(180, 160, 140, 0.10) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
}

.guestbook-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.guestbook-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

/* 文字头像（昵称首字母） */
.guestbook-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #0f1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.guestbook-body {
    flex: 1;
    min-width: 0;
}

.guestbook-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}

.guestbook-name {
    font-weight: 600;
    font-size: 14px;
    color: #0f1a2e;
}

.guestbook-time {
    font-size: 12px;
    color: #94a3b8;
}

.guestbook-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #1e293b;
}

/* ===== 发布表单 ===== */
.guestbook-form {
    margin-bottom: 4px;
}

.guestbook-form input,
.guestbook-form textarea {
    transition: border-color 0.2s ease;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
    border-color: #0f1a2e;
    outline: none;
    background: #ffffff;
}

.guestbook-form button:hover {
    background: #1e293b;
}