.watching-release-rail {
	--watching-release-card-width: 296px;
	--watching-release-control-width: 64px;
	--watching-release-gap: 32px;
	--watching-release-viewport-width: 100%;
	position: relative;
	margin-top: 44px;
}

.watching-release-viewport {
	position: relative;
	width: var(--watching-release-viewport-width);
	max-width: none;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}

.watching-release-viewport::-webkit-scrollbar {
	display: none;
}

.watching-release-viewport:focus-visible {
	outline: 1px solid #737373;
	outline-offset: 8px;
}

.watching-release-line {
	position: absolute;
	z-index: 0;
	top: 5px;
	left: 0;
	width: calc(100% - var(--watching-release-card-width));
	height: 1px;
	background: #262626;
	pointer-events: none;
}

.watching-release-grid {
	position: relative;
	z-index: 1;
	display: flex;
	width: max-content;
	gap: var(--watching-release-gap);
}

.watching-release-item {
	position: relative;
	display: flex;
	flex: 0 0 var(--watching-release-card-width);
	flex-direction: column;
	min-width: 0;
	padding-top: 32px;
	color: #fafafa;
	text-decoration: none;
	scroll-snap-align: start;
}

.watching-release-dot {
	position: absolute;
	top: 2px;
	left: 0;
	width: 7px;
	height: 7px;
	border: 1px solid #737373;
	border-radius: 50%;
	background: #0a0a0a;
}

.watching-release-item.is-next .watching-release-dot {
	top: 0;
	width: 11px;
	height: 11px;
	border: 0;
	background: #fafafa;
}

.watching-release-date,
.watching-release-tag {
	font-family: "Geist Mono", monospace;
	font-size: 13px;
	letter-spacing: .12em;
}

.watching-release-date {
	color: #a3a3a3;
}

.watching-release-title {
	margin-top: 12px;
	font-family: "Geist", sans-serif;
	font-size: clamp(21px, 2vw, 27px);
	line-height: 1.15;
	letter-spacing: -.01em;
	transition: color .15s ease;
}

.watching-release-item:hover .watching-release-title {
	color: #a3a3a3;
}

.watching-release-tag {
	margin-top: 10px;
	color: #737373;
}

.watching-release-control {
	position: absolute;
	z-index: 3;
	top: -6px;
	width: var(--watching-release-control-width);
	height: calc(100% + 12px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	appearance: none;
	background: transparent;
	box-shadow: none;
	color: #fafafa;
}

.watching-release-control[hidden] {
	display: none;
}

.watching-release-control span {
	position: absolute;
	top: 3px;
	display: grid;
	width: 34px;
	height: 34px;
	border: 1px solid #525252;
	border-radius: 50%;
	background: #0a0a0a;
	font-family: "Geist Mono", monospace;
	font-size: 17px;
	line-height: 1;
	place-items: center;
	opacity: 0;
	transition: opacity .15s ease, border-color .15s ease;
}

.watching-release-control:hover span,
.watching-release-control:focus-visible span {
	border-color: #a3a3a3;
	opacity: 1;
}

.watching-release-control:focus-visible {
	outline: 0;
}

.watching-release-control-next {
	left: calc(var(--watching-release-viewport-width) - var(--watching-release-control-width));
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%230a0a0a' stroke='%23737373'/%3E%3Cpath d='M10 16h11m-4-5 5 5-5 5' fill='none' stroke='%23fafafa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16 16, e-resize;
}

.watching-release-control-next span {
	right: 10px;
}

.watching-release-control-prev {
	left: 0;
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%230a0a0a' stroke='%23737373'/%3E%3Cpath d='M22 16H11m4-5-5 5 5 5' fill='none' stroke='%23fafafa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 16 16, w-resize;
}

.watching-release-control-prev span {
	left: 10px;
}

.watching-release-empty {
	margin-top: 32px;
	color: #737373;
	font-family: "Geist Mono", monospace;
	font-size: 13px;
	letter-spacing: .1em;
}

@media (max-width: 992px) {
	.watching-release-rail {
		--watching-release-control-width: 48px;
	}

	.watching-release-line {
		display: none;
	}

	.watching-release-item {
		border-top: 1px solid #262626;
	}
}

@media (prefers-reduced-motion: reduce) {
	.watching-release-viewport {
		scroll-behavior: auto;
	}

	.watching-release-control span,
	.watching-release-title {
		transition: none;
	}
}
