/* Battle-page Artist access choice and 25-second music check. */
.ofm-artist-access-quiz {
	display: grid;
	gap: clamp(1rem, 2vw, 1.4rem);
	margin: 0;
	padding: clamp(1rem, 2.4vw, 1.5rem);
	border: 1px solid rgba(255, 199, 31, .38);
	border-radius: 1.1rem;
	background:
		radial-gradient(circle at 90% 0%, rgba(255, 199, 31, .12), transparent 30rem),
		linear-gradient(135deg, rgba(43, 35, 11, .78), rgba(13, 16, 15, .96));
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .16);
	color: #f6f7f4;
}

.ofm-artist-access-quiz > * {
	min-width: 0;
}

.ofm-artist-access-quiz__header {
	display: grid;
	gap: .45rem;
	max-width: 48rem;
}

.ofm-artist-access-quiz__eyebrow {
	margin: 0;
	color: #ffc71f;
	font-size: .7rem;
	font-weight: 850;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ofm-artist-access-quiz__header h2,
.ofm-artist-access-quiz__header h3,
.ofm-artist-access-quiz__choice h3,
.ofm-artist-access-quiz__question h3,
.ofm-artist-access-quiz__status h3 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.25rem, 2.1vw, 1.65rem);
	letter-spacing: -.035em;
	line-height: 1.08;
}

.ofm-artist-access-quiz__header > p:not(.ofm-artist-access-quiz__eyebrow),
.ofm-artist-access-quiz__choice > p,
.ofm-artist-access-quiz__question-copy > p,
.ofm-artist-access-quiz__status > p,
.ofm-artist-access-quiz__help,
.ofm-artist-access-quiz__field small {
	margin: 0;
	color: rgba(235, 240, 236, .78);
	font-size: .92rem;
	line-height: 1.55;
}

.ofm-artist-access-quiz__notice {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	padding: .82rem .95rem;
	border: 1px solid rgba(255, 199, 31, .4);
	border-radius: .75rem;
	background: rgba(255, 199, 31, .075);
	color: #fff1bb;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.45;
}

.ofm-artist-access-quiz__notice::before {
	content: '';
	flex: 0 0 auto;
	width: .54rem;
	height: .54rem;
	margin-top: .35rem;
	border-radius: 50%;
	background: #ffc71f;
	box-shadow: 0 0 0 .25rem rgba(255, 199, 31, .12);
}

.ofm-artist-access-quiz__notice.is-success {
	border-color: rgba(120, 229, 164, .54);
	background: rgba(23, 92, 52, .2);
	color: #c7ffdb;
}

.ofm-artist-access-quiz__notice.is-success::before {
	background: #78e5a4;
	box-shadow: 0 0 0 .25rem rgba(120, 229, 164, .11);
}

.ofm-artist-access-quiz__notice.is-error,
.ofm-artist-access-quiz__notice.is-expired {
	border-color: rgba(255, 118, 112, .58);
	background: rgba(111, 30, 29, .25);
	color: #ffd1ce;
}

.ofm-artist-access-quiz__notice.is-error::before,
.ofm-artist-access-quiz__notice.is-expired::before {
	background: #ff7670;
	box-shadow: 0 0 0 .25rem rgba(255, 118, 112, .12);
}

.ofm-artist-access-quiz__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ofm-artist-access-quiz__choice {
	display: grid;
	min-height: 100%;
	align-content: start;
	gap: .7rem;
	padding: clamp(1rem, 2vw, 1.25rem);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: .95rem;
	background: rgba(8, 10, 10, .58);
	box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.ofm-artist-access-quiz__choice--wide {
	grid-column: 1 / -1;
}

.ofm-artist-access-quiz__choice.is-primary {
	border-color: rgba(255, 199, 31, .54);
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 199, 31, .13), transparent 56%),
		rgba(47, 37, 8, .56);
}

.ofm-artist-access-quiz__choice h3 {
	font-size: 1.12rem;
	letter-spacing: -.02em;
}

.ofm-artist-access-quiz__choice > p {
	min-height: 4.45em;
	font-size: .87rem;
}

.ofm-artist-access-quiz__choice-action,
.ofm-artist-access-quiz__submit,
.ofm-artist-access-quiz__link {
	display: inline-flex;
	width: fit-content;
	min-height: 2.7rem;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	padding: .68rem 1rem;
	border: 1px solid #ffc71f;
	border-radius: .68rem;
	background: #ffc71f;
	color: #161406;
	font: inherit;
	font-size: .88rem;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ofm-artist-access-quiz__choice-action:hover,
.ofm-artist-access-quiz__submit:hover,
.ofm-artist-access-quiz__link:hover {
	border-color: #ffdb5b;
	background: #ffdb5b;
	transform: translateY(-1px);
	box-shadow: 0 .5rem 1.2rem rgba(0, 0, 0, .24);
}

.ofm-artist-access-quiz__choice-action:focus-visible,
.ofm-artist-access-quiz__submit:focus-visible,
.ofm-artist-access-quiz__link:focus-visible,
.ofm-artist-access-quiz__option:focus-within,
.ofm-artist-access-quiz__field select:focus-visible {
	outline: 2px solid #fff0ad;
	outline-offset: 3px;
}

.ofm-artist-access-quiz__choice-action.is-muted,
.ofm-artist-access-quiz__link.is-muted,
.ofm-artist-access-quiz__form .is-secondary {
	border-color: rgba(255, 199, 31, .58);
	background: transparent;
	color: #ffe081;
	box-shadow: none;
}

.ofm-artist-access-quiz__choice-action.is-muted:hover,
.ofm-artist-access-quiz__link.is-muted:hover,
.ofm-artist-access-quiz__form .is-secondary:hover {
	background: rgba(255, 199, 31, .11);
	color: #fff;
}

.ofm-artist-access-quiz__form {
	display: grid;
	gap: 1rem;
	padding: clamp(1rem, 2.2vw, 1.35rem);
	border: 1px solid rgba(255, 199, 31, .34);
	border-radius: .95rem;
	background: rgba(10, 12, 11, .65);
}

.ofm-artist-access-quiz__form-heading {
	display: grid;
	gap: .35rem;
}

.ofm-artist-access-quiz__form-heading h3 {
	margin: 0;
	color: #fff;
	font-size: 1.08rem;
	letter-spacing: -.02em;
}

.ofm-artist-access-quiz__field {
	display: grid;
	gap: .45rem;
	max-width: 31rem;
	color: #f7faf7;
	font-size: .9rem;
	font-weight: 800;
}

.ofm-artist-access-quiz__field select {
	width: 100%;
	min-height: 2.85rem;
	box-sizing: border-box;
	padding: .65rem 2.5rem .65rem .82rem;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: .65rem;
	background-color: #101211;
	color: #fff;
	font: inherit;
	font-weight: 600;
}

.ofm-artist-access-quiz__field select:focus {
	border-color: rgba(255, 199, 31, .9);
}

.ofm-artist-access-quiz__question {
	display: grid;
	gap: clamp(1rem, 2vw, 1.3rem);
	padding: clamp(1rem, 2.4vw, 1.45rem);
	border: 1px solid rgb(244 196 48 / .48);
	border-radius: 1rem;
	background:
		radial-gradient(circle at 100% 0%, rgb(244 196 48 / .12), transparent 23rem),
		linear-gradient(135deg, rgb(34 30 17 / .9), rgb(14 16 17 / .98));
	box-shadow: inset 0 1px rgb(255 255 255 / .035), 0 14px 32px rgb(0 0 0 / .16);
}

.ofm-artist-access-quiz__question-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.ofm-artist-access-quiz__question-copy {
	display: grid;
	gap: .38rem;
	min-width: 0;
}

.ofm-artist-access-quiz__question h3 {
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	letter-spacing: -.028em;
}

.ofm-artist-access-quiz__question-copy > p {
	color: rgb(235 235 229 / .76);
	font-size: .88rem;
	line-height: 1.5;
}

.ofm-artist-access-quiz__timer {
	display: grid;
	min-width: 7.5rem;
	flex: 0 0 auto;
	gap: .1rem;
	padding: .55rem .7rem;
	border: 1px solid rgb(244 196 48 / .56);
	border-radius: .65rem;
	background: rgb(13 14 14 / .7);
	color: #fff2ba;
	text-align: center;
}

.ofm-artist-access-quiz__timer-label {
	color: rgb(244 196 48 / .72);
	font-size: .58rem;
	font-weight: 850;
	letter-spacing: .09em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ofm-artist-access-quiz__timer-value,
.ofm-artist-access-countdown {
	font-size: 1.08rem;
	font-variant-numeric: tabular-nums;
	font-weight: 900;
	line-height: 1.15;
}

/* Keep the existing release-row player contract, but give its control the
 * same direct gold play/pause treatment used by the Song Station player. */
.ofm-artist-access-quiz__player {
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / .13);
	border-radius: .78rem;
	background: linear-gradient(100deg, rgb(244 196 48 / .07), rgb(10 12 13 / .82) 44%);
}

.ofm-artist-access-quiz__player-row,
.ofm-artist-access-quiz__player-row.is-current {
	grid-template-columns: 56px minmax(0, 1fr);
	min-height: 5rem;
	margin: 0;
	padding: .6rem .85rem .6rem .68rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ofm-artist-access-quiz__player-row:hover,
.ofm-artist-access-quiz__player-row.is-current:hover {
	border-color: transparent;
	background: rgba(255, 199, 31, .055);
}

.ofm-artist-access-quiz__player-row .ofm-release-row__cover {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: transparent;
	overflow: visible;
}

.ofm-artist-access-quiz__player-row .ofm-release-row__cover-placeholder {
	visibility: hidden;
}

.ofm-artist-access-quiz__player-row .ofm-release-row__play,
.ofm-artist-access-quiz__player-row.is-playing .ofm-release-row__play {
	inset: 4px;
	display: grid;
	place-items: center;
	min-height: 0;
	padding: 0;
	border: 1px solid #ffe89a;
	border-radius: 50%;
	background: #f4c430;
	color: #111;
	opacity: 1;
	box-shadow: 0 7px 16px rgb(0 0 0 / .28);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ofm-artist-access-quiz__player-row .ofm-release-row__play svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
	stroke: none;
}

.ofm-artist-access-quiz__player-row .ofm-release-row__play .icon-pause {
	display: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
}

.ofm-artist-access-quiz__player-row.is-playing .ofm-release-row__play .icon-play {
	display: none;
}

.ofm-artist-access-quiz__player-row.is-playing .ofm-release-row__play .icon-pause {
	display: block;
}

.ofm-artist-access-quiz__player-row .ofm-release-row__play:hover,
.ofm-artist-access-quiz__player-row .ofm-release-row__play:focus-visible {
	background: #ffda57;
	color: #111;
	outline: 2px solid #fff0ad;
	outline-offset: 3px;
	transform: scale(1.05);
}

.ofm-artist-access-quiz__player-row.is-playing .ofm-release-row__play {
	box-shadow: 0 0 0 7px rgba(244, 196, 48, .11);
	animation: ofm-artist-access-quiz-track-pulse 1.6s ease-in-out infinite;
}

.ofm-artist-access-quiz__player-row .ofm-release-row__play:disabled {
	opacity: .42;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

.ofm-artist-access-quiz__player .ofm-release-row__title {
	color: #fff;
	font-size: .98rem;
	font-weight: 760;
}

.ofm-artist-access-quiz__player .ofm-release-row__main > span:last-child {
	color: rgba(235, 240, 236, .68);
}

.ofm-artist-access-quiz__start-stage {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .85rem;
	padding: .7rem .82rem;
	border: 1px solid rgb(244 196 48 / .34);
	border-radius: .72rem;
	background: linear-gradient(90deg, rgb(244 196 48 / .1), rgb(17 18 17 / .5));
	color: #ece7d3;
	font-size: .84rem;
	line-height: 1.35;
}

.ofm-artist-access-quiz__start-stage-kicker {
	flex: 0 0 auto;
	color: #f4c430;
	font-size: .6rem;
	font-weight: 900;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.ofm-artist-access-quiz__start-stage strong {
	font-weight: 760;
	text-align: right;
}

.ofm-artist-access-quiz.is-arming .ofm-artist-access-quiz__player-row .ofm-release-row__play {
	box-shadow: 0 0 0 8px rgba(244, 196, 48, .14);
	animation: ofm-artist-access-quiz-ready-pulse .85s ease-in-out infinite;
}

.ofm-artist-access-quiz.is-arming .ofm-artist-access-quiz__start-stage {
	border-color: rgba(255, 225, 123, .75);
	background: linear-gradient(90deg, rgba(255, 199, 31, .22), rgba(36, 28, 5, .52));
}

.ofm-artist-access-quiz.is-active .ofm-artist-access-quiz__start-stage {
	border-color: rgba(120, 229, 164, .6);
	background: linear-gradient(90deg, rgba(28, 112, 64, .27), rgba(12, 34, 20, .4));
	color: #d9ffe7;
}

.ofm-artist-access-quiz.is-active .ofm-artist-access-quiz__start-stage-kicker {
	color: #8af0b2;
}

.ofm-artist-access-quiz.is-launching .ofm-artist-access-quiz__question {
	animation: ofm-artist-access-quiz-start .95s cubic-bezier(.2, .85, .24, 1);
}

.ofm-artist-access-quiz.is-launching .ofm-artist-access-quiz__start-stage {
	animation: ofm-artist-access-quiz-go 1.05s ease-out;
}

@keyframes ofm-artist-access-quiz-track-pulse {
	50% { transform: scale(1.05); }
}

@keyframes ofm-artist-access-quiz-ready-pulse {
	50% { transform: scale(1.08); }
}

@keyframes ofm-artist-access-quiz-start {
	0% { box-shadow: inset 0 0 0 0 rgba(255, 199, 31, 0), 0 0 0 rgba(255, 199, 31, 0); }
	35% { box-shadow: inset 0 0 0 999px rgba(255, 199, 31, .07), 0 0 2rem rgba(255, 199, 31, .18); }
	100% { box-shadow: inset 0 0 0 0 rgba(255, 199, 31, 0), 0 0 0 rgba(255, 199, 31, 0); }
}

@keyframes ofm-artist-access-quiz-go {
	0% { transform: scale(.98); opacity: .48; }
	35% { transform: scale(1.015); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}

.ofm-artist-access-quiz__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .62rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.ofm-artist-access-quiz__options legend {
	width: 100%;
	margin: 0 0 .2rem;
	padding: 0;
	color: #d7d4c9;
	font-size: .68rem;
	font-weight: 900;
	letter-spacing: .11em;
	line-height: 1.25;
	text-transform: uppercase;
}

.ofm-artist-access-quiz__option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: .72rem;
	min-height: 3.25rem;
	box-sizing: border-box;
	padding: .68rem .78rem;
	border: 1px solid rgb(255 255 255 / .15);
	border-radius: .68rem;
	background: linear-gradient(135deg, rgb(27 29 28 / .92), rgb(14 16 16 / .92));
	color: #f3f2ed;
	font-size: .86rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.ofm-artist-access-quiz__option:hover {
	border-color: rgb(244 196 48 / .6);
	background: linear-gradient(135deg, rgb(244 196 48 / .12), rgb(28 27 19 / .92));
	transform: translateY(-1px);
}

.ofm-artist-access-quiz__option input {
	-webkit-appearance: none;
	appearance: none;
	width: 1.12rem;
	height: 1.12rem;
	box-sizing: border-box;
	margin: 0;
	border: 2px solid #77766e;
	border-radius: 50%;
	background: #121313;
	box-shadow: inset 0 0 0 3px #121313;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.ofm-artist-access-quiz__option:has(input:checked) {
	border-color: #f4c430;
	background: linear-gradient(135deg, rgb(244 196 48 / .17), rgb(42 35 14 / .9));
	color: #fff5ca;
}

.ofm-artist-access-quiz__option input:checked {
	border-color: #f4c430;
	background: #f4c430;
	box-shadow: inset 0 0 0 4px #171717;
}

.ofm-artist-access-quiz__option input:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
}

.ofm-artist-access-quiz__options:disabled .ofm-artist-access-quiz__option {
	border-color: rgb(255 255 255 / .09);
	background: rgb(13 14 14 / .5);
	color: rgb(255 255 255 / .48);
	cursor: not-allowed;
	transform: none;
}

.ofm-artist-access-quiz__options:disabled .ofm-artist-access-quiz__option:hover {
	border-color: rgb(255 255 255 / .09);
	background: rgb(13 14 14 / .5);
	transform: none;
}

.ofm-artist-access-quiz__question-actions,
.ofm-artist-access-quiz__status-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .7rem;
}

.ofm-artist-access-quiz__submit:disabled {
	border-color: rgb(244 196 48 / .2);
	background: #20201c;
	color: #9a9585;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
	transform: none;
}

.ofm-artist-access-quiz__submit:disabled:hover {
	border-color: rgb(244 196 48 / .2);
	background: #20201c;
	box-shadow: none;
	transform: none;
}

.ofm-artist-access-quiz__status {
	display: grid;
	gap: .7rem;
	padding: clamp(1rem, 2.2vw, 1.35rem);
	border: 1px solid rgba(120, 229, 164, .38);
	border-radius: .92rem;
	background: linear-gradient(135deg, rgba(23, 92, 52, .22), rgba(10, 17, 13, .72));
}

.ofm-artist-access-quiz__status.is-cooldown {
	border-color: rgba(255, 199, 31, .4);
	background: linear-gradient(135deg, rgba(73, 55, 8, .28), rgba(15, 16, 13, .75));
}

.ofm-artist-access-quiz__status.is-pending {
	border-color: rgba(112, 184, 255, .4);
	background: linear-gradient(135deg, rgba(20, 54, 83, .3), rgba(10, 14, 16, .76));
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__question {
	border-color: rgba(255, 118, 112, .55);
	background: linear-gradient(135deg, rgba(76, 25, 24, .38), rgba(16, 13, 13, .92));
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__timer {
	border-color: rgba(255, 118, 112, .7);
	background: rgba(91, 25, 23, .46);
	color: #ffd1ce;
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__timer-label {
	color: rgba(255, 209, 206, .76);
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__start-stage {
	border-color: rgba(255, 118, 112, .72);
	background: linear-gradient(90deg, rgba(111, 30, 29, .45), rgba(40, 12, 12, .3));
	color: #ffd1ce;
	animation: ofm-artist-access-quiz-finish .86s ease-out;
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__start-stage-kicker {
	color: #ff9c96;
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__player-row {
	opacity: .62;
}

@keyframes ofm-artist-access-quiz-finish {
	0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 118, 112, 0); }
	35% { transform: scale(1.015); box-shadow: 0 0 2rem rgba(255, 118, 112, .28); }
	100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 118, 112, 0); }
}

.ofm-artist-access-quiz.is-expired .ofm-artist-access-quiz__option {
	border-color: rgba(255, 255, 255, .1);
	background: rgba(8, 9, 9, .46);
	color: rgba(255, 255, 255, .5);
	cursor: not-allowed;
	transform: none;
}

.ofm-artist-access-quiz__expiry-message {
	margin: 0;
	color: #ffd1ce;
	font-size: .86rem;
	font-weight: 760;
	line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
	.ofm-artist-access-quiz *,
	.ofm-artist-access-quiz *::before,
	.ofm-artist-access-quiz *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

@media (max-width: 720px) {
	.ofm-artist-access-quiz__choices,
	.ofm-artist-access-quiz__options {
		grid-template-columns: 1fr;
	}

	.ofm-artist-access-quiz__choice > p {
		min-height: 0;
	}
}

@media (max-width: 480px) {
	.ofm-artist-access-quiz {
		padding: .92rem;
		border-radius: .9rem;
	}

	.ofm-artist-access-quiz__question,
	.ofm-artist-access-quiz__form,
	.ofm-artist-access-quiz__choice,
	.ofm-artist-access-quiz__status {
		padding: .9rem;
	}

	.ofm-artist-access-quiz__question-top {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ofm-artist-access-quiz__timer {
		width: fit-content;
	}

	.ofm-artist-access-quiz__start-stage {
		align-items: flex-start;
		flex-direction: column;
	}

	.ofm-artist-access-quiz__start-stage strong {
		text-align: left;
	}

	.ofm-artist-access-quiz__choice-action,
	.ofm-artist-access-quiz__submit,
	.ofm-artist-access-quiz__link {
		width: 100%;
	}
}
