/* Markas Loreng - Cuaca, Kurs & Kripto */
.ml-ck {
	--ml-ck-latar: #ffffff;
	--ml-ck-garis: #dcd8c3;
	--ml-ck-teks: #262b1e;
	--ml-ck-redup: #6b6f60;
	--ml-ck-aksen: #5b6b2c;
	--ml-ck-naik: #1d7a3a;
	--ml-ck-turun: #b3261e;
	color: var(--ml-ck-teks);
}

/* ---------- Mode lengkap ---------- */
.ml-ck-lengkap {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	align-items: start;
}
.widget .ml-ck-lengkap { grid-template-columns: 1fr; gap: 1rem; }
.ml-ck-kartu {
	background: var(--ml-ck-latar);
	border: 1px solid var(--ml-ck-garis);
	border-top: 4px solid var(--ml-ck-aksen);
	border-radius: 8px;
	padding: 1rem 1.15rem .75rem;
	min-width: 0;
}
.ml-ck-kartu h3 {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin: 0 0 .75rem;
	color: var(--ml-ck-teks);
}
.ml-ck-kini { display: flex; align-items: center; gap: .85rem; }
.ml-ck-ikon { font-size: 3rem; line-height: 1; }
.ml-ck-suhu { font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ml-ck-ket { color: var(--ml-ck-redup); font-size: .9rem; margin-top: .25rem; }
.ml-ck-detail {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .5rem;
	margin: 1rem 0 .75rem;
	padding: .65rem 0;
	border-top: 1px solid var(--ml-ck-garis);
	border-bottom: 1px solid var(--ml-ck-garis);
}
.ml-ck-detail div { min-width: 0; }
.ml-ck-detail dt { font-size: .72rem; color: var(--ml-ck-redup); font-weight: 400; margin: 0; }
.ml-ck-detail dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ml-ck-ramalan {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .35rem;
}
.ml-ck-ramalan li {
	margin: 0;
	text-align: center;
	background: #f4f2e6;
	border-radius: 6px;
	padding: .45rem .2rem;
	display: flex;
	flex-direction: column;
	gap: .1rem;
	font-size: .82rem;
	min-width: 0;
}
.ml-ck-hari { font-weight: 700; font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-ck-ikon-kecil { font-size: 1.4rem; line-height: 1.2; }
.ml-ck-rentang { font-variant-numeric: tabular-nums; font-weight: 700; }
.ml-ck-rentang small { color: var(--ml-ck-redup); font-weight: 400; }
.ml-ck-hujan { color: var(--ml-ck-redup); font-size: .72rem; }

.ml-ck-tabel { width: 100%; border-collapse: collapse; margin: 0 0 .5rem; font-size: .9rem; }
.ml-ck-tabel th, .ml-ck-tabel td { padding: .42rem .3rem; border-bottom: 1px solid #ece9da; background: transparent; vertical-align: middle; }
.ml-ck-tabel thead th { font-size: .72rem; color: var(--ml-ck-redup); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.ml-ck-tabel tbody tr:last-child td { border-bottom: 0; }
.ml-ck-tabel .kanan { text-align: right; }
.ml-ck-tabel .angka { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ml-ck-kode {
	display: inline-block;
	min-width: 3.1em;
	padding: .05em .35em;
	border-radius: 3px;
	background: #262e1c;
	color: #efe9cf;
	font-size: .75rem;
	font-weight: 700;
	text-align: center;
	letter-spacing: .03em;
}
.widget .ml-ck-usd, .widget .ml-ck-nama-koin { display: none; }
.ml-ck-ubah { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .85em; }
.ml-ck-ubah.naik { color: var(--ml-ck-naik); }
.ml-ck-ubah.turun { color: var(--ml-ck-turun); }
.ml-ck-catatan { font-size: .72rem; color: var(--ml-ck-redup); margin: .6rem 0 0; line-height: 1.4; }
.ml-ck-catatan a { color: inherit; text-decoration: underline; }
.ml-ck-lama { color: #8a5a00; font-weight: 700; }
.ml-ck-galat { color: var(--ml-ck-turun); font-size: .9rem; margin: 0; }

@media (max-width: 480px) {
	.ml-ck-usd { display: none; }
	.ml-ck-ramalan { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mode ringkas (baris di bawah header) ---------- */
.ml-ck-ringkas {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: .85rem;
	line-height: 1.4;
}
.ml-ck-baris {
	display: flex;
	gap: 1.4rem;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	flex: 1;
	min-width: 0;
}
.ml-ck-baris::-webkit-scrollbar { display: none; }
.ml-ck-item { display: inline-flex; align-items: center; gap: .3rem; }
.ml-ck-item strong { font-variant-numeric: tabular-nums; }
.ml-ck-lanjut { white-space: nowrap; font-weight: 700; flex-shrink: 0; }

/* Wilayah widget Storefront "Below Header" dipakai sebagai pita info. */
.header-widget-region { background: #1b2114; color: #d8d1b0; }
.header-widget-region .widget { margin: 0; padding: .55em 0; font-size: inherit; }
.header-widget-region .ml-ck { --ml-ck-teks: #efe9cf; --ml-ck-redup: #b9b59c; --ml-ck-naik: #7fd08f; --ml-ck-turun: #ff8a80; }
.header-widget-region .ml-ck-lanjut { color: #dcc88a; }
.header-widget-region a { color: #dcc88a; }
@media (max-width: 600px) {
	.ml-ck-ringkas { font-size: .8rem; gap: .6rem; }
	.ml-ck-baris { gap: 1rem; }
}

/* Pemuatan ulang otomatis */
.ml-ck.memuat { opacity: .65; transition: opacity .2s; }
