/* 移动端 APP 下载入口：登录、注册及后台顶栏共用 */
.mobile-entry,
.mobile-entry * {
  box-sizing: border-box;
}

.mobile-entry {
  position: relative;
  height: 100%;
}

.mobile-entry__trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  color: #56667c;
  font-size: 13px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.mobile-entry__trigger::-webkit-details-marker {
  display: none;
}

.mobile-entry__trigger::marker {
  content: "";
}

.mobile-entry__trigger > .layui-icon {
  color: #62748a;
  font-size: 18px;
}

.mobile-entry__arrow {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1px solid #8492a4;
  border-bottom: 1px solid #8492a4;
  transform: rotate(45deg);
  transition: transform .2s;
}

.mobile-entry[open] .mobile-entry__arrow {
  margin-top: 3px;
  transform: rotate(225deg);
}

.mobile-entry__trigger:focus-visible {
  outline: 2px solid rgba(22, 119, 255, .28);
  outline-offset: 5px;
  border-radius: 2px;
}

.mobile-entry__panel {
  position: absolute;
  top: 100%;
  right: -8px;
  z-index: 20;
  display: flex;
  gap: 24px;
  width: max-content;
  max-width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  flex-wrap: wrap;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #e1e9f3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(14, 38, 72, .18);
}

.mobile-entry__panel::before {
  position: absolute;
  top: -7px;
  right: 46px;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 1px solid #e1e9f3;
  border-left: 1px solid #e1e9f3;
  background: #fff;
  transform: rotate(45deg);
}

.mobile-entry:not([open]) .mobile-entry__panel {
  display: none;
}

.mobile-entry__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 210px;
  text-align: center;
}

.mobile-entry__qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
  padding: 4px;
  border: 1px solid #e8eef6;
  border-radius: 7px;
  background: #fff;
}

.mobile-entry__qr-frame img {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
}

.mobile-entry__item strong {
  color: #21334e;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.mobile-entry__item > span {
  color: #8b98a9;
  font-size: 11px;
  line-height: 18px;
}

@media screen and (max-width: 760px) {
  .mobile-entry {
    display: none;
  }
}
