.hand-target{outline:3px solid #a16b49!important;outline-offset:2px}
html.hand-on #keyHint,html.hand-on .keyboard,html.hand-on .jacket-open>span,html.hand-on .tail-note{visibility:hidden}
/* Reserve the last header slot for the persistent gesture switch. */
html body:not(:has(main#opening))>header:is(.header,.site-header),html body:has(.scroll-stage)>header{padding-right:calc(clamp(14px,5vw,76px) + 56px)}
html body .dream-film .film-exit{right:calc(clamp(14px,5vw,76px) + 56px)}
#opening .pose-note{
  display:none;position:absolute;z-index:10;pointer-events:none;
  width:max-content;max-width:47%;padding:7px 12px;
  font:var(--cue-size)/1.45 "Kaiti SC","STKaiti",serif;text-wrap:balance
}
#opening:is([data-phase="ready"],[data-phase="reply"]) .scene-hint{font-size:18px}
#opening[data-phase="ready"] .scene-hint{
  display:none;
  transform:translateY(20px)
}
html.hand-on #opening[data-phase="curiosity"] .scene-hint{display:none}
html.hand-on #opening[data-phase="ready"] .palm-note,html.hand-on #opening[data-phase="curiosity"] .fist-note{display:block}
html.hand-on #opening .keyboard-cue{display:none}
#opening .palm-note{left:50%;bottom:27%;transform:translateX(-50%)}
#opening .fist-note{
  left:calc(58.8% + max(10%,44px) + 6px);top:36%;
  max-width:min(28%,12em);transform:translateY(-50%)
}
#opening .fist-note{font-size:var(--gesture-size)}
#opening .fist-note span{display:inline-block}
@media(max-width:700px){
  #opening:is([data-phase="ready"],[data-phase="reply"]) .scene-hint{font-size:16px}
  #opening .pose-note{padding:6px 9px}
  #opening .fist-note{max-width:min(23%,calc(35.2% - max(10%,44px) - 6px))}
  #opening .palm-note{max-width:82%}
}
