:root {
	--bg-primary: #070a0f;
	--bg-secondary: #0e141f;
	--bg-card: #121b29;
	--bg-card-hover: #172336;
	--border-color: #1e3048;
	--border-bright: #2d4a70;
	
	--text-primary: #e6f1ff;
	--text-secondary: #8da4c4;
	--text-muted: #536988;

	--neon-green: #00ff88;
	--neon-green-glow: rgba(0, 255, 136, 0.35);
	--neon-red: #ff2a5f;
	--neon-red-glow: rgba(255, 42, 95, 0.4);
	--neon-amber: #ffaa00;
	--neon-amber-glow: rgba(255, 170, 0, 0.35);
	--neon-cyan: #00e5ff;
	--neon-cyan-glow: rgba(0, 229, 255, 0.35);
	--neon-purple: #bd00ff;

	--font-display: 'Orbitron', 'Chakra Petch', monospace;
	--font-tech: 'Chakra Petch', monospace;
	--font-mono: 'JetBrains Mono', monospace;
}

[data-theme="phosphor"] {
	--bg-primary: #040d06;
	--bg-secondary: #07170a;
	--bg-card: #0c210f;
	--border-color: #153e1a;
	--border-bright: #205c28;
	--neon-cyan: #55ff77;
	--neon-green: #33ff55;
	--neon-green-glow: rgba(51, 255, 85, 0.4);
}

[data-theme="cyberpunk"] {
	--bg-primary: #0a0612;
	--bg-secondary: #140b24;
	--bg-card: #1f1238;
	--border-color: #3d2370;
	--border-bright: #683dbd;
	--neon-cyan: #00f0ff;
	--neon-green: #00ff66;
	--neon-red: #ff0055;
	--neon-amber: #ffe600;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	user-select: none;
	-webkit-user-select: none;
}

body {
	background-color: var(--bg-primary);
	color: var(--text-primary);
	font-family: var(--font-tech);
	min-height: 100vh;
	overflow-x: hidden;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
}

/* CRT Scanlines and Screen Curvature */
.crt-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 9999;
	background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
	background-size: 100% 3px, 6px 100%;
	opacity: 0.65;
}

.crt-vignette {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 9998;
	box-shadow: inset 0 0 100px rgba(0,0,0,0.85);
}

.app-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 1rem;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
	z-index: 1;
}

/* Header & Machine Status */
.header-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1.25rem;
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	gap: 0.75rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.brand-section {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.brand-logo {
	width: 36px;
	height: 36px;
	background: radial-gradient(circle, var(--neon-cyan) 10%, rgba(0, 229, 255, 0.1) 70%);
	border: 2px solid var(--neon-cyan);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: var(--font-display);
	font-weight: 900;
	box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.brand-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: 0.12em;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.badge-version {
	font-size: 0.65rem;
	background: rgba(0, 229, 255, 0.15);
	border: 1px solid var(--neon-cyan);
	color: var(--neon-cyan);
	padding: 2px 6px;
	border-radius: 4px;
	font-family: var(--font-mono);
	letter-spacing: 0.05em;
}

.machine-telemetry {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.telemetry-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-family: var(--font-mono);
	color: var(--text-secondary);
}

.led-indicator {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #333;
	transition: all 0.2s ease;
}

.led-indicator.active-green {
	background: var(--neon-green);
	box-shadow: 0 0 10px var(--neon-green);
}

.led-indicator.active-red {
	background: var(--neon-red);
	box-shadow: 0 0 10px var(--neon-red);
	animation: pulse-red 0.6s infinite alternate;
}

.led-indicator.active-amber {
	background: var(--neon-amber);
	box-shadow: 0 0 10px var(--neon-amber);
	animation: pulse-amber 1s infinite alternate;
}

.led-indicator.active-cyan {
	background: var(--neon-cyan);
	box-shadow: 0 0 10px var(--neon-cyan);
}

@keyframes pulse-red {
	from { opacity: 0.4; filter: drop-shadow(0 0 2px var(--neon-red)); }
	to { opacity: 1; filter: drop-shadow(0 0 10px var(--neon-red)); }
}

@keyframes pulse-amber {
	from { opacity: 0.5; }
	to { opacity: 1; }
}

/* Nav Tabs */
.nav-strip {
	display: flex;
	gap: 0.5rem;
	background: var(--bg-secondary);
	padding: 0.4rem;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	overflow-x: auto;
}

.nav-tab {
	flex: 1;
	min-width: 130px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--text-secondary);
	font-family: var(--font-tech);
	font-weight: 600;
	font-size: 0.85rem;
	padding: 0.55rem 0.8rem;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nav-tab:hover {
	background: var(--bg-card);
	color: var(--text-primary);
}

.nav-tab.active {
	background: var(--bg-card);
	color: var(--neon-cyan);
	border-color: var(--neon-cyan);
	box-shadow: 0 0 12px var(--neon-cyan-glow);
}

/* Main Grid Layout */
.main-dashboard {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 1rem;
	flex: 1;
}

@media (max-width: 1024px) {
	.main-dashboard {
		grid-template-columns: 1fr;
	}
}

/* Polygraph Charts & Screen */
.panel {
	background: var(--bg-secondary);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
}

.panel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 0.6rem;
}

.panel-title {
	font-family: var(--font-display);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: var(--text-primary);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Question Banner */
.interrogation-banner {
	background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.08) 0%, rgba(14, 20, 31, 0.9) 100%);
	border: 1px solid var(--border-bright);
	border-radius: 8px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.banner-tag {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--neon-cyan);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.question-text {
	font-family: var(--font-tech);
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	min-height: 2.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.question-controls {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

/* Chart Canvas Section */
.oscilloscope-box {
	background: #03080d;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	position: relative;
	overflow: hidden;
	height: 270px;
	box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.polygraph-canvas {
	width: 100%;
	height: 100%;
	display: block;
}

.channel-legend {
	position: absolute;
	top: 8px;
	left: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	pointer-events: none;
	background: rgba(3, 8, 13, 0.85);
	padding: 6px 10px;
	border-radius: 4px;
	border: 1px solid rgba(255,255,255,0.1);
	font-family: var(--font-mono);
	font-size: 0.7rem;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.legend-color {
	width: 12px;
	height: 3px;
	border-radius: 2px;
}

/* Biometric Sensor Meters */
.metrics-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
}

@media (max-width: 680px) {
	.metrics-strip {
		grid-template-columns: repeat(2, 1fr);
	}
}

.metric-card {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	transition: all 0.2s ease;
}

.metric-card.spike {
	border-color: var(--neon-red);
	box-shadow: 0 0 10px var(--neon-red-glow);
	animation: shake 0.3s ease;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-3px); }
	40%, 80% { transform: translateX(3px); }
}

.metric-label {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--text-muted);
	display: flex;
	justify-content: space-between;
}

.metric-val {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
}

.metric-unit {
	font-size: 0.7rem;
	font-family: var(--font-mono);
	color: var(--text-secondary);
}

.metric-bar-bg {
	width: 100%;
	height: 6px;
	background: rgba(255,255,255,0.06);
	border-radius: 3px;
	overflow: hidden;
}

.metric-bar-fill {
	height: 100%;
	border-radius: 3px;
	transition: width 0.15s ease, background-color 0.2s ease;
}

/* Live Stress Needle / VU Meter */
.analog-meter-container {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	position: relative;
	overflow: hidden;
}

.needle-arc-svg {
	width: 100%;
	max-width: 280px;
	height: 120px;
}

.meter-readout-text {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: 0.05em;
}

/* Fingerprint Biometric Scanner Pad */
.scanner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1.5rem 1rem;
	background: radial-gradient(circle at 50% 50%, rgba(14, 20, 31, 0.8) 0%, rgba(7, 10, 15, 0.95) 100%);
	border: 1px dashed var(--border-bright);
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}

.fingerprint-touchpad {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(14, 20, 31, 0.6) 80%);
	border: 2px solid var(--neon-cyan);
	box-shadow: 0 0 20px var(--neon-cyan-glow), inset 0 0 20px rgba(0, 229, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all 0.2s ease;
	outline: none;
}

.fingerprint-touchpad:hover {
	transform: scale(1.03);
	border-color: #fff;
}

.fingerprint-touchpad.active-scanning {
	border-color: var(--neon-amber);
	box-shadow: 0 0 30px var(--neon-amber-glow), inset 0 0 25px rgba(255, 170, 0, 0.3);
	animation: pulse-ring 1s infinite alternate;
}

.fingerprint-touchpad.status-lie {
	border-color: var(--neon-red);
	box-shadow: 0 0 40px var(--neon-red-glow), inset 0 0 30px rgba(255, 42, 95, 0.4);
}

.fingerprint-touchpad.status-truth {
	border-color: var(--neon-green);
	box-shadow: 0 0 40px var(--neon-green-glow), inset 0 0 30px rgba(0, 255, 136, 0.4);
}

@keyframes pulse-ring {
	0% { transform: scale(1); }
	100% { transform: scale(1.06); }
}

.laser-scan-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #fff;
	box-shadow: 0 0 10px #fff, 0 0 20px var(--neon-cyan);
	animation: laser-sweep 1.4s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes laser-sweep {
	0% { top: 10%; opacity: 0.3; }
	50% { opacity: 1; }
	100% { top: 85%; opacity: 0.3; }
}

.touchpad-caption {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-secondary);
	text-align: center;
	letter-spacing: 0.05em;
}

/* Verdict Display Stage */
.verdict-box {
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	animation: stamp-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

@keyframes stamp-in {
	0% { transform: scale(1.25); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

.verdict-truth {
	background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.15) 0%, rgba(7, 26, 16, 0.8) 100%);
	border: 2px solid var(--neon-green);
	box-shadow: 0 0 30px var(--neon-green-glow);
}

.verdict-lie {
	background: radial-gradient(circle at 50% 50%, rgba(255, 42, 95, 0.2) 0%, rgba(31, 7, 14, 0.85) 100%);
	border: 2px solid var(--neon-red);
	box-shadow: 0 0 40px var(--neon-red-glow);
	animation: strobe 0.5s infinite alternate;
}

@keyframes strobe {
	0% { box-shadow: 0 0 25px var(--neon-red-glow); }
	100% { box-shadow: 0 0 50px rgba(255, 42, 95, 0.8); }
}

.verdict-inconclusive {
	background: radial-gradient(circle at 50% 50%, rgba(255, 170, 0, 0.15) 0%, rgba(31, 23, 7, 0.8) 100%);
	border: 2px solid var(--neon-amber);
	box-shadow: 0 0 30px var(--neon-amber-glow);
}

.verdict-title {
	font-family: var(--font-display);
	font-size: 2.2rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
}

.verdict-subtitle {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--text-primary);
	max-width: 400px;
}

/* Action Buttons */
.btn-cyber {
	background: var(--bg-card);
	border: 1px solid var(--border-bright);
	color: var(--text-primary);
	font-family: var(--font-tech);
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0.55rem 1rem;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: all 0.15s ease;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	outline: none;
}

.btn-cyber:hover {
	background: var(--bg-card-hover);
	border-color: var(--neon-cyan);
	color: #fff;
	box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.btn-cyber.primary {
	background: linear-gradient(135deg, rgba(0, 229, 255, 0.25) 0%, rgba(0, 110, 255, 0.25) 100%);
	border-color: var(--neon-cyan);
	color: #fff;
}

.btn-cyber.danger {
	background: rgba(255, 42, 95, 0.2);
	border-color: var(--neon-red);
	color: #fff;
}

.btn-cyber.danger:hover {
	box-shadow: 0 0 12px var(--neon-red-glow);
}

.btn-cyber.sm {
	padding: 0.35rem 0.65rem;
	font-size: 0.75rem;
}

/* Sidebar & Auxiliary Panels */
.side-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Suspect Profile Card */
.suspect-card {
	display: flex;
	gap: 0.75rem;
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 0.75rem;
	align-items: center;
}

.suspect-avatar {
	width: 50px;
	height: 50px;
	border-radius: 6px;
	background: #08101a;
	border: 1px solid var(--border-bright);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	position: relative;
	overflow: hidden;
}

.suspect-avatar::after {
	content: '';
	position: absolute;
	inset: 0;
	border: 1px solid var(--neon-cyan);
	opacity: 0.4;
}

.suspect-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.suspect-name-input {
	background: transparent;
	border: none;
	border-bottom: 1px dashed var(--border-bright);
	color: #fff;
	font-family: var(--font-tech);
	font-weight: 700;
	font-size: 0.95rem;
	outline: none;
	padding: 2px 0;
	width: 100%;
}

.suspect-name-input:focus {
	border-bottom-color: var(--neon-cyan);
}

.suspect-meta {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	color: var(--text-muted);
}

/* Camera HUD / Face Tracker Simulation */
.camera-feed-box {
	background: #000;
	border: 1px solid var(--border-color);
	border-radius: 6px;
	position: relative;
	overflow: hidden;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.camera-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scaleX(-1);
}

.camera-video.thermal-mode {
	filter: contrast(200%) saturate(300%) hue-rotate(180deg) invert(100%);
}

.camera-hud-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 8px;
}

.hud-target-box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100px;
	height: 100px;
	border: 1px dashed var(--neon-cyan);
	box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
	border-radius: 4px;
}

.hud-target-box::before, .hud-target-box::after {
	content: '';
	position: absolute;
	width: 10px;
	height: 10px;
	border-color: var(--neon-cyan);
	border-style: solid;
}

.hud-target-box::before {
	top: -2px; left: -2px;
	border-width: 2px 0 0 2px;
}

.hud-target-box::after {
	bottom: -2px; right: -2px;
	border-width: 0 2px 2px 0;
}

.hud-data-badge {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	background: rgba(0,0,0,0.7);
	padding: 2px 6px;
	border-radius: 3px;
	color: var(--neon-cyan);
	border: 1px solid rgba(0, 229, 255, 0.3);
	display: inline-block;
	align-self: flex-start;
}

/* Prank / Rigged Party Zone */
.prank-panel {
	background: #110d1a;
	border: 1px dashed #4e2978;
	border-radius: 8px;
	padding: 0.9rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.prank-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: #bf8eff;
}

.prank-keys-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.35rem;
}

.prank-btn {
	background: #1c142e;
	border: 1px solid #4a2e7c;
	color: #d1b8ff;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	padding: 0.4rem 0.2rem;
	border-radius: 4px;
	cursor: pointer;
	text-align: center;
	transition: all 0.15s ease;
}

.prank-btn:hover {
	background: #331e57;
	border-color: #a855f7;
	color: #fff;
}

.prank-btn.armed {
	background: #6b21a8;
	border-color: #d8b4fe;
	color: #fff;
	font-weight: 800;
	box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Dossier / Case History Table */
.dossier-table-wrap {
	max-height: 400px;
	overflow-y: auto;
	border: 1px solid var(--border-color);
	border-radius: 6px;
}

.dossier-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-mono);
	font-size: 0.8rem;
}

.dossier-table th {
	background: var(--bg-card);
	color: var(--text-secondary);
	padding: 0.6rem 0.75rem;
	text-align: left;
	font-weight: 600;
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 2;
}

.dossier-table td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-primary);
}

.dossier-table tr:hover {
	background: rgba(255,255,255,0.02);
}

.stamp-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 800;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.stamp-tag.truth {
	background: rgba(0, 255, 136, 0.15);
	border: 1px solid var(--neon-green);
	color: var(--neon-green);
}

.stamp-tag.lie {
	background: rgba(255, 42, 95, 0.15);
	border: 1px solid var(--neon-red);
	color: var(--neon-red);
}

.stamp-tag.inconclusive {
	background: rgba(255, 170, 0, 0.15);
	border: 1px solid var(--neon-amber);
	color: var(--neon-amber);
}

/* Modal / Report Export View */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.8);
	backdrop-filter: blur(4px);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal-card {
	background: var(--bg-secondary);
	border: 1px solid var(--border-bright);
	border-radius: 8px;
	max-width: 650px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.report-paper {
	background: #040910;
	border: 1px solid var(--border-color);
	padding: 1.25rem;
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: #9ab4d6;
	line-height: 1.6;
	white-space: pre-wrap;
}

/* Secret stealth corner dot */
.stealth-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	display: inline-block;
}

/* Sound volume slider & Switch */
.audio-controls {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.custom-range {
	accent-color: var(--neon-cyan);
	height: 4px;
	width: 70px;
}

/* Question pack drawer */
.pack-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 0.5rem;
}

.pack-chip {
	background: var(--bg-card);
	border: 1px solid var(--border-color);
	border-radius: 6px;
	padding: 0.5rem;
	font-size: 0.75rem;
	cursor: pointer;
	text-align: center;
	transition: all 0.15s ease;
	color: var(--text-secondary);
}

.pack-chip:hover {
	border-color: var(--border-bright);
	color: #fff;
}

.pack-chip.active {
	border-color: var(--neon-cyan);
	color: var(--neon-cyan);
	background: rgba(0, 229, 255, 0.1);
}

/* Footer status bar */
.footer-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	font-family: var(--font-mono);
	color: var(--text-muted);
	border-top: 1px solid var(--border-color);
	flex-wrap: wrap;
	gap: 0.5rem;
}
