/**
 * 本地天气小工具样式
 * 尽量沿用主题的白色卡片、浅灰分隔线和 #F58181 强调色。
 */

.widget_mathilda_weather {
	overflow: hidden;
}

.ma-weather {
	color: #636363;
	font-size: 13px;
	line-height: 1.6;
}

.ma-weather__main {
	display: flex;
	align-items: flex-start;
	gap: 3px;
	margin: 0 0 4px;
}

.ma-weather__temp {
	color: #333;
	font-size: 44px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -1px;
}

.ma-weather__unit {
	color: #999;
	font-size: 15px;
	margin-top: 5px;
}

.ma-weather__text {
	color: #333;
	font-size: 15px;
	margin-bottom: 1px;
}

.ma-weather__city {
	color: #999;
	font-size: 12px;
	margin-bottom: 8px;
}

.ma-weather__meta {
	color: #888;
	font-size: 12px;
	line-height: 1.8;
	min-height: 22px;
}

.ma-weather__locate {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 10px;
	border: 1px solid #eee;
	border-radius: 2px;
	background: #fafafa;
	color: #666;
	font-size: 12px;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.ma-weather__locate:hover {
	border-color: #F58181;
	color: #F58181;
}

.ma-weather__locate:disabled {
	opacity: 0.6;
	cursor: default;
}

.ma-weather__source {
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid #F3FAFD;
	color: #aaa;
	font-size: 11px;
	line-height: 1.5;
}

.ma-weather__source a {
	color: #aaa;
	text-decoration: none;
}

.ma-weather__source a:hover {
	color: #F58181;
}

.ma-weather__error {
	color: #999;
	font-size: 12px;
	line-height: 1.7;
	margin: 0;
}

.ma-weather__error a {
	color: #F58181;
}

@media (max-width: 768px) {
	.ma-weather__temp {
		font-size: 38px;
	}
}
