/* 33-ultimate-member.css - Ultimate Member on the dark ground. */

/* text, labels, values */
.um .um-field-label, .um .um-field-label label { color: var(--fb-text) !important; }
.um .um-field-label .um-field-label-icon i { color: var(--fb-text-dim) !important; }
.um .um-field-value { color: var(--awb-color2) !important; }
.um .um-field-value a, .um a.um-link { color: var(--awb-color5) !important; }
.um .um-profile-note, .um .um-profile-note span, .um .um-profile-note i { color: var(--fb-text-dim) !important; }

/* buttons: violet fill, secondary = hairline (18 Nov accent decision) */
.um .um-button, .um a.um-button, .um input[type="submit"].um-button {
	background: var(--fb-violet) !important; color: var(--fb-on-accent) !important; border: 0 !important;
	border-radius: var(--fb-radius-pill) !important; font-weight: 600 !important; letter-spacing: .06em !important;
}
.um .um-button:hover, .um a.um-button:hover, .um input[type="submit"].um-button:hover { background: #8D2BD3 !important; }
.um .um-button.um-alt, .um a.um-button.um-alt, .um input[type="submit"].um-button.um-alt {
	background: transparent !important; color: var(--fb-text) !important; border: 1px solid var(--awb-color3) !important;
}
.um .um-button.um-alt:hover { border-color: var(--awb-color5) !important; }

/* profile header: cover drawn in CSS when none is uploaded (UM adds .has-cover otherwise) */
.um-profile .um-cover:not(.has-cover) {
	background:
		radial-gradient(120% 160% at 12% 0%, rgba(122,31,184,.55) 0%, rgba(122,31,184,0) 55%),
		radial-gradient(110% 150% at 88% 100%, rgba(44,192,170,.35) 0%, rgba(44,192,170,0) 55%),
		radial-gradient(80% 120% at 60% 40%, rgba(56,214,240,.12) 0%, rgba(56,214,240,0) 60%),
		linear-gradient(160deg, #171B2E 0%, #0F1220 70%, #06080F 100%) !important;
}
.um-profile .um-cover.has-cover { background: var(--fb-surface) !important; }
.um-profile .um-cover-add { color: var(--fb-text-dim) !important; }
.um-profile .um-cover-add:hover { color: var(--fb-text) !important; }
.um-profile .um-header { background: transparent !important; border-bottom: 1px solid var(--fb-hairline) !important; }
.um-profile .um-profile-photo a.um-profile-photo-img { background: var(--fb-surface) !important; border: 4px solid var(--fb-ground) !important; }
.um-profile .um-name, .um-profile .um-name a, .um-profile .um-name a:hover { color: var(--fb-text) !important; }
.um-profile .um-meta, .um-profile .um-meta span, .um-profile .um-meta-text { color: var(--awb-color2) !important; }
.um-profile .um-meta-bio-character { color: var(--fb-text-dim) !important; }
.um-profile .um-profile-headericon a, .um-profile .um-profile-edit a.um-profile-edit-a { color: var(--fb-text-dim) !important; }
.um-profile .um-profile-headericon a:hover, .um-profile .um-profile-edit a.um-profile-edit-a:hover { color: var(--awb-color5) !important; }

/* profile tabs */
.um-profile-nav { background: var(--fb-surface) !important; border: 1px solid var(--awb-color3) !important; border-radius: var(--fb-radius) !important; }
.um-profile-nav-item a { color: var(--awb-color2) !important; }
.um-profile-nav-item a:hover, .um-profile-nav-item.active a { background: var(--fb-surface-2) !important; color: var(--fb-text) !important; }
.um-profile-nav-item.active a { box-shadow: inset 0 -2px 0 var(--fb-violet) !important; }
.um-profile-subnav a { color: var(--awb-color2) !important; }

/* Comments tab */
.um-profile .um-item { border-bottom: 1px solid var(--fb-hairline) !important; }
.um-profile .um-item-link a { color: var(--fb-text) !important; }
.um-profile .um-item-meta, .um-profile .um-item-meta a { color: var(--fb-text-dim) !important; }

/* header cog menu, photo menu */
.um-dropdown { background: var(--fb-surface-2) !important; border: 1px solid var(--awb-color3) !important; box-shadow: 0 12px 32px rgba(0,0,0,.55) !important; }
.um-dropdown li a { color: var(--awb-color2) !important; }
.um-dropdown li a:hover { color: var(--fb-text) !important; background: rgba(255,255,255,.04) !important; }
.um-dropdown-arr i { color: var(--fb-surface-2) !important; }

/* upload / crop dialogs */
.um-modal-overlay { background: rgba(6,8,15,.85) !important; }
.um-modal-header { background: var(--fb-surface-2) !important; color: var(--fb-text) !important; border-bottom: 1px solid var(--awb-color3) !important; }
.um-modal-body, .um-modal-footer { background-color: var(--fb-surface) !important; color: var(--fb-text) !important; }
.um-modal .um-single-image-upload, .um-modal .um-single-file-upload {
	background: var(--fb-surface-2) !important; color: var(--fb-text) !important; border: 1px dashed var(--awb-color3) !important;
}

/* account page */
.um-account-side li a { background: var(--fb-surface) !important; color: var(--awb-color2) !important; border-bottom: 1px solid var(--fb-ground) !important; }
.um-account-side li a:hover, .um-account-side li a.current { background: var(--fb-surface-2) !important; color: var(--fb-text) !important; }
.um-account-side li a .um-account-icon i, .um-account-side li a .um-account-arrow i { color: var(--fb-text-dim) !important; }
.um-account-side li a.current .um-account-icon i, .um-account-side li a:hover .um-account-icon i { color: var(--awb-color5) !important; }
.um-account-main .um-account-heading, .um-account-name a, .um-account-profile-link a { color: var(--fb-text) !important; }
.um-account-nav a { color: var(--awb-color2) !important; }
.um-account-nav a.current { color: var(--fb-text) !important; }

/* notices and field errors */
.um .um-field-error { background: #4A1626 !important; color: #FFE3EA !important; }
.um .um-field-error .um-field-arrow { color: #4A1626 !important; }
.um-notice.success { background: rgba(44,192,170,.14) !important; color: var(--fb-text) !important; border: 1px solid rgba(44,192,170,.45) !important; }
.um-notice.err { background: rgba(255,80,110,.12) !important; color: var(--fb-text) !important; border: 1px solid rgba(255,80,110,.45) !important; }
.um-notice.warning { background: rgba(232,162,76,.12) !important; color: var(--fb-text) !important; }

/* UM select fields (select2) */
.um .select2-container .select2-selection { background: var(--awb-color8) !important; border-color: var(--awb-color3) !important; color: var(--fb-text) !important; }
.select2-dropdown { background: var(--fb-surface-2) !important; border-color: var(--awb-color3) !important; color: var(--fb-text) !important; }

/* member chips and badges: wpDiscuz threads, profile header, front-page strips */
.fb-chips { display: block; margin-top: .3rem; }
.fb-chip, .prom-badge {
	display: inline-flex; align-items: center; gap: .35em; margin: .15em .3em 0 0; padding: .1em .6em;
	border: 1px solid currentColor; border-radius: var(--fb-radius-pill);
	font-size: .64rem; font-weight: 600; letter-spacing: .14em; line-height: 1.6;
	text-transform: uppercase; white-space: nowrap; vertical-align: middle;
}
.fb-chip--host   { color: var(--fb-gold); }        /* 9.25:1 on --fb-ground */
.fb-chip--staff  { color: var(--fb-violet-lit); }  /* 7.44:1 */
.fb-chip--member { color: var(--fb-aurora); }      /* 8.79:1 */
.prom-badge--founder { color: var(--fb-gold); background: rgba(232,162,76,.10); }
.prom-badge--founder::before {
	content: ""; width: .85em; height: .85em; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prom-badge--founder::after { content: "Founder"; }  /* drop when prometheus-badges renders its own text */
.um-profile .um-name .fb-chip, .um-profile .um-name .prom-badge { margin-left: .5em; }

/* account side menu titles: UM sets #555 on the span itself (measured 2.3-2.5:1 on the dark ground) */
.um-account-side li a .um-account-title { color: inherit !important; }

/* inside wpDiscuz the chip sits in the narrow avatar column; wpDiscuz's own span rules enlarge it */
#wpdcom .fb-chips { display: block; margin-top: .3rem; line-height: 1.2; text-align: center; }
#wpdcom .fb-chip, #wpdcom .prom-badge { font-size: 9px !important; line-height: 1.5 !important; padding: .1em .55em !important; letter-spacing: .1em !important; margin: .15em .15em 0 !important; font-weight: 600 !important; }
/* front-page strips: chips sit inline after the name */
.fb-chips--inline { display: inline; margin: 0 0 0 .35em; }
.fb-chips--inline .fb-chip, .fb-chips--inline .prom-badge { font-size: .58rem; margin-top: 0; }

/* phone account nav (UM's uimob340 list): UM's own colour is #666 (3.3:1 measured at 390px) */
body .um-account .um-account-nav a, body .um .um-account-nav a { color: var(--awb-color2) !important; }
body .um-account .um-account-nav a.current, body .um .um-account-nav a.current { color: var(--fb-text) !important; }
