/* Original illustrated profile cosmetics and accessible try-on editor. */
.profile-studio{max-width:1380px;padding-block:30px 70px;--studio-border:#ffffff10;--studio-muted:#9ca6bc}
.profile-studio-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:6px 0 30px}
.profile-studio-header h1{font-size:clamp(28px,3.2vw,43px);font-weight:800;letter-spacing:-1px;line-height:1.35;margin:10px 0}
.profile-studio-header h1 span{color:#d3bef6}.profile-studio-header p{color:var(--studio-muted);font-size:14px;line-height:1.95}
.profile-studio-header .studio-eyebrow{font-size:12px;letter-spacing:0;color:#bd9fe7}
.profile-studio-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.studio-count-pill{font-size:12px;padding:9px 14px;border:1px solid #c5a7eb25;border-radius:50px;color:#c7b1e5;background:#b497d509}
.profile-studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 324px;gap:25px;align-items:start}
.profile-studio-catalog{min-width:0}.profile-studio-nav{display:flex;flex-wrap:wrap;gap:5px;padding:7px;background:#151923;border:1px solid var(--studio-border);border-radius:13px}
.studio-category{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 12px;color:#aab1c1;border-radius:9px;background:none;border:0;font:inherit;font-size:12px;cursor:pointer}
.studio-category .i{width:16px;height:16px}.studio-category small{font-size:10px;opacity:.65}.studio-category:hover{background:#ffffff07;color:#ece6fb}
.studio-category.is-on{background:#a08bd626;color:#e5d7ff;box-shadow:inset 0 0 0 1px #c3a7ef20}
.profile-catalog-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 0 12px;margin:0}
.profile-search{display:flex;align-items:center;gap:8px;flex:1;min-width:150px;background:#141821;border:1px solid var(--studio-border);border-radius:9px;padding:10px 12px}
.profile-search .i{width:16px;height:16px;color:#9da7bb}.profile-search input{font:inherit;font-size:12px;width:100%;background:none;color:inherit;border:0;outline:0}
.profile-search:focus-within{border-color:#b79cdb80}.profile-search input::placeholder{color:#8890a2}
.studio-inventory-toggle{display:flex;align-items:center;gap:5px;font-size:11px;cursor:pointer}.studio-inventory-toggle span{display:flex;gap:4px;align-items:center}.studio-inventory-toggle .i{width:13px;height:13px}
.profile-catalog-toolbar .select{min-height:36px;font-size:11px;max-width:140px}
.studio-collection-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}
.studio-collection-tabs button{font:inherit;font-size:10px;cursor:pointer;min-height:32px;border-radius:30px;color:#929db3;padding:6px 10px;background:none;border:1px solid #ffffff0b}
.studio-collection-tabs button.is-on{color:#d5c4f5;border-color:#ba9bd33f;background:#b095ce0b}
.studio-gallery-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 15px}.studio-gallery-title h2{font-size:18px}.studio-gallery-title p{font-size:11px;color:var(--studio-muted);margin-top:5px}
.studio-gallery-title [data-cos-count]{font-size:10px;white-space:nowrap;color:#8c96ae}
.profile-cos-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0!important}
.profile-cos-card{padding:0;border:1px solid #ffffff0a;border-radius:13px;overflow:hidden;background:#141922;transition:border-color .2s,box-shadow .2s,transform .2s;min-width:0}
.profile-cos-card:hover{border-color:color-mix(in srgb,var(--item-accent) 45%,transparent);transform:translateY(-2px)}
.profile-cos-card.is-selected{border-color:var(--item-accent);box-shadow:0 0 0 1px color-mix(in srgb,var(--item-accent) 25%,transparent)}
.profile-item-preview{position:relative;height:165px;min-height:0!important;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 42%,color-mix(in srgb,var(--item-accent) 12%,transparent),transparent 72%),#181d29;border:0;overflow:hidden;padding:0}
.profile-art-button{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:none;border:0;padding:22px;font:inherit;color:inherit;cursor:pointer}
.profile-art-button:focus-visible{outline:2px solid #e9d8ff;outline-offset:-4px;border-radius:12px}
.profile-cos-card .cos-avatar{width:82px;height:82px}.profile-cos-card .cos-avatar>.avatar{width:82px;height:82px;border:0}
.profile-cos-card .cos-favorite{position:absolute;z-index:5;top:9px;left:9px;background:#11162366;width:28px;height:28px;border:1px solid #ffffff12;color:#a0a8bd}
.profile-cos-card .cos-favorite.is-on{color:#f0a6c2}.profile-cos-card .cos-favorite .i{width:14px;height:14px}
.profile-cos-card .cos-rarity{position:absolute;top:12px;right:12px;background:none;border:0;padding:0;color:#b9a8d4;font-size:9px}
.profile-cos-card .rarity-legendary{color:#e1c28a}.profile-cos-card .cos-motion-label{position:absolute;top:auto;right:auto;bottom:8px;left:10px;padding:0;font-size:9px;color:#919bb3;display:flex;gap:4px;align-items:center;background:none}.cos-motion-label .i{height:10px;width:10px}
.profile-selected-mark{position:absolute;right:10px;bottom:10px;background:var(--item-accent);color:#222738;display:none;align-items:center;justify-content:center;width:21px;height:21px;border-radius:50%}.is-selected .profile-selected-mark{display:flex}.profile-selected-mark .i{width:12px;height:12px}
.profile-cos-card .cos-card-body{padding:13px 14px 14px;gap:0}.profile-item-collection{font-size:9px;color:#9c8eaf;display:block;margin-bottom:5px}
.profile-cos-card h3{font-size:13px;margin:0;line-height:1.65}.profile-cos-card .cos-card-body p{font-size:10px;line-height:1.8;color:#94a0b7;min-height:36px;margin:6px 0 11px}
.profile-cos-card .btn{min-height:34px;font-size:10px;border-radius:8px}.profile-cos-card .btn-gem{background:#c9b5ec14;color:#d9c6f5;border:1px solid #c9b5ec26;box-shadow:none}
.profile-cos-card .btn-gem:hover{background:#c9b5ec24}.profile-cos-card [data-cos-select][aria-pressed=true]{color:var(--item-accent);border-color:color-mix(in srgb,var(--item-accent) 30%,transparent)}
.profile-banner-art{display:block;width:100%;height:100%;position:absolute;inset:0;background-size:cover;border-radius:0}.profile-name-art{font-size:28px;line-height:1.8;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-effect-mini{display:block;width:103px;height:130px;position:relative;border-radius:9px;background:#252c3e;border:1px solid #ffffff12;box-shadow:0 15px 30px #0003;overflow:hidden}
.mini-profile-banner{position:absolute;inset:0 0 auto;height:39px;background:linear-gradient(130deg,#786596,#405b7d)}
.mini-profile-avatar{position:absolute;top:22px;right:35px;width:34px;height:34px;border-radius:50%;border:4px solid #252c3e;background:radial-gradient(circle at 50% 35%,#aeb3c1 0 6px,transparent 7px),radial-gradient(ellipse at 50% 97%,#aeb3c1 0 11px,#434c63 12px)}
.mini-profile-line{position:absolute;top:70px;right:22px;left:22px;height:5px;border-radius:3px;background:#8d90a447}.mini-profile-line.short{top:86px;right:29px;left:29px;background:#8d90a42c}
.profile-tryon{position:sticky;top:85px;border:1px solid var(--studio-border);border-radius:15px;background:#141922;padding:15px;min-width:0}
.profile-tryon-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#c6c4d4}.profile-tryon-title span{display:flex;align-items:center;gap:7px}.profile-tryon-title .i{width:15px;height:15px}.profile-tryon-title .icon-btn{width:26px;height:26px}
.profile-preview-tabs{display:flex;gap:5px;margin:10px 0 13px;background:#0e131b;padding:4px;border-radius:8px}
.profile-preview-tabs button{flex:1;min-height:30px;font:inherit;font-size:11px;color:#8f9bb2;border:0;border-radius:6px;background:none;cursor:pointer}.profile-preview-tabs .is-on{color:#e8def5;background:#252738}
.profile-live{position:relative;isolation:isolate;overflow:hidden;background:#212938;border:1px solid #ffffff0c;border-radius:12px;box-shadow:0 12px 35px #0003}
.profile-live .cos-live-banner{height:106px;background:linear-gradient(120deg,#aa91c1,#5f779c);position:relative;overflow:hidden}
.profile-live .cos-live-banner::after{display:none}.profile-live .cos-live-body{display:block;margin-top:0;text-align:start;position:relative;padding:0 20px 19px;z-index:2;background:none}
.profile-live .cos-avatar{width:79px;height:79px;margin-top:-37px;margin-bottom:13px}.profile-live .cos-avatar>.avatar{width:79px;height:79px;border:5px solid #212938}
.profile-live .cos-live-body>.cos-avatar{display:flex}
.profile-live .preview-online-dot{position:absolute;top:25px;right:82px;z-index:3;width:17px;height:17px;border:4px solid #212938;background:#4ed39b;border-radius:50%}
.profile-preview-name{display:table;max-width:100%;font-size:19px;margin:2px 0 5px}.profile-preview-name b{font-size:inherit;line-height:1.5;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}
.profile-preview-handle{font-size:11px;color:#c3c9d7;display:block;direction:ltr;text-align:right}
.profile-preview-badges{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.profile-preview-badges span{display:flex;align-items:center;gap:4px;font-size:9px;background:#ffffff08;border:1px solid #ffffff08;padding:4px 7px;border-radius:5px}.profile-preview-badges .i{width:11px;height:11px;color:#a6b7cb}
.profile-preview-bio{font-size:11px;line-height:1.8;color:#c3cad9;max-height:60px;overflow:hidden}.profile-preview-rule{height:1px;background:#ffffff0d;margin:13px 0}
.profile-preview-label{font-size:10px;font-weight:700;color:#b8b5ca}.profile-preview-about{font-size:10px;color:#969fb5;margin-top:5px}.profile-preview-actions{display:flex;gap:8px;margin-top:14px}.profile-preview-actions span{flex:1;border-radius:5px;padding:6px;font-size:10px;text-align:center;background:#ffffff07;color:#bfc5d4}.profile-preview-actions .i{width:11px;height:11px}
.profile-preview-status{font-size:10px;color:#b8a5d0;line-height:1.8;min-height:18px;margin:12px 0 9px}
.profile-slot-list{display:grid;gap:1px;border-top:1px solid var(--studio-border);border-bottom:1px solid var(--studio-border);padding:8px 0;margin-bottom:12px}
.profile-slot-list>div{display:flex;align-items:center;justify-content:space-between;gap:5px}.profile-slot-list button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.profile-slot-list [data-slot-jump]{display:flex;align-items:center;gap:9px;padding:7px 0;min-width:0;text-align:start}.profile-slot-list [data-slot-jump]>.i{width:14px;height:14px;color:#8b94ab;flex-shrink:0}
.profile-slot-list span{font-size:10px;color:#bdc3d2;min-width:0}.profile-slot-list small{font-size:9px;color:#8d98af;display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.profile-slot-list .icon-btn{width:22px;height:22px;color:#737d94}
.profile-tryon-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 12px}.profile-tryon-tools .btn{font-size:10px;min-height:32px;padding:5px 10px}.profile-tryon-tools label{display:flex;align-items:center;gap:5px;font-size:10px;color:#929db3}
.profile-tryon>[data-cos-save]{min-height:39px;font-size:12px;background:#ad91d8;border-color:#ad91d8;color:#191321;box-shadow:none}.profile-tryon>[data-cos-save]:disabled{background:#b9a2d21a;color:#80788f;border-color:#b9a2d21a}
.profile-tryon>[data-cos-reset]{font-size:10px;min-height:30px;margin-top:5px}.profile-save-note{font-size:9px;color:#8f9bb0;line-height:1.85;text-align:center;margin-top:8px}
.profile-chat-preview{padding:26px 14px;display:flex;align-items:flex-start;gap:15px;background:#202633;min-height:140px}.profile-chat-preview[hidden]{display:none}
.profile-chat-preview .cos-avatar{width:40px;height:40px;margin:0;flex-shrink:0}.profile-chat-preview .cos-avatar>.avatar{width:40px;height:40px;border:0}.profile-chat-preview>div{min-width:0;padding-top:2px}.profile-chat-preview b{font-size:12px}.profile-chat-preview small{display:block;margin:5px 0;font-size:8px;color:#8c98b0}.profile-chat-preview p{font-size:11px;color:#d2d7e1;line-height:1.8}
.profile-live[data-preview-mode=chat]>.cos-live-banner,.profile-live[data-preview-mode=chat]>.cos-live-body{display:none}.profile-live[data-preview-mode=chat]::after{display:none}
.profile-studio-dialog{max-width:430px;width:calc(100% - 28px);padding:22px;background:#151b27;border:1px solid #cab0ec2a;border-radius:17px}.profile-studio-dialog h2{font-size:17px}.profile-studio-dialog .profile-live{max-width:330px;margin:auto}.profile-studio-dialog [data-expanded-profile]{margin-top:18px}
.profile-purchase-total{padding:25px 0;font-size:24px;color:#d9c5f1;display:flex;gap:8px;align-items:center}.profile-purchase-total .i{width:22px;height:22px}
/* Sprite art is cached per atlas. The clear center always keeps the complete user avatar visible. */
.cos-avatar[class*="cos-frame-"],.chat-avatar[class*="cos-frame-"]{position:relative;isolation:isolate;overflow:visible;flex-shrink:0}
.cos-avatar[class*="cos-frame-"]::after,.chat-avatar[class*="cos-frame-"]::after{content:"";position:absolute;inset:-10%;width:auto;height:auto;border:0;border-radius:0;background-image:var(--deco-image)!important;background-color:transparent!important;background-size:400% 400%!important;background-position:var(--deco-x,0%) var(--deco-y,0%)!important;background-repeat:no-repeat!important;z-index:3;pointer-events:none;filter:drop-shadow(0 2px 3px #0005);mask-image:radial-gradient(circle at center,transparent 0 48%,#000 50%);animation:none;transform:none;opacity:1}
.cos-avatar[class*="cos-frame-"]::before,.chat-avatar[class*="cos-frame-"]::before{display:none!important}
.cos-avatar[class*="cos-frame-"]>.avatar,.chat-avatar[class*="cos-frame-"]>.avatar{position:relative;z-index:1;object-fit:cover;border-radius:50%}
.cos-frame-none::after{display:none!important}.profile-live .cos-avatar:not(.cos-frame-none)::after,.studio-profile-shell .cos-avatar:not(.cos-frame-none)::after,.profile-identity .cos-avatar:not(.cos-frame-none)::after{animation:profileDecorationFloat 6s ease-in-out infinite}
.profile-cos-card:hover .cos-avatar:not(.cos-frame-none)::after{animation:profileDecorationFloat 6s ease-in-out infinite}
@keyframes profileDecorationFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-1.5px) rotate(.8deg)}}
/* A quiet strip behind the name, separate from its font treatment. */
.cos-nameplate,[class*="cos-plate-"].chat-name{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:38px;padding:6px 27px;color:#fff;line-height:1.45;z-index:0;text-shadow:0 1px 3px #0009;vertical-align:middle}
.cos-nameplate::before,[class*="cos-plate-"].chat-name::before{content:"";position:absolute;inset-inline:0;top:50%;height:auto;aspect-ratio:var(--plate-ratio,6.7);transform:translateY(-50%);z-index:-2;background-image:var(--plate-image);background-size:200% var(--plate-size-y,2000%);background-position:var(--plate-x,0%) var(--plate-y,0%);pointer-events:none}
.cos-nameplate::after,[class*="cos-plate-"].chat-name::after{content:"";position:absolute;inset:5px 18%;z-index:-1;border-radius:20px;background:linear-gradient(90deg,transparent,#10152372 22%,#10152372 78%,transparent);pointer-events:none}
.cos-plate-none{padding:0!important;min-height:0!important;justify-content:flex-start!important;text-shadow:none}.cos-plate-none::before,.cos-plate-none::after{display:none!important}
.cos-nameplate>span,.cos-nameplate>b{position:relative;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.preview-kind-nameplate .cos-nameplate{width:100%;font-size:13px;min-height:40px;padding-inline:35px}.preview-kind-nameplate .profile-art-button{padding-inline:12px}
.chat-name[class*="cos-plate-"]{min-height:26px;padding:4px 22px;font-size:12px}.chat-name.cos-plate-none{padding:0}.studio-member-nameplate{font-size:12px;min-height:29px;padding:4px 22px}
.profile-preview-name.cos-plate-none{margin-top:2px;display:block}.profile-preview-name:not(.cos-plate-none){font-size:17px;min-height:43px}
.profile-preview-name:not(.cos-plate-none){min-width:190px}.studio-profile-shell .studio-profile-main>.cos-avatar{display:flex;margin-inline:auto}.studio-profile-shell .studio-profile-main .avatar{width:90px;height:90px}.studio-profile-shell .studio-profile-main h2.cos-nameplate{display:flex;width:fit-content;min-width:200px;margin:22px auto 6px}.studio-profile-shell .studio-profile-main h2.cos-plate-none{min-width:0}
.profile-live .cos-nameplate::before,.studio-profile-shell .cos-nameplate::before,.profile-identity .cos-nameplate::before,.profile-cos-card:hover .cos-nameplate::before{animation:profilePlateGlow 9s ease-in-out infinite}
@keyframes profilePlateGlow{0%,100%{filter:brightness(1)}50%{filter:brightness(1.12)}}
:root[data-cos-motion=off] .cos-nameplate::before{animation:none!important}
@media(prefers-reduced-motion:reduce){.cos-nameplate::before{animation:none!important}}
/* Profile effects live only on profile cards, never on the message stream. */
[data-profile-card],.studio-profile-shell,.profile-identity{position:relative;isolation:isolate}
[data-profile-card]::after,.studio-profile-shell::after,.profile-identity::after{content:"";position:absolute;inset:0;background:var(--effect-image) center/100% 100% no-repeat;z-index:4;pointer-events:none;opacity:0;animation:var(--effect-motion,profileEffect0) var(--effect-duration,12s) ease-in-out infinite;border-radius:inherit}
.profile-effect-mini::after{opacity:.6;animation:none}.profile-cos-card:hover .profile-effect-mini::after{animation:var(--effect-motion,profileEffect0) 8s ease-in-out infinite}
.cos-effect-none::after{display:none!important}.profile-identity{border-radius:16px;overflow:hidden;margin-bottom:12px}.profile-identity .p-cover{margin-top:0}.profile-identity .p-head{position:relative;z-index:2;padding-inline:22px;padding-bottom:20px}.profile-identity .p-name{max-width:100%;font-size:clamp(22px,3vw,32px)}
.studio-profile-shell{border-radius:13px;overflow:hidden}.studio-profile-shell .studio-profile-main{position:relative;z-index:2}.studio-profile-shell .studio-profile-main h2{font-size:21px}.studio-profile-shell .studio-profile-main .cos-nameplate{margin:15px auto 4px}.studio-profile-shell .studio-profile-main .cos-avatar{width:90px;height:90px}
@keyframes profileEffect0{0%,100%{opacity:0;transform:translateY(4px)}12%,30%{opacity:.65;transform:translateY(0)}55%,90%{opacity:.13;transform:translateY(-3px)}}
@keyframes profileEffect1{0%,100%{opacity:0;transform:scale(.98)}15%,33%{opacity:.6;transform:scale(1)}65%,92%{opacity:.12;transform:scale(1.02)}}
@keyframes profileEffect2{0%,100%{opacity:0;transform:translateX(-3px)}18%,35%{opacity:.65;transform:translateX(0)}65%,90%{opacity:.1;transform:translateX(3px)}}
@keyframes profileEffect3{0%,100%{opacity:0;transform:rotate(-.7deg)}15%,30%{opacity:.7;transform:rotate(0)}65%,90%{opacity:.1;transform:rotate(.7deg)}}
@keyframes profileEffect4{0%,100%{opacity:0;transform:translateY(-3px)}18%,35%{opacity:.62;transform:translateY(0)}60%,90%{opacity:.13;transform:translateY(4px)}}
@keyframes profileNameShine{0%{background-position:0% 50%}100%{background-position:220% 50%}}
:root[data-cos-motion=off] [class*="cos-frame-"]::after,:root[data-cos-motion=off] [data-profile-card]::after,:root[data-cos-motion=off] .studio-profile-shell::after,:root[data-cos-motion=off] .profile-identity::after,:root[data-cos-motion=off] [class*="cos-name-"]{animation:none!important}
:root[data-cos-motion=off] [data-profile-card]::after,:root[data-cos-motion=off] .studio-profile-shell::after,:root[data-cos-motion=off] .profile-identity::after{opacity:.16}
@media(prefers-reduced-motion:reduce){[class*="cos-frame-"]::after,[data-profile-card]::after,.studio-profile-shell::after,.profile-identity::after,[class*="cos-name-"]{animation:none!important}.profile-cos-card{transition:none}[data-profile-card]::after,.studio-profile-shell::after,.profile-identity::after{opacity:.16}}
@media(min-width:1280px){.profile-cos-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-cos-card .cos-avatar{width:72px;height:72px}.profile-cos-card .cos-avatar>.avatar{width:72px;height:72px}.profile-item-preview{height:153px}.profile-cos-card .cos-card-body{padding:12px}}
@media(max-width:1050px){.profile-studio-layout{grid-template-columns:minmax(0,1fr) 290px;gap:16px}.profile-cos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-category{font-size:11px;padding-inline:9px}.profile-studio-header h1{font-size:33px}.profile-tryon{padding:12px}}
@media(max-width:760px){.profile-studio{padding-block:20px 80px}.profile-studio-header{align-items:flex-start;flex-direction:column;gap:15px;padding-bottom:22px}.profile-studio-header h1{font-size:31px}.profile-studio-header p{font-size:12px}.profile-studio-summary{justify-content:flex-start}.profile-studio-layout{display:flex;flex-direction:column}.profile-studio-catalog{width:100%;order:2}.profile-tryon{position:relative;top:auto;order:1;width:100%;display:block}.profile-tryon-title,.profile-preview-tabs,.profile-live,.profile-preview-status{grid-column:1}.profile-tryon-title{grid-row:1}.profile-preview-tabs{margin:10px 0}.profile-live{grid-row:3 / span 7}.profile-preview-status{grid-row:10}.profile-slot-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;margin:12px 0}.profile-tryon-tools{flex-wrap:wrap;gap:8px;margin:12px 0}.profile-tryon>[data-cos-save],.profile-tryon>a.btn-primary{grid-column:2;grid-row:8}.profile-tryon>[data-cos-reset]{grid-column:2;grid-row:9;margin:0}.profile-save-note{grid-column:2;grid-row:10;margin:0}.profile-live .cos-live-banner{height:73px}.profile-live .cos-live-body{padding:0 12px 14px}.profile-live .cos-avatar{width:68px;height:68px;margin-top:-25px;margin-bottom:12px}.profile-live .cos-avatar>.avatar{width:68px;height:68px;border-width:3px}.profile-live .preview-online-dot{top:29px;right:66px;width:13px;height:13px;border-width:3px}.profile-preview-name{font-size:18px}.profile-preview-name:not(.cos-plate-none){font-size:16px;min-height:42px;padding-inline:27px}.profile-preview-name b{max-width:220px}.profile-preview-badges,.profile-preview-rule,.profile-preview-label,.profile-preview-about,.profile-preview-actions{display:none}.profile-preview-handle{font-size:9px}.profile-preview-bio{font-size:11px;margin-top:10px;max-height:45px}.profile-slot-list small{max-width:125px}.profile-cos-grid{gap:10px}.profile-studio-nav{gap:3px}.studio-category{flex:1 1 30%;font-size:10px;padding:8px 6px;gap:4px}.studio-category .i{width:13px;height:13px}.profile-catalog-toolbar{gap:9px}.profile-search{flex-basis:100%}.profile-catalog-toolbar .select{font-size:10px}.studio-gallery-title h2{font-size:16px}.studio-gallery-title p{font-size:10px}.studio-gallery-title [data-cos-count]{font-size:9px}.profile-chat-preview{flex-direction:column;padding:16px;gap:10px}.profile-chat-preview .cos-nameplate{font-size:10px;min-height:26px;padding-inline:20px}}
@media(max-width:360px){.profile-tryon{display:block}.profile-preview-tabs{margin:10px 0}.profile-live{max-width:260px;margin:auto}.profile-preview-status{margin:10px 0}.profile-slot-list{display:none}.profile-tryon-tools{margin:10px 0;display:flex}.profile-tryon>[data-cos-save]{margin:10px 0}.profile-cos-card .cos-card-body{padding:10px}.profile-item-preview{height:145px}.profile-cos-card .cos-avatar{width:70px;height:70px}.profile-cos-card .cos-avatar>.avatar{width:70px;height:70px}.profile-cos-card h3{font-size:12px}.profile-name-art{font-size:22px}}
:root[data-theme=light] .profile-studio{--studio-muted:#626b7c;--studio-border:#332f4914}
:root[data-theme=light] .profile-studio-header h1 span{color:#73508e}:root[data-theme=light] .studio-count-pill{color:#765886;background:#9a79b90a;border-color:#a57abe2c}
:root[data-theme=light] .profile-studio-nav,:root[data-theme=light] .profile-tryon,:root[data-theme=light] .profile-cos-card,:root[data-theme=light] .profile-search{background:#fff;border-color:#343b4e16}
:root[data-theme=light] .studio-category{color:#646977}:root[data-theme=light] .studio-category.is-on{color:#6c457d;background:#ad91d819}
:root[data-theme=light] .profile-item-preview{background:radial-gradient(ellipse at 50% 42%,color-mix(in srgb,var(--item-accent) 15%,transparent),transparent 72%),#f0f1f6}
:root[data-theme=light] .profile-cos-card h3{color:#303345}:root[data-theme=light] .profile-item-collection{color:#806a8e}:root[data-theme=light] .profile-cos-card .cos-card-body p{color:#6b7488}
:root[data-theme=light] .profile-cos-card .btn-gem{color:#735187;background:#9977bc0d;border-color:#9977bc29}
:root[data-theme=light] .profile-tryon-title,:root[data-theme=light] .profile-slot-list span{color:#585367}:root[data-theme=light] .profile-preview-tabs{background:#f1edf5}:root[data-theme=light] .profile-preview-tabs .is-on{background:#fff;color:#725088}
:root[data-theme=light] .studio-collection-tabs button{color:#696473;border-color:#41394a16}:root[data-theme=light] .studio-collection-tabs .is-on{color:#73518a;background:#b094ca10}
:root[data-theme=light] .profile-studio-dialog{background:#f8f6fc}:root[data-theme=light] .profile-live .cos-live-body{color:#e8e7ef}
:root[data-theme=light] .cos-nameplate:not(.cos-plate-none) [class*="cos-name-"],:root[data-theme=light] .chat-name:not(.cos-plate-none) [class*="cos-name-"]{color:#fff!important;-webkit-text-fill-color:#fff;text-shadow:0 1px 3px #0009}
:root[data-theme=light] .cos-nameplate [class*="cos-name-"]{color:#fff!important;-webkit-text-fill-color:#fff;text-shadow:0 1px 3px #0009}
.profile-item-preview[hidden],.profile-cos-card[hidden]{display:none!important}

.cos-avatar[class*="cos-frame-frame-legend-"]::after,.chat-avatar[class*="cos-frame-frame-legend-"]::after{background-size:100% 100%!important;background-position:center!important;mask-image:radial-gradient(circle,transparent 0 46%,#000 48%);filter:drop-shadow(0 1px 2px #0005)}
.cos-avatar,.chat-avatar{flex-shrink:0;isolation:isolate}
.profile-identity .p-head{gap:24px;align-items:flex-end;padding-top:8px}
.profile-identity .p-head>.grow{min-width:0!important;flex-basis:240px}
.profile-identity .p-head>.cos-avatar{margin-inline:12px;margin-bottom:4px}
.profile-identity .p-name{overflow-wrap:anywhere;word-break:normal}
/* Effects sit behind identity text; the transparent perimeter keeps the avatar and actions clear. */
:is([data-profile-card],.studio-profile-shell,.profile-identity)::after{z-index:1;background-size:100% 100%;mask-image:linear-gradient(90deg,#000,transparent 12%,transparent 88%,#000);animation:none;opacity:0;transform:none}
:is([data-profile-card],.studio-profile-shell,.profile-identity).is-effect-playing::after{animation:profileEffectReveal 8s ease-out 1}
.profile-effect-mini::after{opacity:.28;mask-image:linear-gradient(90deg,#000,transparent 18%,transparent 82%,#000);animation:none}
.profile-cos-card:hover .profile-effect-mini::after{animation:profileEffectReveal 8s ease-out 1}
@keyframes profileEffectReveal{0%{opacity:0;transform:translateY(-5px)}10%,28%{opacity:.65;transform:translateY(0)}55%{opacity:.22}100%{opacity:0;transform:translateY(5px)}}
@media(max-width:599px){.profile-identity .p-head{align-items:flex-start;gap:16px;padding-inline:16px}.profile-identity .p-head>.grow{flex-basis:100%;margin-top:0}.profile-identity .p-head>.cos-avatar{margin-inline:10px}.profile-identity .p-head>.row:last-child{flex-wrap:wrap}.profile-identity .p-name{font-size:24px}}
@media(prefers-reduced-motion:reduce){:is([data-profile-card],.studio-profile-shell,.profile-identity)::after{animation:none!important;opacity:0!important}.cos-avatar::after,.chat-avatar::after{animation:none!important;transform:none!important}}
:root[data-cos-motion=off] :is([data-profile-card],.studio-profile-shell,.profile-identity)::after{animation:none!important;opacity:0!important}
/* The gallery still needs a static swatch when motion is disabled; it contains no real account text. */
.profile-effect-mini::after{opacity:.55;mask-image:none}
@media(prefers-reduced-motion:reduce){.profile-effect-mini::after{opacity:.55!important;animation:none!important;transform:none!important}}
:root[data-cos-motion=off] .profile-effect-mini::after{opacity:.55!important;animation:none!important;transform:none!important}
