body.gif-maker-page .btn-primary .icon-inline,
body.gif-maker-page .btn-secondary .icon-inline,
body.gif-maker-page .bp-button .icon-inline {
  margin-right: 0.45rem;
}

body.gif-maker-page .gif-thumb-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem;
  border: 1px solid #2b2b2b;
  border-radius: var(--radius-md);
  background: #151515;
}

body.gif-maker-page .gif-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
}

body.gif-maker-page .gif-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid #2b2b2b;
  display: block;
}

body.gif-maker-page .gif-thumb-index {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 0.65rem;
  line-height: 1;
  padding: 0.15rem 0.3rem;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.65);
  color: #f5f5f5;
}

body.gif-maker-page .gif-thumb-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.2rem;
  margin-top: 0.3rem;
}

body.gif-maker-page .gif-thumb-btn {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0;
  border: 1px solid #2b2b2b;
  border-radius: 3px;
  background: #1c1c1c;
  color: #cfcfcf;
  cursor: pointer;
  transition: all var(--transition-fast);
}

body.gif-maker-page .gif-thumb-btn:hover {
  border-color: #3a3a3a;
  color: #ffffff;
}

body.gif-maker-page .gif-thumb-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.gif-maker-page .gif-thumb-btn .icon-inline {
  margin-right: 0;
  width: 12px;
  height: 12px;
}

body.gif-maker-page #gifResultImage {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
}
