:root {
    --sidebar-width: 200px;
    --color-primary: #3B82F6;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-key: #FBBF24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #F8FAFC;
}

#app {
    display: flex;
    min-height: 100vh;
}

/* ==================== 侧边栏样式 ==================== */
#mainSidebar::-webkit-scrollbar {
    width: 4px;
}

#mainSidebar::-webkit-scrollbar-track {
    background: transparent;
}

#mainSidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

#mainSidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 侧边栏 hover 效果已移除 - 文字保持正常显示 */

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

/* ==================== Timeline 组件样式 ==================== */
.timeline-container {
    padding: 20px 0;
}

.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 30px;
}

.timeline-line {
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-content {
    padding: 0;
}

.timeline-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-card:not(.expanded) .timeline-description,
.timeline-card:not(.expanded) .timeline-meta,
.timeline-card:not(.expanded) .timeline-images {
    display: none;
}

.timeline-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.timeline-date {
    font-size: 12px;
    color: #9CA3AF;
    white-space: nowrap;
}

.timeline-title {
    flex: 1;
    font-weight: 600;
    color: #1F2937;
}

.timeline-expand-btn {
    padding: 4px 8px;
    background: #F3F4F6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #6B7280;
    transition: all 0.2s;
}

.timeline-expand-btn:hover {
    background: #E5E7EB;
}

.timeline-description {
    padding: 0 16px 12px;
    color: #4B5563;
    line-height: 1.6;
}

.timeline-meta {
    padding: 4px 16px;
    font-size: 13px;
    color: #6B7280;
}

.timeline-images {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #F3F4F6;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-image-more {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* ==================== Lightbox 组件样式 ==================== */
.lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-nav-prev {
    left: -60px;
}

.lightbox-nav-next {
    right: -60px;
}

.lightbox-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
}

.lightbox-main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.lightbox-counter {
    text-align: center;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.lightbox-counter-text {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 12px;
}

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    justify-content: center;
}

.lightbox-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    flex-shrink: 0;
}

.lightbox-thumbnail:hover {
    opacity: 0.8;
}

.lightbox-thumbnail.active {
    opacity: 1;
    border: 2px solid white;
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== ImageUploader 组件样式 ==================== */
.image-uploader {
    width: 100%;
}

.image-uploader-dropzone {
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.image-uploader-dropzone:hover {
    border-color: var(--color-primary);
    background: #F0F9FF;
}

.image-uploader-dragging {
    border-color: var(--color-primary);
    background: #EFF6FF;
    transform: scale(1.02);
}

.image-uploader-placeholder {
    color: #6B7280;
}

.image-uploader-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.image-uploader-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.image-uploader-hint {
    font-size: 14px;
    color: #9CA3AF;
}

.image-uploader-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.image-uploader-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-uploader-preview-img {
    width: 100%;
    height: 100%;
}

.image-uploader-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-uploader-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.image-uploader-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.image-uploader-delete:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* ==================== Modal 组件样式 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 0;
}

.modal-container {
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.modal-container.modal-open {
    transform: translateX(0);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.modal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-cancel {
    background: white;
    border: 1px solid #D1D5DB;
    color: #374151;
}

.modal-btn-cancel:hover {
    background: #F3F4F6;
}

.modal-btn-primary {
    background: var(--color-primary);
    color: white;
}

.modal-btn-primary:hover {
    background: #2563EB;
}

.modal-btn-confirm {
    background: var(--color-primary);
    color: white;
}

.modal-btn-confirm:hover {
    background: #2563EB;
}

/* ==================== TaskEditor 组件样式 ==================== */
.task-editor {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.task-editor-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #E5E7EB;
}

.task-editor-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    transition: all 0.2s;
}

.task-editor-tab:hover {
    color: #374151;
}

.task-editor-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.task-editor-content {
    flex: 1;
    padding: 20px 0;
}

.task-editor-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task-editor-field {
    display: flex;
    flex-direction: column;
}

.task-editor-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.task-editor-input,
.task-editor-select,
.task-editor-textarea {
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s;
}

.task-editor-input:focus,
.task-editor-select:focus,
.task-editor-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.task-editor-textarea {
    resize: vertical;
}

.task-editor-row {
    display: flex;
    gap: 16px;
}

.task-editor-row .task-editor-field {
    flex: 1;
}

.task-editor-unit {
    margin-left: 8px;
    color: #6B7280;
    font-size: 14px;
}

.task-editor-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.task-editor-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-editor-empty {
    text-align: center;
    color: #9CA3AF;
    padding: 40px;
}

/* 子任务样式 */
.task-editor-subtasks-list {
    max-height: 300px;
    overflow-y: auto;
}

.task-editor-subtask {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.task-editor-subtask-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.task-editor-subtask-content {
    flex: 1;
}

.task-editor-subtask-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
}

.task-editor-subtask-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.task-editor-subtask-delete {
    width: 28px;
    height: 28px;
    border: none;
    background: #FEE2E2;
    color: #DC2626;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.task-editor-subtask-delete:hover {
    background: #FECACA;
}

.task-editor-add-subtask {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.task-editor-add-subtask .task-editor-input {
    flex: 1;
}

.task-editor-btn-add {
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.task-editor-btn-add:hover {
    background: #2563EB;
}

.task-editor-subtasks-progress {
    margin-top: 16px;
}

.task-editor-progress-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.task-editor-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), #60A5FA);
    transition: width 0.3s ease;
}

.task-editor-progress-text {
    text-align: right;
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

/* 审批流程样式 */
.task-editor-approval-list {
    max-height: 400px;
    overflow-y: auto;
}

.task-editor-approval-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
}

.task-editor-approval-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.task-editor-approval-info {
    flex: 1;
}

.task-editor-approval-name {
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 4px;
}

.task-editor-approval-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 4px;
}

.task-editor-approval-status.status-pending {
    background: #FEF3C7;
    color: #92400E;
}

.task-editor-approval-status.status-approved {
    background: #D1FAE5;
    color: #065F46;
}

.task-editor-approval-status.status-rejected {
    background: #FEE2E2;
    color: #991B1B;
}

.task-editor-approval-comment {
    margin-top: 8px;
    padding: 8px;
    background: #F9FAFB;
    border-radius: 4px;
    font-size: 13px;
    color: #4B5563;
}

.task-editor-approval-time {
    font-size: 12px;
    color: #9CA3AF;
    white-space: nowrap;
}

.task-editor-approval-actions {
    margin-top: 20px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.task-editor-approval-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.task-editor-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.task-editor-btn-approve {
    background: var(--color-success);
    color: white;
}

.task-editor-btn-approve:hover {
    background: #059669;
}

.task-editor-btn-reject {
    background: #EF4444;
    color: white;
}

.task-editor-btn-reject:hover {
    background: #DC2626;
}

/* ==================== TagCloud 组件样式 ==================== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.tag-cloud-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: #374151;
}

.tag-cloud-item:hover {
    border-color: var(--color-primary);
    background: #F0F9FF;
}

.tag-cloud-item.selected {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.tag-cloud-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.tag-cloud-emoji {
    font-size: 18px;
}

.tag-cloud-label {
    font-weight: 500;
}

.tag-cloud-check {
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.tag-cloud-action {
    padding: 8px 16px;
    background: #FEE2E2;
    color: #DC2626;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-cloud-action:hover {
    background: #FECACA;
}

/* ==================== 视频相关样式 ==================== */

/* 视频卡片展示 */
.video-card {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.video-card-thumb {
    height: 100px;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.video-play-icon {
    font-size: 32px;
    color: white;
}

.video-card-info {
    padding: 12px;
    flex: 1;
}

.video-card-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.video-card-activity {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.video-card-date {
    font-size: 12px;
    opacity: 0.75;
}

.timeline-videos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-video {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #1F2937;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.timeline-video:hover {
    background: #374151;
    transform: scale(1.05);
}

.video-icon {
    font-size: 20px;
}

.video-name {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* 灯箱视频播放器样式 */
.video-player {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 8px;
    padding: 40px;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-play-button:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.play-icon {
    font-size: 32px;
    color: white;
}

.video-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
}

.video-info {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-top: 8px;
}

.video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 20px;
    color: white;
}

.control-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.control-btn.play-btn {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background: rgba(255,255,255,0.3);
}

.control-btn.play-btn:hover {
    background: rgba(255,255,255,0.4);
}

/* 缩略图视频样式 */
.thumbnail-video {
    width: 100%;
    height: 100%;
    background: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== 打印样式 ==================== */
@media print {
    aside {
        display: none !important;
    }

    main {
        margin-left: 0 !important;
    }

    .modal-overlay,
    .lightbox-container {
        display: none !important;
    }

    .btn,
    button {
        display: none !important;
    }

    .print-show {
        display: block !important;
    }
}

/* ==================== 工具类 ==================== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 过滤按钮样式 */
.filter-btn {
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    background: #F0F9FF;
}

.filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ==================== 总览页面精致样式 ==================== */

/* 统计卡片悬停效果 */
.stat-card-hover .stat-card-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 温馨时光线样式 */
.warm-timeline {
    position: relative;
}

.warm-timeline-line {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #C084FC, #F472B6, transparent);
}

.warm-timeline-item {
    position: relative;
    padding-left: 48px;
    padding-bottom: 24px;
}

.warm-timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 3px solid #C084FC;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(192, 132, 252, 0.2);
    z-index: 10;
}

.warm-timeline-card {
    background: linear-gradient(135deg, #FAF5FF, #FDF2F8);
    border-radius: 16px;
    border: 1px solid #F3E8FF;
    overflow: hidden;
    transition: all 0.3s ease;
}

.warm-timeline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 132, 252, 0.15);
}

/* 成长足迹时间线样式 */
.growth-timeline {
    position: relative;
}

.growth-timeline-line {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #10B981, #14B8A6, transparent);
}

.growth-timeline-item {
    position: relative;
    padding-left: 48px;
    padding-bottom: 20px;
}

.growth-timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
}

.growth-timeline-item:hover .growth-timeline-dot {
    transform: scale(1.15);
}

.growth-timeline-dot.completed {
    background: linear-gradient(135deg, #10B981, #059669);
}

.growth-timeline-dot.in-progress {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.growth-timeline-dot.overdue {
    background: linear-gradient(135deg, #F43F5E, #E11D48);
}

.growth-timeline-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.growth-timeline-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

/* 进度条动画 */
.progress-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-fill.blue {
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.progress-fill.emerald {
    background: linear-gradient(90deg, #10B981, #059669);
}

.progress-fill.rose {
    background: linear-gradient(90deg, #F43F5E, #E11D48);
}

/* 渐变边框效果 */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 16px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #667EEA, #764BA2, #F093FB);
    z-index: -1;
}

/* 卡片悬停动画 */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* 视频回忆廊样式 */
.video-gallery {
    background: white;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.video-gallery-header {
    background: linear-gradient(135deg, #6366F1, #8B5CF6, #EC4899);
    padding: 24px;
}

.video-grid-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-grid-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
}

.video-play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-grid-item:hover .video-play-button {
    transform: scale(1.15);
}

.video-info-overlay {
    position: absolute;
    inset-x: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6), transparent);
}

/* 空状态样式 */
.empty-state {
    background: linear-gradient(135deg, #F8FAFC, #F1F5F9);
    border-radius: 20px;
    border: 2px dashed #D1D5DB;
    text-align: center;
    padding: 48px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.empty-desc {
    color: #6B7280;
    font-size: 14px;
}

/* 温馨提醒样式 */
.warm-alert {
    background: linear-gradient(135deg, #FFF1F2, #FFEDD5);
    border: 1px solid #FECDD3;
    border-radius: 20px;
    padding: 24px;
}

.warm-alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FECDD3, #FECACA);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 淡入淡出动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.4s ease forwards;
}

/* 隐藏滚动条但保留滚动功能 */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* 轮播容器样式 */
.carousel-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.carousel-slide {
    scroll-snap-align: start;
}

/* ==================== 温馨回忆录风格 ==================== */

/* 飘落装饰动画 */
.floating-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-decorations .decoration {
    position: absolute;
    top: -20px;
    font-size: 16px;
    animation: decorationFall 15s linear infinite;
    opacity: 0.5;
}

@keyframes decorationFall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 飘落心形动画 */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.floating-hearts .heart {
    position: absolute;
    top: -30px;
    font-size: 20px;
    animation: heartFall 12s linear infinite;
    opacity: 0.6;
    filter: blur(0.5px);
}

@keyframes heartFall {
    0% {
        transform: translateY(-30px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(25vh) rotate(90deg) scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(1.1);
        opacity: 0.5;
    }
    75% {
        transform: translateY(75vh) rotate(270deg) scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

/* 照片墙项目 */
.photo-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-item:hover {
    z-index: 10;
    transform: scale(1.1) rotate(0deg) !important;
}

/* 玻璃态卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* 渐变边框效果 */
.gradient-border-warm {
    position: relative;
    background: white;
    border-radius: 20px;
}

.gradient-border-warm::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, #FB7185, #F472B6, #FB923C, #FBBF24);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.gradient-border-warm:hover::before {
    opacity: 1;
}

/* 闪烁星星效果 */
@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.twinkle {
    animation: twinkle 2s ease-in-out infinite;
}

/* 温馨渐变文字 */
.gradient-text-warm {
    background: linear-gradient(135deg, #F43F5E, #EC4899, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 按钮渐变效果 */
.btn-warm-gradient {
    background: linear-gradient(135deg, #FB7185 0%, #F472B6 50%, #FB923C 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 卡片3D翻转效果 */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* 柔和阴影 */
.soft-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.soft-shadow:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* 彩色阴影 */
.color-shadow-rose {
    box-shadow: 0 8px 30px rgba(251, 113, 133, 0.3);
}

.color-shadow-rose:hover {
    box-shadow: 0 12px 40px rgba(251, 113, 133, 0.4);
}

/* 脉冲动画 */
@keyframes pulse-soft {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-soft {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* 旋转入场动画 */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 照片墙不规则旋转 */
.rotate-1 { transform: rotate(1deg); }
.-rotate-1 { transform: rotate(-1deg); }
.rotate-2 { transform: rotate(2deg); }
.-rotate-2 { transform: rotate(-2deg); }
.rotate-0 { transform: rotate(0deg); }
.-rotate-0\.5 { transform: rotate(-0.5deg); }

/* 线条裁剪 */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式隐藏 */
@media (max-width: 768px) {
    .floating-hearts .heart {
        font-size: 14px;
    }
}

/* 照片网格悬停效果 */
.photo-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.photo-grid-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-grid-item:hover img {
    transform: scale(1.1);
}

.photo-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-grid-item:hover::after {
    opacity: 1;
}

/* 分类标签样式 */
.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tag.active {
    background: white;
    color: #1f2937;
}

.category-tag:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.category-tag:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* 统计卡片渐变 */
.stat-card-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(217, 70, 239, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-card-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-card-emerald {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.stat-card-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 50;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
    cursor: pointer;
}

.bottom-nav-item:hover {
    color: white;
}

.bottom-nav-item.active {
    color: #8B5CF6;
}

/* 指示器动画 */
@keyframes indicatorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.indicator-active {
    animation: indicatorPulse 2s ease-in-out infinite;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-nav {
        display: flex;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

/* 滚动条深色主题 */
.dark-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dark-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.dark-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 加载动画 */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* 悬浮阴影效果 */
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* 边框渐变效果 */
.gradient-border-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.gradient-border-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.5), rgba(249, 115, 22, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ==================== 照片墙样式 ==================== */
.photo-frame {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.08) !important;
    z-index: 20 !important;
}

.photo-frame::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

.photo-frame:hover::before {
    opacity: 1;
}

/* 照片墙背景纹理 */
.photo-wall-bg {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(251, 113, 133, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 146, 60, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(217, 70, 239, 0.1) 0%, transparent 50%);
}

/* 胶带效果 */
.tape {
    position: absolute;
    height: 20px;
    background: linear-gradient(to right, rgba(254, 205, 211, 0.9), rgba(253, 224, 71, 0.9));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

/* 照片阴影 */
.photo-shadow {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.photo-shadow:hover {
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(244, 63, 94, 0.1),
        0 0 60px -10px rgba(244, 63, 94, 0.3);
}

/* 温馨字体 */
.warm-font {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
}

/* 脉冲光晕 */
@keyframes warm-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 113, 133, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(251, 113, 133, 0.5);
    }
}

.warm-glow {
    animation: warm-glow 3s ease-in-out infinite;
}

/* 照片墙入场动画 */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fade-in-up 0.6s ease-out forwards;
}

/* 照片动态效果 - 持续绚烂浮动 */
@keyframes photo-float {
    0%, 100% {
        transform: rotate(var(--rot, 0deg)) translateY(0) scale(1);
        filter: brightness(1) saturate(1);
    }
    25% {
        transform: rotate(calc(var(--rot, 0deg) - 1.5deg)) translateY(-15px) scale(1.05);
        filter: brightness(1.15) saturate(1.3);
    }
    50% {
        transform: rotate(calc(var(--rot, 0deg) + 1deg)) translateY(-22px) scale(1.1);
        filter: brightness(1.25) saturate(1.5);
    }
    75% {
        transform: rotate(calc(var(--rot, 0deg) - 0.5deg)) translateY(-10px) scale(1.06);
        filter: brightness(1.18) saturate(1.35);
    }
}

.photo-float {
    animation: photo-float var(--duration, 4s) ease-in-out infinite;
}

/* 照片容器 - 持续动画 + 随机位置偏移 */
.photo-wrapper {
    transform: rotate(var(--rot, 0deg)) translate(var(--tx, 0), var(--ty, 0));
    animation: photo-float var(--duration, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* 照片悬停效果 - 更明显的交互 */
.photo-wrapper:hover {
    animation-play-state: paused;
    transform: rotate(0deg) scale(1.12) translateY(-15px) !important;
    z-index: 100;
    filter: brightness(1.2) saturate(1.4) !important;
}

/* 照片墙网格响应式 */
@media (max-width: 768px) {
    .photo-wall-grid {
        gap: 0.75rem;
    }
}

/* ==================== 照片墙Tab切换 ==================== */
.photo-tab-btn {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #6B7280;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.photo-tab-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #F43F5E;
    box-shadow: 0 4px 16px rgba(244, 63, 94, 0.15);
}

.photo-tab-btn.active {
    background: linear-gradient(135deg, #FB7185, #F472B6, #FB923C);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.4);
    font-weight: 600;
}

.photo-tab-content {
    animation: photoTabFadeIn 0.4s ease-out;
}

@keyframes photoTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 大图轮播样式 - 连续滚动 */
.slideshow-slide img {
    transition: transform 8s ease-out;
}

.slideshow-slide.opacity-100 img {
    transform: scale(1);
}

.slideshow-slide.opacity-100.scale-100 img {
    transform: scale(1);
}

.slideshow-slide.opacity-0.scale-105 img {
    transform: scale(1.05);
}

/* Track-based continuous carousel */
#slideshowTrack {
    will-change: transform;
}

.slideshow-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.slideshow-slide img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* 轮播指示点 */
.slideshow-dot {
    cursor: pointer;
    min-width: 8px;
    min-height: 8px;
}

.slideshow-dot.bg-white {
    min-width: 24px;
}

/* ==================== 胶片风格样式 ==================== */
.film-strip-container {
    position: relative;
    background: #18181b;
    border: 3px solid #27272a;
    min-height: 280px;
    border-radius: 1rem;
}

/* 胶片齿孔 */
.film-sprocket {
    width: 14px;
    height: 18px;
    background: #09090b;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.06);
}

/* 胶片轨道 */
.film-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 36px 40px;
}

.film-track::-webkit-scrollbar {
    display: none;
}

/* 胶片帧 */
.film-frame {
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.film-frame:hover {
    transform: translateY(-6px) scale(1.02);
}

.film-frame-inner {
    background: #fafaf9;
    border: none;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.3),
        0 8px 30px rgba(0,0,0,0.2);
}

/* 复古图片效果 - subtle warm tone */
.film-frame img {
    filter: sepia(0.08) contrast(1.04) brightness(1.02) saturate(1.1);
    transition: transform 0.6s ease, filter 0.3s ease;
}

.film-frame:hover img {
    transform: scale(1.05);
    filter: sepia(0) contrast(1.05) brightness(1.05) saturate(1.15);
}

/* 胶片颗粒 - very subtle */
@keyframes filmGrain {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.2; }
}

.film-strip-container::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    animation: filmGrain 0.8s steps(1) infinite;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    z-index: 5;
    border-radius: 1rem;
}

/* 闪烁效果 - removed */

/* 胶片边缘渐变 */
.film-edge-left,
.film-edge-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 10;
}

.film-edge-left {
    left: 0;
    background: linear-gradient(to right, #18181b, transparent);
    border-radius: 1rem 0 0 1rem;
}

.film-edge-right {
    right: 0;
    background: linear-gradient(to left, #18181b, transparent);
    border-radius: 0 1rem 1rem 0;
}

/* ==================== 时光轴样式 ==================== */
.timeline-view {
    padding: 20px 0;
}

.timeline-line-absolute {
    background: linear-gradient(to bottom,
        rgba(251, 113, 133, 0.8),
        rgba(244, 114, 182, 0.6),
        rgba(251, 146, 60, 0.4)
    );
}

.timeline-date-badge {
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(244, 63, 94, 0.5);
    }
}

/* 精美时光轴动画 */
@keyframes timelineSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item-elegant {
    opacity: 0;
}

.timeline-card-elegant {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card-elegant:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 时光轴节点脉冲 */
.timeline-item-elegant .absolute.w-5 {
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(244, 63, 94, 0);
    }
}

/* ==================== 画廊灯箱样式 ==================== */
.gallery-grid {
    gap: 8px;
}

.gallery-item {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* 灯箱样式 */
.lightbox-wrapper {
    animation: lightboxFadeIn 0.3s ease-out;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-wrapper img {
    animation: lightboxImageIn 0.3s ease-out;
}

@keyframes lightboxImageIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 灯箱缩略图滚动隐藏 */
#lightboxThumbnails {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#lightboxThumbnails::-webkit-scrollbar {
    display: none;
}

