.community-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px}.community-home-card{text-decoration:none;color:inherit;background:#1a2226;border:1px solid #46545d;border-radius:10px;overflow:hidden;display:block}.community-home-cover{width:100%;height:150px;object-fit:cover;display:block;background:#26343b}.community-cover-fallback{background:linear-gradient(125deg,#303f47,#141b20 65%,#54192c)}.community-home-copy{padding:22px}.community-home-copy small{display:block;color:#ff8ba2;font-size:10px;letter-spacing:.12em}.community-home-copy h3{margin:10px 0;font-size:24px}.community-home-copy p{color:#b8c6cd;font-size:13px}.community-home-copy span{color:#d8b461;font-size:12px}.community-home-avatar{width:60px;height:60px;border:3px solid #3d4e57;background:#17232a;object-fit:cover;border-radius:10px;float:right;margin-top:-44px;position:relative}.community-events-heading{margin-top:45px}.community-profile-media{margin:10px 0 25px;border:1px solid #4a5b65;background:#1a242a;border-radius:12px;overflow:hidden}.community-profile-banner{width:100%;height:clamp(160px,22vw,300px);object-fit:cover;display:block}.community-profile-identity{display:flex;align-items:center;gap:22px;padding:22px}.community-profile-photo{width:105px;height:105px;object-fit:cover;border:4px solid #7c929f;border-radius:12px;background:#1b272f}.community-profile-fallback{display:grid;place-items:center;color:white;font:750 38px var(--sm-display)}.community-profile-identity .badge{margin:0 0 12px}.community-profile-bio{white-space:pre-wrap;font-size:14px;line-height:1.9;color:#c6d1d7;overflow-wrap:anywhere}.community-card-cover{width:100%;height:140px;object-fit:cover;border-radius:6px;margin-bottom:8px}.sport-card .community-card-avatar{width:48px;height:48px;object-fit:cover;border:1px solid #5a6b74;border-radius:8px}.community-editor-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}.community-editor-grid label{display:grid;gap:9px;margin:18px 0 9px;font-size:13px;color:#c1cdd3}.community-editor-grid .community-check{display:flex;align-items:center;gap:10px}.community-editor-grid textarea,.community-editor-grid input:not([type=checkbox]){width:100%;min-height:44px;background:#111a20;color:#f7f8fa;border:1px solid #4f626e;border-radius:6px;padding:12px;font:inherit}.community-editor-grid input[type=checkbox]{width:18px;height:18px;accent-color:#fa0332}.community-media-form{padding:10px 0 25px;border-bottom:1px solid #40515c}.community-media-preview{display:block;width:100%;max-height:230px;object-fit:cover;border-radius:8px;border:1px solid #506570}.community-media-preview.avatar{width:120px;height:120px}.community-media-empty{display:grid;place-items:center;min-height:110px;border:1px dashed #637986;border-radius:8px;background:#1f2e37;color:#bdcbd3}.community-media-form button{margin-top:14px}.community-selector{display:grid;gap:10px;max-width:600px;color:#c0cdd4;margin-bottom:18px}.dashboard-community{margin:22px 0}.dashboard-community .console-metrics{margin:20px 0}.dashboard-community .console-metrics>div{padding:18px;background:#1f2e37;border:1px solid #465d6b;border-radius:8px}.dashboard-community .console-metrics span{display:block;font-size:12px;color:#b8c9d3}.community-tournament-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center}.community-tournament-card>.community-card-cover{grid-column:1/-1;height:150px}.community-tournament-card>div{min-width:0}.community-tournament-card .btn{align-self:end}.community-public-banner{margin:20px 0;border-radius:10px;overflow:hidden;border:1px solid #4b616e}.community-public-banner img{width:100%;height:clamp(160px,22vw,290px);object-fit:cover;display:block}.community-profile-tabs{display:flex;gap:7px;flex-wrap:wrap;border-bottom:1px solid #455e6e;margin:22px 0;padding-bottom:12px}.community-profile-tabs a{font-size:12px;color:#d6e1e8;text-decoration:none;border:1px solid #4b606d;border-radius:5px;padding:10px 17px;background:#21303a}.community-profile-tabs a:hover{background:#642337}.community-home-card:hover{border-color:#c54666}.homepage-community{border-top:1px solid #415560}body[data-app=site] .hero h1{font-size:clamp(47px,5.4vw,77px)}body[data-app=site] .hero .lead{font-size:16px}.solution-dashboard-link{color:#fff;font-weight:700}@media(max-width:850px){.community-home-grid{grid-template-columns:1fr 1fr}.community-editor-grid{grid-template-columns:1fr}}@media(max-width:600px){.community-home-grid{grid-template-columns:1fr}.community-profile-identity{align-items:flex-start;gap:14px;padding:18px}.community-profile-photo{width:75px;height:75px}.community-profile-banner{height:160px}.community-tournament-card{grid-template-columns:1fr}.community-tournament-card .btn{justify-self:start}.community-profile-tabs{gap:6px}.community-profile-tabs a{padding:10px 12px}body[data-app=site] .hero h1{font-size:clamp(42px,10.5vw,62px)}}

/* Consistent cover ratio protects the identity artwork on mobile and cards. */
.community-home-cover,.community-card-cover,.community-profile-banner,.community-public-banner img{height:auto;aspect-ratio:3/1;object-fit:cover}
.dashboard-community .card-header{align-items:flex-start;gap:20px}
.dashboard-community .card-header>div:first-child{display:block}
.dashboard-community .card-header h3{margin:8px 0;font-size:24px}
.dashboard-community .console-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.community-editor-grid #community-profile-form>a{margin-left:6px}
@media(max-width:600px){.dashboard-community .console-metrics{grid-template-columns:1fr}.dashboard-community .card-header{flex-direction:column}.community-editor-grid #community-profile-form>a{margin:8px 0 0}}
