/**
 * crown 盘口列表底：时区+时钟+相关信息（随内容滚动，对齐正网）
 */

html.crown-zw-root .crown-sport-list-footer {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: none !important;
	margin: 0;
	padding: 0 0 16px;
	background: transparent;
}

/* 联赛页 .box_filter>div { flex:1 1 auto } 会把底部块撑满，相关信息被顶到视口上方 */
html.crown-zw-root .box_filter > .crown-sport-list-footer {
	flex: none !important;
	align-self: stretch;
	min-height: 0;
}

html.crown-zw-root .crown-sport-list-footer .notice_text {
	position: static !important;
	left: auto !important;
	bottom: auto !important;
	width: 100%;
	margin: 0;
	padding: 16px 16px 0;
	flex: none !important;
	align-self: stretch;
}

html.crown-zw-root .crown-sport-list-footer .notice_text span {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 75px;
	padding: 16px 8px;
	border-radius: 4px;
	color: var(--comm_tx);
	border: 1px dashed var(--game_oddBtn_bd);
	background: var(--game_oddBtn_bg);
	box-sizing: border-box;
}

html.crown-zw-root .crown-sport-list-footer .notice_text tt {
	display: block;
	line-height: 14px;
	font-size: 12px;
	text-align: center;
}

html.crown-zw-root .crown-sport-list-footer .notice_text #footer_time {
	display: block;
	margin: 8px 0 0;
	line-height: 21px;
	font-size: 16px;
	font-weight: 700;
	color: var(--comm_tx_ac);
	letter-spacing: 0.02em;
}

html.crown-zw-root .crown-sport-list-footer .div_space {
	height: 16px;
	flex: none;
}

/* 覆盖 new_sport.css：.loading_on ~ .box_relating { display:none } */
html.crown-zw-root .crown-sport-list-footer .crown-footer-relating,
html.crown-zw-root .crown-sport-list-footer .box_relating,
html.crown-zw-root #body_show .crown-sport-list-footer .crown-footer-relating {
	display: block !important;
	visibility: visible !important;
	width: calc(100% - 32px);
	height: auto;
	min-height: 24px;
	line-height: 24px;
	margin: 0 16px 32px;
	padding: 8px 0;
	flex: none;
	cursor: pointer;
	box-sizing: border-box;
}

html.crown-zw-root .crown-sport-list-footer .title_relating {
	font-size: 14px;
	color: #047ef6;
	text-align: center;
}

html.crown-zw-root .crown-sport-list-footer .title_relating:hover {
	color: #0366c7;
}

@media screen and (min-width: 1024px) {
	html.crown-zw-root .crown-sport-list-footer .notice_text {
		padding: 16px 16px 0;
	}

	html.crown-zw-root .crown-sport-list-footer .div_space {
		height: 16px;
	}
}

/* 相关信息弹窗（对齐正网：居中 modal，覆盖 new_sport .popup_game{bottom:0}） */
html.crown-zw-root .crown-relating-msg-popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	width: auto;
	height: auto;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	z-index: 120;
	pointer-events: none;
}

html.crown-zw-root .crown-relating-msg-popup.on {
	display: flex;
	pointer-events: auto;
}

html.crown-zw-root .crown-relating-msg-popup .mask_popup {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	height: auto;
	opacity: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

html.crown-zw-root .crown-relating-msg-popup.on .mask_popup {
	opacity: 1;
	pointer-events: auto;
}

html.crown-zw-root .crown-relating-msg-popup #info_pop.popup_game {
	overflow: hidden;
	position: relative;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: flex;
	flex: none;
	flex-direction: column;
	width: calc(100% - 32px);
	min-width: 288px;
	max-width: 640px;
	height: auto;
	max-height: calc(100% - 32px);
	margin: 0;
	border-radius: 8px;
	z-index: 2;
	background: transparent;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	pointer-events: auto;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.96) translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

html.crown-zw-root .crown-relating-msg-popup #info_pop.popup_game.on {
	opacity: 1;
	visibility: visible;
	transform: scale(1) translateY(0) !important;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

html.crown-zw-root .crown-relating-msg-popup #info_pop .popup_title {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	line-height: 16px;
	padding: 4px 0;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	background-color: var(--popup_head_bg, #1e2841);
	color: var(--popup_head_tx, #ffffff);
}

html.crown-zw-root .crown-relating-msg-popup #info_pop .popup_title span {
	display: block;
	width: 100%;
	margin-left: 16px;
	padding-right: 48px;
	text-align: left;
	text-transform: none;
}

/* 对齐正网 popup_qe44b41：.popup_content + .popup_game .popup_content */
html.crown-zw-root .crown-relating-msg-popup #info_pop .popup_content {
	box-sizing: border-box;
	width: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	margin: 0 !important;
	margin-bottom: 0 !important;
	padding: 16px !important;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 16px;
	color: var(--comm_tx, #ffffff);
	background-color: var(--popup_content_bg, #34446e);
}

html.crown-zw-root .crown-relating-msg-popup #info_pop .popup_content #info_msg {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 16px;
	color: var(--comm_tx, #ffffff);
	text-align: left;
	word-break: break-word;
}

/* 正网：48px 点击区，内嵌约 16px 关闭图标（覆盖 new_sport .icon_close 32px） */
html.crown-zw-root .crown-relating-msg-popup #info_pop .btn_close {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	margin: 0;
	flex: none;
	cursor: pointer;
	background: transparent;
}

html.crown-zw-root .crown-relating-msg-popup #info_pop .btn_close .icon_close,
html.crown-zw-root .crown-relating-msg-popup #info_pop .btn_close i {
	display: block;
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none;
	opacity: 1;
}

html.crown-zw-root .crown-relating-msg-popup #info_pop .btn_close svg {
	display: block;
	width: 16px !important;
	height: 16px !important;
	fill: var(--popup_close_tx, #75829b);
	transition: fill 0.2s linear;
}

html.crown-zw-root .crown-relating-msg-popup #info_pop .btn_close:hover svg {
	fill: var(--popup_close_tx_hv, #ffffff);
}

html.crown-zw-root.crown-relating-open {
	overflow: hidden;
}

@media screen and (min-width: 1024px) {
	/* 遮罩与弹窗仅覆盖左侧盘口区（右侧推广栏不遮） */
	html.crown-zw-root .crown-relating-msg-popup {
		right: 33.333%;
	}
}
