

* {
  margin: 0;
  padding: 0;
}
body {
  font-size: 12px;
}
.chatroom-feedback {
  position: absolute;
  bottom: 3px;
  background: #EEE;
  width: 159px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  z-index: 0;
}
.chatroom {
  font-size: 12px;
  position: fixed;
  right: -3px;
  bottom: -3px;
  width: 563px;
  height: 405px;
  z-index: 998;
  overflow: hidden;
  background: var(--chat_background);
  box-shadow: -3px -2px 8px -1px rgba(0,0,0,0.2);
  border-radius: 2px 0px 0px 2px;
  transition: all 0.3s;
  color: var(--chat_text);
}
.chatroom-fold {
  right: -404px;
  bottom: -368px;
  transition: all 0.3s;
}
.chatroom-fold .chatroom-tribe .count {
  right: 42px;
}
.chatroom-info {
  position: absolute;
  right: 10px;
  top: 6px;
  cursor: pointer;
  z-index: 12;
}
.chatroom-info:after {
  content: '[收起]';
  color: #F40;
}
.chatroom-fold .chatroom-info:after {
  content: '[展开]';
  color: #F40;
  z-index: 10;
  position: relative;
  top: 5px;
}
.chatroom-fold .chatroom-info {
  right: 412px;
}
.chatroom-tribe {
  -webkit-user-select: none;
  padding: 4px 5px;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  margin-bottom: 1px;
  position: relative;
}
.chatroom-tribe:hover, .chatroom-tribe.current {
  background: var( --chat_header_background)
}
.chatroom-tribe img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}
.chatroom-tribe .name {
  max-width: 90px;
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  margin-left: 10px;
  line-height: 30px;
  overflow: hidden;
}
.chatroom-tribe .count {
  /*visibility: hidden;*/
  min-width: 18px;
  height: 13px;
  line-height: 14px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  padding: 1px 2px;
  background: #fa7d3c;
  color: #fff;
  border-radius: 3px;
  transform: scale(0.8);
  position: absolute;
  right: 22px;
  top: 12px;
}
.chatroom-tribe .iconfont {
  position: absolute;
  right: 0;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 12px;
  font-family: Arial;
  color: #696e78;
  font-style: normal;
  transform: scale(0.5);
  font-weight: bold;
  visibility: hidden;
}
.chatroom-tribe .iconfont:hover {
  color: #fa7d3c;
}
.chatroom-tribe:hover .iconfont {
  visibility: visible;
}
.chatroom-tribes {
  float: left;
  width: 159px;
  border-right: 1px #3c85e05c solid;
  overflow: hidden;
  height: 402px;
  overflow-y: auto;
}
.chatroom-tribe {

}
.chatroom-pannels {
  float: left;
  width: 400px;
  height: 350px;
}
.chatroom-pannel-bd {
  height: 340px;
  background: var(--chat_background);
  overflow-y: auto;
}
.chatroom-item {
  display: none;
  padding-bottom: 10px;
}
.chatroom-item.current {
  display: block;
}
.chatroom-pannel-ft {
  border-top: 1px #2b4565 solid;
  position: relative;
  height: 60px;
}
.chatroom-pannel-ft textarea {
  resize: none;
  border: none;
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  width: 77%;
  bottom: 6px;
  outline: none;
  line-height: 18px;
  font-size: 12px;
  overflow-y: auto;
  background: var(--chat_background);
  color: var(--chat_text);
}
.chatroom-log {
  padding: 25px 10px 0;
  overflow: hidden;
  line-height: 18px;
}
.chatroom-log .avatar {
  width: 30px;
  height: 30px;
  overflow: hidden;
  float: left;
  border-radius: 4px;
  cursor: pointer;
}
.chatroom-log .avatar img {
  width: 30px;
  min-height: 30px;
}
.chatroom-log .time {
  width: 310px;
  margin-left: 13px;
  margin-bottom: 4px;
  float: left;
  color: #999;
}
.chatroom-log .time b {
  text-decoration: underline;
  font-weight: normal;
}
.chatroom-log .time b:hover {
  cursor: pointer;
  color: #666;
}
.chatroom-log .detail {
  max-width: 222px;
  float: left;
  padding: 5px 9px;
  position: relative;
  margin-left: 13px;
  background: var( --chat_output);
  border: 1px #ccc0 solid;
  border-radius: 5px;
  box-shadow: 0 3px 3px rgba(0,0,0,.05);
  word-break: break-word;
}
.chatroom-log .detail:before, .chatroom-log .detail:after {
  content: " ";
  display: inline-block;
  width: 0;
  height: 0;
  border-width: 7px;
  border-style: solid;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  vertical-align: top;
  top: 10px;
  position: absolute;
  border-top-color: rgba(0, 0, 0, 0);
  border-bottom-color: rgba(0, 0, 0, 0);
  border-left-color: rgba(0, 0, 0, 0);
}
.chatroom-log .detail:before {
  border-width: 4px;
  border-top-color: var(--chat_output);
  color: var(--chat_output);
  left: -8px;
}
.chatroom-log .detail:after {
  border-top-color: var(--chat_output);
  color: var(--chat_output);
  left: -6px;
  border-width: 3px;
  top: 11px;
}
.chatroom-log.myself {
}
.chatroom-log.myself .avatar {
  float: right;
}
.chatroom-log.myself .time {
  float: right;
  margin-left: 0;
  margin-right: 13px;
  text-align: right;
}
.chatroom-log.myself .detail {
  float: right;
  margin-left: 0;
  margin-right: 13px;
  background: var(--chat_input);
  border: 1px #b7d4ef solid;
}
.myself .detail:before, .myself .detail:after {
  border-top-color: rgba(0, 0, 0, 0);
  border-bottom-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(0, 0, 0, 0);
}
.chatroom-log.myself .detail:before {
  border-top-color: #b7d4ef;
  border-left-color: #b7d4ef;
  left: auto;
  right: -8px;
}
.chatroom-log.myself .detail:after {
  border-top-color: #d7ebfe;
  border-left-color: #d7ebfe;
  left: auto;
  right: -6px;
}
.chatroom-log-info {
  text-align: center;
  padding: 5px;
  color: #999;
}
.chatroom-rename {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
}
.chatroom-rename span {
  cursor: pointer;
  top: 50%;
  margin-top: -15px;
  position: absolute;
  left: 420px;
  background: #EEE;
  height: 30px;
  line-height: 30px;
  padding: 0 15px;
  border-radius: 2px;
  text-align: center;
}
.chatroom-rename span:hover {
  background: #ccc;
}
.chatroom-rename input {
  position: absolute;
  left: 150px;
  top: 50%;
  height: 30px;
  line-height: 30px;
  text-indent: 10px;
  border: none;
  width: 250px;
  border-radius: 3px;
  margin-top: -15px;
  outline: none;
}
.chatroom-rename label {
  position: absolute;
  top: 50%;
  margin-top: -15px;
  line-height: 30px;
  left: 70px;
  color: #FFF;
  font-size: 14px;
}
.chatroom-fold .chatroom-rename {
  display: none !important;
}
.chatroom-log-welcome {
  padding-left: 20px;
  padding-right: 20px;
}
.chatroom-log-welcome img {
  width: 28px;
  vertical-align: middle;
  margin: 0 2px;
  border-radius: 100%;
  cursor: pointer;
}
.chatroom-log-welcome strong {
  font-weight: normal;
  cursor:pointer;
  text-decoration: underline;
}
.chatroom-send-btn {
  position: relative;
  z-index: 0;
  float: right;
  width: 70px;
  height: 40px;
  /* background: #00ff8bd4; */
  text-align: center;
  line-height: 40px;
  top: px;
  font-size: 14px;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background: linear-gradient(to right, #79c0ffc9, #6e57d1c7, #63f19f91);
  background-size: 2000%;
  animation: gradientBackground 5s alternate ease-out;
  animation-iteration-count: infinite;
  color: aliceblue;
  border: none !important;
  border-width: 0 !important;
  border-color: transparent !important;
}
.chatroom-send-btn:hover {
  background: #CCC;
  transition: all 0.3s;
}

/* CSS 样式表中定义 '.clicked' 类的样式 */
.zone_clicked {
background-color: #ffff0005; /* 假设点击后背景颜色变为黄色 */
}



.spinner {
width: 15.4px;
height: 15.4px;
--clr: rgb(247, 197, 159);
--clr-alpha: rgb(247, 197, 159,.1);
animation: spinner 1.6s infinite ease;
transform-style: preserve-3d;
}

.spinner > div {
background-color: var(--clr-alpha);
height: 100%;
position: absolute;
width: 100%;
border: 3.5px solid var(--clr);
}

.spinner div:nth-of-type(1) {
transform: translateZ(-10.2px) rotateY(180deg);
}

.spinner div:nth-of-type(2) {
transform: rotateY(-270deg) translateX(50%);
transform-origin: top right;
}

.spinner div:nth-of-type(3) {
transform: rotateY(270deg) translateX(-50%);
transform-origin: center left;
}

.spinner div:nth-of-type(4) {
transform: rotateX(90deg) translateY(-50%);
transform-origin: top center;
}

.spinner div:nth-of-type(5) {
transform: rotateX(-90deg) translateY(50%);
transform-origin: bottom center;
}

.spinner div:nth-of-type(6) {
transform: translateZ(10.2px);
}

@keyframes spinner {
0% {
  transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
}

50% {
  transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
}

100% {
  transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
}
}

.input {
  color: var(--chat_text);
  font-size: 0.9rem;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
  padding-inline: 0.5em;
  padding-block: 0.7em;
  border: none;
  border-bottom: var(--border-height) solid var(--border-before-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-border {
  position: absolute;
  background: var(--border-after-color);
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  transition: width 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.input:focus {
  outline: none;
}

.input:focus + .input-border {
  width: 100%;
}

.form-control {
  position: relative;
  --width-of-input: 300px;
}

.input-alt {
  font-size: 1.2rem;
  padding-inline: 1em;
  padding-block: 0.8em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.input-border-alt {
  height: 3px;
  background: linear-gradient(90deg, #FF6464 0%, #FFBF59 50%, #47C9FF 100%);
  transition: width 0.4s cubic-bezier(0.42, 0, 0.58, 1.00);
}

.input-alt:focus + .input-border-alt {
  width: 79%;
}




header
{
	font-family: 'Lobster', cursive;
	text-align: center;
	font-size: 25px;	
}

#info
{
	font-size: 18px;
	color: #555;
	text-align: center;
	margin-bottom: 25px;
}

a{
	color: #074E8C;
}

.scrollbar
{
	margin-left: 30px;
	float: left;
	height: 300px;
	width: 65px;
	background: #F5F5F5;
	overflow-y: scroll;
	margin-bottom: 25px;
}

.force-overflow
{
	min-height: 450px;
}

#wrapper
{
	text-align: center;
	width: 500px;
	margin: auto;
}

/*
 *  STYLE 1
 */

::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar
{
	width: 12px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}
