/*
 * G&C REV10W FIX54 — Path of the Wolf V14.
 * Floating-navigation visual parity: member + Admin use the same real-icon
 * system, Profile avatar plate, active ring and two-lane geometry.
 *
 * Historical Path V5 hid the actual icon DOM and drew masked ::after glyphs.
 * That left member and Admin docks visually divergent and made Profile look
 * like a square image tile. V14 restores the real SVG/avatar contents for
 * every slot and retires the mask replacement layer entirely.
 */

html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
){
  box-sizing:border-box!important;
  width:min(620px,calc(100vw - 24px))!important;
  max-width:min(620px,calc(100vw - 24px))!important;
  grid-template-columns:repeat(var(--gc-nav-columns,5),minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:4px!important;
  padding:7px 9px!important;
  border-radius:22px!important;
  overflow:hidden!important;
}

html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]){
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:38px 17px!important;
  place-items:center!important;
  align-content:center!important;
  gap:1px!important;
  width:100%!important;
  min-width:0!important;
  height:61px!important;
  min-height:61px!important;
  margin:0!important;
  padding:3px 2px 2px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  transform:none!important;
}

/* One icon plate for every destination. */
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon){
  grid-column:1!important;
  grid-row:1!important;
  place-self:center!important;
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  flex:0 0 36px!important;
  margin:0!important;
  padding:5px!important;
  border:1px solid transparent!important;
  border-radius:50%!important;
  background:transparent!important;
  box-shadow:none!important;
  line-height:0!important;
  overflow:hidden!important;
  transform:none!important;
}

/* Retire every historical pseudo-glyph / floating medallion. */
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page])::before,
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page])::after,
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon)::before,
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon)::after{
  content:none!important;
  display:none!important;
  background:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  box-shadow:none!important;
}

/* Path V5 hid the real DOM icons. V14 explicitly restores them. */
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon) > *{
  opacity:1!important;
  visibility:visible!important;
}

html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon) > svg,
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav
) .gcWolfNavSigil{
  position:static!important;
  display:block!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  margin:0!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  transform:none!important;
}

/* Active state belongs only to the icon plate. */
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]):is(.isActive,[aria-current="page"]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon){
  border-color:rgba(224,193,128,.70)!important;
  background:radial-gradient(circle at 50% 42%,rgba(162,57,45,.19),rgba(19,16,11,.72) 72%)!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.55),0 0 10px rgba(188,72,57,.16)!important;
}
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]):is(.isActive,[aria-current="page"]){
  background:transparent!important;
  box-shadow:none!important;
}

/* Profile is an avatar inside the same circular plate, never a square tile. */
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) [data-app-nav-page="profile"] :is(.gcNavProfileAvatarWrap,.gcAdminProfileAvatarWrap){
  position:static!important;
  display:grid!important;
  place-items:center!important;
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  clip-path:none!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  isolation:auto!important;
  overflow:hidden!important;
  transform:none!important;
}
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) [data-app-nav-page="profile"] :is(.gcNavProfileAvatarWrap,.gcAdminProfileAvatarWrap)::before,
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) [data-app-nav-page="profile"] :is(.gcNavProfileAvatarWrap,.gcAdminProfileAvatarWrap)::after{
  content:none!important;
  display:none!important;
  box-shadow:none!important;
  background:none!important;
}
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) [data-app-nav-page="profile"] :is(.gcNavProfileAvatar,.gcAdminProfileAvatar){
  position:static!important;
  display:block!important;
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
html[data-gc-theme="path-of-the-wolf"] body :is(.gcNavProfileAvatarWrap,.gcAdminProfileAvatarWrap):not(.isFallback) :is(.gcNavProfileAvatarFallback,.gcAdminProfileAvatarFallback){display:none!important}
html[data-gc-theme="path-of-the-wolf"] body :is(.gcNavProfileAvatarWrap,.gcAdminProfileAvatarWrap).isFallback :is(.gcNavProfileAvatarFallback,.gcAdminProfileAvatarFallback){display:grid!important}
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav
) [data-app-nav-page="profile"] :is(.gcNavProfileAvatarFallback,.gcAdminProfileAvatarFallback),
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav
) [data-app-nav-page="profile"] :is(.gcNavProfileAvatarFallback,.gcAdminProfileAvatarFallback) svg{
  width:23px!important;
  height:23px!important;
  min-width:23px!important;
  min-height:23px!important;
  place-items:center!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Labels use the exact same lane in member and Admin docks. */
html[data-gc-theme="path-of-the-wolf"] body :is(
  #profileBottomNav.gcAppBottomNav,
  #gcAdminUnifiedNav.gcAppBottomNav,
  #gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldSimpleNav.gcAppBottomNav,
  .gcGoldBottomNav.gcAppBottomNav,
  .gcAwardsBottomNav.gcAppBottomNav
) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > span:last-child{
  grid-column:1!important;
  grid-row:2!important;
  place-self:center!important;
  position:static!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  font-size:11px!important;
  line-height:14px!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
}

@media(max-width:700px){
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav,
    #gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldBottomNav.gcAppBottomNav,
    .gcAwardsBottomNav.gcAppBottomNav
  ){
    left:max(8px,env(safe-area-inset-left,0px))!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    bottom:max(8px,calc(env(safe-area-inset-bottom,0px) + 8px))!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    min-height:64px!important;
    gap:1px!important;
    padding:5px 6px!important;
    transform:none!important;
  }
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav,
    #gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldBottomNav.gcAppBottomNav,
    .gcAwardsBottomNav.gcAppBottomNav
  ) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]){
    grid-template-rows:31px 14px!important;
    height:52px!important;
    min-height:52px!important;
    gap:1px!important;
    padding:2px 1px!important;
  }
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav,
    #gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldBottomNav.gcAppBottomNav,
    .gcAwardsBottomNav.gcAppBottomNav
  ) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon,.gcGoldNavIcon){
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    flex-basis:30px!important;
    padding:4px!important;
  }
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav
  ) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > :is(.gcAppNavIcon,.gcAdminFloatIcon) > svg,
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav
  ) .gcWolfNavSigil{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
  }
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav
  ) [data-app-nav-page="profile"] :is(.gcNavProfileAvatarWrap,.gcAdminProfileAvatarWrap,.gcNavProfileAvatar,.gcAdminProfileAvatar){
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
  }
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav,
    #gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldBottomNav.gcAppBottomNav,
    .gcAwardsBottomNav.gcAppBottomNav
  ) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > span:last-child{
    font-size:9.5px!important;
    line-height:12px!important;
  }
}

@media(max-width:360px){
  html[data-gc-theme="path-of-the-wolf"] body :is(
    #profileBottomNav.gcAppBottomNav,
    #gcAdminUnifiedNav.gcAppBottomNav,
    #gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldSimpleNav.gcAppBottomNav,
    .gcGoldBottomNav.gcAppBottomNav,
    .gcAwardsBottomNav.gcAppBottomNav
  ) > :is(.gcAppNavButton,.gcAdminFloatButton,[data-app-nav-page]) > span:last-child{
    font-size:8.8px!important;
    letter-spacing:-.015em!important;
  }
}
