.cinema-ranking-title {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	max-width: 100%;
	margin-bottom: 30px;
}

.cinema-ranking-title h1 {
	min-width: 0;
	margin: 0;
}

.cinema-ranking-title .cinema-ranking-help {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	line-height: 1;
}

.cinema-ranking-help:focus:not(:focus-visible),
.cinema-ranking-help.cinema-ranking-help--pointer-focus:focus {
	outline: none;
	box-shadow: none;
}

.cinema-ranking-help:focus-visible {
	outline: 2px solid #66c52d;
	outline-offset: 2px;
}

.cinema-ranking-item {
	position: relative;
}

.cinema-ranking-modal .custom-modal-content {
	display: flex;
	flex-direction: column;
	width: calc(100% - 32px);
	max-width: 680px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: hidden;
}

.cinema-ranking-modal .custom-modal-header {
	flex: 0 0 auto;
}

.cinema-ranking-modal .custom-modal-header h2 {
	padding-right: 36px;
}

.cinema-ranking-modal .custom-modal-body {
	min-height: 0;
	max-height: none;
	overflow-y: auto;
}

.cinema-ranking-modal .cinema-ranking-guide {
	font-size: 16px;
	line-height: 1.6;
}

.cinema-ranking-guide p {
	margin: 0 0 14px;
}

.cinema-ranking-guide .cinema-ranking-guide__intro {
	color: #333;
}

.cinema-ranking-guide h3 {
	margin: 24px 0 10px;
	padding: 0;
	border: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: #333;
}

.cinema-ranking-guide__formula {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-left: 4px solid #66c42c;
	border-radius: 6px;
	background: #f8f9fa;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.cinema-ranking-guide__terms {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 8px 12px;
	margin: 0 0 16px;
}

.cinema-ranking-guide__terms dt,
.cinema-ranking-guide__terms dd {
	margin: 0;
	line-height: inherit;
}

.cinema-ranking-guide ul {
	margin: 0 0 14px;
	padding-left: 20px;
}

.cinema-ranking-guide li {
	margin-bottom: 8px;
}

@media (max-width: 991px) {
	.cinema-ranking-title {
		margin-bottom: 20px;
	}

	.top-video-page .filter-block-mobile-toggle,
	.bad-video-page .filter-block-mobile-toggle {
		margin-top: 15px;
	}
}

.video-search .filter-toggle-btn {
	font-size: 16px !important;
}
