.choice-modal-mask {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

.choice-modal-mask.is-open {
	opacity: 1;
	pointer-events: auto;
}

.choice-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 28px 24px 22px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
	text-align: center;
	box-sizing: border-box;
}

.choice-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #9ca3af;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.choice-modal__close:hover {
	color: #4b5563;
	background: #f3f4f6;
}

.choice-modal__title {
	margin: 0 28px 12px;
	font-size: 18px;
	font-weight: 800;
	color: #111827;
}

.choice-modal__title.is-empty {
	display: none;
}

.choice-modal__text {
	margin: 0 8px 22px;
	font-size: 14px;
	line-height: 1.55;
	color: #6b7280;
	white-space: pre-line;
}

.choice-modal__text.is-empty {
	display: none;
}

.choice-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.choice-modal__btn {
	height: 44px;
	border: 0;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.choice-modal__btn--cancel {
	background: #f3f4f6;
	color: #111827;
}

.choice-modal__btn--cancel:hover {
	background: #e5e7eb;
}

.choice-modal__btn--confirm {
	background: #67e366;
	color: #111827;
}

.choice-modal__btn--confirm:hover {
	background: #7aee79;
}

.choice-modal__btn:disabled {
	opacity: 0.65;
	cursor: wait;
}

body.dark_mode .choice-modal-mask {
	background: rgba(0, 0, 0, 0.62);
}

body.dark_mode .choice-modal {
	background: #2a2d32;
	border: 1px solid #3a3e44;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

body.dark_mode .choice-modal__title {
	color: #fff;
}

body.dark_mode .choice-modal__text {
	color: #b0b6be;
}

body.dark_mode .choice-modal__close {
	background: #3a3e44;
	color: #c5c9cf;
}

body.dark_mode .choice-modal__close:hover {
	background: #484d55;
	color: #fff;
}

body.dark_mode .choice-modal__btn--cancel {
	background: #3a3e44;
	color: #fff;
}

body.dark_mode .choice-modal__btn--cancel:hover {
	background: #484d55;
}

@media (max-width: 420px) {
	.choice-modal__actions {
		grid-template-columns: 1fr;
	}
}
