/* ==========================================================================
   FEHIVER — Reputación, Infamia, Diplomacia & [PDA] Táctica
   ========================================================================== */

/* ── Badges globales (Byline + Perfil Hero) ── */
.fhv-rep-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: 4px;
	background: rgba(101, 184, 201, 0.12);
	border: 1px solid rgba(101, 184, 201, 0.3);
	color: #7cd0e0;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.35;
	vertical-align: middle;
}

.fhv-rep-pill--hero {
	font-size: 11px;
	padding: 3px 8px;
}

.fhv-rep-pill--infamia {
	background: rgba(226, 189, 116, 0.14);
	border-color: rgba(226, 189, 116, 0.42);
	color: #f0cf88;
}

.fhv-rep-pill--defamed {
	background: rgba(217, 107, 107, 0.18);
	border-color: rgba(217, 107, 107, 0.58);
	color: #f28d8d;
}

.fhv-diplomacy-trigger {
	border-color: rgba(101, 184, 201, 0.42) !important;
	color: #9fe0ec !important;
}

.fhv-diplomacy-trigger:hover {
	background: rgba(101, 184, 201, 0.18) !important;
	border-color: #65b8c9 !important;
	color: #ffffff !important;
}

/* ── Expediente Ciudadano en Perfil de BuddyNext ── */
.fhv-expediente {
	margin-top: 14px;
	padding: 16px 18px;
	border-radius: 10px;
	background: #111822;
	border: 1px solid rgba(101, 184, 201, 0.24);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.fhv-expediente__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.fhv-expediente__kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #65b8c9;
}

.fhv-expediente__rsi {
	margin-left: 10px;
	padding: 2px 8px;
	border-radius: 4px;
	background: rgba(22, 32, 45, 0.9);
	border: 1px solid rgba(154, 178, 204, 0.2);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	color: #c5d3e0;
}

.fhv-expediente__owner-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fhv-expediente__alert {
	margin-bottom: 12px;
	padding: 9px 12px;
	border-radius: 6px;
	background: rgba(217, 107, 107, 0.14);
	border: 1px solid rgba(217, 107, 107, 0.45);
	color: #f3b1b1;
	font-size: 12.5px;
	line-height: 1.4;
}

.fhv-expediente__alert strong {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	color: #ff9c9c;
}

.fhv-expediente__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

@media (max-width: 820px) {
	.fhv-expediente__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.fhv-exp-stat {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 11px 12px;
	border-radius: 7px;
	background: rgba(10, 14, 20, 0.68);
	border: 1px solid rgba(154, 178, 204, 0.14);
}

.fhv-exp-stat__label {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #7d91a8;
}

.fhv-exp-stat__val {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 17px;
	font-weight: 700;
	color: #e7eef6;
	line-height: 1.25;
}

.fhv-exp-stat__val small {
	font-size: 11px;
	opacity: 0.8;
}

.fhv-exp-stat__val--cyan  { color: #65b8c9; }
.fhv-exp-stat__val--green { color: #64b88c; }
.fhv-exp-stat__val--amber { color: #e2bd74; }
.fhv-exp-stat__val--coral { color: #d96b6b; }

.fhv-exp-stat__sub {
	font-size: 11.5px;
	color: #8ea2b8;
}

.fhv-expediente__log {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(154, 178, 204, 0.12);
}

.fhv-expediente__log-title {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #7d91a8;
	margin-bottom: 6px;
}

.fhv-expediente__log ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.fhv-log-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
	color: #c1d0de;
	padding: 4px 8px;
	border-left: 2px solid rgba(154, 178, 204, 0.25);
	background: rgba(10, 14, 20, 0.45);
	border-radius: 0 4px 4px 0;
}

.fhv-log-row--green { border-left-color: #64b88c; }
.fhv-log-row--coral { border-left-color: #d96b6b; }
.fhv-log-row--amber { border-left-color: #e2bd74; }
.fhv-log-row--cyan  { border-left-color: #65b8c9; }

.fhv-log-row time {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
	color: #6e8096;
	flex-shrink: 0;
}

.fhv-mini-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 5px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fhv-mini-btn--amber {
	background: rgba(226, 189, 116, 0.14);
	border-color: rgba(226, 189, 116, 0.42);
	color: #f0cf88;
}

.fhv-mini-btn--amber:hover {
	background: rgba(226, 189, 116, 0.24);
}

.fhv-mini-btn--coral {
	background: rgba(217, 107, 107, 0.14);
	border-color: rgba(217, 107, 107, 0.42);
	color: #f29a9a;
}

.fhv-mini-btn--coral:hover {
	background: rgba(217, 107, 107, 0.24);
}

/* ── Botón [PDA] integrado en el lado derecho del Header de BuddyX ── */
.site-header-wrapper .buddypress-icons-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.site-header-wrapper .buddypress-icons-wrapper .menu-icons-wrapper {
	display: contents;
}

.fhv-pda-header-btn {
	order: 99;
	margin-left: 8px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 11px;
	border-radius: 7px;
	background: rgba(14, 24, 36, 0.92);
	border: 1px solid rgba(101, 184, 201, 0.52);
	color: #e7f6fa;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: 0 0 12px rgba(101, 184, 201, 0.14);
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.fhv-pda-header-btn:hover,
.fhv-pda-header-btn[aria-expanded="true"] {
	background: rgba(24, 42, 58, 0.96);
	border-color: #7fcad9;
	box-shadow: 0 0 16px rgba(101, 184, 201, 0.28);
	color: #ffffff;
}

.fhv-pda-header-btn.is-offline {
	border-color: rgba(154, 178, 204, 0.34);
	color: #a2b2c5;
}

.fhv-pda-header-btn.is-offline .fhv-pda-fab__dot {
	background: #d96b6b;
	box-shadow: 0 0 6px #d96b6b;
}

/* Botón flotante solo en móvil (≤ 768px) */
.fhv-pda-fab--mobile-only {
	display: none;
}

.fhv-pda-fab {
	position: fixed;
	right: 14px;
	bottom: 18px;
	z-index: 99990;
	align-items: center;
	gap: 6px;
	padding: 9px 14px;
	border-radius: 8px;
	background: rgba(11, 18, 28, 0.94);
	border: 1px solid rgba(101, 184, 201, 0.55);
	color: #e7f6fa;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.52), 0 0 14px rgba(101, 184, 201, 0.18);
	backdrop-filter: blur(8px);
}

.fhv-pda-fab.is-offline {
	border-color: rgba(154, 178, 204, 0.35);
	color: #a2b2c5;
}

.fhv-pda-fab__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #64b88c;
	box-shadow: 0 0 8px #64b88c;
	flex-shrink: 0;
}

.fhv-pda-fab.is-offline .fhv-pda-fab__dot {
	background: #d96b6b;
	box-shadow: 0 0 6px #d96b6b;
}

.fhv-pda-fab__bracket {
	color: #65b8c9;
	opacity: 0.85;
}

.fhv-pda-fab__sub {
	font-size: 9.5px;
	padding: 2px 5px;
	border-radius: 4px;
	background: rgba(217, 107, 107, 0.16);
	color: #ef8a8a;
	letter-spacing: 0.05em;
}

.fhv-pda-fab__alert {
	font-size: 9.5px;
	padding: 2px 5px;
	border-radius: 4px;
	background: rgba(217, 107, 107, 0.24);
	border: 1px solid rgba(217, 107, 107, 0.55);
	color: #ff9f9f;
}

/* ── Drawer / Terminal [PDA] desplegable bajo el header derecho ── */
.fhv-pda-drawer {
	position: fixed;
	top: 78px;
	right: 20px;
	bottom: auto;
	z-index: 99991;
	width: 370px;
	max-width: calc(100vw - 24px);
	max-height: min(620px, calc(100vh - 96px));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 12px;
	background: #0d141e;
	border: 1px solid rgba(101, 184, 201, 0.44);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.68), 0 0 24px rgba(101, 184, 201, 0.14);
}

.admin-bar .fhv-pda-drawer {
	top: 110px;
	max-height: min(620px, calc(100vh - 128px));
}

@media (max-width: 768px) {
	.fhv-pda-fab--mobile-only {
		display: inline-flex;
	}
	.fhv-pda-drawer,
	.admin-bar .fhv-pda-drawer {
		top: auto;
		bottom: 70px;
		right: 12px;
		max-height: calc(100vh - 96px);
	}
}

.fhv-pda-drawer[hidden] {
	display: none !important;
}

.fhv-pda-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 15px;
	background: linear-gradient(135deg, #111c29 0%, #0a1018 100%);
	border-bottom: 1px solid rgba(101, 184, 201, 0.22);
}

.fhv-pda-drawer__kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #65b8c9;
}

.fhv-pda-drawer__status {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	font-weight: 700;
	color: #e7eef6;
	margin-top: 2px;
}

.fhv-pda-close {
	width: 30px;
	height: 30px;
	border-radius: 6px;
	border: 1px solid rgba(154, 178, 204, 0.25);
	background: rgba(22, 32, 45, 0.7);
	color: #c5d3e0;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.fhv-pda-close:hover {
	border-color: #65b8c9;
	color: #ffffff;
}

.fhv-pda-drawer__body {
	padding: 14px 15px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fhv-pda-loading {
	padding: 18px 8px;
	text-align: center;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	color: #7d91a8;
}

/* Estado offline roleplay */
.fhv-pda-offline {
	padding: 14px;
	border-radius: 8px;
	background: rgba(217, 107, 107, 0.08);
	border: 1px dashed rgba(217, 107, 107, 0.45);
	text-align: center;
}

.fhv-pda-offline__tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 4px;
	background: rgba(217, 107, 107, 0.18);
	color: #f39a9a;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
}

.fhv-pda-offline p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #b7c6d6;
}

.fhv-pda-offline__actions {
	display: flex;
	gap: 8px;
	justify-content: center;
}

/* Contenido conectado de la PDA */
.fhv-pda-sos {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 13px;
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(217, 107, 107, 0.16) 0%, rgba(17, 24, 34, 0.9) 100%);
	border: 1px solid rgba(217, 107, 107, 0.48);
	color: #f6e7e7 !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.fhv-pda-sos:hover {
	border-color: #f28d8d;
	transform: translateY(-1px);
}

.fhv-pda-sos__title {
	font-size: 13.5px;
	font-weight: 700;
	color: #fff2f2;
}

.fhv-pda-sos__sub {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
	color: #eab3b3;
	margin-top: 2px;
}

.fhv-pda-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.fhv-pda-stat {
	padding: 9px 10px;
	border-radius: 7px;
	background: #111924;
	border: 1px solid rgba(154, 178, 204, 0.14);
}

.fhv-pda-stat span {
	display: block;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 9.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #7d91a8;
}

.fhv-pda-stat strong {
	display: block;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 14px;
	margin-top: 2px;
	color: #e7eef6;
}

.fhv-pda-section-title {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #65b8c9;
	margin-bottom: 6px;
}

.fhv-pda-listings {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fhv-pda-listing {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	background: #111924;
	border: 1px solid rgba(154, 178, 204, 0.14);
	font-size: 12px;
	min-width: 0;
}

.fhv-pda-listing a {
	flex: 1 1 auto;
	min-width: 0;
	color: #dbe6f2;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fhv-pda-listing .fhv-mini-btn,
.fhv-pda-listing .fhv-rep-pill {
	flex-shrink: 0;
	white-space: nowrap;
}

.fhv-pda-listing a:hover {
	color: #65b8c9;
}

.fhv-pda-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.fhv-pda-link {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 6px;
	border-radius: 6px;
	background: #14202e;
	border: 1px solid rgba(101, 184, 201, 0.24);
	color: #cde3ec !important;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
	text-align: center;
}

.fhv-pda-link:hover {
	border-color: #65b8c9;
	background: #1b2c3f;
	color: #ffffff !important;
}

/* ── Modal de Diplomacia ── */
.fhv-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99995;
	background: rgba(5, 9, 14, 0.78);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.fhv-modal-backdrop[hidden] {
	display: none !important;
}

.fhv-modal-box {
	width: 100%;
	max-width: 540px;
	border-radius: 12px;
	background: #101721;
	border: 1px solid rgba(101, 184, 201, 0.38);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.65);
	overflow: hidden;
}

.fhv-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px;
	background: #0b1119;
	border-bottom: 1px solid rgba(101, 184, 201, 0.18);
}

.fhv-modal-kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.09em;
	color: #65b8c9;
}

.fhv-modal-title {
	margin: 3px 0 0;
	font-size: 17px;
	font-weight: 700;
	color: #eff5fb;
}

.fhv-modal-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fhv-dip-balance {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px;
	border-radius: 7px;
	background: rgba(101, 184, 201, 0.09);
	border: 1px solid rgba(101, 184, 201, 0.26);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 12px;
	color: #cfe4ec;
}

.fhv-dip-card {
	padding: 13px 14px;
	border-radius: 8px;
	background: #0b111a;
	border: 1px solid rgba(154, 178, 204, 0.18);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fhv-dip-card--green { border-color: rgba(100, 184, 140, 0.35); }
.fhv-dip-card--coral { border-color: rgba(217, 107, 107, 0.38); }

.fhv-dip-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.fhv-dip-card__title {
	font-size: 14px;
	font-weight: 700;
	color: #eef5fc;
}

.fhv-dip-card__cost {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	background: rgba(226, 189, 116, 0.14);
	color: #f0cf88;
}

.fhv-dip-card__desc {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.48;
	color: #9cb0c5;
}

.fhv-dip-input {
	width: 100%;
	padding: 8px 10px;
	border-radius: 6px;
	background: #121b27;
	border: 1px solid rgba(154, 178, 204, 0.22);
	color: #e7eef6;
	font-size: 12.5px;
}

.fhv-dip-btn {
	align-self: flex-end;
	padding: 7px 14px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid transparent;
}

.fhv-dip-btn--green {
	background: rgba(100, 184, 140, 0.18);
	border-color: rgba(100, 184, 140, 0.52);
	color: #9ae5be;
}

.fhv-dip-btn--green:hover:not(:disabled) {
	background: rgba(100, 184, 140, 0.3);
	color: #ffffff;
}

.fhv-dip-btn--coral {
	background: rgba(217, 107, 107, 0.18);
	border-color: rgba(217, 107, 107, 0.55);
	color: #f7a6a6;
}

.fhv-dip-btn--coral:hover:not(:disabled) {
	background: rgba(217, 107, 107, 0.32);
	color: #ffffff;
}

.fhv-dip-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Toast notifications */
.fhv-toast-stack {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fhv-toast {
	padding: 10px 14px;
	border-radius: 8px;
	background: #111b27;
	border: 1px solid rgba(101, 184, 201, 0.5);
	color: #eef5fc;
	font-size: 13px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
	max-width: 340px;
}

.fhv-toast--ok    { border-color: rgba(100, 184, 140, 0.65); }
.fhv-toast--error { border-color: rgba(217, 107, 107, 0.65); color: #ffd4d4; }

/* ── Botones interactivos de Maestrías (Expediente + PDA) y Modal Nivel I–V ── */
.fhv-exp-stat--interactive {
	text-align: left;
	cursor: pointer;
	width: 100%;
	font: inherit;
	transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.fhv-exp-stat--interactive:hover {
	border-color: rgba(101, 184, 201, 0.48);
	background: rgba(18, 28, 40, 0.86);
	transform: translateY(-1px);
}

.fhv-exp-stat__hint {
	opacity: 0.72;
	margin-left: 3px;
}

.fhv-pda-stat--btn {
	text-align: left;
	cursor: pointer;
	width: 100%;
	font: inherit;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.fhv-pda-stat--btn:hover {
	border-color: rgba(101, 184, 201, 0.5);
	background: rgba(22, 34, 48, 0.9);
}

.fhv-mastery-summary {
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(10, 15, 22, 0.8);
	border: 1px solid rgba(154, 178, 204, 0.16);
}

.fhv-mastery-summary__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
}

.fhv-mastery-summary__meta {
	display: flex;
	gap: 12px;
	font-size: 11.5px;
	color: #9cb0c5;
}

.fhv-mastery-summary__meta strong {
	color: #e7eef6;
}

.fhv-mastery-bar {
	height: 7px;
	border-radius: 99px;
	background: rgba(154, 178, 204, 0.15);
	overflow: hidden;
	margin-bottom: 8px;
}

.fhv-mastery-bar__fill {
	height: 100%;
	border-radius: 99px;
	transition: width 0.25s ease;
}

.fhv-mastery-next {
	margin: 0;
	font-size: 12.5px;
	color: #a9bccf;
}

.fhv-mastery-section {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fhv-tier-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.fhv-tier-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 10px;
	border-radius: 6px;
	background: rgba(10, 15, 22, 0.55);
	border: 1px solid rgba(154, 178, 204, 0.12);
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 11.5px;
	color: #8ea2b8;
	font-variant-numeric: tabular-nums;
}

.fhv-tier-row.is-done {
	color: #c2d4e4;
	border-color: rgba(100, 184, 140, 0.25);
}

.fhv-tier-row.is-current {
	background: rgba(101, 184, 201, 0.12);
	border-color: rgba(101, 184, 201, 0.48);
	color: #eef7fb;
	font-weight: 700;
}

.fhv-mastery-rules {
	margin: 0;
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12.5px;
	line-height: 1.48;
	color: #a9bccf;
}

.fhv-mastery-rules strong {
	color: #e7eef6;
}

/* ── Etiquetas [SID] globales de Organización (BuddyNext Feed, Perfil Hero y [PDA]) ── */
.fhv-org-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 7px;
	margin-right: 6px;
	border-radius: 5px;
	background: rgba(101, 184, 201, 0.14);
	border: 1px solid rgba(101, 184, 201, 0.42);
	color: #8ee0f0 !important;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.35;
	text-decoration: none !important;
	vertical-align: middle;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fhv-org-pill:hover {
	background: rgba(101, 184, 201, 0.24);
	border-color: #7fcad9;
	color: #ffffff !important;
}

.fhv-org-pill--hero {
	padding: 4px 10px;
	font-size: 11.5px;
	margin-right: 8px;
}

.fhv-pda-org-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 11px;
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(101, 184, 201, 0.11) 0%, rgba(17, 25, 36, 0.92) 100%);
	border: 1px solid rgba(101, 184, 201, 0.34);
	text-decoration: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.fhv-pda-org-card:hover {
	border-color: #7fcad9;
	transform: translateY(-1px);
}

.fhv-pda-org-card__left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.fhv-pda-org-card__left .fhv-org-pill {
	margin-right: 0;
	flex-shrink: 0;
}

.fhv-pda-org-card__name {
	font-size: 12.5px;
	font-weight: 700;
	color: #eef5fc;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fhv-pda-org-card__sub {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 9.5px;
	letter-spacing: 0.06em;
	color: #88a4bc;
}

.fhv-pda-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fhv-pda-links .fhv-pda-link {
	flex: 1 1 30%;
}


/* ── Integración 360° en Perfiles (/members/), Byline y [PDA] ─────────────── */
.fhv-rep-pill--academy {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(100, 184, 140, 0.16) !important;
	border: 1px solid rgba(100, 184, 140, 0.44) !important;
	color: #9bf2c3 !important;
}
.fhv-rep-pill--academy img { width: 13px; height: 13px; object-fit: contain; }

.fhv-rep-pill--hangar {
	background: rgba(226, 189, 116, 0.14) !important;
	border: 1px solid rgba(226, 189, 116, 0.42) !important;
	color: #ffe29e !important;
}

.fhv-exp-subpanel {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(154, 178, 204, 0.14);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fhv-exp-subpanel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.fhv-exp-subpanel__link {
	font-size: 12px;
	font-weight: 700;
	color: #7fcad9 !important;
	text-decoration: none !important;
}
.fhv-exp-subpanel__link:hover { color: #ffffff !important; }

.fhv-exp-badges-row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.fhv-exp-license-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 12px;
	border-radius: 9px;
	background: rgba(100, 184, 140, 0.11);
	border: 1px solid rgba(100, 184, 140, 0.42);
	text-decoration: none !important;
	transition: border-color 0.15s ease;
}
.fhv-exp-license-chip:hover { border-color: #8ee5b8; }
.fhv-exp-license-chip strong { display: block; font-size: 12px; color: #e8fff2; font-family: var(--fv-font-mono, monospace); }
.fhv-exp-license-chip small { display: block; font-size: 10px; color: #8ec9ab; font-family: var(--fv-font-mono, monospace); }

.fhv-exp-hangar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
	gap: 10px;
}

.fhv-exp-ship-card {
	display: flex;
	flex-direction: column;
	border-radius: 8px;
	overflow: hidden;
	background: rgba(8, 13, 21, 0.84);
	border: 1px solid rgba(154, 178, 204, 0.2);
	text-decoration: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.fhv-exp-ship-card:hover { border-color: #e2bd74; transform: translateY(-1px); }
.fhv-exp-ship-card img { width: 100%; height: 92px; object-fit: cover; display: block; }
.fhv-exp-ship-card > div { padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.fhv-exp-ship-card strong { font-size: 12.5px; color: #f0f7fd; }
.fhv-exp-ship-card span { font-size: 11px; color: #8fa6bc; }

.fhv-exp-lfg-list { display: flex; flex-direction: column; gap: 7px; }
.fhv-exp-lfg-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 9px 12px;
	border-radius: 8px;
	background: rgba(101, 184, 201, 0.09);
	border: 1px solid rgba(101, 184, 201, 0.28);
	text-decoration: none !important;
}
.fhv-exp-lfg-item strong { font-size: 13px; color: #eef7ff; }
.fhv-exp-lfg-item span { font-size: 11.5px; color: #95adc4; }
.fhv-exp-empty { margin: 0; font-size: 12.5px; color: #8ca3ba; }
.fhv-exp-empty a { color: #7fcad9; font-weight: 700; }

.fhv-pda-eco-strip {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
}
.fhv-pda-eco-tile {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(10, 17, 26, 0.9);
	border: 1px solid rgba(101, 184, 201, 0.24);
	text-decoration: none !important;
}
.fhv-pda-eco-tile:hover { border-color: #65b8c9; }
.fhv-pda-eco-tile span { font-size: 10.5px; color: #8ea6bd; text-transform: uppercase; font-family: var(--fv-font-mono, monospace); }
.fhv-pda-eco-tile strong { font-size: 13px; color: #f0f8ff; }

/* Insignia RSI Verificado + Modal "Contactar en el Verso" */
.fhv-rep-pill--rsi-ok {
	background: rgba(100, 184, 140, 0.16) !important;
	border-color: rgba(100, 184, 140, 0.45) !important;
	color: #82e3af !important;
}
.fhv-modal-box--sm { max-width: 440px; }
.fhv-cv-card {
	padding: 14px;
	border-radius: 9px;
	background: #0b111a;
	border: 1px solid rgba(101, 184, 201, 0.28);
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.fhv-cv-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.fhv-cv-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #7fa2be; font-family: var(--fv-font-mono, monospace); }
.fhv-cv-handle { font-size: 19px; font-weight: 700; color: #f4f9ff; font-family: var(--fv-font-mono, monospace); margin-top: 2px; }
.fhv-cv-unverified { font-size: 11px; color: #88a0b8; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(154, 178, 204, 0.22); }
.fhv-cv-org { font-size: 12.5px; color: #a8bfd4; }
.fhv-cv-copy-btn {
	width: 100%;
	padding: 9px 14px;
	border-radius: 7px;
	border: 1px solid rgba(101, 184, 201, 0.5);
	background: rgba(101, 184, 201, 0.16);
	color: #e8f9fc;
	font-weight: 700;
	font-size: 13.5px;
	cursor: pointer;
	transition: background 0.15s ease;
}
.fhv-cv-copy-btn:hover { background: rgba(101, 184, 201, 0.26); }
.fhv-cv-tip { margin: 0; font-size: 12px; line-height: 1.5; color: #8da6bf; }
.fhv-cv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fhv-cv-action {
	flex: 1 1 auto;
	text-align: center;
	padding: 8px 12px;
	border-radius: 7px;
	border: 1px solid rgba(154, 178, 204, 0.25);
	background: rgba(154, 178, 204, 0.08);
	color: #dce8f5 !important;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none !important;
}
.fhv-cv-action:hover { border-color: #65b8c9; color: #fff !important; }
.fhv-cv-action--primary {
	background: rgba(100, 184, 140, 0.16);
	border-color: rgba(100, 184, 140, 0.45);
	color: #9be8bf !important;
}

/* Tick verificado limpio estilo RRSS en el avatar del header (solo usuarios RSI verificados) */
body.fhv-user-rsi-verified .user-link-wrap > .user-link {
	position: relative !important;
	display: inline-flex !important;
	align-items: center;
}
body.fhv-user-rsi-verified .user-link-wrap > .user-link::after {
	content: "";
	position: absolute;
	right: -2px;
	bottom: -2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #25c2a0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.8 8.2L6.6 11L12.2 5.2' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
	border: 2px solid #0b111a;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
	pointer-events: none;
	z-index: 4;
}

/* Recordatorio sutil y descartable para verificar cuenta RSI */
.fhv-rsi-nudge {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 9990;
	max-width: 350px;
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 12px 14px;
	border-radius: 10px;
	background: rgba(13, 20, 30, 0.96);
	border: 1px solid rgba(101, 184, 201, 0.38);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(8px);
	color: #e7eef6;
	font-family: var(--fv-font-sans, 'Inter', sans-serif);
}
.fhv-rsi-nudge[hidden] { display: none !important; }
.fhv-rsi-nudge__icon {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(37, 194, 160, 0.18);
	border: 1px solid rgba(37, 194, 160, 0.5);
	color: #6ce8ca;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	margin-top: 1px;
}
.fhv-rsi-nudge__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.fhv-rsi-nudge__body strong { font-size: 13px; color: #f4f9ff; }
.fhv-rsi-nudge__body span { font-size: 11.8px; line-height: 1.45; color: #95adc4; }
.fhv-rsi-nudge__actions { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.fhv-rsi-nudge__cta {
	padding: 5px 11px;
	border-radius: 6px;
	background: rgba(37, 194, 160, 0.2);
	border: 1px solid rgba(37, 194, 160, 0.55);
	color: #9bf5df !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
}
.fhv-rsi-nudge__cta:hover { background: rgba(37, 194, 160, 0.32); color: #fff !important; }
.fhv-rsi-nudge__dismiss {
	padding: 4px 6px;
	border: 0;
	background: transparent;
	color: #7f98b0;
	font-size: 11.8px;
	cursor: pointer;
}
.fhv-rsi-nudge__dismiss:hover { color: #d5e4f2; }
.fhv-rsi-nudge__x {
	border: 0;
	background: transparent;
	color: #7f98b0;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
}
.fhv-rsi-nudge__x:hover { color: #fff; }
@media (max-width: 640px) {
	.fhv-rsi-nudge { left: 10px; right: 10px; bottom: 72px; max-width: none; }
}
