/* Main preview is sized with a paint gutter for the full 5/3 effect canvas. */
html body .profile-settings-dialog .appearance-grid>.effect-preview{--settings-avatar-size:168px;display:grid;place-items:center;min-height:calc(var(--settings-avatar-size) * 1.667 + 16px);padding:24px;overflow:visible}
html body .profile-settings-dialog .appearance-grid>.effect-preview>.user-avatar{width:var(--settings-avatar-size);height:var(--settings-avatar-size);margin:0;font-size:3.8rem}
@media(max-width:700px){html body .profile-settings-dialog .appearance-grid>.effect-preview{--settings-avatar-size:min(144px,40vw);padding:22px}html body .profile-settings-dialog .appearance-grid>.effect-preview>.user-avatar{font-size:3.4rem}}
/* Compare actual effects in a two-column gallery instead of sparse text rows. */
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:10px;padding:10px;max-height:min(470px,48dvh)}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu [role=option]{--option-avatar-size:clamp(52px,18vw,72px);display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:5px;min-height:0;padding:8px 6px 12px;overflow:visible;text-align:center}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu .tg-select-effect-preview{display:grid;place-items:center;flex:none;width:100%;height:calc(var(--option-avatar-size) * 1.667);min-width:0}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu .tg-select-effect-preview .user-avatar{width:var(--option-avatar-size)!important;height:var(--option-avatar-size)!important;font-size:28px!important}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu [role=option]>span:last-child{display:block;min-height:36px;width:100%;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-trigger{min-height:104px;gap:14px}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-trigger .tg-select-effect-preview{flex:0 0 76px;width:76px;height:76px}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-trigger .tg-select-effect-preview .user-avatar{width:56px!important;height:56px!important}
@media(min-width:701px){
 html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu [role=option]{--option-avatar-size:84px;padding-top:10px;padding-bottom:14px}
 html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu [role=option]>span:last-child{font-size:13px}
 html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-trigger{min-height:116px}
 html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-trigger .tg-select-effect-preview{flex-basis:86px;width:86px;height:86px}
 html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-trigger .tg-select-effect-preview .user-avatar{width:64px!important;height:64px!important}
}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu{container-type:inline-size}html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu [role=option]{--option-avatar-size:clamp(48px,24cqi,72px)}@media(min-width:701px){html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu [role=option]{--option-avatar-size:84px}}
html body .profile-settings-dialog [data-select-field=avatar_effect] .custom-select-menu{position:relative!important;inset:auto!important;transform:none!important;margin-top:8px;width:100%;box-shadow:none}
