#transfer-history {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000000;
  color: var(--ego-text-color);
}

#transfer-history>.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ego-focus-bg);
}

#transfer-history>div.content {
  padding-top: 96px;
  max-width: 720px;
  margin: 0 auto;
  max-height: 100%;

  position: absolute;
  /* background: red; */
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  min-height: 50vh;
  min-height: 50svh;
  max-height: 100vh;
  max-height: 100svh;
  background: var(--ego-bg-1);
  border-radius: 28px;
  padding: 16px 24px;
  padding-top: 56px;
  overflow-y: auto;
  width: 100%;
}


#transfer-history .header {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--ego-bg-2);
  height: 56px;
  width: 100%;
  border-radius: 28px;
}

#transfer-history .header>button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 48px;
  margin: 0;
  padding: 0;
  text-align: center;
  background: var(--ego-interactable);
  color: var(--ego-interactable-content);
}



#transfer-history div.t {
  padding: 16px 0;
  position: relative;
}

#transfer-history div.t>p>span {
  color: var(--ego-text-color-2);
}

#transfer-history div.t>p {
  margin: 0;
  margin-bottom: 8px;
}

#transfer-history .t>.count {
  display: inline-block;
  margin-right: 8px;
  min-width: 64px;
  text-align: center;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--ego-interactable);
  color: var(--ego-interactable-content);
  font-weight: bold;
  font-size: 16pt;
}

#transfer-history .t>.print {
  position: absolute;
  right: 0;
  top: 12px;
  margin: 0;
  padding: 4px;
  color: var(--ego-text-color-2);
}

#transfer-history .description {
  padding: 16px 0;
}




.object {
  position: relative;
  padding: 8px 16px;
  min-height: 64px;
  display: flex;
  color: var(--ego-interactable-content);
  background: var(--ego-interactable);
  border-radius: 16px;

  align-items: center;
  cursor: pointer;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.object.mini {
  padding: 4px 8px;
  border-radius: 8px;
  min-height: unset;
}

.object.empty,
.object.add {
  justify-content: center;
}

.object>p {
  margin: 0;
}

.object>.icon {
  width: 36px;
  margin-right: 12px;
}

.object.mini>.icon {
  width: 32px;
  margin-right: 6px;
}

.object>.icon>i {
  font-size: 20pt;
  text-align: center;
  display: inline-block;
  width: 100%;
}

.object.mini>.icon>i {
  font-size: 14pt;
}

.object>.data>* {
  margin: 2px 0;
  font-weight: normal;
}


#glabal-selector {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
}

#glabal-selector-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--ego-focus-bg);
}

#glabal-selector-box {
  max-width: 360px;
  margin: 0 auto;
  max-height: 100%;
  position: absolute;
  /* background: red; */
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  min-height: 50vh;
  min-height: 50svh;
  max-height: 100vh;
  max-height: 100svh;
  background: var(--ego-bg-1);
  border-radius: 28px;
  padding: 16px;
  padding-top: 86px;
  overflow-y: auto;
  width: 100%;
}

#glabal-selector-inputs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 16px 0;
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
}

#glabal-selector-inputs>input {
  width: 0;
  flex-grow: 1;
  margin: 0;
  height: 36px;
}

#glabal-selector-loader{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ego-bg-2);
  color: var(--ego-text-color-1);
}

#glabal-selector-create {
  display: none;
  width: 36px;
  margin: 0;
  height: 36px;
}

#glabal-selector.create #glabal-selector-create {
  display: block;
}

#glabal-selector-box .object {
  margin: 8px 0;
  border-radius: 8px;
}

#glabal-selector-box .object:first-child {
  border-radius: 16px 16px 8px 8px;
}

#glabal-selector-box .object:last-child {
  border-radius: 8px 8px 16px 16px;
}



.object-list {}

.object-list .list {
  position: relative;
  min-height: 128px;
}

.object-list .info {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 320px;
}

.object-list .info>span {
  color: var(--ego-text-color-2);
  text-align: center;
  display: block;
}

.object-list .info>i {
  color: var(--ego-text-color-1);
  display: block;

  width: 48px;
  height: 48px;

  margin: 0 auto;

  text-align: center;
  line-height: 48px;
  font-size: 28px;
}

.object-list .info.empty>i {
  color: var(--ego-text-color-2);
}

.object-list .info.error>i {
  color: var(--interact-red);
}

.object-list .info.empty>i {
  color: var(--ego-text-color-3);
}

.object-list .info.refresh>i {

  animation: loading-icon 2s infinite ease;
}

@keyframes loading-icon {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }

}



#net-status {
  position: fixed;
  right: 8px;
  top: 8px;
  padding: 6px 0;
  width: 32px;
  height: 48px;
  z-index: 800;
  color: var(--ego-notification-text);

  font-size: 9pt;
  line-height: 8pt;
  text-align: center;
  text-shadow: 0 0 2px #0002;

  background: var(--ego-notification-ok);
  background: color-mix(in srgb, var(--ego-notification-ok) 90%, transparent);
  border-radius: 16px;
}

#net-status.slow {
  background: var(--ego-notification-warn);
  background: color-mix(in srgb, var(--ego-notification-warn) 90%, transparent);
}

#net-status.bad {
  background: var(--ego-notification-atention);
  background: color-mix(in srgb, var(--ego-notification-atention) 90%, transparent);
}

#net-status.error {
  background: var(--ego-notification-alert);
  background: color-mix(in srgb, var(--ego-notification-alert) 90%, transparent);
}


#net-status>i {
  width: 100%;
  margin-bottom: 2px;
}


#net-status>i.fa-wifi,
#net-status.error>i.fa-link-slash {
  display: block;
}

#net-status.error>i.fa-wifi,
#net-status>i.fa-link-slash {
  display: none;
}

#net-status>span {
  font-weight: bold;
}

#net-status>span>span {
  font-size: 7pt;
  font-weight: normal;
}