* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

input,
textarea {
    user-select: text;
    -webkit-user-select: text;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior-y: none;
}

@font-face {
    font-family: 'LXGW WenKai';
    src: url('../fonts/LXGWWenKai-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'KaTongTiaoTiaoTi';
    src: url('../fonts/KaTongTiaoTiaoTi-2.ttf') format('truetype');
}

@font-face {
    font-family: 'DSEG7';
    src: url('../fonts/DSEG7-Classic.ttf') format('truetype');
}






.card {
    user-select: none;
    -webkit-user-drag: none;
}



body {
    min-height: 100vh;
    background: var(--theme-bg-image, url('../images/bg.jpg')) no-repeat center center fixed;
    background-color: #0a0a1a;
    background-size: cover;
    color: #fff;
    font-family: "LXGW WenKai", "楷体", "KaiTi", "STKaiti", "Kaiti SC", "Hiragino Sans GB", "Songti SC", serif;
    overflow-x: hidden;
    position: relative;
    overscroll-behavior-y: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 梦幻渐变叠加 */
    background:
        radial-gradient(ellipse at 20% 20%, rgba(120, 80, 200, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(80, 140, 220, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(200, 100, 180, 0.12) 0%, transparent 55%),
        rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px) saturate(1.2);
    z-index: 0;
    pointer-events: none;
}

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#live2d-canvas {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
}

#live2d-canvas.active {
    pointer-events: auto;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 12px 60px;
    /* ← 跟 .hero 一致 */
    background: rgba(27, 39, 53, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1300px;
    /* ← 跟 .hero-grid 一致 */
    margin: 0 auto;
}

header.hidden {
    transform: translateY(-100%);
}

header a.home-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
    transition: color 0.3s;
}

header a.home-link:hover {
    color: #ffcc00;
}

header a.home-link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.site-title {
    font-family: 'LXGW WenKai', serif;
    font-size: 26px;
    letter-spacing: 3px;
    font-weight: 400;
    flex-shrink: 0;
    user-select: none;

    background: linear-gradient(135deg,
            #ffd633 0%,
            #ffcc00 25%,
            #ffa500 50%,
            #ffcc00 75%,
            #ffd633 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.6)) drop-shadow(0 0 16px rgba(255, 204, 0, 0.3));

    animation: shineText 3s ease-in-out infinite;
}

@keyframes shineText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 首页链接：推到右边 */
header .site-title+.home-link {
    margin-left: auto;
}

/* 搜索表单 */
.search-bar {
    position: relative;
    z-index: 90;
    display: flex;
    justify-content: center;
    padding: 100px 20px 0;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.search-bar form {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 6px 8px 6px 20px;
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    font-family: inherit;
    letter-spacing: 1px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-bar button {
    background: rgba(255, 204, 0, 0.2);
    border: 1px solid rgba(255, 204, 0, 0.4);
    color: #ffcc00;
    font-size: 14px;
    font-family: inherit;
    padding: 8px 20px;
    border-radius: 999px;
    cursor: pointer;
}

.search-bar button:hover {
    background: rgba(255, 204, 0, 0.35);
    border-color: #ffcc00;
}

/* 首屏 */
.hero {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 60px 40px;
}

/* 上半：左右两栏 */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    align-items: start;
}

/* 左列：上下两个独立卡片 */
.hero-left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 卡片一：标题 + 打字机 + 小方块 */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 32px;
    gap: 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.hero-left h1 {
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 300;
    letter-spacing: 3px;
    color: #fff;
    text-align: center;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4);
    animation: fadeIn 1.5s ease;
}

/* 标题 + 头像 一行 */
.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.hero-title-row .hero-title-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;      
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 204, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.3);
}

.typing-box {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    font-size: 20px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    text-align: left;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;
    animation: fadeIn 2s ease;
}

#typing-text {
    min-height: 60px;
}

.cursor {
    display: inline-block;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 100;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.mini-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-top: 8px;
    flex: 1;
    width: 100%;
}

.mini-group {
    display: flex;
    align-items: flex-end;
}

.mini-group-large {
    flex: 1 1 50%;
    justify-content: space-between;
}

.mini-group-small {
    flex: 1 1 50%;
    justify-content: space-between;
}

.mini-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.mini-link:hover {
    transform: translateY(-4px);
    border-color: #ffcc00;
    background: rgba(255, 255, 255, 0.15);
}

.mini-link-large {
    width: 72px;
    height: 72px;
    font-size: 28px;
    flex-direction: column;
    gap: 4px;
}

.large-icon {
    width: 26px;
    height: 26px;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
}

.large-text {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
}

.mini-link-small {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 10px;
}

/* 卡片二：照片墙 */
.photo-wall {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}

.photo-wall:hover {
    border-color: rgba(255, 204, 0, 0.6);
}

.photo-wall img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
    /* 淡入淡出 */
}

/* 右侧卡片区 */
.hero-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr auto;
    gap: 20px;
    min-height: 420px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    padding: 24px;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 204, 0, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 18px;
    letter-spacing: 1px;
}

.card1 {
    grid-column: 1;
    grid-row: 1;
}

.card3 {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.card2 {
    grid-column: 1;
    grid-row: 2;
}

/* 卡片二：最新说说 */
/* ===== 首页：最新说说便利贴 ===== */
.talk-card {
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 22px 24px 18px;
    gap: 10px;
    overflow: hidden;
    border-radius: 4px;
    color: #2a2a2a;
    border: none;
    backdrop-filter: none;
    /* 盖掉 .card 的毛玻璃 */
    box-shadow:
        2px 3px 8px rgba(0, 0, 0, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.2);
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.3s, box-shadow 0.3s;
}

.talk-card:hover {
    transform: rotate(0deg) translateY(-4px);
    border-color: transparent;
    box-shadow:
        3px 6px 16px rgba(0, 0, 0, 0.45),
        0 1px 3px rgba(0, 0, 0, 0.25);
}

/* 颜色池（跟 talks.css 一致） */
.talk-card.note-yellow {
    background: #fff4a3;
    --note-color: #e6d600;
}

.talk-card.note-blue {
    background: #b8e4ff;
    --note-color: #4aa8e0;
}

.talk-card.note-pink {
    background: #ffc9d4;
    --note-color: #e87a95;
}

.talk-card.note-green {
    background: #c9f5c0;
    --note-color: #6bbf5a;
}

.talk-card.note-orange {
    background: #ffd9b3;
    --note-color: #e89a4a;
}

.talk-card.note-purple {
    background: #d9c9ff;
    --note-color: #8b6fd9;
}

.talk-card.note-teal {
    background: #b3f0e6;
    --note-color: #3fb8a5;
}

.talk-card.note-coral {
    background: #ffc4a3;
    --note-color: #e8704a;
}

/* 纸型：横线纸 */
.talk-card.style-line .talk-card-content {
    background-image: repeating-linear-gradient(to bottom,
            transparent 0,
            transparent 27px,
            rgba(0, 0, 0, 0.12) 27px,
            rgba(0, 0, 0, 0.12) 28px);
    background-position: 0 0;
}

/* 纸型：彩色边框 + 白底 */
.talk-card.style-border {
    background: #fff;
    border: 12px solid var(--note-color, #ccc);
    padding: 18px 20px 14px;
}

/* 纸型：方格纸 */
.talk-card.style-grid .talk-card-content {
    background-image:
        repeating-linear-gradient(to right,
            rgba(0, 0, 0, 0.25) 0,
            rgba(0, 0, 0, 0.25) 1px,
            transparent 1px,
            transparent 24px),
        repeating-linear-gradient(to bottom,
            rgba(0, 0, 0, 0.25) 0,
            rgba(0, 0, 0, 0.25) 1px,
            transparent 1px,
            transparent 24px);
    background-position: 0 0;
}

/* 钉住方式：胶带 */
.talk-card.pin-tape::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 50px;
    height: 18px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%,
            95% 100%, 90% 75%, 85% 100%, 80% 75%,
            75% 100%, 70% 75%, 65% 100%, 60% 75%,
            55% 100%, 50% 75%, 45% 100%, 40% 75%,
            35% 100%, 30% 75%, 25% 100%, 20% 75%,
            15% 100%, 10% 75%, 5% 100%, 0% 75%);
}

/* 钉住方式：图钉 */
.talk-card.pin-pushpin::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,
            #ff8a8a 0%,
            #e63946 45%,
            #a41e2a 100%);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        inset -1px -1px 2px rgba(0, 0, 0, 0.3),
        inset 1px 1px 2px rgba(255, 255, 255, 0.5);
    z-index: 3;
}

.talk-card.pin-pushpin::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: linear-gradient(to bottom, #888 0%, #444 100%);
    border-radius: 0 0 2px 2px;
    z-index: 2;
}

/* ===== 卡片二内部文字颜色 ===== */
.talk-card .talk-card-label {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    flex-shrink: 0;
}

.talk-card .talk-card-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.talk-card .talk-card-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 14px;
    line-height: 1.8;
    color: #2a2a2a;
    letter-spacing: 0.5px;
    white-space: normal;
    word-break: break-word;
}

.talk-card .talk-card-date {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.card4 {
    grid-column: 1 / span 2;
    /* 跨 2 列，宽度等于 card3 + card2 */
    grid-row: 3;
    min-height: 220px;
    /* 👈 新卡片高度，数字自己调 */
    padding: 16px;
}


/* ===== 歌词机（卡片4） ===== */
.lyric-player {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 28px;
    overflow: hidden;
    background: #000;
    /* ← 黑色不透明 */
}

.lyric-box {
    width: 100%;
    text-align: center;
    font-family: "SimSun", "宋体", serif;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1.6;
    color: #fff;
    /* ← 白色 */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    word-break: break-word;
}

.lyric-player:hover {
    background: #000;
}

.lyric-cursor {
    display: inline-block;
    margin-left: 2px;
    color: #ffcc00;
    font-weight: 100;
    animation: blink 1s infinite;
}

/* 复用已有的 blink 动画，不用重复定义 */

/* 下半：三栏 */
.second-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1300px;
    margin: 40px auto 0;
    width: 100%;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    /* 去掉内边距 */
    min-height: 400px;

    display: flex;
    flex-direction: column;
}

.carousel-track {
    display: flex;
    width: 100%;
    flex: 1;
    min-height: 0;
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* ← 改成 flex-end */
    align-items: stretch;
    text-align: left;
    color: #fff;
    padding: 24px 28px;
}

.carousel-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.carousel-card-title {
    font-size: 20px;
    letter-spacing: 1px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    /* ← 加深，从白透明改成黑透明 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, border-color 0.3s;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    /* ← 加阴影 */
    backdrop-filter: blur(2px);
    /* ← 轻微模糊，更清楚 */
}

.carousel-btn:hover {
    background: rgba(255, 204, 0, 0.3);
    border-color: #ffcc00;
}

.carousel-btn:hover {
    background: rgba(255, 204, 0, 0.3);
    border-color: #ffcc00;
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 6;
    /* 高于卡片和箭头 */
    pointer-events: auto;
    /* 让圆点能点 */
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: #ffcc00;
    transform: scale(1.3);
}

.second-middle {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    min-height: 400px;
}

.second-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    min-height: 400px;
}

.second-right-top {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

/* 萤火虫 */
.firefly {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle,
            #fff 0%,
            rgba(255, 230, 100, 0.9) 40%,
            rgba(255, 204, 0, 0) 70%);
    box-shadow:
        0 0 8px 2px rgba(255, 220, 100, 0.7),
        0 0 16px 4px rgba(255, 204, 0, 0.4);
    pointer-events: none;
    animation:
        drift 8s ease-in-out infinite,
        flicker 3s ease-in-out infinite;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -15px);
    }

    50% {
        transform: translate(-10px, -30px);
    }

    75% {
        transform: translate(-25px, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes flicker {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}


.second-right-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.second-right-bottom-left,
.second-right-bottom-right {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}



.second-right-bottom-left {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg,
            #f5f7fa 0%,
            #c8ccd4 25%,
            #e8ebf0 50%,
            #a8adb8 75%,
            #d8dde6 100%);
    border: 3px solid #e0e5ee;
    padding: 12px;
    box-shadow:
        0 0 30px 8px rgba(220, 225, 235, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(120, 130, 150, 0.4);
}

.avatar-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* ← 关键：图片自己是正方形 */
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* 向下箭头 */
.scroll-hint {
    position: relative;
    margin: 160px auto 80px;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    text-decoration: none;
    flex-shrink: 0;
}

.scroll-hint:hover {
    border-color: #ffcc00;
    color: #ffcc00;
}

.scroll-hint span {
    display: inline-block;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

.section {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 40px auto;
    padding: 60px 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    
    background: transparent;
}

.section h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.section p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.section a {
    color: #ffcc00;
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    letter-spacing: 1px;
    background: transparent;
    max-width: 900px;
    margin: 40px auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.click-snow {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    color: rgba(255, 255, 255, 0.9);
    user-select: none;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 12px rgba(200, 220, 255, 0.7),
        0 0 20px rgba(180, 200, 255, 0.4);
}

@keyframes snowFall {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translate(15px, 25vh) rotate(90deg);
    }

    50% {
        transform: translate(-50%, -50%) translate(-10px, 50vh) rotate(180deg);
    }

    75% {
        transform: translate(-50%, -50%) translate(12px, 75vh) rotate(270deg);
    }

    100% {
        transform: translate(-50%, -50%) translate(0, 100vh) rotate(360deg);
    }
}

.nav-toggle {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    /* 推到右边 */
}

/* 手机适配 */
@media (max-width: 1024px) {

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        margin-left: auto;
        /* 推到右边 */
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        /* ← 贴右边 */
        left: auto;
        /* ← 不占左边 */
        min-width: 180px;
        /* ← 菜单最小宽度 */
        background: rgba(27, 39, 53, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        /* ← 圆角 */
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        margin-top: 0px;
        /* ← 跟按钮隔开一点 */
        z-index: 99;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    .nav-menu.open {
        display: flex;
        /* 展开 */
    }

    .nav-menu .home-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 24px;
        font-size: 16px;
        gap: 12px;
        border-radius: 0;
    }

    .nav-menu .home-link:hover {
        background: rgba(255, 204, 0, 0.1);
    }

    header {
        padding: 10px 20px;
    }

    .header-inner {
        gap: 12px;
    }

    .site-title {
        font-size: 18px;
        letter-spacing: 2px;
    }

    header a.home-link {
        font-size: 12px;
        gap: 3px;
    }

    header a.home-link i,
    header a.home-link img {
        font-size: 14px;
        width: 16px;
        height: 16px;
    }

    header a.home-link {
        font-size: 16px;
        gap: 6px;
    }

    .search-bar {
        padding: 80px 16px 0;
    }

    .search-bar form {
        max-width: 100%;
        padding: 4px 6px 4px 16px;
    }

    .search-bar input {
        font-size: 14px;
        min-width: 0;
    }

    .search-bar button {
        padding: 6px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .hero {
        padding: 40px 20px 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-left-column {
        gap: 16px;
    }

    .hero-left {
        gap: 18px;
        min-height: auto;
        padding: 24px 20px;
    }

    .hero-left h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .hero-title-avatar {
        width: 36px;
        height: 36px;
    }


    .typing-box {
        font-size: 16px;
        padding: 16px 18px;
        min-height: 100px;
    }

    .mini-link {
        font-size: 24px;
    }

    .hero-right {
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }

    .card3 {
        order: 1;
    }

    .card4 {
        order: 2;
    }

    .card2 {
        order: 3;
    }

    .card {
        min-height: 120px;
        padding: 20px;
    }

    .card1,
    .card2,
    .card3,
    .card4 {
        grid-column: auto;
        grid-row: auto;
    }

    .second-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 24px;
    }

    .carousel-container {
        min-height: 220px;
    }

    .carousel-card {
        min-height: 160px;
    }

    .carousel-card-icon {
        font-size: 36px;
    }

    .carousel-card-title {
        font-size: 16px;
    }

    .second-middle,
    .second-right {
        min-height: 160px;
    }

    .section {
        padding: 40px 20px;
        margin: 20px auto;
    }

    .section h2 {
        font-size: 22px;
    }

    .section p {
        font-size: 15px;
    }

    .scroll-hint {
        width: 38px;
        height: 38px;
        font-size: 24px;
        margin: 50px auto;
    }

    .mini-links {
        flex: none;
        height: auto;
        flex-wrap: wrap;
        gap: 16px;
    }

    .mini-group-large,
    .mini-group-small {
        flex: 1 1 100%;
    }

    .mini-link-large {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .large-icon {
        font-size: 20px;
    }

    .large-text {
        font-size: 10px;
    }

    .mini-link-small {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .copy-tip {
        top: 70px;
        padding: 14px 24px;
        font-size: 16px;
        letter-spacing: 1px;
        max-width: 90vw;
        white-space: normal;
        text-align: center;
    }

    .clock-face {
        width: 130px;
        height: 130px;
    }

    .hour-hand {
        height: 36px;
    }

    .minute-hand {
        height: 50px;
    }

    .clock-time {
        font-size: 17px;
    }
}

/* 复制提示浮层 */
.copy-tip {
    position: fixed;
    left: 50%;
    top: 80px;
    transform: translate(-50%, -20px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 22px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 204, 0, 0.7);
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.45);
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 100000;
    pointer-events: none;
    white-space: nowrap;
}

.copy-tip.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* 卡1：时钟 */
.card1 {
    justify-content: center;
    gap: 18px;
}

.clock {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock-face {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.15),
        inset 0 0 12px rgba(255, 255, 255, 0.08);
}

.clock-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
    transform: translateX(-50%) rotate(0deg);
}

.hour-hand {
    width: 4px;
    height: 50px;
    background: #fff;
}

.minute-hand {
    width: 3px;
    height: 68px;
    background: rgba(255, 255, 255, 0.9);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
}

.clock-time {
    font-family: "DSEG7", monospace;
    font-size: 32px;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
}

/* 小桃对话气泡 */
.momoi-bubble {
    position: fixed;
    width: 260px;
    min-height: 130px;
    padding: 50px 35px 40px 35px;
    box-sizing: border-box;
    background: url('../images/bubble.png') no-repeat center center;
    background-size: 100% 100%;
    color: #ff6f9c;
    font-family: 'KaTongTiaoTiaoTi', 'LXGW WenKai', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    white-space: normal;
    word-break: break-word;
}

.momoi-bubble.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.momoi-bubble::after,
.momoi-bubble::before {
    display: none;
}

/* =========================================================
   卡片入场动画（统一管理）
   ========================================================= */

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-left,
.photo-wall,
.card,
.carousel-container,
.second-middle,
.second-right-top,
.second-right-bottom,
.mini-link,
.search-bar {
    opacity: 0;
    animation: cardEnter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.search-bar {
    animation-delay: 0.05s;
}

.hero-left {
    animation-delay: 0.1s;
}

.photo-wall {
    animation-delay: 0.2s;
}

.card1 {
    animation-delay: 0.3s;
}

.card3 {
    animation-delay: 0.4s;
}

.card2 {
    animation-delay: 0.5s;
}

.card4 {
    animation-delay: 0.6s;
}

.mini-link:nth-child(1) {
    animation-delay: 0.6s;
}

.mini-link:nth-child(2) {
    animation-delay: 0.65s;
}

.mini-link:nth-child(3) {
    animation-delay: 0.7s;
}

.mini-link:nth-child(4) {
    animation-delay: 0.75s;
}

.mini-link:nth-child(5) {
    animation-delay: 0.8s;
}

.carousel-container {
    animation-delay: 0.8s;
}

.second-middle {
    animation-delay: 0.85s;
}

.second-right-top {
    animation-delay: 0.9s;
}

.second-right-bottom {
    animation-delay: 1.0s;
}

/* ===== 音乐播放器（卡片3） ===== */
.music-player {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 20px;
    text-align: left;
    position: relative;
    min-width: 0;
}

/* 封面 */
.music-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 歌名 */
.music-title {
    font-size: 15px;
    letter-spacing: 1px;
    color: #ffcc00;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    /* 👈 从 0 改成 1，允许收缩 */
    min-width: 0;
    /* 👈 关键，允许 flex 子项被压缩 */
    width: 100%;
    /* 👈 占满容器宽度 */
}

/* 进度条 */
.music-progress {
    position: relative;   /* ← 加这个，让圆点能绝对定位 */
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    cursor: pointer;
}

/* 圆点：默认隐藏 */
.music-progress::after {
    content: "";
    position: absolute;
    top: 50%;
    left: var(--progress, 0%);
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;   /* 圆点本身不接事件，事件由 progress 容器处理 */
    z-index: 2;
}

/* hover 或拖动时显示圆点 */
.music-progress:hover::after,
.music-progress.dragging::after {
    opacity: 1;
}

.music-progress-bar {
    width: 0%;
    height: 100%;
    background: #ffcc00;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* 控制条：三个圆形按钮，居左/居中/居右，贴卡片底部 */
/* 控制条：三个圆形按钮居中，列表贴右，模式贴左 */
.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 20px;
    flex-shrink: 0;
    position: relative;
}

/* 通用按钮 */
.music-btn {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 6px;
    flex-shrink: 0;
}

.music-btn:hover {
    color: #ffcc00;
}

/* 中间播放按钮 */
#music-play {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#music-play:hover {
    background: rgba(255, 204, 0, 0.25);
    border-color: #ffcc00;
    color: #ffcc00;
}

/* 列表按钮：贴右 */
.music-list-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    padding: 6px;
}

.music-list-btn:hover {
    color: #ffcc00;
}

/* 模式按钮：贴左 */
.music-mode-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    padding: 6px;
}

.music-mode-btn:hover {
    color: #ffcc00;
}

/* 中间播放按钮单独放大 */
#music-play {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 18px;
}

#music-play:hover {
    background: rgba(255, 204, 0, 0.25);
    border-color: #ffcc00;
    color: #ffcc00;
}

.mode-icon-wrap {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.mode-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: bold;
    color: #ffcc00;
    line-height: 1;
    font-family: monospace;
    pointer-events: none;
}

/* 音量条 */
.music-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 20px;
    flex-shrink: 0;
}

/* 给图标固定宽度，避免影响音量条长度 */
#music-volume-icon {
    width: 16px;
    /* 固定宽度 */
    text-align: center;
    /* 图标居中 */
    flex-shrink: 0;
    /* 不参与伸缩 */
}

.music-volume input[type="range"] {
    flex: 1;
    height: 3px;
    accent-color: #ffcc00;
    cursor: pointer;
}

.music-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.music-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    min-width: 36px;
    text-align: center;
}

/* ===== 全站入场动画 ===== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-overlay.hide {
    opacity: 0;
    visibility: hidden;
}

.intro-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #ffcc00;
    border-radius: 50%;
    animation: introSpin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes introSpin {
    to {
        transform: rotate(360deg);
    }
}

.intro-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    letter-spacing: 4px;
    animation: introPulse 1.5s ease-in-out infinite;
}

@keyframes introPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;

    /* 只显示 3 行，超出省略 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 轮播里的文章卡片 */
.article-carousel-card {
    text-align: left;
    justify-content: flex-end;
    /* ← 改：底部对齐 */
    align-items: stretch;
    padding: 24px 28px 40px;
    /* ← 改：底部多留 40px 给圆点 */
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
    min-height: 100%;
    box-sizing: border-box;
}

.article-carousel-card:hover {
    color: #ffcc00;
}

.article-carousel-title {
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffcc00;
    margin-bottom: 14px;
    line-height: 1.3;
    word-break: break-word;
}

.article-carousel-excerpt {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);

    /* 最多 3 行 + 省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.8em * 3);
}

/* 有封面图的轮播卡片 */
.article-carousel-card.has-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.article-carousel-card.has-cover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    /* 渐变高度，占卡片下半部分 */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.55) 40%,
            rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}


/* 文字加深色描边阴影，保证亮图上也能看清 */
.article-carousel-card.has-cover .article-carousel-title,
.article-carousel-card.has-cover .article-carousel-excerpt {
    position: relative;
    z-index: 2;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 0, 0, 0.7),
        0 0 24px rgba(0, 0, 0, 0.5);
}

/* 有封面时文字更亮 */
.article-carousel-card.has-cover .article-carousel-title {
    color: #ffd633;
    /* 比 #ffcc00 更亮一点的黄 */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 0 10px rgba(255, 204, 0, 0.35),
        /* 黄色微光 */
        0 0 20px rgba(0, 0, 0, 0.8);
}

.article-carousel-card.has-cover .article-carousel-excerpt {
    color: rgba(255, 255, 255, 0.95);
    /* 从 0.7 提到 0.95 */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.95),
        0 0 12px rgba(0, 0, 0, 0.8);
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== 中间卡片：留言板入口 ===== */
.guestbook-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    overflow: hidden;
}

/* 左上角标题 */
.guestbook-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffcc00;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    transition: color 0.3s;
    align-self: flex-start;
}

.guestbook-header i {
    font-size: 15px;
}

.guestbook-header:hover {
    color: #ffd633;
}

/* 中间说明 */
.guestbook-notice {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 15px;
    letter-spacing: 2px;
}

/* 底部表单预览 */
.guestbook-preview {
    display: flex;
    gap: 8px;
    width: 100%;
}

.guestbook-preview input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 1px;
    outline: none;
    cursor: not-allowed;
}

.guestbook-preview input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.guestbook-preview button {
    background: rgba(255, 204, 0, 0.2);
    border: 1px solid rgba(255, 204, 0, 0.4);
    color: rgba(255, 204, 0, 0.6);
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: not-allowed;
    flex-shrink: 0;
}

.notes-feed-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.notes-feed-container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 24px;
    background: linear-gradient(to top,
            rgba(27, 39, 53, 0.9) 0%,
            rgba(27, 39, 53, 0) 100%);
    pointer-events: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.notes-feed-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px 8px;
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 204, 0, 0.9);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notes-feed-header i {
    font-size: 13px;
}

.notes-feed-list {
    flex: 1;
    min-height: 0;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE / Edge */
}

/* 单条消息 */
.notes-feed-item {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notes-feed-item:last-child {
    border-bottom: none;
}

.notes-feed-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.notes-feed-subject {
    font-size: 12px;
    color: rgba(255, 204, 0, 0.85);
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notes-feed-subject .icon {
    font-size: 14px;
    line-height: 1;
}

.notes-feed-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.notes-feed-item:hover .notes-feed-title {
    color: #ffcc00;
}

/* 空状态 */
.notes-feed-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    letter-spacing: 2px;
}

.second-right-bottom-left {
    aspect-ratio: 1 / 1;
}

.second-right-bottom-right {
    min-height: 0;
    overflow: hidden;
    display: flex;
    /* 内部用 flex 布局 */
    flex-direction: column;
}

.notes-feed-container {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ===== 主题切换器 ===== */
.theme-switcher {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(
        145deg,
        #f5f7fa 0%, #c8ccd4 25%,
        #e8ebf0 50%, #a8adb8 75%,
        #d8dde6 100%
    );
    border: 3px solid #e0e5ee;
    padding: 12px;
    box-shadow:
        0 0 30px 8px rgba(220, 225, 235, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(120, 130, 150, 0.4);
}

.theme-current {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(27, 39, 53, 0.85);
    border: none;
    color: #ffcc00;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.3s, transform 0.3s;
    font-family: inherit;
    padding: 0;
}

.theme-current:hover {
    background: rgba(27, 39, 53, 0.95);
    transform: scale(1.05);
}

.theme-current:active {
    transform: scale(0.95);
}

.theme-current i {
    font-size: 28px;
    line-height: 1;
    color: #ffcc00;
    transition: transform 0.4s ease;
}

.theme-current span {
    font-size: 14px;
    letter-spacing: 3px;
    color: #fff;
    transition: opacity 0.3s;
}

/* 切换时图标转一圈的动画 */
.theme-current.spin i {
    animation: themeSpin 0.5s ease;
}

@keyframes themeSpin {
    from { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.2); }
    to   { transform: rotate(360deg) scale(1); }
}


/* ===== 主题变量 ===== */
html.theme-winter {
    --theme-accent: #ffcc00;
    --theme-bg-image: url('../images/bg-winter.jpg');
}

html.theme-spring {
    --theme-accent: #ffb6d5;
    --theme-bg-image: url('../images/bg-spring.jpg');
}

html.theme-summer {
    --theme-accent: #4fc3f7;
    --theme-bg-image: url('../images/bg-summer.jpg');
}

html.theme-autumn {
    --theme-accent: #ff8c42;
    --theme-bg-image: url('../images/bg-autumn.jpg');
}

/* body 用变量 */
body {
    background: var(--theme-bg-image, url('../images/bg.jpg')) no-repeat center center fixed;
    background-size: cover;
}