/* Desktop home: one dominant portrait film, then discovery, reassurance, details.
   Only the reversible clean-home structure is targeted; mobile/off keep native DOM.
   Expanded native panels and their animation clones retain their own geometry. */
@media (min-width:960px) {
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] main.spatial-stage {
    width:min(1200px,calc(100% - 48px));max-width:1200px;margin-inline:auto;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .home-spine.home-calm {
    display:block!important;width:100%;max-width:none;container-type:normal;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] [data-clean-home-source] {display:none!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .home-welcome {display:none!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home {
    --hls-clean-gap:16px;--hls-clean-hero-height:clamp(480px,calc(100svh - 180px),560px);
    display:flex;flex-direction:column;gap:24px;width:100%;min-width:0;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-hero {
    display:grid;grid-template-columns:minmax(0,31fr) minmax(0,69fr);
    grid-template-rows:minmax(0,1.1fr) minmax(0,.9fr);gap:var(--hls-clean-gap);height:var(--hls-clean-hero-height);
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-film {grid-column:1;grid-row:1 / 3;display:flex;justify-content:center;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-suite {grid-column:2;grid-row:1;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-booking {
    grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:var(--hls-clean-gap);min-width:0;min-height:0;height:100%;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] :is(.hls-clean-home-discovery,.hls-clean-home-confidence,.hls-clean-home-practical) {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--hls-clean-gap);min-width:0;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-discovery {height:210px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-confidence {height:168px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-practical {grid-template-columns:repeat(2,minmax(0,1fr));height:144px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-slot {min-width:0;min-height:0;}
  /* #contenu also outranks the legacy mobile :is(...#avis,#fidelite) heights
     if an Astro-carried stylesheet is briefly active while entering desktop. */
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] #contenu .hls-clean-home-slot > :is(a.home-destination,a.home-option,.home-stay,.daily-weather,details:not([open]):not(.terminal-clone)) {
    grid-area:auto!important;box-sizing:border-box;width:100%!important;max-width:none;
    height:100%!important;min-height:0!important;aspect-ratio:auto!important;margin:0;border-radius:24px;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-video {
    grid-area:auto!important;position:relative;top:auto;align-self:stretch;flex:none;
    width:100%;max-width:100%;height:100%;min-height:0;aspect-ratio:auto!important;margin:0;border-radius:24px;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-video .hero-video {width:100%;height:100%;object-fit:cover;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-slot > details:not([open]):not(.terminal-clone)>summary {
    box-sizing:border-box;width:100%;height:100%!important;min-height:0!important;aspect-ratio:auto!important;padding:20px 22px 32px!important;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-slot > :is(a.home-destination,a.home-option) {padding:20px 22px 32px!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-destination>div {height:100%;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;gap:8px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home :is(.home-services,.home-senses) h2 {font-size:20px!important;line-height:1.55!important;margin:4px 0 0!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-services>div>p {display:none;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-services .home-stay-facts {
    display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px 14px;margin:12px 0 0;padding:0;list-style:none;
    font:400 12px/1.5 'Montserrat',sans-serif;letter-spacing:0;text-transform:none;color:inherit;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-services .home-stay-facts li {display:inline-flex;gap:5px;align-items:baseline;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-stay {display:block;padding:0!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-availability {
    width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:10px;padding:20px 22px 32px!important;border-radius:24px;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-availability .daily-reading {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;min-height:0;margin:0;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-availability.has-daily-price [data-availability-price] {font-size:28px!important;line-height:1.2;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-senses>div {justify-content:flex-start;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .home-senses h2 {max-width:18ch;margin-top:20px!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-discovery .sense-summary-copy {justify-content:flex-start;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-discovery .home-guide p {max-width:30ch;margin-top:12px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-confidence .hls-clean-home-slot > details:not([open]):not(.terminal-clone)>summary {padding:16px 20px 28px!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-confidence details:not([open]):not(.terminal-clone) .sense-summary-copy {justify-content:flex-start;gap:8px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone) .review-average {display:none;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone) .sense-summary-copy {gap:6px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone)>summary h2 {margin:0!important;line-height:1.5!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone) .home-review-awards {
    grid-area:auto!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;margin:4px 0 0;padding:0;color:inherit;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone) .review-text-line {display:grid;grid-template-columns:minmax(0,1fr);justify-content:start;gap:2px;font-size:12px;line-height:1.5;letter-spacing:.04em;color:inherit;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone) .review-dot {display:none;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #avis:not([open]):not(.terminal-clone) .home-review-badge-date {font-size:12px;line-height:1.5;margin:0;color:inherit;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #presse:not([open]):not(.terminal-clone)>summary .card-cover-extra {position:absolute;left:50%;top:57%;transform:translate(-50%,-50%);width:calc(100% - 40px);max-width:340px;margin:0;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #presse:not([open]):not(.terminal-clone)>summary .press-logos {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:42px;grid-template-areas:'figaro elle spotlist gala';gap:10px;padding:12px;border-radius:14px;margin:0;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #presse:not([open]):not(.terminal-clone)>summary .press-logos img {width:100%;height:42px;max-height:42px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #fidelite:not([open]):not(.terminal-clone) h2 {font-size:18px!important;line-height:1.55!important;margin:4px 0!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #fidelite:not([open]):not(.terminal-clone) .sense-summary-copy>p {display:none;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home-practical .hls-clean-home-slot > details:not([open]):not(.terminal-clone)>summary {padding:14px 20px 26px!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #contact:not([open]):not(.terminal-clone) .sense-summary-copy {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 18px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #contact:not([open]):not(.terminal-clone) h2 {font-size:18px!important;line-height:1.55!important;margin:4px 0!important;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #contact:not([open]):not(.terminal-clone) .sense-summary-copy>p {display:none;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #contact:not([open]):not(.terminal-clone) .card-cover-extra {grid-column:2;grid-row:1 / span 2;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #contact:not([open]):not(.terminal-clone) .social-cover {display:flex;gap:12px;margin:0;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home #contact:not([open]):not(.terminal-clone) .social-cover :is(picture,img) {width:30px;height:30px;flex-basis:30px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-weather {
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:16px 20px!important;
  }
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-weather .weather-location {margin:5px 0 0;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-weather .daily-reading {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;margin:0;min-height:0;padding-right:40px;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-weather .daily-reading strong {font-size:22px!important;line-height:1.2;}
  html[data-retro-decor] body.content-sized.hls-retro-preview[data-universe='home'][data-helios-design][data-clean-home='active'] .hls-clean-home .daily-weather .weather-credit {grid-column:1 / -1;font-size:12px!important;line-height:1.5;}
}
@media(min-width:960px) {
 html[data-retro-decor] body.content-sized.hls-retro-preview[data-clean-home='active'] #contenu #avis:not([open]) .review-text-line {display:flex!important;flex-wrap:wrap;gap:4px 10px;width:100%;}
 html[data-retro-decor] body.content-sized.hls-retro-preview[data-clean-home='active'] #contenu #avis:not([open]) .review-text-line a {flex:0 0 auto;white-space:nowrap;}
}
