/* Erste-Mal-Hinweise (ui/hints.js, list game/hints.js): a golden glow round the button, the fal arrow of the dungeons
   wiggling toward it, a short line beyond it. Above the windows, under the item at the mouse (999) and the dialogs;
   none of it takes the mouse (#ui > * would). */
#ui #hint-ring, #ui #hint-arrow, #ui #hint-tag { position: absolute; z-index: 990; pointer-events: none; }
#ui #hint-ring { border-radius: 2px; box-shadow: 0 0 0 1px #ffe08a, 0 0 0 2px rgba(60, 40, 10, .8), 0 0 6px 2px rgba(255, 200, 90, .75);
  }
#ui #hint-ring::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px #fff2c0, 0 0 11px 4px rgba(255, 210, 110, .95); animation: glow-in 1.1s ease-in-out infinite; }
#ui #hint-arrow { width: 16px; height: 16px; }
#ui #hint-arrow img { display: block; width: 16px; height: 16px; image-rendering: auto; filter: drop-shadow(0 0 2px rgba(255, 200, 90, .8)); }
/* the picture points right: turned toward the button, it wiggles toward it */
#ui #hint-arrow.d-down img { rotate: 90deg; animation: hint-down .8s ease-in-out infinite; }
#ui #hint-arrow.d-up img { rotate: -90deg; animation: hint-up .8s ease-in-out infinite; }
#ui #hint-arrow.d-left img { rotate: 180deg; animation: hint-left .8s ease-in-out infinite; }
#ui #hint-arrow.d-right img { animation: hint-right .8s ease-in-out infinite; }
@keyframes hint-down { 50% { translate: 0 3px; } }
@keyframes hint-up { 50% { translate: 0 -3px; } }
@keyframes hint-left { 50% { translate: -3px 0; } }
@keyframes hint-right { 50% { translate: 3px 0; } }
#ui #hint-tag { max-width: 130px; padding: 2px 4px; font-size: 7px; line-height: 8px; color: #ffe08a; text-align: center; overflow-wrap: anywhere;
  background: linear-gradient(#2b2219f2, #15110df2); box-shadow: 0 0 0 1px #060504, inset 0 0 0 1px #b08f52, 0 2px 4px #0009; text-shadow: var(--ol); }
#ui #hint-ring.hidden, #ui #hint-arrow.hidden, #ui #hint-tag.hidden { display: none; }
@media (prefers-reduced-motion: reduce) { #ui #hint-ring { animation-duration: 2.4s; } }
/* phones: as big as the thumb controls (--tz, ui/scale.js), the HUD is not zoomed like the windows */
html.touch #ui #hint-tag { max-width: calc(90px * var(--tz)); font-size: calc(6px * var(--tz)); line-height: calc(7px * var(--tz)); padding: calc(2px * var(--tz)) calc(3px * var(--tz)); }
html.touch #ui #hint-arrow, html.touch #ui #hint-arrow img { width: calc(12px * var(--tz)); height: calc(12px * var(--tz)); }
