/* Owner-requested black-first shell and image-led Community feed. */
:root{--sea-night:#000;--sea-ink:#090909;--paper:#f7f7f5;--text:#050505;background:#000;color:#f7f7f5}
html,body{background:#000;color:#f7f7f5}
.landscape,.shade{display:none}
.topbar{background:#000}
.brand span,.prototype{color:#a7a7a7}
.search-wrap,.place-card,.people-feature,.glass,.table-card,.note-card,.local-city-wrap,.local-card,.city-copy,.city-weather,.city-map,.city-sights{background:#0b0b0b!important;border-color:#292929!important;box-shadow:none!important}
.place-body{background:#0b0b0b}
.place-card:hover{border-color:#f0f0f066}
.search-wrap input,input,select,textarea{color:#f7f7f5}
.filter-row button{background:#0b0b0b;border-color:#292929;color:#bdbdbd}
.filter-row button[aria-pressed="true"]{background:#f7f7f5;border-color:#f7f7f5;color:#050505}
.bottom-nav{background:#050505f7;border-color:#252525;box-shadow:0 -12px 34px #0008}
.bottom-nav button{color:#8c8c8c}
.bottom-nav button[aria-current="page"]{color:#fff;background:#ffffff0a}
.bottom-nav button[aria-current="page"] svg{color:var(--lime)}
dialog{background:#080808;border-color:#303030;color:#f7f7f5}
dialog::backdrop{background:#000d}
dialog input,dialog select,dialog textarea,.community-field input,.community-field select,.community-field textarea{background:#111;border-color:#303030;color:#f7f7f5}
dialog select option,.community-field select option{background:#111;color:#f7f7f5}
.city-back,.local-attribution a,.city-photo-credit a,.weather-source,.tourism-source,.city-map>a{color:#e5e5e5}

body[data-view="community"] main{max-width:980px;padding-top:0}
body[data-view="community"] .topbar{border-bottom:1px solid #1e1e1e;padding-block:16px}
.community-city-wrap{position:sticky;top:0;z-index:4;max-width:none;margin-inline:-1px;padding:7px 12px;border:0;border-bottom:1px solid #222;border-radius:0;background:#050505;backdrop-filter:blur(22px)}
.community-city-wrap .city-pin{display:none}
.community-city-wrap>div{text-align:center}
.community-city-wrap label{color:#777;font-size:7px;letter-spacing:1.6px}
.community-city-wrap select{width:auto;max-width:75%;min-height:44px;padding:5px 24px 4px 8px;color:#fff;font-size:17px;font-weight:600;text-align:center;text-align-last:center;background:#050505}
.community-city-wrap select option{background:#050505;color:#fff}
.community-city-wrap .city-hint{color:#777;font-size:8px;letter-spacing:.8px}
.community-categories{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -1px 9px;padding:0 3px 5px;border-bottom:1px solid #1d1d1d}
.community-categories::-webkit-scrollbar{display:none}
.community-categories button{flex:0 0 auto;min-height:44px;padding:9px 15px;border:0;border-radius:0;background:#000;color:#777;font-size:11px}
.community-categories button[aria-pressed="true"]{position:relative;background:#000;color:#fff}
.community-categories button[aria-pressed="true"]:after{content:"";position:absolute;left:15px;right:15px;bottom:2px;height:2px;border-radius:2px;background:var(--lime)}
.community-tools{min-height:48px;margin:0 0 7px;padding:0 3px;border-bottom:1px solid #1d1d1d}
.community-tools>span{color:#777}
.community-tools .share-story{width:auto;min-width:44px;min-height:44px;padding:8px 13px;border-radius:22px;background:var(--lime);color:#070707;font-weight:700}
.community-status{min-height:0;margin:0 3px 10px;color:#777;font-size:9px}

.community-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
.community-post{width:100%;overflow:hidden;background:#101010;border:1px solid #222;border-radius:6px;box-shadow:none}
.community-post:focus-within{border-color:#777}
.post-open{background:#101010}
.post-open>img{height:auto;aspect-ratio:1/1;object-fit:cover;background:#171717}
.community-post:nth-child(3n+1) .post-open>img{aspect-ratio:4/5}
.community-post:nth-child(4n+2) .post-open>img{aspect-ratio:5/4}
.post-body{padding:10px 10px 7px}
.post-category{margin-bottom:6px;color:#9d9d9d;font-size:7px;letter-spacing:1px}
.post-body h3{margin:0 0 7px;color:#f5f5f5;font-size:15px;line-height:1.28;letter-spacing:-.2px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-body p{color:#9c9c9c;font-size:10px;line-height:1.55;-webkit-line-clamp:2}
.post-meta{gap:6px;padding:7px 9px 4px}
.post-avatar{width:24px;height:24px;background:#2a2a2a;color:#eee;font-family:Arial,Helvetica,sans-serif;font-size:10px}
.post-meta strong{color:#d6d6d6;font-size:9px;line-height:1.2}
.post-meta>div>span{margin-top:2px;color:#909090;font-size:8px}
.sample-story{padding:3px;color:#a0a0a0;border-color:#444;font-size:8px;letter-spacing:.5px}
.post-actions{gap:1px;padding:1px 5px 5px}
.post-actions button,.community-like{min-height:44px;padding:7px 5px;color:#949494;font-size:9px}
.community-like[aria-pressed="true"]{color:var(--lime)}
.post-city{display:none}
.community-more{border-color:#333;color:#fff}
.community-detail .post-meta{padding:5px 0 18px}
.community-detail-image{border-radius:4px}
.community-sample-note{background:#111;border-color:#292929}

@media(max-width:820px){.community-feed{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  body[data-view="community"] main{padding:0 7px 28px}
  body[data-view="community"] .topbar{padding:11px 14px}
  .community-city-wrap{margin-inline:-7px;padding-inline:14px}
  .community-city-wrap .city-hint{display:block;max-width:84px;text-align:right}
  .community-categories{margin-inline:-7px;padding-inline:7px}
  .community-tools{margin-inline:0}
  .community-tools .share-story{position:static;font-size:18px}
  .community-tools .share-story span{display:none}
  .community-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .community-post{border-radius:5px}
  .post-body{padding:9px 8px 6px}
  .post-body h3{font-size:14px;line-height:1.3}
  .post-body p{font-size:9px;line-height:1.45}
  .post-meta{padding:7px 8px 3px}
  .post-actions{padding-inline:3px}
  .post-actions button{font-size:8px}
}

@media(max-width:350px){.community-feed{gap:5px}.post-body h3{font-size:13px}.community-categories button{padding-inline:12px}.post-meta{display:grid;grid-template-columns:24px minmax(0,1fr)}.sample-story{grid-column:1/-1;margin-left:30px;justify-self:start}}
@media(prefers-reduced-motion:reduce){.community-post,.community-post *{scroll-behavior:auto}}
body:not([data-view="places"]):not([data-view="place"]) .topbar{display:none}
body[data-view="local-city"] main{max-width:840px;padding-top:0}
@media(max-width:700px){body[data-view="local-city"] main{padding:0 14px 30px}}
