@charset "utf-8";

/*
 * ========================================
 *   Wishcore 四叶草风格 - ZenMind
 *   深烟熏灰 · 模糊波点 · 旧纸张噪点
 *   磨砂玻璃卡片 · 四叶草光标 · 星光粒子
 * ========================================
 */

:root {
    --font-color-0: #7a6b5a;
    --font-color-1: #4A3F35;
    --font-color-2: #5c4f42;
    --font-color-3: #8a7a6a;
    --bg-color-1: rgba(200,180,160,0.08);
    --line-1: rgba(200,180,160,0.15);
    --line-2: rgba(200,180,160,0.1);
    --card-bg: rgba(255,248,240,0.65);
    --card-border: rgba(255,248,240,0.4);
    --card-shadow: 0 8px 32px rgba(100,80,60,0.08);
}

p {
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* ---- 全局：隐藏默认光标 ---- */
body {
    font-family: "Montserrat", "SF UI Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Helvetica, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.6px;
    color: #4A3F35;
    background: #F5EDE3;
    min-height: 100vh;
    cursor: none;
    overflow-x: hidden;
}

a, button, .nav li a, .read-more, .close-btn {
    cursor: none;
}
a:hover {
    color: #7BC043 !important;
}

/* ---- 模糊波点背景 ---- */
.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(200, 180, 160, 0.2) 20px, transparent 20px),
        radial-gradient(circle at 70% 50%, rgba(200, 180, 160, 0.15) 30px, transparent 30px),
        radial-gradient(circle at 45% 80%, rgba(200, 180, 160, 0.25) 15px, transparent 15px);
    background-size: 200px 200px;
    background-position: 0 0, 100px 100px, 50px 150px;
    filter: blur(1.5px);
    opacity: 0.6;
}
.bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 0.3;
    pointer-events: none;
}

/* ---- 主卡片 ---- */
.paper-main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 8vw 24px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 24px;
    box-shadow: none;
}

/* ---- 头部 ---- */
.header {
    padding: 28px 32px;
    margin-bottom: 56px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    background: rgba(255, 248, 240, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 248, 240, 0.4);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(100, 80, 60, 0.08);
    transition: transform 0.3s ease;
}
.logo {
    display: inline-block;
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    animation: wobble 4s ease-in-out infinite;
}
@keyframes wobble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(-3deg); }
    75% { transform: translateY(-2px) rotate(3deg); }
}

/* ===== 导航栏容器 ===== */
.nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 0;
    width: 100%;
}

/* ===== 导航按钮样式 ===== */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    color: #4A3F35;
}
.nav-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 首页 - 淡粉色 */
.nav-btn.home {
    background: rgba(255, 200, 200, 0.25);
    border: 1px solid rgba(255, 200, 200, 0.3);
}
.nav-btn.home:hover {
    background: rgba(255, 200, 200, 0.4);
}
/* 生活碎片 - 淡橘色 */
.nav-btn.daily {
    background: rgba(255, 210, 170, 0.25);
    border: 1px solid rgba(255, 210, 170, 0.3);
}
.nav-btn.daily:hover {
    background: rgba(255, 210, 170, 0.4);
}
/* WISH瞬间 - 淡紫 */
.nav-btn.moments {
    background: rgba(200, 190, 255, 0.25);
    border: 1px solid rgba(200, 190, 255, 0.3);
}
.nav-btn.moments:hover {
    background: rgba(200, 190, 255, 0.4);
}
/* 情绪歌单 - 淡蓝 */
.nav-btn.music {
    background: rgba(180, 220, 255, 0.25);
    border: 1px solid rgba(180, 220, 255, 0.3);
}
.nav-btn.music:hover {
    background: rgba(180, 220, 255, 0.4);
}
/* 悄悄话 - 淡薄荷 */
.nav-btn.whisper {
    background: rgba(180, 230, 210, 0.25);
    border: 1px solid rgba(180, 230, 210, 0.3);
}
.nav-btn.whisper:hover {
    background: rgba(180, 230, 210, 0.4);
}
/* 时间胶囊 - 淡黄 */
.nav-btn.capsule {
    background: rgba(255, 235, 180, 0.25);
    border: 1px solid rgba(255, 235, 180, 0.3);
}
.nav-btn.capsule:hover {
    background: rgba(255, 235, 180, 0.4);
}
/* 小世界 - 淡草绿 */
.nav-btn.world {
    background: rgba(200, 230, 190, 0.25);
    border: 1px solid rgba(200, 230, 190, 0.3);
}
.nav-btn.world:hover {
    background: rgba(200, 230, 190, 0.4);
}
/* 梦境日记 - 淡薰衣草 */
.nav-btn.dream {
    background: rgba(220, 200, 230, 0.25);
    border: 1px solid rgba(220, 200, 230, 0.3);
}
.nav-btn.dream:hover {
    background: rgba(220, 200, 230, 0.4);
}

/* ---- 文章列表 ---- */
.post-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}
.post {
    width: 100%;
    padding: 24px 28px 28px;
    margin-bottom: 20px;
    background: rgba(255, 248, 240, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 248, 240, 0.4);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(100, 80, 60, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}
.post:hover {
    transform: translateY(-6px) scale(1.01);
    background: rgba(255,248,240,0.8);
    box-shadow: 0 16px 48px rgba(100,80,60,0.12);
}
.post-title {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 12px;
    color: var(--font-color-1);
    letter-spacing: 1px;
    font-family: 'Georgia', 'Times New Roman', serif;
}
.post-title::before {
    content: "✦";
    font-size: 0.8rem;
    margin-right: 12px;
    opacity: 0.5;
}
.post-title:hover {
    color: #a29bfe;
    transition: color ease-in-out .3s;
}
.post-except {
    word-break: break-all;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: var(--font-color-2);
    opacity: 0.8;
}
.read-more {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 24px;
    background: rgba(255,248,240,0.04);
    color: var(--font-color-0);
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--card-border);
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.read-more:hover {
    background: rgba(255,248,240,0.07);
    border-color: rgba(255,248,240,0.12);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
    transform: translateY(-4px) scale(1.02);
}
.read-more:before, .read-more:after { content: ""; }
.post-date {
    font-size: 0.75rem;
    color: var(--font-color-3);
    letter-spacing: 1px;
}

/* ---- 分页 ---- */
.paginator {
    font-size: 0.875rem;
    width: 100%;
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.paginator * {
    display: block;
    padding: 8px 18px;
    border-radius: 24px;
    background: rgba(255,248,240,0.65);
    border: 1px solid rgba(255,248,240,0.4);
    color: #4A3F35;
}
.paginator .space {
    background: transparent;
    border: none;
}
.paginator a {
    margin: 4px;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.paginator a:hover {
    background: rgba(255,248,240,0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(100,80,60,0.1);
}
.paginator .current {
    background: rgba(255,248,240,0.85);
    border-color: rgba(255,248,240,0.5);
}

/* ---- 底部 ---- */
.footer {
    padding: 40px 0 24px;
    font-size: 0.8rem;
    color: var(--font-color-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 1px;
}
.footer::before {
    content: "✦ ✦ ✦";
    display: block;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 16px;
    opacity: 0.2;
    margin-bottom: 16px;
    color: var(--font-color-1);
}
.footer span {
    text-align: center;
    margin-bottom: 8px;
}
.footer a {
    color: var(--font-color-3);
    transition: color ease-in-out .3s;
}
.footer a:hover {
    color: var(--font-color-0);
}

/* ---- 文章内页 ---- */
.post-header {
    margin-bottom: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: center;
    background: rgba(255, 248, 240, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 248, 240, 0.4);
    border-radius: 24px;
    padding: 28px 36px;
    box-shadow: 0 8px 32px rgba(100, 80, 60, 0.08);
}
.post-header .logo {
    font-size: 2rem;
}
.post-header .go-home {
    display: block;
    padding: 10px 22px;
    border-radius: 24px;
    background: rgba(255,248,240,0.04);
    border: 1px solid var(--card-border);
    margin: 8px 0;
    transition: all 0.35s ease;
    color: var(--font-color-1);
}
.post-header .go-home:hover {
    background: rgba(255,248,240,0.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.post-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 24px;
}
.post-main-title {
    flex: 0 0 100%;
    margin-bottom: 12px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--font-color-1);
    letter-spacing: 2px;
    font-family: 'Georgia', 'Times New Roman', serif;
}
.post-meta {
    font-size: 0.875rem;
    color: var(--font-color-3);
    flex: 0 0 100%;
    margin-bottom: 15px;
}

/* ---- 归档 ---- */
.archive {
    display: flex;
    flex-direction: column;
}
.archive li {
    display: flex;
    flex-direction: row;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.archive li:nth-child(odd) {
    background: rgba(255,248,240,0.03);
}
.archive li:hover {
    background: rgba(255,248,240,0.06);
    border-color: var(--card-border);
}
.archive li span {
    width: 108px;
    color: var(--font-color-2);
    font-size: 0.9rem;
}
.archive-main {
    flex: 0 1 calc(100% - 108px);
}
.archive-title {
    color: var(--font-color-1);
    letter-spacing: 0.5px;
    transition: color ease-in-out .3s;
}
.archive-title:hover {
    color: #a29bfe;
}

/* ---- 分类标签 ---- */
.tags { margin-bottom: 32px; }
.tags a {
    display: inline-block;
    padding: 4px 18px;
    height: 32px;
    line-height: 24px;
    border-radius: 24px;
    background: rgba(255,248,240,0.65);
    color: #4A3F35;
    font-size: 0.8rem;
    border: 1px solid rgba(255,248,240,0.4);
    transition: all 0.35s ease;
}
.tags a:hover {
    background: rgba(255,248,240,0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(100,80,60,0.1);
}

/* ========================================
   四叶草光标 + 星光粒子
   ======================================== */

#clover-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
    will-change: transform, left, top;
    color: #a8d8a0;
    filter: drop-shadow(0 0 20px rgba(255, 200, 150, 0.6));
    opacity: 0.8;
}
#clover-cursor svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: filter 0.3s ease;
    fill: #a8d8a0;
}
#clover-cursor svg:first-child {
    position: absolute;
    top: 0;
    left: 0;
}
#clover-cursor .clover-shadow {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.6;
    filter: drop-shadow(0 0 6px currentColor);
    animation: shadowPulse 2s ease-in-out infinite;
}
@keyframes shadowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}
#clover-cursor.hover {
    transform: translate(-50%, -50%) scale(1.2) rotate(12deg);
}
#clover-cursor.pop {
    transform: translate(-50%, -50%) scale(0.85);
    transition: transform 0.08s ease;
}

/* ---- 粒子容器 ---- */
#particle-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}
.star-particle {
    position: absolute;
    border-radius: 50%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    will-change: transform, opacity;
}
.star-particle.dot {
    clip-path: none;
    border-radius: 50%;
}

/* ---- Wishcore 弹窗 ---- */
.wish-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(31,24,20,0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.wish-modal.show {
    display: flex;
}
.wish-modal-content {
    background: rgba(255,248,240,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 48px 44px 36px;
    text-align: center;
    box-shadow: var(--card-shadow), 0 0 0 1px rgba(255,248,240,0.05);
    max-width: 360px;
    animation: paperDrop 0.5s ease-out;
}
@keyframes paperDrop {
    0% { transform: rotate(-2deg) translateY(-30px); opacity: 0; }
    60% { transform: rotate(0.5deg) translateY(2px); opacity: 1; }
    100% { transform: rotate(0deg) translateY(0); opacity: 1; }
}
.wish-modal .sticker-art {
    font-size: 4rem;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
.wish-modal h3 {
    font-size: 1.2rem;
    color: var(--font-color-1);
    margin: 12px 0 8px;
    font-weight: 300;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
}
.wish-modal p {
    color: var(--font-color-2);
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.8;
}
.wish-modal .close-btn {
    background: rgba(255,248,240,0.04);
    color: var(--font-color-1);
    border: 1px solid var(--card-border);
    padding: 10px 32px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 2px;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.wish-modal .close-btn:hover {
    background: rgba(255,248,240,0.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ========================================
   BGM 播放器
   ======================================== */

.bgm-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9997;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 248, 240, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 248, 240, 0.08);
    border-radius: 40px;
    padding: 8px 16px 8px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: none;
    user-select: none;
}
.bgm-player:hover {
    background: rgba(255, 248, 240, 0.09);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.bgm-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 240, 0.1);
    background: rgba(255, 248, 240, 0.04);
    color: #b7a696;
    font-size: 1.1rem;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.bgm-toggle:hover {
    background: rgba(255, 248, 240, 0.1);
    color: #e8ddd0;
    border-color: rgba(255, 248, 240, 0.2);
}
.bgm-toggle.playing {
    color: #7BC043;
    border-color: rgba(123, 192, 67, 0.3);
    animation: bgmPulse 2s ease-in-out infinite;
}
@keyframes bgmPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(123, 192, 67, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(123, 192, 67, 0); }
}

.bgm-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}
.bgm-toggle.playing .bgm-icon {
    animation: bgmSpin 4s linear infinite;
}
@keyframes bgmSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bgm-info {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}
.bgm-name {
    color: #e8ddd0;
    font-size: 0.75rem;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.bgm-status {
    color: #b7a696;
    font-size: 0.65rem;
    opacity: 0.6;
    font-style: italic;
}

.bgm-volume-wrap {
    display: flex;
    align-items: center;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.bgm-player:hover .bgm-volume-wrap {
    width: 60px;
    opacity: 1;
}

.bgm-volume {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 3px;
    border-radius: 4px;
    background: rgba(255, 248, 240, 0.1);
    outline: none;
    cursor: none;
}
.bgm-volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7BC043;
    border: 2px solid rgba(255, 248, 240, 0.15);
    transition: transform 0.2s ease;
}
.bgm-volume::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}
.bgm-volume::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #7BC043;
    border: 2px solid rgba(255, 248, 240, 0.15);
}

@media (max-width: 640px) {
    .bgm-player {
        bottom: 16px;
        right: 16px;
        padding: 6px 12px 6px 10px;
    }
    .bgm-info {
        min-width: 60px;
    }
    .bgm-name {
        max-width: 80px;
        font-size: 0.7rem;
    }
}

/* ---- QQ音乐外联播放器弹窗 ---- */
.bgm-qq-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9996;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    background: rgba(31, 24, 20, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bgm-qq-container.active {
    opacity: 1;
    pointer-events: auto;
}
.bgm-qq-inner {
    position: relative;
    background: rgba(255, 248, 240, 0.06);
    border: 1px solid rgba(255, 248, 240, 0.1);
    border-radius: 32px;
    padding: 24px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bgm-qq-container.active .bgm-qq-inner {
    transform: scale(1) translateY(0);
}
.bgm-qq-inner iframe {
    width: 330px;
    height: 80px;
    border-radius: 16px;
    display: block;
}
.bgm-qq-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #b7a696;
    font-size: 1.4rem;
    cursor: none;
    background: none;
    border: none;
    transition: color 0.3s ease;
    font-family: serif;
    line-height: 1;
    z-index: 1;
}
.bgm-qq-close:hover {
    color: #e8ddd0;
}
.bgm-qq-hint {
    text-align: center;
    color: #b7a696;
    font-size: 0.75rem;
    margin-top: 12px;
    opacity: 0.6;
    font-style: italic;
}

@media (max-width: 640px) {
    .bgm-qq-inner iframe {
        width: 280px;
        height: 80px;
    }
    .bgm-qq-inner {
        padding: 20px 16px;
        border-radius: 24px;
    }
}

/* ---- 文章装饰 ---- */
.post:nth-child(odd)::after {
    content: "🍀";
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
}
.post:nth-child(even)::after {
    content: "✨";
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    opacity: 0.4;
    animation: float 5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ---- 关于页：wishcard ---- */
.wish-card {
    background: var(--card-bg);
    backdrop-filter: blur(4px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 28px 28px 32px;
    margin: 16px 0;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: var(--card-shadow), 0 0 0 1px rgba(255,248,240,0.05);
}
.wish-card:hover {
    transform: translateY(-4px) scale(1.01);
    background: rgba(255,248,240,0.07);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.wish-card .card-sticker {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}
.wish-card h3 {
    color: var(--font-color-1);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 8px;
    letter-spacing: 3px;
    font-family: 'Georgia', serif;
}
.wish-card p {
    color: var(--font-color-2);
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.8;
}

/* ---- about 头像 ---- */
.worn-avatar {
    display: inline-block;
    position: relative;
}
.worn-avatar img {
    border-radius: 50%;
    border: 2px solid var(--card-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 4px;
    background: rgba(255,248,240,0.04);
}
.worn-avatar::after {
    content: "🍀";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.6rem;
    animation: wobble 4s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

/* ---- 响应式 ---- */
@media (max-width: 640px) {
    .paper-main { padding: 32px 5vw 24px; }
    .post { padding: 24px; }
    .header { padding: 20px 24px; }
    .logo { font-size: 1.8rem; }
    #clover-cursor { width: 42px; height: 42px; }
}

/* ========================================
   右上角登录按钮
   ======================================== */

.login-top-btn {
    flex-shrink:0;
    padding:6px 18px;
    border-radius:40px;
    border:1px solid rgba(200,230,190,0.4);
    background:rgba(200,230,190,0.25);
    color:#4A3F35;
    font-size:0.8rem;
    letter-spacing:2px;
    cursor:pointer;
    transition:all 0.3s ease;
    white-space:nowrap;
}
.login-top-btn:hover {
    background:rgba(200,230,190,0.45);
    transform:translateY(-2px);
}
.login-top-btn.logged-in {
    background:rgba(200,230,190,0.4);
    border-color:rgba(200,230,190,0.5);
    color:#5c8a4a;
}

/* ========================================
   上传管理按钮 + 面板
   ======================================== */

.upload-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9995;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 240, 0.2);
    background: rgba(255, 248, 240, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #b7a696;
    font-size: 1.3rem;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.upload-fab:hover {
    background: rgba(255, 248, 240, 0.2);
    color: #4A3F35;
    transform: scale(1.1);
}

.upload-panel {
    position: fixed;
    bottom: 84px;
    left: 24px;
    z-index: 9994;
    width: 340px;
    max-height: 60vh;
    background: rgba(255, 248, 240, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 248, 240, 0.4);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 64px rgba(100, 80, 60, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow-y: auto;
}
.upload-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.upload-panel-close {
    position: absolute;
    top: 12px;
    right: 16px;
    color: #6A5F55;
    font-size: 1.2rem;
    cursor: none;
    background: none;
    border: none;
    font-family: serif;
}
.upload-panel-title {
    color: #4A3F35;
    font-weight: 300;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.upload-dropzone {
    border: 2px dashed rgba(200, 180, 160, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: border 0.3s ease;
    margin-bottom: 16px;
}
.upload-dropzone:hover {
    border-color: #7BC043;
}
.upload-dropzone input[type="file"] {
    display: none;
}
.upload-dropzone-label {
    cursor: pointer;
    color: #6A5F55;
    font-size: 0.85rem;
}
.upload-dropzone-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
}
.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.upload-item {
    aspect-ratio: 1/1;
    background: rgba(255, 248, 240, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.upload-item img, .upload-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-del {
    position: absolute;
    top: 3px;
    right: 3px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    cursor: pointer;
    line-height: 1;
}

/* ---- Touch 设备降级 ---- */
@media (hover: none) and (pointer: coarse) {
    body { cursor: auto; }
    #clover-cursor { display: none; }
}
