/* Licelice Live V156 — correção final do app, chat e viewport mobile. */
#lcLiveV100,
#lcLiveV100 *{box-sizing:border-box}
#lcLiveV100{--lc156-vh:100dvh;--lc156-safe-top:env(safe-area-inset-top,0px);--lc156-safe-bottom:env(safe-area-inset-bottom,0px)}
#lcLiveV100 .lc100-shell.lic-chat-v2-panel{width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;border-radius:30px!important;background:linear-gradient(145deg,#160c1c,#07040a)!important}
#lcLiveV100 .lic-chat-v2-header,#lcLiveV100 .lic-chat-v2-messages,#lcLiveV100 .lic-chat-v2-composer{all:unset}

@media(max-width:840px){
 html:has(#lcLiveV100:not([hidden]):not(.is-closed):not(.is-minimized)){overflow:hidden!important;overscroll-behavior:none}
 body:has(#lcLiveV100:not([hidden]):not(.is-closed):not(.is-minimized)){overflow:hidden!important;overscroll-behavior:none;touch-action:pan-x pan-y}
 #lcLiveV100.is-closed,#lcLiveV100.is-minimized{position:static!important;inset:auto!important;width:0!important;height:0!important;max-height:0!important;overflow:visible!important;background:transparent!important;pointer-events:none!important}
 #lcLiveV100.is-closed .lc100-shell,#lcLiveV100.is-minimized .lc100-shell{display:none!important;opacity:0!important;pointer-events:none!important}
 #lcLiveV100.is-closed .lc100-backdrop,#lcLiveV100.is-minimized .lc100-backdrop{display:none!important}
 #lcLiveV100.is-closed .lc100-mini,#lcLiveV100.is-minimized .lc100-mini{display:grid!important;pointer-events:auto!important;position:fixed!important;left:10px!important;right:10px!important;bottom:max(76px,calc(env(safe-area-inset-bottom) + 66px))!important;width:auto!important;max-width:none!important;min-height:58px!important;z-index:2147482001!important}
 #lcLiveV100{position:fixed!important;inset:0!important;width:100vw!important;height:var(--lc156-vh)!important;max-height:var(--lc156-vh)!important;overflow:hidden!important;background:#000!important}
 #lcLiveV100 .lc100-backdrop{display:none!important}
 #lcLiveV100 .lc100-shell{position:absolute!important;inset:0!important;width:100vw!important;height:var(--lc156-vh)!important;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;background:#050307!important}
 #lcLiveV100 .lc100-head{position:relative!important;z-index:80!important;height:calc(58px + var(--lc156-safe-top))!important;min-height:calc(58px + var(--lc156-safe-top))!important;padding:var(--lc156-safe-top) 8px 0 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;background:linear-gradient(100deg,#5d0d72,#b41491 62%,#e51d98)!important;border:0!important;box-shadow:0 8px 30px rgba(0,0,0,.32)!important}
 #lcLiveV100 .lc100-brand{min-width:0!important;gap:8px!important;overflow:hidden!important}
 #lcLiveV100 .lc100-brand>div{min-width:0!important}
 #lcLiveV100 .lc100-brand strong{font-size:.78rem!important;line-height:1.05!important;max-width:150px!important}
 #lcLiveV100 .lc100-brand small{font-size:.56rem!important;line-height:1.15!important;max-width:165px!important;color:#fff!important;opacity:.82!important;margin-top:3px!important}
 #lcLiveV100 .lc100-dot{width:8px!important;height:8px!important;box-shadow:0 0 0 5px rgba(255,79,105,.17),0 0 16px rgba(255,79,105,.8)!important}
 #lcLiveV100 .lc100-head-actions{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
 #lcLiveV100 .lc105-mode,#lcLiveV100 .lc117-audio-status,#lcLiveV100 #lc105Zoom,#lcLiveV100 #lc100Fullscreen{display:none!important}
 #lcLiveV100 .lc100-icon{width:38px!important;height:38px!important;min-width:38px!important;border-radius:13px!important;background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.22)!important}
 #lcLiveV100 .lc100-close{background:rgba(50,0,30,.18)!important}
 #lcLiveV100 .lc100-body{position:relative!important;display:block!important;width:100%!important;height:calc(var(--lc156-vh) - 58px - var(--lc156-safe-top))!important;min-height:0!important;overflow:hidden!important}
 #lcLiveV100 .lc100-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;background:#000!important}
 #lcLiveV100 .lc100-media,#lcLiveV100 .lc100-media video,#lcLiveV100 .lc100-media iframe{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}
 #lcLiveV100 .lc100-media video{object-fit:contain!important;object-position:center center!important}
 #lcLiveV100 .lc100-stage:after{background:linear-gradient(180deg,rgba(0,0,0,.12),transparent 18%,transparent 66%,rgba(0,0,0,.62))!important}

 #lcLiveV100 .lc100-panel{position:absolute!important;z-index:90!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;height:min(52dvh,560px)!important;max-height:calc(100% - 54px)!important;display:grid!important;grid-template-rows:58px minmax(0,1fr)!important;transform:translate3d(0,calc(100% - 58px),0)!important;border:0!important;border-top:1px solid rgba(255,255,255,.16)!important;border-radius:24px 24px 0 0!important;background:linear-gradient(180deg,#1b1022,#0d0711)!important;box-shadow:0 -22px 70px rgba(0,0,0,.56)!important;overflow:hidden!important;transition:transform .22s ease,height .2s ease!important;padding-bottom:var(--lc156-safe-bottom)!important}
 #lcLiveV100.panel-open .lc100-panel{transform:translate3d(0,0,0)!important}
 #lcLiveV100 .lc108-panel-close{display:grid!important;right:9px!important;top:9px!important;width:40px!important;height:40px!important;z-index:95!important}
 #lcLiveV100 .lc100-tabs{height:58px!important;min-height:58px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:8px 55px 8px 8px!important;background:rgba(18,10,23,.98)!important}
 #lcLiveV100 .lc100-tabs button{min-width:0!important;padding:8px 4px!important;font-size:.63rem!important;white-space:nowrap!important}
 #lcLiveV100 .lc100-pane{height:auto!important;min-height:0!important;max-height:none!important;padding:10px!important;overflow:auto!important;overscroll-behavior:contain!important}
 #lcLiveV100 .lc100-pane[data-lc-pane="chat"].active{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important;padding:8px 9px calc(8px + var(--lc156-safe-bottom))!important}
 #lcLiveV100 .lc100-pane[data-lc-pane="chat"] .lc124-chat-links{flex:0 0 auto!important;margin-bottom:5px!important}
 #lcLiveV100 .lc100-pane[data-lc-pane="chat"] .lc124-identity{flex:0 0 auto!important;margin-bottom:5px!important;min-height:45px!important}
 #lcLiveV100 .lc100-pane[data-lc-pane="chat"] .lc100-chat{flex:1 1 auto!important;height:auto!important;min-height:72px!important;overflow-y:auto!important;padding:6px 4px!important;scrollbar-width:thin!important}
 #lcLiveV100 .lc100-pane[data-lc-pane="chat"] .lc100-chat-form{position:relative!important;z-index:3!important;display:flex!important;flex:0 0 auto!important;width:100%!important;min-height:52px!important;margin:5px 0 0!important;padding:5px!important;gap:6px!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 12px 34px rgba(0,0,0,.28)!important}
 #lcLiveV100 .lc100-chat-form input{display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;min-height:42px!important;padding:8px 10px!important;border:0!important;outline:0!important;border-radius:13px!important;background:#fff!important;color:#241327!important;font-size:16px!important}
 #lcLiveV100 .lc100-chat-form button{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:13px!important}
 #lcLiveV100 .lc100-identify{flex:0 0 auto!important;margin-top:6px!important;padding:10px!important}

 #lcLiveV100 .lc110-quick-chat{left:8px!important;right:66px!important;bottom:70px!important;width:auto!important;max-width:none!important;min-height:44px!important;z-index:38!important}
 #lcLiveV100.panel-open .lc110-quick-chat{display:none!important}
 #lcLiveV100 .lc100-rail{right:8px!important;bottom:70px!important;z-index:45!important;gap:6px!important}
 #lcLiveV100 .lc100-rail-btn{width:50px!important;min-height:48px!important;border-radius:16px!important;padding:5px 2px!important}
 #lcLiveV100 .lc100-rail-btn span{font-size:.5rem!important}
 #lcLiveV100 .lc100-feature{left:8px!important;right:62px!important;width:auto!important;bottom:122px!important;max-width:none!important}
 #lcLiveV100 .lc100-chat-float{left:8px!important;right:62px!important;width:auto!important;bottom:124px!important}
 #lcLiveV100 .lc105-activity-float{left:8px!important;right:62px!important;width:auto!important;top:12px!important}
 #lcLiveV100 .lc105-quick-cart{right:64px!important;bottom:14px!important}

 #lcLiveV100 .lc100-modal{position:fixed!important;inset:0!important;z-index:2147483600!important;padding:calc(12px + var(--lc156-safe-top)) 12px calc(12px + var(--lc156-safe-bottom))!important;overflow:auto!important}
 #lcLiveV100 .lc100-modal-card{width:min(100%,430px)!important;max-height:calc(var(--lc156-vh) - 24px - var(--lc156-safe-top) - var(--lc156-safe-bottom))!important;overflow:auto!important;padding:22px 18px!important;border-radius:24px!important}
 #lcLiveV100 #lc100LeadForm{display:grid!important;gap:10px!important}
 #lcLiveV100 #lc100LeadForm label{display:grid!important;gap:5px!important;text-align:left!important;font-size:.72rem!important;font-weight:900!important;color:#4d3553!important}
 #lcLiveV100 #lc100LeadForm input{width:100%!important;min-height:46px!important;padding:11px 13px!important;border:1px solid #dfcbe4!important;border-radius:14px!important;font-size:16px!important;color:#2f1735!important;background:#fff!important}
}

@media(max-width:430px){
 #lcLiveV100 .lc100-brand strong{max-width:118px!important;font-size:.72rem!important}
 #lcLiveV100 .lc100-brand small{max-width:128px!important;font-size:.52rem!important}
 #lcLiveV100 .lc100-icon{width:36px!important;height:36px!important;min-width:36px!important}
 #lcLiveV100 .lc100-panel{height:min(57dvh,590px)!important}
 #lcLiveV100 .lc124-chat-links{grid-template-columns:1fr!important}
 #lcLiveV100 .lc124-chat-links a{padding:6px!important}
 #lcLiveV100 .lc124-identity{grid-template-columns:28px minmax(0,1fr) auto!important;padding:7px!important}
}

@media(max-height:650px) and (max-width:840px){
 #lcLiveV100 .lc100-panel{height:min(66dvh,500px)!important}
 #lcLiveV100 .lc124-chat-links{display:none!important}
 #lcLiveV100 .lc124-identity{min-height:38px!important;padding:5px 7px!important}
 #lcLiveV100 .lc124-identity small{display:none!important}
}

/* V157: aviso da live flutua sem bloquear a loja. */
@media(max-width:840px){
 #lcLiveV100.is-closed .lc100-mini,#lcLiveV100.is-minimized .lc100-mini{grid-template-columns:minmax(0,1fr) 42px 42px!important;padding:6px!important;border-radius:20px!important;background:linear-gradient(100deg,#50105f,#98156f 58%,#c91b85)!important;box-shadow:0 16px 44px rgba(39,4,39,.3)!important}
 #lcLiveV100 .lc106-mini-open{min-width:0!important;padding:6px 8px!important}
 #lcLiveV100 .lc106-mini-open span{min-width:0!important}
 #lcLiveV100 .lc106-mini-open b{font-size:.68rem!important}
 #lcLiveV100 .lc106-mini-open small{font-size:.58rem!important;max-width:180px!important}
 #lcLiveV100 .lc106-mini-action{width:42px!important;height:42px!important;border-radius:14px!important}
}
@media(max-width:390px){
 #lcLiveV100.is-closed .lc100-mini,#lcLiveV100.is-minimized .lc100-mini{left:7px!important;right:7px!important;grid-template-columns:minmax(0,1fr) 39px 39px!important}
 #lcLiveV100 .lc106-mini-open small{max-width:135px!important}
}

/* V158 — abre a live no modo vídeo, com compositor rápido e painel recolhido. */
@media(max-width:840px){
 #lcLiveV100:not(.panel-open) .lc100-panel{transform:translate3d(0,calc(100% - 58px),0)!important}
 #lcLiveV100:not(.panel-open) .lc110-quick-chat{display:grid!important;opacity:1!important;pointer-events:auto!important;left:12px!important;right:72px!important;bottom:70px!important;width:auto!important;min-height:50px!important;padding:5px 6px 5px 13px!important;border-radius:999px!important;background:linear-gradient(100deg,rgba(6,46,31,.92),rgba(7,20,17,.88))!important;border:1px solid rgba(62,226,150,.4)!important;box-shadow:0 16px 44px rgba(0,0,0,.48)!important}
 #lcLiveV100:not(.panel-open) .lc110-quick-chat input{font-size:16px!important;line-height:1.2!important;color:#fff!important}
 #lcLiveV100:not(.panel-open) .lc110-quick-chat button{width:42px!important;height:42px!important;background:linear-gradient(135deg,#f22b99,#b42ed9)!important;box-shadow:0 8px 22px rgba(223,35,154,.36)!important}
 #lcLiveV100:not(.panel-open) .lc100-chat-float{left:10px!important;right:74px!important;bottom:132px!important;width:auto!important;max-height:42%!important;overflow:hidden!important;justify-content:flex-end!important;z-index:42!important}
 #lcLiveV100:not(.panel-open) .lc107-tiktok-msg{max-width:100%!important;background:linear-gradient(90deg,rgba(8,5,12,.78),rgba(8,5,12,.24))!important;border:0!important;box-shadow:none!important}
 #lcLiveV100:not(.panel-open) .lc100-rail{right:8px!important;bottom:126px!important;z-index:46!important}
 #lcLiveV100:not(.panel-open) .lc100-feature{bottom:130px!important}
 #lcLiveV100:not(.panel-open).has-feature .lc110-quick-chat{bottom:70px!important}
 #lcLiveV100:not(.panel-open).has-feature .lc100-chat-float{bottom:190px!important}
 #lcLiveV100 .lc100-tabs{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}
@media(max-width:390px){
 #lcLiveV100:not(.panel-open) .lc110-quick-chat{left:8px!important;right:58px!important;bottom:68px!important;padding-left:10px!important}
 #lcLiveV100:not(.panel-open) .lc100-chat-float{left:8px!important;right:58px!important;bottom:126px!important}
 #lcLiveV100:not(.panel-open) .lc100-rail{right:5px!important;bottom:123px!important}
 #lcLiveV100:not(.panel-open) .lc100-rail-btn{width:48px!important;min-height:46px!important}
}

/* =========================================================
   LICELICE LIVE V159 — desktop aproveita a tela e mensagens legíveis
   ========================================================= */
@media(min-width:841px){
 #lcLiveV100 .lc100-shell{
  width:min(1480px,calc(100vw - 24px))!important;
  height:min(940px,calc(100dvh - 20px))!important;
  inset:auto!important;left:50%!important;top:50%!important;
  transform:translate(-50%,-50%)!important;
  border-radius:28px!important;
 }
 #lcLiveV100 .lc100-body{
  display:grid!important;
  grid-template-columns:minmax(360px,46%) minmax(440px,54%)!important;
  justify-content:stretch!important;
  align-items:stretch!important;
 }
 #lcLiveV100 .lc100-stage{
  width:100%!important;max-width:none!important;justify-self:stretch!important;
  border-right:1px solid rgba(255,255,255,.1)!important;
 }
 #lcLiveV100 .lc100-panel{
  width:100%!important;max-width:none!important;min-width:0!important;
 }
 #lcLiveV100 .lc100-pane{padding:16px!important}
 #lcLiveV100 .lc100-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #lcLiveV100 .lc100-product{grid-template-columns:62px minmax(0,1fr) auto!important;min-height:82px!important;padding:10px!important}
 #lcLiveV100 .lc100-product img{width:62px!important;height:62px!important}
 #lcLiveV100 .lc100-product b{font-size:.78rem!important;line-height:1.25!important}
 #lcLiveV100 .lc100-product strong{font-size:.84rem!important}
 #lcLiveV100 .lc100-chat{height:calc(100dvh - 250px)!important;max-height:720px!important}
 #lcLiveV100 .lc100-chat-float{max-width:min(520px,calc(100% - 92px))!important}
 #lcLiveV100 .lc107-tiktok-msg{
  background:linear-gradient(90deg,rgba(18,9,22,.96),rgba(30,12,34,.88))!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.42)!important;
 }
 #lcLiveV100 .lc107-tiktok-msg b,#lcLiveV100 .lc107-tiktok-msg span{opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.7)!important}
}
@media(min-width:1280px){
 #lcLiveV100 .lc100-body{grid-template-columns:minmax(420px,48%) minmax(560px,52%)!important}
 #lcLiveV100 .lc100-products{grid-template-columns:repeat(2,minmax(240px,1fr))!important}
}
