.decorated-avatar{position:relative;display:grid;place-items:center;width:100%;height:100%;isolation:isolate}
.decorated-avatar>.chatgpt-icon{width:65%;height:65%}.decorated-avatar>.profile-photo{width:100%;height:100%;border-radius:50%;overflow:hidden}
.profile-decoration{position:absolute!important;inset:-12%!important;width:124%!important;height:124%!important;max-width:none!important;fill:none;stroke:var(--profile-accent,#91d8ce);stroke-width:2.3;overflow:visible;pointer-events:none;z-index:3;filter:drop-shadow(0 0 3px color-mix(in srgb,var(--profile-accent,#91d8ce) 40%,transparent))}
.profile-decoration .decoration-fill{fill:var(--profile-accent,#91d8ce);stroke-width:1}.decoration-halo{stroke-width:3}.decoration-orbit{stroke-width:2}.decoration-bloom{stroke-width:2}
:is(.profile-avatar,.social-avatar,.agent-owner-photo):has(.profile-decoration){overflow:visible!important}
.studio-upload-photo{width:100%;height:100%;object-fit:cover;border-radius:50%}
.profile-menu-heading[data-profile-customize]{width:100%;color:inherit;background:transparent;border-width:0 0 1px;border-style:solid;font:inherit;text-align:left;cursor:pointer;border-radius:8px 8px 0 0}.profile-menu-heading[data-profile-customize]:hover{background:#ffffff0b}.profile-menu-heading[data-profile-customize]:focus-visible{outline:2px solid var(--ui-accent);outline-offset:-2px}
.profile-studio{box-sizing:border-box;width:min(1000px,calc(100vw - 32px));max-width:none;height:min(820px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--ui-border);border-radius:20px;background:var(--ui-panel);color:var(--ui-text);overflow:hidden;box-shadow:0 30px 110px #0007}
.profile-studio::backdrop,.profile-view-dialog::backdrop{background:#080c1699;backdrop-filter:blur(8px)}
.studio-layout{display:flex;flex-direction:column;height:100%;margin:0;min-height:0}.studio-layout [hidden]{display:none!important}
.studio-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex:none;padding:26px 30px 20px}.studio-header p{font-size:9px;letter-spacing:1.5px;color:var(--ui-muted);margin:0 0 8px}.studio-header h2{font-size:24px;margin:0;font-weight:650;letter-spacing:-.4px}.studio-header .icon-button{width:34px;height:34px;border-radius:50%;color:var(--ui-muted)}
.studio-tabs{display:flex;gap:22px;padding:0 30px;border-bottom:1px solid var(--ui-border);flex:none}.studio-tabs button{font:inherit;font-size:12px;color:var(--ui-muted);padding:13px 0;border:0;border-bottom:2px solid transparent;background:none;cursor:pointer;white-space:nowrap}.studio-tabs button[aria-pressed=true]{color:var(--ui-accent);border-bottom-color:var(--ui-accent)}
.studio-workspace{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,1fr);min-height:0;flex:1;overflow:hidden}.studio-controls{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:26px 30px 32px}.studio-controls h3{font-size:15px;font-weight:600;margin:0 0 10px}.studio-controls h3:not(:first-child){margin-top:26px}.studio-hint{font-size:11px;line-height:1.7;color:var(--ui-muted);margin:0 0 18px;max-width:390px}.studio-controls .field{display:block;font-size:11px;font-weight:550;margin:18px 0}.studio-controls .field>input,.studio-controls .field>textarea{display:block;box-sizing:border-box;width:100%;margin-top:8px;padding:10px 12px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-input);color:var(--ui-text);font:inherit;font-weight:400;font-size:13px;line-height:1.5}.studio-controls .field>textarea{resize:vertical;min-height:94px;max-height:200px}.studio-controls .field small{display:block;text-align:right;color:var(--ui-muted);font-size:10px;margin-top:5px}.studio-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.studio-buttons .btn{font-size:11px;min-height:35px;padding:8px 10px}.studio-buttons svg{width:15px;height:15px}.studio-crop{padding:14px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-soft)}.studio-crop>span{font-size:10px;color:var(--ui-muted)}.studio-crop label{display:flex;align-items:center;gap:12px;font-size:10px;margin-top:12px}.studio-crop input{min-width:0;flex:1;accent-color:var(--ui-accent)}
.studio-colors{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 28px}.studio-colors label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--ui-muted)}.studio-colors input{width:45px;height:34px;padding:3px;border:1px solid var(--ui-border);border-radius:7px;background:var(--ui-input);cursor:pointer}
.studio-preview{padding:28px;border-left:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-input) 45%,var(--ui-panel));overflow:auto;scrollbar-width:thin}.studio-preview-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px;color:var(--ui-muted);font-size:9px}.studio-preview-heading>span:first-child{letter-spacing:1.2px;font-weight:600}.studio-preview-note{font-size:10px;line-height:1.6;color:var(--ui-muted);text-align:center;max-width:270px;margin:18px auto}
.profile-card{--card-ink:var(--ui-text);position:relative;border-radius:16px;background:color-mix(in srgb,var(--profile-primary) 22%,var(--ui-panel));color:var(--card-ink);border:1px solid color-mix(in srgb,var(--profile-accent) 22%,var(--ui-border));box-shadow:0 12px 30px #0002;isolation:isolate;overflow:hidden;min-width:0}
.profile-card-banner{height:122px;position:relative;background:var(--banner-paint,linear-gradient(130deg,var(--profile-primary),var(--profile-accent)));overflow:hidden}.profile-card-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 65%,#0002);pointer-events:none}.profile-card-banner>img{width:100%;height:100%;object-fit:cover;display:block}
[data-profile-banner=aurora]{--banner-paint:radial-gradient(ellipse at 75% 0%,#99e9dba6,transparent 65%),radial-gradient(ellipse at 30% 100%,#6662c5,transparent 70%),linear-gradient(120deg,#182a49,#386a7b)}
[data-profile-banner=dusk]{--banner-paint:radial-gradient(ellipse at 80% 90%,#f4a38fa8,transparent 65%),linear-gradient(120deg,#242440,#6c4988)}
[data-profile-banner=ocean]{--banner-paint:repeating-radial-gradient(ellipse at 90% 160%,#6cf3d21a 0 2px,transparent 3px 14px),linear-gradient(130deg,#102a48,#276e81)}
[data-profile-banner=ember]{--banner-paint:radial-gradient(ellipse at 0% 110%,#efb971,transparent 75%),linear-gradient(120deg,#583742,#bb685e)}
[data-profile-banner=meadow]{--banner-paint:radial-gradient(ellipse at 90% 0,#d6dda58a,transparent 65%),linear-gradient(120deg,#234d4d,#63826a)}
[data-profile-banner=solid]{--banner-paint:linear-gradient(var(--profile-primary),var(--profile-primary))}
.profile-card-content{position:relative;padding:0 22px 20px;z-index:2}.studio-avatar{display:grid;place-items:center;position:relative;width:80px;height:80px;margin:-37px 0 17px;border:6px solid color-mix(in srgb,var(--profile-primary) 22%,var(--ui-panel));border-radius:50%;background:var(--profile-accent);color:#183a39;box-sizing:content-box}.studio-avatar .chatgpt-icon{width:48px;height:48px}.studio-avatar .profile-photo{width:80px;height:80px}.profile-card-name{display:flex;flex-direction:column;gap:6px;border-radius:7px;padding:3px 0}.profile-card-name>strong{font-size:21px;letter-spacing:-.3px;overflow-wrap:anywhere}.profile-card-name>small{font-size:11px;opacity:.7}.profile-card-pronouns{font-size:11px;margin:10px 0 0;opacity:.75}.profile-card-bio{border-top:1px solid color-mix(in srgb,var(--profile-accent) 15%,var(--ui-border));margin-top:20px;padding-top:18px}.profile-card-bio h4{font-size:9px;letter-spacing:1px;margin:0 0 9px;opacity:.65}.profile-card-bio p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;min-height:40px}.profile-card-footer{display:flex;gap:7px;align-items:center;font-size:10px;opacity:.55;margin-top:22px}.profile-card-footer svg{width:13px;height:13px}
.profile-card-effects{position:absolute;inset:0;overflow:hidden;z-index:1;pointer-events:none}.profile-card-effects i,.studio-effect-art i{position:absolute;display:none;width:3px;height:3px;background:var(--profile-accent);border-radius:50%;box-shadow:0 0 8px var(--profile-accent)}.profile-card-effects i:nth-child(1),.studio-effect-art i:nth-child(1){left:12%;top:30%;animation-delay:-2s}.profile-card-effects i:nth-child(2),.studio-effect-art i:nth-child(2){left:75%;top:17%;animation-delay:-5s}.profile-card-effects i:nth-child(3),.studio-effect-art i:nth-child(3){left:84%;top:71%;animation-delay:-1s}.profile-card-effects i:nth-child(4),.studio-effect-art i:nth-child(4){left:43%;top:85%;animation-delay:-4s}
[data-profile-effect=fireflies] :is(.profile-card-effects,.studio-effect-art) i{display:block;animation:profile-firefly 6s ease-in-out infinite alternate}[data-profile-effect=stars] :is(.profile-card-effects,.studio-effect-art) i{display:block;border-radius:0;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);width:9px;height:9px;animation:profile-twinkle 4s ease-in-out infinite}
[data-profile-effect=aurora] :is(.profile-card-effects,.studio-effect-art):before{content:'';position:absolute;inset:-40% -50% 25%;background:conic-gradient(from 20deg,transparent,var(--profile-accent),transparent 35%,var(--profile-primary),transparent 80%);filter:blur(32px);opacity:.22;animation:profile-aurora 14s ease-in-out infinite alternate}
@keyframes profile-firefly{0%{transform:translate(0,6px);opacity:.15}55%{opacity:.7}100%{transform:translate(10px,-15px);opacity:.25}}@keyframes profile-twinkle{0%,100%{opacity:.15;transform:scale(.5)}50%{opacity:.8;transform:scale(1)}}@keyframes profile-aurora{to{transform:rotate(45deg) translateY(8%)}}
[data-profile-frame=line]:is(.profile-card,.studio-choice-art){border:2px solid color-mix(in srgb,var(--profile-accent) 70%,var(--ui-border))}[data-profile-frame=glass]:is(.profile-card,.studio-choice-art){border:3px solid color-mix(in srgb,var(--profile-accent) 38%,transparent);box-shadow:inset 0 0 0 1px #ffffff28,0 12px 32px #0002}[data-profile-frame=prism]:is(.profile-card,.studio-choice-art){border:2px solid var(--profile-accent);box-shadow:0 -3px 0 -1px #b8b0ef,3px 0 0 -1px #d8b0d7,-3px 0 0 -1px #91d8ce,0 12px 32px #0002}
[data-profile-nameplate=wave] .profile-card-name,[data-profile-nameplate=wave].profile-open{background:radial-gradient(ellipse at 110% 160%,var(--profile-accent),transparent 70%),color-mix(in srgb,var(--profile-primary) 20%,transparent)}[data-profile-nameplate=night] .profile-card-name,[data-profile-nameplate=night].profile-open{background:radial-gradient(circle at 84% 30%,var(--profile-accent) 0 1px,transparent 2px),radial-gradient(circle at 70% 65%,var(--profile-accent) 0 1px,transparent 2px),linear-gradient(120deg,transparent,color-mix(in srgb,var(--profile-primary) 45%,transparent))}[data-profile-nameplate=petal] .profile-card-name,[data-profile-nameplate=petal].profile-open{background:radial-gradient(ellipse at 110% 0,var(--profile-accent),transparent 50%),radial-gradient(ellipse at 95% 110%,color-mix(in srgb,var(--profile-accent) 35%,transparent),transparent 50%)}.profile-card[data-profile-nameplate]:not([data-profile-nameplate=none]) .profile-card-name{padding:9px 11px;margin:-6px -11px}
.studio-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 17px}.studio-choice{position:relative;display:flex;flex-direction:column;gap:9px;min-width:0;padding:6px 6px 10px;border:1px solid var(--ui-border);border-radius:10px;background:var(--ui-input);color:var(--ui-muted);font:inherit;font-size:10px;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.studio-choice:hover{background:var(--ui-soft);border-color:var(--ui-muted)}.studio-choice[aria-pressed=true]{border-color:var(--ui-accent);color:var(--ui-text);box-shadow:0 0 0 1px var(--ui-accent)}.studio-choice>span:nth-child(2){padding:0 2px;line-height:1.4}.studio-choice-art{position:relative;display:grid;place-items:center;height:72px;width:100%;border-radius:6px;background:color-mix(in srgb,var(--profile-primary) 30%,var(--ui-soft));border:1px solid transparent;box-sizing:border-box;overflow:hidden}.studio-check{position:absolute;right:8px;top:9px;display:none!important;width:17px;height:17px;place-items:center;border-radius:50%;background:var(--ui-accent);color:var(--palette-primary-ink,#17262a);font-size:10px}.studio-choice[aria-pressed=true] .studio-check{display:grid!important}.studio-mini-avatar{position:relative;width:42px;height:42px;display:grid;place-items:center;background:var(--profile-primary);color:var(--profile-accent);border-radius:50%}.studio-mini-avatar>.icon{width:25px;height:25px}.studio-mini-avatar .chatgpt-icon{width:25px;height:25px}.studio-banner-art{width:100%;height:100%;background:var(--banner-paint)}.studio-mini-card{display:block;box-sizing:border-box;width:44px;height:55px;border:1px solid var(--profile-accent);border-radius:5px;padding:18px 7px 5px;background:linear-gradient(var(--profile-accent) 0 15px,transparent 15px)}.studio-mini-card i{display:block;border-radius:50%;width:11px;height:11px;background:var(--profile-accent);margin:-8px 0 8px}.studio-mini-card b{display:block;height:3px;border-radius:2px;background:var(--profile-accent);opacity:.35;margin:5px 0}.studio-mini-name{font-size:10px;padding:10px 7px;background:linear-gradient(110deg,transparent,color-mix(in srgb,var(--profile-accent) 25%,transparent));max-width:100%;overflow:hidden;text-overflow:ellipsis}.studio-choice-art[data-profile-nameplate=night]{background:radial-gradient(circle at 75% 20%,var(--profile-accent) 0 1px,transparent 2px),var(--profile-primary)}.studio-choice-art[data-profile-nameplate=petal]{background:radial-gradient(ellipse at 120% 0,var(--profile-accent),transparent 60%),var(--profile-primary)}.studio-effect-art{position:relative;width:100%;height:100%;overflow:hidden}.studio-effect-art b{display:block;width:30px;height:4px;border-radius:4px;margin:33px auto;background:var(--profile-accent);opacity:.2}
.studio-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex:none;padding:17px 28px;border-top:1px solid var(--ui-border);background:var(--ui-panel)}.studio-footer>p{font-size:11px;color:var(--ui-muted);margin:0}.studio-footer>.form-error:not(:empty){color:#e78d9a;flex:1 1 100%;order:-1}.studio-footer>.form-error:empty{display:none}.studio-footer>div{display:flex;gap:9px;margin-left:auto}.studio-footer .btn{min-height:37px;font-size:11px}.profile-studio button:focus-visible,.profile-studio input:focus-visible,.profile-studio textarea:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}.profile-studio button:disabled{opacity:.5;cursor:default}
.profile-view-dialog{padding:0;border:0;width:360px;max-width:calc(100vw - 32px);border-radius:16px;overflow:visible;background:transparent;color:var(--ui-text)}.profile-view-close{position:absolute;right:12px;top:12px;z-index:5;width:30px;height:30px;background:#10172488;border-radius:50%;color:#fff}.profile-view-close svg{width:17px;height:17px}[data-view-profile]{cursor:pointer}[data-view-profile]:focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}
@media(max-width:760px){.profile-studio{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.studio-header{padding:20px 18px 14px}.studio-header h2{font-size:21px}.studio-header p{font-size:8px;letter-spacing:.8px}.studio-tabs{padding:0 18px;gap:20px;overflow:auto}.studio-workspace{display:block;overflow:auto}.studio-controls{overflow:visible;padding:22px 18px}.studio-preview{overflow:visible;border-left:0;border-top:1px solid var(--ui-border);padding:24px 18px}.studio-preview [data-profile-preview]{max-width:340px;margin:auto}.studio-footer{padding:12px 16px}.studio-footer>p{font-size:10px}.studio-footer .btn{padding:9px}.studio-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.profile-card-effects:before,.profile-card-effects i,.studio-effect-art:before,.studio-effect-art i{animation:none!important}.studio-choice{transition:none}}

.social-person[data-profile-nameplate=wave]{background-image:radial-gradient(ellipse at 110% 160%,color-mix(in srgb,var(--profile-accent) 30%,transparent),transparent 70%)}.social-person[data-profile-nameplate=night]{background-image:radial-gradient(circle at 84% 25%,var(--profile-accent) 0 1px,transparent 2px),radial-gradient(circle at 70% 75%,var(--profile-accent) 0 1px,transparent 2px),linear-gradient(120deg,transparent,color-mix(in srgb,var(--profile-primary) 25%,transparent))}.social-person[data-profile-nameplate=petal]{background-image:radial-gradient(ellipse at 110% 0,color-mix(in srgb,var(--profile-accent) 25%,transparent),transparent 50%)}

.studio-choice-art[data-profile-nameplate=none] .studio-mini-name{background:none}.studio-choice-art[data-profile-nameplate=night] .studio-mini-name{color:#e8efff;background:transparent}
