/* Bound the complete result and sound button to the mobile result card. */
@media (max-width: 640px) {
  .s3-draw-card > header[data-theme-corner] {
    padding-inline: 0 54px !important;
    min-height: 42px !important;
    height: auto !important;
  }
  .s3-draw-card > header[data-theme-corner] > [data-theme-toggle] {
    inset-inline-start: auto !important;
    right: 0 !important;
    min-height: 42px !important;
    height: 42px !important;
  }
  .s3-draw-card .s3-draw-main { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .s3-draw-card .s3-balls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr) max-content) minmax(0, 1fr) 30px;
    align-items: center;
    justify-items: center;
    gap: 3px;
    min-width: 0;
    width: 100%;
  }
  .s3-draw-card .s3-balls > b {
    width: min(56px, 100%) !important;
    min-width: 0;
    height: auto !important;
    aspect-ratio: 1;
    font-size: clamp(26px, 8vw, 36px) !important;
  }
  .s3-draw-card .s3-balls > .c28-draw-chime-toggle { margin-inline-start: 0 !important; }
}
