/* V71: familiar social feed on desktop. No rules below 1024 px. */
@media screen and (min-width:1024px){
 body:has(.cm--social){background:#f0f2f5}
 body.page-personal-community:has(.cm--social){background:#f0f2f5!important}
 body.page-personal-community:has(.cm--social) .personal-community-workspace{max-width:none;padding:24px var(--personal-gutter,28px) 64px}
 body.page-personal-community:has(.cm--social) .personal-community-heading{display:none}
 body .cm.cm--social{--cm-ink:#20364f;--cm-muted:#718093;--cm-blue:#285bd4;--cm-line:#e1e5eb;background:#f0f2f5;padding:24px 28px 64px;min-height:calc(100dvh - 80px)}
 body.page-personal-community .cm.cm--social{padding:0}
 body .cm.cm--social .cm-shell.cm-shell--narrow{display:grid;grid-template-columns:190px minmax(0,1fr) 240px;gap:24px;max-width:var(--personal-canvas,1180px);margin:0 auto;padding:0;align-items:start}
 body .cm.cm--social .cm-col-left,body .cm.cm--social .cm-col-right{display:grid;gap:18px;position:sticky;top:104px;min-width:0;max-height:calc(100dvh - 128px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd2db transparent}
 body .cm.cm--social .cm-col-main{display:flex;flex-direction:column;min-width:0}
 body .cm.cm--social .cm-social-feed-head{order:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;min-height:44px;padding:0 2px}
 body .cm.cm--social .cm-social-feed-head h1{margin:0;color:#20364f;font-size:21px;line-height:1.3;font-weight:700;letter-spacing:-.5px}
 body .cm.cm--social .cm-social-feed-head p{margin:3px 0 0;font-size:12px;color:#778393;line-height:1.5}
 body .cm.cm--social .cm-social-feed-head>button{display:flex;align-items:center;gap:7px;max-width:48%;min-height:36px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#5e6d80;font:550 12px/1.4 Inter,system-ui,sans-serif;cursor:pointer}
 body .cm.cm--social .cm-social-feed-head>button:hover{background:#e5e9ef}
 body .cm.cm--social .cm-social-feed-head>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body .cm.cm--social .cm-social-feed-head>button svg{width:17px;height:17px;flex-shrink:0}
 body .cm.cm--social .cm-social-feed-head>button svg:last-child{width:13px;height:13px}
 /* The left column is local to the community; the main EYPET rail stays available. */
 body .cm.cm--social .cm-col-left .cm-side-card{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}
 body .cm.cm--social .cm-me::before{display:none}
 body .cm.cm--social .cm-me-head{flex-direction:row;align-items:center;gap:10px;margin:2px 0 14px;text-align:left}
 body .cm.cm--social .cm-me-head .cm-avatar{width:43px;height:43px;flex-shrink:0;font-size:18px;box-shadow:none;border:1px solid #dde3eb}
 body .cm.cm--social .cm-me-head strong{font-size:15px;line-height:1.4;font-weight:650}
 body .cm.cm--social .cm-me-head small{font-size:11px;line-height:1.5;color:#788596}
 body .cm.cm--social .cm-me-stats{margin:0;padding:10px 0 14px;border-color:#dce1e8}
 body .cm.cm--social .cm-me-stats b{font-size:16px;font-weight:650}
 body .cm.cm--social .cm-me-stats span{font-size:10px;line-height:1.5;color:#798595}
 body .cm.cm--social .cm-me-stats div+div{border-color:#dce1e8}
 body .cm.cm--social .cm-me form,body .cm.cm--social .cm-me>.cm-me-cta{margin:12px 0 0}
 body .cm.cm--social .cm-me-cta{min-height:36px;padding:8px;border:0;border-radius:8px;background:#e4eafa;color:#3b64ad;font-size:11px;font-weight:600;gap:6px}
 body .cm.cm--social .cm-me-cta:hover{background:#dce6fa}
 body .cm.cm--social .cm-me-cta svg{width:15px;height:15px;flex-shrink:0}
 body .cm.cm--social .cm-me-text{margin:0;font-size:12px;text-align:left}
 body .cm.cm--social .cm-ver .cm-side-label{margin:2px 8px 8px;font-size:10px;color:#8792a0;letter-spacing:.08em}
 body .cm.cm--social .cm-ver a{min-height:43px;padding:8px;gap:8px;white-space:normal;font-size:12px;font-weight:550;line-height:1.4;border-radius:8px}
 body .cm.cm--social .cm-ver a:hover{background:#e6eaf0}
 body .cm.cm--social .cm-ver a[aria-current=page]{background:#e2e9f9;color:#285bd4;font-weight:650}
 body .cm.cm--social .cm-ver a svg{width:29px;height:29px;flex:0 0 29px;padding:6px;background:transparent;color:#637892}
 body .cm.cm--social .cm-ver a[aria-current=page] svg{background:transparent;color:#285bd4}
 body.page-personal-community .cm.cm--social .cm-ver-sep,body.page-personal-community .cm.cm--social .cm-ver-sep~a{display:none}
 /* Familiar avatar + prompt, followed by the photo/place actions. */
 body .cm.cm--social .cm-composer--card{order:3;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:10px;padding:16px 16px 10px;margin:0 0 18px;border:1px solid #e0e4e9;border-radius:12px;background:#fff;box-shadow:0 1px 2px #152b4610}
 body .cm.cm--social .cm-composer-head .cm-avatar{width:42px;height:42px;font-size:17px}
 body .cm.cm--social .cm-composer-head>div,body .cm.cm--social .cm-composer-toggle{display:none}
 body .cm.cm--social .cm-composer-body,body .cm.cm--social .cm-composer-body[hidden]{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px 6px;min-width:0}
 body .cm.cm--social .cm-composer-box{min-height:44px;max-height:220px;padding:11px 15px;border:1px solid transparent;border-radius:24px;background:#f0f2f5;font-size:14px;line-height:1.5;color:#263c54;box-shadow:none}
 body .cm.cm--social .cm-composer-box::placeholder{color:#7b8796}
 body .cm.cm--social .cm-composer--card:not(.cm-composer--rec) .cm-composer-box:placeholder-shown{height:44px!important}
 body .cm.cm--social .cm-composer-box:focus,body .cm.cm--social .cm-composer--card:focus-within .cm-composer-box{min-height:106px;border-radius:12px;border-color:#b7c9eb;background:#fafcff;box-shadow:none}
 body .cm.cm--social .cm-composer-tools{display:flex;flex-wrap:wrap;gap:0;min-width:0;padding-top:8px;border-top:1px solid #edf0f3;grid-column:1;align-self:stretch}
 body .cm.cm--social .cm-composer-tools .cm-tool-btn{min-height:36px;padding:6px 8px;gap:5px;border-radius:7px;background:transparent;border:0;color:#687587;font-size:12px;font-weight:600}
 body .cm.cm--social .cm-composer-tools .cm-tool-btn:hover{background:#f0f2f5}
 body .cm.cm--social .cm-composer-tools .cm-tool-btn svg{width:21px;height:21px;padding:2px;border-radius:0;background:none;color:#36a36e}
 body .cm.cm--social .cm-composer-tools .cm-tool-btn:nth-child(2) svg{color:#db8e4c}
 body .cm.cm--social .cm-composer-tools .cm-tool-btn.is-set{color:#23845b}
 body .cm.cm--social .cm-composer-publish{grid-column:2;min-height:34px;margin:8px 0 0;padding:0 13px;border:0;border-radius:7px;background:#285bd4;font-size:12px;font-weight:600;line-height:1.4;color:#fff;box-shadow:none}
 body .cm.cm--social .cm-composer--card.cm-composer--rec{grid-template-columns:minmax(0,1fr)}
 body .cm.cm--social .cm-composer--rec .cm-composer-head{display:none}
 body .cm.cm--social .cm-composer--rec .cm-composer-box{min-height:92px;border-radius:12px}
 body .cm.cm--social .cm-composer--rec .cm-composer-tools--one{grid-column:1/-1;border:0;padding:0}
 body .cm.cm--social .cm-composer--rec .cm-composer-publish{grid-column:1/-1;width:100%;min-height:40px;margin:0}
 body .cm.cm--social .cm-join{order:3;display:flex;margin:0 0 18px;padding:16px;border:1px solid #e0e4e9;border-radius:12px;background:#fff;box-shadow:0 1px 2px #152b4610}
 /* These cards open real pet profiles; they do not imply temporary stories. */
 body .cm.cm--social .cm-social-discover{display:block;order:4;min-width:0;margin:0 0 18px}
 body .cm.cm--social .cm-social-discover-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 10px}
 body .cm.cm--social .cm-social-discover-title h2{margin:0;font-size:13px;line-height:1.5;font-weight:650;color:#5b6b7d}
 body .cm.cm--social .cm-social-discover-title>span{font-size:10px;line-height:1.5;color:#8793a2}
 body .cm.cm--social .cm-social-pets-wrap{position:relative;min-width:0}
 body .cm.cm--social .cm-social-scroll{position:absolute;top:68px;z-index:2;display:grid;place-items:center;width:34px;height:34px;margin:0;padding:0;border:1px solid #dce2ea;border-radius:50%;background:#fff;color:#6d7e93;box-shadow:0 2px 8px #152b4620;cursor:pointer}
 body .cm.cm--social .cm-social-scroll[hidden]{display:none}
 body .cm.cm--social .cm-social-scroll--prev{left:-10px}
 body .cm.cm--social .cm-social-scroll--next{right:-10px}
 body .cm.cm--social .cm-social-scroll svg{width:17px;height:17px;transform:rotate(-90deg)}
 body .cm.cm--social .cm-social-scroll--prev svg{transform:rotate(90deg)}
 body .cm.cm--social .cm-social-pets{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 30px)/4);gap:10px;padding:2px 1px 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#cbd2db transparent}
 body .cm.cm--social .cm-social-pet{position:relative;display:block;height:170px;min-width:0;overflow:hidden;scroll-snap-align:start;border:1px solid #dfe4ea;border-radius:11px;background:#dce6f7;box-shadow:0 1px 2px #152b4610;text-decoration:none;transition:box-shadow .16s}
 body .cm.cm--social .cm-social-pet:hover{box-shadow:0 3px 10px #152b4625}
 body .cm.cm--social .cm-social-pet>.cm-social-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin:0;border:0;border-radius:0;background:linear-gradient(155deg,#e3ecf9,#b7cbea);color:#7090bf;font-size:56px;font-weight:650;box-shadow:none}
 body .cm.cm--social .cm-social-cover img{display:block;width:100%;height:100%;object-fit:cover}
 body .cm.cm--social .cm-social-pet:not(.cm-social-pet--create)::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 42%,#182d4dc9);pointer-events:none}
 body .cm.cm--social .cm-social-pet>.cm-social-face{position:absolute;left:10px;top:10px;z-index:1;width:33px;height:33px;border:3px solid #fff;border-radius:50%;background:#e7effe;font-size:12px;color:#285bd4;box-shadow:0 0 0 2px #5483e1}
 body .cm.cm--social .cm-social-pet-name{position:absolute;bottom:12px;left:11px;right:8px;z-index:1;color:white}
 body .cm.cm--social .cm-social-pet-name strong{display:block;font-size:13px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
 body .cm.cm--social .cm-social-pet-name small{display:block;margin-top:3px;font-size:10px;font-weight:400;color:#e4eaf4;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body .cm.cm--social .cm-social-pet--create{background:white}
 body .cm.cm--social .cm-social-pet--create>.cm-social-cover{height:112px;background:#dce6f6}
 body .cm.cm--social .cm-social-cover--empty svg{width:44px;height:44px;color:#91acd3}
 body .cm.cm--social .cm-social-create-plus{position:absolute;top:94px;left:calc(50% - 18px);display:grid;place-items:center;width:36px;height:36px;border:3px solid white;border-radius:50%;background:#285bd4;color:white;z-index:1}
 body .cm.cm--social .cm-social-create-plus svg{width:19px;height:19px}
 body .cm.cm--social .cm-social-pet--create>strong{position:absolute;left:6px;right:6px;bottom:12px;font-size:11px;line-height:1.3;font-weight:600;text-align:center;color:#425b78}
 /* Desktop filters precede the composer; mobile retains its existing controls. */
 body .cm.cm--social .personal-feed-filters[hidden]{order:1;display:flex!important;gap:3px;flex-wrap:wrap;margin:0 0 14px;padding:5px 6px;border:1px solid #e0e4e9;border-radius:12px;background:#fff}
 body .cm.cm--social .personal-feed-filters a{display:flex;flex:1;align-items:center;justify-content:center;min-height:39px;padding:7px 9px;border:0;border-radius:7px;background:transparent;color:#788494;font-size:12px;font-weight:600;text-decoration:none;line-height:1.4}
 body .cm.cm--social .personal-feed-filters a[aria-current=page]{background:#eaf0fd;color:#285bd4;box-shadow:none}
 body .cm.cm--social .personal-feed-filters a:hover{background:#f0f2f5}
 body .cm.cm--social .cm-col-main .cm-view{display:none}
 body .cm.cm--social .cm-wall-head{order:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:13px 16px;border:1px solid #e0e4e9;border-radius:12px;background:white}
 body .cm.cm--social .cm-wall-head h2{margin:0;font-size:13px;line-height:1.4;font-weight:650;color:#5b6c80;letter-spacing:0}
 body .cm.cm--social .cm-wall-head>span{padding:0;background:transparent;font-size:10px;color:#8b96a4;font-weight:500}
 body .cm.cm--social .cm-stream{order:6;display:grid;gap:18px}
 body .cm.cm--social .cm-none{order:6;border:1px solid #e0e4e9;border-radius:12px;background:white}
 body .cm.cm--social .cm-pagination{order:7;font-size:13px}
 /* Photo, reactions and comment bubbles follow the same hierarchy on every card. */
 body .cm.cm--social .cm-post{display:flex;flex-direction:column;gap:0;padding:0;margin:0;border:1px solid #e0e4e9;border-radius:12px;background:#fff;box-shadow:0 1px 2px #152b4610;overflow:visible;scroll-margin-top:100px}
 body .cm.cm--social .cm-post-head{order:0;gap:10px;padding:14px 16px;margin:0;min-width:0}
 body .cm.cm--social .cm-post-head .cm-avatar{width:40px;height:40px;flex-shrink:0;font-size:16px}
 body .cm.cm--social .cm-post-who strong{font-size:14px;font-weight:650;color:#273d55}
 body .cm.cm--social .cm-post-who small{font-size:10px;line-height:1.5;color:#8b96a3;margin-top:2px}
 body .cm.cm--social .cm-badge{min-height:24px;padding:3px 7px;font-size:9px;font-weight:550;background:#f0f3f8;color:#7a8da5;border-radius:6px;white-space:nowrap}
 body .cm.cm--social .cm-badge svg{width:11px;height:11px}
 body .cm.cm--social .cm-more summary{width:28px;height:28px;font-size:16px;color:#8390a1}
 body .cm.cm--social .cm-post-text,body .cm.cm--social .cm-post-sub{order:1;margin:0;padding:0 16px 14px;font-size:14px;line-height:1.65;color:#3c5067;overflow-wrap:anywhere}
 body .cm.cm--social .cm-post-photo{order:2;margin:0;border-radius:0;overflow:hidden;background:#f0f2f5}
 body .cm.cm--social .cm-post-photo img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}
 body .cm.cm--social .cm-place-card{order:2;margin:0 16px 14px;border-radius:10px;overflow:hidden}
 body .cm.cm--social .cm-post-summary{order:3;display:flex;align-items:center;gap:8px;min-height:39px;margin:0 16px;padding:8px 0;font-size:12px;line-height:1.5;color:#8190a2}
 body .cm.cm--social .cm-post-summary[hidden]{display:none}
 body .cm.cm--social .cm-post-summary-likes b{font-weight:500;color:#718093}
 body .cm.cm--social .cm-post-summary-likes svg{width:16px;height:16px;fill:#5585d7;stroke:#5585d7}
 body .cm.cm--social .cm-post-actions{order:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0 12px;padding:4px 0;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3}
 body .cm.cm--social .cm-post-actions .cm-like{display:contents}
 body .cm.cm--social .cm-post-actions :is(.cm-like button,.cm-action){display:flex;align-items:center;justify-content:center;gap:6px;min-height:37px;width:100%;min-width:0;margin:0;padding:7px 4px;border:0;border-radius:7px;background:transparent;color:#6b798c;font-size:12px;font-weight:600;white-space:normal;line-height:1.4;text-decoration:none}
 body .cm.cm--social .cm-post-actions :is(.cm-like button,.cm-action):hover{background:#f0f2f5}
 body .cm.cm--social .cm-post-actions :is(.cm-like button,.cm-action) svg{width:18px;height:18px;flex:0 0 18px;color:currentColor}
 body .cm.cm--social .cm-post-actions .cm-like button[aria-pressed=true]{color:#285bd4;background:#eef3fd}
 body .cm.cm--social .cm-post-actions .cm-like button[aria-pressed=true] svg{fill:currentColor}
 body .cm.cm--social .cm-thread{order:5;padding:12px 16px 14px;gap:9px}
 body .cm.cm--social .cm-comment-bubble{padding:8px 11px;background:#f0f2f5;border-radius:15px}
 body .cm.cm--social .cm-comment-who strong{font-size:12px;font-weight:650}
 body .cm.cm--social .cm-comment-who,body .cm.cm--social .cm-comment-body{font-size:12px;line-height:1.6}
 body .cm.cm--social .cm-comment-foot{font-size:10px;min-height:22px}
 body .cm.cm--social .cm-comment-row{flex-wrap:nowrap;gap:7px;min-width:0}
 body .cm.cm--social .cm-comment-row textarea{flex:1;min-width:0;min-height:38px;height:38px;padding:8px 12px;border-radius:20px;background:#f0f2f5;font-size:12px;line-height:20px}
 body .cm.cm--social .cm-comment-row button{height:36px;min-width:0;padding:0 10px;border-radius:8px;font-size:11px;font-weight:600}
 /* Right-hand directory, with genuine profile links and location controls. */
 body .cm.cm--social .cm-col-right .cm-side-card{padding:0 0 18px;border:0;border-bottom:1px solid #dce1e8;border-radius:0;background:transparent;box-shadow:none}
 body .cm.cm--social .cm-col-right .cm-side-label{margin:0 0 14px;font-size:12px;font-weight:650;text-transform:none;letter-spacing:0;color:#718093}
 body .cm.cm--social .cm-side-map{height:84px;border:1px solid #dce3ed;border-radius:10px;margin-bottom:12px;background-color:#e8edf6;opacity:.85}
 body .cm.cm--social .cm-side-city{min-height:42px;padding:7px 9px;gap:8px;border-color:#dde3eb;border-radius:8px;background:#fff;font-size:12px;font-weight:550;color:#556b85}
 body .cm.cm--social .cm-side-city-ico{width:25px;height:25px;border-radius:7px}
 body .cm.cm--social .cm-side-city-ico svg{width:14px;height:14px}
 body .cm.cm--social .cm-side-help{font-size:11px;line-height:1.65;color:#8a95a4}
 body .cm.cm--social .cm-active{display:grid;grid-template-columns:minmax(0,1fr);gap:3px}
 body .cm.cm--social .cm-active a{display:flex;flex-direction:row;align-items:center;gap:11px;padding:8px 5px;border-radius:8px;text-align:left}
 body .cm.cm--social .cm-active a:hover{background:#e6eaf0}
 body .cm.cm--social .cm-active .cm-avatar{width:38px;height:38px;flex-shrink:0;font-size:15px;box-shadow:none;border:1px solid #dce3ed}
 body .cm.cm--social .cm-active strong{font-size:12px;font-weight:600;line-height:1.4}
 body .cm.cm--social .cm-active small{font-size:10px;line-height:1.4;color:#8a95a4}
 body .cm.cm--social .cm-kind{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
 body .cm.cm--social .cm-kind-head{gap:8px}
 body .cm.cm--social .cm-kind-ico{width:27px;height:27px;border-radius:8px;background:#e2eee7;color:#779b87}
 body .cm.cm--social .cm-kind strong{font-size:12px;font-weight:600;color:#748478}
 body .cm.cm--social .cm-kind p{font-size:11px;line-height:1.75;color:#8a95a4}
 body .cm.cm--social :is(a,button,input,textarea,summary,[tabindex]):focus-visible{outline:3px solid #9dbcf5;outline-offset:3px}
 body .cm.cm--social .cm-social-pet:focus-visible{outline-offset:-4px}
}
@media screen and (min-width:1024px) and (max-width:1279px){
 body .cm.cm--social .cm-shell.cm-shell--narrow{grid-template-columns:minmax(0,1fr) 220px;gap:20px}
 body .cm.cm--social .cm-col-left{display:none}
 body .cm.cm--social .cm-col-right{display:grid;grid-template-columns:minmax(0,1fr);position:sticky;top:104px}
 body .cm.cm--social .cm-col-main .cm-view:has(.cm-scope){order:2;display:flex;justify-content:flex-end;padding:0;margin:0 0 12px;border:0;background:transparent;box-shadow:none}
 body .cm.cm--social .cm-view-row{display:none}
 body .cm.cm--social .cm-scope{margin:0;padding:3px;background:#f0f2f5;border-radius:8px;gap:3px}
 body .cm.cm--social .cm-scope a{min-height:29px;padding:6px 10px;border-radius:6px;font-size:11px;line-height:1.4}
 body.page-personal-community:has(.cm--social) .personal-community-workspace{padding:24px var(--personal-gutter,28px) 64px}
}
@media screen and (min-width:1280px) and (max-width:1439px){
 body .cm.cm--social .cm-shell.cm-shell--narrow{grid-template-columns:166px minmax(0,1fr) 210px;gap:20px}
 body .cm.cm--social .cm-ver a{font-size:11px}
 body .cm.cm--social .cm-composer-tools .cm-tool-btn{font-size:11px;padding-left:5px;padding-right:5px}
}
@media screen and (min-width:1024px) and (prefers-reduced-motion:reduce){
 body .cm.cm--social .cm-social-pet{transition:none}
}
