/* 返佣后台域名弹窗（门户首页入口卡用；平台详情页沿用 broker.css 的 rf-domain-* 一套） */
.hv-dom-btn { cursor: pointer; font-family: inherit; }
.hv-dom-modal { position: fixed; inset: 0; z-index: 10000; display: flex; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.hv-dom-modal.hv-dom-open { opacity: 1; visibility: visible; }
.hv-dom-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.hv-dom-content { position: relative; margin: auto; width: 92%; max-width: 440px; padding: 20px; background: var(--hv-bg-card, #FFFFFF); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18); transform: scale(.92) translateY(20px); transition: transform .35s cubic-bezier(.34,1.4,.64,1); }
.hv-dom-modal.hv-dom-open .hv-dom-content { transform: scale(1) translateY(0); }
.hv-dom-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.hv-dom-headtext { flex: 1; min-width: 0; }
.hv-dom-title { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--hv-text-title, #122032); }
.hv-dom-sub { margin-top: 3px; font-size: 12px; color: var(--hv-text-muted, #6A778C); }
.hv-dom-close { flex-shrink: 0; width: 32px; height: 32px; border: none; border-radius: 50%; background: var(--hv-bg-hover, #ECF1F8); font-size: 20px; line-height: 1; color: var(--hv-text-muted, #6A778C); cursor: pointer; transition: all .2s ease; }
.hv-dom-close:hover { background: var(--hv-danger, #EF4444); color: #fff; transform: rotate(90deg); }
.hv-dom-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 12px; }
.hv-dom-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--hv-bg-hover, #ECF1F8); border: 1px solid var(--hv-border-light, #EEF3F9); border-radius: 10px; }
.hv-dom-itemtext { flex: 1; min-width: 0; }
.hv-dom-tag { display: inline-block; margin-bottom: 4px; padding: 2px 9px; border-radius: 9999px; font-size: 11px; font-weight: 700; color: var(--hv-primary, #1E4272); background: var(--hv-primary-bg, rgba(30,66,114,.07)); }
.hv-dom-tag-alt { color: #8A6D1F; background: rgba(217,148,40,.14); }
.hv-dom-host { display: block; font-size: 14px; font-weight: 600; color: var(--hv-text-title, #122032); word-break: break-all; }
.hv-dom-acts { display: flex; flex-shrink: 0; gap: 8px; }
html a.hv-dom-open { display: inline-block; padding: 8px 14px; border-radius: 8px; background: linear-gradient(135deg, var(--hv-primary, #1E4272), #2D5A8C); color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; transition: filter .22s ease; }
html a.hv-dom-open:hover { filter: brightness(1.08); }
.hv-dom-copy { padding: 8px 14px; border: 1px solid var(--hv-border, #E0E7F1); border-radius: 8px; background: var(--hv-bg-card, #FFFFFF); color: var(--hv-text-body, #4E5D75); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.hv-dom-copy:hover { border-color: var(--hv-primary, #1E4272); color: var(--hv-primary, #1E4272); }
.hv-dom-copy.copied { border-color: #22C55E; color: #16A34A; }
.hv-dom-note { padding-top: 10px; border-top: 1px dashed var(--hv-border, #E0E7F1); font-size: 12px; line-height: 1.6; color: var(--hv-text-muted, #6A778C); }
@media (max-width: 768px) {
  .hv-dom-content { width: 100%; max-width: none; margin: auto 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; transform: translateY(100%); }
  .hv-dom-modal.hv-dom-open .hv-dom-content { transform: translateY(0); }
  .hv-dom-acts { flex-direction: column; align-items: stretch; text-align: center; }
}
