/**
 * The Monster Genesis performer application (shortcode [mpr_open_stage]).
 *
 * Black page, white text, red accents (#ED2124) and a #D91A1E button, in the
 * site's own type: PAGKAKI for display, Poppins for everything you read or
 * type in. Like the audition sheet it sets its own background and its own
 * text colour together, because the page it sits on is a plain WordPress page
 * and may not be dark. Everything is scoped to .mpr-os, so no other form on the
 * site is touched. No images, no animation beyond a smooth scroll that stops
 * for anybody who asked for less motion.
 */

.mpr-os {
	--os-bg: #000;
	--os-panel: #121212;
	--os-field: #1a1a1a;
	--os-line: rgba(255, 255, 255, .28);
	--os-text: #fff;
	--os-muted: #d2d2d2;
	--os-accent: #ed2124;
	--os-btn: #d91a1e;
	--os-bad: #ff8083;
	--os-ok: #5fd99a;
	background: var(--os-bg);
	color: var(--os-text);
	font-family: var(--mpr-font-body, "Poppins", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1.55;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.mpr-os *,
.mpr-os *::before,
.mpr-os *::after { box-sizing: border-box; }

.mpr-os-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 40px 20px 96px;
}

.mpr-os h1,
.mpr-os h2 { margin: 0; font-weight: 400; letter-spacing: 0; }

:where(.mpr-os) p { margin: 0; }

.mpr-os a { color: inherit; }

html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } }

/* ── Top: what this is, and the one thing to press ─────────────────────── */

.mpr-os-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
	padding-bottom: 40px;
}

.mpr-os h1 {
	font-family: var(--mpr-font-body, "Poppins", sans-serif);
	font-weight: 600;
	text-transform: none;
	letter-spacing: -0.01em;
	font-size: var(--mpr-h1-title, 40px);
	line-height: 1.15;
	margin-bottom: 22px;
}

.mpr-os-headline {
	font-size: clamp(20px, 2.6vw, 28px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--os-text);
	margin-bottom: 18px;
}

.mpr-os-lead {
	color: var(--os-muted);
	font-size: 17px;
	max-width: 62ch;
	margin-bottom: 14px;
}

.mpr-os-cta { margin: 26px 0 12px; }

.mpr-os-small { color: var(--os-muted); font-size: 14px; }

.mpr-os-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 30px;
	background: var(--os-btn);
	color: #fff !important;
	border: 2px solid var(--os-btn);
	border-radius: 0;
	font: 700 17px/1.2 var(--mpr-font-body, "Poppins", sans-serif);
	text-decoration: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
}

.mpr-os-btn:hover { background: #f0282c; border-color: #f0282c; }

.mpr-os-btn:focus-visible,
.mpr-os a:focus-visible,
.mpr-os summary:focus-visible,
.mpr-os button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.mpr-os-btn[disabled] { opacity: .6; cursor: progress; }

/* ── The show, in a card ───────────────────────────────────────────────── */

.mpr-os-card {
	background: var(--os-panel);
	border: 1px solid var(--os-line);
	border-top: 4px solid var(--os-accent);
	border-radius: 0;
	padding: 20px 22px 12px;
}

.mpr-os-card[hidden] { display: none; }

.mpr-os-card-kicker {
	color: var(--os-muted);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.mpr-os .mpr-os-card-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 12px;
}

.mpr-os-facts { margin: 0; }

.mpr-os-facts > div {
	display: grid;
	grid-template-columns: 9.5em minmax(0, 1fr);
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.mpr-os-facts dt { color: var(--os-muted); font-size: 14px; margin: 0; }
.mpr-os-facts dd { margin: 0; font-weight: 600; }

/* ── The form ──────────────────────────────────────────────────────────── */

.mpr-os-form { max-width: 760px; margin: 0 auto; scroll-margin-top: 16px; }

.mpr-os-legend { color: var(--os-muted); font-size: 14px; margin-bottom: 6px; }

.mpr-os-sec {
	padding: 30px 0 8px;
	border-top: 1px solid var(--os-line);
}

.mpr-os-sec h2 {
	font-family: var(--mpr-font-display, "PAGKAKI", Helvetica, Arial, sans-serif);
	text-transform: uppercase;
	font-size: clamp(22px, 3.2vw, 30px);
	line-height: 1.1;
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}

.mpr-os-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	border: 2px solid var(--os-accent);
	color: var(--os-accent);
	font-size: .8em;
	line-height: 1;
}

.mpr-os-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

.mpr-os-field { margin: 0 0 20px; }

.mpr-os-field > label,
.mpr-os-chips legend {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	margin: 0 0 6px;
	padding: 0;
}

.mpr-os-hint { color: var(--os-muted); font-size: 14px; margin: 0 0 8px; }
.mpr-os-sec > .mpr-os-hint { margin-top: -10px; margin-bottom: 18px; }

.mpr-os-req { color: var(--os-accent); font-weight: 700; }

.mpr-os-opt {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border: 1px solid var(--os-line);
	border-radius: 0;
	color: var(--os-muted);
	font-family: var(--mpr-font-body, "Poppins", sans-serif);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	text-transform: none;
	vertical-align: middle;
}

.mpr-os input[type="text"],
.mpr-os input[type="email"],
.mpr-os input[type="tel"],
.mpr-os input[type="url"],
.mpr-os select,
.mpr-os textarea {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	background: var(--os-field);
	color: #fff;
	border: 2px solid #6b6b6b;
	border-radius: 0;
	font: 400 16px/1.4 var(--mpr-font-body, "Poppins", sans-serif);
	-webkit-appearance: none;
	appearance: none;
}

.mpr-os textarea { min-height: 120px; resize: vertical; }

.mpr-os select {
	background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
	padding-right: 40px;
}

.mpr-os input:hover,
.mpr-os select:hover,
.mpr-os textarea:hover { border-color: #9a9a9a; }

.mpr-os input:focus,
.mpr-os select:focus,
.mpr-os textarea:focus {
	outline: 3px solid #fff;
	outline-offset: 2px;
	border-color: var(--os-accent);
}

.mpr-os [aria-invalid="true"] { border-color: var(--os-bad) !important; }

.mpr-os-err {
	margin: 8px 0 0;
	padding-left: 12px;
	border-left: 3px solid var(--os-bad);
	color: var(--os-bad);
	font-size: 14px;
	font-weight: 600;
}

.mpr-os-err[hidden] { display: none; }

/* Chips: whole-label tap targets, not a native box on its own. */

.mpr-os-chips { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.mpr-os-chiprow { display: flex; flex-wrap: wrap; gap: 4px 24px; }

.mpr-os-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	/* Plain ticks, no box behind each option (Michael, 2026-11-28). Still a 44 px tap target. */
	min-height: 44px;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
}

.mpr-os-chip:hover span { text-decoration: underline; text-underline-offset: 3px; }
.mpr-os-chip input { width: 20px; height: 20px; margin: 0; accent-color: var(--os-accent); flex: none; }
.mpr-os-chip:has(input:checked) span { font-weight: 700; }
.mpr-os-chip:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }

/* More, folded away until it is wanted. */

.mpr-os-more { margin: 4px 0 24px; border: 1px solid var(--os-line); border-radius: 0; background: var(--os-panel); }

.mpr-os-more > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 12px 16px;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.mpr-os-more > summary::-webkit-details-marker { display: none; }

.mpr-os-more > summary::after {
	content: "+";
	flex: none;
	font-size: 26px;
	line-height: 1;
	color: var(--os-accent);
}

.mpr-os-more[open] > summary::after { content: "\2212"; }
.mpr-os-more[open] > summary { border-bottom: 1px solid var(--os-line); }
.mpr-os-more > :not(summary) { margin-left: 16px; margin-right: 16px; }
.mpr-os-more > .mpr-os-pair { margin-top: 18px; }
.mpr-os-more > .mpr-os-field:first-of-type { margin-top: 18px; }
.mpr-os-more > :last-child { margin-bottom: 4px; }

/* The music file */

.mpr-os-filebox {
	padding: 14px;
	background: var(--os-field);
	border: 2px dashed #6b6b6b;
	border-radius: 0;
}

.mpr-os input[type="file"] {
	display: block;
	width: 100%;
	color: #fff;
	font: 500 15px/1.4 var(--mpr-font-body, "Poppins", sans-serif);
}

.mpr-os input[type="file"]::file-selector-button {
	margin-right: 14px;
	min-height: 44px;
	padding: 10px 18px;
	background: #fff;
	color: #000;
	border: 0;
	border-radius: 0;
	font: 700 15px/1.2 var(--mpr-font-body, "Poppins", sans-serif);
	cursor: pointer;
}

.mpr-os input[type="file"]:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.mpr-os-picked {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, .18);
}

.mpr-os-picked[hidden] { display: none; }
.mpr-os-picked-name { font-weight: 600; overflow-wrap: anywhere; }

.mpr-os-link {
	min-height: 44px;
	padding: 8px 4px;
	background: none;
	border: 0;
	color: #fff;
	font: 600 15px/1.2 var(--mpr-font-body, "Poppins", sans-serif);
	text-decoration: underline;
	cursor: pointer;
}

/* The two boxes at the end */

.mpr-os-consent { margin-bottom: 14px; }

.mpr-os-field > label.mpr-os-check {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 16px;
	background: var(--os-field);
	border: 2px solid #5b5b5b;
	border-radius: 0;
	font-weight: 500;
	line-height: 1.45;
	margin: 0;
	cursor: pointer;
}

.mpr-os-check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--os-accent); flex: none; }
.mpr-os-check:has(input:checked) { border-color: var(--os-accent); }
.mpr-os-check:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }

/* The send bar: once the form is on screen (the page marks it .is-active), it sticks to the bottom of the screen while the form is on it. */

.mpr-os-actions {
	position: static;
	bottom: 0;
	z-index: 5;
	margin: 12px -20px 0;
	padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 22%);
}

.mpr-os-form.is-active .mpr-os-actions { position: sticky; }
.mpr-os-submit { width: 100%; }

.mpr-os-sending {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
}

.mpr-os-sending[hidden] { display: none; }
.mpr-os-sending { flex-wrap: wrap; }
.mpr-os-sending progress { flex: 1 1 100%; height: 10px; accent-color: var(--os-accent); }
.mpr-os-sending progress[hidden] { display: none; }

/* Messages */

.mpr-os-flash,
.mpr-os-summary {
	margin: 0 auto 24px;
	max-width: 760px;
	padding: 16px 18px;
	background: var(--os-panel);
	border: 1px solid var(--os-line);
	border-left: 4px solid var(--os-accent);
	border-radius: 0;
}

.mpr-os-summary[hidden] { display: none; }
.mpr-os-summary strong { display: block; margin-bottom: 6px; }
.mpr-os-summary ul { margin: 0; padding-left: 20px; }
.mpr-os-summary a { color: #fff; font-weight: 600; }
.mpr-os-flash-bad { border-left-color: var(--os-bad); }

.mpr-os-done {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px 26px;
	background: var(--os-panel);
	border: 1px solid var(--os-line);
	border-top: 4px solid var(--os-ok);
	border-radius: 0;
}

.mpr-os-done[hidden] { display: none; }
.mpr-os-done:focus { outline: none; }

.mpr-os-done h2 {
	font-family: var(--mpr-font-display, "PAGKAKI", Helvetica, Arial, sans-serif);
	text-transform: uppercase;
	font-size: clamp(28px, 4.4vw, 42px);
	line-height: 1.05;
	margin-bottom: 14px;
}

.mpr-os-done-lead { font-size: 18px; margin-bottom: 12px; }
.mpr-os-done-track { color: var(--os-ok); font-weight: 600; margin-bottom: 12px; }
.mpr-os-done-list { margin: 0; padding-left: 20px; color: var(--os-muted); }
.mpr-os-done-list li { margin-bottom: 6px; }

.mpr-os-sent { min-height: 50vh; }
.mpr-os-sent .mpr-os-done { margin-top: 48px; }

/* Honeypot: off the page for people, still in it for robots. */
.mpr-os-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ── Phones ────────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
	.mpr-os-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 28px; }
}

@media (max-width: 600px) {
	.mpr-os-wrap { padding: 28px 16px 72px; }
	.mpr-os-actions { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
	.mpr-os-pair { grid-template-columns: minmax(0, 1fr); }
	.mpr-os-cta .mpr-os-btn { width: 100%; }
	.mpr-os-facts > div { grid-template-columns: 8em minmax(0, 1fr); gap: 8px; }
	.mpr-os-chiprow { gap: 0 20px; }
	.mpr-os-card { padding: 16px 16px 8px; }
}

/* @@square 2026-11-17: square corners (brand). One rule per old rounded rule; the round play button stays. */
.mpr-os-btn { border-radius: 0; } /* was 6px, line 90 */
.mpr-os-card { border-radius: 0; } /* was 6px, line 122 */
.mpr-os-opt { border-radius: 0; } /* was 20px, line 218 */
.mpr-os input[type="text"], .mpr-os input[type="email"], .mpr-os input[type="tel"], .mpr-os input[type="url"], .mpr-os select, .mpr-os textarea { border-radius: 0; } /* was 6px, line 233 */
.mpr-os-chip { border-radius: 0; } /* was 6px, line 292 */
.mpr-os-more { border-radius: 0; } /* was 6px, line 315 */
.mpr-os-filebox { border-radius: 0; } /* was 6px, line 348 */
.mpr-os input[type="file"]::file-selector-button { border-radius: 0; } /* was 6px, line 362 */
.mpr-os-field > label.mpr-os-check { border-radius: 0; } /* was 6px, line 405 */
.mpr-os-flash, .mpr-os-summary { border-radius: 0; } /* was 6px, line 453 */
.mpr-os-done { border-radius: 0; } /* was 6px, line 470 */
/* @@end square */
