/* 补充首页hero等样式 */
.hero { background: linear-gradient(135deg,#2b7a3e,#1e5a2c); color:#fff; padding:60px 0; margin-bottom:0; }
.hero h1 { font-size:32px; margin-bottom:12px; }
.hero p { font-size:16px; opacity:.9; margin-bottom:20px; }
.hero .btn-primary { background:#f5a623; color:#fff; }
.hero .btn-primary:hover { background:#e0951c; }

.hot-list li { display:flex; align-items:center; padding:8px 0; border-bottom:1px solid var(--border); }
.hot-list li:last-child { border-bottom:0; }
.hot-num { display:inline-block; width:22px; height:22px; line-height:22px; text-align:center; background:var(--primary); color:#fff; border-radius:4px; font-size:12px; margin-right:8px; }
.hot-list li:nth-child(-n+3) .hot-num { background:var(--accent); }
.hot-list a { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.cat-list li a { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); color:var(--text); }
.cat-list li a em { color:#999; font-style:normal; }
.cat-list li a:hover { color:var(--primary); padding-left:6px; }

.auth-box { max-width:420px; margin:40px auto; }
.data-table { width:100%; border-collapse:collapse; font-size:14px; }
.data-table th, .data-table td { padding:10px; border-bottom:1px solid var(--border); text-align:left; }
.data-table th { background:#fafafa; font-weight:600; }
.user-card { text-align:center; }
.user-avatar { width:80px; height:80px; margin:0 auto 12px; }
.user-avatar img { width:80px; height:80px; border-radius:50%; object-fit:cover; }
.avatar-default { width:80px; height:80px; border-radius:50%; background:var(--primary); color:#fff; font-size:32px; line-height:80px; text-align:center; }
.user-card h3 { margin-bottom:6px; }
.user-card p { color:var(--text-light); font-size:13px; }

.pager { display:flex; justify-content:space-between; font-size:14px; }
.pager a { color:var(--primary); }

/* toast */
.dw-toast { position:fixed; top:20px; left:50%; transform:translateX(-50%) translateY(-20px); padding:12px 24px; border-radius:6px; background:rgba(0,0,0,.85); color:#fff; font-size:14px; z-index:9999; opacity:0; transition:.3s; }
.dw-toast.show { opacity:1; transform:translateX(-50%) translateY(0); }
.dw-toast.error { background:#c92a2a; }

.back-top { position:fixed; right:20px; bottom:30px; width:44px; height:44px; line-height:44px; text-align:center; background:var(--primary); color:#fff; border-radius:50%; cursor:pointer; opacity:0; visibility:hidden; transition:.3s; z-index:999; box-shadow:0 2px 8px rgba(0,0,0,.2); }
.back-top.show { opacity:1; visibility:visible; }

@media (max-width:767px) {
    .hero { padding:36px 0; }
    .hero h1 { font-size:22px; }
    .data-table { font-size:13px; }
    .data-table th, .data-table td { padding:8px 6px; }
}

/* 友情链接区块 */
.link-section { margin:24px 0 32px; }
.link-grid { display:flex; flex-wrap:wrap; gap:12px; }
.link-grid a {
    display:inline-flex; align-items:center; gap:8px;
    padding:8px 14px; border:1px solid var(--border, #e5e7eb); border-radius:8px;
    background:#fff; color:#333; font-size:14px; line-height:1;
    transition:all .2s;
}
.link-grid a:hover { border-color:var(--primary, #2b7a3e); color:var(--primary, #2b7a3e); transform:translateY(-1px); }
.link-grid a img { height:20px; width:auto; display:block; }
.link-grid a span { color:#94a3b8; font-size:12px; }
