/* =========================================================
   (04/11/2026) กล่องแจ้งปิดระบบ / ปิดฟังก์ชัน : branch / member / shopping (function/closed_notice.php · .cln-*)
   สีหลัก --twn-primary (ถ้ามี)
   ========================================================= */
.cln-wrap { display: flex; justify-content: center; padding: 40px 16px 60px; }
.cln-card {
	--cln-pri: var(--ui-pri, var(--twn-primary, #2B6A94));
	width: 100%; max-width: 520px;
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 36px 28px 32px;
	border: 1px solid var(--ui-line, #E2E8F0); border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(15, 30, 50, .08);
	text-align: center;
	font-family: inherit;
	animation: clnIn .35s ease-out backwards;
}
@keyframes clnIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cln-ic { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; border-radius: 22px; }
.cln-card.is-system .cln-ic { background: #FFF7ED; color: #EA580C; }
.cln-card.is-feature .cln-ic { background: var(--ui-bg-mute, #F1F5F9); color: var(--ui-muted, #64748B); }
.cln-title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.35; color: var(--ui-text, #1F2A37); }
.cln-msg { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.65; color: var(--ui-text-2, #475569); overflow-wrap: anywhere; }
.cln-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 14px; height: var(--ui-btn-h-lg, 46px); padding: 0 22px;
	border: 1px solid var(--ui-line, #E2E8F0); border-radius: var(--ui-btn-r, 10px);
	background: #fff; color: var(--ui-text-2, #475569) !important;
	font-size: var(--ui-btn-fs-lg, 15px); font-weight: 600; text-decoration: none !important;
	transition: background-color .15s, border-color .15s, color .15s;
}
.cln-btn:hover { border-color: #FCA5A5; background: #FEF2F2; color: var(--ui-danger, #DC2626) !important; }
@media (max-width: 575px) {
	.cln-wrap { padding: 24px 12px 40px; }
	.cln-card { padding: 28px 18px 24px; border-radius: 16px; }
	.cln-title { font-size: 19px; }
	.cln-msg { font-size: 15px; }
	.cln-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cln-card { animation: none; } }
