/* 自定义工具类 */
@layer utilities {
  .content-auto {
    content-visibility: auto;
  }
  .bookmark-shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .hover-scale {
    transition: transform 0.2s ease;
  }
  .hover-scale:hover {
    transform: scale(1.03);
  }
  .category-item {
    transition: all 0.2s ease;
  }
  .category-item:hover {
    transform: translateY(-2px);
  }
  .search-highlight {
    background-color: #FFF7D6;
    font-weight: bold;
  }
  .favicon-loading {
    animation: spin 1s linear infinite;
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  .search-engine-item {
    transition: all 0.2s ease;
  }
  .search-engine-item:hover {
    transform: translateY(-1px);
  }
}

/* 全局样式补充 */
body {
  font-family: 'Inter', system-ui, sans-serif;
}

/* 标题居中样式 - 移动端完全居中，桌面端左对齐 */
@media (max-width: 640px) {
  .text-center sm:text-left {
    text-align: center !important;
  }
}
