@import url(./font.css);
::-webkit-scrollbar {
    height:4px;
    width:4px
}
::-webkit-scrollbar, ::-webkit-scrollbar:hover {
    background:transparent
}
::-webkit-scrollbar-thumb {
    background:#979797;
    border-radius:6px;
    -webkit-transition:all .2s ease-in-out;
    transition:all .2s ease-in-out
}
::-webkit-scrollbar-thumb:hover {
    background-color:#a8a8a8
}
::-webkit-scrollbar-corner {
    background:transparent
}
::selection {
    background-color:#5096ff;
    color:#fff
}
::-moz-selection {
    background-color:#5096ff;
    color:#fff
}
/* ========== 防止 Vue 模板闪烁 ========== */
[v-cloak] { display: none !important; }

/* ========== 防止iOS横向滚动 ========== */
* {
    border:0;
    -moapp-box-sizing:border-box;
    font-family:hankin-cn;
    margin:0;
    outline:0;
    padding:0
}
html, body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
* {
  max-width: 100vw;
}

/* ========== 音乐播放器旋转动画 ========== */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 8s linear infinite;
}

/* ========== 发现页幻灯片 ========== */
.discover-slider { transition: transform 0.5s ease-in-out; }

/* ========== 发现页 Tab 导航 ========== */
.discover-tabs {
  display: flex; gap: 0; padding: 0 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: var(--card-bg, #fff); position: sticky; top: 0; z-index: 10;
}
html.dark .discover-tabs { background: #12121a; border-color: #222; }
.discover-tab {
  flex: 1; text-align: center; padding: 10px 0;
  font-size: 15px; font-weight: 500; color: #999;
  cursor: pointer; position: relative; transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.discover-tab.active { color: var(--app-primary, #07c160); font-weight: 600; }
.discover-tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 3px; border-radius: 2px;
  background: var(--app-primary, #07c160);
}

/* ========== 消息页 Tab（与发现页一致） ========== */
.message-tabs {
  display: flex; gap: 0; padding: 0 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: var(--card-bg, #fff); position: sticky; top: 0; z-index: 10;
}
html.dark .message-tabs { background: #12121a; border-color: #222; }
.message-tab {
  flex: 1; text-align: center; padding: 10px 0;
  font-size: 15px; font-weight: 500; color: #999;
  cursor: pointer; position: relative; transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.message-tab.active { color: var(--app-primary, #07c160); font-weight: 600; }
.message-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 3px; border-radius: 2px;
  background: var(--app-primary, #07c160);
}

/* ========== 发现页 - 关注 ========== */
.following-grid {
  display: grid; gap: 12px; padding: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) { .following-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .following-grid { grid-template-columns: repeat(4, 1fr); } }
.following-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 8px; border-radius: 12px;
  background: var(--card-bg, #fff); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #f0f0f0;
}
html.dark .following-card { background: #1a1a1a; border-color: #333; }
.following-card:active { transform: scale(0.96); }
.following-card-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(7,193,96,0.2);
}
.following-card-name {
  font-size: 13px; font-weight: 500; color: #1f1f1f;
  max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html.dark .following-card-name { color: #e5e5e5; }
.following-card-works {
  font-size: 11px; color: #999;
}

/* ========== 发现页 - 推荐 ========== */
.recommend-section {
  padding: 0 1rem 1rem;
}
.recommend-section-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 10px;
  font-size: 16px; font-weight: 600; color: #1f1f1f;
}
html.dark .recommend-section-title { color: #e5e5e5; }

/* 推荐用户横向滚动容器 */
.recommend-users-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.recommend-users-scroll::-webkit-scrollbar { display: none; }
.recommend-user-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex-shrink: 0; width: 64px; cursor: pointer;
}
.recommend-user-item img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; transition: border-color 0.2s;
}
.recommend-user-item:active img { border-color: var(--app-primary, #07c160); }
.recommend-user-item .name {
  font-size: 11px; color: #666; max-width: 64px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
}
html.dark .recommend-user-item .name { color: #aaa; }

/* 推荐作品网格 */
.recommend-works-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}
@media (min-width: 480px) { .recommend-works-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .recommend-works-grid { grid-template-columns: repeat(5, 1fr); } }
.recommend-work-card {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; background: #f5f5f5;
}
html.dark .recommend-work-card { background: #2a2a2a; }
.recommend-work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.recommend-work-card:active img { transform: scale(1.05); }

/* ========== 发现页 - 文章 ========== */

/* 视图切换按钮组 */
.article-view-toggle {
  display: flex; gap: 4px; padding: 4px;
  background: #f5f5f5; border-radius: 8px;
}
html.dark .article-view-toggle { background: #2a2a2a; }
.article-view-btn {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; cursor: pointer; color: #999; font-size: 15px;
  transition: all 0.2s;
}
.article-view-btn.active {
  background: #fff; color: var(--app-primary, #07c160);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
html.dark .article-view-btn.active {
  background: #3a3a3a; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Tab 文章下拉箭头 */
.discover-tab-arrow {
  font-size: 10px; margin-left: 4px; display: inline-block;
  transition: transform 0.25s ease; vertical-align: middle; position: relative; top: -1px;
}
.discover-tab-arrow.rotate { transform: rotate(180deg); }

/* 文章视图下拉菜单 — 浮动竖列卡片 */
.article-view-dropdown {
  position: absolute; top: 50px; right: 1rem; z-index: 20;
  width: 150px; padding: 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.08);
  display: flex; flex-direction: column; gap: 2px;
  animation: articleDropdownIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top right;
}
@keyframes articleDropdownIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
html.dark .article-view-dropdown {
  background: #1e1e28;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.3);
}
.article-view-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 14px; color: #555;
  border-radius: 10px; cursor: pointer;
  transition: all 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.article-view-dropdown-item i {
  font-size: 14px; width: 18px; text-align: center; flex-shrink: 0;
  transition: transform 0.2s;
}
html.dark .article-view-dropdown-item { color: #bbb; }
.article-view-dropdown-item:hover {
  background: #f5f5f5; color: #333;
}
html.dark .article-view-dropdown-item:hover {
  background: #2a2a36; color: #eee;
}
.article-view-dropdown-item.active {
  color: var(--app-primary, #07c160); font-weight: 600;
  background: rgba(7,193,96,0.08);
}
.article-view-dropdown-item.active i { transform: scale(1.1); }
.article-view-dropdown-item:active {
  transform: scale(0.97); background: #ebebeb;
}
html.dark .article-view-dropdown-item:active {
  background: #1a1a24;
}

/* --- 视图一：大卡片 --- */
.article-list-large { padding: 0 1rem 1rem; }
.article-large-card {
  margin-top: 16px;
  margin-bottom: 16px; border-radius: 12px; overflow: hidden;
  background: var(--card-bg, #fff); cursor: pointer;
  transition: transform 0.2s; border: 1px solid #f0f0f0;
}
html.dark .article-large-card { background: #1a1a1a; border-color: #333; }
.article-large-card:active { transform: scale(0.98); }
.article-large-cover {
  width: 100%; height: 180px; object-fit: cover; background: #f0f0f0;
}
html.dark .article-large-cover { background: #222; }
.article-large-body { padding: 12px 14px; }
.article-large-title {
  font-size: 16px; font-weight: 600; color: #1f1f1f;
  line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
html.dark .article-large-title { color: #e5e5e5; }
.article-large-meta {
  display: flex; align-items: center; gap: 8px; margin-top: 8px;
}
.article-large-meta img {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
}
.article-large-meta .author {
  font-size: 12px; color: #999;
}
.article-large-meta .time-right {
  margin-left: auto; font-size: 11px; color: #b0b0b0;
}
html.dark .article-large-meta .author { color: #777; }

/* --- 视图二：多列网格 --- */
.article-grid {
  display: grid; gap: 12px; padding: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.article-grid-card {
  border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--card-bg, #fff); transition: transform 0.2s;
  border: 1px solid #f0f0f0; display: flex; flex-direction: column;
}
html.dark .article-grid-card { background: #1a1a1a; border-color: #333; }
.article-grid-card:active { transform: scale(0.97); }
.article-grid-cover {
  width: 100%; aspect-ratio: 4/3; background: #f0f0f0; overflow: hidden;
}
.article-grid-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
html.dark .article-grid-cover { background: #222; }
.article-grid-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.article-grid-title {
  font-size: 13px; font-weight: 500; color: #1f1f1f;
  line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; flex: 1;
}
html.dark .article-grid-title { color: #e0e0e0; }
.article-grid-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
}
.article-grid-meta img {
  width: 20px; height: 20px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.article-grid-meta .author {
  font-size: 11px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html.dark .article-grid-meta .author { color: #777; }
.article-grid-meta .time {
  font-size: 11px; color: #bbb; margin-left: auto; flex-shrink: 0;
}
html.dark .article-grid-meta .time { color: #666; }
.article-grid-meta .views {
  font-size: 10px; color: #ccc; flex-shrink: 0;
}
html.dark .article-grid-meta .views { color: #555; }

/* --- 视图三：左图右文 --- */
.article-list-compact { padding:1rem; display: flex; flex-direction: column; gap: 8px; }
.article-compact-card {
  display: flex; gap: 12px; padding: 10px;
  border-radius: 12px; cursor: pointer;
  background: #fff; border: 1px solid #f0f0f0;
  transition: transform 0.15s;
}
html.dark .article-compact-card { background: #1a1a1a; border-color: #333; }
.article-compact-card:active { transform: scale(0.98); }
.article-compact-cover {
  width: 130px; height: 90px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; background: #f0f0f0;
}
html.dark .article-compact-cover { background: #222; }
.article-compact-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.article-compact-title {
  font-size: 14px; font-weight: 500; color: #1f1f1f;
  line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 6px;
}
html.dark .article-compact-title { color: #e0e0e0; }
.article-compact-meta {
  display: flex; align-items: center; gap: 6px;
}
.article-compact-meta img {
  width: 20px; height: 20px; border-radius: 50%; object-fit: cover;
}
.article-compact-meta .author {
  font-size: 11px; color: #999;
}

/* ========== 文章时间线视图 ========== */
.article-timeline {
  padding:1rem;
}
.article-timeline-item {
  display: flex; gap: 12px;
}
/* 左侧时间线 */
.tl-left {
  display: flex; flex-direction: column; align-items: center;
  width: 20px; flex-shrink: 0; padding-top: 4px;
}
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--app-primary, #07c160); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(7,193,96,0.15);
}
.tl-line {
  width: 2px; flex: 1; min-height: 20px;
  background: linear-gradient(to bottom, var(--app-primary, #07c160) 0%, #e5e5e5 100%);
}
html.dark .tl-line {
  background: linear-gradient(to bottom, var(--app-primary, #07c160) 0%, #333 100%);
}
/* 右侧卡片 */
.tl-card {
  flex: 1; min-width: 0; margin-bottom: 16px;
  background: #fff; border-radius: 10px; padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  cursor: pointer; transition: transform 0.15s;
}
html.dark .tl-card { background: #1a1a1a; box-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.tl-card:active { transform: scale(0.98); }
.tl-time {
  font-size: 11px; color: #999; margin-bottom: 6px;
}
html.dark .tl-time { color: #666; }
.tl-body {
  display: flex; gap: 10px;
}
.tl-cover {
  width: 70px; height: 55px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0; background: #f0f0f0;
}
html.dark .tl-cover { background: #222; }
.tl-text {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between;
}
.tl-title {
  font-size: 14px; font-weight: 500; color: #222;
  line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
html.dark .tl-title { color: #e0e0e0; }
.tl-meta {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
}
.tl-avatar {
  width: 18px; height: 18px; border-radius: 50%; object-fit: cover;
}
.tl-author {
  font-size: 11px; color: #999;
}
html.dark .tl-author { color: #777; }
.tl-views {
  font-size: 11px; color: #bbb; margin-left: auto;
}
html.dark .tl-views { color: #555; }

/* ========== 文章详情页 — 微信布局风格 ========== */
.article-detail-page { background: #fff; overflow-x: hidden; }
html.dark .article-detail-page { background: #12121a; }

/* 顶部导航 */
.article-detail-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 48px; display: flex; align-items: center;
  background: rgba(255,255,255,0); transition: background 0.25s;
  max-width: 678px;
  margin: 0 auto;
}
.article-detail-nav.scrolled { background: rgba(255,255,255,0.92); border-bottom: 1px solid #eee; }
html.dark .article-detail-nav.scrolled { background: rgba(18,18,26,0.92); border-color: #222; }
.article-detail-nav-inner {
  max-width: 678px; margin: 0 auto; width: 100%; display: flex; align-items: center; padding: 0 16px;
}
.article-detail-back {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.15); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  flex-shrink: 0;
}
.article-detail-nav.scrolled .article-detail-back {
  background: transparent; color: #333;
}
html.dark .article-detail-nav.scrolled .article-detail-back { color: #ddd; }
.article-detail-nav-title {
  font-size: 15px; font-weight: 500; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-left: 12px; opacity: 0; transition: opacity 0.25s;
}
.article-detail-nav.scrolled .article-detail-nav-title { opacity: 1; }
html.dark .article-detail-nav-title { color: #e0e0e0; }

/* 内容容器 */
.article-detail-content {
  max-width: 678px; margin: 0 auto; padding: 0 16px 70px;
}

/* 封面 */
.article-detail-cover-wrap { margin: 0 -16px 20px; }
.article-detail-cover { width: 100%; display: block; }

/* 标题 */
.article-detail-title {
  font-size: 22px; font-weight: 700; color: #191919;
  line-height: 1.4; margin: 0 0 16px;
}
html.dark .article-detail-title { color: #e8e8e8; }

/* 作者栏 */
.article-detail-meta {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}
html.dark .article-detail-meta { border-color: #2a2a2a; }
.article-detail-meta-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
}
.article-detail-meta-name {
  font-size: 14px; color: #576b95; font-weight: 500;
}
.article-detail-meta-time {
  font-size: 13px; color: #b2b2b2; margin-left: auto;
}
.article-detail-meta-views {
  font-size: 13px; color: #b2b2b2;
}

/* 底部悬浮操作栏 */
.article-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 16px;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-sizing: border-box;
  max-width: 678px;
  margin: 0 auto;
}
html.dark .article-bottom-bar {
  background: rgba(28,28,32,0.3);
  border-color: rgba(255,255,255,0.06);
}
.article-bottom-author {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-width: 0; flex-shrink: 1;
}
.article-bottom-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.article-bottom-name {
  font-size: 14px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html.dark .article-bottom-name { color: #ccc; }
.article-bottom-actions {
  display: flex; align-items: center; gap: 4px; flex-shrink: 0;
}
.article-bottom-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  border: none; background: none; padding: 6px 10px;
  font-size: 11px; color: #999; cursor: pointer;
  transition: color 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  position: relative; line-height: 1;
  min-width: 40px;
}
.article-bottom-btn:active { transform: scale(0.9); }
.article-bottom-btn i { font-size: 19px; }
.article-bottom-btn.active { color: #e74c3c; }
.article-bottom-btn.active i { animation: heartPop 0.3s ease; }
@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
/* 正文 */
.article-detail-body {
  font-size: 17px; color: #3e3e3e; line-height: 1.75;
  word-break: break-word; overflow-wrap: break-word;
  overflow-x: hidden;
}
.article-detail-body * { max-width: 100%; box-sizing: border-box; }
.article-detail-body iframe,
.article-detail-body video,
.article-detail-body embed { max-width: 100% !important; }
html.dark .article-detail-body { color: #c8c8c8; }
.article-detail-body p { margin: 0 0 16px; }
.article-detail-body img { max-width: 100%; height: auto; display: block; margin: 12px auto; border-radius: 4px; }
.article-detail-body h1,.article-detail-body h2,.article-detail-body h3 {
  font-size: 18px; font-weight: 700; color: #191919; margin: 24px 0 12px; line-height: 1.4;
}
html.dark .article-detail-body h1,
html.dark .article-detail-body h2,
html.dark .article-detail-body h3 { color: #e8e8e8; }
.article-detail-body strong { color: #191919; }
html.dark .article-detail-body strong { color: #e8e8e8; }
.article-detail-body a { color: #576b95; text-decoration: none; }
.article-detail-body ul,.article-detail-body ol { padding-left: 1.5em; margin: 0 0 16px; }
.article-detail-body li { margin-bottom: 6px; }
.article-detail-body blockquote {
  border-left: 3px solid #e0e0e0; padding: 8px 16px; margin: 0 0 16px;
  color: #888; font-size: 15px;
}
html.dark .article-detail-body blockquote { border-color: #333; color: #999; }
.article-detail-body code {
  background: #f5f5f5; padding: 2px 6px; border-radius: 4px; font-size: 15px;
  word-break: break-all;
}
html.dark .article-detail-body code { background: #2a2a2a; }
.article-detail-body pre {
  overflow-x: auto; white-space: pre-wrap; word-break: break-all;
  background: #f5f5f5; padding: 12px 16px; border-radius: 6px;
  font-size: 14px; line-height: 1.6; margin: 0 0 16px;
  -webkit-overflow-scrolling: touch;
}
html.dark .article-detail-body pre { background: #1e1e24; }
.article-detail-body pre code {
  background: none; padding: 0; border-radius: 0; font-size: inherit;
  word-break: normal; white-space: pre-wrap;
}
.article-detail-body table {
  display: block; overflow-x: auto; max-width: 100%;
  border-collapse: collapse; margin: 0 0 16px;
  -webkit-overflow-scrolling: touch;
}
.article-detail-body td,
.article-detail-body th {
  border: 1px solid #e0e0e0; padding: 8px 12px;
}
html.dark .article-detail-body td,
html.dark .article-detail-body th { border-color: #333; }

/* 底部 */
.article-detail-footer { padding: 40px 0 20px; text-align: center; }
.article-detail-footer-hint { font-size: 13px; color: #ccc; letter-spacing: 2px; }
html.dark .article-detail-footer-hint { color: #555; }

/* ===== 文章评论 ===== */
.article-comments-section { padding: 0 0 30px; }
.article-comments-header { font-size: 15px; font-weight: 600; padding: 16px 0 12px; border-top: 1px solid #f0f0f0; }
html.dark .article-comments-header { border-color: #2a2a2a; color: #e0e0e0; }

/* 评论输入框 */
.article-comment-input { display: flex; gap: 10px; margin-bottom: 16px; }
.article-comment-input-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.article-comment-input-body { flex: 1; min-width: 0; }
.article-comment-textarea { width: 100%; padding: 8px 12px; border: 1px solid #e8e8e8; border-radius: 8px; font-size: 14px; resize: none; outline: none; background: #f9f9f9; }
html.dark .article-comment-textarea { background: #1e1e26; border-color: #333; color: #ddd; }
.article-comment-textarea:focus { border-color: #576b95; background: #fff; }
html.dark .article-comment-textarea:focus { background: #1a1a22; border-color: #576b95; }
.article-comment-input-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.article-comment-input-hint { font-size: 12px; color: #999; }
html.dark .article-comment-input-hint { color: #666; }
.article-comment-submit-btn { padding: 4px 16px; background: #576b95; color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; }
.article-comment-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.article-comment-cancel-btn { padding: 4px 12px; background: transparent; color: #999; border: none; font-size: 13px; cursor: pointer; }

/* 评论列表 */
.article-comments-list {}
.article-comment-item { display: flex; gap: 10px; padding: 14px 0; border-bottom: 1px solid #f5f5f5; }
html.dark .article-comment-item { border-color: #1e1e26; }
.article-comment-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.article-comment-content { flex: 1; min-width: 0; }
.article-comment-top { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.article-comment-name { font-size: 13px; font-weight: 500; color: #333; }
html.dark .article-comment-name { color: #ddd; }
.article-comment-author-badge { font-size: 10px; padding: 1px 5px; background: #576b95; color: #fff; border-radius: 3px; }
.article-comment-time { font-size: 11px; color: #bbb; }
html.dark .article-comment-time { color: #555; }
.article-comment-text { font-size: 14px; color: #333; line-height: 1.6; word-break: break-word; }
html.dark .article-comment-text { color: #ccc; }
.article-comment-actions { display: flex; gap: 12px; margin-top: 6px; }
.article-comment-action-btn { background: none; border: none; font-size: 12px; color: #999; cursor: pointer; display: flex; align-items: center; gap: 3px; padding: 2px 0; }
.article-comment-action-btn:hover { color: #576b95; }
.article-comment-action-btn.liked { color: #576b95; }
.article-comment-del-btn:hover { color: #e74c3c !important; }

/* 回复输入框 */
.article-reply-input-wrap { margin-top: 8px; margin-bottom: 8px; }
.article-reply-textarea { width: 100%; padding: 6px 10px; border: 1px solid #e8e8e8; border-radius: 6px; font-size: 13px; resize: none; outline: none;  background: #f9f9f9; }
html.dark .article-reply-textarea { background: #1e1e26; border-color: #333; color: #ddd; }
.article-reply-textarea:focus { border-color: #576b95; }
.article-reply-input-bottom { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }

/* 回复列表 */
.article-replies-list { margin-top: 8px; padding: 8px 0 0 0; background: #fafafa; border-radius: 6px; padding: 10px; }
html.dark .article-replies-list { background: #15151d; }
.article-reply-item { display: flex; gap: 8px; padding: 6px 0; }
.article-reply-avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.article-reply-content-wrap { flex: 1; min-width: 0; }
.article-reply-top { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; flex-wrap: wrap; }
.article-reply-name { font-size: 12px; font-weight: 500; color: #333; }
html.dark .article-reply-name { color: #ddd; }
.article-reply-to { font-size: 11px; color: #576b95; }
.article-reply-time { font-size: 10px; color: #ccc; }
html.dark .article-reply-time { color: #555; }
.article-reply-text { font-size: 13px; color: #333; line-height: 1.5; word-break: break-word; }
html.dark .article-reply-text { color: #ccc; }
.article-reply-actions { display: flex; gap: 10px; margin-top: 4px; }

/* 加载更多 */
.article-comments-more { text-align: center; padding: 16px 0; font-size: 13px; color: #576b95; cursor: pointer; }
.article-comments-more:hover { opacity: 0.8; }
.article-comments-empty { text-align: center; padding: 30px 0; font-size: 13px; color: #ccc; }
html.dark .article-comments-empty { color: #555; }

/* ========== Fancybox 自定义样式 ========== */
/* 缩略图移到底部，移除右侧占位 */
.fancybox-thumbs {
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 90px !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  display: flex !important;
  justify-content: center !important;
  padding: 10px !important;
}

/* 移除 Fancybox 原本的右侧占位效果 */
.fancybox-show-thumbs .fancybox-inner {
  right: 0 !important;
}

/* 缩略图列表水平滚动 */
.fancybox-thumbs__list {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  height: 70px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  padding: 0 !important;
}

.fancybox-thumbs__list::-webkit-scrollbar {
  height: 4px !important;
}

.fancybox-thumbs__list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1) !important;
  border-radius: 4px !important;
}

.fancybox-thumbs__list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3) !important;
  border-radius: 4px !important;
}

.fancybox-thumbs__list a {
  float: none !important;
  display: inline-block !important;
  width: 60px !important;
  height: 60px !important;
  margin: 0 4px !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
  border: 2px solid transparent !important;
  opacity: 0.5 !important;
  transition: all 0.2s ease !important;
}

.fancybox-thumbs__list a::before {
  border-radius: 4px !important;
  border: none !important;
}

/* 缩略图选中状态 */
.fancybox-thumbs__list a.fancybox-thumbs-active {
  border-color: #fff !important;
  opacity: 1 !important;
}

/* 工具栏背景改为黑色透明 */
.fancybox-toolbar {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* 封面（按钮组）背景 */
.fancybox-button--zoom,
.fancybox-button--play,
.fancybox-button--thumbs,
.fancybox-button--close {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 50% !important;
}

/* 隐藏说明文字 */
.fancybox-caption {
  display: none !important;
}

/* ========== 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* 全局img默认水波纹背景动画 */
/*img { background: linear-gradient(136deg,#b989f7,#3e4ff1,#2c98fe);}*/
img { background: #ccc;}
video { background: #f0f0f0; }
body { color: #1a1a1a; background: #f1f5f9; }
html.dark body { background: #181818; color: #fff; }
.mobile-nav .text-primary{font-weight: bold;}

/* ========== 瀑布流布局 ========== */
.waterfall { position: relative; }
.waterfall-item {
  position: absolute;
  width: calc(50% - 5px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
@media (min-width: 480px)  { .waterfall-item { width: calc(33.333% - 6.667px); } }
@media (min-width: 768px)  { .waterfall-item { width: calc(25% - 7.5px); } }
@media (min-width: 1024px) { .waterfall-item { width: calc(20% - 9px); } }

/* ========== 卡片样式 ========== */
.xhs-card { border-radius: 14px; overflow: hidden; }

/* ========== 3D 卡片效果 ========== */
.xhs-card-3d {
  perspective: 600px;
  border-radius: 14px;
  overflow: visible;
}
.xhs-card-3d .xhs-card-inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  will-change: transform;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  background: transparent;
}
.xhs-card-3d:hover .xhs-card-inner {
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.xhs-img-container { width: 100%; height: auto; position: relative; border-radius: 12px; overflow: hidden; background: #f5f5f5; }
html.dark .xhs-img-container { background: #2a2a2a; }
.xhs-img-container img, .xhs-img-container video { width: 100%; height: auto; display: block; object-fit: cover; }

/* ========== Banner 触摸滑动 ========== */
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }

/* ========== 推荐作品滚动条 ========== */
.works-scroll::-webkit-scrollbar { height: 4px; }
.works-scroll::-webkit-scrollbar-track { background: transparent; }
.works-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }
.works-scroll::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
html.dark .works-scroll::-webkit-scrollbar-thumb { background: #4b5563; }
html.dark .works-scroll::-webkit-scrollbar-thumb:hover { background: #6b7280; }

/* ========== 推荐用户滚动条 ========== */
.users-scroll::-webkit-scrollbar { height: 4px; }
.users-scroll::-webkit-scrollbar-track { background: transparent; }
.users-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }
.users-scroll::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
html.dark .users-scroll::-webkit-scrollbar-thumb { background: #4b5563; }
html.dark .users-scroll::-webkit-scrollbar-thumb:hover { background: #6b7280; }

/* ========== Tab 激活状态 ========== */
.tab-active { font-weight: 600; color: var(--app-primary, #07c160); }

/* ========== 弹窗动画 ========== */
.modal-enter { animation: modalEnter 0.3s ease forwards; }
@keyframes modalEnter { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }

/* ========== 骨架屏 ========== */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
html.dark .skeleton { background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ========== 弹窗顶部 ========== */
.modal-top { position: fixed !important; z-index: 9999 !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: auto !important; display: flex !important; align-items: flex-start !important; justify-content: center !important; padding: 4rem 1rem !important; background: rgba(0, 0, 0, 0.7) !important; min-height: 100vh !important; backdrop-filter: blur(5px) saturate(180%); -webkit-backdrop-filter: blur(5px) saturate(180%);}

/* ========== Header 液态玻璃效果 ========== */
header.glass-header {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  will-change: backdrop-filter, transform;
  left: 0 !important;
  right: 0 !important;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
@media (min-width: 768px) {
  header.glass-header { left: 10rem !important; right: 0 !important; }
  .article-detail-nav { left: 9rem !important; }
  .article-bottom-bar { left: 9rem !important; }
}
@media (min-width: 1280px) {
  header.glass-header { left: 10rem !important; right: 0 !important; }
  .article-detail-nav { left: 9rem !important; }
  .article-bottom-bar { left: 9rem !important; }
}
html.dark header.glass-header {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 45, 0.4) 0%,
    rgba(20, 20, 30, 0.25) 50%,
    rgba(15, 15, 25, 0.15) 100%
  ) !important;
}
/* Header 默认状态：随页面流动（非悬浮） */
header.glass-header.header-not-fixed {
/*  position: relative !important;*/
  top: auto !important;
}
/* Header 悬浮状态：滚动后固定在顶部 */
header.glass-header.header-is-fixed {
  position: fixed !important;
  top: 0 !important;
}
/* Header 滚动隐藏（仅在悬浮状态下生效） */
header.glass-header.header-is-fixed.header-hidden {
  transform: translateY(-100%);
}

/* ========== 首页分类选择按钮 ========== */
.home-category-btn {
  background: rgba(243, 244, 246, 0.25);
  color: #374151;
  border-color: #e5e7eb;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.home-category-btn:active {
  transform: scale(0.95);
}
html.dark .home-category-btn {
  background: rgba(31, 31, 45, 0.25);
  color: #e5e7eb;
  border-color: #3f3f5a;
}

/* ========== 底部菜单 ========== */
/* 移动端底部导航 - 液态玻璃效果 */
.mobile-nav {
  padding-bottom: env(safe-area-inset-bottom, 10px) !important;
  padding-bottom: constant(safe-area-inset-bottom, 10px);
  /* 额外增加底部内边距防止被 Home 指示条遮挡 */
  padding-bottom: max(env(safe-area-inset-bottom, 10px), 10px) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
  box-shadow:
    0 -8px 32px 0 rgba(31, 38, 135, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: transform 0.3s ease-in-out;
}
html.dark .mobile-nav {
  background: linear-gradient(
    180deg,
    rgba(40, 40, 55, 0.35) 0%,
    rgba(25, 25, 35, 0.2) 50%,
    rgba(15, 15, 25, 0.1) 100%
  ) !important;
  box-shadow:
    0 -8px 32px 0 rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
}
/* 底部菜单滚动隐藏 */
.mobile-nav.nav-hidden {
  transform: translateY(100%);
}

/* ========== 二维码居中 ========== */
#qrcode canvas, #qrcode img { display: block; margin: 0 auto; }

/* ========== 底部弹框上滑动画（sheet） ========== */
.sheet-enter-active, .sheet-leave-active { transition: opacity 0.3s ease; }
.sheet-enter, .sheet-leave-to { opacity: 0; }
.sheet-enter-active .sheet-body, .sheet-leave-active .sheet-body { transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1); }
/* 移动端：从底部滑入 */
.sheet-enter .sheet-body, .sheet-leave-to .sheet-body { transform: translateY(100%); }
/* PC端：淡入 + 轻微上移 */
@media (min-width: 768px) {
  .sheet-enter .sheet-body, .sheet-leave-to .sheet-body { transform: translateY(20px) scale(0.98); }
}

/* ========== 位置选择器 ========== */
.location-picker-map {
  position: relative;
  overflow: hidden;
}
.location-picker-map > div {
  width: 100%;
  height: 300px;
}
/* 地图中心图钉 */
.location-picker-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 100;
  pointer-events: none;
  margin-top: -8px;
  width: 32px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40'%3E%3Cdefs%3E%3Cfilter id='s'%3E%3CfeDropShadow dx='0' dy='1' stdDeviation='2' flood-color='%23000' flood-opacity='0.25'/%3E%3C/filter%3E%3CradialGradient id='g' cx='35%25' cy='30%25'%3E%3Cstop offset='0%25' stop-color='%23ff6b6b'/%3E%3Cstop offset='100%25' stop-color='%23e03131'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M16 0C8.8 0 3 5.8 3 13c0 9.8 13 27 13 27s13-17.2 13-27C29 5.8 23.2 0 16 0z' fill='url(%23g)' filter='url(%23s)'/%3E%3Ccircle cx='16' cy='13' r='5' fill='white' opacity='0.9'/%3E%3Ccircle cx='16' cy='13' r='3.5' fill='%23e03131'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* 回到当前位置按钮 */
.location-picker-recenter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #3b82f6;
  transition: all 0.2s;
}
.location-picker-recenter:hover {
  background: #f0f7ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.location-picker-recenter:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* 地点列表项 */
.location-picker-place-item {
  padding: 12px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 2px;
}
.location-picker-place-item:hover {
  background: rgba(59, 130, 246, 0.06);
}
.location-picker-place-item.active {
  background: rgba(59, 130, 246, 0.1);
}
html.dark .location-picker-place-item:hover {
  background: rgba(59, 130, 246, 0.1);
}
html.dark .location-picker-place-item.active {
  background: rgba(59, 130, 246, 0.15);
}

/* 暗黑模式覆盖 */
html.dark .location-picker-recenter {
  background: #1e1e2e;
  color: #60a5fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
html.dark .location-picker-recenter:hover {
  background: #262640;
}

/* ========== 懒加载占位 ========== */
.lazy-placeholder {
  min-height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
html.dark .lazy-placeholder {
  background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
}
.lazy-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.lazy-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== SortableJS 图片拖拽样式 ========== */
/* 拖拽时的幽灵元素（占位效果） */
.sortable-ghost {
  opacity: 0.4;
  background: rgba(var(--primary-rgb, 59, 130, 246), 0.2) !important;
  border-color: rgba(var(--primary-rgb, 59, 130, 246), 0.5) !important;
}

/* 选中/抓取中的元素 */
.sortable-chosen {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* 实际拖拽的元素 */
.sortable-drag {
  opacity: 1 !important;
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* 禁用文字选择 */
.user-select-none {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.shadow-on-hover {
    overflow: hidden;
    box-shadow: 0 8px 20px -8px rgba(16, 16, 16, 0.6);
    transition: box-shadow 0.2s ease, translate 0.2s ease;
}

.shadow-on-hover:hover {
    translate: 0 -6px;
    box-shadow: 0 16px 32px -8px rgba(16, 16, 16, 0.4);
}
.shadow-on-hover img {
  width: 100%;
  transition: transform 0.25s ease;
}
.shadow-on-hover img:hover {
  transform: scale(1.2);
}

/* Loading旋转动画 */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.loading-spin {
    animation: spin 1s linear infinite;
}

/* 作品详情抽屉动画（底部滑入/滑出） */
.drawer-slide-enter-active {
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.drawer-slide-leave-active {
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.drawer-slide-enter, .drawer-slide-leave-to {
    transform: translateY(100%);
}

/* ========== 首页标签栏（原生滚动） ========== */
.home-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home-tabs-scroll::-webkit-scrollbar {
  display: none;
}
.home-tabs-swiper {
  overflow: hidden;
}
.home-tabs-swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}
.home-tabs-swiper .swiper-slide {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-tab-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.home-tab-btn.tab-active {
  background: var(--app-primary, #07c160);
  color: #fff;
}
.home-tab-btn:not(.tab-active) {
  background: #f3f4f6;
  color: #374151;
}
html.dark .home-tab-btn:not(.tab-active) {
  background: #1f2937;
  color: #d1d5db;
}

/* Header 悬浮后，首页内容区需要留出占位 */
.home-content-swiper .tab-scroll-container.header-offset {
  padding-top: 56px;
}
.home-content-swiper {
  height: 100%;
}
.home-content-swiper .swiper-slide {
  height: 100%;
  overflow: hidden;
}
.home-content-swiper .swiper-slide > .tab-scroll-container {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem;
  padding-bottom: 5rem;
}
.home-content-swiper .tab-scroll-container .waterfall {
  min-height: calc(100vh - 10rem);
}
.sheet-body img{background: none;}
.moment img{background: #ccc;}
.viewer-canvas img{background: none;}
.viewer-backdrop{background: rgb(0 0 0 / 97%)!important}


#__vconsole{z-index: 9999999!important}
    /* EasyMDE 暗黑模式适配 */
    html.dark .editor-toolbar {
      background: #1e1e2e !important;
      border-color: #333 !important;
    }
    html.dark .editor-toolbar button {
      color: #ccc !important;
    }
    html.dark .editor-toolbar button:hover,
    html.dark .editor-toolbar button.active {
      background: #333 !important;
      border-color: #555 !important;
    }
    html.dark .editor-toolbar i.separator {
      border-color: #444 !important;
    }
    /* 移动端强制显示全屏按钮（EasyMDE 默认隐藏自定义按钮） */
    .editor-toolbar button.fullscreen {
      display: inline-block !important;
    }
    /* 移动端隐藏分栏预览（小屏分栏无意义） */
    @media (max-width: 768px) {
      .editor-toolbar button.side-by-side {
        display: none !important;
      }
    }
    html.dark .CodeMirror {
      background: #1e1e2e !important;
      color: #e0e0e0 !important;
      border-color: #333 !important;
    }
    html.dark .CodeMirror-cursor {
      border-color: #e0e0e0 !important;
    }
    html.dark .CodeMirror pre {
      color: #e0e0e0 !important;
    }
    html.dark .editor-preview-side,
    html.dark .editor-preview {
      background: #1e1e2e !important;
      color: #e0e0e0 !important;
    }
    html.dark .editor-statusbar {
      background: #1e1e2e !important;
      color: #888 !important;
      border-color: #333 !important;
    }
    html.dark .editor-statusbar a {
      color: #888 !important;
    }

/* ========== fade-scale 过渡动画（朋友圈操作菜单）========== */
.fade-scale-enter-active, .fade-scale-leave-active {
  transition: all 0.2s ease;
}
.fade-scale-enter-from, .fade-scale-leave-to {
  opacity: 0;
  transform: scale(0.85);
}
