/* Discovery summaries: scoped so profiles, feeds and permissions stay unchanged. */
#communityContent .community-discovery-page { width:100%; max-width:880px; margin:0 auto; padding:4px 16px 24px; box-sizing:border-box; display:grid; grid-template-columns:44px minmax(0,1fr); gap:0 8px; }
#communityContent .community-discovery-page > .community-detail-back { grid-column:1; grid-row:1; position:static; width:44px; height:44px; padding:0; margin:0; display:grid; place-items:center; }
#communityContent .community-discovery-page > .community-detail-back em { display:none; }
#communityContent .community-discovery-page > .community-detail-heading { grid-column:2; grid-row:1; padding:0; margin:0; display:block; min-width:0; }
#communityContent .community-discovery-page > .community-detail-heading small { display:none; }
#communityContent .community-discovery-page > .community-detail-heading h3 { font-size:22px; line-height:1.3; min-height:44px; display:flex; align-items:center; margin:0; }
#communityContent .community-discovery-page > .community-detail-heading p { font-size:13px; line-height:1.6; margin:0 0 14px; color:#68716c; }
#communityContent .community-discovery-page > .community-detail-body { grid-column:1/-1; display:grid; gap:20px; min-width:0; }
#communityContent .community-discovery-page .community-search-panel { padding:0; margin:0; border:0; background:transparent; box-shadow:none; border-radius:0; }
#communityContent .community-discovery-page .community-search-panel form { margin:0; }
#communityContent .community-discovery-page .community-search-panel label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#communityContent .community-discovery-page .community-search-panel form > div { display:flex; position:relative; gap:8px; align-items:stretch; }
#communityContent .community-discovery-page .community-search-panel input { flex:1; min-width:0; width:0; min-height:48px; height:48px; padding:10px 42px 10px 14px; font-size:16px; border:1px solid #d9dbd3; border-radius:12px; background:#fffefa; }
#communityContent .community-discovery-page .community-search-panel button[type=submit] { flex:0 0 auto; min-width:64px; min-height:48px; padding:8px 14px; border-radius:12px; font-size:14px; }
#communityContent .community-discovery-page .community-search-clear { position:static; flex:0 0 44px; width:44px; min-height:48px; margin-left:-52px; background:transparent; border:0; transform:none; z-index:1; }
#communityContent .community-discovery-page .community-search-results { margin-top:20px; }
#communityContent .community-discovery-page .community-people-section { padding:0; margin:0; background:transparent; border:0; box-shadow:none; min-width:0; }
#communityContent .community-discovery-page .section-title { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 8px; min-height:44px; padding:0; }
#communityContent .community-discovery-page .section-title > span { font-size:17px; font-weight:750; }
#communityContent .community-discovery-page .discovery-courts { padding:4px 0 4px 8px; min-height:44px; background:transparent; border:0; color:#806529; font-size:12px; font-weight:600; white-space:nowrap; }
#communityContent .community-discovery-page .community-player-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin:0; }
#communityContent .community-discovery-card { padding:14px; margin:0; min-width:0; background:#fffefa; border:1px solid #e1e2d9; border-radius:16px; box-shadow:none; }
#communityContent .discovery-person-row { display:grid; grid-template-columns:56px minmax(0,1fr) 44px; align-items:center; gap:10px; }
#communityContent .discovery-avatar { display:block; width:56px; height:56px; min-width:56px; min-height:56px; padding:0; border:0; border-radius:14px; background:#edf2ed; overflow:hidden; }
#communityContent .discovery-avatar > *, #communityContent .discovery-avatar svg, #communityContent .discovery-avatar img { display:block; width:100%; height:100%; margin:0; object-fit:cover; }
#communityContent .discovery-identity { min-width:0; }
#communityContent .discovery-name { display:flex; align-items:center; gap:8px; min-height:44px; max-width:100%; padding:0; border:0; background:transparent; color:#252b2d; text-align:left; }
#communityContent .discovery-name strong { font-size:18px; line-height:1.3; overflow-wrap:anywhere; }
#communityContent .discovery-name > span { color:#89918b; font-size:18px; }
#communityContent .discovery-rating, #communityContent .discovery-coach { display:block; font-size:12px; line-height:1.5; color:#68716c; }
#communityContent .discovery-coach { color:#806529; }
#communityContent .community-discovery-card .community-player-menu { position:relative; top:auto; right:auto; align-self:start; margin:0; }
#communityContent .community-discovery-card .community-player-menu summary { padding:0; display:grid; place-items:center; }
#communityContent .community-discovery-card .community-player-menu > div { right:0; z-index:10; }
#communityContent .discovery-facts { margin:10px 0 0; font-size:12px; line-height:1.5; color:#68716c; overflow-wrap:anywhere; }
#communityContent .discovery-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
#communityContent .discovery-tags > span { padding:3px 8px; background:#eef2eb; color:#496454; border-radius:6px; font-size:11px; line-height:1.5; }
#communityContent .discovery-focus { margin:8px 0 0; color:#68716c; font-size:12px; line-height:1.5; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
#communityContent .discovery-actions { display:grid; grid-template-columns:1fr 1.3fr; gap:10px; margin-top:12px; }
#communityContent .discovery-actions button { min-width:0; min-height:44px; border-radius:10px; padding:8px 10px; font-size:14px; font-weight:650; line-height:1.4; }
#communityContent .community-discovery-card .discovery-follow { background:transparent; color:#303b35; border:1px solid #cbd3c9; }
#communityContent .discovery-invite { background:#d4b56b; color:#27332c; border:1px solid #d4b56b; }
#communityContent .community-discovery-page button:focus-visible, #communityContent .community-discovery-page summary:focus-visible { outline:3px solid #9b7932; outline-offset:3px; }
@media (min-width:700px) { #communityContent .community-discovery-page .community-player-grid { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; } }
