/* GiC V4 | account membership badge — display-only visual enhancement. */
@media (max-width: 850px) {
  #mobileNav.gic-premium-drawer-v4 .gic-v4-account {
    min-width:0;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info {
    min-width:0;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-plan.gic-v4-smart-badge {
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-width:0;
    max-width:122px;
    margin:0;
    padding:7px 9px;
    border:1px solid rgba(23,101,79,.24);
    border-radius:999px;
    background:linear-gradient(145deg,#fbfffd 0%,#e5f6ed 100%);
    color:#17664f;
    box-shadow:0 3px 9px rgba(17,87,65,.07);
    font-family:inherit;
    font-size:10px;
    font-weight:900;
    line-height:1.05;
    letter-spacing:.015em;
    white-space:nowrap;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.is-core {
    color:#17604f;
    border-color:#b9dccc;
    background:linear-gradient(130deg,#f8fffb,#ddf1e5);
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.is-pro {
    color:#8f6829;
    border-color:#dec58f;
    background:linear-gradient(130deg,#fffefa,#f8e9c6);
    box-shadow:0 3px 12px rgba(150,105,30,.10);
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.is-free {
    color:#62746d;
    border-color:#cedbd5;
    background:linear-gradient(130deg,#fcfefd,#eff4f1);
    box-shadow:none;
  }
  /* Missing subscription context: never present it as a Free downgrade. */
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.is-unknown {
    color:#637670;
    border-color:#d4ddd8;
    background:linear-gradient(130deg,#fcfefd,#edf2ef);
    box-shadow:none;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-badge-level {
    color:#24483d;
    font-weight:900;
    font-variant-numeric:tabular-nums;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.is-pro .gic-v4-badge-level {
    color:#775a2d;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-badge-divider {
    width:1px;
    height:12px;
    flex:0 0 1px;
    background:currentColor;
    opacity:.28;
    border-radius:1px;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-badge-star {
    font-size:12px;
    line-height:1;
    color:#b28a44;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-badge-tier {
    font-weight:950;
    letter-spacing:.03em;
  }
}
/* On narrow phones, the badge goes to a second row; no horizontal overflow. */
@media (max-width:375px) {
  #mobileNav.gic-premium-drawer-v4 .gic-v4-account {
    flex-wrap:wrap;
    column-gap:8px;
    row-gap:6px;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info {
    flex-basis:calc(100% - 48px);
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-plan.gic-v4-smart-badge {
    margin-inline-start:46px;
  }
}
