
.usm-community-shell{max-width:1180px;margin:24px auto;font-family:Arial,"Segoe UI",sans-serif;color:#152338}
.usm-community-shell *{box-sizing:border-box;overflow-wrap:anywhere}
.usm-profile-cover{border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#111d31,#294e73);background-size:cover;background-position:center;margin-bottom:18px;box-shadow:0 10px 28px rgba(9,20,35,.12)}
.cover-spacer{height:clamp(150px,22vw,270px)}
.profile-summary{background:linear-gradient(180deg,rgba(8,16,29,.68),rgba(8,16,29,.97));color:#fff;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:18px;padding:18px 22px}
.profile-photo-large{width:112px;height:112px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 7px 22px rgba(0,0,0,.24);margin-top:-56px;background:#fff}
.profile-title h1{margin:0!important;color:#fff!important;font-family:Arial,"Segoe UI",sans-serif!important;font-size:clamp(22px,2.5vw,32px)!important;line-height:1.15!important}
.profile-handle{color:#c8d7e8;margin:3px 0 8px}
.profile-stats{display:flex;gap:18px;flex-wrap:wrap}.profile-stats span{display:grid;text-align:center;font-size:12px!important;color:#dce7f4}.profile-stats strong{font-size:18px!important;color:#fff}
.usm-badge{display:inline-flex;width:max-content;border-radius:999px;padding:5px 9px;font-size:10px!important;font-weight:800;line-height:1.1!important}
.usm-badge.registered{background:#e8edf4;color:#33445c}.usm-badge.verified{background:#e7f2ff;color:#125ea8;border:1px solid #bedbfa}.usm-badge.certified{background:#fff1c7;color:#765100;border:1px solid #ead483}
.usm-member-identity{display:flex;gap:11px;align-items:center;min-width:0}.member-photo{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#edf1f5}.member-copy{display:grid;gap:1px;min-width:0}.member-name{font-weight:800;text-decoration:none;color:#122139!important}.member-handle{font-size:11px!important;color:#718095}
.community-composer,.community-post,.public-about,.public-profile-note,.status-note{background:#fff;border:1px solid #e2e7ee;border-radius:16px;padding:18px;margin:14px 0}
.profile-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.community-composer textarea,.content-card textarea{width:100%;box-sizing:border-box}
.composer-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px;flex-wrap:wrap}.file-pill{display:inline-flex!important;width:auto!important;background:#eef3f8;padding:9px 12px;border-radius:10px;cursor:pointer;font-weight:700}
.community-feed{display:grid;gap:14px}.post-time{font-size:10px!important;color:#8995a3;margin:7px 0 10px 54px}.post-body{font-size:15px!important;line-height:1.55!important;margin:12px 0;white-space:pre-wrap}.post-image{width:100%;max-height:680px;object-fit:contain;border-radius:12px;background:#f3f5f7;margin-top:10px}
.post-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #edf0f4;margin-top:13px;padding-top:11px}.post-footer a,.text-button{font-size:12px!important;font-weight:700;color:#2457c5;text-decoration:none}.inline-form{display:inline}.text-button{border:0;background:none;padding:0;cursor:pointer}
.people-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #edf0f4;padding:10px 0}.people-row:last-child{border-bottom:0}.link-row{text-decoration:none;color:inherit}
.relationship-controls{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.relationship-controls form{margin:0}.relationship-state{display:inline-flex;align-items:center;padding:9px 12px;border-radius:9px;background:#eef3f7;font-weight:700;font-size:12px!important}
.message-thread{display:grid;gap:9px;max-height:520px;overflow:auto;padding:16px 3px}.message-bubble{max-width:78%;padding:10px 12px;border-radius:14px;background:#eef2f6}.message-bubble.mine{justify-self:end;background:#e8efff}.message-bubble.theirs{justify-self:start}.message-bubble small{display:block;margin-top:5px;color:#748295;font-size:9px!important}
.notification-row{display:flex;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid #edf0f4}.notification-row.unread{background:#f1f6ff;border-radius:10px}.notification-row small{color:#7d8997;font-size:10px!important}
.usm-community-alert{padding:12px 14px;border-radius:10px;margin:12px 0}.usm-community-alert.success{background:#eaf8ee;color:#1c6631}.usm-community-alert.error{background:#fff1f1;color:#8a2727}
@media(max-width:720px){.profile-summary{grid-template-columns:auto minmax(0,1fr)}.profile-stats{grid-column:1/-1;justify-content:flex-start}.profile-photo-large{width:88px;height:88px;margin-top:-44px}.profile-edit-grid{grid-template-columns:1fr}.people-row{align-items:flex-start;flex-direction:column}.message-bubble{max-width:92%}}

.community-media-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.community-media-fields label{display:grid;gap:5px;font-size:12px!important;font-weight:700;color:#33445c}
.community-media-fields input[type="file"],.community-media-fields input[type="url"]{width:100%;max-width:100%;font-size:12px!important}
.community-media-fields .live-toggle{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:#fff1f1;color:#8d1f1f}
.community-media-fields .live-toggle input{width:auto}
.composer-help{font-size:11px!important;color:#6f7d8c;margin:10px 0 0}
.community-video{margin-top:12px;max-width:100%;overflow:hidden;border-radius:12px;background:#05070a}
.community-video video,.community-video iframe{max-width:100%!important;width:100%!important}
.community-oembed{position:relative;width:100%;overflow:hidden}
.live-badge{display:inline-flex;align-items:center;width:max-content;background:#d71920;color:#fff;padding:5px 9px;border-radius:999px;font-size:10px!important;font-weight:900;letter-spacing:.04em;margin:5px 0 8px}
.community-video-link{padding:12px;background:#f3f5f7;margin:0}
@media(max-width:720px){.community-media-fields{grid-template-columns:1fr}}
