/* GiC Drawer Identity v3 — presentation only, post Membership Ticket Fix v2.
   No account authorization or billing behavior is changed. */
@media (max-width:850px) {
  #mobileNav.gic-premium-drawer-v4 .gic-v4-account {
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
    min-width:0!important;gap:9px!important;padding:10px 11px!important;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar {
    position:relative!important;width:42px!important;height:42px!important;
    flex:0 0 42px!important;border-radius:13px!important;
    overflow:hidden!important;display:grid!important;place-items:center!important;
    border:1px solid #c6ddd0!important;background:#fff!important;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar-initial {
    display:block;font-weight:850;font-size:14px;line-height:1;color:#176350;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar .gic-v4-avatar-photo {
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center!important;
    border-radius:inherit!important;display:none!important;
    background:#f7faf7;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar.has-photo .gic-v4-avatar-photo{display:block!important}
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info {
    min-width:0!important;flex:1 1 0!important;gap:3px!important;
    margin:0!important;overflow:hidden!important;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info strong.gic-v4-display-name {
    display:block!important;max-width:100%!important;overflow:hidden!important;
    text-overflow:ellipsis!important;white-space:nowrap!important;
    font:800 13px/1.26 Manrope,system-ui,sans-serif!important;
    letter-spacing:-.015em!important;color:#234e44!important;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info small {
    font-size:10px!important;line-height:1.32!important;
    overflow:hidden!important;display:-webkit-box!important;
    -webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
  }
  /* Override the generic drawer-button rules, without touching the ticket modal. */
  body > #mobileNav.mobile-menu.gic-premium-drawer-v4 button.gic-v4-plan.gic-v4-smart-badge.has-level {
    display:grid!important;grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr)!important;
    align-items:center!important;justify-items:center!important;
    gap:6px!important;width:99px!important;min-width:99px!important;max-width:99px!important;
    height:34px!important;min-height:34px!important;padding:6px 10px!important;
    flex:0 0 99px!important;white-space:nowrap!important;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.has-level .gic-v4-badge-level,
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.has-level .gic-v4-badge-tier {
    display:block!important;text-align:center!important;font:900 10px/1.1 Manrope,system-ui,sans-serif!important;
    letter-spacing:0!important;max-width:100%!important;white-space:nowrap!important;
  }
  #mobileNav.gic-premium-drawer-v4 .gic-v4-smart-badge.has-level .gic-v4-badge-divider {
    display:block!important;width:1px!important;height:12px!important;
    background:currentColor!important;opacity:.28!important;
  }
  body > #mobileNav.mobile-menu.gic-premium-drawer-v4 button.gic-v4-plan.gic-v4-smart-badge:not(.has-level) {
    width:auto!important;min-width:69px!important;max-width:110px!important;
    flex:0 0 auto!important;padding-inline:12px!important;
  }
}
@media (max-width:375px) {
  #mobileNav.gic-premium-drawer-v4 .gic-v4-account {flex-wrap:nowrap!important;gap:7px!important;padding:9px!important}
  #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar {width:38px!important;height:38px!important;flex-basis:38px!important}
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info {flex:1 1 0!important;min-width:0!important}
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info strong.gic-v4-display-name {font-size:12px!important}
  #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info small {font-size:9px!important}
  body > #mobileNav.mobile-menu.gic-premium-drawer-v4 button.gic-v4-plan.gic-v4-smart-badge.has-level {
    margin:0!important;width:93px!important;min-width:93px!important;max-width:93px!important;flex:0 0 93px!important;
    gap:5px!important;padding:6px 7px!important;
  }
}
html[data-gic-theme="dark"] #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar,
html[data-gic-theme="dark"] #mobileNav.gic-premium-drawer-v4 .gic-v4-account .gic-v4-avatar {background:#24473a!important;border-color:#577567!important}
html[data-gic-theme="dark"] #mobileNav.gic-premium-drawer-v4 .gic-v4-avatar-initial {color:#f0e5c6!important}
html[data-gic-theme="dark"] #mobileNav.gic-premium-drawer-v4 .gic-v4-user-info strong.gic-v4-display-name {color:#e6f3e9!important}
