/* NABWORK 25 — phone-only final hero refinements, based on owner's
   24 October screenshot. Desktop, navigation, search, CTA handlers, auth,
   real metric values and the existing ray/canvas animation are untouched. */
@media (max-width:600px) {
  /* Keep the same four glass cards, but improve usable text width and
     prevent their Georgian captions from breaking into tiny fragments. */
  #homeView .nw-v6-hero .nw-v21-glass-card {
    width:45.5%!important;
    min-width:0!important;
    min-height:57px!important;
    padding:9px 7px!important;
    gap:6px!important;
    align-items:center!important;
    border-radius:13px!important;
    box-sizing:border-box!important;
  }
  #homeView .nw-v6-hero .nw-v21-glass-card:nth-child(1) {
    left:4%!important;top:12%!important;
  }
  #homeView .nw-v6-hero .nw-v21-glass-card:nth-child(2) {
    right:3.5%!important;top:24%!important;
  }
  #homeView .nw-v6-hero .nw-v21-glass-card:nth-child(3) {
    left:4%!important;bottom:24%!important;
  }
  #homeView .nw-v6-hero .nw-v21-glass-card:nth-child(4) {
    right:3.5%!important;bottom:12%!important;
  }
  #homeView .nw-v6-hero .nw-v21-card-icon {
    flex:0 0 27px!important;
    width:27px!important;
    height:30px!important;
    border-radius:9px!important;
  }
  #homeView .nw-v6-hero .nw-v21-card-icon svg {
    width:17px!important;height:17px!important;
  }
  #homeView .nw-v6-hero .nw-v21-card-copy {
    flex:1 1 auto!important;min-width:0!important;
  }
  #homeView .nw-v6-hero .nw-v21-card-name {
    font-size:clamp(10.5px,2.85vw,11.6px)!important;
    font-weight:850!important;
    letter-spacing:-.025em!important;
    line-height:1.29!important;
    color:#113158!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-wrap:balance;
  }
  /* The longest single-word title gets a touch more room while its full
     original name remains visible (no ellipsis, fake abbreviation or clip). */
  #homeView .nw-v6-hero .nw-v21-glass-card:first-child .nw-v21-card-name {
    font-size:clamp(10.2px,2.68vw,10.8px)!important;
    line-height:1.26!important;
  }
  #homeView .nw-v6-hero .nw-v21-card-sub {
    font-size:clamp(9px,2.35vw,9.8px)!important;
    line-height:1.27!important;
    font-weight:650!important;
    color:#476881!important;
    margin-top:3px!important;
    overflow-wrap:anywhere!important;
    text-wrap:balance;
  }
  /* A little more atmospheric light behind the globe; existing paths,
     sparks, reduced-motion and Save-Data behavior remain unchanged. */
  #homeView .nw-v6-hero .nw-v21-orb-glow {
    left:2%!important;top:6%!important;
    width:96%!important;height:89%!important;
    background:radial-gradient(ellipse at 52% 51%,
      rgba(37,210,255,.53) 0%,
      rgba(62,185,250,.31) 38%,
      rgba(114,227,255,.13) 63%,
      transparent 79%)!important;
    filter:blur(11px)!important;
  }
  #homeView .nw-v24-ray-field {
    opacity:.90!important;
  }
  /* True live counters: keep 2 × 2; make labels readable, left aligned,
     and balanced instead of tiny / colliding with vertical separators. */
  #homeView .nw-v6-metrics-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-rows:minmax(73px,auto)!important;
    column-gap:0!important;row-gap:0!important;
    align-items:stretch!important;
    padding:10px 0!important;
  }
  #homeView .nw-v6-metric {
    display:grid!important;
    grid-template-columns:21px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:7px!important;
    min-width:0!important;
    padding:9px 8px!important;
    text-align:left!important;
    box-sizing:border-box!important;
    border-right:none!important;
  }
  #homeView .nw-v6-metric:nth-child(odd) {
    border-right:1px solid rgba(121,186,222,.31)!important;
  }
  #homeView .nw-v6-metric:nth-child(-n+2) {
    border-bottom:1px solid rgba(121,186,222,.22)!important;
  }
  #homeView .nw-v6-metric-icon {
    display:grid!important;
    flex:none!important;
    place-items:center!important;
    width:21px!important;height:26px!important;
    font-size:20px!important;
    line-height:1!important;
    color:#0788df!important;
  }
  #homeView .nw-v6-metric > div {
    min-width:0!important;
  }
  #homeView .nw-v6-metric strong {
    font-size:20px!important;
    font-weight:900!important;
    line-height:1.12!important;
    color:#006dcc!important;
  }
  #homeView .nw-v6-metric p {
    margin:5px 0 0!important;
    color:#365b75!important;
    font-size:clamp(10.4px,2.78vw,11.2px)!important;
    font-weight:730!important;
    line-height:1.43!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}
@media (max-width:370px) {
  #homeView .nw-v6-hero .nw-v21-glass-card {
    width:46.5%!important;padding:8px 6px!important;gap:5px!important;
  }
  #homeView .nw-v6-hero .nw-v21-card-icon {
    flex-basis:24px!important;width:24px!important;height:27px!important;
  }
  #homeView .nw-v6-metric {
    column-gap:6px!important;
    padding:8px 6px!important;
  }
  #homeView .nw-v6-metric-icon {
    width:19px!important;font-size:18px!important;
  }
  #homeView .nw-v6-metric p {
    font-size:10.2px!important;
  }
}
