/**
 * MAS Core - single Play.
 *
 * Retuned 2026-09-08 for the Industry design. The body sits on paper now, so
 * the on-dark colours are gone. Layout follows the mockup's article page: an
 * accent eyebrow, a "short answer" style block for the rule's why, plain body
 * copy for the how, and a hairline rule above the back link.
 */

.mas-play {
	color: var(--mas-ink);
}

.mas-play *,
.mas-play *::before,
.mas-play *::after {
	box-sizing: border-box;
}

/*
 * The theme label. It opens the content area, immediately under the theme's own
 * H1, and is set as an eyebrow so it reads as a label on the rule above it
 * rather than as the first line of body copy.
 */
.mas-play__theme {
	margin: 0 0 1.5rem;
	color: var(--mas-accent-800);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Body blocks. */

.mas-play__block {
	margin: 0 0 2rem;
}

.mas-play__block-title {
	margin: 0 0 0.5rem;
	color: var(--mas-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mas-play__prose p {
	margin: 0 0 1rem;
	font-size: 16px;
	line-height: 1.6;
}

.mas-play__prose p:last-child {
	margin-bottom: 0;
}

/*
 * "Why it matters" is the play's short answer, so it takes the blueprint frame
 * the design gives that block: square, hairline, transparent, with "+"
 * registration marks 6px outside each corner drawn as background layers.
 */
.mas-play__block--why {
	position: relative;
	padding: var(--mas-card-padding);
	border: 1px solid var(--mas-rule);
}

.mas-play__block--why::after {
	content: "";
	position: absolute;
	inset: -6px;
	pointer-events: none;
	background-repeat: no-repeat;
	background-image:
		linear-gradient(rgba(15, 23, 42, 0.55) 0 0), linear-gradient(rgba(15, 23, 42, 0.55) 0 0),
		linear-gradient(rgba(15, 23, 42, 0.55) 0 0), linear-gradient(rgba(15, 23, 42, 0.55) 0 0),
		linear-gradient(rgba(15, 23, 42, 0.55) 0 0), linear-gradient(rgba(15, 23, 42, 0.55) 0 0),
		linear-gradient(rgba(15, 23, 42, 0.55) 0 0), linear-gradient(rgba(15, 23, 42, 0.55) 0 0);
	background-size:
		1px 11px, 11px 1px,
		1px 11px, 11px 1px,
		1px 11px, 11px 1px,
		1px 11px, 11px 1px;
	background-position:
		left 5px top 0, left 0 top 5px,
		right 5px top 0, right 0 top 5px,
		left 5px bottom 0, left 0 bottom 5px,
		right 5px bottom 0, right 0 bottom 5px;
}

/* Anything the author added in the editor, below the two meta blocks. */

.mas-play__notes {
	margin: 0 0 2rem;
}

/* Related links. */

.mas-play__related {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mas-play__related-item {
	padding: 10px 0;
	border-bottom: 1px solid var(--mas-rule-soft);
}

.mas-play__related-link {
	color: var(--mas-accent);
	font-size: 15px;
	text-decoration: none;
}

.mas-play__related-link:hover,
.mas-play__related-link:focus-visible {
	color: var(--mas-accent-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mas-play__related-link:focus-visible {
	outline: 2px solid var(--mas-accent);
	outline-offset: 2px;
}

/* Back link, separated from the body by a rule. */

.mas-play__back {
	margin: 2.5rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--mas-rule);
}

.mas-play__back-link {
	color: var(--mas-accent);
	font-weight: 600;
	text-decoration: none;
}

.mas-play__back-link:hover,
.mas-play__back-link:focus-visible {
	color: var(--mas-accent-hover);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mas-play__back-link:focus-visible {
	outline: 2px solid var(--mas-accent);
	outline-offset: 2px;
}
