.attr-hero {
	padding: 2.75rem 0 1.5rem;
	background-image: linear-gradient(180deg, #0e67a4, #0f2244);
	border-bottom: 3px solid #ee9a8b;
}

.attr-notice {
	margin-top: 1.25rem;
	padding: 1.15rem 1.25rem;
	border: 3px solid #ee9a8b;
	background: #0f2244;
	box-shadow: 5px 5px 0 #000;
	max-width: 48rem;
}

.attr-notice p {
	margin: 0 0 0.65rem;
	font-size: 0.98rem;
}

.attr-notice p:last-child {
	margin-bottom: 0;
}

.attr-count {
	opacity: 0.9;
}

.attr-toc-wrap {
	margin-top: 1.35rem;
	max-width: 48rem;
}

.attr-toc-title {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	color: #ffd2c8;
}

.attr-toc {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.attr-toc a {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	padding: 0.35rem 0.65rem;
	border: 2px solid #f4f7fb;
	background: #0e67a4;
	box-shadow: 3px 3px 0 #000;
	font-size: 0.88rem;
	transition: transform 0.1s steps(1), box-shadow 0.1s steps(1), background 0.1s steps(1), color 0.1s steps(1);
}

.attr-toc a:hover {
	background: #ee9a8b;
	color: #0f2244;
	transform: translate(1px, 1px);
	box-shadow: 2px 2px 0 #000;
}

.attr-body {
	padding: 1.5rem 0 3.5rem;
}

.attr-group {
	margin-bottom: 2.25rem;
	scroll-margin-top: 5.5rem;
}

.attr-group-title {
	margin: 0 0 0.85rem;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	color: #ffd2c8;
	scroll-margin-top: 5.5rem;
	border-left: 6px solid #ee9a8b;
	padding-left: 0.55rem;
}

.attr-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
}

.attr-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 0.85rem;
	padding: 0.75rem;
	border: 3px solid rgba(255, 255, 255, 0.75);
	background: #0f2244;
	box-shadow: 4px 4px 0 #000;
	scroll-margin-top: 5.5rem;
	transition: border-color 0.1s steps(1), box-shadow 0.1s steps(1);
}

.attr-card:target {
	border-color: #ee9a8b;
	box-shadow: 0 0 0 3px #ee9a8b, 6px 6px 0 #000;
}

.attr-card-media {
	width: 120px;
	height: 96px;
	overflow: hidden;
	background: #0b1a33;
	border: 2px solid rgba(255, 255, 255, 0.5);
	flex-shrink: 0;
}

.attr-card-media.is-lightbox-trigger {
	cursor: zoom-in;
	position: relative;
	transition: border-color 0.1s steps(1);
}

.attr-card-media.is-lightbox-trigger:hover,
.attr-card-media.is-lightbox-trigger:focus-visible {
	border-color: #ee9a8b;
	outline: none;
}

.attr-card-media.is-lightbox-trigger:focus-visible {
	outline: 3px solid #ee9a8b;
	outline-offset: 2px;
}

.attr-card-media video {
	pointer-events: none;
}

.attr-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.attr-card-body {
	min-width: 0;
}

.attr-card-title {
	margin: 0 0 0.35rem;
	font-size: 0.62rem;
	line-height: 1.45;
	word-break: break-word;
}

.attr-num {
	opacity: 0.75;
}

.attr-path {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
}

.attr-path a {
	color: #ffd2c8;
	text-decoration: none;
	border-bottom: 2px solid #ee9a8b;
	word-break: break-all;
}

.attr-path a:hover {
	background: #ee9a8b;
	color: #0f2244;
}

.attr-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 0 0 0.45rem;
	font-size: 0.8rem;
	opacity: 0.85;
}

.attr-fields {
	margin: 0;
	display: grid;
	gap: 0.25rem;
}

.attr-fields div {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 0.35rem;
	font-size: 0.82rem;
}

.attr-fields dt {
	margin: 0;
	opacity: 0.75;
}

.attr-fields dd {
	margin: 0;
}

.attr-unknown {
	color: #ffb4a8;
}

.attr-used {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.attr-used-link {
	display: inline-flex;
	align-items: center;
	min-height: 1.7rem;
	padding: 0.15rem 0.5rem;
	border: 2px solid #f4f7fb;
	background: #0e67a4;
	color: #ffd2c8;
	font-size: 0.78rem;
	text-decoration: none;
	box-shadow: 2px 2px 0 #000;
	transition: transform 0.1s steps(1), box-shadow 0.1s steps(1), background 0.1s steps(1), color 0.1s steps(1);
}

.attr-used-link:hover {
	background: #ee9a8b;
	color: #0f2244;
	transform: translate(1px, 1px);
	box-shadow: 1px 1px 0 #000;
}

.attr-repo {
	color: #ffd2c8;
	text-decoration: none;
	border-bottom: 2px solid #ee9a8b;
}

.attr-repo:hover {
	background: #ee9a8b;
	color: #0f2244;
}

.media-credit {
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	z-index: 2;
	width: 1.75rem;
	height: 1.75rem;
	border: 2px solid #f4f7fb;
	background: #0f2244;
	color: #ffd2c8;
	font-size: 0.72rem;
	font-family: "Press Start 2P", "Courier New", monospace;
	line-height: 1;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 2px 2px 0 #000;
	transition: background 0.1s steps(1), color 0.1s steps(1), transform 0.1s steps(1), box-shadow 0.1s steps(1);
	text-decoration: none;
}

.media-credit:hover,
.media-credit:focus-visible {
	background: #ee9a8b;
	color: #0f2244;
	transform: translate(1px, 1px);
	box-shadow: 1px 1px 0 #000;
}

@media (max-width: 768px) {
	.attr-hero {
		padding: 1.75rem 0 1.15rem;
	}

	.attr-cards {
		grid-template-columns: 1fr;
	}

	.attr-card {
		grid-template-columns: 96px 1fr;
		box-shadow: 3px 3px 0 #000;
	}

	.attr-card-media {
		width: 96px;
		height: 80px;
	}

	.attr-fields div {
		grid-template-columns: 1fr;
		gap: 0.1rem;
	}

	.attr-card-title {
		font-size: 0.58rem;
	}

	.media-credit {
		width: 1.85rem;
		height: 1.85rem;
		top: 0.3rem;
		right: 0.3rem;
	}
}
