/* Persistent task ribbon, modeled on the APK's bottom gold parchment prompt.
   The icon and the entire banner share one touch target; navigation remains stable. */
#game.rk-fixed-shell #rk-guidance-ribbon{
  position:absolute!important;left:max(7px,calc((100% - 600px)/2 + 9px));bottom:111px!important;
  width:min(405px,calc(100% - 91px));height:56px;min-height:56px;max-height:56px;box-sizing:border-box;z-index:47!important;
  display:flex;direction:rtl;align-items:center;justify-content:space-between;gap:5px;
  padding:6px 11px 6px 57px;margin:0;border:1px solid #b88b37;border-radius:5px 8px 8px 5px;
  background:linear-gradient(90deg,rgba(50,30,10,.90),rgba(132,90,25,.91) 46%,rgba(70,47,17,.95));
  box-shadow:0 0 0 1px #482b10,0 3px 9px #000a,inset 0 1px 0 #e4ba65;
  color:#f7e3ad;cursor:pointer;touch-action:manipulation;text-shadow:0 1px 2px #211303;
  font:13px/1.45 Tahoma,Arial,sans-serif;text-align:right;-webkit-tap-highlight-color:transparent;
  transform:none!important;transition:none!important;will-change:auto!important;
}
#game.rk-fixed-shell #rk-guidance-ribbon .rk-guidance-icon{
  position:absolute;left:-7px;top:50%;transform:translateY(-50%);width:55px;height:55px;
  object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 2px #000);
}
#game.rk-fixed-shell #rk-guidance-ribbon .rk-guidance-text{
  flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;white-space:normal;unicode-bidi:plaintext;
}
#game.rk-fixed-shell #rk-guidance-ribbon .rk-guidance-chevron{
  color:#f7cb69;font-size:23px;font-weight:bold;flex-shrink:0;line-height:1;
}
#game.rk-fixed-shell #rk-guidance-ribbon:active{filter:brightness(1.2)}
#game.rk-fixed-shell #rk-guidance-ribbon:focus-visible{outline:3px solid #f6d06e;outline-offset:3px}
#game.hidden #rk-guidance-ribbon{display:none!important}
/* The existing music buttons live on body with a very high z-index; keep them above the banner instead of intercepting taps. */
body:has(#game.rk-fixed-shell:not(.hidden)) #rok-audio-holder{bottom:190px!important;right:max(8px,calc((100% - 600px)/2 + 8px))!important}
@media(max-height:650px){body:has(#game.rk-fixed-shell:not(.hidden)) #rok-audio-holder{bottom:155px!important}}
@media(max-height:650px){
 #game.rk-fixed-shell #rk-guidance-ribbon{bottom:94px!important;height:46px;min-height:46px;font-size:11px;max-height:46px}
 #game.rk-fixed-shell #rk-guidance-ribbon .rk-guidance-icon{width:43px;height:43px}
}
@media(max-width:360px){
 #game.rk-fixed-shell #rk-guidance-ribbon{width:calc(100% - 71px);padding-left:48px;font-size:11px}
 #game.rk-fixed-shell #rk-guidance-ribbon .rk-guidance-icon{width:49px;height:49px}
}
