/* ===== APPIIE资源网 专业站风模板（去AI化） ===== */
.a3-body { background: #f2f4f7; font: 14px/1.6 -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #333; }
.a3-container { width: 1200px; max-width: 96%; margin: 0 auto; }

/* 顶部工具条 */
.a3-topbar { background: #16273c; color: #9aa7b8; font-size: 12px; }
.a3-topbar-in { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.a3-topbar a { color: #b9c4d2; }
.a3-topbar a:hover { color: #fff; }
.a3-topbar-sep { margin: 0 8px; color: #3c4f66; }
.a3-topbar-member { color: #ff8b3d; }

/* 主头部 */
.a3-header { background: #fff; border-bottom: 1px solid #e6eaf0; }
.a3-header-in { display: flex; align-items: center; padding: 16px 0; gap: 34px; }
.a3-logo { display: flex; align-items: center; flex-shrink: 0; }
.a3-logo a { display: flex; align-items: center; text-decoration: none; }
.a3-logo-icon { width: 42px; height: 42px; line-height: 42px; text-align: center; background: #ff6a00; color: #fff; font-size: 20px; font-weight: 700; border-radius: 6px; margin-right: 10px; }
.a3-logo-text { font-size: 22px; font-weight: 700; color: #1e3a5f; letter-spacing: 1px; }
.a3-logo-slogan { font-size: 12px; color: #9aa0ad; margin-left: 12px; padding-left: 12px; border-left: 1px solid #e6eaf0; line-height: 1.4; }
.a3-search { display: flex; flex: 1; max-width: 460px; margin: 0 auto; }
.a3-search input { flex: 1; height: 38px; border: 2px solid #1e3a5f; border-right: 0; border-radius: 4px 0 0 4px; padding: 0 14px; font-size: 13px; outline: none; color: #333; }
.a3-search input:focus { border-color: #ff6a00; }
.a3-search button { width: 82px; height: 38px; background: #1e3a5f; color: #fff; border: 0; border-radius: 0 4px 4px 0; font-size: 14px; cursor: pointer; }
.a3-search button:hover { background: #ff6a00; }
.a3-header-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.a3-login-btn { display: inline-block; border: 1px solid #1e3a5f; color: #1e3a5f; border-radius: 4px; padding: 7px 18px; font-size: 13px; }
.a3-login-btn:hover { background: #1e3a5f; color: #fff; }
.a3-reg-btn { display: inline-block; background: #ff6a00; color: #fff; border-radius: 4px; padding: 8px 18px; font-size: 13px; }
.a3-reg-btn:hover { background: #e85f00; color: #fff; }

/* 主导航 */
.a3-nav { background: #1e3a5f; }
.a3-nav-in { display: flex; }
.a3-nav-in a { color: #dbe4ef; font-size: 15px; padding: 0 24px; line-height: 46px; border-bottom: 3px solid transparent; }
.a3-nav-in a:hover { color: #fff; background: #16273c; }
.a3-nav-in a.on { color: #fff; background: #16273c; border-bottom-color: #ff6a00; }

/* 广告 */
.a3-ads { padding: 16px 0 0; }
.a3-banner.home-banner .hengfuad { gap: 14px; margin: 0; }
.a3-banner.home-banner .hengfuad span { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid #e8ecf2; }
.a3-banner.home-banner .hengfuad img { width: 100%; height: 96px; object-fit: cover; display: block; border-radius: 0; }
.a3-banner .ad-slot:empty { min-height: 60px; border: 1px dashed #d4dae2; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #b4bcc8; font-size: 12px; }
.a3-banner .ad-slot:empty::before { content: "广告位 750×90"; }

/* 主体 */
.a3-main { padding: 16px 0 30px; }
.a3-panel { background: #fff; border: 1px solid #e6eaf0; border-radius: 6px; padding: 16px 18px; margin-top: 16px; }
.a3-panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a3-panel-h h2, .a3-panel-h h3, .a3-panel-h h4 { font-size: 16px; color: #1e3a5f; border-left: 4px solid #ff6a00; padding-left: 10px; margin: 0; line-height: 1.3; }
.a3-more { font-size: 12px; color: #9aa0ad; }
.a3-more:hover { color: #ff6a00; }

/* 第一行 */
.a3-row1 { display: flex; gap: 16px; align-items: flex-start; }
.a3-hero { position: relative; flex: 0 0 450px; }
.a3-hero-img { width: 450px; height: 450px; border-radius: 6px; overflow: hidden; background: #eef1f5; }
.a3-hero-img a, .a3-hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a3-hero-thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0)); }
.a3-hero-thumbs a { aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #eef1f5; display: block; opacity: .72; border: 2px solid rgba(255,255,255,.7); transition: opacity .2s, transform .2s; }
.a3-hero-thumbs a:hover { opacity: 1; transform: scale(1.05); }
.a3-hero-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a3-newlist { flex: 1; margin-top: 0; height: 450px; min-height: 0; display: flex; flex-direction: column; box-sizing: border-box; }

/* 最新上传列表 */
.a3-list-head, .a3-new-ul li { display: flex; align-items: center; }
.a3-list-head { padding: 7px 2px; font-size: 12px; color: #9aa0ad; border-bottom: 1px solid #eef1f5; }
.a3-lh-no, .a3-no { flex: 0 0 30px; text-align: center; }
.a3-lh-name { flex: 1; }
.a3-lh-en { flex-shrink: 0; min-width: 80px; margin: 0 50px; text-align: left; }
.a3-lh-date { flex-shrink: 0; width: 70px; text-align: left; }
.a3-new-ul { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.a3-new-ul li { flex: 1; min-height: 0; padding: 6px 2px; border-bottom: 1px dashed #eef1f5; }
.a3-new-ul li:last-child { border-bottom: 0; }
.a3-no { font-size: 12px; color: #b0b6c2; font-style: normal; }
.a3-no.hot { color: #ff6a00; font-weight: 700; }
.a3-n-title { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3-en { color: #8a919f; font-size: 12px; margin: 0 50px; min-width: 80px; flex-shrink: 0; text-align: left; }
.a3-date { color: #9aa0ad; font-size: 12px; flex-shrink: 0; width: 70px; text-align: left; white-space: nowrap; }

/* 最新资源表格 */
.a3-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.a3-table th { background: #f7f9fb; color: #666; text-align: left; padding: 10px 12px; font-size: 13px; border-bottom: 1px solid #e6eaf0; }
.a3-table td { padding: 9px 12px; font-size: 13px; border-bottom: 1px solid #f0f2f6; }
.a3-table tbody tr:nth-child(even) td { background: #fafbfd; }
.a3-table tbody tr:hover td { background: #f2f6fb; }
.a3-table th:nth-child(1), .a3-table td:nth-child(1) { width: auto; text-align: left; }
.a3-table th:nth-child(2), .a3-table td:nth-child(2) { width: 100px; text-align: center; }
.a3-table th:nth-child(3), .a3-table td:nth-child(3) { width: 130px; text-align: center; }
.a3-table th:nth-child(4), .a3-table td:nth-child(4) { width: 90px; text-align: center; }
.a3-table .a3-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3-price { color: #ff6a00; font-weight: 700; }

/* 分类导航 */
.a3-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.a3-cat { display: flex; flex-direction: column; align-items: center; padding: 18px 10px; border: 1px solid #e8ecf2; border-radius: 6px; transition: border-color .15s, box-shadow .15s; }
.a3-cat:hover { border-color: #ff6a00; box-shadow: 0 2px 8px rgba(255,106,0,.12); }
.a3-cat-ico { width: 40px; height: 40px; line-height: 40px; text-align: center; background: #fff2e8; color: #ff6a00; font-size: 18px; font-weight: 700; border-radius: 6px; margin-bottom: 8px; }
.a3-cat-name { font-size: 14px; color: #1e3a5f; font-weight: 600; }
.a3-cat-count { font-size: 12px; color: #a6adba; margin-top: 2px; }

/* 最新发布 / 热门排行 */
.a3-row4 { display: flex; gap: 16px; align-items: flex-start; }
.a3-col { flex: 1; }
.a3-news { list-style: none; margin: 0; padding: 0; }
.a3-news li, .a3-rank li { display: flex; align-items: center; padding: 7px 2px; border-bottom: 1px dashed #eef1f5; }
.a3-news li:last-child, .a3-rank li:last-child { border-bottom: 0; }
.a3-news a, .a3-rank a { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3-news i { font-style: normal; font-size: 12px; color: #a6adba; }
.a3-rank-no { flex: 0 0 22px; height: 22px; line-height: 22px; text-align: center; background: #eef1f5; color: #7d8594; font-size: 12px; border-radius: 4px; margin-right: 10px; }
.a3-rank-no.hot { background: #ff6a00; color: #fff; }
.a3-rank i { font-style: normal; font-size: 12px; color: #a6adba; }

/* 友情链接 */
.a3-friend { display: flex; flex-wrap: wrap; gap: 8px; }
.a3-friend a { background: #f6f8fa; border: 1px solid #e8ecf2; color: #6b7280; border-radius: 4px; padding: 4px 13px; font-size: 13px; }
.a3-friend a:hover { color: #ff6a00; border-color: #ffb27d; }

/* 底部 */
.a3-footer { background: #16273c; margin-top: 24px; }
.a3-footer-cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid #23364d; }
.a3-footer-cats-label { color: #fff; font-weight: 700; font-size: 13px; }
.a3-footer-cats a { color: #9aa7b8; font-size: 13px; }
.a3-footer-cats a:hover { color: #ff6a00; }
.a3-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: 30px 0 24px; }
.a3-fcol h4 { color: #fff; font-size: 15px; margin: 0 0 12px; padding-left: 10px; border-left: 3px solid #ff6a00; }
.a3-fcol a { display: block; color: #9aa7b8; font-size: 13px; margin: 5px 0; }
.a3-fcol a:hover { color: #fff; }
.a3-fcol p { color: #9aa7b8; font-size: 13px; line-height: 1.9; margin: 5px 0; }
.a3-copy { border-top: 1px solid #23364d; padding: 14px 0; text-align: center; color: #7d8ca1; font-size: 12px; }

/* 分类列表页：二级类目 / 排序 / 搜索 */
.a3-body .page-main { padding-top: 16px; }
.a3-body .crumb { font-size: 13px; color: #9aa0ad; margin-bottom: 14px; }
.a3-body .crumb a { color: #6b7280; }
.a3-body .crumb a:hover { color: #ff6a00; }
.a3-body .page-search { background: #fff; border: 1px solid #e6eaf0; border-radius: 6px; padding: 18px; margin-bottom: 16px; }
.a3-body .page-search input { border: 2px solid #dfe3ea; border-radius: 4px 0 0 4px; }
.a3-body .page-search input:focus { border-color: #1e3a5f; outline: none; }
.a3-body .page-search button { background: #1e3a5f; border-radius: 0 4px 4px 0; }
.a3-body .page-search button:hover { background: #ff6a00; }
.a3-body .type-box { background: #fff; border: 1px solid #e6eaf0; border-radius: 6px; padding: 13px 16px; margin-bottom: 16px; }
.a3-body .type-label { color: #1e3a5f; font-weight: 700; margin-right: 12px; font-size: 13px; }
.a3-body .type-box a { display: inline-block; padding: 5px 14px; margin: 4px 8px 4px 0; border-radius: 4px; border: 1px solid #e8ecf2; background: #f6f8fa; color: #555; font-size: 13px; }
.a3-body .type-box a:hover { color: #ff6a00; border-color: #ffb27d; background: #fff5ec; }
.a3-body .type-box a.on { background: #1e3a5f; border-color: #1e3a5f; color: #fff; }
.a3-body .section-head { border-bottom: 1px solid #e6eaf0; }
.a3-body .section-head h2 { border-left-color: #ff6a00; color: #1e3a5f; }
.a3-body .sort-box a { display: inline-block; padding: 4px 14px; margin-left: 8px; border-radius: 4px; border: 1px solid #e8ecf2; background: #f6f8fa; color: #666; font-size: 13px; }
.a3-body .sort-box a:hover { color: #ff6a00; border-color: #ffb27d; }
.a3-body .sort-box a.on { background: #ff6a00; border-color: #ff6a00; color: #fff; }

@media (max-width: 960px) {
    .a3-header-in { flex-wrap: wrap; gap: 12px; }
    .a3-search { order: 3; max-width: 100%; width: 100%; flex: none; }
    .a3-row1, .a3-row4 { flex-direction: column; }
    .a3-hero, .a3-hero-img { width: 100%; }
    .a3-hero-img { height: auto; aspect-ratio: 1 / 1; }
    .a3-nav-in { overflow-x: auto; }
    .a3-nav-in a { padding: 0 16px; line-height: 42px; }
    .a3-footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
}
