/* Profile phase: scoped presentation over native header, menus and controls. */
.loop-shell .loop-member-page{max-width:1200px;grid-template-columns:296px minmax(0,1fr);gap:28px;margin:8px auto 32px}
.loop-member-page .loop-member-card{position:static;background:var(--loop-surface);border:1px solid var(--loop-border);border-radius:var(--loop-radius-lg);overflow:visible;padding-bottom:16px}
.loop-member-page .loop-member-card .profile-banner-image-container>img.img-profile-header-background{border-radius:var(--loop-radius-lg) var(--loop-radius-lg) 0 0}
.loop-member-page .loop-member-card .profile-banner-image-container{border-radius:var(--loop-radius-lg) var(--loop-radius-lg) 0 0}
.loop-member-page .loop-member-card .profile-user-photo-container{border-color:var(--loop-surface)!important}
.loop-member-page .loop-member-card .img-profile-data h1{font-size:25px!important;font-weight:700;letter-spacing:-.6px;line-height:1.35!important}
.loop-member-page .loop-member-card .img-profile-data h2{font-size:14px!important}
.loop-member-page .loop-member-extra{padding:0 18px}
.loop-member-page .loop-member-bio{font-size:14px;line-height:1.65;color:var(--loop-text);text-align:left;overflow-wrap:anywhere;margin:16px 0}
.loop-member-page .loop-member-direct-actions{gap:8px;flex-wrap:wrap}
.loop-member-page .loop-member-direct-actions :is(a,button){min-height:40px;font-size:13px}
.loop-member-page .loop-member-since,.loop-member-page .loop-member-post-count{font-size:12px;color:var(--loop-muted)}
.loop-member-page .loop-member-connections{margin:18px 16px 0;border-top:1px solid var(--loop-border);padding-top:12px}
.loop-member-page .loop-member-tabs{background:var(--loop-surface);border:1px solid var(--loop-border);border-radius:var(--loop-radius-md);margin-bottom:20px;overflow-x:auto;scrollbar-width:thin}
.loop-member-page .loop-member-tabs .list-group{display:flex;flex-wrap:nowrap!important;justify-content:flex-start;min-width:max-content;padding:0 12px}
.loop-member-page .loop-member-tabs .list-group>a.list-group-item{min-height:48px!important;padding:14px 16px!important;font-size:14px!important}
.loop-member-page .wall-entry{border:1px solid var(--loop-border)!important;border-radius:var(--loop-radius-lg)!important;overflow:hidden;margin-bottom:18px}
.loop-member-page .wall-entry>.panel>.panel-body{padding:18px 20px}
.loop-member-page .wall-entry-content{font-size:15px;line-height:1.65}
.loop-member-page .pinned-entry .stream-entry-icon-list .icon-pin{display:inline-flex;align-items:center;gap:6px;color:var(--loop-accent);font-size:13px;margin-bottom:10px}
.loop-member-page .pinned-entry .stream-entry-icon-list .icon-pin:after{content:'Pinned';font:600 12px var(--loop-font)}
.loop-profile-media>header{margin:4px 0 20px}.loop-profile-media h2{font-size:22px;margin:0 0 8px}.loop-profile-media>header p{font-size:14px;color:var(--loop-muted);line-height:1.6}
.loop-profile-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.loop-profile-media-tile{min-width:0;border:1px solid var(--loop-border);border-radius:var(--loop-radius-md);overflow:hidden;background:var(--loop-raised)}
.loop-profile-media-tile>a{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;color:white}
.loop-profile-media-tile :is(img,video){display:block;width:100%;height:100%;object-fit:cover;background:var(--loop-bg);transition:transform var(--loop-motion-fast,150ms) ease}
.loop-profile-media-tile>a:hover :is(img,video){transform:scale(1.025)}
.loop-profile-media-kind{position:absolute;left:10px;top:10px;padding:4px 8px;border-radius:20px;background:#080a0edb;color:#fff;font-size:11px}
.loop-profile-media-caption{position:absolute;bottom:0;left:0;right:0;padding:30px 10px 10px;background:linear-gradient(transparent,#000e);font-size:12px;line-height:1.5;color:#fff;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.loop-profile-empty{padding:32px 24px;border:1px solid var(--loop-border);border-radius:var(--loop-radius-lg);background:var(--loop-surface)}
.loop-profile-empty h3{font-size:18px}.loop-profile-empty p{color:var(--loop-muted)}.loop-profile-more{margin-top:20px}
@media(max-width:1000px){.loop-shell .loop-member-page{grid-template-columns:260px minmax(0,1fr);gap:20px}.loop-profile-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.loop-shell .loop-member-page{display:block;margin:0 auto 24px}.loop-member-page .loop-member-card{max-width:none;margin:0 0 20px}.loop-member-page .loop-member-card{--loop-member-cover-height:280px}.loop-member-page .loop-member-tabs .list-group{justify-content:flex-start}.loop-member-page .loop-member-direct-actions :is(a,button){min-height:44px}.loop-profile-media-grid{gap:10px}.loop-member-page .wall-entry>.panel>.panel-body{padding:16px}}
@media(prefers-reduced-motion:reduce){.loop-profile-media-tile :is(img,video){transition:none}.loop-profile-media-tile>a:hover :is(img,video){transform:none}}

.loop-member-handle{text-align:center;font-size:13px;color:var(--loop-muted);margin:-10px 0 18px;overflow-wrap:anywhere}.loop-member-page .loop-member-card>.footer-menu{padding-inline:16px}

.loop-member-page .loop-member-card .img-profile-data h1 a{font:inherit!important}.loop-member-page .loop-member-card .statistics .title{font-size:12px!important}.loop-member-page .loop-member-card .statistics .entry{padding:9px 10px}.loop-member-page .loop-member-tabs .panel{margin:0!important}.loop-member-page .loop-member-tabs .list-group{border-bottom:0}

.loop-shell .loop-member-page .loop-member-card .img-profile-data{padding:0 16px!important}.loop-shell .loop-member-page .loop-member-card .img-profile-data h2{font-size:14px!important}.loop-shell .loop-member-page .loop-member-card .profile-banner-image-container{padding-bottom:20px!important}@media(max-width:700px){.loop-shell .loop-member-page .loop-member-card{--loop-member-cover-height:clamp(260px,86vw,340px)}.loop-shell .loop-member-page .loop-member-card .profile-banner-image-container{padding-top:calc(var(--loop-member-cover-height) + 58px)!important}}

#layout-content .loop-member-page .loop-member-card .img-profile-data{padding:0 16px!important}

/* About keeps the native profile data and edit/permission flows. */
.loop-about{display:grid;grid-template-columns:200px minmax(0,1fr);background:var(--loop-surface);border:1px solid var(--loop-border);border-radius:var(--loop-radius-lg);overflow:hidden;min-height:460px}
.loop-about-sidebar{padding:20px 12px;border-right:1px solid var(--loop-border);min-width:0}
.loop-about h2{font-size:21px;margin:0 12px 16px;font-weight:700}.loop-about-sidebar .nav{border:0;gap:4px}
.loop-about-sidebar .nav-link{border:0!important;border-radius:9px!important;padding:12px;color:var(--loop-muted);font-size:14px;font-weight:600;white-space:normal;overflow-wrap:anywhere;min-height:44px}
.loop-about-sidebar .nav-link:hover,.loop-about-sidebar .nav-link.active{background:var(--loop-accent-soft,#a879ff22);color:var(--loop-accent)}
.loop-about a:focus-visible{outline:2px solid var(--loop-accent);outline-offset:2px}
.loop-about-privacy{display:block;margin:18px 12px 0;padding-top:16px;border-top:1px solid var(--loop-border);font-size:13px;line-height:1.6}
.loop-about-content{padding:24px;min-width:0}.loop-about-content header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.loop-about h3{font-size:19px;font-weight:700;margin:0}.loop-about h4{font-size:15px;font-weight:700;margin:24px 0 12px}
.loop-about-edit{display:inline-flex;align-items:center;gap:8px;font-size:13px;min-height:30px;flex-shrink:0}
.loop-about-bio,.loop-about-empty,.loop-about-details{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.loop-about-empty{color:var(--loop-muted)}
.loop-about-details{margin:0}.loop-about-details>div{padding:16px 0;border-bottom:1px solid var(--loop-border)}.loop-about-details>div:last-child{border:0}
.loop-about-details dt{font-weight:500;color:var(--loop-muted);font-size:12px;margin-bottom:5px}.loop-about-details dd{margin:0;color:var(--loop-text)}
@media(max-width:900px){.loop-about{grid-template-columns:160px minmax(0,1fr)}.loop-about-content{padding:20px}}
@media(max-width:520px){.loop-about{display:block;min-height:320px}.loop-about-sidebar{border-right:0;border-bottom:1px solid var(--loop-border);padding:16px 12px}.loop-about h2{margin-left:8px}.loop-about-sidebar .nav{flex-direction:row!important;flex-wrap:nowrap;overflow-x:auto;padding:3px;scrollbar-width:thin}.loop-about-sidebar .nav-link{flex-shrink:0;white-space:nowrap}.loop-about-privacy{margin-top:12px;padding-top:10px}.loop-about-content{padding:20px 16px}.loop-about-content header{flex-wrap:wrap}}

.loop-member-page .loop-member-card{position:relative;top:auto}.loop-profile-edit-cover{position:absolute;top:14px;right:14px;z-index:4;background:#101217e8;border:1px solid #697180;border-radius:20px;color:#fff!important;padding:7px 12px;min-height:36px;font-size:12px;text-decoration:none!important}.loop-cover-edit-active .loop-profile-edit-cover{display:none}@media(max-width:700px){.loop-profile-edit-cover{min-height:44px;padding:10px 14px}}

.loop-profile-finish-cover{display:none;position:absolute;top:14px;left:14px;z-index:7;background:#101217e8;border:1px solid #697180;border-radius:20px;color:#fff!important;padding:7px 12px;min-height:36px;font-size:12px;text-decoration:none!important}.loop-cover-edit-active .loop-profile-finish-cover{display:inline-flex;align-items:center}@media(max-width:700px){.loop-profile-finish-cover{min-height:44px;padding:10px 14px}}

/* Premium profile: full identity header, native controls, compact supporting column. */
.loop-shell .loop-profile-premium{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:22px 28px;max-width:1240px;margin:12px auto 40px;align-items:start}
.loop-profile-premium>*{min-width:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero{grid-column:1/-1;position:relative;border:1px solid var(--loop-border);border-radius:var(--loop-radius-lg);background:var(--loop-surface)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile{border:0;background:transparent;box-shadow:none;margin:0;border-radius:inherit}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-header{position:relative;height:auto;border:0!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-banner-image-container{position:relative;aspect-ratio:4/1;height:auto!important;overflow:hidden;border-radius:var(--loop-radius-lg) var(--loop-radius-lg) 0 0;background:var(--loop-raised)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-banner-image-container>img{position:static;display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover;object-position:center 25%;border:0;border-radius:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-no-cover{background:radial-gradient(ellipse at 20% 25%,var(--loop-accent-soft),transparent 65%),linear-gradient(120deg,var(--loop-raised),var(--loop-surface))}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-no-cover>img:not(.bounceIn){opacity:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-identity-row{display:flex;gap:24px;position:relative;padding:0 28px 20px;align-items:flex-start}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container{position:relative!important;top:auto!important;left:auto!important;bottom:auto!important;transform:none!important;flex:0 0 164px;width:164px!important;height:164px!important;margin-top:-58px;border:6px solid var(--loop-surface)!important;border-radius:50%;background:var(--loop-surface);padding:0;z-index:2}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container :is(a,.has-online-status){display:block;width:100%;height:100%}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container img{display:block;width:152px!important;height:152px!important;max-width:100%;object-fit:cover;border:0!important;border-radius:50%!important;margin:0!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data{position:static!important;inset:auto!important;transform:none!important;text-align:left;width:auto!important;height:auto!important;min-width:0;flex:1;margin:0;padding:22px 0 0!important;background:none!important;text-shadow:none;color:var(--loop-text)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data h1{width:auto!important;height:auto!important;max-width:100%;white-space:normal!important;font-size:clamp(26px,2.6vw,34px)!important;font-weight:750;letter-spacing:-.8px;line-height:1.2!important;color:var(--loop-text)!important;margin:0!important;overflow-wrap:anywhere}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data :is(.loop-profile-username,.loop-profile-subtitle){font-size:14px;line-height:1.5;color:var(--loop-muted)!important;margin:7px 0 0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio{max-width:680px;overflow-wrap:anywhere;margin-top:12px;font-size:15px;line-height:1.6;color:var(--loop-text)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio p{margin:0 0 8px;color:var(--loop-text)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile>.panel-body{padding:0 28px;border:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-controls{padding:0!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-controls :is(.container,.row,.col-lg-12){padding:0;margin:0;max-width:none;width:100%}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-controls .col-lg-12{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--loop-border)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{display:flex;flex-wrap:wrap;gap:4px 24px;float:none!important;margin:0!important;padding:0!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .entry{display:flex;align-items:baseline;gap:6px;float:none!important;padding:8px 0;line-height:1.5!important;margin:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics br{display:none}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .count{font-size:17px!important;font-weight:700;color:var(--loop-text)!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .title{font-size:13px!important;color:var(--loop-muted)!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .controls-header{display:flex;gap:8px;align-items:center;flex-wrap:wrap;float:none!important;margin:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero :is(.controls-header .btn,.loop-member-direct-actions a,.loop-member-direct-actions button){min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:10px 16px;font-size:14px;font-weight:600;white-space:normal}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-secondary-actions{padding:0 28px 18px;text-align:right}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-member-direct-actions{justify-content:flex-end;gap:8px;margin:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-member-share-status{font-size:13px;overflow-wrap:anywhere;display:block}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-member-share-status:empty{display:none}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .image-upload-loader{position:absolute;inset:0;padding:20px;background:var(--loop-surface);z-index:5}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container:focus-within .image-upload-buttons{opacity:1;visibility:visible}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .image-upload-buttons .btn{min-height:36px;min-width:36px}
.loop-profile-premium>.loop-member-tabs{grid-column:1/-1;margin:-1px 0 0;border-radius:12px;overflow-x:auto}
.loop-profile-premium>.loop-member-tabs .list-group{gap:6px;padding:0 14px!important;margin:0}
.loop-profile-premium>.loop-member-tabs .list-group-item{white-space:nowrap;margin:0;flex:none}
.loop-profile-premium>.loop-member-tabs .list-group-item.active{box-shadow:inset 0 -3px var(--loop-accent);color:var(--loop-accent)!important}
.loop-profile-sidebar{display:grid;gap:16px}.loop-profile-details-card{background:var(--loop-surface);border:1px solid var(--loop-border);border-radius:16px;padding:20px;min-width:0}
.loop-profile-details-card h2{font-size:18px;line-height:1.4;font-weight:700;margin:0 0 14px;color:var(--loop-text)}
.loop-profile-details-card p{font-size:14px;line-height:1.6;margin:0 0 10px;color:var(--loop-muted)}
.loop-profile-details-card .loop-member-post-count{font-size:14px;display:block;color:var(--loop-text)}
.loop-profile-about-link{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--loop-border);padding-top:14px;margin-top:16px;font-size:13px;overflow-wrap:anywhere}
.loop-profile-achievements summary{display:flex;align-items:center;gap:12px;font-weight:600;cursor:pointer;min-height:48px;color:var(--loop-text)}
.loop-profile-achievements summary svg{width:38px;height:44px;flex:none}.loop-profile-achievements details p{padding-top:12px;margin:0;font-size:13px}
.loop-profile-connections>summary{font-size:14px;font-weight:600;cursor:pointer;line-height:1.5;color:var(--loop-text)}
.loop-profile-connections>.panel{border:0;box-shadow:none;margin:14px 0 0;background:transparent}.loop-profile-connections .panel-heading{padding-inline:0}.loop-profile-connections .panel-body{padding:10px 0}
.loop-profile-sidebar>.footer-menu{font-size:12px;padding:0 6px;color:var(--loop-muted)}
.loop-profile-premium .loop-member-feed{min-width:0;width:100%}.loop-profile-premium .loop-member-feed>.panel{border-radius:16px}
.loop-profile-premium .loop-compose-bar{border:1px solid var(--loop-border);border-radius:16px;padding:12px 14px;margin-bottom:16px;min-height:62px}
.loop-profile-premium .wall-entry>.panel>.panel-body{padding:16px}.loop-profile-premium .wall-entry-header{margin-bottom:12px}
.loop-profile-premium .wall-entry-content{line-height:1.55;overflow-wrap:anywhere}.loop-profile-premium .wall-entry-content :is(img,video){max-width:100%}
.loop-profile-premium .wall-entry-links{padding-top:8px;margin-top:0}
/* Match the main feed's compact desktop cards without scaling profile identity. */
@media(min-width:901px){
 .loop-shell .loop-profile-premium .loop-member-feed{max-width:784px}
 .loop-shell .loop-profile-premium .loop-member-feed .wall-entry{margin-bottom:12px}
 .loop-shell .loop-profile-premium .wall-entry>.panel>.panel-body,
 .loop-shell .loop-profile-premium .wall-entry>.panel-body{padding:12px 16px}
 .loop-shell .loop-profile-premium .wall-entry .wall-entry-header{margin-bottom:10px;padding-bottom:0;min-height:40px}
 .loop-shell .loop-profile-premium .wall-entry .wall-entry-content{margin-bottom:0;line-height:1.5}
 .loop-shell .loop-profile-premium .wall-entry .wall-entry-content p{margin-bottom:8px}
 .loop-shell .loop-profile-premium .wall-entry .wall-entry-footer{margin-top:0;padding-top:0}
 .loop-shell .loop-profile-premium .wall-entry-footer>.stream-entry-addons>.wall-entry-controls.wall-entry-links{margin-top:0;padding-top:0;min-height:44px;gap:16px}
 .loop-shell .loop-profile-premium .wall-entry-footer>.stream-entry-addons>.wall-entry-controls.wall-entry-links>a,
 .loop-shell .loop-profile-premium .wall-entry-footer>.stream-entry-addons>.wall-entry-controls.wall-entry-links>button{min-height:44px}
 .loop-shell .loop-profile-premium .loop-post-media-grid{margin-top:8px;margin-bottom:0}
 .loop-shell .loop-profile-premium .wall-entry-footer>.stream-entry-addons>.loop-post-media-grid,
 .loop-shell .loop-profile-premium .wall-entry-footer>.stream-entry-addons>.loop-photo-soundtrack{margin:8px -16px 0;width:calc(100% + 32px);border-radius:0}
 .loop-shell .loop-profile-premium .loop-photo-soundtrack>.loop-post-media-grid{margin:0;width:100%;border-radius:0}
 .loop-shell .loop-profile-premium .loop-post-media-1:has(img){aspect-ratio:4/3;max-height:480px;display:block;background:var(--loop-bg)}
 .loop-shell .loop-profile-premium .loop-post-media-1:has(img) .loop-post-media-tile,
 .loop-shell .loop-profile-premium .loop-post-media-1:has(img) .loop-post-media-tile>a{height:100%}
 .loop-shell .loop-profile-premium .loop-post-media-1:has(img) .loop-post-media-tile img{height:100%!important;max-height:none!important;object-fit:contain}
 .loop-shell .loop-profile-premium .loop-video-stage{position:relative;margin:8px -16px 0;width:calc(100% + 32px)}
 .loop-shell .loop-profile-premium .loop-video-stage>.loop-post-sound{position:absolute;top:10px;left:10px;z-index:2;margin:0}
 .loop-shell .loop-profile-premium .loop-video-stage .loop-reel-player{height:min(55vh,480px)}
 .loop-shell .loop-profile-premium .loop-post-media-1 .loop-post-media-tile video{max-height:480px!important;object-fit:contain}
}
.loop-profile-premium :is(summary,a,button):focus-visible{outline:2px solid var(--loop-accent);outline-offset:3px}
@media(max-width:1000px){.loop-shell .loop-profile-premium{grid-template-columns:250px minmax(0,1fr);gap:18px}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{gap:4px 18px}}
@media(max-width:760px){
 .loop-shell .loop-profile-premium{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0 auto 24px}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-banner-image-container{height:clamp(160px,42vw,250px)!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-identity-row{gap:16px;padding:0 18px 18px;flex-wrap:wrap}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container{flex-basis:116px;width:116px!important;height:116px!important;margin-top:-42px;border-width:5px!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container img{width:106px!important;height:106px!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data{flex-basis:100%;padding-top:0!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data h1{font-size:27px!important;line-height:1.25!important;letter-spacing:-.6px}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile>.panel-body{padding:0 18px}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-controls .col-lg-12{gap:10px;padding:12px 0}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{width:100%;gap:4px 16px;justify-content:space-between}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .entry{gap:4px;flex-wrap:wrap}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .count{font-size:16px}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .title{font-size:12px}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-secondary-actions{padding:0 18px 16px}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-member-direct-actions{justify-content:flex-start}
 .loop-profile-premium>.loop-member-tabs{margin:0}.loop-profile-premium>.loop-member-tabs .list-group{padding:0 6px!important;gap:0}
 .loop-profile-premium>.loop-member-tabs .list-group>a.list-group-item{padding:12px!important}
 .loop-profile-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.loop-profile-details-card{padding:16px}.loop-profile-sidebar>.footer-menu{grid-column:1/-1}
 .loop-profile-connections{grid-column:1/-1}.loop-profile-premium .loop-member-feed{grid-column:1/-1}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .image-upload-buttons .btn{min-width:44px;min-height:44px}
}
@media(max-width:420px){.loop-profile-sidebar{grid-template-columns:minmax(0,1fr)}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{gap:2px 12px}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .entry{flex-direction:column;align-items:flex-start;gap:0}.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio{font-size:14px}}

/* Profile refinement: shared feed, native controls, and permission-filtered cards. */
.loop-shell #layout-content .loop-profile-premium{max-width:1180px;grid-template-columns:310px minmax(0,1fr);gap:18px 24px;margin-top:8px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-identity-row{gap:20px;padding:0 24px 16px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container{flex-basis:144px;width:144px!important;height:144px!important;margin-top:-48px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container img{width:132px!important;height:132px!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data{padding-top:17px!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data h1{font-size:clamp(25px,2.5vw,32px)!important;letter-spacing:-.6px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio{margin-top:8px;max-width:660px;font-size:14px;line-height:1.55}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio p:last-child{margin-bottom:0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile>.panel-body{padding:0 24px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-controls .col-lg-12{gap:10px 18px;padding:12px 0}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{gap:4px 18px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .entry{min-height:44px;align-items:center;padding:5px 0;flex-direction:row}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .controls-header{padding:0;gap:8px;margin-left:auto!important;max-width:100%}
.loop-profile-hero .loop-profile-share{gap:7px}
.loop-profile-hero .loop-member-share-status{flex-basis:100%;text-align:right;max-width:100%;overflow-wrap:anywhere}
.loop-profile-hero .loop-member-share-status:empty{display:none}
.loop-profile-hero .profile h1,.loop-profile-hero h1 .loop-verified-check{vertical-align:middle}
.loop-profile-premium>.loop-member-tabs{border-radius:12px}
.loop-profile-premium>.loop-member-tabs .list-group-item{transition:background-color .15s,color .15s}
.loop-profile-premium>.loop-member-tabs .list-group-item:hover{background:var(--loop-raised)}
.loop-shell #layout-content .loop-profile-premium .loop-member-feed{max-width:none}
.loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry{max-width:none;width:100%;margin:0 0 16px;border-radius:16px!important}
.loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry>.panel{border-radius:16px}
.loop-profile-premium .wall-entry-header h4{line-height:1.45}
.loop-profile-premium .wall-entry-content{font-size:15px;line-height:1.6}
.loop-profile-premium .loop-compose-bar{background:var(--loop-surface);padding:14px 16px;min-height:74px;display:flex;align-items:center;gap:12px}
.loop-profile-premium .loop-compose-launch{flex:1;min-width:0;min-height:44px;border-radius:24px}
.loop-profile-premium .loop-compose-launch img{width:40px!important;height:40px!important;object-fit:cover}
.loop-profile-premium .loop-compose-launch>span:last-child{padding:10px 14px;background:var(--loop-raised);border-radius:24px;flex:1;text-align:left;font-size:14px}
.loop-profile-premium .loop-compose-shortcuts{gap:5px;flex-shrink:0}
.loop-profile-premium .loop-compose-shortcuts :is(a,button){width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}
.loop-profile-premium .loop-compose-shortcuts :is(a,button):hover{background:var(--loop-raised)}
.loop-profile-sidebar,.loop-profile-support-content{display:grid;gap:16px;min-width:0}
.loop-profile-support{min-width:0}
.loop-profile-support>summary{display:none}
.loop-profile-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.loop-profile-card-heading h2{font-size:17px;margin:0;line-height:1.4;color:var(--loop-text)}
.loop-profile-card-heading>a{font-size:12px;min-height:36px;display:inline-flex;align-items:center;gap:5px;color:var(--loop-accent);white-space:nowrap}
.loop-profile-intro .loop-profile-intro-bio{color:var(--loop-text);line-height:1.65;margin-bottom:16px;overflow-wrap:anywhere}
.loop-profile-fact{display:flex;gap:11px;align-items:flex-start;margin:12px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.loop-profile-fact>i{width:17px;flex:none;text-align:center;color:var(--loop-muted);line-height:1.6}
.loop-profile-fact>span{min-width:0}
.loop-profile-fact small{display:block;color:var(--loop-muted);font-size:11px;margin-bottom:2px}
.loop-profile-post-total{display:block;color:var(--loop-muted);font-size:12px;margin-top:14px}
.loop-profile-connections{display:contents}
.loop-profile-connections>.panel,.loop-profile-connections>div>.panel{margin:0}
.loop-profile-sidebar .loop-profile-details-card{padding:18px;border-radius:16px;border:1px solid var(--loop-border);background:var(--loop-surface);box-shadow:none}
.loop-profile-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px}
.loop-profile-person{display:block;min-width:0;color:var(--loop-text);text-decoration:none}
.loop-profile-person img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px;background:var(--loop-raised)}
.loop-profile-person span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;font-weight:600;line-height:1.4;margin-top:6px;overflow-wrap:anywhere}
.loop-profile-person:hover{color:var(--loop-accent)}
.loop-profile-person:hover img{filter:brightness(1.05)}
.loop-profile-space-list{display:grid;gap:8px}
.loop-profile-space-list>a{display:flex;align-items:center;gap:10px;color:var(--loop-text);font-size:13px;min-height:48px;text-decoration:none}
.loop-profile-space-list img{width:40px;height:40px;object-fit:cover;border-radius:10px;flex:none}
.loop-profile-space-list span{flex:1;min-width:0;overflow-wrap:anywhere}
.loop-profile-space-list i{color:var(--loop-muted)}
.loop-profile-space-list>a:hover{color:var(--loop-accent)}
.loop-profile-sidebar .loop-profile-card-empty{font-size:13px;line-height:1.6;color:var(--loop-muted);margin:0}
.loop-profile-sidebar .loop-profile-achievements summary{gap:10px;font-size:14px}
.loop-profile-sidebar .loop-profile-achievements summary svg{width:34px;height:40px}
.loop-profile-sidebar #user-tags-panel{font-size:12px;opacity:.85}
.loop-profile-sidebar .loop-profile-photo-card{margin:0;padding:18px;border-radius:16px;display:block}
.loop-profile-photo-card .loop-moments-tabs{margin-top:0}
.loop-profile-photo-card .loop-moments-mosaic{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto!important;height:auto!important;gap:6px}
.loop-profile-photo-card .loop-moments-mosaic figure{grid-column:auto!important;grid-row:auto!important;height:auto!important;aspect-ratio:1;border-radius:9px}
.loop-profile-photo-card .loop-moment-photo{border-radius:9px}
.loop-profile-photo-card .loop-moment-photo img{width:100%;height:100%;object-fit:cover}
.loop-profile-photo-card .loop-moments-gallery{margin-top:12px}
/* Keep rich-text behavior and picker, but use a restrained input surface. */
.loop-shell .loop-profile-premium .comment_create .richtext-create-input-group{background:var(--loop-raised);border:1px solid var(--loop-border);border-radius:14px;padding:3px 6px}
.loop-shell .loop-profile-premium .comment_create .richtext-create-input-group:focus-within{border-color:var(--loop-accent)}
.loop-shell .loop-profile-premium .comment_create .ProseMirror{min-height:34px;padding:6px 8px;font-size:14px;line-height:1.5;color:var(--loop-text)}
.loop-shell .loop-profile-premium .comment_create .ProseMirror-menubar-wrapper>.ProseMirror-menubar{min-height:34px;padding:0 96px 0 2px}
.loop-shell .loop-profile-premium .comment_create .richtext-create-buttons{bottom:5px;right:6px}
.loop-shell .loop-profile-premium .comment_create .richtext-create-buttons .btn{min-height:34px;min-width:34px;padding:6px}
.loop-shell .loop-profile-premium .comment_create [data-loop-emoji-picker]{margin:0}
.loop-profile-premium .loop-comment-thread{border-left:1px solid var(--loop-border);padding-left:12px;margin-left:4px}
@media(max-width:1100px) and (min-width:901px){.loop-shell #layout-content .loop-profile-premium{grid-template-columns:280px minmax(0,1fr);gap:18px}}
@media(max-width:900px){
 .loop-shell #layout-content .loop-profile-premium{grid-template-columns:minmax(0,1fr);gap:14px}
 .loop-profile-sidebar{grid-column:1/-1;grid-template-columns:minmax(0,1fr)}
 .loop-profile-support>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:48px;padding:12px 16px;border:1px solid var(--loop-border);border-radius:12px;background:var(--loop-surface);font-size:14px;font-weight:600;cursor:pointer}
 .loop-profile-support>summary::-webkit-details-marker{display:none}
 .loop-profile-support[open]>summary{margin-bottom:12px}
 .loop-profile-support[open]>summary i{transform:rotate(180deg)}
 .loop-profile-support-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .loop-profile-connections{display:contents}
 .loop-profile-support-content>.footer-menu{grid-column:1/-1}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .controls-header{margin-left:0!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{gap:2px 18px;justify-content:flex-start}
}
@media(max-width:600px){
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-banner-image-container{height:clamp(140px,36vw,200px)!important;aspect-ratio:auto}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-identity-row{padding:0 16px 14px;gap:12px;flex-wrap:wrap}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container{flex-basis:104px;width:104px!important;height:104px!important;margin-top:-36px;border-width:4px!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .profile-user-photo-container img{width:96px!important;height:96px!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data{flex-basis:100%;padding:0!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data h1{font-size:25px!important;line-height:1.25!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile>.panel-body{padding:0 16px}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics{width:100%;gap:0 16px;justify-content:space-between}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .entry{gap:3px;font-size:12px;flex-wrap:wrap;min-height:44px}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .count{font-size:15px!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .statistics .title{font-size:11px!important}
 .loop-profile-hero .controls-header .btn{padding:9px 12px!important;font-size:13px!important}
 .loop-profile-premium>.loop-member-tabs .list-group{padding:0 4px!important}
 .loop-profile-premium>.loop-member-tabs .list-group>a.list-group-item{padding:12px 13px!important;font-size:13px!important}
 .loop-profile-support-content{grid-template-columns:minmax(0,1fr)}
 .loop-profile-premium .loop-compose-bar{flex-wrap:wrap;padding:10px 12px;gap:6px;min-height:64px}
 .loop-profile-premium .loop-compose-launch{flex-basis:100%;font-size:14px}
 .loop-profile-premium .loop-compose-shortcuts{width:100%;justify-content:space-evenly;border-top:1px solid var(--loop-border);padding-top:4px}
 .loop-profile-premium .loop-compose-shortcuts :is(a,button){width:48px;height:44px}
 .loop-profile-premium .wall-entry-content{font-size:14px}
 .loop-shell .loop-profile-premium .comment_create .richtext-create-buttons .btn{min-height:44px;min-width:40px}
 .loop-shell .loop-profile-premium .comment_create .ProseMirror-menubar-wrapper>.ProseMirror-menubar{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.loop-profile-premium>.loop-member-tabs .list-group-item{transition:none}}

/* Bound single-media height without cropping or changing the original ratio. */
@media(min-width:901px){
 .loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img){aspect-ratio:auto;height:auto;max-height:min(70vh,560px)}
 .loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img) .loop-post-media-tile{height:auto}
 .loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img) .loop-post-media-tile>a{height:auto;display:flex;align-items:center;justify-content:center}
 .loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img) img{height:auto!important;width:auto!important;max-width:100%!important;max-height:min(70vh,560px)!important;object-fit:contain}
}
.loop-shell .loop-profile-premium .comment_create:not(:focus-within) .ProseMirror-menubar{display:none}
.loop-shell .loop-profile-premium .comment_create .loop-emoji-open{display:inline-flex;align-items:center;min-height:28px;margin:0;padding:2px 5px;font-size:12px;background:transparent;color:var(--loop-accent)}

.loop-profile-follow-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:32px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}.loop-profile-follow-details>summary::-webkit-details-marker{display:none}.loop-profile-follow-details[open]>summary{margin-bottom:12px}.loop-profile-follow-details[open]>summary i{transform:rotate(180deg)}

/* Global dialogs opened from a profile share its restrained comment treatment. */
.loop-shell:has(.loop-profile-premium) .loop-comment-row .preferences,
.loop-shell:has(.loop-profile-premium) .loop-comment-row .preferences .dropdown-toggle{visibility:visible!important;opacity:1!important}
.loop-shell:has(.loop-profile-premium) .loop-comment-row .preferences .dropdown-toggle{min-width:36px;min-height:36px}
.loop-shell:has(.loop-profile-premium) .modal .comment_create .richtext-create-input-group{background:var(--loop-raised);border:1px solid var(--loop-border);border-radius:14px;padding:3px 6px}
.loop-shell:has(.loop-profile-premium) .modal .comment_create .richtext-create-input-group:focus-within{border-color:var(--loop-accent)}
.loop-shell:has(.loop-profile-premium) .modal .comment_create .ProseMirror{min-height:34px;padding:6px 8px;color:var(--loop-text)}
.loop-shell:has(.loop-profile-premium) .modal .comment_create:not(:focus-within) .ProseMirror-menubar{display:none}
.loop-shell:has(.loop-profile-premium) .modal .comment_create .loop-emoji-open{display:inline-flex;align-items:center;min-height:28px;padding:2px 5px;margin:0;font-size:12px;background:transparent;color:var(--loop-accent)}
@media(max-width:600px){.loop-shell:has(.loop-profile-premium) .loop-comment-row .preferences .dropdown-toggle{min-width:44px;min-height:44px}}

/* Final density pass: retain cover/avatar geometry and native relationship widgets. */
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-identity-row{padding-bottom:10px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data{padding-top:12px!important}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio{margin-top:5px;line-height:1.5}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .panel-profile-controls .col-lg-12{padding:8px 0}
.loop-profile-sidebar .loop-profile-connections{display:block;padding:18px;border:1px solid var(--loop-border);border-radius:16px;background:var(--loop-surface)}
.loop-profile-sidebar .loop-profile-connections .loop-profile-details-card{border:0;padding:0;background:transparent;border-radius:0;margin:0;box-shadow:none}
.loop-profile-connections .loop-profile-follow-details{margin:14px 0 0;padding-top:10px;border-top:1px solid var(--loop-border)}
.loop-profile-connections .loop-profile-follow-details>summary{min-height:44px;gap:10px}
.loop-profile-follow-details>summary>span:first-child{flex:1}
.loop-profile-connection-preview{display:flex;align-items:center;padding-left:6px}
.loop-profile-connection-preview img{width:28px;height:28px;border-radius:50%;object-fit:cover;border:2px solid var(--loop-surface);margin-left:-6px;background:var(--loop-raised)}
.loop-profile-connections .loop-profile-spaces{margin-top:14px!important;padding-top:14px!important;border-top:1px solid var(--loop-border)!important}
.loop-profile-follow-details>summary:focus-visible,.loop-profile-person:focus-visible{outline:2px solid var(--loop-accent);outline-offset:3px;border-radius:8px}
@media(max-width:900px){.loop-profile-sidebar .loop-profile-connections{grid-column:1/-1}}
@media(max-width:600px){
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .img-profile-data{padding-top:0!important}
 .loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-identity-row{padding-bottom:10px}
}

/* Shared native post controls: identical geometry in Home and profile streams. */
.loop-shell #layout-content .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links{display:flex;align-items:center;min-height:44px;gap:6px;padding-block:4px}
.loop-shell #layout-content .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links :is(.loop-comment-link,.loop-share-post,.loop-bookmark-button,.loop-reaction-trigger){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;padding:8px;gap:6px;margin:0;border-radius:10px;line-height:1;text-decoration:none;vertical-align:middle}
.loop-shell #layout-content .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links .loop-post-action-icon,
.loop-shell #layout-content .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links .loop-reaction-trigger .loop-reaction-icon{width:20px!important;height:20px!important;flex:none;display:block}
.loop-shell #layout-content .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links :is(.loop-comment-link,.loop-share-post,.loop-bookmark-button,.loop-reaction-trigger):hover{background:var(--loop-raised);color:var(--loop-accent)}
.loop-shell #layout-content .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links :is(.loop-comment-link,.loop-share-post,.loop-bookmark-button,.loop-reaction-trigger):focus-visible{outline:2px solid var(--loop-accent);outline-offset:2px}
/* The same compact, neutral composer is shared by both streams. */
.loop-shell #layout-content .wall-entry .comment_create .richtext-create-input-group{background:var(--loop-raised);border:1px solid var(--loop-border);border-radius:14px;padding:2px 5px}
.loop-shell #layout-content .wall-entry .comment_create .richtext-create-input-group:focus-within{border-color:var(--loop-accent)}
.loop-shell #layout-content .wall-entry .comment_create .ProseMirror{min-height:30px;padding:4px 8px;font-size:14px;line-height:1.5;color:var(--loop-text)}
.loop-shell #layout-content .wall-entry .comment_create .ProseMirror p{margin-block:0}
.loop-shell #layout-content .wall-entry .comment_create:not(:focus-within) .ProseMirror-menubar{display:none}
.loop-shell #layout-content .wall-entry .comment_create .loop-emoji-open{display:inline-flex;align-items:center;min-height:28px;margin:0;padding:2px 5px;font-size:12px;background:transparent;color:var(--loop-accent)}
.loop-shell #layout-content .wall-entry .comment_create .richtext-create-buttons .btn{min-width:36px;min-height:36px}
@media(max-width:600px){.loop-shell #layout-content .wall-entry .comment_create .richtext-create-buttons .btn{min-width:44px;min-height:44px}}

/* Profile polish: readable type, unchanged card/cover/avatar geometry. */
.loop-shell #layout-content .loop-profile-premium{--loop-profile-body:15px;--loop-profile-secondary:13px;--loop-profile-label:14px}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero .loop-profile-bio,
.loop-shell #layout-content .loop-profile-premium .loop-profile-intro-bio{font-size:var(--loop-profile-body);line-height:1.65;word-break:normal;overflow-wrap:break-word;hyphens:manual;color:var(--loop-text)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-intro-bio{white-space:normal;margin:0 0 14px;letter-spacing:normal}
.loop-shell #layout-content .loop-profile-premium .loop-profile-fact{font-size:var(--loop-profile-label);line-height:1.6;margin:10px 0;word-break:normal;overflow-wrap:break-word}
.loop-shell #layout-content .loop-profile-premium :is(.loop-profile-fact small,.loop-profile-post-total,.loop-profile-card-heading>a,.loop-profile-about-link,.loop-profile-card-empty,.loop-profile-space-list>a){font-size:var(--loop-profile-secondary);line-height:1.55}
.loop-shell #layout-content .loop-profile-premium .loop-profile-person span{font-size:var(--loop-profile-secondary);line-height:1.45}
.loop-shell #layout-content .loop-profile-premium .loop-profile-hero :is(.loop-member-handle,.statistics .title){font-size:var(--loop-profile-secondary)!important}
.loop-shell #layout-content .loop-profile-premium .wall-entry-header h5,
.loop-shell #layout-content .loop-profile-premium .wall-entry-header h5 :is(a,time,span){font-size:var(--loop-profile-secondary);line-height:1.55;color:var(--loop-muted)}
.loop-shell #layout-content .loop-profile-premium .wall-entry-content,
.loop-shell #layout-content .loop-profile-premium .wall-entry-content :is(p,li){font-size:var(--loop-profile-body);line-height:1.6;word-break:normal;overflow-wrap:break-word;hyphens:manual}
.loop-shell:has(.loop-profile-premium) .loop-comment-row .comment-heading{font-size:14px;line-height:1.5}
.loop-shell:has(.loop-profile-premium) .loop-comment-row .comment-heading :is(small,time){font-size:13px;line-height:1.5;color:var(--loop-muted)}
.loop-shell:has(.loop-profile-premium) .loop-comment-row .comment-message,
.loop-shell:has(.loop-profile-premium) .comment_create .ProseMirror{font-size:15px;line-height:1.6;word-break:normal;overflow-wrap:break-word;hyphens:manual}
.loop-profile-premium .loop-profile-people-empty .loop-profile-card-heading{margin-bottom:4px}
.loop-profile-premium .loop-profile-people-empty .loop-profile-card-empty{margin:0}
.loop-profile-premium .loop-profile-connections:has(.loop-profile-people-empty){padding-block:14px}
.loop-profile-premium .loop-profile-connections .loop-profile-follow-details{margin-top:10px;padding-top:6px}
/* A quiet raised surface frames the complete original photo, including portraits. */
.loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img),
.loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img) .loop-post-media-tile,
.loop-shell #layout-content .loop-profile-premium .loop-member-feed .wall-entry .loop-post-media-1:has(img) .loop-post-media-tile>a{background:var(--loop-raised)}
.loop-shell #layout-content .loop-profile-premium .loop-profile-photo-card .loop-moments-mosaic figure{aspect-ratio:1;min-width:0;overflow:hidden}
.loop-shell #layout-content .loop-profile-premium .loop-profile-photo-card .loop-moment-photo{display:block;width:100%;height:100%}
.loop-shell #layout-content .loop-profile-premium .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links{gap:8px;flex-wrap:wrap}
.loop-shell #layout-content .loop-profile-premium .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links :is(.loop-comment-link,.loop-share-post,.loop-bookmark-button,.loop-reaction-trigger){transition:background-color .15s ease,color .15s ease;flex-shrink:0}
@media(prefers-reduced-motion:reduce){.loop-shell #layout-content .loop-profile-premium .wall-entry .stream-entry-addons>.wall-entry-controls.wall-entry-links :is(.loop-comment-link,.loop-share-post,.loop-bookmark-button,.loop-reaction-trigger){transition:none}}
