/* ==========================================================================
   CORE FEHIVER — Suite de Utilidades Tácticas SC (/utilidades-sc/)
   ========================================================================== */

.fhv-suite-app {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: #e7eef6;
}

.fhv-suite-hero {
	padding: 24px 26px 18px;
	border-radius: 13px;
	background:
		radial-gradient(ellipse 75% 100% at 96% 0%, rgba(101, 184, 201, 0.14), transparent 62%),
		radial-gradient(ellipse 60% 80% at 4% 100%, rgba(226, 189, 116, 0.09), transparent 60%),
		linear-gradient(180deg, rgba(16, 24, 35, 0.96), rgba(10, 16, 24, 0.98));
	border: 1px solid rgba(101, 184, 201, 0.30);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fhv-suite-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fhv-suite-kicker {
	font-family: var(--fv-font-mono, "JetBrains Mono", monospace);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #65b8c9;
}

.fhv-suite-pill {
	font-family: var(--fv-font-mono, monospace);
	font-size: 10px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(100, 184, 140, 0.14);
	border: 1px solid rgba(100, 184, 140, 0.36);
	color: #8ee5b8;
}

.fhv-suite-title { margin: 0; font-size: clamp(23px, 2.8vw, 30px); font-weight: 700; color: #f4f9fe; }
.fhv-suite-lead { margin: 0; font-size: 14px; line-height: 1.6; color: #b7c9db; max-width: 78ch; }

.fhv-suite-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(154, 178, 204, 0.14);
}

body.fehiver-scifi-theme button.fhv-suite-tab {
	padding: 9px 14px !important;
	border-radius: 8px !important;
	background: rgba(12, 20, 30, 0.9) !important;
	border: 1px solid rgba(154, 178, 204, 0.24) !important;
	color: #adc1d6 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
}

body.fehiver-scifi-theme button.fhv-suite-tab.is-active,
body.fehiver-scifi-theme button.fhv-suite-tab:hover {
	background: rgba(101, 184, 201, 0.22) !important;
	border-color: #65b8c9 !important;
	color: #f4fbff !important;
}

.fhv-suite-panel {
	padding: 22px 24px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(15, 23, 34, 0.96), rgba(10, 16, 24, 0.98));
	border: 1px solid rgba(154, 178, 204, 0.2);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fhv-suite-panel[hidden] { display: none !important; }
.fhv-suite-panel__head h2 { margin: 4px 0 6px; font-size: 20px; color: #f2f8fe; }
.fhv-suite-panel__head p { margin: 0; font-size: 13.5px; color: #a7bcd0; max-width: 78ch; }

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

@media (max-width: 960px) {
	.fhv-suite-grid-2 { grid-template-columns: 1fr; }
}

.fhv-suite-box {
	padding: 18px;
	border-radius: 10px;
	background: rgba(8, 13, 21, 0.82);
	border: 1px solid rgba(154, 178, 204, 0.16);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fhv-suite-box.is-highlight {
	border-color: rgba(101, 184, 201, 0.34);
}

.fhv-suite-field { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #b7cade; }
.fhv-suite-field input,
.fhv-suite-field select,
.fhv-suite-haul-form input {
	padding: 9px 11px !important;
	border-radius: 7px !important;
	background: #0a111c !important;
	border: 1px solid rgba(154, 178, 204, 0.26) !important;
	color: #eef5fc !important;
	font-size: 13.5px !important;
}

.fhv-suite-check { display: flex; align-items: center; gap: 9px; font-size: 13.2px; color: #cee0f0; cursor: pointer; }
.fhv-suite-check input { accent-color: #65b8c9; }

.fhv-suite-crew-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid rgba(154, 178, 204, 0.14); }
.fhv-suite-crew-list { display: flex; flex-direction: column; gap: 8px; }
.fhv-suite-crew-row { display: grid; grid-template-columns: 1fr 90px 36px; gap: 7px; align-items: center; }

.fhv-suite-kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.fhv-suite-kpi {
	flex: 1 1 150px;
	padding: 10px 14px;
	border-radius: 8px;
	background: rgba(14, 22, 33, 0.9);
	border: 1px solid rgba(101, 184, 201, 0.24);
}
.fhv-suite-kpi span { display: block; font-size: 11px; color: #8da4bb; }
.fhv-suite-kpi strong { font-family: var(--fv-font-mono, monospace); font-size: 17px; color: #8ee0f0; }
.fhv-suite-kpi.is-green strong { color: #8ee5b8; }

.fhv-suite-pay-rows { display: flex; flex-direction: column; gap: 8px; }
.fhv-suite-pay-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	background: rgba(15, 24, 36, 0.9);
	border: 1px solid rgba(154, 178, 204, 0.16);
}
.fhv-suite-pay-row strong { color: #f2f8fe; font-size: 14px; }
.fhv-suite-pay-row .fhv-pay-amt { font-family: var(--fv-font-mono, monospace); font-size: 15px; font-weight: 700; color: #8ee5b8; }
.fhv-suite-pay-row small { display: block; font-size: 11px; color: #8fa6bc; }

.fhv-suite-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fhv-suite-msg { font-size: 12.5px; color: #8ee5b8; font-weight: 600; }

body.fehiver-scifi-theme .fhv-suite-btn {
	padding: 9px 15px !important;
	border-radius: 7px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	cursor: pointer !important;
	border: 1px solid transparent !important;
	transition: all 0.15s ease !important;
}
body.fehiver-scifi-theme .fhv-suite-btn.is-primary { background: linear-gradient(135deg, #5cc0d4, #459fb2) !important; border-color: #94e2f2 !important; color: #051018 !important; }
body.fehiver-scifi-theme .fhv-suite-btn.is-ghost { background: rgba(154, 178, 204, 0.12) !important; border-color: rgba(154, 178, 204, 0.28) !important; color: #d6e5f3 !important; }
body.fehiver-scifi-theme .fhv-suite-btn.is-danger { background: rgba(217, 107, 107, 0.16) !important; border-color: rgba(217, 107, 107, 0.45) !important; color: #ffd2d2 !important; padding: 6px 8px !important; }

/* Escáner RS */
.fhv-suite-quick-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: #8ca3ba; }
body.fehiver-scifi-theme button.fhv-suite-chip {
	padding: 4px 9px !important;
	border-radius: 999px !important;
	background: rgba(101, 184, 201, 0.12) !important;
	border: 1px solid rgba(101, 184, 201, 0.34) !important;
	color: #9be8f7 !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}

.fhv-rs-result {
	padding: 14px 16px;
	border-radius: 9px;
	background: rgba(100, 184, 140, 0.12);
	border: 1px solid rgba(100, 184, 140, 0.42);
	color: #d9f8e8;
	font-size: 13.5px;
	line-height: 1.55;
}
.fhv-rs-result.is-unknown {
	background: rgba(226, 189, 116, 0.1);
	border-color: rgba(226, 189, 116, 0.38);
	color: #f3dfb0;
}

.fhv-suite-subhead { font-size: 13px; color: #cfe2f4; }
.fhv-suite-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fhv-suite-table th, .fhv-suite-table td { text-align: left; padding: 8px 9px; border-bottom: 1px solid rgba(154, 178, 204, 0.14); }
.fhv-suite-table th { color: #7fcad9; font-family: var(--fv-font-mono, monospace); font-size: 11px; text-transform: uppercase; }

/* Hauling */
.fhv-suite-haul-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fhv-suite-haul-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 8px; }
@media (max-width: 980px) { .fhv-suite-haul-form { grid-template-columns: 1fr 1fr; } }

.fhv-suite-haul-list { display: flex; flex-direction: column; gap: 8px; }
.fhv-haul-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 11px 14px;
	border-radius: 8px;
	background: rgba(8, 13, 21, 0.85);
	border: 1px solid rgba(154, 178, 204, 0.2);
}
.fhv-haul-item.is-done { opacity: 0.55; text-decoration: line-through; }

.fhv-suite-code {
	margin: 0;
	padding: 14px;
	border-radius: 8px;
	background: #060a10;
	border: 1px solid rgba(101, 184, 201, 0.26);
	color: #9be8f7;
	font-family: var(--fv-font-mono, "JetBrains Mono", monospace);
	font-size: 12.5px;
	line-height: 1.55;
	white-space: pre-wrap;
	min-height: 180px;
}
.fhv-suite-note { margin: 4px 0 0; font-size: 12.5px; color: #9ab2c8; }
.fhv-suite-note a { color: #7fcad9; font-weight: 700; }
.fhv-suite-help {
	display: block;
	margin-top: 4px;
	font-size: 11.8px;
	line-height: 1.45;
	color: #8ea6bd;
}


/* ── Ampliación USER.cfg + Logística Info + Sorteos ──────────────────────── */
.fhv-suite-pill.is-amber {
	background: rgba(226, 189, 116, 0.14);
	border-color: rgba(226, 189, 116, 0.42);
	color: #ffe29e;
}
.fhv-suite-pill.is-private {
	background: rgba(155, 138, 226, 0.16);
	border-color: rgba(155, 138, 226, 0.45);
	color: #d6ccff;
}
body.fehiver-scifi-theme .fhv-suite-btn.is-leave {
	background: rgba(217, 107, 107, 0.15) !important;
	border-color: rgba(217, 107, 107, 0.45) !important;
	color: #ffd0d0 !important;
}
body.fehiver-scifi-theme .fhv-suite-btn.is-leave:hover {
	background: rgba(217, 107, 107, 0.28) !important;
	border-color: rgba(242, 132, 132, 0.65) !important;
}

.fhv-suite-info-banner {
	padding: 12px 15px;
	border-radius: 9px;
	background: rgba(101, 184, 201, 0.1);
	border-left: 3px solid #65b8c9;
	font-size: 13px;
	line-height: 1.55;
	color: #cfe4f5;
}

.fhv-suite-2mini {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 10px;
}
@media (max-width: 640px) { .fhv-suite-2mini { grid-template-columns: 1fr; } }

body.fehiver-scifi-theme .fhv-suite-btn.is-amber {
	background: rgba(226, 189, 116, 0.22) !important;
	border-color: rgba(226, 189, 116, 0.6) !important;
	color: #ffebb8 !important;
}

.fhv-raffle-lookup {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.fhv-raffle-lookup input {
	flex: 1 1 240px;
	padding: 9px 12px !important;
	border-radius: 7px !important;
	background: #0a111c !important;
	border: 1px solid rgba(154, 178, 204, 0.28) !important;
	color: #eef5fc !important;
	font-size: 13.5px !important;
}

.fhv-raffle-detail {
	padding: 20px;
	border-radius: 11px;
	background: linear-gradient(160deg, rgba(16, 28, 42, 0.96), rgba(10, 16, 25, 0.98));
	border: 1.5px solid rgba(101, 184, 201, 0.45);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.fhv-raffle-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 14px;
	flex-wrap: wrap;
}
.fhv-raffle-head h3 { margin: 6px 0 0; font-size: 20px; color: #f4f9fe; }
.fhv-raffle-share { display: flex; flex-wrap: wrap; gap: 7px; }
.fhv-raffle-winner-box {
	padding: 16px 18px;
	border-radius: 10px;
	background: radial-gradient(ellipse 80% 100% at 100% 0%, rgba(100, 184, 140, 0.22), transparent 65%), rgba(10, 24, 20, 0.92);
	border: 1.5px solid rgba(100, 184, 140, 0.6);
	text-align: center;
}
.fhv-raffle-mywin { font-size: 16px; font-weight: 800; color: #9effc9; margin-bottom: 6px; }
.fhv-raffle-noluck { font-size: 13px; color: #c7d9e8; margin-bottom: 6px; }
.fhv-raffle-winners-names { font-size: 18px; color: #ffffff; margin-top: 4px; }
.fhv-raffle-join-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fhv-raffle-guest-join { display: flex; gap: 8px; flex-wrap: wrap; }
.fhv-raffle-guest-join input { padding: 8px 11px !important; border-radius: 7px !important; background: #0a111c !important; border: 1px solid rgba(154, 178, 204, 0.28) !important; color: #eef5fc !important; }
.fhv-raffle-joined { padding: 9px 13px; border-radius: 8px; background: rgba(100, 184, 140, 0.14); border: 1px solid rgba(100, 184, 140, 0.4); color: #b7f5d4; font-size: 13px; font-weight: 600; }
.fhv-raffle-participants { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(154, 178, 204, 0.14); }
.fhv-raffle-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fhv-raffle-chip { padding: 4px 9px; border-radius: 6px; background: rgba(8, 13, 21, 0.85); border: 1px solid rgba(154, 178, 204, 0.2); font-size: 12px; color: #d1e2f2; }
.fhv-raffle-list { display: flex; flex-direction: column; gap: 8px; }
.fhv-raffle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 8px; background: rgba(14, 22, 33, 0.88); border: 1px solid rgba(154, 178, 204, 0.16); }
