.pce {
	--pce-black: #161616;
	--pce-black-2: #272727;
	--pce-white: #fff;
	--pce-blue: #2a95d5;
	--pce-blue-dark: #1e80ce;
	--pce-green: #63c1a0;
	--pce-yellow: #fda509;
	--pce-red: #e01a59;
	--pce-border: #66747b;
	border-radius: 8px;
	box-shadow: 0 8px 36px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(24, 24, 24, 0.08);
	overflow: hidden;
	text-align: left !important;
	width: 100%;
}

.pce * {
	box-sizing: border-box;
}

.pce-window {
	background: var(--pce-black);
	border: 1px solid #272727;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
	position: relative;
	text-align: left;
}

.pce--no-footer .pce-window {
	border-radius: 8px;
}

.pce--no-titlebar .pce-code-panel {
	padding: 16px;
}

.pce--no-titlebar .pce-actions {
	right: 18px;
	top: 12px;
}

.pce--no-titlebar .pce-code-block {
	padding-top: 24px;
}

.see-the-difference__code-wrapper .pce-code-block {
	max-height: none;
}

.pce-trial-corner {
	background: linear-gradient(135deg, transparent 0 50%, var(--pce-blue) 50% 100%);
	color: var(--pce-white);
	display: flex;
	flex-direction: column;
	font: 700 9px/1 var(--ff-gotham), Helvetica, Arial, sans-serif;
	height: 68px;
	padding: 8px 3px 0 35px;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	top: 0;
	width: 68px;
	z-index: 3;
}

.pce-trial-corner span {
	display: block;
	transform: rotate(45deg);
}

.pce-titlebar {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	min-height: 56px;
	padding: 16px;
}

.pce-editor-mark {
	display: block;
	flex: 0 0 24px;
	height: 24px;
	width: 24px;
}

.pce-title {
	color: var(--pce-white);
	font: 700 16px/1 var(--ff-gotham), Helvetica, Arial, sans-serif;
	min-width: 0;
	white-space: nowrap;
	margin-left: -3px;
}

.pce-title-badge,
.pce-install-status {
	align-items: center;
	border-radius: 3px;
	display: inline-flex;
	flex: 0 0 auto;
	font: 500 10px/1.4 var(--ff-gotham), Helvetica, Arial, sans-serif;
	letter-spacing: 0;
	min-height: 22px;
	padding: 0 8px;
	text-transform: uppercase;
}

.pce-title-badge {
	background: rgba(253, 165, 9, 0.2);
	color: var(--pce-yellow);
}

.pce-demo-link {
	align-items: center;
	background: transparent;
	border: 2px solid var(--pce-border);
	border-radius: 999px;
	color: #66747b;
	display: inline-flex;
	flex: 0 0 auto;
	font: 700 13px/1 var(--ff-gotham), Helvetica, Arial, sans-serif;
	gap: 5px;
	min-height: 30px;
	padding: 0 14px;
	text-decoration: none;
}

.pce-demo-link:hover,
.pce-demo-link:focus {
	background: #66747b;
	border-color: #66747b;
	color: #fff;
	text-decoration: none;
}

.pce-demo-link-icon {
	border-bottom: 5px solid transparent;
	border-left: 8px solid #63c1a0;
	border-top: 5px solid transparent;
	display: inline-block;
	height: 0;
	width: 0;
}

.pce-language-label,
.pce-language-button {
	color: #d4dde2;
	font: 700 13px/1 var(--ff-gotham), Helvetica, Arial, sans-serif;
}

.pce-language-switcher {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	gap: 8px;
}

.pce-language-button {
	background: transparent;
	border: 0;
	cursor: pointer;
	opacity: 0.5;
	padding: 0;
}

.pce-language-button-active {
	color: var(--pce-white);
	opacity: 1;
}

.pce-examples-link {
	color: #ebecf0;
	font: 400 14px/20px var(--ff-gotham), Helvetica, Arial, sans-serif;
	margin-left: auto;
	text-decoration: none;
	white-space: nowrap;
}

.pce-examples-link:hover,
.pce-examples-link:focus {
	color: #e01a59;
	text-decoration: none;
}

.pce-examples-link-icon {
	font-size: 14px;
}

.pce-code-panel {
	padding: 16px;
	position: relative;
}

.pce-code-block {
	color: var(--pce-white);
	font: 400 14px/1.65 var(--ff-code), Monaco, Consolas, monospace;
	max-height: 206px;
	overflow: auto;
	scrollbar-color: #66747b #111;
	scrollbar-width: thin;
}

.pce-code-block::-webkit-scrollbar {
	height: 8px;
	width: 8px;
}

.pce-code-block::-webkit-scrollbar-track {
	background: #111;
	border-radius: 999px;
}

.pce-code-block::-webkit-scrollbar-thumb {
	background: #66747b;
	border: 2px solid #111;
	border-radius: 999px;
}

.pce-code-block::-webkit-scrollbar-thumb:hover {
	background: #ebecf0;
}

.pce-code-lines {
	color: var(--pce-white);
	list-style-type: decimal;
	margin: 0;
	padding-left: 28px;
}

.pce-code-line {
	line-height: 20px;
	padding-left: 0;
	min-height: 20px;
}

.pce-code-line:nth-child(even) {
	background: #111;
}

.pce-code-line::marker {
	color: #555;
	font-family: Monaco, Consolas, monospace;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
}

.pce-code-line code {
	color: inherit;
	font: 400 13px/20px var(--ff-code), Monaco, Consolas, monospace;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
	background: inherit;
	padding: 0;
}

.pce-code-line .pln,
.pce-code-line .pun {
	color: var(--pce-white);
}

.pce-code-line .kwd {
	color: #93c763;
}

.pce-code-line .typ {
	color: #678cb1;
}

.pce-code-line .str {
	color: #fda509;
}

.pce-code-line .lit {
	color: #89d3df;
}

.pce-code-line .com {
	color: #94a0a3;
}

.pce-actions {
	display: flex;
	gap: 8px;
	opacity: 1;
	position: absolute;
	right: 18px;
	top: -12px;
	z-index: 2;
}

.pce-action-button {
	align-items: center;
	background: transparent;
	border: none;
	cursor: pointer;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	padding: 0;
	width: 23px;
}

.pce-action-icon,
.pce-copy-icon {
	color: rgba(255, 255, 255, 0.5);
	display: inline-block;
	position: relative;
}

.pce-action-button:hover .pce-action-icon,
.pce-action-button:focus .pce-action-icon {
	color: #fff;
}

.pce-install-row {
	align-items: stretch;
	background: var(--pce-white);
	border-radius: 0 0 8px 8px;
	cursor: pointer;
	display: flex;
	overflow: hidden;
	width: 100%;
	padding: 16px;
	gap: 10px;
	text-align: left;
}

.pce-output-bar {
	align-items: center;
	background: #111;
	border-left: 1px solid #242424;
	border-right: 1px solid #242424;
	color: #fff;
	display: flex;
	font: 400 12px/1.35 var(--ff-gotham), Helvetica, Arial, sans-serif;
	overflow: hidden;
	padding: 12px 16px;
	text-align: left;
	white-space: nowrap;
	width: 100%;
}

.pce-output-badge {
	align-items: center;
	background: rgba(99, 193, 160, 0.2);
	border-radius: 3px;
	color: var(--pce-green);
	display: inline-flex;
	flex: 0 0 auto;
	font: 500 10px/1.4 var(--ff-gotham), Helvetica, Arial, sans-serif;
	padding: 5px;
	text-transform: uppercase;
}

.pce-output-badge-dot {
	background: var(--pce-green);
	border-radius: 50%;
	display: inline-block;
	height: 6px;
	margin-right: 4px;
	width: 6px;
}

.pce-output-file {
	color: #fff;
	margin-right: 4px;
}

.pce-output-detail {
	color: #94a0a3;
	margin-left: 12px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pce-package-badge {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.pce-package-badge-image {
	display: block;
}

.pce-package-command {
	align-items: center;
	color: #181818;
	display: flex;
	flex: 0 1 auto;
	font: 400 12px/18px var(--ff-code), Monaco, Consolas, monospace;
	min-width: 0;
	text-decoration: none;
}

.pce-package-prefix {
	flex: 0 0 auto;
	margin-right: 4px;
}

.pce-install-command {
	color: inherit;
	font: inherit;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.pce-install-status {
	align-self: center;
	background: rgba(224, 26, 89, 0.2);
	color: var(--pce-red);
}

.pce-install-copy-button {
	align-items: center;
	background: var(--pce-blue);
	border: 0;
	color: var(--pce-white);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 58px;
	height: 58px;
	justify-content: center;
	padding: 0;
	width: 58px;
	margin: -16px -16px -16px 0;
	margin-left: auto;
}

.pce-install-copy-button:hover,
.pce-install-copy-button:focus,
.pce-install-copy-button.pce-copied {
	background: var(--pce-blue-dark);
}

.pce-fullscreen-layer {
	align-items: center;
	background: rgba(0, 0, 0, 0.76);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 32px;
	position: fixed;
	z-index: 20000;
}

.pce-fullscreen-layer .pce {
	max-height: calc(100vh - 64px);
	max-width: 1180px;
	overflow: auto;
}

.pce-fullscreen-layer .pce-actions {
	opacity: 1;
}

.pce-fullscreen-layer [data-pce-enter-fullscreen] {
	display: none;
}

.pce [data-pce-exit-fullscreen] {
	display: none;
}

.pce-fullscreen-layer [data-pce-exit-fullscreen] {
	display: inline-flex;
}

.pce-copy-flash {
	background: #181818;
	border-radius: 4px;
	color: var(--pce-white);
	font: 700 12px/1 var(--ff-gotham), Helvetica, Arial, sans-serif;
	opacity: 0;
	padding: 8px 10px;
	pointer-events: none;
	position: absolute;
	right: 16px;
	top: 48px;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 4;
}

.pce-copy-flash-visible {
	opacity: 1;
	transform: translateY(0);
}

@media screen and (max-width: 767px) {
	.pce-titlebar {
		align-items: flex-start;
		flex-wrap: wrap;
		gap: 10px;
		padding: 16px;
	}

	.pce-examples-link {
		margin-left: 0;
		width: 100%;
	}

	.pce-code-panel {
		padding: 14px 16px 18px;
	}

	.pce-install-row {
		flex-wrap: wrap;
		height: auto;
	}

	.pce-package-badge {
		min-height: 48px;
	}

	.pce-package-command {
		flex-basis: calc(100% - 58px);
		min-height: 48px;
		padding-right: 16px;
	}

	.pce-install-status {
		margin: 0 0 14px 16px;
	}

	.pce-install-copy-button {
		margin-left: auto;
	}
}
