:root {
	--movie-panel-background: #303c4d;
	--dashboard-link: #f0d180;
}

:where(.rating-mosaic, .rating-panel) .rating-annotation {
	color: #9ca3af;
}

:where(.rating-mosaic) .label-banner {
	background: rgba(112, 45, 49, 0.82);
}

:where(.rating-mosaic) .rating-meta {
	background-color: var(--movie-panel-background);
}

:where(.rating-mosaic) .rating-details {
	background-color: var(--movie-panel-background);
	color: white;
}

:where(.rating-mosaic) .drm-meta .drm-meta-imdb-id a,
:where(.rating-mosaic) .drm-timestamp a.permalink {
	color: var(--dashboard-link);
}

.rating-mosaic a {
	color: var(--dashboard-link);
}

.rating-panel {
	background-color: #1f2937;
	border-color: #374151;
	border-radius: 8px;
}

.rating-panel label {
	color: #9ca3af;
}

:where(.rating-panel) .rating-header {
	background: #374151;
	border-bottom-color: #4b5563;
}

:where(.rating-panel) .rating-header .rating-date-value {
	color: #d1d5db;
}

:where(.rating-panel) .edit-expand-button {
	border-radius: 18px;
}

:where(.rating-panel) .edit-expand-button:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

:where(.rating-panel) .rating-value {
	border-color: #4b5563;
	border-radius: 4px;
}

:where(.rating-panel) .rating-ap {
	background-color: gold;
}

:where(.rating-panel) :is(.rating-a, .rating-A) {
	background-color: silver;
}

:where(.rating-panel) :is(.rating-b, .rating-B) {
	background-color: #666;
}

:where(.rating-panel) :is(.rating-c, .rating-d, .rating-e, .rating-f, .rating-C, .rating-D, .rating-E, .rating-F) {
	background-color: #616161;
}

:where(.rating-panel) .literal-review-container a,
:where(.rating-panel) .literal-review-container a:visited {
	color: #e5e7eb;
}

:where(.rating-panel) .rating-movie-awards.bordered {
	border-image: linear-gradient(to right, rgba(128, 128, 128, 0.3) 0%, rgba(255, 255, 255, 0) 100%) 1;
}

:where(.rating-panel) .award-artists {
	color: #9ca3af;
}

:where(.rating-panel) .award-artist-pic {
	border-color: #374151;
	border-radius: 30px;
}

.public-ratings .rating-panel .edit-expand-button img {
	filter: invert(1);
}
