body {
	margin: 0;
	padding-top: 0 !important;
	background: #f7f0d8;
	color: #4a3f6b;
}
#nekoyomi-result.nekoyomi-result-wrap {
	background: transparent;
}
.ny-kin-frame {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0 auto;
	padding: 12px 0 48px;
	background: #f7f0d8;
}
#nekoyomi-mirror-paid-slot {
	color: #000;
	font-size: 16px;
}
#nekoyomi-mirror-paid-slot > .nekoyomi-lock-preview {
	margin-left: var(--nekoyomi-pad-x, 15px);
	margin-right: var(--nekoyomi-pad-x, 15px);
}
.ny-kin-h1,
.ny-kin-nav,
.ny-kin-explain-links {
	padding-left: 16px;
	padding-right: 16px;
}
.ny-kin-h1 {
	margin: 8px 0 8px;
	font-size: 1.45rem !important;
	line-height: 1.45 !important;
	font-weight: 700;
}
.ny-kin-nav {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 8px;
	font-size: 0.95rem;
}
.ny-kin-nav__item {
	color: #5a4830;
	font-weight: 700;
	text-decoration: none;
}
a.ny-kin-nav__item:hover,
a.ny-kin-nav__item:focus {
	text-decoration: underline;
}
.ny-kin-explain-links {
	margin: 0 0 12px;
	font-size: 0.95rem;
}
.ny-kin-purchase,
.ny-kin-relations {
	margin-left: 15px;
	margin-right: 15px;
}
.ny-kin-purchase {
	margin-top: 18px;
	margin-bottom: 18px;
	padding: 12px 14px;
	border: 1px solid #e8deff;
	border-radius: 12px;
	background: #fffdf8;
	font-size: 0.95rem;
}
.ny-kin-purchase__row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: baseline;
	padding: 6px 0;
}
.ny-kin-purchase__name {
	min-width: 7em;
	font-weight: 700;
	color: #341c03;
}
.ny-kin-purchase__owned {
	color: #2a6b3c;
}
.ny-kin-relations {
	margin-top: 8px;
	margin-bottom: 28px;
}
@media (min-width: 901px) {
	html {
		background-color: #d4daf2;
	}
	body::before,
	body::after {
		content: "";
		position: fixed;
		top: 0;
		bottom: 0;
		width: max(0px, calc((100vw - 600px) / 2));
		background-color: #d4daf2;
		background-image: url("https://minami-maya.jp/wp-content/uploads/2026/05/S__11976748.jpg");
		background-repeat: repeat;
		background-position: center top;
		background-size: 320px auto;
		z-index: 0;
		pointer-events: none;
	}
	body::before {
		left: 0;
	}
	body::after {
		right: 0;
	}
	#nekoyomi-result.nekoyomi-result-wrap {
		background: transparent;
	}
	.ny-kin-frame {
		position: relative;
		z-index: 1;
		width: 600px;
		max-width: 600px;
		min-height: 100vh;
		margin: 0 auto;
		padding: 48px max(1.25rem, 5vw) 64px;
		background: #fff5d7;
		box-shadow: 0 0 48px rgba(52, 28, 3, 0.14);
		box-sizing: border-box;
	}
	/* 本番はテーマが .wp-site-blocks をすでに 600px の中央カラムにしている。
	   その中で再度 600px と 5vw を足すと、画面幅に応じて右へはみ出す。 */
	.wp-site-blocks .ny-kin-frame {
		width: auto;
		max-width: 100%;
		min-height: 0;
		margin: 0;
		padding: 12px 0 48px;
		background: transparent;
		box-shadow: none;
	}
	.ny-kin-h1,
	.ny-kin-nav,
	.ny-kin-explain-links {
		padding-left: 0;
		padding-right: 0;
	}
}
@media (max-width: 600px) {
	.ny-kin-h1 {
		font-size: 1.25rem !important;
	}
	.ny-kin-purchase__row {
		flex-direction: column;
		align-items: flex-start;
	}
}
