/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 设置根元素字体大小，便于使用 rem 单位 */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* 基础样式设置 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #f5f5f7;
    padding-top: 4.5rem;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

/* 容器类 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    gap: 2rem;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 侧边栏样式 */
.skeleton-container, .sidebar {
    width: 220px;
    position: fixed;
    top: 5rem;
    /* height: calc(100vh - 5rem - 250px); */
    flex-shrink: 0;
    padding-top: 1.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    -ms-overflow-style: none;
    padding-bottom: 1.25rem;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

/* 骨架屏 */
.skeleton-container {
    background-color: #fff;
    top: 7rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.sidebar-skeleton {
    top: 7rem;
}

.nav-item-skeleton {
    width: 90%;
    height: 40px;
    background: #e9e9e9;
    border-radius: 0.5rem;
    margin: 0 auto 0.4rem;
    position: relative;
    overflow: hidden;
}

.nav-item-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

/* 分类导航基础样式 */
.category-nav {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.category-nav ul {
    list-style: none;
    padding: 0.375rem;
}

.category-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.875rem;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border-radius: 0.625rem;
    margin: 0.1875rem 0;
    position: relative;
    min-width: 0;
}

.category-nav .nav-item::before {
    content: var(--category-icon);
    margin-right: 0.625rem;
    font-size: 1.125rem;
    line-height: 1;
    opacity: 0.8;
    flex-shrink: 0;
}

/* 导航项文字部分 */
.nav-item-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0.625rem;
}

.category-nav .nav-item .count {
    position: static;
    font-size: 0.8125rem;
    color: #86868b;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.1875rem 0.5rem;
    border-radius: 0.875rem;
    min-width: 1.375rem;
    text-align: center;
    flex-shrink: 0;
    margin-left: auto;
}

.category-nav .nav-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #0066cc;
    transform: translateX(4px);
}

.category-nav .nav-item.active {
    background-color: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    font-weight: 500;
}

.category-nav .nav-item.active .count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 主要内容区域 */
.main-content, .main-content-skeleton {
    flex: 1;
    padding: 2rem 0;
    min-width: 0; /* 防止内容溢出 */
    margin-left: 240px; /* 留出侧边栏的空间 */
}

/* 分类标题 */
.category-section, .category-section-skeleton {
    margin-bottom: 3rem;
    scroll-margin-top: 5rem; /* 为锚点定位预留空间 */
}

.category-title, .category-title-skeleton {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-icon, .title-icon-skeleton {
    font-size: 1.5rem;
    line-height: 1;
}

/* 工具卡片网格 */
.tools-grid, .tools-grid-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* 工具卡片骨架屏 */
.tool-card-skeleton{
    background-color: #e9e9e9;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    display: flex;
}

.tool-card-skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 1.5s infinite;
}

/* 工具卡片 */
.tool-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    display: flex;
}

.tool-card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 1rem;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.tool-image {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #e5e5e7 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.tool-image img[src=""], 
.tool-image img:not([src]),
.tool-image img[src="assets/images/default.png"] {
    opacity: 0;
}

.tool-image::after {
    content: "AI";
    position: absolute;
    font-size: 1rem;
    font-weight: 600;
    color: #86868b;
    opacity: 0.5;
}

.tool-info {
    flex: 1;
    min-width: 0;
}

.tool-name {
    font-size: 1rem;
    font-weight: 500;
    color: #1d1d1f;
    margin: 0 0 0.25rem 0;
}

.tool-brief {
    font-size: 0.875rem;
    color: #86868b;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    word-break: break-all;
}

.tool-hover-description {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 0.5rem;
    white-space: normal;
    animation: fadeIn 0.2s ease;
}

.tool-hover-description p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #1d1d1f;
}

.tool-card:hover .tool-hover-description {
    display: block;
}

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

/* 语言切换按钮 */
.language-switch {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background-color: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.lang-icon {
    font-size: 1.25rem;
}

/* 页脚样式 */
.footer {
    background-color: #fff;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-info {
    flex: 1;
}

.footer-info p {
    margin: 0 0 1rem;
    color: #1d1d1f;
    font-size: 1rem;
}

.footer-info .copyright {
    color: #86868b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-info .author {
    color: #86868b;
    font-size: 0.875rem;
    margin: 0;
}

.footer-info .author span {
    color: #0066cc;
    font-weight: 500;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin: 0 0 0.75rem;
    color: #1d1d1f;
    font-size: 1rem;
    font-weight: 500;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 2rem;
    transition: all 0.2s ease;
}

.contact-email:hover {
    background: rgba(0, 102, 204, 0.15);
    color: #0066cc;
    transform: translateY(-1px);
}

/* 响应式设计 */
@media screen and (max-width: 1280px) {
    .skeleton-container, .sidebar {
        width: 200px;
    }
    
    .category-nav {
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0.875rem;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .category-nav ul {
        padding: 0.5rem;
    }

    .category-nav .nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .category-nav .nav-item::before {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    .category-nav .nav-item .count {
        padding: 0.1875rem 0.5rem;
        font-size: 0.8125rem;
    }

    .main-content {
        margin-left: 220px;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 4.5rem;
    }

    .header-content {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .logo {
        width: 100%;
        text-align: center;
        order: 1;
        margin: 0;
    }

    .logo h1 {
        font-size: 1.25rem;
        margin: 0;
    }

    .search-box {
        width: 80%;
        margin: 0 auto;
        order: 3;
    }

    .language-switch {
        position: absolute;
        top: 0.75rem;
        right: 1rem;
        margin: 0;
        order: 2;
        z-index: 101;
    }

    .lang-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9375rem;
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 0.5rem;
        color: #1d1d1f;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .lang-btn:hover {
        background-color: rgba(0, 0, 0, 0.08);
    }

    .lang-icon {
        font-size: 1.25rem;
    }

    .main-content, .main-content-skeleton {
        margin-left: 0;
        margin-top: 8.5rem;
        padding: 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .skeleton-container, .sidebar {
        top: 7rem!important;
        padding: 0.5rem 0;
        height: auto;
        display: block;
    }

    .footer {
        padding: 2rem 1rem;
        margin-top: 3rem;
        background-color: #fff;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0;
        max-width: 100%;
    }

    .footer-info {
        width: 100%;
    }

    .footer-info p {
        margin: 0 0 1rem;
        font-size: 0.9375rem;
    }

    .footer-info .copyright {
        font-size: 0.8125rem;
        opacity: 0.8;
        margin-bottom: 0.5rem;
    }

    .footer-info .author {
        font-size: 0.8125rem;
        opacity: 0.8;
        margin: 0;
    }

    .footer-info .author span {
        color: #0066cc;
        opacity: 1;
    }

    .footer-contact {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-contact p {
        margin: 0;
        font-size: 1rem;
    }

    .contact-email {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        font-size: 0.9375rem;
    }

    .contact-email:hover {
        transform: none;
        background: rgba(0, 102, 204, 0.15);
    }

    .contact-email .email-icon {
        font-size: 1.125rem;
    }

    .category-nav .nav-item {
        padding: 0.375rem 0.75rem;
        min-width: auto;
    }

    .category-nav .nav-item::before {
        margin-right: 0.375rem;
        font-size: 0.875rem;
    }

    .category-nav .nav-item .count {
        padding: 0.125rem 0.25rem;
        font-size: 0.6875rem;
        margin-left: 0.375rem;
    }

    .category-nav .nav-item.active .count {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .category-title {
        font-size: 1.25rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .search-results {
        position: fixed;
        top: 9rem;
        left: 1rem;
        right: 1rem;
        max-height: calc(100vh - 10rem);
    }

    .tool-card {
        width: 100%;
    }

    .tool-card:hover {
        transform: none;
    }

    .tool-card a {
        align-items: center;
    }

    .tool-card .tool-hover-description {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 2rem);
        max-width: 400px;
        margin: 0;
        z-index: 2000;
    }
}

/* 超小屏幕样式 */
@media screen and (max-width: 680px) {
    .header-content {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .logo {
        width: 100%;
        text-align: center;
        order: 1;
    }

    .logo h1 {
        font-size: 1.25rem;
        margin: 0;
    }

    .search-box {
        width: 80%;
        margin: 0 auto;
        order: 3;
    }

    .main-content, .main-content-skeleton {
        margin-top: 8.5rem;
    }

    .skeleton-container, .sidebar {
        top: 7rem!important;
    }
}

/* 工具卡片高亮动画 */
@keyframes highlight-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(0, 102, 204, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0);
    }
}

.tool-card.highlight {
    animation: highlight-pulse 2s ease-out;
    border-color: #0066cc;
}

/* 搜索结果滚动条样式 */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 800px;
    margin: 0 2rem;
}

.search-box::before {
    content: "🔍";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #86868b;
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    border: none;
    border-radius: 0.75rem;
    background-color: rgba(0, 0, 0, 0.05);
    font-size: 0.9375rem;
    color: #1d1d1f;
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    background-color: rgba(0, 0, 0, 0.08);
}

/* 搜索结果样式 */
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.search-result-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.search-result-item .tool-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-item .tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-item .tool-info {
    flex: 1;
    min-width: 0;
}

.search-result-item h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    color: #1d1d1f;
}

.search-result-item p {
    margin: 0;
    font-size: 0.8125rem;
    color: #86868b;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.search-result-item .category-tag {
    font-size: 0.75rem;
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    margin-left: 1rem;
    white-space: nowrap;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top::before {
    content: "↑";
    font-size: 1.25rem;
    color: #1d1d1f;
}

/* 响应式设计 - 小屏幕样式 */
@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .skeleton-container, .sidebar {
        width: 100%;
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        height: auto;
        padding: 0.5rem 0;
        z-index: 90;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .category-nav {
        background: none;
        border: none;
        margin: 0;
        padding: 0 1rem;
        width: 100%;
        max-width: 100vw;
    }

    .category-nav ul {
        display: flex;
        padding: 0.5rem;
        margin: 0;
        gap: 0.75rem;
        flex-wrap: nowrap;
        width: max-content;
        min-width: min-content;
    }

    .category-nav .nav-item {
        flex: 0 0 auto;
        padding: 0.5rem 2.5rem 0.5rem 1rem;
        margin: 0;
        font-size: 0.875rem;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 2rem;
        white-space: nowrap;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        min-width: auto;
    }

    .category-nav .nav-item .count {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 1rem;
        min-width: 1.5rem;
        text-align: center;
        color: #1d1d1f;
        margin-left: 0.5rem;
    }

    .category-nav .nav-item.active .count {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

    .category-nav .nav-item::before {
        margin-right: 0.5rem;
        font-size: 1.125rem;
    }

    .skeleton-container{
        width: 100vw;
        top: 4.7rem;
        border-radius: 0;
        overflow-x: auto; /* 强制横向滚动 */
        -webkit-overflow-scrolling: touch; /* 移动端顺滑滚动 */
        white-space: nowrap; /* 防止内部元素换行（备用） */
    }
    .sidebar-skeleton{
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
    }
    /* 骨架屏 */
    .sidebar-skeleton .nav-item-skeleton{
        flex: 0 0 18%;
        margin-right: .5rem;
        border-radius: 2rem;
    }
    .sidebar-skeleton .nav-item-skeleton:first-child{
        margin-left: 1rem;
    }



    .main-content, .main-content-skeleton {
        margin-left: 0;
        margin-top: 7rem;
        padding: 1rem;
        width: 100%;
        overflow-x: hidden;
    }

    .tools-grid {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

/* 修复移动端工具卡片样式 */
@media screen and (max-width: 768px) {
    .tool-card {
        width: 100%;
    }

    .tool-card:hover {
        transform: none;
    }

    .header-content {
        padding: 0.75rem 1rem;
        width: 100%;
        max-width: 100%;
    }

    .search-box {
        width: 100%;
        margin: 0;
    }

    .search-box input {
        width: 100%;
        max-width: 100%;
    }
} 



/* 骨架屏动画 */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}



