.hksm-banner,
.hksm-dialog {
	box-sizing: border-box;
	width: min(420px, calc(100vw - 32px));
	padding: 20px;
	border: 1px solid #b64c00;
	border-radius: 12px;
	background: #063a34;
	color: #fff8e8;
	font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	box-shadow: 0 8px 28px rgb(0 0 0 / 24%);
}

.hksm-banner {
	position: fixed;
	z-index: 99998;
	left: 16px;
	bottom: 16px;
}

.hksm-dialog {
	margin: 0;
	position: fixed;
	z-index: 99999;
	left: 50%;
	top: 50%;
	max-height: calc(100dvh - 32px);
	overflow: auto;
	transform: translate(-50%, -50%);
}

.hksm-dialog::backdrop {
	background: rgb(0 0 0 / 62%);
}

.hksm-banner h2,
.hksm-dialog h2 {
	margin: 0 0 8px;
	color: #fff8e8;
	font-size: 1.15rem;
}

.hksm-banner p,
.hksm-dialog p {
	margin: 0 0 16px;
}

.hksm-banner a,
.hksm-dialog a {
	color: #ffd2a5;
	text-decoration: underline;
}

.hksm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.hksm-actions button,
.hksm-settings {
	min-height: 44px;
	padding: 9px 14px;
	border: 2px solid #fff8e8;
	border-radius: 6px;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

.hksm-actions .hksm-accept,
.hksm-actions .hksm-reject {
	border-color: #b64c00;
	background: #b64c00;
	color: #fff;
}

.hksm-actions .hksm-close,
.hksm-settings {
	background: transparent;
	color: #fff8e8;
}

.hksm-actions button:focus-visible,
.hksm-settings:focus-visible,
.hksm-banner a:focus-visible {
	outline: 3px solid #ffd2a5;
	outline-offset: 3px;
}

.hksm-settings-wrap {
	margin: 12px 0;
	text-align: center;
}

@media (max-width: 480px) {
	.hksm-banner {
		left: 8px;
		bottom: 8px;
		width: calc(100vw - 16px);
		padding: 16px;
	}
	.hksm-actions button {
		flex: 1 1 135px;
	}
}
