@charset "utf-8";
/* CSS Document */
* {
	margin: 0;
	padding: 0;
	margin: 0px 0px 0px 0px;
}
body {
	overflow-x: hidden;
}
.barrage-container {
    position: fixed; /* 修改为fixed定位，以覆盖整个页面 */
    top: 0;
    left: 0;
    width: 100%;
	z-index:99999999;
    height: 100%;
    pointer-events: none; /* 防止弹幕阻挡页面上的其他交互 */
}

.barrage-item {
    position: absolute;
    white-space: nowrap;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    /* 弹幕滚动动画将通过JavaScript控制 */
}

.barrage-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

#input-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    display: flex;
    z-index: 1000; /* 确保输入框在弹幕之上 */
}

#input-container input {
    flex: 1;
    font-size: 16px;
    padding: 5px;
    margin-right: 10px;
}

#send-button {
    padding: 5px 10px;
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
	
