html,
body {
  margin: 0;
  padding: 0;
  filter: saturate(105%);
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
.home-container {
  min-height: 100vh;
  background-image: linear-gradient(180deg, #91b3c9 0%, #ffffff 53.3%, #cfa59c 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

#main-container {
  transform-origin: top center;
  display: inline-block;
}
.page-container {
  width: 1920px;
  margin: 0 auto;
  min-height: 1080px;
}

/* Logoæ ·å¼ */
.logo-container {
  text-align: center;
}

/* å¯¹è¯æ¡†å®¹å™¨ */
.dialog-container {
  position: absolute;
}

/* å¯¹è¯æ¡†æ°”æ³¡ */
.dialog-box {
  position: relative;
  background-color: #192952;
  /* width: 600px; */
  /* height: 400px; */
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); */
  opacity: 0.8;
  padding: 40px;
}

/* å¯¹è¯æ¡†æ–‡å­— */
.dialog-text {
  color: white;

  font-weight: bold;
  letter-spacing: 10px;
}

/* å¯¹è¯æ¡†å°ä¸‰è§’ */
.dialog-box-wrap::after {
  content: "";
  position: absolute;
  background-image: url("images/dia-bottom.png");
  background-size: cover;
  width: 100px;
  height: 101px;
  left: 20%;
  transform: translateX(-50%);
  bottom: -99px;
}
.bg-brown-a {
  width: 1400px;
  height: 780px;
  background-image: url("images/bg-a.png");
  background-size: 1427px;
  background-position: bottom;
  position: relative;
}
.m-box {
  position: absolute;
  /* transition: auto; */
  transition: 0.3s;
}

.m-wrap {
  position: relative;
}
.right-aaa {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 44px;
}
.write-box-wrap {
  width: 100%;
  height: 470px;

  background-image: linear-gradient(180deg, #8bec96 0%, #37ade9 100%);
  border: 5px solid white;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px 0px #c3c3c3;
}
.write-box-content {
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 10px;
  background: white;
  overflow-y: auto;
}

.login-in-div,
.login-out-div {
  position: absolute;
  top: -170px;
  left: 70px;
  cursor: pointer;
}
.login-in-div img,
.login-out-div img {
  width: 330px;
}
.tip-title-box {
  position: absolute;
  top: -80px;
  right: -15px;
}

.tip-content {
  background: #192952d6;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 20px;
  text-align: center;
  min-height: 45px;
  display: flex;
  align-items: center;
}
.tip-content::after {
  content: "";
  display: block;
  width: 25px;
  height: 50px;
  background-image: url("./images/dia-bottom.png");
  position: absolute;
  background-size: 100%;
  background-repeat: no-repeat;
  bottom: -50px;
  left: 25px;
}
.write-box-wrap.input-write-box-wrap {
  width: 340px;
  height: 120px;
  position: relative;
  bottom: -40px;
}

.write-box-wrap.input-write-box-wrap textarea {
  width: 94%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 10px;
  display: block;
}
.m-box:hover {
  transform: scale(1.05);
}

.bg-111 {
  
  background-image: linear-gradient(180deg, #8bec96 0%, #37ade9 100%);
  border: 5px solid white;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 5px 0px #c3c3c3;
}
.btn{
  width: 250px;
  height: 85px;
  color: white;
  font-size: 3rem;
  font-weight: bold;
}
.bg-111.info-card {
    width: 385px;
    height: 190px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    /* padding-bottom: 20px; */
    padding: 40px;
}
.user-avatar {
    width: 155px;
    background: #7d7d7d;
}

.user-avatar img {
    width: 100%;
}

.register-face-text {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.register-face-text:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.user-info-item {
    margin-left: 20px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 15px;
}

 

.user-text {
    display: inline-block;
    width: 125px;
    position: relative;
    border-bottom: 2px solid white;
    /* bottom: -4px; */
    margin-left: 5px;
    /* padding-bottom: 5px; */
}

/* 聊天消息样式 */
.chat-message {
    margin: 10px 15px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-message.user {
    margin-left: auto;
    background-color: #37ade9;
    color: white;
    border-bottom-right-radius: 0;
}

.chat-message.assistant {
    margin-right: auto;
    background-color: #f0f0f0;
    color: #333;
    border-bottom-left-radius: 0;
}

.message-content {
    display: flex;
    align-items: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background-size: cover;
    background-position: center;
}

.message-text {
    line-height: 1.6;
    word-break: break-word;
    font-size: 16px;
}

#write-box-text {
    font-size: 16px;
    resize: none;
    overflow-y: auto;
    font-family: inherit;
}