.wcsu-wrap { box-sizing: border-box; margin: 32px 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.wcsu-wrap * { box-sizing: border-box; }

.wcsu-action {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 48px; /* 两种状态统一高度 */
}

.wcsu-state {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.wcsu-btn {
	display: inline-block;
	padding: 10px 32px;
	background: #07c160;
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s, transform .1s;
	box-shadow: 0 4px 14px rgba(7,193,96,.25);
	white-space: nowrap;
}
.wcsu-btn:hover { background: #06ad56; transform: translateY(-1px); }
.wcsu-btn:active { transform: translateY(0); }

.wcsu-btn-edit { padding: 8px 24px; font-size: 14px; background: #fff; color: #07c160; border: 1px solid #07c160; box-shadow: none; }
.wcsu-btn-edit:hover { background: #f0fdf4; }

.wcsu-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #f3f4f6;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 1px solid #e5e7eb;
	flex-shrink: 0;
}
.wcsu-signed-text { font-size: 14px; color: #047857; }
.wcsu-state-signed { flex-direction: column; gap: 12px; }
.wcsu-signed-head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.wcsu-signed-actions { display: flex; flex-direction: row; justify-content: center; gap: 10px; }
.wcsu-btn-subscribe { padding: 8px 24px; font-size: 14px; }

/* 弹窗通用 */
.wcsu-modal { position: fixed; inset: 0; z-index: 99999; }
.wcsu-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.wcsu-modal-body {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
	background: #fff; border-radius: 12px; padding: 20px; width: 90%; max-width: 380px;
	max-height: 90vh; overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0,0,0,.15);
}
.wcsu-modal-head {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 16px;
}
.wcsu-modal-title { font-size: 16px; font-weight: 600; color: #222; }
.wcsu-modal-close {
	background: #f3f4f6; border: none; width: 28px; height: 28px;
	border-radius: 50%; font-size: 18px; cursor: pointer; color: #666;
	line-height: 1;
}
.wcsu-modal-close:hover { background: #e5e7eb; }

/* 表单 */
.wcsu-form label {
	display: block; margin-bottom: 12px; font-size: 13px; color: #555; text-align: left;
}
.wcsu-req { color: #e53e3e; margin-right: 2px; }
.wcsu-form input, .wcsu-form textarea {
	width: 100%; padding: 10px 12px; margin-top: 5px;
	border: 1px solid #e5e7eb; border-radius: 6px; font-size: 14px; font-family: inherit;
	background: #fafafa; transition: border-color .2s;
}
.wcsu-form input:focus, .wcsu-form textarea:focus {
	outline: none; border-color: #07c160; background: #fff;
}
.wcsu-submit {
	width: 100%; margin-top: 6px; padding: 11px;
	background: #07c160; color: #fff; border: none;
	border-radius: 6px; cursor: pointer; font-size: 15px;
}
.wcsu-submit:hover { background: #06ad56; }
.wcsu-msg { margin: 10px 0 0; font-size: 13px; color: #c0392b; min-height: 18px; text-align: center; text-indent: 0; }
.wcsu-msg.ok { color: #07c160; }

/* 扫码框 */
.wcsu-qr-container { width: 100%; min-height: 280px; display: flex; align-items: center; justify-content: center; border: 1px solid #eee; border-radius: 6px; background: #fff; padding: 12px; }
.wcsu-modal-tip { text-align: center; color: #888; font-size: 13px; margin: 12px 0 0; text-indent: 0; }

/* 订阅提醒引导层 */
.wcsu-sub-list { display: flex; flex-direction: column; gap: 10px; }
.wcsu-sub-tag { display: block; text-align: center; margin: 8px 0 0; }
.wcsu-sub-tag button { display: inline-block; }
.wcsu-sub-item {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px;
	background: #fafafa;
}
.wcsu-sub-item .wcsu-sub-name { font-size: 14px; color: #333; }
.wcsu-sub-item .wcsu-sub-state { font-size: 12px; }
.wcsu-sub-btn {
	padding: 6px 16px; background: #07c160; color: #fff;
	border: none; border-radius: 999px; cursor: pointer; font-size: 13px;
	text-decoration: none; display: inline-block; white-space: nowrap;
}
.wcsu-sub-btn:hover { background: #06ad56; }
.wcsu-sub-btn.done { background: #e5e7eb; color: #999; cursor: default; }

/* 全局提示条 */
.wcsu-toast {
	position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%);
	background: rgba(0,0,0,.75); color: #fff; padding: 10px 20px;
	border-radius: 999px; font-size: 14px; z-index: 100000;
	max-width: 90%; text-align: center;
}
