/* Every look uses the same frame; other image ratios fit without stretching. */
body .looks-tabs{display:flex;align-self:flex-start;width:fit-content;max-width:100%;gap:24px;padding:0;margin:8px 0 24px;background:transparent;border:0;border-radius:0;box-shadow:none}
body .looks-tabs .btn{padding:10px 0;min-height:40px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:var(--muted);font-weight:400}
body .looks-tabs .btn.active{border-bottom-color:var(--primary);color:var(--primary);background:transparent;font-weight:600}
body .looks-tabs .btn:hover{color:var(--primary);background:transparent}
body .looks-tabs .btn:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
body .look-card-actions .look-moderate-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:8px;margin-left:auto;border:0;background:transparent;color:var(--muted);border-radius:50%}
.look-moderate-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.looks-management-hint{font-size:13px;margin:0 0 18px}
body .look-card-actions .look-edit-icon{width:36px;height:36px;padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;margin-left:auto}
.look-edit-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body .look-card-actions:has(.look-edit-icon) .look-delete-icon{margin-left:0}
body .community-feed{align-items:stretch}
body .community-feed .social-post{display:flex;flex-direction:column;height:100%}
body .community-feed .social-post>.ds-byline{box-sizing:border-box;min-height:76px;flex:none}
body .community-feed .social-post>.community-photo{display:block;position:relative;box-sizing:border-box;width:100%;height:auto;min-height:0;aspect-ratio:4/5;padding:0;border:0;overflow:hidden;flex:none;background:var(--surface2)}
body .community-feed .social-post>.community-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;margin:0;border-radius:0}
body .community-feed .social-post>.card-body{display:flex;flex-direction:column;flex:1;min-height:0}
body .community-feed .social-post .look-card-actions{margin-top:auto;padding-top:14px}
body .profile-look-grid>article>img{width:100%;height:auto;min-height:0;aspect-ratio:4/5;object-fit:contain;object-position:center;background:var(--surface2)}
body .look-composer .upload-preview{box-sizing:border-box;position:relative;width:100%;max-width:380px;min-height:0;height:auto;aspect-ratio:4/5;margin-left:auto;margin-right:auto;padding:18px;overflow:hidden}
body .look-composer .upload-preview:has(img){padding:0}body .look-composer .upload-preview img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
/* Profile looks reuse the community post, with the same uncropped portrait and identity header. */
body .profile-look-section .profile-look-grid.community-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;width:100%;max-width:none;align-items:stretch;margin:20px 0 24px}
body .profile-look-section .social-post{display:flex;flex-direction:column;min-width:0;height:100%;border-radius:18px;overflow:hidden}
body .profile-look-section .social-post>.ds-byline{display:flex;align-items:center;gap:14px;min-height:76px;box-sizing:border-box;padding:16px 20px;margin:0}
body .profile-look-section .social-post>.ds-byline>strong{font-size:12px;line-height:1.5;font-weight:500;min-width:0;overflow-wrap:anywhere}
body .profile-look-section .social-post>.ds-byline>.tiny{font-size:12px;margin-left:auto;text-align:right;max-width:35%;overflow-wrap:anywhere}
body .profile-look-section .social-post>.community-photo{display:block;position:relative;box-sizing:border-box;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:4/5;padding:0;border:0;border-radius:0;overflow:hidden;flex:none;background:var(--surface2)}
body .profile-look-section .social-post>.community-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;margin:0;border-radius:0}
body .profile-look-section .social-post>.card-body{display:flex;flex-direction:column;flex:1;min-height:0;padding:18px 22px}
body .profile-look-section .social-post .card-body>h2{font:500 15px/1.5 var(--font-body);margin:0 0 8px}
body .social-post .card-body>p{overflow-wrap:anywhere}
body .profile-look-section .social-post .card-body>p{font-size:13px;line-height:1.7;margin:8px 0 12px;overflow-wrap:anywhere;white-space:pre-wrap}
body .profile-look-section .social-post .look-card-actions{margin-top:auto;padding-top:14px}
@media(max-width:1000px){body .profile-look-section .profile-look-grid.community-feed{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body .profile-look-section .profile-look-grid.community-feed{grid-template-columns:minmax(0,1fr)}body .profile-look-section .social-post>.ds-byline{padding:14px 16px;gap:10px}body .profile-look-section .social-post>.card-body{padding:16px}}
