*{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;background:#f5f5f5;color:#333}
a{color:inherit;text-decoration:none}
header{background:#e63946;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.hi{max-width:1200px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;gap:30px}
.logo{font-size:1.4rem;font-weight:700;color:#fff}
nav a{color:rgba(255,255,255,.85);margin-right:16px;font-size:.95rem}
nav a:hover{color:#fff;border-bottom:2px solid #fff}
main{max-width:1200px;margin:24px auto;padding:0 20px}
.cat-title{font-size:1.3rem;margin-bottom:20px;padding-left:10px;border-left:4px solid #e63946}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.08);display:flex;flex-direction:column;transition:all .2s}
.card:hover{box-shadow:0 4px 16px rgba(0,0,0,.12);transform:translateY(-2px)}
.card .thumb{width:100%;height:180px;object-fit:cover;display:block}
.card .no-img{width:100%;height:100px;background:linear-gradient(135deg,#e63946,#c1121f)}
.card-body{padding:14px;flex:1}
.tag{display:inline-block;background:#e63946;color:#fff;font-size:.72rem;padding:2px 8px;border-radius:3px;margin-bottom:8px}
.card h2{font-size:.95rem;line-height:1.5;margin-bottom:8px}
.card h2 a:hover{color:#e63946}
.sm{font-size:.83rem;color:#666;line-height:1.6;margin-bottom:10px}
.meta{font-size:.78rem;color:#999}
.aw{max-width:820px;margin:30px auto;background:#fff;border-radius:8px;padding:32px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.aw h1{font-size:1.5rem;line-height:1.5;margin:10px 0 16px}
.aw .meta{color:#999;font-size:.875rem;margin-bottom:20px}
.cover{width:100%;max-height:420px;object-fit:cover;border-radius:6px;margin-bottom:20px;display:block}
.body p{line-height:1.9;margin-bottom:16px;font-size:1rem}
.src{color:#999;font-size:.875rem}
.back{display:inline-block;margin-top:24px;color:#e63946;font-size:.9rem}
footer{text-align:center;padding:24px;color:#999;font-size:.85rem;margin-top:40px}
footer a{color:#999}
@media(max-width:600px){.grid{grid-template-columns:1fr}.aw{padding:20px}}
.friend-links{background:#f5f5f5;border-top:1px solid #e8e8e8;padding:12px 0;font-size:.8em}
.fl-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fl-title{color:#999;white-space:nowrap;margin-right:4px}
.fl-inner a{color:#666;text-decoration:none;padding:2px 8px;border:1px solid #ddd;border-radius:10px;background:#fff;white-space:nowrap}
.fl-inner a:hover{color:#e63946;border-color:#e63946}