/* Scene list modal and content */
.scene-list-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(15px); z-index: 1100; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.scene-list-modal.show { opacity: 1; visibility: visible; }
.scene-list-content { background: rgba(26,26,26,0.95); backdrop-filter: blur(20px); border: 2px solid rgba(134,38,51,0.5); border-radius: 20px; max-width: 800px; width: 90%; max-height: 80vh; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); transform: translateY(20px); transition: transform 0.3s ease; }
.scene-list-modal.show .scene-list-content { transform: translateY(0); }
.scene-list-header { padding: 1.5rem 2rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
.scene-list-header h5 { font-size: 1.3rem; font-weight: 600; color: #fff; margin: 0; }
.scene-list-header .control-btn { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.scene-list-header .control-btn:hover { background: rgba(134, 38, 51, 0.8); }
.scene-list-body { max-height: calc(80vh - 100px); overflow-y: auto; padding: 1rem 0; }
.scene-list-body::-webkit-scrollbar { width: 6px; }
.scene-list-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 3px; }
.scene-list-body::-webkit-scrollbar-thumb { background: rgba(134,38,51,0.6); border-radius: 3px; }
.scene-list-body::-webkit-scrollbar-thumb:hover { background: rgba(134,38,51,0.8); }
.scene-item { padding: 1rem 2rem; color: #fff; transition: all 0.3s ease; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer; display: flex; align-items: center; gap: 1rem; position: relative; overflow: hidden; }
.scene-item::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(134,38,51,0.2), transparent); transition: left 0.5s ease; }
.scene-item:hover::before { left: 100%; }
.scene-item:hover { background: rgba(134,38,51,0.2); transform: translateX(5px); }
.scene-item.active { background: rgba(134,38,51,0.4); border-left: 4px solid #D4AF37; }
.scene-item:last-child { border-bottom: none; }
.scene-number { width: 30px; height: 30px; background: rgba(134,38,51,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; color: #fff; border: 2px solid rgba(255,255,255,0.2); transition: all 0.3s ease; z-index: 1; }
.scene-number i { font-size: 1rem; color: #fff; }
.scene-item.active .scene-number { background: #D4AF37; color: #1a1a1a; border-color: #D4AF37; transform: scale(1.1); }
.scene-info { flex: 1; z-index: 1; }
.scene-info h6 { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 0.3rem 0; }
.scene-info small { font-size: 0.85rem; color: rgba(255,255,255,0.7); display: block; }

/* Loading spinner */
.loading-spinner { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2000; display: none; }
.loading-spinner.active { display: block; }
.spinner-border { width: 3rem; height: 3rem; border: 0.25em solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Error message */
.error-message { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(220,53,69,0.9); color: #fff; padding: 1rem 2rem; border-radius: 10px; backdrop-filter: blur(10px); border: 1px solid rgba(220,53,69,0.5); z-index: 2000; text-align: center; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Info hotspots */
.info-hotspot { position: absolute; z-index: 10; }
.info-hotspot-icon { width: 35px; height: 40px; background: rgba(134,38,51,0.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 10px rgba(0,0,0,0.3); animation: pulse 2s infinite; }
@media (hover: hover) and (pointer: fine) {
	.info-hotspot-icon:hover { background: rgba(134,38,51,1); transform: scale(1.1); box-shadow: 0 4px 20px rgba(134,38,51,0.6); }
}
.info-hotspot-icon i { color: #fff; font-size: 20px; }
.info-hotspot-tooltip { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); background: rgba(26,26,26,0.9); color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.85rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.info-hotspot-tooltip.visible { opacity: 1; }
.info-hotspot-tooltip h6 { margin: 0 0 0.3rem 0; font-size: 0.9rem; font-weight: 600; }
.info-hotspot-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: rgba(26,26,26,0.9); }

/* Mobile tooltip for info hotspots */
.mobile-tooltip { 
	background: rgba(26,26,26,0.95); 
	backdrop-filter: blur(15px); 
	border: 1px solid rgba(134,38,51,0.5); 
	border-radius: 12px; 
	padding: 0.8rem 1.2rem; 
	color: #fff; 
	font-size: 0.9rem; 
	max-width: 280px; 
	box-shadow: 0 8px 25px rgba(0,0,0,0.4); 
	animation: fadeInUp 0.3s ease-out; 
	pointer-events: none;
}
.mobile-tooltip h6 { 
	margin: 0 0 0.4rem 0; 
	font-size: 1rem; 
	font-weight: 600; 
	color: #fff; 
}
.mobile-tooltip::after { 
	content: ''; 
	position: absolute; 
	top: 100%; 
	left: 50%; 
	transform: translateX(-50%); 
	border: 8px solid transparent; 
	border-top-color: rgba(26,26,26,0.95); 
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translate(-50%, calc(-100% - 10px)); }
	to { opacity: 1; transform: translate(-50%, -100%); }
}

/* Do not show descriptive paragraph text in hover tooltips */
.tippy-box .info-tooltip-content p,
.info-hotspot-tooltip .info-tooltip-content p,
.mobile-tooltip .info-tooltip-content p { display: none !important; }
/* Tooltip video sizing */
.info-tooltip-content { max-width: 320px; }
.info-tooltip-video { margin-top: 6px; }
.info-tooltip-video iframe, .info-tooltip-video video { display: block; width: 100%; height: auto; border: 0; border-radius: 6px; }

/* Info modal */
.info-modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); z-index: 1500; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.info-modal-backdrop.visible { opacity: 1; visibility: visible; }
.info-modal-content { background: rgba(26,26,26,0.95); backdrop-filter: blur(20px); border: 2px solid rgba(134,38,51,0.5); border-radius: 20px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.5); transform: translateY(20px); transition: transform 0.3s ease; }
.info-modal-backdrop.visible .info-modal-content { transform: translateY(0); }
.info-modal-header { padding: 1.5rem 2rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
.info-modal-header h5 { font-size: 1.3rem; font-weight: 600; color: #fff; margin: 0; }
.info-modal-close { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.info-modal-close:hover { background: rgba(134,38,51,0.8); transform: scale(1.1); }
.info-modal-body { padding: 1.5rem 2rem 2rem; text-align: justify; }
.info-modal-body iframe { width: 100%; height: 200px; border: none; border-radius: 10px; margin-bottom: 1rem; }
.info-modal-body h1, .info-modal-body h2, .info-modal-body h3, .info-modal-body h4, .info-modal-body h5, .info-modal-body h6 { color: #fff; margin: 0 0 1rem 0; font-weight: 600; }
.info-modal-body p { color: rgba(255,255,255,0.9); line-height: 1.6; margin: 0 0 1rem 0; text-align: justify;}
/* Enhanced modal video/text layout */
.info-modal-video { margin-bottom: 1rem; }
.responsive-embed { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 */ border-radius: 10px; overflow: hidden; background: rgba(0,0,0,0.2); }
.responsive-embed iframe, .responsive-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info-modal-text p + p { margin-top: 0.75rem; }

/* Link hotspots */
.link-hotspot { width: clamp(40px, 8vw, 60px); height: clamp(40px, 8vh, 60px); margin-left: calc(clamp(40px, 8vw, 60px) / -2); margin-top: calc(clamp(40px, 8vh, 60px) / -2); opacity: 0.9; position: absolute; z-index: 1001; pointer-events: auto; transition: opacity 0.2s; }
.no-touch .link-hotspot:hover { transform: scale(1.1); }
.link-hotspot-icon { width: 100%; height: 70%; margin: 15% auto; cursor: pointer; background: rgba(255,255,255,0.2); border: clamp(1px, 0.2vw, 0.5px) solid rgba(255,255,255,0.5); border-radius: 50%; backdrop-filter: blur(clamp(4px, 1vw, 6px)); transition: transform 0.3s ease, background 0.3s ease; box-shadow: 0 0 clamp(8px, 2vw, 12px) rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; animation: pulse 1s infinite; }
.no-touch .link-hotspot:hover .link-hotspot-icon { transform: scale(1.1); background: rgba(255,255,255,0.3); }
@keyframes pulse { 0%{ transform: scale(1); box-shadow: 0 2px 10px rgba(0,0,0,0.3);} 50%{ transform: scale(1.05); box-shadow: 0 4px 20px rgba(134,38,51,0.4);} 100%{ transform: scale(1); box-shadow: 0 2px 10px rgba(0,0,0,0.3);} }
.link-hotspot-tooltip { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); background: rgba(26,26,26,0.9); color: #fff; padding: 0.8rem 1.2rem; border-radius: 10px; font-size: 0.9rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 1000; }
.link-hotspot-icon img { width: 20px; height: 20px; }
.no-touch .link-hotspot:hover .link-hotspot-tooltip { opacity: 1; }
.tooltip-fallback .link-hotspot-tooltip { opacity: 1; }
.no-touch .tooltip-fallback .link-hotspot:hover .link-hotspot-tooltip { opacity: 1; }

/* Splash/Tutorial/Welcome/Quick Actions */
.splash-screen { transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.splash-screen.fade-out { opacity: 0; transform: scale(1.1); }
.splash-logo { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.splash-logo i { font-size: 3.5rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.splash-title { font-size: 2.8rem; font-weight: 700; color: #fff; margin-bottom: .5rem; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.splash-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.9); text-align: center; margin-bottom: 1rem; max-width: 500px; line-height: 1.6; }
.splash-location { font-size: 1rem; color: rgba(255,255,255,0.7); text-align: center; margin-bottom: 2rem; font-weight: 500; }
.splash-loading { display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.splash-spinner { width: 24px; height: 24px; border: 3px solid rgba(255,255,255,0.3); border-top: 3px solid #fff; border-radius: 50%; animation: spin 1s linear infinite; }
.progress-bar { width: 300px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; overflow: hidden; margin-bottom: 1rem; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #862633, #D4AF37); border-radius: 3px; transition: width .3s ease; width: 0%; }
.explore-btn { background: linear-gradient(135deg, #862633 0%, #D4AF37 100%); color: #fff; border: none; padding: 1.2rem 2.5rem; border-radius: 50px; font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: all .3s ease; display: flex; align-items: center; gap: .8rem; margin-top: 1rem; box-shadow: 0 10px 30px rgba(134,38,51,0.4); backdrop-filter: blur(15px); border: 2px solid rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.explore-btn::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left .5s ease; }
.explore-btn:hover::before { left: 100%; }
.explore-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(134,38,51,0.6); background: linear-gradient(135deg, #D4AF37 0%, #862633 100%); }
.explore-btn:active { transform: translateY(-1px); }
.explore-btn i { font-size: 1.1rem; }

.tutorial-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; display: none; align-items: center; justify-content: center; }
.tutorial-modal { background: rgba(26,26,26,0.95); backdrop-filter: blur(20px); border: 2px solid rgba(134,38,51,0.5); border-radius: 20px; padding: 2rem; max-width: 500px; width: 90%; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.tutorial-step { display: none; }
.tutorial-step.active { display: block; }
.tutorial-icon { font-size: 3rem; color: #D4AF37; margin-bottom: 1rem; }
.tutorial-title { font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.tutorial-description { color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 2rem; }
.tutorial-progress { display: flex; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.tutorial-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: all .3s ease; }
.tutorial-dot.active { background: #D4AF37; transform: scale(1.2); }
.tutorial-buttons { display: flex; gap: 1rem; justify-content: center; }
.tutorial-btn { padding: .8rem 1.5rem; border: none; border-radius: 25px; font-weight: 500; cursor: pointer; transition: all .3s ease; }
.tutorial-btn.primary { background: linear-gradient(135deg, #862633, #D4AF37); color: #fff; }
.tutorial-btn.secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.tutorial-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.info-modal-enhanced { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1500; display: none; align-items: center; justify-content: center; padding: 1rem; }
.info-modal-content-enhanced { background: rgba(26,26,26,0.95); backdrop-filter: blur(20px); border: 2px solid rgba(134,38,51,0.5); border-radius: 20px; max-width: 650px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.info-modal-header-enhanced { padding: 1.5rem 2rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; }
.info-modal-title { font-size: 1.3rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: .8rem; }
.info-modal-close-enhanced { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all .3s ease; display: flex; align-items: center; justify-content: center; }
.info-modal-close-enhanced:hover { background: rgba(134,38,51,0.8); transform: scale(1.1); }
.info-modal-body-enhanced { padding: 1.5rem 2rem 2rem; }
.info-modal-description { color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 1.5rem; }
.info-modal-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.info-feature { background: rgba(134,38,51,0.2); padding: 1rem; border-radius: 10px; border: 1px solid rgba(134,38,51,0.3); }
.info-feature-icon { color: #D4AF37; font-size: 1.5rem; margin-bottom: .5rem; }
.info-feature-title { font-weight: 600; color: #fff; margin-bottom: .3rem; }
.info-feature-desc { color: rgba(255,255,255,0.7); font-size: .9rem; }

/* Quick Actions */
.quick-actions { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: .5rem; }
.quick-action-btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(134,38,51,0.8); border: none; color: #fff; cursor: pointer; transition: all .3s ease; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.quick-action-btn:hover { background: rgba(134,38,51,1); transform: scale(1.1); }
.quick-action-tooltip { position: absolute; right: 60px; background: rgba(26,26,26,0.9); color: #fff; padding: .5rem 1rem; border-radius: 8px; font-size: .8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.quick-action-btn:hover .quick-action-tooltip { opacity: 1; }

/* Welcome */
.welcome-message-enhanced { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; max-width: 520px; width: 92%; }
.welcome-card { background: rgba(26,26,26,0.95); backdrop-filter: blur(15px); border: 2px solid rgba(134,38,51,0.5); border-radius: 15px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.welcome-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.welcome-avatar { width: 50px; height: 50px; background: linear-gradient(135deg, #862633, #D4AF37); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; }
.welcome-title { font-size: 1.2rem; font-weight: 600; color: #fff; }
.welcome-subtitle { color: rgba(255,255,255,0.7); font-size: .9rem; }
.welcome-content { color: rgba(255,255,255,0.9); line-height: 1.6; margin-bottom: 1rem; }
.welcome-actions { display: flex; gap: .5rem; }
.welcome-btn { padding: .5rem 1rem; border: none; border-radius: 20px; font-size: .9rem; cursor: pointer; transition: all .3s ease; }
.welcome-btn.primary { background: linear-gradient(135deg, #862633, #D4AF37); color: #fff; }
.welcome-btn.secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.welcome-btn:hover { transform: translateY(-1px); }

/* Toasts */
.toast { position: fixed; top: 20px; right: 20px; background: rgba(26,26,26,0.95); backdrop-filter: blur(15px); border: 1px solid rgba(134,38,51,0.5); border-radius: 12px; padding: 1rem 1.5rem; color: #fff; z-index: 2000; max-width: 400px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: translateX(100%); transition: transform 0.3s ease; display: flex; align-items: center; gap: 0.8rem; }
.toast-error { border-color: rgba(220,53,69,0.5); background: rgba(220,53,69,0.1); }
.toast-success { border-color: rgba(40,167,69,0.5); background: rgba(40,167,69,0.1); }
.toast-info { border-color: rgba(23,162,184,0.5); background: rgba(23,162,184,0.1); }
.toast-warning { border-color: rgba(255,193,7,0.5); background: rgba(255,193,7,0.1); }
.toast-show { transform: translateX(0); }
.toast-hide { transform: translateX(100%); }
.toast-content { display: flex; align-items: center; gap: 0.8rem; flex: 1; }
.toast-content i:first-child { font-size: 1.2rem; flex-shrink: 0; }
.toast-success .toast-content i:first-child { color: #28a745; }
.toast-info .toast-content i:first-child { color: #17a2b8; }
.toast-warning .toast-content i:first-child { color: #ffc107; }
.toast-message { font-size: 0.9rem; line-height: 1.4; flex: 1; }
.toast-close { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 0.3rem; border-radius: 50%; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.toast-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.toast-close i { font-size: 0.8rem; }

/* Mini-map / Compass and scene tip */
.mini-map { position: fixed; right: 18px; bottom: 90px; z-index: 1000; width: 110px; height: 110px; border-radius: 12px; background: rgba(26,26,26,0.75); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.radar-circle { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); box-shadow: inset 0 0 20px rgba(0,0,0,0.3); background: radial-gradient(transparent 55%, rgba(134,38,51,0.15) 56%); }
.radar-needle { position: absolute; left: 50%; top: 50%; transform-origin: 50% 100%; width: 2px; height: 36px; background: #D4AF37; transform: translate(-50%, -100%) rotate(0deg); border-radius: 2px; }
.radar-north { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 10px; color: rgba(255,255,255,0.8); letter-spacing: 1px; }
.scene-tip { position: fixed; left: 50%; transform: translateX(-50%); bottom: 180px; z-index: 1000; background: rgba(26,26,26,0.85); color: #fff; border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 10px; padding: 8px 12px; font-size: 0.9rem; opacity: 0; transition: opacity .3s ease, transform .3s ease; }
.scene-tip.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* Select wrapper caret */
.select-wrap { position: relative; display: inline-flex; align-items: center; }
/* Use a CSS triangle for the dropdown caret to avoid icon font dependency */
.select-wrap::after { content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-35%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid rgba(255,255,255,0.9); pointer-events: none; }

/* Responsive */
@media (max-width: 768px) {
	.bottom-controls { justify-content: center; }
	.bottom-controls .flex-1 { display: none !important; }
	#miniMap { display: none !important; }
	#fullscreenBtn { display: none !important; }
}
@media (max-width: 480px) {
	.bottom-controls { padding: 10px; gap: 8px; }
	.scene-nav { gap: 8px; }
	.scene-title { font-size: 0.9rem; }
	.scene-list-modal { padding: 10px; }
	.scene-list-content { width: 95%; }
	.scene-item { padding: 0.8rem 1.5rem; }
	.control-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
	#viewUpBtn, #viewDownBtn, #viewLeftBtn, #viewRightBtn, #zoomInBtn, #zoomOutBtn { display: none; }
	.flex-1 { display: none; }
}
@media (min-width: 481px) and (max-width: 768px) { .bottom-controls { padding: 12px 20px; gap: 10px; } .bottom-controls::-webkit-scrollbar { height: 4px; } .scene-nav { gap: 12px; } }
@media (min-width: 769px) and (max-width: 1024px) { .scene-list-content { max-width: 700px; } .top-nav { height: 60px; } }
@media (min-width: 1025px) { .scene-list-content { max-width: 800px; } }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .control-btn { border-width: 0.5px; } .scene-list-header { border-bottom-width: 0.5px; } .scene-item { border-bottom-width: 0.5px; } }
@media (orientation: landscape) and (max-height: 500px) { .top-nav { height: 40px; } .bottom-controls { padding: 8px 20px; } .scene-list-content { max-height: 90vh; } }
@media (prefers-color-scheme: dark) {
	.scene-list-content { background: rgba(0,0,0,0.95); }
	.scene-list-header { border-bottom-color: rgba(255,255,255,0.2); }
	.scene-list-header h5 { color: #fff; }
	.scene-item { border-bottom-color: rgba(255,255,255,0.2); }
	.scene-info h6 { color: #fff; }
	.scene-info small { color: rgba(255,255,255,0.8); }
	.info-modal-content { background: rgba(0,0,0,0.95); }
	.info-modal-header { border-bottom-color: rgba(255,255,255,0.2); }
	.info-modal-header h5 { color: #fff; }
	.info-modal-body { color: rgba(255,255,255,0.9); }
	.info-modal-body h1, .info-modal-body h2, .info-modal-body h3, .info-modal-body h4, .info-modal-body h5, .info-modal-body h6 { color: #fff; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } .link-hotspot-icon { animation: none; } }

/* Print */
@media print { .top-nav, .bottom-controls, .scene-list-modal, .info-modal-backdrop, .toast { display: none !important; } }

/* Adjusted Welcome Message position for above-controls spacing */
.welcome-message-enhanced { position: fixed; left: 50%; transform: translateX(-50%); z-index: 1000; max-width: 500px; width: 90%; animation: slide-up 0.5s ease-out; bottom: 110px; top: auto; }
@media (max-width: 768px) { .welcome-message-enhanced { bottom: 120px; } }

/* Tutorial hotspot icon */
.tutorial-hotspot-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutorial-hotspot-container .link-hotspot {
    position: static;
    width: 60px;
    height: 60px;
    margin: 0;
    opacity: 1;
}

.tutorial-hotspot-container .link-hotspot-icon {
    animation: pulse 1.5s infinite;
    width: 100%;
    height: 100%;
    margin: 0;
}

.tutorial-hotspot-container .link-hotspot-icon i {
    font-size: 24px;
    color: white;
}

/* Style override for tutorial hotspot */
.tutorial-hotspot {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: none; /* Remove blur for 2D context */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 60px;
    height: 60px;
    margin: 0;
}
