.album-lab-player-root {
	container-type: inline-size;
	color: #f7f4ec;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.album-lab-shell {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
		#08090b;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	margin: 24px auto;
	max-width: 1160px;
	min-height: 560px;
	overflow: hidden;
	padding: clamp(20px, 4vw, 42px);
	position: relative;
}

.album-lab-shell::before {
	background: linear-gradient(90deg, #ef233c, #f5c542 38%, #1fb6ff 70%, #f7f4ec);
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.album-lab-access {
	background:
		linear-gradient(90deg, rgba(3, 5, 8, 0.9) 0%, rgba(3, 5, 8, 0.68) 34%, rgba(3, 5, 8, 0.28) 62%, rgba(3, 5, 8, 0.55) 100%),
		linear-gradient(180deg, rgba(3, 5, 8, 0.18) 0%, rgba(3, 5, 8, 0.12) 58%, rgba(3, 5, 8, 0.86) 100%),
		url("../images/studio-hero.png") center / cover no-repeat;
	border-left: 0;
	border-right: 0;
	box-shadow: none;
	display: grid;
	margin: 0;
	max-width: none;
	min-height: clamp(680px, calc(100vh - 124px), 880px);
	padding: clamp(44px, 7vw, 92px) clamp(28px, 8vw, 128px);
	place-items: center start;
	width: 100%;
}

.album-lab-brand {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	left: clamp(20px, 4vw, 42px);
	position: absolute;
	right: clamp(20px, 4vw, 42px);
	top: 22px;
}

.album-lab-brand span {
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.album-lab-brand small {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #c9d5df;
	font-size: 0.76rem;
	padding: 6px 9px;
}

.album-lab-access .album-lab-brand {
	top: 34px;
}

.album-lab-access .album-lab-brand span {
	display: none;
}

.album-lab-access .album-lab-brand small {
	background: rgba(8, 9, 11, 0.42);
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
	font-weight: 800;
	padding: 10px 14px;
}

.album-lab-access .album-lab-brand small::before {
	content: "↪";
	display: inline-block;
	margin-right: 8px;
}

.album-lab-access-panel {
	max-width: 560px;
	width: min(100%, 560px);
}

.album-lab-access .album-lab-access-panel {
	margin-left: clamp(0px, 14vw, 260px);
	margin-top: clamp(20px, 5vw, 72px);
	max-width: 520px;
	width: min(100%, 520px);
}

.album-lab-kicker {
	color: #f5c542;
	font-size: 0.75rem;
	font-weight: 800;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.album-lab-header {
	margin: 48px 0 28px;
	max-width: 760px;
}

.album-lab-header h2,
.album-lab-access-panel h2 {
	color: #fff;
	font-size: clamp(2rem, 5vw, 4.8rem);
	line-height: 0.96;
	margin: 0;
}

.album-lab-access .album-lab-kicker {
	color: #ef233c;
}

.album-lab-access .album-lab-access-panel h2 {
	font-size: clamp(3.2rem, 5.8vw, 5.6rem);
	max-width: 560px;
}

.album-lab-access-copy {
	color: #d7dde5;
	font-size: clamp(1rem, 1.4vw, 1.24rem);
	line-height: 1.65;
	margin: 22px 0 0;
	max-width: 420px;
}

.album-lab-description {
	color: #c9d5df;
	font-size: 1rem;
	line-height: 1.65;
	margin-top: 18px;
	max-width: 720px;
}

.album-lab-access-panel form {
	margin-top: 28px;
}

.album-lab-access-panel label {
	color: #c9d5df;
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.album-lab-code-row {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr auto;
}

.album-lab-access .album-lab-code-row {
	gap: 12px;
	grid-template-columns: minmax(260px, 1fr) auto;
}

.album-lab-code-row input,
.album-lab-tracklist textarea {
	background: #11151b;
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
	font: inherit;
	min-width: 0;
	outline: none;
	padding: 14px 15px;
	width: 100%;
}

.album-lab-access .album-lab-code-row input {
	background: rgba(12, 17, 24, 0.86);
	border-color: rgba(255, 255, 255, 0.22);
	min-height: 56px;
}

.album-lab-access .album-lab-code-row button {
	background: #f7f4ec;
	color: #08090b;
	min-height: 56px;
	min-width: 86px;
}

.album-lab-code-row input:focus,
.album-lab-tracklist textarea:focus {
	border-color: #1fb6ff;
	box-shadow: 0 0 0 3px rgba(31, 182, 255, 0.18);
}

.album-lab-code-row button,
.album-lab-transport button,
.album-lab-rating button {
	align-items: center;
	background: #f7f4ec;
	border: 0;
	color: #08090b;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 800;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
}

.album-lab-code-row button:disabled,
.album-lab-transport button:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}

.album-lab-console {
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(280px, 0.84fr) minmax(320px, 1.16fr);
}

.album-lab-now {
	background: #11151b;
	border: 1px solid rgba(255, 255, 255, 0.12);
	min-height: 360px;
	padding: clamp(18px, 3vw, 28px);
}

.album-lab-now h3 {
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.8rem);
	line-height: 1;
	margin: 0 0 12px;
}

.album-lab-now p:not(.album-lab-kicker) {
	color: #c9d5df;
	margin: 0;
}

.album-lab-transport {
	display: flex;
	gap: 10px;
	margin: 34px 0 22px;
}

.album-lab-transport button {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	min-width: 52px;
}

.album-lab-transport .album-lab-play {
	background: #ef233c;
	color: #fff;
	min-width: 110px;
}

.album-lab-progress {
	align-items: center;
	color: #c9d5df;
	display: grid;
	font-size: 0.82rem;
	gap: 10px;
	grid-template-columns: 42px 1fr 42px;
}

.album-lab-progress input {
	accent-color: #ef233c;
	width: 100%;
}

.album-lab-tracklist {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	max-height: 620px;
	overflow: auto;
	padding: 0;
}

.album-lab-tracklist li {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: grid;
	gap: 10px;
	padding: 14px;
}

.album-lab-tracklist li.is-active {
	border-color: #f5c542;
}

.album-lab-tracklist li > button {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 4px;
	padding: 0;
	text-align: left;
}

.album-lab-tracklist strong {
	color: #fff;
	font-size: 1rem;
}

.album-lab-tracklist span {
	color: #c9d5df;
	font-size: 0.86rem;
}

.album-lab-rating {
	display: flex;
	gap: 4px;
}

.album-lab-rating button {
	background: rgba(255, 255, 255, 0.08);
	color: #78838e;
	min-height: 34px;
	min-width: 34px;
	padding: 0;
}

.album-lab-rating button.is-selected {
	background: #f5c542;
	color: #08090b;
}

.album-lab-error {
	background: rgba(239, 35, 60, 0.14);
	border: 1px solid rgba(239, 35, 60, 0.38);
	color: #ffd9de;
	margin: 16px 0;
	padding: 12px 14px;
}

.album-lab-access .album-lab-error {
	background: rgba(126, 9, 25, 0.62);
	border-color: rgba(239, 35, 60, 0.7);
	color: #fff;
	margin-top: 18px;
}

.album-lab-service {
	background: #020304;
	color: #f7f4ec;
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	min-height: calc(100vh - 124px);
	position: relative;
}

.album-lab-service::before {
	background:
		linear-gradient(180deg, rgba(2, 3, 4, 0.18), #020304 58%),
		linear-gradient(90deg, rgba(2, 3, 4, 0.14), rgba(2, 3, 4, 0.88) 72%),
		url("../images/studio-hero.png") center top / cover no-repeat;
	content: "";
	inset: 0;
	opacity: 0.86;
	pointer-events: none;
	position: absolute;
}

.album-lab-service-sidebar,
.album-lab-service-main,
.album-lab-service-player {
	position: relative;
	z-index: 1;
}

.album-lab-service-sidebar {
	background: rgba(0, 0, 0, 0.82);
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 100%;
	padding: 26px 22px;
}

.album-lab-service-mark {
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 900;
	height: 34px;
	justify-content: center;
	margin-bottom: 42px;
	width: 34px;
}

.album-lab-service-mark img,
.album-lab-service-thumb img {
	display: block;
	height: 82%;
	object-fit: contain;
	width: 82%;
}

.album-lab-service-sidebar nav {
	display: grid;
	gap: 18px;
}

.album-lab-service-sidebar span {
	color: rgba(247, 244, 236, 0.58);
	font-size: 0.92rem;
	font-weight: 800;
}

.album-lab-service-sidebar .is-active {
	color: #fff;
}

.album-lab-service-main {
	min-width: 0;
	padding: clamp(28px, 4vw, 54px) clamp(24px, 4vw, 58px) 130px;
}

.album-lab-service-hero {
	align-items: end;
	display: grid;
	gap: clamp(24px, 3vw, 40px);
	grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
	min-height: 340px;
	padding-top: 40px;
}

.album-lab-service-cover {
	align-items: center;
	aspect-ratio: 1;
	background:
		linear-gradient(135deg, rgba(239, 35, 60, 0.42), rgba(31, 182, 255, 0.36)),
		rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
	display: flex;
	justify-content: center;
	max-width: 240px;
	overflow: hidden;
}

.album-lab-service-cover span {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.album-lab-service-cover img {
	display: block;
	filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
	height: auto;
	max-width: 68%;
	object-fit: contain;
	width: 150px;
}

.album-lab-service-meta h2 {
	color: #fff;
	font-size: clamp(2.8rem, 5vw, 5.6rem);
	line-height: 0.95;
	margin: 0;
	max-width: 780px;
}

.album-lab-service-artist {
	color: rgba(247, 244, 236, 0.72);
	font-size: 1.06rem;
	font-weight: 800;
	margin: 14px 0 0;
}

.album-lab-service-stats {
	color: rgba(247, 244, 236, 0.62);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.78rem;
	font-weight: 900;
	gap: 12px;
	margin-top: 24px;
	text-transform: uppercase;
}

.album-lab-service-stats span:not(:last-child)::after {
	color: rgba(255, 255, 255, 0.24);
	content: "•";
	margin-left: 12px;
}

.album-lab-service-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.album-lab-service-actions button {
	background: rgba(255, 255, 255, 0.1);
	border: 0;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 900;
	min-height: 52px;
	min-width: 132px;
	padding: 0 22px;
}

.album-lab-service-actions .album-lab-service-primary {
	background: #fff;
	color: #020304;
}

.album-lab-track-table {
	display: grid;
	gap: 4px;
	margin-top: 44px;
}

.album-lab-track-row {
	align-items: center;
	border-radius: 6px;
	color: rgba(247, 244, 236, 0.88);
	display: grid;
	gap: 16px;
	grid-template-columns: 42px minmax(260px, 1.5fr) minmax(160px, 0.9fr) 72px minmax(170px, auto);
	min-height: 58px;
	padding: 0 16px;
}

.album-lab-track-row.is-active,
.album-lab-track-row:hover {
	background: rgba(255, 255, 255, 0.08);
}

.album-lab-track-head {
	color: rgba(247, 244, 236, 0.44);
	font-size: 0.76rem;
	font-weight: 900;
	min-height: 38px;
	text-transform: uppercase;
}

.album-lab-row-index,
.album-lab-row-title {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-align: left;
}

.album-lab-row-index {
	color: rgba(247, 244, 236, 0.62);
	font-weight: 900;
	text-align: center;
}

.album-lab-row-title {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.album-lab-row-title strong {
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.album-lab-row-title small,
.album-lab-row-artist,
.album-lab-row-time {
	color: rgba(247, 244, 236, 0.58);
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.album-lab-track-rating {
	display: flex;
	gap: 3px;
	justify-content: flex-end;
}

.album-lab-track-rating button {
	background: transparent;
	border: 0;
	color: rgba(247, 244, 236, 0.28);
	cursor: pointer;
	font-size: 1.05rem;
	height: 34px;
	line-height: 1;
	padding: 0 2px;
	width: 24px;
}

.album-lab-track-rating button.is-selected,
.album-lab-track-rating button:hover {
	color: #f5c542;
}

.album-lab-row-note {
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	font: inherit;
	grid-column: 2 / -1;
	margin: -4px 0 12px;
	min-height: 36px;
	outline: none;
	padding: 8px 10px;
	resize: vertical;
	width: 100%;
}

.album-lab-service-player {
	align-items: center;
	backdrop-filter: blur(18px);
	background: rgba(18, 18, 20, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px 16px 0 0;
	bottom: 0;
	box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.44);
	display: grid;
	gap: 18px;
	grid-column: 1 / -1;
	grid-template-columns: minmax(220px, 0.78fr) minmax(320px, 1.52fr) minmax(210px, 0.56fr);
	left: 0;
	min-height: 96px;
	padding: 14px 22px;
	position: sticky;
	right: 0;
}

.album-lab-service-now {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.album-lab-service-thumb {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	display: flex;
	font-size: 0.7rem;
	font-weight: 900;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.album-lab-service-now strong,
.album-lab-service-now span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.album-lab-service-now span {
	color: rgba(247, 244, 236, 0.58);
	font-size: 0.82rem;
	margin-top: 4px;
}

.album-lab-service-controls {
	display: grid;
	gap: 8px;
}

.album-lab-service-player .album-lab-transport {
	justify-content: center;
	margin: 0;
}

.album-lab-service-player .album-lab-transport button {
	border-radius: 999px;
	min-width: 44px;
}

.album-lab-service-player .album-lab-transport .album-lab-play {
	background: #fff;
	color: #020304;
	min-width: 56px;
}

.album-lab-service-badge {
	align-items: center;
	border: 1px solid rgba(245, 197, 66, 0.5);
	border-radius: 999px;
	color: #f5c542;
	display: grid;
	font-size: 0.68rem;
	font-weight: 900;
	gap: 0 9px;
	grid-template-columns: 24px minmax(0, 1fr);
	justify-self: end;
	line-height: 1.1;
	min-width: 210px;
	padding: 8px 13px 8px 10px;
	white-space: nowrap;
}

.album-lab-service-badge img {
	display: block;
	grid-row: 1 / span 2;
	height: 24px;
	object-fit: contain;
	width: 24px;
}

.album-lab-service-badge span,
.album-lab-service-badge strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
}

.album-lab-service-badge span {
	color: rgba(247, 244, 236, 0.72);
	font-size: 0.62rem;
	text-transform: uppercase;
}

.album-lab-service-badge strong {
	color: #f5c542;
	font-size: 0.74rem;
}

@container (max-width: 780px) {
	.album-lab-shell {
		margin: 0;
		min-height: 100vh;
		padding: 24px 16px 22px;
	}

	.album-lab-access {
		background:
			linear-gradient(90deg, rgba(3, 5, 8, 0.88) 0%, rgba(3, 5, 8, 0.78) 58%, rgba(3, 5, 8, 0.72) 100%),
			linear-gradient(180deg, rgba(3, 5, 8, 0.12) 0%, rgba(3, 5, 8, 0.82) 100%),
			url("../images/studio-hero.png") center / cover no-repeat;
		place-items: start;
	}

	.album-lab-access .album-lab-access-panel {
		margin: 56px 0 0;
		max-width: 100%;
	}

	.album-lab-access .album-lab-access-panel h2 {
		font-size: clamp(2.6rem, 13vw, 4rem);
	}

	.album-lab-access .album-lab-code-row {
		grid-template-columns: 1fr;
	}

	.album-lab-brand {
		display: none;
	}

	.album-lab-console,
	.album-lab-code-row {
		grid-template-columns: 1fr;
	}

	.album-lab-header {
		margin-top: 18px;
	}

	.album-lab-service {
		display: block;
		min-height: 100vh;
	}

	.album-lab-service-sidebar {
		display: none;
	}

	.album-lab-service-main {
		padding: 20px 14px 140px;
	}

	.album-lab-service-hero {
		align-items: start;
		grid-template-columns: 96px minmax(0, 1fr);
		min-height: 260px;
		padding-top: 28px;
	}

	.album-lab-service-meta h2 {
		font-size: clamp(2rem, 10vw, 3.6rem);
	}

	.album-lab-service-cover {
		max-width: 96px;
	}

	.album-lab-service-actions button {
		min-width: 112px;
	}

	.album-lab-track-row {
		gap: 10px;
		grid-template-columns: 30px minmax(0, 1fr) 96px;
		padding: 10px 8px;
	}

	.album-lab-track-head {
		display: none;
	}

	.album-lab-row-artist,
	.album-lab-row-time {
		display: none;
	}

	.album-lab-track-rating {
		justify-content: flex-end;
	}

	.album-lab-track-rating button {
		font-size: 0.94rem;
		width: 18px;
	}

	.album-lab-row-note {
		grid-column: 2 / -1;
	}

	.album-lab-service-player {
		border-radius: 12px 12px 0 0;
		grid-template-columns: 1fr;
		padding: 12px;
	}

	.album-lab-service-badge {
		justify-self: start;
		max-width: 100%;
		min-width: min(100%, 210px);
	}
}
