.pf-background-host{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 15% 18%,#68457455,transparent 52%),radial-gradient(ellipse at 85% 80%,#22455f66,transparent 55%),#100e17}
.pf-world-media{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;filter:blur(var(--pf-bg-blur,0px));transform:scale(1.035)}
.pf-world-background[data-position=top] .pf-world-media{object-position:center top}.pf-world-background[data-position=bottom] .pf-world-media{object-position:center bottom}
.pf-world-scrim{position:absolute;inset:0;background:rgb(5 5 12 / var(--pf-bg-dim,.4));box-shadow:inset 0 -100px 120px -70px #07070b66}
.pf-world-background[data-paused=true] img[src$=".gif"],.pf-world-background[data-paused=true] img[src^="data:image/gif"]{visibility:hidden}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]){position:relative;isolation:isolate;min-height:690px;padding:72px 28px 35px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid #ffffff14;border-radius:14px;overflow:hidden;background:#100e17}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-card{position:relative;z-index:2;width:min(100%,590px);max-width:590px;min-width:0;margin:0;padding:30px 28px 20px;border:1px solid rgb(255 255 255 / calc(var(--pf-panel-opacity,.5)*.11));border-radius:24px;box-shadow:none;background:rgb(12 11 18 / calc(var(--pf-panel-opacity,.5)*.68));overflow:visible;transform:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-banner{display:none!important}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-card-body{padding:0!important;background:none;border:0;text-align:center}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-avatar-row{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 0 23px;gap:20px}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-avatar-frame{--pf-avatar-size:152px;width:var(--pf-avatar-size)!important;height:var(--pf-avatar-size)!important;min-width:var(--pf-avatar-size);min-height:var(--pf-avatar-size);flex:0 0 var(--pf-avatar-size);padding:6px;margin:0;box-shadow:0 20px 70px #0007}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-status-bubble{position:relative;inset:auto;max-width:min(100%,360px);margin:0;padding:8px 13px;border-radius:20px;background:#11101cc2;color:#eee9f6;line-height:1.6;font-size:12px;border-color:#ffffff24}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-status-bubble:before,.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-status-bubble:after{display:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-nameplate{margin:0;text-align:center;display:flex;flex-direction:column;align-items:center}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-username{margin:0;color:#fff;font:600 clamp(26px,3vw,39px)/1.2 'Sora',sans-serif;letter-spacing:-.065em;text-shadow:0 3px 20px #0007;overflow-wrap:anywhere;max-width:100%}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-card-eyebrow,.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-handle{display:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-presence-label{margin:9px 0 0;font-size:11px;letter-spacing:.06em;color:#c5bed1}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-owner-title{font:500 12px/1.5 'Sora',sans-serif;letter-spacing:.12em;color:#ead2a3;margin:8px 0}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-badge-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:13px 0 0}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-badge-strip[hidden]{display:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-badge{height:32px;min-width:32px;padding:5px;border:0;background:#ffffff0c;border-radius:8px;color:var(--pf-accent)}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-badge>span:not(:first-child),.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-badge>small{display:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-badge svg{width:20px;height:20px}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-about{border:0;padding:0;margin:22px auto 0;max-width:390px}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-about h3{display:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-bio{font:400 14px/1.85 var(--sans,'DM Sans',sans-serif);color:#f1ecf8;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:0 2px 15px #0009;margin:0}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-telegram-link{justify-content:center;max-width:100%;width:fit-content;margin:22px auto 0;padding:11px 15px;background:#ffffff0b;border:1px solid #ffffff19;border-radius:24px;font-size:12px;color:#eee7f6}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-music-player{margin:19px auto 0;max-width:350px;min-width:0}.pf-music-player:empty{display:none}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-stat-grid{margin:30px 0 0;border:0;gap:10px;padding:0;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-stat-grid>div{border:1px solid #ffffff0e;background:#08071035;border-radius:10px;padding:15px 10px;min-width:0}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-stat-grid strong{font-size:15px;color:#f6f2fa;letter-spacing:-.025em}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-stat-grid span{color:#b7abc7}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-bottom{border-color:#ffffff12;margin-top:25px;padding-top:17px;color:#bbb0c9}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-copy{color:#ddd2e9}
.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-preview-note{position:relative;z-index:2;margin-top:30px;color:#b7afc4}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-ambient{z-index:1;pointer-events:none;opacity:.5}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-card-vfx{border-radius:24px;opacity:.3}
.pf-fullscreen-profile .pf-preview[data-layout=left]:not([data-view=popout]){align-items:flex-start}.pf-fullscreen-profile .pf-preview[data-layout=left]:not([data-view=popout]) .pf-profile-card{max-width:510px}
.pf-fullscreen-profile.pf-public-profile .pf-workspace{display:block;max-width:none;width:100%;margin:0}.pf-fullscreen-profile.pf-public-profile .pf-preview-section{max-width:none;width:100%}
.pf-fullscreen-profile.pf-public-profile .pf-preview:not([data-view=popout]){min-height:calc(100svh - 125px);padding:70px 32px 55px;border:0;border-radius:0;background:none}
.pf-fullscreen-profile.pf-public-profile .pf-background-host{position:fixed;inset:0;z-index:-1}
.pf-fullscreen-profile.pf-public-profile .pf-preview:not([data-view=popout]) .pf-avatar-frame{--pf-avatar-size:180px}
.pf-fullscreen-profile.pf-public-profile .pf-preview-toolbar{position:relative;z-index:3;display:flex;justify-content:flex-end;background:none;border:0;backdrop-filter:none;padding:0 12px}.pf-fullscreen-profile.pf-public-profile .pf-preview-mode{display:none}.pf-fullscreen-profile.pf-public-profile .pf-preview-note{display:none}
.pf-fullscreen-profile.pf-public-profile .pf-motion-toggle{background:#171322b8;border:1px solid #ffffff24;min-height:40px;border-radius:22px;color:#e5dced}
.pf-public-profile .pf-preview-toolbar{display:none!important}
.pf-fullscreen-profile .pf-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.pf-background-controls{padding-top:12px;border-top:1px solid #ffffff12;margin-top:20px}.pf-background-controls .pf-options-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pf-background-selection{font-size:11px;color:#b5a4cb;line-height:1.6}.pf-background-upload .pf-upload-visual>svg{width:40px;height:40px}
.pf-profile-popover .pf-profile-card,.pf-preview[data-view=popout] .pf-profile-card{position:relative;isolation:isolate;overflow:hidden;background:#100d18}.pf-profile-popover .pf-profile-card>.pf-background-host,.pf-preview[data-view=popout] .pf-profile-card>.pf-background-host{display:block;position:absolute;inset:0;z-index:0;border-radius:inherit}.pf-profile-popover .pf-profile-card:has(>.pf-background-host)>.pf-banner,.pf-preview[data-view=popout] .pf-profile-card:has(>.pf-background-host)>.pf-banner{position:relative;z-index:1;background:transparent}.pf-profile-popover .pf-profile-card>.pf-card-body,.pf-preview[data-view=popout] .pf-profile-card>.pf-card-body{position:relative;z-index:1;background:linear-gradient(180deg,#0c091833,#0c09187a);border:0}.pf-profile-popover .pf-banner::after,.pf-preview[data-view=popout] .pf-banner::after{display:none}.pf-profile-popover .pf-banner-treatment,.pf-preview[data-view=popout] .pf-banner-treatment{display:none}.pf-video-toggle{position:absolute;z-index:4;top:12px;right:12px;min-height:36px;padding:8px 12px;border:1px solid #ffffff26;border-radius:20px;background:#14101fd9;color:#e2d5f1;font:500 10px/1.2 var(--sans,sans-serif);cursor:pointer}.pf-video-toggle[hidden]{display:none}.pf-video-toggle:focus-visible{outline:2px solid #d2aff6;outline-offset:3px}.pf-profile-popover .pf-video-toggle{left:12px;right:auto;top:12px}
@media(max-width:700px){.pf-fullscreen-profile .pf-preview:not([data-view=popout]){min-height:580px;padding:42px 12px 25px}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-card{padding:25px 15px 18px;border-radius:18px}.pf-fullscreen-profile.pf-public-profile .pf-preview:not([data-view=popout]){min-height:calc(100svh - 160px);padding:40px 0 55px}.pf-fullscreen-profile.pf-public-profile .pf-preview:not([data-view=popout]) .pf-avatar-frame{--pf-avatar-size:140px}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-bio{font-size:13px}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-bottom{flex-wrap:wrap;gap:10px}.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-telegram-link{flex-wrap:wrap}.pf-fullscreen-profile .pf-preview[data-layout=left]:not([data-view=popout]){align-items:center}.pf-fullscreen-profile .pf-upload-grid{grid-template-columns:1fr}.pf-fullscreen-profile .pf-options-grid button{min-width:0}}
@media(prefers-reduced-motion:reduce){.pf-world-media{transform:none}.pf-world-background img[src$=".gif"],.pf-world-background img[src^="data:image/gif"]{visibility:hidden}}

/* Win against the older compact-card studio sizing without changing popouts. */
.imperial-profile.pf-fullscreen-profile .pf-preview-section{max-width:none;width:100%}
.imperial-profile.pf-fullscreen-profile.pf-public-profile{max-width:none;width:100%;margin:0}
.imperial-profile.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-card{backdrop-filter:none;-webkit-backdrop-filter:none}
.imperial-profile.pf-fullscreen-profile .pf-preview:not([data-view=popout]) .pf-profile-card:hover{transform:none;box-shadow:none}

.pf-background-notice{position:relative;z-index:3;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:440px;margin:0 auto 20px;padding:12px 15px;background:#211a2ced;border:1px solid #b293cf44;border-radius:8px;color:#d5c6e4;font:12px/1.6 var(--sans,sans-serif)}.pf-background-notice[hidden]{display:none}.pf-background-notice button{border:1px solid #c8a8e966;border-radius:5px;min-height:38px;padding:8px 11px;background:#503565;color:#eee1fb;font:inherit}.pf-profile-popover .pf-background-notice{display:none}

.pf-upload-library{margin-top:25px;border-top:1px solid #bba0d226;padding-top:15px}.pf-upload-library summary{cursor:pointer;min-height:44px;padding:10px 0;color:#e0d4eb;font-size:13px}.pf-upload-library summary:focus-visible{outline:2px solid #c9a5ef;outline-offset:3px}.pf-library-status{font:12px/1.6 var(--sans,sans-serif);color:#b6a5c9;overflow-wrap:anywhere}.pf-library-list{list-style:none;padding:0;margin:10px 0}.pf-library-list li{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid #ffffff0b;padding:12px 0}.pf-library-art{display:grid;place-items:center;width:40px;height:40px;border-radius:6px;background:#c19ae618;color:#c4a6e1;overflow:hidden}.pf-library-art img{display:block;width:100%;height:100%;object-fit:cover}.pf-library-list strong{display:block;font-size:12px;font-weight:500;color:#dacee8}.pf-library-list small{display:block;font-size:10px;line-height:1.7;color:#a293b0}.pf-library-list button{padding:8px;border:1px solid #b895d232;background:#38273d;border-radius:5px;color:#dfbedb;font:12px var(--sans,sans-serif);min-height:40px}.pf-library-list button:disabled{opacity:.45;cursor:default}

/* Keep the editor's artwork and effect layers inside one preview canvas. */
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]){position:relative;isolation:isolate;contain:paint;overflow:hidden}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout])>.pf-background-host{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout])>.pf-ambient{position:absolute;inset:0;z-index:1;overflow:hidden;border-radius:inherit;pointer-events:none}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout])>.pf-profile-card{position:relative;z-index:2}

/* The editor is a compact live canvas; public profiles retain their own scale. */
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]){height:clamp(340px,calc(100svh - var(--pf-studio-sticky-top) - var(--pf-studio-toolbar-height) - 86px),680px);min-height:0;padding:28px 16px 20px;justify-content:flex-start;overflow:auto;scrollbar-width:thin;scrollbar-color:#75618a #19141f;overscroll-behavior:contain}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]):focus-visible{outline:2px solid #c2a0e6;outline-offset:3px}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout])>.pf-profile-card{flex-shrink:0;padding:20px 16px 16px;max-width:100%;width:100%}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-avatar-frame{--pf-avatar-size:108px}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-username{font-size:25px;line-height:1.3;overflow-wrap:anywhere}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-bio{font-size:12px;line-height:1.65}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-about{margin-top:14px}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-telegram-link,.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-stat-grid,.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-music-player{margin-top:16px}
.imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-preview-note{flex-shrink:0;margin-top:15px}
.imperial-profile:not(.pf-public-profile) .pf-preview[data-view=popout]{max-height:calc(100svh - var(--pf-studio-sticky-top) - var(--pf-studio-toolbar-height) - 86px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media(max-width:1000px){
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]){height:360px;min-height:0;padding:18px 16px}
 .imperial-profile:not(.pf-public-profile) .pf-preview[data-view=popout]{height:360px;max-height:none;overflow:auto}
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout])>.pf-profile-card{max-width:520px;padding:16px}
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-avatar-frame{--pf-avatar-size:88px}
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-username{font-size:23px}
}
@media(max-width:600px){
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]){height:320px;padding:14px 10px}
 .imperial-profile:not(.pf-public-profile) .pf-preview[data-view=popout]{height:320px}
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout])>.pf-profile-card{padding:14px 10px}
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-avatar-frame{--pf-avatar-size:76px}
 .imperial-profile.pf-fullscreen-profile:not(.pf-public-profile) .pf-preview:not([data-view=popout]) .pf-username{font-size:21px}
}
