* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }

/* 基础可访问性优化 */
html {
  scroll-behavior: smooth;
}

body { 
  background-color: #f5f7fa; 
  color: #333; 
  line-height: 1.6; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 焦点样式优化 */
*:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

/* 跳过链接（可访问性） */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #4a90e2;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }
  
  .news-item:hover {
    transform: none;
  }
  
  .nav-tab:hover {
    color: inherit;
  }
  
  .nav-tab.active:hover {
    color: #ff2e63;
  }
}

.main-wrapper { display: flex; max-width: 1200px; margin: 20px auto; background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); overflow: hidden; }
.sidebar { width: 280px; background-color: #fff; padding-top: 90px !important; padding: 50px 25px 25px 25px; border-right: 1px solid #eaeaea; flex-shrink: 0; }
.main-content { flex-grow: 1; padding: 25px; }

.page-title-section {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
}

.main-page-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.main-page-title i {
  color: #ff2e63;
}

.main-page-subtitle {
  font-size: 1.1rem;
  color: #666;
}

.statistics-section, .tag-management-section, .ai-section, .classification-section {
  margin-top: 40px !important;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.statistics-section:last-child, .tag-management-section:last-child, .ai-section:last-child, .classification-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

h2.section-title { font-size: 1.2rem; color: #333; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.stats-grid {
  display: flex !important;
  flex-direction: row;
  gap: 12px;
  justify-content: space-between;
  align-items: stretch;
}
.stat-item {
  flex: 1 1 0;
  min-width: 0;
}
.stat-value { font-size: 1.5rem; font-weight: bold; color: #ff2e63; }
.stat-label { font-size: 0.9rem; color: #666; }

.tag-list li { list-style: none; margin-bottom: 10px; font-size: 1rem; color: #555; }
.tag-list li i { margin-right: 8px; color: #ff2e63; }

.main-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eaeaea; }
.nav-tabs { display: flex; gap: 25px; }
.nav-tab { font-size: 1.1rem; color: #888; text-decoration: none; padding-bottom: 8px; position: relative; transition: color 0.3s; }
.nav-tab.active { color: #ff2e63; font-weight: bold; }
.nav-tab.active::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background-color: #ff2e63; border-radius: 2px; }
.search-bar { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 20px; padding: 8px 15px; background: #f9f9f9; }
.search-bar input { border: none; outline: none; background: transparent; font-size: 1rem; width: 200px; }
.search-bar i { color: #888; margin-left: 10px; }

.news-list { display: grid; gap: 20px; }
.news-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
}
.news-item:hover {
  transform: translateY(-5px);
}
.news-content {
  padding: 20px;
}
.news-title {
  font-size: 1.4rem;
  color: #2a2a2a;
  margin-bottom: 10px;
}
.news-summary {
  color: #666;
  margin-bottom: 15px;
  font-size: 1rem;
}
.news-note {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 10px;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.news-note i {
  color: #f39c12;
  margin-top: 2px;
  flex-shrink: 0;
}
.note-content {
  color: #856404;
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
}
.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #888;
  font-size: 0.9rem;
}
.news-date, .news-tags {
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-date i, .news-tags i {
  font-size: 1rem;
}
.news-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.btn i {
  font-size: 14px;
}
.btn-primary {
  background-color: #4a90e2;
  color: white;
}
.btn-primary:hover {
  background-color: #357abd;
}
.btn-secondary {
  background-color: #6c757d;
  color: white;
  text-decoration: none;
}
.btn-secondary:hover {
  background-color: #5a6268;
}
.btn-generate {
  background-color: #ff2e63;
  color: white;
}
.btn-generate:hover {
  background-color: #ff1a4f;
}
.btn-saved {
  background-color: #4CAF50;
  color: white;
}
.btn-saved:hover {
  background-color: #45a049;
}
.btn-warning {
  background-color: #ffc107;
  color: #212529;
}
.btn-warning:hover {
  background-color: #e0a800;
}
.btn-info {
  background-color: #17a2b8;
  color: white;
}
.btn-info:hover {
  background-color: #138496;
}
.btn-success {
  background-color: #28a745;
  color: white;
}
.btn-success:hover {
  background-color: #218838;
}
.btn-success:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}
.btn-danger {
  background-color: #dc3545;
  color: white;
}
.btn-danger:hover {
  background-color: #c82333;
}
.loader {
  display: none; border: 4px solid #f3f3f3; border-top: 4px solid #ff2e63;
  border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.post-result { 
  display: none; background: #fff8f9; border: 1px solid #ffe0e6;
  border-radius: 12px; padding: 20px; margin-top: 20px; white-space: pre-line;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.post-content {
  white-space: pre-line;
  line-height: 1.8;
  color: #444;
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal.show {
  display: flex;
}
.modal-content {
  position: relative;
  background-color: #fff;
  padding: 0;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-header {
  position: sticky;
  top: 0;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  z-index: 1;
}
.modal-header h2 {
  margin: 0;
  color: #333;
  font-size: 1.5em;
}
.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.close-btn:hover {
  color: #333;
  background-color: #f5f5f5;
}
.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  background: #fff;
}
.modal-footer {
  position: sticky;
  bottom: 0;
  background-color: #fff;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  text-align: right;
  z-index: 1;
}
.post-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  line-height: 1.4;
}
.post-content {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #666;
  padding: 15px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #eee;
  word-break: break-word;
}
.xhs-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 新增标签管理样式 */
.tag-controls {
  margin-bottom: 15px;
}

.tag-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.tag-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.setting-link {
  font-size: 0.9em;
  color: #4a90e2;
  text-decoration: none;
}

.action-link {
  color: #4a90e2;
  text-decoration: none;
  margin-left: 5px;
}

.action-link:hover {
  text-decoration: underline;
}

.action-delete {
  color: #ff2e63;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 8px;
}
.pagination-link {
  color: #4a90e2;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  border: 1px solid #ddd;
}
.pagination-link:hover {
  background-color: #f0f5fd;
  text-decoration: none;
}
.pagination-link.active {
  background-color: #4a90e2;
  color: white;
  border-color: #4a90e2;
}
.pagination-link.disabled {
  color: #aaa;
  pointer-events: none;
  border-color: #eee;
}
.pagination-ellipsis {
  padding: 8px 12px;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .main-wrapper {
    max-width: 95%;
    margin: 15px auto;
  }
  
  .sidebar {
    width: 250px;
    padding: 20px;
  }
  
  .main-content {
    padding: 20px;
  }
}

@media (max-width: 992px) {
  .main-wrapper {
    flex-direction: column;
    max-width: 100%;
    margin: 10px;
    border-radius: 8px;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eaeaea;
    padding: 20px;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .main-page-title {
    font-size: 2rem;
    gap: 10px;
  }
  
  .main-page-subtitle {
    font-size: 1rem;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .nav-tab {
    font-size: 1rem;
  }
  
  .news-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .news-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .news-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .main-wrapper {
    margin: 5px;
    border-radius: 6px;
    min-height: calc(var(--vh, 1vh) * 100);
  }
  
  .sidebar {
    padding: 15px;
  }
  
  .main-content {
    padding: 15px;
  }
  
  .main-page-title {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 8px;
  }
  
  .main-page-subtitle {
    font-size: 0.9rem;
  }
  
  .stats-grid {
    flex-direction: column !important;
    gap: 10px;
  }
  
  .stat-value {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .nav-tabs {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .nav-tab {
    font-size: 0.9rem;
    padding: 8px 0;
  }
  
  .add-custom-news {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
  
  .news-content {
    padding: 15px;
  }
  
  .news-title {
    font-size: 1.2rem;
  }
  
  .news-summary {
    font-size: 0.9rem;
  }
  
  .news-footer {
    padding: 15px;
  }
  
  .news-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
    min-height: 44px; /* 触摸友好的最小高度 */
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 80vh;
    padding: 15px;
  }
  
  .modal-title {
    font-size: 1.2em;
  }
  
  .gzh-content {
    font-size: 14px;
  }
  
  .gzh-content h1 {
    font-size: 20px;
  }
  
  .gzh-content img {
    margin: 10px auto;
  }
  
  .image-container {
    margin: 10px auto;
  }
  
  /* 移动端触摸优化 */
  .btn, .nav-tab, .close-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .news-title-link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  /* 移动端滚动优化 */
  .modal-body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* 移动端输入框优化 */
  .tag-input, .form-control {
    font-size: 16px; /* 防止iOS缩放 */
    -webkit-appearance: none;
    border-radius: 4px;
  }
  
  /* 移动端模态框优化 */
  .modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    max-height: calc(var(--vh, 1vh) * 80);
    overflow-y: auto;
  }
  
  /* 优化图片加载 */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* 优化字体加载 */
  body {
    font-display: swap;
  }
  
  /* 优化动画性能 */
  .news-item {
    will-change: transform;
  }
  
  .btn {
    will-change: transform;
  }
  
  /* 优化滚动性能 */
  .news-list {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* 优化模态框性能 */
  .modal {
    will-change: opacity;
  }
  
  .modal-content {
    will-change: transform;
  }
}

@media (max-width: 576px) {
  .main-wrapper {
    margin: 0;
    border-radius: 0;
  }
  
  .sidebar {
    padding: 10px;
  }
  
  .main-content {
    padding: 10px;
  }
  
  .main-page-title {
    font-size: 1.5rem;
  }
  
  .main-page-subtitle {
    font-size: 0.8rem;
  }
  
  .stats-grid {
    flex-direction: column !important;
    gap: 8px;
  }
  
  .stat-item {
    padding: 8px;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .nav-tabs {
    gap: 8px;
  }
  
  .nav-tab {
    font-size: 0.85rem;
    padding: 6px 0;
  }
  
  .news-content {
    padding: 12px;
  }
  
  .news-title {
    font-size: 1.1rem;
  }
  
  .news-summary {
    font-size: 0.85rem;
  }
  
  .news-note {
    padding: 8px;
    font-size: 0.8rem;
  }
  
  .news-footer {
    padding: 12px;
  }
  
  .news-meta {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 40px;
  }
  
  .modal-content {
    width: 98%;
    margin: 5% auto;
    padding: 10px;
  }
  
  .modal-header h2 {
    font-size: 1.1em;
  }
  
  .form-control {
    font-size: 13px;
    padding: 6px;
  }
  
  .pagination {
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .pagination-link {
    padding: 6px 10px;
    font-size: 12px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* 小屏幕设备优化 */
  .tag-controls {
    flex-direction: column;
    gap: 8px;
  }
  
  .tag-input {
    width: 100%;
  }
  
  .tag-controls .btn {
    width: 100%;
  }
  
  /* 超小屏幕优化 */
  .news-actions .btn {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .news-title-link {
    word-break: break-word;
    hyphens: auto;
  }
  
  .news-summary {
    word-break: break-word;
  }
}

/* 横屏模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
  .main-wrapper {
    margin: 5px auto;
  }
  
  .sidebar {
    padding: 10px;
  }
  
  .main-content {
    padding: 10px;
  }
  
  .main-page-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }
  
  .main-page-subtitle {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .page-title-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .main-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  
  .news-content {
    padding: 12px;
  }
  
  .news-footer {
    padding: 10px 12px;
  }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1400px) {
  .main-wrapper {
    max-width: 1400px;
  }
  
  .sidebar {
    width: 320px;
    padding: 30px;
  }
  
  .main-content {
    padding: 30px;
  }
  
  .main-page-title {
    font-size: 3rem;
  }
  
  .main-page-subtitle {
    font-size: 1.2rem;
  }
  
  .news-title {
    font-size: 1.6rem;
  }
  
  .news-summary {
    font-size: 1.1rem;
  }
}

/* 打印样式 */
@media print {
  .main-wrapper {
    box-shadow: none;
    border: 1px solid #ccc;
    max-width: none;
    margin: 0;
  }
  
  .sidebar {
    display: none;
  }
  
  .main-content {
    padding: 0;
    margin-left: 0;
  }
  
  .news-actions {
    display: none;
  }
  
  .modal-overlay,
  .modal {
    display: none !important;
  }
  
  .nav-tabs {
    display: none;
  }
  
  .page-title-section {
    border-bottom: 2px solid #000;
  }
  
  .news-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 15px;
  }
  
  .news-title {
    color: #000;
    font-size: 16px;
  }
  
  .news-summary {
    color: #333;
  }
  
  .news-meta {
    color: #666;
    font-size: 12px;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1a1a1a;
    color: #e0e0e0;
  }
  
  .main-wrapper {
    background: #2d2d2d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  .sidebar {
    background-color: #2d2d2d;
    border-right-color: #404040;
  }
  
  .news-item {
    background: #3d3d3d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  .news-footer {
    background: #353535;
    border-top-color: #404040;
  }
  
  .news-title {
    color: #f0f0f0;
  }
  
  .news-summary {
    color: #b0b0b0;
  }
  
  .news-meta {
    color: #a0a0a0;
  }
  
  .modal-content {
    background-color: #2d2d2d;
    border-color: #404040;
  }
  
  .modal-header {
    border-bottom-color: #404040;
  }
  
  .form-control {
    background-color: #3d3d3d;
    border-color: #404040;
    color: #e0e0e0;
  }
  
  .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.3);
  }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .news-item:hover {
    transform: none;
  }
  
  .btn {
    transition: none;
  }
  
  .nav-tab {
    transition: none;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }
  
  .news-item {
    border: 2px solid #333;
  }
  
  .modal-content {
    border: 3px solid #333;
  }
  
  .nav-tab.active::after {
    height: 4px;
  }
}

/* 无障碍优化 - 屏幕阅读器 */
@media screen and (prefers-reduced-motion: no-preference) {
  .news-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
  }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .news-item {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .btn {
    border-width: 0.5px;
  }
}

/* 超宽屏幕优化 */
@media (min-width: 1600px) {
  .main-wrapper {
    max-width: 1600px;
  }
  
  .sidebar {
    width: 350px;
    padding: 35px;
  }
  
  .main-content {
    padding: 35px;
  }
  
  .main-page-title {
    font-size: 3.5rem;
  }
  
  .main-page-subtitle {
    font-size: 1.3rem;
  }
  
  .news-title {
    font-size: 1.8rem;
  }
  
  .news-summary {
    font-size: 1.2rem;
  }
  
  .btn {
    font-size: 16px;
    padding: 12px 20px;
  }
}

/* 渐进增强 - 支持现代浏览器特性 */
@supports (display: grid) {
  .stats-grid {
    display: grid;
  }
}

@supports (display: flex) {
  .main-wrapper {
    display: flex;
  }
  
  .news-footer {
    display: flex;
  }
}

/* 不支持Flexbox的浏览器回退 */
@supports not (display: flex) {
  .main-wrapper {
    display: block;
  }
  
  .sidebar {
    float: left;
    width: 280px;
  }
  
  .main-content {
    margin-left: 280px;
  }
  
  .news-footer {
    display: block;
  }
  
  .news-meta,
  .news-actions {
    display: block;
    margin-bottom: 10px;
  }
}

@media (min-width: 992px) {
  html, body {
    font-size: 15px;
  }
  .main-page-title {
    font-size: 2.2rem;
  }
  .main-page-subtitle {
    font-size: 1.08rem;
  }
  .sidebar {
    padding: 20px;
    width: 230px;
  }
  .main-content {
    padding: 20px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-value {
    font-size: 1.18rem;
  }
  .stat-label {
    font-size: 0.95rem;
  }
  .news-list {
    gap: 14px;
  }
  .news-item {
    border-radius: 9px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }
  .news-content {
    padding: 16px 16px 12px 16px;
  }
  .news-title {
    font-size: 1.18rem;
    margin-bottom: 7px;
  }
  .news-summary {
    font-size: 1.02rem;
    margin-bottom: 12px;
  }
  .news-note {
    font-size: 0.95rem;
    padding: 8px;
    margin-top: 8px;
  }
  .news-footer {
    padding: 12px 16px;
  }
  .news-meta {
    font-size: 0.95rem;
    gap: 10px;
  }
  .news-tags {
    font-size: 0.95rem;
  }
  .btn {
    font-size: 14px;
    padding: 7px 14px;
    min-height: 34px;
  }
  .pagination-link {
    font-size: 14px;
    padding: 7px 12px;
  }
  .tag-list li {
    font-size: 1.02rem;
  }
  .tag-input {
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* 统计区横向排列 */
.sidebar .stats-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: space-between;
  align-items: stretch;
}
.sidebar .stat-item {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 600px) {
  .sidebar .stats-grid {
    flex-direction: column !important;
    gap: 10px;
  }
} 