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

/* 全局移除所有可能导致边框的元素 */
fieldset,
fieldset *,
legend,
button,
button *,
nav,
nav * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

fieldset {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
}

fieldset.search-tabs {
    margin: 0 0 20px 0 !important;
}

legend {
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f3f5f7;
    color: #323232;
    line-height: 1.6;
    min-height: 100vh;
}

/* 视觉隐藏类 - 对屏幕阅读器可见但对视觉用户隐藏 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 跳过导航链接 (用于屏幕阅读器) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* 表单元素样式 */
input[type="search"],
input[type="text"],
select {
    outline: none;
    border: 1px solid #ccc;
}

input[type="search"]:focus,
input[type="text"]:focus,
select:focus {
    border-color: #417ff9;
    box-shadow: 0 0 0 2px rgba(65, 127, 249, 0.2);
}

/* 顶部导航栏 */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #417ff9;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: #417ff9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    transition: all 0.3s;
}

.logo:hover .logo-icon {
    background: #286ef8;
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #3c3c3c;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
    font-weight: 500;
}

.nav-links a:hover {
    color: #417ff9;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #417ff9;
    transition: width 0.3s;
}

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

/* 下拉菜单样式 */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
    display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow,
.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -10px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 10px;
    min-width: 160px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e9ecef;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown .dropdown-toggle[aria-expanded="true"] ~ .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #3c3c3c;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-bottom: none;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: #f3f5f7;
    color: #417ff9;
    padding-left: 24px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-login {
    background: transparent;
    color: #417ff9;
    border: 1.5px solid #417ff9;
}

.btn-login:hover {
    background: #417ff9;
    color: #fff;
}

.btn-register {
    background: #417ff9;
    color: #fff;
}

.btn-register:hover {
    background: #286ef8;
}

/* 主横幅区域 */
.hero-section {
    background: linear-gradient(135deg, #4a89f0 0%, #7bb3f4 100%);
    color: #fff;
    padding: 60px 20px 0;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 50px 15px 0;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px 0;
        min-height: 380px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 10px 70px;
        min-height: 350px;
    }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 57px;
    z-index: 1;
    background-image: 
        url('https://image.uisdc.com/wp-content/uploads/hao.uisdc.com/banner-left-3.png'),
        url('https://image.uisdc.com/wp-content/uploads/hao.uisdc.com/banner-right-3.png');
    background-position: 
        left center,
        right center;
    background-repeat: 
        no-repeat,
        no-repeat;
    background-size: 
        auto,
        auto;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .hero-section::after {
        background-size: 
            auto 60%,
            auto 60%;
        opacity: 0.7;
        bottom: 57px;
    }
}

@media (max-width: 768px) {
    .hero-section::after {
        background-size: 
            auto 50%,
            auto 50%;
        opacity: 0.5;
        bottom: 50px;
    }
}

@media (max-width: 480px) {
    .hero-section::after {
        background-image: none;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 40px 60px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-content {
        padding: 30px 40px 50px;
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 20px 20px 40px;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 15px 15px 20px;
        min-height: 280px;
    }
}


.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    line-height: 1.2;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
        margin-bottom: 35px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
        margin-bottom: 30px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
        margin-bottom: 25px;
        letter-spacing: -0.3px;
    }
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 45px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* 搜索区域 */
.search-section {
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-top: 10px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .search-section {
        padding: 0 15px;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .search-section {
        padding: 0 10px;
        margin-top: 0;
    }
}

.search-tabs {
    display: inline-flex;
    gap: 1px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border: none;
    padding: 4px;
    margin: 0 0 20px 0;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    overflow: visible;
    width: auto;
    max-width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .search-tabs {
        margin-bottom: 15px;
        padding: 3px;
        gap: 0;
    }
}

@media (max-width: 500px) {
    .search-tabs {
        width: 100%;
        max-width: 100%;
        margin-bottom: 12px;
        padding: 3px;
        gap: 0;
        border-radius: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .search-tabs::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-tabs {
        margin-bottom: 12px;
    }
}

fieldset.search-tabs {
    margin: 0 0 20px 0 !important;
}

.search-tab {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .search-tab {
        padding: 7px 14px;
        font-size: 13px;
    }
}

@media (max-width: 500px) {
    .search-tab {
        padding: 6px 10px;
        font-size: 12px;
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .search-tab {
        padding: 5px 8px;
        font-size: 11px;
    }
}

.search-tab.active {
    background: #ffffff;
    color: #417ff9;
    border-radius: 16px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
}

.search-tab.active:hover {
    background: #ffffff;
    color: #417ff9;
}

.search-tab:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

.search-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    width: 650px;
    max-width: 100%;
    align-items: stretch;
}

@media (max-width: 768px) {
    .search-input-group {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        border-radius: 8px;
    }
}

@media (max-width: 500px) {
    .search-input-group {
        flex-wrap: nowrap;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .search-input-group {
        flex-wrap: nowrap;
        border-radius: 8px;
    }
}

.search-select {
    padding: 13px 16px;
    padding-right: 40px;
    border: none;
    border-right: none;
    border-radius: 0;
    font-size: 15px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    color: #323232;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238c8c8c' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    flex-shrink: 0;
    min-width: 100px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .search-select {
        padding: 12px 14px;
        padding-right: 35px;
        font-size: 14px;
        min-width: 90px;
        border-right: 1px solid #e0e0e0;
    }
}

@media (max-width: 500px) {
    .search-select {
        padding: 11px 12px;
        padding-right: 32px;
        font-size: 13px;
        min-width: 80px;
        flex-shrink: 0;
        border-right: 1px solid #e0e0e0;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .search-select {
        padding: 11px 10px;
        padding-right: 30px;
        font-size: 12px;
        min-width: 75px;
    }
}

.search-select:hover {
    background-color: #ffffff;
    color: #323232;
}

.search-select:focus {
    outline: none;
    background-color: #ffffff;
    color: #323232;
}

.search-input {
    flex: 1;
    padding: 13px 18px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    transition: all 0.2s ease;
    color: #323232;
    background: #ffffff;
    min-width: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .search-input {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .search-input {
        padding: 11px 12px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .search-input {
        padding: 11px 10px;
        font-size: 12px;
    }
}

.search-input:focus {
    outline: none;
    background-color: #ffffff;
}

.search-input::placeholder {
    color: #8f8f8f;
}

.btn-search {
    padding: 13px 32px;
    background: #417ff9;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    box-shadow: none;
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .btn-search {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .btn-search {
        padding: 11px 20px;
        font-size: 13px;
        flex-shrink: 0;
        border-radius: 0 8px 8px 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .btn-search {
        padding: 11px 16px;
        font-size: 12px;
    }
}

.btn-search .search-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-search:hover {
    background: #286ef8;
    box-shadow: 0 4px 12px rgba(65, 127, 249, 0.4);
    transform: translateY(-1px);
}

/* 搜索统计信息 */
.search-stats {
    background: #417ff9;
    padding: 16px 0;
    margin: 0;
    margin-top: auto;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    box-sizing: border-box;
}

.search-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

.stat-label {
    font-weight: 500;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-unit {
    font-size: 14px;
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .search-stats-inner {
        padding: 0 20px;
        gap: 15px;
    }
    
    .stat-item {
        font-size: 13px;
    }
    
    .stat-number {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .search-stats {
        padding: 12px 16px;
        box-sizing: border-box;
    }
    
    .search-stats-inner {
        padding: 0 15px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-divider {
        height: 20px;
    }
}

@media (max-width: 500px) {
    .search-stats {
        padding: 10px 8px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .search-stats-inner {
        padding: 0 8px;
        gap: 6px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .stat-item {
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .stat-number {
        font-size: 13px;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-stats {
        padding: 10px 6px;
    }
    
    .search-stats-inner {
        padding: 0 6px;
        gap: 4px;
    }
    
    .stat-item {
        font-size: 10px;
    }
    
    .stat-number {
        font-size: 12px;
    }
}

.search-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8f8f8f;
}

.search-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* VIP横幅 */
.vip-banner {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
}

.vip-banner-item {
    flex: 1;
}

.vip-banner-item:first-child {
    flex: 1;
    min-width: 0;
}

.vip-banner-item:last-child {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
}

.vip-banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 主内容区域 */
.main-content {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
}

/* 左列 - 论文动态 */
.paper-dynamics {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
    color: #323232;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 22px;
    background: #417ff9;
    border-radius: 2px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    border-bottom: none;
    flex: 1;
    justify-content: flex-end;
}

.tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: normal;
    color: #8f8f8f;
    margin-bottom: -2px;
    transition: all 0.3s;
    border-radius: 20px;
    position: relative;
}

.tab.active {
    color: #417ff9;
    border-bottom-color: #417ff9;
    font-weight: normal;
    background: rgba(65, 127, 249, 0.1);
}

.tab:hover {
    color: #417ff9;
    background: rgba(65, 127, 249, 0.08);
    transform: translateY(-1px);
}

.tab.active:hover {
    color: #286ef8;
    background: rgba(65, 127, 249, 0.15);
}

.paper-list {
    list-style: none;
}

.paper-list[data-tab] {
    display: none;
}

.paper-list[data-tab="latest"] {
    display: block;
}

.paper-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease, padding 0.2s ease, margin 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.paper-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #e6f7ff;
    transition: width 0.3s ease;
}

.paper-item:hover {
    background: #fafbfc;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 8px;
}

.paper-item:hover::before {
    width: 3px;
}

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

.paper-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.6;
}

.paper-title a {
    color: #3c3c3c;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.paper-title a:hover {
    color: #417ff9;
}

.paper-meta {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 8px;
}

.paper-abstract {
    display: block;
    margin-top: 8px;
    margin-bottom: 12px;
}

.paper-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
    justify-content: space-between;
}

.paper-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.paper-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f3f5;
    color: #8f8f8f;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.paper-tag:hover {
    background: #e9ecef;
    color: #3c3c3c;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.paper-author-tag {
    background: #e7f5ff;
    color: #417ff9;
}

.paper-author-tag:hover {
    background: #d0ebff;
    color: #286ef8;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(65, 127, 249, 0.2);
}

.paper-date {
    font-size: 12px;
    color: #a0a0a0;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 右列 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #e9ecef;
}

.ranking-list {
    list-style: none;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s;
}

.ranking-item:hover {
    background: #f3f5f7;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 6px;
}

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

.ranking-number {
    width: 28px;
    height: 28px;
    background: #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #8f8f8f;
    flex-shrink: 0;
    transition: all 0.3s;
    text-decoration: none !important;
}

.ranking-item:nth-child(-n+3) .ranking-number {
    background: #417ff9;
    color: #fff;
    box-shadow: 0 2px 6px rgba(65, 127, 249, 0.3);
}

.ranking-title {
    flex: 1;
    font-size: 14px;
    color: #3c3c3c;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1.5;
    text-decoration: none;
}

.ranking-title:hover {
    color: #417ff9;
    text-decoration: none;
}

.btn-more {
    width: 100%;
    padding: 12px;
    background: #f3f5f7;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #8f8f8f;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.btn-more:hover {
    background: #e9ecef;
    color: #417ff9;
    border-color: #417ff9;
}

.promo-box {
    background: linear-gradient(135deg, #4a89f0 0%, #7bb3f4 100%);
    color: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(65, 127, 249, 0.25);
}

.promo-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.promo-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.btn-go {
    padding: 12px 35px;
    background: #fff;
    color: #417ff9;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-go:hover {
    background: #f3f5f7;
}

.guide-banner {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.guide-banner:hover {
    border-color: #417ff9;
    background: #f3f5f7;
}

.guide-icon {
    width: 50px;
    height: 50px;
    background: #417ff9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 20px;
}

.guide-text {
    flex: 1;
}

.guide-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #323232;
}

.guide-subtitle {
    font-size: 12px;
    color: #8f8f8f;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-item {
    padding: 14px;
    background: #f3f5f7;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #8f8f8f;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #dee2e6;
}

.category-item:hover {
    background: #e9ecef;
    color: #417ff9;
    border-color: #417ff9;
}

/* 页脚 (BEM) */
.footer {
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    margin-top: 80px;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-intro {
    font-size: 14px;
    color: #8f8f8f;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border: none !important;
    outline: none !important;
}

.footer-links nav {
    border: none !important;
    outline: none !important;
}

.footer-links a {
    color: #8f8f8f;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #417ff9;
}

/* 可折叠列表通用样式 */
.collapsible-section {
    margin-bottom: 30px;
    border: none !important;
    outline: none !important;
}

nav {
    border: none !important;
    outline: none !important;
}

nav.collapsible-list {
    border-top: 1px solid #e9ecef;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

.collapsible-toggle {
    color: #8f8f8f;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    cursor: pointer;
    display: inline-block;
    user-select: none;
    border: none !important;
    outline: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.collapsible-toggle:hover {
    color: #417ff9;
}

.collapsible-toggle::after {
    content: none;
    display: none;
}

.collapsible-toggle.active::after {
    content: none;
    display: none;
}

.collapsible-list {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 20px;
}

.collapsible-list.active {
    display: flex;
}

.collapsible-list a {
    color: #8f8f8f;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    padding: 5px 0;
}

.collapsible-list a:hover {
    color: #417ff9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 12px;
    color: #a0a0a0;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-qr {
    text-align: center;
}

.qr-label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #8f8f8f;
}

.qr-code {
    width: 80px;
    height: 80px;
    background: #f3f5f7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #a0a0a0;
    border: 1px solid #dee2e6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .vip-banner {
        padding: 0 15px;
    }
    
    .vip-banner-item:first-child {
        flex: 1;
        max-width: none;
    }
    
    .vip-banner-item:last-child {
        flex: 1;
        max-width: none;
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-links {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tabs {
        width: 100%;
        justify-content: flex-start;
    }


    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin: 30px auto;
        padding: 0 15px;
        gap: 15px;
    }
    
    .paper-dynamics {
        padding: 20px;
    }
    
    .vip-banner {
        margin: 30px auto;
        padding: 0 15px;
        gap: 8px;
    }
    
    .vip-banner-item {
        flex: 1;
        min-width: 0;
    }
    
    .vip-banner-item:last-child {
        width: auto;
        min-width: 0;
        max-width: none;
    }
}

@media (max-width: 500px) {
    .main-content {
        margin: 20px auto;
        padding: 0 8px;
        gap: 12px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    
    .paper-dynamics {
        padding: 12px;
        border-radius: 8px;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 12px;
    }
    
    .section-title {
        font-size: 18px;
        width: 100%;
    }
    
    .tabs {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    
    .tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab {
        padding: 8px 12px;
        font-size: 13px;
        flex-shrink: 0;
        min-width: auto;
        white-space: nowrap;
        text-align: center;
    }
    
    .paper-item {
        padding: 16px 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .paper-item:hover {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        background: #fafbfc;
        border-radius: 0;
    }
    
    .paper-item:hover::before {
        width: 0;
    }
    
    .paper-item:active {
        background: #f0f2f5;
    }
    
    .paper-title {
        font-size: 15px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .paper-meta {
        font-size: 12px;
        word-break: break-word;
    }
    
    .paper-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .paper-tags-wrapper {
        width: 100%;
    }
    
    .paper-date {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar-card {
        padding: 15px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .ranking-item {
        padding: 8px 0;
    }
    
    .ranking-title {
        font-size: 13px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .vip-banner {
        margin: 20px auto;
        padding: 0 8px;
        gap: 6px;
        flex-direction: column;
    }
    
    .vip-banner-item {
        width: 100%;
        flex: none;
    }
    
    .vip-banner-item:first-child {
        width: 100%;
        max-width: 100%;
    }
    
    .vip-banner-item:last-child {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .vip-banner-item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
}

@media (max-width: 480px) {
    .main-content {
        margin: 20px auto;
        padding: 0 8px;
        gap: 12px;
    }
    
    .paper-dynamics {
        padding: 12px;
        border-radius: 8px;
    }
    
    .vip-banner {
        margin: 20px auto;
        padding: 0 8px;
        gap: 6px;
    }
    
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== 搜索页面样式 ==================== */

/* 搜索页面区域 */
.search-page-section {
    background: linear-gradient(135deg, #4a89f0 0%, #7bb3f4 100%);
    color: #fff;
    padding: 40px 20px 30px;
    text-align: center;
}

.search-page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.search-page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
}

/* 搜索结果主区域 */
.search-results-main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.search-results-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 搜索结果头部 */
.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.search-results-count {
    font-size: 14px;
    color: #8f8f8f;
}

.search-results-count strong {
    color: #417ff9;
    font-weight: 600;
}

.search-sort {
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #323232;
    background: #fff;
    cursor: pointer;
    outline: none;
}

.sort-select:hover {
    border-color: #417ff9;
}

.sort-select:focus {
    border-color: #417ff9;
    box-shadow: 0 0 0 2px rgba(65, 127, 249, 0.2);
}

/* 搜索结果列表 */
.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-result-item {
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.search-result-item:hover {
    background: #fafbfc;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.search-result-title a {
    color: #417ff9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-result-title a:hover {
    color: #286ef8;
    text-decoration: underline;
}

.search-result-abstract {
    font-size: 14px;
    color: #3c3c3c;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #8f8f8f;
}

.search-result-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-meta-item strong {
    color: #323232;
    font-weight: 500;
}

.search-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.search-result-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f3f5f7;
    color: #417ff9;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.search-result-tag:hover {
    background: #e8f0ff;
}

/* 关键词高亮样式 */
mark {
    background-color: transparent;
    color: #ff4d4f;
    padding: 0;
    border-radius: 0;
    font-weight: 600;
    font-style: normal;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #323232;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #417ff9;
    color: #417ff9;
    background: #f8f9ff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #323232;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    border-color: #417ff9;
    color: #417ff9;
    background: #f8f9ff;
}

.pagination-number.active {
    background: #417ff9;
    color: #fff;
    border-color: #417ff9;
}

.pagination-number.ellipsis {
    border: none;
    background: transparent;
    cursor: default;
}

.pagination-number.ellipsis:hover {
    background: transparent;
    color: #323232;
}

/* 无结果提示 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #8f8f8f;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-title {
    font-size: 18px;
    font-weight: 600;
    color: #323232;
    margin-bottom: 10px;
}

.no-results-text {
    font-size: 14px;
    line-height: 1.6;
}

/* 搜索页面响应式 */
@media (max-width: 1024px) {
    .search-results-main {
        padding: 0 15px;
    }
    
    .search-results-container {
        padding: 25px;
    }
    
    .search-page-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .search-page-section {
        padding: 30px 15px 25px;
    }
    
    .search-page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .search-result-item:hover {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    .search-result-title {
        font-size: 16px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
    }
}

@media (max-width: 500px) {
    .search-page-section {
        padding: 25px 10px 20px;
    }
    
    .search-page-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .search-results-container {
        padding: 15px;
    }
    
    .search-results-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .search-result-item {
        padding: 18px 0;
    }
    
    .search-result-title {
        font-size: 15px;
    }
    
    .search-result-abstract {
        font-size: 13px;
    }
    
    .search-result-meta {
        font-size: 12px;
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .pagination-number {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-results-main {
        margin: 20px auto;
        padding: 0 8px;
    }
    
    .search-results-container {
        padding: 12px;
    }
    
    .search-result-item {
        padding: 15px 0;
    }
}


