* { box-sizing: border-box; }
body { margin: 0; background: #f4f6f9; color: #263445; font-family: 'Segoe UI', Arial, sans-serif; }
header { background: #0b192c; color: white; padding: 16px 8%; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
header a { color: #dce7f2; text-decoration: none; margin-left: 18px; }
header a:hover { color: #45a2ff; }
.wrap { max-width: 1100px; margin: 38px auto; padding: 0 20px; }
.intro h1 { margin: 0; color: #0b192c; }
.intro p { color: #6d7886; }
.category-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 24px 0; }
.category { display: flex; justify-content: space-between; align-items: center; background: white; border: 1px solid #e5eaf0; border-radius: 10px; padding: 16px; text-decoration: none; color: #0b192c; }
.category.selected { border-color: #0084ff; box-shadow: 0 0 0 2px #0084ff22; }
.category small { display: block; color: #788493; margin-top: 5px; }
.panel { background: white; border-radius: 12px; padding: 22px; box-shadow: 0 4px 18px #0b192c0d; }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.player { display: flex; align-items: center; gap: 12px; border: 1px solid #edf0f4; border-radius: 9px; padding: 10px; }
.player img, .avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #eef4fa; display: grid; place-items: center; color: #0084ff; flex: none; }
.player small { display: block; color: #788493; margin-top: 4px; }
.pager { display: flex; justify-content: space-between; margin-top: 20px; }
.pager a { color: #0079eb; text-decoration: none; }
footer { text-align: center; color: #7a8794; padding: 30px; }

@media (max-width: 650px) {
    header { flex-direction: column; text-align: center; justify-content: center; }
    header nav { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    header a { margin: 0; }
    .wrap { margin: 24px auto; }
}
