/* 2026-11-14: Community public-memory photo and specific Explorer profile detail. */
.story-body.has-media{grid-template-columns:minmax(0,260px) minmax(0,1fr);align-items:start;gap:19px}
.story-media.story-photo-button{position:relative;display:block;border:0;padding:0;width:100%;min-height:170px;height:210px;cursor:zoom-in;overflow:hidden;background:#edf4f0;box-shadow:0 3px 12px rgba(23,50,71,.06)}
.story-photo-button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:14px}
.story-photo-button span{position:absolute;right:9px;bottom:9px;background:rgba(16,42,32,.82);color:#fff;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800}
.story-photo-button:focus-visible,.story-actions .action:focus-visible{outline:3px solid #2a9268;outline-offset:2px}
.community-story-detail-overlay[hidden]{display:none!important}
.community-story-detail-overlay{position:fixed;inset:0;z-index:11000;background:rgba(8,23,25,.70);display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}
.community-story-detail-dialog{position:relative;width:min(630px,100%);max-height:calc(100dvh - 36px);overflow-y:auto;background:white;border-radius:22px;padding:24px;box-shadow:0 24px 80px rgba(0,0,0,.28);color:#173247}
.community-story-detail-close{position:absolute;right:13px;top:13px;z-index:2;width:36px;height:36px;display:grid;place-items:center;border:1px solid #d7e4da;background:#fff;border-radius:50%;font-size:25px;cursor:pointer;color:#244838}
.community-story-detail-heading{padding-right:38px;margin-bottom:15px}
.community-story-detail-heading span{font-size:10px;font-weight:900;letter-spacing:.13em;color:#2e8a61}
.community-story-detail-heading h2{font-size:24px;line-height:1.25;margin:5px 0 0;overflow-wrap:anywhere}
.community-story-detail-identity{display:flex;align-items:center;gap:13px;margin-bottom:18px}
.community-story-detail-avatar{width:60px;height:60px;border-radius:50%;object-fit:cover;border:2px solid #cae4d4;flex:0 0 auto}
.community-story-initials{display:grid;place-items:center;background:#eff5f0;color:#1f6a4b;font-size:22px;font-weight:900}
.community-story-detail-identity strong,.community-story-detail-identity small{display:block}
.community-story-detail-identity small{color:#668276;font-size:12px;margin-top:3px}
.community-story-detail-photo{display:block;width:100%;max-height:min(57dvh,550px);object-fit:contain;border-radius:14px;background:#edf4f0}
.community-story-detail-footer{padding-top:16px}
.community-story-detail-footer strong,.community-story-detail-footer small{display:block}
.community-story-detail-footer small{color:#6a8378;font-size:12px;margin-top:3px}
.community-story-detail-footer p{color:#38564b;line-height:1.5;margin:9px 0 0}
body.community-story-detail-open{overflow:hidden}
@media(max-width:760px){.story-body.has-media{grid-template-columns:minmax(0,1fr)}.story-media.story-photo-button{height:230px}.community-story-detail-overlay{padding:10px}.community-story-detail-dialog{padding:20px;border-radius:18px;max-height:calc(100dvh - 20px)}.community-story-detail-photo{max-height:52dvh}}

/* 2026-11-14: Profile biography, hometown, and a privacy-gated gallery of public verified memories. */
.community-profile-heading{margin-bottom:15px}
.community-public-profile-identity{margin-bottom:10px}
.community-public-profile-bio{margin:8px 0 12px;color:#425e50;font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
.community-public-profile-place{display:flex;align-items:baseline;gap:12px;border:1px solid #e1ede5;border-radius:13px;padding:10px 13px;background:#f7fbf8;margin:12px 0}
.community-public-profile-place span{font-size:11px;color:#73877d;font-weight:750}
.community-public-profile-place strong{font-size:13px;color:#1d5941}
.community-public-profile-gallery-header{border-top:1px solid #e5ebe7;display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:20px;padding-top:17px}
.community-public-profile-gallery-header h3{margin:0;font-size:17px;color:#183d30}
.community-public-profile-gallery-header span{font-size:10px;color:#71867a;text-align:right}
.community-public-profile-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.community-profile-memory{border:1px solid #dbe7dd;border-radius:15px;padding:0;background:#fff;overflow:hidden;text-align:left;cursor:pointer;color:#1d3d32;box-shadow:0 3px 11px rgba(19,47,29,.045)}
.community-profile-memory:focus-visible,.community-profile-more:focus-visible,.community-profile-back:focus-visible{outline:3px solid #2e8a61;outline-offset:2px}
.community-profile-memory-image{display:grid;place-items:center;aspect-ratio:1.45;background:linear-gradient(135deg,#eff7f0,#dbe9df);overflow:hidden}
.community-profile-memory-image img{width:100%;height:100%;object-fit:cover;display:block}
.community-profile-photo-placeholder{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#fff;color:#247650;border:1px solid #bad8c6;font-size:23px}
.community-profile-memory-info{display:flex;flex-direction:column;gap:4px;padding:12px;min-height:71px}
.community-profile-memory-info strong{font-size:13px;line-height:1.3}
.community-profile-memory-info small{font-size:11px;color:#74877c}
.community-profile-more{margin:17px auto 4px;display:block;border-radius:999px;border:1px solid #cbded0;background:#f2f8f4;padding:11px 19px;color:#225d45;font-size:12px;font-weight:800;cursor:pointer}
.community-profile-back{border:0;background:transparent;color:#1c6c4c;font-size:12px;font-weight:850;cursor:pointer;padding:0 0 14px}
.community-profile-place-link{display:inline-flex;margin-top:14px;padding:10px 14px;text-decoration:none;border-radius:999px;background:#1f6a4b;color:#fff;font-size:12px;font-weight:800}
.community-public-profile-empty{font-size:13px;color:#71867a;line-height:1.5;margin:12px 0 0}
.community-profile-loading{font-size:13px;color:#6d8176;margin:8px 0}
@media(max-width:560px){.community-public-profile-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.community-profile-memory-info{padding:9px}.community-profile-memory-info strong{font-size:12px}.community-public-profile-gallery-header{display:block}.community-public-profile-gallery-header span{display:block;text-align:left;margin-top:5px}}
