#xp-login {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
  background: linear-gradient(180deg, #5c80d6 0%, #6f8fe0 55%, #7f9be8 100%);
}
#xp-login .xpl-bar {
  height: 11%;
  min-height: 52px;
  position: relative;
  flex: none;
}
#xp-login .xpl-top {
  background: linear-gradient(180deg, #0b3aa0, #0e3e9c);
}
#xp-login .xpl-bottom {
  background: linear-gradient(180deg, #2a3aa0, #1d2b84);
  display: flex;
  align-items: center;
}
#xp-login .xpl-top::after,
#xp-login .xpl-bottom::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 170, 80, 0),
    rgba(255, 255, 255, 0.95) 16%,
    rgba(255, 255, 255, 0.95) 84%,
    rgba(255, 170, 80, 0)
  );
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
#xp-login .xpl-top::after {
  bottom: -1px;
}
#xp-login .xpl-bottom::before {
  top: -1px;
}
#xp-login .xpl-mid {
  flex: 1;
  display: flex;
  align-items: center;
  background: radial-gradient(
    ellipse at 22% 82%,
    rgba(255, 255, 255, 0.28),
    transparent 55%
  );
}
#xp-login .xpl-left {
  flex: 1;
  text-align: right;
  padding-right: 42px;
}
#xp-login .xpl-welcome-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
}
#xp-login .xpl-welcome {
  font-size: 50px;
  font-style: italic;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 0.9;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.28);
}
#xp-login .xpl-logo {
  width: 40px;
  height: 33px;
  image-rendering: pixelated;
  margin-top: 2px;
}
#xp-login .xpl-instruction {
  font-size: 15px;
  color: #eaf0ff;
  margin-top: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
#xp-login .xpl-divider {
  width: 1px;
  align-self: stretch;
  margin: 36px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.85) 12%,
    rgba(255, 255, 255, 0.85) 88%,
    transparent
  );
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
#xp-login .xpl-right {
  flex: 1;
  padding-left: 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.xpl-user {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 18px 6px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.xpl-user.xpl-hover {
  background: rgba(255, 255, 255, 0.12);
}
.xpl-user.xpl-selected {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.xpl-avatar {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  flex: none;
  background: #9d04cc;
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.xpl-avatar-fish {
  background: #000;
}
.xpl-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.xpl-name {
  font-size: 17px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
#xp-login .xpl-turnoff {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 30px;
  font-size: 14px;
  color: #fff;
  cursor: default;
}
#xp-login .xpl-power {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: radial-gradient(circle at 50% 38%, #ff6a4d, #d63a1e);
  color: #fff;
  font-size: 13px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}
@media (max-width: 760px) {
  #xp-login .xpl-welcome {
    font-size: 30px;
  }
  #xp-login .xpl-left {
    padding-right: 16px;
  }
  #xp-login .xpl-right {
    padding-left: 16px;
  }
}
