/* The hint above the table and the power label share one centre line (set by table-hint.js).
   The hand-off is sequential so the two never blur together: the outgoing one fades in 100 ms,
   the incoming one starts 60 ms later and takes 180 ms (the label also grows from 96 %). The
   label sits above the hint while they overlap; tabular digits stop it twitching as the
   percentage changes. Browsers without @starting-style / allow-discrete switch without a fade. */
#pocket-hint,#gesture-power{transform:translate(-50%,-50%)}
#pocket-hint{transition:opacity .18s ease-out .06s;text-wrap:balance}
#pocket-hint.hint-tight{font-size:10px;line-height:1.25}
#pocket-hint.hint-out{opacity:0;transition:opacity .1s ease-in}
#gesture-power{z-index:3;font-variant-numeric:tabular-nums;transition:opacity .18s ease-out .06s,transform .18s ease-out .06s,display .18s allow-discrete .06s}
#gesture-power[hidden]{opacity:0;transform:translate(-50%,-50%) scale(.96);transition:opacity .1s ease-in,transform .1s ease-in,display .1s allow-discrete}
@starting-style{#gesture-power:not([hidden]){opacity:0;transform:translate(-50%,-50%) scale(.96)}}
#gesture-power.label-compact{padding-top:5px;padding-bottom:5px}
@media(prefers-reduced-motion:reduce){#pocket-hint,#pocket-hint.hint-out,#gesture-power,#gesture-power[hidden]{transition:none}}
/* Balls drawn by the game's renderer: inside our text (a row, or a ball and the word or quote it
   touches, never breaks across lines) and in the player cards, where the picture is scaled so the ball itself keeps the tray's 11–12 px. */
.hint-ball{display:inline-block;width:1.45em;height:1.45em;margin:-.3em .02em;vertical-align:middle}
.hint-balls,.ball-word{white-space:nowrap}
.hint-balls .hint-ball{margin-left:-.06em;margin-right:-.06em}
.tray-ball.drawn{background:var(--ball-image) 50% 33%/130% no-repeat;border:0;box-shadow:none;color:transparent;text-shadow:none}
