* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

ul, li {
  list-style: none;
}

input {
  outline: none;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

.font-bold {
  font-weight: bold;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.inline-block {
  display: inline-block;
}

@keyframes rotate-right {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.animate-rotate-right {
  animation: rotate-right linear infinite;
  animation-duration: 3s;
  animation-play-state: running;
}

html,
body {
  height: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

input[type=radio] {
  width: 0.6rem;
  height: 0.6rem;
}

#id_rooms {
  background: url("../images/bg-game-ready.png") center no-repeat;
  background-size: 100%;
  width: 100%;
  min-height: 15.36rem;
  padding-top: 7.5rem;
  font-size: 0.5rem;
  overflow: hidden;
}
#id_rooms > div {
  text-align: center;
  color: white;
}
#id_rooms ul.room-list {
  width: 12rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.3rem;
  margin-top: 0.5rem;
}
#id_rooms ul.room-list li {
  background: url("../images/room-item.png") center no-repeat;
  background-size: 100% 100%;
  width: calc(50% - 0.2rem);
  margin-bottom: 0.2rem;
  margin-right: 0.2rem;
  height: 2rem;
  padding: 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#id_rooms ul.room-list li b {
  margin-bottom: 0.2rem;
}

#id_ready {
  background: url("../images/game-wrap.jpg") center no-repeat;
  background-size: 100%;
  width: 100%;
  min-height: 15.36rem;
  padding-top: 1rem;
  font-size: 0.32rem;
  position: relative;
  overflow: hidden;
}
#id_ready > div {
  text-align: center;
  color: white;
}
#id_ready .game-tip {
  background: url("../images/game-tip.png") center no-repeat;
  background-size: 100%;
  font-size: 0.45rem;
  font-weight: bold;
  width: 5rem;
  height: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  margin: 0 auto;
  margin-top: 0.3rem;
  padding-bottom: 0.2rem;
  margin-bottom: 0.4rem;
}
#id_ready ul.player-list {
  height: 2.4rem;
  width: 12rem;
  background-color: #2b3aac;
  border-radius: 2rem;
  margin: 0.35rem auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  overflow-x: auto;
  padding: 0.2rem 1.2rem;
  padding-right: 0;
}
#id_ready ul.player-list::after {
  content: "1";
  display: inline-block;
  width: 0;
  padding-right: 0.8rem;
  opacity: 0;
}
#id_ready ul.player-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 0.5rem;
  font-size: 0.24rem;
  color: white;
}
#id_ready ul.player-list li span {
  display: inline-block;
  max-width: 1.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#id_ready ul.player-list li img {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0.08rem solid #1da8fc;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.12rem;
}
#id_ready ul.player-list li.is-mine img {
  border: 0.08rem solid #f1d842;
}
#id_ready .footer-duck {
  position: absolute;
  height: 3.6rem;
  width: 100%;
  bottom: 0;
  text-align: center;
}
#id_ready .footer-duck img {
  height: 100%;
}

ul.select-seat {
  width: 14rem;
  background-color: #1da8fc;
  border-radius: 0.24rem;
  box-shadow: 0 0 0.5rem 0.2rem #1717d0;
  margin: 0.35rem auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.2rem 0.8rem;
  font-size: 0.24rem;
}
ul.select-seat.all-roles {
  margin-top: 2rem;
  padding-top: 0.8rem;
  width: 16rem;
}
ul.select-seat.all-roles li {
  margin-bottom: 0.8rem;
  margin-right: 0.28rem;
}
ul.select-seat.all-roles b {
  background-color: white;
}
ul.select-seat.all-roles span {
  display: inline-block;
  width: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
}
ul.select-seat li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 0.32rem;
  position: relative;
}
ul.select-seat li em {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  border: 0.08rem solid #f1d842;
  background-color: #2b3aac;
  color: white;
  font-size: 0.28rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.12rem;
  overflow: hidden;
  position: absolute;
  top: -0.3rem;
  font-style: normal;
}
ul.select-seat li b {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0.08rem solid #4253d2;
  background-color: #2b3aac;
  color: white;
  font-size: 0.54rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.12rem;
  overflow: hidden;
}
ul.select-seat li b img {
  height: 100%;
}
ul.select-seat li.is-selected b {
  border: 0.08rem solid #f1d842;
}
ul.select-seat li.is-selected span {
  color: white;
}
ul.select-seat li[data-has-other-player] span {
  color: white;
}

.image-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  color: black;
  font-weight: bold;
  height: 1.2rem;
}
.image-btn a {
  background: url("../images/game-btn-inactive.png") center no-repeat;
  background-size: 100% 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.8rem;
  padding-bottom: 0.12rem;
}
.image-btn a.active {
  background: url("../images/game-btn-active.png") center no-repeat;
  background-size: 100% 100%;
}

#id_game {
  position: relative;
  background: url("../images/game-wrap.jpg") center no-repeat;
  background-size: 100%;
  width: 100%;
  min-height: 15.36rem;
  font-size: 0.32rem;
  position: relative;
  overflow: hidden;
}
#id_game.is-role {
  background: url("../images/game-role-wrap.jpg") center no-repeat;
  background-size: 100%;
}
#id_game ul.tabbar {
  background: url("../images/game-tabbar.png") center no-repeat;
  background-size: 100%;
  position: absolute;
  bottom: 1.7rem;
  left: calc(50% - 3.6rem);
  width: 7.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.35rem;
  color: white;
  padding: 0 1.5rem;
  z-index: 5;
}
#id_game ul.tabbar li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
#id_game ul.tabbar li::before {
  content: "";
  display: inline-block;
  width: 1.7rem;
  height: 1.7rem;
  background: url("../images/game-tab-selected.png") center no-repeat;
  background-size: 100%;
  position: absolute;
  z-index: 1;
  opacity: 0;
}
#id_game ul.tabbar li img {
  height: 0.8rem;
  margin-bottom: 0.04rem;
  position: relative;
  z-index: 2;
}
#id_game ul.tabbar li span {
  position: relative;
  z-index: 2;
}
#id_game ul.tabbar li.active::before {
  opacity: 1;
}
#id_game ul.tabbar li.active span {
  color: black;
}
#id_game #id_game_role {
  padding-top: 0.2rem;
  font-size: 0.45rem;
  color: white;
}
#id_game #id_game_role b {
  color: #f1d842;
}
#id_game #id_game_role > div {
  text-align: center;
}
#id_game #id_game_role .score-tip {
  height: 2.4rem;
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
}
#id_game #id_game_role .score-tip img {
  height: 100%;
}
#id_game #id_game_role .score-tip b {
  font-size: 0.5rem;
  position: absolute;
  left: 66%;
  top: 42%;
}
#id_game #id_game_role .role-description {
  position: absolute;
  bottom: 1.7rem;
  left: 0.4rem;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 0.08rem;
  z-index: 1;
  width: 5rem;
  max-height: 3.5rem;
  padding: 0.2rem;
  font-size: 0.3rem;
  text-align: justify;
  -moz-text-align-last: left;
       text-align-last: left;
  overflow: hidden;
  overflow-y: auto;
}
#id_game #id_game_role .skill-description {
  position: absolute;
  bottom: 1.7rem;
  right: 0.4rem;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 0.08rem;
  z-index: 1;
  width: 5rem;
  max-height: 3.5rem;
  padding: 0.2rem;
  font-size: 0.3rem;
  text-align: justify;
  -moz-text-align-last: left;
       text-align-last: left;
  overflow: hidden;
  overflow-y: auto;
}
#id_game #id_game_role .role-avatar {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
#id_game #id_game_role .role-avatar img {
  height: 100%;
}
#id_game #id_game_role div[data-player-status] {
  position: absolute;
  bottom: 0;
  right: 6.5rem;
  display: flex;
  flex-direction: column-reverse;
}
#id_game #id_game_role div[data-player-status] b {
  color: #f1d842;
}
#id_game #id_game_vote {
  padding-top: 2rem;
  color: white;
  font-size: 0.4rem;
}
#id_game #id_game_vote .select-seat {
  margin-bottom: 0.5rem;
}
#id_game #id_game_vote > div {
  text-align: center;
}
#id_game #id_game_vote .image-btn {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
#id_game #id_game_vote .ticket {
  position: absolute;
  width: 5.6rem;
  right: 0;
  bottom: 0;
}
#id_game #id_game_vote #id_game_vote_view {
  background: url("../images/game-vote-view-wrap.png") center no-repeat;
  background-size: 100% 100%;
  height: 7rem;
  position: absolute;
  top: -7rem;
  left: 0;
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  padding: 0 0.5rem;
  transition: top 0.3s;
}
#id_game #id_game_vote #id_game_vote_view.show {
  top: 0;
}
#id_game #id_game_vote #id_game_vote_view ul.player-vote-list {
  position: absolute;
  left: 0;
  bottom: 2rem;
  display: flex;
  justify-content: center;
}
#id_game #id_game_vote #id_game_vote_view ul.player-vote-list::after {
  content: "1";
  display: inline-block;
  width: 0;
  padding-right: 0.5rem;
  opacity: 0;
}
#id_game #id_game_vote #id_game_vote_view ul.player-vote-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 3rem;
  min-width: 3rem;
  margin-right: 0.5rem;
}
#id_game #id_game_vote #id_game_vote_view ul.player-vote-list li .ticket-number {
  position: absolute;
  right: -0.2rem;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f1d842;
}
#id_game #id_game_vote #id_game_vote_view ul.player-vote-list li .ticket-number::after {
  content: "";
  display: block;
  width: 0.2rem;
  height: 100%;
  background-color: #ad35c9;
  border-radius: 0.2rem;
}
#id_game #id_game_vote #id_game_vote_view ul.player-vote-list li b {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 0.08rem solid #4253d2;
  background-color: #2b3aac;
  color: white;
  font-size: 0.65rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.12rem;
}

#id_game_result,
#id_game_user {
  padding-top: 2.4rem;
  font-size: 0.4rem;
  color: white;
}
#id_game_result > div,
#id_game_user > div {
  text-align: center;
}
#id_game_result .game-result,
#id_game_user .game-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}
#id_game_result .game-result .game-result-text,
#id_game_user .game-result .game-result-text {
  height: 2.7rem;
  position: relative;
  top: -0.5rem;
  z-index: 1;
}
#id_game_result .game-result > div::before,
#id_game_user .game-result > div::before {
  content: "";
  display: block;
  height: 240%;
  width: 240%;
  background: url(../images/game-light-wrap.png) center no-repeat;
  background-size: 100%;
  position: absolute;
  z-index: 0;
  animation: rotate-right linear infinite;
  animation-duration: 30s;
  animation-play-state: running;
}
#id_game_result .role-avatar,
#id_game_user .role-avatar {
  width: 4.5rem;
  height: 4.5rem;
  box-shadow: 0 0 0.5rem 0.2rem #1717d0;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  overflow: hidden;
}
#id_game_result .role-avatar img,
#id_game_user .role-avatar img {
  height: 100%;
}
#id_game_result .game-score,
#id_game_user .game-score {
  background-color: #4151cf;
  color: #f1d842;
  padding: 0 1rem;
  height: 1rem;
  line-height: 1rem;
  text-align: center;
  border-radius: 0.12rem;
  margin-top: 0.5rem;
  width: auto;
  display: inline-block;
}

#id_game_start img {
  height: 7.5rem;
}

#id_game_time {
  position: absolute;
  top: 1rem;
  right: 0.5rem;
  font-size: 0.35rem;
  color: white;
  z-index: 5;
}

#id_page_btns {
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  font-size: 0.24rem;
  z-index: 5;
  display: flex;
}
#id_page_btns span + span {
  margin-left: 0.2rem;
}
#id_page_btns span {
  background: url("../images/game-btn-active.png") center no-repeat;
  background-size: 100% 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.24rem;
  padding-bottom: 0.14rem;
  color: black;
}

#id_global_refresh {
  position: absolute;
  bottom: 0.2rem;
  right: 5rem;
  font-size: 1.1rem;
  color: #f8b62b;
  z-index: 5;
}

.pop-wrap {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  overflow: hidden;
  overflow-y: auto;
  display: none;
}
.pop-wrap.show {
  display: block;
}
.pop-wrap.show-flex {
  display: flex;
}
.pop-wrap .card-message {
  height: 5.5rem;
  width: 8.5rem;
  padding: 1.35rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: -1;
}
.pop-wrap .card-message > img {
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.pop-wrap .card-message input,
.pop-wrap .card-message select {
  width: 100%;
  border-radius: 0.06rem;
  padding: 0 0.2rem;
  height: 0.55rem;
  line-height: 0.55rem;
  margin-top: 0.35rem;
  font-size: 0.24rem;
}
.pop-wrap .card-message input::-moz-placeholder, .pop-wrap .card-message select::-moz-placeholder {
  color: #c8c8c8;
}
.pop-wrap .card-message input::placeholder,
.pop-wrap .card-message select::placeholder {
  color: #c8c8c8;
}
.pop-wrap .card-message select + select {
  margin-left: 0.2rem;
}
.pop-wrap .card-message p,
.pop-wrap .card-message .operation,
.pop-wrap .card-message input,
.pop-wrap .card-message select {
  position: relative;
  z-index: 1;
}
.pop-wrap .card-message p {
  text-align: justify;
  word-break: break-all;
  display: -webkit-box;
  font-size: 0.28rem;
  line-height: 2;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pop-wrap .card-message a.btn {
  background: url(../images/btn-wrap.png) center no-repeat;
  background-size: 100% 100%;
  height: 0.75rem;
  font-size: 0.35rem;
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: black;
  padding-top: 0.06rem;
  margin-top: 0.4rem;
}
.pop-wrap .card-message a.btn.blue {
  background: url(../images/btn-wrap-blue.png) center no-repeat;
  background-size: 100% 100%;
}
.pop-wrap .card-message a.btn + a.btn {
  margin-left: 0.35rem;
}
.pop-wrap .card-players {
  width: 14rem;
  padding: 2rem 1.8rem;
  background: url(../images/card-message.png) center no-repeat;
  background-size: 100% 100%;
  color: white;
}
.pop-wrap .card-players .select-seat {
  width: auto;
  box-shadow: none;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}
.pop-wrap .card-players .select-seat li {
  margin-bottom: 0.2rem;
  margin-right: 0.3rem;
}
.pop-wrap .card-players .select-seat li b {
  width: 1rem;
  height: 1rem;
  font-size: 0.45rem;
}
.pop-wrap .card-players div {
  font-size: 0.35rem;
}
.pop-wrap .card-players select {
  width: 100%;
  border-radius: 0.06rem;
  padding: 0 0.2rem;
  height: 0.55rem;
  line-height: 0.55rem;
  font-size: 0.24rem;
}
.pop-wrap .card-players a.btn {
  background: url(../images/btn-wrap.png) center no-repeat;
  background-size: 100% 100%;
  height: 0.75rem;
  font-size: 0.35rem;
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 0 0.5rem;
  color: black;
  padding-top: 0.06rem;
  margin-top: 0.4rem;
}
.pop-wrap .card-players a.btn.blue {
  background: url(../images/btn-wrap-blue.png) center no-repeat;
  background-size: 100% 100%;
}
.pop-wrap .card-players a.btn + a.btn {
  margin-left: 0.35rem;
}

#id_game_vote_view_btn {
  position: absolute;
  bottom: 4rem;
  left: 1rem;
  height: 0.75rem;
  font-size: 0.35rem;
  padding: 0 0.5rem;
  padding-top: 0.1rem;
  color: black;
  background: url(../images/btn-wrap-blue.png) center no-repeat;
  background-size: 100% 100%;
}/*# sourceMappingURL=game.css.map */