#ranking-touch-pad { display: none; }
@media (pointer: coarse) {
  #ranking-touch-pad:not([hidden]) {
    position: fixed;
    inset: auto max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 1;
  }
  #ranking-stick {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #14382fe8;
    color: #ffe5a1;
    font-size: 24px;
    border: 2px solid #ffe5a1;
    touch-action: none;
    pointer-events: auto;
  }
  #ranking-stick span { transform: translateX(var(--aim-offset, 0px)); }
  .ranking-touch-actions { display: flex; gap: 10px; }
  .ranking-touch-actions button {
    min-height: 48px;
    min-width: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #ffe5a1;
    pointer-events: auto;
    touch-action: manipulation;
  }
  .ranking-touch-actions [data-ranking-command="pause"] {
    background: #14382f;
    color: #ffe5a1;
  }
}
