/* Framed public page headings share a solid background token with the
   navigation header. This keeps the header and the open-top envelope
   visually continuous in both themes, without affecting regular cards. */
html body.lms-navigation-v2.page-shell{
  --lms-envelope-header-surface:color-mix(in srgb,var(--bg) 97%,var(--surface));
}
html.theme-dark body.lms-navigation-v2.page-shell{
  --lms-envelope-header-surface:var(--lms-clean-card,var(--surface));
}
/* The immersive feed uses the same shared search header surface as the grid. */
html.theme-dark body.lms-navigation-v2.app-shell{
  --lms-envelope-header-surface:var(--lms-clean-card,var(--surface));
}
html body.lms-navigation-v2.page-shell>.lms-site-header{
  background:var(--lms-envelope-header-surface)!important;
}
html body.lms-navigation-v2.page-shell>main>:is(
  .media-lead-copy,
  .lms-page-intro,
  .lms-editorial-intro,
  .access-page-intro,
  .lms-public-hero,
  .guest-action-intro
),
html body.lms-navigation-v2.page-shell>main>.media-lead-copy{
  background:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
}
/* Route-qualified selectors deliberately outrank older page-specific
   background declarations, so the same token wins everywhere. */
html body.lms-navigation-v2.page-shell.route-home>main.media-home>.media-lead-copy,
html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro,
html body.lms-navigation-v2.page-shell.route-commune>main.city-page>.lms-public-hero,
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro,
html body.lms-navigation-v2.page-shell>main.guest-action-page>.guest-action-intro,
html body.lms-navigation-v2.page-shell>main.explore-page>.lms-page-intro{
  background:var(--lms-envelope-header-surface)!important;
}
html body.lms-navigation-v2.page-shell.route-commune>.lms-site-header{
  background:var(--lms-envelope-header-surface)!important;
}
html body.lms-navigation-v2.page-shell :is(
  .media-lead-copy,
  .lms-page-intro,
  .lms-editorial-intro,
  .access-page-intro,
  .lms-public-hero,
  .guest-action-intro
){
  background-color:var(--lms-envelope-header-surface)!important;
}
html body.lms-navigation-v2.page-shell.route-home>.lms-site-header::after,
html body.lms-navigation-v2.page-shell.route-boutiques>.lms-site-header::after,
html body.lms-navigation-v2.page-shell.route-commune>.lms-site-header::after,
html body.lms-navigation-v2.page-shell:has(>main.lms-public-information-page)>.lms-site-header::after,
html body.lms-navigation-v2.page-shell:has(>main.guest-action-page)>.lms-site-header::after{
  background:var(--lms-envelope-header-surface)!important;
}
/* Keep the decorative bottom waves and the rounded lower border untouched.
   No top stroke should interrupt the impression of one header envelope. */
html body.lms-navigation-v2.page-shell>main>:is(
  .media-lead-copy,.lms-page-intro,.lms-editorial-intro,.access-page-intro,.lms-public-hero,.guest-action-intro
){
  border-top:0!important;
}
@media(prefers-reduced-transparency:reduce){
  html body.lms-navigation-v2.page-shell{
    --lms-envelope-header-surface:var(--surface);
  }
}

/* PUBLIC_FOOTER_HEADER_PARITY_V2
   The site has one fixed visual appearance. The header, footer shell and
   legal strip all use the same surface. These selectors win against legacy
   footer styles and do not change the admin console or its layout. */
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer{
  --lms-footer-bg:var(--lms-envelope-header-surface)!important;
  background:var(--lms-envelope-header-surface)!important;
  background-color:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
  color:var(--text)!important;
  border-top:1px solid var(--line)!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer>.lms-footer-inner{
  background:transparent!important;
  background-image:none!important;
  box-sizing:border-box!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer .lms-footer-bottom{
  background:var(--lms-envelope-header-surface)!important;
  background-color:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
  color:var(--text)!important;
}
/* SOCIALS_VIEWPORT_WIDTH_RESTORED_V2: on desktop the social bar spans
   the entire footer/viewport again, as in the original design. The footer
   and its inner wrapper are already full-width; keep their existing
   background and leave the mobile social grid unaffected. */
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer .lms-footer-social{
  box-sizing:border-box!important;
  background:#000!important;
  background-image:none!important;
  border-color:var(--line)!important;
  color:#fff!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer .lms-footer-social>a{
  color:#fff!important;
  background:transparent!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer .lms-footer-social>a svg{
  color:inherit!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer .lms-footer-social>a:is(:hover,:focus-visible){
  background:#191919!important;
  color:var(--accent-text)!important;
}
@media(min-width:641px){
  html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>footer.lms-site-footer.lms-footer-reference.lms-public-footer .lms-footer-social{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
}

/* SITE_CONTENT_WIDTH_PARITY_V1
   A single 1180px content frame across public pages, regardless of route.
   Header and footer backgrounds remain full viewport width. Full-bleed
   photos/videos on detail and profile pages are deliberately excluded. */
html body.lms-navigation-v2.page-shell:not(.admin-console-shell){
  --lms-site-content-max:1180px;
  --lms-site-content-frame:min(var(--lms-site-content-max),calc(100vw - 32px));
  --lms-frame-width:var(--lms-site-content-frame)!important;
  --lms-content-width:var(--lms-site-content-max)!important;
  --lms-public-content-width:var(--lms-site-content-max)!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell)>main:is(
  .explore-page,.boutiques-page,.city-page,.directory-page,.contact-page,
  .legal-page,.public-access-page,.guest-action-page,.account-page,.form-page,
  .messages-page,.standard-page,.search-page,.services-page,.invoice-page,
  .premium-conversion-page
){
  box-sizing:border-box!important;
  width:var(--lms-site-content-frame)!important;
  max-width:var(--lms-site-content-max)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  left:auto!important;
  right:auto!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell)>main.media-home>:is(
  .media-lead-copy,.media-latest,.media-communes,.lms-home-faq
){
  box-sizing:border-box!important;
  width:var(--lms-site-content-frame)!important;
  max-width:var(--lms-site-content-max)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell)>main.detail-page>.detail-market-layout{
  box-sizing:border-box!important;
  width:var(--lms-site-content-frame)!important;
  max-width:var(--lms-site-content-max)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell)>main.public-profile-page>:is(
  .premium-store-search-wrap,.public-profile-toolbar,.premium-offers-list,
  .profile-offers-list,.premium-profile-sections,.personal-profile-sections,
  .profile-public-edit
){
  box-sizing:border-box!important;
  width:var(--lms-site-content-frame)!important;
  max-width:var(--lms-site-content-max)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:640px){
  html body.lms-navigation-v2.page-shell:not(.admin-console-shell)>main:is(
    .explore-page,.boutiques-page,.city-page,.directory-page,.contact-page,
    .legal-page,.public-access-page,.guest-action-page,.account-page,.form-page,
    .messages-page,.standard-page,.search-page,.services-page,.invoice-page,
    .premium-conversion-page
  ){
    max-width:calc(100vw - 32px)!important;
  }
}

/* MEDIA_CONTENT_FRAME_NO_X_SCROLL_V2
   Fix the actual overflow: older hero media used viewport width with a
   negative centering offset, wider than the usable layout viewport
   when a vertical scrollbar is present. Both media frames now use the exact
   common 1180px content width, with no negative margins or corner radius.
   The original media remain entirely visible in a stable responsive frame. */
/* Final viewport safety net: nested carousels can still scroll internally,
   but no page can shift left/right because of an off-canvas element. */
html.theme-dark{overflow-x:clip!important}
html.theme-dark body.lms-navigation-v2.page-shell:is(.route-publication,.route-profil){
  max-width:100%!important;
  overflow-x:clip!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card,
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover{
  display:flex!important;
  position:relative!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
  width:var(--lms-site-content-frame)!important;
  max-width:var(--lms-site-content-max,1180px)!important;
  min-width:0!important;
  height:auto!important;
  aspect-ratio:16/9!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  transform:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:var(--lms-envelope-header-surface)!important;
  overflow:hidden!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
  background:var(--lms-envelope-header-surface)!important;
  overflow:hidden!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .detail-market-media::after,
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover::after{
  border-radius:0!important;
  background:linear-gradient(90deg,var(--lms-envelope-header-surface) 0%,transparent 15%,transparent 85%,var(--lms-envelope-header-surface) 100%)!important;
  pointer-events:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .detail-market-media .detail-gallery>.detail-gallery-slide{
  border-radius:0!important;
  background:var(--lms-envelope-header-surface)!important;
  overflow:hidden!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .detail-market-media .detail-gallery>.detail-gallery-slide>img.detail-gallery-image,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .detail-market-media [data-detail-photos]>img.detail-photo-primary,
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover>img.premium-cover-image{
  position:relative!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  border-radius:0!important;
  background:transparent!important;
  mask-image:none!important;
  -webkit-mask-image:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .detail-market-media .detail-gallery>.detail-gallery-slide>img.detail-gallery-backdrop,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .detail-market-media [data-detail-photos]>img.detail-photo-backdrop,
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover>img.premium-cover-backdrop{
  border-radius:0!important;
  pointer-events:none!important;
}
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card,
  html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover,
  html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]{
    border-radius:0!important;
  }
}

/* DETAIL_CINEMATIC_BLACK_FADE_V1
   Reference: the black lateral vignette and bottom-to-page dissolve of a
   cinematic food hero. Only publication details use this treatment, never
   shop covers. No editorial title is placed on top of the media.
   This remains inside the shared 1180px frame (task 13). */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]{
  isolation:isolate!important;
  background:var(--bg)!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]>.detail-inline-video,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]>[data-detail-photos]{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  border-radius:0!important;
  z-index:10!important;
  opacity:1!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,
      transparent 42%,
      rgba(0,0,0,.12) 57%,
      rgba(0,0,0,.50) 77%,
      var(--bg) 100%),
    linear-gradient(90deg,
      var(--bg) 0%,
      #000 7%,
      rgba(0,0,0,.86) 14%,
      rgba(0,0,0,.40) 24%,
      transparent 35%,
      transparent 65%,
      rgba(0,0,0,.40) 76%,
      rgba(0,0,0,.86) 86%,
      #000 93%,
      var(--bg) 100%)!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card :is(
  .detail-type-overlay,.detail-media-badges,.detail-photo-expand,.detail-video-sound
){
  z-index:25!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-photo-expand{
  z-index:50!important;
}
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media]::after{
    background:
      linear-gradient(180deg,
        transparent 48%,
        rgba(0,0,0,.15) 66%,
        rgba(0,0,0,.45) 83%,
        var(--bg) 100%),
      linear-gradient(90deg,
        var(--bg) 0%,
        rgba(0,0,0,.92) 8%,
        rgba(0,0,0,.50) 18%,
        transparent 30%,
        transparent 70%,
        rgba(0,0,0,.50) 82%,
        rgba(0,0,0,.92) 92%,
        var(--bg) 100%)!important;
  }
}

/* LANDSCAPE_16_9_FILLS_CONTENT_V3
   Shared stable frame regardless of portrait/square/landscape media dimensions:
   16:9 on desktop and tablet, 4:3 on mobile. Original media remain visible
   with object-fit:contain and existing decorative blurred backdrop. */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card,
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover{
  height:auto!important;
  aspect-ratio:16/9!important;
  max-height:none!important;
  min-height:0!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .offer-media.detail-market-media[data-detail-media],
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover{
  border-radius:0!important;
}
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card,
  html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover{
    aspect-ratio:4/3!important;
  }
}

/* DETAIL_HERO_FULL_BLEED_BLACK_V2
   Black surrounds extend all the way to the viewport edges. The original
   centered media stays in the shared 1180px content frame and keeps its
   natural aspect ratio. The full-width backdrop is a non-interactive
   pseudo-element, not another scrolling or stretched media element. */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card{
  position:relative!important;
  z-index:0!important;
  isolation:isolate!important;
  overflow:visible!important;
  background:#000!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:calc(50% - 50dvw)!important;
  right:calc(50% - 50dvw)!important;
  z-index:0!important;
  background:#000!important;
  border:0!important;
  border-radius:0!important;
  pointer-events:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card>.offer-media.detail-market-media[data-detail-media]{
  position:relative!important;
  z-index:1!important;
  overflow:hidden!important;
  background:#000!important;
  border:0!important;
  border-radius:0!important;
}
/* The side fade starts exactly black at the media edges and gradually
   reveals the actual image or video. The vertical fade joins the page
   background below without making an extra band or clipping the media. */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card>.offer-media.detail-market-media[data-detail-media]::after{
  pointer-events:none!important;
  border-radius:0!important;
  background:
    linear-gradient(180deg,
      transparent 48%,
      rgba(0,0,0,.12) 64%,
      rgba(0,0,0,.48) 83%,
      var(--bg) 100%),
    linear-gradient(90deg,
      #000 0%,
      rgba(0,0,0,.97) 5%,
      rgba(0,0,0,.80) 12%,
      rgba(0,0,0,.44) 20%,
      transparent 31%,
      transparent 69%,
      rgba(0,0,0,.44) 80%,
      rgba(0,0,0,.80) 88%,
      rgba(0,0,0,.97) 95%,
      #000 100%)!important;
}
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card>.offer-media.detail-market-media[data-detail-media]::after{
    background:
      linear-gradient(180deg,transparent 54%,rgba(0,0,0,.18) 72%,var(--bg) 100%),
      linear-gradient(90deg,
        #000 0%,rgba(0,0,0,.82) 7%,rgba(0,0,0,.38) 15%,
        transparent 25%,transparent 75%,
        rgba(0,0,0,.38) 85%,rgba(0,0,0,.82) 93%,#000 100%)!important;
  }
}

/* DETAIL_MEDIA_PURE_BLACK_UNFILTERED_V4
   All sidebands are TRUE BLACK. The ONLY blurred/darkened element is the
   decorative duplicate behind the photo; the original photo and player
   never receive an overlay, brightness filter, hover filter or opacity.
   The pre-existing viewport-wide black ::before and portrait/16:9
   dimensions remain untouched. This applies to detail pages only. */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card::before,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card>.offer-media.detail-market-media[data-detail-media],
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card [data-detail-photos],
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-gallery,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-gallery>.detail-gallery-slide,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-inline-video{
  background:#000!important;
  background-color:#000!important;
  background-image:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card>.offer-media.detail-market-media[data-detail-media]::after{
  content:none!important;
  display:none!important;
  background:none!important;
  opacity:0!important;
  pointer-events:none!important;
}
/* The surrounding black absorbs the soft copy of the picture before it
   reaches the viewport margins. No grey panels or hard seam are left. */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-gallery>.detail-gallery-slide>img.detail-gallery-backdrop,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card [data-detail-photos]>img.detail-photo-backdrop{
  filter:blur(34px) brightness(.32)!important;
  opacity:.65!important;
  mask-image:radial-gradient(ellipse closest-side at 50% 50%,#000 15%,rgba(0,0,0,.78) 42%,rgba(0,0,0,.25) 70%,transparent 100%)!important;
  -webkit-mask-image:radial-gradient(ellipse closest-side at 50% 50%,#000 15%,rgba(0,0,0,.78) 42%,rgba(0,0,0,.25) 70%,transparent 100%)!important;
  pointer-events:none!important;
}
/* Original photos are completely unfiltered, including when hovered.
   No mask or dark pseudo-element can cover their pixels. */
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-gallery>.detail-gallery-slide>img.detail-gallery-image,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card [data-detail-photos]>img.detail-photo-primary,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-gallery>.detail-gallery-slide>img.detail-gallery-image:hover,
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card [data-detail-photos]>img.detail-photo-primary:hover{
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  mask-image:none!important;
  -webkit-mask-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publication main.detail-page.offer-detail.detail-unified-v3>.detail-media-card .detail-inline-video :is(iframe,video){
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  mask-image:none!important;
  -webkit-mask-image:none!important;
  backdrop-filter:none!important;
}

/* SHOP_CINEMATIC_COVER_BLACK_UNFILTERED_V1
   Public boutique cover now matches the publication detail hero:
   viewport-wide PURE BLACK surrounds, centered uncropped original photo,
   no overlay/filter/hover dimming on that photo. Only the decorative
   duplicate dissolves softly into black. The photo remains within the
   shared content frame, and the existing cover ratio and controls stay. */
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover{
  position:relative!important;
  z-index:0!important;
  isolation:isolate!important;
  overflow:visible!important;
  background:#000!important;
  background-color:#000!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover::before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:calc(50% - 50dvw)!important;
  right:calc(50% - 50dvw)!important;
  z-index:0!important;
  background:#000!important;
  border:0!important;
  border-radius:0!important;
  pointer-events:none!important;
}
/* No overlay may darken the real cover, whether at rest or on hover. */
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover::after{
  content:none!important;
  display:none!important;
  background:none!important;
  opacity:0!important;
  pointer-events:none!important;
}
/* The only treated layer is a non-interactive decorative copy, which
   fades into black instead of leaving grey panels beside portrait images. */
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover>img.premium-cover-backdrop{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  z-index:1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
  filter:blur(34px) brightness(.32)!important;
  opacity:.65!important;
  mask-image:radial-gradient(ellipse closest-side at 50% 50%,#000 15%,rgba(0,0,0,.78) 42%,rgba(0,0,0,.25) 70%,transparent 100%)!important;
  -webkit-mask-image:radial-gradient(ellipse closest-side at 50% 50%,#000 15%,rgba(0,0,0,.78) 42%,rgba(0,0,0,.25) 70%,transparent 100%)!important;
  pointer-events:none!important;
}
/* Keep every pixel of the customer's real cover visible and sharp. */
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover>img.premium-cover-image,
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover>img.premium-cover-image:hover{
  display:block!important;
  position:relative!important;
  z-index:2!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  filter:none!important;
  opacity:1!important;
  transform:none!important;
  mix-blend-mode:normal!important;
  mask-image:none!important;
  -webkit-mask-image:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transition:none!important;
}
/* Shared boutique actions (including the owner's cover upload) stay clickable. */
html.theme-dark body.lms-navigation-v2.page-shell.route-profil main.public-profile-page.premium-profile>.premium-cover>.shop-public-actions{
  position:absolute!important;
  z-index:8!important;
}

/* EXPLORE_GUEST_HEADER_SEAMLESS_V1
   Offres et pages d'accès : prolonger la surface du header dans le bandeau
   sans filet horizontal. Conserver la bordure basse et les côtés du cadre. */
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.explore-page)>.lms-site-header,
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page)>.lms-site-header{
  border-bottom:0!important;
  box-shadow:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.explore-page)>.lms-site-header::after,
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page)>.lms-site-header::after{
  content:none!important;
  display:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell>main.explore-page>.lms-page-intro,
html.theme-dark body.lms-navigation-v2.page-shell>main.guest-action-page>.guest-action-intro{
  border-top:0!important;
}

/* PUBLISH_GUEST_HERO_CLEAN_COMPACT_V1
   Ne concerne que l'accès invité à la publication. Même surface que le
   header et l'accueil, introduction courte et retour rapproché du texte.
   Les formulaires de connexion/inscription restent entièrement disponibles. */
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"])>main.guest-action-page>.guest-action-intro{
  background:var(--lms-envelope-header-surface)!important;
  background-color:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
  border-top:0!important;
  box-shadow:none!important;
  padding:clamp(22px,3vw,36px) clamp(18px,4vw,44px) clamp(18px,2.5vw,28px)!important;
  margin:0 auto clamp(16px,2.2vw,26px)!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro .guest-action-kicker{
  margin:0 auto 9px!important;
  gap:7px!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro .guest-action-kicker svg{
  width:17px!important;height:17px!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro>h1{
  font-size:clamp(28px,3.5vw,44px)!important;
  line-height:1.14!important;
  margin:0 auto 9px!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro .guest-action-lead{
  max-width:680px!important;
  margin:0 auto 9px!important;
  line-height:1.5!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro .guest-action-return{
  border:0!important;
  background:transparent!important;
  max-width:680px!important;
  justify-content:center!important;
  text-align:center!important;
  margin:0 auto!important;
  padding:2px 0!important;
  font-size:12px!important;
  line-height:1.5!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro .guest-action-back{
  display:inline-flex!important;
  min-height:34px!important;
  margin:2px auto 0!important;
  padding:4px 10px!important;
  justify-content:center!important;
  text-align:center!important;
}
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"])>main.guest-action-page>.guest-action-intro{
    padding:22px 16px 20px!important;
    margin-bottom:18px!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell:has(>main.guest-action-page[data-action="publier"]) .guest-action-intro>h1{
    font-size:clamp(26px,7vw,34px)!important;
  }
}

/* SEARCH_OVERLAY_HEADER_SURFACE_PARITY_V1
   The header loupe uses the same surface as the public editorial banners.
   Apply only to the shared search sheet and its category/filter side panels,
   not to the page, user content or dark translucent dismiss backdrop. */
html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .search-sheet.feed-search-panel,
html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] :is(.feed-category-drawer,.feed-filter-drawer){
  background:var(--lms-envelope-header-surface)!important;
  background-color:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
  color:var(--text)!important;
  box-shadow:none!important;
}
/* Preserve the clean join under the main header; the search form and
   interactive controls keep their current dimensions and z-indexes. */
html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .search-sheet.feed-search-panel{
  border-top:0!important;
  box-sizing:border-box!important;
  left:50%!important;right:auto!important;
  width:min(1120px,calc(100vw - 32px))!important;
  max-width:1120px!important;
  transform:translateX(-50%)!important;
  border-radius:0 0 28px 28px!important;
}
/* One common width for the shared search, never a feed-specific overlay. */
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .search-sheet.feed-search-panel{
    left:0!important;right:0!important;width:100%!important;
    max-width:none!important;transform:none!important;
    border-radius:0 0 20px 20px!important;
  }
}
html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .feed-search-panel>.drawer-head{
  background:transparent!important;
  background-image:none!important;
}

/* GLOBAL_EDITORIAL_ENVELOPE_SURFACE_PARITY_V2
   Editorial header envelopes across public routes must inherit exactly the
   same surface as the site header (including Annuaire, whose route-specific
   legacy CSS used var(--bg)). This intentionally leaves the main page body,
   image covers, ordinary cards and bottom/side envelope borders untouched. */
html.theme-dark body.lms-navigation-v2.page-shell:not(.admin-console-shell)>main:is(
  .directory-page,.lms-public-information-page,.contact-page,.legal-page,
  .boutiques-page,.explore-page,.city-page,.guest-action-page,
  .public-access-page,.standard-page
)>:is(
  .access-page-intro,.lms-editorial-intro,.lms-page-intro,
  .lms-public-hero,.guest-action-intro,.page-intro
),
html.theme-dark body.lms-navigation-v2.page-shell.route-annuaire>main.directory-page.lms-public-information-page>.access-page-intro,
html.theme-dark body.lms-navigation-v2.page-shell.route-commune>main.city-page>.lms-public-hero{
  background:var(--lms-envelope-header-surface)!important;
  background-color:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
  border-top:0!important;
  box-shadow:none!important;
}
/* No dividing stroke between header and a directly adjoining envelope. */
html.theme-dark body.lms-navigation-v2.page-shell:has(>main>:is(
  .access-page-intro,.lms-editorial-intro,.lms-page-intro,
  .lms-public-hero,.guest-action-intro
))>.lms-site-header{
  border-bottom:0!important;
  box-shadow:none!important;
}
html.theme-dark body.lms-navigation-v2.page-shell:has(>main>:is(
  .access-page-intro,.lms-editorial-intro,.lms-page-intro,
  .lms-public-hero,.guest-action-intro
))>.lms-site-header::after{
  content:none!important;
  display:none!important;
}

/* MOBILE_HEADER_SEARCH_ACTIONS_TWO_EDGES_V1
   Search opened with the header magnifier: compact but readable buttons,
   anchored at opposite ends of the form. Keep the reset state and both
   actions working, without changing desktop or the in-feed search UI. */
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .feed-search-panel .feed-search-actions{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    gap:8px!important;
    margin:12px 0 0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .feed-search-panel .feed-search-actions>button{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    height:auto!important;
    padding:8px 12px!important;
    margin:0!important;
    font-size:12px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .feed-search-panel .feed-search-actions>button[data-feed-filter-trigger]{
    margin-right:auto!important;
  }
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .feed-search-panel .feed-search-actions>button[type=submit]{
    margin-left:auto!important;
  }
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .feed-search-panel .feed-search-actions>button[hidden]{
    display:none!important;
  }
}

/* BOUTIQUES_MOBILE_FRAME_NO_CLIPPING_V1
   The boutique directory is both .explore-page and .boutiques-page; older
   desktop/offer rules used incompatible widths and padding. Give all direct
   sections exactly the same mobile content rail, so the intro's rounded
   right edge, search form, sort button and cards stay inside the viewport.
   Never conceal a too-wide component with overflow-x:clip. */
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.explore-page.boutiques-page{
    display:block!important;
    position:relative!important;
    box-sizing:border-box!important;
    width:calc(100% - 32px)!important;
    max-width:calc(100vw - 32px)!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0 0 calc(78px + env(safe-area-inset-bottom))!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    overflow-x:visible!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.explore-page.boutiques-page>:is(
    .lms-editorial-intro,.explore-searchbar,.explore-results-row,
    .boutiques-grid,.explore-pagination,.explore-empty-state
  ){
    position:relative!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro{
    padding:clamp(26px,6vw,36px) 16px 28px!important;
    border-top:0!important;
    border-radius:0 0 24px 24px!important;
    overflow-wrap:anywhere!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro h1{
    max-width:100%!important;
    font-size:clamp(25px,6.5vw,34px)!important;
    line-height:1.18!important;
    overflow-wrap:anywhere!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.explore-searchbar,
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.explore-searchbar>form,
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page .market-search-primary,
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page .market-search-primary>.explore-search-shell{
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page .market-search-primary>.explore-search-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(3,minmax(54px,auto))!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page .market-search-primary>.explore-search-shell>:is(
    .explore-search-query,.explore-search-category,.explore-search-location
  ){
    box-sizing:border-box!important;
    grid-column:1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.explore-results-row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page .explore-results-actions{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:auto!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.boutiques-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
    padding:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.boutiques-grid>.boutique-card{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-inline:0!important;
    transform:none!important;
  }
}

/* OFFERS_MOBILE_HOME_WIDTH_SINGLE_ROW_V1
   On mobile, Offres was 32px narrower inside than Accueil because the
   shared 100vw-32px content frame still inherited 14px padding each side
   from the old .explore-page rules. Keep one inset, like .media-lead-copy.
   The result count and the view/sort tools must occupy a single row. */
@media(max-width:640px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page){
    box-sizing:border-box!important;
    display:block!important;
    position:relative!important;
    width:var(--lms-site-content-frame)!important;
    max-width:calc(100vw - 32px)!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0 0 calc(78px + env(safe-area-inset-bottom))!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.lms-page-intro,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.explore-results-row,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.explore-grid,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.explore-pagination{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.lms-page-intro{
    border-top:0!important;
    border-radius:0 0 24px 24px!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.explore-results-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:6px!important;
    min-height:38px!important;
    margin-top:14px!important;
    margin-bottom:10px!important;
    padding:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.explore-results-row>.explore-results-meta{
    box-sizing:border-box!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font-size:11px!important;
    line-height:1.3!important;
    white-space:nowrap!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer>main.explore-page:not(.boutiques-page)>.explore-results-row>.explore-results-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    gap:4px!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 0 auto!important;
    padding:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-view-actions{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    gap:0!important;
    margin:0!important;
    padding:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-view-actions>a,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-sort-menu>summary,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-reset{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    height:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0 8px!important;
    gap:5px!important;
    font-size:11px!important;
    font-weight:400!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-view-actions>a>svg,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-sort-menu>summary>svg{
    flex:0 0 14px!important;
    width:14px!important;
    height:14px!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-view-actions>a>span,
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-sort-menu>summary>span{
    font-size:11px!important;
    font-weight:400!important;
    white-space:nowrap!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-reset{
    font-size:10px!important;
    padding-inline:5px!important;
  }
}
/* At iPhone SE widths, keep all actions accessible without a second line;
   the grid/scroll icon already has a full accessible aria-label. */
@media(max-width:359px){
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-view-actions>a{
    width:34px!important;
    padding:0!important;
  }
  html.theme-dark body.lms-navigation-v2.page-shell.route-explorer .explore-results-actions>.explore-view-actions>a>span{
    display:none!important;
  }
}

/* FEED_FILTERS_COMPACT_PLACEHOLDERS_OPTIONS_V1
   Reusable numeric range treatment: put Minimum / Maximum inside the inputs,
   keep screen-reader captions and the unit, and remove redundant vertical space.
   Do not apply to date fields, where visible labels are needed.
   Options remain checkbox labels, simply arranged as a compact 2-column grid. */
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filters-body{
  padding-top:5px!important;
  padding-bottom:15px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-row.market-category-filter-row{
  min-height:52px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-range{
  padding:12px 0 14px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-range h3{
  margin:0 0 9px!important;
  font-size:13px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:start!important;
  min-width:0!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields>label{
  display:block!important;
  min-width:0!important;
  margin:0!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields>label>.lms-range-field-label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields>label>div{
  display:flex!important;
  align-items:stretch!important;
  box-sizing:border-box!important;
  min-height:40px!important;
  max-width:100%!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields input{
  display:block!important;
  box-sizing:border-box!important;
  flex:1 1 0%!important;
  min-width:0!important;
  width:100%!important;
  min-height:38px!important;
  padding:0 8px 0 11px!important;
  font-size:13px!important;
  line-height:1.2!important;
  color:var(--text)!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields input::placeholder{
  color:var(--muted)!important;
  opacity:.65!important;
  font-size:11px!important;
  font-weight:400!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields input:focus::placeholder{
  opacity:0!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .lms-inline-placeholder-range .explore-number-range-fields>label>div>b{
  box-sizing:border-box!important;
  display:flex!important;
  flex:0 0 29px!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:29px!important;
  padding:0 6px!important;
  font-size:12px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-checks{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-content:start!important;
  gap:4px 10px!important;
  padding:12px 0 14px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-checks>h3{
  grid-column:1/-1!important;
  margin:0 0 5px!important;
  font-size:13px!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-checks>label{
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:start!important;
  box-sizing:border-box!important;
  min-width:0!important;
  min-height:36px!important;
  margin:0!important;
  padding:4px 0!important;
  gap:7px!important;
  font-size:12px!important;
  line-height:1.25!important;
  cursor:pointer!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-checks>label>input[type=checkbox]{
  width:16px!important;
  min-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  flex:0 0 16px!important;
  margin:0!important;
}
html body.lms-navigation-v2 .feed-filter-drawer .market-all-filter-checks>label>span{
  display:block!important;
  min-width:0!important;
}

/* UNIFIED_PUBLIC_EDITABLE_HERO_BANNERS_V1
   One visual contract for the reusable icon/eyebrow/title/description blocks.
   Their order is configured independently per page in Administration. */
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  gap:0!important;
  box-sizing:border-box!important;
  min-width:0!important;
  background:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:36px!important;
  height:36px!important;
  margin:0 auto 9px!important;
  padding:7px!important;
  border:1px solid var(--line)!important;
  border-radius:50%!important;
  background:transparent!important;
  color:var(--accent,#e32617)!important;
  flex:0 0 auto!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-icon svg{
  width:19px!important;
  height:19px!important;
  stroke:currentColor!important;
  fill:none!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-eyebrow{
  display:block!important;
  margin:0 auto 10px!important;
  padding:0!important;
  font-size:11px!important;
  font-weight:500!important;
  letter-spacing:.13em!important;
  line-height:1.4!important;
  text-transform:uppercase!important;
  color:var(--muted)!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-title{
  display:block!important;
  width:100%!important;
  max-width:900px!important;
  min-width:0!important;
  margin:0 auto 12px!important;
  padding:0!important;
  font-size:clamp(28px,3.4vw,46px)!important;
  font-weight:500!important;
  letter-spacing:-.035em!important;
  line-height:1.15!important;
  overflow-wrap:break-word!important;
  color:var(--text)!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-title .lms-hero-accent{
  color:var(--accent,#e32617)!important;
}
html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-description{
  display:block!important;
  width:100%!important;
  max-width:720px!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:0!important;
  font-size:clamp(13px,1.2vw,16px)!important;
  font-weight:400!important;
  line-height:1.6!important;
  letter-spacing:normal!important;
  color:var(--muted)!important;
  overflow-wrap:break-word!important;
}
@media(max-width:640px){
  html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]{
    padding:28px 16px!important;
  }
  html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-title{
    font-size:clamp(26px,7vw,34px)!important;
    line-height:1.17!important;
  }
  html body.lms-navigation-v2.page-shell:not(.admin-console-shell) main [data-hero-banner]>.lms-hero-banner-description{
    font-size:13px!important;
  }
}

/* ADDITIONAL_MEMBER_PAGE_CONTENT_FRAME_PARITY_V1
   Member/account and follows lists should use the exact shared 1180px rail
   rather than independently capped 1080/1100px inner containers.
   Dedicated login cards remain compact; contact uses the shared full frame. */
html body.lms-navigation-v2.page-shell.route-compte>main.account-page.member-account-page,
html body.lms-navigation-v2.page-shell.route-amis>main.explore-page{
  box-sizing:border-box!important;
  width:var(--lms-site-content-frame)!important;
  max-width:var(--lms-site-content-max,1180px)!important;
  min-width:0!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
html body.lms-navigation-v2.page-shell.route-amis>main.explore-page>:is(.connections-tabs,.friends-grid),
html body.lms-navigation-v2.page-shell.route-compte>main.account-page.member-account-page>section.member-section.account-profile-editor{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:640px){
  html body.lms-navigation-v2.page-shell.route-compte>main.account-page.member-account-page,
  html body.lms-navigation-v2.page-shell.route-amis>main.explore-page{
    max-width:calc(100vw - 32px)!important;
  }
  html body.lms-navigation-v2.page-shell.route-amis>main.explore-page>.friends-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* LMS_PAYMENT_CANCEL_EDITABLE_PAGE_BANNER_V1
   Use the same content rail and shared header surface as the other
   administrable page banners; the payment flow itself stays unchanged. */
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page{
  box-sizing:border-box!important;
  width:var(--lms-site-content-frame,min(1180px,calc(100vw - 32px)))!important;
  max-width:var(--lms-site-content-max,1180px)!important;
  min-width:0!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0 0 90px!important;
}
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page>.payment-cancel-banner{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-height:0!important;
  margin:0 0 clamp(20px,3vw,32px)!important;
  padding:clamp(24px,4vw,44px) clamp(18px,4vw,48px)!important;
  border:1px solid var(--lms-public-rule,var(--line))!important;
  border-top:0!important;
  border-radius:0 0 28px 28px!important;
  background:var(--lms-envelope-header-surface)!important;
  background-image:none!important;
  color:var(--text)!important;
  box-shadow:0 22px 48px -43px rgba(0,0,0,.5)!important;
}
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page>.payment-cancel-banner>.lms-hero-banner-description{
  white-space:pre-line!important;
  max-width:820px!important;
}
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page>.payment-cancel-result{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:920px!important;
  margin:0 auto!important;
  padding:0 clamp(4px,2.5vw,22px)!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--text)!important;
}
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page .payment-cancel-back-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 14px!important;
  padding:7px 0!important;
  background:transparent!important;
  color:var(--text)!important;
  font-size:13px!important;
  font-weight:600!important;
  text-decoration:none!important;
}
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page .payment-cancel-back-link>svg{
  width:17px!important;height:17px!important;stroke:currentColor!important;
}
html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page .payment-cancel-back-link:is(:hover,:focus-visible){
  color:var(--accent-text,var(--accent))!important;
}
@media(max-width:640px){
  html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page{
    width:calc(100% - 16px)!important;
    padding:0 0 calc(80px + env(safe-area-inset-bottom))!important;
  }
  html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page>.payment-cancel-banner{
    border-radius:0 0 24px 24px!important;
    padding:26px 16px!important;
  }
  html body.lms-navigation-v2.page-shell>main.payment-result-page.payment-cancel-page>.payment-cancel-result{
    padding:0 6px!important;
  }
}

/* LMS_VIDEO_CHOOSER_NO_ELLIPSE_AND_SEARCH_BANNER_V1
   Remove the inherited giant oval from the public video picker without
   touching previews, photo slots or site-wide button animation. */
html body.page-shell .publish-experience .publish-video-card .publish-video-stage,
html body.page-shell .publish-experience .publish-video-card .publish-video-trigger{
  border-radius:12px!important;
  background-image:none!important;
  box-shadow:none!important;
  outline-offset:0!important;
}
html body.page-shell .publish-experience .publish-video-card
:is(.publish-video-stage,.publish-video-trigger,.publish-video-empty)::before,
html body.page-shell .publish-experience .publish-video-card
:is(.publish-video-stage,.publish-video-trigger,.publish-video-empty)::after{
  content:none!important;
  display:none!important;
  border:0!important;
  border-radius:0!important;
  clip-path:none!important;
  background:none!important;
  box-shadow:none!important;
  animation:none!important;
}
html body.page-shell .publish-experience .publish-video-card .publish-video-label{
  border-radius:6px!important;
  top:11px!important;left:11px!important;
  z-index:5!important;
  overflow:visible!important;
}
html body.page-shell .publish-experience .publish-video-card .publish-video-trigger{
  border:0!important;
  isolation:auto!important;
}
html body.page-shell .publish-experience .publish-video-card .publish-video-empty{
  position:relative!important;
  z-index:2!important;
}
@media(max-width:640px){
  /* The loupe opens a page-banner-width card, not a full-bleed strip. */
  html.theme-dark body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .search-sheet.feed-search-panel,
  html body.lms-navigation-v2>.lms-shared-feed-search.search-drawer[data-search-drawer] .search-sheet.feed-search-panel{
    box-sizing:border-box!important;
    left:50%!important;right:auto!important;top:0!important;bottom:auto!important;
    width:calc(100vw - 32px)!important;
    max-width:calc(100vw - 32px)!important;
    max-height:calc(100dvh - var(--lms-public-header-height,68px) - 8px)!important;
    height:auto!important;
    margin:0!important;
    padding:16px!important;
    transform:translateX(-50%)!important;
    background:var(--lms-envelope-header-surface,var(--bg))!important;
    border:1px solid var(--line)!important;
    border-top:0!important;
    border-radius:0 0 24px 24px!important;
    box-shadow:0 20px 42px -36px rgba(0,0,0,.65)!important;
  }
}
