/* Preserve existing footer address size, weight and spacing. Match the signup
   date-of-birth help's circular ? button; keep the short mail/office tooltip
   above the line without expanding or blocking UI. */
.ap-footer-address-info{position:relative;display:inline-block;}
.ap-footer-address-info__trigger{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  width:16px;height:16px;border:1px solid #94a3b8;border-radius:999px;
  background:#fff;color:#475569;font-size:11px;font-weight:800;line-height:1;
  margin:0 0 0 4px;padding:0;cursor:help;vertical-align:middle;
}
.ap-footer-address-info__trigger:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
body.dark-mode .ap-footer-address-info__trigger{background:var(--ap-surface-2,#191919);border-color:var(--ap-border,#404040);color:var(--ap-text,#cbd5e1);}
.ap-footer-address-info__details{
  position:absolute;bottom:calc(100% + 8px);left:0;z-index:100;
  width:min(320px,calc(100vw - 64px));box-sizing:border-box;
  padding:12px 14px;border:1px solid #d8dee8;border-radius:6px;
  color:#475569;background:#fff;font-size:13px;font-weight:400;line-height:1.5;
  text-align:left;overflow-wrap:anywhere;visibility:hidden;opacity:0;
}
.ap-footer-address-info__details::after{content:"";position:absolute;top:100%;left:0;width:100%;height:10px;}
.ap-footer-address-info__details > span{display:block;margin:0 0 16px;}
.ap-footer-address-info__details > span:last-child{margin-bottom:0;}
.ap-footer-address-info__details strong{display:block;margin:0 0 4px;font-size:inherit;font-weight:600;line-height:inherit;color:inherit;}
.ap-footer-address-info:hover .ap-footer-address-info__details,
.ap-footer-address-info:focus-within .ap-footer-address-info__details{visibility:visible;opacity:1;}
body.dark-mode .ap-footer-address-info__details{color:#cbd5e1;background:#191919;border-color:#404040;}
/* Pair every social platform's icon with its visible name in the existing
   popup. Keep icons aligned with labels and wrap whole links on narrow screens. */
.ap-footer-address-info__details .ap-footer-socials{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;}
.ap-footer-address-info__details .ap-footer-socials > a{display:inline-flex;align-items:center;gap:6px;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;}
.ap-footer-socials > a:not(:last-child)::after{content:"·";display:inline-block;margin-left:2px;text-decoration:none;}
.ap-footer-socials > a:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
/* The X mark inherits the popup text color in both light and dark mode. */
.ap-footer-socials > a > img,.ap-footer-socials .ap-footer-x-logo{display:block;align-self:center;width:16px;height:16px;object-fit:contain;flex:none;}
/* Keep the black TikTok asset visible against the dark popup. */
body.dark-mode .ap-footer-socials .ap-footer-social-icon--monochrome{filter:invert(1);}
/* Add a local globe beside the language name in both footer layouts. */
.ap-footer-language-globe{display:inline-block;width:14px;height:14px;object-fit:contain;vertical-align:middle;}
body.dark-mode .ap-footer-language-globe{filter:invert(1);}
