/* Party styles only. Inventory-based trade geometry lives in commerce-ui.css. */
.content-release #modal:not([data-kind=community]):has(#content-root[data-screen=social]){
 width:min(940px,96cqw);height:min(680px,94cqh);padding:20px 24px;
 border:12px solid transparent;border-image:url('/public/assets/rpg-window-frame-v1.webp') 30 fill / 12px / 0 stretch;
 background:#161c18!important;display:flex;flex-direction:column;overflow:hidden;
}
#modal:not([data-kind=community]):has(#content-root[data-screen=social])>header{flex:none;margin:0 0 12px;padding-bottom:12px}
#modal:not([data-kind=community]):has(#content-root[data-screen=social]) #modal-body{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a08a5d #161b17;padding:0 6px 0 0}
#content-root[data-screen=social]{font:13px/1.5 system-ui;color:#dedccd;text-shadow:none;letter-spacing:0}
#content-root[data-screen=social] footer{position:static;inset:auto;letter-spacing:0}
#content-root[data-screen=social] .content-card{border:1px solid #8f7a4b60;border-image:none;background:#0e1813b3;padding:18px;box-shadow:none}
#content-root[data-screen=social] .content-grid{gap:12px}
#content-root[data-screen=social] .content-card>strong{font-size:15px;color:#f2dfb7}
#content-root[data-screen=social] .content-card progress{height:6px;margin-top:8px;accent-color:#88ab8b}
#content-root[data-screen=social] .content-button{font:12px/1.4 system-ui;min-width:0;min-height:36px;padding:8px 13px;margin:6px 7px 0 0;border:1px solid #87764d;border-image:none;background:#33392c!important;letter-spacing:0;cursor:pointer}
#content-root[data-screen=social] .content-button:disabled{opacity:.42;cursor:default}
#content-root[data-screen=social] .party-empty{min-height:92px;border-style:dashed;display:grid;place-items:center;color:#8d9686;font-size:12px}
@container game-viewport (max-height:540px){
 .content-release #modal:not([data-kind=community]):has(#content-root[data-screen=social]){height:96cqh;padding:10px 14px;border-width:8px;border-image-width:8px}
 #content-root[data-screen=social] .content-card{padding:12px}
}
