/* THEME: Military — Tactical HUD / CRT Terminal */

.psyern-lb--military {
	--psyern-bg: #0a0f0a;
	background: #0a0f0a;
	color: #4ade80;
	font-family: 'Share Tech Mono', 'Courier New', monospace;
	border: 1px solid #1a3a1a;
	border-radius: 2px;
}

/* Scanline overlay */
.psyern-lb--military::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(0, 0, 0, 0.15) 2px,
		rgba(0, 0, 0, 0.15) 4px
	);
	pointer-events: none;
	z-index: 1;
}

/* CRT flicker */
.psyern-lb--military::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(74, 222, 128, 0.02);
	pointer-events: none;
	z-index: 1;
	animation: psyern-crt-flicker 0.1s infinite alternate;
}

@keyframes psyern-crt-flicker {
	0% { opacity: 0.97; }
	100% { opacity: 1; }
}

/* Pixel noise background */
.psyern-lb--military {
	background-image:
		url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* Header */
.psyern-lb--military .psyern-lb__header {
	border-bottom: 1px dashed #2a4a2a;
}

.psyern-lb--military .psyern-lb__title {
	font-family: 'Oswald', sans-serif;
	color: #86efac;
	text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.psyern-lb--military .psyern-lb__title::before {
	content: '[CLASSIFIED] ';
	font-size: 0.6em;
	opacity: 0.6;
}

.psyern-lb--military .psyern-lb__meta {
	color: #3a7a3a;
}

/* Mode buttons */
.psyern-lb--military .psyern-lb__mode-btn {
	color: #3a7a3a;
	border: 1px solid #2a4a2a;
}

.psyern-lb--military .psyern-lb__mode-btn.active {
	color: #4ade80;
	border-color: #4ade80;
	background: rgba(74, 222, 128, 0.1);
	box-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
}

/* Limit buttons */
.psyern-lb--military .psyern-lb__limit-btn {
	color: #3a7a3a;
	border-color: #2a4a2a;
}

.psyern-lb--military .psyern-lb__limit-btn.active {
	color: #4ade80;
	border-color: #4ade80;
}

/* Top 3 */
.psyern-lb--military .psyern-lb__top3-card {
	background: #0d150d;
	border: 1px solid #1a3a1a;
}

.psyern-lb--military .psyern-lb__top3-card--1 {
	border-color: #4ade80;
	box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
	animation: psyern-mil-pulse 2s ease-in-out infinite;
}

@keyframes psyern-mil-pulse {
	0%, 100% { box-shadow: 0 0 20px rgba(74, 222, 128, 0.2); }
	50% { box-shadow: 0 0 30px rgba(74, 222, 128, 0.4); }
}

.psyern-lb--military .psyern-lb__top3-rank {
	color: #86efac;
}

.psyern-lb--military .psyern-lb__top3-name::before {
	content: '> ';
	animation: psyern-cursor-blink 1s step-end infinite;
}

@keyframes psyern-cursor-blink {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}

.psyern-lb--military .psyern-lb__top3-avatar {
	border: 2px solid #2a4a2a;
	filter: grayscale(50%) brightness(0.8);
}

/* Table */
.psyern-lb--military .psyern-lb__table th {
	color: #3a7a3a;
	border-bottom: 1px solid #1a3a1a;
	font-family: 'Share Tech Mono', monospace;
}

.psyern-lb--military .psyern-lb__table td {
	border-bottom: 1px solid rgba(42, 74, 42, 0.3);
}

.psyern-lb--military .psyern-lb__table tbody tr:hover {
	background: rgba(74, 222, 128, 0.05);
}

.psyern-lb--military .psyern-lb__name::before {
	content: '\25B6  ';
	font-size: 0.6em;
	color: #3a7a3a;
}

.psyern-lb--military .psyern-lb__rank {
	color: #86efac;
}

.psyern-lb--military .psyern-lb__kd {
	color: #4ade80;
	text-shadow: 0 0 4px rgba(74, 222, 128, 0.4);
}

.psyern-lb--military .psyern-lb__avatar {
	filter: grayscale(60%) brightness(0.8);
	border: 1px solid #2a4a2a;
}

.psyern-lb--military .psyern-lb__loading {
	color: #3a7a3a;
}

/* Separator */
.psyern-lb--military .psyern-lb__separator {
	border: none;
	border-top: 1px dashed #2a4a2a;
	margin: 16px 0;
	letter-spacing: 4px;
}
