.profile-card-designer{display:grid;gap:18px;padding:22px;border:1px solid #403449;border-radius:19px;background:linear-gradient(145deg,#17131f,#0e0d13);box-shadow:0 18px 50px #0002;scroll-margin-top:100px}
.profile-designer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.profile-designer-heading h2{margin:6px 0;font-size:23px;letter-spacing:-.035em}.profile-designer-heading p{margin:0;color:#a99eb3;font-size:12px;line-height:1.65}.profile-designer-save-state{flex:0 0 auto;padding:7px 10px;border:1px solid #715a8b55;border-radius:99px;color:#c9b0e4;background:#211a2b;font-size:10px}
.profile-design-preview{position:relative;isolation:isolate;display:grid;min-height:244px;align-content:space-between;gap:26px;padding:22px 25px;overflow:hidden;border:1px solid #9e7dc355;border-radius:17px;background:radial-gradient(ellipse at 77% 7%,#76559b75,transparent 50%),linear-gradient(130deg,#282036,#11141b 80%);box-shadow:0 12px 32px #0003}.profile-design-preview::before{position:absolute;z-index:1;inset:0;content:"";background:linear-gradient(90deg,#0c0a12e8 0%,#0d0a13b8 53%,#100c1666 100%);pointer-events:none}.profile-design-preview::after{position:absolute;z-index:1;inset:-35% -65%;content:"";background:linear-gradient(112deg,transparent 42%,#d9c4f20a 49%,#d9c4f218 52%,transparent 59%);pointer-events:none;animation:avlu-preview-glide 15s ease-in-out infinite alternate}.profile-design-preview-art{position:absolute;z-index:0;inset:0;overflow:hidden;pointer-events:none}.profile-design-preview-art img{display:block;width:100%;height:100%;object-fit:cover;opacity:.88;transition:opacity .2s ease,transform .45s ease}.profile-design-preview-art img:not([hidden]){animation:profile-design-arrive .35s ease both}.profile-design-preview>:not(.profile-design-preview-art):not(.profile-card-frame-detail){position:relative;z-index:2}@keyframes profile-design-arrive{from{opacity:.45;transform:scale(1.025)}to{opacity:.88;transform:scale(1)}}@keyframes avlu-preview-glide{from{transform:translateX(-6%)}to{transform:translateX(6%)}}
.profile-design-preview-top,.profile-design-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-design-brand{display:flex;align-items:center;gap:8px;color:#f2eaf8;font-size:12px;font-weight:760;letter-spacing:.14em}.profile-design-brand>span{display:grid;width:30px;height:34px;place-items:center;border:1px solid #d4b9f25c;border-radius:18px 18px 7px 7px;color:#d5b8f4;background:#17111e8c;font-size:17px}.profile-design-brand small{display:block;margin-left:-5px;color:#aa9bb7;font-size:8px;font-weight:500;letter-spacing:.12em}.profile-design-level{padding:6px 9px;border:1px solid #d6bfeb33;border-radius:99px;color:#e3d2f3;background:#17131d8c;font-size:9px;letter-spacing:.1em}
.profile-design-identity{display:flex;align-items:center;gap:30px;min-width:0}.profile-design-avatar{position:relative;isolation:isolate;display:grid;width:84px;height:84px;flex:0 0 84px;place-items:center;border:2px solid #d5b7f2;border-radius:50%;background:#17131d;box-shadow:0 0 24px #b58adc54}.profile-design-avatar>img:first-child{position:relative;z-index:3;width:74px;height:74px;border-radius:50%;object-fit:cover}.profile-design-avatar>span{color:#dec8f4;font-size:34px}.profile-design-avatar[class*="cerceve-"]{border-color:transparent;box-shadow:0 0 26px var(--profile-frame-glow,#b58adc54)}.profile-design-avatar .profile-design-frame{position:absolute;z-index:2;inset:-18px;width:120px;height:120px;max-width:none;object-fit:contain;filter:drop-shadow(0 4px 8px var(--profile-frame-glow,#0000));pointer-events:none;animation:avlu-frame-aura 4.8s ease-in-out infinite}.profile-design-copy{min-width:0;flex:1}.profile-design-copy .section-kicker{font-size:9px}.profile-design-copy h3{margin:4px 0;color:#fff;font-size:24px;letter-spacing:-.04em;overflow-wrap:anywhere}.profile-design-copy>p{margin:0;color:#d4cbdc;font-size:12px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}.profile-design-xp{max-width:390px;margin-top:13px}.profile-design-xp>span{display:flex;justify-content:space-between;gap:10px;color:#c4b5d1;font-size:9px}.profile-design-xp strong{color:#e2d5ec;font-weight:500}.profile-design-xp>i{display:block;height:5px;margin-top:6px;overflow:hidden;border-radius:99px;background:#fff2}.profile-design-xp b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a77bd2,#e0c8ff)}.profile-design-title{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:6px 9px;border:1px solid #e7ce904d;border-radius:99px;color:#f0d89e;background:#18141bce;font-size:10px}.profile-design-title>small{color:#b99b69;font-size:8px;font-weight:750;letter-spacing:.1em}.profile-design-title img{width:24px;height:24px;object-fit:contain}.profile-design-badges{display:flex;flex:0 0 auto;gap:5px}.profile-design-badges img{width:32px;height:32px;padding:3px;border:1px solid #ad8ac44d;border-radius:9px;background:#18141bce;object-fit:contain;animation:profile-badge-pop .28s ease both}@keyframes profile-badge-pop{from{opacity:.5;transform:scale(.82)}to{opacity:1;transform:scale(1)}}.profile-design-footer{padding-top:12px;border-top:1px solid #fff2;color:#b2a5bf;font-size:9px;letter-spacing:.08em}.profile-design-footer b{color:#d1b3f3}
.profile-designer-tools{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:16px}.profile-designer-controls{min-width:0;padding:15px;border:1px solid #302a37;border-radius:14px;background:#0f0e14}.profile-designer-tabs{display:flex;gap:6px;padding:4px;border:1px solid #302b38;border-radius:11px;background:#14121a}.profile-designer-tabs button{min-height:36px;flex:1;padding:7px 12px;border:1px solid transparent;border-radius:8px;color:#a99eb5;background:transparent;font:inherit;font-size:11px;cursor:pointer;transition:color .18s ease,background .18s ease,border-color .18s ease}.profile-designer-tabs button[aria-selected=true]{border-color:#8869ac66;color:#f3eafa;background:#36294a;box-shadow:inset 0 -2px #be9be8}.profile-designer-panel{padding-top:15px}.profile-designer-panel[hidden]{display:none}.profile-designer-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.profile-designer-panel-heading>div{display:grid;gap:3px}.profile-designer-panel-heading strong{font-size:13px}.profile-designer-panel-heading small,.profile-designer-panel-heading>span{color:#9e91aa;font-size:10px}.profile-designer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:310px;overflow:auto;padding:2px 3px 4px 1px;scrollbar-color:#584469 #17131d;scrollbar-width:thin}
.profile-design-option{position:relative;display:flex;min-width:0;min-height:66px;align-items:center;gap:10px;padding:8px;border:1px solid #342d3b;border-radius:11px;color:#ded5e7;background:linear-gradient(145deg,#19161f,#121117);text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}.profile-design-option:hover{transform:translateY(-1px);border-color:#8d70a9;background:#211a2b}.profile-design-option[aria-pressed=true]{border-color:#c19ce8;background:linear-gradient(135deg,#30233e,#19151f);box-shadow:inset 0 0 0 1px #bc94e644,0 0 18px #a77bd218}.profile-design-option>img,.profile-design-empty-art{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;overflow:hidden;border:1px solid #54425f;border-radius:9px;background:#100f16;color:#cfb1ed;font-size:20px}.profile-design-option[data-item-slot=background]>img{object-fit:cover}.profile-design-option:not([data-item-slot=background])>img{object-fit:contain}.profile-design-option>span:not(.profile-design-empty-art){display:grid;min-width:0;gap:3px}.profile-design-option strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.profile-design-option small{color:#9e92a9;font-size:9px}.profile-design-option>i{position:absolute;top:6px;right:6px;padding:3px 5px;border-radius:99px;color:#d6baf1;background:#4b345f;font-size:8px;font-style:normal}
.profile-designer-save{display:grid;gap:13px;align-content:start;padding:16px;border:1px solid #40334d;border-radius:14px;background:radial-gradient(ellipse at 100% 0,#77539c30,transparent 68%),#15121b}.profile-designer-save>p{min-height:45px;margin:0;color:#c2b5cd;font-size:11px;line-height:1.55}.profile-designer-save .button{width:100%;min-height:43px;padding:8px 12px;font-size:11px}.profile-designer-save button:disabled{opacity:.43;cursor:not-allowed}.profile-designer-save-state{transition:color .18s ease,border-color .18s ease,background .18s ease}.profile-designer-save-state[data-state=dirty]{color:#f2d79d;border-color:#a87e3f66;background:#302516}.profile-designer-save-state[data-state=saving]{color:#cbb9ee;border-color:#8066ad;background:#282039}.profile-designer-save-state[data-state=error]{color:#f0b6b6;border-color:#a85b5b;background:#321d23}
.profile-design-empty-note{margin:12px 0 0;color:#9f93aa;font-size:11px;line-height:1.6}.profile-design-empty-note a{display:inline-block;margin-left:5px;color:#d4b4f1;font-weight:650}
.profile-design-search,.profile-badge-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 14px;margin:0 0 10px;color:#bcb0c7;font-size:10px;font-weight:650}.profile-design-search input,.profile-badge-search input{grid-column:1/-1;width:100%;min-height:40px;padding:9px 12px;border:1px solid #393043;border-radius:10px;color:#eee6f5;background:#111017;font:inherit;font-size:12px;font-weight:450}.profile-design-search input:focus,.profile-badge-search input:focus{outline:2px solid #ad8bd24d;border-color:#a77bd2}.profile-badge-search small{grid-column:2;grid-row:1;color:#a89ab2;font-size:10px;font-weight:500}.profile-design-no-results{margin:10px 0;padding:11px 12px;border:1px dashed #51405f;border-radius:10px;color:#b6a8c1;font-size:11px;text-align:center}
.profile-design-preview-art img[hidden],.profile-design-title[hidden],.profile-design-badges[hidden],.profile-design-option[hidden],.profile-badge-choice[hidden]{display:none!important}
.profile-badge-editor{display:grid;gap:15px;padding:19px;border:1px solid #393044;border-radius:15px;background:radial-gradient(ellipse at 100% 0,#68478a1f,transparent 55%),#100e15}.profile-badge-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.profile-badge-editor-heading h3{margin:4px 0;font-size:18px}.profile-badge-editor-heading p{margin:0;color:#a99eb3;font-size:11px}.profile-badge-editor-heading>strong{flex:0 0 auto;padding:7px 10px;border:1px solid #654d7c;border-radius:99px;color:#d9c1ef;background:#241b2f;font-size:10px}.profile-badge-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.profile-badge-choice{position:relative;display:grid;justify-items:center;gap:5px;min-width:0;min-height:100px;padding:10px 7px;border:1px solid #342c3d;border-radius:12px;color:#d8cede;background:linear-gradient(145deg,#191621,#111016);cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}.profile-badge-choice:hover{transform:translateY(-2px);border-color:#9372b2}.profile-badge-choice.is-selected{border-color:#c29de8;background:linear-gradient(145deg,#30213f,#19141f);box-shadow:inset 0 0 0 1px #ba91e533,0 0 18px #a77bd218}.profile-badge-choice>img{width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 5px 10px #0005)}.profile-badge-choice>span{max-width:100%;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.profile-badge-choice>i{padding:2px 6px;border-radius:99px;color:#a99bac;background:#201c26;font-size:8px;font-style:normal}.profile-badge-choice.is-selected>i{color:#dfc5fa;background:#4b345f}.profile-badges-save{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:13px;border-top:1px solid #ffffff12}.profile-badges-save>span{color:#a99eb3;font-size:10px}.profile-badges-save[aria-busy=true]{opacity:.7}.profile-badges-save button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1000px){.profile-designer-tools{grid-template-columns:1fr}.profile-designer-save{grid-template-columns:1fr auto;align-items:center}.profile-designer-save>p{min-height:0}}
@media(max-width:600px){.profile-card-designer{padding:15px}.profile-designer-heading{display:grid}.profile-designer-heading h2{font-size:20px}.profile-design-preview{min-height:260px;padding:17px;gap:18px}.profile-design-identity{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:12px}.profile-design-avatar{width:64px;height:64px;flex-basis:64px}.profile-design-avatar>img:first-child{z-index:3;width:56px;height:56px}.profile-design-avatar .profile-design-frame{inset:-12px;width:88px;height:88px}.profile-design-copy{min-width:0}.profile-design-copy h3{font-size:clamp(15px,5vw,19px);overflow-wrap:normal;word-break:normal}.profile-design-title,.profile-design-badges{grid-column:2;justify-self:start;position:static;max-width:100%;margin:0}.profile-design-title>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-design-footer{font-size:8px}.profile-designer-tabs button{padding-inline:7px;font-size:10px}.profile-designer-options{grid-template-columns:1fr;max-height:250px}.profile-designer-save{grid-template-columns:1fr}.profile-designer-save .button{width:100%}.profile-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-badge-editor-heading{align-items:flex-start}.profile-badge-editor-heading p{max-width:230px}.profile-badges-save{align-items:stretch;flex-direction:column}.profile-badges-save .button{width:100%}}
@media(prefers-reduced-motion:reduce){.profile-design-preview::after,.profile-design-preview-art img,.profile-design-option{transition:none;animation:none}}

/* The preview shares one tall layout with decoration, badges and identity editing. */
.profile-atelier-preview .profile-design-copy>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-height:4.65em;overflow:hidden}
.atelier-next-steps{gap:12px!important}.atelier-next-steps .profile-panel{margin:0;padding:20px}.atelier-next-steps h2{font-size:19px}.atelier-next-steps p{font-size:11px;line-height:1.75}.atelier-next-links{display:grid;gap:12px}.atelier-next-links>a:last-child{font-size:11px;color:#ceb0e8}.atelier-next-steps .button{padding:9px 12px;font-size:10px!important}
.profile-card-designer{display:block;padding:22px;overflow:visible}
.profile-designer-heading{margin-bottom:23px}.atelier-preview-sentinel{height:1px;margin-top:-1px;pointer-events:none}
.profile-atelier-layout{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr);gap:20px;align-items:start;position:relative}
.profile-atelier-preview{position:sticky;top:103px;align-self:start;min-width:0;padding:0;border-radius:17px;background:#121018;box-shadow:0 18px 40px #0004}
.profile-atelier-preview .profile-design-preview{position:relative;top:auto;min-height:clamp(280px,44vh,370px);padding:24px;gap:28px;grid-column:auto;grid-row:auto}
.profile-design-identity{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:12px 19px}.profile-design-avatar{grid-column:1;grid-row:1/4;width:78px;height:78px;flex-basis:78px}.profile-design-avatar>img:first-child{width:70px;height:70px}.profile-design-avatar .profile-design-frame{inset:-13px;width:104px;height:104px}.profile-design-copy{grid-column:2;min-width:0}.profile-design-copy h3{font-size:clamp(20px,2vw,29px)}.profile-design-title,.profile-design-badges{grid-column:2;justify-self:start;max-width:100%;flex-wrap:wrap}.profile-design-title{border-radius:9px}.profile-design-title>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}.profile-design-brand{flex-wrap:wrap;gap:7px}.profile-design-brand small{flex:1 1 100%;margin-left:37px;font-size:8px}.profile-design-xp>span{flex-wrap:wrap;font-size:10px}.profile-design-footer{flex-wrap:wrap;gap:7px;line-height:1.6}
.atelier-preview-actions{display:flex;gap:8px;justify-content:center;padding:13px 13px 0}.atelier-preview-actions button{min-height:34px;border:1px solid #70538655;border-radius:8px;background:#261b33;color:#cdb2e1;font:inherit;font-size:10px;padding:7px 11px;cursor:pointer}.atelier-preview-actions button[aria-pressed=true]{border-color:#b99acf;background:#392748;color:#ead9f7}.atelier-preview-actions [data-atelier-expand]{display:none}.atelier-preview-caption{padding:0 17px 15px;margin:9px 0 0;color:#a899b4;font-size:10px;line-height:1.7;text-align:center}.profile-atelier-workbench{display:grid;gap:19px;min-width:0}.profile-atelier-workbench .profile-designer-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.profile-atelier-workbench .profile-designer-controls{padding:17px}.profile-atelier-workbench .profile-designer-options{max-height:320px;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-atelier-workbench .profile-design-option{min-height:75px;gap:8px;padding:9px}.profile-atelier-workbench .profile-design-option strong{white-space:normal;font-size:11px;line-height:1.4}.profile-atelier-workbench .profile-design-option>img,.profile-atelier-workbench .profile-design-empty-art{width:43px;height:43px;flex-basis:43px}.profile-atelier-workbench .profile-badge-editor{padding:19px}.profile-atelier-workbench .profile-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-atelier-workbench .profile-badge-choice>span{font-size:10px;white-space:normal;text-align:center;line-height:1.4}.profile-atelier-workbench .profile-badge-editor-heading{align-items:flex-start}.profile-atelier-workbench .profile-badge-editor-heading h3{font-size:18px}.profile-atelier-workbench .profile-badges-save{flex-wrap:wrap}.profile-identity-editor{margin:0!important}.profile-identity-editor h2{font-size:21px}.profile-identity-editor .profile-form-footer{flex-direction:column;align-items:stretch}
.profile-atelier-workbench .profile-designer-save{display:block;padding:17px;border-color:#665076;background:#201829}.profile-designer-save>p{min-height:0;margin:0 0 14px;font-size:11px;line-height:1.7}.atelier-save-actions{display:flex;gap:10px;align-items:center}.atelier-save-actions .button{width:auto;flex:1;min-width:0}.atelier-save-actions .button-primary{flex:2}.profile-designer-save-state[data-state=saved]{background:#183023;border-color:#76b89655;color:#b0ddc4}.profile-designer-save-state{max-width:210px;text-align:center}.profile-design-option:disabled,.profile-badge-choice:disabled{cursor:wait;opacity:.65}
@media(max-width:1200px){.profile-atelier-layout{display:block}.profile-atelier-preview{top:92px;z-index:4;margin-bottom:21px;border:1px solid #40334c}.profile-atelier-preview .profile-design-preview{min-height:265px;padding:22px}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-preview{min-height:0;max-height:132px;padding:14px 19px;gap:6px;border-bottom-left-radius:0;border-bottom-right-radius:0}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-preview-top,.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-copy>p,.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-xp,.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-footer,.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-title{display:none}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-identity{grid-template-columns:48px minmax(0,1fr);gap:5px 16px}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-avatar{width:48px;height:48px;grid-row:1/3}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-avatar>img:first-child{width:43px;height:43px}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-frame{inset:-8px;width:64px;height:64px}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-copy h3{font-size:18px;margin:1px 0}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-copy .section-kicker{display:none}.profile-atelier-preview.is-docked:not([data-expanded=true]) .profile-design-badges img{width:24px;height:24px;padding:2px;border-radius:6px}.profile-atelier-preview.is-docked .atelier-preview-caption{display:none}.profile-atelier-preview.is-docked .atelier-preview-actions{padding:8px 12px}.atelier-preview-actions [data-atelier-expand]{display:block}.profile-atelier-workbench .profile-designer-options{max-height:300px}.profile-atelier-workbench .profile-badge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.profile-card-designer{padding:14px}.profile-designer-heading{gap:9px;margin-bottom:16px}.profile-designer-heading h2{font-size:20px}.profile-atelier-preview{top:76px}.profile-atelier-preview .profile-design-preview{min-height:278px;padding:17px}.profile-design-identity{grid-template-columns:62px minmax(0,1fr);gap:10px 14px}.profile-design-avatar{width:62px;height:62px}.profile-design-avatar>img:first-child{width:55px;height:55px}.profile-design-avatar .profile-design-frame{inset:-10px;width:82px;height:82px}.profile-design-copy h3{font-size:20px}.profile-design-title{font-size:10px}.profile-design-title>span{max-width:120px}.profile-design-badges img{width:28px;height:28px}.profile-atelier-preview .profile-design-brand small{font-size:7px}.profile-atelier-workbench .profile-designer-controls,.profile-atelier-workbench .profile-badge-editor{padding:14px}.profile-atelier-workbench .profile-designer-options{grid-template-columns:1fr}.profile-atelier-workbench .profile-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-atelier-workbench .profile-designer-save{position:sticky;bottom:12px;z-index:3;box-shadow:0 8px 25px #0007}.profile-designer-save>p{font-size:10px}.atelier-save-actions .button{font-size:10px!important;padding:8px}.atelier-preview-actions button{font-size:9px;padding:6px 7px}.profile-design-preview-art img{mix-blend-mode:normal}}
@media(prefers-reduced-motion:reduce){.profile-design-preview::after,.profile-design-preview-art img,.profile-design-frame,.profile-design-badges img{animation:none!important;transition:none!important}.profile-design-option,.profile-badge-choice{transition:none}}
