/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 移动端标题栏 - 默认隐藏 */
.mobile-header-bar {
    display: none;
}

body {
    font-family: 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: 
        linear-gradient(135deg, #2d3436 0%, #636e72 100%),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 100% 100%, 15px 15px, 15px 15px;
    min-height: 100vh;
    color: #ecf0f1;
    line-height: 1.6;
}

.container {
    display: flex;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
    min-height: 100vh;
}

/* 左侧边栏 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 30px;
}

.sidebar-header h1 {
    font-size: 2.2rem;
    font-weight: 300;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sidebar-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    margin: 0;
    line-height: 1.4;
}

/* 个人主页链接样式 */
.homepage-link {
    margin-top: 30px;
}

.homepage-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.homepage-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.homepage-btn i {
    font-size: 0.9rem;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 实时时间显示样式 */
.real-time-clock {
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.95) 0%, rgba(12, 36, 58, 0.95) 50%, rgba(8, 28, 45, 0.95) 100%);
    border-radius: 15px;
    padding: 30px 20px;
    border: 2px solid #00d4aa;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.real-time-clock::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 1px, transparent 1px);
    background-size: 15px 15px;
    animation: sparkle 5s linear infinite;
}

.time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.time-clock {
    font-size: 28px;
    font-weight: bold;
    color: #00d4aa;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.8);
    letter-spacing: 2px;
}

.time-date {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.time-week {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* 统计部件样式 */
.stats-widget {
    background: linear-gradient(135deg, rgba(74, 107, 136, 0.95) 0%, rgba(58, 83, 105, 0.95) 50%, rgba(42, 62, 80, 0.95) 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #4a8cff;
    box-shadow: 0 4px 20px rgba(74, 140, 255, 0.4);
    backdrop-filter: blur(10px);
    min-height: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* 新统计部件样式 - 固定大小 */
.new-stats-widget {
    background: linear-gradient(135deg, rgba(74, 107, 136, 0.95) 0%, rgba(58, 83, 105, 0.95) 50%, rgba(42, 62, 80, 0.95) 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #4a8cff;
    box-shadow: 0 4px 20px rgba(74, 140, 255, 0.4);
    backdrop-filter: blur(10px);
    min-height: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    margin-top: 20px;
}

/* 新统计部件分类样式 */
.new-stats-widget.book-active {
    background: linear-gradient(135deg, rgba(11, 42, 11, 0.924) 0%, rgba(24, 66, 24, 0.924) 50%, rgba(24, 66, 24, 0.924) 100%);
    border-color: #20d46b;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
}

.new-stats-widget.media-active {
    background: linear-gradient(135deg, rgba(107, 74, 136, 0.95) 0%, rgba(83, 58, 105, 0.95) 50%, rgba(62, 42, 80, 0.95) 100%);
    border-color: #ff6b6b;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.new-stats-widget.music-active {
    background: linear-gradient(135deg, rgba(136, 107, 74, 0.95) 0%, rgba(105, 83, 58, 0.95) 50%, rgba(80, 62, 42, 0.95) 100%);
    border-color: #ffd93d;
    box-shadow: 0 4px 20px rgba(255, 217, 61, 0.4);
}

/* 新统计部件内容区域 */
.new-stats-content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* 新统计项样式 */
.new-stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
    justify-content: center;
    height: 100%;
    display: none; /* 默认隐藏所有统计项 */
}

/* 根据分类显示对应的统计项 */
.new-stats-widget.book-active .new-stats-item:nth-child(-n+3) {
    display: flex; /* 书籍分类显示前3个统计项 */
}

.new-stats-widget.media-active .new-stats-item:nth-child(n+4):nth-child(-n+6) {
    display: flex; /* 影视分类显示第4-6个统计项 */
}

.new-stats-widget.music-active .new-stats-item:nth-child(7) {
    display: flex !important; /* 音乐分类显示第7个统计项 */
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

/* 新统计标签和值 */
.new-stats-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.new-stats-value {
    font-size: 16px;
    font-weight: bold;
    color: #4a8cff;
    text-shadow: 0 0 8px rgba(74, 140, 255, 0.6);
    /* 移除过渡动画，防止文字大小变化 */
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* 新统计部件分类颜色 */
.new-stats-widget.book-active .new-stats-value {
    color: #27ae60;
    text-shadow: 0 0 8px rgba(39, 174, 96, 0.6);
}

.new-stats-widget.media-active .new-stats-value {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
}

.new-stats-widget.music-active .new-stats-value {
    color: #ffd93d;
    text-shadow: 0 0 8px rgba(255, 217, 61, 0.6);
}

/* 音乐分类滚动效果 */
.new-stats-widget.music-active .new-stats-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
}

.new-stats-widget.music-active .new-stats-item:nth-child(7) {
    width: auto !important;
    overflow: visible !important;
    flex: none !important;
    max-width: none !important;
    min-width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 100%;
}

.new-stats-widget.music-active .new-stats-item:nth-child(7) .new-stats-value {
    color: #ffd93d;
    text-shadow: 0 0 8px rgba(255, 217, 61, 0.6);
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    padding: 0 0 0 0; /* 移除左右padding，消除空白位置 */
    box-sizing: border-box;
    min-width: auto;
    width: auto;
    line-height: 1.2;
    text-align: left;
    justify-content: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* 保留滚动动画，移除其他过渡效果 */
}

/* 默认状态下暂停动画 */
.new-stats-widget.music-active .new-stats-item:nth-child(7) .new-stats-value {
    animation: scrollText 6s linear infinite;
    animation-play-state: paused;
    animation-delay: 0s;
    transform: translateX(0%);
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    min-width: auto;
    width: auto;
}

/* 鼠标悬停时继续滚动 */
.new-stats-widget.music-active:hover .new-stats-item:nth-child(7) .new-stats-value {
    animation-play-state: running;
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    min-width: auto;
    width: auto;
}

/* 根据分类显示不同样式 */
.stats-widget.book-active {
    background: linear-gradient(135deg, rgba(16, 42, 16, 0.95) 0%, rgba(12, 36, 12, 0.95) 50%, rgba(8, 28, 8, 0.95) 100%);
    border-color: #27ae60;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
}

.stats-widget.media-active {
    background: linear-gradient(135deg, rgba(107, 74, 136, 0.95) 0%, rgba(83, 58, 105, 0.95) 50%, rgba(62, 42, 80, 0.95) 100%);
    border-color: #ff6b6b;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.stats-widget.music-active {
    background: linear-gradient(135deg, rgba(136, 107, 74, 0.95) 0%, rgba(105, 83, 58, 0.95) 50%, rgba(80, 62, 42, 0.95) 100%);
    border-color: #ffd93d;
    box-shadow: 0 4px 20px rgba(255, 217, 61, 0.4);
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stats-icon {
    font-size: 18px;
}

.stats-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.stats-content {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0; /* 允许项目收缩 */
}

/* 当只有一个统计项可见时，让它占据整个宽度 */
.stats-item:only-child {
    flex: 1 1 100%;
    max-width: 100%;
}

.stats-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.stats-value {
    font-size: 16px;
    font-weight: bold;
    color: #4a8cff;
    text-shadow: 0 0 8px rgba(74, 140, 255, 0.6);
    transition: all 0.3s ease;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* 音乐分类的滚动显示效果 */
.stats-widget.music-active .stats-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.stats-widget.music-active .stats-item {
    width: 100% !important;
    overflow: hidden;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
}

.stats-widget.music-active .stats-value {
    color: #ffd93d;
    text-shadow: 0 0 8px rgba(255, 217, 61, 0.6);
    font-size: 14px;
    animation: scrollText 10s linear infinite;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
    min-width: 100%;
    line-height: 1.2;
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 根据分类显示不同颜色 */
.stats-widget.book-active .stats-value {
    color: #1abc9c;
    text-shadow: 0 0 8px rgba(26, 188, 156, 0.6);
}

.stats-widget.media-active .stats-value {
    color: #ff6b6b;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.6);
}

/* 可爱动画 */
@keyframes sparkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

/* 小鸡漂浮动画 */
@keyframes chickFloat {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    20% {
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }
    80% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0;
    }
}

/* 小鸡闪烁动画 */
@keyframes chickTwinkle {
    0% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    100% {
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.3);
    }
}

/* 随机方向移动动画 - 由JavaScript动态生成 */
@keyframes waveDotMove {
    /* 初始关键帧，JavaScript会动态替换 */
    0% {
        cx: 10;
        cy: 40;
        opacity: 1;
        r: 3;
    }
    100% {
        cx: 190;
        cy: 40;
        opacity: 0;
        r: 4;
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx, 20px), var(--ty, -20px)) scale(0);
        opacity: 0;
    }
}

.chicken-status {
    margin-top: 10px;
}

.chicken-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}



.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transition: none !important;
    transform: none !important;
}

.nav-icon {
    font-size: 1.4rem;
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    flex: 1;
}

.nav-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* 快速操作区域 */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.action-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.action-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.action-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* 隐藏我的摘抄和阅读统计功能 */
.action-item:nth-child(2),
.action-item:nth-child(3) {
    display: none;
}

/* 关于页面信息 */
.about-info {
    padding: 10px 0;
    margin-top: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-info h3 {
    font-size: 0.8rem;
    color: rgba(158, 152, 152, 0.8);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.about-info h3:hover {
    color: #00d4aa;
    background: rgba(255, 255, 255, 0.05);
}

/* Tooltip 样式 */
.about-tooltip {
    position: relative;
    cursor: pointer;
}

.about-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.9);
    color: rgb(168, 164, 179);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5;
    white-space: pre-wrap;
    text-align: center;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.about-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* 主内容区域 */
.main-content {
    flex: 1;
    min-width: 0;
    margin-left: 280px;
    padding: 40px;
    min-height: 100vh;
}

/* 书架容器 */
.bookshelf-container {
    position: relative;
    min-height: 90vh; /* 几乎撑满视口高度 */
    padding-bottom: 50px; /* 减少底部留白 */
}

.bookshelf-wrapper {
    position: relative;
    width: 100%;
    height: 85vh; /* 几乎撑满视口高度 */
    min-height: 600px; /* 增加最小高度 */
    max-height: none; /* 移除最大高度限制 */
}

/* 书架基础样式 */
.bookshelf {
    position: absolute;
    width: 85%;
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: visible; /* 允许书签显示在书架外部 */
}

/* 三个书架的位置和层级 */
.bookshelf-1 {
    top: 100px;
    left: 80px; /* 改为固定间距 */
    z-index: 30;
    transform: translateX(0px);
}

.bookshelf-2 {
    top: 90px;
    left: 80px; /* 改为固定间距 */
    z-index: 20;
    transform: translateX(8px);
}

.bookshelf-3 {
    top: 80px;
    left: 80px; /* 改为固定间距 */
    z-index: 10;
    transform: translateX(16px);
}

/* 书架内容区域 */
.shelf-content {
    height: calc(100% - 80px);
    min-height: 400px; /* 确保有足够的最小高度 */
    padding: 20px 20px 20px 20px; /* 上下边距调整为相同的20px */
    overflow-y: hidden; /* 默认隐藏滚动条，由作品网格控制 */
}

/* 激活的书架显示滚动条 */
.bookshelf.active .shelf-content {
    overflow-y: auto; /* 激活的书架显示滚动条 */
}

/* 激活的书架通用样式 */
.bookshelf.active {
    z-index: 30;
    opacity: 1;
}

/* 书签样式 */
.bookmark {
    position: absolute;
    left: 100%;
    width: 50px;
    height: 140px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 0 15px 15px 0;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 书签位置 */
.bookmark[data-category="book"] {
    top: 120px;
}

.bookmark[data-category="media"] {
    top: 270px;
}

.bookmark[data-category="music"] {
    top: 420px;
}

.bookmark:hover {
    background: linear-gradient(135deg, #3db8b0, #369085);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.bookmark.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* 书籍架子网格布局 - 书封样式（固定间距） */
.bookshelf[data-category="book"] .works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 180px)); /* 固定最大列宽 */
    grid-auto-rows: 220px;
    gap: 20px; /* 固定间距 */
    height: 100%; /* 使用容器高度，不额外增加 */
    overflow-y: hidden; /* 默认隐藏滚动条 */
    overflow-x: hidden;
    padding: 15px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #4a5568 #e2e8f0;
    background: #ffffff; /* 添加不透明白色背景 */
    justify-content: start; /* 左对齐，确保第一个书与左边框距离固定 */
}

/* 激活的书架显示滚动条（仅在需要时） */
.bookshelf.active[data-category="book"] .works-grid {
    overflow-y: auto; /* 激活的书架显示滚动条 */
}

/* 自定义滚动条样式 - Webkit浏览器 */
.bookshelf[data-category="book"] .works-grid::-webkit-scrollbar {
    width: 8px;
}

.bookshelf[data-category="book"] .works-grid::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.bookshelf[data-category="book"] .works-grid::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.bookshelf[data-category="book"] .works-grid::-webkit-scrollbar-thumb:hover {
    background: #2d3748;
}

/* 影视架子网格布局 - 正方形作品（固定间距） */
.bookshelf[data-category="media"] .works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 190px)); /* 固定最大列宽 */
    grid-auto-rows: 180px;
    gap: 20px; /* 固定间距 */
    height: 100%; /* 使用容器高度，不额外增加 */
    overflow-y: hidden; /* 默认隐藏滚动条 */
    overflow-x: hidden;
    padding: 10px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #4a5568 #e2e8f0;
    background: #ffffff; /* 添加不透明白色背景 */
    justify-content: start; /* 左对齐，确保第一个书与左边框距离固定 */
}

/* 激活的书架显示滚动条（仅在需要时） */
.bookshelf.active[data-category="media"] .works-grid {
    overflow-y: auto; /* 激活的书架显示滚动条 */
}

/* 自定义滚动条样式 - Webkit浏览器 */
.bookshelf[data-category="media"] .works-grid::-webkit-scrollbar {
    width: 8px;
}

.bookshelf[data-category="media"] .works-grid::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.bookshelf[data-category="media"] .works-grid::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.bookshelf[data-category="media"] .works-grid::-webkit-scrollbar-thumb:hover {
    background: #2d3748;
}

/* 音乐架子网格布局 - 磁带样式（固定间距） */
.bookshelf[data-category="music"] .works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 230px)); /* 固定最大列宽 */
    grid-auto-rows: 70px;
    gap: 15px; /* 固定间距 */
    height: 100%; /* 使用容器高度，不额外增加 */
    overflow-y: hidden; /* 默认隐藏滚动条 */
    overflow-x: hidden;
    padding: 15px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #4a5568 #e2e8f0;
    background: #ffffff; /* 添加不透明白色背景 */
    justify-content: start; /* 左对齐，确保第一个书与左边框距离固定 */
}

/* 激活的书架显示滚动条（仅在需要时） */
.bookshelf.active[data-category="music"] .works-grid {
    overflow-y: auto; /* 激活的书架显示滚动条 */
}

/* 自定义滚动条样式 - Webkit浏览器 */
.bookshelf[data-category="music"] .works-grid::-webkit-scrollbar {
    width: 8px;
}

.bookshelf[data-category="music"] .works-grid::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.bookshelf[data-category="music"] .works-grid::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.bookshelf[data-category="music"] .works-grid::-webkit-scrollbar-thumb:hover {
    background: #2d3748;
}

/* 移动端作品列表容器样式 - 默认隐藏 */
.mobile-works-container {
    display: none;
    width: 100%;
    margin-top: 60px; /* 为移动端tab导航留出空间 */
}

.mobile-works-list {
    display: none;
    width: 100%;
}

.mobile-works-list.active {
    display: block;
}

/* 移动端作品项样式 */
.mobile-works-list .work-item {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-works-list .work-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.mobile-works-list .work-item .work-info {
    flex: 1;
}

/* 通用移动端作品标题样式 */
.mobile-works-list .work-item .work-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.mobile-works-list .work-item .work-meta {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 现代移动端底部导航栏 - 全局样式 */
.mobile-tab-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 12px 20px;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    height: 80px;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* 现代底部tab导航 */
.mobile-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 5px;
}

.mobile-tab {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    max-width: 100px;
    min-height: 56px;
}

/* 统一选中状态 */
.mobile-tab.active {
    background: #667eea !important;
    color: #ffffff !important;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.3) !important;
    transform: none !important;
    transition: none !important;
}

.mobile-tab:hover {
    background: rgba(113, 128, 150, 0.1);
    transform: translateY(-1px);
}

/* 底部导航文字样式 */
.mobile-tab-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-tab-count {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

/* 窄屏幕适配 - 现代移动端设计 */
@media (max-width: 768px) {
    /* 隐藏桌面端元素 */
    .sidebar-nav, .bookshelf-container {
        display: none;
    }
    
    /* 移动端顶部标题栏 */
    .mobile-header-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px 20px;
        box-shadow: 0 2px 20px rgba(102, 126, 234, 0.3);
        height: 60px;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    
    .mobile-header-bar h1 {
        font-size: 1.4rem;
        font-weight: 700;
        color: #ffffff;
        text-align: center;
        letter-spacing: -0.5px;
        margin: 0;
        flex: 1;
    }
    
    /* 移动端搜索按钮 */
    .mobile-search-btn {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 8px 12px;
        font-size: 1.2rem;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .mobile-search-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    }
    
    /* 现代作品列表容器 */
    .mobile-works-container {
        display: block;
        position: relative;
        z-index: 1;
        margin-top: 60px; /* 为顶部标题栏留出空间 */
        margin-bottom: 80px; /* 为底部导航栏留出空间 */
        padding: 25px 20px;
        min-height: calc(100vh - 140px); /* 减去顶部和底部的高度 */
        background: #f7fafc;
        text-align: left;
    }
    
    /* 现代移动端作品列表 */
    .mobile-works-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
        justify-items: start;
        text-align: left;
        align-items: start;
        justify-content: start;
        width: 100%;
        max-width: 100%;
    }
    
    /* 确保所有移动端作品列表容器都左对齐 */
    #mobile-book-works,
    #mobile-media-works,
    #mobile-music-works {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 0 !important;
        justify-items: start !important;
        text-align: left !important;
        align-items: start !important;
        justify-content: start !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 现代移动端作品项 */
    .mobile-works-list .work-item {
        background: #ffffff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 1px solid #e2e8f0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }
    
    .mobile-works-list .work-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        border-color: #cbd5e0;
    }
    
    /* 作品图片样式 */
    .mobile-works-list .work-item .work-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
        margin-right: 16px;
        float: left;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .mobile-works-list .work-item:hover .work-image {
        transform: scale(1.02);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    /* 作品信息区域 */
    .mobile-works-list .work-item .work-info {
        overflow: hidden;
        text-align: left;
    }
    
    /* 作品标题样式 */
    .mobile-works-list .work-item .work-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2d3748;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    /* 窄屏版影视作品标题样式 */
    .mobile-works-list .work-item.media .work-title {
        font-size: 1.1rem !important;
        color: #2d3748 !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    
    .mobile-works-list .work-item.media .work-title::after {
        content: none !important;
    }
    
    /* 作品元数据样式 */
    .mobile-works-list .work-item .work-meta {
        font-size: 0.9rem;
        color: #718096;
        line-height: 1.4;
    }
    
    /* 移动端作品项分隔符样式 */
    .mobile-works-list .work-item .work-director::before,
    .mobile-works-list .work-item .work-author::before,
    .mobile-works-list .work-item .work-singer::before {
        content: " | ";
        color: #bdc3c7;
        font-weight: normal;
        margin: 0 8px;
    }
    
    /* 移动端作品项作者/导演/歌手统一样式 - 与书籍分类样式完全一致 */
    .mobile-works-list .work-item .work-author,
    .mobile-works-list .work-item .work-director,
    .mobile-works-list .work-item .work-singer {
        font-size: 0.9rem !important;
        color: #7f8c8d !important;
        font-weight: 600 !important;
        font-style: normal !important;
        line-height: 1.4 !important;
        position: static !important;
        text-shadow: none !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: unset !important;
        white-space: normal !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 分类特定样式 - 简洁的边框色 */
    .mobile-works-list .work-item.book {
        border-left: 4px solid #ff6b6b;
    }
    
    .mobile-works-list .work-item.media {
        border-left: 4px solid #4ecdc4;
    }
    
    .mobile-works-list .work-item.music {
        border-left: 4px solid #ffd93d;
    }
    
    /* 隐藏不需要的元素 */
    .bookmark, .quote-badge {
        display: none;
    }
    
    /* 窄屏模式下隐藏宽屏影视作品元素，但确保窄屏元素显示 */
    .mobile-works-list .work-item.media .media-title,
    .mobile-works-list .work-item.media .media-director,
    .mobile-works-list .work-item.media .media-release-date {
        display: none !important;
    }
    
    /* 确保窄屏模式下的影视作品元素正常显示 */
    .mobile-works-list .work-item.media .work-title,
    .mobile-works-list .work-item.media .work-director {
        display: block !important;
    }
    
    /* 空状态提示 */
    .mobile-works-list .empty-state {
        text-align: left;
        padding: 40px 20px;
        color: #7f8c8d;
        font-size: 1rem;
    }
    
    /* 菜单切换按钮 */
    .menu-toggle {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.3);
        transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }
}

/* 作品项样式 */
.work-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

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

.work-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 书籍样式 - 书封样式 */
.work-item.book {
    --book-width: 140px;
    --book-height: 200px;
    width: var(--book-width);
    height: var(--book-height);
    background: linear-gradient(135deg, #2c3e50, #34495e, #1a2530);
    border: 1px solid #1c2833;
    border-radius: 8px 4px 4px 8px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.35),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 书封悬停效果 */
.work-item.book:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 6px 20px rgba(0, 0, 0, 0.25);
}

/* 书封装饰条纹 - 深蓝金属质感 */
.work-item.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #3498db 0%, 
        #2980b9 25%, 
        #1f618d 50%, 
        #154360 75%, 
        #1b4f72 100%
    );
    box-shadow: 
        0 2px 8px rgba(52, 152, 219, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* 书封装饰图案 - 精细网格纹理 */
.work-item.book::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 6px;
    right: 6px;
    bottom: 12px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(52, 152, 219, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px, 25px 25px, 20px 20px, 15px 15px, 15px 15px;
    opacity: 0.4;
    border-radius: 4px;
    mix-blend-mode: overlay;
}



/* 窄屏模式下书籍样式重置 */
    @media (max-width: 768px) {
        .work-item.book {
            width: auto;
            height: auto;
            background: white;
            border: none;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            display: flex;
            align-items: center;
            padding: 20px;
        }
        
        /* 窄屏模式下影视样式重置 */
        .work-item.media {
            width: auto;
            height: auto;
            background: white;
            border: none;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            display: flex;
            align-items: start !important;
            justify-content: start !important;
            text-align: left !important;
            padding: 20px;
        }
        
        /* 窄屏模式下音乐样式重置 */
        .work-item.music {
            width: auto;
            height: auto;
            background: white;
            border: none;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            display: flex;
            align-items: start !important;
            justify-content: start !important;
            text-align: left !important;
            padding: 20px;
        }
    
    .work-item.book::before {
        display: none;
    }
    
    .work-item.book .work-title {
        position: static;
        margin-bottom: 5px;
        color: #2c3e50;
        text-shadow: none;
        max-width: none;
        max-height: none;
        text-align: left;
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }
    
    .work-item.book .work-author {
        position: static;
        font-style: normal;
        color: #7f8c8d;
        text-shadow: none;
        max-width: none;
        max-height: none;
        text-align: left;
        font-size: 0.9rem;
        -webkit-line-clamp: 1;
    }
    
    /* 窄屏模式下隐藏摘抄徽章 */
    .work-item.book .quote-badge {
        display: none !important;
    }
}

/* 书籍摘抄个数徽章 - 手机应用通知样式 */
.work-item.book .quote-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 
        0 2px 8px rgba(255, 71, 87, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 2px solid white;
    animation: pulse 2s infinite;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transform: rotate(0deg);
}

/* 徽章脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 
            0 2px 8px rgba(255, 71, 87, 0.4),
            0 1px 3px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 4px 12px rgba(255, 71, 87, 0.6),
            0 2px 6px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 
            0 2px 8px rgba(255, 71, 87, 0.4),
            0 1px 3px rgba(0, 0, 0, 0.2);
    }
}

/* 当摘抄数量较多时的样式 */
.work-item.book .quote-badge.many-quotes {
    width: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    font-size: 0.7rem;
}

/* 书籍标题和作者样式 - 书封样式 */
.work-item.book .work-title {
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 120px;
    max-height: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: absolute;
    top: 40px;
    left: 10px;
    right: 10px;
    text-align: center;
    font-size: 1rem; /* 使用固定单位避免vw计算差异 */
    z-index: 2;
}

.work-item.book .work-author {
    color: #ecf0f1;
    font-style: italic;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 120px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: absolute;
    bottom: 30px;
    left: 10px;
    right: 10px;
    text-align: center;
    font-size: 0.85rem; /* 使用固定单位避免vw计算差异 */
    z-index: 2;
}

/* 窄屏模式下书籍标题和作者样式重置 */
@media (max-width: 768px) {
    .work-item.book .work-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #2c3e50;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        position: static;
        margin-bottom: 6px;
        line-height: 1.3;
        text-shadow: none;
        max-width: none;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        top: auto;
        left: auto;
    }
    
    .work-item.book .work-author {
        font-size: 0.9rem;
        color: #7f8c8d;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        position: static;
        font-style: normal;
        line-height: 1.4;
        text-shadow: none;
        max-width: none;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
        top: auto;
        left: auto;
    }
}

/* 阅读状态指示器样式 */
.reading-status-indicator {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 已读状态样式 */
.reading-status-indicator.read {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

/* 阅读中状态样式 */
.reading-status-indicator.reading {
    background: linear-gradient(135deg, #ffb347, #ffcc33);
    color: #2c3e50;
}

/* 未读状态样式 */
.reading-status-indicator.unread {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    color: #7f8c8d;
    border-color: rgba(127, 140, 141, 0.3);
}

/* 状态文本样式 */
.reading-status-indicator .status-text {
    font-size: 0.65rem;
    font-weight: 700;
}

/* 进度文本样式 */
.reading-status-indicator .progress-text {
    font-size: 0.6rem;
    font-weight: 600;
    opacity: 0.9;
}

/* 窄屏模式下的阅读状态指示器样式 */
@media (max-width: 768px) {
    .reading-status-indicator {
        position: static;
        margin-top: 6px;
        align-self: flex-start;
        font-size: 0.75rem;
    }
    
    .reading-status-indicator .status-text {
        font-size: 0.7rem;
    }
    
    .reading-status-indicator .progress-text {
        font-size: 0.65rem;
    }
}

/* 影视样式 - 蓝月亮石英电影光盘封面样式 */
.work-item.media {
    aspect-ratio: 1 / 1; /* 正方形 */
    background: 
        /* 主背景 - 月光石清透质感 */
        linear-gradient(135deg, 
            rgba(240, 248, 255, 0.95) 0%,
            rgba(230, 240, 255, 0.9) 30%,
            rgba(220, 230, 250, 0.85) 60%,
            rgba(210, 220, 240, 0.8) 100%
        ),
        /* 月光效应 - 蓝色光泽 */
        radial-gradient(circle at 25% 25%, 
            rgba(173, 216, 230, 0.4) 0%,
            rgba(176, 224, 230, 0.3) 30%,
            rgba(240, 248, 255, 0.2) 60%,
            transparent 80%
        ),
        /* 月光效应 - 紫色光泽 */
        radial-gradient(circle at 75% 75%, 
            rgba(221, 160, 221, 0.3) 0%,
            rgba(230, 230, 250, 0.2) 40%,
            rgba(248, 248, 255, 0.1) 70%,
            transparent 90%
        ),
        /* 月光效应 - 线性渐变光泽 */
        linear-gradient(45deg, 
            rgba(255, 255, 255, 0.3) 0%,
            rgba(240, 248, 255, 0.2) 25%,
            rgba(230, 230, 250, 0.15) 50%,
            rgba(248, 248, 255, 0.1) 75%,
            transparent 100%
        );
    border-radius: 12px;
    border: 1px solid #d8e2ff;
    box-shadow: 
        0 8px 30px rgba(173, 216, 230, 0.25),
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-item.media:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(173, 216, 230, 0.35),
        0 6px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: 
        linear-gradient(135deg, 
            rgba(250, 255, 255, 0.98) 0%,
            rgba(240, 248, 255, 0.95) 30%,
            rgba(230, 240, 255, 0.9) 60%,
            rgba(220, 230, 250, 0.85) 100%
        ),
        radial-gradient(circle at 25% 25%, 
            rgba(173, 216, 230, 0.5) 0%,
            rgba(176, 224, 230, 0.4) 30%,
            rgba(240, 248, 255, 0.3) 60%,
            transparent 80%
        ),
        radial-gradient(circle at 75% 75%, 
            rgba(221, 160, 221, 0.4) 0%,
            rgba(230, 230, 250, 0.3) 40%,
            rgba(248, 248, 255, 0.2) 70%,
            transparent 90%
        ),
        linear-gradient(45deg, 
            rgba(255, 255, 255, 0.4) 0%,
            rgba(240, 248, 255, 0.3) 25%,
            rgba(230, 230, 250, 0.25) 50%,
            rgba(248, 248, 255, 0.2) 75%,
            transparent 100%
        );
    border-color: #b0c4de;
}

.work-item.media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    opacity: 0.4;
    mix-blend-mode: overlay;
}

.work-item.media::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 128px;
    height: 128px;
    background: 
        /* 光盘基底色 - 月光石清透质感背景 */
        radial-gradient(circle at 50% 50%, 
            rgba(240, 248, 255, 0.7) 0%,
            rgba(230, 240, 255, 0.6) 20%,
            rgba(220, 230, 250, 0.5) 40%,
            rgba(210, 220, 240, 0.45) 60%,
            rgba(200, 210, 230, 0.4) 80%,
            rgba(190, 200, 220, 0.35) 100%
        ),
        /* 月光石旋转纹路 - 增强旋转效果 */
        repeating-conic-gradient(
            from 0deg,
            rgba(255, 255, 255, 0.25) 0deg 2deg,
            rgba(255, 255, 255, 0.15) 2deg 4deg,
            rgba(255, 255, 255, 0.1) 4deg 6deg,
            transparent 6deg 12deg
        ),
        /* 月光石中心 - 清透的中心效果 */
        radial-gradient(circle at 50% 50%, 
            transparent 0%,
            transparent 12%,
            rgba(255, 255, 255, 0.4) 12.5%,
            rgba(255, 255, 255, 0.3) 13%,
            rgba(255, 255, 255, 0.2) 14%,
            rgba(255, 255, 255, 0.1) 15%,
            transparent 18%
        ),
        /* 月光石光泽 - 模拟月光效应 */
        radial-gradient(circle at 25% 25%, 
            rgba(173, 216, 230, 0.4) 0%,
            rgba(176, 224, 230, 0.3) 15%,
            rgba(240, 248, 255, 0.2) 30%,
            transparent 45%
        ),
        /* 月光石光泽 - 紫色光泽 */
        radial-gradient(circle at 75% 75%, 
            rgba(221, 160, 221, 0.3) 0%,
            rgba(230, 230, 250, 0.2) 20%,
            rgba(248, 248, 255, 0.1) 35%,
            transparent 50%
        );
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 0 0 1px rgba(173, 216, 230, 0.3),
        0 2px 15px rgba(173, 216, 230, 0.4),
        inset 0 1px 4px rgba(255, 255, 255, 0.5),
        inset 0 -1px 4px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 255, 255, 0.3);
    z-index: 1;
    animation: rotateDisc 4s linear infinite;
}

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

.work-item.media .media-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a6fa5; /* 月光石蓝色调，柔和而优雅 */
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9); /* 增强白色光泽效果 */
    z-index: 3;
    max-width: 85%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.work-item.media .media-director {
    font-size: 0.95rem;
    color: #6b8cae; /* 浅月光石蓝色，与标题形成层次 */
    margin-bottom: 6px;
    z-index: 3;
    font-weight: 500;
    line-height: 1.2;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.8); /* 增强白色光泽效果 */
}

.work-item.media .media-release-date {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 0.7rem;
    color: #7a9bc5; /* 月光石浅蓝色，与整体色调协调 */
    font-weight: 400;
    z-index: 3;
    opacity: 0.8;
    letter-spacing: 0.1px;
}

.work-item.media .media-year {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    z-index: 3;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* 懒加载动画 */
.work-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 加载指示器 */
.loading-indicator {
    display: none;
    text-align: center;
    padding: 20px;
    color: #718096;
    font-style: italic;
}

.loading-indicator.show {
    display: block;
}

/* 音乐样式 - 磁带样式 */
.work-item.music {
    height: 70px; /* 固定高度以显示白色缝隙 */
    background: linear-gradient(135deg, #064e3b, #065f46, #047857);
    border-radius: 6px;
    border: 1px solid #064e3b;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-item.music:hover {
    transform: translateY(-2px) rotate(1deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* 磁带中间的透明窗口 */
.work-item.music::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 40%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    z-index: 1;
}

/* 磁带两侧的卷轴孔 */
.work-item.music::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #1a252f 30%, transparent 31%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.work-item.music::before::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #1a252f 30%, transparent 31%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* 第二个卷轴孔 */
.work-item.music::before::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translate(50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #1a252f 30%, transparent 31%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.work-item.music .music-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ecf0f1;
    margin-bottom: 3px;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    z-index: 3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.work-item.music .music-singer {
    font-size: 0.85rem;
    color: rgba(236, 240, 241, 0.8);
    margin-bottom: 0;
    z-index: 3;
    font-weight: 500;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.2px;
}



/* 通用年份样式 */
.work-year {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 80%;
    max-width: 800px; /* 加宽宽屏时的最大宽度 */
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

/* 详情页样式 */
.work-detail {
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 固定标题栏 - 与首页协调的配色 */
.detail-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 30px;
    border-radius: 12px 12px 0 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-bottom: 2px solid #5a6fd8;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header .detail-title {
    font-size: 1.05rem;
    font-weight: bold;
    margin: 0;
    color: white;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    margin-right: 40px; /* 为关闭按钮留出空间 */
}

/* 标题栏右侧区域 */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 阅读状态按钮样式 */
.reading-status-button {
    background: #ffffff;
    color: #2c3e50;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reading-status-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 不同阅读状态的颜色 - 不透明但保留渐变效果 */
.reading-status-button.read {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-color: #2f855a;
    color: white;
}

.reading-status-button.reading {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    border-color: #dd6b20;
    color: white;
}

.reading-status-button.unread {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    border-color: #4a5568;
    color: white;
}

.close-detail {
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-detail:hover {
    background-color: rgba(255,255,255,0.2);
}

/* 可滚动的内容区域 */
.detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 35px;
    max-height: calc(85vh - 90px);
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* 内容区域的标题和作者信息 - 简洁版 */
.detail-content-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-body .detail-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.detail-body .detail-author {
    font-size: 1.1rem;
    color: #4a5568; /* 加深作者信息颜色 */
    font-weight: 500;
}

.detail-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.detail-author {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.detail-info {
    margin-bottom: 18px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.detail-info:hover {
    background: #f0f4ff;
    transform: translateX(5px);
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.detail-description {
    margin-top: 25px;
    line-height: 1.8;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 1.05rem;
}

/* 新增详情页样式 - 简洁版 */
.detail-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.detail-evolution,
.detail-evaluation,
.detail-sync-time {
    margin: 15px 0;
    padding: 12px;
    background: #f7fafc;
    border-left: 3px solid #667eea;
    border-radius: 4px;
}

.detail-link {
    margin-top: 20px;
    text-align: center;
}

.link-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4a5568;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.link-button:hover {
    background-color: #2d3748;
    text-decoration: none;
    color: white;
}

/* 基本信息区域样式 - 简洁版 */
.detail-basic-info {
    margin: 20px 0;
}

.basic-info-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.basic-info-line {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #2c3e50; /* 增加文字颜色对比度 */
}

.basic-info-label {
    font-weight: 600;
    color: #2c3e50; /* 加深标签颜色 */
    margin-right: 8px;
    flex-shrink: 0;
    width: 80px; /* 固定标签宽度，确保冒号对齐 */
    text-align: left; /* 标签名左对齐 */
}

/* 版本容器样式 */
.version-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.version-item {
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-left: 3px solid #3498db;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 6px;
}

.version-info {
    font-weight: 600;
    margin-bottom: 4px;
    color: #2c3e50;
}

.version-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.version-date {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
}

/* 阅读状态样式 */
.reading-status {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 13px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.reading-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.reading-status.read {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-color: #2f855a;
}

.reading-status.reading {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: white;
    border-color: #dd6b20;
}

.reading-status.unread {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
    border-color: #4a5568;
}

.detail-quotes {
    margin-top: 30px;
}

.no-quotes-message {
    margin-top: 20px;
}

.empty-content {
    padding: 20px;
    text-align: center;
    color: #4a5568; /* 加深空状态提示颜色 */
    font-style: italic;
    background-color: #f7fafc;
    border-radius: 4px;
}

.quote-item {
    margin: 18px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-left: 5px solid #8b9dff;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(139, 157, 255, 0.1);
    transition: all 0.3s ease;
}

.quote-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 157, 255, 0.2);
}

.quote-content {
    font-size: 1rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
    quotes: """ """ "'" "'";
}

.quote-content::before {
    content: open-quote;
    font-size: 1.2rem;
    color: #8b9dff;
}

.quote-content::after {
    content: close-quote;
    font-size: 1.2rem;
    color: #8b9dff;
}

.quote-content-item {
    margin-bottom: 10px;
    padding-left: 16px;
    position: relative;
}

.quote-content-item:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b9dff;
    font-size: 1rem;
}

.quote-content-item:last-child {
    margin-bottom: 0;
}

.quote-chapter,
.quote-scene {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 6px;
    font-style: italic;
}

.quote-comment {
    font-size: 0.95rem;
    color: #34495e;
    line-height: 1.4;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e2e8f0;
}

/* 新增样式 - 抄录时间和留言 */
.quote-record-time {
    font-size: 0.8rem;
    color: #95a5a6;
    font-style: italic;
    margin: 3px 0 8px 0;
}

.quote-comments {
    margin-top: 8px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 2px solid #3498db;
}

.comments-label {
    font-size: 0.85rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 6px;
}

.comment-item {
    font-size: 0.85rem;
    color: #34495e;
    line-height: 1.3;
    margin: 4px 0;
    padding: 4px 6px;
    background-color: #ffffff;
    border-radius: 3px;
    border-left: 2px solid #bdc3c7;
}

.comment-time {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-style: italic;
    margin-left: 6px;
}

/* 章节分组样式 */
.chapter-group {
    margin: 20px 0 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8b9dff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chapter-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding: 10px 15px;
    font-family: 'Georgia', serif;
    font-style: italic;
    background: linear-gradient(135deg, #8b9dff 0%, #667eea 100%);
    color: white;
    border-radius: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chapter-quotes {
    padding: 0;
}

.chapter-quote-item {
    margin: 12px 0;
    padding: 12px;
    position: relative;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chapter-quote-content {
    font-size: 1rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 6px;
    font-family: 'Georgia', serif;
    quotes: """ """ "'" "'";
}

.chapter-quote-content::before {
    content: open-quote;
    font-size: 1.1rem;
    color: #8b9dff;
}

.chapter-quote-content::after {
    content: close-quote;
    font-size: 1.1rem;
    color: #8b9dff;
}

.chapter-quote-time {
    display: none;
}

.chapter-quote-comments {
    margin-top: 6px;
    padding: 8px 0 0 30px;
    border-left: 2px solid #e2e8f0;
    margin-left: 20px;
}

.chapter-comment-item {
    font-size: 0.85rem;
    color: #34495e;
    line-height: 1.3;
    margin: 4px 0;
    padding: 4px 0;
    position: relative;
}

.chapter-comment-item:before {
    content: "💬";
    position: absolute;
    left: -15px;
    font-size: 0.8rem;
}

.chapter-comment-time {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-style: italic;
    margin-left: 8px;
    display: inline-block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .quote-comments {
        padding: 8px;
    }
    
    .comment-item {
        padding: 5px 6px;
        font-size: 0.85rem;
    }
    
    .comment-time {
        font-size: 0.75rem;
    }
    
    .chapter-group {
        margin: 15px 0 10px 0;
        padding: 12px;
    }
    
    .chapter-title {
        font-size: 1.1rem;
        padding: 8px 12px;
    }
    
    .chapter-quotes {
        padding: 0;
    }
    
    .chapter-quote-item {
        margin: 10px 0;
        padding: 10px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .detail-title {
        font-size: 1.6rem;
    }
    
    .detail-subtitle {
        font-size: 1.2rem;
    }
    
    .quote-content {
        font-size: 1rem;
    }
    
    .quote-item {
    padding: 8px;
    margin: 8px 0;
}
    
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
}

/* 响应式设计 - 窄屏顶部布局 */
@media (max-width: 768px) {
    /* 移动端布局 - 隐藏侧边栏 */
    .sidebar.mobile-layout {
        display: none !important;
    }
    
    /* 隐藏菜单切换按钮 */
    .menu-toggle {
        display: none !important;
    }
    
    /* 主内容区域 */
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
        margin-top: 120px; /* 为顶部标题和tab导航留出空间 */
    }
    
    /* 窄屏直接显示列表 - 移除书架容器 */
    .bookshelf-container {
        display: none !important;
    }
    
    .bookshelf-wrapper {
        display: none !important;
    }
    
    /* 窄屏直接显示列表 - 移除书架样式 */
    .bookshelf {
        display: none !important;
    }
    
    /* 窄屏时使用移动端作品列表，不需要激活的书架样式 */
    
    /* 窄屏直接显示列表 - 作品网格容器显示 */
    #book-works,
    #media-works,
    #music-works {
        display: none !important;
    }
    
    /* 窄屏直接显示列表 - 作品网格样式 */
    .works-grid {
        display: none !important;
    }
    
    /* 显示移动端作品列表 */
    .mobile-works-container {
        display: block !important;
    }
    
    /* 作品项 - 窄屏纯文字样式 */
    .work-item {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        height: auto !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        cursor: pointer;
        transition: none !important;
        position: relative;
        min-height: auto !important;
        aspect-ratio: auto !important;
        border: none !important;
    }
    
    .work-item:hover {
        background-color: transparent !important;
        transform: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }
    
    .work-item::before,
    .work-item::after {
        display: none !important;
    }
    
    /* 分类特色样式 - 窄屏移除所有特色 */
    .work-item.book,
    .work-item.media,
    .work-item.music {
        border-left: none !important;
        background: transparent !important;
    }
    
    /* 文字横向排版 - 单行显示，竖线分隔 */
    .work-item {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        text-align: left !important;
        width: 100% !important;
        flex-direction: row !important;
    }
    
    /* 文字样式 - 单行显示，竖线分隔 */
    .work-item > div {
        color: #333 !important;
        text-shadow: none !important;
        font-weight: normal !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        position: static !important;
        text-align: left !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex-shrink: 1 !important;
        display: inline !important;
        max-width: 100% !important;
    }
    
    /* 确保作品名和作者信息在同一行显示 */
    .work-item.media > div,
    .work-item.music > div {
        display: inline !important;
        white-space: nowrap !important;
    }
    
    /* 标题样式 - 单行显示 */
    .work-item .work-title,
    .work-item .media-title,
    .work-item .music-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        color: #2c3e50 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: inline !important;
    }
    
    /* 作者/导演/歌手样式 - 单行显示 */
    .work-item .work-author,
    .work-item .media-director,
    .work-item .music-singer {
        font-size: 0.92rem !important;
        color: #7f8c8d !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: inline !important;
    }
    
    /* 竖线分隔符 - 放在作者信息前面 */
    .work-item .media-director::before,
    .work-item .work-author::before,
    .work-item .music-singer::before {
        content: " | " !important;
        color: #bdc3c7 !important;
        font-weight: normal !important;
        margin: 0 8px !important;
    }
    
    /* 年份样式 - 窄屏显示年份并添加括号，放在标题后面 */
    .work-item .media-year {
        display: inline !important;
        font-size: 0.85rem !important;
        color: #95a5a6 !important;
        margin-left: 8px !important;
    }
    
    .work-item .media-year::before {
        content: " | " !important;
    }
    
    /* 移除徽章样式 */
    .quote-badge {
        display: none !important;
    }
    
    /* 书签 - 窄屏隐藏 */
    .bookmark {
        display: none !important;
    }
    
    /* 模态框 */
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    /* 顶部tab导航 - 替换侧边栏导航 */
    .sidebar-nav {
        display: none; /* 隐藏侧边栏导航 */
    }
    
    /* 窄屏适配 - 使用统一的移动端样式 */
    /* 移动端样式已在前面定义，这里不再重复 */
    }

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .bookshelf-container {
        min-height: 80vh;
        padding-bottom: 20px;
    }
    
    .bookshelf-wrapper {
        height: 75vh;
        min-height: 400px;
    }
    
    .bookshelf {
        height: 65vh;
        min-height: 350px;
    }
    
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
    
    .bookmark {
        display: none !important;
    }
    
    header {
        margin-bottom: 10px; /* 手机端进一步减少间距 */
    }
    
    header h1 {
        font-size: 2rem; /* 手机端标题稍小 */
    }
}

/* 搜索弹窗样式 */
.search-modal-content {
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.search-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.search-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.search-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.search-button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.category-filters,
.advanced-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.filter-options {
    display: flex;
    gap: 15px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #2d3748;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    margin: 0;
}

.advanced-toggle {
    padding: 8px 16px;
    background: #edf2f7;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.advanced-toggle:hover {
    background: #e2e8f0;
    border-color: #a0aec0;
}

.advanced-panel {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-filter,
.year-filter {
    padding: 6px 10px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.search-results-container {
    min-height: 200px;
}

.search-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #a0aec0;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.placeholder-text {
    font-size: 1.1rem;
    color: #718096;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.search-result-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

/* 图标样式 */
.nav-icon,
.mobile-tab-text,
.search-result-icon {
    font-size: inherit;
    color: inherit;
}

/* 搜索加载更多按钮样式 */
.search-load-more-container {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 20px;
}

.search-load-more-btn {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.search-load-more-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-load-more-btn:active {
    transform: translateY(0);
}

.load-more-icon {
    font-size: 1.2rem;
}

.load-more-text {
    font-weight: 600;
}

.load-more-count {
    font-size: 0.9rem;
    color: #718096;
}

/* 确保图标在移动端显示正常 */
@media (max-width: 768px) {
    .nav-icon i,
    .mobile-tab-text i,
    .filter-option i,
    .search-result-icon i {
        font-size: 1.2rem;
    }
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.search-result-meta {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.4;
}

.search-result-status {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.search-result-status.watched,
.search-result-status.read {
    background: #c6f6d5;
    color: #22543d;
}

.search-result-status.watching,
.search-result-status.reading {
    background: #fed7d7;
    color: #742a2a;
}

.search-result-status.unwatched,
.search-result-status.unread {
    background: #e2e8f0;
    color: #4a5568;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.search-no-results-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.search-no-results-text {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.search-no-results-hint {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* 移动端搜索弹窗适配 */
@media (max-width: 768px) {
    .search-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 5% auto;
    }
    
    .search-header {
        padding: 15px;
    }
    
    .search-input-container {
        flex-direction: column;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .category-filters,
    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-options {
        justify-content: space-between;
    }
    
    .advanced-panel {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .search-results {
        padding: 15px;
    }
    
    .search-result-item {
        padding: 12px;
    }
    

    
    .search-result-icon {
        font-size: 1.2rem;
        margin-right: 12px;
        width: 30px;
    }
}

/* 滚动条样式 */
.shelf-content::-webkit-scrollbar {
    width: 6px;
}

.shelf-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.shelf-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.shelf-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 系列详情页样式 */
.series-detail {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.series-detail .detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.series-detail .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.series-detail .detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.series-detail .close-detail {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.series-detail .close-detail:hover {
    transform: scale(1.2);
}

.series-detail .detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.series-detail-content {
    padding: 20px;
}

/* 系列统计信息样式 */
.series-stats {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
}

.series-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.series-stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-weight: 600;
    color: #2c3e50;
}

.stat-value {
    font-weight: 700;
    color: #667eea;
}

/* 系列分区样式 */
.series-section {
    margin-bottom: 30px;
}

.series-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
}

/* 系列作品列表样式 */
.series-works-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.series-work-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.series-work-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.series-work-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.series-work-item:hover::before {
    opacity: 1;
}

.series-work-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.series-work-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #6c757d;
}

.series-order {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.series-work-author,
.series-work-director {
    font-weight: 500;
}

/* 系列作品阅读状态样式 */
.series-reading-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: auto;
}

.series-reading-status.read {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.series-reading-status.reading {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.series-reading-status.unread {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
}

/* 系列作品观看状态样式 */
.series-watching-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: auto;
}

.series-watching-status.watched {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.series-watching-status.watching {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.series-watching-status.unwatched {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    color: white;
}

.no-series-works {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* 系列链接样式 - 优化版 */
.series-link {
    color: #667eea;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.series-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.series-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.series-link:hover::before {
    left: 100%;
}

/* 删除箭头符号 */

/* 移动端适配 */
@media (max-width: 768px) {
    .series-detail .detail-header {
        padding: 15px;
    }
    
    .series-detail .detail-title {
        font-size: 1.3rem;
    }
    
    .series-detail-content {
        padding: 15px;
    }
    
    .series-stats {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .series-section-title {
        font-size: 1.1rem;
    }
    
    .series-work-item {
        padding: 12px;
    }
    
    .series-work-title {
        font-size: 1rem;
    }
    
    .series-work-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* 系列提示样式 */
.series-tip {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    color: #ffc107;
    font-size: 14px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* 加载更多按钮样式 */
.load-more-container {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

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

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.load-more-text {
    font-weight: 600;
}

.load-more-count {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* 返回顶端按钮样式 */
.back-to-top-container {
    text-align: center;
    margin: 15px 0;
    padding: 10px 0;
}

.back-to-top-btn {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(74, 85, 104, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.4);
}

.back-to-top-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(74, 85, 104, 0.3);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .load-more-container {
        margin: 15px 0;
        padding: 8px 0;
    }
    
    .load-more-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .load-more-count {
        font-size: 0.8rem;
    }
    
    .back-to-top-container {
        margin: 12px 0;
        padding: 8px 0;
    }
    
    .back-to-top-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 18px;
    }
}

/* 观看状态按钮样式 */
.watching-status-button {
    background: #ffffff;
    color: #2c3e50;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.watching-status-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 不同观看状态的颜色 */
.watching-status-button.watched {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-color: #2f855a;
    color: white;
}

.watching-status-button.watching {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    border-color: #dd6b20;
    color: white;
}

.watching-status-button.unwatched {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    border-color: #4a5568;
    color: white;
}

/* 详情页内的观看状态样式 */
.watching-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.watching-status.watched {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.watching-status.watching {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.watching-status.unwatched {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
}

/* 影视作品列表中的观看状态标识 */
.media-watching-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.media-watching-status.watched {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.media-watching-status.watching {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.media-watching-status.unwatched {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
}

/* 移动端影视作品列表中的观看状态标识 */
.mobile-watching-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.mobile-watching-status.watched {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.mobile-watching-status.watching {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.mobile-watching-status.unwatched {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
}