/* Verified MyAnimeList snapshot presentation. */
.dtm-anime-details {
	--dtm-mal-accent: #8b5cf6;
	--dtm-mal-border: rgba(255, 255, 255, .1);
	--dtm-mal-panel: rgba(255, 255, 255, .035);
	--dtm-mal-surface: var(--dt-body-background, #17171f);
	clear: both;
	margin: clamp(28px, 4vw, 44px) 0 8px;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--dtm-mal-border);
	border-radius: 16px;
	background: rgba(127, 127, 127, .055);
}

.dtm-anime-details > header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
}

.dtm-anime-details > header span {
	display: block;
	margin-bottom: 4px;
	color: #a78bfa;
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.dtm-anime-details h2,
.dtm-anime-details h3,
.dtm-anime-details p,
.dtm-anime-details ul {
	margin-top: 0;
}

.dtm-anime-details h2,
.dtm-anime-details h3 {
	color: inherit;
}

.dtm-anime-details > header h2 {
	margin-bottom: 0;
	font-size: clamp(24px, 3vw, 32px);
}

.dtm-anime-details > header a {
	flex: 0 0 auto;
	font-weight: 650;
}

.dtm-anime-details__aliases {
	display: grid;
	grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-bottom: 20px;
}

.dtm-anime-details__aliases h3 {
	margin-bottom: 0;
	font-size: 14px;
}

.dtm-anime-details__aliases ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.dtm-anime-details__aliases li {
	padding: 5px 9px;
	border: 1px solid var(--dtm-mal-border);
	border-radius: 999px;
	background: var(--dtm-mal-panel);
	font-size: 12px;
	overflow-wrap: anywhere;
}

.dtm-anime-details__summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 22px;
}

.dtm-anime-details__summary > div {
	padding: 14px 16px;
	border: 1px solid rgba(139, 92, 246, .25);
	border-radius: 12px;
	background: rgba(139, 92, 246, .08);
}

.dtm-anime-details__summary span,
.dtm-anime-details__summary small {
	display: block;
}

.dtm-anime-details__summary span {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .72;
}

.dtm-anime-details__summary strong {
	font-size: clamp(20px, 2.4vw, 27px);
	line-height: 1.1;
}

.dtm-anime-details__summary small {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 500;
	opacity: .68;
}

.dtm-anime-details__groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.dtm-anime-details__group h3,
.dtm-anime-details__text h3,
.dtm-anime-details__collection h3,
.dtm-anime-details__gallery h3 {
	margin-bottom: 10px;
	font-size: 18px;
}

.dtm-anime-details dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: rgba(127, 127, 127, .18);
}

.dtm-anime-details dl > div {
	padding: 11px 13px;
	background: var(--dtm-mal-surface);
}

.dtm-anime-details dt {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .65;
}

.dtm-anime-details dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.dtm-anime-details dd a,
.dtm-anime-details > header a {
	color: #c4b5fd;
}

.dtm-anime-details dd a:hover,
.dtm-anime-details dd a:focus-visible,
.dtm-anime-details > header a:hover,
.dtm-anime-details > header a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.dtm-anime-details__text,
.dtm-anime-details__collection,
.dtm-anime-details__gallery {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--dtm-mal-border);
}

.dtm-anime-details__text p {
	max-width: 76ch;
	margin-bottom: 0;
	line-height: 1.75;
}

.dtm-anime-details__collection ul,
.dtm-anime-details__gallery ul {
	display: grid;
	gap: 12px;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

.dtm-anime-details__collection ul {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.dtm-anime-details__collection li,
.dtm-anime-details__gallery li {
	min-width: 0;
}

.dtm-anime-details__collection a {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	height: 100%;
	padding: 9px;
	border: 1px solid var(--dtm-mal-border);
	border-radius: 11px;
	background: var(--dtm-mal-panel);
	color: inherit;
	text-decoration: none;
}

.dtm-anime-details__collection a:hover,
.dtm-anime-details__collection a:focus-visible,
.dtm-anime-details__gallery a:focus-visible {
	border-color: var(--dtm-mal-accent);
	box-shadow: 0 0 0 3px rgba(139, 92, 246, .2);
}

.dtm-anime-details__work-image {
	display: block;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	border-radius: 7px;
	background: rgba(127, 127, 127, .16);
}

.dtm-anime-details__work-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dtm-anime-details__work-copy,
.dtm-anime-details__work-copy strong,
.dtm-anime-details__work-copy small {
	display: block;
	min-width: 0;
}

.dtm-anime-details__work-copy strong {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-height: 1.35;
}

.dtm-anime-details__work-copy small {
	margin-top: 5px;
	opacity: .68;
}

.dtm-anime-details__gallery ul {
	grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
}

.dtm-anime-details__gallery a {
	display: block;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	border: 1px solid var(--dtm-mal-border);
	border-radius: 11px;
	background: var(--dtm-mal-panel);
}

.dtm-anime-details__gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .2s ease;
}

.dtm-anime-details__gallery a:hover img {
	transform: scale(1.025);
}

@media (prefers-reduced-motion: reduce) {
	.dtm-anime-details__gallery img {
		transition: none;
	}
}

@media (max-width: 900px) {
	.dtm-anime-details__groups {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.dtm-anime-details > header,
	.dtm-anime-details__aliases {
		align-items: flex-start;
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.dtm-anime-details__summary {
		grid-template-columns: 1fr;
	}

	.dtm-anime-details dl {
		grid-template-columns: 1fr;
	}
}
