.cmh-scl-copy-wrap {
	position: relative;
}

.cmh-scl-copy-wrap-overlay {
	overflow: hidden;
}

.cmh-scl-copy-wrap-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(8, 15, 26, .12) 0%, rgba(8, 15, 26, .52) 100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}

.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-position-inline-before,
.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-position-inline-after {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-top-left:not(.cmh-scl-copy-wrap-overlay),
.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-top-right:not(.cmh-scl-copy-wrap-overlay),
.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-bottom-left:not(.cmh-scl-copy-wrap-overlay),
.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-bottom-right:not(.cmh-scl-copy-wrap-overlay) {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
}

.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-top-left:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-copy-button,
.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-bottom-left:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-copy-button {
	align-self: flex-start;
}

.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-top-right:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-copy-button,
.cmh-scl-copy-wrap.cmh-scl-placement-outside.cmh-scl-copy-wrap-bottom-right:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-copy-button {
	align-self: flex-end;
}

.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-reserve:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-copy-button,
.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-absolute:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-copy-button {
	position: absolute;
	margin: 0;
}

.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-reserve:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-top-left,
.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-absolute:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-top-left {
	top: 8px;
	left: 8px;
	right: auto;
	bottom: auto;
}

.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-reserve:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-top-right,
.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-absolute:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-top-right {
	top: 8px;
	right: 8px;
	left: auto;
	bottom: auto;
}

.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-reserve:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-bottom-left,
.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-absolute:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-bottom-left {
	bottom: 8px;
	left: 8px;
	top: auto;
	right: auto;
}

.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-reserve:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-bottom-right,
.cmh-scl-copy-wrap.cmh-scl-placement-inside.cmh-scl-inside-layout-absolute:not(.cmh-scl-copy-wrap-overlay) > .cmh-scl-position-bottom-right {
	right: 8px;
	bottom: 8px;
	top: auto;
	left: auto;
}

.cmh-scl-copy-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: 0;
	border-radius: var(--cmh-scl-button-radius, 4px);
	background: var(--cmh-scl-button-bg, #1d2327);
	color: var(--cmh-scl-button-color, #fff);
	font-size: var(--cmh-scl-button-font, 13px);
	line-height: 1.3;
	padding: var(--cmh-scl-button-py, 6px) var(--cmh-scl-button-px, 10px);
	cursor: pointer;
	text-decoration: none;
	z-index: 3;
}

.cmh-scl-copy-button:hover,
.cmh-scl-copy-button:focus {
	background: var(--cmh-scl-button-hover-bg, var(--cmh-scl-button-bg, #1d2327));
	color: var(--cmh-scl-button-hover-color, var(--cmh-scl-button-color, #fff));
}

.cmh-scl-copy-button.is-copied {
	filter: brightness(1.12);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}

.cmh-scl-copy-icon {
	display: inline-flex;
	width: 1em;
	height: 1em;
	align-items: center;
	justify-content: center;
}

.cmh-scl-copy-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.cmh-scl-copy-style-icon {
	min-width: 32px;
	min-height: 32px;
	padding: 6px;
}

.cmh-scl-copy-style-icon .cmh-scl-copy-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.cmh-scl-copy-style-overlay {
	opacity: 0;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	pointer-events: none;
	transform: translate(-50%, -50%) scale(.96);
	transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cmh-scl-copy-wrap-overlay:hover::after,
.cmh-scl-copy-wrap-overlay:focus-within::after,
.cmh-scl-copy-wrap-overlay.is-copied::after {
	opacity: 1;
}

.cmh-scl-copy-wrap-overlay:hover > .cmh-scl-copy-style-overlay,
.cmh-scl-copy-wrap-overlay:focus-within > .cmh-scl-copy-style-overlay,
.cmh-scl-copy-wrap-overlay.is-copied > .cmh-scl-copy-style-overlay,
.cmh-scl-copy-wrap-overlay > .cmh-scl-copy-style-overlay:focus,
.cmh-scl-copy-wrap-overlay > .cmh-scl-copy-style-overlay:focus-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

.cmh-scl-copy-wrap-overlay.is-dismissed-after-copy::after {
	opacity: 0;
}

.cmh-scl-copy-wrap-overlay.is-dismissed-after-copy > .cmh-scl-copy-style-overlay {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(.96);
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-copy-style-overlay,
.cmh-scl-copy-wrap-overlay > .cmh-scl-position-center {
	position: absolute;
	top: 50%;
	right: auto;
	bottom: auto;
	left: 50%;
	margin: 0;
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-copy-style-overlay:hover,
.cmh-scl-copy-wrap-overlay > .cmh-scl-copy-style-overlay:focus {
	filter: none;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-position-top-left,
.cmh-scl-copy-wrap-overlay > .cmh-scl-position-top-right,
.cmh-scl-copy-wrap-overlay > .cmh-scl-position-bottom-left,
.cmh-scl-copy-wrap-overlay > .cmh-scl-position-bottom-right {
	position: absolute;
	margin: 8px;
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-position-top-left {
	top: 0;
	left: 0;
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-position-top-right {
	top: 0;
	right: 0;
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-position-bottom-left {
	bottom: 0;
	left: 0;
}

.cmh-scl-copy-wrap-overlay > .cmh-scl-position-bottom-right {
	right: 0;
	bottom: 0;
}

.cmh-scl-notice {
	position: fixed;
	z-index: 999999;
	max-width: min(420px, calc(100vw - 32px));
	border: var(--cmh-scl-notice-border-width, 0) var(--cmh-scl-notice-border-style, solid) var(--cmh-scl-notice-border, #111827);
	border-radius: var(--cmh-scl-notice-radius, 4px);
	background: var(--cmh-scl-notice-bg, #111827);
	color: var(--cmh-scl-notice-color, #fff);
	box-shadow: var(--cmh-scl-notice-shadow, 0 8px 24px rgba(0, 0, 0, .25));
	font-size: var(--cmh-scl-notice-font, 13px);
	font-weight: var(--cmh-scl-notice-weight, 500);
	line-height: 1.4;
	opacity: var(--cmh-scl-notice-opacity, 1);
	padding: var(--cmh-scl-notice-py, 8px) var(--cmh-scl-notice-px, 12px);
	pointer-events: none;
	backdrop-filter: blur(var(--cmh-scl-notice-blur, 0));
}

.cmh-scl-notice-top {
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
}

.cmh-scl-notice-bottom {
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
}

.cmh-scl-notice-left {
	top: 50%;
	left: 24px;
	transform: translateY(-50%);
}

.cmh-scl-notice-right {
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
}

.cmh-scl-notice-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
	.cmh-scl-notice {
		font-size: var(--cmh-scl-notice-mobile-font, 12px);
	}
}

