/* V12.00 — one WhatsApp-like group header and accounts-only content. */
#btMyGroups .bt-v1200-group-header{position:relative;gap:9px;margin-bottom:10px;min-width:0;align-items:center}
#btMyGroups .bt-v1200-group-header #btManageBack{width:44px;min-height:44px}
#btMyGroups .bt-v1200-group-identity{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;background:transparent!important;border:0!important;padding:2px 1px!important;border-radius:12px!important;color:inherit!important}
#btMyGroups .bt-v1200-group-identity:focus-visible{outline:2px solid #9d500e;outline-offset:2px}
#btMyGroups .bt-v1200-group-avatar{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#f1dbaa;border:1px solid #ccab6e;display:grid;place-items:center;color:#794208;font-weight:800;font-size:16px}
#btMyGroups .bt-v1200-group-title{min-width:0;display:block;flex:1}
#btMyGroups .bt-v1200-group-title strong{font-size:clamp(15px,2.3vw,19px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:1.3}
#btMyGroups .bt-v1200-group-title small{margin:0;font-size:12px;line-height:1.3}
#btMyGroups #btManageGroupList{width:44px;min-width:44px!important;min-height:44px;font-size:23px!important;line-height:1}
#btMyGroups #btGroupQuickMenu:not([hidden]){position:absolute;right:0;top:calc(100% + 5px);min-width:min(250px,calc(100vw - 40px));max-width:calc(100vw - 35px);display:grid;gap:6px;padding:9px;background:#fffcf6;box-shadow:0 12px 32px #51300d22;border:1px solid #d7b781;border-radius:15px;z-index:32}
#btMyGroups #btGroupQuickMenu button{font-size:14px!important;min-height:44px!important;width:100%;white-space:normal;text-align:left;padding:10px 12px}
#btMyGroups #btGroupInfoSheet:not([hidden]){position:fixed;inset:0;display:grid;place-items:center;z-index:2147483402;padding:15px}
#btMyGroups .bt-v1200-sheet-backdrop{position:absolute;inset:0;border:0;border-radius:0;background:#241606aa;width:100%;height:100%}
#btMyGroups .bt-v1200-info-panel{position:relative;z-index:1;width:min(430px,100%);max-height:min(80vh,700px);overflow:auto;background:#fffaf0;border:1px solid #d4b585;border-radius:20px;padding:18px;box-shadow:0 15px 44px #26140935}
#btMyGroups .bt-v1200-info-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}
#btMyGroups .bt-v1200-info-toolbar button{min-width:43px;min-height:43px}
#btMyGroups .bt-v1200-info-identity{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px 0;border-bottom:1px solid #e5d3b5}
#btMyGroups .bt-v1200-large-avatar{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;background:#f3dda9;border:1px solid #caab6d;color:#723b09;font-weight:800;font-size:27px}
#btMyGroups .bt-v1200-info-identity h3{margin:4px 0 0;text-align:center;overflow-wrap:anywhere}
#btMyGroups .bt-v1200-info-identity p{margin:0;color:#846d54;font-size:14px}
#btMyGroups .bt-v1200-info-row{display:grid;grid-template-columns:minmax(100px,1fr) 1.3fr;gap:12px;padding:12px 0;border-bottom:1px solid #ead8be;font-size:14px;overflow-wrap:anywhere}
#btMyGroups .bt-v1200-info-row span{color:#816852}
#btMyGroups #btGroupInfoMembers{margin-top:16px;width:100%;min-height:44px}
.bt-fin-v1198 .bt-fin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.bt-fin-v1198 .bt-fin-other-transactions{margin:0 0 2px;border:0;background:transparent}
.bt-fin-v1198 .bt-fin-other-transactions summary{width:max-content;max-width:100%;cursor:pointer;border:1px solid #d9ba86;background:#fff6e5;border-radius:11px;min-height:42px;display:flex;align-items:center;padding:8px 12px;font-size:13px;font-weight:650;list-style:none}
.bt-fin-v1198 .bt-fin-other-transactions summary::-webkit-details-marker{display:none}
.bt-fin-v1198 .bt-fin-other-transactions[open] .bt-fin-extra-actions{display:flex;flex-wrap:wrap;padding-top:8px}
.bt-fin-v1198 .bt-fin-head{margin:0!important;padding:2px 0!important}
#btMyGroups .bt-unified-embedded .bt-v1187-mainnav button{min-height:48px!important;max-height:72px!important;gap:2px}
#btMyGroups .bt-unified-embedded .bt-v1187-mainnav button span{font-size:12px!important;word-break:keep-all!important}
@media(min-width:850px){.bt-fin-v1198 .bt-fin-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bt-fin-v1198 .bt-fin-metric{min-height:85px}}
@media(max-width:420px){#btMyGroups .bt-v1200-group-title strong{font-size:15px}#btMyGroups .bt-v1200-group-avatar{width:40px;height:40px;flex-basis:40px}#btMyGroups .bt-v1200-group-header{gap:5px}#btMyGroups .bt-v1200-group-header #btManageBack{width:39px;min-width:39px!important}#btMyGroups #btManageGroupList{width:40px;min-width:40px!important}}

/* Place the close button inside the compact group header to avoid floating overlap. */
#btMyGroups.bt-v1200-in-group #btGroupsClose{display:none!important}
#btMyGroups .bt-v1200-group-header #btManageClose{width:43px;min-width:43px!important;min-height:44px;font-size:20px!important;line-height:1}
#btMyGroups .bt-v1200-group-header{width:100%;box-sizing:border-box}
@media(max-width:420px){#btMyGroups .bt-v1200-group-header #btManageClose{width:39px;min-width:39px!important}}
#btMyGroups .bt-v1195-heading button.bt-v1200-group-identity{flex:1 1 0!important;min-width:0!important;width:0!important;padding:2px 0!important}
#btMyGroups .bt-v1200-group-header #btManageBack,#btMyGroups .bt-v1200-group-header #btManageGroupList,#btMyGroups .bt-v1200-group-header #btManageClose{flex:0 0 auto!important}
