/* L'accueil conserve tous ses accès dans la hauteur disponible. */html:not([data-handi="on"]) .app:has(#view-home.is-active){min-height:100dvh;border-radius:0;padding:0}html:not([data-handi="on"]) .app:has(#view-home.is-active)>main{height:100dvh;padding:0;overflow:auto}html:not([data-handi="on"]) .app:has(#view-home.is-active)>.bottom-nav{display:none}html:not([data-handi="on"]) #view-home .home-cover{height:100dvh;min-height:540px;display:flex;flex-direction:column;padding:max(8px,env(safe-area-inset-top)) 12px max(8px,env(safe-area-inset-bottom));gap:6px;overflow:visible}html:not([data-handi="on"]) #view-home .home-header{order:0;min-height:44px;height:48px;flex:0 0 48px;align-items:center;gap:8px}html:not([data-handi="on"]) #view-home .home-logo{width:174px;max-width:calc(100% - 152px);max-height:48px;object-fit:contain}html:not([data-handi="on"]) #view-home .home-actions{gap:6px}html:not([data-handi="on"]) #view-home .round-action,html:not([data-handi="on"]) #view-home .bercail-entry{width:44px;height:44px;min-height:44px;flex-shrink:0}#view-home .banana-home-note{order:1;display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:6px 11px;min-height:44px;border:1px solid #ffed94;border-radius:16px;background:#fff4b9;color:#173f3a;box-shadow:0 2px 0 #bb92242a;cursor:pointer;text-align:left;flex-shrink:0}#view-home .banana-home-note>span:first-child{min-width:0;flex:1}#view-home .banana-home-note strong{font-size:14px;line-height:1.25}#view-home .banana-home-note small{display:block;margin-top:2px;font-size:11px;line-height:1.25;font-weight:500}#view-home .banana-home-note>span:last-child{font-size:24px;line-height:1}html:not([data-handi="on"]) #view-home .home-hero{order:2;display:grid;grid-template-columns:62px minmax(0,1fr) 112px;grid-template-rows:1fr;gap:6px;align-items:center;height:84px;min-height:84px;flex:0 0 84px;margin:0;align-self:stretch}html:not([data-handi="on"]) #view-home .mascot-stage{display:block;grid-area:1/1;height:84px;width:62px;overflow:visible}html:not([data-handi="on"]) #view-home .mascot-float{height:100%;width:100%;animation:none}html:not([data-handi="on"]) #view-home .mascot{height:84px;width:62px;max-width:100%;top:auto;bottom:0;right:0;object-fit:contain;transform:none;filter:drop-shadow(0 4px 4px #073a4328)}html:not([data-handi="on"]) #view-home .hero-copy{grid-area:1/2;min-width:0;padding:0}html:not([data-handi="on"]) #view-home .greeting{font-size:12px;line-height:1.2;margin:0 0 3px}html:not([data-handi="on"]) #view-home .hero-copy h1{font-size:clamp(20px,5.9vw,26px);line-height:1.04;margin:0;letter-spacing:-.7px}html:not([data-handi="on"]) #view-home .hero-subtitle{display:none}html:not([data-handi="on"]) #view-home .home-hero .sun-route{grid-area:1/3;width:112px;min-width:0;min-height:66px;align-self:center;margin:0;padding:5px 6px;border-radius:16px;box-shadow:none}html:not([data-handi="on"]) #view-home .sun-route__curve{height:27px}html:not([data-handi="on"]) #view-home .sun-route__line{height:24px}html:not([data-handi="on"]) #view-home .sun-route__times{font-size:6px}html:not([data-handi="on"]) #view-home .sun-route p{font-size:8px;line-height:12px;margin:2px 0 0;gap:4px}html:not([data-handi="on"]) #view-home .sun-route p strong{font-size:11px}html:not([data-handi="on"]) #view-home .sun-route__date{font-size:9px;line-height:12px}html:not([data-handi="on"]) #view-home .universes{order:3;display:grid;grid-template-rows:28px minmax(0,1fr);gap:5px;flex:1 1 0;min-height:225px;width:100%;margin:0;padding:0;justify-content:stretch}html:not([data-handi="on"]) #view-home .universes__title--home{min-height:0;margin:0 auto;padding:4px 12px;gap:5px;align-self:center}html:not([data-handi="on"]) #view-home .universes__title h2{font-size:13px;line-height:18px}html:not([data-handi="on"]) #view-home .universe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(60px,1fr));align-content:stretch;min-height:0;gap:5px 8px}html:not([data-handi="on"]) #view-home .universe{display:grid;grid-template-rows:minmax(0,1fr) 20px;gap:2px;min-height:60px;justify-items:center;align-items:center;grid-column:auto;margin:0;min-width:0}html:not([data-handi="on"]) #view-home .universe img{width:100%;height:100%;max-width:108px;max-height:108px;min-height:0;object-fit:contain;align-self:end}html:not([data-handi="on"]) #view-home .universe.handi-door:not(.handi-door--medallion) img{width:auto;max-width:100%;aspect-ratio:1;padding:3px;border-width:3px}html:not([data-handi="on"]) #view-home .universe b{align-self:center;max-width:100%;font-size:12px;line-height:16px;font-weight:900;white-space:nowrap;padding:1px 6px;margin:0}html:not([data-handi="on"]) #view-home .home-widgets{order:4;grid-template-columns:repeat(3,minmax(0,1fr));height:64px;flex:0 0 64px;gap:8px;margin:0}html:not([data-handi="on"]) #view-home .home-widget{height:64px;min-height:44px;padding:5px 3px;gap:2px;border-radius:18px}html:not([data-handi="on"]) #view-home .home-widget>span{font-size:21px;line-height:23px}html:not([data-handi="on"]) #view-home .home-widget strong{font-size:12px;line-height:14px}html:not([data-handi="on"]) #view-home .home-widget small{display:block;font-size:10px;line-height:12px}#view-home .home-footer{order:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;align-self:stretch;width:100%;height:auto;min-height:44px;flex:0 0 auto;margin:0;position:relative;z-index:6}#view-home .home-footer a,#view-home .home-footer button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;width:100%;height:auto;min-width:0;margin:0;padding:5px 3px;border:1px solid #ffffff8c;border-radius:12px;background:#fff7d9d9;box-shadow:none;color:#173f3a;font:700 12px/1.25 'Trebuchet MS',system-ui,sans-serif;text-decoration:none;cursor:pointer;text-align:center}#view-home .home-footer a:hover,#view-home .home-footer button:hover{background:#fff5be}#view-home .home-footer .banana-project-link{order:0}#view-home .home-footer .home-contact-link{order:1;align-self:stretch}#view-home .home-footer button{order:2}#view-home a:focus-visible,#view-home button:focus-visible{outline:3px solid #075867;outline-offset:2px}.app[data-theme="night"] #view-home .home-footer a,.app[data-theme="night"] #view-home .home-footer button{background:#102b49e8;border-color:#ffffff42;color:#fff6d7}.home-info-dialog{max-height:calc(100dvh - 32px);overflow:auto}.home-info-dialog .home-info-close{width:44px;height:44px}.home-info-contribute{display:block;margin-top:18px;padding:12px;border-radius:14px;background:#ffdf55;color:#173f3a;font-weight:800;text-align:center}@media(max-width:360px){html:not([data-handi="on"]) #view-home .home-hero{grid-template-columns:50px minmax(0,1fr) 100px;gap:4px}html:not([data-handi="on"]) #view-home .mascot-stage,html:not([data-handi="on"]) #view-home .mascot{width:50px;height:78px}html:not([data-handi="on"]) #view-home .home-hero .sun-route{width:100px;padding-inline:4px}html:not([data-handi="on"]) #view-home .hero-copy h1{font-size:20px}}@media(max-height:620px) and (orientation:portrait){html:not([data-handi="on"]) #view-home .home-cover{gap:4px;padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}html:not([data-handi="on"]) #view-home .home-header{height:44px;flex-basis:44px}html:not([data-handi="on"]) #view-home .home-logo{max-height:44px}html:not([data-handi="on"]) #view-home .home-hero{height:76px;min-height:76px;flex-basis:76px}html:not([data-handi="on"]) #view-home .home-widgets,html:not([data-handi="on"]) #view-home .home-widget{height:60px}html:not([data-handi="on"]) #view-home .home-widgets{flex-basis:60px}}@media(orientation:landscape) and (max-height:600px){html:not([data-handi="on"]) .app:has(#view-home.is-active){width:min(100%,1020px);max-width:1020px}html:not([data-handi="on"]) #view-home .home-cover{min-height:330px;display:grid;grid-template-columns:minmax(250px, .85fr) minmax(0,1fr);grid-template-rows:44px 44px minmax(76px,1fr) 60px 44px;gap:6px 20px;padding:8px 14px}html:not([data-handi="on"]) #view-home .home-header{grid-area:1/1;min-height:44px;height:44px}html:not([data-handi="on"]) #view-home .home-logo{width:160px;max-height:44px}html:not([data-handi="on"]) #view-home .banana-home-note{grid-area:2/1}html:not([data-handi="on"]) #view-home .home-hero{grid-area:3/1;grid-template-columns:50px minmax(0,1fr) 100px;gap:4px;height:76px;min-height:76px;align-self:center}html:not([data-handi="on"]) #view-home .mascot-stage,html:not([data-handi="on"]) #view-home .mascot{width:50px;height:76px}html:not([data-handi="on"]) #view-home .home-hero .sun-route{width:100px;grid-area:1/3}html:not([data-handi="on"]) #view-home .hero-copy h1{font-size:21px}html:not([data-handi="on"]) #view-home .universes{grid-area:1/2/6/3;min-height:0}html:not([data-handi="on"]) #view-home .home-widgets{grid-area:4/1;height:60px}html:not([data-handi="on"]) #view-home .home-widget{height:60px}html:not([data-handi="on"]) #view-home .home-footer{grid-area:5/1;justify-self:stretch}}

/* Navigation du 25 octobre : liens permanents, indépendants du thème saisonnier. */
#view-home .home-footer{display:flex;justify-content:center;align-items:center;align-self:center;width:auto;max-width:100%;min-height:32px;gap:8px;flex-wrap:wrap}
#view-home .home-footer a,#view-home .home-footer button{width:auto;min-width:90px;min-height:32px;padding:5px 12px;font-size:11px;line-height:1.25;border-radius:10px}
#view-home .widget-feedback{background:linear-gradient(140deg,#fff4b7,#ffd65f);color:#244537;border:1px solid #d8af28}
#view-home .widget-feedback strong{white-space:normal!important;text-wrap:balance;line-height:1.15;text-align:center}
.app[data-theme="night"] #view-home .widget-feedback{background:linear-gradient(140deg,#503c17,#705417);color:#fff3b7;border-color:#b38b3d}
html[data-banana-season="halloween"]:not([data-handi="on"]) #view-home .widget-feedback{background:linear-gradient(145deg,#ffdc78,#ff9839);color:#3e1545;border-color:#ffe9a3;box-shadow:0 3px 0 #431454,0 0 14px #ffb22d40}
html[data-handi="on"] #view-home .home-footer{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;width:auto!important;gap:8px!important;min-height:48px!important}
html[data-handi="on"] #view-home .home-footer a,html[data-handi="on"] #view-home .home-footer button{width:auto!important;min-width:90px!important;min-height:48px!important;height:auto!important;padding:8px 12px!important;font-size:calc(17px * var(--handi-scale))!important;line-height:1.35!important;white-space:normal!important}

