/* Four private destinations live outside the scroll area; profile cards cannot slide behind them. */
#community-account-nav{flex-shrink:0;background:#0d151f;border-bottom:1px solid #31414d}
.profile-home-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;padding:10px 28px}
#community-account-nav .profile-home-nav button{min-width:0;min-height:44px;padding:10px 5px;font:inherit;font-size:14px;line-height:1.4;background:#17232f;cursor:pointer;border:1px solid #415361;border-radius:8px;color:#c5d3de}
#community-account-nav .profile-home-nav button[aria-pressed=true]{background:#d9bb7c;color:#15232d;border-color:#d9bb7c}
.profile-score-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #3a4d59;margin:16px 0;padding:15px 0;text-align:center;gap:10px}.profile-score-strip b{font-size:24px;display:block;color:#e6ce9b}.profile-score-strip span{display:block;font-size:12px;color:#b6c9d4;margin-top:4px}
.profile-more,.progress-more,.journal-more,.journal-filter-tools,.profile-settings-group{border:1px solid #3a505c;border-radius:10px;background:#14242f;margin:12px 0;padding:0 14px}
.profile-more>summary,.progress-more>summary,.journal-more>summary,.journal-filter-tools>summary,.profile-settings-group>summary{min-height:48px;padding:13px 0;font-size:14px;line-height:1.5;color:#dec994;cursor:pointer}
.profile-more[open],.progress-more[open],.journal-more[open],.journal-filter-tools[open],.profile-settings-group[open]{padding-bottom:16px}.profile-secondary-tools{display:flex;flex-wrap:wrap;gap:8px}.profile-secondary-tools button{min-height:44px;padding:10px 12px;border:1px solid #4c6470;border-radius:8px;font-size:13px}
.community-section-picker>summary{min-height:44px;cursor:pointer;display:list-item;line-height:44px;color:#c9d5dd;font-size:13px}.community-section-picker:not([open]){padding-block:0!important}.community-section-picker[open]>label{margin:5px 0 10px}.community-section-picker>summary:focus-visible{outline:2px solid #e6bb79;outline-offset:-2px}
.journal-simple-heading{margin-bottom:12px}.journal-simple-heading h2{font-size:28px!important;margin:5px 0!important}.journal-simple-heading p{font-size:14px!important;margin:8px 0!important}.journal-card-summary{margin-bottom:10px}.journal-views{display:flex;gap:8px}.journal-views button{min-height:44px}.journal-filter-tools .journal-filters{margin:6px 0}.journal-footnote{margin-top:16px}.profile-page .people-profile{padding:12px 0}.profile-page .people-profile p{display:none}.profile-page .profile-contribution-heading{margin-top:20px}
.story-primary-actions{display:flex;gap:8px;margin:12px 0}.story-primary-actions button{min-height:44px;flex:1;padding:10px 8px;border:1px solid #658276;border-radius:8px;font-size:13px;color:#e9d4a8}.story-primary-actions #event-discuss{background:#d7b97c;color:#14252a}
@media(max-width:800px){.profile-home-nav{padding-inline:20px}}
#community-account-nav .profile-home-nav button:hover{border-color:#b69669}
#community-account-nav .profile-home-nav button:focus-visible{outline:2px solid #e6bb79;outline-offset:2px}
@media(max-width:700px){
 .profile-home-nav{gap:5px;padding:8px 14px}#community-dialog.keyboard-open #community-account-nav{display:none}#community-account-nav .profile-home-nav button{font-size:13px;padding:10px 4px}.profile-page-top .community-back{font-size:12px}.profile-member-since{font-size:11px}.profile-page .membership-hero{margin-bottom:12px}.profile-page .profile-actions{margin:10px 0}.profile-score-strip{padding:12px 0}.profile-score-strip b{font-size:21px}.profile-more,.progress-more,.journal-more{padding-inline:12px}.profile-secondary-tools{display:grid;grid-template-columns:1fr;width:100%}.profile-secondary-tools button{text-align:left}.journal-views{display:grid;grid-template-columns:1fr 1fr}.journal-views button{font-size:12px!important;padding:10px 6px!important}.journal-filter-tools .journal-filters{grid-template-columns:1fr}.journal-card .journal-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.journal-simple-heading h2{font-size:25px!important}.profile-page .profile-contributions{margin-top:16px}.profile-page .profile-feed-controls{gap:8px}.profile-page .profile-feed-controls .community-filter button{min-height:44px}
 body:not(.fullscreen-map) .explorer.has-detail{height:calc(100% - 82px);max-height:calc(100% - 82px)}.explorer.has-detail .detail{min-height:0;height:100%;flex:1;overscroll-behavior:contain}.detail.story-detail .story-primary-actions{position:sticky;top:26px;z-index:2;background:#101b27;padding:8px 0;margin:8px 0}.detail.story-detail .detail-close{z-index:3}.detail.story-detail .story-hook{font-size:14px}#community-account-nav .profile-home-nav button,.story-primary-actions button{touch-action:manipulation}
}
