<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
	color: white;
	height: 100vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.header {
	padding: 20px;
	text-align: center;
	background: rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
	font-size: 2.2rem;
	margin-bottom: 10px;
	background: linear-gradient(to right, #43cea2, #185a9d);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
	font-size: 1.1rem;
	opacity: 0.8;
}

.container {
	display: flex;
	flex: 1;
	padding: 20px;
	gap: 20px;
	max-height: calc(100vh - 140px); /* Adjusted for header and footer */
}

.viewer-container {
	flex: 3; /* Make it larger since we removed the separate panorama container */
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
	background: rgba(0, 0, 0, 0.2);
	position: relative;
}

#viewer, #panorama-viewer {
	width: 100%;
	height: 100%;
	cursor: grab; /* Default cursor for dragging */
}

/* Override Photo Sphere Viewer styles to match our theme */
#panorama-viewer .psv-container {
	background: rgba(0, 0, 0, 0.8) !important;
	border-radius: 12px;
}

#panorama-viewer .psv-navbar {
	background: rgba(0, 0, 0, 0.8) !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#panorama-viewer .psv-button {
	background: rgba(255, 255, 255, 0.1) !important;
	color: white !important;
	border: none !important;
	transition: all 0.3s ease !important;
}

#panorama-viewer .psv-button:hover {
	background: rgba(67, 206, 162, 0.3) !important;
}

#panorama-viewer .psv-button--active {
	background: rgba(67, 206, 162, 0.6) !important;
}

#panorama-viewer .psv-zoom {
	background: rgba(0, 0, 0, 0.7) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 8px !important;
}

#panorama-viewer .psv-zoom-range {
	background: rgba(255, 255, 255, 0.2) !important;
}

#panorama-viewer .psv-zoom-range::-webkit-slider-thumb {
	background: #43cea2 !important;
}

#panorama-viewer .psv-zoom-range::-moz-range-thumb {
	background: #43cea2 !important;
}

#panorama-viewer .psv-loader {
	background: rgba(0, 0, 0, 0.9) !important;
}

/*#panorama-viewer .psv-loader-canvas {
	border: 3px solid rgba(255, 255, 255, 0.1) !important;
	border-top-color: #43cea2 !important;
}*/

#panorama-viewer .psv-loader-canvas {
	z-index: 10;
    background-color: rgba(0, 0, 0, 0);
}

.controls {
	flex: 1;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 380px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	overflow-y: auto; /* Allow scrolling if content overflows */
}

.control-group {
	background: rgba(0, 0, 0, 0.25);
	padding: 20px;
	border-radius: 10px;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

h2 {
	font-size: 1.4rem;
	margin-bottom: 15px;
	color: #43cea2;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
	background: linear-gradient(to right, #43cea2, #185a9d);
	color: white;
	border: none;
	padding: 14px 20px;
	border-radius: 50px;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	margin-top: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
	transform: translateY(1px);
}

.btn:disabled {
	background: #555;
	cursor: not-allowed;
	opacity: 0.7;
	transform: none;
}

.btn:disabled:hover {
	transform: none;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-vr {
	background: linear-gradient(to right, #f46b45, #eea849);
	padding: 16px;
	font-size: 1.2rem;
}

.btn-exit {
	background: linear-gradient(to right, #ff416c, #ff4b2b);
}

.btn-gallery {
	background: linear-gradient(to right, #8e44ad, #3498db);
}

.status {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 15px 0;
	padding: 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 1rem;
}

.status-indicator {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0; /* Prevent shrinking */
}

.status-ok {
	background: #43cea2;
	box-shadow: 0 0 10px #43cea2;
}

.status-warning {
	background: #eea849;
	box-shadow: 0 0 10px #eea849;
}

.status-error {
	background: #ff416c;
	box-shadow: 0 0 10px #ff416c;
}

.instructions {
	background: rgba(255, 255, 255, 0.05);
	padding: 16px;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.6;
}

.instructions p {
	margin-bottom: 10px;
	padding-left: 20px;
	position: relative;
}

.instructions p:before {
	content: "â€¢";
	position: absolute;
	left: 8px;
	color: #43cea2;
}

.instructions p:last-child {
	margin-bottom: 0;
}

.footer {
	text-align: center;
	padding: 15px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(0, 0, 0, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 100;
	transition: opacity 0.5s;
	opacity: 0; /* Initially hidden */
	pointer-events: none; /* Initially not interactive */
	border-radius: 12px;
}

.loading.visible {
	opacity: 1;
	pointer-events: auto;
}

.spinner {
	width: 70px;
	height: 70px;
	border: 8px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	border-top-color: #43cea2;
	animation: spin 1.5s linear infinite;
	margin-bottom: 25px;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

.loading-text {
	font-size: 1.3rem;
	text-align: center;
	max-width: 80%;
	margin-bottom: 30px;
	line-height: 1.4;
}

.progress-container {
	width: 80%;
	max-width: 400px;
	height: 10px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 5px;
	overflow: hidden;
}

.progress-bar {
	height: 100%;
	width: 0;
	background: linear-gradient(to right, #43cea2, #185a9d);
	transition: width 0.3s ease;
	border-radius: 5px;
}

.reference-space {
	margin: 15px 0;
	padding: 12px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	font-size: 0.95rem;
	text-align: center;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery Modal Styles */
.modal {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.7);
	backdrop-filter: blur(5px);
	animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.modal-content {
	background-color: #2c3e50;
	margin: 10% auto;
	padding: 30px;
	border: 1px solid rgba(255,255,255,0.2);
	width: 80%;
	max-width: 900px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
	position: relative;
	animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
	from { transform: translateY(-50px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.close-button {
	color: #aaa;
	float: right;
	font-size: 32px;
	font-weight: bold;
	transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
	color: #43cea2;
	text-decoration: none;
	cursor: pointer;
}

.modal-content h2 {
	margin-top: 0;
	color: #43cea2;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	padding-bottom: 15px;
	margin-bottom: 20px;
}

#gallery-items-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	max-height: 60vh;
	overflow-y: auto;
	padding-right: 10px; /* For scrollbar */
}

/* Custom scrollbar for gallery items */
#gallery-items-container::-webkit-scrollbar {
	width: 8px;
}

#gallery-items-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

#gallery-items-container::-webkit-scrollbar-thumb {
	background: rgba(67, 206, 162, 0.6);
	border-radius: 4px;
}

#gallery-items-container::-webkit-scrollbar-thumb:hover {
	background: rgba(67, 206, 162, 0.8);
}

.gallery-item {
	background: rgba(0,0,0,0.3);
	border-radius: 8px;
	padding: 15px;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid rgba(255,255,255,0.1);
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.4);
	border-color: #43cea2;
}

.gallery-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 10px;
	background-color: rgba(0,0,0,0.2); /* Placeholder bg if image fails */
}

.gallery-item h3 {
	font-size: 1.1rem;
	color: #ecf0f1;
	margin-bottom: 5px;
}

.gallery-item p {
	font-size: 0.9rem;
	color: #bdc3c7;
	line-height: 1.4;
}


/* Custom scrollbar for controls */
.controls::-webkit-scrollbar {
	width: 8px;
}

.controls::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
}

.controls::-webkit-scrollbar-thumb {
	background: rgba(67, 206, 162, 0.6);
	border-radius: 4px;
}

.controls::-webkit-scrollbar-thumb:hover {
	background: rgba(67, 206, 162, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
	.container {
		flex-direction: column;
		max-height: none; /* Allow full scroll on smaller screens */
		overflow-y: auto;
	}
	
	.viewer-container {
		min-height: 50vh; /* Ensure viewer has good height */
		flex: none;
	}
	
	.controls {
		max-width: 100%;
		order: 2; /* Controls below viewer */
		flex: none;
		max-height: 40vh;
	}
}

@media (max-width: 768px) {
	body {
		overflow-y: auto; /* Allow scrolling on mobile */
	}
	
	.header {
		padding: 15px;
	}
	
	h1 {
		font-size: 1.8rem;
	}
	
	.subtitle {
		font-size: 1rem;
	}
	
	.container {
		padding: 15px;
		gap: 15px;
		flex-direction: column;
	}
	
	.viewer-container {
		min-height: 40vh;
	}
	
	.controls {
		padding: 15px;
		gap: 15px;
		max-height: none; /* Remove height restriction on mobile */
	}
	
	.control-group {
		padding: 15px;
	}
	
	h2 {
		font-size: 1.2rem;
	}
	
	.btn {
		padding: 12px 16px;
		font-size: 1rem;
	}
	
	.btn-vr {
		padding: 14px 16px;
		font-size: 1.1rem;
	}
	
	.status {
		padding: 12px;
		font-size: 0.95rem;
	}
	
	.instructions {
		font-size: 0.9rem;
		padding: 14px;
	}
	
	.footer {
		padding: 12px;
		font-size: 0.9rem;
	}
	
	.loading-text {
		font-size: 1.1rem;
		margin-bottom: 20px;
	}
	
	.spinner {
		width: 50px;
		height: 50px;
		border-width: 6px;
		margin-bottom: 20px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 10px;
		gap: 10px;
	}
	
	.viewer-container {
		min-height: 35vh;
	}
	
	.header {
		padding: 10px;
	}
	
	h1 {
		font-size: 1.5rem;
		margin-bottom: 5px;
	}
	
	.subtitle {
		font-size: 0.9rem;
	}
	
	.control-group {
		padding: 12px;
	}
	
	.controls {
		padding: 12px;
		gap: 12px;
	}
	
	.btn {
		padding: 10px 14px;
		font-size: 0.95rem;
	}
	
	.btn-vr {
		padding: 12px 14px;
		font-size: 1rem;
	}
	
	.status {
		padding: 10px;
		font-size: 0.9rem;
		gap: 8px;
	}
	
	.status-indicator {
		width: 12px;
		height: 12px;
	}
	
	.instructions {
		font-size: 0.85rem;
		padding: 12px;
		line-height: 1.5;
	}
	
	.instructions p {
		padding-left: 16px;
	}
	
	.instructions p:before {
		left: 6px;
	}
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.status-indicator {
		border: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.spinner {
		border-width: 6px;
	}
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
	/* Already dark by default, but we can enhance it */
	body {
		background: linear-gradient(135deg, #0a1a1f, #1a2f38, #243540);
	}
	
	.status-ok {
		box-shadow: 0 0 15px rgba(67, 206, 162, 0.4);
	}
	
	.status-warning {
		box-shadow: 0 0 15px rgba(238, 168, 73, 0.4);
	}
	
	.status-error {
		box-shadow: 0 0 15px rgba(255, 65, 108, 0.4);
	}
}

/* Focus styles for accessibility */
.btn:focus,
#panorama-viewer .psv-button:focus {
	outline: 2px solid #43cea2;
	outline-offset: 2px;
}

/* Print styles */
@media print {
	body {
		background: white;
		color: black;
	}
	
	.container {
		flex-direction: column;
	}
	
	.viewer-container {
		border: 2px solid #ccc;
	}
	
	.controls {
		display: none; /* Hide controls in print */
	}
}</pre></body></html>