/* ============================================================
   锐星AI 全站统一样式表
   基于 ainav.cn 风格
   ============================================================ */

/* ---------- 全局重置 ---------- */



a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #1d4ed8;
}
/* ---------- 内容区（两栏） ---------- */
.content-container {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    align-items: flex-start;
}

.mainbox-left-column {
    flex: 1;
    min-width: 0;
}

.mainbox-right-column {
    width: 260px;
    flex-shrink: 0;
}

/* ---------- 子分类导航 ---------- */
.subcate {
    margin-bottom: 24px;
}

.subcate h3 {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.scatelist {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    list-style: none;
    padding: 0;
}

.scatelist li {
    font-size: 14px;
}

.scatelist li a {
    display: inline-block;
    padding: 6px 16px;
    background: #f1f5f9;
    border-radius: 20px;
    color: #334155;
    font-weight: 500;
    transition: all 0.2s;
}

.scatelist li a:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.scatelist li em {
    display: none;
}

/* ---------- 站点网格 ---------- */
.listbox h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.sitelist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
}

.sitelist li {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 18px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sitelist li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
}

.sitelist .thumb {
    width: 80px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    margin-bottom: 12px;
}

.sitelist .info {
    width: 100%;
}

.sitelist .info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sitelist .info h3 a {
    color: #0f172a;
}

.sitelist .info h3 a:hover {
    color: #2563eb;
}

.sitelist .info h3 img {
    vertical-align: middle;
    margin-left: 2px;
}

.sitelist .info p {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.sitelist .info address {
    font-style: normal;
    font-size: 12px;
    color: #94a3b8;
}

.sitelist .info address a {
    color: #2563eb;
}

.sitelist .info address a:hover {
    text-decoration: underline;
}

.sitelist .info address .addfav {
    cursor: pointer;
    color: #94a3b8;
    margin-left: 4px;
}

.sitelist .info address .addfav:hover {
    color: #2563eb;
}

/* ---------- 分页 ---------- */
.showpage {
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

.showpage a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 3px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 500;
    transition: all 0.2s;
}

.showpage a:hover {
    background: #e2e8f0;
}

.showpage span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 3px;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
}

/* ---------- 右侧栏 ---------- */
.ad250x250 {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid #f1f5f9;
    color: #94a3b8;
    font-size: 13px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bestart,
.bestweb {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px 20px;
    border: 1px solid #f1f5f9;
    margin-top: 16px;
}

.bestart h3,
.bestweb h3 {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 12px;
}

.artlist_b {
    list-style: none;
    padding: 0;
}

.artlist_b li {
    padding: 5px 0;
    font-size: 14px;
}

.artlist_b li a {
    color: #334155;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artlist_b li a:hover {
    color: #2563eb;
}

.weblist_b {
    list-style: none;
    padding: 0;
}

.weblist_b li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8fafc;
    align-items: center;
}

.weblist_b li:last-child {
    border-bottom: none;
}

.weblist_b li img {
    width: 48px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.weblist_b li strong {
    font-size: 14px;
    font-weight: 600;
}

.weblist_b li strong a {
    color: #0f172a;
}

.weblist_b li strong a:hover {
    color: #2563eb;
}

.weblist_b li p {
    font-size: 12px;
    color: #94a3b8;
    margin: 2px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.weblist_b li address {
    font-style: normal;
    font-size: 12px;
    color: #94a3b8;
}

.weblist_b li address a {
    color: #2563eb;
}

/* ---------- 工具类 ---------- */
.spacer-10 {
    height: 10px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ---------- 手机自适应 ---------- */
@media (max-width: 992px) {
    .mainbox-right-column {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 12px 12px 40px;
    }

    .content-container {
        flex-direction: column;
        gap: 20px;
    }

    .mainbox-left-column {
        width: 100%;
    }

    .mainbox-right-column {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        display: flex;
        gap: 16px;
    }

    .mainbox-right-column > * {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        margin-top: 0 !important;
    }

    .ad250x250 {
        flex: 1 1 100%;
        min-height: 80px;
    }

    .sitelist {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .sitelist li {
        padding: 14px 12px;
    }

    .sitelist .thumb {
        width: 64px;
        height: 52px;
    }

    .sitelist .info h3 {
        font-size: 14px;
    }

    .sitelist .info p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .scatelist li a {
        padding: 4px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 8px 8px 30px;
    }

    .sitelist {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sitelist li {
        padding: 10px 8px;
        border-radius: 12px;
    }

    .sitelist .thumb {
        width: 56px;
        height: 44px;
    }

    .sitelist .info h3 {
        font-size: 13px;
    }

    .sitelist .info p {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .sitelist .info address {
        font-size: 11px;
    }

    .mainbox-right-column > * {
        flex: 1 1 100%;
    }

    .bestart,
    .bestweb {
        padding: 14px 14px 16px;
    }

    .showpage a,
    .showpage span {
        padding: 4px 10px;
        font-size: 13px;
    }
}


/* 如果首页用的是另一种容器，也统一 */
.content-container {
    max-width: 100% !important;
}

/* 让内容区和首页一样宽 */
@media (max-width: 768px) {
    .main-container {
        padding: 12px 16px 40px !important;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 8px 10px 30px !important;
    }
}









.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 32px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ===== 顶部栏 ===== */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #1a73e8;
}
.logo span {
    color: #fbbc04;
}

.auth-links {
    font-size: 14px;
    color: #5f6b7a;
}
.auth-links a {
    color: #1a73e8;
    text-decoration: none;
    margin-left: 12px;
}
.auth-links a:hover {
    text-decoration: underline;
}

/* ===== PC端隐藏登录注册 ===== */
@media (min-width: 768px) {
    .auth-links {
        display: none !important;
    }
}

/* ===== 导航 ===== */
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 14px 0 12px;
    border-bottom: 1px solid #eef2f7;
}
.nav a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.nav a:hover {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

/* ===== 统计条 ===== */
.stats {
    background: #f0f4fe;
    border-radius: 10px;
    padding: 10px 18px;
    margin: 16px 0 14px;
    font-size: 14px;
    color: #1a2332;
}
.stats strong {
    color: #1a73e8;
    font-weight: 600;
}
.stats .sep {
    margin: 0 10px;
    color: #bcc9db;
}

/* ===== 搜索框 ===== */
.search-wrap {
    display: flex;
    gap: 0;
    margin: 12px 0 16px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.10);
    border: 1px solid #dce3ed;
}
.search-wrap input {
    flex: 1;
    border: none;
    padding: 12px 18px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    color: #1a2332;
}
.search-wrap input::placeholder {
    color: #aab6c9;
}
.search-wrap button {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.search-wrap button:hover {
    background: #1557b0;
}

/* ===== 快捷方式 ===== */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 10px 0 12px;
}
.quick-actions a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f0f4fe;
    transition: background 0.2s ease;
}
.quick-actions a:hover {
    background: #dce6fa;
}

/* ===== PC端隐藏快捷方式 ===== */
@media (min-width: 768px) {
    .quick-actions {
        display: none !important;
    }
}

/* ===== "去提交" 横幅 ===== */
.submit-banner {
    background: linear-gradient(135deg, #e8f0fe, #d4e2fc);
    border-radius: 12px;
    padding: 14px 20px;
    margin: 14px 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1a2332;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.submit-banner a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 20px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.submit-banner a:hover {
    background: #1a73e8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}

/* ===== PC端隐藏去提交横幅 ===== */
@media (min-width: 768px) {
    .submit-banner {
        display: none !important;
    }
}

/* ===== 分类卡片 ===== */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.category-card {
    background: #f8faff;
    border: 1px solid #e6ecf5;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #1a2332;
    transition: border-color 0.25s ease, background 0.25s ease;
    cursor: default;
}
.category-card:hover {
    border-color: #1a73e8;
    background: #f5f9ff;
    /* 没有位移，没有阴影变化，只有边框和背景色微变 */
}
.category-card .icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}







		* { margin: 0; padding: 0; box-sizing: border-box; }
		body { 
			font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; 
			background: #f5f7fa; 
			color: #333; 
			font-size: 14px; 
			line-height: 1.6; 
		}
		a { color: #4A6CF7; text-decoration: none; }
		a:hover { color: #3451b2; }


.main-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
		.content-container { display: flex; gap: 30px; padding: 20px 0; align-items: flex-start; }
		.mainbox-left-column { flex: 1; min-width: 0; }
		.mainbox-right-column { width: 280px; flex-shrink: 0; }



/* ===== 顶部行 ===== */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
/* ===== 主布局 ===== */
.main-layout { max-width: 1400px; margin: 0 auto; padding: 20px; display: flex; gap: 30px; align-items: flex-start; }

/* ===== 侧边栏 ===== */
.sidebar { width: 220px; flex-shrink: 0; background: #fff; border-radius: 12px; padding: 16px 0; box-shadow: 0 1px 6px rgba(0,0,0,0.04); border: 1px solid #edf0f5; position: sticky; top: 80px; max-height: calc(100vh - 120px); overflow-y: auto; }
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: #d0d8e5; border-radius: 4px; }
.sidebar .title { font-weight: 600; font-size: 14px; color: #1a2332; padding: 0 16px 10px; border-bottom: 1px solid #edf0f5; margin-bottom: 8px; }
.sidebar-item { display: block; padding: 6px 16px; color: #444; font-size: 14px; transition: all 0.2s; cursor: pointer; }
.sidebar-item:hover { background: #f5f7fc; color: #4A6CF7; }
.sidebar-item i { width: 20px; margin-right: 8px; font-size: 14px; color: #8895aa; }
.sidebar-item:hover i { color: #4A6CF7; }
.sidebar .sub-menu { display: none; padding-left: 12px; list-style: none; }
.sidebar .sub-menu.show { display: block; }
.sidebar .sub-menu li { padding: 3px 0; }
.sidebar .sub-menu li a { color: #666; font-size: 13px; display: block; padding: 2px 8px; border-radius: 4px; }
.sidebar .sub-menu li a:hover { background: #f0f4ff; color: #4A6CF7; }
.sidebar-more { cursor: pointer; transition: transform 0.3s; float: right; color: #b0bcca; font-size: 12px; }
.sidebar-more.open { transform: rotate(90deg); }

/* ===== 内容区 ===== */
.content { flex: 1; min-width: 0; }
.section-title { font-size: 20px; font-weight: 600; color: #1a2332; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-title i { color: #4A6CF7; }
.section-title .more { margin-left: auto; font-size: 13px; font-weight: 400; color: #8895aa; }
.section-title .more:hover { color: #4A6CF7; }

/* ===== Tab 切换 ===== */
.tab-nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid #edf0f5; margin-bottom: 16px; }
.tab-nav .tab-btn { padding: 8px 20px; border: none; background: none; color: #666; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
.tab-nav .tab-btn:hover { color: #4A6CF7; }
.tab-nav .tab-btn.active { color: #4A6CF7; border-bottom-color: #4A6CF7; font-weight: 500; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== 卡片网格 ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card-item { background: #fff; border-radius: 10px; padding: 16px; border: 1px solid #edf0f5; transition: all 0.25s; display: flex; align-items: center; gap: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.02); }
.card-item:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(74,108,247,0.08); border-color: #d0ddf5; }
.card-item .icon { width: 40px; height: 40px; border-radius: 8px; background: #f0f4ff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: #4A6CF7; overflow: hidden; }
.card-item .icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.card-item .info { flex: 1; min-width: 0; }
.card-item .info .name { font-weight: 500; color: #1a2332; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-item .info .desc { font-size: 12px; color: #8895aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.card-item .go { color: #b0bcca; font-size: 14px; flex-shrink:0; transition: color 0.2s; }
.card-item:hover .go { color: #4A6CF7; }

/* ===== 底部 ===== */
.footer { background: #fff; border-top: 1px solid #edf0f5; padding: 30px 0 20px; text-align: center; color: #8895aa; font-size: 13px; margin-top: 20px; }
.footer a { color: #4A6CF7; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: #555; }
.footer-links a:hover { color: #4A6CF7; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .sidebar { width: 200px; }
}

@media (max-width: 768px) {
    .top-header .nav .menu-toggle { display: block; }
    .top-header .nav .nav-links { display: none; width: 100%; flex-direction: column; gap: 8px; padding: 10px 0; }
    .top-header .nav .nav-links.open { display: flex; }
    .top-header .nav .nav-links a { border-bottom: none; }
    
    .sidebar { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; z-index: 9999; border-radius: 0; transition: left 0.3s ease; box-shadow: 2px 0 10px rgba(0,0,0,0.1); }
    .sidebar.open { left: 0; }
    .sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9998; }
    .sidebar-overlay.active { display: block; }
    body.sidebar-open { overflow: hidden; }
    
    .main-layout { padding: 12px; }
    .hero h1 { font-size: 24px; }
    .hero { padding: 30px 16px 25px; }
    .search-box { border-radius: 30px; }
    .search-box input { padding: 12px 16px; font-size: 14px; }
    .search-box button { padding: 12px 20px; font-size: 14px; }
    .card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .card-item { padding: 12px; }
    .card-item .icon { width: 32px; height: 32px; }
    .card-item .info .name { font-size: 13px; }
    .tab-nav .tab-btn { padding: 6px 12px; font-size: 13px; }
}

/* ===== 手机端单行卡片（核心修改） ===== */
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr !important; /* 改为单行 */
        gap: 10px;
    }
    .card-item {
        padding: 12px 14px;
        flex-direction: row; /* 图标在左，文字在右 */
        align-items: center;
        gap: 12px;
    }
    .card-item .icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        font-size: 16px;
    }
    .card-item .info .name {
        font-size: 13px;
        font-weight: 600;
    }
    .card-item .info .desc {
        font-size: 11px;
        white-space: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
    .card-item .go {
        font-size: 12px;
    }
    .hero h1 { font-size: 20px; }
    .hero p { font-size: 14px; }
    .top-header .logo { font-size: 20px; }
}