* {
    margin: 0;
    padding: 0;
}
* {
	-webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
	-webkit-touch-callout: none;
}
input {
	line-height: normal;
	user-select: auto;
	-webkit-user-select: auto;
}

body {
	font-family: Arial, Helvetica, sans-serif;
    background-color: #333;
}
html {
	height: 100%;
	overflow: hidden;
}
#chatUl li {
	display:block;
}

.box {
    width: 100%;
    height: 100%;
}

/* .video-cont {
	position: fixed;
	width: 100%;
	height: 100%;
}
.video-cont video {
	width: 100%;
	height: 100%;
} */
.video-cont {
    position: fixed; /* 保持固定定位 */
    width: 100vw; /* 占满屏幕宽度 */
    height: 100vh; /* 占满屏幕高度 */
    top: 0;
    left: 0;
    overflow: hidden; /* 确保超出部分隐藏 */
}

.video-cont video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 居中对齐 */
    width: 100%; /* 视频宽度占满容器 */
    height: auto; /* 高度自适应 */
    object-fit: cover; /* 确保视频覆盖整个容器，可能裁剪 */
}

.cont {
    width: 100%;
    height: 100%;
    padding-top: 30px;
    position: fixed;
}

.box {
	overflow: hidden;
}

.title {
	float: left;
    overflow: hidden;
    height: 42px;
    display: inline-block;
    margin-left: 20px;
    background-color: rgb(0, 0, 0, 0.33);
    border-radius: 24px;
}

/* Player overlay */
.overlay {
	float: right;
	margin-right: 20px;
	width: 42px;
	height: 42px;
}

.overlay .icon {
  width: 24px;
  height: 24px;
  font-size: 16px;
  animation: scale 0.2s ease-in-out;
  transition: all 0.15s ease-in-out;
  filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.2));
}

.btn {
  display: flex;
  outline: none;
  appearance: none;
  cursor: pointer;
  border: 2px solid transparent;
  -webkit-appearance: none;
  background: transparent;
  position: absolute;
  border-radius: 2px;
}

.btn--icon {
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.btn:focus {
  border: 2px solid #fff;
}

.icon {
  fill: #fff;
}

.btn--mute .icon--volume_off {
  display: none;
}

.btn--unmute .icon--volume_up {
  display: none;
}

.title #left {
	float: left;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 6px 8px 6px 6px;
}
.title .middle {
	float: left;
	margin-right: 16px;
	margin-top: 6px;
}
.title .middle #liveTitle {
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 4px;
    font-weight: 400;
    text-align: center;
    max-width: 144px;
    color: rgb(255, 255, 255);
    letter-spacing: 0.5%;
}
.title .middle #streamer {
	font-size: 10px;
	line-height: 10px;
	color: #fff;
}

.title #right {
	float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 4px 2px 4px 0;
}

.bottom {
    width: 68%;
    height: 222px;
    font-size: 16px;
    position: fixed;
    bottom: 72px;
}
::-webkit-scrollbar {
	width: 0;
	display: none;
}
.chatroom {
	float: left;
    width: 100%;
    height: 100%;
    -webkit-mask-box-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.6) 15%,rgba(255,255,255,1) 100%);
    -webkit-mask-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.6) 15%,rgba(255,255,255,1) 100%);
    mask-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.6) 15%,rgba(255,255,255,1) 100%);
}

.clear{
	clear: both;
}

ul {
	display: flex;
	flex-direction: column;
	align-items: start;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}

ul li {	
	display: inline-block;
	background-color: rgb(0, 0, 0, 0.52);
    padding: 6px 12px 6px 10px;
    font-size: 14px;
    border-radius: 15px;    
    margin-left: 20px;
    margin-bottom: 6px;
    color: #fff;
	word-break: break-word; 
}

ul li:first-child {
	margin-top: auto;
}
.user span,.user1 span,.user2 span,.user3 span,.user0 span {
    color: rgb(206, 200, 200);
}

.chat {
	overflow: hidden;
    width: 100%;
    height: 42px;
    position: fixed;
    bottom: 30px;
}

.sendmsg {
	position: relative;
	float: left;
	width: 80%;
	height: 42px;
	margin-left: 20px;
	box-sizing: border-box;
}

.sendmsg>span {
	position: absolute;
	display: inline-block;
	width: 30px;
	height: 30px;
	top: 6px;
	right: 6px;
	border-radius: 50%;
	background-color: #fff;    
	background-image: url('../images/arrow.png');
	background-repeat: no-repeat;
	background-size: cover;
	filter: grayscale(60%) opacity(70%);
}

input[id="msg"]::-webkit-input-placeholder {
	color: #fff;
	font-size: 14px;
	opacity: 0.5;
}
input:focus::-webkit-input-placeholder {
	color: transparent;
}
.text {   
	width: 100%; 
    height: 42px;
    border-radius: 32px;
    background-color: rgb(0, 0, 0, 0.52);
    border: none;
    font-size: 14px;
    color: #fff;
    padding-left: 16px;
    padding-right: 50px;
    box-sizing: border-box;
    resize: none;
    outline: none;
}

.layer-shade {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(0,0,0);
	opacity: 0.3;
	z-index: 30000;
}
.layer-page {
	display: none;
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
	background-clip: content;
	-webkit-background-clip: content;
	border-radius: 2px;
	box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.3);
	z-index: 30001;
}
.layer-title {
	height: 32px;
	line-height: 32px;
	padding-left: 20px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
	color: #333;
	background-color: #F8F8F8;
	border-radius: 2px 2px 0 0;
}
.layer-content {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 20px;
}
.layer-input {
	width: 160px;
	height: 36px;
	margin-right: 10px;
	line-height: normal;
	font-size: 14px;
	padding-left: 10px;
	padding-right: 12px;
	border: 1px solid #E6E6E6;
	color: #333;
}
.layer-btn {
	width: 40px;
	height: 36px;
	text-align: center;
	line-height: 36px;
	padding: 0 6px;
	letter-spacing: 1px;
	border: 1px solid #1E9FFF;
	border-radius: 2px;
	color: #fff;
	background-color: #1E9FFF;
	cursor: pointer;
}
.layer-close {
	position: absolute;
	right: 15px;
	top: 10px;
}
.layer-icon {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	vertical-align: top;
	background: url("../images/close-icon.png") no-repeat;
}

.user0 span {
	color: rgb(237, 220, 103);
}
.user1 span {
	color: #AAD9ED;
}
.user2 span {
	color: rgb(154, 231, 118);
}
.user3 span {
	color: #FFCCCB;
}