/*
 * "Can You Save the PO?": three timed levels on a navy board. Site tokens:
 * navy #1C294E, orange #E14D1E, slate #64748D, lavender #DCDDEF, hairline
 * #E5EDF4, 3D blue #0048FC; Inter; cards radius 8; buttons radius 4. Lines on
 * navy are white at 17%. Every panel is navy on navy (Chris, 12/4); brand
 * icons sit on white tiles because their navy parts would vanish.
 *
 * Phones (767px and under): a level plays full screen (".is-focus", set by
 * hzd-game.js) with a slim clock and score bar, and the play area stretches
 * to fill the screen so the answers sit under the thumbs.
 */
.hzd-pog {
	--pog-navy: #1c294e;
	--pog-orange: #e14d1e;
	--pog-peach: #ff9a76;
	--pog-slate: #64748d;
	--pog-line: #dcddef;
	--pog-hair: #e5edf4;
	--pog-good: #1f8a5b;
	--pog-good-on: #6ee7b0;
	--pog-bad-on: #ff8f8f;
	--pog-rule: rgba(255, 255, 255, 0.17);
	--pog-panel: rgba(255, 255, 255, 0.07);
	--pog-soft: rgba(255, 255, 255, 0.76);
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	border-radius: 8px;
	background:
		radial-gradient(900px 420px at 88% -12%, rgba(0, 72, 252, 0.3), transparent 65%),
		radial-gradient(700px 380px at -5% 112%, rgba(225, 77, 30, 0.18), transparent 60%),
		var(--pog-navy);
	box-shadow: 7px 15px 48px -12px rgba(19, 27, 46, 0.5);
	font-family: Inter, system-ui, sans-serif;
	color: var(--pog-soft);
	overflow: hidden;
	scroll-margin-top: 96px;
}

.hzd-pog *,
.hzd-pog *::before,
.hzd-pog *::after {
	box-sizing: border-box;
}

.hzd-pog p,
.hzd-pog h3,
.hzd-pog ul {
	margin: 0;
}

/* Taps answer at once: no double-tap zoom, no grey flash, no text selection. */
.hzd-pog button,
.hzd-pog a {
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.hzd-pog .hzd-pog-level,
.hzd-pog .hzd-pog-choice {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.hzd-pog-screen {
	padding: 40px;
}

.hzd-pog-icon {
	flex: 0 0 auto;
	display: inline-flex;
	width: 48px;
	height: 48px;
	padding: 7px;
	border-radius: 8px;
	background: #fff;
}

.hzd-pog-icon svg {
	width: 100%;
	height: 100%;
}

.hzd-pog-eyebrow,
.hzd-pog-label {
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hzd-pog-eyebrow {
	color: var(--pog-peach);
}

.hzd-pog-title {
	font-size: 36px;
	line-height: 42px;
	font-weight: 600;
	color: #fff;
	text-wrap: balance;
}

.hzd-pog-note {
	font-size: 14px;
	line-height: 21px;
}

/* ---------- buttons (the theme styles every button; pin ours) ---------- */
.hzd-pog .hzd-pog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 1px solid var(--pog-orange);
	border-radius: 4px;
	background: var(--pog-orange);
	color: #fff;
	font: 500 15px/20px Inter, system-ui, sans-serif;
	text-decoration: none;
	text-align: center;
	white-space: normal;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hzd-pog .hzd-pog-btn:hover,
.hzd-pog .hzd-pog-btn:focus {
	background: var(--pog-orange);
	border-color: var(--pog-orange);
	color: #fff;
}

.hzd-pog .hzd-pog-btn-ghost,
.hzd-pog .hzd-pog-btn-ghost:hover,
.hzd-pog .hzd-pog-btn-ghost:focus {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

@media (hover: hover) {
	.hzd-pog .hzd-pog-btn:hover,
	.hzd-pog .hzd-pog-level:hover .hzd-pog-btn {
		background: #fff;
		border-color: #fff;
		color: var(--pog-navy);
	}
}

.hzd-pog .hzd-pog-btn:active {
	transform: scale(0.98);
}

.hzd-pog .hzd-pog-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Close (full screen on phones) and Quit (the phone score bar). */
.hzd-pog .hzd-pog-x,
.hzd-pog .hzd-pog-x:hover,
.hzd-pog .hzd-pog-x:focus {
	display: none;
	position: relative;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
	cursor: pointer;
}

.hzd-pog-x::before,
.hzd-pog-x::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.hzd-pog-x::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.hzd-pog .hzd-pog-btn-play {
	padding: 16px 40px;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	animation: hzd-pog-beacon 1.8s ease-out infinite;
}

.hzd-pog-btn-play i {
	margin-right: 12px;
	border-left: 14px solid currentColor;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
}

.hzd-pog .hzd-pog-link,
.hzd-pog .hzd-pog-link:hover,
.hzd-pog .hzd-pog-link:focus {
	padding: 8px 4px;
	border: 0;
	border-radius: 4px;
	background: none;
	color: var(--pog-soft);
	font: 500 15px/20px Inter, system-ui, sans-serif;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
	cursor: pointer;
}

.hzd-pog .hzd-pog-link:hover,
.hzd-pog .hzd-pog-link:focus {
	color: #fff;
}

.hzd-pog :focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ---------- the dial ---------- */
.hzd-pog-dial {
	display: block;
	width: 100%;
	height: auto;
	font-family: Inter, system-ui, sans-serif;
	filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));
}

.hzd-pog-dial-rim {
	fill: var(--pog-line);
	stroke: #fff;
	stroke-width: 2;
}

.hzd-pog-dial-face {
	fill: #fff;
}

.hzd-pog-dial-track,
.hzd-pog-dial-hot {
	fill: none;
	stroke: var(--pog-hair);
	stroke-width: 5;
}

.hzd-pog-dial-hot {
	stroke: var(--pog-orange);
}

.hzd-pog-dial.is-score .hzd-pog-dial-hot {
	stroke: var(--pog-good);
}

.hzd-pog-dial-maj {
	stroke: var(--pog-navy);
	stroke-width: 2.5;
}

.hzd-pog-dial-min {
	stroke: #9aa5bd;
	stroke-width: 1.2;
}

.hzd-pog-dial-num {
	fill: var(--pog-navy);
	font-size: 10px;
	font-weight: 600;
	text-anchor: middle;
	dominant-baseline: central;
}

.hzd-pog-dial-big {
	fill: var(--pog-navy);
	font-size: 18px;
	font-weight: 700;
	text-anchor: middle;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-dial.is-score .hzd-pog-dial-big {
	font-size: 28px;
}

.hzd-pog-dial-small {
	fill: var(--pog-slate);
	font-size: 8.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-anchor: middle;
}

.hzd-pog-dial-needle {
	transform-origin: 100px 100px;
	transition: transform 0.15s linear;
}

.hzd-pog-dial-needle path {
	fill: var(--pog-orange);
}

.hzd-pog-dial.is-score .hzd-pog-dial-needle {
	transition: transform 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hzd-pog-dial-hub {
	fill: var(--pog-navy);
}

.hzd-pog-dial-pin {
	fill: #fff;
}

.is-late .hzd-pog-dial-rim {
	animation: hzd-pog-alarm 1s ease-in-out infinite;
}

/* ---------- level menu ---------- */
.hzd-pog-menu {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.hzd-pog-menu-head {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	align-items: flex-end;
	justify-content: space-between;
}

.hzd-pog-total {
	display: grid;
	text-align: right;
}

.hzd-pog-total b {
	font-size: 28px;
	line-height: 34px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-levels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.hzd-pog .hzd-pog-level,
.hzd-pog .hzd-pog-choice {
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
	color: var(--pog-soft);
	font: 400 15px/22px Inter, system-ui, sans-serif;
	text-align: left;
	white-space: normal;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.hzd-pog .hzd-pog-level:focus,
.hzd-pog .hzd-pog-choice:focus,
.hzd-pog .hzd-pog-level:hover,
.hzd-pog .hzd-pog-choice:hover {
	border-color: var(--pog-rule);
	background: var(--pog-panel);
	color: var(--pog-soft);
}

/* The lift is for a mouse; on a touch screen "hover" sticks after a tap. */
@media (hover: hover) {
	.hzd-pog .hzd-pog-level:hover,
	.hzd-pog .hzd-pog-choice:hover {
		border-color: rgba(255, 255, 255, 0.6);
		background: rgba(255, 255, 255, 0.13);
		transform: translateY(-3px);
		box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
	}
}

.hzd-pog .hzd-pog-level:active,
.hzd-pog .hzd-pog-choice:active {
	transform: scale(0.98);
}

.hzd-pog .hzd-pog-level {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 24px;
}

.hzd-pog-level .hzd-pog-icon {
	width: 56px;
	height: 56px;
	margin-bottom: 8px;
}

.hzd-pog-level .hzd-pog-label {
	color: var(--pog-peach);
}

.hzd-pog-level-name {
	font-size: 26px;
	line-height: 32px;
	font-weight: 600;
	color: #fff;
}

.hzd-pog-level-tease {
	font-size: 16px;
	line-height: 24px;
}

.hzd-pog-level-meta {
	margin-top: auto;
	padding-top: 8px;
	font-size: 14px;
	line-height: 21px;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-level .hzd-pog-btn {
	align-self: stretch;
	margin-top: 8px;
}

/* ---------- before a level: the rule ---------- */
.hzd-pog-ready {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	justify-items: center;
	text-align: center;
}

.hzd-pog-ready .hzd-pog-icon {
	width: 64px;
	height: 64px;
}

.hzd-pog-rule {
	max-width: 620px;
	font-size: 20px;
	line-height: 30px;
}

.hzd-pog-rule b,
.hzd-pog-prompt b,
.hzd-pog-prime b {
	color: #fff;
	font-weight: 600;
}

.hzd-pog .hzd-pog-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	max-width: 620px;
	margin-top: 8px;
	padding: 0;
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
	list-style: none;
}

.hzd-pog-facts li {
	display: grid;
	padding: 14px 12px;
	font-size: 14px;
	line-height: 20px;
}

.hzd-pog-facts li + li {
	border-left: 1px solid var(--pog-rule);
}

.hzd-pog-facts b {
	font-size: 18px;
	line-height: 26px;
	font-weight: 700;
	color: #fff;
}

.hzd-pog-go {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
}

/* ---------- playing ---------- */
.hzd-pog-play {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

.hzd-pog-side,
.hzd-pog-arena {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	min-width: 0;
}

.hzd-pog-clock {
	position: relative;
}

.hzd-pog-flash {
	position: absolute;
	top: 2px;
	right: -6px;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--pog-good-on);
	color: var(--pog-navy);
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	opacity: 0;
	pointer-events: none;
}

.hzd-pog-flash.is-bad {
	background: var(--pog-bad-on);
}

.hzd-pog-flash.is-on {
	animation: hzd-pog-float 0.9s ease-out both;
}

.hzd-pog-scorebox {
	padding: 14px 18px;
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
}

.hzd-pog-score-value {
	font-size: 40px;
	line-height: 46px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-streak {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 15px;
	line-height: 22px;
}

.hzd-pog-streak b {
	color: #fff;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-mult {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.hzd-pog-where {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	line-height: 21px;
}

.hzd-pog-prompt {
	font-size: 20px;
	line-height: 28px;
}

.hzd-pog .hzd-pog-choice {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	min-width: 0;
	padding: 16px;
}

.hzd-pog-choice .hzd-pog-label,
.hzd-pog-ticket .hzd-pog-label {
	color: var(--pog-peach);
}

.hzd-pog .hzd-pog-choice.is-right,
.hzd-pog .hzd-pog-ticket.is-right {
	border-color: var(--pog-good-on);
	background: rgba(110, 231, 176, 0.16);
	box-shadow: 0 0 0 2px var(--pog-good-on);
	transform: none;
}

.hzd-pog .hzd-pog-choice.is-wrong,
.hzd-pog .hzd-pog-ticket.is-wrong {
	border-color: var(--pog-bad-on);
	background: rgba(255, 143, 143, 0.14);
	box-shadow: 0 0 0 2px var(--pog-bad-on);
	transform: none;
	animation: hzd-pog-shake 0.35s ease both;
}

/* Level 1: two parts side by side. */
.hzd-pog-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.hzd-pog-pair .hzd-pog-choice {
	align-items: center;
	gap: 12px;
	min-height: 250px;
	padding: 20px;
	justify-content: center;
	text-align: center;
}

/* A product picture: square, on its own navy backdrop. */
.hzd-pog-pic {
	display: block;
	width: 100%;
	max-width: 240px;
	aspect-ratio: 1;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.hzd-pog-pic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.hzd-pog-choice-name {
	font-size: 22px;
	line-height: 28px;
	font-weight: 600;
	color: #fff;
	text-wrap: balance;
}

.hzd-pog-choice-price {
	font-size: 20px;
	line-height: 26px;
	font-weight: 700;
	color: var(--pog-peach);
	font-variant-numeric: tabular-nums;
}

/* Levels 2 and 3: the request, the quotes, the three rows. */
.hzd-pog-ticket {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
}

.hzd-pog-ticket-head {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	align-items: baseline;
}

.hzd-pog-ticket-head b {
	font-size: 22px;
	line-height: 28px;
	font-weight: 600;
	color: #fff;
}

.hzd-pog-quotes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.hzd-pog-quotes.is-4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hzd-pog-quote {
	display: grid;
	width: 100%;
}

.hzd-pog-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	padding: 7px 0;
}

.hzd-pog-row + .hzd-pog-row {
	border-top: 1px solid var(--pog-rule);
}

.hzd-pog-k {
	white-space: nowrap;
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hzd-pog-v {
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: #fff;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.hzd-pog-v small {
	display: block;
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
	color: var(--pog-soft);
}

.hzd-pog-v em {
	display: block;
	font-size: 12px;
	line-height: 16px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hzd-pog-row.is-fail .hzd-pog-v,
.hzd-pog-row.is-fail .hzd-pog-v small {
	color: var(--pog-bad-on);
}

/* The request and the incoming quote lay their three rows side by side. */
.hzd-pog-ticket .hzd-pog-quote {
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 0 20px;
}

.hzd-pog-ticket .hzd-pog-row {
	padding: 0;
}

.hzd-pog-ticket .hzd-pog-row + .hzd-pog-row {
	padding-left: 20px;
	border-top: 0;
	border-left: 1px solid var(--pog-rule);
}

.hzd-pog-ticket .hzd-pog-v {
	font-size: 22px;
	line-height: 28px;
}

.hzd-pog .hzd-pog-pass {
	align-items: center;
	padding: 14px 16px;
	font-size: 17px;
	line-height: 24px;
	font-weight: 600;
	color: #fff;
	text-align: center;
}

/* The phone score bar: a ring clock, the score, the streak, Quit. */
.hzd-pog-bar {
	display: none;
	position: relative;
	gap: 12px;
	align-items: center;
}

.hzd-pog-ring {
	position: relative;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
}

.hzd-pog-ring svg {
	display: block;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.hzd-pog-ring circle {
	fill: none;
	stroke-width: 4;
}

.hzd-pog-ring-track {
	stroke: var(--pog-rule);
}

.hzd-pog-ring-fill {
	stroke: #fff;
	stroke-linecap: round;
	stroke-dasharray: 100;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 0.15s linear, stroke 0.3s ease;
}

.is-late .hzd-pog-ring-fill {
	stroke: var(--pog-orange);
}

.hzd-pog-ring b {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.is-late .hzd-pog-ring b {
	animation: hzd-pog-pulse 1s ease-in-out infinite;
}

.hzd-pog-bar-score,
.hzd-pog-bar-streak {
	display: grid;
	min-width: 0;
}

.hzd-pog-bar .hzd-pog-label {
	font-size: 11px;
	line-height: 14px;
}

.hzd-pog-bar .hzd-pog-label i {
	font-style: normal;
	color: #fff;
}

.hzd-pog-bar-score b {
	font-size: 26px;
	line-height: 30px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-bar-streak {
	margin-left: auto;
	justify-items: end;
	gap: 3px;
}

.hzd-pog-bar .hzd-pog-mult {
	margin: 0;
	background: rgba(255, 255, 255, 0.16);
	transition: background-color 0.2s ease;
}

.is-hot .hzd-pog-mult {
	background: var(--pog-orange);
}

/* Points won or seconds lost pop up between the score and the streak. */
.hzd-pog-bar .hzd-pog-flash {
	top: 12px;
	right: 118px;
}

/* ---------- result ---------- */
.hzd-pog-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.hzd-pog-verdict {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.hzd-pog-verdict-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	justify-items: start;
	min-width: 0;
}

.hzd-pog-final {
	display: flex;
	gap: 12px;
	align-items: baseline;
	font-size: 18px;
	line-height: 24px;
}

.hzd-pog-final b {
	font-size: 72px;
	line-height: 72px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-stamp {
	padding: 4px 16px;
	border: 4px solid currentColor;
	border-radius: 8px;
	font-size: 28px;
	line-height: 36px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pog-soft);
	transform: rotate(-3deg);
	animation: hzd-pog-slam 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) both 0.9s;
}

.hzd-pog-stamp.is-rank-1 {
	color: var(--pog-peach);
}

.hzd-pog-stamp.is-rank-2 {
	color: var(--pog-good-on);
}

.hzd-pog-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	margin-top: 6px;
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
}

.hzd-pog-tile {
	padding: 14px 16px;
	min-width: 0;
}

.hzd-pog-tile + .hzd-pog-tile {
	border-left: 1px solid var(--pog-rule);
}

.hzd-pog-tile-value {
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.hzd-pog-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.hzd-pog-shared:empty {
	display: none;
}

.hzd-pog-shared {
	color: #fff;
}

.hzd-pog-replay {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding: 28px;
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
}

.hzd-pog-replay-head {
	display: flex;
	gap: 16px;
	align-items: center;
}

.hzd-pog-replay .hzd-pog-title {
	font-size: 30px;
	line-height: 36px;
}

.hzd-pog .hzd-pog-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	padding: 0;
	list-style: none;
}

.hzd-pog-checks li {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
	color: #fff;
}

.hzd-pog-checks .hzd-pog-icon {
	width: 32px;
	height: 32px;
	padding: 4px;
	border-radius: 4px;
}

.hzd-pog-prime {
	display: flex;
	gap: 16px;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid var(--pog-rule);
	font-size: 15px;
	line-height: 23px;
}

.hzd-pog-next {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 12px 24px;
	align-items: center;
	margin: 0;
	padding: 20px 24px;
	border: 1px solid var(--pog-rule);
	border-radius: 8px;
	background: var(--pog-panel);
}

.hzd-pog-next-title {
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	color: #fff;
}

.hzd-pog-next-row {
	display: flex;
	gap: 10px;
}

.hzd-pog .hzd-pog-next .hzd-pog-btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

.hzd-pog .hzd-pog-next input {
	flex: 1 1 auto;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--pog-line);
	border-radius: 4px;
	background: #fff;
	font: 400 16px/24px Inter, system-ui, sans-serif;
	color: var(--pog-navy);
}

.hzd-pog-next-msg {
	grid-column: 1 / -1;
	font-size: 14px;
	line-height: 21px;
	color: #fff;
}

.hzd-pog-next-msg:empty {
	display: none;
}

.hzd-pog-next.is-done .hzd-pog-next-row {
	display: none;
}

.hzd-pog-next.is-done .hzd-pog-next-msg {
	font-size: 17px;
	line-height: 25px;
	font-weight: 600;
}

.hzd-pog-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- motion ---------- */
.hzd-pog-in {
	animation: hzd-pog-rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hzd-pog-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes hzd-pog-float {
	0% {
		opacity: 0;
		transform: translateY(10px) scale(0.8);
	}
	25% {
		opacity: 1;
		transform: translateY(0) scale(1.1);
	}
	70% {
		opacity: 1;
		transform: translateY(-6px) scale(1);
	}
	100% {
		opacity: 0;
		transform: translateY(-18px) scale(1);
	}
}

@keyframes hzd-pog-shake {
	25% {
		transform: translateX(-6px);
	}
	75% {
		transform: translateX(6px);
	}
}

@keyframes hzd-pog-slam {
	from {
		opacity: 0;
		transform: rotate(-3deg) scale(2.4);
	}
	to {
		opacity: 1;
		transform: rotate(-3deg) scale(1);
	}
}

@keyframes hzd-pog-alarm {
	50% {
		fill: var(--pog-orange);
	}
}

@keyframes hzd-pog-pulse {
	50% {
		transform: scale(1.18);
		color: var(--pog-peach);
	}
}

@keyframes hzd-pog-beacon {
	from {
		box-shadow: 0 0 0 0 rgba(225, 77, 30, 0.7);
	}
	to {
		box-shadow: 0 0 0 18px rgba(225, 77, 30, 0);
	}
}

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

	.hzd-pog-flash.is-on {
		opacity: 1;
	}
}

/* The key hints only help where there is a keyboard. */
@media (hover: none) {
	.hzd-pog-keys {
		display: none;
	}
}

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
	.hzd-pog-screen {
		padding: 28px;
	}

	.hzd-pog-title {
		font-size: 30px;
		line-height: 36px;
	}

	.hzd-pog-play,
	.hzd-pog-verdict {
		grid-template-columns: 190px minmax(0, 1fr);
		gap: 24px;
	}

	.hzd-pog-level-name {
		font-size: 22px;
		line-height: 28px;
	}

	.hzd-pog .hzd-pog-level {
		padding: 20px 16px;
	}

	.hzd-pog-v {
		font-size: 16px;
		line-height: 22px;
	}

	.hzd-pog-final b {
		font-size: 56px;
		line-height: 56px;
	}
}

/* ---------- small tablet and phone: clock and score move above the play area ---------- */
@media (max-width: 900px) {
	.hzd-pog-play {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.hzd-pog-side {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 8px 16px;
		align-items: center;
	}

	.hzd-pog-where {
		grid-column: 1 / -1;
	}

	.hzd-pog-quotes,
	.hzd-pog-quotes.is-4 {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	/* Quotes and POs become one wide row each, like the request above them. */
	.hzd-pog-choice .hzd-pog-quote {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 0 14px;
	}

	.hzd-pog-choice .hzd-pog-row {
		padding: 0;
	}

	.hzd-pog-choice .hzd-pog-row + .hzd-pog-row {
		padding-left: 14px;
		border-top: 0;
		border-left: 1px solid var(--pog-rule);
	}

	.hzd-pog .hzd-pog-quotes .hzd-pog-choice {
		padding: 12px 14px;
	}
}

@media (max-width: 767px) {
	.hzd-pog-screen {
		padding: 22px 14px;
	}

	.hzd-pog-title {
		font-size: 26px;
		line-height: 32px;
	}

	.hzd-pog-levels {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.hzd-pog .hzd-pog-level {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 2px 14px;
		padding: 16px;
	}

	.hzd-pog-level .hzd-pog-icon {
		grid-row: 1 / span 3;
		margin: 0;
	}

	.hzd-pog-level-meta,
	.hzd-pog-level .hzd-pog-btn {
		grid-column: 1 / -1;
	}

	/* Thumb-sized buttons. */
	.hzd-pog .hzd-pog-btn {
		min-height: 48px;
		font-size: 16px;
	}

	.hzd-pog-rule {
		font-size: 17px;
		line-height: 26px;
	}

	.hzd-pog-facts li {
		padding: 10px 6px;
		font-size: 12px;
		line-height: 17px;
	}

	.hzd-pog-facts b {
		font-size: 15px;
		line-height: 22px;
	}

	.hzd-pog-go,
	.hzd-pog .hzd-pog-btn-play {
		width: 100%;
	}

	/* Playing: the slim bar replaces the dial and score box. */
	.hzd-pog-bar {
		display: flex;
	}

	.hzd-pog-side {
		display: none;
	}

	.hzd-pog .hzd-pog-bar .hzd-pog-x {
		display: block;
	}

	.hzd-pog-play {
		gap: 12px;
	}

	.hzd-pog-flash {
		font-size: 15px;
		line-height: 20px;
	}

	.hzd-pog-prompt {
		font-size: 17px;
		line-height: 24px;
		text-align: center;
	}

	/* Level 1: the two parts stack, picture beside the name. */
	.hzd-pog-pair {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.hzd-pog-pair .hzd-pog-choice {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-rows: 1fr 1fr;
		gap: 4px 16px;
		min-height: 0;
		padding: 12px;
		text-align: left;
	}

	.hzd-pog-pair .hzd-pog-pic {
		grid-row: 1 / span 2;
		width: 42vw;
		width: min(46vw, 28vh);
		width: min(46vw, 28dvh);
		max-width: none;
	}

	.hzd-pog-choice-name {
		align-self: end;
		font-size: 19px;
		line-height: 25px;
	}

	.hzd-pog-choice-price {
		align-self: start;
		font-size: 19px;
		line-height: 25px;
	}

	.hzd-pog-ticket {
		gap: 6px;
		padding: 10px 14px;
	}

	.hzd-pog-ticket-head b {
		font-size: 18px;
		line-height: 24px;
	}

	.hzd-pog-ticket .hzd-pog-quote,
	.hzd-pog-choice .hzd-pog-quote {
		grid-template-columns: 1.5fr 0.9fr 1fr;
		gap: 0 10px;
	}

	.hzd-pog-ticket .hzd-pog-row + .hzd-pog-row,
	.hzd-pog-choice .hzd-pog-row + .hzd-pog-row {
		padding-left: 10px;
	}

	.hzd-pog-v,
	.hzd-pog-ticket .hzd-pog-v {
		font-size: 16px;
		line-height: 22px;
	}

	.hzd-pog-v small {
		font-size: 11px;
		line-height: 15px;
		white-space: normal;
	}

	.hzd-pog-k {
		font-size: 11px;
	}

	.hzd-pog .hzd-pog-quotes .hzd-pog-choice {
		justify-content: center;
		min-height: 64px;
		padding: 8px 14px;
	}

	.hzd-pog .hzd-pog-pass {
		min-height: 56px;
	}

	.hzd-pog-verdict {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.hzd-pog-gauge {
		width: 150px;
		margin: 0 auto;
	}

	.hzd-pog-verdict-body {
		justify-items: center;
		text-align: center;
	}

	.hzd-pog-final b {
		font-size: 52px;
		line-height: 52px;
	}

	.hzd-pog-stamp {
		font-size: 22px;
		line-height: 30px;
	}

	.hzd-pog-tile {
		padding: 10px 8px;
	}

	.hzd-pog-tile-value {
		font-size: 18px;
		line-height: 26px;
	}

	.hzd-pog-cta {
		justify-content: center;
	}

	.hzd-pog-cta .hzd-pog-btn {
		width: 100%;
	}

	/* Next level across the top, then Play again and Share side by side. */
	.hzd-pog-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		width: 100%;
	}

	.hzd-pog-actions .hzd-pog-wide,
	.hzd-pog-actions .hzd-pog-link,
	.hzd-pog-actions [data-in] {
		grid-column: 1 / -1;
	}

	.hzd-pog-actions .hzd-pog-btn-ghost:only-of-type {
		grid-column: 1 / -1;
	}

	.hzd-pog .hzd-pog-actions .hzd-pog-btn {
		padding-right: 8px;
		padding-left: 8px;
	}

	.hzd-pog-replay {
		padding: 20px 16px;
	}

	.hzd-pog-replay .hzd-pog-title {
		font-size: 22px;
		line-height: 28px;
	}

	.hzd-pog-next {
		grid-template-columns: minmax(0, 1fr);
		padding: 18px 16px;
	}

	.hzd-pog-next-row {
		flex-direction: column;
	}

	.hzd-pog .hzd-pog-next input {
		flex: 0 0 auto;
		height: 48px;
	}
}

/* ---------- full screen on phones (hzd-game.js adds .is-focus) ---------- */
html.hzd-pog-lock,
html.hzd-pog-lock body {
	overflow: hidden;
}

.hzd-pog.is-focus {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2147483000;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.is-focus .hzd-pog-screen {
	position: relative;
	min-height: 100%;
	padding: 14px;
	padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

.hzd-pog.is-focus .hzd-pog-x {
	display: block;
}

.is-focus .hzd-pog-ready > .hzd-pog-x,
.is-focus .hzd-pog-result > .hzd-pog-x {
	position: absolute;
	top: 12px;
	top: max(12px, env(safe-area-inset-top));
	right: 12px;
	z-index: 2;
}

.is-focus .hzd-pog-ready {
	align-content: center;
}

.is-focus .hzd-pog-ready .hzd-pog-go {
	margin-top: 20px;
}

.hzd-pog.is-focus .hzd-pog-btn-play {
	min-height: 60px;
}

.is-focus .hzd-pog-result {
	padding-top: 64px;
}

/* A level fills the screen exactly; a very short screen scrolls instead. */
.is-focus .hzd-pog-play {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	min-height: 540px;
}

.is-focus .hzd-pog-arena {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
}

/* Level 1: the question sits right above the two parts, in the middle of the screen. */
.is-focus .hzd-pog-arena.is-level-1 {
	justify-content: center;
	gap: 14px;
}

.is-focus .hzd-pog-quotes {
	flex: 1 1 auto;
	grid-auto-rows: minmax(0, 1fr);
	max-height: 400px;
	min-height: 0;
}

.is-focus .hzd-pog-quotes.is-4 {
	max-height: 520px;
}

.is-focus .hzd-pog-pass {
	flex: 0 0 auto;
}

/* ---------- the hero demo: the play screen in a hero card, playing itself ---------- */
/* 520px tall on desktop, the height of every service-page hero card (style guide 3b). */
.hzd-pog-demo {
	display: flex;
	max-width: none;
	height: 520px;
	pointer-events: none;
}

.hzd-pog-demo .hzd-pog-screen {
	position: relative;
	width: 100%;
	padding: 20px 24px;
}

.hzd-pog-demo .hzd-pog-play {
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	align-content: center;
}

.hzd-pog-demo .hzd-pog-side {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 8px 16px;
	align-items: center;
}

.hzd-pog-demo .hzd-pog-arena {
	gap: 10px;
}

.hzd-pog-demo .hzd-pog-scorebox {
	padding: 10px 16px;
}

.hzd-pog-demo .hzd-pog-score-value {
	font-size: 32px;
	line-height: 38px;
}

.hzd-pog-demo .hzd-pog-prompt {
	font-size: 17px;
	line-height: 24px;
	text-align: left;
}

.hzd-pog-demo .hzd-pog-ticket {
	gap: 4px;
	padding: 10px 16px;
}

.hzd-pog-demo .hzd-pog-ticket-head b {
	font-size: 18px;
	line-height: 24px;
}

.hzd-pog-demo .hzd-pog-quotes {
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

.hzd-pog-demo .hzd-pog-ticket .hzd-pog-quote,
.hzd-pog-demo .hzd-pog-choice .hzd-pog-quote {
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 0 14px;
}

.hzd-pog-demo .hzd-pog-choice .hzd-pog-row {
	padding: 0;
}

.hzd-pog-demo .hzd-pog-ticket .hzd-pog-row + .hzd-pog-row,
.hzd-pog-demo .hzd-pog-choice .hzd-pog-row + .hzd-pog-row {
	padding-left: 14px;
	border-top: 0;
	border-left: 1px solid var(--pog-rule);
}

.hzd-pog-demo .hzd-pog-quotes .hzd-pog-choice {
	gap: 2px;
	min-height: 0;
	padding: 8px 14px;
}

.hzd-pog-demo .hzd-pog-v,
.hzd-pog-demo .hzd-pog-ticket .hzd-pog-v {
	font-size: 16px;
	line-height: 22px;
}

/* The pointer that taps the right quote. */
.hzd-pog-cursor {
	position: absolute;
	top: 0;
	left: 0;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 6px 14px rgba(0, 0, 0, 0.4);
	transform: translate(400px, 96px);
	transition: transform 0.85s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.hzd-pog-cursor.is-tap {
	animation: hzd-pog-tap 0.5s ease-out both;
}

@keyframes hzd-pog-tap {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7), 0 6px 14px rgba(0, 0, 0, 0.4);
	}
	100% {
		box-shadow: 0 0 0 22px rgba(255, 255, 255, 0), 0 6px 14px rgba(0, 0, 0, 0.4);
	}
}

@media (max-width: 1024px) {
	.hzd-pog-demo {
		height: auto;
	}

	.hzd-pog-demo .hzd-pog-screen {
		padding: 20px;
	}

	.hzd-pog-demo .hzd-pog-ticket .hzd-pog-quote,
	.hzd-pog-demo .hzd-pog-choice .hzd-pog-quote {
		grid-template-columns: 1.6fr 0.8fr 0.8fr;
		gap: 0 10px;
	}

	.hzd-pog-demo .hzd-pog-ticket .hzd-pog-row + .hzd-pog-row,
	.hzd-pog-demo .hzd-pog-choice .hzd-pog-row + .hzd-pog-row {
		padding-left: 10px;
	}

	.hzd-pog-demo .hzd-pog-v,
	.hzd-pog-demo .hzd-pog-ticket .hzd-pog-v {
		font-size: 14px;
		line-height: 20px;
	}
}

@media (max-width: 767px) {
	.hzd-pog-demo .hzd-pog-screen {
		padding: 16px 14px;
	}

	.hzd-pog-demo .hzd-pog-side {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.hzd-pog-demo .hzd-pog-score-value {
		font-size: 28px;
		line-height: 34px;
	}

	.hzd-pog-demo .hzd-pog-ticket .hzd-pog-quote,
	.hzd-pog-demo .hzd-pog-choice .hzd-pog-quote {
		grid-template-columns: 1.5fr 0.9fr 1fr;
		gap: 0 10px;
	}

	.hzd-pog-demo .hzd-pog-ticket .hzd-pog-row + .hzd-pog-row,
	.hzd-pog-demo .hzd-pog-choice .hzd-pog-row + .hzd-pog-row {
		padding-left: 10px;
	}

	.hzd-pog-demo .hzd-pog-v,
	.hzd-pog-demo .hzd-pog-ticket .hzd-pog-v {
		font-size: 15px;
		line-height: 21px;
	}
}

/* ---------- "where next" cards under the game (html-game-next.php) ---------- */
@media (max-width: 767px) {
	.hzd-nf-cards.hzd-game-next {
		grid-template-columns: minmax(0, 1fr);
	}

	.hzd-game-next .hzd-nf-card {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 2px 14px;
		align-items: center;
	}

	.hzd-game-next .hzd-nf-card-icon {
		grid-row: 1 / span 2;
	}

	.hzd-game-next .hzd-nf-card-icon svg {
		margin: 0;
	}
}
