body {
	background-color: #0b0b0f;
	color: #ffffff;
	font-family: 'Dosis', sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	font-size: 16px;
}

header {
	background-color: #111;
	padding: 20px;
	border-bottom: 2px solid #333;
}
header h1 {
	color: #fff;
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 600;
}
nav a, main .author-info a {
	color: #1074a5;
	text-decoration: none;
	margin: 0 10px;
	font-size: 16px;
}
main form a {
	color: #1074a5;
	text-decoration: none;
	font-size: 16px;
}
nav a:hover, main .author-info a:hover, main form a:hover {
	color: #369dcf;
	text-shadow: 0 0 6px #1074a5;
}

main .author-info a {
	padding: 6px;
}

main {
	padding: 20px;
}
h2 {
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 600;
}

form input[type="text"], form input[type="password"] {
	padding: 10px;
	border: 2px solid #333;
	border-radius: 6px;
	background: #1a1a1a;
	color: #fff;
	font-family: 'Dosis', sans-serif;
	font-size: 16px;
}
button {
	padding: 10px 14px;
	border: 2px solid #333;
	border-radius: 6px;
	background: #222;
	color: #fff;
	font-family: 'Dosis', sans-serif;
	font-size: 16px;
	cursor: pointer;
}
button:hover {
	background: #333;
}

.skins-list {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.skin-item {
	background-color: #1a1a1a;
	border: 2px solid #333;
	border-radius: 8px;
	padding: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.skin-item:hover {
	transform: scale(1.05);
	border-color: #fff;
	box-shadow: 0 0 20px #fff, 0 0 40px #fff;
}

.avatar {
	width: 40px;
	height: 40px;
	border-radius: 4px;
	margin-right: 8px;
}
.author-info {
	display: flex;
}
.author-info strong, .author-info strong a {
	position: relative;
	color: #d9e2ff;
	font-size: 16px;
}
.author-info strong {
	top: 8px;
}
.author-info .username-mod strong,
.author-info .username-mod a {
	color: #ed0946;
	text-shadow: 0px 0px 5px #ed0946;	
}
.author-info .username-owner strong,
.author-info .username-owner a {
	color: #ffb300;
	text-shadow: 0px 0px 5px #ffb300;	
}
.author-info .username-banned strong,
.author-info .username-banned a {
	color: #373b47;
	text-shadow: 0px 0px 5px #373b47;	
}
.skin-description {
	margin: 8px 0;
	font-size: 14px;
}
.skin-image img {
	width: 100%;
	border: 2px solid #333;
	border-radius: 6px;
	image-rendering: pixelated;
}

.pagination {
	margin-top: 20px;
	text-align: center;
	font-size: 16px;
}
.pagination a {
	color: #1074a5;
	margin: 0 10px;
	text-decoration: none;
}
.pagination a:hover {
	color: #369dcf;
	text-shadow: 0 0 6px #1074a5;
}

textarea {
	border-radius: 10px;
}

fieldset {
	border-radius: 10px;
	max-width: 100px;
}

footer {
	margin-top: 20px;
	padding: 10px;
	text-align: center;
	border-top: 2px solid #333;
	color: #aaa;
	font-size: 14px;
}
footer a {
	color: #1074a5;
}
footer a:hover {
	color: #369dcf;
	text-shadow: 0 0 6px #1074a5;
}

.error {
	color: #f00;
}

#skin-preview-3d {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 12px auto 8px;
	height: 340px;
	position: relative;
}

#skin3d-canvas {
	border-radius: 10px;
	background: #111;
}

#skin-preview-3d .hint {
	position: absolute;
	bottom: 6px;
	font-size: 12px;
	opacity: 0.6;
}

section[id="skin-preview-3d"] {
	justify-content: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

section[id="skin-preview-3d"] p {
	margin: 5px;
}

form[id="search-bar"] {
	justify-content: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 4px;
}

h2[id="search-bar"] {
	justify-content: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	top: 6px;
	position: relative;
}

.skin-animations {
	margin-top: 10px;
	display: flex;
	gap: 6px;
}

.skin-animations button {
	padding: 6px 10px;
}

input[type="checkbox"] {
	accent-color: #1074a5;
}

@media (max-width: 768px) {
	body { font-size: 14px; }
	header h1 { font-size: 20px; }
	nav a { font-size: 14px; }
}

@media (max-width: 480px) {
	body { font-size: 12px; }
	header h1 { font-size: 18px; }
	nav a {
		display: block;
		margin: 6px 0;
		font-size: 14px;
	}
}

error {
	justify-content: center;
	display: flex;
	align-items: center;
	height: 100vh;
}

hr {
	opacity: 10%;
}