/* 手机端澳门六合彩开奖视频 */
.macau-video-page {
	margin-top: 1.1rem;
	background: #fff;
}

/* 港彩同款舞台：整图 bg，中间窗口 waiting_live，底部叠提示 */
.macau-video-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 984 / 628;
	background: #2a0a4a url('../../SixColor_animate/img/bg.fw.png') center top / 100% 100% no-repeat;
	overflow: hidden;
}

/* 消除笔：盖住底图左上角 LOGO / 六合彩汇 / 网址 */
.macau-video-stage::before {
	content: "";
	position: absolute;
	left: 2.8%;
	top: 2.2%;
	width: 20.5%;
	height: 13.5%;
	z-index: 7;
	pointer-events: none;
	background:
		radial-gradient(ellipse 120% 100% at 30% 40%, rgba(102, 28, 112, 0.98) 0%, rgba(88, 20, 98, 0.96) 55%, rgba(78, 16, 90, 0) 100%),
		linear-gradient(135deg, #5f1566 0%, #641a6c 45%, #55105e 100%);
	border-radius: 0.08rem;
}

.macau-video-player-wrap {
	position: absolute;
	left: 6.6%;
	top: 16.8%;
	width: 64.6%;
	height: 57%;
	border: 0.03rem solid #fff;
	border-radius: 0.04rem;
	box-sizing: border-box;
	background: #111;
	overflow: hidden;
}

.macau-video-player-wrap video,
.macau-live-flv-box {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	display: block;
	object-fit: contain;
	z-index: 2;
}

.macau-live-flv-box {
	overflow: hidden;
	z-index: 2;
}

.macau-live-flv-box.is-playing,
.macau-live-flv-box[style*='z-index: 12'],
.macau-live-flv-box[style*='z-index:12'] {
	z-index: 12 !important;
}

.macau-live-flv-box > .jessibuca-container,
.macau-live-flv-box > div {
	width: 100% !important;
	height: 100% !important;
}

.macau-live-flv-box canvas,
.macau-live-flv-box video {
	max-width: 100% !important;
	max-height: 100% !important;
}

.macau-video-placeholder {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
	padding: 0;
	background: #111 url('../../SixColor_animate/img/waiting_live.jpg') center center / 100% 100% no-repeat;
}

.macau-video-placeholder.hidden {
	display: none;
}

.macau-stage-btns {
	position: absolute;
	inset: 0;
	z-index: 6;
	pointer-events: none;
}

.macau-stage-btns .macau-sbtn {
	position: absolute;
	display: block;
	box-sizing: border-box;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	pointer-events: auto;
}

.macau-stage-btns #macauBtnSound {
	top: 18.3%;
	right: 8.3%;
	width: 4.2%;
	height: 6.6%;
	border-radius: 50%;
	background: url('../../../SixColor_animate/img/sheny1.png') center center / contain no-repeat;
}
.macau-stage-btns #macauBtnSound.on {
	background-image: url('../../../SixColor_animate/img/sheny0.png');
}
.macau-stage-btns #macauBtnSound.off {
	background-image: url('../../../SixColor_animate/img/sheny1.png');
}

.macau-stage-btns #macauBtnLive {
	top: 27.2%;
	right: 2.2%;
	width: 16.2%;
	height: 8.5%;
	border-radius: 999px;
}

.macau-stage-btns #macauBtnTry {
	top: 40%;
	right: 2.2%;
	width: 16.2%;
	height: 8.5%;
	border-radius: 999px;
}

.macau-stage-btns #macauBtnHistory {
	top: 52.7%;
	right: 5.3%;
	width: 10%;
	height: 6%;
	border-radius: 0.08rem;
}

.macau-stage-btns #macauBtnTrend {
	top: 63.4%;
	right: 5.3%;
	width: 10%;
	height: 6%;
	border-radius: 0.08rem;
}

.macau-try-luck {
	position: absolute;
	inset: 0;
	z-index: 4;
	background: #000;
	box-sizing: border-box;
}

.macau-try-iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.macau-video-wait-info {
	position: absolute;
	left: 12%;
	top: auto;
	bottom: 4.5%;
	width: 50%;
	min-height: 0;
	height: auto;
	max-height: none;
	z-index: 10;
	box-sizing: border-box;
	padding: 0.04rem 0.1rem 0.05rem;
	text-align: center;
	color: #fff;
	font-size: 0.08rem;
	line-height: 1.2;
	background: #4a1c78;
	border-radius: 0.2rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.2);
	overflow: visible;
}

.macau-video-wait-info.try-date {
	display: flex;
	align-items: center;
	justify-content: space-between;
	left: 16.2%;
	top: 79.3%;
	bottom: auto;
	width: 40.7%;
	height: 7.2%;
	max-height: none;
	min-height: 0;
	padding: 0 0.22rem;
	font-size: 0.12rem;
	line-height: 1.2;
	white-space: nowrap;
	background: transparent;
	border: 0;
	box-shadow: none;
	overflow: visible;
}

.macau-video-wait-info.try-date #macauVideoTip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 0.1rem;
}

.macau-video-wait-info.try-date .macau-date-text,
.macau-video-wait-info.try-date .macau-issue-text {
	color: #fff;
	font-weight: 600;
}

.macau-video-wait-info p {
	margin: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.macau-video-wait-info strong {
	font-weight: 700;
	color: #ffe58f;
}

.macau-video-nextlive {
	margin-top: 0 !important;
	color: #fff;
	font-size: 0.08rem;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
	white-space: nowrap;
}

.macau-video-refresh {
	display: block;
	width: fit-content;
	margin: 0.03rem auto 0;
	padding: 0.02rem 0.12rem;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 0.12rem;
	font-size: 0.08rem;
	text-align: center;
	line-height: 1.25;
}

.macau-video-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.1rem 0.15rem;
	background: #fafafa;
	border-bottom: 1px solid #e8e8e8;
	font-size: 0.12rem;
	color: #666;
}

.macau-video-meta .line-name {
	color: #1a9b4b;
}

.macau-video-mute {
	border: 0;
	background: transparent;
	font-size: 0.2rem;
	padding: 0;
}

.macau-video-result {
	padding: 0.12rem 0.15rem 0.18rem;
	border-top: 2px solid #1a9b4b;
}

.macau-video-result-hd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.06rem;
	font-size: 0.13rem;
	margin-bottom: 0.1rem;
}

.macau-video-result-hd .issue {
	color: #1a9b4b;
	font-weight: 600;
}

.macau-video-result-hd .countdown {
	color: #f8223c;
}

.macau-video-result-hd .history-link {
	color: #1a9b4b;
}

.macau-video-balls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 0.04rem;
}

.macau-video-balls .ball-item {
	text-align: center;
	width: 0.42rem;
}

.macau-video-balls .ball {
	width: 0.36rem;
	height: 0.36rem;
	line-height: 0.36rem;
	border-radius: 50%;
	color: #fff;
	font-size: 0.14rem;
	font-weight: 600;
	margin: 0 auto;
	display: block;
}

.macau-video-balls .ball.red {
	background: #f8223c;
}

.macau-video-balls .ball.green {
	background: #1fc26b;
}

.macau-video-balls .ball.blue {
	background: #0093e8;
}

.macau-video-balls .ball.plus {
	background: transparent;
	color: #333;
	font-size: 0.18rem;
	line-height: 0.36rem;
	width: auto;
}

.macau-video-balls .attr {
	font-size: 0.1rem;
	color: #666;
	margin-top: 0.02rem;
	line-height: 1.2;
	display: block;
}

.macau-video-result-ft {
	margin-top: 0.1rem;
	text-align: center;
	font-size: 0.12rem;
	color: #f8223c;
}
