<!-- 侧栏底部趣味区 -->
<div class="author-fun" style="
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
    text-align: center;
    font-size: 13px;
    color: #888;
">
    <span id="moodText">正在加载心情...</span>
    <br><br>
    <button onclick="changeMood()" style="
        background: none;
        border: 1px solid #ccc;
        border-radius: 12px;
        padding: 4px 10px;
        cursor: pointer;
        font-size: 12px;
        color: #666;
    ">换一种心情</button>
</div>

<script>
    const moods = [
        "✨ 今天也在认真搬砖",
        "🍵 喝茶写代码,养生博主",
        "🌙 夜深了,脑子最清醒",
        "🎵 听歌中,请勿打扰",
        "🚀 准备起飞,灵感爆棚",
        "🐱 猫在看我写代码"
    ];
    function changeMood() {
        const text = document.getElementById("moodText");
        let newMood;
        do {
            newMood = moods[Math.floor(Math.random() * moods.length)];
        } while (text.innerText === newMood);
        text.innerText = newMood;
    }
    window.onload = changeMood;
</script>