body:has(.ny-tzolkin) {
	background: #f7f0d8 !important;
}
.ny-tzolkin {
	box-sizing: border-box;
	position: relative;
	z-index: 2;
	width: min(100%, 600px);
	max-width: 600px;
	min-width: 0;
	margin: 0 auto;
	padding: 12px 0 48px;
	overflow: hidden;
	background: #f7f0d8;
	color: #4a3f6b;
	font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Yu Gothic", "YuGothic", sans-serif;
}
.ny-tzolkin__brand {
	margin: 4px 0 6px;
	color: #8d74a8;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-align: center;
}
h1.ny-tzolkin__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 0 8px !important;
	color: #4a3f6b;
	font-size: 1rem !important;
	line-height: 1.25 !important;
	font-weight: 800;
	text-align: center;
}
.ny-tzolkin__title-main {
	font-size: 2.05rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
}
.ny-tzolkin__title-pipe {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ny-tzolkin__title-sub {
	margin-top: 2px;
	font-size: 1.18rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.ny-tzolkin__lead {
	margin: 0 0 16px;
	color: #5c4d78;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.7;
	text-align: center;
}
.ny-tzolkin__about {
	margin: 0 0 16px;
	padding: 14px 16px 15px;
	border-radius: 20px;
	background: #f3e9fb;
	color: #3d3158;
}
.ny-tzolkin__about-title {
	margin: 0 0 6px;
	color: #54367a;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.45;
	text-align: center;
}
.ny-tzolkin__about p {
	margin: 0;
	font-size: 0.94rem;
	font-weight: 500;
	line-height: 1.75;
}
.ny-tzolkin__hint {
	margin: 0 0 12px;
	color: #6d5d86;
	font-size: 0.92rem;
	line-height: 1.5;
}
.ny-tzolkin__scroll {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	max-height: calc(100vh - 190px);
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
	overscroll-behavior-x: contain;
	border: 1px solid #ead9b4;
	border-radius: 18px;
	background: #fff8ea;
	padding: 8px 0 0;
}
.ny-tzolkin__scroll::-webkit-scrollbar {
	width: 14px;
	height: 14px;
	-webkit-appearance: none;
}
.ny-tzolkin__scroll::-webkit-scrollbar-track {
	background: #f3e6c8;
	border-radius: 0 0 18px 18px;
}
.ny-tzolkin__scroll::-webkit-scrollbar-thumb {
	background: #8d74a8;
	border-radius: 999px;
	border: 3px solid #f3e6c8;
}
.ny-tzolkin__table {
	border-collapse: separate;
	border-spacing: 4px;
	width: max-content;
	min-width: 980px;
	background: transparent;
	font-size: 0.95rem;
}
body .wp-site-blocks table.ny-tzolkin__table {
	display: table;
	overflow: visible;
	width: max-content;
	max-width: none;
}
.ny-tzolkin__table caption {
	caption-side: bottom;
	padding: 8px 4px 0;
	text-align: left;
	color: #7a6d90;
}
.ny-tzolkin__table th,
.ny-tzolkin__table td {
	padding: 0;
	text-align: center;
	vertical-align: middle;
}
.ny-tzolkin__table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 8px 6px;
	color: #4a3f6b;
	font-size: 0.82rem;
	font-weight: 700;
	background: #fff8ea;
	white-space: nowrap;
}
.ny-tzolkin__corner,
.ny-tzolkin__seal {
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff8ea;
	box-shadow: 4px 0 0 #fff8ea;
}
.ny-tzolkin__table thead th.ny-tzolkin__corner {
	z-index: 3;
	text-align: left;
	padding-left: 8px;
}
.ny-tzolkin__seal {
	min-width: 108px;
	padding: 6px 8px 8px;
	border-radius: 14px;
	text-align: center;
}
.ny-tzolkin__seal-img {
	display: block;
	width: 64px;
	height: 64px;
	max-width: 64px;
	margin: 0 auto 4px;
	object-fit: contain;
	object-position: center;
}
.ny-tzolkin__seal-name {
	display: block;
	color: #4a3f6b;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.35;
	white-space: normal;
}
.ny-tzolkin__cell {
	min-width: 56px;
	border-radius: 12px;
}
.ny-tzolkin__cell--red {
	background: #f0a396;
}
.ny-tzolkin__cell--white {
	background: #f4ead6;
}
.ny-tzolkin__cell--blue {
	background: #9dcef2;
}
.ny-tzolkin__cell--yellow {
	background: #f3d56a;
}
.ny-tzolkin__cell--black {
	background: #2b2926;
}
.ny-tzolkin__cell a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 6px 4px;
	border-radius: 12px;
	color: #3d3158;
	font-weight: 800;
	text-decoration: none;
}
.ny-tzolkin__cell--black a {
	color: #fffaf3;
}
.ny-tzolkin__cell a:hover,
.ny-tzolkin__cell a:focus,
.ny-tzolkin__cell a:focus-visible,
.ny-tzolkin__cell a:active {
	background: rgba(255, 255, 255, 0.42);
	outline: 2px solid #4a3f6b;
	outline-offset: -3px;
}
.ny-tzolkin__cell--black a:hover,
.ny-tzolkin__cell--black a:focus,
.ny-tzolkin__cell--black a:focus-visible,
.ny-tzolkin__cell--black a:active {
	background: rgba(255, 255, 255, 0.14);
	outline-color: #fffaf3;
}
.ny-tzolkin__intro {
	padding: 0 12px;
}
.ny-tzolkin__finder-title {
	margin: 4px 0 12px;
	color: #54367a;
	font-size: 1.18rem;
	line-height: 1.45;
	font-weight: 800;
	text-align: center;
}
.ny-tzolkin__diagnosis {
	margin: 0 0 20px;
	padding: 16px 16px 14px;
	border-radius: 22px;
	background: #fff1e8;
	text-align: center;
}
.ny-tzolkin__diagnosis-lead,
.ny-tzolkin__diagnosis-note {
	margin: 0;
	color: #4a3f6b;
	line-height: 1.5;
}
.ny-tzolkin__diagnosis-lead {
	font-weight: 700;
}
.ny-tzolkin__diagnosis-note {
	margin-top: 8px;
	color: #6d5d86;
	font-size: 0.88rem;
}
.ny-tzolkin__diagnosis-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	margin-top: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #54367a;
	color: #fffaf3;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 4px 0 #3d275c, 0 8px 16px rgba(84, 54, 122, 0.16);
	transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}
.ny-tzolkin__diagnosis-button:hover,
.ny-tzolkin__diagnosis-button:focus,
.ny-tzolkin__diagnosis-button:focus-visible {
	background: #432c64;
	color: #fffaf3;
	outline: 2px solid #432c64;
	outline-offset: 2px;
}
.ny-tzolkin__diagnosis-button:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #3d275c;
}
.ny-tzolkin__diagnosis-icon {
	flex: 0 0 auto;
}
.ny-tzolkin__modes {
	display: flex;
	gap: 8px;
	margin: 0 0 12px;
}
.ny-tzolkin__mode {
	flex: 1 1 0;
	min-height: 44px;
	padding: 8px 10px;
	border: 0;
	border-radius: 999px;
	background: #eadcf8;
	color: #4a3f6b;
	font: inherit;
	font-weight: 800;
	line-height: 1.3;
	cursor: pointer;
	box-shadow: inset 0 0 0 1px rgba(84, 54, 122, 0.08);
	transition: transform 0.08s ease, background 0.08s ease;
}
.ny-tzolkin__mode:active {
	transform: translateY(1px);
}
.ny-tzolkin__mode[aria-selected="true"] {
	background: #54367a;
	color: #fffaf3;
}
.ny-tzolkin__mode:focus,
.ny-tzolkin__mode:focus-visible {
	outline: 2px solid #54367a;
	outline-offset: 2px;
}
.ny-tzolkin__noscript {
	margin: 0 0 12px;
	color: #6d5d86;
	font-size: 0.88rem;
}
.ny-tzolkin__panel[hidden] {
	display: none !important;
}
.ny-tzolkin__board {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 10px 0 4px;
	padding: 4px;
	border: 1px solid #ead9b4;
	border-radius: 18px;
	background: #fff8ea;
	container-type: inline-size;
	line-height: 1;
}
.ny-tzolkin__board p,
.ny-tzolkin__board br {
	display: none;
	margin: 0;
	height: 0;
}
.ny-tzolkin__board-row {
	display: grid;
	grid-template-columns: repeat(14, minmax(0, 1fr));
	align-items: start;
	gap: 2px;
	width: 100%;
}
.ny-tzolkin__board-row + .ny-tzolkin__board-row {
	margin-top: 2px;
}
.ny-tzolkin__board-row--head > * {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
	padding: 1px 0 3px;
	color: #6d5d86;
	font-size: clamp(8px, 2cqi, 12px);
	font-weight: 700;
	line-height: 1;
}
.ny-tzolkin__board-seal,
.ny-tzolkin__board .ny-tzolkin__mini {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto;
	min-width: 0;
	min-height: 0;
}
.ny-tzolkin__board-seal {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.ny-tzolkin__overview {
	width: 100%;
	border-collapse: separate;
	border-spacing: 2px;
	table-layout: fixed;
	background: transparent;
}
.ny-tzolkin__overview caption {
	caption-side: bottom;
	padding: 6px 8px 8px;
	text-align: left;
	color: #7a6d90;
	font-size: 0.75rem;
}
.ny-tzolkin__overview th,
.ny-tzolkin__overview td {
	padding: 0;
	text-align: center;
	vertical-align: middle;
}
.ny-tzolkin__overview thead th {
	color: #6d5d86;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	background: #fff8ea;
}
.ny-tzolkin__overview-seal,
.ny-tzolkin__overview-corner {
	width: 30px;
	background: #fff8ea;
}
.ny-tzolkin__sealcolor--red {
	background: #f0a396;
}
.ny-tzolkin__sealcolor--white {
	background: #f4ead6;
}
.ny-tzolkin__sealcolor--blue {
	background: #9dcef2;
}
.ny-tzolkin__sealcolor--yellow {
	background: #f3d56a;
}
.ny-tzolkin__board .ny-tzolkin__overview-img {
	display: block;
	width: 84%;
	height: auto;
	max-width: none;
	max-height: 100%;
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.ny-tzolkin__overview-seal-name,
.ny-tzolkin__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ny-tzolkin__mini a,
.ny-tzolkin__cell a,
.ny-tzolkin__overview thead th,
.ny-tzolkin__table thead th {
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
}
.ny-tzolkin__board .ny-tzolkin__mini a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border-radius: 3px;
	color: #3d3158;
	font-size: clamp(8px, 2.05cqi, 13px);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
	line-height: 1;
	text-decoration: none;
}
.ny-tzolkin__mini a:focus-visible {
	outline: 2px solid #54367a;
	outline-offset: -2px;
}
.ny-tzolkin__mini--red {
	background: #f0a396;
}
.ny-tzolkin__mini--white {
	background: #f4ead6;
}
.ny-tzolkin__mini--blue {
	background: #9dcef2;
}
.ny-tzolkin__mini--yellow {
	background: #f3d56a;
}
.ny-tzolkin__mini--black {
	background: #2b2926;
}
.ny-tzolkin__mini--black a {
	color: #fffaf3;
}
.ny-tzolkin__mini a[aria-current="true"] {
	position: relative;
	z-index: 1;
	outline: 2px solid #54367a;
	outline-offset: 1px;
	box-shadow: 0 0 0 2px #fffaf3;
}
.ny-tzolkin__mini--black a[aria-current="true"] {
	outline-color: #fffaf3;
	box-shadow: 0 0 0 2px #54367a;
}
.ny-tzolkin__hint--sheet {
	display: none;
}
.ny-tzolkin__preview-empty,
.ny-tzolkin__preview {
	margin: 14px 12px 0;
}
.ny-tzolkin__preview {
	position: relative;
	box-sizing: border-box;
	font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Yu Gothic", "YuGothic", sans-serif;
}
.ny-tzolkin__preview-close {
	display: none;
}
.ny-tzolkin__preview-empty {
	color: #6d5d86;
	font-size: 0.92rem;
	text-align: center;
}
.ny-tzolkin__preview {
	padding: 16px 16px 16px;
	border: 2px solid #e4d4f6;
	border-radius: 22px;
	background: #fff8ea;
	scroll-margin: 16px;
}
.ny-tzolkin__preview-layout {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}
.ny-tzolkin__preview-img {
	display: block;
	width: 88px;
	height: 88px;
	flex: 0 0 auto;
	object-fit: contain;
	border-radius: 18px;
	background: #fff;
}
.ny-tzolkin__preview-copy {
	min-width: 0;
}
.ny-tzolkin__preview-kin {
	margin: 0 0 6px;
	color: #4a3f6b;
	font-size: 1.55rem;
	font-weight: 800;
	line-height: 1.2;
}
.ny-tzolkin__preview-list {
	margin: 0;
}
.ny-tzolkin__preview-list div {
	display: flex;
	gap: 8px;
	margin: 0 0 4px;
}
.ny-tzolkin__preview-list dt {
	flex: 0 0 7.5em;
	margin: 0;
	color: #6d5d86;
	font-weight: 700;
}
.ny-tzolkin__preview-list dd {
	margin: 0;
	color: #3d3158;
	font-weight: 800;
}
.ny-tzolkin__preview-go {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 16px;
	border-radius: 999px;
	background: #54367a;
	color: #fffaf3;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 4px 0 #3d275c;
	transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}
.ny-tzolkin__preview-go:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #3d275c;
}
.ny-tzolkin__preview-go:hover,
.ny-tzolkin__preview-go:focus,
.ny-tzolkin__preview-go:focus-visible {
	background: #432c64;
	color: #fffaf3;
	outline: 2px solid #432c64;
	outline-offset: 2px;
}
#ny-tzolkin-overview > .ny-tzolkin__hint,
#ny-tzolkin-pick .ny-tzolkin__hint {
	padding: 0 12px;
	text-align: center;
}
@media (max-width: 600px) {
	.ny-tzolkin__title-main {
		font-size: 1.72rem;
	}
	.ny-tzolkin__title-sub {
		font-size: 1.05rem;
	}
	.ny-tzolkin__seal {
		min-width: 92px;
	}
	.ny-tzolkin__seal-img {
		width: 52px;
		height: 52px;
		max-width: 52px;
	}
	.ny-tzolkin__preview-img {
		width: 72px;
		height: 72px;
	}
}
@media (max-width: 900px) {
	.ny-tzolkin__hint--desk {
		display: none;
	}
	.ny-tzolkin__hint--sheet {
		display: block;
	}
	.ny-tzolkin.is-sheet-open {
		padding-bottom: calc(260px + env(safe-area-inset-bottom, 0px));
	}
	.ny-tzolkin__preview-empty {
		display: none;
	}
	.ny-tzolkin__preview {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		width: min(600px, 100%);
		max-width: 600px;
		max-height: 42vh;
		margin: 0 auto;
		overflow: auto;
		padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
		border: 2px solid #e4d4f6;
		border-bottom: 0;
		border-radius: 22px 22px 0 0;
		background: #fff8ea;
		box-shadow: 0 -8px 22px rgba(84, 54, 122, 0.16);
		transform: translateY(110%);
		transition: transform 0.22s ease;
	}
	.ny-tzolkin__preview.is-open {
		transform: translateY(0);
	}
	.ny-tzolkin__preview-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 8px;
		right: 8px;
		z-index: 1;
		min-width: 44px;
		min-height: 44px;
		padding: 0 12px;
		border: 0;
		border-radius: 999px;
		background: #f3e9fb;
		color: #54367a;
		font: inherit;
		font-size: 0.82rem;
		font-weight: 800;
		line-height: 1;
		cursor: pointer;
	}
	.ny-tzolkin__preview-close:focus-visible {
		outline: 2px solid #54367a;
		outline-offset: 2px;
	}
	.ny-tzolkin__preview-layout {
		gap: 10px;
		margin-bottom: 8px;
	}
	.ny-tzolkin__preview-img {
		width: 64px;
		height: 64px;
		border-radius: 16px;
	}
	.ny-tzolkin__preview-kin {
		padding-right: 64px;
		font-size: 1.35rem;
	}
	.ny-tzolkin__preview-list dt {
		flex: 0 0 auto;
		font-size: 0.82rem;
		white-space: nowrap;
	}
	.ny-tzolkin__preview-list dd {
		font-size: 0.92rem;
		white-space: nowrap;
	}
	.ny-tzolkin__preview-go {
		min-height: 44px;
	}
	.ny-tzolkin {
		padding-bottom: 12px;
	}
	#ny-tzolkin-overview > .ny-tzolkin__hint {
		margin-bottom: 4px;
	}
	.ny-tzolkin__board {
		margin: 2px 0 0;
		padding: 1px 4px;
	}
	.ny-tzolkin__board-row + .ny-tzolkin__board-row {
		margin-top: 1px;
	}
	.ny-tzolkin__board-row--head > * {
		padding: 0;
	}
	body:has(.neco-fixed-footer) .ny-tzolkin {
		padding-bottom: calc(108px + env(safe-area-inset-bottom, 0px));
	}
	body:has(.neco-fixed-footer) .ny-tzolkin.is-sheet-open {
		padding-bottom: calc(368px + env(safe-area-inset-bottom, 0px));
	}
	body:has(.neco-fixed-footer) .ny-tzolkin__preview {
		bottom: calc(108px + env(safe-area-inset-bottom, 0px));
	}
}
@media (prefers-reduced-motion: reduce) {
	.ny-tzolkin__diagnosis-button,
	.ny-tzolkin__preview,
	.ny-tzolkin__preview-go,
	.ny-tzolkin__mode {
		transition: none;
	}
}
