.stories-round { min-width: 0; max-width: 100%; margin-bottom: var(--space-32); }
.stories-round__navigation button { display: grid; place-items: center; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: var(--hotel-text); }
.stories-round__navigation button:hover:not(:disabled) { color: var(--hotel-accent); }
.stories-round__navigation button:disabled { opacity: .3; cursor: default; }
.stories-round__navigation .swiper-button-lock { display: none; }
.stories-round__track { padding-block: 4px; }
.stories-round__slide { width: 70px; height: auto; }
.stories-round__item { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; }
.stories-round__media { display: block; width: 70px; height: 70px; overflow: hidden; border: 1px solid var(--hotel-accent); border-radius: 50%; }
.stories-round__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.stories-round__caption { font-size: 18px; line-height: 1.3; text-align: center; }
.stories-round__pagination { text-align: center; margin-top: 20px; }
.stories-round--captions { margin: 0; }
.stories-round--captions .stories-round__slide { width: 120px; }
.stories-round--captions .stories-round__media { width: 80px; height: 80px; }
.stories-round--portrait .stories-round__slide { width: 200px; }
.stories-round--portrait .stories-round__media { width: 100%; height: auto; aspect-ratio: 9 / 16; border: 0; border-radius: 16px; position: relative; }
.stories-round--portrait .stories-round__media::after { content: '▶'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; color: #fff; text-shadow: 0 2px 12px #000; }
@media (max-width: 767.98px) {
  .stories-round--captions:not(.stories-round--portrait) .stories-round__slide { width: 100px; }
}
@media (min-width: 1200px) {
  .stories-round--captions .stories-round__slide { width: 143px; }
  .stories-round--captions .stories-round__media { width: 100px; height: 100px; }
  .stories-round--captions .stories-round__caption { font-size: 20px; }
  .stories-round--portrait .stories-round__slide { width: 260px; }
  .stories-round--portrait .stories-round__media { width: 100%; height: auto; }
}
.stories-modal {
	position: fixed;
	inset: 0;
	z-index: 1080;
	display: none;
	align-items: stretch;
	justify-content: center;
	background: #111;
	overflow: hidden;
}

.stories-modal.is-open {
	display: flex;
}

.stories-modal::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgb(53 54 61 / 50%);
	pointer-events: none;
}

.stories-modal-lock {
	overflow: hidden;
}

.stories-modal__backdrop {
	position: absolute;
	inset: -120px;
	z-index: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: blur(80px);
	pointer-events: none;
	transform: scale(1.12);
}

.stories-modal__viewer {
	position: relative;
	z-index: 2;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	aspect-ratio: auto;
	border-radius: 0;
	background: #111;
	overflow: hidden;
	box-shadow: none;
}

.stories-modal__video {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	background: #111;
	cursor: pointer;
	object-fit: cover;
	transform: translate(-50%, -50%);
}

.stories-modal__progress {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 0;
}

.stories-modal__progress-item {
	position: relative;
	display: block;
	width: 100%;
	height: 18px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
	cursor: pointer;
}

.stories-modal__progress-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: rgba(255, 255, 255, .32);
	transition: height .2s linear;
}

.stories-modal__progress-item:hover::before,
.stories-modal__progress-item:hover .stories-modal__progress-bar {
	height: 6px;
}

.stories-modal__progress-bar {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 0;
	height: 4px;
	background: #ff3b4f;
	transition: height .2s linear;
}

.stories-modal__time {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	color: rgb(255 255 255 / 85%);
	font-size: 11px;
	text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
}

.stories-modal__button {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .38);
	color: inherit;
	cursor: pointer;
	transition: background .18s ease, opacity .18s ease;
}

.stories-modal__button:hover {
	background: rgba(0, 0, 0, .56);
}

.stories-modal__button::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask-image: var(--stories-icon);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-image: var(--stories-icon);
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: contain;
}

.stories-modal__close {
	--stories-icon: url("icon/close.svg");
	top: 40px;
	right: 12px;
	width: 30px;
	height: 30px;
}

.stories-modal__mute {
	--stories-icon: url("icon/volume-on.svg");
	top: 82px;
	right: 12px;
	width: 30px;
	height: 30px;
}

.stories-modal__mute.is-muted {
	--stories-icon: url("icon/volume-off.svg");
}

.stories-modal__sound {
	display: none;
}

.stories-modal__nav {
	top: 50%;
	width: 38px;
	height: 38px;
	transform: translateY(-50%);
}

.stories-modal__nav::before {
	width: 20px;
	height: 20px;
}

.stories-modal__prev {
	--stories-icon: url("icon/arrow-left.svg");
	left: 12px;
}

.stories-modal__next {
	--stories-icon: url("icon/arrow-right.svg");
	right: 12px;
}

.stories-modal__nav:disabled {
	opacity: .35;
	cursor: default;
}

@media (min-width: 576px) {
	.stories-modal {
		align-items: center;
		background: #2b2720;
	}

	.stories-modal__viewer {
		width: min(650px, calc(100vw - 176px), calc(56.25vh - 27px));
		height: auto;
		aspect-ratio: 9 / 16;
		border-radius: 30px;
		box-shadow: 0 8px 26px rgba(0, 0, 0, .26);
	}

	.stories-modal__close {
		top: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
	}

	.stories-modal__mute {
		top: 42px;
		right: 14px;
	}

	.stories-modal__nav {
		width: 50px;
		height: 50px;
		transition: background .18s ease, opacity .18s ease, left .24s ease, right .24s ease;
	}

	.stories-modal__close::before,
	.stories-modal__nav::before {
		width: 22px;
		height: 22px;
	}

	.stories-modal__prev {
		left: calc(50% - min(325px, calc((100vw - 176px) / 2), calc(28.125vh - 13.5px)) - 68px);
	}

	.stories-modal__prev:hover {
		left: calc(50% - min(325px, calc((100vw - 176px) / 2), calc(28.125vh - 13.5px)) - 73px);
	}

	.stories-modal__next {
		right: calc(50% - min(325px, calc((100vw - 176px) / 2), calc(28.125vh - 13.5px)) - 68px);
	}

	.stories-modal__next:hover {
		right: calc(50% - min(325px, calc((100vw - 176px) / 2), calc(28.125vh - 13.5px)) - 73px);
	}

}

.stories-modal__room-link {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: max(10px, env(safe-area-inset-bottom));
	z-index: 4;
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: center;
}
.stories-modal__room-link[hidden] {
	display: none;
}
