* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: #f5f5f5; color: #333; }
header { background: #fff; padding: 1.5rem; text-align: center; border-bottom: 2px solid #e0e0e0; }
h1 { font-size: 1.8rem; margin-bottom: .8rem; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
nav a { padding: .4rem 1rem; border-radius: 20px; text-decoration: none; background: #eee; color: #555; font-size: .9rem; }
nav a.active, nav a:hover { background: #4a90d9; color: #fff; }
main { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; padding: 1.5rem; max-width: 1200px; margin: 0 auto; }
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.1); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #eee; }
.actions { display: flex; border-top: 1px solid #eee; }
.dl { flex: 1; padding: .6rem; text-align: center; text-decoration: none; color: #4a90d9; font-weight: 600; font-size: .9rem; }
.dl:hover { background: #f0f6ff; }
.dl + .dl { border-left: 1px solid #eee; }
.empty { grid-column: 1/-1; text-align: center; color: #999; padding: 3rem; font-size: 1.1rem; }
