/* SLS 360 Immersive Viewer. Every selector is doubled (.sls360.sls360 …) to beat the
   vrschool nexus.css rule that styles every button:not(.is-style-outline). */
.sls360.sls360 {
	--s360-bg: #040817;
	--s360-panel: #0b1d42;
	--s360-ink: #eaf2ff;
	--s360-teal: #3ee0d0;
	--s360-amber: #ffb547;
	position: relative;
	margin: 0 0 1.5rem;
	border-radius: 14px;
	overflow: hidden;
	background: var(--s360-bg);
	color: var(--s360-ink);
	font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
	outline: none;
}
.sls360.sls360:focus-visible { box-shadow: 0 0 0 3px var(--s360-teal); }
.sls360.sls360 .sls360__stage { position: relative; aspect-ratio: 16 / 9; cursor: grab; user-select: none; }
.sls360.sls360 .sls360__stage:active { cursor: grabbing; }
.sls360.sls360 .sls360__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.sls360.sls360 .sls360__video { display: none; }
.sls360.sls360.is-flat .sls360__canvas { display: none; }
.sls360.sls360.is-flat .sls360__video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.sls360.sls360.is-flat .sls360__stage { cursor: default; }

.sls360.sls360 button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
	width: auto;
}
.sls360.sls360 button:focus-visible { outline: 2px solid var(--s360-teal); outline-offset: 2px; }
.sls360.sls360 .sls360__big {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: flex; align-items: center; gap: 12px;
	padding: 14px 24px 14px 18px; border-radius: 999px;
	background: rgba(4, 8, 23, 0.78); border: 2px solid var(--s360-teal); color: var(--s360-ink);
	font-weight: 700; font-size: 18px; box-shadow: 0 0 30px rgba(62, 224, 208, 0.35);
}
.sls360.sls360 .sls360__big span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--s360-teal); color: var(--s360-bg); font-size: 18px; }
.sls360.sls360 .sls360__big em { font-style: normal; white-space: nowrap; }
.sls360.sls360 .sls360__big[hidden] { display: none; }
.sls360.sls360 .sls360__hint {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
	padding: 6px 12px; border-radius: 999px; background: rgba(4, 8, 23, 0.7); font-size: 13px; opacity: 0.9;
	pointer-events: none; transition: opacity 0.4s; white-space: nowrap;
}
.sls360.sls360 .sls360__hint.is-gone, .sls360.sls360.is-flat .sls360__hint { opacity: 0; }

.sls360.sls360 .sls360__bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
	padding: 10px 12px; background: var(--s360-panel);
}
.sls360.sls360 .sls360__btn {
	padding: 6px 10px; min-width: 36px; text-align: center; border-radius: 8px;
	border: 1px solid rgba(62, 224, 208, 0.5); color: var(--s360-ink); font-size: 14px; line-height: 1.2;
}
.sls360.sls360 .sls360__btn:hover { background: rgba(62, 224, 208, 0.15); }
.sls360.sls360 .sls360__btn:disabled { opacity: 0.4; cursor: default; }
.sls360.sls360 .sls360__walls { display: flex; gap: 6px; flex-wrap: wrap; }
.sls360.sls360 .sls360__time { font-variant-numeric: tabular-nums; font-size: 13px; opacity: 0.85; min-width: 84px; }
.sls360.sls360 .sls360__seek { flex: 1 1 160px; min-width: 120px; accent-color: var(--s360-teal); margin: 0; }

.sls360:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.sls360:fullscreen .sls360__stage { flex: 1; aspect-ratio: auto; }

.sls360-room {
	margin: -0.75rem 0 1.5rem; padding: 10px 14px; border-radius: 10px;
	border: 1px dashed rgba(62, 224, 208, 0.5); font-size: 14px;
}

@media (max-width: 640px) {
	.sls360.sls360 .sls360__stage { aspect-ratio: 4 / 3; }
	.sls360.sls360 .sls360__walls { order: 5; width: 100%; }
	.sls360.sls360 .sls360__walls .sls360__btn { flex: 1; }
}
