<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* 头部导航样式 */
header {
    background: linear-gradient(to right, #15803d, #2563eb);
    color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 50;
    margin-bottom: 0;
}
@media (min-width: 768px) {
    header {
        margin-bottom: 2em;
    }
}



/* 导航栏布局 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo区域 */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 0.75rem;
}

.logo img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logo h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

/* 导航链接 */
.nav-links {
    display: none;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin: 0 0.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links li a {
    text-decoration: none;
    color: white;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    position: relative;
    transition: all 0.3s;
    display: block;
    font-size: 0.95rem;
}

.nav-links li:first-child a {
    font-weight: bold;
}

.nav-links li a:hover {
    color: #fde047;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 导航链接下划线动画 */
.nav-links li a span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fde047;
    transition: width 0.3s;
}

.nav-links li a:hover span {
    width: 100%;
}

/* 语言下拉菜单 */
.language-dropdown {
    position: relative;
    padding: 0.5rem 0;
}

.language-button {
    display: flex;
    align-items: center;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.dropdown-arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 0.5rem);
    right: 0;
    background-color: #1f2937;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    padding: 0.5rem 0;
}

.language-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 移动端汉堡菜单 */
.burger {
    display: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .burger {
        display: block;
    }
}

.burger div {
    background-color: white;
    height: 2px;
    width: 1.5rem;
    margin: 0.25rem 0;
    transition: all 0.3s;
}

/* 移动端导航菜单 */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, #15803d, #2563eb);
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav ul li {
    margin: 2rem 0;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.mobile-nav ul li a:hover {
    color: #fde047;
}

/* 搜索框样式 */
.search-box {
    margin: 0 1rem;
    flex: 1;
    max-width: 300px;
}

.search-box form {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.search-box form:focus-within {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    outline: none;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box button {
    background: none;
    border: none;
    padding: 0.25rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .search-box {
        display: none;
    }
}

/* 中等屏幕尺寸的特殊处理 */
@media (min-width: 768px) and (max-width: 1300px) {
    .nav-links {
        display: flex;
    }
    
    .nav-links li {
        margin: 0 0.25rem;
    }
    
    .nav-links li a {
        padding: 0.4rem 0.4rem;
        font-size: 0.9rem;
    }
    
    .logo h2 {
        font-size: 1.75rem;
    }
    
    .search-box {
        margin: 0 0.75rem;
        max-width: 250px;
    }
    
    .language-button {
        padding: 0.5rem 0.75rem;
    }
}

/* 较小的中等屏幕尺寸处理 */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo h2 {
        font-size: 1.5rem; /* 进一步减小logo文字 */
    }
    
    .nav-links li {
        margin: 0 0.15rem; /* 进一步减小间距 */
    }
    
    .nav-links li a {
        padding: 0.3rem 0.3rem; /* 减小padding */
        font-size: 0.85rem; /* 减小字体 */
    }
    
    .search-box {
        margin: 0 0.5rem; /* 减小搜索框边距 */
        max-width: 200px; /* 减小搜索框宽度 */
    }
    
    .search-box input {
        font-size: 0.9rem; /* 减小搜索框字体 */
    }
    
    .language-button {
        padding: 0.3rem 0.5rem; /* 减小语言按钮padding */
        font-size: 0.9rem; /* 减小语言按钮字体 */
    }
    
    .dropdown-arrow {
        width: 1rem; /* 减小下拉箭头大小 */
        height: 1rem;
    }
}

/* 小屏幕的样式保持不变 */
@media (max-width: 767px) {
    .burger {
        display: block;
    }
}

/* 确保在桌面端隐藏移动搜索按钮 */
.mobile-search-toggle {
    display: none;
}
</pre></body></html>