/* dd_domain_market v1.5 - 米市样式 */

/* ===== 页面容器 ===== */
.dm-page { max-width: 1200px; margin: 0 auto; padding: 12px; }

/* ===== Hero ===== */
.dm-hero {
	background: linear-gradient(135deg, #6b7de1 0%, #6d60b8 100%);
	border-radius: 16px;
	padding: 40px 24px;
	margin-bottom: 16px;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.dm-hero::before {
	content: '';
	position: absolute;
	top: -50%; right: -20%;
	width: 400px; height: 400px;
	background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
	pointer-events: none;
}
.dm-hero-inner { position: relative; z-index: 1; }
.dm-hero-title { font-size: 28px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.dm-hero-title i { font-size: 32px; }
.dm-hero-subtitle { font-size: 15px; opacity: 0.85; margin: 0 0 20px; }
.dm-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.dm-hero-stat { display: flex; flex-direction: column; }
.dm-hero-stat-num { font-size: 24px; font-weight: 700; }
.dm-hero-stat-label { font-size: 13px; opacity: 0.8; }

/* ===== 工具栏 - 两行紧凑布局 ===== */
.dm-toolbar {
	background: #fff;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.dm-toolbar-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.dm-toolbar-row + .dm-toolbar-row { margin-top: 10px; }
.dm-filter-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.dm-pill {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 6px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	color: #4b5563;
	background: #f3f4f6;
	text-decoration: none;
	transition: all 0.2s;
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	user-select: none;
}
.dm-pill:hover { background: #e5e7eb; color: #333; }
.dm-pill.active { background: #6b7de1; color: #fff; }
.dm-pill .ti { font-size: 14px; }
.dm-pill-sort { cursor: pointer; }
.dm-pill-sort .ti { font-size: 10px; opacity: 0.4; }
.dm-pill-sort.active .ti { opacity: 1; }
.dm-select { width: auto; min-width: 110px; }
.dm-suffix-btn .ti { font-size: 12px; }
.dm-suffix-count {
	background: #6b7de1; color: #fff;
	font-size: 11px; padding: 1px 6px;
	border-radius: 10px; margin-left: 4px;
}
.dm-publish-btn {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 6px 18px;
	border-radius: 8px;
	font-size: 13px; font-weight: 600;
	color: #fff; background: #6b7de1;
	text-decoration: none;
	transition: all 0.2s;
	white-space: nowrap;
}
.dm-publish-btn:hover { background: #5a6bcc; color: #fff; }

/* ===== 后缀下拉 ===== */
.dm-suffix-menu {
	width: 280px; padding: 10px;
	border-radius: 10px; border: 1px solid #e4e4ec;
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.dm-suffix-search { margin-bottom: 8px; }
.dm-suffix-list { max-height: 240px; overflow-y: auto; }
.dm-suffix-item {
	display: flex; align-items: center; gap: 6px;
	padding: 5px 8px; cursor: pointer;
	border-radius: 6px; font-size: 13px;
}
.dm-suffix-item:hover { background: #f5f5f8; }
.dm-suffix-item span:nth-child(2) { flex: 1; }
.dm-suffix-cnt { color: #999; font-size: 12px; }
.dm-suffix-actions {
	display: flex; justify-content: space-between;
	margin-top: 8px; padding-top: 8px;
	border-top: 1px solid #eee;
}
.dm-suffix-checkbox { width: 15px; height: 15px; }

/* ===== 搜索表单 ===== */
.dm-search-form .input-group { max-width: 240px; }

/* ===== 防诈骗 ===== */
.dm-warn {
	background: #fff3cd;
	border: 1px solid #ffe69b;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	color: #97651c;
	margin-bottom: 12px;
	display: flex; align-items: center; gap: 6px;
}
.dm-warn i { font-size: 16px; }

/* ===== 表格 ===== */
.dm-table-wrap {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.dm-table { width: 100%; border-collapse: collapse; }
.dm-table thead { background: #f9fafb; }
.dm-table th {
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #4b5563;
	letter-spacing: 0.3px;
	text-align: left;
	border-bottom: 1px solid #f3f4f6;
	white-space: nowrap;
}
.dm-table th.dm-sortable { cursor: pointer; user-select: none; transition: color 0.15s; }
.dm-table th.dm-sortable:hover { color: #6b7de1; }
.dm-table th.dm-sortable .ti { font-size: 10px; opacity: 0.35; margin-left: 2px; }
.dm-table th.dm-sortable.dm-sort-asc .ti,
.dm-table th.dm-sortable.dm-sort-desc .ti { opacity: 1; color: #6b7de1; }
.dm-table td {
	padding: 12px 14px;
	font-size: 14px;
	border-bottom: 1px solid #f5f5f8;
	vertical-align: middle;
}
.dm-row { cursor: pointer; transition: background 0.15s; }
.dm-row:hover { background: #f9f9fc; }
.dm-table tbody tr:last-child td { border-bottom: none; }
.dm-col-type, .dm-col-suffix, .dm-col-length { white-space: nowrap; text-align: center; }
.dm-col-price { white-space: nowrap; text-align: right; }
.dm-col-time { white-space: nowrap; color: #999; font-size: 13px; }
.dm-col-op { white-space: nowrap; }
.dm-col-meaning { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #777; }

.dm-domain-cell { display: flex; align-items: center; gap: 6px; }
.dm-domain-name { font-weight: 600; color: #333; }

/* ===== 徽章 ===== */
.dm-badge {
	display: inline-flex; align-items: center; gap: 3px;
	font-size: 11px; padding: 2px 8px;
	border-radius: 10px; font-weight: 500;
}
.dm-badge-verified { background: #d4edda; color: #155724; }
.dm-badge-verified-lg { background: #d4edda; color: #155724; padding: 4px 12px; font-size: 13px; border-radius: 12px; }
.dm-badge-unverified { background: #f8d7da; color: #721c24; padding: 4px 12px; font-size: 13px; border-radius: 12px; }
.dm-badge-online { background: #d4edda; color: #155724; }
.dm-badge-offline { background: #f8d7da; color: #721c24; }
.dm-badge-broker { background: #fff3cd; color: #97651c; }

/* ===== 标签 ===== */
.dm-tag {
	display: inline-block; padding: 2px 8px;
	border-radius: 6px; font-size: 12px; font-weight: 500;
}
.dm-tag-english { background: #e3f2fd; color: #1565c0; }
.dm-tag-numeric { background: #f3e5f5; color: #7b1fa2; }
.dm-tag-idn { background: #fff3e0; color: #e65100; }

/* ===== 价格 ===== */
.dm-price-fixed { color: #e53935; font-weight: 700; }
.dm-price-inquiry { color: #1976d2; font-weight: 600; }
.dm-price-fixed-lg { font-size: 28px; color: #e53935; font-weight: 800; }
.dm-price-inquiry-lg { font-size: 28px; color: #1976d2; font-weight: 800; }

/* ===== 分页 ===== */
.dm-pagination { margin-top: 16px; text-align: center; }
.dm-pagination .pagination { justify-content: center; }

/* ===== 空状态 ===== */
.dm-empty {
	text-align: center; padding: 60px 20px; color: #999;
}
.dm-empty i { font-size: 48px; margin-bottom: 12px; display: block; }
.dm-empty p { margin-bottom: 16px; }
.dm-empty-mini { text-align: center; padding: 20px; color: #999; }
.dm-empty-mini i { font-size: 24px; margin-bottom: 6px; display: block; }

/* ===== 详情页 ===== */
.dm-back { margin-bottom: 12px; }

.dm-detail-head {
	background: linear-gradient(135deg, #6b7de1 0%, #6d60b8 100%);
	border-radius: 16px;
	padding: 28px 24px;
	margin-bottom: 16px;
	color: #fff;
}
.dm-detail-domain-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.dm-detail-domain { font-size: 26px; font-weight: 800; margin: 0; }
.dm-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 16px; }
.dm-meta-tag { font-size: 13px; opacity: 0.9; display: inline-flex; align-items: center; gap: 4px; }
.dm-detail-price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.dm-detail-renew { font-size: 13px; opacity: 0.8; }

.dm-detail-body { display: flex; gap: 16px; align-items: flex-start; }
.dm-detail-main { flex: 1; min-width: 0; }
.dm-detail-side { width: 280px; flex-shrink: 0; }

/* ===== 卡片 ===== */
.dm-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	margin-bottom: 16px;
	overflow: hidden;
}
.dm-card-title {
	font-size: 15px; font-weight: 700; color: #333;
	margin: 0; padding: 14px 18px;
	border-bottom: 1px solid #f0f0f4;
	display: flex; align-items: center; gap: 6px;
}
.dm-card-body { padding: 16px 18px; font-size: 14px; line-height: 1.7; color: #555; }
.dm-cache-badge { font-size: 11px; color: #999; font-weight: 400; margin-left: auto; }
.dm-whois-refresh { margin-left: 4px; padding: 2px 8px; font-size: 12px; }

/* ===== WHOIS ===== */
.dm-whois-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dm-whois-item { display: flex; flex-direction: column; gap: 2px; }
.dm-whois-item-full { grid-column: 1 / -1; }
.dm-whois-label { font-size: 12px; color: #999; }
.dm-whois-value { font-size: 14px; color: #333; font-weight: 500; }
.dm-expire-ok { color: #28a745; }
.dm-expire-warning { color: #ffc107; }
.dm-expire-danger { color: #dc3545; font-weight: 700; }
.dm-status-tag {
	display: inline-block; background: #f0f0f4;
	padding: 2px 8px; border-radius: 4px; font-size: 12px;
	margin: 2px 4px 2px 0;
}

/* ===== 发布者 ===== */
.dm-publisher { display: flex; gap: 12px; align-items: flex-start; }
.dm-publisher-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.dm-avatar-placeholder {
	background: #e4e4ec; display: flex;
	align-items: center; justify-content: center;
	color: #999; font-size: 24px;
}
.dm-publisher-info { flex: 1; min-width: 0; }
.dm-publisher-name { font-weight: 600; color: #333; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dm-pub-level {
	font-size: 11px; font-weight: 500; padding: 1px 8px;
	border-radius: 10px; background: rgba(107,125,225,0.12); color: #6b7de1;
}
.dm-pub-sig { font-size: 12px; color: #888; margin-top: 4px; line-height: 1.5; word-break: break-word; }
.dm-pub-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.dm-pub-stat { font-size: 12px; color: #666; display: flex; align-items: center; gap: 3px; }
.dm-pub-stat i { font-size: 13px; opacity: 0.7; }
.dm-pub-date { font-size: 11px; color: #aaa; display: flex; align-items: center; gap: 3px; margin-top: 4px; }

/* ===== 操作栏 ===== */
.dm-action-bar { margin-bottom: 16px; }
.dm-warn-card {
	background: #fff3cd; border: 1px solid #ffe69b;
	border-radius: 10px; padding: 12px 14px;
	font-size: 12px; color: #97651c;
	display: flex; gap: 8px; align-items: flex-start;
}
.dm-warn-card i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ===== 含义标签 ===== */
.dm-meaning-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dm-meaning-tag {
	background: #f0f0f4; color: #555;
	padding: 4px 12px; border-radius: 14px;
	font-size: 13px;
}

/* ===== 弹窗 ===== */
.dm-modal-overlay {
	position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
	display: flex; align-items: center; justify-content: center;
	z-index: 9999; padding: 16px;
}
.dm-modal {
	background: #fff; border-radius: 14px;
	max-width: 560px; width: 100%;
	max-height: 85vh; overflow-y: auto;
	box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.dm-modal-header {
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 20px; border-bottom: 1px solid #f0f0f4;
}
.dm-modal-header h3 { font-size: 17px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 6px; }
.dm-modal-close {
	background: none; border: none; font-size: 20px;
	color: #999; cursor: pointer; padding: 4px;
}
.dm-modal-close:hover { color: #333; }
.dm-modal-body { padding: 20px; }

/* ===== 担保 ===== */
.dm-broker-card { }
.dm-broker-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.dm-broker-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.dm-broker-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.dm-broker-contacts { margin-bottom: 16px; }
.dm-contact-item {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 0; border-bottom: 1px solid #f5f5f8;
	font-size: 14px;
}
.dm-contact-label { color: #999; min-width: 90px; display: flex; align-items: center; gap: 4px; }
.dm-contact-value { flex: 1; color: #333; font-weight: 500; word-break: break-all; }
.dm-copy-btn {
	background: none; border: 1px solid #e4e4ec;
	border-radius: 6px; padding: 4px 8px;
	cursor: pointer; color: #666; font-size: 14px;
}
.dm-copy-btn:hover { background: #f0f0f4; }

.dm-fee-calc {
	background: #f8f8fc; border-radius: 10px;
	padding: 14px; margin-bottom: 16px;
}
.dm-fee-calc h4 { font-size: 14px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 4px; }
.dm-fee-input-row { margin-bottom: 10px; }
.dm-fee-result { }
.dm-fee-row {
	display: flex; justify-content: space-between;
	padding: 6px 0; font-size: 14px;
	border-bottom: 1px dashed #e4e4ec;
}
.dm-fee-row-highlight { font-weight: 700; color: #e53935; font-size: 16px; }
.dm-fee-row:last-child { border-bottom: none; }

.dm-broker-process { }
.dm-broker-process h4 { font-size: 14px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; gap: 4px; }
.dm-process-step {
	display: flex; gap: 10px; align-items: flex-start;
	padding: 6px 0;
}
.dm-step-num {
	width: 24px; height: 24px; border-radius: 50%;
	background: #6b7de1; color: #fff;
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.dm-step-text { font-size: 13px; color: #555; line-height: 1.5; padding-top: 3px; }

/* ===== 验证 ===== */
.dm-verify-content { }
.dm-verify-domain { font-size: 18px; font-weight: 700; margin-bottom: 12px; text-align: center; }
.dm-verify-done { text-align: center; padding: 20px; color: #28a745; }
.dm-verify-done i { font-size: 36px; display: block; margin-bottom: 8px; }
.dm-verify-instr { font-size: 13px; color: #666; margin-bottom: 12px; line-height: 1.6; }
.dm-verify-field { margin-bottom: 12px; }
.dm-verify-field label { font-size: 12px; color: #999; display: block; margin-bottom: 4px; }
.dm-verify-value-row { display: flex; gap: 6px; }

/* ===== 管理页 ===== */
.dm-manage-head {
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.dm-manage-head h2 { font-size: 20px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.dm-manage-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.dm-manage-table .btn-xs { padding: 2px 6px; font-size: 12px; }

/* ===== 发布页 ===== */
.dm-publish-card {
	background: #fff; border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	padding: 24px; max-width: 640px; margin: 0 auto;
}
.dm-publish-card h2 { font-size: 20px; font-weight: 700; margin: 0 0 20px; display: flex; align-items: center; gap: 8px; }
.dm-purpose-radio { display: flex; gap: 16px; }
.dm-radio-label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; }
.dm-form-actions { display: flex; gap: 8px; }

/* ===== Loading ===== */
.dm-loading { text-align: center; padding: 20px; color: #999; }
.dm-loading i { font-size: 24px; }
.dm-error { text-align: center; padding: 20px; color: #dc3545; }

/* ===== 移动端卡片列表 ===== */
.dm-cards { display: flex; flex-direction: column; gap: 10px; }
.dm-card-item {
	background: #fff; border-radius: 10px; padding: 14px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
	cursor: pointer; transition: box-shadow 0.2s, transform 0.15s;
	border: 1px solid #f0f0f4;
}
.dm-card-item:active { transform: scale(0.98); }
.dm-card-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.1); }
.dm-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.dm-card-domain-row { display: flex; align-items: center; gap: 5px; min-width: 0; }
.dm-card-name { font-weight: 700; font-size: 15px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-card-verified { color: #28a745; font-size: 16px; flex-shrink: 0; }
.dm-card-price { flex-shrink: 0; margin-left: 8px; }
.dm-card-price .dm-price-fixed { font-size: 16px; }
.dm-card-price .dm-price-inquiry { font-size: 14px; }
.dm-card-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dm-card-tags .dm-tag { font-size: 11px; padding: 1px 7px; }
.dm-card-meta { font-size: 12px; color: #999; }
.dm-card-time { font-size: 11px; color: #bbb; margin-left: auto; }
.dm-card-meaning { margin-top: 6px; font-size: 12px; color: #888; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 详情弹窗 ===== */
.dm-modal-detail { max-width: 640px; }
.dm-modal-card { margin-bottom: 12px; }
.dm-modal-card .dm-card-body { padding: 14px 16px; font-size: 13px; }
.dm-detail-actions { display: flex; gap: 12px; align-items: flex-start; }
.dm-detail-actions .dm-card { flex: 0 0 auto; width: 200px; }
.dm-detail-actions .dm-action-bar { flex: 1; min-width: 0; }
.dm-detail-actions .dm-warn-card { flex: 1; min-width: 0; }
.dm-broker-section { animation: dmFadeIn 0.3s ease; }

@keyframes dmFadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
	.dm-detail-actions { flex-direction: column; }
	.dm-detail-actions .dm-card { width: 100%; }
	.dm-whois-grid { grid-template-columns: 1fr 1fr; }
	.dm-detail-body { flex-direction: column; }
	.dm-detail-side { width: 100%; }
	.dm-detail-head { padding: 16px; }
	.dm-detail-domain { font-size: 20px; }
	.dm-modal-detail { max-width: 100%; }
	.dm-detail-actions .dm-action-bar { width: 100%; }
	.dm-broker-section .dm-broker-head { flex-wrap: wrap; }
	.dm-contact-label { min-width: 70px; font-size: 12px; }
}

@media (max-width: 480px) {
	.dm-whois-grid { grid-template-columns: 1fr; }
	.dm-card-item { padding: 12px; }
	.dm-card-name { font-size: 14px; }
	.dm-detail-domain { font-size: 18px; }
	.dm-detail-meta { gap: 4px 10px; }
	.dm-meta-tag { font-size: 11px; }
	.dm-modal-body { padding: 12px; }
	.dm-detail-head { padding: 14px 12px; }
	.dm-broker-avatar { width: 44px; height: 44px; }
	.dm-publisher-avatar { width: 40px; height: 40px; }
}

/* ===== 响应式 ===== */
.dm-desktop-only { display: block; }
.dm-mobile-only { display: none; }

@media (max-width: 768px) {
	.dm-desktop-only { display: none; }
	.dm-mobile-only { display: block; }
	.dm-hero { padding: 24px 16px; border-radius: 12px; }
	.dm-hero-title { font-size: 20px; }
	.dm-hero-title i { font-size: 24px; }
	.dm-hero-subtitle { font-size: 13px; margin-bottom: 14px; }
	.dm-hero-stats { gap: 16px; }
	.dm-hero-stat-num { font-size: 18px; }
	.dm-hero-stat-label { font-size: 11px; }
	.dm-toolbar { padding: 10px 12px; border-radius: 10px; }
	.dm-toolbar-row { gap: 6px; }
	.dm-pill { padding: 5px 12px; font-size: 12px; }
	.dm-select { min-width: 90px; font-size: 12px; }
	.dm-publish-btn { padding: 5px 14px; font-size: 12px; }
	.dm-warn { font-size: 12px; padding: 6px 10px; }
	.dm-page { padding: 8px; }
	.dm-detail-domain { font-size: 20px; }
	.dm-price-fixed-lg, .dm-price-inquiry-lg { font-size: 22px; }
	.dm-detail-head { padding: 20px 16px; border-radius: 12px; }
	.dm-detail-meta { gap: 6px 12px; }
	.dm-meta-tag { font-size: 12px; }
	.dm-modal { max-height: 92vh; border-radius: 12px; }
	.dm-modal-header { padding: 12px 16px; }
	.dm-modal-header h3 { font-size: 15px; }
	.dm-modal-body { padding: 14px; }
}

@media (max-width: 480px) {
	.dm-hero { padding: 18px 14px; }
	.dm-hero-title { font-size: 18px; gap: 6px; }
	.dm-hero-title i { font-size: 20px; }
	.dm-hero-stats { gap: 12px; }
	.dm-hero-stat-num { font-size: 16px; }
	.dm-toolbar-row { flex-direction: column; align-items: stretch; }
	.dm-filter-group { justify-content: center; }
	.dm-search-form { width: 100%; }
	.dm-search-form .input-group { max-width: none; }
	.dm-modal-overlay { padding: 0; }
	.dm-modal { max-height: 100vh; border-radius: 0; min-height: 100vh; }
	.dm-detail-domain { font-size: 18px; }
	.dm-detail-actions { flex-direction: column; }
}

/* ===== 后台设置页 ===== */
.dm-admin-header {
	display: flex; align-items: center; gap: 10px;
	margin-bottom: 0;
}
.dm-admin-header i { font-size: 28px; color: #6b7de1; }
.dm-admin-header h3 { font-size: 20px; font-weight: 700; margin: 0; color: #1f2937; }
.dm-admin-tabs .nav-link {
	color: #6b7280; font-weight: 500;
	border: none; border-bottom: 2px solid transparent;
	padding: 8px 20px; border-radius: 0;
}
.dm-admin-tabs .nav-link:hover { color: #6b7de1; }
.dm-admin-tabs .nav-link.active { color: #6b7de1; border-bottom-color: #6b7de1; background: transparent; }

.dm-setting-card {
	border: 1px solid #e9ecef;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
}
.dm-setting-card-header {
	background: #f8f9fc;
	padding: 12px 18px;
	font-weight: 700; font-size: 15px;
	color: #1f2937;
	border-bottom: 1px solid #e9ecef;
	display: flex; align-items: center; gap: 8px;
}
.dm-setting-card-header i { color: #6b7de1; font-size: 18px; }
.dm-setting-card-header .dm-setting-desc {
	margin-left: auto; font-size: 12px; font-weight: 400; color: #9ca3af;
}
.dm-setting-card-body { padding: 18px; }
.dm-setting-field { margin-bottom: 14px; }
.dm-setting-field:last-child { margin-bottom: 0; }
.dm-setting-label {
	font-size: 13px; font-weight: 600; color: #4b5563;
	margin-bottom: 4px; display: flex; align-items: center; gap: 4px;
}
.dm-setting-label .ti { font-size: 14px; color: #9ca3af; }
.dm-setting-hint { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.dm-setting-actions {
	display: flex; justify-content: space-between; align-items: center;
	padding-top: 12px;
}

.dm-admin-table {
	border-radius: 10px; overflow: hidden;
	border: 1px solid #e9ecef;
}
.dm-admin-table thead { background: #f8f9fc; }
.dm-admin-table th {
	font-size: 12px; font-weight: 600; color: #6b7280;
	padding: 10px 12px; border-bottom: 1px solid #e9ecef;
	white-space: nowrap;
}
.dm-admin-table td {
	padding: 10px 12px; font-size: 13px;
	border-bottom: 1px solid #f3f4f6; vertical-align: middle;
}
.dm-admin-table tbody tr:hover { background: #f9fafb; }
.dm-admin-table tbody tr:last-child td { border-bottom: none; }
.dm-admin-domain-link { font-weight: 600; color: #6b7de1; text-decoration: none; }
.dm-admin-domain-link:hover { text-decoration: underline; }
.dm-admin-btn-group { display: flex; gap: 4px; }

/* ===== 服务商认证 ===== */
.dm-pub-provider-badge {
	display: inline-flex; align-items: center; gap: 2px;
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff; font-size: 11px; font-weight: 600;
	padding: 1px 7px; border-radius: 4px; margin-left: 6px; line-height: 1.5;
}
.dm-pub-provider-badge i { font-size: 11px; }

/* 申请页 */
.dm-provider-intro {
	background: #f0f9ff; border-radius: 10px; padding: 16px 20px; margin-bottom: 16px;
}
.dm-provider-intro p { margin-bottom: 8px; }
.dm-provider-intro p:last-child { margin-bottom: 0; }
.dm-provider-intro i { vertical-align: middle; }
.dm-provider-deposit-info { color: #1e40af; }
.dm-provider-gold-info { color: #475569; font-size: 14px; }
.dm-provider-deposit-tip {
	background: #fef3c7; border: 1px solid #fcd34d; border-radius: 6px;
	padding: 8px 12px; font-size: 13px; color: #92400e; margin-top: 8px;
}
.dm-provider-form-wrap h5 { font-weight: 600; margin-bottom: 16px; }

/* 状态标签 */
.dm-provider-status {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 15px;
}
.dm-provider-status-pending { background: #fef3c7; color: #92400e; }
.dm-provider-status-approved { background: #d1fae5; color: #065f46; }
.dm-provider-status-rejected { background: #fee2e2; color: #991b1b; }
.dm-provider-status-revoked { background: #f3f4f6; color: #4b5563; }
.dm-provider-reason {
	margin-top: 8px; padding: 8px 12px; background: #fee2e2; border-radius: 6px;
	font-size: 13px; color: #991b1b;
}
.dm-provider-desc-cell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 年费显示 ===== */
.dm-provider-total-cost-info { color: #7c3aed; }
.dm-card-bg-section {
	background: #f8fafc; border-radius: 10px; padding: 16px 20px;
	border: 1px solid #e2e8f0;
}
.dm-card-bg-section h6 { font-weight: 600; margin-bottom: 4px; }
.dm-card-bg-section .form-color { padding: 2px; }

/* 有自定义背景的卡片 — 内部全部透明，用文字阴影保证可读性 */
.dm-modal-card[style*="background"] { background-color: transparent !important; }
.dm-modal-card[style*="background"] .dm-card-body { background: transparent !important; }
.dm-modal-card[style*="background"] .dm-publisher { background: transparent !important; }
.dm-modal-card[style*="background"] .dm-publisher-name,
.dm-modal-card[style*="background"] .dm-pub-sig,
.dm-modal-card[style*="background"] .dm-pub-stat,
.dm-modal-card[style*="background"] .dm-pub-date,
.dm-modal-card[style*="background"] .dm-pub-level,
.dm-modal-card[style*="background"] .dm-pub-provider-badge {
	text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.3);
}
.dm-modal-card[style*="background"] .dm-publisher-name { color: #fff; }
.dm-modal-card[style*="background"] .dm-pub-sig,
.dm-modal-card[style*="background"] .dm-pub-stat,
.dm-modal-card[style*="background"] .dm-pub-date { color: rgba(255,255,255,0.9); }
.dm-modal-card[style*="background"] .dm-pub-level {
	background: rgba(255,255,255,0.25) !important; color: #fff !important;
}
.dm-modal-card[style*="background"] .dm-publisher-avatar {
	border: 2px solid rgba(255,255,255,0.6);
}

/* ===== 列表页：认证服务商背景 ===== */
/* 桌面端表格行 */
.dm-row-pvbg td { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.3); }
.dm-row-pvbg:hover { filter: brightness(1.08); }
.dm-row-pvbg .dm-domain-name { color: #fff !important; }
.dm-row-pvbg .dm-col-meaning { color: rgba(255,255,255,0.85) !important; }
.dm-row-pvbg .dm-col-time { color: rgba(255,255,255,0.7) !important; }
.dm-row-pvbg .dm-badge-verified { background: rgba(255,255,255,0.25); color: #fff; }
.dm-row-pvbg .dm-tag { opacity: 0.95; }
.dm-row-pvbg .dm-price-fixed { color: #fff; }
.dm-row-pvbg .dm-price-inquiry { color: rgba(255,255,255,0.9); }

/* 移动端卡片 */
.dm-card-item.dm-pvbg { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.3); border-color: transparent; }
.dm-card-item.dm-pvbg .dm-card-name { color: #fff; }
.dm-card-item.dm-pvbg .dm-card-meta { color: rgba(255,255,255,0.85); }
.dm-card-item.dm-pvbg .dm-card-time { color: rgba(255,255,255,0.7); }
.dm-card-item.dm-pvbg .dm-card-verified { color: #fff; }
.dm-card-item.dm-pvbg .dm-price-fixed { color: #fff; }
.dm-card-item.dm-pvbg .dm-price-inquiry { color: rgba(255,255,255,0.9); }
.dm-card-item.dm-pvbg .dm-card-meaning { color: rgba(255,255,255,0.85); }
