.community-feed{max-width:720px;margin:auto}.community-compose{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;background:linear-gradient(120deg,#243e57,#1b2c3e);border:1px solid #405976;border-radius:18px;margin-bottom:22px}.community-compose h2{font-size:20px;margin:0 0 8px}.community-compose p{color:#afc6de;margin:0;font-size:14px}.community-card{border:1px solid #354b62;border-radius:18px;overflow:hidden;background:#172635;margin:18px 0 28px}.community-byline{display:flex;align-items:center;gap:12px;padding:18px}.community-byline small{display:block;color:#9eb3ca;font-size:12px;margin-top:5px}.community-photo{display:block;width:100%;max-height:620px;object-fit:contain;background:#0e1925}.community-caption{padding:0 18px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.community-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}.community-comments{padding:0 18px 18px;background:#122130}.community-comment{border-top:1px solid #30465c;padding:16px 0}.community-comment p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin:8px 0}.community-comment .text-link{font-size:11px;color:#9eb3ca;margin-top:8px}.comment-gif{display:block;max-width:min(100%,280px);max-height:240px;border-radius:12px}.gif-picker{display:block;border:1px dashed #516f8c;border-radius:10px;padding:12px;font-size:13px}.gif-picker small{display:block;color:#9eb3ca;margin:5px 0}.gif-picker input{max-width:100%;font-size:12px}.community-empty{text-align:center;padding:40px 20px;border:1px dashed #405976;border-radius:18px}.community-empty>span{font-size:36px}.community-feedback{font-size:13px;color:#a9d6ff}#photo-preview{border-radius:12px;max-height:300px;margin:12px 0}@media(max-width:600px){.community-compose{align-items:stretch;flex-direction:column;padding:20px}.community-card{border-radius:14px}.community-byline{padding:14px}.community-actions{padding:12px}.community-comments{padding:0 12px 14px}}
/* Community: calm, mobile-first photo and conversation layout. */
body[data-page="community"]{background:#101419}
body[data-page="community"] main{max-width:1060px;padding-top:28px}
body[data-page="community"] .page-heading{max-width:640px;margin:0 auto 24px}
body[data-page="community"] .eyebrow{display:none}
body[data-page="community"] h1{font-size:32px;letter-spacing:-1.1px;margin:0}
body[data-page="community"] #page-subtitle{color:#8f9ba9;font-size:14px;margin-top:8px}
body[data-page="community"] footer{display:none}
.community-feed{max-width:640px}
.community-compose{padding:18px 20px;margin-bottom:18px;border:1px solid #2b333e;border-radius:20px;background:#191f27;gap:12px}
.community-compose h2{font-size:15px;font-weight:600;letter-spacing:-.2px;margin:0 0 5px}
.community-compose p{font-size:12px;color:#96a3b3}
.community-compose .primary{border-radius:24px;min-height:44px;padding:10px 19px;font-size:14px;white-space:nowrap;background:#9dcdff;color:#10263c}
.community-feed-label{padding:0 3px 8px;font-size:13px;font-weight:600;color:#aab5c4}
.community-feed-label .secondary{border:0;background:transparent;font-size:12px;color:#8dbeed;min-height:44px;padding:10px}
.community-card{background:#181e26;border:1px solid #2a323d;border-radius:24px;margin:4px 0 24px;box-shadow:0 8px 32px #00000012}
.community-byline{padding:16px 18px;gap:10px}
.community-byline .avatar{border:0;width:38px;height:38px;background:#2b4057;color:#c5dfff;font-size:12px}
.community-byline strong{font-size:14px;font-weight:600}
.community-byline small{font-size:11px;color:#8e9aaa;margin-top:3px}
.community-photo{max-height:720px;background:#101419;object-fit:contain}
.community-caption{padding:0 18px;margin:16px 0 4px;font-size:14px;line-height:1.6;color:#e2e7ed}
.community-caption:empty{display:none}
.community-actions{padding:10px 14px;gap:8px}
.community-actions .secondary{border:0;background:#252f3c;border-radius:24px;font-size:13px;min-height:44px;padding:10px 18px}
.community-actions .text-link{color:#8e9aaa;font-size:12px;min-height:44px;padding:10px}
.community-comments{border-top:1px solid #2a333f;background:#141a22;padding:4px 18px 18px}
.community-comments[hidden]{display:none}
.community-comments h3{font-size:15px;letter-spacing:-.3px;margin:0}
.community-comments .admin-hint{font-size:11px;color:#8592a3;margin:0 0 14px}
.community-comment{padding:13px 0;border-color:#252e3a}
.community-comment strong{font-size:12px;color:#b9d9f8}
.community-comment p{font-size:14px;margin:6px 0;line-height:1.5}
.community-comment-form{border-top:1px solid #293340;padding-top:12px}
.community-comment-form textarea{font-family:inherit;font-size:16px;border-radius:16px;background:#202a36;min-height:72px}
.community-comment-form .primary{border-radius:24px;min-height:44px;font-size:13px;padding:10px 20px}
.community-gif-options{font-size:12px;color:#9eafc1;margin:12px 0}
.community-gif-options summary{cursor:pointer;padding:10px 0;min-height:44px}
.community-gif-options .gif-picker{border:1px solid #334050;background:#1c2632}
.community-empty{border:1px solid #293441;background:#171e27;border-radius:24px;padding:44px 24px}
body[data-page="community"] button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(max-width:600px){
 .app{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 .mobile-nav{background:#121920ee;border-top:1px solid #293340;padding-left:12px;padding-right:12px}
 .mobile-nav button{border-radius:16px;font-size:10px;min-height:50px;gap:4px}
 .mobile-nav button.active{background:#27384b;color:#b9dcff}
 body[data-page="community"] header{height:56px;border:0;background:#101419}
 body[data-page="community"] .search{visibility:hidden}
 body[data-page="community"] main{padding:4px 0 18px}
 body[data-page="community"] .page-heading{padding:0 18px;margin-bottom:18px}
 body[data-page="community"] h1{font-size:29px;letter-spacing:-1px}
 body[data-page="community"] #page-subtitle{font-size:13px;margin-top:6px}
 .community-compose{margin:0 14px 10px;padding:14px;flex-direction:row;align-items:center;border-radius:18px}
 .community-compose h2{font-size:13px;line-height:1.4;margin:0}
 .community-compose p{display:none}
 .community-compose .primary{padding:10px 16px;font-size:13px}
 .community-feed-label{margin:0 14px;padding:0 0 6px}
 .community-card{border:0;border-bottom:1px solid #2b3440;border-radius:0;background:transparent;box-shadow:none;margin:0 0 18px;padding-bottom:6px}
 .community-byline{padding:12px 16px}
 .community-photo{max-height:75dvh;width:100%}
 .community-caption{padding:0 16px;font-size:14px;margin-top:14px}
 .community-actions{padding:8px 12px}
 .community-comments{padding:4px 16px 18px}
 .community-empty{margin:0 14px;padding:32px 18px}
 .community-empty h2{font-size:21px}
 .community-empty p{font-size:14px;line-height:1.6;color:#a2afbf}
 #photo-form textarea{font-size:16px}
}
@media(prefers-reduced-motion:no-preference){.community-card{animation:community-appear .22s ease-out}@keyframes community-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
