/* 证件勋章：昵称后图标 + 悬停显示证件名称 + 点击显示「尊贵的xxx」+ 昵称自定义色彩 */
.cb-cert-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-left: 4px;
	vertical-align: -3px;
	object-fit: contain;
	cursor: pointer;
	position: relative;
	flex: none;
}
.cb-cert-icon:hover::after {
	content: attr(data-cert-name);
	position: absolute;
	bottom: 125%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(20, 22, 26, .92);
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	padding: 4px 9px;
	border-radius: 4px;
	white-space: nowrap;
	z-index: 99999;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.cb-cert-icon:hover::before {
	content: '';
	position: absolute;
	bottom: 112%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: rgba(20, 22, 26, .92);
	z-index: 99999;
	pointer-events: none;
}
.cb-cert-icon-fallback { background: #f0c020; border-radius: 4px; padding: 2px; }
.cb-cert-pop {
	position: fixed;
	z-index: 99999;
	background: #2b2f36;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
	white-space: nowrap;
	pointer-events: none;
	animation: cbPopIn .16s ease both;
}
.cb-cert-pop::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #2b2f36;
}
@keyframes cbPopIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.cb-name-colored { /* 颜色由内联 style 设置，保留类名便于排查 */ }

/* 申请表单 */
.cb-apply-box { max-width: 680px; padding: 24px 26px; border: 1px solid #e6e8eb; border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
.cb-apply-box h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.cb-apply-box .cb-desc { color: #888; font-size: 14px; margin: 0 0 20px; line-height: 1.6; }
.cb-field { margin-bottom: 16px; }
.cb-field > label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: #333; }
.cb-field-hint { display: block; color: #999; font-size: 12px; margin-top: 5px; }
.cb-apply-box select, .cb-apply-box input[type="date"], .cb-apply-box input[type="file"] { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #dcdfe4; border-radius: 8px; font-size: 14px; background: #fff; color: #222; }
.cb-apply-box select:focus, .cb-apply-box input[type="date"]:focus, .cb-apply-box input[type="file"]:focus { outline: none; border-color: #4c7bf3; box-shadow: 0 0 0 3px rgba(76, 123, 243, .15); }
.cb-submit-row { margin: 4px 0 0; }
.cb-submit-row .button-primary { padding: 9px 22px; font-size: 14px; }
.cb-apply-box #cb-apply-msg { margin-left: 10px; font-size: 13px; }
.cb-my-title { margin: 22px 0 10px; font-size: 16px; }
.cb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cb-my-table { width: 100%; border-collapse: collapse; margin-top: 2px; font-size: 14px; background: #fff; border-radius: 8px; overflow: hidden; }
.cb-my-table th, .cb-my-table td { padding: 9px 12px; border-bottom: 1px solid #f0f1f3; text-align: left; }
.cb-my-table th { background: #fafbfc; color: #666; font-weight: 600; }
.cb-my-table tr:last-child td { border-bottom: none; }
@media (max-width: 600px) {
	.cb-apply-box { padding: 18px 16px; border-radius: 12px; }
	.cb-apply-box h3 { font-size: 17px; }
	.cb-apply-box select, .cb-apply-box input[type="date"], .cb-apply-box input[type="file"] { font-size: 16px; }
}
