.nio-weather-widget {
	background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
	border: 1px solid #dfe6ee;
	border-top: 3px solid #4ba3e3;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(8, 28, 54, .07);
	box-sizing: border-box;
	color: #0b1730;
	display: grid;
	gap: 12px;
	margin: 0 0 18px;
	min-height: 220px;
	padding: 13px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
	width: 100%;
}

.nio-weather-widget:hover,
.nio-weather-widget:focus-within {
	border-color: #c8d6e5;
	border-top-color: #4ba3e3;
	box-shadow: 0 18px 38px rgba(8, 28, 54, .13);
	transform: translateY(-2px);
}

.nio-weather-widget *,
.nio-weather-widget *::before,
.nio-weather-widget *::after {
	box-sizing: border-box;
}

.nio-weather-widget__header {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	min-height: 24px;
}

.nio-weather-widget__eyebrow {
	color: #0b3b82;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.nio-weather-widget__town {
	color: #536176;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.nio-weather-widget__body,
.nio-weather-widget__fallback {
	align-items: center;
	display: flex;
	gap: 13px;
	min-height: 74px;
}

.nio-weather-widget__icon {
	background: #eef5ff;
	border-radius: 999px;
	flex: 0 0 auto;
	height: 54px;
	position: relative;
	width: 54px;
}

.nio-weather-widget__icon::before,
.nio-weather-widget__icon::after {
	content: "";
	position: absolute;
}

.nio-weather-widget__icon--sun::before {
	background: #f7b733;
	border-radius: 999px;
	height: 26px;
	left: 14px;
	top: 14px;
	width: 26px;
}

.nio-weather-widget__icon--cloud::before,
.nio-weather-widget__icon--cloud-sun::after,
.nio-weather-widget__icon--rain::before,
.nio-weather-widget__icon--snow::before,
.nio-weather-widget__icon--fog::before,
.nio-weather-widget__icon--storm::before {
	background: #7d95b3;
	border-radius: 999px;
	box-shadow: 12px -7px 0 2px #7d95b3, 25px 0 0 -1px #7d95b3;
	height: 19px;
	left: 9px;
	top: 24px;
	width: 25px;
}

.nio-weather-widget__icon--cloud-sun::before {
	background: #f7b733;
	border-radius: 999px;
	height: 22px;
	left: 11px;
	top: 11px;
	width: 22px;
}

.nio-weather-widget__icon--rain::after {
	background: #4ba3e3;
	box-shadow: 9px 0 0 #4ba3e3, 18px 0 0 #4ba3e3;
	height: 9px;
	left: 17px;
	top: 39px;
	transform: skew(-18deg);
	width: 3px;
}

.nio-weather-widget__icon--snow::after {
	background: #4ba3e3;
	border-radius: 999px;
	box-shadow: 10px 0 0 #4ba3e3, 20px 0 0 #4ba3e3;
	height: 5px;
	left: 14px;
	top: 41px;
	width: 5px;
}

.nio-weather-widget__icon--fog::after {
	background: #9aabc0;
	box-shadow: 0 7px 0 #9aabc0;
	height: 3px;
	left: 13px;
	top: 39px;
	width: 28px;
}

.nio-weather-widget__icon--storm::after {
	border-left: 6px solid transparent;
	border-right: 2px solid transparent;
	border-top: 15px solid #f7b733;
	height: 0;
	left: 24px;
	top: 36px;
	width: 0;
}

.nio-weather-widget__main {
	min-width: 0;
}

.nio-weather-widget__temp {
	color: #0b1730;
	display: block;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.nio-weather-widget__temp span {
	font-size: 16px;
	margin-left: 2px;
}

.nio-weather-widget__condition {
	color: #536176;
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	margin-top: 3px;
}

.nio-weather-widget__meta {
	border-top: 1px solid #edf1f6;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-top: 11px;
}

.nio-weather-widget__meta span {
	color: #536176;
	display: grid;
	font-size: 11px;
	font-weight: 800;
	gap: 3px;
	line-height: 1.2;
	text-transform: uppercase;
}

.nio-weather-widget__meta strong {
	color: #0b1730;
	font-size: 13px;
	font-weight: 800;
	text-transform: none;
}

.nio-weather-widget__fallback strong {
	color: #0b1730;
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.15;
}

.nio-weather-widget__fallback span {
	color: #536176;
	display: block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 4px;
}

@media (max-width: 520px) {
	.nio-weather-widget {
		min-height: 0;
		padding: 12px;
	}

	.nio-weather-widget__icon {
		height: 48px;
		width: 48px;
	}

	.nio-weather-widget__temp {
		font-size: 30px;
	}
}
