/* YS Onepage Map - 前端樣式 */

/* 外層定位容器（hint 定位用） */
.ys-onepage-map-outer {
	position: relative;
	line-height: 0;
}

/* 滾動容器 */
.ys-onepage-map-wrapper {
	width: 100%;
	overflow: hidden;
}

/* 桌面版：全尺寸顯示 */
.ys-onepage-map-container {
	width: 100%;
}

.ys-onepage-map-image {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	object-fit: cover;
	user-select: none;
	-webkit-user-select: none;
	-webkit-user-drag: none;
}

/* 提示文字 - 預設隱藏 */
.ys-onepage-map-hint {
	display: none !important;
}

/* 行動版：由 JS 動態控制 */
.ys-onepage-map-wrapper.is-mobile {
	cursor: grab;
}

.ys-onepage-map-wrapper.is-mobile.is-dragging {
	cursor: grabbing;
}

.ys-onepage-map-wrapper.is-mobile .ys-onepage-map-container {
	width: auto;
	display: inline-block;
}

.ys-onepage-map-wrapper.is-mobile .ys-onepage-map-image {
	width: auto !important;
	height: var(--ys-map-mobile-height, 750px) !important;
	object-fit: cover;
}

/* 行動版提示文字 - 定位在外層容器 */
.ys-onepage-map-outer.is-mobile .ys-onepage-map-hint {
	display: flex !important;
	align-items: center;
	gap: 4px;
	position: absolute;
	right: 10px;
	bottom: 10px;
	line-height: 1;
	color: var(--ys-map-hint-color, #ffffff);
	pointer-events: none;
	z-index: 10;
}

.ys-onepage-map-hint-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ys-onepage-map-hint-text {
	font-size: 16px;
	white-space: nowrap;
}
