/* V25.2.256 - Chat Guest: "Detta" nella barra, fra Player e LIVE. */
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer{
  display:grid!important;
  grid-template-columns:56px minmax(160px,1fr) 56px 76px repeat(4,56px)!important;
  grid-template-rows:auto!important;
  gap:6px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#text.chatSocialInput{
  grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;
}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>button{
  grid-row:1!important;justify-self:center!important;width:56px!important;min-width:0!important;max-width:56px!important;box-sizing:border-box!important;
}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>.chatSocialEmojiBtn{grid-column:1!important}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#recordBtn{grid-column:3!important}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>.alGuestDictationRow{
  display:flex!important;grid-column:4!important;grid-row:1!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;padding:0!important;box-sizing:border-box!important;
}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#liveQuickBtn{grid-column:5!important}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#cameraBtn{grid-column:6!important}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#attachFileBtn{grid-column:7!important}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>.chatSocialSendBtn{grid-column:8!important}
html body.alchat-guest-page #guestScreen .alGuestComposerHost .alGuestDictationRow>.alGuestDictateBtn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;width:100%!important;min-width:0!important;max-width:76px!important;height:56px!important;min-height:56px!important;padding:5px 7px!important;font-size:13px!important;line-height:1!important;box-sizing:border-box!important;white-space:nowrap!important;
}
@media(max-width:700px){
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer{
    grid-template-columns:repeat(2,minmax(0,1fr)) minmax(54px,1.3fr) repeat(4,minmax(0,1fr))!important;
    grid-template-rows:auto auto!important;
    gap:5px!important;
  }
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#text.chatSocialInput{grid-column:1/-1!important;grid-row:1!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>button{grid-row:2!important;width:clamp(38px,11vw,48px)!important;height:48px!important;min-height:48px!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>.chatSocialEmojiBtn{grid-column:1!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#recordBtn{grid-column:2!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>.alGuestDictationRow{grid-column:3!important;grid-row:2!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#liveQuickBtn{grid-column:4!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#cameraBtn{grid-column:5!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>#attachFileBtn{grid-column:6!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>.chatSocialSendBtn{grid-column:7!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .alGuestDictationRow>.alGuestDictateBtn{height:48px!important;min-height:48px!important;max-width:64px!important;padding:4px 5px!important;font-size:11px!important}
}
@media(max-width:380px){
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer{gap:3px!important;grid-template-columns:repeat(2,minmax(0,1fr)) minmax(50px,1.25fr) repeat(4,minmax(0,1fr))!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .chatSocialComposer>button{width:clamp(34px,11vw,42px)!important;height:42px!important;min-height:42px!important}
  html body.alchat-guest-page #guestScreen .alGuestComposerHost .alGuestDictationRow>.alGuestDictateBtn{height:42px!important;min-height:42px!important;max-width:58px!important;padding:3px!important;font-size:10px!important}
}

/* V25.2.257 - Dettatura nella chat normale, sotto "Nuova chat". */
html body #mainScreen .chatNewChatStack>#alChatDictateBtn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;min-height:34px!important;
  padding:5px 10px!important;border:1px solid #7183b2!important;border-radius:10px!important;
  background:#263451!important;color:#fff!important;font-weight:800!important;line-height:1.1!important;
  white-space:nowrap!important;box-sizing:border-box!important;
}
html body #mainScreen .chatNewChatStack>#alChatDictateBtn[aria-pressed="true"]{background:#9b3042!important;border-color:#d98996!important}
html body.alchat-guest-page #guestScreen #alChatDictateBtn{display:none!important}
@media(max-width:700px){
  html body #mainScreen .chatNewChatStack>#alChatDictateBtn{min-height:32px!important;padding:4px 7px!important;font-size:11px!important}
}

/* V25.2.258 - Entrambi i pulsanti Detta sono azzurri. */
html body #mainScreen .chatNewChatStack>#alChatDictateBtn:not([aria-pressed="true"]),
html body.alchat-guest-page #guestScreen .alGuestDictateBtn:not([aria-pressed="true"]){
  background:linear-gradient(135deg,#25b9ef,#087fc9)!important;
  border-color:#55ccf6!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(14,165,233,.28)!important;
}
html body #mainScreen .chatNewChatStack>#alChatDictateBtn[aria-pressed="true"],
html body.alchat-guest-page #guestScreen .alGuestDictateBtn[aria-pressed="true"]{
  background:#9b3042!important;
  border-color:#d98996!important;
  color:#fff!important;
}

/* V25.2.259 - Mobile: Detta centrato fra Correggi e Nuova chat, più compatto. */
@media(max-width:700px){
  html body #mainScreen .chatNewChatStack{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) clamp(70px,22vw,88px) minmax(0,1fr)!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
  }
  html body #mainScreen .chatNewChatStack>#correctQuickBtn{
    grid-column:1!important;
    width:100%!important;
  }
  html body #mainScreen .chatNewChatStack>#alChatDictateBtn{
    grid-column:2!important;
    grid-row:1!important;
    width:clamp(70px,22vw,88px)!important;
    min-width:0!important;
    max-width:88px!important;
    min-height:44px!important;
    padding:4px 5px!important;
    font-size:12px!important;
    justify-self:center!important;
  }
  html body #mainScreen .chatNewChatStack>#forwardQuickBtn{
    grid-column:3!important;
    width:100%!important;
  }
}
/* V25.2.400 - Solo la scritta del pulsante Nuova chat è verde. */
html body #mainScreen #forwardQuickBtn.chatFooterForwardBtn{
  color:#4ade80!important;
}
