.hp-page {
	--hp-ink: #3c292a;
	--hp-ink-dim: #634d3e;
	--hp-ox: #731a12;
	--hp-ox-deep: #520f0a;
	--hp-bronze: #9d773b;
	--hp-bronze-deep: #644c26;
	--hp-gold: #fbd093;
	--hp-cream: #fff3d6;
	--hp-line: rgba(100, 76, 38, 0.3);
	--hp-coin: linear-gradient(180deg, #f6dca3 0%, #d9ad5e 58%, #b98a3e 100%);
	--hp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--hp-pick: url('/assets/img/ee2cursorbydrmonalisaselect.png') 6 15, pointer;
}

.container.grid:has(.hp-page) {
	overflow: clip;
	display: flow-root;
}

.hp-page *, .hp-page *::before, .hp-page *::after {
	box-sizing: border-box;
}

.hp-page [hidden] {
	display: none !important;
}

.hp-band {
	position: relative;
	padding: 12px 12px 10px 12px;
	border-radius: 10px 10px 0 0;
	background:
		radial-gradient(120% 140% at 50% 0%, rgba(255, 210, 150, 0.14) 0%, rgba(255, 210, 150, 0) 60%),
		linear-gradient(180deg, #86241a 0%, #731a12 55%, #63150e 100%);
	box-shadow: inset 0 0 0 1px rgba(251, 208, 147, 0.5), inset 0 0 0 3px rgba(60, 12, 8, 0.55);
}

.hp-switch {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.hp-page a.hp-tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 54px;
	padding: 8px 16px;
	border-radius: 7px;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 21px;
	font-weight: bold;
	letter-spacing: 0.4px;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	color: rgba(251, 208, 147, 0.8);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.65);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.3) 100%);
	box-shadow: inset 0 1px 0 rgba(251, 208, 147, 0.16), inset 0 0 0 1px rgba(251, 208, 147, 0.3);
	cursor: var(--hp-pick);
	transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.hp-page a.hp-tab:hover {
	color: var(--hp-gold);
	background: linear-gradient(180deg, rgba(255, 220, 160, 0.1) 0%, rgba(0, 0, 0, 0.22) 100%);
	box-shadow: inset 0 1px 0 rgba(251, 208, 147, 0.25), inset 0 0 0 1px rgba(251, 208, 147, 0.6);
}

.hp-page a.hp-tab.is-current {
	color: #3d1c0b;
	text-shadow: 0 1px 0 rgba(255, 244, 214, 0.65);
	background: var(--hp-coin);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(100, 76, 38, 0.45), 0 0 0 1px var(--hp-bronze-deep), 0 2px 5px rgba(0, 0, 0, 0.45);
	cursor: default;
}

.hp-page a.hp-tab:focus-visible, .hp-page .hp-q:focus-visible, .hp-page a.hp-link:focus-visible,
.hp-page .hp-find button:focus-visible, .hp-page .hp-copy:focus-visible {
	outline: 2px solid var(--hp-gold);
	outline-offset: 2px;
}

.hp-page .hp-q:focus-visible, .hp-page a.hp-link:focus-visible, .hp-page .hp-copy:focus-visible {
	outline-color: var(--hp-ox);
}

.hp-tab-icon, .hp-search-icon {
	flex: 0 0 auto;
	display: inline-block;
	background: currentColor;
	-webkit-mask: var(--hp-icon) center / contain no-repeat;
	mask: var(--hp-icon) center / contain no-repeat;
}

.hp-tab-icon {
	width: 24px;
	height: 24px;
	opacity: 0.9;
}

.hp-icon-general {
	--hp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.2C9.8 4.6 6.6 4 3 4.3v14.2c3.5-.3 6.6.3 9 2 2.4-1.7 5.5-2.3 9-2V4.3c-3.6-.3-6.8.3-9 1.9zm-1 11.4c-1.9-.9-4.2-1.4-6.5-1.4V6.1c2.5 0 4.7.6 6.5 1.8zm8.5-1.4c-2.3 0-4.6.5-6.5 1.4V7.9c1.8-1.2 4-1.8 6.5-1.8z' fill='black'/%3E%3C/svg%3E");
}

.hp-icon-multiplayer {
	--hp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 2.5l7.3 7.3-1.5 1.5L2 4V2.5zm17 0H22V4l-9.6 9.6 1.7 1.7 1.3-1.3 1.4 1.4-1.6 1.6 3 3 1-1 1.4 1.4-2.1 2.1-1.4-1.4 1-1-3-3-1.6 1.6-1.4-1.4 1.3-1.3-1.7-1.7-1.7 1.7 1.3 1.3-1.4 1.4-1.6-1.6-3 3 1 1-1.4 1.4-2.1-2.1 1.4-1.4 1 1 3-3-1.6-1.6 1.4-1.4 1.3 1.3 1.7-1.7z' fill='black'/%3E%3C/svg%3E");
}

.hp-search-icon {
	width: 18px;
	height: 18px;
	color: var(--hp-bronze-deep);
	--hp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3a7 7 0 015.6 11.2l5.1 5.1-1.4 1.4-5.1-5.1A7 7 0 1110 3zm0 2a5 5 0 100 10 5 5 0 000-10z' fill='black'/%3E%3C/svg%3E");
}

.hp-stick {
	height: 1px;
	margin-bottom: -1px;
}

.hp-find {
	position: sticky;
	top: 0;
	z-index: 6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 26px 0;
	padding: 10px 12px;
	border-radius: 0 0 10px 10px;
	background: linear-gradient(180deg, #5d130d 0%, #4e100a 100%);
	box-shadow: inset 0 0 0 1px rgba(251, 208, 147, 0.5), inset 0 0 0 3px rgba(40, 8, 5, 0.5), 0 3px 6px rgba(0, 0, 0, 0.3);
	letter-spacing: 0;
	transition: border-radius 0.2s ease, box-shadow 0.2s ease;
}

.hp-find.is-stuck {
	border-radius: 0 0 10px 10px;
	box-shadow: inset 0 0 0 1px rgba(251, 208, 147, 0.55), inset 0 0 0 3px rgba(40, 8, 5, 0.5), 0 6px 14px rgba(30, 10, 5, 0.45);
}

.hp-search {
	flex: 1 1 280px;
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 0 6px 0 12px;
	border-radius: 6px;
	background: var(--hp-cream);
	box-shadow: inset 0 2px 3px rgba(60, 41, 42, 0.3), 0 0 0 1px #c9a464;
	cursor: text;
}

.hp-search:focus-within {
	box-shadow: inset 0 2px 3px rgba(60, 41, 42, 0.3), 0 0 0 2px var(--hp-gold);
}

.hp-page .hp-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 40px;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	color: var(--hp-ink);
	font-family: Verdana, Geneva, sans-serif;
	font-size: 17px;
	letter-spacing: 0;
	outline: none;
	box-shadow: none;
	cursor: text;
}

.hp-page .hp-input::placeholder {
	color: #8f7a62;
	opacity: 1;
}

.hp-page .hp-input::-webkit-search-cancel-button {
	display: none;
}

.hp-page .hp-find button {
	border: 0;
	margin: 0;
	font-family: Verdana, Geneva, sans-serif;
	letter-spacing: 0;
	cursor: var(--hp-pick);
}

.hp-page .hp-clear {
	position: relative;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: transparent;
	color: var(--hp-ink-dim);
}

.hp-page .hp-clear::before, .hp-page .hp-clear::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 14px;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	transform: rotate(45deg);
}

.hp-page .hp-clear::after {
	transform: rotate(-45deg);
}

.hp-page .hp-clear:hover {
	background: rgba(115, 26, 18, 0.1);
	color: var(--hp-ox);
}

.hp-count {
	color: var(--hp-gold);
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	white-space: nowrap;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.hp-count:empty {
	display: none;
}

.hp-steps {
	display: inline-flex;
	gap: 6px;
}

.hp-page .hp-step {
	position: relative;
	width: 36px;
	height: 36px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.22);
	box-shadow: inset 0 0 0 1px rgba(251, 208, 147, 0.5);
	color: var(--hp-gold);
}

.hp-page .hp-step::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 9px;
	height: 9px;
	border-left: 2px solid currentColor;
	border-top: 2px solid currentColor;
	transform: translate(-50%, -25%) rotate(45deg);
}

.hp-page .hp-step[data-hp-step="1"]::before {
	transform: translate(-50%, -75%) rotate(225deg);
}

.hp-page .hp-step:hover, .hp-page .hp-all:hover {
	background: rgba(251, 208, 147, 0.14);
	box-shadow: inset 0 0 0 1px var(--hp-gold);
}

.hp-page .hp-all {
	min-height: 36px;
	padding: 0 14px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.22);
	box-shadow: inset 0 0 0 1px rgba(251, 208, 147, 0.5);
	color: var(--hp-gold);
	font-size: 14px;
	white-space: nowrap;
}

.hp-empty {
	margin: -12px 0 24px 0;
	padding: 12px 16px;
	border-left: 3px solid var(--hp-ox);
	background: rgba(255, 247, 224, 0.45);
	color: var(--hp-ink);
	font-size: 16px;
	letter-spacing: 0;
}

.hp-group + .hp-group {
	margin-top: 36px;
}

.hp-group > h4.red {
	margin-bottom: 14px;
}

.hp-list {
	border-top: 1px solid var(--hp-line);
}

.hp-entry, .hp-page a.hp-link {
	border-bottom: 1px solid var(--hp-line);
	transition: opacity 0.2s ease;
}

.hp-q, .hp-page a.hp-link {
	display: flex;
	align-items: baseline;
	gap: 15px;
	padding: 13px 12px 13px 8px;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 19px;
	font-weight: bold;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--hp-ink);
	text-align: left;
	text-decoration: none;
	text-shadow: none;
	cursor: var(--hp-pick);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hp-q {
	list-style: none;
}

.hp-q::-webkit-details-marker, .hp-q::marker {
	display: none;
	content: "";
}

.hp-q:hover, .hp-page a.hp-link:hover {
	background: rgba(255, 247, 224, 0.4);
	color: var(--hp-ox);
}

.hp-entry[open] > .hp-q {
	color: var(--hp-ox);
}

.hp-mark-d {
	flex: 0 0 auto;
	align-self: center;
	width: 11px;
	height: 11px;
	margin-left: 4px;
	border: 2px solid var(--hp-bronze);
	transform: rotate(45deg);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s var(--hp-ease);
}

.hp-q:hover .hp-mark-d {
	border-color: var(--hp-ox);
}

.hp-entry[open] > .hp-q .hp-mark-d {
	background: var(--hp-coin);
	border-color: var(--hp-bronze-deep);
	transform: rotate(45deg) scale(1.15);
}

.hp-page a.hp-link {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	column-gap: 15px;
}

.hp-page a.hp-link .hp-mark-d {
	border-style: dotted;
}

.hp-q-text {
	flex: 1 1 auto;
	min-width: 0;
}

.hp-link-note {
	flex: 0 0 auto;
	margin-left: 12px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	font-style: italic;
	font-weight: normal;
	color: var(--hp-ink-dim);
	white-space: nowrap;
}

.hp-a {
	margin: 2px 6px 0 31px;
	padding: 4px 4px 20px 20px;
	border-left: 3px double var(--hp-bronze);
	text-align: justify;
}

.hp-a::after {
	content: "";
	display: block;
	clear: both;
}

.hp-a img {
	max-width: 100%;
	height: auto;
}

.hp-tools {
	margin-top: 14px;
}

.hp-page .hp-copy {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid rgba(100, 76, 38, 0.5);
	border-radius: 5px;
	background: rgba(255, 247, 224, 0.5);
	color: var(--hp-ink-dim);
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	letter-spacing: 0;
	cursor: var(--hp-pick);
}

.hp-page .hp-copy:hover {
	color: var(--hp-ox);
	border-color: var(--hp-ox);
}

.hp-list.is-searching > .hp-entry:not(.is-hit), .hp-list.is-searching > a.hp-link:not(.is-hit) {
	opacity: 0.4;
}

.hp-page mark.hp-hit {
	padding: 0 1px;
	border-radius: 2px;
	background: #f2cd78;
	color: inherit;
	box-shadow: 0 0 0 1px rgba(157, 119, 59, 0.45);
}

.hp-page mark.hp-hit.is-current {
	background: var(--hp-ox);
	color: var(--hp-gold);
	box-shadow: 0 0 0 2px rgba(115, 26, 18, 0.35);
}

.hp-flash > .hp-q {
	animation: hp-flash 1.4s ease-out 1;
}

@keyframes hp-flash {
	0% { background: rgba(251, 208, 147, 0.85); }
	100% { background: rgba(251, 208, 147, 0); }
}

@media (max-width: 640px) {
	.hp-band {
		padding: 8px;
	}

	.hp-switch {
		gap: 6px;
	}

	.hp-page a.hp-tab {
		flex-direction: column;
		gap: 4px;
		min-height: 62px;
		padding: 8px 6px;
		font-size: 16px;
	}

	.hp-tab-icon {
		width: 20px;
		height: 20px;
	}

	.hp-find {
		padding: 8px;
	}

	.hp-search {
		flex-basis: 100%;
	}

	.hp-count {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 13px;
		white-space: normal;
	}

	.hp-page .hp-step {
		width: 32px;
		height: 32px;
	}

	.hp-page .hp-all {
		min-height: 32px;
		padding: 0 9px;
		font-size: 13px;
		margin-left: auto;
	}

	.hp-q, .hp-page a.hp-link {
		gap: 12px;
		padding: 12px 6px 12px 4px;
		font-size: 17px;
	}

	.hp-page a.hp-link {
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 12px;
	}

	.hp-link-note {
		grid-column: 2;
		margin: 2px 0 0 0;
	}

	.hp-a {
		margin-left: 8px;
		padding-left: 12px;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hp-page *, .hp-page *::before, .hp-page *::after {
		transition: none !important;
		animation: none !important;
	}
}
