@charset "utf-8";
/* CSS Document */
@font-face {
    font-family: 'simsun';
    src: url("../font/simsun.woff2") format('woff2');
    font-display: swap; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #000;
}

#left-main a,.top-nav a.play-pause-icon i,a,a:hover,a:focus,p:focus,div:focus,span:focus {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    text-decoration: none;
    background-color: transparent;
}

body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
    touch-action: manipulation;
    user-select: none;
    font-family: 'simsun';
    src: url("/font/simsun.woff");
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.track-album,#sentence p,.from span,.article p,.about-content,.state p {
    color: #666
}

.from span,.theauthor {
    font-size: 14px;
    margin: 15px 0;
    color: #999;
}

#sentence,#article-show,.article p {
    line-height: 1.8;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 12px;
    position: relative;
    flex-wrap: nowrap;
}

html::-webkit-scrollbar,body::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    display: none;
}
.top-nav {
    position: relative;
    width: 100%;
    height: auto;
    justify-content: center;
	z-index: 100;
}

.logo-area {
    display: grid;
    grid-template-columns: minmax(80px, 120px) 1fr minmax(80px, 120px);
    align-items: center;
}

.date-box {
	display: flex;
	justify-content: end;
    flex-shrink: 0;
}

.date-year {
    font-size: 14px;
    font-weight: normal;
}

.date-day {
    font-size: 28px;
    font-weight: bold;
}

.date-tag {
    border-width: 0 0 5px 5px;
    border-color: #000 transparent;
    width: 0;
    height: 0;
    border-style: solid;
    display: inline-block;
    font-weight: normal;
    font-size: 2px;
}

.menu {
    flex-shrink: 0;
	cursor: pointer;
}

.menu-bar {
    display: block;
    width: 20px;
    height: 2.4px;
    background-color: #000
}

.menu-bar + .menu-bar {
    margin-top: 10px;
}

.nav-container {
    flex: 1;
    min-width: 0;
    position: relative;
	justify-content: center;
	align-items: center;
}

.nav-item {
    padding: 8px 0px;
    margin: 0 20px;
    cursor: pointer;
    transition: 0.3s;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.nav-item.active {
    color: #000;
}

.highlight {
    position: absolute;
    background: #000;
    height: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    bottom: auto;
}

.card-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: calc(100% - 70px);
    display: flex;
    flex-direction: column;
    touch-action: pan-y;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0px 20px 20px 20px;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}
.card .card-inner {
    flex: 1;                /* 占满除去统计栏后的剩余高度 */
    min-height: 0;          /* 防止溢出破坏 flex 布局 */
    display: flex;
    flex-direction: column;
    overflow-y: auto;       /* 内容过多时可滚动 */
}
/* ========== 细小滚动条（文章详情、收藏页、更新日志页） ========== */
.card-inner::-webkit-scrollbar {
    width: 4px;
    height: 12px;
}
.card-inner::-webkit-scrollbar-track {
    background: none;
}
.card-inner::-webkit-scrollbar-thumb {
    background: #ccc;
}

.favorites-body::-webkit-scrollbar,
.changelog-body::-webkit-scrollbar {
    width: 4px;
    height: 12px;
}
.favorites-body::-webkit-scrollbar-track,
.changelog-body::-webkit-scrollbar-track {
    background: none;
}
.favorites-body::-webkit-scrollbar-thumb,
.changelog-body::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* Firefox 滚动条样式（细窄模式） */
.card-inner,
.favorites-body,
.changelog-body {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
	overflow-y: auto;
}

/* 音乐卡片封面区域 */
#album-box {
    padding: 10px 0 20px 0;
    margin: 10px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-image,.album-image img {
    position: relative;
    width: 220px;
    height: 220px;
    transform: rotateZ(0);
    transition: 0.3s ease all;
    box-shadow: 0 0px 0 14px #f0f0f0;
    border-radius: 50%;
    overflow: hidden;
}


.album-image::after {
    content: '';
    position: absolute;
    top: 120px;          /* 外环向上偏移12px，产生间隙 */
    left: 120px;
    right: 120px;
    bottom: 120px;
    border-radius: 50%;
    border: 2px solid #000;  /* 黑色外环，粗细可调 */
    box-sizing: border-box;
    pointer-events: none;     /* 避免干扰点击 */
}
.album-image:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin: -20px auto 0 auto;
    background-color: #FFF;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(0,0,0,0.5);
    z-index: 3;
}

.album-image.rotating {
    animation: rotate 20s linear infinite;
}

/* ========== 重叠布局样式 ========== */
.player-control-wrapper {
    position: relative;
    height: 60px;
    margin: 10px 0 8px 0;
}

.progress-bar {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #F9F9F9;
    margin: 0; 
}

.progress-fill {
    height: 100%;
    background-color: #f0f0f0;
    width: 0%;
}

.player-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    box-sizing: border-box;
    pointer-events: none;
}

.track-info {
    pointer-events: none;
    flex: 1;
    min-width: 0;
}

.play-pause-icon {
    pointer-events: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.play-pause-icon i {
    font-size: 36px;
    line-height: 1;
}

.track-album {
    font-size: 18px;
    font-weight: 550;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.track-singer {
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #999;
}

.play-pause-icon.play i.play-icon {
    display: block;
}
.play-pause-icon.pause i.pause-icon {
    display: block;
}
.play-pause-icon i.play-icon, .play-pause-icon i.pause-icon {
    display: none;
}
/* 仅音乐卡片内部垂直居中 */
.card#music .card-inner {
    justify-content: center;
}

/* 句子卡片和文章卡片内容顶部对齐（保持原有滚动习惯） */
.card#sentence .card-inner,
.card#article .card-inner {
    justify-content: flex-start;
}
.card#article .card-inner {
    overflow-y: auto;
    padding-right: 16px;      /* 你实际想要的内边距 */
    margin-right: -16px;      /* 负边距抵消内边距，使滚动条紧贴右边框 */
    width: calc(100% + 16px); /* 补偿宽度，防止内容被裁剪 */
}

/* 内部内容容器需要保持原有的内边距 */
.card#article .card-inner > * {
    padding-right: 0;         /* 可选，避免重复内边距 */
}
.from {
    text-align: right;
    margin-top: 10px;
}
#sentence p:first-child {
    margin-bottom: 20px;
}
#article .bg-img {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;     

}
#article .bg-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#article .title {
    font-size: 24px;
    margin-bottom: 6px;
}
#article .theauthor {
    margin: 8px 0 12px 0;
}
#article .article p {
    margin-top: 4px;
    line-height: 1.8;
}

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

.article-card {
    display: none;
}

.icon-about {
    position: relative;
    display: flex;
    width: 100%;
    height: 30px;
    justify-content: flex-end;
}

.icon-about img {
    width: 30px;
    height: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    animation: slideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 90%;
    width: 680px;
    transform-origin: top;
    animation-duration: 0.4s;
    animation-fill-mode: both;
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30%) scale(0.9);
  }
}
.about-title {
    font-size: 20px;
    font-weight: 600 !important;
    margin-bottom: 6px;
}

.about-content {
    margin: 8px 0 0 0;
}

.state {
    width: 100%;
}

.state p {
    font-size: 12px;
}
/* 时间相关样式 */
#left-main {
    width: 20%;
    height: 100%;
    float: left;
    position: fixed;
}

#right-main {
    width: 80%;
    float: left;
    position: relative;
    margin-left: 20%;
}

.timebox-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.et-hero-tab {
    padding: 8px 0;
    font-size: 18px;
}

.et-hero-tab:focus,.et-hero-tab:active,.et-hero-tab:hover {
    background-color: #F0F0F0;
}

.et-hero-tabs {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    background: #F9F9F9;
    text-align: center;
    overflow: scroll;
}

.et-hero-tabs-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
}

.time-list {
    width: 100%;
    position: relative;
    padding: 3%;
    height: 100%;
    transition: all 0.3s;
}

#container-time {
    display: grid;
    text-align: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
    grid-gap: 20px;
    margin: 20px 0;
}

.time-box {
    display: block;
    text-decoration: none;
    border: 1px solid #999;
    padding: 12px 8px;
    text-align: center; 
    color: #000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.time-box:active,.time-box:focus,.time-box:hover {
    border: 1px solid #000;
}

.his-day {
    font-size: 28px;
    font-weight: bold;
}

.his-year {
    font-size: 14px;
}

.his-fix {
    display: block;
    height: 0.5px;
    background-color: #999;
    width: 100%;
    margin: 5px 0;
}

.timeline-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.timeline-modal-content {
   flex: 1;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.timeline-header {
    padding: 15px 20px;
    display: flex;
}

.close-timeline,.close-sidebar {
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    font-size: 24px;
    font-weight: 500;
}

.close-timeline:active,.close-sidebar:active {
    color: #000;
}

.timeline-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.timeline-left {
    width: 20%;
    overflow-y: auto;
    padding: 10px 0;
}

.month-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.month-item {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #000;
    transition: background 0.2s;
}

.month-item:active {
    background-color: #f5f5f5;
}

.month-item.active {
    background-color: #f2f2f7;
    border-left: 4px solid #000;
}

.timeline-right {
    width: 70%;
    overflow-y: auto;
    padding: 10px;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.his-date {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
/* 侧边栏样式 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 1002;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    overflow: hidden;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.sidebar-header .logo {
    font-size: 24px;
    color: #000;
}
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.page-content {
    position: relative;
    flex: 1;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 0;
    left: 0;
    width: 100%;
    height: 100%;
	padding: 0 20px;
}

/* 收藏页关闭时主页向右推出动画 */
.page-content.favorites-closing-push {
    transform: translateX(-100%);
}
html, body {
    overflow-x: hidden;
}
body.sidebar-open .page-content {
    margin-left: 280px;
}
body.timeline-open .page-content {
    margin-left: -100%;
}
body.timeline-open .timeline-modal {
    transform: translateX(0);
}


.sidebar-content {
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu {
    margin: 20px 0;
}

.sidebar-menu:first-of-type {
    margin-bottom: 30px;
}
.version, .mail{font-size: 12px; color: #999;margin-left: 10px;}
.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #000;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 16px;
}

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

.menu-item i {
    width: 24px;
    font-size: 20px;
    color: #000;
    margin-right: 12px;
    text-align: center;
}

.menu-item:active {
    background: rgba(0, 0, 0, 0.02);
}
.sidebar-footer {
    flex-shrink: 0;
    padding: 20px 0 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 600px) {
    .nav-item {
        padding: 8px 0px;
		margin: 0 16px;
        font-size: 16px;
    }
    .date-year {
        font-size: 14px;
    }
    .date-day {
        font-size: 22px;
    }
}
.stats-actions {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
	align-self: center;
    gap: 28px;
    padding-top: 10px;
	width: 80%;
    border-top: 0.5px solid #f0f0f0;
}

.stats-actions button {
    background: none;
    border: none;
    display: flex;
	flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    padding: 5px 10px;
    transition: background 0.2s;
	outline: none;
}

.stats-actions button i {
    font-size: 24px;
	color: #666;
}

.stats-actions button .count {
    font-size: 14px;
    color: #999;
}
.stats-actions .favorite-btn i.ri-heart-2-fill {
    color: #e74c3c;
}
/* 收藏按钮心跳动画 */
.favorite-btn i {
    display: inline-block;
    transition: transform 0.1s ease;
}

.favorite-btn i.heart-beat {
    animation: heartBeatIcon 0.4s ease-in-out;
}

@keyframes heartBeatIcon {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
/* ========== 收藏页面样式 ========== */
.favorites-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1003;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
body.favorites-open .page-content {
    margin-left: -100%;
}
body.favorites-open .favorites-modal {
    transform: translateX(0);
}


.favorites-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.favorites-header {
    padding: 10px 20px;
	flex-direction: row;
	display: flex;
	align-items: center;
    flex-shrink: 0;
}

.favorites-header h3 {
    font-size: 16px;
    font-weight: 500;
    color: #000;
	margin-left: 10px;
}

.close-favorites {
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-favorites:active {
    color: #000;
}

.favorites-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
	display: flex;
	flex-direction: column;
	background-color: #FFF;
	transition: background-color 0.3s ease;
}
.favorites-body.empty {
    background-color: #ffffff;
}
.favorites-body.has-favorites {
    background-color: #f9f9f9;
}
.favorites-body .empty-favorites {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* 日期分组 */
.favorites-date-group {
    margin-bottom: 20px;
	justify-content: center;
	align-items: center;
}

.date-group-header {
	text-align: center;
	width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #666;
	margin-bottom: 10px;
}

/* 收藏卡片通用样式 */
.favorite-card {
    background: white;
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.favorite-card:active {
    transform: scale(0.98);
}

/* 音乐卡片样式 */
.favorite-card.music-card .card-cover,.favorite-card.sentence-card .card-cover,.favorite-card.article-card .card-cover {
    width: 50px;
    height: 50px;
    object-fit: cover;
    flex-shrink: 0;
}

/* 句子卡片样式 */
.favorite-card.sentence-card .card-icon i {
    font-size: 32px;
    color: #666;
}
.sentence-image {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 56.25%; 
    overflow: hidden;
}

.sentence-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#sentence .card-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#sentenceText {
    margin: 0 0 20px 0;
    line-height: 1.8;
    font-size: 1rem;
}

.card-info {
    flex: 1;
    min-width: 0;
}
.card-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.card-title {
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
}

.card-subtitle {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-preview {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.empty-favorites {
    text-align: center;
    padding: 60px 20px;
	height: 100vh;
}

.empty-favorites i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
	    color: #999;
}

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

.loading-state i {
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* 复制提示 Toast 样式 */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    z-index: 10000;
    white-space: nowrap;
    pointer-events: none;
    animation: fadeInOut 2s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    15% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
}
/* ========== 更新日志模态框样式 ========== */
.changelog-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1003;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
body.changelog-open .page-content {
    margin-left: -100%;
}
body.changelog-open .changelog-modal {
    transform: translateX(0);
}
.changelog-modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.changelog-header {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.changelog-header h3 {
    font-size: 16px;
    font-weight: 500;
    margin-left: 10px;
    color: #000;
}
.close-changelog {
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}
.close-changelog:active {
    color: #000;
}
.changelog-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
}
.changelog-item {
    background: white;
    margin-bottom: 10px;
    padding: 10px;
}
.changelog-version {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.changelog-version span {
    font-size: 13px;
    font-weight: normal;
    color: #999;
}
.changelog-content {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    white-space: pre-wrap;
}

/* ========== 新增：左滑删除样式 ========== */
.favorites-body .swipe-container{
	margin-bottom: 8px;
}
.favorites-body .swipe-container:last-child {
    margin-bottom: 0;
}
.swipe-container {
    position: relative;
    overflow-x: hidden;
}
.swipe-inner {
    display: flex;
    width: calc(100% + 70px); 
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}
.card-content {
    flex: 1;
    min-width: 0;
    background: white;
    cursor: pointer;
}
.delete-btn-area {
    width: 70px;
    background: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s;
}
.delete-btn-area:active {
    background: #e74c3c;
}
.delete-btn-area i {
    font-size: 24px;
    color: white;
}

.favorites-body.swipe-active {
    touch-action: pan-y pinch-zoom;
}