@charset "utf-8";



h2{
	font-size: 1rem;
	font-weight: normal;
}
header{
	margin: 0 auto;
	max-width: 600px;
}
header details{
	text-align: left;
}
.hashtaglist li {
	display: inline-block;
	padding-right: 0.5em;
	font-size: 0.85rem;
	font-weight: bold;
}
.hashtaglist li:before{
	content: '#';
	color: var(--text-color-06);
}




.articlelist{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 2rem 1rem;
	margin: 0 auto 5rem;
	max-width: 600px;
}
.articlelist:has(> :nth-child(7)){
	max-width: 1200px;
}
.articlelist article{
	background-color: var(--article-bg-color);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-bottom: 0;
	padding: 0;
}
.articlelist article > a{
	aspect-ratio: 1 / 1;
	display: block;
}
.articlelist .imagearea img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top center;
	/*PROTECT*/
	pointer-events: none;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-touch-callout:none;
	-moz-user-select:none;
	user-select:none;
}
.articlelist .articleinfo{
	flex-grow: 1;
	font-size: 0.85rem;
	line-height: 1.5;
	padding: 0.7em 1em;
}
.articlelist .date{
	color: var(--text-color-05);
	font-size: 0.75rem;
	padding: 0 1em 0.7em;
	display: flex;
	justify-content: space-between;
}

/* OLD -------------------------------------------- */

figure{
	display: block;
	margin: 0 0;
	padding: 0 0;
}
figure.nsfw{
	overflow: hidden;
	width: 100%;
}
div.imagearea{
	aspect-ratio: 1 / 1;
	background-color: var(--text-color-03);
	overflow: hidden;
	position: relative;
}
article.logstatus-lock div.imagearea::before{
	content: "\f023";
	font-family: 'Line Awesome Free';
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
	position: absolute;
	top: calc(50% - 0.5em);
	left: calc(50% - 0.5em);
}
a.imagelink.nsfw,
a[data-flag*="nsfw"],
a:has( > img.nsfw ){
	overflow: hidden;
	position: relative;
	text-decoration: none;
}
div.imagearea:has(img.nsfw)::before{
	content: "\f06a";
	font-family: 'Line Awesome Free';
	font-size: 2rem;
	font-weight: bold;
	line-height: 1;
	position: absolute;
	top: calc(50% - 0.5em);
	left: calc(50% - 0.5em);
	z-index: 1000;
}
img.nsfw,
.thumbnails a[data-flag*="nsfw"] img{
	filter: blur(10px);
	opacity: 0.5;
}
figcaption{
	display: none;
}
.backto{
	text-align: center;
}


@media (max-width: 599px) {
	body.mode-gallery main{
		padding: 0 5vw;
	}
}