/* 社交入口统一圆角按钮与图标底板，平衡透明标志和带底色素材的显示体量。 */
.ez-community.ez-social-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:26px 0;border-top:1px solid #c4cdd82b;overflow:visible}
.ez-social-footer .ez-community-title{margin:0 0 6px;color:#f5f4ef;font-size:15px;font-weight:650;line-height:1.5}
.ez-social-footer .ez-community-desc{margin:0;color:#aab2bd;font-size:13px;line-height:1.7}
.ez-social-footer .ez-community-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;min-width:0;width:auto}
.ez-social-footer .ez-social-link{position:relative;display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;box-sizing:border-box;padding:0;border:1px solid #c4cdd830;border-radius:14px;background:#ffffff06;color:#c2cbd5;text-decoration:none;line-height:1;transition:color .18s,background .18s,border-color .18s,transform .18s}
.ez-social-footer .ez-social-link:hover,.ez-social-footer .ez-social-link[aria-expanded=true]{color:var(--social-color,#e5ca85);background:#ffffff0d;border-color:var(--social-color,#b79c60);transform:translateY(-2px)}
.ez-social-footer .ez-social-link:focus-visible,.ez-social-footer .ez-social-popover :is(a,button):focus-visible{outline:2px solid #e5ca85;outline-offset:4px}
/* 官方原图保持比例；只裁切底板圆角，不改变标志的颜色和轮廓。 */
.ez-social-footer .ez-social-badge{display:grid;place-items:center;width:28px;height:28px;flex:none;overflow:hidden;border-radius:8px;background:#121821}
.ez-social-footer .ez-social-brand{display:block;width:28px;height:28px;object-fit:contain;flex:none}
.ez-social-footer [data-social-badge=qq]{background:#12b7f5}
.ez-social-footer [data-social-badge=discord]{background:#5865f2}
.ez-social-footer [data-social-badge=x]{background:#000}
.ez-social-footer [data-social-brand=qq]{width:24px;height:24px}
.ez-social-footer [data-social-brand=discord]{width:22px;height:22px}
.ez-social-footer [data-social-brand=x]{width:20px;height:20px}
.ez-social-footer .ez-social-qq{position:relative;flex:0 0 44px}
.ez-social-footer .ez-social-tooltip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);padding:7px 10px;border:1px solid #46505d;border-radius:7px;background:#202b38;color:#eef0f3;font-size:12px;line-height:1.3;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s}
.ez-social-footer .ez-social-link:is(:hover,:focus-visible) .ez-social-tooltip{opacity:1;visibility:visible}
.ez-social-footer .ez-social-qq:has(.ez-social-popover:not([hidden])) .ez-social-tooltip{visibility:hidden}
.ez-social-footer .ez-social-popover{position:absolute;bottom:calc(100% + 12px);inset-inline-end:0;z-index:20;display:grid;gap:12px;width:280px;max-width:calc(100vw - 44px);box-sizing:border-box;padding:18px;border:1px solid #46505d;border-radius:14px;background:#202b38;color:#eef0f3;box-shadow:0 14px 40px #0005;font-size:13px;line-height:1.6}
.ez-social-footer .ez-social-popover[hidden]{display:none}
.ez-social-footer .ez-social-popover p{margin:0;color:#bdc6d1;font-size:12px;line-height:1.7}
.ez-social-footer .ez-social-popover strong{color:#f5f4ef;font-variant-numeric:tabular-nums;user-select:all}
.ez-social-footer .ez-social-popover-actions{display:flex;flex-wrap:wrap;gap:8px}
.ez-social-footer .ez-social-popover :is(a,button){display:inline-flex;align-items:center;justify-content:center;min-height:42px;box-sizing:border-box;padding:8px 12px;border:1px solid #a88e53;border-radius:8px;background:transparent;color:#e5ca85;font:inherit;text-decoration:none;cursor:pointer}
.ez-social-footer .ez-social-popover .ez-social-open{background:#d5b96d;color:#17212e}
.ez-social-footer .ez-social-popover .ez-social-close{position:absolute;top:8px;inset-inline-end:8px;min-height:28px;width:28px;padding:0;border:0;color:#bdc6d1;font-size:20px}
.ez-social-footer [data-social-copy-result]:empty{display:none}
.guide-footer:has(>.ez-social-footer){flex-wrap:wrap}
.guide-footer>.ez-social-footer{flex:0 0 100%;width:100%;margin-top:0}
@media(max-width:760px){.ez-community.ez-social-footer{align-items:flex-start;flex-direction:column;gap:16px}.ez-social-footer .ez-community-actions{justify-content:flex-start;width:100%;gap:10px}.ez-social-footer .ez-social-popover{inset-inline-end:auto;inset-inline-start:0}.ez-social-footer .ez-social-tooltip{display:none}}
@media(prefers-reduced-motion:reduce){.ez-social-footer .ez-social-link,.ez-social-footer .ez-social-tooltip{transition:none}.ez-social-footer .ez-social-link:hover{transform:none}}

.report-community-host{width:100%;padding-inline:var(--report-gutter,30px);box-sizing:border-box}
.report-community-host .ez-community.ez-social-footer{margin-top:0}
@media(max-width:760px){.report-community-host{padding-inline:22px}}
@media(max-width:380px){.report-community-host{padding-inline:18px}}
