/* NEXORA NFC 5.6.0.3 — Compact Premium Hero, Unified KPI Rail, CTA & Mobile Dock Polish */

/* Compact the hero without weakening identity presence. */
.tap-profile-v53 .tap-cover-v43{min-height:190px!important;}
.tap-profile-v53 .tap-identity-content-v43{margin-top:-54px!important;padding-bottom:24px!important;}
.tap-profile-v53 .tap-avatar-v43{width:104px!important;height:104px!important;}
.tap-profile-v53 .tap-name-v43{margin-top:12px!important;}
.tap-profile-v53 .tap-name-v43 p{margin-top:7px!important;}
.tap-profile-v53 .tap-bio-v43{margin-top:13px!important;line-height:1.72!important;}
.tap-assurance-v5602{margin-top:14px!important;padding-block:6px!important;box-shadow:none!important;}

/* One KPI rail. No wrapped cards, no dashboard-tile feeling. */
.tap-profile-overview-v5602{
  display:flex!important;
  grid-template-columns:none!important;
  grid-auto-flow:initial!important;
  margin-top:14px!important;
  border-radius:18px!important;
  box-shadow:none!important;
  background:linear-gradient(180deg,#fbfdff,#f5fafd)!important;
}
.tap-kpi-v5602{
  flex:1 1 0!important;
  min-width:0!important;
  min-height:68px!important;
  padding:10px 12px!important;
  gap:9px!important;
  flex-direction:row!important;
  justify-content:center!important;
}
.tap-kpi-v5602+.tap-kpi-v5602{border-inline-start:1px solid rgba(18,69,101,.075)!important;}
.tap-kpi-icon-v5602{width:34px!important;height:34px!important;border-radius:11px!important;box-shadow:none!important;}
.tap-kpi-icon-v5602 svg{width:17px!important;height:17px!important;}
.tap-kpi-v5602>div{gap:2px!important;text-align:start!important;}
.tap-kpi-v5602 strong{font-size:1.18rem!important;}
.tap-kpi-v5602 small{font-size:.68rem!important;line-height:1.25!important;}

/* Primary CTA stays dominant. Website becomes a discreet secondary route. */
.tap-primary-command-v5602{
  margin-top:14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.tap-save-contact-v5602{
  min-height:66px!important;
  padding:12px 15px!important;
  border-radius:17px!important;
  box-shadow:0 12px 24px rgba(7,23,33,.16)!important;
}
.tap-command-icon-v5602{width:40px!important;height:40px!important;border-radius:13px!important;}
.tap-command-copy-v5602 strong{font-size:.92rem!important;}
.tap-command-copy-v5602 small{font-size:.7rem!important;}
.tap-site-link-v5602{
  width:max-content!important;
  max-width:100%!important;
  min-height:36px!important;
  margin:7px auto 0!important;
  padding:5px 10px!important;
  display:inline-flex!important;
  grid-template-columns:none!important;
  gap:7px!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#55758a!important;
  box-shadow:none!important;
}
.tap-site-link-v5602>span:first-child{width:24px!important;height:24px!important;border-radius:8px!important;background:#edf8fd!important;}
.tap-site-link-v5602>span:first-child svg{width:14px!important;height:14px!important;}
.tap-site-link-v5602>span:nth-child(2){display:block!important;text-align:center!important;}
.tap-site-link-v5602 strong{font-size:.76rem!important;}
.tap-site-link-v5602 small{display:none!important;}
.tap-site-link-v5602>b{width:18px!important;height:18px!important;}
.tap-site-link-v5602>b svg{width:13px!important;height:13px!important;}

/* Social icons become one premium brand dock, not five detached buttons. */
.tap-social-section-v5603 .tap-section-head{margin-bottom:12px!important;}
.tap-social-dock-v5603.layout-icons{
  width:fit-content!important;
  max-width:100%!important;
  margin-inline:auto!important;
  padding:8px 10px!important;
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(18,69,101,.075)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fbfdff,#f4f9fc)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95)!important;
  overflow-x:auto!important;
  scrollbar-width:none;
}
.tap-social-dock-v5603.layout-icons::-webkit-scrollbar{display:none;}
.tap-social-dock-v5603.layout-icons>a{
  flex:0 0 50px!important;
  width:50px!important;
  height:50px!important;
  min-height:50px!important;
  padding:5px!important;
  border:0!important;
  border-radius:15px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.tap-social-dock-v5603.layout-icons>a:hover{background:#fff!important;box-shadow:0 8px 18px rgba(18,69,101,.07)!important;}
.tap-social-dock-v5603.layout-icons .social-brand-icon,
.tap-social-dock-v5603.layout-icons img,
.tap-social-dock-v5603.layout-icons .social-brand-img{
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  max-height:38px!important;
  object-fit:contain!important;
  border-radius:11px!important;
  box-shadow:none!important;
}

/* Financial identifiers remain readable and copyable on narrow screens. */
.finance-value-v5603{font-variant-numeric:tabular-nums;letter-spacing:.01em;}
.finance-value-v5603.is-iban-v5603,
.finance-value-v5603.is-nowrap-v5603{white-space:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;overflow-wrap:normal!important;word-break:normal!important;scrollbar-width:none;}
.finance-value-v5603.is-iban-v5603::-webkit-scrollbar,
.finance-value-v5603.is-nowrap-v5603::-webkit-scrollbar{display:none;}

/* Creator preview mirrors the compact hierarchy. */
.preview-assurance-v5602{margin-top:7px!important;padding-block:5px!important;}
.preview-command-v5602{margin-top:7px!important;padding:6px!important;}
.preview-command-v5602 strong{min-height:38px!important;}
.preview-command-v5602 small{padding-top:5px!important;}

@media (max-width:720px){
  /* Hero is intentionally compact: identity + conversion fit much earlier. */
  .tap-profile-v53 .tap-cover-v43{min-height:138px!important;}
  .tap-profile-v53 .tap-hero-status-v560{top:12px!important;inset-inline-start:12px!important;gap:6px!important;max-width:calc(100% - 66px)!important;}
  .tap-trust-pill-v560{padding:6px 9px!important;font-size:.69rem!important;gap:5px!important;box-shadow:0 6px 16px rgba(20,67,114,.06)!important;}
  .tap-trust-pill-v560 img{width:16px!important;height:16px!important;}
  .tap-profile-v53 .tap-identity-content-v43{margin-top:-34px!important;padding:0 14px 18px!important;}
  .tap-profile-v53 .tap-avatar-v43{width:78px!important;height:78px!important;border-width:4px!important;box-shadow:0 10px 24px rgba(17,50,77,.13)!important;}
  .tap-profile-v53 .tap-name-v43{margin-top:9px!important;}
  .tap-profile-v53 .tap-name-v43 h1{font-size:clamp(1.55rem,7.2vw,1.95rem)!important;}
  .tap-profile-v53 .tap-name-v43 p{margin-top:5px!important;font-size:.86rem!important;}
  .tap-verified-premium-v560 img{width:21px!important;height:21px!important;}
  .tap-profile-v53 .tap-bio-v43{margin-top:10px!important;font-size:.91rem!important;line-height:1.62!important;}

  .tap-assurance-v5602{
    margin-top:10px!important;
    width:100%!important;
    padding:5px!important;
    border-radius:14px!important;
  }
  .tap-assurance-v5602>span{padding:3px 4px!important;font-size:.62rem!important;line-height:1.2!important;}
  .tap-assurance-v5602 svg{width:12px!important;height:12px!important;}

  .tap-profile-overview-v5602{margin-top:10px!important;border-radius:15px!important;}
  .tap-kpi-v5602{min-height:58px!important;padding:8px 5px!important;gap:5px!important;flex-direction:row!important;}
  .tap-kpi-icon-v5602{width:28px!important;height:28px!important;border-radius:9px!important;}
  .tap-kpi-icon-v5602 svg{width:14px!important;height:14px!important;}
  .tap-kpi-v5602 strong{font-size:1rem!important;}
  .tap-kpi-v5602 small{font-size:.56rem!important;line-height:1.18!important;}

  .tap-primary-command-v5602{margin-top:10px!important;}
  .tap-save-contact-v5602{min-height:58px!important;padding:9px 11px!important;border-radius:15px!important;gap:9px!important;}
  .tap-command-icon-v5602{width:35px!important;height:35px!important;border-radius:11px!important;}
  .tap-command-icon-v5602 svg{width:18px!important;height:18px!important;}
  .tap-command-copy-v5602 strong{font-size:.85rem!important;}
  .tap-command-copy-v5602 small{font-size:.61rem!important;line-height:1.2!important;}
  .tap-save-contact-v5602>b{width:27px!important;height:27px!important;border-radius:9px!important;}
  .tap-site-link-v5602{min-height:32px!important;margin-top:5px!important;padding:4px 8px!important;}
  .tap-site-link-v5602>span:first-child{width:22px!important;height:22px!important;}
  .tap-site-link-v5602 strong{font-size:.7rem!important;}

  /* Smaller social dock with horizontal overflow only when needed. */
  .tap-social-section-v5603{padding-block:20px!important;}
  .tap-social-dock-v5603.layout-icons{
    width:100%!important;
    justify-content:flex-start!important;
    padding:7px 8px!important;
    border-radius:18px!important;
    gap:5px!important;
  }
  .tap-social-dock-v5603.layout-icons>a{flex-basis:46px!important;width:46px!important;height:46px!important;min-height:46px!important;border-radius:13px!important;}
  .tap-social-dock-v5603.layout-icons .social-brand-icon,
  .tap-social-dock-v5603.layout-icons img,
  .tap-social-dock-v5603.layout-icons .social-brand-img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;border-radius:10px!important;}

  /* Mobile dock: slimmer, glassier, and less intrusive. */
  .tap-mobile-actionbar-v560{
    left:max(12px,env(safe-area-inset-left))!important;
    right:max(12px,env(safe-area-inset-right))!important;
    bottom:max(8px,calc(env(safe-area-inset-bottom) + 5px))!important;
    gap:4px!important;
    padding:5px!important;
    border-radius:18px!important;
    background:rgba(11,31,45,.88)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 12px 30px rgba(0,0,0,.19)!important;
    backdrop-filter:blur(18px) saturate(125%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
  }
  .tap-mobile-actionbar-v560 a,
  .tap-mobile-actionbar-v560 button{
    min-height:46px!important;
    gap:3px!important;
    padding:5px 3px!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.035)!important;
  }
  .tap-mobile-actionbar-v560 .is-whatsapp-v5603{background:rgba(52,211,153,.10)!important;}
  .tap-mobile-actionbar-v560 span{width:18px!important;height:18px!important;}
  .tap-mobile-actionbar-v560 svg,
  .tap-mobile-actionbar-v560 img,
  .tap-mobile-actionbar-v560 .social-brand-img,
  .tap-mobile-actionbar-v560 .social-brand-icon{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important;border-radius:5px!important;}
  .tap-mobile-actionbar-v560 small{font-size:.61rem!important;}
  .tap-profile-v53 .tap-shell-v43{padding-bottom:108px!important;}
  .tap-profile-v53 .tap-footer-v43{padding-bottom:16px!important;}

  /* Financial numbers stay on one controlled line, with the copy action beside them. */
  .tap-profile-v53 .finance-public-fields-v49>div{grid-template-columns:minmax(0,1fr) auto!important;padding:11px 12px!important;}
  .tap-profile-v53 .finance-public-fields-v49>div>span{grid-column:1/-1!important;font-size:.78rem!important;}
  .tap-profile-v53 .finance-public-fields-v49>div>code{grid-column:1!important;min-width:0!important;font-size:.82rem!important;}
  .tap-profile-v53 .finance-public-fields-v49>div>button{grid-column:2!important;min-width:42px!important;min-height:36px!important;padding:7px 9px!important;}
}

@media (max-width:430px){
  .tap-kpi-icon-v5602{display:none!important;}
  .tap-kpi-v5602{padding-inline:4px!important;}
  .tap-kpi-v5602>div{text-align:center!important;}
  .tap-kpi-v5602 small{font-size:.54rem!important;}
  .tap-assurance-v5602>span{font-size:.57rem!important;}
  .tap-command-copy-v5602 small{display:block!important;}
}

@media (prefers-reduced-motion:reduce){
  .tap-social-dock-v5603.layout-icons>a{transition:none!important;}
}
