.community-page .page-content { padding-top: 22px; }
.community-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.community-intro p { margin: 0; }
.community-status { color: inherit; font-size: 14px; min-height: 22px; }
.community-rank { margin: 0 0 28px; --rank-color: #b78bff; }
.community-rank--creator { --rank-color: #ffd977; }
.community-rank--admin { --rank-color: #ff86bb; }
.community-rank--moderator { --rank-color: #85bdff; }
.community-rank--host { --rank-color: #9fe7c1; }
.community-rank__title { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-left: 5px solid var(--rank-color); border-radius: 7px; font-size: 19px; color: #fff; background: linear-gradient(100deg, #32204c, #201d3b); }
.community-rank__title::before { content: "✦"; color: var(--rank-color); }
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.community-team-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.community-member { overflow: hidden; border: 1px solid #766184; border-radius: 13px; background: linear-gradient(160deg, #302142, #171a31); box-shadow: 0 5px 16px #08051b2b; }
.community-member__link { display: flex; flex-direction: column; height: 100%; align-items: center; color: #fff; text-decoration: none; padding: 20px 12px 16px; }
.community-member__link:hover { background: #ffffff08; }
.community-member__link:focus-visible { outline: 3px solid #ffd977; outline-offset: -3px; }
.community-member__picture { width: 140px; height: 140px; display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 12px; background: radial-gradient(ellipse, #635174aa, #171a3100 72%); }
.community-member__picture--avatar { width: 124px; height: 124px; border: 2px solid var(--rank-color, #8f7aae); background: #211b35; box-shadow: 0 0 20px #b16aff22; margin: 8px; }
.community-member__picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.community-member__picture--skin img { width: auto; height: auto; max-height: 100%; max-width: 100%; object-fit: contain; }
.community-member__image-fallback { color: #ddd2ee; text-align: center; padding: 12px; font-size: 13px; }
.community-member__identity { width: 100%; text-align: center; padding-top: 16px; }
.community-member__name { margin: 0 0 7px; font-size: 21px; overflow-wrap: anywhere; line-height: 1.3; }
.community-member__name--soft { text-shadow: 0 0 5px currentColor, 0 0 12px currentColor, 0 2px 0 #0d13487a; }
.community-member__name--strong { text-shadow: 0 0 5px currentColor, 0 0 14px currentColor, 0 0 26px currentColor, 0 2px 0 #0d134894; }
.community-member__rank { margin: 0 0 12px; color: #e7dcf3; font-size: 13px; overflow-wrap: anywhere; }
.community-presence { display: inline-flex; align-items: center; gap: 7px; color: #d5d3df; font-size: 12px; border: 1px solid #9385a052; border-radius: 20px; padding: 4px 9px; background: #1413256b; }
.community-presence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #92909a; }
.community-presence--online { color: #a5f7bf; }
.community-presence--online::before { background: #70e297; box-shadow: 0 0 7px #70e29766; }
.community-member__xp { color: #ffe0a3; font-size: 13px; font-weight: 600; margin: 12px 0 0; }
.community-empty { grid-column: 1 / -1; padding: 18px; border: 1px dashed #a79bb3; border-radius: 10px; }
.community-directory-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 18px; border-radius: 12px; background: #9177b315; margin-bottom: 18px; }
.community-directory-form label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 230px; font-weight: 600; font-size: 13px; }
.community-directory-form label:last-of-type { flex: 0 1 230px; }
.community-directory-form input, .community-directory-form select { min-height: 43px; box-sizing: border-box; border: 1px solid #ab9fbc; border-radius: 7px; padding: 9px 12px; width: 100%; background: #fff; color: #241936; font: inherit; }
.community-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 24px 0 5px; flex-wrap: wrap; }
.community-pagination button:disabled { opacity: .45; cursor: default; }
.community-page #equipe { scroll-margin-top: 90px; }
.community-about { margin-top: 42px; border-top: 1px solid #a895bc66; padding-top: 22px; }
@media (max-width: 540px) {
  .community-grid, .community-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .community-member__link { padding: 12px 6px; }
  .community-member__picture { width: 108px; height: 108px; }
  .community-member__picture--avatar { width: 92px; height: 92px; margin: 8px; }
  .community-member__name { font-size: 16px; }
  .community-member__rank { font-size: 12px; }
  .community-rank__title { font-size: 16px; }
}
