/* الطقس في الشريط العلوي.
   الصنف tf-weather يعرّفه القالب أصلًا (أيقونة شمس ثابتة)، وما هنا
   يبدّل الأيقونة بحسب الحالة ويضيف تنسيق الرقم. فلو عُطّل البلجن عاد
   الشريط كما كان بلا بقايا. */
.tf-weather{display:inline-flex;align-items:center;gap:6px}
.tf-weather::before{content:"";width:14px;height:14px;flex:none;background:currentColor;opacity:.85;
	-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain;
	-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.tf-weather-temp{font-weight:700;font-variant-numeric:tabular-nums}
.tf-weather-text,.tf-weather-city{opacity:.9}

.tf-weather-clear::before{-webkit-mask-image:var(--tfw-clear);mask-image:var(--tfw-clear)}
.tf-weather-night::before{-webkit-mask-image:var(--tfw-night);mask-image:var(--tfw-night)}
.tf-weather-partly::before{-webkit-mask-image:var(--tfw-partly);mask-image:var(--tfw-partly)}
.tf-weather-cloud::before{-webkit-mask-image:var(--tfw-cloud);mask-image:var(--tfw-cloud)}
.tf-weather-fog::before{-webkit-mask-image:var(--tfw-fog);mask-image:var(--tfw-fog)}
.tf-weather-rain::before{-webkit-mask-image:var(--tfw-rain);mask-image:var(--tfw-rain)}
.tf-weather-snow::before{-webkit-mask-image:var(--tfw-snow);mask-image:var(--tfw-snow)}
.tf-weather-storm::before{-webkit-mask-image:var(--tfw-storm);mask-image:var(--tfw-storm)}

:root{
	--tfw-clear:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2.5M12 19.5V22M2 12h2.5M19.5 12H22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M19.1 4.9l-1.8 1.8M6.7 17.3l-1.8 1.8'/%3E%3C/svg%3E");
	--tfw-night:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3C/svg%3E");
	--tfw-partly:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Cpath d='M8 2v1.5M2 8h1.5M4.2 4.2l1 1M12.8 4.2l-1 1'/%3E%3Cpath d='M17.5 20H8a4 4 0 0 1 0-8 5.5 5.5 0 0 1 10.3 1.4A3.4 3.4 0 0 1 17.5 20z'/%3E%3C/svg%3E");
	--tfw-cloud:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 19H7a4.5 4.5 0 0 1 0-9 6 6 0 0 1 11.3 1.6A3.7 3.7 0 0 1 17.5 19z'/%3E%3C/svg%3E");
	--tfw-fog:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14H7a4 4 0 0 1 0-8 5.5 5.5 0 0 1 10.3 1.5A3.4 3.4 0 0 1 17 14z'/%3E%3Cpath d='M4 18h16M7 21.5h12'/%3E%3C/svg%3E");
	--tfw-rain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14H7a4 4 0 0 1 0-8 5.5 5.5 0 0 1 10.3 1.5A3.4 3.4 0 0 1 17 14z'/%3E%3Cpath d='M8 17.5l-1 3M12 17.5l-1 3M16 17.5l-1 3'/%3E%3C/svg%3E");
	--tfw-snow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 14H7a4 4 0 0 1 0-8 5.5 5.5 0 0 1 10.3 1.5A3.4 3.4 0 0 1 17 14z'/%3E%3Cpath d='M8 18.5h.01M12 20.5h.01M16 18.5h.01'/%3E%3C/svg%3E");
	--tfw-storm:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 13H7a4 4 0 0 1 0-8 5.5 5.5 0 0 1 10.3 1.5A3.4 3.4 0 0 1 17 13z'/%3E%3Cpath d='M13 15.5l-3 3.5h3.5l-2.5 3.5'/%3E%3C/svg%3E");
}
