/* EverestBuzz shared card gestures (see card-gesture.js). */
.eb-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* A card that can be thrown owns its touch: the page does not scroll from a press that starts on it. A card that
   cannot be thrown right now (not your turn, illegal) lets vertical scrolling through and only reorders sideways. */
.eb-card{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
.eb-card[disabled],.eb-card[aria-disabled="true"]{touch-action:pan-y}
/* Disabled buttons do not receive pointer events in every browser; the script finds them by position instead. */
.eb-card[disabled]{pointer-events:none}

/* A held card (pressed, not moved yet). */
.eb-card.eb-card-held{box-shadow:0 10px 18px rgba(0,0,0,.32);filter:brightness(1.05)}
/* The real card stays in its slot while its lifted copy follows the pointer, so neighbours make room. */
.eb-card.eb-card-lifted{opacity:0!important;pointer-events:none!important;transition:none!important}
.eb-card-proxy{cursor:grabbing;will-change:transform;box-shadow:0 22px 30px rgba(0,0,0,.34),0 6px 10px rgba(0,0,0,.26)!important}
.eb-card-proxy *{pointer-events:none}
body.eb-card-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}

/* The pile or table the card is aimed at, while a release would throw it. */
.eb-throw-ready{outline:3px dashed #f2c864;outline-offset:6px;border-radius:10px}

.eb-card-tip{margin:8px 0 0;font-size:12px;line-height:1.4;opacity:.8}

@media (prefers-reduced-motion:reduce){
  .eb-throw-ready{outline-style:solid}
}
