/* Three requested corrections on the published homepage baseline. */
.productButton::before {display:none!important}
.selectionLayer--gho .selectionActions {
 top:clamp(170px,22vh,340px);left:41.5%;
 max-height:calc(100dvh - clamp(170px,22vh,340px) - 16px);min-height:0;
}
@media(max-width:980px) {
 .selectionLayer--gho .selectionActions {top:21%;left:50%;max-height:calc(79dvh - 16px)}
}
/* Preserve desktop geometry; keep the same anchors within narrow viewport edges. */
@media(max-width:980px) {
 .selectionLayer--aave .selectionActions,
 .selectionLayer--lens .selectionActions {
  box-sizing:border-box;max-width:calc(100vw - 24px);
  left:clamp(calc(clamp(220px,24vw,330px)/2 + 12px),41.5%,calc(100% - clamp(220px,24vw,330px)/2 - 12px));
  transform:translateX(-50%);
 }
 .selectionLayer--family .selectionActions.accountPanel {
  max-width:calc(100vw - 24px);
  left:clamp(calc(min(378px,calc(100vw - 24px))/2 + 12px),56%,calc(100% - min(378px,calc(100vw - 24px))/2 - 12px));
  transform:translateX(-50%);
 }
}
.communityDiscordLogo {display:block;width:110px;height:auto;flex:none}
.communityWechatIcon {display:block;width:22px;height:22px;flex:none;background:#07c160;-webkit-mask:url('/site/assets/payment-brands/wechat.svg') center/contain no-repeat;mask:url('/site/assets/payment-brands/wechat.svg') center/contain no-repeat}
.wechatGroupPanel {display:grid;justify-items:center;gap:10px;grid-column:1/-1;max-width:100%;font-size:13px;text-align:center}
.wechatGroupPanel[hidden] {display:none}
.wechatGroupPanel img {display:block;max-width:100%;max-height:320px;object-fit:contain}
.wechatGroupPanel p {margin:0;line-height:1.5}
.selectionLayer--lens .selectionActions:has(.wechatGroupPanel:not([hidden])) {grid-auto-rows:auto;max-height:calc(79dvh - 16px);overflow-y:auto}

/* Only the raccoon community rows share one type/icon scale. */
.selectionLayer--lens .selectionDiscordAction {display:inline-flex;flex-wrap:nowrap;white-space:nowrap;max-width:none;gap:calc(6px * var(--community-row-scale,1));font-size:calc(16px * var(--community-row-scale,1));line-height:1.2}
.selectionLayer--lens .selectionDiscordAction strong {font-size:inherit;line-height:inherit;white-space:nowrap;flex:none}
.selectionLayer--lens .communityDiscordLogo {width:6em;height:auto;flex:none}
.selectionLayer--lens .communityWechatIcon {width:1.25em;height:1.25em;flex:none}

.selectionLayer--lens .selectionActions[data-compact-height] {align-content:start;grid-auto-rows:auto;max-height:none;overflow:visible}
.selectionLayer--lens .wechatGroupPanel {overflow:hidden;min-height:0}

.selectionLayer--lens .selectionActions[data-compact-height] {min-height:0}

.selectionLayer--lens .selectionAction[hidden] {display:none!important}
/* Fit only the compact sponsorship window as one scene; retain desktop anchors. */
.stage[data-sponsor-fit] {
 width:1100px!important;height:1000px!important;min-height:1000px!important;
 position:relative!important;margin:0!important;left:var(--sponsor-fit-left);
 transform-origin:0 0;transform:scale(var(--sponsor-fit-scale));
}
.stage[data-sponsor-fit] .selectionLayer--gho .selectionActions {max-height:none!important;}
html:has(.stage[data-sponsor-fit]),body:has(.stage[data-sponsor-fit]){overflow:hidden;} 
.stage[data-sponsor-fit] .selectionLayer--gho .selectionActions{max-height:var(--sponsor-available-height)!important;overflow-y:auto;} 
