/* Brintage Web R543 / Android V6.315 — Crear publicación en flujo natural.
   El collage SIEMPRE ocupa el ancho disponible, cuadrado 1:1.
   El contenido extra hace scroll dentro del editor en vez de pisar Publicar. */
@media(max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-editor-step,
  #key > #createpost.pg.fixed-createpost.cp-editor-step{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    height:100%!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    box-sizing:border-box!important;
    gap:clamp(10px,2.5vw,16px)!important;
    padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))!important;
    scroll-padding-bottom:24px;
  }
  /* Nada puede comprimir el collage para hacer entrar el footer en pantalla. */
  #createpost.mobile-createpost.cp-editor-step > .cp-middle,
  #createpost.fixed-createpost.cp-editor-step > .cp-middle{
    position:relative!important;
    box-sizing:border-box!important;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    margin:0!important;
    transform:none!important;
  }
  #createpost.cp-editor-step > .cp-pos.cp-caption-pos{
    position:relative!important;
    flex:0 0 auto!important;
    width:calc(100% - 18px)!important;
    max-width:calc(100% - 18px)!important;
    min-height:50px!important;
    height:auto!important;
    margin:0 9px!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  #createpost.mobile-createpost.cp-editor-step > .cp-collage-tabs,
  #createpost.fixed-createpost.cp-editor-step > .cp-collage-tabs{
    position:relative!important;
    flex:0 0 auto!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    transform:none!important;
    margin-bottom:clamp(6px,1.8vw,10px)!important;
  }
  /* La primera fila y la segunda siguen formando el menú continuo de V6.312;
     sólo se reserva espacio real al TERMINAR ese bloque. */
  #createpost.mobile-createpost.cp-editor-step > .cp-mobile-design-launcher{
    flex:0 0 auto!important;
    height:auto!important;
  }
  #createpost.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav{
    flex:0 0 auto!important;
    min-height:0!important;
  }
  #createpost.cp-editor-step > .pB.cp-bottom{
    position:relative!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0 9px 10px!important;
    top:auto!important;
    bottom:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    z-index:1!important;
  }
  #createpost.cp-editor-step > .pB.cp-bottom .cp-cross-share,
  #createpost.cp-editor-step > .pB.cp-bottom > .publish-submit{
    position:relative!important;
    flex:0 0 auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
  }
  #createpost.cp-editor-step > .pB.cp-bottom .cp-cross-share{
    margin:0 0 12px!important;
  }
  #createpost.cp-editor-step > .pB.cp-bottom > .publish-submit{margin:0!important;}
}
@media(min-width:769px){
  #createpost.fixed-createpost.cp-editor-step{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    box-sizing:border-box!important;
    min-height:0!important;
    padding-bottom:clamp(12px,1.8dvh,22px)!important;
    scroll-padding-bottom:20px;
  }
  #createpost.fixed-createpost.cp-editor-step > .cp-middle{
    flex:0 0 auto!important;
    aspect-ratio:1/1!important;
    height:var(--cp-editor-fit)!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .cp-collage-tabs,
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpb.pB.cp-bottom{
    flex:0 0 auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpb.pB.cp-bottom{
    position:relative!important;
    top:auto!important;bottom:auto!important;
    transform:none!important;
    overflow:visible!important;
    margin-top:clamp(6px,1.3dvh,12px)!important;
  }
}


/* R557 - Se conserva el compartir compacto solicitado por el usuario. */
#createpost .cp-cross-share-copy small{display:none!important;}
#createpost .cp-cross-share-label{min-height:39px!important;grid-template-columns:27px minmax(0,1fr) 38px!important;gap:7px!important;padding:5px 9px!important;border-radius:10px!important;}
#createpost .cp-cross-share-icon{width:27px!important;height:27px!important;border-radius:8px!important;background-size:15px 15px!important;}
#createpost .cp-cross-share-copy strong{font-size:12px!important;line-height:1.2!important;}
#createpost .cp-cross-share-switch{transform:scale(.87);transform-origin:right center;}

/* R563 / V6.334 — editor movil en flujo natural.
   El contenedor ocupa el ancho disponible; las opciones se recorren con
   scroll vertical real y el collage conserva SIEMPRE aspect-ratio: 1 / 1.
   Solo el paso de EDICION, no la galeria ni los menus de hoja/modal. */
@media (max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-editor-step,
  #key > #createpost.pg.fixed-createpost.cp-editor-step{
    width:100%!important;max-width:100%!important;
    height:100%!important;min-height:0!important;max-height:none!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;
    box-sizing:border-box!important;
    gap:12px!important;
    padding:10px 10px calc(22px + env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    scroll-padding-bottom:22px;
    --cp-mobile-visor-shift:0px;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-middle,
  #key > #createpost.pg.fixed-createpost.cp-editor-step > .cp-middle{
    position:relative!important;display:block!important;
    flex:0 0 auto!important;align-self:stretch!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:1/1!important;
    margin:0!important;transform:none!important;
    box-sizing:border-box!important;
  }
  #createpost.cp-editor-step > .cp-middle > .cl-collage,
  #createpost.cp-editor-step > .cp-middle > .cl-hidden{
    width:100%!important;height:100%!important;
  }
  #key > #createpost.cp-editor-step > .cp-pos.cp-caption-pos{
    flex:0 0 auto!important;position:relative!important;
    width:100%!important;max-width:100%!important;
    margin:0!important;min-height:54px!important;height:auto!important;
    top:auto!important;bottom:auto!important;transform:none!important;
    box-sizing:border-box!important;
  }
  #key > #createpost.cp-editor-step > .cp-collage-tabs{
    flex:0 0 auto!important;align-self:stretch!important;
    position:relative!important;
    width:100%!important;max-width:100%!important;
    margin:0!important;transform:none!important;
    min-height:44px!important;height:auto!important;
    box-sizing:border-box!important;
  }
  #key > #createpost.mobile-createpost.cp-editor-step > .cp-mobile-design-launcher{
    flex:0 0 auto!important;align-self:stretch!important;
    width:100%!important;max-width:100%!important;
    margin:0!important;box-sizing:border-box!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  #key > #createpost.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav,
  #key > #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav{
    position:relative!important;flex:0 0 auto!important;
    width:100%!important;max-width:100%!important;
    min-height:96px!important;height:104px!important;max-height:140px!important;
    margin:0!important;box-sizing:border-box!important;
  }
  #key > #createpost.cp-editor-step > .pB.cp-bottom{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:9px!important;
    position:relative!important;flex:0 0 auto!important;
    width:100%!important;max-width:100%!important;
    min-height:0!important;height:auto!important;max-height:none!important;
    margin:0!important;padding:0 0 8px!important;
    top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
    transform:none!important;overflow:visible!important;box-sizing:border-box!important;
  }
  #key > #createpost.cp-editor-step > .pB.cp-bottom .cp-cross-share,
  #key > #createpost.cp-editor-step > .pB.cp-bottom > .publish-submit{
    flex:0 0 auto!important;position:relative!important;
    width:100%!important;max-width:100%!important;
    top:auto!important;bottom:auto!important;
    transform:none!important;margin:0!important;
    box-sizing:border-box!important;
  }
  #createpost.cp-editor-step > .pB.cp-bottom > .publish-submit{
    min-height:46px!important;
  }
}


/* R563 — escritorio: vuelve a utilizar el ancho real de la columna derecha
   y el scroll natural. Se elimina la restriccion del collage por altura
   de pantalla que achicaba TODOS los controles desde R557. */
@media (min-width:769px){
  html,body,#key.fx169{background-color:#fbfdff!important;}
  #key.fx169 > #createpost.fixed-createpost.pg.cp-editor-step{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:flex-start!important;
    width:100%!important;max-width:100%!important;
    height:100%!important;min-height:0!important;max-height:100%!important;
    padding:12px var(--bt-desktop-right-edge,var(--bt-desktop-edge)) 24px var(--bt-desktop-main-left)!important;
    margin:0!important;row-gap:12px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;
    scrollbar-gutter:stable;scroll-padding-bottom:20px;
    --cp-editor-fit:100%;
    background:#fbfdff!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .cp-middle,
  #createpost.fixed-createpost.cp-editor-step > .cp-collage-tabs,
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav,
  #createpost.fixed-createpost.cp-editor-step > .cp-pos.cp-caption-pos,
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpb.pB.cp-bottom{
    flex:0 0 auto!important;align-self:stretch!important;
    width:100%!important;max-width:100%!important;
    min-width:0!important;
    margin:0!important;box-sizing:border-box!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .cp-middle{
    display:block!important;position:relative!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:1/1!important;transform:none!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .cp-collage-tabs{
    min-height:48px!important;height:auto!important;max-height:none!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .cp-pos.cp-caption-pos{
    position:relative!important;height:auto!important;min-height:58px!important;
    max-height:110px!important;top:auto!important;bottom:auto!important;
    transform:none!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav{
    --cp-mini-size:clamp(82px,10vw,128px)!important;
    position:relative!important;
    height:120px!important;min-height:110px!important;max-height:144px!important;
    padding-left:44px!important;padding-right:44px!important;
    overflow:visible!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpb.pB.cp-bottom{
    position:relative!important;
    top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
    transform:none!important;height:auto!important;min-height:0!important;
    max-height:none!important;padding:6px 4px 12px!important;
    overflow:visible!important;border-radius:12px!important;
    background:transparent!important;
  }
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpb.pB.cp-bottom > .cp-cross-share,
  #createpost.fixed-createpost.cp-editor-step > .fixed-cpb.pB.cp-bottom > .publish-submit{
    width:100%!important;max-width:100%!important;
    min-height:44px!important;height:auto!important;
    margin:0 0 8px!important;
  }
}

/* R568 / V6.339 — La visibilidad de cada banco se controla mediante JS.
   NO imponer display:flex!important sobre .cp-desings: sobrescribe
   .hide() y provoca una fila por cada categoría oculta.
   Carrusel de diseños de borde a borde (R564/V6.335).
   Cuatro miniaturas 1:1, separaciones constantes y flechas superpuestas,
   sin restar ancho al carrusel. No afecta el collage principal. */
@media (min-width:769px){
  #key > #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav{
    --cp-selector-gap:clamp(7px,1.1vw,12px);
    display:block!important;
    padding:0!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    flex:0 0 auto!important;
    overflow:visible!important;
  }
  #key > #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav > .cp-desings{
    width:100%!important;height:auto!important;min-height:0!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    padding:0!important;margin:0!important;
    gap:var(--cp-selector-gap)!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  #key > #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav > .cp-desings > .sC{
    box-sizing:border-box!important;
    width:calc((100% - 3 * var(--cp-selector-gap)) / 4)!important;
    flex:0 0 calc((100% - 3 * var(--cp-selector-gap)) / 4)!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:1/1!important;align-self:stretch!important;
    margin:0!important;scroll-snap-align:start;
  }
  #key > #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav > .cp-arrow-left{left:-16px!important;}
  #key > #createpost.fixed-createpost.cp-editor-step > .fixed-cpnav.cp-designs-nav > .cp-arrow-right{right:-16px!important;}
}
@media (max-width:768px){
  #key > #createpost.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav{
    --cp-selector-gap:clamp(5px,1.5vw,9px);
    display:flex!important;align-items:center!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    padding:0!important;margin:0!important;
    flex:0 0 auto!important;
  }
  #key > #createpost.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav > .cp-desings{
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    width:100%!important;height:auto!important;min-height:0!important;
    padding:0!important;margin:0!important;
    gap:var(--cp-selector-gap)!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
  }
  #key > #createpost.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav > .cp-desings > .sC{
    box-sizing:border-box!important;
    width:calc((100% - 3 * var(--cp-selector-gap)) / 4)!important;
    flex:0 0 calc((100% - 3 * var(--cp-selector-gap)) / 4)!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    aspect-ratio:1/1!important;margin:0!important;
    scroll-snap-align:start;
  }
}


/* R569 / V6.340 — Correccion aislada del editor movil.
   El banco original NO debe renderizarse dentro del editor: se monta en la
   hoja cuando se abre el selector. El collage 1:1 permanece intacto. */
@media (max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav,
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-designs-nav{
    display:none!important;height:0!important;min-height:0!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step{
    gap:6px!important;
    padding:6px 9px calc(8px + env(safe-area-inset-bottom,0px))!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-collage-tabs,
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-mobile-design-launcher{
    margin-top:0!important;margin-bottom:0!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-collage-tabs{
    padding-top:1px!important;padding-bottom:3px!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .pB.cp-bottom{
    gap:5px!important;padding-bottom:3px!important;
  }
}

/* R573 / V6.344 — only mobile editor: use the REAL available height.
   The collage side is measured by cp_fit_mobile_editor_layout, never distorted.
   Desktop selectors and spacing intentionally remain unchanged. */
@media (max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-editor-step{
    --cp-fit-gap:clamp(3px,.7dvh,7px);
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:var(--cp-fit-gap)!important;
    position:relative!important;width:100%!important;height:100%!important;max-height:100%!important;
    min-height:0!important;margin:0!important;padding:3px 9px 0!important;
    box-sizing:border-box!important;overflow:hidden!important;overscroll-behavior:none!important;
    -webkit-overflow-scrolling:auto!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-middle{
    display:block!important;position:relative!important;
    flex:0 0 var(--cp-mobile-collage-side, min(calc(100vw - 18px), 43dvh))!important;
    width:var(--cp-mobile-collage-side, min(calc(100vw - 18px), 43dvh))!important;
    height:var(--cp-mobile-collage-side, min(calc(100vw - 18px), 43dvh))!important;
    min-width:0!important;min-height:0!important;max-width:100%!important;max-height:none!important;
    aspect-ratio:1/1!important;align-self:center!important;box-sizing:border-box!important;
    margin:0!important;transform:none!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-middle > .cl-collage,
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-middle > .cl-hidden{
    width:100%!important;height:100%!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-pos.cp-caption-pos{
    flex:0 0 auto!important;width:100%!important;max-width:100%!important;
    height:var(--cp-mobile-caption-height,50px)!important;
    min-height:0!important;max-height:var(--cp-mobile-caption-height,50px)!important;
    margin:0!important;overflow:hidden!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-pos.cp-caption-pos .cp-text{
    min-height:0!important;height:100%!important;max-height:100%!important;
    overflow-y:auto!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-mobile-design-launcher{
    flex:0 0 var(--cp-mobile-tab-height,42px)!important;
    width:100%!important;height:var(--cp-mobile-tab-height,42px)!important;
    min-height:0!important;max-height:var(--cp-mobile-tab-height,42px)!important;
    margin:0!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-mobile-design-launcher button{
    height:100%!important;min-height:0!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-collage-tabs{
    flex:0 0 var(--cp-mobile-tools-height,55px)!important;
    min-height:0!important;max-height:var(--cp-mobile-tools-height,55px)!important;
    height:var(--cp-mobile-tools-height,55px)!important;
    width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-collage-tabs > .cp-collage-tools{
    height:100%!important;min-height:0!important;max-height:100%!important;flex:1 1 auto!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-collage-tabs .cp-collage-tools > button{
    height:100%!important;min-height:0!important;max-height:100%!important;padding:3px 1px!important;
  }
  /* Only the overlay sheet contains miniatures, never a second rail below the tools. */
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .mobile-cpnav.cp-designs-nav,
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .cp-designs-nav{
    display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .mobile-cpb.pB.cp-bottom{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-end!important;
    position:relative!important;flex:0 0 auto!important;align-self:stretch!important;
    width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    margin:auto 0 0!important;padding:4px 0 max(3px,env(safe-area-inset-bottom,0px))!important;
    gap:5px!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
    border-top:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
    transform:none!important;overflow:visible!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .mobile-cpb.pB.cp-bottom > .cp-cross-share{
    flex:0 0 auto!important;width:100%!important;min-height:0!important;margin:0!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .mobile-cpb.pB.cp-bottom .cp-cross-share-label{
    height:auto!important;min-height:48px!important;max-height:none!important;
    display:grid!important;align-items:center!important;box-sizing:border-box!important;
    grid-template-columns:27px minmax(0,1fr) 40px!important;
    padding:8px 9px!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-editor-step > .mobile-cpb.pB.cp-bottom > .publish-submit{
    flex:0 0 var(--cp-mobile-publish-height,47px)!important;
    height:var(--cp-mobile-publish-height,47px)!important;
    min-height:0!important;max-height:var(--cp-mobile-publish-height,47px)!important;
    width:100%!important;margin:0!important;
  }
  #createpost.mobile-createpost.cp-editor-step .cp-cross-share-copy small{
    display:block!important;font-size:10px!important;line-height:1.3!important;
    white-space:normal!important;overflow-wrap:anywhere;
  }
  /* Dynamic panels remain independent scrollable sheets, not page scroll. */
  #createpost .cp-mobile-design-sheet-body{overscroll-behavior:contain!important;}
}

@media(max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-editor-step.cp-very-short-viewport{overflow-y:auto!important;overscroll-behavior-y:contain!important;}
}


/* R574 / V6.345 — Favorites only: mobile four tabs stay on ONE line.
   The desktop (.fixed-createpost) layout is deliberately untouched. */
@media (max-width:768px){
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    justify-items:stretch!important;
    gap:clamp(3px,1.15vw,6px)!important;
    padding:0!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher.cp-has-favorites{
    grid-template-columns:min(42px,var(--cp-mobile-tab-height,42px)) repeat(3,minmax(0,1fr))!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher > button.cp-mobile-design-launch{
    grid-row:1!important;
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher > button.cp-mobile-design-launch[data-mode="favorites"]{
    grid-column:1!important;
    width:min(42px,var(--cp-mobile-tab-height,42px))!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    aspect-ratio:1/1!important;
    font-size:0!important;
    color:#247cdb!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  /* Use a shape instead of the Unicode star glyph: prevents the blue missing-glyph square. */
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher > button.cp-mobile-design-launch[data-mode="favorites"]::before{
    content:""!important;
    display:block!important;
    flex:0 0 21px!important;
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    min-height:21px!important;
    font-size:0!important;
    background:currentColor!important;
    border:0!important;
    clip-path:polygon(50% 2%,62% 36%,98% 37%,69% 59%,80% 96%,50% 73%,20% 96%,31% 59%,2% 37%,38% 36%)!important;
    -webkit-clip-path:polygon(50% 2%,62% 36%,98% 37%,69% 59%,80% 96%,50% 73%,20% 96%,31% 59%,2% 37%,38% 36%)!important;
  }
  #key > #createpost.pg.mobile-createpost.cp-brintage-toolbar-v2.cp-editor-step > .cp-mobile-design-launcher > button.cp-mobile-design-launch[data-mode="favorites"][hidden]{
    display:none!important;
  }
}
