/* The privacy decision stays clear of the separate floating LINE action. */
body:has(#v140-consent:not([hidden])) #jt-line-floating,
body:has(#v140-consent:not([hidden])) .v129-line-float {
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Leave room to reach the last footer links when a floating action is present. */
body:has(.v129-line-float) .seo-footer {
  padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
}

#v140-consent {
  max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));
  overflow-y:auto;
  bottom:calc(12px + env(safe-area-inset-bottom,0px));
}

@media(max-width:640px) {
  #v140-consent {
    bottom:calc(8px + env(safe-area-inset-bottom,0px));
  }
  #v140-consent .v140-actions {
    flex-wrap:wrap;
  }
  #v140-consent button {
    min-width:0;
    white-space:normal;
  }
}
