/* Game controller (js/padnav.js). */

/* Focus mode: a bold ring on whatever the highlight is on. */
body.pad-active :focus {
  outline: 3px solid #f2b632 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(242, 182, 50, 0.28) !important;
  border-radius: 10px;
}
body.pad-active .slide-cover:focus { outline-offset: -6px !important; }

/* Cursor mode (the editors): a pointer that follows the left stick. */
.pad-cursor {
  position: fixed; left: 0; top: 0; z-index: 100000;
  width: 26px; height: 26px; margin: -2px 0 0 -3px;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.pad-cursor[hidden] { display: none; }
.pad-cursor svg { width: 100%; height: 100%; fill: #fff; stroke: #173024; stroke-width: 1.6; stroke-linejoin: round; }
.pad-cursor.is-down svg { fill: #f2b632; }
body:not(.pad-active) .pad-cursor { display: none; }
