/**
 * bin_* 活动后台公共样式（列表壳 + 编辑页 sticky / 折叠 / 预览布局）
 * 统一放在 web/resource/css，各插件 header.html / post.html 引用同一份
 * v=20261026
 *
 * rem 说明：不要在本文件对 html 或 .show-phone 设 font-size:37.5px。
 * rem 相对 html；字号设在预览框上会让框内文字按 37.5px 继承，按钮和文案会挤换行。
 */

/* ========== 基础 / flex 工具 ========== */
body {
	font-family: '微软雅黑', Arial, Helvetica, sans-serif;
	font-size: 14px !important;
	width: 100vw;
	height: 100vh;
	overflow-x: hidden;
}

#app{height: 100vh;}
.index-body#app {
	height: calc(100vh - 60px);
}
a,
a:hover {
	text-decoration: none;
	color: black;
}

.flex {
	display: flex;
}

.flex-1 {
	flex: 1;
}

.flex-align-center {
	align-items: center;
}

.flex-pack-center {
	justify-content: center;
}

.flex-pack-justify {
	justify-content: center;
}

.flex-column {
	flex-direction: column;
}

.flex-row {
	flex-direction: row;
}

[v-cloak] {
	display: none;
}

.show-none-data {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.show-page {
	display: flex;
	justify-content: flex-end;
	padding: 10px 20px;
}

.text-red {
	color: red;
}

/* ========== 顶栏 / 侧栏 / 列表主区 ========== */
.index-header {
	height: 60px;
	line-height: 60px;
	font-size: 16px;
	width: 100%;
	min-width: 1270px;
	border-bottom: solid 1px #dadada;
	box-shadow: 0 1px 6px rgb(0 0 0 / 10%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: white;
}

.index-header img {
	max-height: 50px;
	margin-left: 30px;
}

.index-header .index-header-nav {
	margin-right: 20px;
}

.index-header .index-header-nav a {
	font-size: 15px;
	margin: 0 20px;
}

.index-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 18px;
	height: 60px;
}

.index-header-actions .btn {
	height: 34px;
	padding: 0 18px;
	line-height: 34px;
	border-radius: 2px;
}

.index-header-close {
	width: 34px;
	height: 34px;
	border-radius: 2px;
	background: #2f6fed;
	color: #fff !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.index-header-close:hover {
	background: #1d5ad6;
	color: #fff !important;
}

.index-body {
	width: 100vw;
	height: calc(100% - 60px);
	display: flex;
	overflow: hidden;
}

.index-slider {
	width: 120px;
	/* height: 100%; */
	background: #fff;
	border-right: 1px solid #dadada;
	/* padding: 14px 0; */
	box-sizing: border-box;
	flex-shrink: 0;
}

.index-slider .slider-menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 14px;
}

.index-slider .slider-menu a {
	height: 60px;
	line-height: 60px;
	color: #7d7d7d;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	cursor: pointer;
	font-size: 15px;
}

.index-slider .slider-menu a.active {
	color: #4381fd;
	background-color: rgba(67, 129, 253, .06);
	border-left: solid 5px blue;
}

.index-slider .slider-menu a:hover {
	color: #4381fd;
}

/* 深色主侧栏（表单族等） */
.index-slider.slider-dark {
	width: auto;
	padding: 0;
}

.index-slider.slider-dark .slider-menu {
	width: 126px;
}

.index-slider.slider-dark .slider-menu a {
	height: 60px;
	line-height: 60px;
	color: #fff;
}

.index-slider.slider-dark .slider-menu a:hover {
	color: #fff;
}

.index-slider.slider-dark .slider-menu a.active {
	color: #fff;
	background-color: #2d8cf0;
	border-left: none;
}

/* 二级侧栏。列宽跟菜单走，不用主侧栏的 120px，否则选中条缩在列中间 */
.index-slider:has(> .slider-menu.slider-menu-second) {
	width: auto;
}
.index-slider .slider-menu.slider-menu-second {
	font-size: 12px;
	width: 100px;
}

.index-slider .slider-menu.slider-menu-second a {
	color: #515a6e;
	font-size: 13px;
	line-height: 17px;
	height: 44px;
}

.index-slider .slider-menu.slider-menu-second a:hover {
	color: #2d8cf0;
}

.index-slider .slider-menu.slider-menu-second a.active {
	border-left: none;
	color: #2d8cf0;
	background: #f0f3ff;
	font-weight: bold;
	border-right: solid 2px #2d8cf0;
}

/* 列表页主区 */
.index-main {
	flex: 1;
	width: auto;
	min-width: 0;
	padding: 20px;
	overflow-y: scroll;
	box-sizing: border-box;
	background: #f5f6f8;
}

/* 编辑页：含预览列时切到 flex 布局 */
.index-main:has(> .index-show) {
	display: flex;
	height: 100%;
	flex: 1;
	padding: 0;
	overflow: hidden;
	min-width: 0;
	background: #e9e9e9;
}

.header .tab .item {
	height: 40px;
	padding: 0 4px;
	margin-right: 42px;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;
}

.header .tab .item.checked::after {
	content: '';
	width: 100%;
	height: 3px;
	background-color: #4381fd;
	border-radius: 2px;
	position: absolute;
	left: 0;
	bottom: 0;
}

.recycleBtn:hover .icon-huodonghuishouzhan,
.tab .item.checked,
.tab .item:hover {
	color: #4381fd;
}

.card {
	margin-bottom: 32px;
	background-color: #fff;
	box-shadow: 0 1px 6px 0 rgb(0 0 0 / 10%);
	border-radius: 2px;
	position: relative;
	padding: 10px;
}

/* 列表壳。原先写在各插件 header 里，抽到公共文件时漏了 */
.examine-content > div {
	display: flex;
	padding: 20px;
	border-radius: 2px;
	height: 200px;
	background-color: white;
	width: 100%;
	box-sizing: border-box;
}
.examine-content .examine-header {
	height: auto;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
.examine-content .examine-body {
	flex-direction: column;
	height: auto;
}
.examine-content .examine-body table thead {
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	color: #262b30;
	box-sizing: border-box;
	text-align: left;
	border-bottom: solid 1px #f4f4f4;
	height: 50px;
}
.examine-content .examine-body .table > thead > tr > th,
.examine-content .examine-body .table > thead > tr > td,
.examine-content .examine-body .table > tbody > tr > th,
.examine-content .examine-body .table > tbody > tr > td,
.examine-content .examine-body .table > tfoot > tr > th,
.examine-content .examine-body .table > tfoot > tr > td {
	padding: 15px 8px;
}

.breadcrumb {
	display: flex;
	background: white;
	flex: 1;
	margin: 10px 0;
}

/* ========== 预览区（编辑页） ========== */
.index-main .index-show {
	flex-shrink: 0;
	padding-left: 0;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	background: #e9e9e9;
	display: flex;
	overflow-y: auto;
	overflow-x: visible;
	font-size: 14px;
	width: 30%;
    min-width: 579px;
    max-width: 520px;
}

.index-main .index-show .show-phone {
	margin: 50px 20px 0;
	width: 375px;
	height: 754px;
	background: #fff;
	flex-direction: column;
	box-shadow: 0 0 6px rgb(0 0 0 / 10%);
	flex-shrink: 0;
	position: relative;
	display: flex;
	box-sizing: border-box;
	overflow: hidden;
}

.index-main .index-show .show-phone .phone-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.index-main .index-show .show-phone .phone-body > .wrap {
	flex: 1 1 auto;
	height: auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

.index-main .index-show .show-phone .phone-title {
	flex: 0 0 64px;
	height: 64px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding-bottom: 6px;
	position: relative;
	z-index: 2;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	font-size: 14px;
}

.index-main .index-show .show-phone .phone-title .title-text {
	font-size: 18px;
	color: #000;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 200px;
	text-align: center;
	overflow: hidden;
}

.diy-header {
	display: flex;
	position: absolute;
	bottom: 0;
	right: 30px;
	font-size: 12px;
	background: #000000a6;
	color: white;
	border-radius: 2px;
	z-index: 6;
}

.diy-header > div {
	padding: 0 5px;
	margin: 2px 0;
	cursor: pointer;
}

.diy-header > div:first-child,
.diy-header > div:not(:last-child) {
	border-right: solid 1px white;
}

/* ========== 右侧设置面板基础 ========== */
.index-main .index-setting {
	flex: 1 1 0;
	min-width: 0;
	background: white;
	overflow-x: hidden;
	overflow-y: auto;
	position: relative;
}

.index-main .index-setting.setting-panel,
#setting-form .index-setting.setting-panel {
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

.nav-tabs {
	background: #f7f7f7;
	border-bottom: none;
}

.nav-tabs li {
	width: 200px;
	text-align: center;
	background: #f7f7f7;
}

.nav-tabs li.active {
	background: #fff;
}

.distance-span {
	width: 50px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.show-nav-title {
	border-bottom: solid 1px #eee;
	padding: 10px 20px;
	margin: 20px;
}

.lottery-head {
	background: #f5f7fa;
	box-sizing: border-box;
	border: 1px solid #e4e7ed;
	border-bottom: none;
	margin: 20px 0 0;
	border-radius: 4px 4px 0 0;
	padding: 14px 16px 12px;
	overflow: hidden;
	max-width: 100%;
}

.lottery-item {
	padding: 0 14px;
	cursor: pointer;
	color: #606266;
	font-size: 13px;
	line-height: 1.2;
	user-select: none;
}

.lottery-item.active {
	color: #409eff;
	font-weight: 600;
}

.lottery-item-span {
	width: 26px;
	height: 26px;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	color: #606266;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 3px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.lottery-item-span:hover {
	color: #409eff;
	border-color: #409eff;
	background: #ecf5ff;
}

.addon-flex {
	float: left;
	width: auto;
	height: 34px;
}

/* ========== 活动卡片列表（header-bin + display） ========== */
#wrap {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.flex-v {
	display: flex;
	flex-direction: column;
}

.index-main .list-item,
.list-item {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 20px;
	float: none !important;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}
@media (min-width: 1280px) {
	.index-main .list-item,
	.list-item {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (min-width: 1800px) {
	.index-main .list-item,
	.list-item {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.index-main .list-item > .card,
.index-main .list-item > .addActiceBtn,
.list-item .card,
.addActiceBtn.card {
	margin-bottom: 0;
	padding: 0;
	width: 100%;
	height: 250px;
	box-shadow: 0 1px 6px 0 rgb(0 0 0 / 10%);
	box-sizing: border-box;
}

.index-main .list-item > .item-content,
.index-main .list-item > .addActiceBtn,
.list-item .item-content,
.list-item .addActiceBtn {
	width: 100%;
	height: 250px;
}

.item-content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	box-sizing: border-box;
}

.item-content .item-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	height: 205px;
	padding: 10px;
	box-sizing: border-box;
	min-height: 0;
}

.item-content .item-header > div:first-child {
	width: 100%;
	min-width: 0;
}
.item-content .item-header h3 {
	width: 80%;
	max-width: 80%;
	margin: 5px 0;
	font-size: 18px;
	color: #000;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.item-content .item-header .item-header-item {
	margin: 0;
}

.item-content .item-header .item-header-item span {
	color: #b3b2b2;
}

.item-content .item-header .item-header-item i {
	margin-right: 5px;
}

.item-content .item-footer {
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 45px;
	background: #f9f9f9;
	padding: 10px;
	border-top: 1px solid #eee;
	border-radius: 2px;
	box-sizing: border-box;
}

.item-content .item-footer a:hover {
	color: #4381fd;
}

.item-content .item-footer i {
	padding: 5px;
}

.show-lottery-image {
	position: absolute;
	width: 20%;
	height: 135px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top;
	top: 45px;
	right: 20px;
}

.item-content .btn-copy-action {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	border: none;
	background: transparent;
	padding: 4px 8px;
	color: #999;
	box-shadow: none;
	transition: color 0.2s, font-size 0.2s ease;
}

.btn-copy-action:hover {
	color: #1572f6;
	font-size: 16px;
}

.add-btn {
	margin-bottom: 10px;
	cursor: pointer;
	font-size: 5em;
}

.show-more {
	position: absolute;
	display: flex;
	flex-direction: column;
	width: 100px;
	padding: 15px;
	right: -21px;
	bottom: 54px;
	background-color: #fff;
	border: 1px solid #dadada;
	border-radius: 2px;
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 15%);
	z-index: 10;
}

.show-more-content {
	display: flex;
	flex-direction: column;
}

.card-pagination {
	margin-top: 24px;
	padding-bottom: 48px;
	display: flex;
	justify-content: center;
}

/* 编辑态 chrome */
.editImage {
	background-color: rgba(0, 0, 0, .8);
	border: 1px solid #fff;
	border-radius: 2px;
	position: absolute;
	color: #000;
	margin: 2px;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	display: none;
	cursor: pointer;
	box-sizing: border-box;
	overflow: hidden;
}

/* 高于业务 ajaxModal（fileUploader prepend，同层时会被后开的弹窗盖住） */
#newUploaderImg.modal,
.uploader-modal.modal,
#material-Modal.modal {
	z-index: 10060 !important;
}
#newUploaderImg .modal-dialog,
.uploader-modal .modal-dialog,
#material-Modal .modal-dialog {
	z-index: 10061 !important;
	/* 宽高/overflow 还原见 bin-util-message.css 末尾「框架素材/图片选择器」 */
}

.editing > .editImage {
	display: flex;
	z-index: 2;
}

.editImage a {
	padding: 0;
	line-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.editImage span {
	color: white;
}

.editImage img {
	width: 12px;
	height: 12px;
}

/* 可编辑热区：悬停/选中用高对比描边，避免白虚线在浅色底上看不见 */
.editing {
	border: 2px dashed #409eff !important;
	box-sizing: border-box;
	cursor: pointer;
	box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.22);
}

#setting-form > .setting-sticky {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #f3f4f7;
}

#setting-form .edui-default,
#setting-form .edui-editor {
	position: relative;
	z-index: 1 !important;
}

#setting-form > .setting-sticky .setting-save {
	position: absolute;
	right: 40px;
	top: 14px;
	z-index: 5;
}

#setting-form .setting-sticky > .nav-tabs,
#setting-form > .setting-sticky > .nav-tabs {
	display: flex;
	align-items: stretch;
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	height: 60px;
	border: none !important;
	background: #f3f4f7;
}

#setting-form > .setting-sticky:has(.setting-save) > .nav-tabs {
	padding-right: 120px;
}

#setting-form .setting-sticky > .nav-tabs:before,
#setting-form .setting-sticky > .nav-tabs:after,
#setting-form > .setting-sticky > .nav-tabs:before,
#setting-form > .setting-sticky > .nav-tabs:after {
	display: none;
	content: none;
}

#setting-form .setting-sticky > .nav-tabs > li,
#setting-form > .setting-sticky > .nav-tabs > li {
	float: none;
	flex: 1 1 0;
	width: auto !important;
	max-width: none;
	margin: 0;
	text-align: center;
	background: transparent;
	border: none;
}

#setting-form .setting-sticky > .nav-tabs > li.active,
#setting-form > .setting-sticky > .nav-tabs > li.active {
	background: #fff;
}

#setting-form .setting-sticky > .nav-tabs > li:not(.active) + li:not(.active),
#setting-form > .setting-sticky > .nav-tabs > li:not(.active) + li:not(.active) {
	box-shadow: inset 1px 0 0 #e3e5ea;
}

#setting-form .setting-sticky > .nav-tabs > li > a,
#setting-form > .setting-sticky > .nav-tabs > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #8b9099;
	font-size: 15px;
	line-height: 48px;
	box-shadow: none;
}

#setting-form .setting-sticky > .nav-tabs > li > a:hover,
#setting-form .setting-sticky > .nav-tabs > li > a:focus,
#setting-form > .setting-sticky > .nav-tabs > li > a:hover,
#setting-form > .setting-sticky > .nav-tabs > li > a:focus {
	background: transparent !important;
	color: #2f6fed;
	border: none !important;
}

#setting-form .setting-sticky > .nav-tabs > li.active > a,
#setting-form .setting-sticky > .nav-tabs > li.active > a:hover,
#setting-form .setting-sticky > .nav-tabs > li.active > a:focus,
#setting-form > .setting-sticky > .nav-tabs > li.active > a,
#setting-form > .setting-sticky > .nav-tabs > li.active > a:hover,
#setting-form > .setting-sticky > .nav-tabs > li.active > a:focus {
	color: #2f6fed;
	font-weight: 500;
	background: transparent !important;
	border: none !important;
	box-shadow: inset 0 -2px 0 #2f6fed;
}

/* ---------- 区块折叠 ---------- */
#setting-form .section-fold {
	position: relative;
	margin: 15px  0px;
	padding: 0 90px 10px 0;
	border-bottom: 1px solid #dadada;
	color: #000;
	font-weight: 400;
	cursor: pointer;
	font-size: 15px;
}

#setting-form .section-fold .baseSeniorSet {
	position: absolute;
	right: 0;
	top: 0;
	color: #4381fd;
	font-weight: 400;
	font-size: 14px;
}

#setting-form .section-fold:hover .baseSeniorSet {
	color: #2566e9;
}

#setting-form .section-fold .baseSeniorSet span {
	display: inline-block;
	vertical-align: middle;
}

#setting-form .section-fold .roteteArrow {
	width: 0;
	height: 0;
	border-width: 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent #4381fd;
	margin: 0 0 2px 4px;
	transition: transform .3s;
}

#setting-form .section-fold:hover .roteteArrow {
	border-color: transparent transparent #2566e9;
}

#setting-form .section-fold .roteteArrow.rotate180 {
	transform: rotate(180deg);
}

.examine-body .section-fold {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 8px auto 20px;
	/* padding: 0 110px 0 0; */
	box-sizing: border-box;
}
.examine-body .section-fold .section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	padding-bottom: 10px;
	color: #000;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	cursor: pointer;
}
.examine-body .section-fold .section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	border-bottom: 1px solid #dadada;
}
.examine-body .section-fold .section-title i {
	color: #4381fd;
	font-size: 16px;
}
.examine-body .section-fold .fold-open,
.examine-body .section-fold.open .fold-shut {
	display: none;
}
.examine-body .section-fold.open .fold-open,
.examine-body .section-fold .fold-shut {
	display: inline-block;
}
.examine-body .section-fold.open .roteteArrow {
	transform: rotate(180deg);
}
.examine-body .section-fold .section-body {
	display: none;
	padding-top: 18px;
}
.examine-body .section-fold.open .section-body {
	display: block;
}

/* ---------- 表单内容区 ---------- */
#setting-form .tab-content,
.tab-content {
	padding: 20px 36px 20px;
	box-sizing: border-box;
	max-height: calc(100vh - 110px);
	overflow-y: auto;
}

#setting-form .tab-content .col-sm-10,
.tab-content .col-sm-10 {
	padding-right: 0;
}

.tab-content > .tab-pane {
	display: none;
}

.tab-content > .tab-pane.active {
	display: block;
}

[v-cloak] {
	display: none !important;
}

/* ---------- 通用滚动条 / 弹层 / 预览辅助 ---------- */
::-webkit-scrollbar {
	width: 2px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #888;
}

::-webkit-scrollbar-thumb:hover {
	background: #555;
}

#myModal,
.modal {
	z-index: 1041;
}

#myModal {
	z-index: 1039;
}

/* 弹窗定位 / toast / 灰头皮肤：见 bin-util-message.css */

#myModal .modal-dialog {
	width: 600px;
	max-width: 92vw;
}

/* 后台内容弹窗统一宽度（审核/详情/评论等列表页弹层） */
.modal-dialog.bin-modal-dialog,
.bin-modal-dialog.modal-dialog {
	width: 800px;
	max-width: 92vw;
	min-width: 0 !important;
}
.modal-dialog.bin-modal-dialog.bin-modal-sm,
.bin-modal-dialog.bin-modal-sm {
	width: 480px;
}
/* 具体限高放在弹窗皮肤之后，避免被 .modal-dialog .modal-body{overflow:visible} 盖掉 */
/* 无数据空态：保证弹窗不会压成一条细条 */
.bin-modal-dialog .bin-modal-empty,
.bin-modal-dialog .au-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	margin: 0;
	padding: 24px 16px;
	color: #909399;
	font-size: 14px;
	text-align: center;
	box-sizing: border-box;
}

#myModal .modal-body {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: calc(100vh - 180px);
}

#myModal .modal-body img {
	max-width: 200px;
	max-height: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* .bin-modal-dialog：大内容弹窗真正视口居中 + 限高（皮肤仍用 bin-util-message） */
.modal-dialog.bin-modal-dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	margin: 0;
}
.modal.in:not(.modal-success):not(.modal-error):not(.modal-info):not(.modal-warning):not(.modal-danger) .modal-dialog.bin-modal-dialog,
.modal.fade:not(.modal-success):not(.modal-error):not(.modal-info):not(.modal-warning):not(.modal-danger) .modal-dialog.bin-modal-dialog {
	transform: translate(-50%, -50%);
	margin: 0;
}
.modal-dialog.bin-modal-dialog .modal-content,
.bin-modal-dialog.modal-dialog .modal-content {
	max-height: calc(100vh - 48px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.modal-dialog.bin-modal-dialog .modal-header,
.modal-dialog.bin-modal-dialog .modal-footer {
	flex-shrink: 0;
}
.modal-dialog.bin-modal-dialog .modal-body,
.bin-modal-dialog.modal-dialog .modal-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: none;
}

.active-header {
	z-index: 1000;
}

.tech-content {
	display: flex;
	width: 100%;
	position: absolute;
	bottom: 15px;
	left: 0;
	right: 0;
	justify-content: center;
	z-index: 2;
}

.index-main .index-show .show-phone .phone-title .title-text {
	width: 75%;
	overflow: hidden;
}

.index-main .index-setting:not(.cert-design-page) {
	width: auto;
	min-width: 0;
	min-height: 0;
	flex: 1 1 auto;
}

.index-setting:not(.cert-design-page) img {
	max-width: 200px;
	max-height: 200px;
}

.phone-body-has-footer .phone-scroll,
.phone-scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	position: relative;
	width: 100%;
}

.wrap {
	min-height: 700px;
	width: 100%;
	overflow: visible;
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
}

.flex-wrap {
	flex-wrap: wrap;
}

/* ---------- 折叠标题（兼容 underLineWay） ---------- */
.underLineWay {
	padding-bottom: 10px;
	margin: 20px 0 30px;
	border-bottom: 1px #dadada solid;
	color: #000;
}
.underLineWay.flex-pack-justify {
	justify-content: flex-start;
}

.underLineWay .tipsColor {
	font-weight: 400;
	margin-left: 12px;
}

.seniorSetBoxOption {
	cursor: pointer;
	position: relative;
}

.transiton300ms {
	-webkit-transition: .3s all;
	transition: .3s all;
}

.underLineWay .baseSeniorSet {
	color: #4381fd;
}

.underLineWay:hover .baseSeniorSet {
	color: #2566e9;
}

.baseSeniorSet {
	position: absolute;
	right: 11px;
	top: 5px;
	cursor: pointer;
}

.baseSeniorSet span {
	display: inline-block;
	vertical-align: middle;
}

.baseSeniorSet .roteteArrow {
	width: 0;
	height: 0;
	border-width: 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent #4381fd;
	position: relative;
	margin-top: 2px;
}

.underLineWay:hover .baseSeniorSet .roteteArrow {
	border-color: transparent transparent #2566e9;
}

.baseSeniorSet .roteteArrow.rotate180 {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

#setting-form .underLineWay,
#setting-form .underLineWay .fontWeight {
	font-weight: 400;
}

/* ---------- 设置表单通用 ---------- */
.form-horizontal .control-label {
	font-weight: 500;
	color: #333;
	padding-top: 8px;
	font-size: 14px;
}

.form-horizontal .control-label > .btn {
	margin-right: 10px;
}

.form-horizontal .form-group {
	margin-bottom: 10px;
	margin-left: 0;
	margin-right: 0;
}

.index-setting .form-horizontal .radio-inline,
.index-setting .form-horizontal .radio-inline + .radio-inline {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 12px;
	line-height: 20px;
	vertical-align: middle;
	font-weight: normal;
	cursor: pointer;
	padding-left: 0;
}

.index-setting .form-horizontal .radio-inline input[type=radio] {
	margin: 0;
	flex-shrink: 0;
	position: relative;
	top: 0;
}

.index-setting .form-horizontal .checkbox-inline,
.index-setting .form-horizontal .checkbox-inline + .checkbox-inline {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 12px;
	line-height: 20px;
	vertical-align: middle;
	font-weight: normal;
	cursor: pointer;
	white-space: nowrap;
	padding-left: 0;
}

.index-setting .form-horizontal .checkbox-inline input[type=checkbox] {
	margin: 0;
	flex-shrink: 0;
	position: relative;
	top: 0;
}

.index-setting .form-horizontal .col-sm-10.flex:not(.flex-column) {
	align-items: center;
	flex-wrap: wrap;
	min-height: 34px;
}

.index-setting .form-horizontal .col-sm-10.flex.flex-column {
	align-items: flex-start;
	flex-wrap: nowrap;
}

.index-setting .form-horizontal .col-sm-10.flex.flex-column > .flex {
	width: auto;
	max-width: 100%;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

.index-setting .form-horizontal .col-sm-10.flex.flex-column .form-control {
	flex: 0 0 auto;
	width: auto;
}

.index-setting .form-horizontal .col-sm-10.flex .radio-inline {
	margin-top: 0;
}

.index-setting .form-horizontal .form-group:has(.col-sm-10.flex) > .control-label {
	padding-top: 0;
	line-height: 34px;
	margin-bottom: 0;
}

.help-block {
	font-size: 12px;
	color: #909399;
	margin-top: 4px;
}

/* input,
button,
select,
textarea {
	border-radius: 2px !important;
} */

/* ---------- 奖项头/体（多插件共用） ---------- */
.lottery-body {
	background: #fff;
	border: 1px solid #e4e7ed;
	border-radius: 0 0 4px 4px;
	margin: 0 0 20px;
	padding: 20px 16px 12px; /* 与上方选项卡拉开间距，避免贴死 */
	box-sizing: border-box;
}

.lottery-body > .form-group:first-child,
.lottery-body > .row.form-group:first-child {
	margin-top: 0;
}

/*
 * 奖项 tabs：左侧单行横滑，右侧 +/- 固定；选项卡统一卡片样式（不再贴底衔接）
 */
.lottery-head > .flex,
.lottery-head-row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) max-content;
	align-items: center;
	column-gap: 10px;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box;
}

.lottery-head > .flex > .flex.flex-1,
.lottery-head-tabs {
	grid-column: 1;
	min-width: 0 !important;
	width: auto !important;
	max-width: 100%;
	display: flex !important;
	flex: none !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 8px;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	padding: 2px 2px 4px;
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: transparent transparent;
}

.lottery-head > .flex > .flex.flex-1:hover,
.lottery-head-tabs:hover {
	scrollbar-color: rgba(144, 147, 153, 0.4) transparent;
}

.lottery-head > .flex > .flex.flex-pack-center,
.lottery-head > .flex > .flex.flex-align-center,
.lottery-head-ops {
	grid-column: 2;
	display: flex !important;
	flex: none !important;
	flex-shrink: 0 !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: auto !important;
	min-width: 64px;
	margin: 0;
	box-sizing: border-box;
}

.lottery-head .lottery-item {
	flex: 0 0 auto !important;
	min-width: 76px;
	max-width: 132px;
	height: 32px;
	padding: 0 14px;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-sizing: border-box;
	border: 1px solid #dcdfe6;
	border-radius: 4px;
	background: #fff;
	color: #606266;
	font-size: 13px;
	font-weight: 400;
	transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.lottery-head .lottery-item:hover {
	color: #409eff;
	border-color: #c6e2ff;
	background: #ecf5ff;
}

.lottery-head .lottery-item.active {
	color: #409eff;
	font-weight: 600;
	background: #ecf5ff;
	border-color: #409eff;
	margin: 0;
	position: static;
	z-index: auto;
	box-shadow: none;
}

.lottery-head > .flex > .flex.flex-1::-webkit-scrollbar,
.lottery-head-tabs::-webkit-scrollbar {
	height: 3px;
}

.lottery-head > .flex > .flex.flex-1::-webkit-scrollbar-thumb,
.lottery-head-tabs::-webkit-scrollbar-thumb {
	border-radius: 2px;
	background-color: transparent;
}

.lottery-head > .flex > .flex.flex-1:hover::-webkit-scrollbar-thumb,
.lottery-head-tabs:hover::-webkit-scrollbar-thumb {
	background-color: rgba(144, 147, 153, 0.4);
}

.lottery-head > .flex > .flex.flex-1::-webkit-scrollbar-track,
.lottery-head-tabs::-webkit-scrollbar-track {
	background: transparent;
}

/* ---------- 通用 tooltip ---------- */
.tooltip-container {
	position: relative;
	display: inline-block;
}

.tooltip-trigger {
	transition: color 0.3s ease;
}

.tooltip-trigger:hover {
	color: #0056b3 !important;
}

.tooltip-content {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%) translateY(-100%);
	background: #fff;
	color: #000;
	padding: 10px 15px;
	border-radius: 2px;
	font-size: 13px;
	line-height: 1.4;
	width: 350px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 10000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	text-align: left;
}

.tooltip-content::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 40%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #fff;
}

.tooltip-container:hover .tooltip-content {
	opacity: 1;
	visibility: visible;
	transform: translateX(-40%) translateY(-100%);
}

.tooltip-content p {
	margin: 0;
	white-space: normal;
	word-wrap: break-word;
}

.bind-btn {
	cursor: pointer;
	font-size: 14px;
	color: rgb(158, 158, 158);
	margin-left: 5px;
}

/* ========== 后台列表页（au-*，与投票插件一致） ========== */
[v-cloak] { display: none; }

.au-page { padding: 0 4px 24px; }
.au-card {
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	overflow: hidden;
	border: 1px solid #eef0f4;
}
.au-card:has(.au-table):not(:has(.au-table-wrap)) {
	overflow-x: auto;
}
.au-card:has(> .au-table-wrap) {
	overflow: visible;
}
.au-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	padding: 16px 20px;
	/* border-bottom: 1px solid #f0f2f5; */
	background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}
.au-toolbar .form-inline {
	margin: 0 0 0 auto;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.au-toolbar .form-group { margin: 0; }
.au-toolbar .form-control {
	height: 34px;
	border-radius: 2px;
	border-color: #dcdfe6;
	box-shadow: none;
}
.au-toolbar .kw { min-width: 200px; }
.au-toolbar-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex-wrap: wrap;
}
.au-toolbar-actions .form-inline {
	margin-left: 0;
}

/* ---------- 列表页搜索框 / 回收站入口（活动列表通用） ----------
 * 使用说明见 doc/活动发布与回收站规范.md
 * .au-search        搜索框（回车或点放大镜触发）
 * .au-recycle-btn   活动回收站入口
 */
.au-search {
	display: inline-flex;
	align-items: center;
	margin: 0;
	height: 34px;
	padding: 0 4px 0 12px;
	border: 1px solid #d9d9d9;
	border-radius: 2px;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .2s;
	vertical-align: middle;
}
.au-search:focus-within { border-color: #4381fd; }
.au-search input {
	width: 180px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #262626;
	font-size: 13px;
	line-height: 30px;
	box-shadow: none;
}
.au-search input::placeholder { color: #bfbfbf; }
.au-search input:-webkit-autofill,
.au-search input:-webkit-autofill:hover,
.au-search input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	box-shadow: 0 0 0 1000px #fff inset;
	-webkit-text-fill-color: #262626;
	transition: background-color 99999s ease-in-out 0s;
}
.au-search .btn-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	color: #8c8c8c;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
}
.au-search .btn-search:hover { color: #4381fd; text-decoration: none; }

.au-recycle-btn {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border: 1px solid #b5bac4;
	border-radius: 2px;
	background: #fff;
	color:#000;
	font-size: 13px;
	line-height: 1;
	white-space: nowrap;
	box-sizing: border-box;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
}
.au-recycle-btn:hover,
.au-recycle-btn:focus {
	border-color: #4381fd;
	color: #4381fd;
	text-decoration: none;
}
.au-recycle-btn a {
	color: inherit;
	text-decoration: none;
	line-height: 1;
}
.au-recycle-btn a:hover { color: inherit; text-decoration: none; }
.au-recycle-btn > .fa,
.au-recycle-btn > i {
	margin-right: 6px;
	font-size: 14px;
	line-height: 1;
}

/* 活动列表页顶部：状态 Tab + 右侧搜索/回收站 */
.display-header {
	position: relative;
	width: 100%;
	margin-bottom: 32px;
	justify-content: flex-start;
}
.display-header .tab {
	justify-content: flex-start;
}
.display-header .header-actions {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

.au-toolbar .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	margin: 0;
	padding: 0 14px;
	line-height: 1;
	border-radius: 2px;
	box-sizing: border-box;
	vertical-align: middle;
	white-space: nowrap;
}
.au-toolbar .btn .fa {
	font-size: 12px;
	line-height: 1;
	margin: 0;
}
.btn.btn-default.daterange{
	border-color: #e8e9eb;
}
/* btn-default：边框更清晰；hover/active 同 au-recycle-btn（蓝框蓝字） */
.btn.btn-default {
	border-color: #b5bac4;
	background: #fff;
	color: #303133;
}
.btn.btn-default:hover,
.btn.btn-default:focus,
.btn.btn-default:active,
.btn.btn-default.active {
	border-color: #4381fd;
	color: #4381fd;
	background: #fff;
	outline: none;
	box-shadow: none;
}
/*
 * input-group 拼接搜索按钮：微擎 .search-form 有 border-left:0，
 * 若沿用上方蓝框 hover 会只剩上/右/下三边，看起来像「一半颜色」。
 * 这里保持拼接灰边，hover 只变图标/文字色。
 */
.input-group-btn .btn.btn-default,
.input-group-btn .btn.btn-default:hover,
.input-group-btn .btn.btn-default:focus,
.input-group-btn .btn.btn-default:active,
.input-group-btn .btn.btn-default.active {
	border-color: #e8e9eb;
}
.input-group-btn .btn.btn-default:hover,
.input-group-btn .btn.btn-default:focus,
.input-group-btn .btn.btn-default:active,
.input-group-btn .btn.btn-default.active {
	color: #4381fd;
	background: #fff;
}
.au-toolbar-btns {
	display: flex;
	align-items: center;
	gap: 8px;
}
.au-toolbar select.form-control { width: 140px; }
.au-toolbar select.form-control.w200 { width: 200px; }
.table.au-table {
	margin: 0;
	width: max-content;
	min-width: 100%;
}
.au-table > thead > tr > td,
.au-table > thead > tr > th {
	background: #f7f8fa;
	color: #606266;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	border-bottom: 1px solid #ebeef5;
	vertical-align: middle;
	white-space: nowrap;
	padding: 12px 10px 12px 30px;
}
.au-table > tbody > tr > td {
	vertical-align: middle;
	padding: 14px 10px 14px 30px;
	border-top: 1px solid #f0f2f5;
	color: #303133;
	font-size: 13px;
	white-space: nowrap;
}
.au-table > tbody > tr:hover { background: #f9fafc; }
.au-table-wrap {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}
.au-table-wrap::-webkit-scrollbar { height: 8px; }
.au-table-wrap::-webkit-scrollbar-thumb { background: #c0c4cc; border-radius: 2px; }
.au-table-wrap::-webkit-scrollbar-track { background: #f5f7fa; }
.table.au-table.au-table-sticky > thead > tr > td:last-child,
.table.au-table.au-table-sticky > thead > tr > th:last-child,
.table.au-table.au-table-sticky > tbody > tr > td:last-child {
	position: sticky;
	right: 0;
	z-index: 2;
	background: #fff;
	box-shadow: -8px 0 8px -8px rgba(0, 0, 0, .18);
	width: 1%;
	white-space: nowrap;
	text-align: right;
}
.table.au-table.au-table-sticky > thead > tr > td:last-child,
.table.au-table.au-table-sticky > thead > tr > th:last-child {
	z-index: 3;
	background: #f7f8fa;
}
.table.au-table.au-table-sticky > tbody > tr:hover > td:last-child { background: #f9fafc; }
.table.au-table.au-table-sticky td:last-child[colspan],
.table.au-table.au-table-sticky th:last-child[colspan] {
	position: static;
	box-shadow: none;
}
.au-time2 {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.35;
	vertical-align: middle;
	white-space: nowrap;
}
.au-time2 .d { font-size: 13px; color: #303133; font-variant-numeric: tabular-nums; }
.au-time2 .t { font-size: 12px; color: #909399; font-variant-numeric: tabular-nums; }
.au-el {
	display: inline-block;
	max-width: 160px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
	font-family: Menlo, Consolas, monospace;
	font-size: 12px;
}
.au-el.au-el-text { font-family: inherit; font-size: 13px; }
/* 表单/活动名称列：比普通单元格大一号 */
.au-table .au-name .au-el.au-el-text,
.au-table .au-name-text {
	font-size: 15px;
	font-weight: 600;
	color: #303133;
}
.au-el.w90 { max-width: 90px; }
.au-el.w120 { max-width: 120px; }
.au-el.w160 { max-width: 160px; }
.au-el.w200 { max-width: 200px; }
.au-el.w220 { max-width: 220px; }
.au-el.w260 { max-width: 260px; }
.au-el.w320 { max-width: 320px; }
.au-copy { cursor: pointer; }
.au-clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	width: 220px;
	white-space: normal;
	word-break: break-all;
	line-height: 1.5;
	vertical-align: middle;
}
.au-clamp.w90 { width: 90px; }
.au-clamp.w120 { width: 120px; }
.au-clamp.w160 { width: 160px; }
.au-clamp.w200 { width: 200px; }
.au-clamp.w220 { width: 220px; }
.au-clamp.w260 { width: 260px; }
.au-clamp.w320 { width: 320px; }
.au-clamp.au-clamp-1 { -webkit-line-clamp: 1; }
.au-clamp.au-clamp-3 { -webkit-line-clamp: 3; }
.au-clamp.is-expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
.au-expand { cursor: pointer; }
.au-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	line-height: 1.5;
}
.au-cell .v { color: #303133; font-size: 13px; }
.au-cell .k { color: #909399; font-size: 12px; }
.au-status-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.au-sub { font-size: 12px; color: #909399; line-height: 1.5; }
.au-badge {
	display: inline-block;
	min-width: 22px;
	padding: 0 6px;
	border-radius: 2px;
	background: #ecf5ff;
	color: #409eff;
	font-size: 12px;
	font-weight: 600;
	line-height: 20px;
}
.au-page .user-info {
	justify-content: center;
	align-items: center;
}
.prize-cell {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 1%;
	white-space: nowrap;
}
.prize-cell img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	flex: none;
	border-radius: 2px;
}
.prize-cell-text {
	flex: none;
	line-height: 1.6;
	font-size: 14px;
	white-space: nowrap;
}
.au-user {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 72px;
}
.au-user.au-user-row {
	flex-direction: row;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.au-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	background: #eef0f4;
	border: 1px solid #ebeef5;
	flex-shrink: 0;
}
.au-user-row .au-avatar { width: 40px; height: 40px; }
.au-nick {
	font-weight: 600;
	color: #303133;
	font-size: 12px;
	text-align: center;
	line-height: 1.3;
	max-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.au-user-row .au-nick { font-size: 13px; max-width: none; text-align: left; }
.au-meta { font-size: 13px; line-height: 1.7; color: #606266; word-break: break-all; }
.au-meta .k { color: #909399; margin-right: 4px; }
.au-link { color: #409eff; text-decoration: none; }
.au-link:hover { text-decoration: underline; }
.au-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 2px;
	font-size: 12px;
	line-height: 1.4;
	margin: 2px 0;
}
.au-status.on { background: #f0f9eb; color: #67c23a; }
.au-status.wait { background: #fdf6ec; color: #e6a23c; }
.au-status.off { background: #fef0f0; color: #f56c6c; }
.au-status.info { background: #ecf5ff; color: #409eff; }
.au-status.muted { background: #f4f4f5; color: #909399; }
.au-time { font-size: 12px; color: #909399; line-height: 1.5; white-space: nowrap; }
.au-money { font-size: 15px; font-weight: 600; color: #f56c6c; }
.au-num { font-size: 15px; font-weight: 600; color: #409eff; }
.au-error { font-size: 12px; color: #f56c6c; line-height: 1.5; max-width: 180px; word-break: break-all; }
.au-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.au-table .au-actions { flex-wrap: nowrap; justify-content: flex-end; }
.au-actions .btn { padding: 4px 10px; font-size: 12px; line-height: 1.5; }
.au-empty { padding: 56px 20px; text-align: center; color: #909399; font-size: 14px; }
.au-empty i { font-size: 36px; color: #dcdfe6; display: block; margin-bottom: 12px; }
.au-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 20px;
	border-top: 1px solid #f0f2f5;
	color: #909399;
	font-size: 13px;
	background: #fafbfd;
	flex-wrap: wrap;
}
.au-footer .pagination { margin: 0; }
.au-footer > :last-child {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
}
.au-footer > :last-child > span {
	white-space: nowrap;
}
.au-top {
	background: #fff;
	border-radius: 2px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
	border: 1px solid #eef0f4;
	margin-bottom: 16px;
	overflow: hidden;
}
.au-top-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 16px 20px;
	border-bottom: 1px solid #f0f2f5;
}
.au-crumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: #909399;
	background: transparent;
	border: 0;
}
.au-crumb > li { display: inline-flex; align-items: center; gap: 6px; }
.au-crumb > li + li:before { content: '/'; color: #c0c4cc; margin-right: 2px; }
.au-crumb a { color: #409eff; text-decoration: none; }
.au-crumb .active { color: #303133; font-weight: 600; }
.au-toolbar .au-title { font-size: 14px; color: #606266; font-weight: 600; }
/* 带缩略图的名称单元格：活动/作品等列表通用 */
.au-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.au-thumb {
	width: 44px;
	height: 44px;
	border-radius: 2px;
	object-fit: cover;
	background: #eef0f4;
	border: 1px solid #ebeef5;
	flex: none;
	display: block;
}
.au-name-text {
	max-width: 360px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	color: #303133;
	line-height: 1.5;
}
.index-main .card-hr{
	padding:0 15px;
}
.au-code { font-size: 13px; color: #606266; }
.au-tabs {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 16px 12px;
	margin: 0;
	list-style: none;
	border: 0;
	background: #fff;
	overflow-x: auto;
}
.au-tabs > li { float: none; margin: 0; width: auto; background: transparent; text-align: left; }
.au-tabs > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	margin: 0;
	border: 0 !important;
	border-radius: 2px !important;
	color: #606266;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}
.au-tabs > li > a:hover { background: #f5f7fa; color: #409eff; }
.au-tabs > li.active > a,
.au-tabs > li.active > a:hover,
.au-tabs > li.active > a:focus {
	background: #ecf5ff;
	color: #409eff;
	font-weight: 600;
	border: 0 !important;
	box-shadow: none;
}
.au-form-wrap { padding: 8px 20px 28px; }
.au-form-wrap .form-horizontal .form-group {
	margin-left: 0;
	margin-right: 0;
	padding: 12px 0;
	border-bottom: 1px dashed #f0f2f5;
}
.au-form-wrap .form-horizontal .form-group:last-child { border-bottom: 0; }
.au-form-wrap .control-label { color: #606266; font-weight: 500; padding-top: 8px; }
.au-form-wrap .form-control { border-radius: 2px; border-color: #dcdfe6; box-shadow: none; }
.au-form-wrap .form-control:focus { border-color: #409eff; }
.au-form-wrap .help-block { color: #909399; font-size: 12px; margin-top: 6px; }
.au-form-wrap .btn-primary:not(.btn-sm) { border-radius: 2px; padding: 8px 24px; }
.au-section {
	margin: 18px 0 8px;
	padding: 10px 14px;
	background: #f7f8fa;
	border-radius: 2px;
	color: #303133;
	font-size: 14px;
	font-weight: 600;
	border-left: 3px solid #409eff;
}
.card-hr {
	margin: 18px 0 8px;
	padding: 10px 14px;
	background: #f7f8fa;
	border-radius: 2px;
	color: #303133;
	font-size: 14px;
	font-weight: 600;
	border-left: 3px solid #409eff;
}

/* ========== 答题手机预览（answer / diy / break 共用） ========== */
.draggable {
	position: absolute;
	display: inline-block;
	border: solid 2px #0000ff00;
}
.wrap .editing,
.has-editing {
	box-sizing: border-box;
}
.has-editing {
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.has-editing:hover {
	border: 2px dashed #409eff;
	box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.18);
}
.draggable:hover {
	border: 2px dashed #409eff;
	box-sizing: border-box;
	box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.18);
}
.wrap div.ui-resizable-handle {
	background-size: initial;
	background-position: initial;
	background-repeat: initial;
}
.wrap div.ui-icon-gripsmall-diagonal-se {
	background-position: -64px -224px;
}
.answer-desc {
	display: flex;
	flex-direction: column;
	padding: 0.5rem;
	border-radius: 2px;
	background-color: white;
	margin: 0.5rem;
	margin-top: 1rem;
}
.answer-desc .answer-desc-name {
	font-size: 16px;
	font-weight: bolder;
}
.answer-desc .answer-desc-item {
	margin: 0.2rem 0;
}
.answer-desc .answer-desc-item .answer-desc-title {
	margin-bottom: 0.2rem;
	font-weight: bold;
}
.answer-desc .answer-reward {
	margin: 0.2rem 0;
	display: flex;
	background-color: blue;
	padding: 0.3rem;
	border-radius: 2px;
	justify-content: space-between;
	align-items: center;
	color: white;
}
.answer-desc .answer-reward .answer-reward-right a {
	color: white;
}
.question-header {
	display: flex;
	padding: 0.5rem;
}
.question-header-l {
	display: flex;
	flex: 1;
	align-items: center;
}
.question-header-l img {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	margin-right: 0.1rem;
}
.question-header-l span {
	font-size: 20px;
	font-weight: bolder;
	color: black;
}
.question-header-m {
	flex: 3;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-size: 20px;
}
.question-header-m-text {
	color: black;
}
.question-header-m-num {
	font-size: 0.5rem;
	font-weight: bolder;
	color: black;
}
.question-header-r {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.question_num {
	padding: 0.5rem;
	text-align: center;
	font-size: 16px;
}
.question_title {
	padding: 0.5rem 1rem;
	font-size: 16px;
}
.question_content {
	padding: 0.5rem 1rem;
}
.question_content .question-content-item {
	padding: 0.5rem;
	background: white;
	margin: 0.4rem 0;
	border-radius: 2px;
}
#answer-result .result-image {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}
#answer-result .result-image img {
	width: 6rem;
	z-index: 2;
}
.wrap .result-image .result-bgLight {
	width: 8rem;
	height: 8rem;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: absolute;
	border-radius: 50%;
	top: 0;
	animation: bgRotate 6s linear infinite;
	margin: auto;
}
@keyframes bgRotate {
	from { transform: rotate(0); }
	to { transform: rotate(360deg); }
}
#answer-result .result-score {
	font-size: 0.8rem;
	text-align: center;
	margin: 0.3rem;
}
#answer-result .result-time {
	font-size: 0.5rem;
	text-align: center;
	margin: 0.3rem;
}
#answer-result .result-btn-item {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0.3rem;
}
#answer-result .result-btn {
	width: 4rem;
	padding: 0.2rem;
	border-radius: 2px;
	display: flex;
	align-items: center;
	margin: 0.2rem;
	justify-content: center;
}
.progress {
	margin: 0.5rem auto;
	width: 90%;
	border: solid 2px white;
	border-radius: 2px;
	background: none;
	box-sizing: border-box;
	height: 25px;
}
.show-themes {
	position: absolute;
	right: 25px;
	top: 1rem;
	width: 40px;
	height: 40px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}
.show-themes .show-icon {
	width: 26px;
	height: 26px;
	background-repeat: no-repeat;
	background-position: -44px 0;
}
.show-themes .show-tip {
	display: none;
	position: absolute;
	width: 60px;
	top: -20px;
	background: black;
	color: white;
	font-size: 12px;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	line-height: 20px;
}
.show-themes:hover .show-tip {
	display: flex;
}
.index-theme .theme-header {
	display: flex;
	align-items: center;
	font-size: 16px;
	color: gray;
}
.index-theme .theme-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 20px;
	overflow-y: scroll;
	grid-gap: 10px 10px;
}
.index-theme .theme-content .theme-content-item .theme-title {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}
.index-theme .theme-content .theme-content-item .theme-content-item-img {
	position: relative;
	max-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.index-theme .theme-content .theme-content-item .theme-content-item-img img {
	width: 100%;
	height: 400px;
}
.index-theme .theme-content .theme-content-item .theme-content-item-img .theme-content-bg {
	display: none;
}
.index-theme .theme-content .theme-content-item.show-theme .theme-content-item-img .theme-content-bg,
.index-theme .theme-content .theme-content-item .theme-content-item-img:hover .theme-content-bg {
	position: absolute;
	width: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffffb5;
	border: solid 2px blue;
	box-sizing: border-box;
	flex-direction: column;
}
.btn-get-reward {
	padding: 1px 10px;
	background: red;
	border-radius: 2px;
	color: white;
}
.theme-header-left {
	display: flex;
	align-items: center;
	flex: 1;
}
.ranking-button {
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background-color: #f44336;
	color: white;
	text-align: center;
	text-decoration: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 12px;
	border: none;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
	transform: translateY(-50%);
	z-index: 2;
	animation: float 3s ease-in-out infinite;
}
@keyframes float {
	0% { transform: translateY(-50%) translateY(0); }
	50% { transform: translateY(-50%) translateY(-10px); }
	100% { transform: translateY(-50%) translateY(0); }
}

.daterangepicker.show-calendar{
	min-width: 680px;
}
/* 
.daterangepicker{
	min-width: 680px;
} */


/* ==================== 投诉禁用标记 + 悬浮提示 ==================== */
.item-badge-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 5px 0;
}
.item-badge-row > .label {
	width: auto;
	margin: 0;
}
.bin-complaint-tag {
	position: relative;
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 4px;
	height: 22px;
	min-height: 22px;
	padding: 0 8px;
	border: 1px solid #f3c3bd;
	border-radius: 0;
	background: #fdecea;
	color: #d9363e;
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	white-space: nowrap;
	word-break: normal;
	vertical-align: middle;
	cursor: help;
	user-select: none;
	-webkit-user-select: none;
	transition: background .15s ease;
}
.bin-complaint-tag:hover,
.bin-complaint-tag:focus-within {
	background: #fbe0dc;
	z-index: 12;
}
.bin-complaint-tag > i {
	font-size: 12px;
}
.bin-complaint-tag-pop {
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 1050;
	width: 268px;
	padding-top: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	pointer-events: none;
}
.bin-complaint-tag:hover .bin-complaint-tag-pop,
.bin-complaint-tag:focus-within .bin-complaint-tag-pop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.bin-complaint-tag-card {
	position: relative;
	display: block;
	padding: 10px 12px;
	border-radius: 2px;
	background: rgba(38, 42, 48, .96);
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.7;
	text-align: left;
	white-space: normal;
	word-break: break-all;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.bin-complaint-tag-card::before {
	content: '';
	position: absolute;
	left: 14px;
	top: -4px;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: rgba(38, 42, 48, .96);
	transform: rotate(45deg);
}
.bin-complaint-tag-row {
	display: block;
}
.bin-complaint-tag-row + .bin-complaint-tag-row {
	margin-top: 4px;
}
.bin-complaint-tag-row.is-muted {
	color: rgba(255, 255, 255, .55);
	font-size: 11px;
}
.bin-complaint-tag-reason {
	color: #ffc9c4;
}
/* 带投诉标记的卡片允许气泡溢出，避免窄卡片把提示裁掉 */
.item-content.has-complaint-tag {
	overflow: visible;
}
.item-content.has-complaint-tag:hover {
	z-index: 20;
}

/* 富文本展示容器：限制粘贴脏样式撑破布局（配合 BinHtmlClean / safe_rich_html） */
.bin-rich-html {
	overflow: hidden;
	word-break: break-word;
	max-width: 100%;
}
.bin-rich-html img {
	max-width: 100% !important;
	height: auto !important;
}
.bin-rich-html table {
	max-width: 100% !important;
	width: auto !important;
}
.bin-rich-html * {
	max-width: 100%;
}

/* 兑换码生成弹窗 */
.ex-creat-dialog {
	width: 440px;
	margin: 40px auto;
}
.ex-creat-dialog .ex-creat-content {
	border: none;
	border-radius: 10px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
	overflow: hidden;
}
.ex-creat-dialog .ex-creat-body {
	padding: 28px 28px 22px;
	width: auto !important;
	margin: 0 !important;
}
.ex-creat-title {
	margin: 0 0 20px;
	padding: 0;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: #1f2937;
	letter-spacing: 0.02em;
}
.ex-creat-body .form-group {
	margin-left: 0;
	margin-right: 0;
}
.ex-creat-field {
	margin-bottom: 14px;
}
.ex-creat-field > label:not([for]),
.ex-creat-field > .ex-creat-label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
	line-height: 22px;
}
.ex-creat-field:has(> .ex-creat-opts) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
}
.ex-creat-field:has(> .ex-creat-opts) > label:not([for]),
.ex-creat-field:has(> .ex-creat-opts) > .ex-creat-label {
	flex: 0 0 96px;
	width: 96px;
	margin: 0;
	white-space: nowrap;
}
.ex-creat-field #qianzhui {
	flex: 1 1 100%;
	width: 100%;
	margin: 0;
}
.ex-creat-body .input-group.m-b {
	margin-bottom: 4px;
}
.ex-creat-body > .row1 > .col-sm-13 > label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
}
/* 选项同一基线；圆点位置对齐文字，不破坏 v3 自定义外观 */
.ex-creat-opts {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 4px;
	min-height: 22px;
	line-height: 22px;
}
.ex-creat-opts .checkbox-inline,
.ex-creat-opts .radio-inline {
	display: inline-block !important;
	position: relative !important;
	margin: 0 16px 0 0 !important;
	padding: 0 0 0 24px !important;
	height: 22px !important;
	line-height: 22px !important;
	vertical-align: middle;
	color: #666;
}
.ex-creat-opts .checkbox-inline input[type=checkbox],
.ex-creat-opts .radio-inline input[type=radio] {
	position: absolute !important;
	left: 0 !important;
	top: 3px !important;
	margin: 0 !important;
	width: 16px !important;
	height: 16px !important;
}
.ex-creat-msg {
	display: block;
	min-height: 20px;
	margin: 4px 0 14px;
	font-size: 13px;
	color: #ef4444;
	line-height: 1.5;
}
.ex-creat-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	padding-top: 6px;
	border-top: 1px solid #f1f5f9;
	margin-top: 4px;
}
.ex-creat-footer .btn {
	min-width: 88px;
	border-radius: 6px;
	padding: 7px 16px;
}
.ex-creat-done {
	text-align: center;
	padding: 12px 4px 4px;
}
.ex-creat-done-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 100%);
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.18);
	animation: ex-creat-pop 0.35s ease-out;
}
.ex-creat-done-title {
	margin: 0 0 8px;
	padding: 0;
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	line-height: 1.3;
}
.ex-creat-done-desc {
	margin: 0 0 20px;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.6;
}
.ex-creat-down {
	display: block;
	margin-bottom: 18px;
}
.ex-creat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 168px;
	padding: 10px 22px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}
.ex-creat-btn-primary {
	background: #059669;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
}
.ex-creat-btn-primary:hover,
.ex-creat-btn-primary:focus {
	background: #047857;
	color: #fff !important;
}
.ex-creat-tip {
	margin: 0 auto 18px;
	padding: 12px 14px;
	max-width: 320px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 12px;
	color: #64748b;
	line-height: 1.7;
	text-align: left;
}
.ex-creat-tip strong {
	display: block;
	margin-bottom: 2px;
	color: #475569;
	font-weight: 600;
}
.ex-creat-del {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	min-height: 36px;
}
.ex-creat-btn-danger {
	min-width: 0;
	padding: 7px 14px;
	background: #fff;
	border-color: #fecaca;
	color: #dc2626 !important;
}
.ex-creat-btn-danger:hover,
.ex-creat-btn-danger:focus {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #b91c1c !important;
}
.ex-creat-btn-ghost {
	min-width: 0;
	padding: 7px 14px;
	background: #fff;
	border-color: #e5e7eb;
	color: #4b5563 !important;
}
.ex-creat-btn-ghost:hover,
.ex-creat-btn-ghost:focus {
	background: #f9fafb;
	border-color: #d1d5db;
	color: #111827 !important;
}
.ex-creat-ok-msg {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 8px;
	background: #ecfdf5;
	color: #047857;
	font-size: 13px;
}
@keyframes ex-creat-pop {
	from { transform: scale(0.72); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

