/* One viewport-fixed home link, separate from every scrolling surface. */
#robotEyes {
  position:fixed; top:calc(env(safe-area-inset-top, 0px) + 7px); left:50%;
  transform:translateX(-50%); z-index:18; width:clamp(108px,9vw,124px);
  height:auto; display:block; padding:0; margin:0; border:0; background:transparent;
  line-height:0; touch-action:manipulation; user-select:none;
  cursor:pointer; -webkit-tap-highlight-color:transparent;
}

@media(max-width:700px){#robotEyes{top:calc(env(safe-area-inset-top, 0px) + 5px);width:112px}}


/* Each source is a single static PNG. One clipped frame fits inside the original hit area. */
#robotEyes .eye-window{display:block;position:relative;width:100%;overflow:hidden;pointer-events:none}
#robotEyes .eye-window::before{content:"";display:block;padding-top:51.4851485%}
#robotEyes .eye-strip{position:absolute;left:0;top:0;display:block;width:800%;height:auto;
  transform-origin:0 0;animation:ri-frames-desktop 8s steps(1,end) infinite;will-change:transform}
#robotEyes .eye-strip img{display:block;width:100%;height:auto;max-width:none;pointer-events:none}
#eyeTracker[hidden]{display:none}
#eyeTracker:not([hidden]){display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#robotEyes[data-tracking] .eye-window{opacity:0}
@media(max-width:700px){
  #robotEyes .eye-window::before{padding-top:36.25%}
  #robotEyes .eye-strip{animation-name:ri-frames-mobile}
  #robotEyes::after{content:"";position:absolute;inset:auto 0;top:50%;height:max(100%,44px);transform:translateY(-50%)}
}
/* The preference on Information applies to the eyes on every page. */
html[data-eye-preference="off"] #robotEyes .eye-strip{animation:none;transform:none;will-change:auto}
