/* Panel logueado (log_info) alineado al estilo del bloque Download:
   - Azules + acento amarillo (como Gunbound)
   - Burbuja/curvas
   - Sin depender de sprites/PNGs que faltan */

.log_info { right: 0; top: 110px; }

.log_info .log_wrap {
  position: relative;
  margin-right: 94px; /* igual que el bloque download */
  width: 324px;
  height: 330px;
  padding: 18px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  background:
    radial-gradient(120px 120px at 70px 78px, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(260px 260px at 250px 40px, rgba(0, 255, 255, 0.18) 0%, rgba(0, 255, 255, 0) 65%),
    radial-gradient(240px 240px at 60px 260px, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, #20b3ff 0%, #0b7bff 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

/* decoraciones suaves para “combinar” con el fondo del download */
.log_info .log_wrap:before,
.log_info .log_wrap:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.log_info .log_wrap:before {
  width: 190px; height: 190px;
  right: -70px; top: -70px;
  background: rgba(255, 255, 255, 0.14);
}
.log_info .log_wrap:after {
  width: 220px; height: 220px;
  left: -110px; bottom: -110px;
  background: rgba(0, 0, 0, 0.10);
}

.log_info .log_wrap .avatar {
  left: 18px;
  top: 22px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.log_info .log_wrap .avatar img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
  border: 0;
}

/* Avatar equipado (iframe del renderizador) */
.log_info .log_wrap .avatar iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  border: 0;
  /* Centrado + leve ajuste para compensar offsets del render */
  transform: translate(-50%, -50%) translateX(-8px);
  pointer-events: none;
  background: transparent;
}

/* El cover original usa un PNG que no está; lo ocultamos */
.log_info .log_wrap .avatar .cover {
  display: none;
}

.log_info .log_wrap .msg {
  width: auto;
  padding: 18px 0 4px 138px;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 18px;
}

.log_info .log_wrap .name {
  width: auto;
  height: auto;
  padding: 0 0 12px 138px;
  color: #fff;
}

.log_info .log_wrap .name span {
  background-color: rgba(21, 112, 239, 0.65);
  color: #fff229; /* acento amarillo como el botón */
  font-size: 12px;
  padding: 0 12px;
  height: 24px;
  line-height: 24px;
}

.log_info .log_wrap .btn_myinfo {
  margin: 0 0 10px 138px;
  width: 190px;
  height: 36px;
  padding: 0;
  line-height: 38px;
  font-weight: 700;
  border-radius: 18px;
  background: #fff229;
  color: #005bda;
}

.log_info .log_wrap .btn_myinfo:hover {
  background: #ffd200;
}

.log_info .log_wrap .btn_nxid {
  margin: 0 0 14px 138px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.log_info .log_wrap .btn_nxid:hover {
  text-decoration: underline;
}

/* No dependas del icono ::before del sprite */
.log_info .log_wrap .btn_nxid::before {
  display: none;
}

.log_info .log_wrap dl {
  margin: 10px 0 0;
  padding: 0;
  height: auto;
  background: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.log_info .log_wrap dl dt,
.log_info .log_wrap dl dd {
  float: none;
}

.log_info .log_wrap dl dt {
  margin: 0;
  color: rgba(151, 246, 255, 0.95); /* cyan como links del estilo original */
  font-weight: 700;
}

.log_info .log_wrap dl dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.log_info .log_wrap .menu {
  padding-top: 14px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.log_info .log_wrap .menu a {
  margin: 0;
  padding: 10px 3px;
  border-radius: 0;
  background: transparent;
  color: #97f6ff;
  text-decoration: none;
  font-weight: 600;
}

.log_info .log_wrap .menu a:hover {
  text-decoration: underline;
}

/* Quitamos el ::before de la lista del sprite */
.log_info .log_wrap .menu a::before {
  display: none;
}

/* Botón Login/Logout del círculo (cuando NO hay sesión) */
.log_info .btn_area {
  top: -86px;
  padding-right: 0;
}

.log_info .btn_area button {
  margin-right: 0;
}

.log_info .btn_login {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  border: 0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  color: #0b58d6;
}

.log_info .btn_login:hover {
  background: #ffffff;
}

/* Responsive: en móvil que no flote encima */
@media (max-width: 768px) {
  .log_info {
    position: static;
    margin: 14px auto 0;
    display: flex;
    justify-content: center;
    padding: 0 12px;
  }

  .log_info .log_wrap {
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 330px;
  }

  .log_info .log_wrap .btn_myinfo,
  .log_info .log_wrap .btn_nxid,
  .log_info .log_wrap .msg,
  .log_info .log_wrap .name {
    margin-left: 0;
    padding-left: 0;
    width: auto;
    text-align: center;
  }

  .log_info .log_wrap .btn_myinfo {
    margin: 10px auto 8px;
  }
}

