@charset "UTF-8";

/* SOURCE: style.css */
/* Feuille commune du pilote. Les ajustements historiques restent dans leur ordre de cascade.
   Rechercher le sélecteur du bloc et ses règles @media avant de le modifier. */


/* Palette et variables communes */
:root{--ink:#083f50;--muted:#536d7a;--blue:#087f9c;--line:#dce9ee;--paper:#fff;--yellow:#f8ba29;--radius:12px}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ink);font:15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:24px}
a{color:inherit;text-decoration:none}
a:hover{color:#007c99;text-decoration:underline}
a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #008aab;outline-offset:4px}
svg{display:block;flex-shrink:0}
.wrap{width:min(1320px,calc(100% - 64px));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip{position:absolute;top:-100px;left:16px;padding:12px;background:#fff;z-index:10}
.skip:focus{top:10px}
.test-banner{background:#eaf5f7;text-align:center;font-size:10px;letter-spacing:1px;padding:5px;color:#386b79}
.test-banner span{letter-spacing:0;margin-left:12px}

/* En-tête et navigation */
.site-header{min-height:91px;display:flex;align-items:center;gap:34px;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:7px;white-space:nowrap}
.brand:hover{text-decoration:none}
.brand-icon{width:52px;height:52px}
.brand-word{font-weight:800;letter-spacing:-1.2px;font-size:29px;line-height:1}
.brand-word b{color:#ebae14}
.brand-word>span{color:#0a95b8}
.brand small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.site-header nav{display:flex;gap:26px;font-weight:600;font-size:14px}
.city-search{position:relative;flex:1;max-width:330px;margin-left:auto}
.city-search input{width:100%;border:1px solid #c7e1e8;background:#f0f7fa;border-radius:30px;padding:11px 17px;font:inherit;font-size:13px;color:var(--ink)}
.city-results{position:absolute;top:48px;left:0;right:0;max-height:320px;overflow-y:auto;z-index:6;background:white;border:1px solid var(--line);box-shadow:0 12px 25px #163a5020;border-radius:10px}
.city-results a{display:block;padding:10px 16px;font-size:14px}
.city-results a:hover,.city-results a:focus{background:#eaf6f8}
.city-results p{padding:10px 16px;font-size:13px}
.language-label{font-weight:600;font-size:13px}
.breadcrumbs{display:flex;gap:12px;font-size:12px;color:var(--muted);padding:20px 0}

/* Grille principale et barre latérale */
.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:24px;align-items:start}
.main-column{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.main-column>section{min-width:0}
h1,h2,h3,p,dl{margin-top:0}
h1{font-size:46px;letter-spacing:-1.8px;line-height:1.12;margin-bottom:10px;font-weight:800}
h2{font-size:23px;line-height:1.3;letter-spacing:-.55px;margin-bottom:0}
h3{font-size:14px}
.notice{padding:11px 15px;border:1px solid #f1dfb2;background:#fffaf0;border-radius:8px;font-size:12px;color:#735d30;margin-bottom:18px}
.notice.error{padding:28px}
.notice strong{margin-right:5px}
.panel{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:white}

/* Carte météo actuelle et photographie */
.current-card{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;background:#edf8fb;padding:27px 26px 18px;min-height:390px}
.hero-panorama{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;z-index:-3}
.current-card:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#fff 0%,#fffffff5 27%,#ffffffb3 45%,#ffffff15 76%),linear-gradient(0deg,#fff 0%,#ffffffed 18%,#ffffff00 52%)}
.current-top{max-width:65%}
.observation-date{font-size:13px;color:#456779;margin-bottom:10px;max-width:60%}
.current-main{display:flex;align-items:center;justify-content:flex-start;gap:25px;min-height:175px;width:65%}
.big-temperature{font-size:87px;line-height:1.05;letter-spacing:-5px;font-weight:800}
.big-temperature>span{font-size:31px;letter-spacing:-1px;vertical-align:top;display:inline-block;margin-top:12px}
.condition{font-size:21px;line-height:1.2;font-weight:700;margin:7px 0}
.feels{font-size:12px;color:#3e6170;margin-bottom:0}
.feels>span{margin:0 4px}
.hero-weather{width:94px;height:94px;filter:drop-shadow(0 3px 4px #ffffffaa)}
.current-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0 0;padding-top:13px;border-top:1px solid #bdd7df99}
.current-metrics>div+div{border-left:1px solid #cbdfe5;padding-left:16px}
dt{font-size:12px;color:var(--muted)}
dd{margin:2px 0 0;font-size:16px;font-weight:700;overflow-wrap:anywhere}
.metric-note{font-size:10px;display:block;font-weight:400;color:var(--muted)}
.sun-inline{display:flex;gap:35px;margin:12px 0 0;padding-top:10px;border-top:1px solid #d9e6eb}
.sun-inline>div{display:flex;align-items:baseline;gap:10px}
.sun-inline dd{font-size:15px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.section-heading>span{font-size:12px;color:var(--muted)}

/* Cartes horaires */
.hourly-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.hour{background:linear-gradient(#f2f8fb,#edf5f8);border-radius:10px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:13px 4px 10px;gap:7px}
.hour time{font-size:13px;font-weight:600}
.hour .weather-icon{width:43px;height:43px}
.hour strong{font-size:25px;line-height:1.1}
.hour>span{font-size:10px;color:var(--muted);min-height:30px;line-height:1.4}

/* Tableau des prévisions quotidiennes */
.forecast-panel .section-heading{margin-bottom:7px}
.section-note{font-size:12px;color:var(--muted);margin-bottom:18px}
.forecast-today{display:flex;justify-content:space-between;align-items:center;padding:13px 12px;background:#eff8fa;border-radius:7px;gap:12px}
.forecast-today>div:first-child strong,.forecast-today>div:first-child span{display:block}
.forecast-today strong{font-size:13px}
.forecast-today>div:first-child span,.today-label{font-size:11px;color:var(--muted)}
.range{display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:78px;font-size:17px;white-space:nowrap}
.range>span{color:#0879a6}
.range>strong{font-size:17px;color:#a76800}
.forecast-today .range{margin-right:28px}
.forecast-day{border-bottom:1px solid var(--line)}
.forecast-day:last-of-type{border:0}
summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) 44px 90px 88px 16px;align-items:center;gap:12px;padding:13px 4px;min-height:65px}
summary::-webkit-details-marker{display:none}
summary:hover{background:#f5fafb}
.day-date strong{display:block;font-size:13px;font-weight:600}
.day-date>span{display:block;font-size:11px;color:var(--muted);margin-top:2px}
summary>.weather-icon{width:36px;height:36px}
.wind-summary{font-size:12px;text-align:right;color:var(--muted)}
.expand{color:#1687a2;font-size:20px}
.forecast-day[open] .expand{font-size:0}
.forecast-day[open] .expand:after{content:"−";font-size:20px}
.day-details{background:#f1f8fa;border-radius:8px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:14px}
.day-details h3{margin-bottom:9px}
.day-details p{display:flex;align-items:center;gap:8px;font-size:12px}
.day-details .weather-icon{width:32px;height:32px}
.day-details dl{margin-bottom:0}
.day-details dl>div{display:flex;justify-content:space-between;gap:8px}
.day-details dd{font-size:12px}
.day-details dt{font-size:11px}
.daily-sun{grid-column:1/-1;color:var(--muted);margin:0;border-top:1px solid var(--line);padding-top:12px;flex-wrap:wrap}
aside{display:grid;gap:18px;min-width:0}
aside .panel{padding:20px}
aside h2{font-size:20px;letter-spacing:-.45px}
.ad-slot{width:100%;padding:0}
.ad-caption{text-align:center;font-size:10px;color:var(--muted);margin:0 0 7px}
.ad-placeholder{width:100%;min-height:280px;background:linear-gradient(125deg,#edf1f4,#e1e9ee);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#62788a;font-size:14px}
.ad-placeholder small{font-size:12px}
.prayers-date{font-size:12px;color:var(--muted);margin:6px 0 15px}
.prayers-list{margin:0}
.prayers-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 8px;border-bottom:1px solid #e8eff2;border-radius:4px}
.prayers-list dt{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:14px}
.prayers-list dt [lang=ar]{font-size:13px;color:var(--muted)}
.prayers-list dd{font-size:16px;margin:0;font-variant-numeric:tabular-nums}
.prayers-list .next-prayer{background:#ddf4ec;border-color:transparent}
.prayer-next-label{font-size:12px;margin:14px 0;color:var(--muted)}
.prayers-source{font-size:10px;line-height:1.8;border-top:1px solid var(--line);padding-top:12px;margin:14px 0 0;color:var(--muted)}
.prayers-source a{text-decoration:underline}

/* Liste des communes */
.communes-links{margin-top:15px;display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.communes-links a{padding:10px 0;font-size:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.nearby-panel>p{font-size:12px;color:var(--muted);margin:7px 0}
.nearby-panel>a{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px;color:#087392}
.nearby-panel>a:last-child{border:0}
.info-panel{background:#f7fafb}
.info-symbol{display:none}
.info-panel h2{font-size:16px}
.info-panel p,.update-label{font-size:12px;color:var(--muted);margin:10px 0}
.update-label{display:block;color:var(--ink)}
.empty{font-size:13px;color:var(--muted);margin:14px 0 0}
.eyebrow{font-size:10px;letter-spacing:1px;color:var(--blue);margin:0 0 7px}
.closing-note{max-width:800px;margin:34px 0}
.closing-note h2{font-size:18px}
.closing-note p{font-size:13px;color:var(--muted);margin:8px 0}
.photo-credit{font-size:10px;color:var(--muted);padding-bottom:17px}
.photo-credit a{text-decoration:underline}
.site-footer{background:#f0f7fa;border-top:1px solid var(--line)}
.footer-content{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:26px}
.footer-brand{font-size:23px;font-weight:800;color:var(--ink)}
.footer-content p,.footer-content>a:last-child{font-size:12px;margin:0;color:var(--muted)}


/* Adaptation aux écrans plus étroits */
@media(max-width:1150px){.wrap{width:calc(100% - 40px)}
.site-header{gap:22px}
.site-header nav{gap:16px}
.brand-word{font-size:25px}
.language-label{display:none}
.dashboard{grid-template-columns:minmax(0,1fr) 320px;gap:20px}
.current-card{padding:22px}
.current-main{width:85%;gap:15px}
.hero-weather{width:76px;height:76px}
h1{font-size:40px}
.big-temperature{font-size:78px}
.current-metrics{gap:8px}
.current-metrics>div+div{padding-left:8px}
.current-metrics dd{font-size:14px}
.panel{padding:18px}
summary{grid-template-columns:minmax(0,1fr) 35px 78px 15px;gap:9px}
.wind-summary{display:none}
.today-label{display:none}
.hourly-grid{gap:5px}
.sun-inline{gap:20px}
.sun-inline>div{display:block}
}

@media(max-width:850px){.site-header{flex-wrap:wrap;padding-block:16px;gap:18px}
.city-search{max-width:none;min-width:200px}
.site-header nav{margin-left:auto}
.dashboard{grid-template-columns:minmax(0,1fr)}
.current-main{width:65%}
.current-top{max-width:80%}
.sun-inline>div{display:flex}
.ad-slot{max-width:336px;justify-self:center}
.communes-links{grid-template-columns:repeat(3,minmax(0,1fr))}
.hero-weather{width:90px;height:90px}
.current-card{min-height:375px}
}

@media(max-width:480px){.wrap{width:calc(100% - 28px)}
.test-banner{font-size:9px}
.test-banner span{margin-left:6px}
.site-header{gap:13px}
.brand-word{font-size:24px}
.brand-icon{width:40px;height:40px}
.brand small{font-size:9px}
.site-header nav{font-size:12px;gap:12px}
.site-header nav a:first-child{display:none}
.city-search{flex-basis:100%}
.breadcrumbs{font-size:11px;padding:15px 0}
.current-card{padding:19px 17px;min-height:0}
.current-card:before{background:linear-gradient(90deg,#fff 0%,#ffffffeb 35%,#ffffff80 80%),linear-gradient(0deg,#fff 5%,#ffffff00 90%)}
.current-top{max-width:100%}
h1{font-size:37px}
.observation-date{max-width:100%;font-size:11px}
.current-main{width:100%;min-height:166px;gap:12px}
.big-temperature{font-size:74px}
.big-temperature>span{font-size:25px}
.condition{font-size:19px}
.feels{font-size:11px}
.hero-weather{width:73px;height:73px}
.current-metrics{grid-template-columns:1fr 1fr;gap:12px}
.current-metrics>div+div{border:0;padding:0}
.current-metrics>div:nth-child(even){border-left:1px solid var(--line);padding-left:15px}
.sun-inline{gap:25px}
.sun-inline>div{display:block}
.sun-inline dt{font-size:11px}
.panel{padding:18px 13px}
h2{font-size:20px}
.hourly-grid{gap:4px;overflow-x:auto;grid-template-columns:repeat(6,minmax(53px,1fr));padding-bottom:5px}
.hour{padding:10px 3px}
.hour time{font-size:11px}
.hour .weather-icon{width:34px;height:34px}
.hour strong{font-size:21px}
.hour>span{font-size:9px}
.section-heading>span{font-size:10px}
.section-note{font-size:11px}
.range{min-width:0;gap:12px;font-size:15px}
.range>strong{font-size:15px}
.day-date strong{font-size:12px}
.day-date>span{font-size:10px}
summary{grid-template-columns:minmax(0,1fr) 30px 68px 12px;gap:6px}
summary>.weather-icon{width:30px;height:30px}
.forecast-today .range{margin-right:17px}
.day-details{padding:12px;gap:12px}
.day-details p{font-size:11px}
.day-details .weather-icon{width:24px;height:24px}
.communes-links{grid-template-columns:1fr 1fr}
.footer-content{flex-wrap:wrap;gap:10px}
.footer-content p{order:3;width:100%;font-size:11px}
.photo-credit{font-size:9px}
.notice{font-size:11px}
.notice strong{display:block}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
}

@media print{.test-banner,.site-header nav,.city-search,aside,.photo-credit,.site-footer{display:none}
.wrap{width:100%}
.dashboard{grid-template-columns:1fr}
.hero-panorama{display:none}
.current-card{background:white;break-inside:avoid}
.forecast-day{break-inside:avoid}
}


.hero-panorama.panorama-left{object-position:left center}
.hero-panorama.panorama-center{object-position:center center}
.hero-panorama.panorama-right{object-position:right center}


/* Design 2 : largeur fluide et tableau des dix jours. */
:root{--ink:#06475c;--blue:#0089ab;--yellow:#ffba08;--line:#d6e7ef}

.wrap{width:calc(100% - 64px);max-width:none}
.site-header{min-height:85px}
.brand-icon{width:70px;height:56px}
.brand-word{font-size:32px;letter-spacing:-1.5px;font-weight:800;color:#005469}
.brand-word>span{color:#039bc2}
.brand{gap:4px}
.site-header nav{margin-left:35px;gap:36px}
.city-search{max-width:380px}
.dashboard{grid-template-columns:minmax(0,1fr) 336px}
.current-card{min-height:375px;background:#fff;padding:22px}
.current-main{min-height:170px}
.big-temperature{font-size:100px}
.current-top h1{font-size:49px}
.observation-date{font-size:16px;max-width:100%}
.hijri-date{font-size:14px}
.hero-weather{width:115px;height:115px}
.weather-update{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:12px;color:#536d7a;padding:0 5px;margin-top:-10px}
.weather-update>strong{color:#06475c}
.weather-update b{font-weight:600;color:#234e60}
.interface-icon{width:24px;height:24px;display:inline-block;vertical-align:middle;flex-shrink:0}
.section-heading h2{display:flex;align-items:center;gap:10px}
.current-metrics dt{display:flex;align-items:center;gap:8px}
.sun-inline dt{display:flex;align-items:center;gap:7px}
.icon-sunrise,.icon-sunset{color:#ffb900}
.sun-inline .interface-icon{width:29px;height:29px}
.hour .weather-icon{width:48px;height:48px}
.hour strong{font-size:27px}
.hour time{font-size:14px}
.forecast-columns,.forecast-grid{display:grid;grid-template-columns:minmax(145px,1.35fr) 54px minmax(100px,1.3fr) 55px 55px minmax(80px,.85fr) 16px;gap:14px;align-items:center}
.forecast-columns{padding:10px 4px;border-bottom:1px solid var(--line);font-size:12px;color:#315a70}
.forecast-grid{padding:12px 4px;min-height:57px}
.forecast-today{background:transparent;margin:0;border-radius:0;border-bottom:1px solid var(--line)}
.forecast-today .weather-icon{width:36px;height:36px}
.day-date strong{font-size:14px;font-weight:500}
.forecast-condition{font-size:13px;color:#35576c}
.forecast-min{font-size:17px;color:#0089cb}
.forecast-max{font-size:17px;color:#c17c00;font-weight:600}
.wind-summary{display:block;text-align:left;font-size:12px}
.forecast-panel{padding:20px 24px}
.forecast-panel .section-note{margin-bottom:3px}
.current-card:before{background:linear-gradient(90deg,#fff 0%,#fffffff5 23%,#ffffffaa 44%,#ffffff00 75%),linear-gradient(0deg,#fff 0%,#fffffff0 17%,#ffffff00 50%)}

@media(min-width:1600px){.dashboard{grid-template-columns:minmax(0,1fr) 360px}
.current-card{min-height:405px}
.current-main{min-height:190px}
.site-header{gap:45px}
.hourly-grid{gap:14px}
}

@media(max-width:1150px){.site-header nav{margin-left:0;gap:18px}
.wrap{width:calc(100% - 36px)}
.dashboard{grid-template-columns:minmax(0,1fr) 320px}
.forecast-columns,.forecast-grid{grid-template-columns:minmax(95px,1.4fr) 35px minmax(65px,1fr) 36px 36px 15px;gap:8px}
.forecast-columns>span:nth-child(6),.forecast-grid>.wind-summary{display:none}
.forecast-panel{padding:18px 14px}
.day-date strong,.forecast-condition{font-size:11px}
.forecast-min,.forecast-max{font-size:14px}
.current-top h1{font-size:42px}
.big-temperature{font-size:83px}
.hero-weather{width:86px;height:86px}
.brand-word{font-size:27px}
.brand-icon{width:54px}
.observation-date{font-size:13px}
.hijri-date{font-size:12px}
}

@media(max-width:850px){.dashboard{grid-template-columns:minmax(0,1fr)}
.site-header nav{margin-left:auto}
.forecast-columns,.forecast-grid{grid-template-columns:minmax(100px,1.3fr) 40px minmax(85px,1fr) 44px 44px 70px 14px}
.forecast-columns>span:nth-child(6),.forecast-grid>.wind-summary{display:block}
.current-card{min-height:370px}
}

@media(max-width:480px){.wrap{width:calc(100% - 28px)}
.brand-icon{width:45px;height:40px}
.brand-word{font-size:25px}
.site-header nav{gap:12px}
.current-card{padding:18px 14px;min-height:0}
.current-top h1{font-size:36px}
.big-temperature{font-size:76px}
.hero-weather{width:72px;height:72px}
.hijri-date{display:block;margin-top:4px}
.forecast-columns,.forecast-grid{grid-template-columns:minmax(77px,1.2fr) 28px minmax(55px,1fr) 29px 29px 10px;gap:5px}
.forecast-columns>span:nth-child(6),.forecast-grid>.wind-summary{display:none}
.forecast-panel{padding:17px 10px}
.forecast-columns{font-size:10px}
.day-date strong,.forecast-condition{font-size:10px}
.forecast-min,.forecast-max{font-size:12px}
.forecast-today .weather-icon,summary>.weather-icon{width:27px;height:27px}
.weather-update{font-size:11px}
.current-card:before{background:linear-gradient(90deg,#fff 0%,#ffffffeb 35%,#ffffff80 80%),linear-gradient(0deg,#fff 5%,#ffffff00 90%)}
}


/* Icônes issues de la référence, atlas local : quatre colonnes, trois lignes. */
.weather-sprite{display:inline-block;background-image:url('weather-icons.webp');background-size:400% 300%;background-repeat:no-repeat;flex-shrink:0;vertical-align:middle}

.sprite-sun{background-position:0 0}
.sprite-partly{background-position:33.333333% 0}
.sprite-cloud{background-position:66.666667% 0}
.sprite-moon{background-position:100% 0}
.sprite-rain{background-position:0 50%}
.sprite-storm{background-position:33.333333% 50%}
.sprite-snow{background-position:66.666667% 50%}
.sprite-thermometer{background-position:100% 50%}
.sprite-drop{background-position:0 100%}
.sprite-wind{background-position:33.333333% 100%}
.sprite-sunrise{background-position:66.666667% 100%}
.sprite-sunset{background-position:100% 100%}
.icon-unknown{display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}

.current-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.current-metrics>div+div{border:0;padding-left:0}
.current-metrics>div{position:relative;padding-left:32px!important}
.current-metrics dt{font-size:11px;gap:0}
.current-metrics .interface-icon{position:absolute;left:0;top:1px;width:29px;height:29px}
.current-metrics dd{font-size:16px}
.secondary-metrics{font-size:11px;color:var(--muted);margin:12px 0 0}
.secondary-metrics>span{padding:0 10px}
.hero-weather{filter:none}
.nearby-cities{padding-top:4px}
.nearby-cities h2{margin:0 0 18px}

/* Grille des six villes proches */
.nearby-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.nearby-city{display:flex;flex-direction:column;justify-content:space-between;min-height:150px;padding:23px;border:1px solid #d4e7ee;border-radius:12px;background:linear-gradient(135deg,#fff,#f0f8fb);transition:border-color .15s,background .15s}
.nearby-city:hover{border-color:#0a9ac0;background:#edf8fb;text-decoration:none}
.nearby-city-top{display:flex;align-items:center;gap:11px}
.nearby-city-top svg{width:22px;height:26px;color:#078ca8}
.nearby-city-top strong{font-size:19px;line-height:1.3}
.nearby-city-link{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#167d97;font-size:12px;margin-top:24px}
.nearby-city-link>span{font-size:23px}

@media(max-width:1150px){.current-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nearby-grid{gap:12px}
.nearby-city{padding:16px;min-height:140px}
.nearby-city-top strong{font-size:16px}
}

@media(max-width:600px){.nearby-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.current-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.nearby-city{min-height:135px}
.current-metrics>div:nth-child(even){border:0}
.nearby-city-top{gap:8px}
.nearby-city-top strong{font-size:15px}
.nearby-city-link{font-size:11px}
.nearby-city-top svg{width:18px}
}

@media(prefers-reduced-motion:reduce){.nearby-city{transition:none}
}


/* 0.8 : retour au format centré, seule la largeur maximale change. */
.wrap{max-width:1320px}


/* 0.9 : lisibilité des prévisions et données réelles des villes proches. */
.day-date strong{font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:600}
.forecast-condition{font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:600;color:#36576d}
.forecast-min,.forecast-max{font-family:Arial,Helvetica,sans-serif;font-size:21px;font-weight:600}
.forecast-columns{font-size:14px}
.forecast-grid{min-height:72px;padding-block:15px}
.wind-summary{font-size:14px}
.section-note{font-size:13px}
.day-details dt,.day-details dd,.day-details p{font-size:13px}
.current-metrics dt{font-size:14px;line-height:1.35}
.current-metrics dd{font-size:20px}
.metric-note{font-size:12px}
.condition{font-size:24px}
.feels{font-size:15px}
.secondary-metrics{font-size:13px}
.weather-update{font-size:13px}
.communes-links a{font-size:15px;line-height:1.5;padding-block:11px}
.nearby-city{min-height:225px;padding:20px}
.nearby-weather{display:flex;align-items:center;gap:9px;margin-top:14px}
.nearby-weather .weather-icon{width:48px;height:48px}
.nearby-condition{font-size:14px;font-weight:600;line-height:1.4}
.nearby-temperatures{display:flex;flex-wrap:wrap;gap:10px 19px;margin-top:10px;font-size:13px;color:var(--muted)}
.nearby-temperatures b{font-size:20px;color:#0089cb;margin-left:4px}
.nearby-temperatures>span+span b{color:#af7200}
.nearby-updated{font-size:11px;color:var(--muted);margin-top:9px}
.nearby-unavailable{font-size:13px;color:var(--muted);margin-top:20px}
.nearby-city-link{font-size:13px;margin-top:17px}

@media(min-width:851px) and (max-width:1150px){.day-date strong,.forecast-condition{font-size:13px}
.forecast-min,.forecast-max{font-size:17px}
.forecast-columns{font-size:12px}
.current-metrics dt{font-size:13px}
.nearby-city{padding:15px}
}

@media(max-width:600px){.communes-links a{font-size:14px}
.current-metrics dt{font-size:13px}
.current-metrics dd{font-size:18px}
.forecast-columns{font-size:11px}
.day-date strong,.forecast-condition{font-size:12px}
.forecast-min,.forecast-max{font-size:16px}
.forecast-grid{min-height:70px}
.nearby-city{padding:15px}
.nearby-condition{font-size:13px}
.nearby-temperatures b{font-size:18px}
.nearby-city-link{font-size:12px}
.weather-update{font-size:12px}
}


.forecast-today .forecast-max{font-size:21px}
@media(min-width:851px) and (max-width:1150px){.forecast-today .forecast-max{font-size:17px}
}
@media(max-width:600px){.forecast-today .forecast-max{font-size:16px}
}


/* v0.11 — Logos PNG transparents */
.brand-logo{display:block;width:278px;height:auto;max-width:100%}
.brand{flex-shrink:0}
.footer-logo{display:block;width:220px;height:auto;max-width:100%}
.footer-brand{display:inline-block;flex-shrink:0}
@media(max-width:1150px){.brand-logo{width:240px}
}
@media(max-width:480px){.brand-logo{width:220px}
.footer-logo{width:190px}
}


/* Photo du monument : occuper la partie droite pour garder la tour visible. */
.hero-panorama{left:auto;right:0;width:60%;object-position:left top}

/* v0.13 — Sept mesures lisibles : quatre puis trois sur écran large. */
.current-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}
.current-metrics>div{min-width:0}
.current-metrics .icon-visibility,.current-metrics .icon-pressure{color:#087f9c}
@media(min-width:851px) and (max-width:1150px){.current-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}}
@media(max-width:600px){.current-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}}

/* v0.14 — Les sept mesures partagent une seule rangée sur desktop.
   Les petits écrans conservent deux colonnes pour éviter tout débordement. */
@media(min-width:601px){
  .current-metrics{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:18px}
  .current-metrics>div{padding-left:25px!important}
  .current-metrics .interface-icon{width:22px;height:22px}
  .current-metrics dt{font-size:12px;line-height:1.35}
  .current-metrics dd{font-size:17px;white-space:nowrap;letter-spacing:-.3px}
  .current-metrics .metric-note{font-size:10px;white-space:normal;letter-spacing:0}
}
@media(min-width:851px) and (max-width:1150px){
  .current-metrics{gap:8px}
  .current-metrics>div{padding-left:0!important;padding-top:25px}
  .current-metrics dt{font-size:11px}
  .current-metrics dd{font-size:15px}
}

/* Aligner les valeurs même lorsque le libellé du soleil occupe deux lignes. */
@media(min-width:601px){.current-metrics dt{min-height:33px}}

/* Langue du pilote : libellé compact et espacement de sécurité à droite. */
.site-header .language-label{margin-left:auto;margin-right:22px;flex-shrink:0;font-size:13px;font-weight:600}



/* SOURCE: metrics-six-v015.css */
/* Six mesures complémentaires. Le ressenti reste sous la température principale.
   Sélecteur spécifique pour prendre le dessus sur les anciens réglages du pilote. */
.current-card .current-metrics-six{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px}
.current-card .current-metrics-six>div{min-width:0;border:0;padding:0 0 0 27px!important}
.current-card .current-metrics-six .interface-icon{position:absolute;left:0;top:1px;width:23px;height:23px}
.current-card .current-metrics-six dt{font-size:12px;line-height:1.35;min-height:33px}
.current-card .current-metrics-six dd{font-size:18px;white-space:nowrap;letter-spacing:-.3px}
.current-card .current-metrics-six .metric-note{font-size:10px;white-space:normal;letter-spacing:0}
/* Desktop étroit : icône au-dessus du libellé, toujours six cellules par ligne. */
@media(min-width:601px) and (max-width:1150px){
.current-card .current-metrics-six{gap:8px}
.current-card .current-metrics-six>div{padding:25px 0 0!important}
.current-card .current-metrics-six dd{font-size:16px}
}
/* Petits écrans : la lisibilité prime, sans modifier le site mobile historique. */
@media(max-width:600px){
.current-card .current-metrics-six{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.current-card .current-metrics-six dt{min-height:0}
}



/* SOURCE: wilayas-v018.css */
/* Menu des wilayas : panneau dans la largeur du site, au-dessus du contenu. */
.site-header{position:relative;z-index:20}.wilayas-dropdown{display:inline-flex}.wilayas-toggle{font:inherit;font-weight:700;color:#074b60;border:0;background:transparent;padding:12px 0;cursor:pointer}.wilayas-toggle span{color:#0099b7;margin-left:6px}.wilayas-toggle:hover,.wilayas-toggle[aria-expanded="true"]{color:#0099b7}.wilayas-panel{position:absolute;top:calc(100% - 1px);left:0;right:0;background:#fff;border:1px solid #cce5ed;border-top:3px solid #ffbd16;border-radius:0 0 16px 16px;box-shadow:0 16px 32px #074b6022;padding:24px;max-height:75vh;overflow:auto}.wilayas-panel[hidden]{display:none}.wilayas-panel-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:16px;border-bottom:1px solid #dfedf1;margin-bottom:12px}.wilayas-panel-heading strong{font-size:20px}.site-header .wilayas-panel a{margin:0;padding:9px 12px;font-size:15px;font-weight:500;display:block}.wilayas-links{display:grid;grid-template-rows:repeat(12,auto);grid-auto-flow:column;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 18px}.wilayas-links a:hover,.wilayas-links a:focus-visible{background:#edf8fc;border-radius:6px;color:#007b9a}.wilayas-toggle:focus-visible,.wilaya-entry:focus-visible{outline:3px solid #0099b7;outline-offset:3px}
/* Annuaire : recherche locale, noms lisibles et liens complets. */
.wilayas-directory{padding-bottom:60px;min-height:65vh}.wilayas-directory h1{font-size:clamp(30px,4vw,46px)}.wilayas-directory>p{margin:14px 0 26px}.wilayas-directory>label{display:block;font-weight:700;margin:26px 0 10px}#wilaya-filter{width:min(100%,520px);padding:15px 18px;font:inherit;border:1px solid #bcdce7;border-radius:10px;background:#f5fafc;color:#074b60}#wilaya-count{font-size:14px;color:#527083;margin:14px 0}.wilaya-directory-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px}.wilaya-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #cce5ed;border-radius:10px;padding:18px;background:#fff;font-weight:600;font-size:17px}.wilaya-entry:hover{background:#edf8fc;border-color:#0099b7}.wilaya-entry>span:last-child{color:#0099b7}.wilaya-entry[hidden]{display:none}
@media(max-width:900px){.wilayas-links{grid-template-rows:repeat(24,auto);grid-template-columns:repeat(2,minmax(0,1fr))}.wilaya-directory-list{grid-template-columns:repeat(2,minmax(0,1fr))}.wilayas-panel{padding:16px}.wilayas-panel-heading{align-items:flex-start;flex-direction:column}}@media(max-width:480px){.wilaya-directory-list{grid-template-columns:1fr}.site-header .wilayas-panel a{font-size:14px;padding:10px 5px}.wilayas-links{gap:0 8px}}

/* Aligner le bouton sur les liens voisins dans l’en-tête. */
.site-header nav{align-items:center}

/* Accès à l’annuaire sous les 48 noms. */
.wilayas-panel-footer{margin-top:14px;padding-top:12px;border-top:1px solid #dfedf1;text-align:right}



/* SOURCE: navigation-contact-v1.css */
/* Feuille chargée en dernier : même en-tête sur accueil, météo, prières et contact. */
.site-header.unified-header{display:flex;align-items:center;position:relative;gap:22px;min-height:94px;padding-block:14px;flex-wrap:wrap;border-bottom:1px solid #d4e7ed;z-index:30;background:#fff}
.unified-header .brand{flex:0 0 auto;margin:0}.unified-header .brand-logo{display:block;width:clamp(190px,20vw,265px);height:auto;max-width:none}
.site-header.unified-header .primary-nav{display:flex;align-items:center;gap:5px;margin:0;flex:1 1 auto;font-size:14px;font-weight:600}
.unified-header .primary-nav>a,.unified-header .wilayas-toggle{display:inline-flex;align-items:center;min-height:44px;padding:10px 13px;border-radius:12px;color:#074b60;white-space:nowrap;text-decoration:none;line-height:1.4;font:inherit;font-weight:600}
.unified-header .primary-nav>a:hover,.unified-header .wilayas-toggle:hover,.unified-header .wilayas-toggle[aria-expanded=true]{background:#eaf6fa;color:#007c99;text-decoration:none}
.unified-header :is(a,button,input):focus-visible{outline:3px solid #009bbc;outline-offset:3px}

.unified-header .language-label{margin:0;font-size:12px;flex:none}
.header-search{position:relative;flex:0 1 240px;min-width:160px}.header-search input{width:100%;box-sizing:border-box;border:1px solid #cce5ed;background:#f1f8fb;border-radius:24px;padding:12px 16px;font:inherit;font-size:13px;color:#074b60;height:44px}
.header-city-results{position:absolute;top:calc(100% + 8px);right:0;left:0;max-height:320px;overflow:auto;background:white;border:1px solid #cce5ed;border-radius:12px;box-shadow:0 12px 30px #074b6026;padding:6px;z-index:35}.header-city-results[hidden]{display:none}.header-city-results a{display:block;padding:10px 12px;border-radius:7px;font-size:14px}.header-city-results a:hover,.header-city-results a:focus{background:#eaf6fa;text-decoration:none}.header-city-results p{padding:8px;font-size:13px}
.unified-header .wilayas-panel{top:100%;border-top-width:2px;border-radius:0 0 18px 18px}.unified-header .wilayas-panel .wilayas-links{column-gap:18px}.unified-header .wilayas-panel a{border-radius:8px;text-decoration:none}.unified-header .wilayas-panel-footer{padding-top:14px;margin-top:14px;border-top:1px solid #d4e7ed;text-align:right}
/* Composition des deux icônes existantes : aucun soleil dans l'icône de nuit. */
.weather-icon.partly-night{position:relative;display:inline-block;background:none;flex-shrink:0;vertical-align:middle}.partly-night>.weather-sprite{position:absolute;display:block;width:76%;height:76%}.partly-night>.sprite-moon{top:0;right:0}.partly-night>.sprite-cloud{bottom:0;left:0;width:85%;height:85%}
.contact-page{padding-block:34px 64px;max-width:1100px}.contact-intro{max-width:720px;margin-bottom:26px}.contact-intro h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:8px 0 14px}.contact-eyebrow{color:#008ba8;font-size:12px;font-weight:700;letter-spacing:1.5px}.contact-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:24px;align-items:start}.contact-card{border:1px solid #cce5ed;border-radius:18px;padding:26px;background:white}.contact-card h2{margin-top:0;font-size:22px}.contact-card label{display:block;font-weight:600;font-size:14px;margin:17px 0 7px}.contact-card input,.contact-card select,.contact-card textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #bcdce6;border-radius:9px;font:inherit;color:#074b60;background:white}.contact-card textarea{min-height:160px;resize:vertical}.contact-card button{border:0;border-radius:10px;min-height:46px;background:#008ea8;color:white;padding:12px 22px;font:inherit;font-weight:600;margin-top:18px;cursor:pointer}.contact-card button:disabled{opacity:.5;cursor:not-allowed}.contact-card .contact-trap{display:none}.contact-aside{background:linear-gradient(150deg,#eff9fc,#fff)}.contact-aside p{font-size:14px;line-height:1.7}.contact-note{font-size:13px;color:#57788a;line-height:1.6}.contact-feedback{padding:14px 18px;border-radius:10px;background:#e0f3eb;margin:16px 0}.contact-feedback.error{background:#fff0eb;color:#8e3427}
@media(max-width:1150px){.site-header.unified-header{gap:14px}.unified-header .brand-logo{width:210px}.header-search{flex-basis:190px}.unified-header .primary-nav>a,.unified-header .wilayas-toggle{padding-inline:10px}}
@media(max-width:1000px){.header-search{order:4;flex-basis:100%;}.unified-header .language-label{margin-left:auto}.site-header.unified-header .primary-nav{flex:1;justify-content:flex-end}}
@media(max-width:650px){.site-header.unified-header{gap:12px;padding-block:14px}.unified-header .brand-logo{width:205px}.site-header.unified-header .primary-nav{order:3;flex-basis:100%;width:100%;justify-content:space-between;gap:2px;font-size:12px}.site-header.unified-header .primary-nav>a:first-child{display:inline-flex}.unified-header .primary-nav>a,.unified-header .wilayas-toggle{padding:10px 7px;border-radius:9px}.header-search{min-width:0}.contact-layout{grid-template-columns:1fr}.contact-card{padding:20px}.contact-page{padding-block:24px 40px}}
.site-header.unified-header{font-family:Arial,Helvetica,sans-serif}.home-design-four .site-header.unified-header .language-label{margin:0}.site-header.unified-header.wrap{width:min(1320px,calc(100% - 64px));max-width:1320px}
@media(max-width:850px){.site-header.unified-header.wrap{width:calc(100% - 36px)}}
@media(max-width:480px){.site-header.unified-header.wrap{width:calc(100% - 28px)}}
@media(max-width:359px){.site-header.unified-header .primary-nav{display:grid;grid-template-columns:1fr 1fr}.unified-header .primary-nav>a,.unified-header .wilayas-toggle{justify-content:center;width:100%}.unified-header .wilayas-dropdown{display:flex}}



/* SOURCE: mobile-theme-v1.css */
/* Correctif commun, chargé après les feuilles existantes. */
.site-header.compact-header{gap:16px;min-height:84px}.site-header.compact-header .primary-nav{flex:1;margin:0;justify-content:center}.compact-header .header-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.header-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;padding:9px;border:1px solid transparent;border-radius:11px;color:#075367;background:transparent;cursor:pointer}.header-icon svg{width:22px;height:22px}.header-icon:hover,.header-icon[aria-expanded=true]{background:#eaf6fa}.header-icon:focus-visible{outline:3px solid #009bbc;outline-offset:2px}.header-icon.mobile-menu-toggle{display:none}.theme-sun{display:none}html[data-theme=dark] .theme-moon{display:none}html[data-theme=dark] .theme-sun{display:block}
.js .compact-header #header-search-panel{display:none}.js .compact-header.search-open #header-search-panel{display:block}.compact-header #header-search-panel{position:absolute;top:calc(100% + 8px);right:0;left:auto;width:min(420px,100%);padding:12px;background:#fff;border:1px solid #d2e5ed;border-radius:15px;box-shadow:0 12px 26px #074b6022;z-index:40}.compact-header .header-city-results{position:static;box-shadow:none;margin-top:8px;max-height:320px;border:0}
.hourly-panel .hour strong{font-size:24px;line-height:1.2}.hourly-panel .hour>span:last-child{font-size:12px;line-height:1.4;overflow-wrap:normal;word-break:normal;min-height:2.8em}.hourly-panel .hour{min-width:0}.hourly-panel .hourly-grid{align-items:stretch}.weather-update{display:block}.forecast-panel .day-date{min-width:0}.forecast-panel .day-date strong{word-break:normal;overflow-wrap:normal}
.unified-footer{margin-top:38px;border-top:1px solid #d4e7ed;background:#eef7fa;padding:32px 0 0}.unified-footer .footer-main{display:grid;grid-template-columns:minmax(220px,1.4fr) 1fr 1fr;gap:32px;padding-bottom:28px}.unified-footer .footer-logo{width:210px;height:auto;max-width:100%}.unified-footer .footer-main p{color:#577381;font-size:13px;margin:10px 0}.unified-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:11px;font-size:14px}.unified-footer a:hover{text-decoration:none;color:#008da7}.unified-footer .footer-bottom{border-top:1px solid #d4e7ed;padding-block:16px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;font-size:12px;color:#577381}.unified-footer .footer-bottom>a{margin-left:auto}.legal-page{padding-block:35px 60px;min-height:40vh}.legal-page .panel{max-width:780px}.legal-page h1{font-size:32px}
@media(max-width:1000px) and (min-width:851px){.site-header.compact-header{gap:8px}.compact-header .brand-logo{width:195px}.site-header.compact-header .primary-nav{gap:0;font-size:13px}.compact-header .primary-nav>a,.compact-header .wilayas-toggle{padding-inline:8px}}
@media(max-width:850px){
.site-header.compact-header{flex-wrap:wrap;gap:8px;padding-block:10px;min-height:68px}.compact-header .brand-logo{width:clamp(150px,48vw,215px)}.compact-header .header-actions{order:1;gap:0}.compact-header .header-icon{width:40px;height:40px}.compact-header .language-label{display:none}.js .compact-header .mobile-menu-toggle{display:inline-flex}.site-header.compact-header .primary-nav{order:4;flex-basis:100%;display:flex;flex-direction:column;align-items:stretch;gap:3px;margin:8px 0 0;padding:10px 0 2px;border-top:1px solid #d4e7ed;font-size:15px}.js .site-header.compact-header .primary-nav{display:none}.js .site-header.compact-header.menu-open .primary-nav{display:flex}.compact-header .primary-nav>a,.compact-header .wilayas-toggle{justify-content:flex-start;min-height:46px;padding:12px 14px;width:100%;border-radius:10px}.compact-header .primary-nav>a:first-child{display:flex}.compact-header .wilayas-dropdown{display:flex;flex-direction:column}.compact-header .wilayas-panel{position:static;max-height:50vh;box-shadow:none;border:1px solid #d4e7ed;border-radius:12px;padding:10px;margin:4px 0}.compact-header .wilayas-panel .wilayas-links{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(35,auto);gap:0 10px}.compact-header #header-search-panel{order:3;position:relative;top:auto;left:auto;right:auto;flex-basis:100%;width:100%;margin-top:4px;box-shadow:none}.compact-header .header-city-results{max-height:45vh}
}
@media(max-width:600px){
.current-card{padding:14px!important;min-height:0!important}.current-card .current-top h1{font-size:clamp(26px,7.5vw,33px);line-height:1.15;margin:0 0 6px;letter-spacing:-.7px}.current-card .observation-date{font-size:12px;line-height:1.4;margin:0 0 12px}.current-card .current-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:0;margin:0}.current-card .temperature-block{min-width:0;flex:1}.current-card .big-temperature{font-size:66px;line-height:1;letter-spacing:-3px}.current-card .big-temperature>span{font-size:22px;letter-spacing:0}.current-card .condition{font-size:19px;line-height:1.25;margin:7px 0}.current-card .feels{font-size:12px;line-height:1.55;margin:0;max-width:260px;white-space:normal}.current-card .hero-weather{width:72px;height:72px;flex:0 0 72px;margin:0}.current-card .current-metrics-six{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;margin-top:14px;padding-top:12px}.current-card .current-metrics-six>div{padding:0!important;text-align:left}.current-card .current-metrics-six dt{display:flex;align-items:center;gap:4px;font-size:10px;min-height:28px;line-height:1.25}.current-card .current-metrics-six .interface-icon{position:static;width:16px;height:16px;flex-shrink:0}.current-card .current-metrics-six dd{margin:3px 0 0;font-size:15px;letter-spacing:-.3px;line-height:1.35;white-space:nowrap}.current-card .current-metrics-six .metric-note{font-size:9px;line-height:1.25}.weather-update{font-size:11px;line-height:1.6;margin-block:10px 16px}.hourly-panel .hourly-grid{grid-template-columns:repeat(6,minmax(82px,1fr));gap:8px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x proximity}.hourly-panel .hour{padding:12px 6px;scroll-snap-align:start}.hourly-panel .hour strong{font-size:22px}.hourly-panel .hour>span:last-child{font-size:12px;min-height:3em}.hourly-panel .hour time{font-size:12px}.hourly-panel .hour .weather-icon{width:40px;height:40px}.forecast-panel .day-date strong{font-size:12px;line-height:1.4}.unified-footer .footer-main{grid-template-columns:1fr 1fr;gap:22px}.unified-footer .footer-main>div{grid-column:1/-1}.unified-footer .footer-logo{width:195px}.unified-footer nav{font-size:13px;gap:12px}.unified-footer .footer-bottom{font-size:11px;gap:10px 16px}.unified-footer .footer-bottom>a{margin-left:0}.test-banner{font-size:8px}.test-banner span{margin-left:6px}
}
@media(max-width:359px){.compact-header .header-icon{width:36px;height:38px;padding:8px}.current-card .hero-weather{width:60px;height:60px;flex-basis:60px}.current-card .big-temperature{font-size:59px}.current-card .current-metrics-six dd{font-size:13px}}
/* Mode nuit partagé : seules les couleurs changent, pas les données ni les icônes météo. */
html[data-theme=dark]{color-scheme:dark;--ink:#e2eef3;--muted:#b0c6d0;--blue:#63cde6;--line:#314957;--paper:#182d3a}
html[data-theme=dark] body,html[data-theme=dark] body.home-design-four{background:#101f2b;color:#e2eef3}
html[data-theme=dark] .site-header.unified-header,html[data-theme=dark] :is(.panel,.contact-card,.wilayas-panel,.header-search,.header-city-results,.prayer-hero,.prayer-calendar,.prayer-verse,.prayer-weather,.home-alger,.home-mini,.home-directory,.newsletter-panel){background:#182d3a;color:#e2eef3;border-color:#314957;box-shadow:none}
html[data-theme=dark] .current-card{background:#142733;color:#e2eef3}html[data-theme=dark] .current-card:before{background:linear-gradient(90deg,#142733 0%,#142733ef 35%,#14273380 80%),linear-gradient(0deg,#142733 5%,#14273300 90%)}html[data-theme=dark] .hero-panorama{opacity:.5}
html[data-theme=dark] :is(.primary-nav>a,.wilayas-toggle,.header-icon,.brand,.language-label,.contact-card input,.contact-card select,.contact-card textarea,.header-search input){color:#e2eef3}
html[data-theme=dark] :is(input,select,textarea){background:#102330;border-color:#476372;color:#e2eef3}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a9c1cc}
html[data-theme=dark] :is(.hour,.home-hours>div,.nearby-city,.prayer-tile,.pw-extremes,.wilaya-entry,.region-more){background:#213a49;color:#e2eef3;border-color:#314957}
html[data-theme=dark] :is(.hour>span,.forecast-condition,.section-note,.observation-date,.feels,.weather-update,.nearby-condition,.nearby-temperatures,.nearby-updated,.contact-note,.prayer-date,.calendar-note,.prayer-source,.prayer-location,.home-intro>p,.home-date,.home-alger-measures,.home-region h3,.home-row,.home-mini p,.home-mini small,.prayer-weather .pw-current span,.prayer-weather .pw-heading span){color:#b9cdd7}
html[data-theme=dark] :is(.forecast-min,.home-min,.nearby-temperatures b){color:#6bd0fa}html[data-theme=dark] :is(.forecast-max,.home-max,.nearby-temperatures>span+span b){color:#ffd073}
html[data-theme=dark] :is(.test-banner,.unified-footer){background:#152b38;color:#b9cdd7;border-color:#314957}html[data-theme=dark] .unified-footer :is(p,.footer-bottom){color:#b9cdd7;border-color:#314957}html[data-theme=dark] .footer-logo{filter:brightness(0) invert(1);opacity:.88}
html[data-theme=dark] :is(.primary-nav>a:hover,.wilayas-toggle:hover,.header-icon:hover,.header-icon[aria-expanded=true],.wilayas-links a:hover,.header-city-results a:hover,.header-city-results a:focus){background:#294b5d;color:#8ee5f6}
html[data-theme=dark] :is(.prayer-table th,.prayer-table td){border-color:#314957;color:#e2eef3}html[data-theme=dark] .prayer-table thead th{background:#213a49}html[data-theme=dark] .prayer-table tbody tr:nth-child(even){background:#1d3442}html[data-theme=dark] .prayer-tile.is-next,html[data-theme=dark] .prayers-panel li.is-next{background:#075e65;color:#fff}
html[data-theme=dark] :is(.notice,.prayer-warning){background:#3b3423;color:#f3dfae;border-color:#73603a}html[data-theme=dark] .contact-feedback{background:#164f47;color:#e0fff2}html[data-theme=dark] .contact-feedback.error{background:#573830;color:#ffe1d4}
html[data-theme=dark] .day-details{background:#213a49;color:#e2eef3}html[data-theme=dark] .prayer-controls select,html[data-theme=dark] .prayer-controls .secondary{background:#102330;color:#e2eef3;border-color:#476372}html[data-theme=dark] .prayer-table th:first-child{background:#182d3a}html[data-theme=dark] .prayer-table tbody tr:nth-child(even) th{background:#1d3442}html[data-theme=dark] .prayer-table thead th:first-child{background:#213a49}

/* Correctif v2 : six mesures sur une ligne et contrastes de l'accueil. */
@media(max-width:600px){
.current-card .current-metrics-six{grid-template-columns:repeat(6,minmax(74px,1fr));gap:10px;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:8px;scrollbar-width:thin;scrollbar-color:#83aebf transparent}
.current-card .current-metrics-six>div{min-width:0}.current-card .current-metrics-six dd{font-size:13px}.current-card .current-metrics-six dt{font-size:10px;min-height:30px}.current-card .current-metrics-six .interface-icon{width:15px;height:15px}
.current-card .hero-weather{align-self:flex-start;margin-left:auto;transform:translate(4px,-16px)}
}
/* Le libellé Fr existant prend la place de la loupe sur ordinateur. */
@media(min-width:851px){.compact-header .search-toggle{display:none}.site-header.compact-header .language-label{display:inline-block;margin-left:0;padding:10px 6px}}
html[data-theme=dark] .prayers-list .next-prayer{background:#075e65;border-color:#267f86}
html[data-theme=dark] .prayers-list .next-prayer :is(dt,dd,span,time){color:#f4fffd}
html[data-theme=dark] .prayer-next-label,html[data-theme=dark] .prayer-next-label strong{color:#e8f5f8}
html[data-theme=dark] .home-hours,html[data-theme=dark] .home-hours>div{background:#213a49;color:#f3f8fb}
html[data-theme=dark] .home-hours :is(time,strong){color:#f3f8fb}
html[data-theme=dark] .home-stamp{color:#d2e2e9}
html[data-theme=dark] .home-region{background:#182d3a;border-color:#3a5362}
html[data-theme=dark] .home-region h3{background:#213a49;color:#f3f8fb}
html[data-theme=dark] .home-region .home-row{background:#182d3a;border-color:#3a5362;color:#f3f8fb}
html[data-theme=dark] .home-region .home-row:hover,html[data-theme=dark] .home-region .home-row:focus-visible{background:#294b5d}
html[data-theme=dark] .home-region :is(.home-row-name,.home-row-name small,.region-more){color:#f3f8fb}
html[data-theme=dark] .home-region .region-more{background:#213a49;border-color:#3a5362}
html[data-theme=dark] .newsletter-panel h2{color:#f3f8fb}
html[data-theme=dark] .newsletter-panel :is(p,label,.newsletter-note){color:#d2e2e9}

/* dzmeteo new 69 — v 1.3 */
.mobile-solar-times,.weather-update-mobile{display:none}
@media(max-width:600px){
.current-card .observation-date{display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px;font-size:11px;line-height:1.6;max-width:100%}
.mobile-solar-times{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.solar-time{display:inline-flex;align-items:center;gap:3px;font-variant-numeric:tabular-nums}.solar-time .interface-icon{position:static;width:15px;height:15px}
.current-card .current-metrics-six{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible;padding-bottom:0}
.current-card .current-metrics-six .solar-metric{display:none}
.current-card .current-metrics-six dd{font-size:clamp(12px,3.55vw,15px)}.current-card .current-metrics-six dt{font-size:10px;gap:3px;min-height:30px}
.current-card .hero-weather{margin-right:24px;transform:translate(-8px,-16px)}
.current-card .weather-update-mobile{display:block;margin:14px 0 0;padding-top:10px;border-top:1px solid var(--line);font-size:10px;line-height:1.6}
.weather-update-desktop{display:none}
}
@media(min-width:851px){
.site-header.compact-header .language-label,.home-design-four .site-header.compact-header .language-label{font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;font-weight:600;letter-spacing:.2px;margin-right:12px;margin-left:0;padding:10px 8px;flex-shrink:0;color:var(--ink)}
}

/* dzmeteo new 69 — v 1.4 */
@media(min-width:851px){
.site-header.compact-header{column-gap:6px}.site-header.compact-header .header-actions{gap:0}
.site-header.compact-header .language-label,.home-design-four .site-header.compact-header .language-label{margin-left:0;margin-right:14px;padding-left:2px;padding-right:8px}
.home-design-four .home-scene{display:flex;flex-direction:column}.home-scene>.home-showcase{order:1;margin-top:24px}.home-scene>.home-intro{order:2;padding-block:28px 16px}.home-scene>.home-directory{order:3}.home-scene>.newsletter-panel{order:4}.home-scene>.home-credits{order:5}
.prayer-calendar .prayer-table{font-size:15px;font-variant-numeric:tabular-nums}.prayer-calendar .prayer-table th,.prayer-calendar .prayer-table td{padding:15px 10px;line-height:1.45}.prayer-calendar .prayer-table td{font-weight:600}.prayer-calendar .prayer-table th:first-child{font-size:14px}.prayer-calendar .prayer-table thead{font-size:13px}.prayer-calendar .prayer-table tbody tr:hover{background:#e5f3f8}html[data-theme=dark] .prayer-calendar .prayer-table tbody tr:hover{background:#294b5d}
}
@media(max-width:850px){.home-intro>.city-search{display:none}.main-column>.prayers-panel{margin-bottom:22px}}
@media(max-width:600px){
.current-card .current-main{display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:start;column-gap:8px;row-gap:8px;width:100%}
.current-card .temperature-block{display:contents}.current-card .big-temperature{grid-column:1;grid-row:1}
.current-card .hero-weather{grid-column:2;grid-row:1;margin-right:24px;margin-left:-24px;transform:translate(-8px,-16px)}
.current-card .condition-line{grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px}
.current-card .condition-line .condition{margin:0;font-size:18px}.current-card .condition-line .feels{margin:0;max-width:none;font-size:11px;line-height:1.5}
.current-card .current-metrics-six{border-top:0;padding-top:6px;margin-top:12px}
.current-card .weather-update-mobile{border-top:0;padding-top:0;margin-top:12px}
.current-card .mobile-solar-times{gap:0}.mobile-solar-times .solar-separator{margin-right:.25em}.mobile-solar-times .solar-time+.solar-time{margin-left:.6em}
}
html[data-theme=dark] .weather-update b{color:#d2e2e9}
.mobile-language-link{display:none!important}
@media(max-width:850px){.compact-header .primary-nav>.mobile-language-link{display:flex!important}}

