@media screen and (max-width: 900px) {
	.reply_box .mac_msg_l{
		float:none;
		width:100%;
	}
	.reply_box .mac_msg_r{
		float:none;
		width:96%;
		margin-left:2%;
	}
	.reply_box .mac_msg_l .msg_list{
		width:80%;
	}
	.reply_box .mac_msg_r .submit_btn{
		width:100%;
		border-radius:3px;
	}
}

@media (min-width: 700px) and (max-width: 900px) {
	.reply_box .mac_msg_l .msg_list{
		float:right;
		width:88%;
	}
}

@media (min-width: 500px) and (max-width: 700px) {
	.reply_box .mac_msg_l .msg_list{
		float:right;
		width:85%;
	}
}

@media screen and (max-width: 500px) {
	.reply_box .mac_msg_l .msg_list{
		float:right;
	}
}

/* ===== 全局基础修复 ===== */
html,
body{
	margin:0;
	padding:0;
	width:100%;
	max-width:100%;
	background:#000;
}

body{
	padding-bottom:60px;
	-webkit-text-size-adjust:100%;
}

*,
*::before,
*::after{
	box-sizing:border-box;
}

img{
	max-width:100%;
	height:auto;
	display:block;
}

a{
	text-decoration:none;
}

/* ===== 主容器全宽 ===== */
#app,
.el-container,
.el-container.is-vertical,
.el-header,
.el-main,
.el-footer,
.home,
.page,
.maxWidth,
.container{
	width:100% !important;
	max-width:100% !important;
	margin:0 !important;
	box-sizing:border-box;
}

/* ===== 去掉默认内边距 ===== */
#app,
.el-container,
.el-container.is-vertical,
.home,
.page,
.maxWidth,
.container{
	padding-left:0 !important;
	padding-right:0 !important;
}

.el-main{
	padding:0 !important;
}

.page{
	padding:0 !important;
	margin:0 !important;
}

.container{
	padding-left:0 !important;
	padding-right:0 !important;
}

/* ===== 常见内容区域防超出 ===== */
.el-row,
.el-col,
.el-card,
.el-form,
.el-form-item,
.el-tabs,
.el-tab-pane,
.el-table,
.el-table__body-wrapper,
.el-table__header-wrapper,
.el-dialog,
.el-dialog__body,
.el-drawer,
.el-drawer__body,
.van-tabbar,
.van-tabbar-item,
.van-cell,
.van-cell-group,
.van-list,
.van-grid,
.van-grid-item,
.van-grid-item__content{
	max-width:100%;
	box-sizing:border-box;
}

/* ===== 防止长内容撑爆 ===== */
.el-input,
.el-input__inner,
.el-textarea,
.el-textarea__inner,
.el-select,
.el-select .el-input,
.el-date-editor,
.el-cascader,
.el-button,
.van-field,
.van-search,
.van-dropdown-menu{
	max-width:100%;
	box-sizing:border-box;
}

.el-input__inner,
.el-textarea__inner{
	min-width:0;
}

/* ===== 表格区域允许滚动 ===== */
.el-table,
.table-wrap,
.table-responsive{
	width:100%;
	max-width:100%;
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
}

.el-table__body-wrapper,
.el-table__header-wrapper{
	overflow-x:auto !important;
}

/* ===== 文本自动换行 ===== */
pre,
code,
p,
span,
div,
td,
th{
	word-wrap:break-word;
	word-break:break-word;
}

/* ===== 底部导航占位 ===== */
.van-tabbar__placeholder{
	height:60px;
}

/* ===== 底部导航 ===== */
#mobileTabbar{
	position:fixed;
	left:0;
	right:0;
	bottom:0;
	width:100%;
	height:60px;
	display:flex;
	align-items:center;
	background:#111;
	border-top:1px solid rgba(255,255,255,.08);
	z-index:99999;
}

#mobileTabbar .van-tabbar-item{
	flex:1;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	color:#999;
	font-size:14px;
	text-decoration:none;
	padding-top:6px;
	padding-bottom:6px;
	min-width:0;
}

#mobileTabbar .van-tabbar-item--active{
	color:#ff9800 !important;
}

#mobileTabbar .van-tabbar-item__icon{
	display:flex;
	align-items:center;
	justify-content:center;
}

#mobileTabbar .tabbar_item__img{
	width:22px;
	height:22px;
	margin-bottom:4px;
	display:block;
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center;
	flex-shrink:0;
}

#mobileTabbar .van-tabbar-item__text{
	line-height:1;
	font-size:12px;
	white-space:nowrap;
}

@keyframes glowPulse{
	0%{
		filter:drop-shadow(0 0 3px #ff9800);
	}
	50%{
		filter:drop-shadow(0 0 12px #ff9800);
	}
	100%{
		filter:drop-shadow(0 0 3px #ff9800);
	}
}

#mobileTabbar .van-tabbar-item--active .tabbar_item__img{
	animation:glowPulse 1.5s infinite;
}

/* ===== 手机端修复 ===== */
@media screen and (max-width: 768px){

	html,
	body{
		width:100% !important;
		max-width:100% !important;
		margin:0 !important;
		padding:0 !important;
		overflow-x:hidden !important;
		background:#000 !important;
	}

	#app,
	.el-container,
	.el-container.is-vertical,
	.el-header,
	.el-main,
	.el-footer,
	.home,
	.page,
	.maxWidth,
	.container{
		width:100% !important;
		max-width:100% !important;
		margin:0 !important;
		padding-left:0 !important;
		padding-right:0 !important;
		box-sizing:border-box !important;
	}

	.el-main,
	.page,
	.container{
		padding:0 !important;
	}

	.flex,
	.row,
	.toolbar,
	.header-right,
	.header-left,
	.search-wrap,
	.search-bar,
	.filter-bar,
	.filter-wrap,
	.btn-group,
	.action-bar,
	.top-bar,
	.form-row,
	.nav-row{
		display:flex !important;
		flex-wrap:wrap !important;
		width:100% !important;
		max-width:100% !important;
		gap:8px;
	}

	.el-form{
		width:100% !important;
	}

	.el-form-item{
		display:block !important;
		width:100% !important;
		margin-right:0 !important;
		margin-bottom:10px !important;
	}

	.el-form-item__label{
		display:block !important;
		float:none !important;
		width:100% !important;
		text-align:left !important;
		padding:0 0 6px 0 !important;
		line-height:1.5 !important;
	}

	.el-form-item__content{
		margin-left:0 !important;
		width:100% !important;
		display:block !important;
	}

	.el-input,
	.el-input-number,
	.el-select,
	.el-cascader,
	.el-date-editor,
	.el-autocomplete,
	.el-textarea,
	.el-button-group,
	.van-field,
	.van-search,
	.van-dropdown-menu{
		width:100% !important;
		max-width:100% !important;
	}

	.el-input__inner,
	.el-textarea__inner,
	.el-select .el-input__inner,
	.el-date-editor.el-input,
	.el-date-editor.el-input__inner,
	.van-field__control{
		width:100% !important;
		max-width:100% !important;
	}

	.el-button{
		max-width:100% !important;
		white-space:normal !important;
	}

	.el-button + .el-button{
		margin-left:0 !important;
	}

	.el-select-dropdown{
		max-width:100vw;
	}

	.el-table{
		display:block;
		width:100% !important;
		max-width:100% !important;
		overflow-x:auto !important;
		-webkit-overflow-scrolling:touch;
	}

	.el-table table{
		min-width:600px;
	}

	.el-card,
	.el-dialog,
	.el-drawer{
		max-width:100% !important;
	}

	.el-dialog{
		width:94% !important;
		margin:5vh auto 0 !important;
	}

	ul,
	ol,
	li{
		max-width:100%;
	}

	img,
	video,
	iframe{
		max-width:100% !important;
		height:auto !important;
	}

	[style*="width: 1200px"],
	[style*="width:1200px"],
	[style*="width: 1000px"],
	[style*="width:1000px"],
	[style*="width: 960px"],
	[style*="width:960px"],
	[style*="min-width: 1200px"],
	[style*="min-width:1200px"],
	[style*="min-width: 1000px"],
	[style*="min-width:1000px"]{
		width:100% !important;
		max-width:100% !important;
		min-width:0 !important;
	}

	.search-bar > *,
	.filter-bar > *,
	.filter-wrap > *,
	.toolbar > *,
	.form-row > *,
	.action-bar > *{
		flex:1 1 100% !important;
		width:100% !important;
		max-width:100% !important;
		min-width:0 !important;
	}

	.van-tabbar-item,
	.el-col,
	.el-menu-item,
	.el-submenu,
	.el-dropdown,
	.el-dropdown-link{
		min-width:0 !important;
	}

	.page{
		padding-top:0 !important;
		margin-top:0 !important;
	}

	body{
		padding-bottom:60px !important;
	}
}

/* ===== 更小屏幕进一步压缩 ===== */
@media screen and (max-width: 480px){

	#mobileTabbar{
		height:56px;
	}

	.van-tabbar__placeholder{
		height:56px;
	}

	body{
		padding-bottom:56px !important;
	}

	#mobileTabbar .tabbar_item__img{
		width:20px;
		height:20px;
		margin-bottom:3px;
	}

	#mobileTabbar .van-tabbar-item__text{
		font-size:11px;
	}

	.el-dialog{
		width:96% !important;
	}

	.el-table table{
		min-width:520px;
	}
}

/* ===== 广告最终稳定版（手机 + 电脑通用）===== */
.ads-final{
	width:100% !important;
	padding:6px 8px !important;
	box-sizing:border-box !important;
	background:#000 !important;
	overflow:visible !important;
}

.ads-final a{
	display:block !important;
	width:100% !important;
	margin-bottom:6px !important;
	overflow:visible !important;
}

.ads-final a:last-child{
	margin-bottom:0 !important;
}

.ads-final img{
	display:block !important;
	width:100% !important;
	height:auto !important;
	max-width:100% !important;
	object-fit:contain !important;
	border-radius:4px !important;
}