/* ==========================================================================
   Makarios Fortune — discovery pages (Phase 5): Fortunes (editorial), Symbols (archival), Collections (curated),
   Stories (literary) and the artwork catalogue entry. Loaded after main.css and gallery.css (whose artwork cards,
   grid, breadcrumbs and quick view these pages reuse). Tokens: main.css §1.
   ========================================================================== */

/* ---------- Page header ------------------------------------------------- */
.mf-dhero {
	padding-block: var(--sp-6) var(--sp-7);
	text-align: center;
	background:
		radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / 0.7), transparent 65%),
		var(--mf-parchment);
	border-bottom: 1px solid var(--mf-line);
}

.mf-dhero__title {
	margin: 0;
	font-size: var(--fs-display);
	line-height: 1.02;
	overflow-wrap: anywhere;
}

.mf-dhero--archive .mf-dhero__title,
.mf-dhero--story .mf-dhero__title {
	font-size: var(--fs-xl);
	line-height: 1.12;
}

.mf-dhero .mf-ornament--rule {
	margin: var(--sp-4) auto;
	color: var(--mf-accent, var(--mf-gold));
}

.mf-dhero__lede {
	max-width: 40rem;
	margin: 0 auto;
	color: var(--mf-muted);
	font-family: var(--mf-font-display);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
	font-style: italic;
	line-height: 1.45;
}

.mf-dhero__meta {
	margin: var(--sp-4) 0 0;
	color: var(--mf-gold-ink);
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* Fortune: typographic hero, with the Fortune's image beside it on wide screens. */
.mf-dhero__grid {
	display: grid;
	gap: var(--sp-6);
	align-items: center;
}

.mf-dhero__media {
	width: min(100%, 26rem);
	margin: 0 auto;
}

@media (min-width: 1024px) {
	.mf-dhero--fortune.has-media {
		text-align: left;
	}

	.mf-dhero--fortune.has-media .mf-dhero__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: var(--sp-8);
	}

	.mf-dhero--fortune.has-media .mf-breadcrumbs ol {
		justify-content: flex-start;
	}

	.mf-dhero--fortune.has-media .mf-ornament--rule,
	.mf-dhero--fortune.has-media .mf-dhero__lede {
		margin-inline: 0;
	}
}

/* Symbol: medallion, archival. */
.mf-dhero__medallion {
	width: 9rem;
	aspect-ratio: 1;
	margin: 0 auto var(--sp-5);
	padding: 6px;
	border: 1px solid rgb(176 138 69 / 0.6);
	border-radius: 50%;
	color: var(--mf-gold);
	overflow: hidden;
}

.mf-dhero__medallion img,
.mf-dhero__medallion svg {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

/* Collection: exhibition banner under the title. */
.mf-dhero__banner {
	margin: var(--sp-6) 0 0;
	aspect-ratio: 21 / 8;
	overflow: hidden;
	background: var(--mf-ivory);
	border: 1px solid var(--mf-line);
}

.mf-dhero__banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Body: text column + facts ------------------------------------ */
.mf-dbody {
	padding-block: var(--sp-8) var(--sp-6);
}

.mf-dbody__grid {
	display: grid;
	gap: var(--sp-7);
}

@media (min-width: 1024px) {
	.mf-dbody__grid {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: var(--sp-9);
		align-items: start;
	}
}

.mf-dbody__main {
	max-width: var(--w-text);
}

.mf-dtext + .mf-dtext {
	margin-top: var(--sp-7);
}

.mf-dtext__title {
	margin: 0 0 var(--sp-4);
	font-size: var(--fs-lg);
}

.mf-dtext__title::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 1px;
	margin-top: var(--sp-3);
	background: var(--mf-accent, var(--mf-gold));
}

.mf-facts {
	margin: 0;
	padding: var(--sp-5);
	background: var(--mf-ivory);
	border: 1px solid var(--mf-line);
}

.mf-facts dl {
	margin: 0;
}

.mf-facts dt {
	margin-top: var(--sp-4);
	color: var(--mf-gold-ink);
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mf-facts dt:first-child,
.mf-facts .mf-eyebrow + dl dt:first-child {
	margin-top: 0;
}

.mf-facts dd {
	margin: var(--sp-1) 0 0;
	font-family: var(--mf-font-display);
	font-size: var(--fs-md);
	line-height: 1.4;
}

.mf-facts a {
	color: var(--mf-charcoal);
	text-decoration-color: rgb(176 138 69 / 0.6);
	text-underline-offset: 3px;
}

.mf-facts a:hover {
	color: var(--mf-gold-ink);
}

.mf-facts .mf-button {
	margin-top: var(--sp-5);
	width: 100%;
	justify-content: center;
	text-align: center;
}

.mf-facts--inline {
	margin-top: var(--sp-7);
}

.mf-sep {
	color: var(--mf-gold-ink);
}

@media (min-width: 1024px) {
	.mf-dbody__grid > .mf-facts {
		position: sticky;
		top: calc(var(--header-h) + var(--sp-5));
	}
}

/* ---------- Related sections --------------------------------------------- */
.mf-dsection {
	padding-block: var(--sp-7);
}

.mf-dsection + .mf-dsection,
.mf-dbody + .mf-dsection {
	border-top: 1px solid var(--mf-line);
}

.mf-dsection--symbol,
.mf-dsection--browse {
	background: var(--mf-ivory);
}

.mf-dsection__header {
	margin-bottom: var(--sp-6);
	text-align: center;
}

.mf-dsection__title {
	margin: 0;
	font-size: var(--fs-xl);
}

.mf-dsection__intro {
	max-width: 36rem;
	margin: var(--sp-3) auto 0;
	color: var(--mf-muted);
	font-family: var(--mf-font-display);
	font-size: var(--fs-md);
	font-style: italic;
}

.mf-dempty {
	margin: 0 auto;
	max-width: 36rem;
	padding: var(--sp-5);
	color: var(--mf-muted);
	font-family: var(--mf-font-display);
	font-size: var(--fs-md);
	font-style: italic;
	text-align: center;
	border: 1px dashed var(--mf-line);
}

/* Artwork grids outside the gallery: the gallery grid sizes itself to this container. */
.mf-artgrid {
	container-type: inline-size;
}

/* ---------- Archive feature ---------------------------------------------- */
.mf-feature {
	position: relative;
	display: grid;
	gap: var(--sp-6);
	align-items: center;
}

@media (min-width: 768px) {
	.mf-feature {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--sp-8);
	}

	.mf-feature--text {
		grid-template-columns: 1fr;
		max-width: var(--w-text);
		margin-inline: auto;
		text-align: center;
	}
}

.mf-feature__title {
	margin: 0;
	font-size: var(--fs-xl);
}

.mf-feature__title a {
	color: inherit;
	text-decoration: none;
}

.mf-feature__text {
	margin: var(--sp-3) 0 0;
	color: var(--mf-muted);
	font-family: var(--mf-font-display);
	font-size: var(--fs-md);
	font-style: italic;
}

.mf-feature__more {
	margin: var(--sp-5) 0 0;
	color: var(--mf-gold-ink);
	font-weight: 600;
}

.mf-feature:hover .mf-feature__title,
.mf-feature:focus-within .mf-feature__title {
	color: var(--mf-gold-ink);
}

/* ---------- Story browsing ------------------------------------------------ */
.mf-browse + .mf-browse {
	margin-top: var(--sp-6);
}

.mf-browse__title {
	margin: var(--sp-6) 0 var(--sp-3);
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mf-gold-ink);
	text-align: center;
}

.mf-dsection--browse .mf-tags {
	justify-content: center;
}

/* ---------- Closing call to action --------------------------------------- */
.mf-dcta {
	padding-block: var(--sp-8);
	text-align: center;
	color: var(--mf-ivory);
	background: var(--mf-navy);
}

.mf-dcta__title {
	margin: 0;
	color: var(--mf-ivory);
	font-size: var(--fs-xl);
}

.mf-dcta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-3);
	margin: var(--sp-5) 0 0;
}

.mf-dcta .mf-button--secondary {
	color: var(--mf-ivory);
	border-color: var(--mf-line-light);
}

.mf-dcta .mf-button--secondary:hover {
	border-color: var(--mf-gold-soft);
}

/* ---------- Collection: featured artwork ---------------------------------- */
.mf-featured-art {
	width: 100%;
	max-width: 22rem;
	margin-inline: auto;
}

.mf-featured-art__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.mf-featured-art__frame {
	display: block;
}

.mf-featured-art__title {
	display: block;
	margin-top: var(--sp-4);
	font-family: var(--mf-font-display);
	font-size: var(--fs-md);
	text-align: center;
}

.mf-featured-art__link:hover .mf-featured-art__title {
	color: var(--mf-gold-ink);
}

/* ---------- Story: literary layout ---------------------------------------- */
.mf-story__media {
	margin: 0;
	padding-top: var(--sp-6);
}

.mf-story__img {
	display: block;
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
	border: 1px solid var(--mf-line);
}

.mf-story__layout {
	display: grid;
	gap: var(--sp-7);
	padding-block: var(--sp-8);
}

@media (min-width: 1024px) {
	.mf-story__layout {
		grid-template-columns: minmax(0, var(--w-text)) 17rem;
		justify-content: center;
		gap: var(--sp-9);
		align-items: start;
	}

	.mf-story__aside {
		position: sticky;
		top: calc(var(--header-h) + var(--sp-5));
	}
}

.mf-prose--editorial {
	max-width: var(--w-text);
	margin-inline: auto;
	font-family: var(--mf-font-display);
	font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.35rem);
	line-height: 1.7;
}

.mf-prose--editorial > p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.1em 0 0;
	color: var(--mf-gold-ink);
	font-size: 3.4em;
	line-height: 0.85;
}

.mf-prose--editorial h2,
.mf-prose--editorial h3 {
	margin-top: var(--sp-7);
}

.mf-prose--editorial blockquote {
	margin-inline: 0;
	padding-left: var(--sp-5);
	border-left: 2px solid var(--mf-gold);
	font-style: italic;
}

.mf-prose img {
	max-width: 100%;
	height: auto;
}

/* ---------- Artwork: catalogue entry -------------------------------------- */
.mf-discovery--artwork > .mf-container:first-child {
	padding-top: var(--sp-5);
}

.mf-discovery--artwork .mf-breadcrumbs ol {
	justify-content: flex-start;
}

.mf-art__grid {
	display: grid;
	gap: var(--sp-6);
	padding-bottom: var(--sp-8);
}

@media (min-width: 1024px) {
	.mf-art__grid {
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
		gap: var(--sp-8);
		align-items: start;
	}

	.mf-art__stage {
		position: sticky;
		top: calc(var(--header-h) + var(--sp-4));
	}
}

.mf-art__figure {
	display: grid;
	place-items: center;
	margin: 0;
	padding: clamp(0.75rem, 0.4rem + 2vw, 2.5rem);
	background: var(--mf-mat, var(--mf-parchment));
	background-image: linear-gradient(rgb(243 235 221 / 0.82), rgb(243 235 221 / 0.82));
	border: 1px solid var(--mf-line);
}

.mf-art__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: min(78vh, 60rem);
	background: var(--mf-ivory);
	box-shadow: var(--shadow-lift);
	outline: 1px solid rgb(176 138 69 / 0.55);
	outline-offset: 6px;
}

.mf-art__placeholder {
	width: 40%;
	color: var(--mf-gold);
}

.mf-art__tools {
	margin: var(--sp-3) 0 0;
	text-align: center;
}

.mf-art__zoom,
.mf-art__favorite {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
}

.mf-art__title {
	margin: 0;
	font-size: var(--fs-xl);
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.mf-art__info .mf-eyebrow a {
	color: inherit;
	text-decoration: none;
}

.mf-art__info .mf-eyebrow a:hover {
	text-decoration: underline;
}

.mf-art__subtitle {
	margin: var(--sp-2) 0 0;
	color: var(--mf-muted);
	font-size: var(--fs-sm);
	letter-spacing: 0.02em;
}

.mf-art__info .mf-ornament--rule {
	margin: var(--sp-4) 0;
	color: var(--mf-accent, var(--mf-gold));
}

.mf-art__meaning {
	margin: 0 0 var(--sp-5);
	font-family: var(--mf-font-display);
	font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
	font-style: italic;
	line-height: 1.45;
}

.mf-art__facts dt:first-child {
	margin-top: 0;
}

.mf-art__actions {
	margin: var(--sp-5) 0 0;
}

.mf-art__favorite[aria-pressed="true"] {
	color: var(--mf-burgundy);
	border-color: var(--mf-burgundy);
}

.mf-art__favorite[aria-pressed="true"] path {
	fill: currentColor;
}

.mf-art__acquire {
	margin-top: var(--sp-6);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--mf-line);
}

.mf-art__acquire-title {
	margin: 0;
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mf-gold-ink);
}

.mf-art__acquire-text {
	margin: var(--sp-2) 0 0;
	color: var(--mf-muted);
}

.mf-art__details {
	display: grid;
	gap: var(--sp-7);
	padding-block: var(--sp-7) var(--sp-8);
	border-top: 1px solid var(--mf-line);
}

@media (min-width: 1024px) {
	.mf-art__details {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		gap: var(--sp-9);
	}

	.mf-art__details .mf-dtext + .mf-dtext {
		margin-top: 0;
	}
}

.mf-symbolism-list__items {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mf-symbolism-list__item {
	padding-block: var(--sp-3);
	border-bottom: 1px solid var(--mf-line);
}

.mf-symbolism-list__item:first-child {
	border-top: 1px solid var(--mf-line);
}

.mf-symbolism-list__name {
	display: block;
	color: var(--mf-charcoal);
	font-family: var(--mf-font-display);
	font-size: var(--fs-md);
	font-weight: 600;
	text-decoration: none;
}

.mf-symbolism-list__name:hover {
	color: var(--mf-gold-ink);
	text-decoration: underline;
}

.mf-symbolism-list__meaning {
	display: block;
	margin-top: 2px;
	color: var(--mf-muted);
	font-size: var(--fs-sm);
}

.mf-symbolism-list .mf-dempty {
	margin: 0;
	text-align: left;
}

/* ---------- Zoom dialog ----------------------------------------------------- */
.mf-zoom {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgb(23 34 53 / 0.97);
}

.mf-zoom::backdrop {
	background: rgb(23 34 53 / 0.8);
}

.mf-zoom__inner {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: var(--sp-7) var(--sp-4) var(--sp-4);
	overflow: auto;
}

.mf-zoom__img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 5rem);
}

.mf-zoom__close {
	position: fixed;
	top: var(--sp-3);
	right: var(--sp-3);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--mf-ivory);
	font-size: 1.8rem;
	line-height: 1;
	background: transparent;
	border: 1px solid var(--mf-line-light);
	cursor: pointer;
}

.mf-zoom__close:focus-visible {
	outline: 2px solid var(--mf-gold-soft);
	outline-offset: 2px;
}

/* ---------- Motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.mf-dbody__grid > .mf-facts,
	.mf-art__stage,
	.mf-story__aside {
		position: static;
	}
}

/* ---------- Purchase panel (Phase 6) -------------------------------------- */
.mf-buy {
	margin-top: var(--sp-4);
}

.mf-buy__notices:empty {
	display: none;
}

.mf-buy__notices .woocommerce-message,
.mf-buy__notices .woocommerce-error,
.mf-buy__notices .woocommerce-info {
	margin: 0 0 var(--sp-4);
	padding: var(--sp-3) var(--sp-4);
	list-style: none;
	background: var(--mf-ivory);
	border: 1px solid var(--mf-line);
	border-left: 3px solid var(--mf-gold);
}

.mf-buy__notices .woocommerce-error {
	border-left-color: var(--mf-burgundy);
}

.mf-buy__notices .button {
	margin-left: var(--sp-2);
	font-weight: 600;
}

.mf-buy__modes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-bottom: var(--sp-4);
	border: 1px solid var(--mf-navy);
}

.mf-buy__modes [role="tab"] {
	min-height: 48px;
	padding: var(--sp-2) var(--sp-3);
	color: var(--mf-navy);
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.mf-buy__modes [aria-selected="true"] {
	color: var(--mf-ivory);
	background: var(--mf-navy);
}

.mf-buy__panel + .mf-buy__panel {
	margin-top: var(--sp-6);
}

.mf-buy__modes:not([hidden]) ~ .mf-buy__panel + .mf-buy__panel {
	margin-top: 0;
}

.mf-buy__title {
	margin: 0;
	font-size: var(--fs-md);
}

.mf-buy__note {
	margin: var(--sp-1) 0 var(--sp-4);
	color: var(--mf-muted);
	font-size: var(--fs-sm);
}

.mf-buy__price {
	margin: var(--sp-4) 0 var(--sp-3);
	color: var(--mf-navy);
	font-family: var(--mf-font-display);
	font-size: clamp(1.65rem, 1.35rem + 1.1vw, 2.05rem);
	font-weight: 600;
	line-height: 1.25;
	min-height: 1.25em;
	font-variant-numeric: lining-nums tabular-nums;
}

.mf-buy__form .mf-button {
	width: 100%;
	justify-content: center;
}

/* Add to cart (secondary) + Buy now (primary): side by side where the panel is wide enough, stacked otherwise. */
.mf-buy__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.mf-buy__actions .mf-button {
	flex: 1 1 13rem;
	width: auto;
	min-height: 48px;
}

.mf-buy__form[aria-busy="true"] .mf-button {
	cursor: progress;
}

.mf-buy__form[aria-busy="true"] .mf-button:not(.is-busy) {
	opacity: 0.55;
}

.mf-buy__cart {
	margin: var(--sp-4) 0 0;
}

/* Digital format cards */
.mf-fmts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mf-fmt__button {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: var(--sp-2);
	color: var(--mf-charcoal);
	font: inherit;
	text-align: center;
	background: var(--mf-ivory);
	border: 1px solid var(--mf-line);
	cursor: pointer;
}

.mf-fmt__button[aria-pressed="true"] {
	border-color: var(--mf-navy);
	box-shadow: inset 0 0 0 1px var(--mf-navy);
}

.mf-fmt__button:disabled {
	cursor: default;
}

.mf-fmt__frame {
	display: grid;
	place-items: center;
	width: 100%;
	max-height: 5.5rem;
	margin-bottom: var(--sp-2);
	overflow: hidden;
	background: var(--mf-parchment);
	border: 1px solid var(--mf-line);
}

.mf-fmt__frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mf-fmt__ratio {
	color: var(--mf-gold-ink);
	font-size: var(--fs-xs);
}

.mf-fmt__label {
	font-size: var(--fs-sm);
	font-weight: 600;
}

.mf-fmt__meta {
	color: var(--mf-muted);
	font-size: var(--fs-xs);
}

.mf-fmt.is-unavailable .mf-fmt__button {
	opacity: 0.6;
}

/* Physical selector */
.mf-step {
	margin: 0 0 var(--sp-4);
	padding: 0;
	border: 0;
}

.mf-step__legend {
	margin-bottom: var(--sp-2);
	color: var(--mf-gold-ink);
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mf-choices,
.mf-sizes {
	display: grid;
	gap: var(--sp-2);
}

/* purchase.js hides the sizes of the ratios not chosen (their inputs are disabled); `display: grid` must not show them. */
.mf-sizes[hidden] {
	display: none;
}

.mf-choices {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mf-sizes + .mf-sizes {
	margin-top: var(--sp-4);
}

.mf-sizes__ratio {
	margin: 0;
	font-weight: 600;
	font-size: var(--fs-sm);
}

.mf-choice {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	min-height: 48px;
	padding: var(--sp-2) var(--sp-3);
	background: var(--mf-ivory);
	border: 1px solid var(--mf-line);
	cursor: pointer;
}

.mf-choice:has(input:checked) {
	border-color: var(--mf-navy);
	box-shadow: inset 0 0 0 1px var(--mf-navy);
}

.mf-choice:has(input:focus-visible) {
	outline: 2px solid var(--mf-gold-ink);
	outline-offset: 2px;
}

.mf-choice input {
	width: 1.1rem;
	height: 1.1rem;
	margin: 0;
	accent-color: var(--mf-navy);
}

.mf-choice__size {
	font-weight: 600;
}

.mf-choice__price {
	margin-left: auto;
	font-variant-numeric: tabular-nums;
}

.mf-badge-popular {
	padding: 1px var(--sp-2);
	color: var(--mf-ivory);
	font-size: var(--fs-xs);
	background: var(--mf-burgundy);
	border-radius: 999px;
}

.mf-download-all {
	margin: var(--sp-4) 0;
}

/* ---------- Discover Your Fortune (Phase 9) -------------------------------- */
.mf-dchoose__fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.mf-dchoose__fieldset legend {
	width: 100%;
	padding: 0;
	text-align: center;
}

.mf-dchoose__fieldset > .mf-dsection__intro {
	text-align: center;
}

.mf-dchoose .mf-dchoose__actions {
	justify-content: center;
}

.mf-dchoose__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: var(--sp-4);
	margin: var(--sp-5) 0 0;
	padding: 0;
	list-style: none;
}

.mf-dchoice {
	position: relative;
}

.mf-dchoice__input {
	position: absolute;
	top: var(--sp-4);
	right: var(--sp-4);
	width: 1.25rem;
	height: 1.25rem;
	margin: 0;
	accent-color: var(--mf-navy);
}

.mf-dchoice__label {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	height: 100%;
	min-height: 44px;
	padding: var(--sp-5) calc(var(--sp-5) + 1.5rem) var(--sp-5) var(--sp-5);
	border: 1px solid var(--mf-line);
	border-top: 3px solid var(--mf-accent, var(--mf-gold));
	background: var(--mf-ivory);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mf-dchoice__label:hover {
	border-color: var(--mf-gold);
}

.mf-dchoice__input:checked + .mf-dchoice__label {
	border-color: var(--mf-navy);
	box-shadow: inset 0 0 0 1px var(--mf-navy);
	background: #fff;
}

.mf-dchoice__input:focus-visible + .mf-dchoice__label {
	outline: 2px solid var(--mf-gold);
	outline-offset: 3px;
}

.mf-dchoice.is-disabled .mf-dchoice__label {
	opacity: 0.55;
	cursor: not-allowed;
}

.mf-dchoice__name {
	font-family: var(--mf-font-display);
	font-size: var(--fs-lg);
	font-weight: 600;
	line-height: 1.15;
	color: var(--mf-charcoal);
}

.mf-dchoice__line {
	color: var(--mf-muted);
	font-size: var(--fs-sm);
}

.mf-dchoice__count {
	margin-top: auto;
	color: var(--mf-gold-ink);
	font-family: var(--mf-font-caps);
	font-size: var(--fs-xs);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mf-dchoose__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-3) var(--sp-5);
	margin-top: var(--sp-6);
}

.mf-dchoose__status {
	margin: 0;
	color: var(--mf-muted);
	font-size: var(--fs-sm);
}

.mf-dresults:focus {
	outline: none;
}

.mf-dresults__intro {
	text-align: center;
}

.mf-dcta__text {
	max-width: 36rem;
	margin: var(--sp-3) auto 0;
	color: rgb(250 247 240 / 0.84);
}

.mf-dnote {
	margin-block: var(--sp-6);
	color: var(--mf-muted);
	font-size: var(--fs-xs);
	text-align: center;
}

/* Fortunes page: Explore link under the name, above the card's whole-card link. */
.mf-card__explore {
	position: relative;
	z-index: 2;
	display: inline-block;
	margin-top: 0.75rem;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--mf-gold);
	color: var(--mf-navy);
	font-family: var(--mf-font-caps);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color var(--mf-motion-fast) var(--mf-ease-standard), color var(--mf-motion-fast) var(--mf-ease-standard);
}

.mf-card__explore:hover {
	background: var(--mf-navy);
	border-color: var(--mf-navy);
	color: var(--mf-ivory);
}

.mf-card__explore:focus-visible {
	outline: 2px solid var(--mf-navy);
	outline-offset: 2px;
}
