/* HanimeStream Continue Watching Sidebar */
.hs-watch-sidebar {
	--hsw-line: rgba(255,255,255,.10);
	--hsw-panel: rgba(16,14,24,.88);
	--hsw-copy: #f8f5ff;
	--hsw-muted: rgba(220,213,235,.64);
	position: relative;
	overflow: hidden;
	margin: 0 0 18px;
	padding: 16px;
	border: 1px solid var(--hsw-line);
	border-radius: 16px;
	background:
		radial-gradient(230px 115px at 8% -28%, rgba(255,78,136,.16), transparent 72%),
		radial-gradient(210px 118px at 100% 0%, rgba(155,92,255,.13), transparent 74%),
		linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
		var(--hsw-panel);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 15px 36px rgba(0,0,0,.20);
}

@media (min-width: 1024px) {
	.hs-watch-sidebar.is-sticky { position: sticky; top: 92px; }
}

.hs-watch-sidebar::after {
	content: '';
	position: absolute;
	right: -46px;
	bottom: -54px;
	width: 154px;
	height: 154px;
	border: 1px solid rgba(255,255,255,.065);
	border-radius: 50%;
	box-shadow: 0 0 0 25px rgba(255,255,255,.017), 0 0 0 50px rgba(255,255,255,.012);
	pointer-events: none;
}

.hs-watch-sidebar-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 13px;
}

.hs-watch-sidebar-kicker {
	display: block;
	margin: 0 0 5px;
	color: #cbbbf1;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: .15em;
	line-height: 1;
	text-transform: uppercase;
}

.hs-watch-sidebar-title {
	margin: 0 !important;
	color: var(--hsw-copy) !important;
	font-size: 19px !important;
	font-weight: 900 !important;
	letter-spacing: -.04em !important;
	line-height: 1.05 !important;
	text-transform: none !important;
}

.hs-watch-sidebar-clear {
	min-height: 27px;
	padding: 0 9px;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 999px;
	background: rgba(255,255,255,.026);
	color: rgba(236,229,247,.78);
	cursor: pointer;
	font: inherit;
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.hs-watch-sidebar-clear:hover {
	border-color: rgba(255,78,136,.48);
	background: rgba(255,78,136,.10);
	color: #fff;
}

.hs-watch-sidebar-list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 9px;
}

.hs-watch-sidebar-item {
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-width: 0;
	padding: 5px;
	border: 1px solid transparent;
	border-radius: 11px;
	background: rgba(255,255,255,.022);
	color: inherit;
	text-decoration: none !important;
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.hs-watch-sidebar-item:hover {
	border-color: rgba(192,151,255,.38);
	background: rgba(255,255,255,.050);
	transform: translateY(-1px);
}

.hs-watch-sidebar-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background: linear-gradient(135deg, #33204c, #16111f 54%, #26173c);
}

.hs-watch-sidebar-thumb img,
.hs-watch-sidebar-thumb-fallback {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hs-watch-sidebar-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 34%, rgba(7,6,12,.42) 100%);
}

.hs-watch-sidebar-play {
	position: absolute;
	z-index: 1;
	bottom: 6px;
	left: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	padding-left: 1px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	background: rgba(10,8,15,.72);
	color: #fff;
	font-size: 9px;
	line-height: 1;
}

.hs-watch-sidebar-copy {
	display: block;
	min-width: 0;
}

.hs-watch-sidebar-item-title {
	display: -webkit-box;
	overflow: hidden;
	color: #f9f6ff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: -.014em;
	line-height: 1.28;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hs-watch-sidebar-item-meta {
	display: block;
	overflow: hidden;
	margin-top: 6px;
	color: var(--hsw-muted);
	font-size: 9px;
	font-weight: 750;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hs-watch-sidebar-item-progress {
	display: block;
	width: 100%;
	height: 4px;
	margin-top: 7px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255,255,255,.10);
}

.hs-watch-sidebar-item-progress > span {
	display: block;
	width: var(--hs-progress, 0%);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #ff4e88, #a65dff);
	box-shadow: 0 0 10px rgba(198,91,255,.42);
}

.hs-watch-sidebar-remove {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 50%;
	background: rgba(9,8,14,.76);
	color: rgba(245,239,252,.85);
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	opacity: 0;
	transition: opacity .16s ease, background .16s ease, border-color .16s ease;
}

.hs-watch-sidebar-item:hover .hs-watch-sidebar-remove,
.hs-watch-sidebar-item:focus-within .hs-watch-sidebar-remove { opacity: 1; }
.hs-watch-sidebar-remove:hover { border-color: rgba(255,78,136,.6); background: rgba(255,78,136,.16); color: #fff; }

.hs-watch-sidebar-discover {
	position: relative;
	z-index: 1;
	margin-top: 15px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,.075);
}

.hs-watch-sidebar-discover-label {
	display: block;
	margin: 0 0 9px;
	color: rgba(210,198,235,.72);
	font-size: 8px;
	font-weight: 850;
	letter-spacing: .15em;
	line-height: 1;
	text-transform: uppercase;
}

.hs-watch-sidebar-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.hs-watch-sidebar-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 0 8px;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 999px;
	background: rgba(255,255,255,.028);
	color: rgba(237,231,247,.87);
	font-size: 9px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	transition: background .17s ease, border-color .17s ease, color .17s ease;
}

.hs-watch-sidebar-chips a:hover { border-color: rgba(72,216,255,.44); background: rgba(72,216,255,.10); color: #fff; }

.hs-watch-sidebar-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: #d9cbff;
	font-size: 10px;
	font-weight: 850;
	text-decoration: none !important;
}
.hs-watch-sidebar-all span { font-size: 14px; line-height: 1; transition: transform .18s ease; }
.hs-watch-sidebar-all:hover { color: #fff; }
.hs-watch-sidebar-all:hover span { transform: translateX(3px); }

@media (max-width: 600px) {
	.hs-watch-sidebar { border-radius: 13px; padding: 14px; }
	.hs-watch-sidebar-item { grid-template-columns: 112px minmax(0, 1fr); }
	.hs-watch-sidebar-remove { opacity: 1; }
}
