/* Marca móvil en el flujo: logo original, sin superponer contenido al desplazarse. */
html body #tt-mobile-brand { display: none !important; }
@media (max-width: 767px) {
  html body #tt-mobile-brand {
    --tt-mobile-brand-bg: var(--color-brand-primary, #F8AACA);
    --tt-mobile-brand-ink: #FFFFFF;
    --tt-mobile-brand-next: #FDECF2;
    display: flex !important;
    position: relative;
    box-sizing: border-box;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: calc(68px + env(safe-area-inset-top, 0px));
    margin: 0;
    padding: calc(8px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 8px max(20px, env(safe-area-inset-left, 0px));
    border: 0;
    box-shadow: none;
    background: linear-gradient(180deg, var(--tt-mobile-brand-bg) 0%, var(--tt-mobile-brand-next) 100%);
  }
  html body #tt-mobile-brand[data-brand-surface="light"] {
    --tt-mobile-brand-bg: var(--color-brand-primary, #F8AACA);
    --tt-mobile-brand-ink: #FFFFFF;
  }
  #tt-mobile-brand .tt-mobile-brand-link {
    display: grid;
    place-items: center;
    width: 128px;
    height: 52px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 12px;
    background: transparent;
    text-decoration: none;
  }
  #tt-mobile-brand .tt-mobile-brand-art {
    position: relative;
    display: block;
    width: 96px;
    height: 52px;
    overflow: hidden;
  }
  /* El PNG original tiene margen transparente. Se centra sin estirar su dibujo. */
  html:root body #tt-mobile-brand img.tt-mobile-brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 96px !important;
    height: 120px !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
    object-fit: contain !important;
    transform: translate(-50%, -50%);
    filter: url("#tt-mobile-brand-tint") !important;
    border: 0;
  }
  #tt-mobile-brand .tt-mobile-brand-ink { flood-color: var(--tt-mobile-brand-ink); }
  #tt-mobile-brand .tt-mobile-brand-filters { position: absolute; overflow: hidden; pointer-events: none; }
  #tt-mobile-brand .tt-mobile-brand-link:focus-visible { outline: 2px solid var(--tt-mobile-brand-ink); outline-offset: 2px; }
}
