/* Perfil v2 (referência clauderef): perfil rápido + perfil expandido sobre a
   mesma marcação. #modal-profile[data-profile-view=quick|full]; o cartão
   recebe data-tab e cada bloco declara data-tabs / data-quick (index.html).
   Seletores com dois ids: precisam vencer style.css, AERO e mobile-shell. */

html #modal-overlay #modal-profile[data-profile-layout=v2]{
 --wcp-bg:#0f1c27;--wcp-elev:#112130;--wcp-chip:#122230;--wcp-line:#1b2e3c;--wcp-line-2:#243a4a;
 --wcp-text:#e6eef3;--wcp-soft:#c9d6de;--wcp-muted:#9fb2bf;--wcp-dim:#8aa0ae;
 --wcp-accent:#36b8d8;--wcp-accent-ink:#5cc8e2;--wcp-primary:#1f7fb0;--wcp-primary-hover:#2690c6;
 --wcp-banner-h:96px;--wcp-pad-top:14px;--wcp-pad-x:14px;--wcp-pad-bottom:16px;
}

/* ---------- overlay ---------- */
html #modal-overlay:not(.hidden):has(>#modal-profile[data-profile-layout=v2]:not(.hidden)){
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:calc(var(--wc-titlebar-height,0px) + 20px) 16px 20px!important;box-sizing:border-box!important;
 background:rgba(5,11,16,.46)!important;backdrop-filter:blur(3px)!important;-webkit-backdrop-filter:blur(3px)!important;overflow:hidden!important;
}
/* Perfil rápido: o app continua visível e legível atrás (é um popover). */
html #modal-overlay:not(.hidden):has(>#modal-profile[data-profile-layout=v2][data-profile-view=quick]:not(.hidden)){
 background:rgba(5,11,16,.2)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}

/* ---------- contêiner ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2].hidden{display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2]{
 position:relative!important;inset:auto!important;display:block!important;
 width:min(340px,calc(100vw - 32px))!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;
 max-height:calc(100dvh - var(--wc-titlebar-height,0px) - 40px)!important;margin:0!important;padding:0!important;
 background:transparent!important;border:0!important;border-radius:16px!important;box-shadow:none!important;
 overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#2a4152 transparent;
 clip-path:none!important;filter:none!important;transform:none!important;contain:none!important;will-change:auto!important;
 animation:wcp-in .2s cubic-bezier(.2,.8,.2,1) both!important;color:var(--wcp-text);font-family:Inter,system-ui,sans-serif;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full]{width:min(760px,calc(100vw - 32px))!important;--wcp-banner-h:clamp(150px,24vh,200px)}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-anchored=true]{position:fixed!important;left:var(--wcp-x)!important;top:var(--wcp-y)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2]::before,
html #modal-overlay #modal-profile[data-profile-layout=v2]::after,
html #modal-overlay #modal-profile[data-profile-layout=v2]>.modal-actions,
html #modal-overlay #modal-profile[data-profile-layout=v2]>.mobile-profile-back{display:none!important}
@keyframes wcp-in{from{opacity:0;transform:translateY(6px) scale(.985)}to{opacity:1;transform:none}}

/* ---------- cartão ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card{
 position:relative!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;
 height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;
 padding:var(--wcp-pad-top) var(--wcp-pad-x) var(--wcp-pad-bottom)!important;box-sizing:border-box!important;isolation:isolate;
 background:var(--wcp-bg)!important;color:var(--wcp-text)!important;border:1px solid var(--wcp-line)!important;border-radius:16px!important;
 box-shadow:0 22px 60px rgba(0,0,0,.5)!important;overflow:visible!important;clip-path:none!important;transform:none!important;
 grid-template-columns:none!important;grid-template-rows:none!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card{padding:0 0 24px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card::before,
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card::after,
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card>.wc-profile-border{display:none!important}
/* Moldura de cartão (cosmético): no rápido acompanha o cartão; no expandido a arte 2:3 deformaria. */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card>.wc-profile-frame{display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-effect-layer{position:absolute!important;inset:0!important;pointer-events:none!important;z-index:0!important;border-radius:inherit;overflow:hidden}

/* ---------- banner ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card .profile-card-banner{
 position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:var(--wcp-banner-h)!important;
 min-height:0!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;
 border:0!important;border-radius:10px!important;box-shadow:none!important;overflow:hidden!important;z-index:1!important;
 background-color:#132433!important;background-size:cover!important;background-repeat:no-repeat!important;
 background-position:var(--cosmetic-banner-focus,center)!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card .profile-card-banner{border-radius:16px 16px 0 0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card .profile-card-banner-overlay{position:absolute!important;inset:0!important;display:block!important;background:none!important;pointer-events:none}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card .profile-card-banner-overlay{background:linear-gradient(to bottom,rgba(15,28,39,0) 58%,rgba(15,28,39,.86))!important}

/* ---------- botões redondos (expandir / recolher / fechar) ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-top-actions{position:absolute;z-index:9;display:flex;gap:6px;right:var(--wcp-pad-x);top:calc(var(--wcp-pad-top) + var(--wcp-banner-h) + 8px)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-round{
 display:grid;place-items:center;width:32px;height:32px;min-height:0;padding:0;margin:0;border:0;border-radius:9px;
 background:#132433;color:var(--wcp-soft);cursor:pointer;box-shadow:none;transition:background-color .16s ease,color .16s ease;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-round:hover{background:#1b3346;color:#fff}
html #modal-overlay #modal-profile[data-profile-layout=v2] :is(.wcp-round,.wcp-tabs [role=tab],#profile-actions .btn,#profile-actions summary):focus-visible{outline:2px solid var(--wcp-accent-ink);outline-offset:2px}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-collapse,
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-close{display:none}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] .wcp-top-actions{top:14px;right:16px;flex-direction:column;align-items:center;gap:10px}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-expand{display:none}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-collapse{display:grid;width:30px;height:30px;border-radius:8px;background:rgba(8,15,21,.72);color:#eef4f8}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] .wcp-close{order:-1;width:38px;height:38px;border-radius:50%;background:rgba(8,15,21,.72);color:#eef4f8}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] :is(.wcp-close,#profile-collapse):hover{background:rgba(8,15,21,.92)}

/* ---------- avatar sobre a emenda ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card #profile-avatar-view{
 position:absolute!important;left:calc(var(--wcp-pad-x) + 8px)!important;top:calc(var(--wcp-pad-top) + var(--wcp-banner-h) - 48px)!important;right:auto!important;bottom:auto!important;
 width:84px!important;height:84px!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;
 box-shadow:none!important;overflow:visible!important;z-index:6!important;transform:none!important;display:block!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card #profile-avatar-view{left:40px!important;top:calc(var(--wcp-banner-h) - 78px)!important;width:128px!important;height:128px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view :is(.wc-art-avatar,.wc-art-base){width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view :is(.profile-avatar-decorated,.avatar-decorated){
 position:relative!important;display:block!important;flex:0 0 100%!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
 max-width:100%!important;max-height:100%!important;margin:0!important;border-radius:50%!important;box-sizing:border-box!important;
}
/* style.css fixa 112px com min/max !important: aqui o avatar segue o tamanho do perfil. */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view :is(.avatar-img,.avatar-fallback){
 width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
 border-radius:50%!important;object-fit:cover!important;box-shadow:0 0 0 5px var(--wcp-bg)!important;
}
/* Anel padrão só quando há moldura equipada (sem moldura, avatar limpo como na referência). */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view .profile-avatar-decorated:not([class*="frame-"])>.avatar-frame-overlay::after{display:none!important}
/* Status no canto inferior direito; o foguete WFNA vai para o superior. */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view::after{
 content:'';position:absolute;right:4%;bottom:4%;width:16px;height:16px;border-radius:50%;background:#6f8696;box-shadow:0 0 0 4px var(--wcp-bg);z-index:12;pointer-events:none;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-avatar-view::after{width:20px;height:20px;right:6%;bottom:6%}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view[data-status=online]::after{background:#27c46b}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view:is([data-status=idle],[data-status=away])::after{background:#f2b84b}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view:is([data-status=dnd],[data-status=busy])::after{background:#e0434f}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view .wfna-profile-rocket{top:-4px!important;right:-4px!important;bottom:auto!important;left:auto!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-avatar-view .avatar-fallback{display:grid!important;place-items:center!important;background:#24435a;font:700 34px/1 Inter,system-ui,sans-serif!important;color:#eaf2f8}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-avatar-view .avatar-fallback{font-size:48px!important}

/* ---------- corpo ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card .profile-card-body{
 position:relative!important;z-index:5!important;display:flex!important;flex-direction:column!important;gap:12px!important;
 width:auto!important;min-width:0!important;height:auto!important;max-height:none!important;margin:0!important;
 padding:46px 2px 0!important;border:0!important;border-radius:0!important;background:none!important;overflow:visible!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card .profile-card-body{padding:58px 0 0!important;gap:0!important}

/* Rápido: identidade → atividade → ações → servidores (ordem da referência). */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] :is(.profile-identity-row,.wcp-panels){display:contents!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-identity{order:1}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-now{order:2}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-actions{order:3}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-servers{order:4}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-tabs,
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-card [data-tabs]:not([data-quick]){display:none!important}

/* ---------- identidade ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-identity-row{display:flex!important;align-items:center!important;gap:14px!important;margin:0!important;padding:0 28px 0 40px;min-width:0}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-identity{display:flex!important;flex-wrap:wrap!important;align-items:center!important;column-gap:12px!important;row-gap:4px!important;flex:1 1 auto;min-width:0;text-align:left!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-name-wrap{order:1;display:flex!important;align-items:center;gap:6px;flex:0 1 auto!important;width:auto!important;min-width:0;max-width:100%;margin:0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-name{
 margin:0!important;padding:0;font:700 19px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;
 color:var(--name-color,#fff);overflow-wrap:anywhere;min-height:0!important;width:auto!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-name{font-size:23px!important;font-weight:800!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-name.wc-has-nameplate{padding:4px 10px!important;border-radius:9px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-chips{order:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-username{order:3;flex:0 0 100%;display:block!important;margin:0!important;font:400 12.5px/1.4 Inter,system-ui,sans-serif!important;color:var(--wcp-dim)!important;opacity:1!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-pronouns{order:4;font-size:12.5px;color:var(--wcp-dim)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-pronouns:empty{display:none}
/* No rápido, @usuário vem antes dos chips (como na referência). */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-identity{flex-direction:column!important;align-items:flex-start!important;row-gap:4px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-chips{order:4;margin-top:8px}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-username{order:2;flex-basis:auto}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-pronouns{order:3}

html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-badges{display:flex!important;flex-wrap:wrap;gap:8px!important;margin:0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-badges:empty{display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] :is(.wcp-chip,#profile-status){
 display:inline-flex!important;align-items:center;gap:7px;height:28px;padding:0 10px!important;margin:0!important;border-radius:8px!important;
 background:var(--wcp-chip)!important;border:1px solid #1f3444!important;font:500 12.5px/1 Inter,system-ui,sans-serif!important;
 color:#dfe8ee!important;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;box-shadow:none!important;transition:border-color .16s ease;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] :is(.wcp-chip,#profile-status):hover{border-color:#2f4b5f!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-status.hidden{display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-chip-wfna svg{color:#b86df2}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-chip-tag{color:#9fe6ec!important;font-weight:700!important;letter-spacing:.03em}

/* ---------- ações ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;width:auto!important;flex:0 0 auto}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions :is(.btn,summary){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
 height:40px!important;min-height:40px!important;width:auto!important;min-width:0!important;padding:0 16px!important;margin:0!important;box-sizing:border-box!important;
 border:1px solid var(--wcp-line-2)!important;border-radius:10px!important;background:#172836!important;color:var(--wcp-text)!important;
 font:600 14px/1 Inter,system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important;
 clip-path:none!important;box-shadow:none!important;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,transform .12s ease;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions :is(.btn,summary):hover:not(:disabled){background:#1e3344!important;border-color:#2f4b5f!important}
/* Ornamentos de botão de outros temas (cantos, brilhos) não entram no perfil. */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions :is(.btn,summary)::before,
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions :is(.btn,summary)::after{display:none!important;content:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions :is(.btn,summary):active:not(:disabled){transform:translateY(1px)}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions .btn:disabled{opacity:.6;cursor:default}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions>.btn-primary{background:var(--wcp-primary)!important;border-color:var(--wcp-primary)!important;color:#fff!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions>.btn-primary:hover{background:var(--wcp-primary-hover)!important;border-color:var(--wcp-primary-hover)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions .wcp-act-more{width:40px!important;padding:0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-more-actions{position:relative;flex:0 0 auto;min-width:0;z-index:40}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-more-actions summary{list-style:none}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-more-actions summary::-webkit-details-marker{display:none}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-more-actions summary::after{display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-more-items{
 position:absolute;right:0;top:calc(100% + 6px);display:grid;gap:2px;min-width:190px;padding:6px;
 background:var(--wcp-chip);border:1px solid var(--wcp-line-2);border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.5);
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-more-items{top:auto;bottom:calc(100% + 6px)}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions .profile-more-items>.btn{
 justify-content:flex-start!important;width:100%!important;height:36px!important;min-height:36px!important;padding:0 10px!important;
 border:0!important;background:transparent!important;font-weight:500!important;color:var(--wcp-soft)!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions .profile-more-items>.btn:hover{background:#18304a!important;color:#fff!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions .profile-more-items>.btn-danger{color:#f2908b!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-blocked-note{font-size:13px;color:var(--wcp-muted)}
/* Rápido: Mensagem | Chamada | … ocupando a largura. */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-actions{justify-content:stretch!important;flex-wrap:nowrap!important;width:100%!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-actions>.btn{flex:1 1 0!important;padding:0 10px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-actions>.wcp-act svg{display:none}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions .wcp-act-more svg{display:block!important;width:18px;height:18px}

/* ---------- abas ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-tabs{display:flex;gap:28px;margin:18px 0 0;padding:0 28px;border-bottom:1px solid var(--wcp-line);overflow-x:auto;scrollbar-width:none}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-tabs::-webkit-scrollbar{display:none}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-tabs [role=tab]{
 flex:none;height:44px;min-height:44px;padding:0 2px;margin:0;border:0;border-radius:0;background:none;cursor:pointer;
 font:500 13.5px/1 Inter,system-ui,sans-serif;color:var(--wcp-muted);box-shadow:inset 0 -2px 0 transparent;transition:color .16s ease,box-shadow .16s ease;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-tabs [role=tab]:hover{color:var(--wcp-text)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-tabs [role=tab][aria-selected=true]{color:var(--wcp-accent-ink);box-shadow:inset 0 -2px 0 var(--wcp-accent)}

/* ---------- painéis (expandido) ---------- */
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:18px 20px;padding:18px 28px 0;min-width:0}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-panels{
 grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-areas:"now side" "about side" "about draw";grid-template-rows:auto auto 1fr;align-items:start;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-now{grid-area:now}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-side{grid-area:side}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .profile-about{grid-area:about}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-drawing{grid-area:draw}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-drawing:has(>.profile-empty){display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-panels:has(.wcp-drawing>.profile-empty){grid-template-areas:"now side" "about side";grid-template-rows:auto 1fr}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] [data-tabs]:not([data-tabs~=geral]),
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=sobre] [data-tabs]:not([data-tabs~=sobre]),
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=atividade] [data-tabs]:not([data-tabs~=atividade]),
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=servidores] [data-tabs]:not([data-tabs~=servidores]),
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=conquistas] [data-tabs]:not([data-tabs~=conquistas]),
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=galeria] [data-tabs]:not([data-tabs~=galeria]){display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card:not([data-tab=geral]) .wcp-panels>*{animation:wcp-fade .18s ease both}
@keyframes wcp-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Blocos: rótulos em caixa normal, sem divisórias de ficha técnica. */
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-section-block{min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-section-label{display:block!important;font:500 13.5px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:var(--wcp-muted)!important;margin:0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-empty{font-size:13px;color:var(--wcp-dim);margin:0}

/* Agora: atividade + presença */
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now{display:flex;flex-direction:column;min-width:0}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] .wcp-now{padding:6px 16px;border-radius:14px;background:var(--wcp-elev);border:1px solid var(--wcp-line)}
html #modal-overlay #modal-profile[data-profile-layout=v2] :is(#profile-activity,#profile-presence){display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;min-height:52px;margin:0!important;padding:8px 0!important;border:0!important;background:none!important;border-radius:0!important;font-size:inherit!important;text-align:left!important}
/* style.css põe todo span de .profile-activity em 10px maiúsculo; aqui cada parte tem o seu estilo. */
html #modal-overlay #modal-profile[data-profile-layout=v2] :is(#profile-activity,#profile-presence) span{font-size:inherit;font-weight:inherit;letter-spacing:0;text-transform:none;color:inherit}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-activity.hidden{display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-activity:not(.hidden)+#profile-presence{border-top:1px solid var(--wcp-line)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now-icon{flex:none;width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#13314a;color:var(--wcp-accent-ink)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now-presence{background:#182836;color:var(--wcp-muted)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-presence[data-status=online] .wcp-now-presence{color:#27c46b}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-presence:is([data-status=idle],[data-status=away]) .wcp-now-presence{color:#f2b84b}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-presence:is([data-status=dnd],[data-status=busy]) .wcp-now-presence{color:#e0434f}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now :is(#profile-activity,#profile-presence) .wcp-now-icon{display:grid}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now :is(#profile-activity,#profile-presence) .wcp-now-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1 1 auto}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now :is(#profile-activity,#profile-presence) .wcp-now-text :is(.wcp-now-kind,strong,small){display:block;margin:0;overflow-wrap:anywhere;text-transform:none;letter-spacing:0}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now :is(#profile-activity,#profile-presence) .wcp-now-kind{font:400 13px/1.3 Inter,system-ui,sans-serif;color:var(--wcp-soft)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now :is(#profile-activity,#profile-presence) .wcp-now-text strong{font:600 14px/1.35 Inter,system-ui,sans-serif;color:var(--wcp-text)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-now :is(#profile-activity,#profile-presence) .wcp-now-text small{font:400 12.5px/1.4 Inter,system-ui,sans-serif;color:var(--wcp-dim)}
/* Rápido: "PROGRAMANDO / WifiCord" entre linhas, sem presença. */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-now{border-top:1px solid var(--wcp-line);border-bottom:1px solid var(--wcp-line);padding:4px 0}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-now #profile-presence,
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-now:has(#profile-activity.hidden){display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-now #profile-activity .wcp-now-text .wcp-now-kind{font:600 10.5px/1.4 Inter,system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:var(--wcp-muted)}

/* Cargos e conquistas */
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-side{display:flex;flex-direction:column;gap:18px;min-width:0}
html #modal-overlay #modal-profile[data-profile-layout=v2] :is(.profile-chips,.wcp-achievements){display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0 0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-role{
 display:inline-flex!important;align-items:center;gap:7px;height:30px;padding:0 11px!important;border-radius:9px!important;
 background:var(--wcp-chip)!important;border:1px solid #1f3444!important;font:500 12.5px/1 Inter,system-ui,sans-serif!important;color:#dfe8ee!important;box-shadow:none!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-role::before{content:'';flex:none;width:10px;height:10px;border-radius:50%;background:var(--role-color,#8b78ff)}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-connections a{display:inline-flex;align-items:center;height:30px;padding:0 11px;border-radius:9px;background:var(--wcp-chip);border:1px solid #1f3444;font:500 12.5px/1 Inter,system-ui,sans-serif;color:var(--wcp-accent-ink);text-decoration:none}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-ach-item{
 position:relative;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;
 background:color-mix(in srgb,var(--ach) 16%,var(--wcp-bg));color:var(--ach);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ach) 38%,transparent);
 transition:transform .18s ease;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-ach-item:hover{transform:translateY(-2px) scale(1.06)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-ach-item :is(.wcp-ach-name,small){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-achievements{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-ach-item{
 width:auto;height:auto;border-radius:14px;padding:16px 12px;gap:6px;text-align:center;background:var(--wcp-elev);box-shadow:inset 0 0 0 1px var(--wcp-line);
}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-ach-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:color-mix(in srgb,var(--ach) 16%,var(--wcp-bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ach) 38%,transparent)}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-ach-item :is(.wcp-ach-name,small){position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-ach-name{font:600 13.5px/1.3 Inter,system-ui,sans-serif;color:var(--wcp-text)}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-ach-item small{font-size:12px;color:var(--wcp-dim)}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=conquistas] .wcp-roles{display:none!important}

/* Sobre mim */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-bio{margin:10px 0 0!important;min-height:0!important;font:400 13.5px/1.6 Inter,system-ui,sans-serif!important;color:var(--wcp-soft)!important;white-space:pre-wrap;overflow-wrap:anywhere}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .profile-about{padding:0 16px}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=sobre] #profile-bio{font-size:15px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-meta{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-radius:14px;background:var(--wcp-elev);border:1px solid var(--wcp-line)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-meta{margin:0!important;font-size:13px!important;color:var(--wcp-soft)!important;text-align:left!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-stats{display:flex!important;gap:8px!important;margin:0!important;justify-content:flex-start!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-stats>span{padding:6px 10px!important;border-radius:8px!important;background:var(--wcp-chip)!important;font-size:12.5px!important;color:var(--wcp-soft)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-stats>span:empty{display:none!important}

/* Servidores em comum */
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-common-servers{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px!important;margin:12px 0 0!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-server-chip{
 display:flex!important;align-items:center;gap:12px;min-width:0;padding:12px!important;border-radius:12px!important;
 background:var(--wcp-elev)!important;border:1px solid var(--wcp-line)!important;font:500 13.5px/1.3 Inter,system-ui,sans-serif!important;color:var(--wcp-text)!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-server-chip :is(img,i){flex:none;width:36px!important;height:36px!important;border-radius:10px;object-fit:cover;display:grid;place-items:center;background:#1f3444;font:700 15px/1 Inter,system-ui,sans-serif;font-style:normal;color:var(--wcp-soft)}
html #modal-overlay #modal-profile[data-profile-layout=v2] .profile-server-chip b{font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-more{display:none}
/* Rápido: só ícones, três primeiros + "+N". */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-servers:has(.profile-empty){display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-common-servers{display:flex!important;gap:8px!important;margin-top:10px!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-server-chip{padding:0!important;border:0!important;background:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-server-chip :is(img,i){width:30px!important;height:30px!important;border-radius:50%;font-size:12px}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-server-chip b,
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .profile-server-chip:nth-child(n+4){display:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-more{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#172836;font:600 11.5px/1 Inter,system-ui,sans-serif;color:var(--wcp-soft)}

/* Desenho / galeria */
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing{position:relative;min-width:0}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing .wc-profile-scene{
 position:relative!important;display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important;height:auto!important;
 min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;inset:auto!important;transform:none!important;z-index:auto!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing .wc-scene-label{display:block!important;font:500 13.5px/1.3 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-align:left!important;color:var(--wcp-muted)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing .wc-scene-stage{
 display:grid!important;place-items:center!important;flex:none!important;width:100%!important;height:170px!important;min-height:0!important;margin:0!important;
 border-radius:10px!important;background:#050a0f!important;border:1px solid #16242f!important;overflow:hidden!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing .wc-scene-stage canvas{display:block!important;width:auto!important;height:100%!important;max-width:100%!important;aspect-ratio:1/1;object-fit:contain!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card[data-tab=galeria] .wcp-drawing .wc-scene-stage{height:min(380px,48vh)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing-zoom{position:absolute;right:8px;top:34px;width:28px;height:28px;border-radius:7px;background:rgba(8,15,21,.72);color:#eef4f8}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing.is-zoomed{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:24px;background:rgba(5,10,15,.92)}
/* O corpo do cartão sobe acima do avatar e dos botões enquanto o desenho está ampliado. */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card:has(.wcp-drawing.is-zoomed) .profile-card-body{z-index:40!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing.is-zoomed .wc-profile-scene{width:min(78vmin,640px)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing.is-zoomed .wc-scene-stage{height:min(78vmin,640px)!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-drawing.is-zoomed .wcp-drawing-zoom{position:fixed;top:18px;right:18px;width:40px;height:40px;border-radius:50%}

/* ---------- celular / telas pequenas ---------- */
@media (max-width:640px){
 html #modal-overlay:not(.hidden):has(>#modal-profile[data-profile-layout=v2]:not(.hidden)){align-items:flex-end!important;padding:0!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2]{width:100vw!important;max-height:88dvh!important;border-radius:18px 18px 0 0!important;animation-name:wcp-sheet!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card{border-radius:18px 18px 0 0!important;border-bottom:0!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-close{display:grid}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-top-actions{top:22px;right:22px}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] .wcp-top-actions .wcp-round{background:rgba(8,15,21,.72);color:#eef4f8;width:36px;height:36px}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full]{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;--wcp-banner-h:150px}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card{min-height:100%!important;border-radius:0!important;border:0!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card .profile-card-banner{border-radius:0!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card #profile-avatar-view{left:18px!important;top:calc(var(--wcp-banner-h) - 60px)!important;width:104px!important;height:104px!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card .profile-card-body{padding-top:54px!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] .profile-identity-row{flex-direction:column!important;align-items:stretch!important;padding:0 18px}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-actions{justify-content:stretch!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-actions>.btn{flex:1 1 0!important;min-height:44px!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] .wcp-tabs{padding:0 18px;gap:22px}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] .wcp-panels,
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-panels{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;padding:16px 18px 0}
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full] #profile-card[data-tab=geral] .wcp-panels>*{grid-area:auto!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-actions :is(.btn,summary){min-height:44px!important;height:44px!important}
}
@keyframes wcp-sheet{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
@media (max-height:620px) and (min-width:641px){
 html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=full]{--wcp-banner-h:130px}
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion:reduce){
 html #modal-overlay #modal-profile[data-profile-layout=v2],
 html #modal-overlay #modal-profile[data-profile-layout=v2] *{animation:none!important;transition:none!important}
 html #modal-overlay #modal-profile[data-profile-layout=v2] .wcp-ach-item:hover{transform:none}
}

/* A escala da moldura acompanha o cartão em connectFrame(), inclusive as
   emendas. O espaço interno mantém os ornamentos longe dos controles. */
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick]:has(#profile-card[data-has-border=true]){
 width:min(384px,calc(100vw - 24px))!important;--wcp-pad-top:32px;--wcp-pad-x:36px;--wcp-pad-bottom:60px;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-card[data-has-border=true] .profile-card-body{gap:14px!important}

/* O companheiro fica visível sobre o conteúdo, sem interceptar cliques.
   O recorte do cartão impede que seu movimento crie rolagem no modal. */
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card{overflow:clip!important;overflow-clip-margin:14px}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card .wc-avatar-pet{z-index:20!important;pointer-events:none!important}

/* Stable source corners and continuous rails replace detached hand-cut fragments. */
html .wc-composed-profile>.wc-profile-frame>span,
html .wc-composed-profile>.wc-profile-frame>svg{display:none!important}
html .wc-composed-profile>.wc-profile-frame::before{
 display:block!important;content:''!important;position:absolute!important;inset:0!important;
 border:0 solid transparent!important;border-image-source:var(--wc-border-source)!important;
 border-image-slice:280 240 280 240!important;border-image-width:84px 72px!important;
 border-image-repeat:stretch!important;border-radius:0!important;filter:var(--wc-border-filter,none)!important;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick]:has(#profile-card[data-has-border=true]){
 width:min(340px,calc(100vw - 32px))!important;--wcp-pad-top:14px;--wcp-pad-x:14px;--wcp-pad-bottom:16px;
}
html #modal-overlay #modal-profile[data-profile-layout=v2][data-profile-view=quick] #profile-card[data-has-border=true] .profile-card-body{gap:inherit!important}
.wc-episode-host{position:absolute!important;inset:0!important;display:block;pointer-events:none!important;z-index:20;overflow:hidden}
.wc-episode-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.wc-episode-host.wc-art-ornament{inset:-24%!important;width:148%!important;height:148%!important}
.wc-episode-host.wc-nameplate-art{inset:0!important;width:100%!important;height:100%!important;z-index:-1}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-name:not([data-name-effect]){text-shadow:none!important}

/* Cosmetics are overlays; the gallery is reserved for user drawings. */
html .wc-composed-profile>.wc-profile-art,
html .wc-composed-profile>.wc-preview-effect{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;pointer-events:none!important}
html #modal-overlay #modal-profile[data-profile-layout=v2] #profile-card .wc-avatar-pet{position:absolute!important}

