@media(max-width:760px){
 #profile-sheet.cg-member-profile-surface{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;margin:0;border:0;border-radius:0;background:#fafbf7;overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none;overscroll-behavior-y:contain;scrollbar-width:none}
 .cg-member-profile-surface>.cg{padding:0;min-width:0}.cg-member-profile-surface .cg-top,.cg-member-profile-surface .cg-tabs,.cg-member-profile-surface .cg-dialog-intro,.cg-member-profile-surface .cg-primary-nav,.cg-member-profile-surface>.cg-preview-nav{display:none!important}
 .cg-member-profile-surface .cg-main{padding:0;margin:0;min-width:0;max-width:none}.cg-member-profile-surface .cg-status:empty{display:none}.cg-member-profile-surface .cg-status:not(:empty){padding:12px 20px}
 .member-profile-nav{position:sticky;top:0;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:56px;padding:env(safe-area-inset-top) 14px 0;background:#fafbf7f2;backdrop-filter:blur(12px)}
 .member-nav-title{font-size:14px}.member-nav-spacer{width:44px}
 .cg .member-icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:50%;color:#53692b;background:transparent;text-decoration:none}
 .member-icon{display:block;width:22px;height:22px;flex:none}.member-icon svg{display:block;width:100%;height:100%}
 .member-profile-content{padding:18px 20px 32px}.member-profile-identity{display:flex;align-items:center;gap:16px;min-width:0;margin-bottom:22px}
 .member-profile-photo{position:relative;flex:none;width:76px;height:76px;overflow:hidden;border-radius:50%;background:#e9ede3;color:#77806a}.member-profile-photo>svg,.member-profile-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 .member-profile-name{min-width:0;flex:1}.cg .member-profile-name h1{font:400 32px/1.15 Georgia,serif;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.cg .member-profile-handle{font-size:13px;line-height:1.4;color:#68705f;margin:6px 0 0;overflow-wrap:anywhere}
 .cg .member-profile-bio{border-left:1px solid #dfe4d9;padding-left:14px;margin:0 0 20px}.cg .member-profile-bio h2{font:400 10px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#68705f;margin:0 0 8px}.cg .member-profile-bio p{font:400 17px/1.5 Georgia,serif;margin:0}
 .member-profile-actions{display:grid;grid-template-columns:2fr 1fr;gap:10px}.member-profile-actions.member-own-actions{grid-template-columns:1fr}
 .cg .member-profile-actions button{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-width:0;min-height:44px;padding:10px 8px;border-radius:24px;border:1px solid #53692b;font-size:14px;line-height:1.2;color:#53692b;background:transparent}
 .cg .member-profile-actions .member-follow{background:#53692b;color:#fafbf7}.cg .member-profile-actions .member-follow[aria-pressed=true]{background:#edf1df;color:#53692b}.cg .member-profile-actions button:disabled{opacity:.6}
 .cg .member-profile-status{font-size:13px;color:#68705f;line-height:1.4;margin:10px 0}.member-profile-status:empty{display:none}
 .member-profile-top8,.member-profile-collections,.member-profile-reviews{margin-top:28px}.member-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}
 .cg .member-profile-content h2{font:600 18px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.025em;margin:0 0 12px}.cg .member-section-heading h2{margin:0}.cg .member-profile-bio h2{font-size:10px;font-weight:400;letter-spacing:.1em;margin-bottom:8px}
 .member-section-detail{font-size:12px;color:#68705f}.cg .member-section-heading select{width:auto;max-width:48%;min-height:44px;border:0;border-radius:8px;padding:8px 26px 8px 8px;background-color:transparent;color:#53692b;font-size:13px}
 .member-top8-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(140px,44%,180px);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:3px 0 6px}.member-top8-grid::-webkit-scrollbar{display:none}.cg .member-top8-tile{display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;padding:0;border:0;border-radius:0;text-align:left;background:none;color:#292d25;line-height:1.35;scroll-snap-align:start}
 .member-top8-art{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#edf0e7;border-radius:10px;margin-bottom:3px}.member-top8-art img{width:100%;height:100%;object-fit:cover;display:block}.member-top8-rank{position:absolute;bottom:7px;left:7px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fafbf7e8;color:#53692b;font-size:12px;font-weight:600}
 .member-top8-tile strong{font-size:14px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-top8-gallery{font-size:12px;color:#68705f;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .cg .member-collection{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border:0;border-bottom:1px solid #e1e5db;border-radius:0;background:transparent;padding:10px 0;text-align:left;color:#53692b;font-size:14px}
 .member-review-heading{position:relative;display:flex;align-items:center;min-height:20px;padding-right:52px;margin-bottom:4px}
 .cg .member-review-title{position:relative;min-height:20px;min-width:0;padding:0;margin:0;border:0;border-radius:0;background:none;text-align:left;color:#53692b;font-size:14px;font-weight:600;line-height:20px}
 .cg button.member-review-title:before{content:'';position:absolute;inset:-12px 0}
 .cg .member-review-heading>.member-icon-button,.cg .member-review-heading>.member-text-action{position:absolute;right:0;top:50%;transform:translateY(-50%);min-height:44px;margin:0}
 .cg .member-profile-reviews>.gg-review{padding:12px 0}.cg .member-profile-reviews>.gg-review:first-of-type{padding-top:0}
 .member-profile-reviews .gg-review>.gallery-stars{margin-bottom:6px}.cg .member-profile-empty{font-size:14px;line-height:1.5;color:#68705f;margin:28px 0 0}
 .member-action-sheet{box-sizing:border-box;width:calc(100% - 36px);max-width:460px;margin:auto auto 12px;padding:12px 16px;border:0;border-radius:20px;background:#fafbf7}.member-action-sheet::backdrop{background:#343c2859;backdrop-filter:blur(3px)}
 .member-action-sheet button{display:block;width:100%;min-height:48px;margin:0;padding:12px;border:0;border-bottom:1px solid #e1e5db;border-radius:0;background:transparent;color:#53692b;text-align:left;font:400 15px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.member-action-sheet button:last-child{border:0}
 .member-action-sheet :focus-visible,.cg-member-profile-surface :focus-visible{outline:2px solid #53692b;outline-offset:3px}
}
@media(max-width:360px){.member-profile-content{padding-left:18px;padding-right:18px}.member-profile-photo{width:68px;height:68px}.cg .member-profile-name h1{font-size:29px}.member-profile-identity{gap:12px}.member-message>span:not(.member-icon){display:none}}

/* Compact profile actions, matching the image-led screens without a full-width CTA row. */
@media(max-width:760px){
 .member-profile-identity{justify-content:space-between;align-items:center;margin-bottom:12px}
 .member-profile-name{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;margin-bottom:16px}
 .member-profile-name>h1{grid-column:1;grid-row:1}
 .member-profile-meta{display:contents}
 .cg .member-profile-meta .member-profile-handle{grid-column:1;grid-row:2;margin:0;min-width:0}
 .member-profile-actions{grid-column:2;grid-row:1 / span 2;align-self:end;display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:0;margin:0;flex:none;transform:translateY(-3px)}
 .cg .member-profile-actions button{flex:none;min-height:44px;white-space:nowrap}
 .cg .member-profile-actions .member-follow{min-width:84px;padding:0 14px;height:36px;min-height:36px;margin:0;position:relative;font-size:13px;font-weight:600}
 .cg .member-profile-actions .member-follow:before{content:'';position:absolute;inset:-4px 0}
 .cg .member-profile-actions .member-icon-button,.cg .member-profile-actions .member-message{width:36px;min-width:36px;height:36px;min-height:36px;padding:0;margin:0 4px;border:1px solid #d9ded2;position:relative;border-radius:50%}
 .cg .member-profile-actions .member-icon-button:before,.cg .member-profile-actions .member-message:before{content:'';position:absolute;inset:-4px;border-radius:50%}
 .member-profile-actions .member-icon{width:19px;height:19px}
 .member-message>span:not(.member-icon){display:none}
}

@media(max-width:760px){
 .member-profile-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;flex:1;min-width:0;margin:0;padding:0;text-align:center}
 .member-profile-metrics>div{display:flex;flex-direction:column;min-width:0}
 .cg .member-profile-metrics dt{order:2;font-size:11px;line-height:14px;color:#68705f;margin:6px 0 0;white-space:nowrap}
 .cg .member-profile-metrics dd{order:1;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;line-height:28px;letter-spacing:-.025em;color:#292d25;margin:0}
 .member-profile-content>.member-profile-top8{margin-top:20px}
 .member-period-toggle{display:flex;gap:2px;align-items:center}
 .cg .member-period-button{position:relative;min-height:32px;padding:5px 10px;margin:6px 0;border:0;border-radius:18px;background:transparent;color:#68705f;font-size:12px;line-height:1.3;white-space:nowrap}
 .cg .member-period-button:before{content:'';position:absolute;inset:-6px 0}
 .cg .member-period-button[aria-pressed=true]{background:#edf1df;color:#53692b}
}

/* Owner and sample profiles share the presentation while retaining private tools. */
@media(max-width:760px){
 .cg-profile-preview.cg-member-profile-surface{overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0}
 .cg-owner-profile-surface.cg-member-profile-surface .cg-primary-nav{display:grid!important;margin-inline:0;width:100%}
 .cg-owner-profile-surface.cg-member-profile-surface>.cg-preview-nav{display:grid!important}
 .cg-owner-profile-surface .member-profile-content{padding-bottom:96px}
 .member-profile-photo>button.profile-preview-avatar{display:block;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0;border-radius:50%;font-size:24px}
 .cg .member-text-action{padding:0;min-height:44px;border:0;border-radius:0;background:none;color:#53692b;font-size:13px;text-align:left}
 .member-profile-private{margin-top:28px}.member-profile-private .profile-activity-rows{margin:0 0 12px}.member-profile-private .profile-private-links{display:flex;flex-wrap:wrap;gap:4px 18px}
 .cg .member-profile-top8 .member-profile-empty,.cg .member-profile-reviews .member-profile-empty{margin:0;font-size:14px}
}
