.gs-story-section {
	display: none;
	--gs-story-visible: 6;
	--gs-story-size: 138px;
	background: #fff;
	padding: 28px 0 6px;
	font-family: Nunito, "Segoe UI", sans-serif;
}
.gs-story-section.is-ready {
	display: block;
}
.gs-story-title {
	margin: 0 0 22px;
	text-align: center;
	color: #1c1c1c;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.3;
}
.gs-story-slider {
	position: relative;
	padding: 0 50px;
}
.gs-story-arrow {
	position: absolute;
	top: 48px;
	z-index: 2;
	width: 42px;
	height: 42px;
	margin: 0;
	border: 1.5px solid #d7dbe2;
	border-radius: 50%;
	background: #fff;
	color: #3a3f48;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.gs-story-arrow:hover,
.gs-story-arrow:focus {
	border-color: #1a5563;
	color: #1a5563;
	outline: none;
	box-shadow: 0 4px 14px rgba(26, 85, 99, 0.16);
}
.gs-story-arrow.is-hidden {
	visibility: hidden;
	pointer-events: none;
}
.gs-story-prev {
	left: 0;
}
.gs-story-next {
	right: 0;
}
.gs-story-track {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 2px 4px 14px;
	-webkit-overflow-scrolling: touch;
}
.gs-story-track::-webkit-scrollbar {
	display: none;
	height: 0;
}
.gs-story-track.is-centered {
	justify-content: center;
}
.gs-story-track > .row,
.gs-story-track > ul {
	display: contents;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gs-story-track .row > [class*="col-"],
.gs-story-track > ul > li {
	float: none;
	flex: 0 0 calc(100% / var(--gs-story-visible));
	width: calc(100% / var(--gs-story-visible));
	max-width: calc(100% / var(--gs-story-visible));
	padding: 0;
	margin: 0;
	list-style: none;
	scroll-snap-align: start;
}
.gs-story-section .story-item,
.gs-story-section .item {
	flex: 0 0 calc(100% / var(--gs-story-visible));
	width: calc(100% / var(--gs-story-visible));
	max-width: calc(100% / var(--gs-story-visible));
	scroll-snap-align: start;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	cursor: pointer;
}
.gs-story-track .row > [class*="col-"] .story-item,
.gs-story-track .row > [class*="col-"] .item,
.gs-story-track > ul > li .story-item,
.gs-story-track > ul > li .item {
	flex: none;
	width: 100%;
	max-width: 100%;
}
.gs-story-section .story-item .image,
.gs-story-section .item .image {
	width: var(--gs-story-size);
	height: var(--gs-story-size);
	margin: 0 auto 10px;
	padding: 3px;
	border-radius: 50%;
	box-sizing: border-box;
	background: conic-gradient(from 210deg, #ff4d73, #ff8a3d, #f2c14b, #7b5cff, #3aa0ff, #ff4d8a);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.gs-story-section .story-item:nth-child(3n+2) .image,
.gs-story-section .item:nth-child(3n+2) .image {
	background: conic-gradient(from 140deg, #2f6bff, #3ec6e0, #7a5cff, #2f6bff);
}
.gs-story-section .story-item:nth-child(3n) .image,
.gs-story-section .item:nth-child(3n) .image {
	background: conic-gradient(from 40deg, #ff5a36, #ff4d8d, #b44dff, #ffb703, #ff5a36);
}
.gs-story-section .story-item:hover .image,
.gs-story-section .item:hover .image,
.gs-story-section .story-item:focus .image,
.gs-story-section .item:focus .image {
	transform: scale(1.04);
}
.gs-story-section .story-item.is-viewed .image,
.gs-story-section .item.is-viewed .image {
	background: #c8ccd2;
	opacity: 0.85;
}
.gs-story-section .story-item .image img,
.gs-story-section .item .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid #fff;
	box-sizing: border-box;
	display: block;
	background: #f3f4f6;
}
.gs-story-section .story-item__label,
.gs-story-section .story-item > span,
.gs-story-section .item > span {
	display: block;
	width: 100%;
	max-width: var(--gs-story-size);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: #1e1e1e;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gs-story-section .story-item.is-viewed .story-item__label,
.gs-story-section .item.is-viewed > span {
	color: #8a8f98;
}
.gs-story-section small {
	display: none;
}

.gs-story-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 28px 24px;
	box-sizing: border-box;
}
.gs-story-modal.is-open {
	display: flex;
}
.gs-story-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 22, 28, 0.58);
}
.gs-story-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	height: min(740px, calc(100vh - 56px));
	height: min(740px, calc(100dvh - 56px));
	background: #f6f3ec;
	border-radius: 22px;
	display: flex;
	overflow: hidden;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
	font-family: Nunito, "Segoe UI", sans-serif;
}
body.gs-story-open {
	overflow: hidden;
}
.gs-story-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 4;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #2a2a2a;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.gs-story-modal__close:hover,
.gs-story-modal__close:focus {
	background: rgba(0, 0, 0, 0.06);
	outline: none;
}
.gs-story-modal__list {
	width: 300px;
	flex-shrink: 0;
	overflow-y: auto;
	padding: 18px 14px 18px 16px;
	background: #f6f3ec;
}
.gs-story-modal__list::-webkit-scrollbar {
	width: 8px;
}
.gs-story-modal__list::-webkit-scrollbar-thumb {
	background: #c5c8ce;
	border-radius: 8px;
}
.gs-story-modal__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	height: auto;
	min-height: 58px;
	margin: 0 0 6px;
	padding: 6px 14px 6px 6px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #1d1d1f;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	white-space: normal;
	box-sizing: border-box;
}
.gs-story-modal__item:hover {
	background: rgba(26, 85, 99, 0.08);
	color: #1d1d1f;
}
.gs-story-modal__item.is-active,
.gs-story-modal__item.is-active:hover {
	background: #1a5563;
	color: #fff;
}
.gs-story-modal__item img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	background: #10243f;
	border: 2px solid #fff;
	box-sizing: border-box;
}
.gs-story-modal__item span {
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.gs-story-modal__stage {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 18px 48px 18px 8px;
}
.gs-story-modal__head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 4px 8px 12px 18px;
}
.gs-story-modal__head img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	background: #e6e2d8;
	flex-shrink: 0;
}
.gs-story-modal__head span {
	font-size: 16px;
	font-weight: 800;
	color: #1c1c1c;
	line-height: 1.3;
}
.gs-story-modal__viewer {
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.gs-story-modal__frame-slot {
	height: 100%;
	min-width: 0;
	max-width: calc(100% - 120px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.gs-story-modal__nav {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1.5px solid #d5d8de;
	background: #fff;
	color: #2c3138;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 4px 14px rgba(16, 24, 40, 0.08);
}
.gs-story-modal__nav:hover,
.gs-story-modal__nav:focus {
	border-color: #1a5563;
	color: #1a5563;
	outline: none;
}
.gs-story-modal__frame {
	display: block;
	height: 100%;
	max-height: 100%;
	width: auto;
	max-width: 100%;
	aspect-ratio: 3 / 4.05;
	border-radius: 18px;
	overflow: hidden;
	background: #e7e2d8;
	box-shadow: 0 14px 36px rgba(30, 30, 30, 0.14);
	text-decoration: none;
}
.gs-story-modal__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 991px) {
	.gs-story-modal {
		padding: 0;
	}
	.gs-story-modal__dialog {
		width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
		flex-direction: column;
	}
	.gs-story-modal__list {
		width: 100%;
		max-height: none;
		height: auto;
		flex-shrink: 0;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 10px;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 54px 14px 8px;
		scrollbar-width: none;
	}
	.gs-story-modal__list::-webkit-scrollbar {
		display: none;
		height: 0;
	}
	.gs-story-modal__item {
		flex: 0 0 auto;
		width: auto;
		min-height: 0;
		height: auto;
		margin: 0;
		padding: 3px;
		border-radius: 50%;
		background: transparent;
	}
	.gs-story-modal__item img {
		border-color: transparent;
	}
	.gs-story-modal__item span {
		display: none;
	}
	.gs-story-modal__item.is-active,
	.gs-story-modal__item.is-active:hover,
	.gs-story-modal__item:hover {
		background: transparent;
	}
	.gs-story-modal__item.is-active img {
		box-shadow: 0 0 0 2px #f6f3ec, 0 0 0 4px #1a5563;
	}
	.gs-story-modal__stage {
		padding: 2px 10px 14px;
		min-height: 0;
	}
	.gs-story-modal__head {
		padding: 2px 36px 8px 6px;
	}
	.gs-story-modal__frame-slot {
		max-width: calc(100% - 108px);
	}
	.gs-story-modal__frame {
		border-radius: 14px;
	}
	.gs-story-section {
		--gs-story-visible: 2;
	}
	.gs-story-slider {
		padding: 0 8px;
	}
	.gs-story-arrow {
		width: 36px;
		height: 36px;
		top: 51px;
		font-size: 12px;
	}
	.gs-story-title {
		font-size: 13px;
		letter-spacing: 0.08em;
	}
}
@media (max-width: 640px) {
	.gs-story-modal__nav {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}
	.gs-story-modal__frame-slot {
		max-width: calc(100% - 84px);
	}
	.gs-story-modal__head {
		padding-left: 4px;
	}
}
