/* 通用样式 */
.page-container {
    min-height: 100%;
    padding-bottom: 50px;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 首页样式 */
.home-page {
    padding: 20px 16px;
}

.home-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.home-header h1 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #333;
}

.love-timer {
    font-size: 16px;
    color: #666;
}

.love-timer .days {
    font-size: 32px;
    font-weight: bold;
    color: var(--theme-color, #ff6b8a);
}

.module-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.module-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

/* 计时器 */
.timer-display {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.timer-item {
    text-align: center;
}

.timer-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--theme-color, #ff6b8a);
    font-family: 'Courier New', monospace;
}

.timer-label {
    font-size: 12px;
    color: #999;
}

/* 访客统计 */
.visitor-display {
    display: flex;
    justify-content: space-around;
}

.visitor-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--theme-color, #ff6b8a);
}

.stat-label {
    font-size: 12px;
    color: #999;
}

/* 爱情树 */
.tree-display {
    text-align: center;
}

.tree-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.tree-info p {
    margin: 4px 0;
    color: #666;
}

/* 待办列表 */
.todo-list {
    list-style: none;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.todo-item.completed .todo-text {
    text-decoration: line-through;
    color: #999;
}

/* 公告 */
.notice-content {
    line-height: 1.8;
    color: #666;
}

/* 小记预览 */
.note-preview .note-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.note-preview .note-item:last-child {
    border-bottom: none;
}

.note-preview .note-cover-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.note-preview .note-cover-wrapper .note-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-preview .note-cover-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    font-size: 24px;
    flex-shrink: 0;
}

.note-preview .note-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.note-preview .note-info p {
    font-size: 12px;
    color: #999;
}

/* 瀑布流 */
/* 筛选栏样式 */
.filter-bar {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    margin-bottom: 12px;
}

.filter-item {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-item.active {
    background: var(--theme-color, #ff6b8a);
    color: #fff;
}

.waterfall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.waterfall-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.waterfall-item .note-cover {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.note-cover-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.note-cover-wrapper .note-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.note-cover-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    font-size: 48px;
}

.waterfall-content {
    padding: 12px;
}

.waterfall-content h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.waterfall-content p {
    font-size: 12px;
    color: #999;
}

.waterfall-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.waterfall-content .type-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.waterfall-content .type-tag.milestone {
    background: #fff0f0;
    color: var(--theme-color, #ff6b8a);
}

/* 小工具网格 */
.tools-page {
    padding: 16px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tool-item {
    text-align: center;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.tool-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.tool-name {
    font-size: 14px;
    color: #333;
}

/* 纪念日页面 */
.anniversary-page {
    padding: 0 16px 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    padding: 20px 0 12px;
    color: #333;
}

.anniversary-grid,
.hundredthings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.anniversary-card,
.hundredthings-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.anniversary-card img,
.hundredthings-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.card-content {
    padding: 12px;
}

.card-content h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-content p {
    font-size: 12px;
    color: #999;
}

.card-content .tag {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.card-content .tag.birthday {
    background: #fff0f0;
    color: var(--theme-color, #ff6b8a);
}

.hundredthings-card.completed {
    opacity: 0.7;
}

.hundredthings-card.completed .card-content h3 {
    text-decoration: line-through;
}

.check-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
}

.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    color: var(--theme-color, #ff6b8a);
    font-size: 14px;
    cursor: pointer;
}

/* 导航栏 */
.van-nav-bar {
    background: rgba(255, 255, 255, 0.95);
}

/* 底部Tab栏 */
.van-tabbar {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

/* 音乐页面 */
.music-page {
    padding: 0 16px 16px;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.music-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.music-cover {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.music-cover-default {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: #f5f5f5;
    border-radius: 8px;
}

.music-info {
    flex: 1;
}

.music-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.music-info p {
    font-size: 12px;
    color: #999;
}

.lyrics-icon {
    font-size: 20px;
    margin-left: 8px;
}

/* 音乐播放器 */
.music-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.music-player-content {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(50, 50, 50, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    margin: 16px;
}

.player-cover {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-cover-default {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.player-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
    pointer-events: none;
}

.player-info {
    text-align: center;
    margin-bottom: 20px;
}

.player-info h2 {
    color: white;
    font-size: 20px;
    margin-bottom: 4px;
}

.player-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.lyrics-container {
    height: 140px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 8px 0;
}

.lyrics-scroll {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
}

.lyrics-scroll::-webkit-scrollbar {
    display: none;
}

.lyrics-line {
    text-align: center;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: all 0.3s;
}

.lyrics-line.active {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.lyrics-empty {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.player-controls {
    margin-top: 20px;
}

.progress-bar {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 12px;
    cursor: pointer;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--theme-color, #ff6b8a);
    border-radius: 2px;
    transition: width 0.1s;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--theme-color, #ff6b8a);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.control-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.control-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.control-btn.play-btn {
    font-size: 36px;
    background: var(--theme-color, #ff6b8a);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-player {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

/* 礼物页面 */
.gift-page {
    padding: 0 16px 16px;
}

.gift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gift-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gift-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gift-info {
    padding: 12px;
}

.gift-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.gift-date {
    font-size: 12px;
    color: #999;
}

.gift-price {
    font-size: 14px;
    color: var(--theme-color, #ff6b8a);
    font-weight: bold;
    margin-top: 8px;
}

/* 账单页面 */
.bill-page {
    padding: 0 16px 16px;
}

.bill-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.summary-item {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.summary-item.income .summary-value {
    color: #52c41a;
}

.summary-item.expense .summary-value {
    color: #ff4d4f;
}

.summary-label {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 20px;
    font-weight: bold;
}

.bill-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.bill-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 8px;
}

.bill-icon.income {
    background: #f6ffed;
}

.bill-icon.expense {
    background: #fff1f0;
}

.bill-info {
    flex: 1;
}

.bill-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.bill-date {
    font-size: 12px;
    color: #999;
}

.bill-amount {
    font-size: 16px;
    font-weight: bold;
}

.bill-amount.income {
    color: #52c41a;
}

.bill-amount.expense {
    color: #ff4d4f;
}

/* 相册页面 */
.album-page {
    padding: 0 16px 16px;
}

.album-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.album-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.album-cover {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.album-info {
    padding: 12px;
}

.album-info h3 {
    font-size: 14px;
    color: #333;
    text-align: center;
}

/* 留言板页面 */
.guestbook-page {
    padding: 0 16px 16px;
}

.guestbook-form {
    margin-bottom: 24px;
}

.btn-container {
    margin-top: 16px;
}

.guestbook-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guestbook-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.guestbook-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-color, #ff6b8a);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.guestbook-detail {
    flex: 1;
}

.guestbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.guestbook-nickname {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.guestbook-time {
    font-size: 12px;
    color: #999;
}

.guestbook-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 打卡页面 */
.checkin-page {
    padding: 0 16px 16px;
}

.checkin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkin-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.checkin-date {
    font-size: 14px;
    color: var(--theme-color, #ff6b8a);
    font-weight: bold;
    margin-bottom: 8px;
}

.checkin-mood {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.checkin-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.checkin-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* 心情页面 */
.mood-page {
    padding: 0 16px 16px;
}

.mood-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mood-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mood-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mood-date {
    font-size: 14px;
    color: var(--theme-color, #ff6b8a);
    font-weight: bold;
}

.mood-tag {
    padding: 2px 8px;
    background: #fff0f0;
    color: var(--theme-color, #ff6b8a);
    border-radius: 4px;
    font-size: 12px;
}

.mood-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.mood-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

/* 愿望清单页面 */
.wishlist-page {
    padding: 0 16px 16px;
}

.wishlist-summary {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wishlist-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wishlist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wishlist-item.completed {
    opacity: 0.7;
}

.wishlist-status {
    font-size: 24px;
    flex-shrink: 0;
}

.wishlist-info {
    flex: 1;
}

.wishlist-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
}

.wishlist-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.wishlist-item.completed .wishlist-info h3 {
    text-decoration: line-through;
}

.wishlist-detail {
    font-size: 12px;
    color: #999;
}

/* 情书页面 */
.loveletter-page {
    padding: 0 16px 16px;
}

.loveletter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loveletter-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.loveletter-header {
    margin-bottom: 12px;
}

.loveletter-header h3 {
    font-size: 16px;
    color: var(--theme-color, #ff6b8a);
    margin-bottom: 4px;
}

.loveletter-meta {
    font-size: 12px;
    color: #999;
}

/* 视频封面样式 */
.note-cover-wrapper video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 纯文字卡片样式 */
.text-content-card {
    padding: 16px;
    background: linear-gradient(135deg, #fff5f7, #fff0f3);
    border-radius: 12px;
}

.text-content-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

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

.text-type {
    font-size: 12px;
    color: #ff6b8a;
    background: rgba(255, 107, 138, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.text-content-preview {
    margin-bottom: 12px;
}

.text-title {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-body {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-content-footer {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* 视频封面播放图标 */
.video-cover {
    position: relative;
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 100件小事页面 */
.hundredthings-page {
    padding: 0 16px 16px;
}

.hundredthings-summary {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hundredthings-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hundredthings-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hundredthings-item.completed {
    opacity: 0.7;
}

.hundredthings-status {
    font-size: 24px;
    flex-shrink: 0;
}

.hundredthings-info {
    flex: 1;
}

.hundredthings-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
}

.hundredthings-info h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.hundredthings-item.completed .hundredthings-info h3 {
    text-decoration: line-through;
}

.hundredthings-detail {
font-size: 12px;
color: #999;
}

/* 小记/时光详情页 */
.note-detail-page,
.timeline-detail-page {
padding: 0 16px 16px;
}

.note-detail-content,
.timeline-detail-content {
padding: 16px;
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.detail-title {
font-size: 20px;
font-weight: bold;
color: #333;
margin-bottom: 12px;
}

.detail-meta {
display: flex;
gap: 16px;
font-size: 12px;
color: #999;
margin-bottom: 16px;
padding-bottom: 16px;
border-bottom: 1px solid #eee;
}

.detail-images {
display: flex;
flex-direction: column;
gap: 12px;
margin-bottom: 16px;
}

.detail-images .image-item {
width: 100%;
}

.detail-images img,
.detail-images video {
width: 100%;
border-radius: 8px;
object-fit: cover;
}

.detail-content {
font-size: 14px;
color: #666;
line-height: 1.8;
margin-bottom: 16px;
}

.action-buttons {
display: flex;
gap: 12px;
margin-bottom: 24px;
}

.comments-section {
margin-top: 24px;
}

.comments-section h3 {
font-size: 16px;
font-weight: bold;
color: #333;
margin-bottom: 16px;
}

.comment-form {
margin-bottom: 24px;
}

.comment-form .van-field {
margin-bottom: 12px;
}

.comment-list {
display: flex;
flex-direction: column;
gap: 12px;
}

.comment-item {
padding: 12px;
background: #f9f9f9;
border-radius: 8px;
}

.comment-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}

.comment-nickname {
font-size: 14px;
font-weight: bold;
color: #333;
}

.comment-time {
font-size: 12px;
color: #999;
}

.comment-content {
font-size: 14px;
color: #666;
line-height: 1.6;
}

.comment-reply {
    margin-top: 8px;
    padding: 8px 12px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 13px;
}

.comment-reply .reply-label {
    font-weight: bold;
    color: #2e7d32;
}

.comment-reply .reply-content {
    color: #388e3c;
}
