/* 2.95 — smartphone: un seul point de publication, disponibilite dans Quoi de neuf,
   commandes Reels / Pays / + reutilisees, stories verticales, et desktop intact. */
.gl-mobile-quick-compose,.gl-mobile-tools-mount,.gl-mobile-availability-mount{display:none}
@media(max-width:700px){
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .gl-mobile-feed-nav{display:none!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .feedhead{display:none!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .gl-mobile-engagement{display:none!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .adminfab{display:none!important}
  body.glamour281 .gl-feed-brand.gl-brand-banner,
  body.glamour281 .gl-feed-brand.gl-brand-banner .gl-brand-copy{height:32px!important;max-height:32px!important;min-height:32px!important;padding:1px 6px!important}
  body.glamour281 .gl-feed-brand.gl-brand-banner .gl-brand-logo{max-height:24px!important;max-width:min(48vw,150px)!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295{padding:4px!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .feedcol>#compose{
    display:block!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;
    margin:0 0 7px!important;padding:12px 11px 10px!important;border-radius:17px!important;
    background:linear-gradient(135deg,#2a1226,#1a0e1a)!important;border:1px solid #975170!important;
    box-shadow:0 3px 14px #0006!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-compose{
    display:flex!important;align-items:center;gap:9px;min-width:0;padding-bottom:8px;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-compose img{
    width:37px;height:37px;min-width:37px;object-fit:cover;border-radius:50%;border:2px solid #ef188b;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-open{
    display:block;flex:1 1 auto;min-width:0;width:auto!important;height:40px!important;min-height:40px!important;
    padding:8px 13px!important;margin:0!important;text-align:left!important;
    border:1px solid #a26982!important;border-radius:999px!important;
    background:#130e19!important;color:#f5dbe9!important;font-weight:500!important;font-size:14px!important;
    box-shadow:none!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-photo{
    display:grid!important;place-items:center;flex:0 0 39px;width:39px!important;height:39px!important;
    min-width:39px!important;min-height:39px!important;padding:7px!important;margin:0!important;
    border:1px solid #89536b!important;border-radius:50%!important;
    background:#241322!important;color:#f4b2d0!important;box-shadow:none!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-photo svg{width:19px;height:19px}
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-open:focus-visible,
  body.glamour281 .gl-feed-295 #compose .gl-mobile-quick-photo:focus-visible{outline:2px solid #ffe1ae!important;outline-offset:2px}
  /* The existing controls are reparented, not cloned. */
  body.glamour281 .gl-feed-295 #compose .gl-mobile-tools-mount{
    display:block!important;border-top:1px solid #694055;padding-top:9px;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-tools-mount .feedtools{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:5px!important;flex-wrap:nowrap!important;min-width:0!important;max-width:100%!important;
  }
  body.glamour281 .gl-feed-295 #compose .feedtools>*{min-width:0;flex:0 1 auto}
  body.glamour281 .gl-feed-295 #compose .feedtools>.reelsbtn{order:0;min-height:33px!important;padding:6px 10px!important;font-size:12px!important;border-radius:99px!important}
  body.glamour281 .gl-feed-295 #compose .feedtools>.cofilter{order:1;min-width:0;flex:1 1 auto}
  body.glamour281 .gl-feed-295 #compose .feedtools .cofilter>summary{
    min-width:0;max-width:100%;box-sizing:border-box!important;overflow:hidden;text-overflow:ellipsis;
    white-space:nowrap;padding:6px 9px!important;min-height:33px!important;font-size:11px!important;border-radius:99px!important;
  }
  body.glamour281 .gl-feed-295 #compose .feedtools>.createdd{order:2;flex:0 0 36px;position:relative}
  body.glamour281 .gl-feed-295 #compose .feedtools .createdd>.createbtn{
    display:grid;place-items:center;width:36px!important;height:36px!important;min-height:36px!important;
    border:1px solid #80506d!important;border-radius:11px!important;background:#251524!important;
    box-sizing:border-box;cursor:pointer;
  }
  body.glamour281 .gl-feed-295 #compose :is(.cofilter-pane,.createpane){z-index:35;max-width:calc(100vw - 36px);box-sizing:border-box}
  body.glamour281 .gl-feed-295 #compose .gl-mobile-availability-mount{
    display:block!important;margin-top:10px;border-top:1px solid #694055;padding-top:9px;
  }
  body.glamour281 .gl-feed-295 #compose .gl-availability{
    background:transparent!important;border:0!important;box-shadow:none!important;
    padding:0!important;margin:0!important;border-radius:0!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-daily-head{margin:0 0 7px!important}
  body.glamour281 .gl-feed-295 #compose .gl-daily-head>strong{font-size:12px!important;font-weight:750!important}
  body.glamour281 .gl-feed-295 #compose .gl-daily-head>strong span{color:#ff83b9!important}
  body.glamour281 .gl-feed-295 #compose .gl-daily-caption{display:none!important}
  body.glamour281 .gl-feed-295 #compose .chips.gl-daily-slots{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-daily-slots>form{min-width:0!important;width:100%!important;max-width:100%!important;margin:0!important}
  body.glamour281 .gl-feed-295 #compose .gl-daily-slots button.gl-daily-slot{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;
    min-width:0!important;width:100%!important;max-width:100%!important;
    min-height:36px!important;height:auto!important;padding:5px 2px!important;
    border-radius:10px!important;white-space:normal!important;overflow-wrap:anywhere!important;
    font-size:10px!important;line-height:1.16!important;text-align:center!important;
  }
  /* The separately saved status-of-the-day is deliberately absent on mobile.
     It remains in the desktop account experience, without deleting user data. */
  body.glamour281 .gl-feed-295 #compose .gl-daily-form,
  body.glamour281 .gl-feed-295 #compose .gl-daily-summary{display:none!important}
  body.glamour281 .gl-feed-295 #compose .gl-compose-editor-295{display:none!important;margin-top:10px;border-top:1px solid #694055;padding-top:10px}
  body.glamour281 .gl-feed-295 #compose.gl-composer-expanded .gl-compose-editor-295{display:block!important}
  body.glamour281 .gl-feed-295 #compose .gl-composer-editor-295 .gl-mobile-compose-intro{display:none!important}
  body.glamour281 .gl-feed-295 #compose .gl-composer-editor-295 textarea{min-height:90px!important;max-width:100%!important;box-sizing:border-box!important}
  body.glamour281 .gl-feed-295 #compose .gl-composer-editor-295 form>label{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere}
  body.glamour281 .gl-feed-295 #compose .gl-composer-editor-295 input[type=file]{font-size:11px;max-width:100%!important;box-sizing:border-box!important}
  body.glamour281 .gl-feed-295 #compose .gl-composer-editor-295 .planbtns{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
  body.glamour281 .gl-feed-295 #compose .gl-composer-editor-295 .planbtns button{font-size:11px!important;padding:6px 9px!important}
  /* Facebook-like vertical story cards; no empty padding above images. */
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .feedcol>.gl-stories-premium{
    margin:0 0 8px!important;padding:9px 7px 8px!important;border-radius:14px!important;
  }
  body.glamour281 .gl-feed-295 .gl-stories-premium .gl-section-head{margin-bottom:5px!important}
  body.glamour281 .gl-feed-295 .gl-stories-premium .gl-section-head h2{font-size:14px!important;margin:0 0 4px!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .gl-stories-premium .storybar{
    display:flex!important;align-items:stretch!important;gap:8px!important;
    overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;
    max-width:100%;min-height:161px!important;height:161px!important;padding:2px 0 6px!important;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .gl-stories-premium .storybar::-webkit-scrollbar{display:none}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc{
    display:block!important;position:relative!important;flex:0 0 105px!important;
    width:105px!important;min-width:105px!important;max-width:105px!important;
    height:153px!important;min-height:153px!important;max-height:153px!important;
    overflow:hidden!important;border-radius:13px!important;scroll-snap-align:start;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc:not(.sbc-add):not(.sbc-empty) .sbc-bg{
    inset:0!important;width:100%!important;height:100%!important;min-width:0!important;
    object-fit:cover!important;border-radius:12px!important;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc-add .sbc-top{
    display:block;height:112px!important;max-height:112px!important;overflow:hidden;border-radius:12px 12px 0 0;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc-add .sbc-top img{object-fit:cover;width:100%;height:100%}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc-add .sbc-plus{top:101px!important;left:50%;transform:translateX(-50%);z-index:2}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc-name{position:absolute;bottom:3px!important;left:3px;right:3px;font-size:11px!important;color:#fff;text-align:center;text-shadow:0 1px 5px #000!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc .sbc-av{width:29px!important;height:29px!important;top:5px!important;left:5px!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc-empty{border:1px dashed #6e4763!important}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc-empty .sbc-label{font-size:11px!important;padding:6px!important;line-height:1.3!important}
  body.glamour281 .gl-feed-295 .post{overflow-wrap:anywhere}
}
@media(max-width:350px){body.glamour281 .gl-feed-295 #compose .gl-daily-slots button.gl-daily-slot{font-size:9px!important;min-height:39px!important}}
@media(prefers-reduced-motion:reduce){body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar{scroll-behavior:auto!important}}

@media(max-width:700px){
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 #compose .gl-mobile-availability-mount .gl-availability{
    display:block!important;height:auto!important;min-height:0!important;max-height:none!important;
    padding:0!important;margin:0!important;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 #compose .gl-mobile-availability-mount .gl-availability .chips.gl-daily-slots{
    margin:0!important;padding:0!important;min-height:0!important;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 .storybar .sbc{
    height:153px!important;min-height:153px!important;max-height:153px!important;
  }
}

/* 2.95.1 : menu + mobile : panneau dans le flux et dans le cadre du compositeur.
   Le positionnement flottant original reste intact sur ordinateur. */
.gl-mobile-create-tray{display:none}
@media(max-width:700px){
  body.glamour281 .gl-feed-295 #compose .gl-mobile-create-tray:not([hidden]){
    display:block!important;position:relative!important;min-width:0;width:100%;
    margin:9px 0 3px!important;padding:8px!important;box-sizing:border-box!important;
    border:1px solid #8c526f!important;border-radius:13px!important;
    background:linear-gradient(140deg,#241421,#140d1b)!important;
    box-shadow:inset 0 1px 0 #ffffff0c!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-create-tray .createpane{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;
    position:static!important;left:auto!important;right:auto!important;top:auto!important;
    transform:none!important;min-width:0!important;max-width:100%!important;width:100%!important;
    padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;
    background:transparent!important;border-radius:0!important;box-sizing:border-box!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-create-tray .createpane a{
    display:flex!important;align-items:center;justify-content:flex-start;gap:7px!important;
    min-width:0!important;min-height:43px!important;max-width:100%!important;
    padding:8px 9px!important;border:1px solid #563449!important;border-radius:10px!important;
    background:#201423!important;box-sizing:border-box!important;
    text-decoration:none!important;color:#f6e6ee!important;
    font-weight:600!important;font-size:12px!important;line-height:1.25!important;
    overflow-wrap:anywhere!important;white-space:normal!important;
  }
  body.glamour281 .gl-feed-295 #compose .gl-mobile-create-tray .createpane a+a{border-top:1px solid #563449!important}
  body.glamour281 .gl-feed-295 #compose .gl-mobile-create-tray .createpane a:focus-visible{
    outline:2px solid #ffd9a1!important;outline-offset:2px!important;
  }
  body.glamour281 .gl-feed-295 #compose .feedtools>.createdd[open]>.createbtn{
    border-color:#ef188b!important;background:#4a1636!important;
  }
}

/* 2.95.2 — Accroche mobile : conserver le nom dans l'en-tête global,
   retirer uniquement la bannière en double sur /feed et empêcher les
   créneaux de déborder dans les petites colonnes. Bureau inchangé. */
@media (max-width:700px) {
  body.glamour281 .gl-feed-brand.gl-brand-banner {display:none!important;}
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 #compose .gl-daily-slots button.gl-daily-slot {
    position:relative!important;
    display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    min-height:53px!important;height:53px!important;
    gap:2px!important;padding:4px 3px!important;
    box-sizing:border-box!important;overflow:hidden!important;
    white-space:normal!important;text-align:center!important;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 #compose .gl-daily-slots .gl-slot-icon {
    display:block;flex:0 0 auto;line-height:1!important;font-size:13px!important;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 #compose .gl-daily-slots .gl-slot-label {
    display:block;min-width:0;max-width:100%;width:100%;
    font-size:clamp(9px,2.55vw,11px)!important;font-weight:700;line-height:1.12!important;
    white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:auto;
  }
  body.glamour281 .feedgrid.gl-three-column-feed.gl-feed-295 #compose .gl-daily-slots .gl-slot-check {
    position:absolute;right:4px;top:2px;line-height:1;font-size:10px!important;
  }
}
