.py-note {
	background: #fff;
	color: #000;
}

.py-note__head {
	padding: 16px clamp(16px, 3vw, 40px) 12px;
	border-bottom: 1px solid #000;
	text-align: center;
}

.py-note__head h1 {
	margin: 0;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 800;
	line-height: 1.55;
}

.py-note__crumb {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
	color: #111;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 13px;
}

.py-note__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
	gap: 22px;
	align-items: start;
	padding: 28px clamp(16px, 3vw, 40px) 72px;
}

.py-note__side {
	position: sticky;
	top: calc(var(--py-header-h) + 16px);
	z-index: 2;
	display: grid;
	gap: 16px;
}

.admin-bar .py-note__side {
	top: calc(var(--py-header-h) + 44px);
}

.py-note__sheet {
	position: relative;
	min-width: 0;
	padding: 22px 20px 28px;
	border: 1px solid #000;
	background: #fff;
}

.py-note__mark {
	position: absolute;
	width: 11px;
	height: 11px;
	pointer-events: none;
}

.py-note__mark::before,
.py-note__mark::after {
	content: "";
	position: absolute;
	background: #000;
}

.py-note__mark::before {
	top: 5px;
	left: 0;
	width: 11px;
	height: 1px;
}

.py-note__mark::after {
	top: 0;
	left: 5px;
	width: 1px;
	height: 11px;
}

.py-note__mark--tl { top: -6px; right: -6px; }
.py-note__mark--tr { top: -6px; left: -6px; }
.py-note__mark--bl { bottom: -6px; right: -6px; }
.py-note__mark--br { bottom: -6px; left: -6px; }

.py-note__facts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin: 0;
	padding: 0 0 14px;
	border-bottom: 1px solid #000;
	list-style: none;
}

.py-note__facts li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #000;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.py-note__facts svg {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.py-note__lead {
	margin: 16px 0 0;
	padding: 14px 16px;
	background: #000;
	color: #fff;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.95;
	text-align: justify;
	text-align-last: right;
}

.py-note__toc {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid #000;
}

.py-note__toc p {
	margin: 0;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 15px;
	font-weight: 800;
}

.py-note__toc ol {
	display: grid;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.py-note__toc a {
	color: #000;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
	text-decoration: none;
}

.py-note__toc .is-h3 { padding-right: 16px; }
.py-note__toc .is-h4 { padding-right: 32px; }

.py-note__content {
	margin-top: 22px;
	color: #000;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 16px;
	line-height: 2;
	text-align: justify;
	text-align-last: right;
}

.py-note__content h2,
.py-note__content h3,
.py-note__content h4 {
	margin: 1.4em 0 0.6em;
	font-family: "Ray", Tahoma, sans-serif;
	font-weight: 800;
	line-height: 1.5;
	text-align: right;
	text-align-last: right;
	scroll-margin-top: calc(var(--py-header-h) + 20px);
}

.py-note__content h2 { font-size: 22px; }
.py-note__content h3 { font-size: 18px; }
.py-note__content h4 { font-size: 16px; }

.py-note__content p,
.py-note__content ul,
.py-note__content ol {
	margin: 0 0 1em;
}

.py-note__content img,
.py-note__content video,
.py-note__content iframe {
	max-width: 100%;
	height: auto;
}

.py-note__content a {
	color: #000;
	text-decoration: underline;
}

.py-note__comments {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid #000;
}

.py-note__comments h2,
.py-note .comment-reply-title {
	margin: 0 0 14px;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 20px;
	font-weight: 800;
}

.py-note__comment-list,
.py-note__comment-list .children {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.py-note__comment {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #000;
}

.py-note__comment-top {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 13px;
}

.py-note__comment-text,
.py-note__comment-empty {
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.9;
}

.py-note .comment-reply-link {
	display: inline-block;
	margin-top: 6px;
	color: #000;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.py-note .comment-respond {
	margin-top: 8px;
}

.py-note .comment-form {
	display: grid;
	gap: 12px;
}

.py-note .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 800;
}

.py-note .comment-form input[type="text"],
.py-note .comment-form input[type="email"],
.py-note .comment-form input[type="url"],
.py-note .comment-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 14px;
}

.py-note .comment-form input[type="text"],
.py-note .comment-form input[type="email"],
.py-note .comment-form input[type="url"] {
	height: 44px;
	padding: 0 12px;
}

.py-note .comment-form textarea {
	min-height: 120px;
	padding: 10px 12px;
}

.py-note .comment-form .form-submit {
	margin: 0;
}

.py-note__shot {
	margin: 0;
	border: 1px solid #000;
	background: #111;
}

.py-note__shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.py-note__turn {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid #000;
	background: #fff;
}

.py-note__turn a,
.py-note__turn .is-empty {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 88px;
	padding: 12px;
	color: #000;
	text-decoration: none;
}

.py-note__turn .is-prev {
	border-left: 1px solid #000;
}

.py-note__turn .is-next {
	justify-content: flex-end;
	text-align: left;
}

.py-note__turn small,
.py-note__turn strong {
	display: block;
	font-family: "Ray", Tahoma, sans-serif;
}

.py-note__turn small {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
}

.py-note__turn strong {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.6;
}

.py-note__arrow {
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1;
}

body.punchyab .py-note__crumb a,
body.punchyab .py-note__facts a,
body.punchyab .py-note__toc a,
body.punchyab .py-note__turn a,
body.punchyab .py-note .comment-reply-link,
body.punchyab .py-note__crumb a:hover,
body.punchyab .py-note__facts a:hover,
body.punchyab .py-note__toc a:hover,
body.punchyab .py-note__turn a:hover,
body.punchyab .py-note .comment-reply-link:hover {
	color: #000 !important;
	-webkit-text-fill-color: #000;
}

body.punchyab .py-note .comment-form input[type="submit"],
body.punchyab .py-note .comment-form input[type="submit"]:hover,
body.punchyab .py-note .comment-form input[type="submit"]:focus {
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid #000 !important;
	border-radius: 0;
	background: #000 !important;
	background-color: #000 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-family: "Ray", Tahoma, sans-serif;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

body.punchyab .py-note .comment-form input[type="text"],
body.punchyab .py-note .comment-form input[type="email"],
body.punchyab .py-note .comment-form input[type="url"],
body.punchyab .py-note .comment-form textarea {
	background: #fff !important;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	border-color: #000 !important;
}

@media (max-width: 980px) {
	.py-note__layout {
		grid-template-columns: 1fr;
	}

	.py-note__side {
		position: static;
		order: -1;
	}
}

@media (max-width: 782px) {
	.admin-bar .py-note__side {
		top: calc(var(--py-header-h) + 16px);
	}
}
