/* 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}}
