body {
	margin: 0;
	background: #f2f2f2;
	color: #444444;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	text-shadow: 0 1px 0 #ffffff;
}

a {
	border-bottom: 1px solid #444444;
	color: #444444;
	text-decoration: none;
}

a:hover {border-bottom: 0;}

header {
	background: #f2f2f2;
	background-image: url("t/images/20251115061257-admin.jpg");
	background-size: auto;
	background-position-x: 45%;
	background-position-y: 8%;
	background-blend-mode: soft-light;
	padding: 40px 0 10px 0;
}

header h1, nav {
	width: 70%;
	margin: 0 auto 10px auto;
	padding: 5px;	
}

section {
	width: 70%;
	margin: 0 auto 60px auto;
	padding: 10px 20px 0 20px;
}

.comic img {
	width: 70%;
	height: auto;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	width: 70%;
	margin: 10px auto;
	padding: 10px 20px 0 20px;
}

.stream {
	border-radius: 8px;
	width: 300px;
}

.gallery-item {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	cursor: pointer;
}

.gallery-item img:hover {
	transform: scale(1.05);
}

.modal {
	display: none;
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	justify-content: center;
	align-items: center;
}

.modal-content {
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
}

.close {
	position: absolute;
	top: 15px;
	right: 25px;
	color: white;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
}

.pagination {
	width: 70%;
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 10px auto;
	padding: 10px 20px 0 20px;
}

.pagination button {
	border: none;
	background: #ddd;
	padding: 8px 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
}

.pagination button:hover {
	background: #bbb;
}

.pagination button.active {
	background: #333;
	color: white;
}

.bluesky-embed {
	margin: auto;
}

@media (max-width: 768px) {
	.comic img {width: 100%;}
	.gallery {width: 80%;}
}