@layer zenoReturn {
  :is(#aiZenoReturnButton,#marketBackButton)[hidden] {display:none!important}
  header.app-header.zeno-header-navigation {
    display:flex!important;
    gap:14px!important;
    flex-wrap:nowrap!important;
  }
  header.app-header.zeno-header-navigation .market-route-actions {display:none!important}
  header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton) {
    order:-100!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;position:relative!important;min-width:82px!important;min-height:44px!important;
    margin:0!important;padding:0!important;color:#d2bde7!important;text-decoration:none!important;
    font-family:inherit!important;font-size:13px!important;font-weight:550!important;line-height:1.45!important;
    letter-spacing:.05px!important;white-space:nowrap!important;border:0!important;background:transparent!important;
  }
  header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton)>span {
    display:block!important;border:1px solid #443b50!important;border-radius:999px!important;
    padding:6px 11px 6px 27px!important;background:#25222d!important;
  }
  header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton)>.ui-icon {
    position:absolute!important;left:10px!important;top:15px!important;width:14px!important;height:14px!important;
    flex:none!important;pointer-events:none!important;
  }
  header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton):hover>span {background:#302936!important;border-color:#5a4968!important}
  header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton):focus-visible {outline:2px solid #bd9cdb!important;outline-offset:2px!important;border-radius:999px!important}
  header.app-header.zeno-header-navigation .search {flex:1 1 0!important;min-width:0!important}
  @media(max-width:1100px) and (min-width:761px) {
    header.app-header.zeno-header-navigation {gap:10px!important;padding-inline:16px!important}
  }
  @media(max-width:760px) {
    header.app-header.zeno-header-navigation {gap:8px!important;padding-inline:12px!important;min-height:66px!important;flex-wrap:nowrap!important}
    /* header-actions has display:contents: align its first visible flex item. */
    header.app-header.zeno-header-navigation>.v85-header-ask {margin-inline-start:auto!important}
    header.app-header.zeno-header-navigation>.mobile-brand {display:flex!important;flex:0 0 116px!important;width:116px!important;min-width:116px!important}
    header.app-header.zeno-header-navigation>.brand {display:none!important}
    header.app-header.zeno-header-navigation .v85-brand-logo {width:116px!important;max-width:116px!important;height:24px!important}
    header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton) {min-width:76px!important;font-size:12px!important}
    header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton)>span {padding:6px 10px 6px 24px!important}
    header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton)>.ui-icon {left:8px!important;width:13px!important;height:13px!important}
  }
  @media(max-width:360px) {
    header.app-header.zeno-header-navigation {gap:5px!important;padding-inline:8px!important}
    header.app-header.zeno-header-navigation>.mobile-brand {flex-basis:90px!important;width:90px!important;min-width:90px!important}
    header.app-header.zeno-header-navigation .v85-brand-logo {width:90px!important;max-width:90px!important}
  }
}

@layer zenoReturn {
 header.app-header.zeno-header-navigation #marketBackButton {appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important}
 header.app-header.zeno-header-navigation :is(#aiZenoReturnButton,#marketBackButton)[hidden],
 header.app-header.zeno-header-navigation .market-route-actions[hidden] {display:none!important}
 header.app-header.zeno-header-navigation.zeno-market-back > .market-route-actions {
  display:inline-flex!important;order:-100!important;align-items:center!important;justify-content:center!important;
  position:static!important;inset:auto!important;width:auto!important;min-width:0!important;
  flex:0 0 auto!important;gap:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 }
}
