:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-hover: rgba(30, 41, 59, 0.85);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.3);
  --danger: #ef4444;
  --success: #22c55e;
  --border: rgba(148, 163, 184, 0.15);
  --border-hover: rgba(148, 163, 184, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--text-primary);
}

body {
  position: relative;
}

.wallpaper {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity 0.8s ease;
}

.wallpaper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.7) 100%);
}

/* 壁纸信息层 - 左下角标题和描述 */
.wallpaper-info {
  position: fixed;
  left: 12px;
  bottom: 5px;
  z-index: 9999;
  padding: 8px 12px;
  pointer-events: auto;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.wallpaper-info.hidden {
  opacity: 0;
}

.wallpaper-info.visible {
  opacity: 0.35;
}

.wallpaper-info:hover {
  opacity: 1;
}

.wallpaper-info:hover .wallpaper-info-title,
.wallpaper-info:hover .wallpaper-info-desc,
.wallpaper-info:hover .wallpaper-info-btn {
  opacity: 1;
}

.wallpaper-info-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.wallpaper-info-desc-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wallpaper-info-desc {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  max-width: 300px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.wallpaper-info-desc a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

/* 壁纸操作按钮 */
.wallpaper-info-actions {
  display: flex;
  gap: 4px;
}

.wallpaper-info-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.wallpaper-info-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

.wallpaper-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 视频壁纸容器 */
#wallpaper-video-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#wallpaper-video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* 主内容区 - 固定定位 */
.main-wrapper {
  position: fixed;
  left: 80px;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 32px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* 搜索视图默认设置 */
.app.view-search .main-wrapper {
  left: 0;
  justify-content: flex-start;
  align-items: stretch;
  transition: left 0.3s ease;
}

.app {
  padding: 0;
}

/* ============================================
   左侧竖向导航�?- 独立布局（非浮动�?
   ============================================ */
.sidebar-nav {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 36px;
  z-index: 10000 !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 隐藏侧栏 */
.sidebar-nav.is-hidden {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

/* 默认显示导航�?- 全高，从左到右由深到浅渐�?*/
.sidebar-nav-trigger {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(to right, rgb(0 0 0 / 15%), rgb(255 255 255 / 0%));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 导航按钮 - 均分侧边栏高�?*/
.nav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  flex: 1;
  padding: 8px 4px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.nav-icon-btn span.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.nav-icon-btn span.nav-text {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.nav-icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-icon-btn.active {
  color: var(--accent);
  background: linear-gradient(92deg, rgb(59 130 246 / 50%), rgb(59 130 246 / 0%));
}

/* 导航激活指示器 - 弹性滑动效�?*/
.nav-icon-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(1);
  width: 3px;
  height: 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 3px 3px 0;
  animation: indicatorSlide 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 切换时指示器滑动离开 */
.nav-icon-btn:not(.active)::before {
  transform: translateY(-50%) scaleX(0);
  transition: transform 0.25s ease;
}

/* 侧边栏按钮滑动效�?*/
.nav-icon-btn {
  overflow: hidden;
}

.nav-icon-btn.active .nav-icon,
.nav-icon-btn.active .nav-text {
  animation: textSlide 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes indicatorSlide {
  0% {
    transform: translateY(-50%) scaleX(0);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
  }
}

@keyframes textSlide {
  0% {
    transform: translateX(-8px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 滚动时隐�?显示导航 */
.app::-webkit-scrollbar {
  width: 0;
}

.app.is-scrolling .sidebar-nav-trigger {
  opacity: 0.5;
}

.app:not(.is-scrolling) .sidebar-nav-trigger,
.app:hover .sidebar-nav-trigger {
  opacity: 1;
}

/* ============================================
   视图切换样式
   ============================================ */

/* 搜索视图布局 */
/* 搜索视图默认隐藏，通过 sidebar-visible 类显示 */
.app.view-search .sidebar-nav {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 搜索视图显示模式 */
.app.view-search.sidebar-visible .sidebar-nav {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.app.view-search .header {
  display: flex;
  justify-content: center;
  padding: 0 0 16px;
}

/* 显示模式�?header 居中 */
.app.view-search.sidebar-visible .header {
  justify-content: center;
}

/* 隐藏模式：主区域绝对居中 */
.app.view-search:not(.sidebar-visible) .main-wrapper {
  left: 0;
  right: 0;
  transform: none;
  justify-content: center;
  align-items: center;
  padding: 24px 32px;
  gap: 24px;
}

/* 侧边栏隐藏时，搜索框保持与显示模式相同宽度，仅向左调整位置 */
.app.view-search:not(.sidebar-visible) #search-container {
  margin: 0 auto;
  max-width: 900px;
  width: calc(100% - 84px);
  min-width: 300px;
}

/* 新闻容器保持与显示模式相同宽度 */
.app.view-search:not(.sidebar-visible) #news-container {
  max-width: 900px;
  width: calc(100% - 84px);
  min-width: 300px;
  margin: 0 auto;
}

/* 显示模式：显示侧栏、天气、新闻、音乐按�?*/
.app.view-search.sidebar-visible .sidebar-nav {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* 极简模式：显示logo和搜索框，隐藏天气、时间、AI助手、新闻 */
.app.view-search.mode-minimal #header-buttons {
  display: none;
}

.app.view-search.mode-minimal #news-container {
  display: none;
}

/* 每日一言 - 页面底部居中 */
.daily-saying {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 2px 30px;
  background: rgb(0 0 0 / 10%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  /*border: 1px solid rgba(255, 255, 255, 0.1);*/
  max-width: 80%;
  text-align: center;
  transition: all 0.3s ease;
}

.daily-saying:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.daily-saying .saying-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  display: block;
  max-width: max-content;
  word-wrap: break-word;
  word-break: break-word;
}

/* 每日一言操作按钮 */
.daily-saying .saying-actions {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 5px 5px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.daily-saying:hover .saying-actions {
  opacity: 1;
  visibility: visible;
}

.daily-saying .saying-btn {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.2s ease;
}

.daily-saying .saying-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 极简模式下隐藏每日一言 */
.app.mode-minimal ~ .daily-saying {
  display: none;
}

/* 右上角按钮容器 */
#header-buttons {
  position: fixed;
  top: 24px;
  left: 25px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: left 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

/* 侧边栏显示时，右上角按钮向右移动（避开侧边栏） */
.sidebar-visible ~ #header-buttons {
  left: 61px;
}

/* 时间、天气和音乐容器 */
#time-container,
#weather-container {
  display: flex;
  align-items: center;
  position: relative;
}

#weather-container {
  margin-left: auto;
}

#news-mini-container,
#music-mini-container {
  display: flex;
  align-items: center;
  position: relative;
}

/* 编辑模式切换按钮 */
.edit-toggle-btn {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.edit-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: scale(1.15);
}

.edit-toggle-btn .icon-eye-off {
  width: 14px;
  height: 14px;
}

.edit-toggle-btn.hidden {
  display: none !important;
}

/* 编辑模式下显示切换按钮 */
.edit-mode .edit-toggle-btn.hidden {
  display: flex !important;
}

/* 每日一言编辑切换按钮 */
.daily-saying .edit-toggle-btn {
  right: -12px;
  top: -12px;
}

/* 迷你音乐widget样式 */
.music-mini {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  min-height: 40px;
  color: #f1f5f9;
}

.music-mini:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.music-mini-cover {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
}

.music-mini-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  max-height: 32px;
  line-height: 1.2;
}

.music-mini-name {
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 移除固定宽度限制，允许自适应 */
  max-width: none;
  /* 添加横向滚动支持 */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* 隐藏滚动条但保留滚动功能 */
.music-mini-name::-webkit-scrollbar {
  display: none;
}

.music-mini-artist {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 移除固定宽度限制，允许自适应 */
  max-width: none;
  /* 添加横向滚动支持 */
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* 隐藏滚动条但保留滚动功能 */
.music-mini-artist::-webkit-scrollbar {
  display: none;
}

.music-mini-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  max-height: 32px;
}

.music-mini-btn {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.music-mini-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.music-mini-btn .icon-play-solid,
.music-mini-btn .icon-pause-solid {
  width: 10px;
  height: 10px;
}

.music-mini-btn.play {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
}

.music-mini-btn.play:hover {
  background: var(--accent-hover);
}

.music-mini-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  max-height: 32px;
}

.music-mini-placeholder svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

/* 新闻容器默认隐藏（通过按钮弹窗显示） */
#news-container {
  display: none;
}

/* 搜索视图下也不显示新闻列表 */
.app.view-search #news-container {
  display: none;
}

/* 书签和应用视图下隐藏新闻 */
.app.view-bookmark #news-container,
.app.view-apps #news-container {
  display: none;
}

/* 搜索视图下始终隐藏主内容（书�?应用�?*/
#app.view-search .main-content {
  display: none !important;
}

/* 显示模式下主区域紧贴侧边栏，内容居中 */
.app.view-search.sidebar-visible .main-wrapper {
  left: 36px;
  right: 0;
  transform: none;
  justify-content: center;
  align-items: stretch;
  padding: 24px 32px 120px;
  gap: 24px;
}

/* 显示模式下主区域内容居中 */
.app.view-search.sidebar-visible #search-container {
  margin: 0 auto;
  max-width: 900px;
  width: calc(100% - 84px);
  min-width: 300px;
}

.app.view-search.sidebar-visible #info-container {
  margin: 0 auto;
  max-width: 900px;
  width: calc(100% - 84px);
  min-width: 300px;
}

/* 书签和应用居�?*/
.app.view-search.sidebar-visible .main-content {
  margin: 0 auto;
  max-width: 900px;
  width: calc(100% - 84px);
  min-width: 300px;
}

/* 搜索视图下默认隐藏音乐按钮，仅显示模式下显示 */
/* 播放器切换按钮始终显�?*/
#player-toggle {
  display: flex;
}

/* 隐藏模式下隐藏播放器展开状态（仅在播放器未被主动展开时） */
.app.view-search:not(.sidebar-visible) ~ #player-container.player-bar:not(.hidden):not(.expanded) {
  display: none !important;
}

/* 显示模式下恢复播放器 */
.app.view-search.sidebar-visible ~ #player-container.player-bar:not(.hidden) {
  display: flex;
}

/* 书签/应用视图 - 左侧栏独立，搜索框居中靠上，内容在下�?*/
/* 非搜索视图下侧栏默认显示 */
.app.view-bookmark .sidebar-nav,
.app.view-apps .sidebar-nav {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.app.view-bookmark:not(.sidebar-visible) .sidebar-nav,
.app.view-apps:not(.sidebar-visible) .sidebar-nav {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

.app.view-bookmark.sidebar-visible .sidebar-nav,
.app.view-apps.sidebar-visible .sidebar-nav {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.app.view-bookmark .main-wrapper,
.app.view-apps .main-wrapper {
  right: 0;
  padding: 24px 32px 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: left 0.3s ease;
  height: 100vh;
}

/* 书签/应用视图侧边栏可见时 */
.app.view-bookmark.sidebar-visible .main-wrapper,
.app.view-apps.sidebar-visible .main-wrapper {
  left: 36px;
}

/* 书签/应用视图侧边栏隐藏时 */
.app.view-bookmark:not(.sidebar-visible) .main-wrapper,
.app.view-apps:not(.sidebar-visible) .main-wrapper {
  left: 0;
}

.app.view-bookmark ~ #player-toggle,
.app.view-apps ~ #player-toggle {
  display: flex;
}

.app.view-bookmark #search-container,
.app.view-apps #search-container,
.app.view-bookmark #info-container,
.app.view-apps #info-container {
  max-width: 900px;
  width: calc(100% - 64px);
  min-width: 300px;
}

.app.view-bookmark .header,
.app.view-apps .header {
  display: none;
}

/* 覆盖 main-content */
.app.view-bookmark .main-content,
.app.view-apps .main-content {
  flex: none;
  max-width: 900px;
  width: calc(100% - 64px);
  min-width: 300px;
}

/* 书签/应用视图 */
.app.view-bookmark #apps-container {
  display: none;
}

.app.view-apps #bookmark-container {
  display: none;
}

/* 顶部 */
.header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0 24px;
  flex-shrink: 0;
  flex-wrap: wrap;
  width: 100%;
}

/* 移动�?Header 适配 */
@media (max-width: 768px) {
  .sidebar-nav {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    height: auto;
    width: 100%;
  }
  
  .sidebar-nav-trigger {
    flex-direction: row;
    justify-content: center;
    padding: 8px 16px;
    height: auto;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95)) !important;
    border-radius: 0 !important;
    gap: 0;
    width: 100%;
  }
  
  #sidebar-nav-trigger {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95)) !important;
  }
  
  .nav-icon-btn {
    flex-direction: row;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 0;
    flex: 1;
  }
  
  .nav-icon-btn .nav-text {
    font-size: 12px;
  }
  
  .nav-icon-btn.active::before {
    top: auto;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    border-radius: 2px;
  }
  
  /* 移动�?.nav-icon-btn.active 渐变方向改为从上到下 */
  .nav-icon-btn.active {
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.1)) !important;
  }
  
  .main-wrapper {
    left: 0 !important;
    right: 0 !important;
    padding: 16px !important;
    padding-bottom: 120px !important;
    justify-content: flex-start !important;
    gap: 16px;
  }
  
  /* 移动端播放栏样式 */
  .player-bar {
    left: 10px !important;
    right: 10px !important;
    bottom: 90px !important;
    z-index: 10001;
  }
  
  .app.view-search .header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    max-width: none;
    justify-content: center;
  }
  
  .header {
    padding: 0 0 8px;
    gap: 10px;
    justify-content: center;
  }
  
  /* 移动端隐藏模式下 logo 和搜索框居中 */
  .app.view-search:not(.sidebar-visible) .header {
    justify-content: center;
  }
  
  .app.view-search:not(.sidebar-visible) #search-container {
    margin: 0 auto;
  }
  
  .logo {
    flex: 0 0 auto;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  /* 搜索框和新闻区域顺序调整 */
  #search-container {
    order: 1;
    width: 100%;
  }
  
  /* 搜索框输入框字体颜色 - 使用 !important 覆盖通用 .input �?*/
  #search-input.search-input {
    color: #fff !important;
    background: transparent !important;
    border: none !important;
  }
  
  /* 确保 input 元素默认样式也被覆盖 */
  input#search-input.search-input {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  
  #info-container {
    order: 2;
    width: 100%;
  }
  
  /* 移动端右上角按钮容器位置调整 */
  #header-buttons {
    position: relative;
    top: auto;
    left: auto;
    justify-content: center;
    margin-bottom: 8px;
  }
  
  /* 移动端新闻单列显示 */
  #news-container {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sidebar-nav {
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
  }
  
  .sidebar-nav-trigger {
    padding: 6px 10px;
    border-radius: 0 !important;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95)) !important;
  }
  
  #sidebar-nav-trigger {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.95)) !important;
  }
  
  .nav-icon-btn {
    padding: 8px 10px;
  }
  
  .main-wrapper {
    left: 0 !important;
    right: 0 !important;
    padding: 12px !important;
    padding-bottom: 100px !important;
  }
  
  .header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    justify-content: center;
  }
  
  .logo {
    justify-content: center;
  }
  
  #search-container {
    order: 1;
    width: 100%;
  }
  
  /* 移动端播放器按钮位置调整 - 避开底部导航栏 */
  .player-toggle {
    bottom: 120px !important;
    right: 16px;
  }
  
  .player-toggle-btn {
    width: 44px;
    height: 44px;
  }
  
  .player-bar {
    left: 10px;
    right: 10px;
    bottom: 90px;
    max-width: none;
    margin: 0 auto;
    width: auto;
    z-index: 10001;
  }
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.lighthouse-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff3c00, #ffc106);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 天气和新闻信息区�?*/
#info-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

#weather-container,
#news-container {
  width: 100%;
}

/* 双击提示 */
#info-container.hint-hidden::after {
  content: '双击任意位置显示天气和新闻';
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-muted);
  z-index: 200;
  animation: fadeInOut 3s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  85% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* 主内�?*/
.main-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.section {
  margin-bottom: 24px;
}

/* 滚动�?*/
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* 通用卡片 */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
}

/* 通用操作按钮（编�?删除/新增�?*/
.action-btn {
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  border-radius: var(--radius-sm) !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none !important;
  color: var(--text-secondary) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  color: #fff !important;
}

.action-btn.edit:hover {
  background: rgba(33, 150, 243, 0.7) !important;
}

.action-btn.delete:hover {
  background: rgba(244, 67, 54, 0.7) !important;
}

/* 新增按钮样式 */
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-add:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* ============================================
   通用操作按钮容器（书�?应用列表的编�?删除按钮组）
   ============================================ */
.item-actions {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* 编辑模式下始终显�?*/
body.edit-mode .item-actions {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   通用卡片样式（书�?应用共用�?
   ============================================ */
.bookmark-grid,
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

/* 书签/应用网格最小高度，确保滚轮始终可触发分类切换，避免切换时分组高度变化导致位置偏�?*/
.bookmark-grid,
.apps-grid {
  min-height: 120px;
}

.bookmark-item,
.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 3%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  align-self: start;
  overflow: hidden;
}

/* 确保 bookmark-item 内的链接居中布局 */
.bookmark-item > a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bookmark-item:hover,
.app-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

.bookmark-icon,
.app-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bookmark-icon-wrap,
.app-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
}

.bookmark-icon-wrap img,
.app-icon-wrap img {
  border-radius: 4px;
}

/* 图标模糊背景效果 */
.bookmark-item:has(.has-blur-bg) .bookmark-icon-wrap::before,
.app-item:has(.has-blur-bg) .app-icon-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -37%);
  background-image: var(--blur-img);
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(1.0);
  opacity: 0.5;
  border-radius: var(--radius-sm);
  z-index: -1;
  transition: filter 0.3s, opacity 0.3s;
}

.bookmark-fallback,
.app-fallback-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

/* 图标加载动画 */
.bookmark-fallback.loading,
.app-fallback-icon.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

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

.bookmark-name,
.app-name {
  font-size: 11px;
  color: rgb(255 255 255 / 80%);
  text-align: center;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   通用按钮体系
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* 强调按钮 - 与主按钮一致，保持兼容 */
.btn-accent {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* 次要按钮 - 用于取消等非主操�?*/
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--border-hover);
  color: var(--text-primary);
  box-shadow: none;
}

.btn-danger {
  background: var(--danger);
  border-color: transparent;
  color: #fff;
}

.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.btn-icon {
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}

/* 通用输入�?*/
.input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* 通用下拉选择框 */
.select-wrapper {
  position: relative;
  display: inline-flex;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 28px 8px 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 80px;
}

.select-wrapper select:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--border-hover);
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* 下拉选项样式 */
.select-wrapper select option {
  background: #0f172a;
  color: var(--text-primary);
  padding: 8px 12px;
}

.select-wrapper select option:hover {
  background: var(--accent-glow);
}

.select-wrapper select option:checked {
  background: var(--accent);
  color: #fff;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--text-secondary);
  pointer-events: none;
  transition: var(--transition);
}

.select-wrapper:hover::after {
  border-top-color: var(--text-primary);
}

.input::placeholder {
  color: var(--text-muted);
}

/* 下拉框样�?*/
select.input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  cursor: pointer;
}

select.input option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px 12px;
}

select.input option:hover,
select.input option:focus {
  background: var(--bg-glass-hover);
}

select.input option:checked {
  background: var(--accent);
  color: white;
}

/* 隐藏 */
.hidden {
  display: none !important;
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

.slide-up {
  animation: slideUp 0.4s ease forwards;
}

/* 右键菜单 */
.context-menu {
  position: fixed;
  z-index: 9999;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 160px;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.15s ease;
}

.context-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  font-size: 13px;
  transition: var(--transition);
}

.context-menu-item:hover {
  background: var(--bg-glass-hover);
  color: var(--accent);
}

.context-menu-item .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.context-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* 通用 Toast 提示 */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  max-width: 360px;
  font-size: 14px;
  color: var(--text-primary);
}

.toast.success {
  border-color: rgba(76, 175, 80, 0.5);
}

.toast.error {
  border-color: rgba(244, 67, 54, 0.5);
}

.toast.info {
  border-color: rgba(33, 150, 243, 0.5);
}

.toast-icon {
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
}

/* 图标按钮 */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

/* ============================================
   通用侧边栏弹窗样�?(关于/天气/设置�?
   ============================================ */
.sidebar-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.4);
}

.sidebar-panel {
  width: 480px;
  max-width: 90vw;
  height: 100%;
  background: rgb(0 0 0 / 15%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-header h2,
.sidebar-header h3 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* 关于弹窗 */
.about-body {
  flex: 1;
  overflow-y: auto;
  text-align: center;
  padding: 20px;
}

.about-modal .changelog-list,
.about-modal .changelog-list *,
.about-modal .changelog-item,
.about-modal .changelog-item ul {
  text-align: left !important;
}

.about-modal .changelog-list ul {
  padding-left: 16px;
  margin: 0;
}

.about-logo {
  width: 64px;
  height: 64px;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-title {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff3c00, #ffc106);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.about-version {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 16px;
}

.about-author {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.about-source {
  margin-bottom: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.about-source .source-label {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 8px;
}

.about-source .source-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.about-source .source-links a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

.about-source .source-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.about-source .source-divider {
  color: var(--text-muted);
}

/* 编辑模式提示 */
.edit-mode-indicator {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  color: var(--accent);
  font-size: 13px;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* ============================================
   通用表单弹窗样式 (新增/编辑�?
   ============================================ */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.15s ease-out;
}

.form-modal-content {
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 440px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.2s ease-out;
}

.form-modal-content h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-modal-content .form-group {
  margin-bottom: 16px;
}

.form-modal-content label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-modal-content .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* 弹窗动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-modal.fade-out {
  animation: fadeOut 0.15s ease-out forwards;
}

/* ============================================
   页面加载进度条
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.page-loader.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
}

.loader-logo {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.2));
  animation: loader-logo-breathe 2s ease-in-out infinite;
}

@keyframes loader-logo-breathe {
  0%, 100% { transform: scale(0.95); opacity: 0.8; }
  50%      { transform: scale(1.05); opacity: 1; }
}

.loader-progress-track {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: loader-bar-shimmer 1.5s linear infinite;
  transition: width 0.3s ease;
}

@keyframes loader-bar-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loader-text {
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.05em;
}



/* 顶部区域 */
.skeleton-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skeleton-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skeleton-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-logo-text {
  width: 100px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.1s;
}

.skeleton-top-right {
  display: flex;
  gap: 16px;
}

.skeleton-time,
.skeleton-weather {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skeleton-time-icon,
.skeleton-weather-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-time-content,
.skeleton-weather-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.skeleton-time-value,
.skeleton-weather-temp {
  width: 50px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.15s;
}

.skeleton-time-date,
.skeleton-weather-location {
  width: 70px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.2s;
}

/* 搜索框 */
.skeleton-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skeleton-search-select {
  width: 50px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-search-input {
  flex: 1;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.15s;
}

.skeleton-search-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

/* 新闻列表 */
.skeleton-news {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.skeleton-news-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.skeleton-news-title {
  flex: 1;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.1s;
}

.skeleton-news-item:nth-child(1) .skeleton-news-title { animation-delay: 0.1s; }
.skeleton-news-item:nth-child(2) .skeleton-news-title { animation-delay: 0.15s; }
.skeleton-news-item:nth-child(3) .skeleton-news-title { animation-delay: 0.2s; }
.skeleton-news-item:nth-child(4) .skeleton-news-title { animation-delay: 0.25s; }
.skeleton-news-item:nth-child(5) .skeleton-news-title { animation-delay: 0.3s; }
.skeleton-news-item:nth-child(6) .skeleton-news-title { animation-delay: 0.35s; }

.skeleton-news-more {
  width: 100px;
  height: 28px;
  margin: 8px auto 0;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.4s;
}

/* 每日一言 */
.skeleton-saying {
  width: 100%;
  max-width: 500px;
  height: 24px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* 音乐按钮 */
.skeleton-music {
  position: fixed;
  right: 30px;
  bottom: 80px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
