.beat-bucks-page {
	--graph-wire: var(--muted);
	--graph-energy: var(--link);
	--graph-head: #ffffff;
}
.beat-buck-admin-actions {
	margin-bottom: 1.75rem;
}
.beat-buck-song-actions {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 0.5rem;
}
.beat-buck-song-actions button {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 0;
	text-align: left;
	font-size: 1.15rem;
	font-weight: bold;
}
.beat-buck-song-actions button[hidden] {
	display: none;
}
.beat-buck-song-actions button > span:not([aria-hidden]) {
	min-width: 0;
	overflow-wrap: anywhere;
}
.beat-buck-song-actions svg,
.beat-buck-song-actions .radio-die-icon {
	flex: 0 0 1.15rem;
	width: 1.15rem;
	height: 1.15rem;
}
.beat-buck-song-actions svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}
@container (max-width: 480px) {
	.beat-buck-song-actions:has(#beat-bucks-delete-song:not([hidden])) button {
		flex-direction: column;
		justify-content: center;
		gap: 0.4rem;
		padding: 0.5rem 0.25rem;
		font-size: 0.875rem;
		text-align: center;
	}
}
.beat-buck-print-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.beat-buck-print-button {
	flex: 0 0 auto;
}
.beat-buck-entry-fields input {
	font-family: Consolas, "Courier New", monospace;
	text-transform: uppercase;
}
.beat-bucks-page #beat-bucks-beatbucks-result {
	margin-top: 0.75rem;
}
.beat-bucks-page #beat-bucks-beatbucks-result input {
	margin-bottom: 0.5rem;
	font-family: Consolas, "Courier New", monospace;
}
.beat-buck-copy-field {
	position: relative;
	margin-bottom: 0.5rem;
}
.beat-buck-identifiers,
.beat-buck-entry-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}
@media (max-width: 480px) {
	.beat-buck-identifiers,
	.beat-buck-entry-fields {
		grid-template-columns: minmax(0, 1fr);
	}
}
.beat-buck-serial {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
	forced-color-adjust: none;
}
.beat-bucks-page #beat-bucks-beatbucks-result input[data-buck="link"] {
	margin-bottom: 0;
	padding-inline-end: 3.5rem;
}
.beat-bucks-page .beat-buck-copy-link {
	position: absolute;
	inset-inline-end: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 3rem;
	height: 2rem;
	min-height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}
.beat-buck-copy-field svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}
.beat-bucks-page .beat-buck-copy-link:hover {
	color: var(--link);
}
.beat-bucks-page .beat-buck-copy-link:active {
	color: var(--text);
}
.beat-buck-mint-actions,
.beat-buck-image-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.beat-buck-mint-actions label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.beat-bucks-page #beat-bucks-beatbucks-count {
	width: 5rem;
	margin: 0;
}
.beat-buck-print-button svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}
.beat-buck-minted-scroll {
	max-height: 50dvh;
	overflow: auto;
	padding: 0.75rem;
	border: 2px solid;
	border-color: var(--shadow) var(--highlight) var(--highlight) var(--shadow);
}
.beat-buck-minted-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.beat-buck-minted + .beat-buck-minted {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}
.beat-buck-minted h3 {
	margin: 0 0 0.5rem;
}
.beat-buck-minted-image {
	display: block;
	width: min(100%, 48rem);
	height: auto;
	margin-bottom: 0.5rem;
}
.beat-buck-minted [hidden] {
	display: none;
}
.beat-buck-image-actions {
	margin-bottom: 0.75rem;
}
.beat-buck-manage-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 1.5rem;
}
.beat-buck-outstanding-scroll {
	max-height: min(22rem, 50dvh);
	overflow: auto;
	border: 1px solid var(--border);
}
.beat-buck-outstanding-scroll ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.beat-buck-managed {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem;
	border-bottom: 1px dotted var(--border);
}
.beat-buck-managed > div {
	min-width: 0;
}
.beat-buck-managed span {
	display: block;
	overflow-wrap: anywhere;
}
.beat-buck-managed-note {
	white-space: pre-wrap;
	font-weight: bold;
}
.beat-buck-trash {
	flex: 0 0 auto;
}
.beat-buck-trash svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}
.beat-buck-print {
	display: none;
}
@page {
	margin: 0.5in;
}
@media print {
	body:has(> .beat-buck-print:not(:empty)) {
		padding: 0;
		margin: 0;
		background: white;
	}
	body:has(> .beat-buck-print:not(:empty)) > :not(.beat-buck-print) {
		display: none;
	}
	body > .beat-buck-print:not(:empty) {
		display: block;
	}
	.beat-buck-print > div {
		display: block;
		position: relative;
		overflow: clip;
		/* Allow subpixel page positioning without clipping the banknote's outermost ink. */
		overflow-clip-margin: 1px;
		width: 6.14in;
		height: 2.61in;
		margin: 0 auto 0.15in;
		break-inside: avoid;
		page-break-inside: avoid;
	}
	.beat-buck-print img {
		/* Scale intrinsic integer pixels uniformly to 2.61in high without paint-size rounding. */
		position: absolute;
		inset: 0 auto auto 50%;
		display: block;
		width: 1486px;
		height: 683px;
		max-width: none;
		margin: 0;
		/* 250.56 / 683, rounded down to avoid PDF float overshoot at page-fragment boundaries. */
		transform: scale(0.3668521) translateX(-50%);
		transform-origin: top left;
		print-color-adjust: exact;
		forced-color-adjust: none;
	}
}
.beat-buck-experience {
	text-align: center;
	margin-bottom: 1.5rem;
}
.beat-buck-intro {
	max-width: 42rem;
	margin: 0 auto 1rem;
	text-align: center;
}
.beat-buck-landing-intro {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	text-align: left;
}
.beat-buck-landing-intro[hidden] {
	display: none;
}
.beat-buck-landing-art {
	width: clamp(6rem, 30%, 15rem);
	flex: 0 0 auto;
}
.beat-buck-landing-art img {
	display: block;
	width: 100%;
	height: auto;
}
.beat-buck-landing-intro p {
	min-width: 0;
	margin: 0;
}
.beat-buck-bill {
	--bill-ink: #1c3025;
	--bill-paper: #e5e6ca;
	position: relative;
	width: min(100%, 48rem);
	aspect-ratio: 1484 / 688;
	margin-inline: auto;
	container-type: inline-size;
	color-scheme: light;
}
.beat-buck-face {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.beat-buck-bill [hidden] {
	display: none;
}
.beat-buck-face {
	overflow: hidden;
}
.beat-buck-bill .beat-buck-art {
	position: absolute;
	width: 100%;
	max-width: none;
	height: 100%;
	left: 0;
	top: 0;
	pointer-events: none;
	user-select: none;
}
#beat-buck-back .beat-buck-art {
	/* Reverse crop: x=26, y=160, width=1484, height=688 in its 1536x1024 source. */
	width: 103.504%;
	height: 148.837%;
	left: -1.752%;
	top: -23.256%;
}
.beat-buck-qr {
	/* Front artwork: center (333, 351), diameter 176, leaving the complete spiky rim exposed. */
	position: absolute;
	left: 16.487%;
	top: 38.507%;
	width: 11.844%;
	height: 25.769%;
	pointer-events: none;
	user-select: none;
	forced-color-adjust: none;
}
.beat-buck-bill.beat-buck-flipping {
	animation: beat-buck-flip 600ms ease-in-out;
}
@keyframes beat-buck-flip {
	50% {
		transform: scaleX(0);
	}
}
.beat-buck-experience #beat-buck-flip {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}
.beat-buck-experience #beat-buck-flip:disabled {
	cursor: wait;
}
.beat-buck-back {
	color: var(--bill-ink);
	font-family: Georgia, "Times New Roman", serif;
}
.beat-buck-back form,
.beat-buck-track,
.beat-buck-progress {
	position: absolute;
	left: 36%;
	top: 30%;
	width: 28%;
	height: 46%;
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1cqw;
}
.beat-bucks-page .beat-buck-back fieldset {
	display: grid;
	gap: 1cqw;
	justify-items: stretch;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.beat-buck-back form {
	left: 34%;
	width: 32%;
	top: 24%;
	height: 54%;
}
.beat-buck-back legend {
	font-weight: bold;
	font-size: clamp(12px, 2.7cqw, 21px);
	line-height: 1.1;
	margin-bottom: 1cqw;
	padding: 0;
}
.beat-bucks-page .beat-buck-back select,
.beat-bucks-page #beat-buck-redeem {
	min-width: 0;
	width: 100%;
	min-height: 24px;
	margin: 0;
	padding: 0.3cqw;
	color: var(--bill-ink);
	background: transparent;
	border: 1px solid currentColor;
	box-shadow: none;
	font:
		bold clamp(12px, 2.3cqw, 18px) / 1.1 Georgia,
		"Times New Roman",
		serif;
}
.beat-buck-back option {
	background: var(--bill-paper);
}
.beat-buck-back #beat-buck-prepared-genre {
	min-width: 0;
	max-height: 10cqw;
	margin: 0;
	font-size: clamp(12px, 2.3cqw, 18px);
	line-height: 1.1;
	overflow: auto;
	overflow-wrap: anywhere;
}
.beat-buck-progress {
	align-items: center;
}
.beat-buck-spinner {
	width: 60%;
	max-height: 90%;
	fill: none;
	stroke: var(--bill-ink);
	stroke-width: 8;
	stroke-linecap: round;
	stroke-dasharray: 75 25;
	animation: beat-buck-spin 1s linear infinite;
}
@keyframes beat-buck-spin {
	to {
		transform: rotate(360deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	.beat-buck-spinner {
		animation: none;
	}
}
@media (forced-colors: active) {
	.beat-buck-spinner {
		stroke: CanvasText;
	}
}
.beat-buck-result {
	position: absolute;
	inset: 0;
}
.beat-buck-track {
	align-items: center;
}
.beat-buck-track p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	min-height: 0;
	max-height: calc(100% - 24px - 1cqw);
	width: 100%;
	margin: 0;
	font-size: clamp(12px, 3cqw, 24px);
	line-height: 1.1;
	font-weight: bold;
	overflow-wrap: anywhere;
}
@container (max-width: 380px) {
	.beat-buck-back legend {
		letter-spacing: -0.025em;
		font-weight: normal;
	}
	.beat-buck-track p {
		-webkit-line-clamp: 2;
	}
}
.beat-bucks-page .beat-buck-stamp {
	position: absolute;
	top: 32.5%;
	width: 17.5%;
	height: 38%;
	min-height: 24px;
	padding: 3cqw;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--bill-paper);
	cursor: pointer;
}
.beat-bucks-page .beat-buck-question {
	padding: 0;
	font-size: clamp(30px, 12.5cqw, 100px);
	font-weight: bold;
	line-height: 1;
	pointer-events: none;
	cursor: default;
}
.beat-buck-play {
	left: 11%;
}
.beat-buck-download,
.beat-buck-question-right {
	right: 11%;
}
.beat-bucks-page .beat-buck-download {
	top: 31%;
}
.beat-buck-stamp svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.beat-buck-stamp .beat-buck-pause-icon,
.beat-buck-stamp.is-playing .beat-buck-play-icon {
	display: none;
}
.beat-buck-stamp.is-playing .beat-buck-pause-icon {
	display: block;
}
.beat-bucks-page .beat-buck-stamp:hover:not(:disabled) {
	color: #ffffff;
	background: #e5e6ca20;
}
.beat-bucks-page .beat-buck-stamp:active:not(:disabled) {
	color: #b6c6a1;
	background: #1c302530;
}
.beat-bucks-page .beat-buck-stamp:disabled {
	color: #b8bca5;
	background: transparent;
	cursor: wait;
}
.beat-bucks-page #beat-buck-redeem:hover:not(:disabled) {
	background: #1c302519;
}
.beat-bucks-page #beat-buck-redeem:active:not(:disabled) {
	background: #1c302533;
}
.beat-buck-bill :focus-visible {
	outline: 2px dashed currentColor;
	outline-offset: 2px;
}
.beat-bucks-page #beat-buck-seek {
	appearance: none;
	flex: 0 0 24px;
	width: 100%;
	height: 24px;
	min-height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	color: var(--bill-ink);
	background: transparent;
	cursor: pointer;
}
#beat-buck-seek::-webkit-slider-runnable-track {
	height: max(3px, 0.5cqw);
	background: var(--bill-ink);
}
#beat-buck-seek::-moz-range-track {
	height: max(3px, 0.5cqw);
	background: var(--bill-ink);
}
#beat-buck-seek::-webkit-slider-thumb {
	appearance: none;
	width: max(10px, 1.8cqw);
	height: max(14px, 2.5cqw);
	margin-top: min(-5.5px, -1cqw);
	border: 2px solid var(--bill-ink);
	background: var(--bill-paper);
}
#beat-buck-seek::-moz-range-thumb {
	width: max(10px, 1.8cqw);
	height: max(14px, 2.5cqw);
	border: 2px solid var(--bill-ink);
	border-radius: 0;
	background: var(--bill-paper);
}
#beat-buck-seek:hover::-webkit-slider-thumb,
#beat-buck-seek:active::-webkit-slider-thumb {
	background: var(--bill-ink);
}
#beat-buck-seek:hover::-moz-range-thumb,
#beat-buck-seek:active::-moz-range-thumb {
	background: var(--bill-ink);
}
.beat-bucks-page #beat-buck-seek:disabled {
	opacity: 0.5;
	cursor: wait;
}
.beat-buck-instruction {
	margin-top: 1.5rem;
	font-size: 1.2rem;
	font-weight: bold;
	color: #b00000;
	text-shadow:
		-1px -1px 0 #242424,
		1px -1px 0 #242424,
		-1px 1px 0 #242424,
		1px 1px 0 #242424;
	animation: beat-buck-attention 2s step-end infinite;
}
.beat-buck-instruction[hidden] {
	display: block;
	visibility: hidden;
	animation: none;
}
@keyframes beat-buck-attention {
	50% {
		color: #ffffff;
	}
}
.beat-bucks-page #radio-generator-fields {
	min-width: 0;
	padding: 0.75rem 0;
}
.generator-command {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0.75rem 1rem;
}
.generator-batch-count {
	flex: 0 0 4.5rem;
}
.generator-batch-help {
	margin: 0 0.75rem 1rem;
}
.radio-batch-dialog dl {
	display: grid;
	grid-template-columns: fit-content(45%) minmax(0, 1fr);
	gap: 0.6rem 1rem;
}
.radio-batch-dialog dt {
	font-weight: bold;
}
.radio-batch-dialog dd {
	margin: 0;
	white-space: pre-wrap;
}
.radio-batch-dialog {
	overflow-wrap: anywhere;
}
.radio-batch-dialog summary {
	cursor: pointer;
	text-decoration: underline;
}
.generator-command > #radio-super-dice {
	min-width: 0;
}
.radio-page.beat-bucks-page #radio-super-dice {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: auto;
	max-width: 100%;
	min-height: 3.5rem;
	padding: 0.6rem 0.9rem;
}
.beat-bucks-page #radio-super-dice .radio-die-icon {
	flex: 0 0 1.6rem;
	width: 1.6rem;
	height: 1.6rem;
}
.generator-graph {
	position: relative;
	display: grid;
	gap: 4rem;
	padding: 2rem 3.5rem;
	isolation: isolate;
}
.generator-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 4rem;
	min-width: 0;
}
.generator-node {
	position: relative;
	min-width: 0;
}
.generator-node > label {
	display: block;
	font-weight: bold;
}
.generator-vocals {
	margin: 0;
	padding: 0;
	border: 0;
}
.generator-vocals > legend {
	padding: 0;
}
.generator-genre,
.generator-duration-root {
	width: min(100%, 32rem);
	justify-self: center;
}
.generator-genre-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-weight: bold;
	margin-bottom: 0.35rem;
}
.generator-genre-heading > .radio-dice {
	flex: 0 0 3.25rem;
}
.generator-genre-heading > .radio-dice:hover:not(:disabled) {
	color: var(--link);
}
.generator-genre #radio-family-set,
.generator-genre #radio-family-set .radio-family-selection {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}
.generator-genre-advanced {
	margin-top: 0.5rem;
}
.generator-genre-advanced summary {
	min-height: 1.5rem;
	cursor: pointer;
	color: var(--link);
	text-decoration: underline;
}
.beat-bucks-page #radio-lyrics-options,
.generator-independent {
	min-width: 0;
	margin: 0;
	padding: 1rem 0;
	border-inline: 0;
}
.beat-bucks-page #radio-vocal-fields {
	display: grid;
	gap: 4rem;
	margin: 0;
}
.beat-bucks-page #radio-vocal-fields[hidden] {
	display: none;
}
.generator-independent {
	display: grid;
	gap: 1rem;
}
.beat-bucks-page #radio-lyrics-options {
	display: grid;
	gap: 4rem;
}
.generator-actions {
	margin-inline: 0.75rem;
}
.beat-bucks-page textarea {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	resize: vertical;
}
.generator-paths {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
	z-index: -1;
}
.generator-path {
	fill: none;
	stroke: var(--graph-wire);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}
.generator-path-context {
	stroke-dasharray: 5 5;
}
.generator-active-route,
.generator-pulse,
.generator-pulse-head {
	fill: none;
	stroke: var(--graph-energy);
	stroke-linecap: square;
	vector-effect: non-scaling-stroke;
}
.generator-active-route {
	stroke-width: 3;
}
.generator-pulse {
	stroke-width: 9;
	stroke-dasharray: 18 140;
	stroke-dashoffset: 18;
}
.generator-pulse-head {
	stroke: var(--graph-head);
	stroke-width: 4;
	stroke-dasharray: 4 140;
	stroke-dashoffset: 4;
}
.generator-paths[data-inspecting] .generator-path {
	opacity: 0.25;
}
.generator-paths[data-inspecting] .generator-path[data-related] {
	stroke: var(--graph-energy);
	stroke-width: 3;
	opacity: 1;
}
.generator-paths[data-flow-active] .generator-path {
	opacity: 0.2;
}
.generator-node[data-flow-target] > label,
.generator-node[data-flow-target] > legend {
	text-decoration: underline double;
	text-underline-offset: 0.2em;
}
.generator-node[data-flow-source] {
	outline: 2px dashed var(--graph-energy);
	outline-offset: 5px;
}
.generator-node[data-flow-target] {
	outline: 3px solid var(--graph-energy);
	outline-offset: 5px;
	background: var(--face-soft);
}
.beat-bucks-page button:disabled {
	color: var(--disabled-text);
	border-color: var(--border);
	box-shadow: none;
	background-image: none;
}
@media (max-width: 640px) {
	.generator-pair {
		grid-template-columns: minmax(0, 1fr);
	}
	.generator-graph {
		padding-inline: 1.25rem;
	}
	.generator-command {
		align-items: start;
	}
}
@media (prefers-reduced-motion: reduce) {
	.generator-pulse,
	.generator-pulse-head {
		display: none;
	}
}
@media (forced-colors: active) {
	.beat-buck-instruction {
		animation: none;
		color: CanvasText;
		text-shadow: none;
	}
	.beat-buck-back {
		color: CanvasText;
		background: Canvas;
		border-color: CanvasText;
	}
	.beat-buck-track,
	.beat-buck-progress,
	.beat-buck-back form {
		color: CanvasText;
		background: Canvas;
	}
	.beat-bucks-page .beat-buck-stamp {
		color: ButtonText;
		background: ButtonFace;
		border: 2px solid ButtonText;
	}
	.beat-bucks-page .beat-buck-stamp:disabled {
		color: GrayText;
		border-color: GrayText;
	}
	.beat-buck-bill {
		--bill-ink: CanvasText;
		--bill-paper: Canvas;
	}
	.beat-bucks-page {
		--graph-wire: CanvasText;
		--graph-energy: Highlight;
		--graph-head: HighlightText;
	}
}
