html, body { margin:0; padding:0; width:100%; height:100%; font-size:15px; line-height:1.35em; overscroll-behavior:contain }
table { border:0; border-spacing:0; font-size:inherit }
td { padding:0; vertical-align:top }
div {
  background-color:inherit
}
input, select, textarea {
  border: 0;
  outline: 0;
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
  color: inherit;
  background-color: inherit
}
textarea { padding:inherit }

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1d5;
}

#wrap { position:relative; margin:0 auto; width:min(100%, 850px); height:100% }
#header { padding:7em 0; text-align:center }
#header h1 { margin:0; font-size:2em; line-height:2em }
#body { padding:2em }
#body h2 { font-size:1.3em }
#body p { margin:0.7em 0 }
#footer { margin-top:5em; padding:1em; font-size:1.1em; text-align:center; border-top:1px solid #ddd }
#footer p { color:#999; margin:0.5em 0 }
#avatar_viewer { position:fixed; top:-99em; width:min(100%, 850px); height:30%; opacity:0.5 }

._header { height:3.3em; font-size:1.1em; font-weight:bold; line-height:3.3em; display:inline-table }
._header ._back { width:3.3em; display:table-cell; background:url(../img/bt_back.png) center / 60% no-repeat; filter:invert(1) }
._header ._title { display:table-cell }
._header ._menu { position:absolute; top:0; right:0; width:3.3em; height:inherit; display:table-cell; background:url(../img/bt_menu.png) center / 80%; filter:invert(1) }

._viewer {
  height: 100%;
  overflow-y: auto;
}
._viewer ._noti { margin:0.7em; text-align:center; color:#555 }
._viewer ._noti ._time { font-size: 0.7em; }
._viewer ._ctnr_l { position:relative; padding-left:63px }
._viewer ._ctnr_l ._body { background-color:#ffffffcc }
._viewer ._ctnr_r { position:relative; padding-right:12px; text-align:right }
._viewer ._ctnr_r ._body { background-color:#ffe700cc }
._viewer ._user_img { position:absolute; top:0.1em; left:12px; width:40px; height:40px; border-radius:12px; background:center / 120% no-repeat #000; opacity:0.7 }
._viewer ._nick { margin:0.7em 0.7em 0 0 }
._viewer ._conts {
  position: relative;
  margin: 0.7em 0;
  max-width: calc(100% - 7.9em);
  display: inline-block;
}
._viewer ._conts ._body {
  padding: 0.3em 0.54em;
  border-radius: 5px;
  text-align: left;
  word-break: break-word;
  display: inline-block;
}
._viewer ._conts ._body img { max-width:100% }
._viewer ._conts ._tail {
  position: absolute;
  bottom: 0.07em;
  left: calc(100% + 0.7em);
  font-size: 0.7em;
  color: #555;
  white-space: nowrap;
  display: inline-block;
}
._viewer ._conts ._tail ._cnt { color:#fe0; font-weight:bold }

._popup_back {
  position: absolute;
  inset: 0;
  background-color: #000000aa;
  overflow: hidden;;
  display: none;
}
._menu_room ._cntnr {
  position: absolute;
  top: 3em;
  right: 0;
  bottom: 3em;
  padding: 15px;
  width: 15em;
  max-width: calc(100% - 2em);
  background-color: #eee;
  border-radius: 0.5em;
  overflow: hidden auto;
}
._menu_room [menu] {
  position: relative;
  padding: 1em 0;
  border-bottom: 0.07em solid #eee;
}
._menu_room ._member ._nick {
  position: relative;
  margin: 5px 0;
  padding-left: 50px;
  height: 40px;
  line-height: 40px;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
._menu_room ._member ._user_img {
  position: absolute;
  inset: 0 calc(100% - 40px) 0 0;
  background: center / 120% no-repeat #000;
  border-radius: 12px;
  opacity: 0.7;
}

._close {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.3em;
  height: 3.3em;
  background: url(../img/bt_close3.png) center / 70% no-repeat;
  filter: invert(1);
  z-index: 5;
}

._menu_dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 3.3em;
  height: 3.3em;
  background: url(../img/bt_menu2.png) center / 55% no-repeat;
  filter: invert(1);
  z-index: 5;
}

._user_info {
  display: block;
  background-color: #eee;
  animation-name: slide_right;
  animation-duration: 0.2s;
  text-align: right;
}
._user_info ._user_img_frame {
  position: absolute;
  top: 150px;
  left: calc(50% - 50px);
  width: 100px;
  height: 100px;
  background-color: #000;
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
}
._user_info ._user_img {
  width: 100%;
  height: 100%;
  background: center / 120% no-repeat;
}
._user_info ._user_nk {
  position: absolute;
  top: 270px;
  left: 0;
  padding: 0.2em;
  width: 100%;
  font-weight: bold;
  text-align: center;
}
._user_info ._user_intro {
  position: absolute;
  top: 350px;
  left: calc((100% - min(70%, 400px)) / 2);
  right: calc((100% - min(70%, 400px)) / 2);
  height:300px;
  line-height: 1.7em;
  padding:10px;
  text-align: center;
}
._user_info ._user_sex {
  position: absolute;
  top: calc( 250px - 3.5em );
  left: calc(50% + 50px + 15px);
  padding: 0.2em;
  width: 5em;
  height: 1.4em;
  text-align: left;
}
._user_info ._user_birth {
  position: absolute;
  top: calc( 250px - 1.5em );
  left: calc(50% + 50px + 15px);
  padding: 0.2em;
  width: 5em;
  height: 1.4em;
  text-align: left;
}

._ticker {
  position: absolute;
  bottom: 10%;
  padding: 0.5em 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  text-align: center;
  z-index: 99;
}

.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  overflow: hidden;
}
